aboutsummaryrefslogtreecommitdiff
path: root/sysutils/zfsnap
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2012-12-30 04:28:48 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2012-12-30 04:28:48 +0000
commit5aaccd8a356e84d8673418e218e81bc8f4aecdca (patch)
tree2298987dde3954239949c70b7edbd9596dca304c /sysutils/zfsnap
parent0abfea12390590f88cb7ae3e0400b3f9fb97b712 (diff)
downloadports-5aaccd8a356e84d8673418e218e81bc8f4aecdca.tar.gz
ports-5aaccd8a356e84d8673418e218e81bc8f4aecdca.zip
Notes
Diffstat (limited to 'sysutils/zfsnap')
-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