diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-05 11:13:43 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-05 11:13:43 -0300 |
commit | 58d6937e71aea203f6693a68146018f950922fbc (patch) | |
tree | 3b53b76f930f60717debca5e0d612eeab0279b39 /core/dnsutils/PKGBUILD | |
parent | d07d53d7af1e9694d9558783841bc2df3124a90f (diff) | |
parent | f651180e6b1ac9508ec0d1d9b94972de776020a9 (diff) |
I don't understand gcc/PKGBUILD.mips64el
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/addresses/PKGBUILD
community/chmsee/PKGBUILD
community/coin/PKGBUILD
community/critterding/PKGBUILD
community/distcc/PKGBUILD
community/djview4/PKGBUILD
community/freedroid/PKGBUILD
community/gnumail/PKGBUILD
community/gyachi/PKGBUILD
community/java-oracle/PKGBUILD
community/liboop/PKGBUILD
community/ltris/PKGBUILD
community/nepim/PKGBUILD
community/pantomime/PKGBUILD
community/pyxattr/PKGBUILD
community/soqt/PKGBUILD
community/tilda/PKGBUILD
community/unrealircd/PKGBUILD
community/uqm/PKGBUILD
core/dnsutils/PKGBUILD
core/gcc/PKGBUILD.mips64el
core/vpnc/PKGBUILD
extra/apache/PKGBUILD
extra/bind/PKGBUILD
extra/bzflag/PKGBUILD
extra/ccache/PKGBUILD
extra/claws-mail-extra-plugins/PKGBUILD
extra/clutter-gst/PKGBUILD
extra/cups/PKGBUILD
extra/doxygen/PKGBUILD
extra/fam/PKGBUILD
extra/fcitx/PKGBUILD
extra/gdk-pixbuf2/PKGBUILD
extra/geoip/PKGBUILD
extra/gtk2/PKGBUILD
extra/icedtea-web/PKGBUILD
extra/libffi/PKGBUILD
extra/libfwbuilder/PKGBUILD
extra/libmpd/PKGBUILD
extra/libreoffice/PKGBUILD
extra/mesa/PKGBUILD
extra/pygobject2/PKGBUILD
extra/qt/PKGBUILD
extra/samba/PKGBUILD
extra/wireshark/PKGBUILD
extra/xulrunner/PKGBUILD
multilib-testing/lib32-keyutils/PKGBUILD
multilib-testing/lib32-udev/PKGBUILD
multilib/lib32-gtk2/PKGBUILD
multilib/lib32-keyutils/PKGBUILD
multilib/lib32-libcups/PKGBUILD
multilib/lib32-qt/PKGBUILD
multilib/wine/PKGBUILD
multilib/wine_gecko/PKGBUILD
testing/dash/PKGBUILD
testing/libssh2/PKGBUILD
Diffstat (limited to 'core/dnsutils/PKGBUILD')
-rw-r--r-- | core/dnsutils/PKGBUILD | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/core/dnsutils/PKGBUILD b/core/dnsutils/PKGBUILD index b856ed0b5..4a8840900 100644 --- a/core/dnsutils/PKGBUILD +++ b/core/dnsutils/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 130510 2011-07-07 02:37:46Z bisson $ +# $Id: PKGBUILD 136711 2011-08-31 16:36:37Z bisson $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: kevin <kevin@archlinux.org> # Contributor: mario <mario_vazq@hotmail.com> @@ -8,41 +8,49 @@ pkgname=dnsutils # Use a period and not a hyphen before the patch level for proper versioning. pkgver=9.8.0.P4 _pkgver=9.8.0-P4 -pkgrel=1 +pkgrel=2 -pkgdesc='Various DNS utilities - dig host nslookup nsupdate' -arch=('i686' 'x86_64' 'mips64el') -url='https://www.isc.org/software/bind' +pkgdesc='DNS utilities: dig host nslookup' +url='http://www.isc.org/software/bind/' license=('custom:ISC') +arch=('i686' 'x86_64' 'mips64el') depends=('openssl' 'idnkit') -replaces=('bind-tools' 'host') options=('!makeflags') source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz" - 'tools-only.patch') + 'remove-bind.patch') sha1sums=('969864200c1516a8bea54266de60f316d79182b4' - 'ac88c89e25c26d73095a3dd85e1ca1070d184ded') + 'b465ef6160b004838f04de9978fe1be8422af777') + +replaces=('bind-tools' 'host') build() { cd "${srcdir}/bind-${_pkgver}" - patch -p1 -i ../tools-only.patch + patch -p1 -i ../remove-bind.patch export STD_CDEFINES='-DDIG_SIGCHASE' + # hack to remove unused bloat from the binaries + CFLAGS+=' -fdata-sections -ffunction-sections' + LDFLAGS+=' -Wl,--gc-sections' + ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --with-openssl=yes \ - --with-idn=yes \ + --disable-static \ --disable-linux-caps \ + --with-openssl \ + --with-idn \ make } package() { - cd "${srcdir}/bind-${_pkgver}/bin" + cd "${srcdir}/bind-${_pkgver}" + + install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd bin make DESTDIR="${pkgdir}" install - install -Dm644 ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |