maradns: update to 1.2.02
This commit is contained in:
parent
24712a2c10
commit
58a2b33d0a
@ -1,5 +1,5 @@
|
||||
fdc4078e6394d43e49a1cdae07edbb46 db.0.0.127
|
||||
7d8ba321d7776dc8aef8fd834b77253e db.localhost
|
||||
020d9bffda1f19fa9287c80672554ecf maradns
|
||||
d87bf0879218de4cbfb6cdfebd8eec2d maradns-1.2.01.tar.bz2
|
||||
feb707117376978904575608880ca4cd maradns-1.2.02.tar.bz2
|
||||
80edc6970d4e64d524c19632061a56c0 mararc
|
||||
|
@ -4,27 +4,28 @@
|
||||
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
|
||||
|
||||
name=maradns
|
||||
version=1.2.01
|
||||
version=1.2.02
|
||||
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}
|
||||
find -regex '.*Makefile.*' | xargs sed -i "/^FLAGS/s/-g/$CFLAGS/"
|
||||
|
||||
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
|
||||
cp doc/en/examples/example_csv2 $PKG/etc/maradns/db.example.net
|
||||
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user