summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2004-08-11 18:31:51 +0000
committerTom Martin <slarti@gentoo.org>2004-08-11 18:31:51 +0000
commit82537415feb776e87216d9b73380e956b2a0cb60 (patch)
tree5626b1e1ee54f4225bb69a95cac8a8fb38fb8e34 /mail-filter/gld
parentadded a fix for bug 55108, where enabling multilib caused gcc to fail compili... (diff)
downloadgentoo-2-82537415feb776e87216d9b73380e956b2a0cb60.tar.gz
gentoo-2-82537415feb776e87216d9b73380e956b2a0cb60.tar.bz2
gentoo-2-82537415feb776e87216d9b73380e956b2a0cb60.zip
Marked ~x86 for langthang, tidied the rc-script.
Diffstat (limited to 'mail-filter/gld')
-rw-r--r--mail-filter/gld/ChangeLog9
-rw-r--r--mail-filter/gld/files/gld.rc10
-rw-r--r--mail-filter/gld/gld-1.3.ebuild4
3 files changed, 17 insertions, 6 deletions
diff --git a/mail-filter/gld/ChangeLog b/mail-filter/gld/ChangeLog
index 996e63d57a5d..9aea7922f2b2 100644
--- a/mail-filter/gld/ChangeLog
+++ b/mail-filter/gld/ChangeLog
@@ -1,8 +1,13 @@
# ChangeLog for mail-filter/gld
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.1 2004/08/10 00:45:19 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/ChangeLog,v 1.2 2004/08/11 18:31:51 slarti Exp $
+
+ 11 Aug 2004; Tom Martin <slarti@gentoo.org> gld-1.3.ebuild, files/gld.rc:
+ Made the rc-script more verbose, fixed an option order problem with
+ start-stop-daemon. Thanks Tuan Van <langthang@gentoo.org for patch. Added ~x86
+ keyword on behalf of Tuan too.
*gld-1.3 (10 Aug 2004)
- 10 Aug 2004; Tom Martin <slarti@gentoo.org> +clamassassin-1.2.0.ebuild:
+ 10 Aug 2004; Tom Martin <slarti@gentoo.org> +gld-1.3.ebuild:
Initial import. I can only test on amd64, so it lacks [~]x86 for the moment.
diff --git a/mail-filter/gld/files/gld.rc b/mail-filter/gld/files/gld.rc
index 8651ca38fd13..ced387943ef0 100644
--- a/mail-filter/gld/files/gld.rc
+++ b/mail-filter/gld/files/gld.rc
@@ -1,7 +1,7 @@
#!/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.1 2004/08/10 00:45:19 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/files/gld.rc,v 1.2 2004/08/11 18:31:51 slarti Exp $
depend() {
need
@@ -11,6 +11,12 @@ depend() {
start() {
ebegin "Starting gld"
- start-stop-daemon --start --exec --quiet /usr/bin/gld
+ start-stop-daemon --start --quiet --exec /usr/bin/gld
+ eend $?
}
+stop() {
+ ebegin "Stopping gld"
+ start-stop-daemon --stop --quiet --name gld
+ eend $?
+}
diff --git a/mail-filter/gld/gld-1.3.ebuild b/mail-filter/gld/gld-1.3.ebuild
index f3fdfbc9911f..8be517bf18e0 100644
--- a/mail-filter/gld/gld-1.3.ebuild
+++ b/mail-filter/gld/gld-1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.3.ebuild,v 1.1 2004/08/10 00:45:19 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/gld/gld-1.3.ebuild,v 1.2 2004/08/11 18:31:51 slarti Exp $
DESCRIPTION="A standalone anti-spam greylisting algorithm on top of Postfix"
HOMEPAGE="http://www.gasmi.net/gld.html"
@@ -8,7 +8,7 @@ SRC_URI="ftp://www.gasmi.net/down/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-db/mysql"
RDEPEND=">=mail-mta/postfix-2.1"