mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
community/pdns to 3.3-3
This commit is contained in:
parent
201b60ad0b
commit
6b7c57f1f2
2 changed files with 5 additions and 21 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
pkgname=pdns
|
||||
pkgver=3.3
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc='Modern, advanced and high performance authoritative-only nameserver'
|
||||
arch=('x86_64' 'i686')
|
||||
url='http://www.powerdns.com/'
|
||||
|
@ -18,8 +18,7 @@ makedepends=('boost')
|
|||
provides=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
|
||||
replaces=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
|
||||
conflicts=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
|
||||
install="$pkgname.install"
|
||||
options=('!makeflags' '!libtool')
|
||||
options=('!makeflags')
|
||||
backup=('etc/powerdns/pdns.conf')
|
||||
source=("http://downloads.powerdns.com/releases/$pkgname-$pkgver.tar.gz"
|
||||
'pdns.service'
|
||||
|
@ -29,14 +28,12 @@ sha256sums=('93417bb418ccd1eaf85fc98aa9f687ed175de388fa2624a1978b7cd40dc2b0b6'
|
|||
'a1afcccb0d2fb6a6f7a5960de95f8d38ce1ac75ac5e3dcecf09e49f0de10166e')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
CFLAGS=`echo $CFLAGS | sed -e 's/-O2/-O1/'` && CXXFLAGS="$CFLAGS"
|
||||
touch AUTHORS NEWS
|
||||
touch "$pkgname-$pkgver/AUTHORS" "$pkgname-$pkgver/NEWS"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
@ -53,9 +50,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
|
||||
install -m644 "$srcdir/pdns.conf" "$pkgdir/etc/powerdns/"
|
||||
install -Dm644 "$srcdir/pdns.service" \
|
||||
"$pkgdir/usr/lib/systemd/system/pdns.service"
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
post_install() {
|
||||
cat << 'EOM'
|
||||
==> PowerDNS is built without recursor now. To use the recursor,
|
||||
==> please install the pdns-recursor package and update the
|
||||
==> configuration in /etc/powerdns/recursor.conf
|
||||
EOM
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
Loading…
Reference in a new issue