diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-09-16 01:22:47 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-09-16 01:22:47 +0000 |
commit | 4bc60d43ea74c7a3e58432b573a6ec8b9fd1e237 (patch) | |
tree | 92f829208538081ceb1c8c7444cd443d0d654d88 /mail-mta | |
parent | Fix building with =sys-devel/libtool-1* (bug #284174). (diff) | |
download | gentoo-2-4bc60d43ea74c7a3e58432b573a6ec8b9fd1e237.tar.gz gentoo-2-4bc60d43ea74c7a3e58432b573a6ec8b9fd1e237.tar.bz2 gentoo-2-4bc60d43ea74c7a3e58432b573a6ec8b9fd1e237.zip |
Version bump. 0.40-badhelo_disconnect.patch merged upstream.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/qpsmtpd/ChangeLog | 8 | ||||
-rw-r--r-- | mail-mta/qpsmtpd/files/qpsmtpd-0.83-clamd_conf.patch | 12 | ||||
-rw-r--r-- | mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild | 78 |
3 files changed, 97 insertions, 1 deletions
diff --git a/mail-mta/qpsmtpd/ChangeLog b/mail-mta/qpsmtpd/ChangeLog index 2b157974eafc..e0082123537e 100644 --- a/mail-mta/qpsmtpd/ChangeLog +++ b/mail-mta/qpsmtpd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-mta/qpsmtpd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/ChangeLog,v 1.6 2009/07/31 08:06:40 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/ChangeLog,v 1.7 2009/09/16 01:22:47 robbat2 Exp $ + +*qpsmtpd-0.83 (16 Sep 2009) + + 16 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> +qpsmtpd-0.83.ebuild, + +files/qpsmtpd-0.83-clamd_conf.patch: + Version bump. 0.40-badhelo_disconnect.patch merged upstream. *qpsmtpd-0.83_pre9999 (31 Jul 2009) *qpsmtpd-0.82 (31 Jul 2009) diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.83-clamd_conf.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.83-clamd_conf.patch new file mode 100644 index 000000000000..801dc477df9f --- /dev/null +++ b/mail-mta/qpsmtpd/files/qpsmtpd-0.83-clamd_conf.patch @@ -0,0 +1,12 @@ +diff -Nuar --exclude '*.orig' --exclude '*.rej' qpsmtpd-0.83.orig/plugins/virus/clamav qpsmtpd-0.83/plugins/virus/clamav +--- qpsmtpd-0.83.orig/plugins/virus/clamav 2009-07-20 15:36:17.000000000 +0000 ++++ qpsmtpd-0.83/plugins/virus/clamav 2009-09-16 01:14:22.903329780 +0000 +@@ -151,7 +151,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 + $self->{_declined_on_fail} ||= 0; # decline the message on clamav failure + + unless ($self->{_spool_dir}) { diff --git a/mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild new file mode 100644 index 000000000000..20b6199bdea7 --- /dev/null +++ b/mail-mta/qpsmtpd/qpsmtpd-0.83.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2009 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.1 2009/09/16 01:22:47 robbat2 Exp $ + +EAPI=2 + +inherit eutils perl-app + +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="as-is" +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 +} |