summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2019-05-23 13:19:56 +0300
committerStefan Strogin <steils@gentoo.org>2019-05-23 13:26:04 +0300
commit31a069dc628006b49e2f2320ad5dc13541071df9 (patch)
treeba295ac20faa4c56204dc9fe921c5ac40749f73e /net-mail
parentdev-db/pgpool2: use HTTPS (diff)
downloadgentoo-31a069dc628006b49e2f2320ad5dc13541071df9.tar.gz
gentoo-31a069dc628006b49e2f2320ad5dc13541071df9.tar.bz2
gentoo-31a069dc628006b49e2f2320ad5dc13541071df9.zip
net-mail/qmail-autoresponder: bump version to 2.0
Temporarily mask it since it depends on masked >=dev-libs/bglibs-2.04. Closes: https://bugs.gentoo.org/685294 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/qmail-autoresponder/Manifest1
-rw-r--r--net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/net-mail/qmail-autoresponder/Manifest b/net-mail/qmail-autoresponder/Manifest
index 6abce5a7d922..b046daa6407c 100644
--- a/net-mail/qmail-autoresponder/Manifest
+++ b/net-mail/qmail-autoresponder/Manifest
@@ -1 +1,2 @@
DIST qmail-autoresponder-0.97.tar.gz 28158 BLAKE2B b8659f2fd7201a8479b34a43afbbe2efff6a9a72a00167429926564a6323f385b03c3e45c420ac4cea63f52612f9da7acfeacb679f046e1f9019262a9196eb57 SHA512 02bc3afd7a13c9494913986d34c641804c731e26207d32aeff5de36fdbd872d6361872e7ab583d5df1e34fe2a7a35b621337974a2cc71a3283de22f0e6f60916
+DIST qmail-autoresponder-2.0.tar.gz 35463 BLAKE2B 1aa724dd2b0fab0ad62136ea4ef9b65fbb2f3ab567c5dc5676c2be3f52969fa9ebd0b5d0997362a47312efadd97898d56c0721f0f430b51f52cfd6357417fd40 SHA512 d1223b65453cb7c88de5b22a20a961441810e6db1d80ca976599b88cc5771602a678599354b11586e56273c02502b621cfffb610e9ff33632e4a7d7c28766ccb
diff --git a/net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild b/net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild
new file mode 100644
index 000000000000..623cf77ed841
--- /dev/null
+++ b/net-mail/qmail-autoresponder/qmail-autoresponder-2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Rate-limited autoresponder for qmail"
+HOMEPAGE="https://untroubled.org/qmail-autoresponder/"
+SRC_URI="https://untroubled.org/qmail-autoresponder/archive/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="mysql"
+
+DEPEND=">=dev-libs/bglibs-2.04
+ mysql? ( dev-db/mysql-connector-c:0= )"
+RDEPEND="${DEPEND}
+ virtual/qmail
+ mysql? ( virtual/mysql )"
+
+src_configure() {
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
+}
+
+src_compile() {
+ emake qmail-autoresponder
+ if use mysql; then
+ emake qmail-autoresponder-mysql
+ fi
+}
+
+src_install () {
+ dobin qmail-autoresponder
+ doman qmail-autoresponder.1
+ if use mysql; then
+ dobin qmail-autoresponder-mysql
+ doman qmail-autoresponder-mysql.1
+ dodoc schema.mysql
+ fi
+
+ dodoc ANNOUNCEMENT NEWS README TODO ChangeLog procedure.txt
+}