[arch-commits] Commit in nss-mdns/trunk (PKGBUILD nss-mdns.install)

Antonio Rojas arojas at archlinux.org
Sun Aug 19 11:18:05 UTC 2018


    Date: Sunday, August 19, 2018 @ 11:18:04
  Author: arojas
Revision: 332653

Update to 0.14.1

Modified:
  nss-mdns/trunk/PKGBUILD
Deleted:
  nss-mdns/trunk/nss-mdns.install

------------------+
 PKGBUILD         |   19 +++++++++----------
 nss-mdns.install |   20 --------------------
 2 files changed, 9 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-19 10:39:22 UTC (rev 332652)
+++ PKGBUILD	2018-08-19 11:18:04 UTC (rev 332653)
@@ -1,31 +1,30 @@
 # $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
+# Maintainer:
+# Contributor: Tom Gundersen <teg at jklm.no>
 # Contributor: Travis Willard <travis at archlinux.org>
 
 pkgname=nss-mdns
-pkgver=0.10
-pkgrel=7
+pkgver=0.14.1
+pkgrel=1
 pkgdesc="glibc plugin providing host name resolution via mDNS"
 arch=('x86_64')
 url="http://0pointer.de/lennart/projects/nss-mdns/"
 license=('LGPL')
 depends=('glibc')
-install=nss-mdns.install
-source=("http://pkgs.fedoraproject.org/repo/pkgs/nss-mdns/nss-mdns-$pkgver.tar.gz/03938f17646efbb50aa70ba5f99f51d7/nss-mdns-$pkgver.tar.gz")
-sha512sums=('7c9f4150648dfab34bc6f8551e5b58b0b7065e4c1472efb8ce1b00b2bd75627e5928b2c199d9dae742abe839968a8774e39c7646f8ce855d342b4d90252efc0e')
+source=("https://github.com/lathiat/nss-mdns/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('a2094101b735cade45048764ea594bdae2bfa9399837f3c852a5b264416e9c8c')
 
 build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
-    --localstatedir=/var \
-    --disable-lynx
+    --localstatedir=/var
   make
 }
 
 package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
 }
 

Deleted: nss-mdns.install
===================================================================
--- nss-mdns.install	2018-08-19 10:39:22 UTC (rev 332652)
+++ nss-mdns.install	2018-08-19 11:18:04 UTC (rev 332653)
@@ -1,20 +0,0 @@
-post_install() {
-  cat << 'EOM'
-==> To enable IPv4 multicast DNS lookups, append 'mdns4' to the hosts line
-    in /etc/nsswitch.conf. Use 'mdns6' for IPv6 or 'mdns' for both.
-EOM
-}
-
-post_upgrade() {
-  if [ "$2" == "0.7-1" ]; then
-    echo -n "disabling mdns lookups in /etc/nsswitch.conf... "
-    sed -i -e '/^hosts: / s/ mdns\([46]\)\?\>//g' etc/nsswitch.conf && echo "done."
-  fi
-  cat << 'EOM'
-==> Please note that due to security reasons from version 0.9 on the 
-    minimal mDNS stack included in nss-mdns (dubbed "legacy") is no 
-    longer built - nss-mdns will not work unless Avahi is running.
-EOM
-
-  post_install
-}



More information about the arch-commits mailing list