Files @ 7f52fc52f33b
Branch filter:

Location: ohnobinki_overlay/mail-filter/spamass-milter/spamass-milter-0.3.1-r2.ebuild

7f52fc52f33b 1.1 KiB application/vnd.gentoo.ebuild Show Annotation Show as Raw Download as Raw
binki
added libgphoto2-2.4.2 with a file listing length increase
A future version (beyond libgphoto2-2.4.3) will have this constant limit fixed: see https://sourceforge.net/tracker2/index.php?func=detail&aid=2055906&group_id=8874&atid=108874
libgphoto2-2.4.3 does not have this fix yet and libgphoto2-2.4.3 has EAPI="2", which requires =portage-2*
Increasing the constant number of images listable is the most practial way of fixing this. For an example, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425515
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $

inherit eutils

IUSE=""

DESCRIPTION="A milter for SpamAssassin"
HOMEPAGE="http://savannah.nongnu.org/projects/spamass-milt/"
SRC_URI="http://savannah.nongnu.org/download/spamass-milt/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"

DEPEND=">=sys-devel/autoconf-2.57
	>=sys-devel/automake-1.7.2"
RDEPEND="mail-filter/libmilter
	>=mail-filter/spamassassin-3.1.0"

pkg_setup() {
	enewgroup milter
	enewuser milter -1 -1 /var/milter milter
}

src_install() {
	make DESTDIR=${D} install || die

	newinitd ${FILESDIR}/spamass-milter.rc3 spamass-milter
	newconfd ${FILESDIR}/spamass-milter.conf3 spamass-milter
	dodir /var/run/milter
	keepdir /var/run/milter
	fowners milter:milter /var/run/milter
	dodir /var/milter
	keepdir /var/milter
	fowners milter:milter /var/milter

	dodoc AUTHORS NEWS README ChangeLog ${FILESDIR}/README.gentoo
}

pkg_postinst() {
	elog
	elog "Documentation is in /usr/share/doc/${P}"
	elog "Check README.gentoo.gz there for some basic gentoo installation instructions"
	elog
}