summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-01-20 17:20:28 +0000
committerJeroen Roovers <jer@gentoo.org>2015-01-20 17:20:28 +0000
commit9970702719984aefb133dbfa8b322f6f07e54428 (patch)
tree98d47257b7401208f2a68e42e4cfa1b85bde03ca /net-firewall/psad
parentVersion bump. (diff)
downloadhistorical-9970702719984aefb133dbfa8b322f6f07e54428.tar.gz
historical-9970702719984aefb133dbfa8b322f6f07e54428.tar.bz2
historical-9970702719984aefb133dbfa8b322f6f07e54428.zip
Version bump.
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-firewall/psad')
-rw-r--r--net-firewall/psad/ChangeLog10
-rw-r--r--net-firewall/psad/Manifest11
-rw-r--r--net-firewall/psad/files/psad-2.2.4-var-run.patch13
-rw-r--r--net-firewall/psad/psad-2.2.4.ebuild90
4 files changed, 118 insertions, 6 deletions
diff --git a/net-firewall/psad/ChangeLog b/net-firewall/psad/ChangeLog
index 09930b2d65ac..e73b2066aac6 100644
--- a/net-firewall/psad/ChangeLog
+++ b/net-firewall/psad/ChangeLog
@@ -1,6 +1,12 @@
# 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.82 2014/11/03 10:50:11 jer Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/psad/ChangeLog,v 1.83 2015/01/20 17:20:27 jer Exp $
+
+*psad-2.2.4 (20 Jan 2015)
+
+ 20 Jan 2015; Jeroen Roovers <jer@gentoo.org> +psad-2.2.4.ebuild,
+ +files/psad-2.2.4-var-run.patch:
+ Version bump.
03 Nov 2014; Jeroen Roovers <jer@gentoo.org> -psad-2.2.2-r1.ebuild:
Old.
diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index bfdda9dcf54f..9f061600a165 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -2,14 +2,17 @@
Hash: SHA256
AUX psad-2.2-var-run.patch 236 SHA256 fca16b2ef888f46e5eed5195a06231bbbe1fcd4d2e33547ff802c16075a78e01 SHA512 66845bd3dec96fc84b07c827f03520c94bdd7317e1df1f0f2b66a821ced45242c72f61aa5b82d6be5d2fc00d2f88671539808214545950db90c2dd0b7188e039 WHIRLPOOL fae6accd66b6e0d156291ee0bfc515415c41a334fee881cab4574a7e8b247260f736f970c357e94e4520c82e143b0edfbddab4f000887e6eacf4ac4640f7d20e
+AUX psad-2.2.4-var-run.patch 410 SHA256 41d2da9d15611f5c3b8252347adfff1364455550649c82d563b93ba910127d1b SHA512 c22b96e1136cd566631a342c6066b85991205adeaac820ab0cf2cd9feb8072989816446405140d1842736ce66d811df4d5fcaddefb284c8d4507ecc5a9246d57 WHIRLPOOL adb2b251b3a9ba87a87d7defc4ec1ba04435f8b800bd1d74d393a00068f087516233b87f8e6d137a7f768cdfae3631aeee7541943c8b09a71defeb18f93a442d
DIST psad-2.2.3.tar.bz2 1253488 SHA256 2d6976c395cdf2d7372bb06d85608fed0c91d54a63737d7d2671f90b44cdbc1e SHA512 1cc424252d287cf8f120e9e097a174c19da218f3efaaec1d9249c6b5cb976c5ab8fce70e7cf8a770366919e83c99f9b5462d44f9919645ea1fc9312e757f904a WHIRLPOOL 377563f32a43655d1d0989166783369e8071808e9746795dbaafdcb7c9c673756e379a9ee5a2ee30751223b6ee41e8dbbc730a925464cc1632021359e94e3071
+DIST psad-2.2.4.tar.bz2 1231887 SHA256 244ec0a9cc523bb0d51dce24fec265247abf1b72d15b5c7713d6dc2f466b9e45 SHA512 d154127c6b2442077d9047ab8325a2b7188c6172d1a3c47339fbedfc3e78f4d7a8f3f885256c01fdb66458ae63ef6714d28bd11f57f8cd96721cd58bb181524e WHIRLPOOL 7ed4a48a614b11fc02c4d2582c8e556fdc21e141308222e0cb3b1ad0b6266c640841a41b07d7ee5386be56c4d5ebe894accfbfaaa6d5e002c01addc78e1404dc
EBUILD psad-2.2.3.ebuild 2285 SHA256 cc5a5f2615c9ce70f65cf034256dccd10855c0a617561c3b978c18b6aa422336 SHA512 346ad5accd99727c5d512e5b10c0bf4619768290915887bf89bf6758de2e472fd745ceb2aff14edb86d03d4f0d9db44c585222640c28023cf01bc7c4e2a2c385 WHIRLPOOL 56171b20d566e295690fbadf6482c975462d5e323113ef05eb31a4ba08f9470bf4b9e6dfbbb1904395751040fb2eab012a64fdc15f0b0c286130c2834e8cab49
-MISC ChangeLog 13038 SHA256 ee150c93f396939548ea1bd95a2abe13a1e77f996a5eb428a42f48c1cd6319d2 SHA512 ec396473d4a980d8c2fd5625d9abaa489d61a2f4f5b05e483861321875ad8ae9ef624b356941ec0485ce60ad7a6dde7a34243bc48c05f03b526bf6ddfad65102 WHIRLPOOL 80a7bcbb64b6e498df02023696608396c7d37c38edb5a8c9b6a80f980ad15ed4b38d5e960c9c3f6c5091ca76ad385ff5207d905e082c1d7bd63cfbfd94e0430f
+EBUILD psad-2.2.4.ebuild 1978 SHA256 4d07e3088154bf4cca517771bce617f2e99252531088cd94f6a88dcbec8ffb92 SHA512 a6ecd8de9ee63f0d6d0573dae681af8bde77f1a4ea3f2a26a09b9c980bf9170fd3b3c971a55522950cd1722ec14e40295243f8719c93e1bec22af44eb0322132 WHIRLPOOL 1fef9dc9182728c772216e11b6354d6630673f3d943eb181187ffa6669a6fbe04e02f41c697fa873af0183ff82def56a0fbdac186504bb04a76d27000b6d98e5
+MISC ChangeLog 13184 SHA256 9ed38e4670c9d10388314747316fb2b14f4f8a359f11bf1cfd25694616bb2cb4 SHA512 c29e363e98b30023f8b1f4b958abc9e5094895db2446a7c32d2e9f5c9760272203e72b91848b6895afbc76f62306e3fa65e5d119232c5a5284238152774228de WHIRLPOOL f666530532b7312034332132c635e838f924427bfcf1c4b5f9ef29db9d747df40e4a220f1f053789f64c25432aee595a8bd4867b0a9f8cbf67e77c5c15a44728
MISC metadata.xml 159 SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 SHA512 2c104d2a804da0a38770b6f1ec26cd5b0a49e30392177d5794734a3f4129e82fd0971e5a8a1e48913bfaf1bab57e7bac1fe5ce4f5c618ce057aa5aaf9e59113b WHIRLPOOL 044dec64f8899582332d7fbd7612d2a7c5c7234c44bb9fc51a56f7d6400cd3066a154c3c49dd3f4b468f11e029aa24ff0097ab1387b9f322d57f1d9876afd601
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlRXXeQACgkQVWmRsqeSphM7vgCeOsfmnEwktIOBxB9+1BkaH7L3
-Gf0An31gLvs0sqPk0KhySkseZajMthKO
-=hlwI
+iEYEAREIAAYFAlS+jlwACgkQVWmRsqeSphNClQCcCNuonh3kUCoPnDGOrnJaI8Ip
+wy8AnRMcEItTDPyHpuM/9vMGM9cUSkzC
+=IrTx
-----END PGP SIGNATURE-----
diff --git a/net-firewall/psad/files/psad-2.2.4-var-run.patch b/net-firewall/psad/files/psad-2.2.4-var-run.patch
new file mode 100644
index 000000000000..78178a43d5e6
--- /dev/null
+++ b/net-firewall/psad/files/psad-2.2.4-var-run.patch
@@ -0,0 +1,13 @@
+--- a/init-scripts/psad-init.gentoo
++++ b/init-scripts/psad-init.gentoo
+@@ -19,6 +19,10 @@
+
+ start() {
+ checkconfig || return 1
++ checkpath -q -d -m 755 -o root:root /run/psad
++ checkpath -q -d -m 755 -o root:root /var/lib/psad
++ checkpath -q -d -m 755 -o root:root /var/log/psad
++ [ -p /var/lib/psad/psadfifo ] || mknod -m 600 /var/lib/psad/psadfifo p
+
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon \
diff --git a/net-firewall/psad/psad-2.2.4.ebuild b/net-firewall/psad/psad-2.2.4.ebuild
new file mode 100644
index 000000000000..a1218078749b
--- /dev/null
+++ b/net-firewall/psad/psad-2.2.4.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.2.4.ebuild,v 1.1 2015/01/20 17:20:27 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
+}