Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107867335
D1488.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D1488.diff
View Options
Index: dns/Makefile
===================================================================
--- dns/Makefile
+++ dns/Makefile
@@ -177,6 +177,7 @@
SUBDIR += vizone
SUBDIR += walker
SUBDIR += wdns
+ SUBDIR += wrapsrv
SUBDIR += yadifa
SUBDIR += zkt
SUBDIR += zonecheck
Index: dns/wrapsrv/Makefile
===================================================================
--- /dev/null
+++ dns/wrapsrv/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= wrapsrv
+PORTVERSION= 1.0.0
+CATEGORIES= dns
+MASTER_SITES= https://dl.farsightsecurity.com/dist/wrapsrv/ \
+ LOCAL/truckman/farsight
+
+MAINTAINER= truckman@FreeBSD.org
+COMMENT= DNS SRV record command line wrapper
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= docbook2mdoc:${PORTSDIR}/textproc/docbook2mdoc
+
+PLIST_FILES= bin/wrapsrv man/man1/wrapsrv.1.gz
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wrapsrv
+
+.include <bsd.port.mk>
Index: dns/wrapsrv/distinfo
===================================================================
--- /dev/null
+++ dns/wrapsrv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (wrapsrv-1.0.0.tar.gz) = 7d0c20540388dd467d7a596a74657eca3795cc0f065aa7f49024afa7e1e598d0
+SIZE (wrapsrv-1.0.0.tar.gz) = 9347
Index: dns/wrapsrv/files/patch-Makefile
===================================================================
--- /dev/null
+++ dns/wrapsrv/files/patch-Makefile
@@ -0,0 +1,33 @@
+--- Makefile.orig 2014-07-30 21:21:46 UTC
++++ Makefile
+@@ -1,25 +1,22 @@
+-CC = gcc
+-WARN = -Wall -Wextra -Werror
+-CFLAGS = -O2 -g $(WARN)
+ INCLUDE =
+-LDFLAGS = -lresolv
++LDFLAGS =
+ DESTDIR ?=
+-PREFIX = /usr/local
++PREFIX ?= /usr/local
+
+ BINDIR ?= $(DESTDIR)$(PREFIX)/bin
+-MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
++MANDIR ?= $(DESTDIR)$(PREFIX)/man/man1
+
+ BIN = wrapsrv
+ MAN = wrapsrv.1
+ SRC = wrapsrv.c
+
+-all: $(BIN) $(DOC)
++all: $(BIN) $(MAN)
+
+ $(BIN): $(SRC)
+ $(CC) $(CFLAGS) -o $@ $(SRC) $(INCLUDE) $(LDFLAGS)
+
+ $(MAN): wrapsrv.docbook
+- docbook2x-man $<
++ docbook2mdoc $< > $@
+
+ clean:
+ rm -f $(BIN)
Index: dns/wrapsrv/pkg-descr
===================================================================
--- /dev/null
+++ dns/wrapsrv/pkg-descr
@@ -0,0 +1,11 @@
+DNS SRV record command line wrapper
+-----------------------------------
+
+wrapsrv adds support for connecting to a network service based on DNS SRV
+record lookups to commands that do not support the DNS SRV record. wrapsrv
+implements the weighted priority client connection algorithm in RFC 2782.
+The specified command line will be invoked one or more times with %h and %p
+sequences in the command line substituted for the hostname and port elements
+of the selected SRV record.
+
+WWW: https://github.com/farsightsec/wrapsrv
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 8:45 PM (3 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15958443
Default Alt Text
D1488.diff (2 KB)
Attached To
Mode
D1488: new port: dns/wrapsrv - DNS SRV record command line wrapper
Attached
Detach File
Event Timeline
Log In to Comment