summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-09-05 09:02:36 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-09-05 09:02:36 +0000
commitdf8ac25adb3aa4123cd3fe462d3387df27673935 (patch)
tree5cb258bcc08c225fc1d150aa48acd1725ad18990 /net-mail/disspam
parentwhitespace cleanup (diff)
downloadgentoo-2-df8ac25adb3aa4123cd3fe462d3387df27673935.tar.gz
gentoo-2-df8ac25adb3aa4123cd3fe462d3387df27673935.tar.bz2
gentoo-2-df8ac25adb3aa4123cd3fe462d3387df27673935.zip
use sed -i
Diffstat (limited to 'net-mail/disspam')
-rw-r--r--net-mail/disspam/ChangeLog5
-rw-r--r--net-mail/disspam/Manifest4
-rw-r--r--net-mail/disspam/disspam-0.12.ebuild8
3 files changed, 11 insertions, 6 deletions
diff --git a/net-mail/disspam/ChangeLog b/net-mail/disspam/ChangeLog
index eace66aa57d2..aab87aa52ba8 100644
--- a/net-mail/disspam/ChangeLog
+++ b/net-mail/disspam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/disspam
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/disspam/ChangeLog,v 1.6 2003/05/29 02:10:15 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/disspam/ChangeLog,v 1.7 2003/09/05 09:02:34 msterret Exp $
+
+ 05 Sep 2003; Michael Sterrett <msterret@gentoo.org> disspam-0.12.ebuild:
+ use sed -i
*disspam-0.12 (27 May 2003)
diff --git a/net-mail/disspam/Manifest b/net-mail/disspam/Manifest
index 9b3ed20edf02..46ed70a58f4d 100644
--- a/net-mail/disspam/Manifest
+++ b/net-mail/disspam/Manifest
@@ -1,6 +1,6 @@
-MD5 d2b256f379910e4b49a34975e733acba ChangeLog 712
+MD5 9504fccd70cbccc419c95d5809f85ab5 ChangeLog 802
MD5 b885a339999a71c6d964c717912228d4 disspam-0.10.ebuild 642
-MD5 550da54a701cbfad941681ae8281a225 disspam-0.12.ebuild 824
+MD5 bd6412e703cbb30810fc31184903c925 disspam-0.12.ebuild 834
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
MD5 ddb8a156da69c67f9ed6054ee673afc4 files/digest-disspam-0.10 62
MD5 548d657cf971ba884004c6d2a64380fa files/digest-disspam-0.12 63
diff --git a/net-mail/disspam/disspam-0.12.ebuild b/net-mail/disspam/disspam-0.12.ebuild
index 4654820ccbcb..dcdd09430f4b 100644
--- a/net-mail/disspam/disspam-0.12.ebuild
+++ b/net-mail/disspam/disspam-0.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/disspam/disspam-0.12.ebuild,v 1.4 2003/09/05 09:00:24 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/disspam/disspam-0.12.ebuild,v 1.5 2003/09/05 09:02:34 msterret Exp $
S=${WORKDIR}/disspam
DESCRIPTION="A Perl script that removes spam from POP3 mailboxes based on RBLs."
@@ -13,12 +13,14 @@ KEYWORDS="x86 ~ppc ~sparc ~hppa ~alpha ~mips"
DEPEND=">=dev-lang/perl-5.6.1
>=dev-perl/libnet-1.11
+ >=sys-apps/sed-4
>=dev-perl/Net-DNS-0.12"
src_install() {
#This doesnt look neat but makes it work
- sed -e 's/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/' disspam.pl > disspam-fixed.pl
- mv disspam-fixed.pl disspam.pl
+ sed -i \
+ -e 's/\/usr\/local\/bin\/perl/\/usr\/bin\/perl/' disspam.pl || \
+ die "sed disspam.pl failed"
dobin disspam.pl
dodoc changes.txt configuration.txt readme.txt sample.conf
}