head 1.11; access; symbols pkgsrc-2023Q4:1.11.0.32 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.11.0.30 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.11.0.28 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.11.0.26 pkgsrc-2023Q1-base:1.11 pkgsrc-2022Q4:1.11.0.24 pkgsrc-2022Q4-base:1.11 pkgsrc-2022Q3:1.11.0.22 pkgsrc-2022Q3-base:1.11 pkgsrc-2022Q2:1.11.0.20 pkgsrc-2022Q2-base:1.11 pkgsrc-2022Q1:1.11.0.18 pkgsrc-2022Q1-base:1.11 pkgsrc-2021Q4:1.11.0.16 pkgsrc-2021Q4-base:1.11 pkgsrc-2021Q3:1.11.0.14 pkgsrc-2021Q3-base:1.11 pkgsrc-2021Q2:1.11.0.12 pkgsrc-2021Q2-base:1.11 pkgsrc-2021Q1:1.11.0.10 pkgsrc-2021Q1-base:1.11 pkgsrc-2020Q4:1.11.0.8 pkgsrc-2020Q4-base:1.11 pkgsrc-2020Q3:1.11.0.6 pkgsrc-2020Q3-base:1.11 pkgsrc-2020Q2:1.11.0.4 pkgsrc-2020Q2-base:1.11 pkgsrc-2020Q1:1.11.0.2 pkgsrc-2020Q1-base:1.11 pkgsrc-2019Q4:1.9.0.4 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.8.0.10 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.8 pkgsrc-2019Q2-base:1.8 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.20 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.18 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.16 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.14 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.10 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.8 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.6 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.4 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.2 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.6.0.6 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.4 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.2 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.5.0.24 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.22 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.20 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.18 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.16 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.14 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.12 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.10 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.8 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.6 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.4 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.2 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.4.0.38 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.36 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.34 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.32 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.30 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.28 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.26 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.24 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.22 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.20 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.18 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.16 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.14 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.12 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.10 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.8 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.6 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.2 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.2.0.10 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.8 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.6 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.4 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.2 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.1.1.1.0.2 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.11 date 2020.01.26.05.26.08; author rillig; state Exp; branches; next 1.10; commitid uxXvYG0sFCxwZ9UB; 1.10 date 2020.01.18.23.29.57; author rillig; state Exp; branches; next 1.9; commitid shGUwZfkr7sleeTB; 1.9 date 2019.11.02.22.54.27; author rillig; state Exp; branches; next 1.8; commitid xi9jC6qL0JwEwkJB; 1.8 date 2018.07.04.13.40.08; author jperkin; state Exp; branches; next 1.7; commitid NnIyRkdX3Lbg3PIA; 1.7 date 2016.05.14.21.06.11; author mef; state Exp; branches; next 1.6; commitid XMbXXlkCnPJgEu6z; 1.6 date 2015.09.03.02.50.20; author dsainty; state Exp; branches; next 1.5; commitid E1XX2Ydj4BVRKKzy; 1.5 date 2012.09.11.19.47.01; author asau; state Exp; branches; next 1.4; 1.4 date 2008.05.28.05.13.32; author dsainty; state Exp; branches; next 1.3; 1.3 date 2008.03.02.03.48.36; author jlam; state Exp; branches; next 1.2; 1.2 date 2006.11.27.14.24.01; author dsainty; state Exp; branches; next 1.1; 1.1 date 2006.09.03.06.27.04; author dsainty; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.09.03.06.27.04; author dsainty; state Exp; branches; next ; desc @@ 1.11 log @all: migrate some SourceForge homepage URLs back from https to http https://mail-index.netbsd.org/pkgsrc-changes/2020/01/18/msg205146.html In the above commit, the homepage URLs were migrated from http to https, assuming that SourceForge would use the same host names for both http and https connections. This assumption was wrong. Their documentation at https://sourceforge.net/p/forge/documentation/Custom%20VHOSTs/ states that the https URLs use the domain sourceforge.io instead. To make the homepages from the above commit reachable again, pkglint has been extended to check for reachable homepages. This check is only enabled when the --network command line option is given. Each of the homepages that referred to https://$project.sourceforge.net before was migrated to https://$project.sourceforge.io (27), and if that was not reachable, to the fallback URL http://$project.sourceforge.net (163). @ text @# $NetBSD: Makefile,v 1.10 2020/01/18 23:29:57 rillig Exp $ DISTNAME= sarab-1.0.0 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sarab/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://sarab.sourceforge.net/ COMMENT= Schedule And Rotate Automatic Backups LICENSE= gnu-gpl-v2 DEPENDS+= dar-[0-9]*:../../archivers/dar USE_TOOLS+= bash:run PKG_SYSCONFSUBDIR= sarab REPLACE_INTERPRETER+= bash REPLACE.bash.old= /bin/bash REPLACE.bash.new= ${TOOLS_PATH.bash} REPLACE_FILES.bash= sarab.sh EGDIR= ${PREFIX}/share/examples/sarab CONF_FILES+= ${EGDIR}/rotation.schedule ${PKG_SYSCONFDIR}/rotation.schedule CONF_FILES+= ${EGDIR}/sarab.conf ${PKG_SYSCONFDIR}/sarab.conf CONF_FILES+= ${EGDIR}/sarab.dcf ${PKG_SYSCONFDIR}/sarab.dcf SUBST_CLASSES+= dar SUBST_STAGE.dar= pre-configure SUBST_MESSAGE.dar= Fix path to DAR utilities SUBST_FILES.dar= etc/sarab.conf SUBST_SED.dar= -e "s|/usr/local/bin/dar|${PREFIX}/bin/dar|" # archivers/dar disables building "dar_static" SUBST_CLASSES+= nocopy SUBST_STAGE.nocopy= pre-configure SUBST_MESSAGE.nocopy= Do not copy dar_static SUBST_FILES.nocopy= etc/sarab.conf SUBST_SED.nocopy= -e "s|COPY_DAR=\"yes\"|COPY_DAR=\"no\"|" SUBST_CLASSES+= conf SUBST_STAGE.conf= pre-configure SUBST_MESSAGE.conf= Fix path to SaraB configuration files SUBST_FILES.conf= sarab.sh etc/sarab.conf SUBST_SED.conf= -e "s|/etc/sarab|${PKG_SYSCONFDIR}|" # NetBSD has /kern, and does not have /sys. Other platforms might # differ. SUBST_CLASSES+= prune SUBST_STAGE.prune= pre-configure SUBST_MESSAGE.prune= Prune /kern instead of /sys SUBST_FILES.prune= etc/sarab.dcf SUBST_SED.prune= -e "s|--prune sys|--prune kern|" INSTALLATION_DIRS= bin ${EGDIR} do-build: # do nothing do-install: set -e; \ for example in \ ${WRKSRC}/etc/rotation.schedule.README \ ${WRKSRC}/etc/rotation.schedule \ ${WRKSRC}/etc/sarab.conf \ ${WRKSRC}/etc/sarab.dcf \ ${WRKSRC}/etc/examples/*; do \ ${INSTALL_DATA} "$${example}" ${DESTDIR}${EGDIR}; \ done ${INSTALL_SCRIPT} ${WRKSRC}/sarab.sh ${DESTDIR}${PREFIX}/bin/sarab .include "../../mk/bsd.pkg.mk" @ 1.10 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/11/02 22:54:27 rillig Exp $ d8 1 a8 1 HOMEPAGE= https://sarab.sourceforge.net/ @ 1.9 log @archivers: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2018/07/04 13:40:08 jperkin Exp $ d8 1 a8 1 HOMEPAGE= http://sarab.sourceforge.net/ @ 1.8 log @*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2016/05/14 21:06:11 mef Exp $ d23 3 a25 3 CONF_FILES+= ${EGDIR}/rotation.schedule ${PKG_SYSCONFDIR}/rotation.schedule CONF_FILES+= ${EGDIR}/sarab.conf ${PKG_SYSCONFDIR}/sarab.conf CONF_FILES+= ${EGDIR}/sarab.dcf ${PKG_SYSCONFDIR}/sarab.dcf @ 1.7 log @Updated archivers/sarab to 1.0.0 --------------------------------- ===================================================== 02/21/2010 - SaraB version 1.0.0 ===================================================== * SaraB can now be installed and run with path names containing space characters * Corrected wrong samples for TOH backup schedules ===================================================== 02/15/2009 - SaraB version 0.2.7 ===================================================== Changes pointed out by Ivan Savcic : * added -Q option by default when executing DAR * DAR exit code variable fixed * DAR exit code 5 is treated as warning now * overall improved handling of warnings ===================================================== 11/28/2008 - SaraB version 0.2.6 ===================================================== * improvements to install.sh * DAR exit code 11 is treated as warning now * support for post backup script ===================================================== 08/30/2008 - SaraB version 0.2.5 ===================================================== * sarab.sh can be run via sudo (effective user id is checked) * fix to install.sh * install.sh now locates dar on path @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2015/09/03 02:50:20 dsainty Exp $ d28 1 a28 1 SUBST_STAGE.dar= post-patch d35 1 a35 1 SUBST_STAGE.nocopy= post-patch d41 1 a41 1 SUBST_STAGE.conf= post-patch d49 1 a49 1 SUBST_STAGE.prune= post-patch @ 1.6 log @It has been a few years since I used Sarab, reset MAINTAINER. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2012/09/11 19:47:01 asau Exp $ d3 1 a3 1 DISTNAME= sarab-0.2.4 d10 1 a10 1 #LICENSE= GPL @ 1.5 log @"user-destdir" is default these days @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2008/05/28 05:13:32 dsainty Exp $ d7 1 a7 1 MAINTAINER= dsainty@@NetBSD.org @ 1.4 log @Update SaraB to 0.2.4. Update prompted: by http://secunia.com/advisories/30394/ ... but the previous version in Pkgsrc (0.2.2) wasn't vulnerable, the advisory only relates to new functionality added in SaraB 0.2.3. Pkgsrc changes: - Remove patch-aa, which has been applied upstream via bug 1184476: http://sourceforge.net/tracker/index.php?func=detail&aid=1184476&group_id=91804&atid=598441 - Minor pkglinting ===================================================== 05/18/2008 - SaraB version 0.2.4 ===================================================== * Security fix: Encryption ciphers are no longer passed on the dar command line ===================================================== 04/21/2008 - SaraB version 0.2.3 ===================================================== * Fixes for bugs long mentioned @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2008/03/02 03:48:36 jlam Exp $ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.3 log @Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2006/11/27 14:24:01 dsainty Exp $ d3 1 a3 2 DISTNAME= sarab-0.2.2 PKGREVISION= 1 a12 1 WRKSRC= ${WRKDIR}/sarab d61 1 d68 1 a68 1 ${INSTALL_DATA} $${example} ${DESTDIR}${EGDIR}; \ @ 1.2 log @Fix incremental backups under (at least) NetBSD. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2006/09/03 06:27:04 dsainty Exp $ d16 2 d58 2 a62 1 ${INSTALL_DATA_DIR} ${EGDIR} d69 1 a69 1 ${INSTALL_DATA} $${example} ${EGDIR}/; \ d71 1 a71 1 ${INSTALL_SCRIPT} ${WRKSRC}/sarab.sh ${PREFIX}/bin/sarab @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d4 1 @ 1.1.1.1 log @SaraB works with DAR (Disk ARchive) to schedule and rotate hard drive based backups. SaraB supports the Towers of Hanoi, Grandfather-Father-Son, or any custom backup rotation strategy. @ text @@