summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-01-09 08:25:59 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-01-09 08:25:59 +0000
commit89ad5832abc54593df11cbba3b0ae987a195a5b8 (patch)
treef5ebb050816f02d47e831cf1e80060311b619b22 /net-mail/mlmmj/mlmmj-1.2.15-r1.ebuild
parentVersion bump. (diff)
downloadhistorical-89ad5832abc54593df11cbba3b0ae987a195a5b8.tar.gz
historical-89ad5832abc54593df11cbba3b0ae987a195a5b8.tar.bz2
historical-89ad5832abc54593df11cbba3b0ae987a195a5b8.zip
Hopefully fix bug 141904 that is causing mail loss on the Gentoo lists.
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'net-mail/mlmmj/mlmmj-1.2.15-r1.ebuild')
-rw-r--r--net-mail/mlmmj/mlmmj-1.2.15-r1.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/net-mail/mlmmj/mlmmj-1.2.15-r1.ebuild b/net-mail/mlmmj/mlmmj-1.2.15-r1.ebuild
new file mode 100644
index 000000000000..db46d144d1ec
--- /dev/null
+++ b/net-mail/mlmmj/mlmmj-1.2.15-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mlmmj/mlmmj-1.2.15-r1.ebuild,v 1.1 2008/01/09 08:25:58 robbat2 Exp $
+
+inherit eutils
+
+MY_PV="${PV/_rc/-RC}"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="Mailing list managing made joyful"
+HOMEPAGE="http://mlmmj.mmj.dk/"
+SRC_URI="http://mlmmj.mmj.dk/files/${MY_P}.tar.bz2"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~ppc-macos ~amd64"
+IUSE=""
+DEPEND="virtual/mta"
+#RDEPEND=""
+S="${WORKDIR}/${MY_P}"
+SHAREDIR="/usr/share/mlmmj"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}_mmap_zero_byte.patch
+ cd "${S}"
+ for i in "${S}" "${S}"/contrib/recievestrip ; do
+ pushd "${i}"
+ # Ignore errors
+ emake -j1 distclean 2>/dev/null 1>/dev/null
+ popd
+ done
+}
+
+src_compile() {
+ econf
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ dodir ${SHAREDIR}
+ dodir ${SHAREDIR}/texts
+ insinto ${SHAREDIR}/texts
+ doins listtexts/*
+
+ dodoc AUTHORS ChangeLog FAQ README
+ dodoc TODO TUNABLES UPGRADE VERSION README.access
+ dodoc README.sendmail README.exim4 README.security
+
+ insinto /usr/share/mlmmj
+ cd "${S}"/contrib/web
+ doins -r *
+
+ dobin "${S}"/contrib/recievestrip
+}
+
+pkg_postinst() {
+ elog "mlmmj comes with serveral webinterfaces:"
+ elog "- One for user subscribing/unsubscribing"
+ elog "- One for admin tasks"
+ elog "both available in a php and perl module."
+ elog "For more info have a look in /usr/share/mlmmj"
+}