diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-05-25 06:06:06 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-05-25 06:06:06 +0000 |
commit | 01912eb93127356f5c2f04af3087942fb2e3b1c2 (patch) | |
tree | 84958dc8626a42dd85a6ba7e7f37df692049ce49 /mail-mta/qpsmtpd | |
parent | Mark arm64/m68k/s390/sh stable. (diff) | |
download | gentoo-2-01912eb93127356f5c2f04af3087942fb2e3b1c2.tar.gz gentoo-2-01912eb93127356f5c2f04af3087942fb2e3b1c2.tar.bz2 gentoo-2-01912eb93127356f5c2f04af3087942fb2e3b1c2.zip |
Bump.
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'mail-mta/qpsmtpd')
-rw-r--r-- | mail-mta/qpsmtpd/ChangeLog | 10 | ||||
-rw-r--r-- | mail-mta/qpsmtpd/qpsmtpd-0.95.ebuild | 93 | ||||
-rw-r--r-- | mail-mta/qpsmtpd/qpsmtpd-9999.ebuild | 6 |
3 files changed, 104 insertions, 5 deletions
diff --git a/mail-mta/qpsmtpd/ChangeLog b/mail-mta/qpsmtpd/ChangeLog index 784a75d49882..1fadda46f33b 100644 --- a/mail-mta/qpsmtpd/ChangeLog +++ b/mail-mta/qpsmtpd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-mta/qpsmtpd -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/ChangeLog,v 1.23 2014/07/25 00:23:41 zlogene Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/ChangeLog,v 1.24 2015/05/25 06:06:06 robbat2 Exp $ + +*qpsmtpd-0.95 (25 May 2015) + + 25 May 2015; Robin H. Johnson <robbat2@gentoo.org> +qpsmtpd-0.95.ebuild, + qpsmtpd-9999.ebuild: + Bump. 25 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> -qpsmtpd-0.84-r1.ebuild, qpsmtpd-0.84-r2.ebuild, qpsmtpd-9999.ebuild: diff --git a/mail-mta/qpsmtpd/qpsmtpd-0.95.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.95.ebuild new file mode 100644 index 000000000000..e30ad3abe615 --- /dev/null +++ b/mail-mta/qpsmtpd/qpsmtpd-0.95.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-0.95.ebuild,v 1.1 2015/05/25 06:06:06 robbat2 Exp $ + +EAPI=5 + +[[ ${PV} == *9999 ]] && SCM="git-2" +inherit eutils perl-app user ${SCM} + +DESCRIPTION="qpsmtpd is a flexible smtpd daemon written in Perl" +HOMEPAGE="http://smtpd.develooper.com" +KEYWORDS="" +if [[ ${PV} != *9999 ]]; then + SRC_URI="https://github.com/smtpd/qpsmtpd/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +else + # This is a spotted development fork with many improvements +EGIT_REPO_URI="git://github.com/qpsmtpd-dev/qpsmtpd-dev.git + https://github.com/qpsmtpd-dev/qpsmtpd-dev.git" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="postfix ipv6 syslog" + +RDEPEND=">=dev-lang/perl-5.8.0 + >=dev-perl/Net-DNS-0.690.0 + virtual/perl-MIME-Base64 + dev-perl/MailTools + dev-perl/IPC-Shareable + dev-perl/Socket6 + dev-perl/Danga-Socket + dev-perl/ParaDNS + dev-perl/UNIVERSAL-isa + 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() { + if [[ ${PV} != *9999 ]]; then + unpack ${A} + cd "${S}" + else + git-2_src_unpack + cd "${S}" + fi +} + +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 + newinitd "${FILESDIR}"/qpsmtpd.initd-r1 qpsmtpd + + dodoc CREDITS Changes README.md README.plugins.md STATUS UPGRADING.md +} diff --git a/mail-mta/qpsmtpd/qpsmtpd-9999.ebuild b/mail-mta/qpsmtpd/qpsmtpd-9999.ebuild index 6e597eb7ad3a..a6659c38e6df 100644 --- a/mail-mta/qpsmtpd/qpsmtpd-9999.ebuild +++ b/mail-mta/qpsmtpd/qpsmtpd-9999.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-9999.ebuild,v 1.9 2014/07/25 00:23:41 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/qpsmtpd-9999.ebuild,v 1.10 2015/05/25 06:06:06 robbat2 Exp $ EAPI=5 @@ -72,5 +72,5 @@ src_install() { newconfd "${FILESDIR}"/qpsmtpd.confd qpsmtpd newinitd "${FILESDIR}"/qpsmtpd.initd-r1 qpsmtpd - dodoc CREDITS Changes README README.plugins STATUS + dodoc CREDITS Changes README.md README.plugins.md STATUS UPGRADING.md } |