summaryrefslogtreecommitdiffstats
path: root/exim/Pkgfile.old
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /exim/Pkgfile.old
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'exim/Pkgfile.old')
-rw-r--r--exim/Pkgfile.old33
1 files changed, 33 insertions, 0 deletions
diff --git a/exim/Pkgfile.old b/exim/Pkgfile.old
new file mode 100644
index 0000000..da2fee5
--- /dev/null
+++ b/exim/Pkgfile.old
@@ -0,0 +1,33 @@
+# Description: Mail transfer agent
+# URL: http://www.exim.org
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: db openssl libpcre tcp_wrappers
+
+name=exim
+version=4.72
+release=1
+source=(ftp://ftp.exim.org/pub/exim/exim4/$name-$version.tar.bz2 \
+ $name $name-config.patch)
+
+build() {
+ cd $name-$version
+
+ sed "s/#CFLAGS#/$CFLAGS/" $SRC/$name-config.patch | patch -p1
+ cp src/EDITME Local/Makefile
+
+ make -j1
+ make DESTDIR=$PKG install
+
+ install -D -m 755 $SRC/exim $PKG/etc/rc.d/exim
+ install -D -m 644 doc/exim.8 $PKG/usr/man/man8/exim.8
+
+ install -d $PKG/var/{log,spool} $PKG/usr/bin
+ install -d -m 0750 -o mail -g mail $PKG/var/{log,spool}/exim
+
+ touch $PKG/var/log/exim/exim_{mainlog,paniclog,rejectlog}
+ chown mail:mail $PKG/var/log/exim/*
+ chmod 640 $PKG/var/log/exim/*
+
+ ln -sf $name-$version-1 $PKG/usr/sbin/sendmail
+ ln -sf ../sbin/$name-$version-1 $PKG/usr/bin/mailq
+}