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