summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Barisani <lcars@gentoo.org>2006-05-20 19:05:50 +0000
committerAndrea Barisani <lcars@gentoo.org>2006-05-20 19:05:50 +0000
commit194509b2519879d28c629139a2fb1f25c299e24d (patch)
tree02d2e7c574c9386d5314b3d63e155514f0a858b6 /net-mail
parentAdded deprecation notice to the 2005.0 profile. (diff)
downloadgentoo-2-194509b2519879d28c629139a2fb1f25c299e24d.tar.gz
gentoo-2-194509b2519879d28c629139a2fb1f25c299e24d.tar.bz2
gentoo-2-194509b2519879d28c629139a2fb1f25c299e24d.zip
new revision
(Portage version: 2.0.54-r2)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mlmmj/Manifest3
-rw-r--r--net-mail/mlmmj/files/digest-mlmmj-1.2.11-r11
-rw-r--r--net-mail/mlmmj/files/mlmmj-1.2.11_subscriber_mmap.patch14
-rw-r--r--net-mail/mlmmj/mlmmj-1.2.11-r1.ebuild56
4 files changed, 74 insertions, 0 deletions
diff --git a/net-mail/mlmmj/Manifest b/net-mail/mlmmj/Manifest
index cb7c0d676cd1..c3da102ca372 100644
--- a/net-mail/mlmmj/Manifest
+++ b/net-mail/mlmmj/Manifest
@@ -1,11 +1,14 @@
MD5 40e55aeb5ba399b2e0c59af6de11e24d ChangeLog 2329
MD5 b09a0acfdbc519a35cd745a1985b0c64 files/digest-mlmmj-1.2.10 65
MD5 54a5822acdf4ca5120e368c3ae3cfa9a files/digest-mlmmj-1.2.11 65
+MD5 54a5822acdf4ca5120e368c3ae3cfa9a files/digest-mlmmj-1.2.11-r1 65
MD5 3d478a8501663e79fe507fb84e9d3646 files/digest-mlmmj-1.2.4 64
MD5 148c3ccf8d042dc7795494252c18b6d3 files/digest-mlmmj-1.2.8 64
MD5 ffdaec334886d6cfd838234bbee94f23 files/digest-mlmmj-1.2.9 64
+MD5 5e42a66609c2212bb45affb7df2aee92 files/mlmmj-1.2.11_subscriber_mmap.patch 397
MD5 30223d14708305de61bb24584b66bd87 metadata.xml 285
MD5 05b1445bece484ee4b1944fba6695767 mlmmj-1.2.10.ebuild 1218
+MD5 a47e487d329d2fb908d6783968adcf0d mlmmj-1.2.11-r1.ebuild 1330
MD5 91bbdcb7e3211cd2fb59c4f911ea2677 mlmmj-1.2.11.ebuild 1218
MD5 c15c446c91bb367386ebe1366f3975a6 mlmmj-1.2.4.ebuild 1166
MD5 063d6badc975a243000876d7514bb673 mlmmj-1.2.8.ebuild 1165
diff --git a/net-mail/mlmmj/files/digest-mlmmj-1.2.11-r1 b/net-mail/mlmmj/files/digest-mlmmj-1.2.11-r1
new file mode 100644
index 000000000000..95868da8ef7c
--- /dev/null
+++ b/net-mail/mlmmj/files/digest-mlmmj-1.2.11-r1
@@ -0,0 +1 @@
+MD5 dac2f49183225ec750a0d69952b66275 mlmmj-1.2.11.tar.bz2 143586
diff --git a/net-mail/mlmmj/files/mlmmj-1.2.11_subscriber_mmap.patch b/net-mail/mlmmj/files/mlmmj-1.2.11_subscriber_mmap.patch
new file mode 100644
index 000000000000..4a14b6e804e2
--- /dev/null
+++ b/net-mail/mlmmj/files/mlmmj-1.2.11_subscriber_mmap.patch
@@ -0,0 +1,14 @@
+Index: src/subscriberfuncs.c
+===================================================================
+--- src/subscriberfuncs.c.orig
++++ src/subscriberfuncs.c
+@@ -51,6 +51,9 @@ off_t find_subscriber(int fd, const char
+ return (off_t)-1;
+ }
+
++ if(st.st_size == 0)
++ return (off_t)-1;
++
+ if(!S_ISREG(st.st_mode)) {
+ log_error(LOG_ARGS, "Non regular file in subscribers.d/");
+ return (off_t)-1;
diff --git a/net-mail/mlmmj/mlmmj-1.2.11-r1.ebuild b/net-mail/mlmmj/mlmmj-1.2.11-r1.ebuild
new file mode 100644
index 000000000000..e7a87c0dff31
--- /dev/null
+++ b/net-mail/mlmmj/mlmmj-1.2.11-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mlmmj/mlmmj-1.2.11-r1.ebuild,v 1.1 2006/05/20 19:05:50 lcars 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}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/mlmmj-1.2.11_subscriber_mmap.patch #bug 117092
+}
+
+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 COPYING FAQ LICENSE 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 *
+}
+
+pkg_postinst() {
+ einfo "mlmmj comes with serveral webinterfaces:"
+ einfo "- One for user subscribing/unsubscribing"
+ einfo "- One for admin tasks"
+ einfo "both available in a php and perl module."
+ einfo "For more info have a look in /usr/share/mlmmj"
+}