- New port openresolv-1.1
A resolvconf compatible framework for managing /etc/resolv.conf. PR: ports/119171 Submitted by: Roy Marples <roy@marples.name> (maintainer)
This commit is contained in:
parent
db0bda26b8
commit
0cf97c910f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206624
@ -70,6 +70,7 @@
|
||||
SUBDIR += nss_resinit
|
||||
SUBDIR += odsclient
|
||||
SUBDIR += opendd
|
||||
SUBDIR += openresolv
|
||||
SUBDIR += p5-BIND-Conf_Parser
|
||||
SUBDIR += p5-DNS-Config
|
||||
SUBDIR += p5-DNS-EasyDNS
|
||||
|
27
dns/openresolv/Makefile
Normal file
27
dns/openresolv/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# New ports collection makefile for: openresolv
|
||||
# Date created: 20 December 2007
|
||||
# Whom: Wesley Shields <wxs@atarininja.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= openresolv
|
||||
PORTVERSION= 1.1
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://roy.marples.name/openresolv/
|
||||
|
||||
MAINTAINER= roy@marples.name
|
||||
COMMENT= A resolvconf compatible framework for managing resolv.conf
|
||||
|
||||
USE_BZIP2= yes
|
||||
|
||||
MAN8= resolvconf.8
|
||||
|
||||
SUB_FILES= pkg-deinstall pkg-message
|
||||
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
post-install:
|
||||
@${CAT} ${WRKDIR}/pkg-message
|
||||
|
||||
.include <bsd.port.mk>
|
3
dns/openresolv/distinfo
Normal file
3
dns/openresolv/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (openresolv-1.1.tar.bz2) = 346767d3072b8a294148d70a3e0ac763
|
||||
SHA256 (openresolv-1.1.tar.bz2) = 979e7af497c69f03d9ae70134ae11e5338b42bdca06fecab5b297a1f16f381f5
|
||||
SIZE (openresolv-1.1.tar.bz2) = 8765
|
24
dns/openresolv/files/pkg-deinstall.in
Normal file
24
dns/openresolv/files/pkg-deinstall.in
Normal file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
case $2 in
|
||||
DEINSTALL)
|
||||
;;
|
||||
POST-DEINSTALL)
|
||||
echo "===> post-deinstallation information for $1"
|
||||
echo ""
|
||||
echo "Please note that $1 was not completely removed"
|
||||
echo "from this system:"
|
||||
echo ""
|
||||
echo "/etc/resolv.conf should now be changed to be a regular"
|
||||
echo "file and /var/run/resolvconf can be removed if openresolv"
|
||||
echo "will no longer be used."
|
||||
echo ""
|
||||
;;
|
||||
*)
|
||||
exit 64
|
||||
;;
|
||||
esac
|
||||
exit 0
|
8
dns/openresolv/files/pkg-message.in
Normal file
8
dns/openresolv/files/pkg-message.in
Normal file
@ -0,0 +1,8 @@
|
||||
=================================================
|
||||
|
||||
To make sure openresolv runs correctly
|
||||
please symlink /etc/resolv.conf to
|
||||
%%PREFIX%%/etc/resolvconf/run/resolv.conf
|
||||
|
||||
=================================================
|
||||
|
3
dns/openresolv/pkg-descr
Normal file
3
dns/openresolv/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
A resolvconf compatible framework for managing /etc/resolv.conf.
|
||||
|
||||
WWW: http://roy.marples.name/node/343
|
11
dns/openresolv/pkg-plist
Normal file
11
dns/openresolv/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
@exec mkdir -p %D/etc/resolvconf/update-libc.d
|
||||
@exec mkdir -p %D/etc/resolvconf/resolv.conf.d
|
||||
sbin/resolvconf
|
||||
etc/resolvconf/run
|
||||
etc/resolvconf/update.d/libc
|
||||
etc/resolvconf/update.d/dnsmasq
|
||||
etc/resolvconf/update.d/named
|
||||
@dirrm etc/resolvconf/update.d
|
||||
@dirrm etc/resolvconf/update-libc.d
|
||||
@dirrm etc/resolvconf/resolv.conf.d
|
||||
@dirrm etc/resolvconf
|
Loading…
Reference in New Issue
Block a user