From e5f7bc28095bb7cb99c707a838d4ba802afa7bd0 Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Tue, 28 Apr 2009 07:50:08 +0000 Subject: Add live ebuild and drop oldest (Portage version: 2.2_rc31/cvs/Linux x86_64) --- mail-mta/qpsmtpd/ChangeLog | 8 ++- mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre945.ebuild | 86 ------------------------- mail-mta/qpsmtpd/qpsmtpd-0.82_pre9999.ebuild | 84 ++++++++++++++++++++++++ 3 files changed, 91 insertions(+), 87 deletions(-) delete mode 100644 mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre945.ebuild create mode 100644 mail-mta/qpsmtpd/qpsmtpd-0.82_pre9999.ebuild diff --git a/mail-mta/qpsmtpd/ChangeLog b/mail-mta/qpsmtpd/ChangeLog index e9c7ba1d8f75..db862275c9be 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.4 2009/04/28 07:12:53 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qpsmtpd/ChangeLog,v 1.5 2009/04/28 07:50:08 jokey Exp $ + +*qpsmtpd-0.82_pre9999 (28 Apr 2009) + + 28 Apr 2009; Markus Ullmann + -qpsmtpd-0.43_rc2_pre945.ebuild, +qpsmtpd-0.82_pre9999.ebuild: + Add live ebuild and drop oldest 28 Apr 2009; Markus Ullmann ChangeLog: Keyword testing on verified arches diff --git a/mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre945.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre945.ebuild deleted file mode 100644 index 706553a47317..000000000000 --- a/mail-mta/qpsmtpd/qpsmtpd-0.43_rc2_pre945.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2008 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_pre945.ebuild,v 1.2 2008/10/27 18:51:55 jokey Exp $ - -inherit eutils subversion -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="as-is" -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.82_pre9999.ebuild b/mail-mta/qpsmtpd/qpsmtpd-0.82_pre9999.ebuild new file mode 100644 index 000000000000..c76cc9b236ca --- /dev/null +++ b/mail-mta/qpsmtpd/qpsmtpd-0.82_pre9999.ebuild @@ -0,0 +1,84 @@ +# 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.82_pre9999.ebuild,v 1.1 2009/04/28 07:50:08 jokey Exp $ + +EAPI=2 + +inherit eutils git + +DESCRIPTION="qpsmtpd is a flexible smtpd daemon written in Perl" +HOMEPAGE="http://smtpd.develooper.com" +EGIT_REPO_URI="git://git.develooper.com/qpsmtpd.git" + +LICENSE="as-is" +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 + 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 +} -- cgit v1.2.3-65-gdbad