pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/burp



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Dec  1 12:18:31 UTC 2026

Modified Files:
        pkgsrc/sysutils/burp: Makefile PLIST distinfo
Added Files:
        pkgsrc/sysutils/burp/patches: patch-Makefile.am
            patch-manpages_bedup.8.in patch-manpages_burp.8.in
            patch-manpages_burp__ca.8.in
Removed Files:
        pkgsrc/sysutils/burp/patches: patch-Makefile.in
            patch-configs_certs_CA_CA.cnf patch-configs_certs_CA_burp__ca
            patch-configs_client_burp.conf patch-configs_server_burp.conf
            patch-configs_server_summary__script patch-manpages_Makefile.in
            patch-manpages_bedup.8 patch-manpages_burp.8
            patch-manpages_burp__ca.8 patch-src-xattr.c patch-src_handy.c
            patch-src_msg.c patch-src_server.c

Log Message:
sysutils/burp: Update burp to 3.2.0

Upgrade burp from 1.4.40 (~2015) to 3.2.0, stable release nowadays.

Too large a CHANGELOG to sum it up here!

Update prepared in wip by Francis GUDIN


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/burp/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/burp/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/burp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/burp/patches/patch-Makefile.am \
    pkgsrc/sysutils/burp/patches/patch-manpages_bedup.8.in \
    pkgsrc/sysutils/burp/patches/patch-manpages_burp.8.in \
    pkgsrc/sysutils/burp/patches/patch-manpages_burp__ca.8.in
cvs rdiff -u -r1.1 -r0 pkgsrc/sysutils/burp/patches/patch-Makefile.in \
    pkgsrc/sysutils/burp/patches/patch-configs_certs_CA_CA.cnf \
    pkgsrc/sysutils/burp/patches/patch-configs_certs_CA_burp__ca \
    pkgsrc/sysutils/burp/patches/patch-configs_client_burp.conf \
    pkgsrc/sysutils/burp/patches/patch-configs_server_burp.conf \
    pkgsrc/sysutils/burp/patches/patch-configs_server_summary__script \
    pkgsrc/sysutils/burp/patches/patch-manpages_Makefile.in \
    pkgsrc/sysutils/burp/patches/patch-manpages_bedup.8 \
    pkgsrc/sysutils/burp/patches/patch-manpages_burp.8 \
    pkgsrc/sysutils/burp/patches/patch-manpages_burp__ca.8 \
    pkgsrc/sysutils/burp/patches/patch-src-xattr.c \
    pkgsrc/sysutils/burp/patches/patch-src_handy.c \
    pkgsrc/sysutils/burp/patches/patch-src_msg.c \
    pkgsrc/sysutils/burp/patches/patch-src_server.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/burp/Makefile
diff -u pkgsrc/sysutils/burp/Makefile:1.9 pkgsrc/sysutils/burp/Makefile:1.10
--- pkgsrc/sysutils/burp/Makefile:1.9   Tue Oct 24 22:11:04 2023
+++ pkgsrc/sysutils/burp/Makefile       Tue Dec  1 12:18:30 2026
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.9 2023/10/24 22:11:04 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2026/12/01 12:18:30 wiz Exp $
 
-DISTNAME=      burp-1.4.40
-PKGREVISION=   5
+DISTNAME=      burp-3.2.0
 CATEGORIES=    sysutils archivers
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=burp/}
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=grke/}
+GITHUB_PROJECT=        burp
+GITHUB_TAG=    ${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://burp.grke.net/
+HOMEPAGE=      https://burp.grke.net/
 COMMENT=       Networked backup and restore program
 LICENSE=       gnu-agpl-v3
 
@@ -17,23 +17,39 @@ GNU_CONFIGURE=      yes
 PKG_SYSCONFSUBDIR=     burp
 
 SUBST_CLASSES+=                dirs
-SUBST_STAGE.dirs=      pre-install
+SUBST_STAGE.dirs=      pre-configure
 SUBST_MESSAGE.dirs=    Fixing directories
-SUBST_FILES.dirs=      configs/server/burp.conf \
-                       configs/server/summary_script \
-                       configs/client/burp.conf \
-                       configs/certs/CA/CA.cnf \
-                       configs/certs/CA/burp_ca \
-                       manpages/*.8
-SUBST_SED.dirs=                -e 's,@LIBEXECDIR@,${PREFIX}/libexec/burp,' \
-                       -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},' \
-                       -e 's,@SBINDIR@,${PREFIX}/sbin,'
+SUBST_FILES.dirs=      configs/server/burp.conf.in \
+                       configs/server/summary_script.in \
+                       configs/client/burp.conf.in \
+                       configs/certs/CA/CA.cnf.in \
+                       configs/certs/CA/burp_ca.in \
+                       manpages/*.8.in
+SUBST_SED.dirs=                -e 's,@scriptdir@,${PREFIX}/libexec/burp,'
+SUBST_SED.dirs+=       -e 's,@sbindir@,${PREFIX}/sbin,'
+SUBST_SED.dirs+=       -e 's,@sysconfdir@,${PKG_SYSCONFDIR}/libexec/burp,'
+SUBST_VARS.dirs=       PKG_SYSCONFDIR
 
-REPLACE_SH+=   configs/certs/CA/burp_ca \
+MAKE_ENV+=     LDADD=${LDFLAGS:Q}
+MAKE_ENV+=     AM_LDFLAGS=${LDFLAGS:Q}
+
+BUILD_DEFS+=   VARBASE
+
+REPLACE_SH+=   configs/certs/CA/burp_ca.in \
                configs/server/notify_script \
                configs/server/timer_script
+REPLACE_BASH+= configs/server/backup_tool_script.in
+
+USE_TOOLS+=    autoreconf autoconf automake pkg-config bash:run
+USE_LIBTOOL=   yes
+
+pre-configure:
+       set -e; cd ${WRKSRC} && autoreconf -vif
+
+INSTALL_TARGET=                install-all
 
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR} \
+CONFIGURE_ARGS+=       --runstatedir=${VARBASE}/run \
+                       --sysconfdir=${PKG_SYSCONFDIR} \
                        --mandir=${PREFIX}/${PKGMANDIR} \
                        --sbindir=${PREFIX}/sbin
 
@@ -41,6 +57,7 @@ INSTALL_MAKE_FLAGS+=  sysconfdir=${PREFIX
                        libexecdir=${PREFIX}/libexec/burp
 
 .include "../../devel/popt/buildlink3.mk"
+.include "../../devel/uthash/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../net/librsync/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"

Index: pkgsrc/sysutils/burp/PLIST
diff -u pkgsrc/sysutils/burp/PLIST:1.2 pkgsrc/sysutils/burp/PLIST:1.3
--- pkgsrc/sysutils/burp/PLIST:1.2      Sun Jul 24 23:40:10 2016
+++ pkgsrc/sysutils/burp/PLIST  Tue Dec  1 12:18:30 2026
@@ -1,19 +1,45 @@
-@comment $NetBSD: PLIST,v 1.2 2016/07/24 23:40:10 rillig Exp $
-libexec/burp/notify_script
-libexec/burp/ssl_extra_checks_script
-libexec/burp/summary_script
-libexec/burp/timer_script
+@comment $NetBSD: PLIST,v 1.3 2026/12/01 12:18:30 wiz Exp $
+bin/vss_strip
 man/man8/bedup.8
 man/man8/burp.8
 man/man8/burp_ca.8
 man/man8/vss_strip.8
 sbin/bedup
+sbin/bsigs
+sbin/bsparse
 sbin/burp
 sbin/burp_ca
-sbin/vss_strip
+share/burp/scripts/backup_tool_script
+share/burp/scripts/notify_script
+share/burp/scripts/ssl_extra_checks_script
+share/burp/scripts/summary_script
+share/burp/scripts/timer_script
+share/doc/burp/CHANGELOG
+share/doc/burp/CONTRIBUTORS
+share/doc/burp/DONATIONS
+share/doc/burp/LICENSE
+share/doc/burp/README
+share/doc/burp/UPGRADING
+share/doc/burp/add-remove.txt
+share/doc/burp/autoupgrade.txt
+share/doc/burp/backup_phases.txt
+share/doc/burp/backup_tool_script.txt
+share/doc/burp/baremetal-windows2008.txt
+share/doc/burp/baremetal-windows7-hirens.txt
+share/doc/burp/baremetal-windows7.txt
+share/doc/burp/baremetal-windows7and8.txt
+share/doc/burp/burp_ca.txt
+share/doc/burp/debug.txt
+share/doc/burp/readwrite.txt
+share/doc/burp/retention.txt
+share/doc/burp/security-models.txt
+share/doc/burp/server-basics.txt
+share/doc/burp/shuffling.txt
+share/doc/burp/status-monitor.txt
+share/doc/burp/tests.txt
+share/doc/burp/timer_script.txt
+share/doc/burp/working_dir.txt
 share/examples/burp/CA.cnf
-share/examples/burp/autoupgrade/server/win32/script
-share/examples/burp/autoupgrade/server/win64/script
 share/examples/burp/burp-server.conf
 share/examples/burp/burp.conf
 share/examples/burp/clientconfdir/incexc/example

Index: pkgsrc/sysutils/burp/distinfo
diff -u pkgsrc/sysutils/burp/distinfo:1.7 pkgsrc/sysutils/burp/distinfo:1.8
--- pkgsrc/sysutils/burp/distinfo:1.7   Tue Oct 26 11:19:23 2021
+++ pkgsrc/sysutils/burp/distinfo       Tue Dec  1 12:18:30 2026
@@ -1,19 +1,9 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:19:23 nia Exp $
+$NetBSD: distinfo,v 1.8 2026/12/01 12:18:30 wiz Exp $
 
-BLAKE2s (burp-1.4.40.tar.bz2) = d7a7a6f413fc36d9b7d6ec32d0203ba5ebaca8c14995017648115b0174804033
-SHA512 (burp-1.4.40.tar.bz2) = b44ba3a63d3b75f6fee55bbfef70ac07fa87e78ddb22a398e31a86670dfa3f2db1c9dbc58de3d0038cdc409bd5ae52c8e901cb26975fd7dbe0f773c4841af10c
-Size (burp-1.4.40.tar.bz2) = 712937 bytes
-SHA1 (patch-Makefile.in) = 3df0458b1fc50cc03d8f69a864830ab52e9d0f8d
-SHA1 (patch-configs_certs_CA_CA.cnf) = e58da075d16ecd16454b8b08dd6070101fa24475
-SHA1 (patch-configs_certs_CA_burp__ca) = cdcb697e0a40c612ef3881a0abdcbce89aa78980
-SHA1 (patch-configs_client_burp.conf) = b61837e0a4c358a12060ebb6b4a42e26a9667d0d
-SHA1 (patch-configs_server_burp.conf) = bf5a41c09117519b3b198ca1a13951a552a100c1
-SHA1 (patch-configs_server_summary__script) = 068cec66b0634f0746f94891e1390097ec0ef96c
-SHA1 (patch-manpages_Makefile.in) = 710bf51bd43c0ecbe8987a843b27fd0e460342f5
-SHA1 (patch-manpages_bedup.8) = 5e1a2e3c42118d98c9b66a0bc5cafb2eb9c09f11
-SHA1 (patch-manpages_burp.8) = 81879e11cf917c36467513aeb440d0ab2dbad142
-SHA1 (patch-manpages_burp__ca.8) = f9ac9ffe1f67df040c939bb1afcf614869695034
-SHA1 (patch-src-xattr.c) = 105aa2c67fde7007b525d6ff93e0d9ce67ee2f4f
-SHA1 (patch-src_handy.c) = 6d3fe34734c6392a28a59ed1491688d2f12e0a66
-SHA1 (patch-src_msg.c) = 2a8f542f801f2d4ace5d9335d3abb7490cba82d7
-SHA1 (patch-src_server.c) = 3dc518b24bd866d0ff7cc9c834d4fde810cacb74
+BLAKE2s (burp-3.2.0.tar.gz) = 1f79d602e34f4d03b2052fbd5853b054ad571afd0b59c7a802f65bbdd9f55766
+SHA512 (burp-3.2.0.tar.gz) = 13affe243f1bb50460ae6bcece580a18718acb01695e2ef804ce519335a733f02c6a89d5c3263963794ff3714a0c693dd8a2f69ae43774088c3b2c63570162df
+Size (burp-3.2.0.tar.gz) = 550673 bytes
+SHA1 (patch-Makefile.am) = 158b6411d87d7c8cacaccdfbb4747244d24e54a9
+SHA1 (patch-manpages_bedup.8.in) = 97e2f4c182bebc2f5126c099e5ba124eafa257f1
+SHA1 (patch-manpages_burp.8.in) = 64ca86fa1390f015f0ffce716fa5a7e077d8f4b0
+SHA1 (patch-manpages_burp__ca.8.in) = 5caa025a214554314b7b7689001ccea8932f8ff2

Added files:

Index: pkgsrc/sysutils/burp/patches/patch-Makefile.am
diff -u /dev/null pkgsrc/sysutils/burp/patches/patch-Makefile.am:1.1
--- /dev/null   Tue Dec  1 12:18:31 2026
+++ pkgsrc/sysutils/burp/patches/patch-Makefile.am      Tue Dec  1 12:18:30 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile.am,v 1.1 2026/12/01 12:18:30 wiz Exp $
+
+Removes the useless and unsupported '-v' option to mv(1)
+PR opened at https://github.com/grke/burp/pull/953
+
+--- Makefile.am.orig   2026-07-20 14:50:45.132486980 +0000
++++ Makefile.am
+@@ -388,7 +388,7 @@ clean-local-check:
+ $(configs): Makefile
+ 
+ $(PACKAGE_TARNAME): main
+-      $(AM_V_at)mv -fv main $(PACKAGE_TARNAME)
++      $(AM_V_at)mv -f main $(PACKAGE_TARNAME)
+ 
+ $(PACKAGE_TARNAME).conf:
+       $(AM_V_at)rm -f $@
Index: pkgsrc/sysutils/burp/patches/patch-manpages_bedup.8.in
diff -u /dev/null pkgsrc/sysutils/burp/patches/patch-manpages_bedup.8.in:1.1
--- /dev/null   Tue Dec  1 12:18:31 2026
+++ pkgsrc/sysutils/burp/patches/patch-manpages_bedup.8.in      Tue Dec  1 12:18:30 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-manpages_bedup.8.in,v 1.1 2026/12/01 12:18:30 wiz Exp $
+
+Use PKG_SYSCONFIGDIR
+
+--- manpages/bedup.8.in.orig   2026-07-21 13:07:33.745245559 +0000
++++ manpages/bedup.8.in
+@@ -14,7 +14,7 @@ A file deduplication program with additi
+ .SH OPTIONS
+ .TP
+ \fB\-c\fR \fBpath\fR
+-Path to config file (default: /etc/@name@/@name@.conf).
++Path to config file (default: @PKG_SYSCONFDIR@/@name@/@name@.conf).
+ .TP
+ \fB\-g\fR \fB<list of group names>\fR
+ Only run on the directories of clients that are in one of the groups specified. The list is comma-separated. To put a client in a group, use the 'dedup_group' option in the client configuration 
file on the server.
+@@ -40,7 +40,7 @@ Print duplicate paths. Useful if you wan
+ \fB\-V\fR \fB\fR
+ Print version and exit.\fR
+ .TP
+-By default, bedup will read /etc/@name@/@name@.conf and deduplicate client storage directories using special knowledge of the structure.\fR
++By default, bedup will read @PKG_SYSCONFDIR@/@name@/@name@.conf and deduplicate client storage directories using special knowledge of the structure.\fR
+ .TP
+ With '\-n', this knowledge is turned off and you have to specify the directories to deduplicate on the command line. Running with '\-n' is therefore dangerous if you are deduplicating @name@ 
storage directories.
+ 
Index: pkgsrc/sysutils/burp/patches/patch-manpages_burp.8.in
diff -u /dev/null pkgsrc/sysutils/burp/patches/patch-manpages_burp.8.in:1.1
--- /dev/null   Tue Dec  1 12:18:31 2026
+++ pkgsrc/sysutils/burp/patches/patch-manpages_burp.8.in       Tue Dec  1 12:18:30 2026
@@ -0,0 +1,33 @@
+$NetBSD: patch-manpages_burp.8.in,v 1.1 2026/12/01 12:18:30 wiz Exp $
+
+Use PKG_SYSCONFIGDIR
+
+--- manpages/burp.8.in.orig    2026-07-21 13:09:21.747319462 +0000
++++ manpages/burp.8.in
+@@ -17,7 +17,7 @@ BackUp and Restore Program.
+ .TP
+ \fB\-c\fR \fB[path]\fR
+ Short for 'config file'. The argument is a path to the config file. The default
+-is /etc/@name@/@name@.conf.
++is @PKG_SYSCONFDIR@/@name@/@name@.conf.
+ .TP
+ \fB\-F\fR \fB\fR
+ Foreground mode. The server will fork into the background and run as a daemon if you do not give this option.
+@@ -70,7 +70,7 @@ backups.
+ .TP
+ \fB\-c\fR \fB[path]\fR
+ Short for 'config file'. The argument is a path to the config file. The default
+-is /etc/@name@/@name@.conf, or %PROGRAMFILES%\\@human_name@\\@name@.conf on Windows.
++is @PKG_SYSCONFDIR@/@name@/@name@.conf, or %PROGRAMFILES%\\@human_name@\\@name@.conf on Windows.
+ .TP
+ \fB\-C\fR \fB[client]\fR
+ Allows you to specify an alternative client to list or restore from. Requires that the server configuration of the alternative client permits your client to do this. See the 'restore_client' and 
'super_client' options.
+@@ -497,7 +497,7 @@ If this is set to 1, server_script_post
+ Path to autoupgrade directory from which upgrades are downloaded. The option can be left unset in order not to autoupgrade clients. Please see docs/autoupgrade.txt in the source package for more 
help with this option.
+ .TP
+ \fBca_conf=[path]\fR
+-Path to certificate authority configuration file. The CA configuration file will usually be /etc/@name@/CA.cnf. The CA directory indicated by CA.cnf will usually be /etc/@name@/CA. If ca_conf is 
set and the CA directory does not exist, the server will create, populate it, and the paths indicated by ssl_cert_ca, ssl_cert, ssl_key and ssl_dhfile will be overwritten. For more detailed 
information on this and the other ca_* options, please see docs/@name@_ca.txt.
++Path to certificate authority configuration file. The CA configuration file will usually be @PKG_SYSCONFDIR@/@name@/CA.cnf. The CA directory indicated by CA.cnf will usually be 
@PKG_SYSCONFDIR@/@name@/CA. If ca_conf is set and the CA directory does not exist, the server will create, populate it, and the paths indicated by ssl_cert_ca, ssl_cert, ssl_key and ssl_dhfile will 
be overwritten. For more detailed information on this and the other ca_* options, please see docs/@name@_ca.txt.
+ .TP
+ \fBca_name=[name]\fR
+ Name of the CA that the server will generate when using the ca_conf option.
Index: pkgsrc/sysutils/burp/patches/patch-manpages_burp__ca.8.in
diff -u /dev/null pkgsrc/sysutils/burp/patches/patch-manpages_burp__ca.8.in:1.1
--- /dev/null   Tue Dec  1 12:18:31 2026
+++ pkgsrc/sysutils/burp/patches/patch-manpages_burp__ca.8.in   Tue Dec  1 12:18:30 2026
@@ -0,0 +1,19 @@
+$NetBSD: patch-manpages_burp__ca.8.in,v 1.1 2026/12/01 12:18:30 wiz Exp $
+
+Use PKG_SYSCONFIGDIR
+
+--- manpages/burp_ca.8.in.orig 2026-07-21 13:10:59.718331464 +0000
++++ manpages/burp_ca.8.in
+@@ -38,10 +38,10 @@ revoke certificate with serial number
+ generate certificate revoke list
+ .TP
+ \fB\-d|\-\-dir\fR \fB<dir>\fR
+-ca output dir (default: /etc/@name@/CA)
++ca output dir (default: @PKG_SYSCONFDIR@/@name@/CA)
+ .TP
+ \fB\-c|\-\-config\fR \fB\fR
+-config file (default: /etc/@name@/CA.cnf)
++config file (default: @PKG_SYSCONFDIR@/@name@/CA.cnf)
+ .TP
+ \fB\-n|\-\-name\fR \fB\fR
+ name (default: builder)



Home | Main Index | Thread Index | Old Index