Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
/etc/resolv.conf is a file that holds the configuration for the local
resolution of domain names. Normally this file is either static or maintained
by a local daemon, normally a DHCP daemon. But what happens if more than one
thing wants to control the file? Say you have wired and wireless interfaces to
different subnets and run a VPN or two on top of that, how do you say which one
controls the file? It's also not as easy as just adding and removing the
nameservers each client knows about as different clients could add the same
nameservers.
Enter resolvconf, the middleman between the network configuration services and
/etc/resolv.conf. resolvconf itself is just a script that stores, removes and
lists a full resolv.conf generated for the interface. It then calls all the
helper scripts it knows about so it can configure the real /etc/resolv.conf
and optionally any local nameservers other can libc.
+10
View File
@@ -0,0 +1,10 @@
===========================================================================
$NetBSD: MESSAGE,v 1.4 2009/03/16 21:55:44 roy Exp $
To ensure that resolvconf works correctly, you should ensure that
${PREFIX} is available before any clients attempt to use it.
On NetBSD, for example, you could do this by setting this in /etc/rc.conf
critical_filesystems_local="/usr /var"
and adding ${PREFIX}/sbin to PATH in /etc/rc.conf.
===========================================================================
+29
View File
@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.20 2013/06/21 04:46:38 dsainty Exp $
#
DISTNAME= openresolv-3.5.5
CATEGORIES= net
MASTER_SITES= ftp://roy.marples.name/pub/openresolv/
MASTER_SITES+= http://roy.aydogan.net/openresolv/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= roy@NetBSD.org
HOMEPAGE= http://roy.marples.name/projects/openresolv/
COMMENT= Framework for managing /etc/resolv.conf
LICENSE= modified-bsd
USE_LANGUAGES= # none
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/resolvconf
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
MAKE_ENV+= INSTALL=${TOOLS_PATH.install:Q}
EGDIR= ${PREFIX}/share/examples/resolvconf
INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR}
CONF_FILES= ${EGDIR}/resolvconf.conf \
${PKG_SYSCONFDIR}/resolvconf.conf
.include "../../mk/bsd.pkg.mk"
+10
View File
@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.6 2010/11/05 09:24:58 roy Exp $
libexec/resolvconf/dnsmasq
libexec/resolvconf/libc
libexec/resolvconf/named
libexec/resolvconf/pdnsd
libexec/resolvconf/unbound
man/man5/resolvconf.conf.5
man/man8/resolvconf.8
sbin/resolvconf
share/examples/resolvconf/resolvconf.conf
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.14 2013/06/04 09:32:03 roy Exp $
SHA1 (openresolv-3.5.5.tar.bz2) = 05430776de60aa986502fc6469d0d6e08f8a2c6a
RMD160 (openresolv-3.5.5.tar.bz2) = e34c64ac3605838e753c4831d401d3c553e58428
Size (openresolv-3.5.5.tar.bz2) = 14686 bytes