ChangeLog

# ChangeLog for net-mail/ezmlm-idx
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ChangeLog,v 1.18 2008/05/19 20:18:53 dev-zero Exp $

19 May 2008; Tiziano Müller ezmlm-idx-6.0.0.ebuild:
Changed dependency for postgresql to virtual/postgresql-base

*ezmlm-idx-6.0.0 (16 Sep 2007)

16 Sep 2007; Benedikt Böhm +ezmlm-idx-6.0.0.ebuild:
version bump; fixes #47668, #83606 and #152503

23 Nov 2006; Francesco Riosa ezmlm-idx-0.40-r2.ebuild:
dev-db/mysql => virtual/mysql

20 Feb 2006; Michael Hanselmann
ezmlm-idx-0.40-r2.ebuild:
Changed to virtual/qmail. Stable on amd64, hppa, mips, sparc.

24 Apr 2005; Michael Hanselmann
ezmlm-idx-0.40-r2.ebuild:
Stable on ppc.

18 Jun 2004; Michael Sterrett
ezmlm-idx-0.40-r2.ebuild:
PROVIDE is for virtuals

22 Feb 2004; Aron Griffis ezmlm-idx-0.40-r2.ebuild:
Remove arm keywords

20 Sep 2003; Robin H. Johnson ezmlm-idx-0.40-r2.ebuild:
fix head -1 bug

31 Jul 2003; Tavis Ormandy ezmlm-idx-0.40-r2.ebuild:
stable on alpha

19 Jul 2003; Tavis Ormandy ezmlm-idx-0.40-r2.ebuild:
marking ~alpha

08 June 2003; Jack Morgan ezmlm-idx-0.40-r2.ebuild:
added ~sparc keyword

*ezmlm-idx-0.40-r2 (30 Nov 2002)

09 Apr 2003; Alastair Tse ezmlm-idx-0.40-r2.ebuild:
added ~ppc keyword. See #18843.

08 Apr 2003; Alastair Tse ezmlm-idx-0.40-r2.ebuild:
errno fix for glibc-2.3.2. thanks to Sebastian Klemke .

30 Nov 2002; Daniel Robbins : Added Ed Korthof's
From: header patch to fix some issues we're experiencing on gentoo.org;
should be helpful for others as well.

*ezmlm-idx-0.40-r1 (02 Nov 2002)

02 Nov 2002; Daniel Robbins : Build fixes; rc files
now in /etc/ezmlm, and hard-coded ${D} paths removed from binaries.

*ezmlm-idx-0.40 (16 Oct 2002)

16 Oct 2002; Daniel Robbins : Initial release -- this
ebuild is a 3-in-1 with support for ezmlm-idx, ezmlm-idx-mysql and
ezmlm-idx-pgsql packages and all three of these ebuilds should be kept
in-sync.

Manifest

AUX ezmlm-0.53-errno.patch 270 RMD160 71c3c288a938c28d1997012a687edfb2db70b316 SHA1 53d30d27ab589d861a46b963c06e79febe984b20 SHA256 9f40f040572e508c8265aed704952cf017a55bae2523180d114901cdb842f618
AUX from-header.patch 6165 RMD160 581737fce527926494ff96242aa4272d29c0f865 SHA1 64003a086ed24090de11cf30204e899c270fbe91 SHA256 41dee44313a01c324dd5b0f31b0b1cd799f9472d3f15c958ba7cf07e7e706961
AUX get_header.c 3486 RMD160 f12a2cc9021b3e7ef4e482476bd4b22dc97e4001 SHA1 c834092fcd2b73f50f2b4e84f5058ff5dd9e539c SHA256 71774bebea33c7fc3937762ee89f71fbdfca40680d110d01ff97f769d7a288b8
AUX get_header.h 101 RMD160 91951b40ed0f6fc78f8f957107bd83c76292357c SHA1 f0dca69b4b3a4ff2bcd7bbb1db54c346ddfd339d SHA256 6db2744bcaa622a34d8b6f7f5e061fca190fd8ec9263687cadec28c60ac7de4e
DIST ezmlm-0.53.tar.gz 62693 RMD160 6d366de2d7028a984ba454f1bec9d2d9f495c88b SHA1 3a7b618737fed8b774bec69c272d70f4142c1e30 SHA256 9639c3a5cc49d417f30e6cd7d8c5e2c6945262953c143134035889d8aa1004b9
DIST ezmlm-idx-0.40.tar.gz 553974 RMD160 e8131819d89259f83b870a39c18f9528c39c30b0 SHA1 8a4db55624e6949e57ac8f243f0078b46516cf77 SHA256 d205c466b11d07c0f1e093d3c7ca9204e06a518cbf7dfcd290f232875f92a1e0
DIST ezmlm-idx-6.0.0.tar.gz 659996 RMD160 1c875dfb16191cc018d0c56ac627db918a220d05 SHA1 2213fe399463a32b0644dbe1cad9c5e8e0d96754 SHA256 625b2e54818e694c04a4c8d32bd0e382867df29a147067073a8cdb9b252aa54e
EBUILD ezmlm-idx-0.40-r2.ebuild 2459 RMD160 631b59a291c8072b3f6e1f22e090cd4c98c20119 SHA1 2425e61a1a032a77c2b498079b0e5507306a269c SHA256 e51d65d4a44ffabf56f204f2d0323f9d9e693ae6f1c87609651e517c3e48326b
EBUILD ezmlm-idx-6.0.0.ebuild 1862 RMD160 f80a9ad5b2ff2de51d9e1a17a0b3216a101cced2 SHA1 a20697dfec45500e84c6ee80c3c69c74dc51e206 SHA256 2bb742e5b31da4b092f710569283ee4121b089afc8ce26433b1726ecef75c1b4
MISC ChangeLog 2386 RMD160 33b0a7170c063fb4d915ba285400ef4d15988d49 SHA1 3dfe3d1de74d6e59319bd89ccacfb6b29e33311b SHA256 60806e243d79c14883cf985dab94d4b6a7b5c5b4d9b1244df18704a4866983ff
MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32

ezmlm-idx-0.40-r2.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-0.40-r2.ebuild,v 1.18 2006/11/23 16:04:43 vivo Exp $

# NOTE: ezmlm-idx, ezmlm-idx-mysql and ezmlm-idx-pgsql all supported by this single ebuild
# (Please keep them in sync)

inherit eutils fixheadtails

PB=ezmlm-idx
EZMLM_P=ezmlm-0.53

S2=${WORKDIR}/${PB}-${PV}
S=${WORKDIR}/${EZMLM_P}
DESCRIPTION="Simple yet powerful mailing list manager for qmail."
SRC_URI="
http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/${PB}-${PV}.tar.gz
http://cr.yp.to/software/${EZMLM_P}.tar.gz
"
HOMEPAGE="http://www.ezmlm.org"
SLOT="0"
LICENSE="as-is"
KEYWORDS="alpha amd64 hppa mips ppc sparc x86"
IUSE=""
DEPEND="sys-apps/grep sys-apps/groff"
RDEPEND="virtual/qmail"

if [ "$PN" = "${PB}-pgsql" ]
then
DEPEND="$DEPEND dev-db/postgresql"
RDEPEND="$RDEPEND dev-db/postgresql"
elif [ "$PN" = "${PB}-mysql" ]
then
DEPEND="$DEPEND virtual/mysql"
RDEPEND="$RDEPEND virtual/mysql"
fi

src_unpack() {
unpack ${A}
cd ${S2}
mv ${S2}/* ${S} || die

cd ${S}
patch < idx.patch || die
#remove cat-man pages
cp MAN MAN.orig
cat MAN.orig | grep -v cat > MAN
echo "/usr/bin" > conf-bin
echo "/usr/share/man" > conf-man
echo "gcc ${CFLAGS}" > conf-cc
echo "gcc" > conf-ld
#tweak the install to go to ${D}
cp Makefile Makefile.orig
sed -e "s:/install.*conf-bin\`\":/install ${D}usr/bin:" \
-e "s:/install.*conf-man\`\":/install ${D}usr/share/man:" Makefile.orig > Makefile
#apply patch from Ed Korthof (edk@collab.net) that allows ezmlm-issub and ezmlm-gate
#to check against the From: header as well as qmail's SENDER variable, which is set
#from the envelope sender and often reflects the local MTA rather than the user's
#"official" email address... enable this option by using "-f" with ezmlm-issub and/or
#ezmlm-gate.
cp ${FILESDIR}/get_header.[ch] . || die
patch < ${FILESDIR}/from-header.patch || die
echo ">>> Successfully applied Ed Korthof's From: header patch."
epatch ${FILESDIR}/${EZMLM_P}-errno.patch
ht_fix_file default.do ezmlm-test.sh setup.do auto_qmail.c.do auto_bin.c.do Makefile
}

src_compile() {
cd ${S}
if [ "$PN" = "${PB}-pgsql" ]
then
make pgsql
elif [ "$PN" = "${PB}-mysql" ]
then
make mysql
fi
emake || die
}

src_install () {
install -d ${D}/usr/bin ${D}/usr/share/man ${D}/etc/ezmlm
make setup || die
mv ${D}/usr/bin/ez*rc ${D}/etc/ezmlm
}

ezmlm-idx-6.0.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild,v 1.2 2008/05/19 20:18:53 dev-zero Exp $

EZMLM_P=ezmlm-0.53

inherit eutils fixheadtails

DESCRIPTION="Simple yet powerful mailing list manager for qmail"
HOMEPAGE="http://www.ezmlm.org"
SRC_URI="http://cr.yp.to/software/${EZMLM_P}.tar.gz
http://www.ezmlm.org/archive/${PV}/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
IUSE="mysql postgres"

DEPEND="
mysql? ( virtual/mysql )
postgres? ( virtual/postgresql-base )
"
RDEPEND="${DEPEND}
virtual/qmail"

S="${WORKDIR}"/${EZMLM_P}

pkg_setup() {
if use mysql && use postgres; then
die "cannot build mysql and pgsql support at the same time"
fi
}

src_unpack() {
unpack ${A}
mv "${WORKDIR}"/${P}/* "${S}" || die
cd "${S}"

epatch "${S}"/idx.patch

ht_fix_file Makefile

echo /usr/bin > conf-bin
echo /usr/lib/ezmlm > conf-lib
echo /etc/ezmlm > conf-etc
echo /usr/share/man > conf-man
echo /var/qmail > conf-qmail

echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc
echo $(tc-getCC) ${CFLAGS} > conf-ld

# fix DESTDIR and skip cat man-pages
sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \
-e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \
-e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \
-i Makefile

# ezmlm-mktab-{my|pg}sql may or may not be made
sed -i -e "s/\(^.*mktab\)/?\1/" BIN
}

src_compile() {
emake it man || die "make failed"

if use mysql; then
emake mysql || die "make mysql failed"
elif use postgres; then
emake pgsql || die "make pgsql failed"
fi
}

src_install () {
dodir /usr/bin /usr/lib/ezmlm /etc/ezmlm /usr/share/man
dobin ezmlm-cgi

make DESTDIR="${D}" setup || die "make setup failed"
}

files

metadata.xml




net-mail