summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2006-05-03 17:19:47 +0000
committerTom Martin <slarti@gentoo.org>2006-05-03 17:19:47 +0000
commit5f7868e662e0021d16acea751cd3dee9def413cf (patch)
treebeec2f92398aec83965e6572283be88b036d6810 /mail-filter
parent- version bump and fixed bug with ebuild handling stripping directly (diff)
downloadhistorical-5f7868e662e0021d16acea751cd3dee9def413cf.tar.gz
historical-5f7868e662e0021d16acea751cd3dee9def413cf.tar.bz2
historical-5f7868e662e0021d16acea751cd3dee9def413cf.zip
Version bump to 1.7; resolve bug #130802 while we're here.
Package-Manager: portage-2.1_pre10-r2
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/gld/ChangeLog8
-rw-r--r--mail-filter/gld/Manifest26
-rw-r--r--mail-filter/gld/files/digest-gld-1.73
-rw-r--r--mail-filter/gld/files/tables.sql15
-rw-r--r--mail-filter/gld/gld-1.7.ebuild57
5 files changed, 101 insertions, 8 deletions
diff --git a/mail-filter/gld/ChangeLog b/mail-filter/gld/ChangeLog
index ca6f78edd857..f846f01e312f 100644
--- a/mail-filter/gld/ChangeLog
+++ b/mail-filter/gld/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/gld
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.31 2006/04/27 22:22:04 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.32 2006/05/03 17:19:47 slarti Exp $
+
+*gld-1.7 (03 May 2006)
+
+ 03 May 2006; Tom Martin <slarti@gentoo.org> +files/tables.sql,
+ +gld-1.7.ebuild:
+ Version bump to 1.7; resolve bug #130802 while we're here.
27 Apr 2006; Marien Zwart <marienz@gentoo.org> files/digest-gld-1.5.2,
files/digest-gld-1.6, Manifest:
diff --git a/mail-filter/gld/Manifest b/mail-filter/gld/Manifest
index 930a5ba88371..1dfa653b7cc2 100644
--- a/mail-filter/gld/Manifest
+++ b/mail-filter/gld/Manifest
@@ -13,8 +13,13 @@ AUX gld.rc 544 RMD160 b0d668ffa01f39ffe7de1b4c805a792607fd434d SHA1 28c3bf171683
MD5 4e2b779070d26c7675574fe2420541b8 files/gld.rc 544
RMD160 b0d668ffa01f39ffe7de1b4c805a792607fd434d files/gld.rc 544
SHA256 040837f1a16f8f6cf72f9f051322e46b4cacad8cc0a97de217e64a42efda03dc files/gld.rc 544
+AUX tables.sql 1141 RMD160 02d45dbe928c545d27839ae052c23f5dcf13299b SHA1 5d0911dae9f14ecc627f8ef05c5b664240622ecc SHA256 4066abd57f4b460041abe36585cbd8cb8e8aae863ff288ce05b2a5788c2f79f5 size 1141
+MD5 d35303e3235067140dc9b6955bf2f66d files/tables.sql 1141
+RMD160 02d45dbe928c545d27839ae052c23f5dcf13299b files/tables.sql 1141
+SHA256 4066abd57f4b460041abe36585cbd8cb8e8aae863ff288ce05b2a5788c2f79f5 files/tables.sql 1141
DIST gld-1.5.2.tgz 39135 RMD160 9e8b7f986eab14b001834d774e3624b8fd58cd48 SHA256 e4b73b5eeffca2f751bde0523a205a48c6f4cb982f8837529e187f363d71d25c size 39135
DIST gld-1.6.tgz 40333 RMD160 72ff4363f3813f421e64e7644142cf227a43885d SHA256 fa871c5f5bb52fb4c73430139d27fb895ef9deafb051e70bb66a1795ef87ed25 size 40333
+DIST gld-1.7.tgz 40241 RMD160 0e8190a668ecd88e19c22aa1f80d9a442d1101cf SHA256 c0776f6841afa73b6579e355522d79fd15467de2936f1a4464265e6415cae14b size 40241
EBUILD gld-1.5.2.ebuild 1562 RMD160 e41a8a45c423923d83eefb8241624a274ff5b482 SHA1 44076073a475bc2b5f79dade311c7f54a90fb245 SHA256 b2506f05c416312f61d7966f018292e1cc1685703176a760ddebef69e9992914 size 1562
MD5 92553e000dd0a23d31042352b053cbdf gld-1.5.2.ebuild 1562
RMD160 e41a8a45c423923d83eefb8241624a274ff5b482 gld-1.5.2.ebuild 1562
@@ -23,10 +28,14 @@ EBUILD gld-1.6.ebuild 1551 RMD160 6add464e661d1745c975130c5059b5c4f4268f03 SHA1
MD5 c1bbfe82a62e6f2b52ad62a55a10c73b gld-1.6.ebuild 1551
RMD160 6add464e661d1745c975130c5059b5c4f4268f03 gld-1.6.ebuild 1551
SHA256 a5567b2ddb73666c52b02e8cca3cffad98225bd140f4f63f9e3342152fe047e1 gld-1.6.ebuild 1551
-MISC ChangeLog 4881 RMD160 e4de8a95e795782a0dea79eaeda1eca34a4cb96c SHA1 86dd246d8c48ddf049f6a516c7d390d6d5208d1b SHA256 4b0c0843ac83e9f25996f2ec3b94e3e31a4e5314346f6308c973b43ccd4b3c9a size 4881
-MD5 223ca22b533ecc96711f401bec3b5a1e ChangeLog 4881
-RMD160 e4de8a95e795782a0dea79eaeda1eca34a4cb96c ChangeLog 4881
-SHA256 4b0c0843ac83e9f25996f2ec3b94e3e31a4e5314346f6308c973b43ccd4b3c9a ChangeLog 4881
+EBUILD gld-1.7.ebuild 1521 RMD160 ff0a40ce41d6aba25a24d6d49046ec255af63531 SHA1 601acd25dd9cc69f41aa1b98998c2cb21ca7a767 SHA256 59ac5df2a18c423cbaf02bb6c3541d84dc0ca23faeb31c77c08d25cb72f453ef size 1521
+MD5 de8e77135f3bc34d6649baaeebb529d7 gld-1.7.ebuild 1521
+RMD160 ff0a40ce41d6aba25a24d6d49046ec255af63531 gld-1.7.ebuild 1521
+SHA256 59ac5df2a18c423cbaf02bb6c3541d84dc0ca23faeb31c77c08d25cb72f453ef gld-1.7.ebuild 1521
+MISC ChangeLog 5050 RMD160 41e84bef6a0b7a6630d66b544208fae9ced82b0e SHA1 0630441e3190c9cfb8e1bd5f024c49a795678ae6 SHA256 798aefd280ded2d1a7e8883da723a421007c3262d79bbfb71988e1e21172515d size 5050
+MD5 43a33673e54511375db7fb0132ae8c9b ChangeLog 5050
+RMD160 41e84bef6a0b7a6630d66b544208fae9ced82b0e ChangeLog 5050
+SHA256 798aefd280ded2d1a7e8883da723a421007c3262d79bbfb71988e1e21172515d ChangeLog 5050
MISC metadata.xml 223 RMD160 6159fc77e34fb07b40293af1aec8fe3b56393a88 SHA1 40b6d7e81b32fc2b354f05b90c1df75d606459b2 SHA256 a12a05e718496d215f6c208639d3862f4a8471d6ff3131e29a75a2cdc0a9d6af size 223
MD5 8a1c6c5f4c13a4109f6f4198fdd1874b metadata.xml 223
RMD160 6159fc77e34fb07b40293af1aec8fe3b56393a88 metadata.xml 223
@@ -37,10 +46,13 @@ SHA256 e925cf13e073f83b84c8e3685bb7a8c2709ad3184f7b8159d9704d9cf69e0db0 files/di
MD5 8e5bb444de6c5b5be1af35e45e861244 files/digest-gld-1.6 211
RMD160 12c0abaf5699394812035067bdc689c2e6e45a05 files/digest-gld-1.6 211
SHA256 5d5c5f26335d3860b83eab543ef91b19355afb4ab5df33ddbe1abc0874db34ff files/digest-gld-1.6 211
+MD5 2e5020faa38e88dc50be7c240d07ab32 files/digest-gld-1.7 211
+RMD160 5d9da9157f5d7f1c4f02b30ed4c279345ea4ac1e files/digest-gld-1.7 211
+SHA256 365a9ca5a6bcc6d5cab6028626d2bdefd8a8eff7f89be855f17ee52611d9b04d files/digest-gld-1.7 211
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
-iD8DBQFEUUQSW78445TWHXcRAkWfAJ9+KeIedSGp13fXsDKbL7jo/8mHHACfUx03
-p/vvWxwOMUYqv1+KQtjjhmA=
-=QWwV
+iD8DBQFEWOY8CHk4+ZoBpvsRAouhAJ9DLUqnoKJ+bfnwFtpUsQbSxZG4vwCgkTHY
+4EeaN6ir05xp5M7AcwDK9GU=
+=Zfx0
-----END PGP SIGNATURE-----
diff --git a/mail-filter/gld/files/digest-gld-1.7 b/mail-filter/gld/files/digest-gld-1.7
new file mode 100644
index 000000000000..7010cffe6224
--- /dev/null
+++ b/mail-filter/gld/files/digest-gld-1.7
@@ -0,0 +1,3 @@
+MD5 d24931630504e8586b9eb4cc3cc9d726 gld-1.7.tgz 40241
+RMD160 0e8190a668ecd88e19c22aa1f80d9a442d1101cf gld-1.7.tgz 40241
+SHA256 c0776f6841afa73b6579e355522d79fd15467de2936f1a4464265e6415cae14b gld-1.7.tgz 40241
diff --git a/mail-filter/gld/files/tables.sql b/mail-filter/gld/files/tables.sql
new file mode 100644
index 000000000000..98ab4e6f3cf1
--- /dev/null
+++ b/mail-filter/gld/files/tables.sql
@@ -0,0 +1,15 @@
+CREATE TABLE `greylist` (
+ `ip` CHAR( 16 ) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL COMMENT 'IP of Sending Host',
+ `sender` CHAR( 242 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL COMMENT 'Address of Sender',
+ `recipient` CHAR( 242 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL COMMENT 'Address of Recipient',
+ `first` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Date, when this Sender has first been seen',
+ `last` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Date, when this sender has last been seen',
+ `n` INT( 11 ) NOT NULL DEFAULT '0' COMMENT 'Sequence number',
+ PRIMARY KEY ( `ip` , `sender` , `recipient` )
+) ENGINE = MYISAM CHARACTER SET latin1 COLLATE latin1_general_ci COMMENT = 'GLD Greylist Table';
+
+CREATE TABLE `whitelist` (
+ `mail` CHAR( 242 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL COMMENT 'Adress which is whitelisted',
+ `comment` CHAR( 242 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'A comment, about why this adress is whitelisted',
+ PRIMARY KEY ( `mail` )
+) ENGINE = MYISAM CHARACTER SET latin1 COLLATE latin1_general_ci COMMENT = 'GLD Whitelist Table';
diff --git a/mail-filter/gld/gld-1.7.ebuild b/mail-filter/gld/gld-1.7.ebuild
new file mode 100644
index 000000000000..56310d100097
--- /dev/null
+++ b/mail-filter/gld/gld-1.7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.7.ebuild,v 1.1 2006/05/03 17:19:47 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=">=mail-mta/postfix-2.1"
+
+src_compile() {
+ # It's kind of weird. $(use_with postgres pgsql) won't work if you don't
+ # use it...
+ 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.example
+ 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 *.pgsql *-whitelist.sql ${FILESDIR}/tables.sql
+
+ newinitd ${FILESDIR}/gld.rc gld
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Please read /usr/share/doc/${PF}/README.gz for details on how to setup"
+ einfo "gld."
+ einfo
+ einfo "The sql files have been installed to /usr/share/${PN}/sql."
+ einfo
+}