diff options
author | Bryan Stine <battousai@gentoo.org> | 2004-12-01 08:15:12 +0000 |
---|---|---|
committer | Bryan Stine <battousai@gentoo.org> | 2004-12-01 08:15:12 +0000 |
commit | 88754758dc2ca89066a169140a54e2ff68d635d8 (patch) | |
tree | fd5ae2fba303afe5c8b04c41971b787b7049b9e0 /net-firewall | |
parent | version that uses sdl-mixer instead of fmod for greater portability. (diff) | |
download | historical-88754758dc2ca89066a169140a54e2ff68d635d8.tar.gz historical-88754758dc2ca89066a169140a54e2ff68d635d8.tar.bz2 historical-88754758dc2ca89066a169140a54e2ff68d635d8.zip |
Bumping. Closes #69263 and #72990.
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/psad/ChangeLog | 11 | ||||
-rw-r--r-- | net-firewall/psad/Manifest | 6 | ||||
-rw-r--r-- | net-firewall/psad/files/digest-psad-1.3.4 | 1 | ||||
-rw-r--r-- | net-firewall/psad/files/digest-psad-1.4.0 | 1 | ||||
-rw-r--r-- | net-firewall/psad/psad-1.3.4.ebuild | 123 | ||||
-rw-r--r-- | net-firewall/psad/psad-1.4.0.ebuild | 123 |
6 files changed, 263 insertions, 2 deletions
diff --git a/net-firewall/psad/ChangeLog b/net-firewall/psad/ChangeLog index 0e39f2ce72b7..ca278cea3dcb 100644 --- a/net-firewall/psad/ChangeLog +++ b/net-firewall/psad/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-firewall/psad # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/ChangeLog,v 1.18 2004/08/08 00:00:43 slarti Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/ChangeLog,v 1.19 2004/12/01 08:15:12 battousai Exp $ + +*psad-1.4.0 (01 Dec 2004) + + 01 Dec 2004; Bryan D. Stine <battousai@gentoo.org> +psad-1.3.4.ebuild, + +psad-1.4.0.ebuild: + I need to keep up with the bumps better. The latest two bumps close #69263 + (thanks Daniel Webert) and #72990 (thanks Alexey Portnov). The new upstream + version have changed the init-script locations in the tarballs, so the + ebuilds were updated accordingly. 08 Aug 2004; Tom Martin <slarti@gentoo.org> psad-1.3.1.ebuild, psad-1.3.2.ebuild: diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest index aff18eb9fae3..764d766459a2 100644 --- a/net-firewall/psad/Manifest +++ b/net-firewall/psad/Manifest @@ -1,6 +1,10 @@ -MD5 555af86e1c05416119183a49e6850567 ChangeLog 3515 +MD5 c503bd303eb167518b9965bbbf33dc8b ChangeLog 3905 MD5 ac85ccaacab6bf7a9dd356b8c92b3bac metadata.xml 326 MD5 b51ecc7a2caa1ad591e42bd687e271da psad-1.3.1.ebuild 2813 +MD5 622aa9a05b8069387603ffcc5aa7383d psad-1.4.0.ebuild 2943 +MD5 eeb48488d8717cd3deb2435a7b511fcd psad-1.3.4.ebuild 2943 MD5 a618cafcb0ca08f1f43926c860b79a43 psad-1.3.2.ebuild 2918 MD5 0685c8a54fb4c35dbc920b79c2bea80e files/digest-psad-1.3.1 63 MD5 d5b2c82c2615fcf24e2f599706e35ade files/digest-psad-1.3.2 63 +MD5 295923dc84bcfb6e5978b5039ffc0a3a files/digest-psad-1.3.4 63 +MD5 c43f2f1a27860fdad099c9000d373b01 files/digest-psad-1.4.0 63 diff --git a/net-firewall/psad/files/digest-psad-1.3.4 b/net-firewall/psad/files/digest-psad-1.3.4 new file mode 100644 index 000000000000..b8cf7fb4fe59 --- /dev/null +++ b/net-firewall/psad/files/digest-psad-1.3.4 @@ -0,0 +1 @@ +MD5 98c8f60b0c41de25243b99753d8b6143 psad-1.3.4.tar.bz2 493792 diff --git a/net-firewall/psad/files/digest-psad-1.4.0 b/net-firewall/psad/files/digest-psad-1.4.0 new file mode 100644 index 000000000000..e12cf6ac2fbf --- /dev/null +++ b/net-firewall/psad/files/digest-psad-1.4.0 @@ -0,0 +1 @@ +MD5 0a0804ba77b0d9cb636aed1a6f70e019 psad-1.4.0.tar.bz2 505014 diff --git a/net-firewall/psad/psad-1.3.4.ebuild b/net-firewall/psad/psad-1.3.4.ebuild new file mode 100644 index 000000000000..6b54cdfb761a --- /dev/null +++ b/net-firewall/psad/psad-1.3.4.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/psad-1.3.4.ebuild,v 1.1 2004/12/01 08:15:12 battousai Exp $ + +inherit eutils perl-module + +IUSE="" + +DESCRIPTION="Port Scanning Attack Detection daemon" +SRC_URI="http://www.cipherdyne.org/psad/download/${P}.tar.bz2" +HOMEPAGE="http://www.cipherdyne.org/psad" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64 ~ppc ~alpha ~sparc" + +DEPEND="${DEPEND} + dev-lang/perl" + +RDEPEND="virtual/logger + dev-perl/Unix-Syslog + dev-perl/Date-Calc + mail-client/mailx + net-firewall/iptables" + +src_compile() { + cd ${S}/Psad + SRC_PREP="no" perl-module_src_compile + emake test + + cd ${S}/Net-IPv4Addr + SRC_PREP="no" perl-module_src_compile + emake test + + cd ${S}/IPTables/Parse + SRC_PREP="no" perl-module_src_compile + emake test + + cd ${S}/whois + emake || die "Make failed: whois" + + cd ${S} + # We'll use the C binaries + emake || die "Make failed: daemons" +} + +src_install() { + local myhostname= + local mydomain= + + doman *.8 + + keepdir /var/lib/psad /var/log/psad /var/run/psad /var/lock/subsys/${PN} + dodir /etc/psad + cd ${S}/Psad + insinto /usr/lib/psad + doins Psad.pm + + cd ${S}/Net-IPv4Addr + insinto /usr/lib/psad/Net + doins IPv4Addr.pm + + cd ${S}/IPTables/Parse + insinto /usr/lib/psad/IPTables + doins Parse.pm + + cd ${S}/whois + # Makefile seems borken, do install by hand... + insinto /usr + newbin whois whois_psad + newman whois.1 whois_psad.1 + + cd ${S} + insinto /usr + dosbin kmsgsd psad psadwatchd + newsbin fwcheck_psad.pl fwcheck_psad + dobin pscan + + cd ${S} + + # Ditch the _CHANGEME_ for hostname, substituting in our real hostname + myhostname="$(< /etc/hostname)" + [ -e /etc/dnsdomainname ] && mydomain=".$(< /etc/dnsdomainname)" + cp psad.conf psad.conf.orig + sed -i "s:HOSTNAME\(.\+\)\_CHANGEME\_;:HOSTNAME\1${myhostname}${mydomain};:" psad.conf || die "Sed failed." + + insinto /etc/psad + doins *.conf + doins psad_* + doins auto_dl icmp_types posf signatures + + cd ${S}/init-scripts + exeinto /etc/init.d + newexe psad-init.gentoo psad + + cd ${S}/snort_rules + dodir /etc/psad/snort_rules + insinto /etc/psad/snort_rules + doins *.rules + + cd ${S} + dodoc BENCHMARK CREDITS Change* FW_EXAMPLE_RULES README LICENSE SCAN_LOG +} + +pkg_postinst() { + if [ ! -p ${ROOT}/var/lib/psad/psadfifo ] + then + ebegin "Creating syslog FIFO for PSAD" + mknod -m 600 ${ROOT}/var/lib/psad/psadfifo p + eend $? + fi + + echo + einfo "Please be sure to edit /etc/psad/psad.conf to reflect your system's" + einfo "configuration or it may not work correctly or start up. Specifically, check" + einfo "the validity of the HOSTNAME setting and replace the EMAIL_ADDRESSES and" + einfo "HOME_NET settings at the least." + echo + einfo "If you are using a logger other than sysklogd, please be sure to change the" + einfo "syslogCmd setting in /etc/psad/psad.conf. An example for syslog-ng users" + einfo "would be:" + einfo " syslogCmd = /usr/sbin/syslog-ng;" +} diff --git a/net-firewall/psad/psad-1.4.0.ebuild b/net-firewall/psad/psad-1.4.0.ebuild new file mode 100644 index 000000000000..f04315310e2e --- /dev/null +++ b/net-firewall/psad/psad-1.4.0.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/psad-1.4.0.ebuild,v 1.1 2004/12/01 08:15:12 battousai Exp $ + +inherit eutils perl-module + +IUSE="" + +DESCRIPTION="Port Scanning Attack Detection daemon" +SRC_URI="http://www.cipherdyne.org/psad/download/${P}.tar.bz2" +HOMEPAGE="http://www.cipherdyne.org/psad" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64 ~ppc ~alpha ~sparc" + +DEPEND="${DEPEND} + dev-lang/perl" + +RDEPEND="virtual/logger + dev-perl/Unix-Syslog + dev-perl/Date-Calc + mail-client/mailx + net-firewall/iptables" + +src_compile() { + cd ${S}/Psad + SRC_PREP="no" perl-module_src_compile + emake test + + cd ${S}/Net-IPv4Addr + SRC_PREP="no" perl-module_src_compile + emake test + + cd ${S}/IPTables/Parse + SRC_PREP="no" perl-module_src_compile + emake test + + cd ${S}/whois + emake || die "Make failed: whois" + + cd ${S} + # We'll use the C binaries + emake || die "Make failed: daemons" +} + +src_install() { + local myhostname= + local mydomain= + + doman *.8 + + keepdir /var/lib/psad /var/log/psad /var/run/psad /var/lock/subsys/${PN} + dodir /etc/psad + cd ${S}/Psad + insinto /usr/lib/psad + doins Psad.pm + + cd ${S}/Net-IPv4Addr + insinto /usr/lib/psad/Net + doins IPv4Addr.pm + + cd ${S}/IPTables/Parse + insinto /usr/lib/psad/IPTables + doins Parse.pm + + cd ${S}/whois + # Makefile seems borken, do install by hand... + insinto /usr + newbin whois whois_psad + newman whois.1 whois_psad.1 + + cd ${S} + insinto /usr + dosbin kmsgsd psad psadwatchd + newsbin fwcheck_psad.pl fwcheck_psad + dobin pscan + + cd ${S} + + # Ditch the _CHANGEME_ for hostname, substituting in our real hostname + myhostname="$(< /etc/hostname)" + [ -e /etc/dnsdomainname ] && mydomain=".$(< /etc/dnsdomainname)" + cp psad.conf psad.conf.orig + sed -i "s:HOSTNAME\(.\+\)\_CHANGEME\_;:HOSTNAME\1${myhostname}${mydomain};:" psad.conf || die "Sed failed." + + insinto /etc/psad + doins *.conf + doins psad_* + doins auto_dl icmp_types posf signatures + + cd ${S}/init-scripts + exeinto /etc/init.d + newexe psad-init.gentoo psad + + cd ${S}/snort_rules + dodir /etc/psad/snort_rules + insinto /etc/psad/snort_rules + doins *.rules + + cd ${S} + dodoc BENCHMARK CREDITS Change* FW_EXAMPLE_RULES README LICENSE SCAN_LOG +} + +pkg_postinst() { + if [ ! -p ${ROOT}/var/lib/psad/psadfifo ] + then + ebegin "Creating syslog FIFO for PSAD" + mknod -m 600 ${ROOT}/var/lib/psad/psadfifo p + eend $? + fi + + echo + einfo "Please be sure to edit /etc/psad/psad.conf to reflect your system's" + einfo "configuration or it may not work correctly or start up. Specifically, check" + einfo "the validity of the HOSTNAME setting and replace the EMAIL_ADDRESSES and" + einfo "HOME_NET settings at the least." + echo + einfo "If you are using a logger other than sysklogd, please be sure to change the" + einfo "syslogCmd setting in /etc/psad/psad.conf. An example for syslog-ng users" + einfo "would be:" + einfo " syslogCmd = /usr/sbin/syslog-ng;" +} |