Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/psad/
Date: Tue, 07 Aug 2018 07:25:28
Message-Id: 1533626713.eee8cd8932de47e2c5bd493b042939daa0d00e47.jer@gentoo
1 commit: eee8cd8932de47e2c5bd493b042939daa0d00e47
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 7 07:07:46 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 7 07:25:13 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee8cd89
7
8 net-firewall/psad: Old.
9
10 Package-Manager: Portage-2.3.44, Repoman-2.3.10
11
12 net-firewall/psad/Manifest | 2 -
13 net-firewall/psad/psad-2.4.3.ebuild | 90 -----------------------------------
14 net-firewall/psad/psad-2.4.4.ebuild | 93 -------------------------------------
15 3 files changed, 185 deletions(-)
16
17 diff --git a/net-firewall/psad/Manifest b/net-firewall/psad/Manifest
18 index 7b76497a3da..7efe76b61e5 100644
19 --- a/net-firewall/psad/Manifest
20 +++ b/net-firewall/psad/Manifest
21 @@ -1,5 +1,3 @@
22 DIST psad-2.2.5.tar.bz2 1243987 BLAKE2B f6b3a86a841b2685a21c4f46cab8cbb720a7955644f28cd0931f0a620aed4a743213a9f276a98b637cd5b13f93565dee22876042e43a0233cb989021fff9b813 SHA512 195a06420cf821d182a5422705ba2d407fd35f23887430e61925cad0eada7d20e2416eaf6317857a5aec2f1264a280a7e0128cc301f17dcf20cf833a9f0efb6e
23 -DIST psad-2.4.3.tar.bz2 1395260 BLAKE2B ec48705c90fb9acf7f6f534c103ce83fb39933f6431539be50873b26dd51bf49eee709261c0c036136bf08c6820e7344315b6162664e54b455d380b1987efebf SHA512 8a25ef377e3f4f406c2179a42217110a670f1c0eb8e7991e32a99fd695ca1866218274e9aaeb48552e1bd9bd91b5fbf34b226d767c28f1db27f15b08fba2b0e8
24 -DIST psad-2.4.4.tar.bz2 1429113 BLAKE2B 3eed68eb1752051f4cab8320c168b9a66e3aebdbcef41a78990202e05ff4a317714f345baf3c5998975b6c8db2ca95d2b354ce4ebaea50feb9749701ae6af046 SHA512 0437a489fcb54458dbb33e0139385e577a89db0c07bd872e4e56780feb8033080d59c99aeff419f3c94b22be8fb41995674749123d15f7d578cc8b0a77d7783f
25 DIST psad-2.4.5.tar.bz2 1631602 BLAKE2B 83d5a6811743e56e86984e79f0176db7982243cefcbdef7bdc30300de6a3e2c1d5033e75ec5b7e68e89784b04c98a0ed6b9475a93f4e633ad96380facaf08c21 SHA512 6466cf3191092672557fb6c044c6126290f1d89aea37a20aad1b3eb148b5b8be5bc2cf3700938b91263d7403f776613f304bd491c24a7e16b0975b81f24481a0
26 DIST psad-2.4.6.tar.bz2 2548405 BLAKE2B 7479ce4496343ca988da4dbe82190053385f1a8fa2e190002545c63f2e36283bc84293d932ebe147c9078923fa9e0527b4265fffdb8e1fd99bfc5d9955f9f3cd SHA512 a5de29b9ca0108aa8c6a325b725145f408dc517aeee4654596c7a037762f495a78827c64fc2e9c4284bc8db65caf0321982ecaf02de6d73784c2038e1078f42d
27
28 diff --git a/net-firewall/psad/psad-2.4.3.ebuild b/net-firewall/psad/psad-2.4.3.ebuild
29 deleted file mode 100644
30 index 545abd2d37d..00000000000
31 --- a/net-firewall/psad/psad-2.4.3.ebuild
32 +++ /dev/null
33 @@ -1,90 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -#PERL_EXPORT_PHASE_FUNCTIONS=no
39 -inherit eutils perl-module toolchain-funcs
40 -
41 -DESCRIPTION="Port Scanning Attack Detection daemon"
42 -SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2"
43 -HOMEPAGE="https://www.cipherdyne.org/psad/"
44 -
45 -SLOT="0"
46 -LICENSE="GPL-2"
47 -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
48 -
49 -DEPEND="virtual/perl-ExtUtils-MakeMaker"
50 -RDEPEND="
51 - dev-perl/Bit-Vector
52 - dev-perl/Date-Calc
53 - dev-perl/NetAddr-IP
54 - dev-perl/Unix-Syslog
55 - net-firewall/iptables
56 - net-misc/whois
57 - virtual/logger
58 - virtual/mailx
59 - virtual/perl-Storable
60 -"
61 -
62 -src_prepare() {
63 - epatch "${FILESDIR}"/${PN}-2.2.4-var-run.patch
64 -
65 - sed -i \
66 - -e 's|/usr/bin/gcc|$(CC)|g' \
67 - -e 's|-O|$(CFLAGS) $(LDFLAGS)|g' \
68 - Makefile || die
69 - # Fix up default paths
70 - sed -i \
71 - -e "s:/usr/bin/whois_psad:/usr/bin/whois:g" \
72 - psad.conf || die
73 -}
74 -
75 -src_configure() {
76 - default
77 -
78 - local deps_subdir
79 - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do
80 - cd "${S}"/deps/${deps_subdir} || die
81 - SRC_PREP="no" perl-module_src_configure
82 - done
83 -}
84 -
85 -src_compile() {
86 - tc-export CC
87 - default
88 -
89 - local deps_subdir
90 - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do
91 - cd "${S}"/deps/${deps_subdir} || die
92 - perl-module_src_compile
93 - done
94 -}
95 -
96 -src_install() {
97 - newbin pscan psad-pscan
98 -
99 - insinto /usr
100 - dosbin kmsgsd psad psadwatchd
101 - newsbin fwcheck_psad.pl fwcheck_psad
102 -
103 - insinto /etc/psad
104 - doins \
105 - *.conf auto_dl icmp{,6}_types ip_options psad_* pf.os posf \
106 - protocols signatures
107 -
108 - newinitd init-scripts/psad-init.gentoo psad
109 -
110 - doman *.8
111 -
112 - dodoc BENCHMARK CREDITS Change* FW_EXAMPLE_RULES FW_HELP README \
113 - README.SYSLOG SCAN_LOG
114 -
115 - insinto /etc/psad/snort_rules
116 - doins deps/snort_rules/*
117 -
118 - local deps_subdir
119 - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do
120 - cd "${S}"/deps/${deps_subdir} || die
121 - perl-module_src_install
122 - done
123 -}
124
125 diff --git a/net-firewall/psad/psad-2.4.4.ebuild b/net-firewall/psad/psad-2.4.4.ebuild
126 deleted file mode 100644
127 index 2d76d8efc46..00000000000
128 --- a/net-firewall/psad/psad-2.4.4.ebuild
129 +++ /dev/null
130 @@ -1,93 +0,0 @@
131 -# Copyright 1999-2018 Gentoo Foundation
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI=6
135 -#PERL_EXPORT_PHASE_FUNCTIONS=no
136 -inherit perl-module toolchain-funcs
137 -
138 -DESCRIPTION="Port Scanning Attack Detection daemon"
139 -SRC_URI="https://www.cipherdyne.org/psad/download/${P}.tar.bz2"
140 -HOMEPAGE="https://www.cipherdyne.org/psad/"
141 -
142 -SLOT="0"
143 -LICENSE="GPL-2"
144 -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
145 -
146 -DEPEND="virtual/perl-ExtUtils-MakeMaker"
147 -RDEPEND="
148 - dev-perl/Bit-Vector
149 - dev-perl/Date-Calc
150 - dev-perl/NetAddr-IP
151 - dev-perl/Unix-Syslog
152 - net-firewall/iptables
153 - net-misc/whois
154 - virtual/logger
155 - virtual/mailx
156 - virtual/perl-Storable
157 -"
158 -PATCHES=(
159 - "${FILESDIR}"/${PN}-2.2.4-var-run.patch
160 -)
161 -
162 -src_prepare() {
163 - default
164 -
165 - sed -i \
166 - -e 's|/usr/bin/gcc|$(CC)|g' \
167 - -e 's|-O|$(CFLAGS) $(LDFLAGS)|g' \
168 - Makefile || die
169 - # Fix up default paths
170 - sed -i \
171 - -e "s:/usr/bin/whois_psad:/usr/bin/whois:g" \
172 - psad.conf || die
173 -}
174 -
175 -src_configure() {
176 - default
177 -
178 - local deps_subdir
179 - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do
180 - cd "${S}"/deps/${deps_subdir} || die
181 - SRC_PREP="no" perl-module_src_configure
182 - done
183 -}
184 -
185 -src_compile() {
186 - tc-export CC
187 - default
188 -
189 - local deps_subdir
190 - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do
191 - cd "${S}"/deps/${deps_subdir} || die
192 - perl-module_src_compile
193 - done
194 -}
195 -
196 -src_install() {
197 - newbin pscan psad-pscan
198 -
199 - insinto /usr
200 - dosbin kmsgsd psad psadwatchd
201 - newsbin fwcheck_psad.pl fwcheck_psad
202 -
203 - insinto /etc/psad
204 - doins \
205 - *.conf auto_dl icmp{,6}_types ip_options psad_* pf.os posf \
206 - protocols signatures
207 -
208 - newinitd init-scripts/psad-init.gentoo psad
209 -
210 - doman *.8
211 -
212 - dodoc BENCHMARK CREDITS Change* FW_EXAMPLE_RULES FW_HELP README \
213 - README.SYSLOG SCAN_LOG
214 -
215 - insinto /etc/psad/snort_rules
216 - doins deps/snort_rules/*
217 -
218 - local deps_subdir
219 - for deps_subdir in IPTables-Parse IPTables-ChainMgr; do
220 - cd "${S}"/deps/${deps_subdir} || die
221 - perl-module_src_install
222 - done
223 -}