[arch-commits] Commit in nss-mdns/repos/extra-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Mon Jun 4 14:15:47 UTC 2018


    Date: Monday, June 4, 2018 @ 14:15:47
  Author: felixonmars
Revision: 325839

archrelease: copy trunk to extra-x86_64

Added:
  nss-mdns/repos/extra-x86_64/PKGBUILD
    (from rev 325838, nss-mdns/trunk/PKGBUILD)
  nss-mdns/repos/extra-x86_64/nss-mdns.install
    (from rev 325838, nss-mdns/trunk/nss-mdns.install)
Deleted:
  nss-mdns/repos/extra-x86_64/PKGBUILD
  nss-mdns/repos/extra-x86_64/nss-mdns.install

------------------+
 PKGBUILD         |   62 ++++++++++++++++++++++++++---------------------------
 nss-mdns.install |   40 +++++++++++++++++-----------------
 2 files changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-04 14:15:32 UTC (rev 325838)
+++ PKGBUILD	2018-06-04 14:15:47 UTC (rev 325839)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: Travis Willard <travis at archlinux.org>
-
-pkgname=nss-mdns
-pkgver=0.10
-pkgrel=6
-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')
-install=nss-mdns.install
-source=("http://pkgs.fedoraproject.org/repo/pkgs/nss-mdns/nss-mdns-$pkgver.tar.gz/03938f17646efbb50aa70ba5f99f51d7/nss-mdns-$pkgver.tar.gz")
-md5sums=('03938f17646efbb50aa70ba5f99f51d7')
-
-build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --disable-lynx
-  make
-}
-
-package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-}
-

Copied: nss-mdns/repos/extra-x86_64/PKGBUILD (from rev 325838, nss-mdns/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-04 14:15:47 UTC (rev 325839)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Travis Willard <travis at archlinux.org>
+
+pkgname=nss-mdns
+pkgver=0.10
+pkgrel=7
+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')
+
+build() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --disable-lynx
+  make
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+

Deleted: nss-mdns.install
===================================================================
--- nss-mdns.install	2018-06-04 14:15:32 UTC (rev 325838)
+++ nss-mdns.install	2018-06-04 14:15:47 UTC (rev 325839)
@@ -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
-}

Copied: nss-mdns/repos/extra-x86_64/nss-mdns.install (from rev 325838, nss-mdns/trunk/nss-mdns.install)
===================================================================
--- nss-mdns.install	                        (rev 0)
+++ nss-mdns.install	2018-06-04 14:15:47 UTC (rev 325839)
@@ -0,0 +1,20 @@
+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