aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/zfsnap/Makefile18
-rw-r--r--sysutils/zfsnap/distinfo4
2 files changed, 11 insertions, 11 deletions
diff --git a/sysutils/zfsnap/Makefile b/sysutils/zfsnap/Makefile
index f29fbc3778d7..758c95a01bf3 100644
--- a/sysutils/zfsnap/Makefile
+++ b/sysutils/zfsnap/Makefile
@@ -2,18 +2,18 @@
# $FreeBSD$
PORTNAME= zfsnap
-PORTVERSION= 1.10.1
-PORTREVISION= 1
+PORTVERSION= 1.11.0
CATEGORIES= sysutils
-MASTER_SITES= http://files.bsdroot.lv/my/FreeBSD/distfiles/
-DISTNAME= zfSnap-${PORTVERSION}
MAINTAINER= graudeejs@gmail.com
COMMENT= Simple sh script to make zfs rolling snaphosts with cron
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/graudeejs-zfSnap-${REV}
-REV= e9e56ff
+USE_GITHUB= yes
+GH_PROJECT= zfSnap
+GH_ACCOUNT= graudeejs
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= 2228749
PERIODICDIR?= ${PREFIX}/etc/periodic
PLIST_SUB+= PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}"
@@ -28,13 +28,13 @@ do-patch:
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/zfSnap.sh ${PREFIX}/sbin/zfSnap
-.for period in hourly daily weekly monthly reboot
+.for period in hourly daily weekly monthly
@${MKDIR} ${PERIODICDIR}/${period}
@${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap.sh ${PERIODICDIR}/${period}/402.zfSnap
-.endfor
-.for period in hourly daily weekly monthly
@${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap_delete.sh ${PERIODICDIR}/${period}/403.zfSnap_delete
.endfor
+ @${MKDIR} ${PERIODICDIR}/reboot
+ @${INSTALL_SCRIPT} ${WRKSRC}/reboot_zfSnap.sh ${PERIODICDIR}/reboot/402.zfSnap
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/sysutils/zfsnap/distinfo b/sysutils/zfsnap/distinfo
index 5f264a73bf37..cc71caa0d1d5 100644
--- a/sysutils/zfsnap/distinfo
+++ b/sysutils/zfsnap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (zfSnap-1.10.1.tar.gz) = 08bc589da0a76b1c525d210ca088817351642b453945d1b0ce124779fd281e4d
-SIZE (zfSnap-1.10.1.tar.gz) = 4726
+SHA256 (zfsnap-1.11.0.tar.gz) = 7e5f59eaf16413179724ace9fbbae5c53caf67f67c3516bf1b85edd4d78558a0
+SIZE (zfsnap-1.11.0.tar.gz) = 4973