summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-04-22 09:08:35 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-04-22 09:08:35 +0000
commitdb1041c3bbe091fd8d1b35b574c95d1db208c81b (patch)
tree4bed9b238dcc93267c101012655e7657b195ef49 /mail-mta/xmail
parentUse newinitd and newconfd. Bug #174266. (diff)
downloadgentoo-2-db1041c3bbe091fd8d1b35b574c95d1db208c81b.tar.gz
gentoo-2-db1041c3bbe091fd8d1b35b574c95d1db208c81b.tar.bz2
gentoo-2-db1041c3bbe091fd8d1b35b574c95d1db208c81b.zip
Use newinitd, newconfd and doenvd. Bug #174266.
(Portage version: 2.1.2.3)
Diffstat (limited to 'mail-mta/xmail')
-rw-r--r--mail-mta/xmail/ChangeLog5
-rw-r--r--mail-mta/xmail/xmail-1.22.ebuild18
2 files changed, 8 insertions, 15 deletions
diff --git a/mail-mta/xmail/ChangeLog b/mail-mta/xmail/ChangeLog
index 0456742a7b14..48a8fd5755c6 100644
--- a/mail-mta/xmail/ChangeLog
+++ b/mail-mta/xmail/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/xmail
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/ChangeLog,v 1.22 2007/03/18 06:25:47 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/ChangeLog,v 1.23 2007/04/22 09:08:35 ticho Exp $
+
+ 22 Apr 2007; Andrej Kacian <ticho@gentoo.org> xmail-1.22.ebuild:
+ Use newinitd, newconfd and doenvd. Bug #174266.
18 Mar 2007; Marius Mauch <genone@gentoo.org> xmail-1.22.ebuild:
Replacing einfo with elog
diff --git a/mail-mta/xmail/xmail-1.22.ebuild b/mail-mta/xmail/xmail-1.22.ebuild
index a05325267297..013c6a24d539 100644
--- a/mail-mta/xmail/xmail-1.22.ebuild
+++ b/mail-mta/xmail/xmail-1.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.22.ebuild,v 1.3 2007/03/18 06:25:47 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/xmail/xmail-1.22.ebuild,v 1.4 2007/04/22 09:08:35 ticho Exp $
inherit eutils linux-info
@@ -54,11 +54,6 @@ src_compile() {
}
src_install() {
- # create some image directories with default diropts
- dodir /etc/conf.d
- dodir /etc/init.d
- dodir /etc/env.d
-
einfo "Setting up directory hierarchy"
diropts -m 700 -o xmail -g xmail
dodir /etc/xmail
@@ -69,8 +64,6 @@ src_install() {
dodir /etc/xmail/spool/local
dodir /etc/xmail/spool/temp
dodir /etc/xmail/logs
- dodir /etc/init.d
- dodir /etc/conf.d
for i in cmdaliases custdomains domains filters pop3linklocks\
pop3links pop3locks userauth
@@ -109,12 +102,9 @@ src_install() {
einfo "Installing the XMail software"
- insinto /etc/env.d
- doins ${FILESDIR}/15xmail
- exeinto /etc/init.d
- newexe ${FILESDIR}/xmail.initd xmail
- insinto /etc/conf.d
- newins ${FILESDIR}/xmail.confd xmail
+ doenvd ${FILESDIR}/15xmail
+ newinitd ${FILESDIR}/xmail.initd xmail
+ newconfd ${FILESDIR}/xmail.confd xmail
cd ${S}/bin
exeopts -o xmail -g xmail -m 4700
exeinto /usr/sbin