Files
@ 39d1268394e4
Branch filter:
Location: ohnobinki_overlay/net-proxy/squidclamav/squidclamav-3.8.ebuild - annotation
39d1268394e4
1.2 KiB
application/vnd.gentoo.ebuild
media-sound/glame fixed problem with newer guile
Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:
glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:
glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 a9bb8329c623 | # Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squidclamav/squidclamav-3.2.ebuild,v 1.1 2007/12/30 12:16:37 mrness Exp $
inherit eutils
DESCRIPTION="A Squid redirector to allow easy antivirus file scanning, using ClamAV"
HOMEPAGE="http://www.samse.fr/GPL/"
SRC_URI="http://www.samse.fr/GPL/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="net-misc/curl
dev-libs/openssl
sys-libs/zlib
app-arch/bzip2"
RDEPEND="${DEPEND}
net-proxy/squid"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${P}-gentoo.patch"
}
src_install() {
dosbin squidclamav || die "dosbin failed"
insinto /etc
newins squidclamav.conf.dist squidclamav.conf
keepdir /var/log/squidclamav
fowners squid:squid /var/log/squidclamav
dodoc ChangeLog README squidclamav.conf.dist clwarn.cgi*
}
pkg_postinst() {
einfo "To enable squidclam, add the following lines to /etc/squid/squid.conf:"
einfo " url_rewrite_program /usr/sbin/squidclamav"
einfo " url_rewrite_children 15"
einfo " url_rewrite_access deny localhost # prevent loops"
einfo " url_rewrite_access deny SSL_ports # SSL URLs cannot be scanned"
}
|