diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/pop-before-smtp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-mail/pop-before-smtp')
-rw-r--r-- | net-mail/pop-before-smtp/Manifest | 1 | ||||
-rw-r--r-- | net-mail/pop-before-smtp/files/pop-before-smtp.init | 29 | ||||
-rw-r--r-- | net-mail/pop-before-smtp/metadata.xml | 8 | ||||
-rw-r--r-- | net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild | 36 |
4 files changed, 74 insertions, 0 deletions
diff --git a/net-mail/pop-before-smtp/Manifest b/net-mail/pop-before-smtp/Manifest new file mode 100644 index 000000000000..d73a175b35a3 --- /dev/null +++ b/net-mail/pop-before-smtp/Manifest @@ -0,0 +1 @@ +DIST pop-before-smtp-1.42.tar.gz 40612 SHA256 cfa9e1b24b185c1f7bd9a5f076d39d9b4e50f92d68a1463ec937e7c1526aaa41 diff --git a/net-mail/pop-before-smtp/files/pop-before-smtp.init b/net-mail/pop-before-smtp/files/pop-before-smtp.init new file mode 100644 index 000000000000..52ff6a244b79 --- /dev/null +++ b/net-mail/pop-before-smtp/files/pop-before-smtp.init @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +extra_started_commands="reload" + +depend() { + need net + use logger dns ypbind +} + +start() { + ebegin "Starting pop-before-smtp" + start-stop-daemon --start --pidfile /var/run/pop-before-smtp.pid --exec /usr/sbin/pop-before-smtp -- --daemon=/var/run/pop-before-smtp.pid + eend $? +} + +stop() { + ebegin "Stopping pop-before-smtp" + start-stop-daemon --stop --pidfile /var/run/pop-before-smtp.pid + eend $? +} + +reload() { + ebegin "Reloading postfix" + /usr/sbin/postfix reload &>/dev/null + eend $? +} diff --git a/net-mail/pop-before-smtp/metadata.xml b/net-mail/pop-before-smtp/metadata.xml new file mode 100644 index 000000000000..b3dee9a03ac9 --- /dev/null +++ b/net-mail/pop-before-smtp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-mail</herd> + <upstream> + <remote-id type="sourceforge">popbsmtp</remote-id> + </upstream> +</pkgmetadata> 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..488bb005c262 --- /dev/null +++ b/net-mail/pop-before-smtp/pop-before-smtp-1.42.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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[berkdb] + dev-perl/Net-Netmask + dev-perl/TimeDate" + +src_prepare() { + # 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" +} |