/conf/rpms/coova-chilli-1.2.5.spec |
---|
0,0 → 1,219 |
%define _disable_ld_no_undefined 1 |
%define major 0 |
%define libname %mklibname chilli %{major} |
%define develname %mklibname -d chilli |
Summary: Wireless LAN Access Point Controller |
Name: coova-chilli |
Version: 1.2.5 |
Release: %mkrel 0 |
License: GPLv2 |
Group: System/Servers |
URL: http://coova.org/wiki/index.php/CoovaChilli |
Source0: http://ap.coova.org/chilli/%{name}-%{version}.tar.gz |
Patch0: coova-chilli-1.2.5-rexy_fix.diff |
Requires(pre): rpm-helper |
Requires(postun): rpm-helper |
Requires: python-coova-chilli |
BuildRequires: autoconf |
BuildRequires: libtool |
BuildRequires: curl-devel |
BuildRequires: openssl-devel |
BuildRequires: pcap-devel |
BuildRequires: python |
BuildRequires: python-devel |
Provides: coova-chilli = %{version}-%{release} |
Obsoletes: chillispot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
%description |
Coova-Chilli is a fork of the ChilliSpot project - an open source captive |
portal or wireless LAN access point controller. It supports web based login |
(Universal Access Method, or UAM), standard for public HotSpots, and it |
supports Wireless Protected Access (WPA), the standard for secure roamable |
networks. Authentication, Authorization and Accounting (AAA) is handled by |
your favorite radius server. Read more at http://coova.org/ and |
http://www.chillispot.org/. |
%package -n %{libname} |
Summary: Shared libraries for %{name} |
Group: System/Libraries |
%description -n %{libname} |
Coova-Chilli is a fork of the ChilliSpot project - an open source captive |
portal or wireless LAN access point controller. It supports web based login |
(Universal Access Method, or UAM), standard for public HotSpots, and it |
supports Wireless Protected Access (WPA), the standard for secure roamable |
networks. Authentication, Authorization and Accounting (AAA) is handled by |
your favorite radius server. Read more at http://coova.org/ and |
http://www.chillispot.org/. |
This package contains the shared libraries for %{name}. |
%package -n %{develname} |
Summary: Static library and header files for the %{name} library |
Group: Development/C |
Provides: %{name}-devel = %{version} |
Provides: lib%{name}-devel = %{version} |
Requires: %{libname} = %{version} |
%description -n %{develname} |
Coova-Chilli is a fork of the ChilliSpot project - an open source captive |
portal or wireless LAN access point controller. It supports web based login |
(Universal Access Method, or UAM), standard for public HotSpots, and it |
supports Wireless Protected Access (WPA), the standard for secure roamable |
networks. Authentication, Authorization and Accounting (AAA) is handled by |
your favorite radius server. Read more at http://coova.org/ and |
http://www.chillispot.org/. |
This package contains the static %{name} library and its header files. |
%package -n python-coova-chilli |
Summary: CoovaChilli Python Library |
Group: Development/Python |
Obsoletes: python-coova-chilli < %{version}-%{release} |
%description -n python-coova-chilli |
CoovaChilli Python Library |
%prep |
%setup -q -n %{name}-%{version} |
%patch0 -p0 |
# fix strange perms |
find . -type d -perm 0700 -exec chmod 755 {} \; |
find . -type f -perm 0555 -exec chmod 755 {} \; |
find . -type f -perm 0444 -exec chmod 644 {} \; |
# cleanup cvs junk |
for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do |
if [ -e "$i" ]; then rm -rf $i; fi >&/dev/null |
done |
%build |
autoreconf -fi |
%serverbuild |
%configure2_5x \ |
--enable-static-exec \ |
--enable-miniportal \ |
--enable-chilliredir \ |
--enable-chilliproxy \ |
--enable-largelimits \ |
--with-openssl \ |
--with-mmap \ |
--with-pcap \ |
--with-curl |
%make |
%install |
rm -rf %{buildroot} |
%makeinstall_std |
install -d %{buildroot}%{_initrddir} |
mv %{buildroot}%{_sysconfdir}/init.d/chilli %{buildroot}%{_initrddir}/chilli |
install -d %{buildroot}%{py_puresitedir}/CoovaChilli |
mv %{buildroot}%{_libdir}/python/CoovaChilliLib.py %{buildroot}%{py_puresitedir}/CoovaChilli/ |
%post |
%_post_service chilli |
%preun |
%_preun_service chilli |
%if %mdkversion < 200900 |
%post -n %{libname} -p /sbin/ldconfig |
%endif |
%if %mdkversion < 200900 |
%postun -n %{libname} -p /sbin/ldconfig |
%endif |
%clean |
rm -rf %{buildroot} |
%files |
%defattr(-,root,root) |
%doc AUTHORS COPYING ChangeLog README doc/dictionary.chillispot doc/hotspotlogin.cgi |
%attr(0755,root,root) %{_initrddir}/chilli |
%attr(0644,root,root) %config %{_sysconfdir}/chilli.conf |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/chilli/defaults |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/chilli/gui-config-default.ini |
%dir %{_sysconfdir}/chilli |
%dir %{_sysconfdir}/chilli/www |
%attr(0755,root,root) %{_sysconfdir}/chilli/www/config.sh |
%{_sysconfdir}/chilli/www/* |
%{_sysconfdir}/chilli/wwwsh |
%{_sysconfdir}/chilli/functions |
%{_sysconfdir}/chilli/*.sh |
%attr(0755,root,root) %{_sbindir}/chilli |
%attr(0755,root,root) %{_sbindir}/chilli_opt |
%attr(0755,root,root) %{_sbindir}/chilli_proxy |
%attr(0755,root,root) %{_sbindir}/chilli_query |
%attr(0755,root,root) %{_sbindir}/chilli_radconfig |
%attr(0755,root,root) %{_sbindir}/chilli_redir |
%attr(0755,root,root) %{_sbindir}/chilli_response |
%{_mandir}/man1/*.1* |
%{_mandir}/man5/*.5* |
%{_mandir}/man8/*.8* |
%files -n %{libname} |
%defattr(-,root,root) |
%{_libdir}/lib*.so.%{major}* |
%files -n %{develname} |
%defattr(-,root,root) |
%{_libdir}/*.so |
%{_libdir}/*.*a |
%{_includedir}/chilli/*.h |
%files -n python-coova-chilli |
%defattr(-,root,root,0755) |
%{py_puresitedir}/CoovaChilli/CoovaChilliLib.py |
%changelog |
* Sat Nov 20 2010 Rexy for Alcasar project 1.2.5-0mdv2010.1 |
+ revision: 394 |
- rebuild |
* Wed Apr 21 2010 Funda Wang <fwang@mandriva.org> 1.2.1-5mdv2010.1 |
+ Revision: 537318 |
- rebuild |
* Fri Feb 19 2010 Funda Wang <fwang@mandriva.org> 1.2.1-4mdv2010.1 |
+ Revision: 508395 |
- should not be noarch |
* Fri Feb 19 2010 Funda Wang <fwang@mandriva.org> 1.2.1-3mdv2010.1 |
+ Revision: 508393 |
- rebuild |
* Wed Feb 03 2010 Frederic Crozat <fcrozat@mandriva.com> 1.2.1-2mdv2010.1 |
+ Revision: 500319 |
- force rebuild |
* Tue Feb 02 2010 Oden Eriksson <oeriksson@mandriva.com> 1.2.1-1mdv2010.1 |
+ Revision: 499569 |
- whoops! |
- second try at this annoying python crap! |
- fix deps (thanks misc) |
- another try |
- 1.2.1 |
- 1.0.13 |
- rediffed patches |
+ Thierry Vignaud <tv@mandriva.org> |
- rebuild |
* Wed Dec 17 2008 Oden Eriksson <oeriksson@mandriva.com> 1.0.12-1mdv2009.1 |
+ Revision: 315139 |
- import coova-chilli |
* Wed Dec 17 2008 Oden Eriksson <oeriksson@mandriva.com> 1.0.12-1mdv2009.0 |
- initial Mandriva package |
/conf/rpms/havp-init.diff |
---|
0,0 → 1,17 |
--- etc/init.d/havp 2006-03-24 14:23:00.000000000 +0100 |
+++ etc/init.d/havp 2006-05-31 14:21:46.000000000 +0200 |
@@ -8,9 +8,12 @@ |
# HAVP_BIN HAVP_CONFIG PIDFILE |
# Any configuration of HAVP is done in havp.config |
# Type havp --help for help and read havp.config you should have received. |
+# chkconfig: 2345 11 89 |
+# description: starts HAVP the High Availability Antivirus Proxy |
+# |
-HAVP_BIN=/usr/local/sbin/havp |
-HAVP_CONFIG=/usr/local/etc/havp/havp.config |
+HAVP_BIN=/usr/sbin/havp |
+HAVP_CONFIG=/etc/havp/havp.config |
PIDFILE=/var/run/havp/havp.pid |
# Return values acc. to LSB for all commands but status: |
/conf/rpms/havp.spec |
---|
0,0 → 1,123 |
# $Id$ |
# Authority: dag |
# Tag: rft |
Summary: HTTP anti-virus proxy filter |
Name: havp |
Version: 0.92a |
Release: 1%{?dist} |
License: GPL |
Group: System Environment/Daemons |
URL: http://www.server-side.de/ |
Source: http://www.server-side.de/download/havp-%{version}.tar.gz |
Patch0: havp-init.diff |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
#BuildRequires: httpd-devel, bzip2-devel, gmp-devel, curl-devel, clamav-devel, openssl-devel |
BuildRequires: bzip2-devel, gmp-devel, curl-devel, clamav-devel, openssl-devel |
%description |
HAVP (HTTP AntiVirus proxy) is a proxy with an anti-virus filter. |
It does not cache or filter content. At the moment the complete |
traffic is scanned. The reason for this is the chance of malicious |
code in nearly every filetype e.g. HTML (JavaScript) or Jpeg. |
I aim to stop especially dialer or browser exploits. But writing |
a http Anti Virus Proxy is a real dilemma! Huge downloads are |
a problem for virus scanning proxies. A Client should not receive |
data which is unchecked by the virus scanner, but big downloads |
should not timeout. |
%prep |
%setup |
%patch0 -p0 -b .init |
%{__perl} -pi.orig \ |
-e 's|^# (TEMPLATEPATH) .+$|$1 /etc/havp/templates/en|;' \ |
-e 's|^# (WHITELIST) .+$|$1 /etc/havp/whitelist|;' \ |
-e 's|^# (BLACKLIST) .+$|$1 /etc/havp/blacklist|;' \ |
etc/havp/havp.config |
%build |
%configure \ |
--enable-ssl-tunnel |
%{__make} %{?_smp_mflags} |
%install |
%{__rm} -rf %{buildroot} |
%{__install} -Dp -m0755 havp/havp %{buildroot}%{_sbindir}/havp |
%{__install} -Dp -m0755 etc/init.d/havp %{buildroot}%{_initrddir}/havp |
%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/havp/ |
%{__cp} -r etc/havp/* %{buildroot}%{_sysconfdir}/havp/ |
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/log/havp/ |
%{__install} -d -m0755 %{buildroot}%{_localstatedir}/run/havp/ |
%clean |
%{__rm} -rf %{buildroot} |
%pre |
if ! /usr/bin/id havp &>/dev/null; then |
/usr/sbin/useradd -r -d %{_localstatedir}/log/havp -s /bin/sh -c "havp" havp || \ |
%logmsg "Unexpected error adding user \"havp\". Aborting installation." |
fi |
%post |
/sbin/chkconfig --add havp |
%preun |
if [ $1 -eq 0 ]; then |
/sbin/service havp stop &>/dev/null || : |
/sbin/chkconfig --del havp |
fi |
%postun |
if [ $1 -eq 0 ]; then |
/usr/sbin/userdel havp || %logmsg "User \"havp\" could not be deleted." |
fi |
%files |
%defattr(-, root, root, 0755) |
%doc ChangeLog COPYING INSTALL update-conf |
%config(noreplace) %{_sysconfdir}/havp/ |
%config %{_initrddir}/havp |
%{_sbindir}/havp |
%defattr(-, havp, havp, 0755) |
%{_localstatedir}/log/havp/ |
%{_localstatedir}/run/havp/ |
%changelog |
* Sun Nov 21 2010 Rexy <richard@rexy.fr> - 0.92-1 |
- Updated to release 0.92a. |
* Sun May 9 2010 Rexy <richard@irexy.fr> - 0.91-1 |
- Updated to release 0.91. |
* Tue Apr 7 2009 Dries Verachtert <dries@ulyssis.org> - 0.90-1 |
- Updated to release 0.90. |
* Wed Aug 13 2008 Dries Verachtert <dries@ulyssis.org> - 0.89-1 |
- Updated to release 0.89. |
* Sun Apr 20 2008 Dries Verachtert <dries@ulyssis.org> - 0.88-1 |
- Updated to release 0.88. |
* Mon Jul 23 2007 Dries Verachtert <dries@ulyssis.org> - 0.86-1 |
- Updated to release 0.86. |
* Tue Aug 22 2006 Dag Wieers <dag@wieers.com> - 0.7.9-1 |
- Cosmetic changes. |
* Wed May 31 2006 Bernard 'Tux' Lheureux <tux at portalinux dot org> 0.7.9-2 |
- Corrected the specfile to make it installable on CentOS 4.x |
- Created and applied some patches to make it chkconfig compatible |
- Created and applied a patch to make config reflect the correct location of the files |
* Tue May 30 2006 Jim Perrin <jperrin at gmail dot com> 0.7.9-1 |
- Initial build for CentOS, |
- Specfile generation... still some work to do... |
/conf/rpms/rpm-build-howto |
---|
0,0 → 1,20 |
Création des RPM spécifiques pour Alcasar |
**** Coova-chilli ***** |
- installer le paquetage rpm-build |
- récupérer le "RPM Source" de la dernière version 'packagée' par mandriva de coova-chilli (dans le répertoire SRPMS du dépôt 'contrib' de la cooker ftp.free.fr/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/contrib/release/) |
- en tant que root, lancer "urpmi" du paquetage récupéré. Cela permet d'installer les dépendances en terme de biliothèques de développment (*-devel.rpm) |
- en tant qu'utilisateur, lancer rpm -i du paquetage récupéré afin d'installer la structure de création du RPM dans ~/rpmbuild |
- pour tester cette structure, se positionner dans le répertoire ~/rpmbuild/SPEC/ et lancer la génération du RPM (rpmbuild -ba coova-chilli.spec) |
- si tout est ok, les RPMs sont créés dans le répertoire ~/rpmbuild/RPMS. Supprimer ces RPM |
- récupérer le 'tarball' de la dernière version de coova-chilli. Le décompresser dans un répertoire et tester la compilation traditionnelle (./configure + make) |
- copier ce tarball dans ~/rpmbuil/SOURCES/ |
- adaptation du fichier .spec (version, packager, commentaires, etc.) + |
- suppression de '--with-openssl \' à la ligne 104 |
- affectation des fichiers "header" dans le RPM coova-devel à la ligne 171 |
- adaptation du patch Mandriva : |
- l'ancien patch n'est plus nécessaire |
- cependant, un nouveau est nécessaire pour supprimer l'option de compilation "-Werror" qui spécifie au compilateur de traiter les warning comme des erreurs |
**** HAVP **** |
- récupérer le tarball de la dernière version d'HAVP. Le décompresser dans un répertoire et tester la compilation traditionnelle (./configure + make) |
- copier ce tarball dans ~/rpmbuil/SOURCES/ |
- adaptation du fichier .spec (version, packager, commentaires, etc.) + |
/conf/rpms/i586/coova-chilli-1.2.2-1mdv2010.0.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/conf/rpms/i586/libchilli0-1.2.2-1mdv2010.0.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/conf/rpms/i586/python-coova-chilli-1.2.2-1mdv2010.0.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/conf/rpms/i586/havp-0.91-1.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Deleted: svn:mime-type |
-application/octet-stream |
\ No newline at end of property |
/conf/rpms/i586/python-coova-chilli-1.2.5-0mdv2010.1.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/conf/rpms/i586/coova-chilli-1.2.5-0mdv2010.1.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/conf/rpms/i586/libchilli0-1.2.5-0mdv2010.1.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/conf/rpms/i586/havp-0.92a-1.i586.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/conf/rpms/coova-chilli-1.2.5-rexy_fix.diff |
---|
0,0 → 1,11 |
--- src/Makefile.am 2010-09-23 11:19:35.000000000 +0200 |
+++ src/Makefile.am.rexy 2010-11-19 18:14:10.470823745 +0100 |
@@ -25,7 +25,7 @@ |
garden.c ssl.c dns.c session.c pkt.c chksum.c net.c \ |
ms_chap.c options.c statusfile.c conn.c sig.c |
-AM_CFLAGS = -D_GNU_SOURCE -Wall -Werror -fno-builtin -fno-strict-aliasing \ |
+AM_CFLAGS = -D_GNU_SOURCE -Wall -fno-builtin -fno-strict-aliasing \ |
-O2 -fomit-frame-pointer -funroll-loops -pipe \ |
-DDEFCHILLICONF='"$(sysconfdir)/chilli.conf"'\ |
-DDEFPIDFILE='"$(localstatedir)/run/chilli.pid"'\ |