From 6c0c5bf8a3f137595b0243ceb8a4d7e65e223e40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alin=20N=C4=83stac?= Date: Wed, 11 Apr 2007 08:35:04 +0000 Subject: [PATCH] Remove obsolete versions. Stable on amd64. Package-Manager: portage-2.1.2.3 --- net-proxy/havp/ChangeLog | 7 ++- net-proxy/havp/Manifest | 48 ++++----------- net-proxy/havp/files/digest-havp-0.82 | 3 - net-proxy/havp/files/digest-havp-0.83 | 3 - net-proxy/havp/files/havp-0.82-gentoo.patch | 56 ----------------- net-proxy/havp/files/havp-0.83-gentoo.patch | 56 ----------------- net-proxy/havp/havp-0.82.ebuild | 67 --------------------- net-proxy/havp/havp-0.83.ebuild | 67 --------------------- net-proxy/havp/havp-0.85.ebuild | 11 +++- 9 files changed, 27 insertions(+), 291 deletions(-) delete mode 100644 net-proxy/havp/files/digest-havp-0.82 delete mode 100644 net-proxy/havp/files/digest-havp-0.83 delete mode 100644 net-proxy/havp/files/havp-0.82-gentoo.patch delete mode 100644 net-proxy/havp/files/havp-0.83-gentoo.patch delete mode 100644 net-proxy/havp/havp-0.82.ebuild delete mode 100644 net-proxy/havp/havp-0.83.ebuild diff --git a/net-proxy/havp/ChangeLog b/net-proxy/havp/ChangeLog index a5d905762630..4635fa57dc05 100644 --- a/net-proxy/havp/ChangeLog +++ b/net-proxy/havp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/havp # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.15 2007/03/10 10:23:09 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.16 2007/04/11 08:35:04 mrness Exp $ + + 11 Apr 2007; Alin Năstac + -files/havp-0.82-gentoo.patch, -files/havp-0.83-gentoo.patch, + -havp-0.82.ebuild, -havp-0.83.ebuild, havp-0.85.ebuild: + Remove obsolete versions. Stable on amd64. *havp-0.85 (10 Mar 2007) diff --git a/net-proxy/havp/Manifest b/net-proxy/havp/Manifest index 72492e6f2b77..a15121b5b6b7 100644 --- a/net-proxy/havp/Manifest +++ b/net-proxy/havp/Manifest @@ -1,14 +1,6 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX havp-0.82-gentoo.patch 2051 RMD160 9be6e261b29c32ef6ba1d7514f6a902d1a4b4553 SHA1 21fe2614b7b1a80957958eb46353845571aa7f14 SHA256 9ba6840ff8fd932457fc04afaac86464137818afe7ea0d498f5a74c761e2f623 -MD5 b20c8deb917f5e2c890928961f222e01 files/havp-0.82-gentoo.patch 2051 -RMD160 9be6e261b29c32ef6ba1d7514f6a902d1a4b4553 files/havp-0.82-gentoo.patch 2051 -SHA256 9ba6840ff8fd932457fc04afaac86464137818afe7ea0d498f5a74c761e2f623 files/havp-0.82-gentoo.patch 2051 -AUX havp-0.83-gentoo.patch 2048 RMD160 2cdc74be14d975f0844e5e85c9a5a292e00d18ac SHA1 e87c85b9b791c63e2dea2dae81684ffc0cb351c6 SHA256 1a9a012d729cedc1ceff2dc20baee104b9a312a95d9a5bbc08d9bd887b1f5952 -MD5 0739f5636de256e84c0ff1ded53e1ddb files/havp-0.83-gentoo.patch 2048 -RMD160 2cdc74be14d975f0844e5e85c9a5a292e00d18ac files/havp-0.83-gentoo.patch 2048 -SHA256 1a9a012d729cedc1ceff2dc20baee104b9a312a95d9a5bbc08d9bd887b1f5952 files/havp-0.83-gentoo.patch 2048 AUX havp-0.84-gentoo.patch 1557 RMD160 40f8135388984214b397be5526d74561867eeb4c SHA1 ffbd64d75c5df724d40d0bedf73076ae6b1079e6 SHA256 517f8a2e3562f95bb8c66711f5b1eb322254818654127ee29a7d6a073cc9d625 MD5 c423b398ca244672f9f11ab2349e1564 files/havp-0.84-gentoo.patch 1557 RMD160 40f8135388984214b397be5526d74561867eeb4c files/havp-0.84-gentoo.patch 1557 @@ -21,40 +13,24 @@ AUX havp.initd 1610 RMD160 3f16213f905927b47fc51e1570effbaebe024c83 SHA1 8081eb1 MD5 03ebcd6a1bd7721356c44857d0b506c9 files/havp.initd 1610 RMD160 3f16213f905927b47fc51e1570effbaebe024c83 files/havp.initd 1610 SHA256 80d9b7abd969e18dfcfa46ef2e0cfb4ec5e24c4f14687eebd12c481a4ee72ba9 files/havp.initd 1610 -DIST havp-0.82.tar.gz 105217 RMD160 67a1c70c36a577a8b5593a1ea0f004eb473719da SHA1 e3492058f5a12e87f00d7a90bb952c45b4c6409d SHA256 e2db8d3383cd8eca6a18ebee85875de895f3ac7414eab091a87f052d79a87b09 -DIST havp-0.83.tar.gz 105511 RMD160 a272c24af4c6ddd53fed7078ec6f1acda36f7edf SHA1 241277d8b6af89727f59a8e0a293a4f1b761905a SHA256 0bcd20cbed5ea096442842e375c353fd89f87a1ae0cd8edc37924bc8a01c136d DIST havp-0.84.tar.gz 101758 RMD160 cdeab72795d766e38df1ea600420f960a89191c0 SHA1 1f98f4eb9a839057001d821a72c462ed517615f1 SHA256 28e84a72c61f656531e89e82742d017418fd2b8758d21a8087ef9f9e19396d7e DIST havp-0.85.tar.gz 101860 RMD160 7645588efe03cee11478218c35e78aed3d50f938 SHA1 8c4d381d053f0ec4101cbb166cd2c21c3a7a4d44 SHA256 523c7d69728c600e3cf33603a2caf41755a8e70fa4a20b71cba61df5f16bb2b4 -EBUILD havp-0.82.ebuild 1531 RMD160 9a739df688a225781f02dedb6f3dc413eedac785 SHA1 8166adb75035dc2e32ad5f8e8a690bfad48a3a81 SHA256 6b7da5665b947d4802d318169008f592f34cd25aa91c20b579e83a330552b94a -MD5 c11dbda491e37e15dc35d74db570c2a6 havp-0.82.ebuild 1531 -RMD160 9a739df688a225781f02dedb6f3dc413eedac785 havp-0.82.ebuild 1531 -SHA256 6b7da5665b947d4802d318169008f592f34cd25aa91c20b579e83a330552b94a havp-0.82.ebuild 1531 -EBUILD havp-0.83.ebuild 1539 RMD160 1e4b6fa933c163dd8192ab13fdebd075b0ccc756 SHA1 234dd3e127577ce9e10bb328347772b32d378e4a SHA256 17b878fc8e443902ff5e2e8c4b18d9adf33ebeaa1252e62aaa6ca3e8f8d3dcc9 -MD5 f61f0cfad5a2660c8ea76fcc5bf3fa26 havp-0.83.ebuild 1539 -RMD160 1e4b6fa933c163dd8192ab13fdebd075b0ccc756 havp-0.83.ebuild 1539 -SHA256 17b878fc8e443902ff5e2e8c4b18d9adf33ebeaa1252e62aaa6ca3e8f8d3dcc9 havp-0.83.ebuild 1539 EBUILD havp-0.84.ebuild 1591 RMD160 7b5cedfc185b58ce58025c11ec64dafc37a14083 SHA1 8743e9ab57d2e33ab31aafea7f51900a9eb10ae3 SHA256 67e1266f101c7ed7311665366ba012c0acebc60be02006cc4de06cd1a587b6ed MD5 13f8457cc8e5950bc815ab61d355208a havp-0.84.ebuild 1591 RMD160 7b5cedfc185b58ce58025c11ec64dafc37a14083 havp-0.84.ebuild 1591 SHA256 67e1266f101c7ed7311665366ba012c0acebc60be02006cc4de06cd1a587b6ed havp-0.84.ebuild 1591 -EBUILD havp-0.85.ebuild 1600 RMD160 6a5f1306896f9ef97cdaea92df2a444b7ad7821a SHA1 32fbc5d3a60b7b9fb0a2010d2d487593ff47a98c SHA256 034f938d6d94164e181fc893d9e774ef34c06116d645f024cab39ee36b86c1f5 -MD5 85eb35bcbc9f0df876a8ad7cdb65c241 havp-0.85.ebuild 1600 -RMD160 6a5f1306896f9ef97cdaea92df2a444b7ad7821a havp-0.85.ebuild 1600 -SHA256 034f938d6d94164e181fc893d9e774ef34c06116d645f024cab39ee36b86c1f5 havp-0.85.ebuild 1600 -MISC ChangeLog 2738 RMD160 1d45e3f24d5275996210f9dad180fd3f69362ff0 SHA1 992fc428e930808a6605e73f2ae2e79594d40670 SHA256 51801346dc413189939f06fa9430d4ffc30eb4c9649c47f99b6e24c9e4df91fd -MD5 facdc8865908b390df4f8c2f7d066a69 ChangeLog 2738 -RMD160 1d45e3f24d5275996210f9dad180fd3f69362ff0 ChangeLog 2738 -SHA256 51801346dc413189939f06fa9430d4ffc30eb4c9649c47f99b6e24c9e4df91fd ChangeLog 2738 +EBUILD havp-0.85.ebuild 1884 RMD160 6da6199e737acb7e37a6c498f723dcf20558f66d SHA1 35dc2b0e3af64ce9da43864426feb31b7a7dff27 SHA256 c2d592710f4cae1c11acdbaa2fc4e93b1d40f2167de36c697c4b4ed0e907963a +MD5 d042e220880f5be36248fe65f2f6c149 havp-0.85.ebuild 1884 +RMD160 6da6199e737acb7e37a6c498f723dcf20558f66d havp-0.85.ebuild 1884 +SHA256 c2d592710f4cae1c11acdbaa2fc4e93b1d40f2167de36c697c4b4ed0e907963a havp-0.85.ebuild 1884 +MISC ChangeLog 2954 RMD160 63660be36d75fd5d73c216ccc98a41f4379f82ec SHA1 0eafa1fa919a2a8b76b6845eb8011331f432c981 SHA256 34a52610578cf9cc93e67ffd0aa277dcb3376c8f67669525a67db78f64512bd9 +MD5 f307e96a84d49ea4c8ef0a8e277eb231 ChangeLog 2954 +RMD160 63660be36d75fd5d73c216ccc98a41f4379f82ec ChangeLog 2954 +SHA256 34a52610578cf9cc93e67ffd0aa277dcb3376c8f67669525a67db78f64512bd9 ChangeLog 2954 MISC metadata.xml 309 RMD160 f9061c1bd03c07ffec2deb81e621912c5a4b091c SHA1 5c8174fcc33b5fe347de99a782d3535a3a90d1b9 SHA256 26c5dece4fe203c9ae4847405314a340fb86058060c9536a92dd7471f4f03d0d MD5 eeef2b4ba39eb40826f14b0bd0489563 metadata.xml 309 RMD160 f9061c1bd03c07ffec2deb81e621912c5a4b091c metadata.xml 309 SHA256 26c5dece4fe203c9ae4847405314a340fb86058060c9536a92dd7471f4f03d0d metadata.xml 309 -MD5 1d11c72f282edb0938a5faafabcdf6c3 files/digest-havp-0.82 229 -RMD160 11d2fd83444478d3275a636ca2361d84dcfeb29e files/digest-havp-0.82 229 -SHA256 eca04952c8ece9ccfba76657932990950fa4e1178b90b10f151c2677d718bfa2 files/digest-havp-0.82 229 -MD5 96fd9a70b6c602a407d19e2232e0fc65 files/digest-havp-0.83 229 -RMD160 20ca5fd9e1f376993946a60d30486877936666d9 files/digest-havp-0.83 229 -SHA256 09ef13d252176b4f928a9ec1fca804520ca4913987c3f5cba9bc90fdd460d361 files/digest-havp-0.83 229 MD5 8c92f1c34f50e7838e3963a9d3ec00fe files/digest-havp-0.84 229 RMD160 6de30cc8d8c9319f9cf6f476af7ab83701ed1a10 files/digest-havp-0.84 229 SHA256 12b7c57494f191bf5a8ff82f4adc369d947e7e5df8d2c87c763602f727cd4a3a files/digest-havp-0.84 229 @@ -62,9 +38,9 @@ MD5 ec0b61840300dc90b5cd6d8de50896bd files/digest-havp-0.85 229 RMD160 8e3f6374896de7985e7a3473ae055aa6e641e258 files/digest-havp-0.85 229 SHA256 331dfac7cec20d4bf7bab920400b6694d0f7313209aaface3fe37e5a99c1d748 files/digest-havp-0.85 229 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFF8ocZJnxX6mF440QRApysAKDHQ0l8DqYTJAZOo0QmkrYXJVauIwCghHGO -DAcD25XZd5dXJ05dmMsAPu4= -=VMMM +iD8DBQFGHJ2/JnxX6mF440QRAr58AKDnfuLGIi302cp4fcu7gTrX6BxLDwCfXre9 +Yk6msWExQeYRqKolTJ/2FMQ= +=Xaba -----END PGP SIGNATURE----- diff --git a/net-proxy/havp/files/digest-havp-0.82 b/net-proxy/havp/files/digest-havp-0.82 deleted file mode 100644 index ac650b09ceb7..000000000000 --- a/net-proxy/havp/files/digest-havp-0.82 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 9e6a16b7d074782d1c62f1f7316e56ab havp-0.82.tar.gz 105217 -RMD160 67a1c70c36a577a8b5593a1ea0f004eb473719da havp-0.82.tar.gz 105217 -SHA256 e2db8d3383cd8eca6a18ebee85875de895f3ac7414eab091a87f052d79a87b09 havp-0.82.tar.gz 105217 diff --git a/net-proxy/havp/files/digest-havp-0.83 b/net-proxy/havp/files/digest-havp-0.83 deleted file mode 100644 index 32f367a4c4c2..000000000000 --- a/net-proxy/havp/files/digest-havp-0.83 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d5bb02a9e2bcee90ee419fdf03da9a07 havp-0.83.tar.gz 105511 -RMD160 a272c24af4c6ddd53fed7078ec6f1acda36f7edf havp-0.83.tar.gz 105511 -SHA256 0bcd20cbed5ea096442842e375c353fd89f87a1ae0cd8edc37924bc8a01c136d havp-0.83.tar.gz 105511 diff --git a/net-proxy/havp/files/havp-0.82-gentoo.patch b/net-proxy/havp/files/havp-0.82-gentoo.patch deleted file mode 100644 index 86d619e81396..000000000000 --- a/net-proxy/havp/files/havp-0.82-gentoo.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff -Nurd havp-0.82.orig/etc/havp/havp.config havp-0.82/etc/havp/havp.config ---- havp-0.82.orig/etc/havp/havp.config 2006-08-10 20:03:49.000000000 +0200 -+++ havp-0.82/etc/havp/havp.config 2006-08-10 20:04:45.000000000 +0200 -@@ -187,7 +187,7 @@ - # Path to template files. - # - # Default: --# TEMPLATEPATH /usr/local/etc/havp/templates/en -+# TEMPLATEPATH /etc/havp/templates/en - - # - # Set to true if you want to prefer Whitelist. -@@ -201,13 +201,13 @@ - # List of URLs not to scan. - # - # Default: --# WHITELIST /usr/local/etc/havp/whitelist -+# WHITELIST /etc/havp/whitelist - - # - # List of URLs that are denied access. - # - # Default: --# BLACKLIST /usr/local/etc/havp/blacklist -+# BLACKLIST /etc/havp/blacklist - - # - # Is scanner error fatal? -diff -Nurd havp-0.82.orig/havp/default.h.in havp-0.82/havp/default.h.in ---- havp-0.82.orig/havp/default.h.in 2006-08-10 20:03:49.000000000 +0200 -+++ havp-0.82/havp/default.h.in 2006-08-10 20:04:11.000000000 +0200 -@@ -51,7 +51,7 @@ - "ENABLEAVAST","AVASTSOCKET","AVASTSERVER","AVASTPORT" - //SCANNERS - --#define CONFIGFILE "/usr/local/etc/havp/havp.config" -+#define CONFIGFILE "/etc/havp/havp.config" - - - //############################################################## -diff -Nurd havp-0.82.orig/havp/params.cpp havp-0.82/havp/params.cpp ---- havp-0.82.orig/havp/params.cpp 2006-08-10 20:03:49.000000000 +0200 -+++ havp-0.82/havp/params.cpp 2006-08-10 20:05:52.000000000 +0200 -@@ -58,9 +58,9 @@ - SetConfig("KEEPBACKTIME", "5"); - SetConfig("TRICKLING", "30"); - SetConfig("WHITELISTFIRST", "true"); -- SetConfig("WHITELIST", "/usr/local/etc/havp/whitelist"); -- SetConfig("BLACKLIST", "/usr/local/etc/havp/blacklist"); -- SetConfig("TEMPLATEPATH", "/usr/local/etc/havp/templates/en"); -+ SetConfig("WHITELIST", "/etc/havp/whitelist"); -+ SetConfig("BLACKLIST", "/etc/havp/blacklist"); -+ SetConfig("TEMPLATEPATH", "/etc/havp/templates/en"); - SetConfig("TEMPDIR", "/var/tmp"); - SetConfig("SCANTEMPFILE", "/var/tmp/havp/havp-XXXXXX"); - SetConfig("PIDFILE", "/var/run/havp/havp.pid"); diff --git a/net-proxy/havp/files/havp-0.83-gentoo.patch b/net-proxy/havp/files/havp-0.83-gentoo.patch deleted file mode 100644 index 331609b5f84f..000000000000 --- a/net-proxy/havp/files/havp-0.83-gentoo.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff -Nru havp-0.83.orig/etc/havp/havp.config havp-0.83/etc/havp/havp.config ---- havp-0.83.orig/etc/havp/havp.config 2006-09-02 13:32:30.000000000 +0300 -+++ havp-0.83/etc/havp/havp.config 2006-11-08 10:54:09.178446000 +0200 -@@ -187,7 +187,7 @@ - # Path to template files. - # - # Default: --# TEMPLATEPATH /usr/local/etc/havp/templates/en -+# TEMPLATEPATH /etc/havp/templates/en - - # - # Set to true if you want to prefer Whitelist. -@@ -201,13 +201,13 @@ - # List of URLs not to scan. - # - # Default: --# WHITELIST /usr/local/etc/havp/whitelist -+# WHITELIST /etc/havp/whitelist - - # - # List of URLs that are denied access. - # - # Default: --# BLACKLIST /usr/local/etc/havp/blacklist -+# BLACKLIST /etc/havp/blacklist - - # - # Is scanner error fatal? -diff -Nru havp-0.83.orig/havp/default.h.in havp-0.83/havp/default.h.in ---- havp-0.83.orig/havp/default.h.in 2006-09-02 13:54:18.000000000 +0300 -+++ havp-0.83/havp/default.h.in 2006-11-08 10:54:09.210448000 +0200 -@@ -51,7 +51,7 @@ - "ENABLEAVAST","AVASTSOCKET","AVASTSERVER","AVASTPORT" - //SCANNERS - --#define CONFIGFILE "/usr/local/etc/havp/havp.config" -+#define CONFIGFILE "/etc/havp/havp.config" - - - //############################################################## -diff -Nru havp-0.83.orig/havp/params.cpp havp-0.83/havp/params.cpp ---- havp-0.83.orig/havp/params.cpp 2006-09-02 13:37:46.000000000 +0300 -+++ havp-0.83/havp/params.cpp 2006-11-08 10:54:09.210448000 +0200 -@@ -58,9 +58,9 @@ - SetConfig("KEEPBACKTIME", "5"); - SetConfig("TRICKLING", "30"); - SetConfig("WHITELISTFIRST", "true"); -- SetConfig("WHITELIST", "/usr/local/etc/havp/whitelist"); -- SetConfig("BLACKLIST", "/usr/local/etc/havp/blacklist"); -- SetConfig("TEMPLATEPATH", "/usr/local/etc/havp/templates/en"); -+ SetConfig("WHITELIST", "/etc/havp/whitelist"); -+ SetConfig("BLACKLIST", "/etc/havp/blacklist"); -+ SetConfig("TEMPLATEPATH", "/etc/havp/templates/en"); - SetConfig("TEMPDIR", "/var/tmp"); - SetConfig("SCANTEMPFILE", "/var/tmp/havp/havp-XXXXXX"); - SetConfig("PIDFILE", "/var/run/havp/havp.pid"); diff --git a/net-proxy/havp/havp-0.82.ebuild b/net-proxy/havp/havp-0.82.ebuild deleted file mode 100644 index fa5a9fdca4fc..000000000000 --- a/net-proxy/havp/havp-0.82.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.82.ebuild,v 1.2 2006/09/20 18:11:34 mrness Exp $ - -inherit eutils - -DESCRIPTION="HTTP AntiVirus Proxy" -HOMEPAGE="http://www.server-side.de/" -SRC_URI="http://www.server-side.de/download/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="clamav ssl" - -DEPEND="clamav? ( app-antivirus/clamav )" - -pkg_setup() { - enewgroup havp - enewuser havp -1 -1 /etc/havp havp -} - -src_unpack() { - unpack ${A} - - epatch "${FILESDIR}/${P}-gentoo.patch" -} - -src_compile() { - econf --with-scanner=libclamav \ - $(use_enable ssl ssl-tunnel) || die "configure failed" - emake || die "make failed" -} - -pkg_preinst() { - pkg_setup -} - -src_install() { - exeinto /usr/sbin - doexe havp/havp - - newinitd "${FILESDIR}/havp.initd" havp - insinto /etc - doins -r etc/havp - - diropts -m 0700 -o havp -g havp - keepdir /var/log/havp - - diropts -m 0750 - dodir /var/run/havp /var/tmp/havp - - dodoc ChangeLog todo -} - -pkg_postinst() { - ewarn "/var/tmp/havp must be on a filesystem with mandatory locks!" - ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab." - - if use ssl; then - echo - ewarn "Note: ssl USE flag only enable SSL pass-through, which means that" - ewarn " HTTPS pages will not be scanned for viruses!" - ewarn " It is impossible to decrypt data sent through SSL connections without knowing" - ewarn " the private key of the used certificate." - fi -} diff --git a/net-proxy/havp/havp-0.83.ebuild b/net-proxy/havp/havp-0.83.ebuild deleted file mode 100644 index 65294145a534..000000000000 --- a/net-proxy/havp/havp-0.83.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.83.ebuild,v 1.2 2007/01/17 19:25:00 mrness Exp $ - -inherit eutils - -DESCRIPTION="HTTP AntiVirus Proxy" -HOMEPAGE="http://www.server-side.de/" -SRC_URI="http://www.server-side.de/download/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="clamav ssl" - -DEPEND="clamav? ( app-antivirus/clamav )" - -pkg_setup() { - enewgroup havp - enewuser havp -1 -1 /etc/havp havp -} - -src_unpack() { - unpack ${A} - - epatch "${FILESDIR}/${P}-gentoo.patch" -} - -src_compile() { - econf --with-scanner=libclamav \ - $(use_enable ssl ssl-tunnel) || die "configure failed" - emake || die "make failed" -} - -pkg_preinst() { - pkg_setup -} - -src_install() { - exeinto /usr/sbin - doexe havp/havp - - newinitd "${FILESDIR}/havp.initd" havp - insinto /etc - doins -r etc/havp - - diropts -m 0700 -o havp -g havp - keepdir /var/log/havp - - diropts -m 0750 - dodir /var/run/havp /var/tmp/havp - - dodoc ChangeLog todo -} - -pkg_postinst() { - ewarn "/var/tmp/havp must be on a filesystem with mandatory locks!" - ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab." - - if use ssl; then - echo - ewarn "Note: ssl USE flag only enable SSL pass-through, which means that" - ewarn " HTTPS pages will not be scanned for viruses!" - ewarn " It is impossible to decrypt data sent through SSL connections without knowing" - ewarn " the private key of the used certificate." - fi -} diff --git a/net-proxy/havp/havp-0.85.ebuild b/net-proxy/havp/havp-0.85.ebuild index 4f66ba474a74..f6eac418a68b 100644 --- a/net-proxy/havp/havp-0.85.ebuild +++ b/net-proxy/havp/havp-0.85.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.85.ebuild,v 1.1 2007/03/10 10:23:09 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.85.ebuild,v 1.2 2007/04/11 08:35:04 mrness Exp $ inherit eutils @@ -10,7 +10,7 @@ SRC_URI="http://www.server-side.de/download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="clamav ssl" DEPEND="clamav? ( >=app-antivirus/clamav-0.90 )" @@ -64,4 +64,11 @@ pkg_postinst() { ewarn " It is impossible to decrypt data sent through SSL connections without knowing" ewarn " the private key of the used certificate." fi + + if use clamav; then + echo + ewarn "If you plan to use clamav daemon, you should make sure clamav user can read" + ewarn "/var/tmp/havp content. This can be accomplished by enabling AllowSupplementaryGroups" + ewarn "in /etc/clamd.conf and adding clamav user to the havp group." + fi } -- 2.26.2