Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 2915 → Rev 2925

/rpms/nfdump-1.6.19..spec
File deleted
/rpms/coova-chilli-1.5.spec
File deleted
/rpms/coova-chilli-1.6.spec
0,0 → 1,129
%define _disable_ld_no_undefined 1
 
Summary: CoovaChilli is an open-source software access controller for captive portal hotspots
Name: coova-chilli
Version: 1.6
Release: 1%{?dist}
License: GPLv3
Packager: Richard REY (Rexy)
Group: System/Servers
URL: https://coova.github.io/CoovaChilli
Source: %{name}-%{version}.tar.gz
BuildRequires: gengetopt
BuildRequires: libtool
BuildRequires: openssl-devel
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-dhcpopt \
--enable-json \
--enable-mdns \
--with-openssl
 
automake --add-missing
%make_build
 
%post
%_post_service chilli
 
%preun
%_preun_service chilli
 
%install
%make_install
 
%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
* Wed Feb 24 2021 Richard REY (aka Rexy) - 1.6-1.mga7
- 1.6 release
* Fri May 22 2020 Richard REY (aka Rexy) - 1.5-1.mga7
- 1.5 release
* Mon May 22 2017 Tom Houdayer - 1.4-3.mga5
- Add mDNS support
* Sat May 06 2017 Tom Houdayer - 1.4-2.mga5
- Add OpenSSL support
* Mon Dec 19 2016 Rexy for ALCASAR project
- 1.4-1 release
* Sun Nov 13 2016 Rexy for ALCASAR project
- 1.3.2-2 release (including the code resolving IPSEC bug #255 & #301)
* Tue Oct 25 2016 Rexy for ALCASAR project
- 1.3.2-1 release
* Thu Jun 2 2016 Rexy for ALCASAR project
- 1.3.1.4 release
* Sun Apr 3 2016 Rexy for ALCASAR project
- 1.3.1.3 release
* Tue May 14 2013 Crox for ALCASAR project
- 1.3.0 release
* 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.
/rpms/ipt-netflow-2.5.1.spec
1,8 → 1,8
%define kversion 5.7.19-server-3.mga7
%define kversion 5.10.14-server-1.mga7
%define debug_package %{nil}
Name: ipt-netflow
Version: 2.5.1
Release: %mkrel 1
Release: %mkrel 2
Summary: Netflow iptables module for Linux kernel
License: GPLv2
Packager: Richard REY (Rexy)
44,8 → 44,10
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
 
%changelog
* Wed Feb 24 2021 Richard REY <Rexy>
- Version 2.5.1-2 for the kernel 5.10.14 (ALCASAR 3.5.3)
* Sat Oct 17 2020 Richard REY <Rexy>
- Version 2.5.1 for the kernel 5.7.19 (ALCASAR 3.5.1)
- Version 2.5.1-1 for the kernel 5.7.19 (ALCASAR 3.5.1)
* Fri May 22 2020 Richard REY <Rexy>
- Version 2.5 for the kernel 5.6.14 (ALCASAR 3.5)
* Tue May 21 2019 Richard REY <Rexy>
/rpms/nfdump-1.6.22.spec
0,0 → 1,53
%define libname %mklibname %{name}
Name: nfdump
Version: 1.6.22
Release: %mkrel 1
Summary: NetFlow collecting and processing tools
License: BSD
Packager: Richard REY (Rexy)
Group: Networking/Other
Source0: %{name}-%{version}.tar.gz
BuildRequires: lib64rrdtool-devel
BuildRoot: %{_tmppath}/%{name}-root
Url: https://github.com/phaag/nfdump
 
%description
The nfdump tools collect and process netflow data on the command line.
They are part of the NFSEN project, which is explained more detailed at
http://www.terena.nl/tech/task-forces/tf-csirt/meeting12/nfsen-Haag.pdf
 
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
 
%build
./autogen.sh
%define configure_args --enable-nfprofile --enable-nftrack --disable-rpath --disable-static
%configure2_5x %{configure_args}
%make_build
 
%install
%make_install
chmod 0644 AUTHORS ChangeLog README.md
rm -f %{buildroot}%{_libdir}/*.la
 
%clean
rm -rf $RPM_BUILD_ROOT
 
%files
%defattr(-,root,root)
%license LICENSE
%doc AUTHORS ChangeLog README.md
%{_bindir}/*
%{_libdir}/*
%{_mandir}/man1/*
 
%changelog
* Wed Feb 24 2021 Richard REY <Rexy>
- Version 1.6.22 for ALCASAR 3.5.3
* Sun Mar 8 2020 Richard REY <Rexy>
- Version 1.6.19 for ALCASAR 3.5
* Sat Jun 22 2019 Richard REY <Rexy>
- Version 1.6.17-2 for ALCASAR 3.4
* Thu Jan 03 2019 Richard REY <Rexy>
- Version 1.6.17 for ALCASAR 3.3.3
/rpms/rpm-build-howto
12,7 → 12,7
 
**** Prepare the RPM creation structure ***
- upadate your system : urpmi --auto-update
- install the following RPMs "kernel-userspace-headers", "rpm-build", "gengetopt", "libtool" packages
- install the following RPMs : urpmi kernel-userspace-headers rpm-build gengetopt libtool
- create directories structure in your home : mkdir -p ~/rpmbuild/{SRPMS,SOURCES,SPECS,tmp}
- Option : find the ".rpmmacros" file on mageia wiki (https://wiki.mageia.org/en/Packagers_RPM_tutorial) and copy it in your home directory
 
21,7 → 21,7
- retrieve the last tarball of coova-chilli (or the svn archive).
- Untar it and test the compilation process ("sh ./bootstrap", "./configure --disable-static --enable-shared --enable-largelimits --enable-chilliredir --enable-chilliscript --with-poll --enable-dhcpopt --enable-libjson --enable-json --enable-mdns --with-openssl", "make", "make install").
- all is in the /usr/local". Remove the instaled files ("make uninstall") and the binaries ("make clean").
- rename the directory and compress it (ie : tar -cvzf coova-chilli-1.x.tar.gz coova-chilli-1.x). Copy this tarball in the directory ~/rpmbuild/SOURCES/.
- rename the directory and compress it (ie : tar -cvzf coova-chilli-1.x.tgz coova-chilli-1.x). Copy this tarball in the directory ~/rpmbuild/SOURCES/.
- copy the SPEC file from the ALCASAR archive to the directory ~/rpmbuild/SPEC
- Add the option -Wno-format-truncation à la ligne "%Werror_cflags" du fichier /etc/rpm/macro.d/20build.macros (avoid the following warning : https://github.com/coova/coova-chilli/issues/509)
- change to the directory ~/pmbuild/SPEC and run the RPM build process : "rpmbuild -bb coova-chilli.spec" (or rpmbuild -ba to create also the SRPMS)
44,8 → 44,9
- install the RPMs "kernel-server-devel" (choose the targeted kernel), "lib64iptables-devel (or libiptables-devel in 32b arch)"
- download, uncompress and test the compilation of the last version of ipt-netflow (./configure --disable-dkms --disable-snmp-agent, make all install). The module is compiled in the same directory. The libs are copied in the /lib64/iptables (libip6t_NETFLOW.so & libipt_NETFLOW.so)
- test the module : go to the directory of sources and try to load it (modprobe ipt_NETFLOW), look at "journalctrl -f" and run "lsmod|grep NETFLOW" to verify if it's loaded. Run "alcasar-iptables.sh" to reload netfilter rules (no errors should appear). Run "alcasar-daemon.sh" to verify that all is ok.
- if all is ok, copy the tarball in rpmbuild/SOURCES. Copy and adapt the .spec in rpmbuild/SPECS (change the versions of kernel and rpm).
- change to the directory ~/pmbuild/SPEC and run "rpmbuild -bb ****.spec"
- if all is ok, copy the tarball in rpmbuild/SOURCES.
- Copy and adapt the .spec in rpmbuild/SPECS (change the versions of kernel and rpm).
- Run "rpmbuild -bb ****.spec"
- install the fresh rpm (urpmi) and load ALCASAR iptables rules (alcasar-iptables.sh). Great job ;-)
 
**** For wkhtmltopdf --> no longer need (included in Mageia7) ****
/rpms/x86_64/coova-chilli-1.5-1.mga7.x86_64.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
/rpms/x86_64/ipt-netflow-2.5.1-1.mga7.x86_64.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
/rpms/x86_64/nfdump-1.6.19-1.mga7.x86_64.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
/rpms/x86_64/coova-chilli-1.6-1.mga7.x86_64.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
/rpms/x86_64/ipt-netflow-2.5.1-2.mga7.x86_64.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
/rpms/x86_64/nfdump-1.6.22-1.mga7.x86_64.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