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/
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=maradns
|
2008-08-13 11:36:34 +02:00
|
|
|
version=1.3.07.09
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2007-12-28 10:45:59 +01:00
|
|
|
source=(http://www.maradns.org/download/1.3/$version/maradns-$version.tar.bz2 \
|
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
|
|
|
|
}
|