diff options
author | Tom Martin <slarti@gentoo.org> | 2005-04-14 20:35:43 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2005-04-14 20:35:43 +0000 |
commit | 6d51bd12864a5e825be0b95845b5fe39de25e68b (patch) | |
tree | 6c0668f1ab89be6e1527cdae0772b3e753a983a0 /mail-filter/gld | |
parent | added ~amd64 to KEYWORDS, fixes #89041 (diff) | |
download | gentoo-2-6d51bd12864a5e825be0b95845b5fe39de25e68b.tar.gz gentoo-2-6d51bd12864a5e825be0b95845b5fe39de25e68b.tar.bz2 gentoo-2-6d51bd12864a5e825be0b95845b5fe39de25e68b.zip |
Revision bump. Add postgresql support, install sql files to a better location.
(Portage version: 2.0.51.19)
Diffstat (limited to 'mail-filter/gld')
-rw-r--r-- | mail-filter/gld/ChangeLog | 7 | ||||
-rw-r--r-- | mail-filter/gld/Manifest | 24 | ||||
-rw-r--r-- | mail-filter/gld/files/digest-gld-1.5-r1 | 1 | ||||
-rw-r--r-- | mail-filter/gld/gld-1.5-r1.ebuild | 58 |
4 files changed, 73 insertions, 17 deletions
diff --git a/mail-filter/gld/ChangeLog b/mail-filter/gld/ChangeLog index 6ad2ad5c0169..a73b922f58d3 100644 --- a/mail-filter/gld/ChangeLog +++ b/mail-filter/gld/ChangeLog @@ -1,6 +1,11 @@ # 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.13 2005/04/13 11:34:19 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.14 2005/04/14 20:35:43 slarti Exp $ + +*gld-1.5-r1 (14 Apr 2005) + + 14 Apr 2005; Tom Martin <slarti@gentoo.org> +gld-1.5-r1.ebuild: + Revision bump to add postgresql support. Tidied installation of SQL files. 13 Apr 2005; Andrej Kacian <ticho@gentoo.org> gld-1.5.ebuild: Stable on amd64, security bug #88904. diff --git a/mail-filter/gld/Manifest b/mail-filter/gld/Manifest index c7ec4387f154..6d37813c91be 100644 --- a/mail-filter/gld/Manifest +++ b/mail-filter/gld/Manifest @@ -1,20 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 420a29f2bc3545489629d21ea56b41c7 ChangeLog 2021 MD5 4a8d1e52eea9410b5357dc2e77b7584e gld-1.3.ebuild 1153 -MD5 bfce2fb4ca52e8a64de11adb9cc7e36a ChangeLog 1850 -MD5 fd1a136fe1866eb522142c76feafa47e gld-1.4.ebuild 1159 -MD5 8a1c6c5f4c13a4109f6f4198fdd1874b metadata.xml 223 MD5 9381bbd47c7cf525c4f8d3175f58ce6a gld-1.5.ebuild 1325 -MD5 86c6bd3ef318d2cd49f9592d0ba82a9f files/gld.rc 462 -MD5 408be3de93fe18f0361ad976ab36589f files/digest-gld-1.4 55 +MD5 8069069e426e815d27a90a20fd6fa6ed gld-1.5-r1.ebuild 1440 +MD5 8a1c6c5f4c13a4109f6f4198fdd1874b metadata.xml 223 +MD5 fd1a136fe1866eb522142c76feafa47e gld-1.4.ebuild 1159 +MD5 4ec33dbb0fd9c8a61e86f738deb457e4 files/digest-gld-1.5-r1 55 MD5 96d50f09283d0a87235b23ce0795499e files/Makefile.in 980 -MD5 a187f47f3f17cf43acfced1abb8f3dd8 files/digest-gld-1.3 55 MD5 49027d2d3e0cdf8e82e306338adce9e4 files/digest-gld-1.5 55 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCXQPNQlM6RnzZP+IRAsJdAJ9/1xtK+/v6on0klRwcssalP5n0bgCgpTqa -fVW2bOCVNMryxnPmW3Ikcjs= -=mTt1 ------END PGP SIGNATURE----- +MD5 408be3de93fe18f0361ad976ab36589f files/digest-gld-1.4 55 +MD5 a187f47f3f17cf43acfced1abb8f3dd8 files/digest-gld-1.3 55 +MD5 86c6bd3ef318d2cd49f9592d0ba82a9f files/gld.rc 462 diff --git a/mail-filter/gld/files/digest-gld-1.5-r1 b/mail-filter/gld/files/digest-gld-1.5-r1 new file mode 100644 index 000000000000..9642302f57d8 --- /dev/null +++ b/mail-filter/gld/files/digest-gld-1.5-r1 @@ -0,0 +1 @@ +MD5 0696b6c469a19bfb92bf93b19955cab6 gld-1.5.tgz 39132 diff --git a/mail-filter/gld/gld-1.5-r1.ebuild b/mail-filter/gld/gld-1.5-r1.ebuild new file mode 100644 index 000000000000..92dd3095db13 --- /dev/null +++ b/mail-filter/gld/gld-1.5-r1.ebuild @@ -0,0 +1,58 @@ +# 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-r1.ebuild,v 1.1 2005/04/14 20:35:43 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="" +# 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" + +src_unpack() { + unpack ${A} + cd ${S} +# cp ${FILESDIR}/Makefile.in ${S}/Makefile.in +} + +src_compile() { + econf $(use_with postgres pgsql) \ + || 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 LICENSE 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 +} |