From 4816a85994aeba300818ed585fdce1255197a248 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 17 May 2015 07:28:36 +0000 Subject: Version bump. (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key A792A613) --- net-firewall/psad/ChangeLog | 8 +++- net-firewall/psad/psad-2.4.0.ebuild | 90 ------------------------------------- net-firewall/psad/psad-2.4.1.ebuild | 90 +++++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+), 91 deletions(-) delete mode 100644 net-firewall/psad/psad-2.4.0.ebuild create mode 100644 net-firewall/psad/psad-2.4.1.ebuild (limited to 'net-firewall') diff --git a/net-firewall/psad/ChangeLog b/net-firewall/psad/ChangeLog index 4fa164f7840d..da6068be42d6 100644 --- a/net-firewall/psad/ChangeLog +++ b/net-firewall/psad/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-firewall/psad # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/ChangeLog,v 1.90 2015/04/14 04:19:56 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/ChangeLog,v 1.91 2015/05/17 07:28:36 jer Exp $ + +*psad-2.4.1 (17 May 2015) + + 17 May 2015; Jeroen Roovers -psad-2.4.0.ebuild, + +psad-2.4.1.ebuild: + Version bump. 14 Apr 2015; Jeroen Roovers -psad-2.2.3.ebuild, -psad-2.2.4.ebuild, -files/psad-2.2-var-run.patch: diff --git a/net-firewall/psad/psad-2.4.0.ebuild b/net-firewall/psad/psad-2.4.0.ebuild deleted file mode 100644 index 2d5c5435c02c..000000000000 --- a/net-firewall/psad/psad-2.4.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/psad-2.4.0.ebuild,v 1.1 2015/03/21 07:29:49 jer Exp $ - -EAPI=5 -#PERL_EXPORT_PHASE_FUNCTIONS=no -inherit eutils perl-module toolchain-funcs - -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="~alpha ~amd64 ~ppc ~sparc ~x86" - -DEPEND="virtual/perl-ExtUtils-MakeMaker" -RDEPEND=" - dev-perl/Bit-Vector - dev-perl/Date-Calc - dev-perl/NetAddr-IP - dev-perl/Unix-Syslog - net-firewall/iptables - net-misc/whois - virtual/logger - virtual/mailx - virtual/perl-Storable -" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.2.4-var-run.patch - - sed -i \ - -e 's|/usr/bin/gcc|$(CC)|g' \ - -e 's|-O|$(CFLAGS) $(LDFLAGS)|g' \ - Makefile || die - # Fix up default paths - sed -i \ - -e "s:/usr/bin/whois_psad:/usr/bin/whois:g" \ - psad.conf || die -} - -src_configure() { - default - - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die - SRC_PREP="no" perl-module_src_configure - done -} - -src_compile() { - tc-export CC - default - - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die - perl-module_src_compile - done -} - -src_install() { - newbin pscan psad-pscan - - insinto /usr - dosbin kmsgsd psad psadwatchd - newsbin fwcheck_psad.pl fwcheck_psad - - insinto /etc/psad - doins \ - *.conf auto_dl icmp{,6}_types ip_options psad_* pf.os posf \ - protocols signatures - - newinitd init-scripts/psad-init.gentoo psad - - doman *.8 - - dodoc BENCHMARK CREDITS Change* FW_EXAMPLE_RULES README SCAN_LOG - - insinto /etc/psad/snort_rules - doins deps/snort_rules/* - - local deps_subdir - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do - cd "${S}"/deps/${deps_subdir} || die - perl-module_src_install - done -} diff --git a/net-firewall/psad/psad-2.4.1.ebuild b/net-firewall/psad/psad-2.4.1.ebuild new file mode 100644 index 000000000000..e7a69e91a78a --- /dev/null +++ b/net-firewall/psad/psad-2.4.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/psad-2.4.1.ebuild,v 1.1 2015/05/17 07:28:36 jer Exp $ + +EAPI=5 +#PERL_EXPORT_PHASE_FUNCTIONS=no +inherit eutils perl-module toolchain-funcs + +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="~alpha ~amd64 ~ppc ~sparc ~x86" + +DEPEND="virtual/perl-ExtUtils-MakeMaker" +RDEPEND=" + dev-perl/Bit-Vector + dev-perl/Date-Calc + dev-perl/NetAddr-IP + dev-perl/Unix-Syslog + net-firewall/iptables + net-misc/whois + virtual/logger + virtual/mailx + virtual/perl-Storable +" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.2.4-var-run.patch + + sed -i \ + -e 's|/usr/bin/gcc|$(CC)|g' \ + -e 's|-O|$(CFLAGS) $(LDFLAGS)|g' \ + Makefile || die + # Fix up default paths + sed -i \ + -e "s:/usr/bin/whois_psad:/usr/bin/whois:g" \ + psad.conf || die +} + +src_configure() { + default + + local deps_subdir + for deps_subdir in IPTables-Parse IPTables-ChainMgr; do + cd "${S}"/deps/${deps_subdir} || die + SRC_PREP="no" perl-module_src_configure + done +} + +src_compile() { + tc-export CC + default + + local deps_subdir + for deps_subdir in IPTables-Parse IPTables-ChainMgr; do + cd "${S}"/deps/${deps_subdir} || die + perl-module_src_compile + done +} + +src_install() { + newbin pscan psad-pscan + + insinto /usr + dosbin kmsgsd psad psadwatchd + newsbin fwcheck_psad.pl fwcheck_psad + + insinto /etc/psad + doins \ + *.conf auto_dl icmp{,6}_types ip_options psad_* pf.os posf \ + protocols signatures + + newinitd init-scripts/psad-init.gentoo psad + + doman *.8 + + dodoc BENCHMARK CREDITS Change* FW_EXAMPLE_RULES README SCAN_LOG + + insinto /etc/psad/snort_rules + doins deps/snort_rules/* + + local deps_subdir + for deps_subdir in IPTables-Parse IPTables-ChainMgr; do + cd "${S}"/deps/${deps_subdir} || die + perl-module_src_install + done +} -- cgit v1.2.3-65-gdbad