diff options
author | Tom Martin <slarti@gentoo.org> | 2005-04-20 15:18:09 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2005-04-20 15:18:09 +0000 |
commit | 850ecc3d1d85caf85257f87b8d3fd96339b823d4 (patch) | |
tree | fe62c702f0e6563c44a2f2d71c00de6065e9a0cb /mail-filter/gld | |
parent | stable (diff) | |
download | gentoo-2-850ecc3d1d85caf85257f87b8d3fd96339b823d4.tar.gz gentoo-2-850ecc3d1d85caf85257f87b8d3fd96339b823d4.tar.bz2 gentoo-2-850ecc3d1d85caf85257f87b8d3fd96339b823d4.zip |
Update init script dependencies, resolves 88574. Fix a trailing tab.
(Portage version: 2.0.51.19)
Diffstat (limited to 'mail-filter/gld')
-rw-r--r-- | mail-filter/gld/ChangeLog | 8 | ||||
-rw-r--r-- | mail-filter/gld/files/digest-gld-1.5-r2 | 1 | ||||
-rw-r--r-- | mail-filter/gld/files/gld.rc | 6 | ||||
-rw-r--r-- | mail-filter/gld/gld-1.5-r2.ebuild | 66 |
4 files changed, 77 insertions, 4 deletions
diff --git a/mail-filter/gld/ChangeLog b/mail-filter/gld/ChangeLog index 6150a6e73be8..8bb80a488186 100644 --- a/mail-filter/gld/ChangeLog +++ b/mail-filter/gld/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-filter/gld # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.16 2005/04/16 15:59:32 slarti Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.17 2005/04/20 15:18:09 slarti Exp $ + +*gld-1.5-r2 (20 Apr 2005) + + 20 Apr 2005; Tom Martin <slarti@gentoo.org> files/gld.rc, + gld-1.5-r1.ebuild, +gld-1.5-r2.ebuild: + Update init script dependencies, bug 88574. Also, fix some trailing whitespace. 16 Apr 2005; Tom Martin <slarti@gentoo.org> gld-1.5-r1.ebuild: Fix the handling of --with-pgsql. There was no --without-pgsql, and it seems diff --git a/mail-filter/gld/files/digest-gld-1.5-r2 b/mail-filter/gld/files/digest-gld-1.5-r2 new file mode 100644 index 000000000000..9642302f57d8 --- /dev/null +++ b/mail-filter/gld/files/digest-gld-1.5-r2 @@ -0,0 +1 @@ +MD5 0696b6c469a19bfb92bf93b19955cab6 gld-1.5.tgz 39132 diff --git a/mail-filter/gld/files/gld.rc b/mail-filter/gld/files/gld.rc index ced387943ef0..c67c63d9cc1c 100644 --- a/mail-filter/gld/files/gld.rc +++ b/mail-filter/gld/files/gld.rc @@ -1,11 +1,11 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/files/gld.rc,v 1.2 2004/08/11 18:31:51 slarti Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/files/gld.rc,v 1.3 2005/04/20 15:18:09 slarti Exp $ depend() { - need - use dns + need net # in case mysql daemon is not local + use dns mysql postgresql before postfix } diff --git a/mail-filter/gld/gld-1.5-r2.ebuild b/mail-filter/gld/gld-1.5-r2.ebuild new file mode 100644 index 000000000000..85b2ed3ca0d8 --- /dev/null +++ b/mail-filter/gld/gld-1.5-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.5-r2.ebuild,v 1.1 2005/04/20 15:18:09 slarti Exp $ + +DESCRIPTION="A standalone anti-spam greylisting algorithm on top of Postfix" +HOMEPAGE="http://www.gasmi.net/gld.html" +SRC_URI="http://www.gasmi.net/down/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" +IUSE="postgres" +# Not adding a mysql USE flag. The package defaults to it, so we will too. +DEPEND="virtual/libc + sys-libs/zlib + >=dev-libs/openssl-0.9.6 + postgres? ( dev-db/postgresql ) + !postgres? ( dev-db/mysql )" +RDEPEND="${DEPEND} + >=mail-mta/postfix-2.1" + +MY_P="${P}.1" +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} +# cp ${FILESDIR}/Makefile.in ${S}/Makefile.in +} + +src_compile() { + # It's kind of weird. $(use_with postgres pgsql) won't work... + if use postgres ; then + myconf="${myconf} --with-pgsql" + fi + + econf ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dobin gld + + insinto /etc + newins gld.conf gld.conf.sample + dosed 's:^LOOPBACKONLY=.*:LOOPBACKONLY=1:' /etc/gld.conf.sample + dosed 's:^#USER=.*:USER=nobody:' /etc/gld.conf.sample + dosed 's:^#GROUP=.*:GROUP=nobody:' /etc/gld.conf.sample + + dodoc HISTORY README* + + insinto /usr/share/${PN}/sql + doins table* + + newinitd ${FILESDIR}/gld.rc gld +} + +pkg_postinst() { + echo + einfo "Please read /usr/share/doc/${PF}/README.gz for details on how to setup" + einfo "gld." + echo + einfo "The tables.*sql files are located at /usr/share/${PN}/sql." + echo +} |