diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/qmail-autoresponder |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/qmail-autoresponder')
5 files changed, 144 insertions, 0 deletions
diff --git a/net-mail/qmail-autoresponder/Manifest b/net-mail/qmail-autoresponder/Manifest new file mode 100644 index 000000000000..e428f5022b33 --- /dev/null +++ b/net-mail/qmail-autoresponder/Manifest @@ -0,0 +1,7 @@ +AUX qmail-autoresponder-0.97-remove-mysql.h.diff 347 SHA256 52fc2742320ee48d96f227861bde605073e163dae8f594c262fbaea0e93ff4dd SHA512 fa1ae38b8c61c1a67c20653b4e19e48946c140496d7380f918818bc18171de36762c70fc664947a22d0fb479f224d16bb2741374e8813ac46768178e3285f7d5 WHIRLPOOL f26c8cb4854cc6ef985502b84a66eb592a4111dd90ee34e2fdc0cc5df85e51ad35ab07e9d73fb388876795a92523dc39533d74aecec4b7cc730331e46ff8ef91 +DIST qmail-autoresponder-0.97.tar.gz 28158 SHA256 445a36f10dd4c0af3608c9d546f3b2aad48870bffe35db31ea5dcb857abf699c SHA512 02bc3afd7a13c9494913986d34c641804c731e26207d32aeff5de36fdbd872d6361872e7ab583d5df1e34fe2a7a35b621337974a2cc71a3283de22f0e6f60916 WHIRLPOOL a87cdb5e635f828ff9a2e54f06fa276a794efc94067aa051da5bfec4f5c6f35230a8117f98e419da63455dbab339a154e3f29d0573834f75084dd1961751884a +EBUILD qmail-autoresponder-0.97-r1.ebuild 1370 SHA256 eb498d58d2682062ee971cd13e8e02693e662a78e201222497da24b42358b7ae SHA512 5c21559ea633760e0e400fc58f766446e3d597d12a390439decbf672f1a1145f56e3fa781832b002e96c8f44a6abd12b27615b2ca83a6927206514d6b3a122df WHIRLPOOL 56cbf074839a83d7674a15c51e0a585a4a6608e7f02e8fd44af83fddf2b75c51588f5652c7a47af5a9a4a23dca5fe3d219bcca6536725757ae08f971888a1a25 +EBUILD qmail-autoresponder-0.97-r2.ebuild 1395 SHA256 36d1bd66480d4a0243f5ed79de39bd8bf1e7155634fae1f873a68513993fa3d9 SHA512 f0cc65782ca072265c8f498cc0050ee12f0350501d93e28ba29ae2da10b51512f28f4d95132fa09d90c3e5187010b50c6b0a24036e6d3d685b1c2d54c18d68f5 WHIRLPOOL f52bca40488858f9d8773789f8b8ea84fe9f9f8f448c229c787b3a2751b706f0bcda9d81517cdb8b4c068c04b6169ad5c3f27f55e4b8bfff914596786fde63f8 +MISC ChangeLog 2602 SHA256 5c2fb04b73683dd7b41cf539b24dac55cb1f05c8b2a55b926b5f6a322be3ba50 SHA512 4a6dc305d125706d870597aa3d9cffbeb2dece47aa60514a7ebb7cd981d11df03aacd54244304893a3622b52a9a4ddf7913893baa1dfaac7bb20e3a69c583be3 WHIRLPOOL 6adcaf2480907fd6848296ef400606f3bd09789973d6247f15dc47248a791e14a0fb772aa3d10ad9c57ee412c83816a5a79ddf514f7ebfac10f2b5ee4068cf66 +MISC ChangeLog-2015 6740 SHA256 ecb1247d7190243254d7c4bb87b1e07b94a6b76acf3ae1a2a605740c0188d7a1 SHA512 b033649c3479f5205b1d457a6522a463e5609ddfbd699bc803af71a5d0ef5ae31ff91ff11cf147b81dcba12592a6774316636717a6bdd8bbcdd032add5da69e3 WHIRLPOOL be8a2f94e33478c2c57e9ec4f7b0ae69a99c4a7e5d0a36e807dae8482d67c58598c7f6791880fb7813639ad77af8ec323563a96e4c860a1de73e189ca8656ba8 +MISC metadata.xml 489 SHA256 6ba6829a4825eb3511794be34bc43efbddf9bc92425050daf4e3377732da54ee SHA512 de41d320e5c5efa4aaae8cc862990179bca55069f3ec37a4633af610729d37f39a4bdcfdb6797c940f1920b2475e575fe55e12230a1ad993e65464fc37a5faeb WHIRLPOOL a17af8a031070e0441f300344526cb8b7eb6762b67b43408971d8998cb8a50a9e2fa432830313fc3fb12d5e261131ed79f0e6dda3e660c5b9cc35833c9d5ed2b diff --git a/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.97-remove-mysql.h.diff b/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.97-remove-mysql.h.diff new file mode 100644 index 000000000000..be33e047b16a --- /dev/null +++ b/net-mail/qmail-autoresponder/files/qmail-autoresponder-0.97-remove-mysql.h.diff @@ -0,0 +1,8 @@ +diff -Naur qmail-autoresponder-0.97.orig/options.c qmail-autoresponder-0.97/options.c +--- qmail-autoresponder-0.97.orig/options.c 2009-09-26 22:45:17.000000000 +0200 ++++ qmail-autoresponder-0.97/options.c 2009-09-26 22:46:07.000000000 +0200 +@@ -1,4 +1,3 @@ +-#include <mysql/mysql.h> + #include <stdlib.h> + #include <string.h> + #include <str/str.h> diff --git a/net-mail/qmail-autoresponder/metadata.xml b/net-mail/qmail-autoresponder/metadata.xml new file mode 100644 index 000000000000..6b25c3daa7b3 --- /dev/null +++ b/net-mail/qmail-autoresponder/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>net-mail@gentoo.org</email> + <name>Net-Mail</name> +</maintainer> +<longdescription lang="en"> +This is a simple program to automatically respond to emails. + +It is based on some ideas (but little or no code) from a similar +autoresponder by Eric Huss, and ideas presented +on the qmail mailing list. +</longdescription> +</pkgmetadata> diff --git a/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r1.ebuild b/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r1.ebuild new file mode 100644 index 000000000000..d7c0c1da018e --- /dev/null +++ b/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit toolchain-funcs eutils + +DESCRIPTION="Rate-limited autoresponder for qmail" +HOMEPAGE="http://untroubled.org/qmail-autoresponder/" +SRC_URI="http://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-1.022 + mysql? ( virtual/mysql )" +RDEPEND=" + ${DEPEND} + virtual/qmail + mysql? ( virtual/mysql ) +" + +src_prepare() { + use mysql || epatch "${FILESDIR}/${PN}-0.97-remove-mysql.h.diff" +} + +src_configure() { + echo "/usr/include/bglibs" > conf-bgincs + echo "/usr/lib/bglibs" > conf-bglibs + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld +} + +src_compile() { + # fails on parallel builds! + make qmail-autoresponder || die "Failed to make qmail-autoresponder" + if use mysql; then + make qmail-autoresponder-mysql || die "Failed to make qmail-autoresponder-mysql" + fi +} + +src_install () { + dobin qmail-autoresponder || die + doman qmail-autoresponder.1 + if use mysql; then + dobin qmail-autoresponder-mysql || die + dodoc schema.mysql + fi + + dodoc ANNOUNCEMENT NEWS README TODO ChangeLog procedure.txt +} + +pkg_postinst() { + elog "Please see the README file in /usr/share/doc/${PF}/ for per-user configurations." +} diff --git a/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r2.ebuild b/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r2.ebuild new file mode 100644 index 000000000000..6950af0af69c --- /dev/null +++ b/net-mail/qmail-autoresponder/qmail-autoresponder-0.97-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit toolchain-funcs eutils multilib + +DESCRIPTION="Rate-limited autoresponder for qmail" +HOMEPAGE="http://untroubled.org/qmail-autoresponder/" +SRC_URI="http://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-1.106 + mysql? ( virtual/mysql )" +RDEPEND=" + ${DEPEND} + virtual/qmail + mysql? ( virtual/mysql ) +" + +src_prepare() { + use mysql || epatch "${FILESDIR}/${PN}-0.97-remove-mysql.h.diff" +} + +src_configure() { + echo "/usr/include/bglibs" > conf-bgincs + echo "/usr/$(get_libdir)/bglibs" > conf-bglibs + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld +} + +src_compile() { + # fails on parallel builds! + make qmail-autoresponder || die "Failed to make qmail-autoresponder" + if use mysql; then + make qmail-autoresponder-mysql || die "Failed to make qmail-autoresponder-mysql" + fi +} + +src_install () { + dobin qmail-autoresponder || die + doman qmail-autoresponder.1 + if use mysql; then + dobin qmail-autoresponder-mysql || die + dodoc schema.mysql + fi + + dodoc ANNOUNCEMENT NEWS README TODO ChangeLog procedure.txt +} + +pkg_postinst() { + elog "Please see the README file in /usr/share/doc/${PF}/ for per-user configurations." +} |