nss-myhostname: removed; superseded by systemd.

This commit is contained in:
Juan RP 2013-07-29 11:26:12 +02:00
parent 48237b2f1c
commit 2d765d7c18
2 changed files with 0 additions and 46 deletions

View File

@ -1,15 +0,0 @@
case ${ACTION} in
post)
cat <<_EOF
=====================================================================
Please note to enable nss-myhostname properly, some changes are
required to /etc/nsswitch.conf:
hosts: files dns myhostname
Note that myhostname must appear the last one, as fallback for the
other services.
=====================================================================
_EOF
;;
esac

View File

@ -1,31 +0,0 @@
# Template file for 'nss-myhostname'
pkgname=nss-myhostname
version=0.3
revision=2
build_style=gnu-configure
configure_args="--disable-lynx"
short_desc="NSS module providing fallback hostname resolution"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://0pointer.de/lennart/projects/${pkgname}"
distfiles="${homepage}/$pkgname-$version.tar.gz"
checksum=2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2
long_desc="
This package contains a plugin for the Name Service Switch, providing host
name resolution for the locally configured system hostname as returned by
gethostname(2). It simply returns the IPv4 address 127.0.1.1 (which is on the
local loopback) and the IPv6 address ::1 (which is the local host).
A lot of software relies on that the local host name is resolvable. This
package provides an alternative to the fragile and error-prone manual editing
of /etc/hosts."
post_install() {
rm -rf ${DESTDIR}/usr/share/doc
}
nss-myhostname_package() {
pkg_install() {
vmove usr
}
}