Gentoo Archives: gentoo-commits

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