Lars Strojny
A keks * initial commit
Lars Strojny commited 8c4e5b8 at 2006-12-17 11:28:02
mailman-2.1.9.ebuild
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.9_rc1.ebuild,v 1.5 2006/09/11 14:24:36 tcort Exp $
inherit eutils depend.apache
IUSE="apache2 postfix sendmail qmail courier exim xmail"
DESCRIPTION="A python-based mailing list server with an extensive web interface"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
HOMEPAGE="http://www.list.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc ~sparc ~x86"
DEPEND=">=dev-lang/python-2.3
virtual/mta
|| ( net-www/apache www-servers/lighttpd )"
INSTALLDIR="/home/.internal/mailman"
APACHEGID="1280"
if use postfix; then
MAILGID="1280"
elif use sendmail; then
MAILGID=daemon
elif use qmail; then
MAILGID="1280"
elif use courier; then
MAILGID=mail
elif use exim; then
MAILGID=mail
elif use xmail; then
MAILGID=xmail
else
MAILGID="1280"
fi
S=${WORKDIR}/${P}
pkg_setup() {
# Bug #58526: switch to enew{group,user}.
# need to add mailman here for compile process.
# Duplicated at pkg_postinst() for binary install.
enewgroup mailman 1280
enewuser mailman 1280 /bin/bash ${INSTALLDIR} mailman -G cron -c mailman
mkdir -p ${INSTALLDIR}
chown mailman:mailman ${INSTALLDIR}
chmod 2775 ${INSTALLDIR}
}
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX