mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
net-mail/qmailadmin: drop old EAPI
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST qmailadmin-1.2.10.tar.gz 390150 BLAKE2B 0c221e7abef7d2ae73a55598005d8bbd4d0bb96d51603867ff72fe396bc345c6c87a3c533c5f1db1658db17b7fd46630facfc8ae00c8e588bc8a350e0ea5588a SHA512 43dcd55b9b3458896398eada9a7d0b513cce5bde6edecb8ae54b6519509361dfab18c7600a3f94ff141b4a3b824e93b4a88a5db3e5a8980ddabf2e6dda8cfb47
|
||||
DIST qmailadmin-1.2.12.tar.gz 400144 BLAKE2B 0b4065421cf60bc2328ac11db38294faf9301630927c6955b73604e90fb72db7c924f153e07769689339f1d3937407704d35e8dbf29b0fd5fda935533cad1320 SHA512 9fea49c3cab31606b37b9b827cd21ee852267e8c5555d96c48d52fc8388d7a3a862384cf18211c89c34525b84f866fa371a70a88386309e32dde1d7d8bb5b3ed
|
||||
DIST qmailadmin-1.2.15.tar.gz 385529 BLAKE2B 2bd4f86d157c577f410e44ec8c8c7df25d654b1dbf0621e52c167067bf72ce04bc7b03230c2517e97c14bd4f5bb3354da23d9794faafc7d3d007476c7b98dfdb SHA512 0cf32916bd6ef47fce091d4a92203fb8b80e0c3349cf8af826c047ba778e7992bcb98002023219648c7aa1ab60fbb052d4726f12f44d68647e657fb3760b8347
|
||||
DIST qmailadmin-1.2.16.tar.gz 388689 BLAKE2B 713fbf862eb19940801394b85371f7249ab31528891356b226ba88b55ecd3027f0cdcd08b10a1eb1a4b93355b4bf948dae96d34dbfb3a1df3c3291fe5a8ddb8d SHA512 4afa18461d8bb91e7075f08f00f3e1ef030a01381d049e122d4c234f2b6db9884d4426e9f4c61d5257e55786228741a3b8ded1fbfb925611f536cedb9d61de91
|
||||
|
||||
@@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
inherit eutils
|
||||
|
||||
# TODO: convert this ebuild to use web-app.
|
||||
|
||||
# the RESTRICT is because the vpopmail lib directory is locked down
|
||||
# and non-root can't access them.
|
||||
RESTRICT='userpriv'
|
||||
|
||||
MY_PV="${PV/_rc/-rc}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="A web interface for managing a qmail system with virtual domains"
|
||||
HOMEPAGE="http://www.inter7.com/qmailadmin.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~hppa ppc s390 sh sparc x86"
|
||||
IUSE="maildrop"
|
||||
|
||||
DEPEND="virtual/qmail
|
||||
>=net-mail/vpopmail-5.3
|
||||
net-mail/autorespond
|
||||
maildrop? ( >=mail-filter/maildrop-2.0.1 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
# apache and lighttpd both work, but there's no virtual yet
|
||||
# www-servers/apache"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local dir_vpopmail="/var/vpopmail"
|
||||
local dir_vhost="/var/www/localhost"
|
||||
local dir_htdocs="${dir_vhost}/htdocs/${PN}"
|
||||
local dir_htdocs_images="${dir_htdocs}/images"
|
||||
local url_htdocs_images="/${PN}/images"
|
||||
local dir_cgibin="${dir_vhost}/cgi-bin"
|
||||
local url_cgibin="/cgi-bin/${PN}"
|
||||
local dir_htdocs_htmlib="/usr/share/${PN}/htmllib"
|
||||
local dir_qmail="/var/qmail"
|
||||
local dir_true="/bin"
|
||||
local dir_ezmlm="/usr/bin"
|
||||
local dir_autorespond="/var/qmail/bin"
|
||||
|
||||
# Pass spam stuff through $@ so we get the quoting right
|
||||
if use maildrop ; then
|
||||
set -- --enable-modify-spam \
|
||||
--enable-spam-command='|preline maildrop /etc/maildroprc'
|
||||
else
|
||||
set --
|
||||
fi
|
||||
|
||||
econf \
|
||||
--enable-valias \
|
||||
--enable-vpopmaildir=${dir_vpopmail} \
|
||||
--enable-htmldir=${dir_htdocs} \
|
||||
--enable-imageurl=${url_htdocs_images} \
|
||||
--enable-imagedir=${dir_htdocs_images} \
|
||||
--enable-htmllibdir=${dir_htdocs_htmlib} \
|
||||
--enable-qmaildir=${dir_qmail} \
|
||||
--enable-true-path=${dir_true} \
|
||||
--enable-ezmlmdir=${dir_ezmlm} \
|
||||
--enable-cgibindir=${dir_cgibin} \
|
||||
--enable-cgipath=${url_cgibin} \
|
||||
--enable-autoresponder-path=${dir_autorespond} \
|
||||
--enable-domain-autofill \
|
||||
--enable-modify-quota \
|
||||
--enable-no-cache \
|
||||
--enable-maxusersperpage=50 \
|
||||
--enable-maxaliasesperpage=50 \
|
||||
--enable-vpopuser=vpopmail \
|
||||
--enable-vpopgroup=vpopmail \
|
||||
"$@" \
|
||||
|| die "econf failed"
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog TRANSLATORS NEWS FAQ README contrib/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you would like support for ezmlm mailing lists inside qmailadmin,"
|
||||
elog "please emerge some variant of ezmlm-idx."
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
inherit qmail eutils webapp
|
||||
|
||||
# the RESTRICT is because the vpopmail lib directory is locked down
|
||||
# and non-root can't access them.
|
||||
RESTRICT="userpriv"
|
||||
|
||||
MY_P=${P/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A web interface for managing a qmail system with virtual domains"
|
||||
HOMEPAGE="http://www.inter7.com/qmailadmin.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="maildrop"
|
||||
|
||||
DEPEND="virtual/qmail
|
||||
>=net-mail/vpopmail-5.3
|
||||
net-mail/autorespond
|
||||
maildrop? ( >=mail-filter/maildrop-2.0.1 )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Pass spam stuff through $@ so we get the quoting right
|
||||
if use maildrop ; then
|
||||
set -- --enable-modify-spam \
|
||||
--enable-spam-command='|preline maildrop /etc/maildroprc'
|
||||
else
|
||||
set --
|
||||
fi
|
||||
|
||||
econf \
|
||||
--enable-valias \
|
||||
--enable-vpopmaildir=/var/vpopmail \
|
||||
--enable-htmldir="${MY_HTDOCSDIR}" \
|
||||
--enable-imagedir="${MY_HTDOCSDIR}"/images \
|
||||
--enable-imageurl=/${PN}/images \
|
||||
--enable-htmllibdir=/usr/share/${PN}/htmllib \
|
||||
--enable-cgibindir="${MY_CGIBINDIR}" \
|
||||
--enable-cgipath=/cgi-bin/${PN} \
|
||||
--enable-qmaildir="${QMAIL_HOME}" \
|
||||
--enable-autoresponder-path="${QMAIL_HOME}"/bin \
|
||||
--enable-true-path=/bin \
|
||||
--enable-ezmlmdir=/usr/bin \
|
||||
--enable-domain-autofill \
|
||||
--enable-modify-quota \
|
||||
--enable-no-cache \
|
||||
--enable-maxusersperpage=50 \
|
||||
--enable-maxaliasesperpage=50 \
|
||||
--enable-vpopuser=vpopmail \
|
||||
--enable-vpopgroup=vpopmail \
|
||||
"$@" \
|
||||
|| die "econf failed"
|
||||
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog \
|
||||
TRANSLATORS NEWS FAQ README contrib/*
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "If you would like support for ezmlm mailing lists inside qmailadmin,"
|
||||
einfo "please emerge some variant of ezmlm-idx."
|
||||
webapp_pkg_postinst
|
||||
}
|
||||
@@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
inherit qmail eutils webapp autotools
|
||||
|
||||
# the RESTRICT is because the vpopmail lib directory is locked down
|
||||
# and non-root can't access them.
|
||||
RESTRICT="userpriv"
|
||||
|
||||
MY_P=${P/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A web interface for managing a qmail system with virtual domains"
|
||||
HOMEPAGE="http://www.inter7.com/qmailadmin.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
KEYWORDS="amd64 arm ~hppa ppc s390 sh sparc x86"
|
||||
IUSE="maildrop"
|
||||
|
||||
DEPEND="virtual/qmail
|
||||
>=net-mail/vpopmail-5.3
|
||||
net-mail/autorespond
|
||||
maildrop? ( >=mail-filter/maildrop-2.0.1 )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.12-quota-overflow.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Pass spam stuff through $@ so we get the quoting right
|
||||
if use maildrop ; then
|
||||
set -- --enable-modify-spam \
|
||||
--enable-spam-command='|preline maildrop /etc/maildroprc'
|
||||
else
|
||||
set --
|
||||
fi
|
||||
# If vpopmail is built with mysql, we need to pick that up.
|
||||
CFLAGS="${CFLAGS} $(</var/vpopmail/etc/inc_deps)"
|
||||
LDFLAGS="${LDFLAGS} $(</var/vpopmail/etc/lib_deps)"
|
||||
|
||||
econf \
|
||||
--enable-valias \
|
||||
--enable-vpopmaildir=/var/vpopmail \
|
||||
--enable-htmldir="${MY_HTDOCSDIR}" \
|
||||
--enable-imagedir="${MY_HTDOCSDIR}"/images \
|
||||
--enable-imageurl=/${PN}/images \
|
||||
--enable-htmllibdir=/usr/share/${PN}/htmllib \
|
||||
--enable-cgibindir="${MY_CGIBINDIR}" \
|
||||
--enable-cgipath=/cgi-bin/${PN} \
|
||||
--enable-qmaildir="${QMAIL_HOME}" \
|
||||
--enable-autoresponder-path="${QMAIL_HOME}"/bin \
|
||||
--enable-true-path=/bin \
|
||||
--enable-ezmlmdir=/usr/bin \
|
||||
--enable-domain-autofill \
|
||||
--enable-modify-quota \
|
||||
--enable-no-cache \
|
||||
--enable-trivial-password \
|
||||
--enable-catchall \
|
||||
--enable-maxusersperpage=50 \
|
||||
--enable-maxaliasesperpage=50 \
|
||||
--enable-vpopuser=vpopmail \
|
||||
--enable-vpopgroup=vpopmail \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
"$@" \
|
||||
|| die "econf failed"
|
||||
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog \
|
||||
TRANSLATORS NEWS FAQ README contrib/*
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "If you would like support for ezmlm mailing lists inside qmailadmin,"
|
||||
einfo "please emerge some variant of ezmlm-idx."
|
||||
webapp_pkg_postinst
|
||||
}
|
||||
Reference in New Issue
Block a user