summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-03-03 13:15:37 +0000
committerJeroen Roovers <jer@gentoo.org>2014-03-03 13:15:37 +0000
commitc1b89b41c583aea7e8e3e823ff673a62ce3a6ec7 (patch)
treed98acca8417066b6a472e132da091e186b93ea2f /net-firewall/psad
parentMask lxde-base/lxpolkit to avoid confusion for removal at a later date. (diff)
downloadhistorical-c1b89b41c583aea7e8e3e823ff673a62ce3a6ec7.tar.gz
historical-c1b89b41c583aea7e8e3e823ff673a62ce3a6ec7.tar.bz2
historical-c1b89b41c583aea7e8e3e823ff673a62ce3a6ec7.zip
Version bump. Install /etc/psad/protocols.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-firewall/psad')
-rw-r--r--net-firewall/psad/ChangeLog9
-rw-r--r--net-firewall/psad/Manifest12
-rw-r--r--net-firewall/psad/psad-2.2.2-r1.ebuild104
-rw-r--r--net-firewall/psad/psad-2.2.3.ebuild (renamed from net-firewall/psad/psad-2.2.2.ebuild)6
4 files changed, 123 insertions, 8 deletions
diff --git a/net-firewall/psad/ChangeLog b/net-firewall/psad/ChangeLog
index c323d25c955b..76877efb9816 100644
--- a/net-firewall/psad/ChangeLog
+++ b/net-firewall/psad/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-firewall/psad
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/ChangeLog,v 1.70 2014/01/24 18:30:09 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/ChangeLog,v 1.71 2014/03/03 13:15:36 jer Exp $
+
+*psad-2.2.3 (03 Mar 2014)
+*psad-2.2.2-r1 (03 Mar 2014)
+
+ 03 Mar 2014; Jeroen Roovers <jer@gentoo.org> -psad-2.2.2.ebuild,
+ +psad-2.2.2-r1.ebuild, +psad-2.2.3.ebuild:
+ Version bump. Install /etc/psad/protocols.
*psad-2.2.2 (24 Jan 2014)
diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index f4826ffcbbc9..47ba9e846364 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -4,14 +4,16 @@ Hash: SHA256
AUX psad-2.2-var-run.patch 236 SHA256 fca16b2ef888f46e5eed5195a06231bbbe1fcd4d2e33547ff802c16075a78e01 SHA512 66845bd3dec96fc84b07c827f03520c94bdd7317e1df1f0f2b66a821ced45242c72f61aa5b82d6be5d2fc00d2f88671539808214545950db90c2dd0b7188e039 WHIRLPOOL fae6accd66b6e0d156291ee0bfc515415c41a334fee881cab4574a7e8b247260f736f970c357e94e4520c82e143b0edfbddab4f000887e6eacf4ac4640f7d20e
DIST psad-2.2.1.tar.bz2 1255544 SHA256 17befa8879f326d8f416c4827ec4241c6a8882656776d677f1b7ed05728e9728 SHA512 08a4173126f3b9ea592224cd0079b41156e15366643f2347e6dbfe01a89bca112d3d94b0ec593da6c8fc9782befa74aad4a66b4117a40523d28a25bc1f1508c4 WHIRLPOOL fe22d8c1af4138f430e544c5b05de77f94e028261972d16b745d3a45f7b19cfacdb929701a10c8df95f3818174731223fa3ab87bfedec1ae5d6d203ed2da6f7a
DIST psad-2.2.2.tar.bz2 1251478 SHA256 e65ad95cbc276957841df2bfaef80625ad1670cae620f09af1e56ad802f5f43e SHA512 dc0d61833d33e9f15d2507b4ddc72212eb087f010abd6bf086a44ae1760b7174588ac78c3f84eba005456d01fced1795709b9bcd29f01d863fb249f10677e734 WHIRLPOOL c50fcf3a89e1570f02e7d92298155d913ed73f1043bbe4b2e8d7bd60b81b29e65abe55f269d9fbea3de297cd9fae54cdc534f7c5475ca20d6c5436426d9449e9
+DIST psad-2.2.3.tar.bz2 1253488 SHA256 2d6976c395cdf2d7372bb06d85608fed0c91d54a63737d7d2671f90b44cdbc1e SHA512 1cc424252d287cf8f120e9e097a174c19da218f3efaaec1d9249c6b5cb976c5ab8fce70e7cf8a770366919e83c99f9b5462d44f9919645ea1fc9312e757f904a WHIRLPOOL 377563f32a43655d1d0989166783369e8071808e9746795dbaafdcb7c9c673756e379a9ee5a2ee30751223b6ee41e8dbbc730a925464cc1632021359e94e3071
EBUILD psad-2.2.1.ebuild 2271 SHA256 a0341f34c35c466334b53ed2c3e95243db5aa1dbada50677c7b4c156e0622bc3 SHA512 1a76930cebcb1373400138f5c5e81303f1e0c1084bfa8891f7071865208c11a0e7c62b36cfc0ab54baf88d15f322a31030d2800004851c7366a67cd53b8d99b4 WHIRLPOOL da32e4b6585a6ed0ea251674c9d6a0d923de9583ce8c2965d5b434690ab33e441f3368aeb498c0974eb61b56e2edd15fa08f1becd262581738de8faf81375774
-EBUILD psad-2.2.2.ebuild 2275 SHA256 f1f9d0c8e66dd2f21fab47eaf44135f0950938868dbfa2af664d69e3844d2f59 SHA512 12039c4f7c8032bd9faba93617af807ab76201cd1251873df7da5b928836b49dda1141a0844e65d4c9ef86b2e24e72ba7e1f9de000d9d67058e04d836584e8c2 WHIRLPOOL 6baed88b048824ad39ac94b950ffa1ff2429ebf210ba0cf4e85bdfca62d1a4a921e30e24afd116a27310a948d990f9022d386be4f1e71ce17961f50a111f0acd
-MISC ChangeLog 11762 SHA256 466d0000a99acf76764da907fff5bdac6d8400c919ef9960a0d3134f75201f63 SHA512 a4d64ab042795bbe00c62d4e669b5f0ac6f0cefb2e5740e4b90eba4e688998d0667c88baf58c667a9575908a69998bce9b758d1f6fcf1970c00cb5bf9204f68d WHIRLPOOL 23fcd766854236f138582b2208cca2ae3a41c6f956c3e90be8f73880d5498532c8d08709627001df02a9e708f1b11cd14b5dbe16cab691712618066de388fad6
+EBUILD psad-2.2.2-r1.ebuild 2296 SHA256 00a1a32eec3b342af01f24ebe2e843ae22100188b2ae1ab7a17619f1e3e235ae SHA512 9fb8e617639cefaa61911bf4359cfbb4ba3a7ddbf7df81f10fc36e57b1d5dc85058d801dbe48a74d4abde16f87ca3c6b3f47800e06fd9187a61110756bea7c53 WHIRLPOOL d8c325a5462faf22e31684011da86fb2c2510f964e4ac3e8bf3c49911f9c4ea33b41ee713eea4481b1784a3af501b96250021df3985357d507fcd297409eaf93
+EBUILD psad-2.2.3.ebuild 2293 SHA256 8dbcc49ad35d1c5003201b2c6d48aa348020c7569af3ee860c1c6fa7ed4caf27 SHA512 b44177d35eeac882eec5350de6739b6daeeff7d734f865a1c566c7ece785f5e11d86c8881ffabaef4746fcb7e3e0fb63d71c56720f37a7fe473a76d3d6972be7 WHIRLPOOL c3ceb8375b41daabaf4ef8f711971fbfef574c449901b0424580be9d0f136896f8c4969b4999c140ee03aa2e39c9d685affcec685cb3726e5613ff3f0e5c625e
+MISC ChangeLog 11976 SHA256 dcd653374445da0c748d45d7223f475e6f7a2678eda9ce53a6b6a8d5c1b0a1a8 SHA512 fcc3e8f197955c43bd0b9b227fcae38645e8ab0102f31842e29ad561d25f5504afbc90c873e885f675d8596a78b69450d41be188d07602eb527a2d4c09e946cc WHIRLPOOL 4495e99b71a4f60c55cb4a55ab952b17e52be5927b4ac0e0cff6793c235eb60490fcc041f1fc8779587b0b067decc791a1824ce7104f157ce616fbe119cc5018
MISC metadata.xml 159 SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 SHA512 2c104d2a804da0a38770b6f1ec26cd5b0a49e30392177d5794734a3f4129e82fd0971e5a8a1e48913bfaf1bab57e7bac1fe5ce4f5c618ce057aa5aaf9e59113b WHIRLPOOL 044dec64f8899582332d7fbd7612d2a7c5c7234c44bb9fc51a56f7d6400cd3066a154c3c49dd3f4b468f11e029aa24ff0097ab1387b9f322d57f1d9876afd601
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlLisTMACgkQVWmRsqeSphPPtQCfdWA07DKXAEVXOVOTxkC6KS42
-uSMAn3z4ye0oeJhyl28vKkcLPN8fD5Bo
-=XL5a
+iEUEAREIAAYFAlMUgHkACgkQVWmRsqeSphORTwCYrAuezdQOkUEnLA5u/HhYqPk/
+EACfXnIYOyHKo7nKRPKytSGu+7pCZgg=
+=vGGY
-----END PGP SIGNATURE-----
diff --git a/net-firewall/psad/psad-2.2.2-r1.ebuild b/net-firewall/psad/psad-2.2.2-r1.ebuild
new file mode 100644
index 000000000000..6a05abe39c8d
--- /dev/null
+++ b/net-firewall/psad/psad-2.2.2-r1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/psad-2.2.2-r1.ebuild,v 1.1 2014/03/03 13:15:36 jer Exp $
+
+EAPI=4
+#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"
+IUSE=""
+
+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-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:/sbin/syslog-ng:/usr/sbin/syslog-ng:g" \
+ -e "s:/sbin/syslogd:/usr/sbin/syslogd:g" \
+ -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
+
+ keepdir /var/lib/${PN} /var/log/${PN}
+
+ 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
+}
+
+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
+}
diff --git a/net-firewall/psad/psad-2.2.2.ebuild b/net-firewall/psad/psad-2.2.3.ebuild
index 20c717d4bcb0..968698a95b0a 100644
--- a/net-firewall/psad/psad-2.2.2.ebuild
+++ b/net-firewall/psad/psad-2.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/psad-2.2.2.ebuild,v 1.1 2014/01/24 18:30:09 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/psad-2.2.3.ebuild,v 1.1 2014/03/03 13:15:36 jer Exp $
EAPI=4
#PERL_EXPORT_PHASE_FUNCTIONS=no
@@ -72,7 +72,9 @@ src_install() {
newsbin fwcheck_psad.pl fwcheck_psad
insinto /etc/psad
- doins *.conf auto_dl icmp{,6}_types ip_options psad_* pf.os posf signatures
+ doins \
+ *.conf auto_dl icmp{,6}_types ip_options psad_* pf.os posf \
+ protocols signatures
newinitd init-scripts/psad-init.gentoo psad