2006-02-23 15:26:10 +00:00
|
|
|
# Description: A authoritative,recursive (caching) DNS server that strives to be secure and fast
|
|
|
|
# URL: http://www.maradns.org/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=maradns
|
2015-01-26 09:25:21 +01:00
|
|
|
version=1.4.15
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2015-01-26 09:25:21 +01:00
|
|
|
source=(http://maradns.samiam.org/download/1.4/$name-$version.tar.xz \
|
2006-03-24 10:38:13 +00:00
|
|
|
mararc maradns db.localhost)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd maradns-$version
|
2007-12-28 10:45:59 +01:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
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
|
2007-05-19 10:00:29 +02:00
|
|
|
make -j1
|
2006-02-23 15:26:10 +00:00
|
|
|
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
|
|
|
|
}
|