diff options
author | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
commit | bdea7e6c6a535e57a07d376a3139d0788efaaa41 (patch) | |
tree | 1a7334c99fa39b1ad1a7a35c113b18cb0d92413c /maradns/Pkgfile | |
download | opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.gz opt-bdea7e6c6a535e57a07d376a3139d0788efaaa41.tar.xz |
create branch for 2.2
Diffstat (limited to 'maradns/Pkgfile')
-rw-r--r-- | maradns/Pkgfile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/maradns/Pkgfile b/maradns/Pkgfile new file mode 100644 index 000000000..50aad9643 --- /dev/null +++ b/maradns/Pkgfile @@ -0,0 +1,31 @@ +# $Id: Pkgfile,v 1.14 2004/05/30 11:31:36 jue Exp $ +# Description: A authoritative,recursive (caching) DNS server that strives to be secure and fast +# URL: http://www.maradns.org/ +# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de + +name=maradns +version=1.2.03.2 +release=1 +source=(http://www.maradns.org/download/1.2/$version/maradns-$version.tar.bz2 \ + mararc maradns db.localhost db.0.0.127) + +build () { + cd maradns-$version + + install -d $PKG/usr/{bin,sbin,man/man{1,5,8}} + install -d $PKG/{etc/{rc.d,maradns},var/log} + + sed -i "/^FLAGS/s/-O2/$CFLAGS/" build/Makefile.linux + ./configure + make + make PREFIX=$PKG/usr RPM_BUILD_ROOT=$PKG install + + rm -r $PKG/usr/doc + mv $PKG/etc/mararc $PKG/etc/mararc.sample + + install -m 644 $SRC/mararc $PKG/etc + install -m 644 $SRC/db.* $PKG/etc/maradns + install -m 755 $SRC/maradns $PKG/etc/rc.d + + touch $PKG/var/log/maradns.log +} |