From 3a483d679aafb9fbfd7c8f722a8f69333e446cee Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Wed, 15 Aug 2012 11:05:28 -0500
Subject: nss-mdns:  .10

---
 abs/core/nss-mdns/PKGBUILD   | 22 +++++++++-------------
 abs/core/nss-mdns/mdns.allow |  8 --------
 2 files changed, 9 insertions(+), 21 deletions(-)
 delete mode 100644 abs/core/nss-mdns/mdns.allow

diff --git a/abs/core/nss-mdns/PKGBUILD b/abs/core/nss-mdns/PKGBUILD
index 643dac8..6747d10 100644
--- a/abs/core/nss-mdns/PKGBUILD
+++ b/abs/core/nss-mdns/PKGBUILD
@@ -1,34 +1,30 @@
-# $Id: PKGBUILD 124100 2011-05-16 15:17:50Z andrea $
-# Maintainer:
+# $Id: PKGBUILD 150739 2012-02-21 17:19:59Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
 # Contributor: Travis Willard <travis@archlinux.org>
 
 pkgname=nss-mdns
 pkgver=0.10
-pkgrel=3
+pkgrel=5
 pkgdesc="glibc plugin providing host name resolution via mDNS"
 arch=('i686' 'x86_64')
 url="http://0pointer.de/lennart/projects/nss-mdns/"
 license=('LGPL')
 depends=('glibc')
-makedepends=('pkgconfig')
-backup=('etc/mdns.allow')
 install=nss-mdns.install
-source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        'mdns.allow')
-md5sums=('03938f17646efbb50aa70ba5f99f51d7'
-         '904abb492fb1f56722826c0c3a997bf0')
+source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('03938f17646efbb50aa70ba5f99f51d7')
 
 build() {
   cd "${srcdir}"/${pkgname}-${pkgver}
-  ./configure --prefix=/ \
-    --disable-lynx \
-    --enable-avahi
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var
   make
 }
 
 package() {
   cd "${srcdir}"/${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
-  install -Dm644 "${srcdir}"/mdns.allow "${pkgdir}"/etc/mdns.allow
 }
 
diff --git a/abs/core/nss-mdns/mdns.allow b/abs/core/nss-mdns/mdns.allow
deleted file mode 100644
index ed64c97..0000000
--- a/abs/core/nss-mdns/mdns.allow
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# /etc/mdns.allow
-#
-
-.local.
-.local
-
-# End of file
-- 
cgit v0.12

