Page MenuHomeFreeBSD

D24104.id69609.diff
No OneTemporary

D24104.id69609.diff

Index: head/sysutils/burp-devel/Makefile
===================================================================
--- head/sysutils/burp-devel/Makefile
+++ head/sysutils/burp-devel/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTVERSION= 2.3.22
+PORTVERSION= 2.3.24
PORTREVISION= 0 #this is a slave port that needs PORTREVISION to be tracked separately
PKGNAMESUFFIX= -devel
Index: head/sysutils/burp-devel/distinfo
===================================================================
--- head/sysutils/burp-devel/distinfo
+++ head/sysutils/burp-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580671041
-SHA256 (grke-burp-2.3.22_GH0.tar.gz) = e8f1c3c2432916bfec631e452c09ef48b13ec77fe715300638e474b6e49d455b
-SIZE (grke-burp-2.3.22_GH0.tar.gz) = 628380
+TIMESTAMP = 1583262411
+SHA256 (grke-burp-2.3.24_GH0.tar.gz) = 0d95e8e46bad01164c31cbb0ac173a2d668ef4e56530b19c8e0801ab13f0924b
+SIZE (grke-burp-2.3.24_GH0.tar.gz) = 615113
Index: head/sysutils/burp/Makefile
===================================================================
--- head/sysutils/burp/Makefile
+++ head/sysutils/burp/Makefile
@@ -3,7 +3,7 @@
PORTNAME= burp
PORTVERSION?= 2.2.18
-PORTREVISION?= 2 #whenever PORTREVISION is increased, it must be increased for
+PORTREVISION?= 3 #whenever PORTREVISION is increased, it must be increased for
#the slave port sysutils/burp-devel too
CATEGORIES= sysutils
@@ -20,8 +20,8 @@
RUN_DEPENDS= bash:shells/bash
USES= autoreconf gmake libtool ncurses pkgconfig ssl
+USE_RC_SUBR= burp
USE_GITHUB= yes
-
GH_ACCOUNT= grke
GNU_CONFIGURE= yes
@@ -37,10 +37,7 @@
OPTIONS_DEFINE= IPV6
IPV6_CONFIGURE_ENABLE= ipv6
-post-patch:
- ${REINPLACE_CMD} "s,/usr/local,${LOCALBASE},g" ${WRKSRC}/freebsd/rc.d/burp
-
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/freebsd/rc.d/burp ${STAGEDIR}${PREFIX}/etc/rc.d/burp
+ ${INSTALL_SCRIPT} ${FILESDIR}/burp.in ${STAGEDIR}${PREFIX}/etc/rc.d/burp
.include <bsd.port.mk>
Index: head/sysutils/burp/files/burp.in
===================================================================
--- head/sysutils/burp/files/burp.in
+++ head/sysutils/burp/files/burp.in
@@ -1,7 +1,32 @@
#!/bin/sh
-# Burp rc.d script, placed in the public domain by Jarkko Kniivilä @ 2014-05-14
+# Burp rc.d script, based on a script placed in the public domain by
+# Jarkko Kniivilä @ 2014-05-14
+# Copyright (c) 2020 Lorenzo Salvadore <salvadore@FreeBSD.org>
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+
# PROVIDE: burp
# REQUIRE: DAEMON
# KEYWORD: shutdown
@@ -14,7 +39,7 @@
#
#
-export PATH="$PATH:/usr/local/bin:/usr/local/sbin"
+export PATH="$PATH:%%PREFIX%%/bin:%%PREFIX%%/sbin"
. /etc/rc.subr
@@ -31,7 +56,7 @@
burp_flags="-c ${burp_config}"
-command="/usr/local/sbin/${name}"
+command="%%PREFIX%%/sbin/${name}"
command_args="> /dev/null 2>&1"
pidfile="/var/run/${name}.server.pid" # this really depends on the config file so make sure they concur
Index: head/sysutils/burp/pkg-plist
===================================================================
--- head/sysutils/burp/pkg-plist
+++ head/sysutils/burp/pkg-plist
@@ -4,7 +4,6 @@
%%ETCDIR%%/burp.conf
%%ETCDIR%%/clientconfdir/incexc/example
%%ETCDIR%%/clientconfdir/testclient
-etc/rc.d/burp
man/man8/bedup.8.gz
man/man8/bsigs.8.gz
man/man8/bsparse.8.gz

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 6, 4:23 AM (9 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36075069
Default Alt Text
D24104.id69609.diff (4 KB)

Event Timeline