summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-01-04 10:15:02 +0000
committerTorsten Veller <tove@gentoo.org>2009-01-04 10:15:02 +0000
commit7afcbd090f0ca5580afdecf711391361774f28fa (patch)
tree09ceb6554f89f70611957c519ee90a31f3d14968 /net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild
parentRemove old versions (diff)
downloadhistorical-7afcbd090f0ca5580afdecf711391361774f28fa.tar.gz
historical-7afcbd090f0ca5580afdecf711391361774f28fa.tar.bz2
historical-7afcbd090f0ca5580afdecf711391361774f28fa.zip
Version bump (#243416). Remove dependencies: dev-perl/File-Tail, virtual/perl-Time-HiRes, dev-perl/Unix-Syslog.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.27-tuxonice i686
Diffstat (limited to 'net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild')
-rw-r--r--net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild b/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild
new file mode 100644
index 000000000000..dcb14be37f49
--- /dev/null
+++ b/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild,v 1.1 2009/01/04 10:15:02 tove Exp $
+
+DESCRIPTION="a simple daemon to allow email relay control based on successful POP or IMAP logins"
+HOMEPAGE="http://popbsmtp.sourceforge.net"
+SRC_URI="mirror://sourceforge/popbsmtp/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 BSD Artistic )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ dev-perl/Net-Netmask
+ dev-perl/TimeDate"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # enable syslog
+ sed -i \
+ -e "/^=cut #============================= syslog ===========================START=$/d" \
+ -e "/^=cut #============================= syslog =============================END=$/d" \
+ "${S}"/pop-before-smtp-conf.pl \
+ || die "sed pop-before-smtp-conf.pl failed"
+}
+
+src_install() {
+ dosbin pop-before-smtp || die "dosbin failed"
+ dodoc README ChangeLog TODO contrib/README.QUICKSTART
+ insinto /etc
+ doins pop-before-smtp-conf.pl || die "doins failed"
+ newinitd "${FILESDIR}/pop-before-smtp.init" pop-before.smtp \
+ || die "newinitd failed"
+}