void-packages/srcpkgs/nss-myhostname/template

27 lines
995 B
Plaintext
Raw Normal View History

2011-10-25 15:11:13 +02:00
# Template file for 'nss-myhostname'
pkgname=nss-myhostname
version=0.3
homepage="http://0pointer.de/lennart/projects/${pkgname}"
distfiles="${homepage}/$pkgname-$version.tar.gz"
build_style=gnu-configure
configure_args="--libdir=/lib --disable-lynx"
revision=1
2011-10-25 15:11:13 +02:00
short_desc="NSS module providing fallback hostname resolution"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
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
}