/conf/rpms/havp-0.92a-1.1.spec |
---|
1,11 → 1,12 |
Summary: HTTP anti-virus proxy filter |
Name: havp |
Version: 0.92a |
Release: 1.1%{?dist} |
Release: 1%{?dist} |
License: GPLv2 |
Group: Security |
URL: https://sourceforge.net/projects/havp/ |
Source: %{name}-%{version}.tar.gz |
Patch1: havp-init.diff |
Packager: Richard REY (Rexy) |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRequires: clamav-devel |
24,7 → 25,7 |
%prep |
%setup |
%patch1 -p0 |
%build |
%configure |
%make |
32,9 → 33,9 |
%install |
rm -rf %{buildroot} |
install -d %{buildroot}%{_initrddir} |
cp etc/init.d/havp %{buildroot}%{_initrddir}/havp |
cp /etc/init.d/havp %{buildroot}%{_initrddir}/havp |
install -d %{buildroot}/lib/systemd/system/ |
cp lib/systemd/system/havp.service %{buildroot}/lib/systemd/system/ |
cp /lib/systemd/system/havp.service %{buildroot}/lib/systemd/system/ |
install -d %{buildroot}%{_localstatedir}/run/havp/ |
install -d %{buildroot}%{_localstatedir}/log/havp/ |
%makeinstall |
50,7 → 51,7 |
%preun |
if [ $1 -eq 0 ]; then |
/usr/bin/systemctl havp stop |
/usr/bin/systemctl stop havp.service |
/usr/bin/systemctl -q disable havp.service |
fi |
74,7 → 75,7 |
%changelog |
* Sun Apr 3 2016 Rexy for ALCASAR project |
- Rebuild 0.92-1.1 for Mga5 |
- Rebuild 0.92a.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). |
/conf/rpms/i586/dnsmasq-base-2.75-1.mga6.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/dnsmasq-2.75-1.mga6.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/wget-1.15-5.mga5.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/dnsmasq-2.75-2.mga6.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/dnsmasq-base-2.75-2.mga6.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/wget-1.17.1-2.mga6.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/ipt-netflow.spec |
---|
22,10 → 22,17 |
%install |
%makeinstall |
mkdir -p %{buildroot}/lib/iptables |
######### uncoment for 32b ##################### |
#mkdir -p %{buildroot}/lib/iptables |
#mkdir -p %{buildroot}/lib/modules/%kversion/extra |
#cp /lib/iptables/libipt_NETFLOW.so %{buildroot}/lib/iptables/ |
#cp /lib/iptables/libip6t_NETFLOW.so %{buildroot}/lib/iptables/ |
#cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/ |
######### uncoment for 64b ##################### |
mkdir -p %{buildroot}/lib64/iptables |
mkdir -p %{buildroot}/lib/modules/%kversion/extra |
cp /lib/iptables/libipt_NETFLOW.so %{buildroot}/lib/iptables/ |
cp /lib/iptables/libip6t_NETFLOW.so %{buildroot}/lib/iptables/ |
cp /lib64/iptables/libipt_NETFLOW.so %{buildroot}/lib64/iptables/ |
cp /lib64/iptables/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/ |
cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/ |
%post |
37,7 → 44,7 |
%files |
/%{_lib}/iptables/libipt_NETFLOW.so |
/%{_lib}/iptables/libip6t_NETFLOW.so |
/%{_lib}/modules/%kversion/extra/ipt_NETFLOW.ko |
/lib/modules/%kversion/extra/ipt_NETFLOW.ko |
%changelog |
* Tue Apr 5 2016 Richard Rey <rexy> |
/conf/rpms/rpm-build-howto |
---|
26,13 → 26,14 |
- exclure de l'archive les fichiers inutiles pour ALCASAR (wpad.dat, wwwdir, etc. via la directive '%exclude') |
**** 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 ~/rpmbuild/SOURCES/ |
- adaptation du fichier .spec (version, packager, commentaires, etc.) |
- install the RPM of clamav-devel |
- download, uncompress, and test the compilation of the last version of havp (./configure + make) |
- copy the tarball in ~/rpmbuild/SOURCES/. copy the patch file ("havp-init.diff") in ~/rpmbuil/SOURCE. Copy and adapt the .spec in ~/rpmbuid/SPEC |
- rpmbuild -dd ***.spec |
**** ipt_netflow **** |
- install the RPMs "kernel-server-devel", "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 |
- download, uncompress 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 |
- if all is ok, copy the tarball in rpmbuild/SOURCES. Copy the .spec in rpmbuild/SPECS. In this file, change the kernel number and uncoment the lines to match the architecture. |
- rpmbuild -bb ****.spec |
/conf/rpms/x86_64/dnsmasq-base-2.75-1.mga6.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 |
/conf/rpms/x86_64/havp-0.92a-1.1.mga4.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 |
/conf/rpms/x86_64/dnsmasq-2.75-1.mga6.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 |
/conf/rpms/x86_64/wget-1.15-5.mga5.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 |
/conf/rpms/x86_64/dnsmasq-2.75-2.mga6.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 |
/conf/rpms/x86_64/dnsmasq-base-2.75-2.mga6.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 |
/conf/rpms/x86_64/havp-0.92a-1.mga5.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 |
/conf/rpms/x86_64/ipt-netflow-2.2-1.mga5.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 |
/conf/rpms/x86_64/wget-1.17.1-2.mga6.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 |