[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2023-06-28 Thread Sam James
commit: e33ed8e10528645fa679b66d43ccad0fee7bfae2
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun 28 07:45:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun 28 07:50:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e33ed8e1

net-firewall/psad: add missing selinux policy dep

Signed-off-by: Sam James  gentoo.org>

 net-firewall/psad/psad-2.4.6-r1.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-firewall/psad/psad-2.4.6-r1.ebuild 
b/net-firewall/psad/psad-2.4.6-r1.ebuild
index d9125b0b0558..7f7c63a676c3 100644
--- a/net-firewall/psad/psad-2.4.6-r1.ebuild
+++ b/net-firewall/psad/psad-2.4.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,6 +12,7 @@ 
SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm64 ppc ~sparc x86"
+IUSE="selinux"
 
 RDEPEND="
dev-perl/Bit-Vector
@@ -22,7 +23,9 @@ RDEPEND="
net-misc/whois
virtual/logger
virtual/mailx
-   virtual/perl-Storable"
+   virtual/perl-Storable
+   selinux? ( sec-policy/selinux-psad )
+"
 BDEPEND="virtual/perl-ExtUtils-MakeMaker"
 
 PATCHES=( "${FILESDIR}"/${PN}-2.2.4-var-run.patch )



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2022-07-02 Thread David Seifert
commit: c6f38c1a4c71a0d984bf8fc0b8a88b93f5661176
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jul  2 16:19:24 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jul  2 16:19:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6f38c1a

net-firewall/psad: update EAPI 6 -> 8

Signed-off-by: David Seifert  gentoo.org>

 .../{psad-2.4.6.ebuild => psad-2.4.6-r1.ebuild}| 41 ++
 1 file changed, 19 insertions(+), 22 deletions(-)

diff --git a/net-firewall/psad/psad-2.4.6.ebuild 
b/net-firewall/psad/psad-2.4.6-r1.ebuild
similarity index 69%
rename from net-firewall/psad/psad-2.4.6.ebuild
rename to net-firewall/psad/psad-2.4.6-r1.ebuild
index 7a4da9029e17..d9125b0b0558 100644
--- a/net-firewall/psad/psad-2.4.6.ebuild
+++ b/net-firewall/psad/psad-2.4.6-r1.ebuild
@@ -1,19 +1,18 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-#PERL_EXPORT_PHASE_FUNCTIONS=no
+EAPI=8
+
 inherit perl-module toolchain-funcs
 
 DESCRIPTION="Port Scanning Attack Detection daemon"
-SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
 HOMEPAGE="https://www.cipherdyne.org/psad/";
+SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
 
-SLOT="0"
 LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS="~alpha amd64 ~arm64 ppc ~sparc x86"
 
-DEPEND="virtual/perl-ExtUtils-MakeMaker"
 RDEPEND="
dev-perl/Bit-Vector
dev-perl/Date-Calc
@@ -23,11 +22,10 @@ RDEPEND="
net-misc/whois
virtual/logger
virtual/mailx
-   virtual/perl-Storable
-"
-PATCHES=(
-   "${FILESDIR}"/${PN}-2.2.4-var-run.patch
-)
+   virtual/perl-Storable"
+BDEPEND="virtual/perl-ExtUtils-MakeMaker"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.2.4-var-run.patch )
 
 src_prepare() {
default
@@ -45,10 +43,10 @@ src_prepare() {
 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
+   local d
+   for d in IPTables-Parse IPTables-ChainMgr; do
+   cd "${S}"/deps/${d} || die
+   perl-module_src_configure
done
 }
 
@@ -56,9 +54,9 @@ src_compile() {
tc-export CC
default
 
-   local deps_subdir
-   for deps_subdir in IPTables-Parse IPTables-ChainMgr; do
-   cd "${S}"/deps/${deps_subdir} || die
+   local d
+   for d in IPTables-Parse IPTables-ChainMgr; do
+   cd "${S}"/deps/${d} || die
perl-module_src_compile
done
 }
@@ -66,7 +64,6 @@ src_compile() {
 src_install() {
newbin misc/pscan psad-pscan
 
-   insinto /usr
dosbin kmsgsd psad psadwatchd
newsbin fwcheck_psad.pl fwcheck_psad
 
@@ -85,9 +82,9 @@ src_install() {
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
+   local d
+   for d in IPTables-Parse IPTables-ChainMgr; do
+   cd "${S}"/deps/${d} || die
perl-module_src_install
done
 }



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2021-09-08 Thread Sam James
commit: 9d0a8f96eb05a64ce687c0947f03948652ef
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  9 04:21:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  9 04:21:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0a8f96

net-firewall/psad: Keyword 2.4.6 arm64, #808645

Signed-off-by: Sam James  gentoo.org>

 net-firewall/psad/psad-2.4.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-firewall/psad/psad-2.4.6.ebuild 
b/net-firewall/psad/psad-2.4.6.ebuild
index 56c4275fdd5..7a4da9029e1 100644
--- a/net-firewall/psad/psad-2.4.6.ebuild
+++ b/net-firewall/psad/psad-2.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.cipherdyne.org/psad/";
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm64 ppc ~sparc x86"
 
 DEPEND="virtual/perl-ExtUtils-MakeMaker"
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2020-11-29 Thread David Seifert
commit: 7b5b39224716873c49f0cc0017f17e3d4fcb8ec3
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 29 09:55:45 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 29 09:55:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5b3922

net-firewall/psad: Remove old

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 net-firewall/psad/Manifest  |  2 -
 net-firewall/psad/psad-2.2.5.ebuild | 89 ---
 net-firewall/psad/psad-2.4.5.ebuild | 93 -
 3 files changed, 184 deletions(-)

diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index 7efe76b61e5..5d64570b037 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -1,3 +1 @@
-DIST psad-2.2.5.tar.bz2 1243987 BLAKE2B 
f6b3a86a841b2685a21c4f46cab8cbb720a7955644f28cd0931f0a620aed4a743213a9f276a98b637cd5b13f93565dee22876042e43a0233cb989021fff9b813
 SHA512 
195a06420cf821d182a5422705ba2d407fd35f23887430e61925cad0eada7d20e2416eaf6317857a5aec2f1264a280a7e0128cc301f17dcf20cf833a9f0efb6e
-DIST psad-2.4.5.tar.bz2 1631602 BLAKE2B 
83d5a6811743e56e86984e79f0176db7982243cefcbdef7bdc30300de6a3e2c1d5033e75ec5b7e68e89784b04c98a0ed6b9475a93f4e633ad96380facaf08c21
 SHA512 
6466cf3191092672557fb6c044c6126290f1d89aea37a20aad1b3eb148b5b8be5bc2cf3700938b91263d7403f776613f304bd491c24a7e16b0975b81f24481a0
 DIST psad-2.4.6.tar.bz2 2548405 BLAKE2B 
7479ce4496343ca988da4dbe82190053385f1a8fa2e190002545c63f2e36283bc84293d932ebe147c9078923fa9e0527b4265fffdb8e1fd99bfc5d9955f9f3cd
 SHA512 
a5de29b9ca0108aa8c6a325b725145f408dc517aeee4654596c7a037762f495a78827c64fc2e9c4284bc8db65caf0321982ecaf02de6d73784c2038e1078f42d

diff --git a/net-firewall/psad/psad-2.2.5.ebuild 
b/net-firewall/psad/psad-2.2.5.ebuild
deleted file mode 100644
index dca106bcba6..000
--- a/net-firewall/psad/psad-2.2.5.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-#PERL_EXPORT_PHASE_FUNCTIONS=no
-inherit eutils perl-module toolchain-funcs
-
-DESCRIPTION="Port Scanning Attack Detection daemon"
-SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
-HOMEPAGE="https://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.5.ebuild 
b/net-firewall/psad/psad-2.4.5.ebuild
deleted file mode 100644
index f4eea7be20f..000
--- a/net-firewall/psad/psad-2.4.5.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-#PERL_EXPORT_PHASE_FUNCTIONS=no
-inherit perl-module toolchain-funcs
-
-DESCRIPTION="Port Scanning Attack Detection daemon"
-SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
-HOMEPAGE="https://www.cipherdyne.org/psad/";
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-
-DEPEND="virtual/perl-

[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2020-11-29 Thread Agostino Sarubbo
commit: 3af36297d68a5c801f7f9b1b284012747c480f16
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Nov 29 08:19:56 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Nov 29 08:20:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af36297

net-firewall/psad: ppc stable wrt bug #757171

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-firewall/psad/psad-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-firewall/psad/psad-2.4.6.ebuild 
b/net-firewall/psad/psad-2.4.6.ebuild
index a990e4582c9..56c4275fdd5 100644
--- a/net-firewall/psad/psad-2.4.6.ebuild
+++ b/net-firewall/psad/psad-2.4.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.cipherdyne.org/psad/";
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ppc ~sparc x86"
 
 DEPEND="virtual/perl-ExtUtils-MakeMaker"
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2020-11-29 Thread Agostino Sarubbo
commit: b2cd325fc81e75943073adf10f3248773fa33cff
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Nov 29 08:12:41 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Nov 29 08:12:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2cd325f

net-firewall/psad: amd64 stable wrt bug #757171

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-firewall/psad/psad-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-firewall/psad/psad-2.4.6.ebuild 
b/net-firewall/psad/psad-2.4.6.ebuild
index ef3490e39b5..a990e4582c9 100644
--- a/net-firewall/psad/psad-2.4.6.ebuild
+++ b/net-firewall/psad/psad-2.4.6.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.cipherdyne.org/psad/";
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc x86"
+KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
 
 DEPEND="virtual/perl-ExtUtils-MakeMaker"
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2020-11-28 Thread Thomas Deutschmann
commit: 06959b4dfc2cef431ce4c5e96d4911d4d92ec899
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Nov 28 13:30:35 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Nov 28 13:30:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06959b4d

net-firewall/psad: x86 stable (bug #757171)

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-firewall/psad/psad-2.4.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-firewall/psad/psad-2.4.6.ebuild 
b/net-firewall/psad/psad-2.4.6.ebuild
index f4eea7be20f..ef3490e39b5 100644
--- a/net-firewall/psad/psad-2.4.6.ebuild
+++ b/net-firewall/psad/psad-2.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ HOMEPAGE="https://www.cipherdyne.org/psad/";
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc x86"
 
 DEPEND="virtual/perl-ExtUtils-MakeMaker"
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2018-08-07 Thread Jeroen Roovers
commit: eee8cd8932de47e2c5bd493b042939daa0d00e47
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Aug  7 07:07:46 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Aug  7 07:25:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee8cd89

net-firewall/psad: Old.

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 net-firewall/psad/Manifest  |  2 -
 net-firewall/psad/psad-2.4.3.ebuild | 90 ---
 net-firewall/psad/psad-2.4.4.ebuild | 93 -
 3 files changed, 185 deletions(-)

diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index 7b76497a3da..7efe76b61e5 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -1,5 +1,3 @@
 DIST psad-2.2.5.tar.bz2 1243987 BLAKE2B 
f6b3a86a841b2685a21c4f46cab8cbb720a7955644f28cd0931f0a620aed4a743213a9f276a98b637cd5b13f93565dee22876042e43a0233cb989021fff9b813
 SHA512 
195a06420cf821d182a5422705ba2d407fd35f23887430e61925cad0eada7d20e2416eaf6317857a5aec2f1264a280a7e0128cc301f17dcf20cf833a9f0efb6e
-DIST psad-2.4.3.tar.bz2 1395260 BLAKE2B 
ec48705c90fb9acf7f6f534c103ce83fb39933f6431539be50873b26dd51bf49eee709261c0c036136bf08c6820e7344315b6162664e54b455d380b1987efebf
 SHA512 
8a25ef377e3f4f406c2179a42217110a670f1c0eb8e7991e32a99fd695ca1866218274e9aaeb48552e1bd9bd91b5fbf34b226d767c28f1db27f15b08fba2b0e8
-DIST psad-2.4.4.tar.bz2 1429113 BLAKE2B 
3eed68eb1752051f4cab8320c168b9a66e3aebdbcef41a78990202e05ff4a317714f345baf3c5998975b6c8db2ca95d2b354ce4ebaea50feb9749701ae6af046
 SHA512 
0437a489fcb54458dbb33e0139385e577a89db0c07bd872e4e56780feb8033080d59c99aeff419f3c94b22be8fb41995674749123d15f7d578cc8b0a77d7783f
 DIST psad-2.4.5.tar.bz2 1631602 BLAKE2B 
83d5a6811743e56e86984e79f0176db7982243cefcbdef7bdc30300de6a3e2c1d5033e75ec5b7e68e89784b04c98a0ed6b9475a93f4e633ad96380facaf08c21
 SHA512 
6466cf3191092672557fb6c044c6126290f1d89aea37a20aad1b3eb148b5b8be5bc2cf3700938b91263d7403f776613f304bd491c24a7e16b0975b81f24481a0
 DIST psad-2.4.6.tar.bz2 2548405 BLAKE2B 
7479ce4496343ca988da4dbe82190053385f1a8fa2e190002545c63f2e36283bc84293d932ebe147c9078923fa9e0527b4265fffdb8e1fd99bfc5d9955f9f3cd
 SHA512 
a5de29b9ca0108aa8c6a325b725145f408dc517aeee4654596c7a037762f495a78827c64fc2e9c4284bc8db65caf0321982ecaf02de6d73784c2038e1078f42d

diff --git a/net-firewall/psad/psad-2.4.3.ebuild 
b/net-firewall/psad/psad-2.4.3.ebuild
deleted file mode 100644
index 545abd2d37d..000
--- a/net-firewall/psad/psad-2.4.3.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-#PERL_EXPORT_PHASE_FUNCTIONS=no
-inherit eutils perl-module toolchain-funcs
-
-DESCRIPTION="Port Scanning Attack Detection daemon"
-SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
-HOMEPAGE="https://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 FW_HELP README \
-   README.SYSLOG 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.4.ebuild

[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2018-08-07 Thread Jeroen Roovers
commit: 164be846fbd618f85f363437f7a5b48d0389fbdb
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Aug  7 07:06:51 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Aug  7 07:25:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164be846

net-firewall/psad: Version 2.4.6.

Package-Manager: Portage-2.3.44, Repoman-2.3.10

 net-firewall/psad/Manifest  |  1 +
 net-firewall/psad/psad-2.4.6.ebuild | 93 +
 2 files changed, 94 insertions(+)

diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index 91418476e3b..7b76497a3da 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -2,3 +2,4 @@ DIST psad-2.2.5.tar.bz2 1243987 BLAKE2B 
f6b3a86a841b2685a21c4f46cab8cbb720a79556
 DIST psad-2.4.3.tar.bz2 1395260 BLAKE2B 
ec48705c90fb9acf7f6f534c103ce83fb39933f6431539be50873b26dd51bf49eee709261c0c036136bf08c6820e7344315b6162664e54b455d380b1987efebf
 SHA512 
8a25ef377e3f4f406c2179a42217110a670f1c0eb8e7991e32a99fd695ca1866218274e9aaeb48552e1bd9bd91b5fbf34b226d767c28f1db27f15b08fba2b0e8
 DIST psad-2.4.4.tar.bz2 1429113 BLAKE2B 
3eed68eb1752051f4cab8320c168b9a66e3aebdbcef41a78990202e05ff4a317714f345baf3c5998975b6c8db2ca95d2b354ce4ebaea50feb9749701ae6af046
 SHA512 
0437a489fcb54458dbb33e0139385e577a89db0c07bd872e4e56780feb8033080d59c99aeff419f3c94b22be8fb41995674749123d15f7d578cc8b0a77d7783f
 DIST psad-2.4.5.tar.bz2 1631602 BLAKE2B 
83d5a6811743e56e86984e79f0176db7982243cefcbdef7bdc30300de6a3e2c1d5033e75ec5b7e68e89784b04c98a0ed6b9475a93f4e633ad96380facaf08c21
 SHA512 
6466cf3191092672557fb6c044c6126290f1d89aea37a20aad1b3eb148b5b8be5bc2cf3700938b91263d7403f776613f304bd491c24a7e16b0975b81f24481a0
+DIST psad-2.4.6.tar.bz2 2548405 BLAKE2B 
7479ce4496343ca988da4dbe82190053385f1a8fa2e190002545c63f2e36283bc84293d932ebe147c9078923fa9e0527b4265fffdb8e1fd99bfc5d9955f9f3cd
 SHA512 
a5de29b9ca0108aa8c6a325b725145f408dc517aeee4654596c7a037762f495a78827c64fc2e9c4284bc8db65caf0321982ecaf02de6d73784c2038e1078f42d

diff --git a/net-firewall/psad/psad-2.4.6.ebuild 
b/net-firewall/psad/psad-2.4.6.ebuild
new file mode 100644
index 000..f4eea7be20f
--- /dev/null
+++ b/net-firewall/psad/psad-2.4.6.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+#PERL_EXPORT_PHASE_FUNCTIONS=no
+inherit perl-module toolchain-funcs
+
+DESCRIPTION="Port Scanning Attack Detection daemon"
+SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
+HOMEPAGE="https://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
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.2.4-var-run.patch
+)
+
+src_prepare() {
+   default
+
+   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 misc/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 doc/*.8
+
+   dodoc doc/BENCHMARK CREDITS Change* doc/FW_EXAMPLE_RULES README \
+   doc/README.SYSLOG doc/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
+}



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2018-05-06 Thread Aaron Bauman
commit: 2eb55f326c198bc61fd09a6a16a7b98bf97d20c0
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun May  6 09:59:51 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun May  6 14:13:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb55f32

net-firewall/psad: use HTTPS

 net-firewall/psad/psad-2.2.5.ebuild | 6 +++---
 net-firewall/psad/psad-2.4.3.ebuild | 6 +++---
 net-firewall/psad/psad-2.4.4.ebuild | 6 +++---
 net-firewall/psad/psad-2.4.5.ebuild | 6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/net-firewall/psad/psad-2.2.5.ebuild 
b/net-firewall/psad/psad-2.2.5.ebuild
index f45bb3101a3..e032dfdfdeb 100644
--- a/net-firewall/psad/psad-2.2.5.ebuild
+++ b/net-firewall/psad/psad-2.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,8 +6,8 @@ EAPI=5
 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";
+SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
+HOMEPAGE="https://www.cipherdyne.org/psad/";
 
 SLOT="0"
 LICENSE="GPL-2"

diff --git a/net-firewall/psad/psad-2.4.3.ebuild 
b/net-firewall/psad/psad-2.4.3.ebuild
index 79b1d6323a8..545abd2d37d 100644
--- a/net-firewall/psad/psad-2.4.3.ebuild
+++ b/net-firewall/psad/psad-2.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,8 +6,8 @@ EAPI=5
 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";
+SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
+HOMEPAGE="https://www.cipherdyne.org/psad/";
 
 SLOT="0"
 LICENSE="GPL-2"

diff --git a/net-firewall/psad/psad-2.4.4.ebuild 
b/net-firewall/psad/psad-2.4.4.ebuild
index 7470cc6b3cd..2d76d8efc46 100644
--- a/net-firewall/psad/psad-2.4.4.ebuild
+++ b/net-firewall/psad/psad-2.4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,8 +6,8 @@ EAPI=6
 inherit 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";
+SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
+HOMEPAGE="https://www.cipherdyne.org/psad/";
 
 SLOT="0"
 LICENSE="GPL-2"

diff --git a/net-firewall/psad/psad-2.4.5.ebuild 
b/net-firewall/psad/psad-2.4.5.ebuild
index fa26cc018d8..f4eea7be20f 100644
--- a/net-firewall/psad/psad-2.4.5.ebuild
+++ b/net-firewall/psad/psad-2.4.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -6,8 +6,8 @@ EAPI=6
 inherit 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";
+SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2";
+HOMEPAGE="https://www.cipherdyne.org/psad/";
 
 SLOT="0"
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/, net-firewall/firewalld/, net-firewall/itval/, ...

2017-12-10 Thread Michał Górny
commit: 03bbb571c0329ba234c3be7632aa8ec5bd7aaae0
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 10 11:09:54 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 10 11:14:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03bbb571

net-firewall/*: Update Manifest hashes

 net-firewall/arno-iptables-firewall/Manifest |  4 ++--
 net-firewall/arptables/Manifest  |  4 ++--
 net-firewall/conntrack-tools/Manifest|  6 +++---
 net-firewall/dshieldpy/Manifest  |  2 +-
 net-firewall/ebtables/Manifest   |  2 +-
 net-firewall/ferm/Manifest   |  4 ++--
 net-firewall/firehol/Manifest|  4 ++--
 net-firewall/firewalld/Manifest  |  2 +-
 net-firewall/fwanalog/Manifest   |  2 +-
 net-firewall/fwbuilder/Manifest  |  2 +-
 net-firewall/fwipsec/Manifest|  2 +-
 net-firewall/fwknop/Manifest |  2 +-
 net-firewall/gshield/Manifest|  2 +-
 net-firewall/ipkungfu/Manifest   |  4 ++--
 net-firewall/ipt_netflow/Manifest|  2 +-
 net-firewall/iptables/Manifest   |  6 +++---
 net-firewall/itval/Manifest  |  2 +-
 net-firewall/lutelwall/Manifest  |  2 +-
 net-firewall/nfacct/Manifest |  4 ++--
 net-firewall/nftables/Manifest   |  6 +++---
 net-firewall/nufw/Manifest   |  2 +-
 net-firewall/pftop/Manifest  |  4 ++--
 net-firewall/pglinux/Manifest|  2 +-
 net-firewall/psad/Manifest   |  8 
 net-firewall/quicktables/Manifest|  2 +-
 net-firewall/rtsp-conntrack/Manifest |  2 +-
 net-firewall/sanewall/Manifest   |  2 +-
 net-firewall/shapecfg/Manifest   |  2 +-
 net-firewall/shorewall/Manifest  | 14 +++---
 net-firewall/ufw-frontends/Manifest  |  2 +-
 net-firewall/ufw/Manifest|  4 ++--
 31 files changed, 54 insertions(+), 54 deletions(-)

diff --git a/net-firewall/arno-iptables-firewall/Manifest 
b/net-firewall/arno-iptables-firewall/Manifest
index 098487d96e1..c4704b73c32 100644
--- a/net-firewall/arno-iptables-firewall/Manifest
+++ b/net-firewall/arno-iptables-firewall/Manifest
@@ -1,2 +1,2 @@
-DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 SHA256 
fa7b865e5d9b8e077cba73b2f28695a2fd691092a0a7f9e1c16ee369fc27fe43 SHA512 
244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70
 WHIRLPOOL 
f6c1b5ade8b4acdcc4c8e90e19a84335c3932d2a58bbba2221a91b7cbd228c4d6072af6e21836314d86ef005780b47c5ce85198219b345116af529178e2133c1
-DIST arno-iptables-firewall_2.0.1f-rc1.tar.gz 129834 SHA256 
84f3e96bb85dbcad2916922d537aa0f188df59ece7ea9d9c0f669468938713e0 SHA512 
cf7c2f97e74e01be48a8206be3116156740dfd2022df957651b587de1492157363249c067a778209c1e239f53c30426c32e6b1f901949c37ab2b5d690542d620
 WHIRLPOOL 
969e09b206cf1e132e93151461297fdb3b40ba849b4b4c9ff9e2ef8095526e4e8340b348e2bc97cfe9838b7de3f42cb1acae7c21d6261dcab5392e26ba81afc4
+DIST arno-iptables-firewall_2.0.1e.tar.gz 126238 BLAKE2B 
0c8263004d2294f6eedd7f40e6c339da3a57db803ce1d064ac0bf4a3d2191b26fcd0b59185e51240bd0378365f9ca115c80c5edc256aa68359728c960ab8e6e3
 SHA512 
244b3bbf08b2d97128908aece487388bb71ced002cc129885144f4eacf9cf6053c9eb1225a1cd33fdefc502f1e6822a85710d35a7884e99cfde35d34f3fd4f70
+DIST arno-iptables-firewall_2.0.1f-rc1.tar.gz 129834 BLAKE2B 
b4d0c11074e0f1102800708253a0f49f09d8c7fc0feac2818d076aafe22ef7792c2809c73ad1c1c066f85727f5e4f2a76fd46d88ac1dc56095a74ed597b6
 SHA512 
cf7c2f97e74e01be48a8206be3116156740dfd2022df957651b587de1492157363249c067a778209c1e239f53c30426c32e6b1f901949c37ab2b5d690542d620

diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest
index 73450610497..6ecca60a894 100644
--- a/net-firewall/arptables/Manifest
+++ b/net-firewall/arptables/Manifest
@@ -1,2 +1,2 @@
-DIST arptables-v0.0.3-4.tar.gz 44335 SHA256 
e529fd465c67d69ad335299a043516e6b38cdcd337a5ed21718413e96073f928 SHA512 
a566b6df5c4b22c9c15d22c3801763e640f15b76043123c4ca8db1cc753a20a99b8b7b6dae2f0d9277cc6c49bcb269ba481958bcff3f6a516c7c9d8b553d35b5
 WHIRLPOOL 
a045489531c2eec53cc57b18639291d38fa443a9b4e4539e096fa2afbaaa8585bfa387c4759e0a02d407d76ef0ed87f602b4f847edd49d3be9c1113264e69996
-DIST arptables-v0.0.4.tar.gz 45380 SHA256 
277985e29ecd93bd759a58242cad0e02ba9d4a6e1b7795235e3b507661bc0049 SHA512 
bd84e93ab5e0a038753aa17dae9e1f48364f2d2b1492dce2edac117e21edd5aa912be7b9e21bf4fb3698031d2f765a75fa067fe10ce20a1c8951ae7efcc5dbbd
 WHIRLPOOL 
6209b2837e22fa1a3ef9d8d090210a8dda7b6199ec58cbdd565e646f24eb499ae4e3d36175e3ed215eb47783f33ae4a02a50e0b7df5aec78a82a6b5e2c7b1660
+DIST arptables-v0.0.3-4.tar.gz 44335 BLAKE2B 
a5764ad0976cddd10d0fc727609a5d6d68bd19422900401040990d464940c87855b82e8da994a23e62a233ace2a7f1fdecc20161855ed41925f34cf1e796a29f
 SHA512

[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2017-06-20 Thread Jeroen Roovers
commit: 6140fa2a38291aae25ddf798fb32e824110d9d25
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jun 20 11:57:46 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jun 20 11:57:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6140fa2a

net-firewall/psad: Version bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-firewall/psad/Manifest  |  1 +
 net-firewall/psad/psad-2.4.5.ebuild | 93 +
 2 files changed, 94 insertions(+)

diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index 6757081ca7d..61a04f9e7ef 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -1,3 +1,4 @@
 DIST psad-2.2.5.tar.bz2 1243987 SHA256 
736d446266227cb65511d792c85224573c95ea4dc3bde3d5c65bc19084f57452 SHA512 
195a06420cf821d182a5422705ba2d407fd35f23887430e61925cad0eada7d20e2416eaf6317857a5aec2f1264a280a7e0128cc301f17dcf20cf833a9f0efb6e
 WHIRLPOOL 
fac4797e0a399d4f5edf2179c21d37791d184ee1e334b9b8fb2707405afc10ca0c0d4ab43cd274f34cf8ba9453189066b1d46b955d0533fa357e376ef3817f1f
 DIST psad-2.4.3.tar.bz2 1395260 SHA256 
e482de4602ab72dba868dcdd1078ad3645d49ab02a9eb116dd117c1a5a20f8c5 SHA512 
8a25ef377e3f4f406c2179a42217110a670f1c0eb8e7991e32a99fd695ca1866218274e9aaeb48552e1bd9bd91b5fbf34b226d767c28f1db27f15b08fba2b0e8
 WHIRLPOOL 
a1c06df2cd67baa3e2b519094ffcccd027aab47352c00cd3147a8d3db2366ce8cbea42c37f5e8adcd9c2532af215bd87ed5d925e376cf8d965725e4f5cf4c7ea
 DIST psad-2.4.4.tar.bz2 1429113 SHA256 
4a8dad05554f779c359fb1091b07b37219dd4321d85e162a5885a11efaec1901 SHA512 
0437a489fcb54458dbb33e0139385e577a89db0c07bd872e4e56780feb8033080d59c99aeff419f3c94b22be8fb41995674749123d15f7d578cc8b0a77d7783f
 WHIRLPOOL 
5ab47d1b23659058ed17f484d7b5aa2c2dad5412f06dfde2fc0032ae50c2d25e9ab9a05bcad29547dd9dc69b0268ec7601917d60d4178bf8032f661aa7ef742c
+DIST psad-2.4.5.tar.bz2 1631602 SHA256 
2de1115325bd7c95d32ce0bdee5028c43a86c2893203b5fc1ba6bdfe8ba182d1 SHA512 
6466cf3191092672557fb6c044c6126290f1d89aea37a20aad1b3eb148b5b8be5bc2cf3700938b91263d7403f776613f304bd491c24a7e16b0975b81f24481a0
 WHIRLPOOL 
87bbd23cf4419e6a85cbb4fdb7a08dfe3e1aeb10c1542766d4b708a837182dea2859d5db982f2d91a67331b80c2e6728391917964f6dd555b70c3a38f7e7d607

diff --git a/net-firewall/psad/psad-2.4.5.ebuild 
b/net-firewall/psad/psad-2.4.5.ebuild
new file mode 100644
index 000..fa26cc018d8
--- /dev/null
+++ b/net-firewall/psad/psad-2.4.5.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+#PERL_EXPORT_PHASE_FUNCTIONS=no
+inherit 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
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.2.4-var-run.patch
+)
+
+src_prepare() {
+   default
+
+   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 misc/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 doc/*.8
+
+   dodoc doc/BENCHMARK CREDITS Change* doc/FW_EXAMPLE_RULES README \
+   doc/README.SYSLOG doc/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
+}



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2017-02-20 Thread Jeroen Roovers
commit: 744ed014b116ad25a2b8e8d1fa2a8a4ccdf992d5
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Feb 21 05:09:16 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Feb 21 05:09:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744ed014

net-firewall/psad: Old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-firewall/psad/Manifest  |  2 -
 net-firewall/psad/psad-2.4.1.ebuild | 91 -
 net-firewall/psad/psad-2.4.2.ebuild | 91 -
 3 files changed, 184 deletions(-)

diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index 9b4e024fe0..6757081ca7 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -1,5 +1,3 @@
 DIST psad-2.2.5.tar.bz2 1243987 SHA256 
736d446266227cb65511d792c85224573c95ea4dc3bde3d5c65bc19084f57452 SHA512 
195a06420cf821d182a5422705ba2d407fd35f23887430e61925cad0eada7d20e2416eaf6317857a5aec2f1264a280a7e0128cc301f17dcf20cf833a9f0efb6e
 WHIRLPOOL 
fac4797e0a399d4f5edf2179c21d37791d184ee1e334b9b8fb2707405afc10ca0c0d4ab43cd274f34cf8ba9453189066b1d46b955d0533fa357e376ef3817f1f
-DIST psad-2.4.1.tar.bz2 1361593 SHA256 
d86688ed7907724750b501087a92a3417cb5b2dc81e06230d0eb2cdcf676b03e SHA512 
e146d9853e265f4bb25b79fff7a0ab6ba2759367890498ea25edaff771df1b30c3a284b18e6fe5ae3f4c91a79f6b8d255bf331921c36a24fb0f4f554fa3cb848
 WHIRLPOOL 
5ac2b96fd8ec4baa98a0b35465e5c8bbfb3dffd48f2a95e31ef80e176d80e7ed09a5bcf6d945e8bed3d69d9cb21b14857dc56fd24bc5ce01ef9540729fd585d4
-DIST psad-2.4.2.tar.bz2 1396459 SHA256 
0490688c2d09428ee3b0f20a8aebaceb5993484c5e30176f883bea37272c9715 SHA512 
1a28bec3eafcbc9a480680598724b7c99c1aaad2560ec44d00b002208d737b771017c3bbeb73ece10199740d1c9094b11036f8d04cb5b8c6f3860f2e0c0221ab
 WHIRLPOOL 
17401c1ad846759f181f2f5d0619412f198aff5dd54fa8841a02757322ada67a9f6ae651b3b1cdbc4dbfbe2ed0570e56a74bb235794b24b0a187583383a94b0b
 DIST psad-2.4.3.tar.bz2 1395260 SHA256 
e482de4602ab72dba868dcdd1078ad3645d49ab02a9eb116dd117c1a5a20f8c5 SHA512 
8a25ef377e3f4f406c2179a42217110a670f1c0eb8e7991e32a99fd695ca1866218274e9aaeb48552e1bd9bd91b5fbf34b226d767c28f1db27f15b08fba2b0e8
 WHIRLPOOL 
a1c06df2cd67baa3e2b519094ffcccd027aab47352c00cd3147a8d3db2366ce8cbea42c37f5e8adcd9c2532af215bd87ed5d925e376cf8d965725e4f5cf4c7ea
 DIST psad-2.4.4.tar.bz2 1429113 SHA256 
4a8dad05554f779c359fb1091b07b37219dd4321d85e162a5885a11efaec1901 SHA512 
0437a489fcb54458dbb33e0139385e577a89db0c07bd872e4e56780feb8033080d59c99aeff419f3c94b22be8fb41995674749123d15f7d578cc8b0a77d7783f
 WHIRLPOOL 
5ab47d1b23659058ed17f484d7b5aa2c2dad5412f06dfde2fc0032ae50c2d25e9ab9a05bcad29547dd9dc69b0268ec7601917d60d4178bf8032f661aa7ef742c

diff --git a/net-firewall/psad/psad-2.4.1.ebuild 
b/net-firewall/psad/psad-2.4.1.ebuild
deleted file mode 100644
index dcf0bcd109..00
--- a/net-firewall/psad/psad-2.4.1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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 FW_

[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/files/, net-firewall/psad/

2017-02-20 Thread Jeroen Roovers
commit: 5d79778e30d1866f355dff9e88eec985dcb348ca
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Feb 21 05:07:39 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Feb 21 05:07:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d79778e

net-firewall/psad: Version bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-firewall/psad/Manifest   |  1 +
 net-firewall/psad/files/psad-2.2.4-var-run.patch |  6 ++
 net-firewall/psad/psad-2.4.4.ebuild  | 94 
 3 files changed, 101 insertions(+)

diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index 94cca56c1d..9b4e024fe0 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -2,3 +2,4 @@ DIST psad-2.2.5.tar.bz2 1243987 SHA256 
736d446266227cb65511d792c85224573c95ea4dc
 DIST psad-2.4.1.tar.bz2 1361593 SHA256 
d86688ed7907724750b501087a92a3417cb5b2dc81e06230d0eb2cdcf676b03e SHA512 
e146d9853e265f4bb25b79fff7a0ab6ba2759367890498ea25edaff771df1b30c3a284b18e6fe5ae3f4c91a79f6b8d255bf331921c36a24fb0f4f554fa3cb848
 WHIRLPOOL 
5ac2b96fd8ec4baa98a0b35465e5c8bbfb3dffd48f2a95e31ef80e176d80e7ed09a5bcf6d945e8bed3d69d9cb21b14857dc56fd24bc5ce01ef9540729fd585d4
 DIST psad-2.4.2.tar.bz2 1396459 SHA256 
0490688c2d09428ee3b0f20a8aebaceb5993484c5e30176f883bea37272c9715 SHA512 
1a28bec3eafcbc9a480680598724b7c99c1aaad2560ec44d00b002208d737b771017c3bbeb73ece10199740d1c9094b11036f8d04cb5b8c6f3860f2e0c0221ab
 WHIRLPOOL 
17401c1ad846759f181f2f5d0619412f198aff5dd54fa8841a02757322ada67a9f6ae651b3b1cdbc4dbfbe2ed0570e56a74bb235794b24b0a187583383a94b0b
 DIST psad-2.4.3.tar.bz2 1395260 SHA256 
e482de4602ab72dba868dcdd1078ad3645d49ab02a9eb116dd117c1a5a20f8c5 SHA512 
8a25ef377e3f4f406c2179a42217110a670f1c0eb8e7991e32a99fd695ca1866218274e9aaeb48552e1bd9bd91b5fbf34b226d767c28f1db27f15b08fba2b0e8
 WHIRLPOOL 
a1c06df2cd67baa3e2b519094ffcccd027aab47352c00cd3147a8d3db2366ce8cbea42c37f5e8adcd9c2532af215bd87ed5d925e376cf8d965725e4f5cf4c7ea
+DIST psad-2.4.4.tar.bz2 1429113 SHA256 
4a8dad05554f779c359fb1091b07b37219dd4321d85e162a5885a11efaec1901 SHA512 
0437a489fcb54458dbb33e0139385e577a89db0c07bd872e4e56780feb8033080d59c99aeff419f3c94b22be8fb41995674749123d15f7d578cc8b0a77d7783f
 WHIRLPOOL 
5ab47d1b23659058ed17f484d7b5aa2c2dad5412f06dfde2fc0032ae50c2d25e9ab9a05bcad29547dd9dc69b0268ec7601917d60d4178bf8032f661aa7ef742c

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
index 78178a43d5..7e6c9d2908 100644
--- a/net-firewall/psad/files/psad-2.2.4-var-run.patch
+++ b/net-firewall/psad/files/psad-2.2.4-var-run.patch
@@ -1,5 +1,11 @@
 --- a/init-scripts/psad-init.gentoo
 +++ b/init-scripts/psad-init.gentoo
+@@ -1,4 +1,4 @@
+-#!/sbin/runscript
++#!/sbin/openrc-run
+ ## Copyright 2006 Michael Rash
+ # Distributed under the terms of the GNU General Public License v2
+ # Author: Michael Rash
 @@ -19,6 +19,10 @@
  
  start() {

diff --git a/net-firewall/psad/psad-2.4.4.ebuild 
b/net-firewall/psad/psad-2.4.4.ebuild
new file mode 100644
index 00..b5a2cbe07f
--- /dev/null
+++ b/net-firewall/psad/psad-2.4.4.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+#PERL_EXPORT_PHASE_FUNCTIONS=no
+inherit 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
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.2.4-var-run.patch
+)
+
+src_prepare() {
+   default
+
+   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
+
+   i

[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2015-12-27 Thread Jeroen Roovers
commit: 65dd9e7b5a5e5f86dc5790e4ada8780edb77b945
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Dec 28 07:45:36 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Dec 28 07:45:36 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65dd9e7b

net-firewall/psad: Version bump.

Package-Manager: portage-2.2.26

 net-firewall/psad/Manifest  |  1 +
 net-firewall/psad/psad-2.4.3.ebuild | 91 +
 2 files changed, 92 insertions(+)

diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index ed51477..94cca56 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -1,3 +1,4 @@
 DIST psad-2.2.5.tar.bz2 1243987 SHA256 
736d446266227cb65511d792c85224573c95ea4dc3bde3d5c65bc19084f57452 SHA512 
195a06420cf821d182a5422705ba2d407fd35f23887430e61925cad0eada7d20e2416eaf6317857a5aec2f1264a280a7e0128cc301f17dcf20cf833a9f0efb6e
 WHIRLPOOL 
fac4797e0a399d4f5edf2179c21d37791d184ee1e334b9b8fb2707405afc10ca0c0d4ab43cd274f34cf8ba9453189066b1d46b955d0533fa357e376ef3817f1f
 DIST psad-2.4.1.tar.bz2 1361593 SHA256 
d86688ed7907724750b501087a92a3417cb5b2dc81e06230d0eb2cdcf676b03e SHA512 
e146d9853e265f4bb25b79fff7a0ab6ba2759367890498ea25edaff771df1b30c3a284b18e6fe5ae3f4c91a79f6b8d255bf331921c36a24fb0f4f554fa3cb848
 WHIRLPOOL 
5ac2b96fd8ec4baa98a0b35465e5c8bbfb3dffd48f2a95e31ef80e176d80e7ed09a5bcf6d945e8bed3d69d9cb21b14857dc56fd24bc5ce01ef9540729fd585d4
 DIST psad-2.4.2.tar.bz2 1396459 SHA256 
0490688c2d09428ee3b0f20a8aebaceb5993484c5e30176f883bea37272c9715 SHA512 
1a28bec3eafcbc9a480680598724b7c99c1aaad2560ec44d00b002208d737b771017c3bbeb73ece10199740d1c9094b11036f8d04cb5b8c6f3860f2e0c0221ab
 WHIRLPOOL 
17401c1ad846759f181f2f5d0619412f198aff5dd54fa8841a02757322ada67a9f6ae651b3b1cdbc4dbfbe2ed0570e56a74bb235794b24b0a187583383a94b0b
+DIST psad-2.4.3.tar.bz2 1395260 SHA256 
e482de4602ab72dba868dcdd1078ad3645d49ab02a9eb116dd117c1a5a20f8c5 SHA512 
8a25ef377e3f4f406c2179a42217110a670f1c0eb8e7991e32a99fd695ca1866218274e9aaeb48552e1bd9bd91b5fbf34b226d767c28f1db27f15b08fba2b0e8
 WHIRLPOOL 
a1c06df2cd67baa3e2b519094ffcccd027aab47352c00cd3147a8d3db2366ce8cbea42c37f5e8adcd9c2532af215bd87ed5d925e376cf8d965725e4f5cf4c7ea

diff --git a/net-firewall/psad/psad-2.4.3.ebuild 
b/net-firewall/psad/psad-2.4.3.ebuild
new file mode 100644
index 000..dcf0bcd
--- /dev/null
+++ b/net-firewall/psad/psad-2.4.3.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 FW_HELP README \
+   README.SYSLOG 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
+}



[gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/

2015-12-16 Thread Jeroen Roovers
commit: 0d94a5093f86296e8a7a4e541a471f8082744581
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Dec 16 07:53:57 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Dec 16 07:53:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d94a509

net-firewall/psad: Version bump.

Package-Manager: portage-2.2.26

 net-firewall/psad/Manifest  |  1 +
 net-firewall/psad/psad-2.4.2.ebuild | 91 +
 2 files changed, 92 insertions(+)

diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
index 79ec326..ed51477 100644
--- a/net-firewall/psad/Manifest
+++ b/net-firewall/psad/Manifest
@@ -1,2 +1,3 @@
 DIST psad-2.2.5.tar.bz2 1243987 SHA256 
736d446266227cb65511d792c85224573c95ea4dc3bde3d5c65bc19084f57452 SHA512 
195a06420cf821d182a5422705ba2d407fd35f23887430e61925cad0eada7d20e2416eaf6317857a5aec2f1264a280a7e0128cc301f17dcf20cf833a9f0efb6e
 WHIRLPOOL 
fac4797e0a399d4f5edf2179c21d37791d184ee1e334b9b8fb2707405afc10ca0c0d4ab43cd274f34cf8ba9453189066b1d46b955d0533fa357e376ef3817f1f
 DIST psad-2.4.1.tar.bz2 1361593 SHA256 
d86688ed7907724750b501087a92a3417cb5b2dc81e06230d0eb2cdcf676b03e SHA512 
e146d9853e265f4bb25b79fff7a0ab6ba2759367890498ea25edaff771df1b30c3a284b18e6fe5ae3f4c91a79f6b8d255bf331921c36a24fb0f4f554fa3cb848
 WHIRLPOOL 
5ac2b96fd8ec4baa98a0b35465e5c8bbfb3dffd48f2a95e31ef80e176d80e7ed09a5bcf6d945e8bed3d69d9cb21b14857dc56fd24bc5ce01ef9540729fd585d4
+DIST psad-2.4.2.tar.bz2 1396459 SHA256 
0490688c2d09428ee3b0f20a8aebaceb5993484c5e30176f883bea37272c9715 SHA512 
1a28bec3eafcbc9a480680598724b7c99c1aaad2560ec44d00b002208d737b771017c3bbeb73ece10199740d1c9094b11036f8d04cb5b8c6f3860f2e0c0221ab
 WHIRLPOOL 
17401c1ad846759f181f2f5d0619412f198aff5dd54fa8841a02757322ada67a9f6ae651b3b1cdbc4dbfbe2ed0570e56a74bb235794b24b0a187583383a94b0b

diff --git a/net-firewall/psad/psad-2.4.2.ebuild 
b/net-firewall/psad/psad-2.4.2.ebuild
new file mode 100644
index 000..dcf0bcd
--- /dev/null
+++ b/net-firewall/psad/psad-2.4.2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 FW_HELP README \
+   README.SYSLOG 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
+}