[arch-commits] Commit in nss-myhostname/repos (6 files)

Tom Gundersen tomegun at archlinux.org
Tue Feb 21 23:58:06 UTC 2012


    Date: Tuesday, February 21, 2012 @ 18:58:05
  Author: tomegun
Revision: 150778

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  nss-myhostname/repos/extra-i686/
  nss-myhostname/repos/extra-i686/PKGBUILD
    (from rev 150777, nss-myhostname/trunk/PKGBUILD)
  nss-myhostname/repos/extra-i686/nss-myhostname.install
    (from rev 150777, nss-myhostname/trunk/nss-myhostname.install)
  nss-myhostname/repos/extra-x86_64/
  nss-myhostname/repos/extra-x86_64/PKGBUILD
    (from rev 150777, nss-myhostname/trunk/PKGBUILD)
  nss-myhostname/repos/extra-x86_64/nss-myhostname.install
    (from rev 150777, nss-myhostname/trunk/nss-myhostname.install)

-------------------------------------+
 extra-i686/PKGBUILD                 |   30 ++++++++++++++++++++++++++++++
 extra-i686/nss-myhostname.install   |    6 ++++++
 extra-x86_64/PKGBUILD               |   30 ++++++++++++++++++++++++++++++
 extra-x86_64/nss-myhostname.install |    6 ++++++
 4 files changed, 72 insertions(+)

Copied: nss-myhostname/repos/extra-i686/PKGBUILD (from rev 150777, nss-myhostname/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-02-21 23:58:05 UTC (rev 150778)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Mantas M. <grawity at gmail.com>
+pkgname="nss-myhostname"
+pkgver=0.3
+pkgrel=2
+pkgdesc="NSS plugin providing host name resolution for the locally configured system hostname"
+arch=(i686 x86_64)
+url="http://0pointer.de/lennart/projects/nss-myhostname/"
+license=('LGPL2.1')
+depends=('glibc')
+source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+install=nss-myhostname.install
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --disable-lynx
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+
+md5sums=('d4ab9ac36c053ab8fb836db1cbd4a48f')

Copied: nss-myhostname/repos/extra-i686/nss-myhostname.install (from rev 150777, nss-myhostname/trunk/nss-myhostname.install)
===================================================================
--- extra-i686/nss-myhostname.install	                        (rev 0)
+++ extra-i686/nss-myhostname.install	2012-02-21 23:58:05 UTC (rev 150778)
@@ -0,0 +1,6 @@
+post_install() {
+  cat << 'EOM'
+==> To enable resolution of the local hostname, append 'myhostname' to the hosts
+    line in /etc/nsswitch.conf.
+EOM
+}

Copied: nss-myhostname/repos/extra-x86_64/PKGBUILD (from rev 150777, nss-myhostname/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-02-21 23:58:05 UTC (rev 150778)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Mantas M. <grawity at gmail.com>
+pkgname="nss-myhostname"
+pkgver=0.3
+pkgrel=2
+pkgdesc="NSS plugin providing host name resolution for the locally configured system hostname"
+arch=(i686 x86_64)
+url="http://0pointer.de/lennart/projects/nss-myhostname/"
+license=('LGPL2.1')
+depends=('glibc')
+source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+install=nss-myhostname.install
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --disable-lynx
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+
+md5sums=('d4ab9ac36c053ab8fb836db1cbd4a48f')

Copied: nss-myhostname/repos/extra-x86_64/nss-myhostname.install (from rev 150777, nss-myhostname/trunk/nss-myhostname.install)
===================================================================
--- extra-x86_64/nss-myhostname.install	                        (rev 0)
+++ extra-x86_64/nss-myhostname.install	2012-02-21 23:58:05 UTC (rev 150778)
@@ -0,0 +1,6 @@
+post_install() {
+  cat << 'EOM'
+==> To enable resolution of the local hostname, append 'myhostname' to the hosts
+    line in /etc/nsswitch.conf.
+EOM
+}




More information about the arch-commits mailing list