|
Lines 10-16
Link Here
|
| 10 |
|
10 |
|
| 11 |
LICENSE="GPL-2" |
11 |
LICENSE="GPL-2" |
| 12 |
SLOT="0" |
12 |
SLOT="0" |
| 13 |
KEYWORDS="x86 ~sparc ~ppc" |
13 |
KEYWORDS="x86" |
| 14 |
|
14 |
|
| 15 |
DEPEND="virtual/glibc |
15 |
DEPEND="virtual/glibc |
| 16 |
>=sys-apps/sed-4" |
16 |
>=sys-apps/sed-4" |
|
Lines 25-35
Link Here
|
| 25 |
sed -i -e "s:^CFLAGS = -O2:CFLAGS=$CFLAGS:g" Makefile.lnx |
25 |
sed -i -e "s:^CFLAGS = -O2:CFLAGS=$CFLAGS:g" Makefile.lnx |
| 26 |
|
26 |
|
| 27 |
# Makefile does not setup dependencies properly to handle parallel build |
27 |
# Makefile does not setup dependencies properly to handle parallel build |
| 28 |
if use x86 ; then |
28 |
emake -j1 -f Makefile.lnx || die |
| 29 |
emake -j1 -f Makefile.lnx || die |
29 |
|
| 30 |
elif use sparc ; then |
|
|
| 31 |
emake -j1 -f Makefile.slx || die |
| 32 |
fi |
| 33 |
sed -e "s:/var/MailRoot:/chroot/xmail/var/MailRoot:g" sendmail.sh > sendmail.sh.new |
30 |
sed -e "s:/var/MailRoot:/chroot/xmail/var/MailRoot:g" sendmail.sh > sendmail.sh.new |
| 34 |
} |
31 |
} |
| 35 |
|
32 |
|
|
Lines 95-106
Link Here
|
| 95 |
newexe ${FILESDIR}/xmail.initd xmail |
92 |
newexe ${FILESDIR}/xmail.initd xmail |
| 96 |
insinto /etc/conf.d |
93 |
insinto /etc/conf.d |
| 97 |
newins ${FILESDIR}/xmail.confd xmail |
94 |
newins ${FILESDIR}/xmail.confd xmail |
| 98 |
cd ${S} |
95 |
cd ${S}/bin |
| 99 |
exeopts -o xmail -g xmail -m 4700 |
96 |
exeopts -o xmail -g xmail -m 4700 |
| 100 |
exeinto /usr/sbin |
97 |
exeinto /usr/sbin |
| 101 |
newexe sendmail sendmail.xmail |
98 |
newexe sendmail sendmail.xmail |
| 102 |
exeopts -o root -g root -m 755 |
99 |
exeopts -o root -g root -m 755 |
| 103 |
newexe sendmail.sh.new sendmail |
100 |
newexe ../sendmail.sh.new sendmail |
| 104 |
exeopts -o xmail -g xmail -m 700 |
101 |
exeopts -o xmail -g xmail -m 700 |
| 105 |
exeinto /chroot/xmail/var/MailRoot/bin |
102 |
exeinto /chroot/xmail/var/MailRoot/bin |
| 106 |
doexe CtrlClnt XMail XMCrypt MkUsers |
103 |
doexe CtrlClnt XMail XMCrypt MkUsers |