Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1808 → Rev 1809

/conf/rpms/coova-chilli-1.2.5.spec
File deleted
/conf/rpms/coova-chilli-1.2.9.spec
File deleted
/conf/rpms/coova-chilli-1.2.5-rexy_fix.diff
File deleted
/conf/rpms/coova-chilli-1.3.1.spec
0,0 → 1,108
%define _disable_ld_no_undefined 1
 
Summary: CoovaChilli is an open-source software access controller for captive portal hotspots
Name: coova-chilli
Version: 1.3.1
Release: 3%{?dist}
License: GPLv3
Packager: Richard REY (Rexy)
Group: System/Servers
URL: https://coova.github.io/CoovaChilli
Source: %{name}-%{version}.tar.gz
BuildRequires: libtool
Provides: coova-chilli = %{version}-%{release}
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.github.io/.
 
%prep
%setup -q -n %{name}-%{version}
 
%build
sh bootstrap
%configure \
--disable-static \
--enable-shared \
--enable-largelimits \
--enable-chilliredir \
--enable-chilliscript \
--with-poll \
--enable-libjson \
--enable-dhcpopt
%make
 
%post
%_post_service chilli
 
%preun
%_preun_service chilli
 
%install
rm -rf %{buildroot}
%makeinstall_std
 
%clean
rm -rf %{buildroot}
 
%files
%defattr(-,root,root)
%{_sbindir}/*
%{_libdir}/*.so*
%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.coovachilli doc/attributes
%config %{_sysconfdir}/chilli.conf
%config %{_sysconfdir}/chilli/gui-config-default.ini
%config(noreplace) %{_sysconfdir}/chilli/defaults
%dir %{_sysconfdir}/chilli
%{_sysconfdir}/init.d/chilli
%{_sysconfdir}/chilli/wwwsh
%{_sysconfdir}/chilli/functions
%{_sysconfdir}/chilli/*.sh
%{_mandir}/man1/*.1*
%{_mandir}/man5/*.5*
%{_mandir}/man8/*.8*
%exclude %{_sysconfdir}/chilli/www/*
%exclude %{_sysconfdir}/chilli/wpad.dat
%exclude %{_includedir}/chilli*
%exclude %{_libdir}/*.la*
%exclude %{_libdir}/python/CoovaChilliLib.py*
 
%changelog
* Sun Apr 3 2016 Rexy for ALCASAR project
- 1.3.1.3 release (Limited to ALCASAR project)
* Tue May 14 2013 Crox for ALCASAR project
- 1.3.0 release (Limited to ALCASAR project)
* Mon Jun 18 2012 Rexy for ALCASAR project
- 1.2.9-1 release
* Wed Jan 18 2012 Rexy for ALCASAR project
- 1.2.9 release
* Sun Jul 11 2011 Rexy for ALCASAR project
- 1.2.8 release
* Sat Feb 12 2011 Rexy for Alcasar project
+ revision: 433
+ add _disable_ld_no_undefined 1
- 1.2.6 release
* Sat Nov 20 2010 Rexy for Alcasar project
+ revision: 394
- 1.2.5 release
* Sat Jan 2 2010 <david@coova.com>
- 1.2.0 release
* Thu Sep 30 2007 <david@coova.com>
- 1.0.8 release
* Thu Aug 20 2007 <david@coova.com>
- 1.0-coova.7 release
* Thu Jun 7 2007 <david@coova.com>
- 1.0-coova.6 release
* Wed May 16 2007 <david@coova.com>
- 1.0-coova.5 release
* Wed Feb 07 2007 <david@coova.com>
- 1.0-coova.4 release
* Wed Nov 15 2006 <david@coova.com>
- 1.0-coova.3 release
* Thu Mar 25 2004 <support@chillispot.org>
- Initial release.
/conf/rpms/havp-0.92a-1.1.spec
1,14 → 1,14
Summary: HTTP anti-virus proxy filter
Name: havp
Version: 0.92a
Release: %mkrel 1.1%{?dist}
License: GPLv2+
Group: Security
URL: http://www.server-side.de/
Source: http://www.server-side.de/download/havp-%{version}.tar.gz
Packager: jb (ALCASAR team)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: clamav-devel
Summary: HTTP anti-virus proxy filter
Name: havp
Version: 0.92a
Release: 1.1%{?dist}
License: GPLv2
Group: Security
URL: https://sourceforge.net/projects/havp/
Source: %{name}-%{version}.tar.gz
Packager: Richard REY (Rexy)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: clamav-devel
 
%description
HAVP (HTTP AntiVirus proxy) is a proxy with an anti-virus filter.
73,16 → 73,17
%{_localstatedir}/run/havp/
 
%changelog
* Thu Jul 07 2014 jb <jeanbaptiste.couprit@gmail.com> (x86_64 & i586) - 0.92-1.1
* Sun Apr 3 2016 Rexy for ALCASAR project
- Rebuild 0.92-1.1 for Mga5
 
* Thu Jul 07 2014 jb <jeanbaptiste.couprit@gmail.com> - 0.92-1.1
- Created .spec file to build rpms for Mageia4 (x86_64 & i586).
- Created two rpms : havp-0.92a-1-1.mga4.x86_64.rpm & havp-0.92a-1-1.mga4.i586.rpm with Libclamav patch (OpenSSL)
 
* Tue Apr 30 2013 Crox <ptitois@gmail.com> - 0.92-1.1
- Created .spec file to build rpms for Mageia2 (x86_64 & i586).
- Created two rpms : havp-0.92a-1-1.mga2.x86_64.rpm & havp-0.92a-1-1.mga2.i586.rpm
 
* 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
/conf/rpms/ipt-netflow-rexy.spec
0,0 → 1,34
rexyName: ipt_NETFLOW
Version: 2.2
Release: %mkrel 1
Summary: Netflow iptables module for Linux kernel
License: GPLv2
Group: Development/Kernel
URL: https://github.com/aabc/ipt-netflow
Source0: %name-%version.tgz
 
 
%description
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel.
Created to be useful for highly loaded linux router. It should be used as iptables target.
 
 
%prep
%setup -q- n ipt_netflow-%{version}
 
%build
%configure
%make
 
%install
%makeinstall
 
%find_lang %name
 
%files -n %name
/%{_lib}/iptables/libipt_NETFLOW.so
/usr/src/%{module_name}-%{version}-%{release}
 
%changelog
* Tue Sep 10 2016 Richard Rey <rexy> 2.2.mga5
- Initial version of the package
/conf/rpms/ipt-netflow.spec
0,0 → 1,75
%define module_name ipt-netflow
%define module_version 1.7.1
%define module_release alt1
 
%define kversion 2.6.32
%define krelease alt31
%define flavour el-smp
 
%define module_dir /lib/modules/%kversion-%flavour-%krelease/kernel/net/ipv4/netfilter/
 
Summary: ipt_NETFLOW linux 2.6 kernel module
Name: kernel-modules-%module_name-%flavour
Version: 1.0.%module_version
Release: %module_release.132640.31
License: GPL
Group: System/Kernel and hardware
 
Packager: Kernel Maintainer Team <kernel@packages.altlinux.org>
 
ExclusiveOS: Linux
URL: sourceforge.net/projects/ipt-netflow/
BuildRequires(pre): rpm-build-kernel
BuildRequires: kernel-headers-modules-%flavour = %kversion-%krelease
BuildRequires: kernel-headers-%flavour = %kversion-%krelease
BuildRequires: kernel-source-%module_name = %module_version
 
BuildRequires: iptables iptables-devel
 
Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release
 
Prereq: coreutils
Prereq: kernel-image-%flavour = %kversion-%krelease
Requires(postun): kernel-image-%flavour = %kversion-%krelease
 
ExclusiveArch: %ix86 x86_64
 
%description
Ipt-netflow is very fast and effective Netflow exporting module
for Linux kernel (up to 2.6.37). Designed for Linux router with
heavy network load.
 
%prep
rm -rf kernel-source-%module_name-%module_version
tar -jxvf %kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%setup -D -T -n kernel-source-%module_name-%module_version
 
%build
./configure \
--kver="%kversion" \
--kdir="%_usrsrc/linux-%kversion-%flavour" \
#
%make_build all
 
%install
mkdir -p $RPM_BUILD_ROOT/%module_dir
install -p -m644 ipt_NETFLOW.ko $RPM_BUILD_ROOT/%module_dir
 
%post
%post_kernel_modules %kversion-%flavour-%krelease
 
%postun
%postun_kernel_modules %kversion-%flavour-%krelease
 
%files
%defattr(644,root,root,755)
%module_dir
 
%changelog
* Tue Jan 24 2012 Vitaly Kuznetsov <vitty at altlinux.ru> 1.0.1.7.1-alt1.132640.31
- Build for kernel-image-el-smp-2.6.32-alt31.
 
* Thu May 26 2011 Anton Protopopov <aspsk at altlinux.org> 1.0.1.7.1-alt1
- Initial build for ALT
/conf/rpms/rpm-build-howto
3,7 → 3,7
ALCASAR need the following programs that don't be included as RPM in Mageia :
- coovachilli
- havp
- ulogd
- netflow kernel module
 
This howto explains how to build RPM of these programs in order to keep the distribution clean
 
31,6 → 31,8
- adaptation du fichier .spec (version, packager, commentaires, etc.)
 
**** ipt_netflow ****
- install the RPMs "kernel-server-devel-x.y", "lib64iptables-devel (libiptables)"
- retrieve, decompress and test the conpilation of the last version (configure, make all install). The module is compiled in the same directory. The lib is copied in the /lib64/iptables
- go to the directory of source and try to load the module (modprobe ipt_NETFLOW)
- install the RPMs "kernel-server-devel-x.y", "lib64iptables-devel (or libiptables-devel in 32b arch)"
- download, decompress and test the conpilation of the last version of ipt-netflow (configure, make all install). The module is compiled in the same directory. The lib is copied in the /lib64/iptables
- test the module : go to the directory of source and try to load it (modprobe ipt_NETFLOW), "lsmod" to verify that it's loaded, "alcasar-iptables.sh" to test the iptables rules
- if all is ok, copy the tarball in rpmbuild/SOURCES . Copy the .spec in rpmbuild/SPECS