Portage is a package management system used by Gentoo Linux
# ChangeLog for net-mail/ezmlm-idx-pgsql
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/ezmlm-idx-pgsql/ChangeLog,v 1.10 2008/05/21 18:58:31 dev-zero Exp $
21 May 2008; Tiziano Müller
ezmlm-idx-pgsql-0.40-r2.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server
23 Nov 2006; Francesco Riosa
ezmlm-idx-pgsql-0.40-r2.ebuild:
dev-db/mysql => virtual/mysql
20 Feb 2006; Michael Hanselmann
-ezmlm-idx-pgsql-0.40.ebuild, ezmlm-idx-pgsql-0.40-r2.ebuild:
Removed old version, synched to net-mail/ezmlm-idx, stable.
18 Jun 2004; Michael Sterrett
ezmlm-idx-pgsql-0.40-r2.ebuild, ezmlm-idx-pgsql-0.40.ebuild:
PROVIDE is for virtuals
22 Feb 2004; Aron Griffis
ezmlm-idx-pgsql-0.40-r2.ebuild:
Remove arm keywords
20 Sep 2003; Robin H. Johnson
ezmlm-idx-pgsql-0.40-r2.ebuild:
fix head -1 bug
*ezmlm-idx-pgsql-0.40-r2 (09 Apr 2003)
09 Apr 2003; Alastair Tse
ezmlm-idx-pgsql-0.40-r2.ebuild, files/ezmlm-0.53-errno.patch,
files/from-header.patch, files/get_header.c, files/get_header.h:
syncing with ezmlm-idx*
*ezmlm-idx-pgsql-0.40 (16 Oct 2002)
16 Oct 2002; Daniel Robbins
net-mail/ezmlm-idx, of which this is a clone (and should be kept in-sync with
the ezmlm-idx ebuid.)
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
EBUILD ezmlm-idx-pgsql-0.40-r2.ebuild 2491 RMD160 0f62606fdc43b54c3f07390f984c6e58b330e6de SHA1 26278ac9ec402013ed257da575c92feec51a2047 SHA256 d708c2a75284714b67392236a219da95849ca1b2821cbe21e23e0697b4c82762
MISC ChangeLog 1519 RMD160 35eab5c4b6ae3b528acc671b95eb2fd0c0c001c3 SHA1 f239d3cbe05fcb6753e3733b872018ee98458f9e SHA256 bc15e8a30f53fb653b947a21710c441da908021569beefaa9b7b56ee8a4c27e8
MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32
# 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-pgsql/ezmlm-idx-pgsql-0.40-r2.ebuild,v 1.12 2008/05/21 18:58:31 dev-zero 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 virtual/postgresql-server"
RDEPEND="$RDEPEND virtual/postgresql-server"
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
}