Magellan Linux

Annotation of /branches/R11-stable/core/mail-base-files/mail-base-files-0.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17777 - (hide annotations) (download)
Wed Jun 26 12:30:09 2013 UTC (11 years, 3 months ago) by niro
File size: 900 byte(s)
-release branches/R11-stable
1 niro 17216 # $Id$
2    
3     PNAME="mail-base-files"
4     PVER="0.2"
5     PBUILD="r1"
6    
7     PCAT="net-mail"
8    
9     DESCRIPTION="Basic mail dirs and files for Magellan-Linux."
10     HOMEPAGE="http://www.magellan-linux.de/"
11    
12     DEPEND=""
13    
14     SRCFILE=""
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     sminclude mtools
18    
19     SRC_URI=(
20     mirror://${PNAME}/aliases
21     mirror://${PNAME}/mailcap
22     mirror://${PNAME}/mail-common.pam-systemauth
23     )
24    
25     src_install()
26     {
27     install -d ${SRCDIR}
28     cd ${SRCDIR}
29    
30     # needed directories and symlinks
31     minstalldir /var/spool/mail || die
32     mchown root:mail /var/spool/mail || die
33     mchmod 03775 /var/spool/mail || die
34     mlink /var/spool/mail /var/mail || die
35    
36     # basic mailcaps and aliases
37     minstalldir /etc/mail || die
38     minstalletc aliases aliases /etc/mail || die
39     minstalletc mailcap || die
40    
41     # pam configuration files
42     local i
43     for i in pop pops pop3 pop3s imap imaps imap4 imap4s
44     do
45     minstallpam mail-common.pam-systemauth ${i} || die
46     done
47     }