From bb4a366afd643c591856adf15aeaafdc3fa16ef1 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 27 Dec 2013 14:43:07 -0500 Subject: [PATCH] Remove clamav-unofficial-sigs in preparation for a move to portage. --- app-antivirus/clamav-unofficial-sigs/Manifest | 3 - .../clamav-unofficial-sigs-3.7.2.ebuild | 90 ------------------- .../clamav-unofficial-sigs/metadata.xml | 7 -- 3 files changed, 100 deletions(-) delete mode 100644 app-antivirus/clamav-unofficial-sigs/Manifest delete mode 100644 app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild delete mode 100644 app-antivirus/clamav-unofficial-sigs/metadata.xml diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest deleted file mode 100644 index 4826bb9..0000000 --- a/app-antivirus/clamav-unofficial-sigs/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 SHA256 96e98e6e4434c5950fa9831c6a43236fed7eabae44beded16171305cf3f9bdb9 SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4 WHIRLPOOL af4925c8a9bb8c09472131f98026b809da13e122a530c4a48614014b8156a259d37303cb1042da98d0bd8b0f4abef3cd7c05f2d549f87e1b7cd533d4a8d4d188 -EBUILD clamav-unofficial-sigs-3.7.2.ebuild 2817 SHA256 351f37eb6b4c6fbcee9501ac453bef9cc0c11016a01bfd170bb4bf67c556d5de SHA512 65b841f8f44cf9a50ae9def576f9036511af4e426f6103c42c6bffe35195881675d1488c6f0cedc4231a60944719ed2b73b26e9a2c3ac8fce3f488415f40b3b9 WHIRLPOOL 5d80e9af974864cd7f77fb792f0991b873a4fae705ea4f30dbeb259927f7f8b58a681ced4a2c2479940f2e915645007551d33221b8587ed9200954512be5b97d -MISC metadata.xml 204 SHA256 952ab0590546361a53b9508ff73fa79f531e792e091f2ea2925d0c4be30a10c2 SHA512 123731ee05ba6ec77a736c2aa55148c0c329327a340ff9fe7b2c9ec1df5fb2f68d63495ef53710cc6b94fa4a81f831d0d40b83db6f48a2b046ae1f95fdb406af WHIRLPOOL ff9e85f6f972856b1340abffbede50056a6c6b98c36f17f43b58106dc87fefaab23f15f563c18bcd801fd6da69e9c49af92b349aa93f85ab9637f4f5ab5db3c5 diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild deleted file mode 100644 index c5d235d..0000000 --- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Downloads and installs third-party clamav signatures" -HOMEPAGE="http://sourceforge.net/projects/unofficial-sigs" -SRC_URI="mirror://sourceforge/unofficial-sigs/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -# We need its user/group. -DEPEND="app-antivirus/clamav" - -# The script relies on either net-misc/socat, or Perl's -# IO::Socket::UNIX. We already depend on Perl, and Gentoo's Perl ships -# with IO::Socket::UNIX, so we can leave out net-misc/socat here. -RDEPEND="${DEPEND} - app-crypt/gnupg - dev-lang/perl - net-dns/bind-tools - net-misc/curl" - -src_compile() { - # First, fix the paths contained in the configuration file. Eventually - # these should be moved under /run, but for now we keep them sync'ed - # with the default clamd.conf. - local pid_default="/var/run/clamd.pid" - local pid_gentoo="/var/run/clamav/clamd.pid" - - # clamd listens on a local socket by default. The clamd_socket - # setting needs to be uncommented in the configuration file for it - # to take effect. - local socket_default="#clamd_socket=\"/var/run/clamd.socket\"" - local socket_gentoo="clamd_socket=\"/var/run/clamav/clamd.sock\"" - - sed -i -e '$a\pkg_mgr="emerge"' \ - -e "\$a\\pkg_rm=\"emerge -C ${PN}\"" \ - -e "s~${socket_default}~${socket_gentoo}~" \ - -e "s~${pid_default}~${pid_gentoo}~" \ - "${PN}.conf" \ - || die "failed to update paths in the ${PN}.conf file" - - # Now, change the script's working directory to point to - # /var/lib/${PN}. We'll need to make this writable by the clamav - # user during src_install. - sed -i -e "s~/usr/unofficial-dbs~/var/lib/${PN}~" "${PN}.conf" \ - || die "failed to update the work_dir variable in ${PN}.conf" - - # Tell the script that it's been configured. - local cfged_default='user_configuration_complete="no"' - local cfged_gentoo='user_configuration_complete="yes"' - sed -i "s/${cfged_default}/${cfged_gentoo}/" "${PN}.conf" \ - || die "failed to set user configuration completed in ${PN}.conf" -} - -src_install() { - dosbin "${PN}.sh" - - # We set the script's working directory to /var/lib/${PN} in - # src_compile, so make sure that the permissions are set correctly - # here. By default, it runs as clamav/clamav. - diropts -m 0755 -o clamav -g clamav - dodir "/var/lib/${PN}" - - insinto /etc/logrotate.d - doins "${PN}-logrotate" - - insinto /etc - doins "${PN}.conf" - - doman "${PN}.8" - dodoc CHANGELOG INSTALL README -} - -pkg_postinst() { - elog '' - elog "You will need to select databases in /etc/${PN}.conf." - elog "For details, please see the ${PN}(8) manual page." - elog '' - elog 'An up-to-date description of the available Sanesecurity' - elog 'databases is available at,' - elog '' - elog ' http://sanesecurity.com/usage/signatures/' - elog '' -} diff --git a/app-antivirus/clamav-unofficial-sigs/metadata.xml b/app-antivirus/clamav-unofficial-sigs/metadata.xml deleted file mode 100644 index f3b97aa..0000000 --- a/app-antivirus/clamav-unofficial-sigs/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - mjo@gentoo.org - - -- 2.43.2