Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-antivirus/f-prot: metadata.xml ChangeLog f-prot-6.0.2.ebuild f-prot-4.6.7.ebuild f-prot-6.0.1.ebuild
Date: Thu, 02 Apr 2009 15:34:25
Message-Id: E1LpOvo-00012k-3b@stork.gentoo.org
1 grobian 09/04/02 15:34:16
2
3 Modified: metadata.xml ChangeLog f-prot-4.6.7.ebuild
4 Added: f-prot-6.0.2.ebuild f-prot-6.0.1.ebuild
5 Log:
6 Bump. Add version 6.0.1 for ppc and x86-fbsd, 6.0.2 for x86 and amd64. Version 6 features totally different binaries with different options. Bug #189319
7 (Portage version: 2.1.6.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 app-antivirus/f-prot/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/metadata.xml?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/metadata.xml?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/metadata.xml?r1=1.5&r2=1.6
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/metadata.xml,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- metadata.xml 30 May 2008 06:28:15 -0000 1.5
23 +++ metadata.xml 2 Apr 2009 15:34:16 -0000 1.6
24 @@ -2,4 +2,7 @@
25 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 <pkgmetadata>
27 <herd>antivirus</herd>
28 + <maintainer>
29 + <email>grobian@g.o</email>
30 + </maintainer>
31 </pkgmetadata>
32
33
34
35 1.53 app-antivirus/f-prot/ChangeLog
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/ChangeLog?rev=1.53&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/ChangeLog?rev=1.53&content-type=text/plain
39 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/ChangeLog?r1=1.52&r2=1.53
40
41 Index: ChangeLog
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/ChangeLog,v
44 retrieving revision 1.52
45 retrieving revision 1.53
46 diff -u -r1.52 -r1.53
47 --- ChangeLog 30 May 2008 06:28:15 -0000 1.52
48 +++ ChangeLog 2 Apr 2009 15:34:16 -0000 1.53
49 @@ -1,6 +1,15 @@
50 # ChangeLog for app-antivirus/f-prot
51 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
52 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/ChangeLog,v 1.52 2008/05/30 06:28:15 phreak Exp $
53 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
54 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/ChangeLog,v 1.53 2009/04/02 15:34:16 grobian Exp $
55 +
56 +*f-prot-6.0.2 (02 Apr 2009)
57 +*f-prot-6.0.1 (02 Apr 2009)
58 +
59 + 02 Apr 2009; Fabian Groffen <grobian@g.o> metadata.xml,
60 + f-prot-4.6.7.ebuild, +f-prot-6.0.1.ebuild, +f-prot-6.0.2.ebuild:
61 + Bump. Add version 6.0.1 for ppc and x86-fbsd, 6.0.2 for x86 and amd64.
62 + Version 6 features totally different binaries with different options. Bug
63 + #189319
64
65 30 May 2008; Christian Heim <phreak@g.o> metadata.xml:
66 Removing Andrej Kacian (Ticho) from metadata.xml (as per #59986).
67
68
69
70 1.5 app-antivirus/f-prot/f-prot-4.6.7.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/f-prot-4.6.7.ebuild?rev=1.5&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/f-prot-4.6.7.ebuild?rev=1.5&content-type=text/plain
74 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/f-prot-4.6.7.ebuild?r1=1.4&r2=1.5
75
76 Index: f-prot-4.6.7.ebuild
77 ===================================================================
78 RCS file: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/f-prot-4.6.7.ebuild,v
79 retrieving revision 1.4
80 retrieving revision 1.5
81 diff -u -r1.4 -r1.5
82 --- f-prot-4.6.7.ebuild 23 Jan 2007 15:28:33 -0000 1.4
83 +++ f-prot-4.6.7.ebuild 2 Apr 2009 15:34:16 -0000 1.5
84 @@ -1,6 +1,6 @@
85 -# Copyright 1999-2007 Gentoo Foundation
86 +# Copyright 1999-2009 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/f-prot-4.6.7.ebuild,v 1.4 2007/01/23 15:28:33 genone Exp $
89 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/f-prot-4.6.7.ebuild,v 1.5 2009/04/02 15:34:16 grobian Exp $
90
91 inherit eutils
92
93 @@ -25,9 +25,7 @@
94 KEYWORDS="amd64 -ppc -sparc x86"
95
96 src_install() {
97 - cd ${S}
98 -
99 - dobin ${FILESDIR}/f-prot.sh
100 + dobin "${FILESDIR}"/f-prot.sh
101 dosym /usr/bin/f-prot.sh /usr/bin/f-prot
102
103 dodir /opt/f-prot/tools /var/tmp/f-prot
104
105
106
107 1.1 app-antivirus/f-prot/f-prot-6.0.2.ebuild
108
109 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/f-prot-6.0.2.ebuild?rev=1.1&view=markup
110 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/f-prot-6.0.2.ebuild?rev=1.1&content-type=text/plain
111
112 Index: f-prot-6.0.2.ebuild
113 ===================================================================
114 # Copyright 1999-2009 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116 # $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/f-prot-6.0.2.ebuild,v 1.1 2009/04/02 15:34:16 grobian Exp $
117
118 inherit eutils
119
120 IUSE=""
121
122 MY_P_X86="fp-Linux-i686-ws-${PV}"
123 MY_P_X64="fp-Linux-x86_64-ws-${PV}"
124 MY_P_PPC="fp-Linux-ppc-ws-${PV}"
125 MY_P_X86FBSD="fp-FreeBSD-i386-ws-${PV}"
126 MY_P_X86SOL="fp-SunOS-i386-ws-${PV}"
127 MY_P_SPARCSOL="fp-SunOS-sparc-ws-${PV}"
128 S=${WORKDIR}/${PN}
129
130 DESCRIPTION="Frisk Software's f-prot virus scanner"
131 HOMEPAGE="http://www.f-prot.com/"
132 SRC_URI="x86? ( http://files.f-prot.com/files/unix-trial/${MY_P_X86}.tar.gz )
133 amd64? ( http://files.f-prot.com/files/unix-trial/${MY_P_X64}.tar.gz )"
134 DEPEND=""
135 RDEPEND=""
136 PROVIDE="virtual/antivirus"
137
138 SLOT="0"
139 LICENSE="F-PROT-AV
140 elibc_glibc? ( LGPL-2.1 )
141 elibc_FreeBSD? ( BSD-2 )"
142 KEYWORDS="~amd64 -ppc -sparc ~x86 -x86-fbsd"
143
144 src_install() {
145 insinto /opt/f-prot
146 insopts -m 755
147
148 doins fpscan
149 doins fpupdate
150
151 insopts -m 644
152
153 doins license.key
154 doins product.data
155 doins product.data.default
156 doins *.def
157
158 dodir /usr/bin
159 dosym /opt/f-prot/fpscan /usr/bin/fpscan
160
161 newins f-prot.conf.default f-prot.conf
162 dodir /etc
163 dosym /opt/f-prot/f-prot.conf /etc/f-prot.conf
164
165 keepdir /var/tmp/f-prot
166
167 dodoc doc/CHANGES
168 dodoc README
169 dohtml doc/html/*
170 doman doc/man/*
171 }
172
173 pkg_postinst() {
174 # upstream complains about DoS-updates, so spread over the hour ;)
175 local min=$(date +%S)
176 elog "f-prot has changed SIGNIFICANTLY since the previous version in"
177 elog "Portage (4.6.7). Most notably the binary names and their command"
178 elog "line options have changed. Review all of your scripts, and be"
179 elog "sure to read ${ROOT}usr/share/doc/${P}/README."
180 elog
181 elog "Remember to run /opt/f-prot/fpupdate regularly to keep the virus"
182 elog "database up to date. Recommended method is to use cron. See"
183 elog "manpages for cron(8) and crontab(5) for more info."
184 elog "An example crontab entry, causing fpupdate to run every night"
185 elog "${min#0} minutes after 4AM:"
186 elog
187 elog "${min} 4 * * * /opt/f-prot/fpupdate >/dev/null"
188 }
189
190
191
192 1.1 app-antivirus/f-prot/f-prot-6.0.1.ebuild
193
194 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/f-prot-6.0.1.ebuild?rev=1.1&view=markup
195 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/f-prot/f-prot-6.0.1.ebuild?rev=1.1&content-type=text/plain
196
197 Index: f-prot-6.0.1.ebuild
198 ===================================================================
199 # Copyright 1999-2009 Gentoo Foundation
200 # Distributed under the terms of the GNU General Public License v2
201 # $Header: /var/cvsroot/gentoo-x86/app-antivirus/f-prot/f-prot-6.0.1.ebuild,v 1.1 2009/04/02 15:34:16 grobian Exp $
202
203 inherit eutils
204
205 IUSE=""
206
207 MY_P_X86="fp-Linux-i686-ws-${PV}"
208 MY_P_X64="fp-Linux-x86_64-ws-${PV}"
209 MY_P_PPC="fp-Linux-ppc-ws-${PV}"
210 MY_P_X86FBSD="fp-FreeBSD-i386-ws-${PV}"
211 MY_P_X86SOL="fp-SunOS-i386-ws-${PV}"
212 MY_P_SPARCSOL="fp-SunOS-sparc-ws-${PV}"
213 S=${WORKDIR}/${PN}
214
215 DESCRIPTION="Frisk Software's f-prot virus scanner"
216 HOMEPAGE="http://www.f-prot.com/"
217 SRC_URI="x86? ( http://files.f-prot.com/files/unix-trial/${MY_P_X86}.tar.gz )
218 amd64? ( http://files.f-prot.com/files/unix-trial/${MY_P_X64}.tar.gz )
219 ppc? ( http://files.f-prot.com/files/unix-trial/${MY_P_PPC}.tar.gz )
220 x86-fbsd? ( http://files.f-prot.com/files/unix-trial/${MY_P_X86FBSD}.tar.gz )"
221 DEPEND=""
222 RDEPEND=""
223 PROVIDE="virtual/antivirus"
224
225 SLOT="0"
226 LICENSE="F-PROT-AV
227 elibc_glibc? ( LGPL-2.1 )
228 elibc_FreeBSD? ( BSD-2 )"
229 KEYWORDS="~amd64 -sparc ~x86"
230
231 src_install() {
232 insinto /opt/f-prot
233 insopts -m 755
234
235 doins fpscan
236 doins fpupdate
237
238 insopts -m 644
239
240 doins license.key
241 doins product.data
242 doins product.data.default
243 doins *.def
244
245 dodir /usr/bin
246 dosym /opt/f-prot/fpscan /usr/bin/fpscan
247
248 newins f-prot.conf.default f-prot.conf
249 dodir /etc
250 dosym /opt/f-prot/f-prot.conf /etc/f-prot.conf
251
252 keepdir /var/tmp/f-prot
253
254 dodoc doc/CHANGES
255 dodoc README
256 dohtml doc/html/*
257 doman doc/man/*
258 }
259
260 pkg_postinst() {
261 # upstream complains about DoS-updates, so spread over the hour ;)
262 local min=$(date +%S)
263 elog "f-prot has changed SIGNIFICANTLY since the previous version in"
264 elog "Portage (4.6.7). Most notably the binary names and their command"
265 elog "line options have changed. Review all of your scripts, and be"
266 elog "sure to read ${ROOT}usr/share/doc/${P}/README."
267 elog
268 elog "Remember to run /opt/f-prot/fpupdate regularly to keep the virus"
269 elog "database up to date. Recommended method is to use cron. See"
270 elog "manpages for cron(8) and crontab(5) for more info."
271 elog "An example crontab entry, causing fpupdate to run every night"
272 elog "${min#0} minutes after 4AM:"
273 elog
274 elog "${min} 4 * * * /opt/f-prot/fpupdate >/dev/null"
275 }