summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-09-05 22:50:26 +0000
committerMichael Weber <xmw@gentoo.org>2010-09-05 22:50:26 +0000
commitf286590441e401d42d475e7ef51600b58b0ae741 (patch)
tree399484416e5579f983b25ce76026e9d6e3ba3f39 /net-mail/fdm
parentVersion bump KDE SC 4.5.1 (diff)
downloadgentoo-2-f286590441e401d42d475e7ef51600b58b0ae741.tar.gz
gentoo-2-f286590441e401d42d475e7ef51600b58b0ae741.tar.bz2
gentoo-2-f286590441e401d42d475e7ef51600b58b0ae741.zip
Initial import, fixes bug #163496,
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/fdm')
-rw-r--r--net-mail/fdm/ChangeLog14
-rw-r--r--net-mail/fdm/fdm-1.5.ebuild44
-rw-r--r--net-mail/fdm/fdm-1.6.ebuild46
-rw-r--r--net-mail/fdm/files/fdm-1.5-GNUmakefile.patch11
-rw-r--r--net-mail/fdm/files/fdm-1.6-GNUmakefile.patch29
-rw-r--r--net-mail/fdm/metadata.xml13
6 files changed, 157 insertions, 0 deletions
diff --git a/net-mail/fdm/ChangeLog b/net-mail/fdm/ChangeLog
new file mode 100644
index 000000000000..58b369dddf40
--- /dev/null
+++ b/net-mail/fdm/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for net-mail/fdm
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fdm/ChangeLog,v 1.1 2010/09/05 22:50:26 xmw Exp $
+
+*fdm-1.6 (05 Sep 2010)
+*fdm-1.5 (05 Sep 2010)
+
+ 05 Sep 2010; Michael Weber <xmw@gentoo.org> +fdm-1.5.ebuild,
+ +files/fdm-1.5-GNUmakefile.patch, +fdm-1.6.ebuild,
+ +files/fdm-1.6-GNUmakefile.patch, +metadata.xml:
+ Initial import, fixes bug #163496, thanks to Manuel Wächter, Paul
+ Bredbury, Maximilian Gaß, Henri Kemppainen and Dennis Schridde for the
+ original ebuilds.
+
diff --git a/net-mail/fdm/fdm-1.5.ebuild b/net-mail/fdm/fdm-1.5.ebuild
new file mode 100644
index 000000000000..1a2645833682
--- /dev/null
+++ b/net-mail/fdm/fdm-1.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fdm/fdm-1.5.ebuild,v 1.1 2010/09/05 22:50:26 xmw Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="fetch, filter and deliver mail"
+HOMEPAGE="http://fdm.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples pcre"
+
+DEPEND="dev-libs/openssl
+ sys-libs/tdb
+ pcre? ( dev-libs/libpcre )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewuser _fdm
+}
+
+src_prepare() {
+ rm Makefile || die
+ epatch "${FILESDIR}"/${P}-GNUmakefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ PCRE=$(use pcre && echo 1) || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install || die
+ dodoc CHANGES MANUAL README TODO || die
+ if use examples ; then
+ docinto examples
+ dodoc examples/* || die
+ fi
+}
diff --git a/net-mail/fdm/fdm-1.6.ebuild b/net-mail/fdm/fdm-1.6.ebuild
new file mode 100644
index 000000000000..b535edf9025d
--- /dev/null
+++ b/net-mail/fdm/fdm-1.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fdm/fdm-1.6.ebuild,v 1.1 2010/09/05 22:50:26 xmw Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="fetch, filter and deliver mail"
+HOMEPAGE="http://fdm.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="courierauth examples pcre"
+
+DEPEND="dev-libs/openssl
+ sys-libs/tdb
+ courierauth? ( net-libs/courier-authlib )
+ pcre? ( dev-libs/libpcre )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewuser _fdm
+}
+
+src_prepare() {
+ rm Makefile || die
+ epatch "${FILESDIR}"/${P}-GNUmakefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ COURIER=$(use courierauth && echo 1) \
+ PCRE=$(use pcre && echo 1) || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install || die
+ dodoc CHANGES MANUAL README TODO || die
+ if use examples ; then
+ docinto examples
+ dodoc examples/* || die
+ fi
+}
diff --git a/net-mail/fdm/files/fdm-1.5-GNUmakefile.patch b/net-mail/fdm/files/fdm-1.5-GNUmakefile.patch
new file mode 100644
index 000000000000..b607dcf9184c
--- /dev/null
+++ b/net-mail/fdm/files/fdm-1.5-GNUmakefile.patch
@@ -0,0 +1,11 @@
+--- /tmp/GNUmakefile 2010-09-06 00:39:07.912999999 +0200
++++ /var/tmp/portage/net-mail/fdm-1.5/work/fdm-1.5/GNUmakefile 2010-09-06 00:39:16.896999998 +0200
+@@ -89,7 +89,7 @@
+ all: fdm
+
+ $(PROG): $(OBJS)
+- $(CC) $(LDFLAGS) $(LIBS) -o $@ $+
++ $(CC) $(LDFLAGS) -o $@ $+ $(LIBS)
+
+ depend: $(SRCS)
+ $(CC) $(CPPFLAGS) -MM $(SRCS) > .depend
diff --git a/net-mail/fdm/files/fdm-1.6-GNUmakefile.patch b/net-mail/fdm/files/fdm-1.6-GNUmakefile.patch
new file mode 100644
index 000000000000..bbb51d056de4
--- /dev/null
+++ b/net-mail/fdm/files/fdm-1.6-GNUmakefile.patch
@@ -0,0 +1,29 @@
+--- /tmp/GNUmakefile 2010-09-06 00:35:53.502999999 +0200
++++ /var/tmp/portage/net-mail/fdm-1.6/work/fdm-1.6/GNUmakefile 2010-09-06 00:36:01.059000000 +0200
+@@ -16,7 +16,7 @@
+ CC= gcc
+
+ INCDIRS= -I$(PREFIX)/include
+-LDFLAGS= -L$(PREFIX)/lib
++LDFLAGS+= -L$(PREFIX)/lib
+
+ ifeq ($(shell uname),SunOS)
+ YACC= yacc
+@@ -89,7 +89,7 @@
+
+ ifdef COURIER
+ CFLAGS+= -DLOOKUP_COURIER
+-LIBS+= -lcourierauth
++LIBS+= -L/usr/lib64/courier-authlib -lcourierauth
+ endif
+
+ ifdef PCRE
+@@ -104,7 +104,7 @@
+ all: fdm
+
+ $(PROG): $(OBJS)
+- $(CC) $(LDFLAGS) $(LIBS) -o $@ $+
++ $(CC) $(LDFLAGS) -o $@ $+ $(LIBS)
+
+ depend: $(SRCS)
+ $(CC) $(CPPFLAGS) -MM $(SRCS) > .depend
diff --git a/net-mail/fdm/metadata.xml b/net-mail/fdm/metadata.xml
new file mode 100644
index 000000000000..5f2935af209f
--- /dev/null
+++ b/net-mail/fdm/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd></herd>
+<maintainer>
+<email>gentoo@xmw.de</email>
+<name>Michael Weber</name>
+</maintainer>
+<use>
+ <flag name='courierauth'>Add support for Courier authentication library</flag>
+</use>
+</pkgmetadata>
+