summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-30 02:50:52 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-30 02:50:52 +0000
commit1531f88533c62cc0742bbd73286bb97cb7db41e8 (patch)
tree12770074334ae76852d5cba6fbc8d62d048a1abb /net-mail
parentChanged unpack||die to unpack (diff)
downloadhistorical-1531f88533c62cc0742bbd73286bb97cb7db41e8.tar.gz
historical-1531f88533c62cc0742bbd73286bb97cb7db41e8.tar.bz2
historical-1531f88533c62cc0742bbd73286bb97cb7db41e8.zip
Changed mkdir ${D} to dodir ${D}
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/courier-imap/courier-imap-1.4.5-r3.ebuild14
-rw-r--r--net-mail/courier/courier-0.39.2.ebuild53
-rw-r--r--net-mail/courier/courier-0.39.3.ebuild51
-rw-r--r--net-mail/courier/courier-0.40.0.20021026.ebuild51
-rw-r--r--net-mail/courier/courier-0.40.1.ebuild29
5 files changed, 88 insertions, 110 deletions
diff --git a/net-mail/courier-imap/courier-imap-1.4.5-r3.ebuild b/net-mail/courier-imap/courier-imap-1.4.5-r3.ebuild
index 816a9650d860..621a996da694 100644
--- a/net-mail/courier-imap/courier-imap-1.4.5-r3.ebuild
+++ b/net-mail/courier-imap/courier-imap-1.4.5-r3.ebuild
@@ -1,10 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-1.4.5-r3.ebuild,v 1.6 2002/10/05 05:39:22 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-1.4.5-r3.ebuild,v 1.7 2002/11/30 02:50:52 vapier Exp $
-IUSE="gdbm tcltk ldap berkdb mysql pam"
-
-S=${WORKDIR}/${P}
DESCRIPTION="An IMAP daemon designed specifically for maildirs"
SRC_URI="http://ftp1.sourceforge.net/courier/${P}.tar.gz"
HOMEPAGE="http://www.courier-mta.org/"
@@ -12,8 +9,10 @@ HOMEPAGE="http://www.courier-mta.org/"
KEYWORDS="x86 ppc sparc sparc64"
LICENSE="GPL-2"
SLOT="0"
+IUSE="gdbm tcltk ldap berkdb mysql pam"
PROVIDE="virtual/imapd"
+
RDEPEND="virtual/glibc
>=dev-libs/openssl-0.9.6
pam? ( >=sys-libs/pam-0.75 )
@@ -62,14 +61,13 @@ src_compile() {
sed -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \
imap/pop3d-ssl.dist.old > imap/pop3d-ssl.dist
-
emake || die "compile problem"
}
-src_install () {
+src_install() {
dodir /var/lib/courier-imap
- mkdir -p ${D}/etc/pam.d
- make install DESTDIR=${D}
+ dodir /etc/pam.d
+ make install DESTDIR=${D} || die
# avoid name collisions in /usr/sbin wrt imapd and pop3d
cd ${D}/usr/sbin
diff --git a/net-mail/courier/courier-0.39.2.ebuild b/net-mail/courier/courier-0.39.2.ebuild
index 538f0676b772..737ae594bb79 100644
--- a/net-mail/courier/courier-0.39.2.ebuild
+++ b/net-mail/courier/courier-0.39.2.ebuild
@@ -1,10 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/courier/courier-0.39.2.ebuild,v 1.3 2002/10/05 05:39:22 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/courier/courier-0.39.2.ebuild,v 1.4 2002/11/30 02:38:16 vapier Exp $
-IUSE="gdbm tcltk postgres ldap berkdb mysql pam"
-
-S=${WORKDIR}/${P}
DESCRIPTION="An MTA designed specifically for maildirs"
SRC_URI="http://ftp1.sourceforge.net/courier/${P}.tar.gz"
HOMEPAGE="http://www.courier-mta.org/"
@@ -12,6 +9,7 @@ HOMEPAGE="http://www.courier-mta.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 -ppc -sparc -sparc64"
+IUSE="gdbm tcltk postgres ldap berkdb mysql pam"
PROVIDE="virtual/mta
virtual/imapd"
@@ -29,9 +27,7 @@ RDEPEND="virtual/glibc
DEPEND="${RDEPEND} sys-devel/perl sys-apps/procps"
src_unpack() {
- unpack ${A}
-
- cd ${S}
+ unpack ${A} ; cd ${S}
patch -p1 < ${FILESDIR}/${PF}-gentoo.diff || die
}
@@ -66,7 +62,7 @@ src_compile() {
emake || die "compile problem"
}
-chg_cfg () {
+chg_cfg() {
file=${1}
key=${2}
value=${3}
@@ -76,7 +72,7 @@ chg_cfg () {
rm -f ${f}.tmp 1>/dev/null 2>&1
}
-set_mime () {
+set_mime() {
local files=$*
chk_badmime='##NAME: BOFHBADMIME:0'
@@ -104,7 +100,7 @@ BOFHBADMIME=accept\
done
}
-set_maildir () {
+set_maildir() {
local files=$*
origmaildir='Maildir'
@@ -112,19 +108,18 @@ set_maildir () {
local f
for f in ${files}
- do
+ do
echo "changing ${origmaildir} in ${f} to ${newmaildir}"
sed -e"/^[^\#]/ s/${origmaildir}/${newmaildir}/g" ${f} > ${f}.tmp && chmod --reference ${f} ${f}.tmp && mv -f ${f}.tmp ${f}
rm -f ${f}.tmp 1> /dev/null 2>&1
done
}
-src_install () {
+src_install() {
dodir /var/lib/courier
- mkdir -p ${D}/etc/pam.d
- mkdir -p ${D}/var/run/courier
- make install DESTDIR=${D}
-
+ dodir /etc/pam.d /var/run/courier
+ make install DESTDIR=${D} || die
+
local f
cd ${D}/etc/courier
mv imapd.authpam imap.authpam
@@ -134,7 +129,7 @@ src_install () {
cp "${f}" "${D}/etc/pam.d/${f%%.authpam}"
done
-exeinto /etc/init.d
+ exeinto /etc/init.d
newexe ${FILESDIR}/courier courier
newexe ${FILESDIR}/courier-authdaemond courier-authdaemond
newexe ${FILESDIR}/courier-ldapaliasd courier-ldapaliasd
@@ -147,17 +142,17 @@ exeinto /etc/init.d
newexe ${FILESDIR}/courier-pop3d-ssl courier-pop3d-ssl
newexe ${FILESDIR}/courier-pop3d courier-pop3d
-einfo "Setting up maildirs by default in the account skeleton ..."
- diropts -m 755 -o root -g root
-insinto /etc/skel
- ${D}/usr/bin/maildirmake ${D}/etc/skel/.maildir
- newins ${FILESDIR}/dot_courier .courier
- fperms 644 /etc/skel/.courier
- ${D}/usr/bin/maildirmake ${D}/var/spool/mail/.maildir
-insinto /etc/courier
- newins ${FILESDIR}/bofh bofh
- newins ${FILESDIR}/locallowercase locallowercase
- newins ${FILESDIR}/sizelimit sizelimit
+ einfo "Setting up maildirs by default in the account skeleton ..."
+ diropts -m 755 -o root -g root
+ insinto /etc/skel
+ ${D}/usr/bin/maildirmake ${D}/etc/skel/.maildir
+ newins ${FILESDIR}/dot_courier .courier
+ fperms 644 /etc/skel/.courier
+ ${D}/usr/bin/maildirmake ${D}/var/spool/mail/.maildir
+ insinto /etc/courier
+ newins ${FILESDIR}/bofh bofh
+ newins ${FILESDIR}/locallowercase locallowercase
+ newins ${FILESDIR}/sizelimit sizelimit
dodoc AUTHORS BENCHMARKS ChangeLog* NEWS README TODO
}
@@ -165,7 +160,7 @@ insinto /etc/courier
pkg_preinst() {
# avoid name collisions in /usr/sbin
local y
- cd ${D}/usr/share/courier
+ cd ${D}/usr/share/courier
set_maildir imapd imapd-ssl pop3d pop3d-ssl
cd ${D}/usr/sbin
diff --git a/net-mail/courier/courier-0.39.3.ebuild b/net-mail/courier/courier-0.39.3.ebuild
index b36c91c147b4..7bdfb721f30f 100644
--- a/net-mail/courier/courier-0.39.3.ebuild
+++ b/net-mail/courier/courier-0.39.3.ebuild
@@ -1,10 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/courier/courier-0.39.3.ebuild,v 1.3 2002/10/05 05:39:22 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/courier/courier-0.39.3.ebuild,v 1.4 2002/11/30 02:39:53 vapier Exp $
-IUSE="gdbm tcltk postgres ldap berkdb mysql pam"
-
-S=${WORKDIR}/${P}
DESCRIPTION="An MTA designed specifically for maildirs"
SRC_URI="http://ftp1.sourceforge.net/courier/${P}.tar.gz"
HOMEPAGE="http://www.courier-mta.org/"
@@ -12,6 +9,7 @@ HOMEPAGE="http://www.courier-mta.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 -ppc -sparc -sparc64"
+IUSE="gdbm tcltk postgres ldap berkdb mysql pam"
PROVIDE="virtual/mta
virtual/imapd"
@@ -29,9 +27,7 @@ RDEPEND="virtual/glibc
DEPEND="${RDEPEND} sys-devel/perl sys-apps/procps"
src_unpack() {
- unpack ${A}
-
- cd ${S}
+ unpack ${A} ; cd ${S}
patch -p1 < ${FILESDIR}/${PF}-gentoo.diff || die
}
@@ -66,7 +62,7 @@ src_compile() {
emake || die "compile problem"
}
-chg_cfg () {
+chg_cfg() {
file=${1}
key=${2}
value=${3}
@@ -76,7 +72,7 @@ chg_cfg () {
rm -f ${f}.tmp 1>/dev/null 2>&1
}
-set_mime () {
+set_mime() {
local files=$*
chk_badmime='##NAME: BOFHBADMIME:0'
@@ -104,7 +100,7 @@ BOFHBADMIME=accept\
done
}
-set_maildir () {
+set_maildir() {
local files=$*
origmaildir='Maildir'
@@ -119,12 +115,11 @@ set_maildir () {
done
}
-src_install () {
+src_install() {
dodir /var/lib/courier
- mkdir -p ${D}/etc/pam.d
- mkdir -p ${D}/var/run/courier
- make install DESTDIR=${D}
-
+ dodir /etc/pam.d /var/run/courier
+ make install DESTDIR=${D} || die
+
local f
cd ${D}/etc/courier
mv imapd.authpam imap.authpam
@@ -134,7 +129,7 @@ src_install () {
cp "${f}" "${D}/etc/pam.d/${f%%.authpam}"
done
-exeinto /etc/init.d
+ exeinto /etc/init.d
newexe ${FILESDIR}/courier courier
newexe ${FILESDIR}/courier-authdaemond courier-authdaemond
newexe ${FILESDIR}/courier-ldapaliasd courier-ldapaliasd
@@ -147,17 +142,17 @@ exeinto /etc/init.d
newexe ${FILESDIR}/courier-pop3d-ssl courier-pop3d-ssl
newexe ${FILESDIR}/courier-pop3d courier-pop3d
-einfo "Setting up maildirs by default in the account skeleton ..."
- diropts -m 755 -o root -g root
-insinto /etc/skel
- ${D}/usr/bin/maildirmake ${D}/etc/skel/.maildir
- newins ${FILESDIR}/dot_courier .courier
- fperms 644 /etc/skel/.courier
- ${D}/usr/bin/maildirmake ${D}/var/spool/mail/.maildir
-insinto /etc/courier
- newins ${FILESDIR}/bofh bofh
- newins ${FILESDIR}/locallowercase locallowercase
- newins ${FILESDIR}/sizelimit sizelimit
+ einfo "Setting up maildirs by default in the account skeleton ..."
+ diropts -m 755 -o root -g root
+ insinto /etc/skel
+ ${D}/usr/bin/maildirmake ${D}/etc/skel/.maildir
+ newins ${FILESDIR}/dot_courier .courier
+ fperms 644 /etc/skel/.courier
+ ${D}/usr/bin/maildirmake ${D}/var/spool/mail/.maildir
+ insinto /etc/courier
+ newins ${FILESDIR}/bofh bofh
+ newins ${FILESDIR}/locallowercase locallowercase
+ newins ${FILESDIR}/sizelimit sizelimit
dodoc AUTHORS BENCHMARKS ChangeLog* NEWS README TODO
}
@@ -165,7 +160,7 @@ insinto /etc/courier
pkg_preinst() {
# avoid name collisions in /usr/sbin
local y
- cd ${D}/usr/share/courier
+ cd ${D}/usr/share/courier
set_maildir imapd imapd-ssl pop3d pop3d-ssl
cd ${D}/usr/sbin
diff --git a/net-mail/courier/courier-0.40.0.20021026.ebuild b/net-mail/courier/courier-0.40.0.20021026.ebuild
index d7f18e718624..9e45905e19ae 100644
--- a/net-mail/courier/courier-0.40.0.20021026.ebuild
+++ b/net-mail/courier/courier-0.40.0.20021026.ebuild
@@ -1,10 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/courier/courier-0.40.0.20021026.ebuild,v 1.1 2002/11/06 08:22:09 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/courier/courier-0.40.0.20021026.ebuild,v 1.2 2002/11/30 02:42:06 vapier Exp $
-IUSE="gdbm tcltk postgres ldap berkdb mysql pam"
-
-S=${WORKDIR}/${P}
DESCRIPTION="An MTA designed specifically for maildirs"
SRC_URI="http://ftp1.sourceforge.net/courier/${P}.tar.bz2"
HOMEPAGE="http://www.courier-mta.org/"
@@ -12,6 +9,7 @@ HOMEPAGE="http://www.courier-mta.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 -ppc -sparc -sparc64"
+IUSE="gdbm tcltk postgres ldap berkdb mysql pam"
PROVIDE="virtual/mta
virtual/imapd"
@@ -30,9 +28,7 @@ RDEPEND="virtual/glibc
DEPEND="${RDEPEND} sys-devel/perl sys-apps/procps"
src_unpack() {
- unpack ${A}
-
- cd ${S}
+ unpack ${A} ; cd ${S}
patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die
}
@@ -67,7 +63,7 @@ src_compile() {
emake || die "compile problem"
}
-chg_cfg () {
+chg_cfg() {
file=${1}
key=${2}
value=${3}
@@ -77,7 +73,7 @@ chg_cfg () {
rm -f ${f}.tmp 1>/dev/null 2>&1
}
-set_mime () {
+set_mime() {
local files=$*
chk_badmime='##NAME: BOFHBADMIME:0'
@@ -105,7 +101,7 @@ BOFHBADMIME=accept\
done
}
-set_maildir () {
+set_maildir() {
local files=$*
origmaildir='Maildir'
@@ -120,12 +116,11 @@ set_maildir () {
done
}
-src_install () {
+src_install() {
dodir /var/lib/courier
- mkdir -p ${D}/etc/pam.d
- mkdir -p ${D}/var/run/courier
- make install DESTDIR=${D}
-
+ dodir /etc/pam.d /var/run/courier
+ make install DESTDIR=${D} || die
+
local f
cd ${D}/etc/courier
mv imapd.authpam imap.authpam
@@ -135,7 +130,7 @@ src_install () {
cp "${f}" "${D}/etc/pam.d/${f%%.authpam}"
done
-exeinto /etc/init.d
+ exeinto /etc/init.d
newexe ${FILESDIR}/courier courier
newexe ${FILESDIR}/courier-authdaemond courier-authdaemond
newexe ${FILESDIR}/courier-ldapaliasd courier-ldapaliasd
@@ -148,17 +143,17 @@ exeinto /etc/init.d
newexe ${FILESDIR}/courier-pop3d-ssl courier-pop3d-ssl
newexe ${FILESDIR}/courier-pop3d courier-pop3d
-einfo "Setting up maildirs by default in the account skeleton ..."
- diropts -m 755 -o root -g root
-insinto /etc/skel
- ${D}/usr/bin/maildirmake ${D}/etc/skel/.maildir
- newins ${FILESDIR}/dot_courier .courier
- fperms 644 /etc/skel/.courier
- ${D}/usr/bin/maildirmake ${D}/var/spool/mail/.maildir
-insinto /etc/courier
- newins ${FILESDIR}/bofh bofh
- newins ${FILESDIR}/locallowercase locallowercase
- newins ${FILESDIR}/sizelimit sizelimit
+ einfo "Setting up maildirs by default in the account skeleton ..."
+ diropts -m 755 -o root -g root
+ insinto /etc/skel
+ ${D}/usr/bin/maildirmake ${D}/etc/skel/.maildir
+ newins ${FILESDIR}/dot_courier .courier
+ fperms 644 /etc/skel/.courier
+ ${D}/usr/bin/maildirmake ${D}/var/spool/mail/.maildir
+ insinto /etc/courier
+ newins ${FILESDIR}/bofh bofh
+ newins ${FILESDIR}/locallowercase locallowercase
+ newins ${FILESDIR}/sizelimit sizelimit
newins ${FILESDIR}/apache-sqwebmail.inc apache-sqwebmail.inc
touch ${D}/var/lib/courier/webmail-logincache/.keep
@@ -179,7 +174,7 @@ insinto /etc/courier
pkg_preinst() {
# avoid name collisions in /usr/sbin
local y
- cd ${D}/usr/share/courier
+ cd ${D}/usr/share/courier
set_maildir imapd imapd-ssl pop3d pop3d-ssl
cd ${D}/usr/sbin
diff --git a/net-mail/courier/courier-0.40.1.ebuild b/net-mail/courier/courier-0.40.1.ebuild
index 0cead8a04e3b..bbb2642304d8 100644
--- a/net-mail/courier/courier-0.40.1.ebuild
+++ b/net-mail/courier/courier-0.40.1.ebuild
@@ -1,10 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/courier/courier-0.40.1.ebuild,v 1.2 2002/11/21 09:45:02 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/courier/courier-0.40.1.ebuild,v 1.3 2002/11/30 02:47:00 vapier Exp $
-IUSE="gdbm tcltk postgres ldap berkdb mysql pam"
-
-S=${WORKDIR}/${P}
DESCRIPTION="An MTA designed specifically for maildirs"
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
HOMEPAGE="http://www.courier-mta.org/"
@@ -12,9 +9,11 @@ HOMEPAGE="http://www.courier-mta.org/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 -ppc -sparc -sparc64"
+IUSE="gdbm tcltk postgres ldap berkdb mysql pam"
PROVIDE="virtual/mta
virtual/imapd"
+
RDEPEND="virtual/glibc
>=app-crypt/gnupg-1.0.4
>=dev-libs/openssl-0.9.6
@@ -27,15 +26,12 @@ RDEPEND="virtual/glibc
ldap? ( >=net-nds/openldap-1.2.11 )
postgres? ( >=dev-db/postgresql-7.1.3 )
tcltk? ( >=dev-tcltk/expect-5.33.0 )"
-
DEPEND="${RDEPEND}
sys-devel/perl
sys-apps/procps"
src_unpack() {
- unpack ${A}
-
- cd ${S}
+ unpack ${A} ; cd ${S}
patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die
}
@@ -70,7 +66,7 @@ src_compile() {
emake || die "compile problem"
}
-chg_cfg () {
+chg_cfg() {
file=${1}
key=${2}
value=${3}
@@ -80,7 +76,7 @@ chg_cfg () {
rm -f ${f}.tmp 1>/dev/null 2>&1
}
-set_mime () {
+set_mime() {
local files=$*
chk_badmime='##NAME: BOFHBADMIME:0'
@@ -108,7 +104,7 @@ BOFHBADMIME=accept\
done
}
-set_maildir () {
+set_maildir() {
local files=$*
origmaildir='Maildir'
@@ -123,12 +119,11 @@ set_maildir () {
done
}
-src_install () {
+src_install() {
dodir /var/lib/courier
- mkdir -p ${D}/etc/pam.d
- mkdir -p ${D}/var/run/courier
- make install DESTDIR=${D}
-
+ dodir /etc/pam.d /var/run/courier
+ make install DESTDIR=${D} || die
+
local f
cd ${D}/etc/courier
mv imapd.authpam imap.authpam
@@ -138,7 +133,7 @@ src_install () {
cp "${f}" "${D}/etc/pam.d/${f%%.authpam}"
done
-exeinto /etc/init.d
+ exeinto /etc/init.d
newexe ${FILESDIR}/courier courier
newexe ${FILESDIR}/courier-authdaemond courier-authdaemond
newexe ${FILESDIR}/courier-ldapaliasd courier-ldapaliasd