blob: 3c6400a2a0641176ab5a47b6dd41ae74da3d1d56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-pop3d/qmail-pop3d-1.03-r1.ebuild,v 1.8 2003/02/13 14:37:53 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Pop3 configuration for qmail which used the maildirs of the users"
HOMEPAGE="http://www.qmail.org"
SRC_URI=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "
DEPEND=">=net-mail/qmail-1.03-r6"
src_unpack() {
einfo "Nothing to unpack ..."
}
src_compile() {
einfo "Nothing to compile ..."
}
src_install() {
einfo "Setting up the pop3d service ..."
insopts -o root -g root -m 755
diropts -m 755 -o root -g root
dodir /service
dodir /var/qmail/supervise/qmail-pop3d
dodir /var/qmail/supervise/qmail-pop3d/log
chmod +t ${D}/var/qmail/supervise/qmail-pop3d
diropts -m 755 -o qmaill
dodir /var/log/qmail/qmail-pop3d
insinto /var/qmail/supervise/qmail-pop3d
newins ${FILESDIR}/run-qmailpop3d run
insinto /var/qmail/supervise/qmail-pop3d/log
newins ${FILESDIR}/run-qmailpop3dlog run
}
pkg_postinst() {
echo -e "\e[32;01m To start qmail-pop3d at boot you have to start /etc/init.d/svscan at boot \033[0m"
echo -e "\e[32;01m and create the following link : \033[0m"
echo -e "\e[32;01m ln -s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3d \033[0m"
}
|