opt/maradns/Pkgfile
Juergen Daubert d4d0716b84 [notify] maradns: update to 1.4.08
Security fix, see http://www.samiam.org/blog/20111229.html

Note: I no longer use maradns but a combo of dnsmasq [1] and
unbound [2] instead, so it might happen that I'll drop the port.
Dnsmasq is a easy to configure authoritative DNS server with
additional DHCP server and unbound a DNSSEC aware recursive,
caching resolver. Highly recommended.

[1] http://www.thekelleys.org.uk/dnsmasq/doc.html
[2] http://unbound.net/
2011-12-30 17:41:14 +01:00

31 lines
853 B
Plaintext

# Description: A authoritative,recursive (caching) DNS server that strives to be secure and fast
# URL: http://www.maradns.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
name=maradns
version=1.4.08
release=1
source=(http://www.maradns.org/download/1.4/maradns-$version.tar.bz2 \
mararc maradns db.localhost)
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 -j1
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
}