blob: 17a28fbd57a88a579cf7eae6abc53b80518aebca (
plain)
1 # Description: University of Washington's IMAP/POP server
2 # URL: http://www.washington.edu/imap/
3 # Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
4 # Depends on: openssl
5
6 name=uw-imap
7 version=2006b
8 release=1
9 source=(ftp://ftp.cac.washington.edu/imap/imap-$version.tar.Z)
10
11 build () {
12 cd imap-$version
13
14 sed -i 's/read x/x=y/' Makefile
15 make slx \
16 EXTRACFLAGS="$CFLAGS" \
17 SSLTYPE=unix \
18 SSLDIR=/usr \
19 SSLCERTS=/etc/ssl/certs \
20 IP=6
21
22 install -D -m 755 imapd/imapd $PKG/usr/sbin/imapd
23 install -m 755 ipopd/{ipop2d,ipop3d} $PKG/usr/sbin
24 install -D -m 644 src/imapd/imapd.8 $PKG/usr/man/man8/imapd.8
25 install -m 644 src/ipopd/ipopd.8 $PKG/usr/man/man8/ipopd.8
26 sed -i 's|/usr/etc/|/usr/sbin/|' $PKG/usr/man/man8/*
27
28 install -d $PKG/etc/ssl/certs/
29 touch $PKG/etc/ssl/certs/{imapd.pem,ipop3d.pem}
30 chmod 0600 $PKG/etc/ssl/certs/{imapd.pem,ipop3d.pem}
31 }
|