head 1.20; access; symbols pkgsrc-2023Q4:1.20.0.4 pkgsrc-2023Q4-base:1.20 pkgsrc-2023Q3:1.20.0.2 pkgsrc-2023Q3-base:1.20 pkgsrc-2023Q2:1.19.0.8 pkgsrc-2023Q2-base:1.19 pkgsrc-2023Q1:1.19.0.6 pkgsrc-2023Q1-base:1.19 pkgsrc-2022Q4:1.19.0.4 pkgsrc-2022Q4-base:1.19 pkgsrc-2022Q3:1.19.0.2 pkgsrc-2022Q3-base:1.19 pkgsrc-2022Q2:1.18.0.8 pkgsrc-2022Q2-base:1.18 pkgsrc-2022Q1:1.18.0.6 pkgsrc-2022Q1-base:1.18 pkgsrc-2021Q4:1.18.0.4 pkgsrc-2021Q4-base:1.18 pkgsrc-2021Q3:1.18.0.2 pkgsrc-2021Q3-base:1.18 pkgsrc-2021Q2:1.17.0.2 pkgsrc-2021Q2-base:1.17 pkgsrc-2021Q1:1.16.0.4 pkgsrc-2021Q1-base:1.16 pkgsrc-2020Q4:1.16.0.2 pkgsrc-2020Q4-base:1.16 pkgsrc-2020Q3:1.13.0.2 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.12.0.6 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.2 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.4 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.10.0.2 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.9.0.2 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.8.0.6 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.4 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.2 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.7.0.18 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.16 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.14 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.12 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.8 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.6 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.4 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.2 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.6.0.4 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.2 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.3.0.6 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.4 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.2 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.2.0.2 pkgsrc-2015Q1-base:1.2; locks; strict; comment @# @; 1.20 date 2023.07.03.13.08.12; author wiz; state Exp; branches; next 1.19; commitid Jc8Gm20ESAc7fmvE; 1.19 date 2022.06.28.11.35.53; author wiz; state Exp; branches; next 1.18; commitid D2UoJrTHpoHEANJD; 1.18 date 2021.06.23.20.23.18; author tnn; state Exp; branches; next 1.17; commitid 2aq8U9dXQxP6riYC; 1.17 date 2021.05.24.19.54.08; author wiz; state Exp; branches; next 1.16; commitid qokaiStTApGMcrUC; 1.16 date 2020.11.07.14.53.30; author tnn; state Exp; branches; next 1.15; commitid YBfLtzupgb72WXuC; 1.15 date 2020.11.07.12.51.04; author tnn; state Exp; branches; next 1.14; commitid zcgbcwSTQI5jgXuC; 1.14 date 2020.10.20.22.16.16; author tnn; state Exp; branches; next 1.13; commitid ecv5rFUNSrx5XGsC; 1.13 date 2020.08.31.18.11.23; author wiz; state Exp; branches; next 1.12; commitid 7zxRbfOkDOoxbfmC; 1.12 date 2019.11.08.17.11.12; author tnn; state Exp; branches; next 1.11; commitid 0PBYllc4xu6Lq4KB; 1.11 date 2019.11.04.21.28.41; author rillig; state Exp; branches; next 1.10; commitid P8zvC5DaquV1ZzJB; 1.10 date 2019.08.11.13.23.03; author wiz; state Exp; branches; next 1.9; commitid Ifet9Pg6Qt99ZByB; 1.9 date 2019.05.23.19.23.17; author rillig; state Exp; branches; next 1.8; commitid aWlQW8HYUUFCAmoB; 1.8 date 2018.08.22.09.46.31; author wiz; state Exp; branches; next 1.7; commitid YLub8g3ofvFGb6PA; 1.7 date 2016.07.09.06.38.58; author wiz; state Exp; branches; next 1.6; commitid dlqnocGpOoXV2Cdz; 1.6 date 2016.03.13.01.02.44; author tnn; state Exp; branches; next 1.5; commitid 3QdUKpjxJ1rcZpYy; 1.5 date 2016.02.28.03.44.05; author tnn; state Exp; branches; next 1.4; commitid BNLrOa0CkDXckDWy; 1.4 date 2016.02.27.21.25.01; author tnn; state Exp; branches; next 1.3; commitid reTstohqaLrveBWy; 1.3 date 2015.06.12.10.51.11; author wiz; state Exp; branches; next 1.2; commitid B4JmCfaVUbiY38py; 1.2 date 2015.03.01.15.58.04; author taca; state Exp; branches; next 1.1; commitid LR4j3H7SjioF5Vby; 1.1 date 2015.02.13.17.57.36; author tnn; state Exp; branches; next ; commitid EzkpXSMuzqkGgS9y; desc @@ 1.20 log @backuppc: fix DEPENDS so it matches the directory @ text @# $NetBSD: Makefile,v 1.19 2022/06/28 11:35:53 wiz Exp $ DISTNAME= BackupPC-4.4.0 PKGREVISION= 4 PKGNAME= ${DISTNAME:tl} CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GITHUB:=backuppc/} GITHUB_RELEASE= ${PKGVERSION_NOREV} MAINTAINER= tnn@@NetBSD.org HOMEPAGE= https://backuppc.github.io/backuppc/ COMMENT= Fast, agentless backup system supporting *NIX, Windows and OSX clients LICENSE= gnu-gpl-v3 RSYNC_BPC= rsync-bpc-3.1.2.2 RSYNC_BPC_TGZ= ${RSYNC_BPC}.tar.gz DISTFILES= ${DEFAULT_DISTFILES} DISTFILES+= ${RSYNC_BPC_TGZ} SITES.${RSYNC_BPC_TGZ}= ${MASTER_SITE_GITHUB:=backuppc/}rsync-bpc/releases/download/${RSYNC_BPC:S/rsync-bpc-//}/ DEPENDS+= rsync-[0-9]*:../../net/rsync DEPENDS+= samba<4:../../net/samba DEPENDS+= par2-[0-9]*:../../archivers/par2 #DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip DEPENDS+= p5-CGI-[0-9]*:../../www/p5-CGI DEPENDS+= p5-File-Listing-[0-9]*:../../devel/p5-File-Listing DEPENDS+= p5-BackupPC-XS>=0.62:../../sysutils/p5-BackupPC-XS HAS_CONFIGURE= yes USE_LANGUAGES= c USE_TOOLS+= bzip2:run cat:run tar:run perl:run hostname:run gzip:run pax OVERRIDE_GNU_CONFIG_SCRIPTS= yes CONFIG_GUESS_OVERRIDE= ../${RSYNC_BPC}/config.guess CONFIG_SUB_OVERRIDE= ../${RSYNC_BPC}/config.sub BUILD_DIRS= ../${RSYNC_BPC} CONFIG_SHELL= ${PERL5} CONFIGURE_SCRIPT= configure.pl CONFIGURE_ARGS+= --batch CONFIGURE_ARGS+= --backuppc-user ${BACKUPPC_USER} CONFIGURE_ARGS+= --hostname localhost CONFIGURE_ARGS+= --dest-dir ${WRKSRC}/build CONFIGURE_ARGS+= --config-dir ${PREFIX}/share/examples/BackupPC CONFIGURE_ARGS+= --cgi-dir ${PREFIX}/share/BackupPC/cgi-bin CONFIGURE_ARGS+= --data-dir ${VARBASE}/BackupPC CONFIGURE_ARGS+= --html-dir ${PREFIX}/share/BackupPC/htdocs CONFIGURE_ARGS+= --html-dir-url /BackupPC CONFIGURE_ARGS+= --install-dir ${PREFIX}/share/BackupPC CONFIGURE_ARGS+= --log-dir ${VARBASE}/log/BackupPC CONFIGURE_ARGS+= --uid-ignore CONFIGURE_ARGS+= --no-set-perms CONFIGURE_ARGS+= --bin-path bzip2=${TOOLS_PATH.bzip2} CONFIGURE_ARGS+= --bin-path cat=${TOOLS_PATH.cat} CONFIGURE_ARGS+= --bin-path tar=${TOOLS_PATH.tar} CONFIGURE_ARGS+= --bin-path gzip=${TOOLS_PATH.gzip} CONFIGURE_ARGS+= --bin-path hostname=${TOOLS_PATH.hostname} CONFIGURE_ARGS+= --bin-path perl=${PERL5} CONFIGURE_ARGS+= --bin-path rsync=${PREFIX}/bin/rsync CONFIGURE_ARGS+= --bin-path nmblookup=${PREFIX}/bin/nmblookup CONFIGURE_ARGS+= --bin-path smbclient=${PREFIX}/bin/smbclient CONFIGURE_ARGS+= --bin-path par2=${PREFIX}/bin/par2 CONFIGURE_ARGS+= --bin-path rsync_bpc=${PREFIX}/bin/rsync_bpc .if exists(/usr/bin/ssh) CONFIGURE_ARGS+= --bin-path ssh=/usr/bin/ssh .else DEPENDS+= openssh-[0-9]*:../../security/openssh CONFIGURE_ARGS+= --bin-path ssh=${PREFIX}/bin/ssh .endif BUILD_DEFS+= BACKUPPC_USER BACKUPPC_GROUP APACHE_USER APACHE_GROUP VARBASE BACKUPPC_USER?= backuppc BACKUPPC_GROUP?= backuppc PKG_USERS_VARS= BACKUPPC_USER PKG_GROUPS_VARS= BACKUPPC_GROUP PKG_GROUPS= ${BACKUPPC_GROUP} PKG_USERS= ${BACKUPPC_USER}:${BACKUPPC_GROUP} SUBST_CLASSES+= fix-paths SUBST_STAGE.fix-paths= post-configure SUBST_MESSAGE.fix-paths= Substituting paths and usernames. SUBST_FILES.fix-paths= ${WRKSRC}/build/${PREFIX}/share/examples/BackupPC/config.pl SUBST_FILES.fix-paths+= ${WRKSRC}/build/${PREFIX}/share/BackupPC/share/doc/BackupPC/* SUBST_FILES.fix-paths+= ${WRKSRC}/build/${PREFIX}/share/BackupPC/lib/BackupPC/Lib.pm SUBST_FILES.fix-paths+= ${WRKSRC}/backuppc.conf SUBST_FILES.fix-paths+= ${WRKSRC}/cgiwrapper.c SUBST_SED.fix-paths= -e 's,${PREFIX}/share/examples/BackupPC,${PKG_SYSCONFDIR},g' SUBST_VARS.fix-paths= PREFIX SUBST_VARS.fix-paths+= PKG_SYSCONFDIR SUBST_VARS.fix-paths+= APACHE_USER SUBST_VARS.fix-paths+= APACHE_GROUP SUBST_VARS.fix-paths+= BACKUPPC_USER SUBST_VARS.fix-paths+= BACKUPPC_GROUP SUBST_VARS.fix-paths+= PERL5 FILES_SUBST+= BACKUPPC_USER=${BACKUPPC_USER:Q} BACKUPPC_GROUP=${BACKUPPC_GROUP:Q} PKG_SYSCONFSUBDIR= BackupPC PKG_SYSCONFDIR_PERMS= ${BACKUPPC_USER} ${BACKUPPC_GROUP} 0755 RCD_SCRIPTS= backuppc OWN_DIRS_PERMS+= ${VARBASE}/BackupPC ${BACKUPPC_USER} ${BACKUPPC_GROUP} 0750 .for d in pool cpool pc trash OWN_DIRS_PERMS+= ${VARBASE}/BackupPC/${d} ${BACKUPPC_USER} ${BACKUPPC_GROUP} 0750 .endfor OWN_DIRS_PERMS+= ${VARBASE}/log/BackupPC ${BACKUPPC_USER} ${BACKUPPC_GROUP} 0750 EGDIR= ${PREFIX}/share/examples/BackupPC CONF_FILES_PERMS+= ${EGDIR}/config.pl ${PKG_SYSCONFDIR}/config.pl ${BACKUPPC_USER} ${BACKUPPC_GROUP} 0640 CONF_FILES_PERMS+= ${EGDIR}/hosts ${PKG_SYSCONFDIR}/hosts ${BACKUPPC_USER} ${BACKUPPC_GROUP} 0640 CONF_FILES_PERMS+= ${EGDIR}/backuppc.conf ${PKG_SYSCONFDIR}/backuppc.conf ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0644 post-extract: cp ${FILESDIR}/backuppc.conf ${WRKSRC}/backuppc.conf cp ${FILESDIR}/cgiwrapper.c ${WRKSRC}/cgiwrapper.c post-configure: cd ${WRKDIR}/${RSYNC_BPC} && ${SETENV} ${CONFIGURE_ENV} ${SH} ./configure --prefix=${PREFIX} --with-included-popt post-build: rm -rf ${WRKSRC}/build/${VARBASE} post-install: cd ${WRKSRC}/build && pax -rw . ${DESTDIR}/ chmod +x ${DESTDIR}${PREFIX}/share/BackupPC/bin/* ${INSTALL_DATA} ${WRKSRC}/backuppc.conf ${DESTDIR}${PREFIX}/share/examples/BackupPC/backuppc.conf ${INSTALL_DATA} ${WRKSRC}/cgiwrapper.c ${DESTDIR}${PREFIX}/share/examples/BackupPC/cgiwrapper.c .include "../../converters/libiconv/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.19 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2021/06/23 20:23:18 tnn Exp $ d22 1 a22 1 DEPENDS+= samba-[0-9]*:../../net/samba @ 1.18 log @backuppc: update HOMEPAGE @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2021/05/24 19:54:08 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.17 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2020/11/07 14:53:30 tnn Exp $ d11 1 a11 1 HOMEPAGE= http://backuppc.sourceforge.net/ @ 1.16 log @backuppc: downgrade the rsync-bpc component to the previous version. Bump. rsync-bpc-3.1.3.0 seems to use a lot more memory than 3.1.2.2 for some reason and it is making my backup host run out of swap. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2020/11/07 12:51:04 tnn Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.15 log @backuppc: fix nonexistent /var/run/BackupPC. Bump PKGREVISION. Can't use OWN_DIRS for stuff under /var/run, it gets removed after reboot. Create directory from the rc script instead. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2020/10/20 22:16:16 tnn Exp $ d4 1 a4 1 PKGREVISION= 1 d15 1 a15 1 RSYNC_BPC= rsync-bpc-3.1.3.0 @ 1.14 log @backuppc: update to 4.4.0 This release contains several new features and some bug fixes. New features include: - any full/filled backup can be marked for keeping, which prevents any expiry or deletion - any backup can be annotated with a comment (eg, "prior to upgrade of xyz") - added metrics CGI that replaces RSS and adds Prometheus support - tar XferMethod now supports xattrs and acls - rsync XferMethod now correctly supports xattrs on directories and symlinks - nightly pool scanning now verifies the md5 digests of a configurable fraction of pool files - code runs through perltidy so format is now uniform @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/08/31 18:11:23 wiz Exp $ d4 1 a111 1 OWN_DIRS_PERMS+= ${VARBASE}/run/BackupPC ${BACKUPPC_USER} ${BACKUPPC_GROUP} 0750 @ 1.13 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2019/11/08 17:11:12 tnn Exp $ d3 1 a3 1 DISTNAME= BackupPC-4.3.1 a4 1 PKGREVISION= 1 d14 1 a14 1 RSYNC_BPC= rsync-bpc-3.1.2.1 d26 1 a26 1 DEPENDS+= p5-BackupPC-XS-[0-9]*:../../sysutils/p5-BackupPC-XS d111 1 @ 1.12 log @backuppc: update to 4.3.1 BackupPC 4.0.0 is a significant improvement over 3.x in terms of performance and storage efficiency. It is backward compatible with 3.x pool storage, so it can be used to upgrade an existing installation as well as for brand new installs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2019/11/04 21:28:41 rillig Exp $ d5 1 @ 1.11 log @sysutils: align variable assignments pkglint -Wall -F --only aligned --only indent -r Manually excluded consolekit and dc-tools since pkglint didn't get the formatting correct. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/08/11 13:23:03 wiz Exp $ d3 1 a3 1 DISTNAME= BackupPC-3.3.1 a4 1 PKGREVISION= 8 d6 2 a7 1 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=backuppc/} d12 7 a18 1 LICENSE= gnu-gpl-v2 d23 1 a23 1 DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip d26 1 a26 1 DEPENDS+= p5-File-RsyncP-[0-9]*:../../net/p5-File-RsyncP d29 1 a29 1 USE_LANGUAGES= # none d32 5 d64 1 d87 1 a87 1 SUBST_FILES.fix-paths+= ${WRKSRC}/build/${PREFIX}/share/BackupPC/doc/* d121 4 a124 1 do-build: d127 1 a127 1 do-install: d133 1 @ 1.10 log @Bump PKGREVISIONs for perl 5.30.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/05/23 19:23:17 rillig Exp $ d91 1 a91 1 PKG_SYSCONFDIR_PERMS= ${BACKUPPC_USER} ${BACKUPPC_GROUP} 0755 @ 1.9 log @all: replace SUBST_SED with the simpler SUBST_VARS pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2018/08/22 09:46:31 wiz Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.8 log @Recursive bump for perl5-5.28.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2016/07/09 06:38:58 wiz Exp $ d80 7 a86 7 SUBST_SED.fix-paths+= -e 's,@@PREFIX@@,${PREFIX},g' SUBST_SED.fix-paths+= -e 's,@@PKG_SYSCONFDIR@@,${PKG_SYSCONFDIR},g' SUBST_SED.fix-paths+= -e 's,@@APACHE_USER@@,${APACHE_USER},g' SUBST_SED.fix-paths+= -e 's,@@APACHE_GROUP@@,${APACHE_GROUP},g' SUBST_SED.fix-paths+= -e 's,@@BACKUPPC_USER@@,${BACKUPPC_USER},g' SUBST_SED.fix-paths+= -e 's,@@BACKUPPC_GROUP@@,${BACKUPPC_GROUP},g' SUBST_SED.fix-paths+= -e 's,@@PERL5@@,${PERL5},g' @ 1.7 log @Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2016/03/13 01:02:44 tnn Exp $ d5 1 a5 1 PKGREVISION= 6 @ 1.6 log @fix perl syntax deprecation warnings @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2016/02/28 03:44:05 tnn Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.5 log @fix perl syntax error: defined(@@array) is deprecated @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/02/27 21:25:01 tnn Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.4 log @needs p5-CGI @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2015/06/12 10:51:11 wiz Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.3 log @Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2015/03/01 15:58:04 taca Exp $ d5 1 a5 1 PKGREVISION= 2 d18 1 @ 1.2 log @Change dependency to samba to net/samba from net/samba35. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/02/13 17:57:36 tnn Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.1 log @Import backuppc-3.3.1 as sysutils/backuppc. BackupPC is a high-performance, enterprise-grade system for backing up *NIX, Windows and MacOSX PCs and laptops to a server's disk. BackupPC is highly configurable and easy to install and maintain. BackupPC does not require any agent software to be installed on the client systems as it operates over SSH/rsync, Samba or ftp. @ text @d1 1 a1 1 # $NetBSD$ d5 1 d15 1 a15 1 DEPENDS+= samba-[0-9]*:../../net/samba35 @