aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2018-03-28 16:17:34 +0800
committerOlivier Cochard <olivier@FreeBSD.org>2018-03-28 16:17:34 +0800
commitd26d3ce43a1acfc587ef0951c94c5557a3450e13 (patch)
tree3cd8a7a71c72a7e7131a19bf84bee7b4d7f8cc62
parent1cd839909cbe194a20a6ee42b3199f766ecdc89a (diff)
downloadfreebsd-ports-d26d3ce43a1acfc587ef0951c94c5557a3450e13.tar.gz
freebsd-ports-d26d3ce43a1acfc587ef0951c94c5557a3450e13.tar.zst
freebsd-ports-d26d3ce43a1acfc587ef0951c94c5557a3450e13.zip
Update to 2.0.2
PR: 226859 Submitted by: Leo Vandewoestijne <freebsd@dns.company>
Notes
Notes: svn path=/head/; revision=465782
-rw-r--r--net/bird-devel/Makefile8
-rw-r--r--net/bird-devel/distinfo6
-rw-r--r--net/bird-devel/files/patch-proto_babel_config.Y13
-rw-r--r--net/bird-devel/files/pkg-message.in9
-rw-r--r--net/bird-devel/pkg-plist4
5 files changed, 20 insertions, 20 deletions
diff --git a/net/bird-devel/Makefile b/net/bird-devel/Makefile
index d704ec486f9c..b9405c297c8e 100644
--- a/net/bird-devel/Makefile
+++ b/net/bird-devel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bird
-DISTVERSION= 2.0.1
+DISTVERSION= 2.0.2
CATEGORIES= net
MASTER_SITES= ftp://bird.network.cz/pub/bird/
PKGNAMESUFFIX= -devel
@@ -20,8 +20,8 @@ CONFLICTS+= bird6-[0-9]*
USES= bison gmake ncurses readline
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var
-USE_CSTD= gnu89
USE_RC_SUBR= bird
+SUB_FILES= pkg-message
MAKE_JOBS_UNSAFE= yes
@@ -50,4 +50,8 @@ STATIC_VARS= rt_prot+=static
CONFIGURE_ARGS+=--with-protocols="${RT_PROT}"
+post-patch:
+ ${REINPLACE_CMD} -e 's|\.example|\.sample|g' ${WRKSRC}/Makefile.in
+ ${MV} ${WRKSRC}/doc/bird.conf.example ${WRKSRC}/doc/bird.conf.sample
+
.include <bsd.port.mk>
diff --git a/net/bird-devel/distinfo b/net/bird-devel/distinfo
index cf4fd069d473..fbb6a7350f90 100644
--- a/net/bird-devel/distinfo
+++ b/net/bird-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1518802884
-SHA256 (bird-2.0.1.tar.gz) = 5614b60d31a0e224a7e484126641dee7a5386a939f59373a48dfc1233b13d063
-SIZE (bird-2.0.1.tar.gz) = 1006261
+TIMESTAMP = 1521724692
+SHA256 (bird-2.0.2.tar.gz) = 035f91d6f568f8ed438a0814235ac4c5c79147cd2acf201322c307732883480f
+SIZE (bird-2.0.2.tar.gz) = 1015224
diff --git a/net/bird-devel/files/patch-proto_babel_config.Y b/net/bird-devel/files/patch-proto_babel_config.Y
deleted file mode 100644
index 7d5374afdb4b..000000000000
--- a/net/bird-devel/files/patch-proto_babel_config.Y
+++ /dev/null
@@ -1,13 +0,0 @@
---- proto/babel/config.Y.orig 2018-03-05 12:15:52 UTC
-+++ proto/babel/config.Y
-@@ -23,8 +23,8 @@ CF_DEFINES
- CF_DECLS
-
- CF_KEYWORDS(BABEL, METRIC, RXCOST, HELLO, UPDATE, INTERVAL, PORT, WIRED,
-- WIRELESS, RX, TX, BUFFER, LENGTH, CHECK, LINK, BABEL_METRIC, NEXT, HOP,
-- IPV4, IPV6)
-+ WIRELESS, RX, TX, BUFFER, LENGTH, PRIORITY, CHECK, LINK, BABEL_METRIC,
-+ NEXT, HOP, IPV4, IPV6)
-
- CF_GRAMMAR
-
diff --git a/net/bird-devel/files/pkg-message.in b/net/bird-devel/files/pkg-message.in
new file mode 100644
index 000000000000..fab9fb2c8105
--- /dev/null
+++ b/net/bird-devel/files/pkg-message.in
@@ -0,0 +1,9 @@
+#######################################################################
+
+%%LOCALBASE%%/sbin/birdc was added to /etc/shells
+To assign it to a user, the user needs to be in group wheel.
+
+Alternatively you could use security/sudo to grant a user access to it,
+which would allow '%%LOCALBASE%%/sbin/birdc -r' to restrict to read-only.
+
+#######################################################################
diff --git a/net/bird-devel/pkg-plist b/net/bird-devel/pkg-plist
index 18d09ce0acae..d34280eb152d 100644
--- a/net/bird-devel/pkg-plist
+++ b/net/bird-devel/pkg-plist
@@ -1,4 +1,4 @@
-@sample etc/bird.conf.example etc/bird.conf
+@sample etc/bird.conf.sample
+@shell sbin/birdc
sbin/bird
-sbin/birdc
sbin/birdcl