summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2013-02-15 14:25:49 +0000
committerEray Aslan <eras@gentoo.org>2013-02-15 14:25:49 +0000
commit21e64c2d090c1b14c2f7985abf8ae5d3792b6bba (patch)
tree34c205b7321fa3405f652f8ad425a2e73ced1548 /mail-mta
parentDo not keepdir /var/run - bug #450996 (diff)
downloadgentoo-2-21e64c2d090c1b14c2f7985abf8ae5d3792b6bba.tar.gz
gentoo-2-21e64c2d090c1b14c2f7985abf8ae5d3792b6bba.tar.bz2
gentoo-2-21e64c2d090c1b14c2f7985abf8ae5d3792b6bba.zip
Remove old
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/qpsmtpd/ChangeLog10
-rw-r--r--mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch11
-rw-r--r--mail-mta/qpsmtpd/files/qpsmtpd-0.40-clamd_conf.patch12
-rw-r--r--mail-mta/qpsmtpd/files/qpsmtpd-0.40-peer_hooks.patch36
-rw-r--r--mail-mta/qpsmtpd/files/qpsmtpd-0.43-peer_hooks.patch36
-rw-r--r--mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre955.ebuild86
-rw-r--r--mail-mta/qpsmtpd/qpsmtpd-0.81.ebuild85
-rw-r--r--mail-mta/qpsmtpd/qpsmtpd-0.82.ebuild79
-rw-r--r--mail-mta/qpsmtpd/qpsmtpd-0.83-r1.ebuild79
-rw-r--r--mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild78
10 files changed, 9 insertions, 503 deletions
diff --git a/mail-mta/qpsmtpd/ChangeLog b/mail-mta/qpsmtpd/ChangeLog
index 11667fc3219a..4549fdddb5eb 100644
--- a/mail-mta/qpsmtpd/ChangeLog
+++ b/mail-mta/qpsmtpd/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for mail-mta/qpsmtpd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/ChangeLog,v 1.17 2013/02/15 14:19:53 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/ChangeLog,v 1.18 2013/02/15 14:25:49 eras Exp $
+
+ 15 Feb 2013; Eray Aslan <eras@gentoo.org>
+ -files/qpsmtpd-0.40-badhelo_disconnect.patch,
+ -files/qpsmtpd-0.40-clamd_conf.patch, -files/qpsmtpd-0.40-peer_hooks.patch,
+ -files/qpsmtpd-0.43-peer_hooks.patch, -qpsmtpd-0.43_rc2_pre955.ebuild,
+ -qpsmtpd-0.81.ebuild, -qpsmtpd-0.82.ebuild, -qpsmtpd-0.83-r1.ebuild,
+ -qpsmtpd-0.83.ebuild:
+ Remove old
*qpsmtpd-0.84-r1 (15 Feb 2013)
diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch
deleted file mode 100644
index 6d8b88ca6966..000000000000
--- a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- qpsmtpd-0.40/plugins/check_spamhelo.badhelo_disconnect 2007-06-14 11:57:24.000000000 -0600
-+++ qpsmtpd-0.40/plugins/check_spamhelo 2007-06-14 13:21:45.000000000 -0600
-@@ -23,7 +23,7 @@
- for my $bad ($self->qp->config('badhelo')) {
- if ($host eq lc $bad) {
- $self->log(LOGDEBUG, "Denying HELO from host claiming to be $bad");
-- return (DENY, "Sorry, I don't believe that you are $host.");
-+ return (DENY_DISCONNECT, "Sorry, I don't believe that you are $host.");
- }
- }
- return DECLINED;
diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-clamd_conf.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.40-clamd_conf.patch
deleted file mode 100644
index b1e0f8079def..000000000000
--- a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-clamd_conf.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/virus/clamav mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamav
---- qpsmtpd-0.40/plugins/virus/clamav 2007-06-14 11:57:23.000000000 -0600
-+++ mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamav 2007-06-15 13:37:26.000000000 -0600
-@@ -148,7 +148,7 @@
- $self->{_max_size} ||= 512 * 1024;
- $self->{_spool_dir} ||= $self->spool_dir();
- $self->{_back_compat} ||= ''; # make sure something is set
-- $self->{_clamd_conf} ||= '/etc/clamd/conf'; # make sure something is set
-+ $self->{_clamd_conf} ||= '/etc/clamd.conf'; # make sure something is set
-
- unless ($self->{_spool_dir}) {
- $self->log(LOGERROR, "No spool dir configuration found");
diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-peer_hooks.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.40-peer_hooks.patch
deleted file mode 100644
index fd6ccbfc79ad..000000000000
--- a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-peer_hooks.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- qpsmtpd-0.40/lib/Qpsmtpd/SMTP.pm.peer_hooks 2007-06-14 11:57:27.000000000 -0600
-+++ qpsmtpd-0.40/lib/Qpsmtpd/SMTP.pm 2007-06-14 13:44:52.000000000 -0600
-@@ -95,6 +95,11 @@
- my $self = shift;
- # this should maybe be called something else than "connect", see
- # lib/Qpsmtpd/TcpServer.pm for more confusion.
-+ my ($rc, $msg) = $self->run_hooks("set_hooks");
-+ if ($rc == DENY) {
-+ $self->respond(550, ($msg || 'Connection from you denied, bye bye.'));
-+ return $rc;
-+ }
- $self->run_hooks("connect");
- return DONE;
- }
-@@ -278,7 +283,9 @@
-
- # if we don't have a plugin implementing this auth mechanism, 504
- if( exists $auth_mechanisms{uc($mechanism)} ) {
-- return $self->{_auth} = Qpsmtpd::Auth::SASL( $self, $mechanism, @stuff );
-+ $self->{_auth} = Qpsmtpd::Auth::SASL( $self, $mechanism, @stuff );
-+ $self->run_hooks("valid_auth") if $self->{_auth} == OK;
-+ return $self->{_auth};
- } else {
- $self->respond( 504, "Unimplemented authentification mechanism: $mechanism" );
- return DENY;
---- qpsmtpd-0.40/lib/Qpsmtpd/Plugin.pm.peer_hooks 2007-06-14 11:57:27.000000000 -0600
-+++ qpsmtpd-0.40/lib/Qpsmtpd/Plugin.pm 2007-06-14 13:43:53.000000000 -0600
-@@ -6,7 +6,7 @@
- our @hooks = qw(
- logging config pre-connection connect ehlo_parse ehlo
- helo_parse helo auth_parse auth auth-plain auth-login auth-cram-md5
-- rcpt_parse rcpt_pre rcpt mail_parse mail mail_pre
-+ valid_auth set_hooks rcpt_parse rcpt_pre rcpt mail_parse mail mail_pre
- data data_post queue_pre queue queue_post
- quit reset_transaction disconnect post-connection
- unrecognized_command deny ok received_line
diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.43-peer_hooks.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.43-peer_hooks.patch
deleted file mode 100644
index f959bb0678a8..000000000000
--- a/mail-mta/qpsmtpd/files/qpsmtpd-0.43-peer_hooks.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- qpsmtpd-0.40/lib/Qpsmtpd/SMTP.pm.peer_hooks 2007-06-14 11:57:27.000000000 -0600
-+++ qpsmtpd-0.40/lib/Qpsmtpd/SMTP.pm 2007-06-14 13:44:52.000000000 -0600
-@@ -95,6 +95,11 @@
- my $self = shift;
- # this should maybe be called something else than "connect", see
- # lib/Qpsmtpd/TcpServer.pm for more confusion.
-+ my ($rc, $msg) = $self->run_hooks("set_hooks");
-+ if ($rc == DENY) {
-+ $self->respond(550, ($msg || 'Connection from you denied, bye bye.'));
-+ return $rc;
-+ }
- $self->run_hooks("connect");
- return DONE;
- }
-@@ -278,7 +283,9 @@
-
- # if we don't have a plugin implementing this auth mechanism, 504
- if( exists $auth_mechanisms{uc($mechanism)} ) {
-- return $self->{_auth} = Qpsmtpd::Auth::SASL( $self, $mechanism, @stuff );
-+ $self->{_auth} = Qpsmtpd::Auth::SASL( $self, $mechanism, @stuff );
-+ $self->run_hooks("valid_auth") if $self->{_auth} == OK;
-+ return $self->{_auth};
- } else {
- $self->respond( 504, "Unimplemented authentification mechanism: $mechanism" );
- return DENY;
---- qpsmtpd-0.40/lib/Qpsmtpd//Plugin.pm.peer_hooks 2008-03-25 02:02:37.000000000 +0000
-+++ qpsmtpd-0.40/lib/Qpsmtpd//Plugin.pm 2008-03-25 02:04:00.000000000 +0000
-@@ -6,7 +6,7 @@
- our @hooks = qw(
- logging config pre-connection connect ehlo_parse ehlo
- helo_parse helo auth_parse auth auth-plain auth-login auth-cram-md5
-- rcpt_parse rcpt_pre rcpt mail_parse mail mail_pre
-+ valid_auth set_hooks rcpt_parse rcpt_pre rcpt mail_parse mail mail_pre
- data data_post queue_pre queue queue_post vrfy noop
- quit reset_transaction disconnect post-connection
- unrecognized_command deny ok received_line help
diff --git a/mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre955.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre955.ebuild
deleted file mode 100644
index beadec6954f1..000000000000
--- a/mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre955.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre955.ebuild,v 1.3 2012/11/30 23:10:44 radhermit Exp $
-
-inherit eutils subversion user
-REVNO=${PV/0.43_rc2_pre}
-DESCRIPTION="qpsmtpd is a flexible smtpd daemon written in Perl"
-HOMEPAGE="http://smtpd.develooper.com"
-ESVN_REPO_URI="http://svn.perl.org/qpsmtpd/trunk@${REVNO}"
-ESVN_PROJECT="qpsmtpd"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS=""
-IUSE="postfix async ipv6 syslog"
-
-RDEPEND=">=dev-lang/perl-5.8.0
- dev-perl/Net-DNS
- virtual/perl-MIME-Base64
- dev-perl/MailTools
- async? ( dev-perl/IPC-Shareable
- dev-perl/Socket6
- dev-perl/Danga-Socket
- dev-perl/ParaDNS
- )
- ipv6? ( dev-perl/IO-Socket-INET6 )
- syslog? ( virtual/perl-Sys-Syslog )
- virtual/inetd"
-
-pkg_setup() {
- enewgroup smtpd
- local additional_groups
- if use postfix; then
- additional_groups="${additional_groups},postdrop"
- fi
- enewuser smtpd -1 -1 /var/spool/qpsmtpd smtpd${additional_groups}
-}
-
-src_unpack() {
- subversion_src_unpack
- epatch "${FILESDIR}"/${PN}-0.40-badhelo_disconnect.patch
- epatch "${FILESDIR}"/${PN}-0.40-badrcptto_allowrelay.patch
- epatch "${FILESDIR}"/${PN}-0.43-peer_hooks.patch
- epatch "${FILESDIR}"/${PN}-0.40-clamd_conf.patch
-}
-
-src_compile() {
- perl Makefile.PL PREFIX=/usr || die "Running Makefile.PL failed"
- emake || die "make failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die "emake install failed"
-
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/qpsmtpd.xinetd qpsmtpd
-
- dodir /usr/share/qpsmtpd
- cp -Rf plugins "${D}"/usr/share/qpsmtpd/
-
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/spool/qpsmtpd
- keepdir /var/spool/qpsmtpd
-
- dodir /etc/qpsmtpd
- insinto /etc/qpsmtpd
- doins config.sample/*
-
- echo "/usr/share/qpsmtpd/plugins" > "${D}"/etc/qpsmtpd/plugin_dirs
- echo "/var/spool/qpsmtpd" > "${D}"/etc/qpsmtpd/spool_dir
- if use syslog; then
- echo "logging/syslog loglevel LOGINFO priority LOG_NOTICE" > "${D}"/etc/qpsmtpd/logging
- else
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/log/qpsmtpd
- keepdir /var/log/qpsmtpd
- echo "logging/file loglevel LOGINFO /var/log/qpsmtpd/%Y-%m-%d" > "${D}"/etc/qpsmtpd/logging
- fi
-
- newenvd "${FILESDIR}"/qpsmtpd.envd 99qpsmtpd
-
- newconfd "${FILESDIR}"/qpsmtpd.confd qpsmtpd || die "Installing conf.d file"
- newinitd "${FILESDIR}"/qpsmtpd.initd qpsmtpd || die "Installing init.d file"
-
- dodoc CREDITS Changes README README.authentication README.logging README.plugins STATUS
-}
diff --git a/mail-mta/qpsmtpd/qpsmtpd-0.81.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.81.ebuild
deleted file mode 100644
index 05b4bfea0b40..000000000000
--- a/mail-mta/qpsmtpd/qpsmtpd-0.81.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-0.81.ebuild,v 1.4 2012/11/30 23:10:44 radhermit Exp $
-
-EAPI=2
-
-inherit eutils user
-
-DESCRIPTION="qpsmtpd is a flexible smtpd daemon written in Perl"
-HOMEPAGE="http://smtpd.develooper.com"
-SRC_URI="http://smtpd.develooper.com/files/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="postfix async ipv6 syslog"
-
-RDEPEND=">=dev-lang/perl-5.8.0
- dev-perl/Net-DNS
- virtual/perl-MIME-Base64
- dev-perl/MailTools
- async? ( dev-perl/IPC-Shareable
- dev-perl/Socket6
- dev-perl/Danga-Socket
- dev-perl/ParaDNS
- )
- ipv6? ( dev-perl/IO-Socket-INET6 )
- syslog? ( virtual/perl-Sys-Syslog )
- virtual/inetd"
-
-pkg_setup() {
- enewgroup smtpd
- local additional_groups
- if use postfix; then
- additional_groups="${additional_groups},postdrop"
- fi
- enewuser smtpd -1 -1 /var/spool/qpsmtpd smtpd${additional_groups}
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.40-badhelo_disconnect.patch
- epatch "${FILESDIR}"/${PN}-0.40-badrcptto_allowrelay.patch
- epatch "${FILESDIR}"/${PN}-0.40-clamd_conf.patch
-}
-
-src_compile() {
- perl Makefile.PL PREFIX=/usr || die "Running Makefile.PL failed"
- emake || die "make failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die "emake install failed"
-
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/qpsmtpd.xinetd qpsmtpd
-
- dodir /usr/share/qpsmtpd
- cp -Rf plugins "${D}"/usr/share/qpsmtpd/
-
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/spool/qpsmtpd
- keepdir /var/spool/qpsmtpd
-
- dodir /etc/qpsmtpd
- insinto /etc/qpsmtpd
- doins config.sample/*
-
- echo "/usr/share/qpsmtpd/plugins" > "${D}"/etc/qpsmtpd/plugin_dirs
- echo "/var/spool/qpsmtpd" > "${D}"/etc/qpsmtpd/spool_dir
- if use syslog; then
- echo "logging/syslog loglevel LOGINFO priority LOG_NOTICE" > "${D}"/etc/qpsmtpd/logging
- else
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/log/qpsmtpd
- keepdir /var/log/qpsmtpd
- echo "logging/file loglevel LOGINFO /var/log/qpsmtpd/%Y-%m-%d" > "${D}"/etc/qpsmtpd/logging
- fi
-
- newenvd "${FILESDIR}"/qpsmtpd.envd 99qpsmtpd
-
- newconfd "${FILESDIR}"/qpsmtpd.confd qpsmtpd || die "Installing conf.d file"
- newinitd "${FILESDIR}"/qpsmtpd.initd qpsmtpd || die "Installing init.d file"
-
- dodoc CREDITS Changes README README.plugins STATUS
-}
diff --git a/mail-mta/qpsmtpd/qpsmtpd-0.82.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.82.ebuild
deleted file mode 100644
index 89e4cc10025c..000000000000
--- a/mail-mta/qpsmtpd/qpsmtpd-0.82.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-0.82.ebuild,v 1.3 2012/11/30 23:10:44 radhermit Exp $
-
-EAPI=2
-
-inherit eutils perl-app user
-
-DESCRIPTION="qpsmtpd is a flexible smtpd daemon written in Perl"
-HOMEPAGE="http://smtpd.develooper.com"
-SRC_URI="http://smtpd.develooper.com/files/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="postfix ipv6 syslog"
-
-RDEPEND=">=dev-lang/perl-5.8.0
- dev-perl/Net-DNS
- virtual/perl-MIME-Base64
- dev-perl/MailTools
- dev-perl/IPC-Shareable
- dev-perl/Socket6
- dev-perl/Danga-Socket
- dev-perl/ParaDNS
- ipv6? ( dev-perl/IO-Socket-INET6 )
- syslog? ( virtual/perl-Sys-Syslog )
- virtual/inetd"
-
-pkg_setup() {
- enewgroup smtpd
- local additional_groups
- if use postfix; then
- additional_groups="${additional_groups},postdrop"
- fi
- enewuser smtpd -1 -1 /var/spool/qpsmtpd smtpd${additional_groups}
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.40-badhelo_disconnect.patch
- epatch "${FILESDIR}"/${PN}-0.40-badrcptto_allowrelay.patch
- epatch "${FILESDIR}"/${PN}-0.40-clamd_conf.patch
-}
-
-src_install() {
- perl-module_src_install
-
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/qpsmtpd.xinetd qpsmtpd
-
- dodir /usr/share/qpsmtpd
- cp -Rf plugins "${D}"/usr/share/qpsmtpd/
-
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/spool/qpsmtpd
- keepdir /var/spool/qpsmtpd
-
- dodir /etc/qpsmtpd
- insinto /etc/qpsmtpd
- doins config.sample/*
-
- echo "/usr/share/qpsmtpd/plugins" > "${D}"/etc/qpsmtpd/plugin_dirs
- echo "/var/spool/qpsmtpd" > "${D}"/etc/qpsmtpd/spool_dir
- if use syslog; then
- echo "logging/syslog loglevel LOGINFO priority LOG_NOTICE" > "${D}"/etc/qpsmtpd/logging
- else
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/log/qpsmtpd
- keepdir /var/log/qpsmtpd
- echo "logging/file loglevel LOGINFO /var/log/qpsmtpd/%Y-%m-%d" > "${D}"/etc/qpsmtpd/logging
- fi
-
- newenvd "${FILESDIR}"/qpsmtpd.envd 99qpsmtpd
-
- newconfd "${FILESDIR}"/qpsmtpd.confd qpsmtpd || die "Installing conf.d file"
- newinitd "${FILESDIR}"/qpsmtpd.initd qpsmtpd || die "Installing init.d file"
-
- dodoc CREDITS Changes README README.plugins STATUS
-}
diff --git a/mail-mta/qpsmtpd/qpsmtpd-0.83-r1.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.83-r1.ebuild
deleted file mode 100644
index ecc92feef27b..000000000000
--- a/mail-mta/qpsmtpd/qpsmtpd-0.83-r1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-0.83-r1.ebuild,v 1.6 2012/11/30 23:10:44 radhermit Exp $
-
-EAPI=2
-
-inherit eutils perl-app user
-
-DESCRIPTION="qpsmtpd is a flexible smtpd daemon written in Perl"
-HOMEPAGE="http://smtpd.develooper.com"
-SRC_URI="http://smtpd.develooper.com/files/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="postfix ipv6 syslog"
-
-RDEPEND=">=dev-lang/perl-5.8.0
- dev-perl/Net-DNS
- virtual/perl-MIME-Base64
- dev-perl/MailTools
- dev-perl/IPC-Shareable
- dev-perl/Socket6
- dev-perl/Danga-Socket
- dev-perl/ParaDNS
- ipv6? ( dev-perl/IO-Socket-INET6 )
- syslog? ( virtual/perl-Sys-Syslog )
- virtual/inetd"
-
-pkg_setup() {
- enewgroup smtpd
- local additional_groups
- if use postfix; then
- additional_groups="${additional_groups},postdrop"
- fi
- enewuser smtpd -1 -1 /var/spool/qpsmtpd smtpd${additional_groups}
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.40-badrcptto_allowrelay.patch
- epatch "${FILESDIR}"/${PN}-0.83-clamd_conf.patch
-}
-
-src_install() {
- perl-module_src_install
-
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/qpsmtpd.xinetd qpsmtpd
-
- dodir /usr/share/qpsmtpd
- cp -Rf plugins "${D}"/usr/share/qpsmtpd/
-
- insinto /etc/qpsmtpd
- doins config.sample/*
-
- echo "/usr/share/qpsmtpd/plugins" > "${D}"/etc/qpsmtpd/plugin_dirs
- echo "/var/spool/qpsmtpd" > "${D}"/etc/qpsmtpd/spool_dir
- cat >"${D}"/etc/qpsmtpd/logging <<-EOF
- #logging/syslog loglevel LOGINFO priority LOG_NOTICE
- #logging/file loglevel LOGINFO /var/log/qpsmtpd/%Y-%m-%d
- EOF
- if use syslog; then
- sed -i -e '/^#logging\/syslog/s,^#,,g' "${D}"/etc/qpsmtpd/logging
- else
- sed -i -e '/^#logging\/file/s,^#,,g' "${D}"/etc/qpsmtpd/logging
- fi
-
- newenvd "${FILESDIR}"/qpsmtpd.envd 99qpsmtpd
-
- newconfd "${FILESDIR}"/qpsmtpd.confd qpsmtpd || die "Installing conf.d file"
- newinitd "${FILESDIR}"/qpsmtpd.initd qpsmtpd || die "Installing init.d file"
-
- dodoc CREDITS Changes README README.plugins STATUS
-
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/spool/qpsmtpd /var/run/qpsmtpd /var/log/qpsmtpd
- keepdir /var/spool/qpsmtpd /var/run/qpsmtpd /var/log/qpsmtpd
-
-}
diff --git a/mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild
deleted file mode 100644
index 56f620bc957b..000000000000
--- a/mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild,v 1.3 2012/11/30 23:10:44 radhermit Exp $
-
-EAPI=2
-
-inherit eutils perl-app user
-
-DESCRIPTION="qpsmtpd is a flexible smtpd daemon written in Perl"
-HOMEPAGE="http://smtpd.develooper.com"
-SRC_URI="http://smtpd.develooper.com/files/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="postfix ipv6 syslog"
-
-RDEPEND=">=dev-lang/perl-5.8.0
- dev-perl/Net-DNS
- virtual/perl-MIME-Base64
- dev-perl/MailTools
- dev-perl/IPC-Shareable
- dev-perl/Socket6
- dev-perl/Danga-Socket
- dev-perl/ParaDNS
- ipv6? ( dev-perl/IO-Socket-INET6 )
- syslog? ( virtual/perl-Sys-Syslog )
- virtual/inetd"
-
-pkg_setup() {
- enewgroup smtpd
- local additional_groups
- if use postfix; then
- additional_groups="${additional_groups},postdrop"
- fi
- enewuser smtpd -1 -1 /var/spool/qpsmtpd smtpd${additional_groups}
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.40-badrcptto_allowrelay.patch
- epatch "${FILESDIR}"/${PN}-0.83-clamd_conf.patch
-}
-
-src_install() {
- perl-module_src_install
-
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/qpsmtpd.xinetd qpsmtpd
-
- dodir /usr/share/qpsmtpd
- cp -Rf plugins "${D}"/usr/share/qpsmtpd/
-
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/spool/qpsmtpd
- keepdir /var/spool/qpsmtpd
-
- dodir /etc/qpsmtpd
- insinto /etc/qpsmtpd
- doins config.sample/*
-
- echo "/usr/share/qpsmtpd/plugins" > "${D}"/etc/qpsmtpd/plugin_dirs
- echo "/var/spool/qpsmtpd" > "${D}"/etc/qpsmtpd/spool_dir
- if use syslog; then
- echo "logging/syslog loglevel LOGINFO priority LOG_NOTICE" > "${D}"/etc/qpsmtpd/logging
- else
- diropts -m 0755 -o smtpd -g smtpd
- dodir /var/log/qpsmtpd
- keepdir /var/log/qpsmtpd
- echo "logging/file loglevel LOGINFO /var/log/qpsmtpd/%Y-%m-%d" > "${D}"/etc/qpsmtpd/logging
- fi
-
- newenvd "${FILESDIR}"/qpsmtpd.envd 99qpsmtpd
-
- newconfd "${FILESDIR}"/qpsmtpd.confd qpsmtpd || die "Installing conf.d file"
- newinitd "${FILESDIR}"/qpsmtpd.initd qpsmtpd || die "Installing init.d file"
-
- dodoc CREDITS Changes README README.plugins STATUS
-}