svn commit: r555688 - head/sysutils/backupuser

Fernando Apesteguía fernape at FreeBSD.org
Thu Nov 19 06:32:42 UTC 2020


Author: fernape
Date: Thu Nov 19 06:32:41 2020
New Revision: 555688
URL: https://svnweb.freebsd.org/changeset/ports/555688

Log:
  sysutils/backupuser: Update to 1.1.1
  
  ChangeLog: https://github.com/olimah/backupuser/blob/master/change_log
  
  PR:	251228
  Submitted by:	fbsd at olivermahmoudi.com (maintainer)

Modified:
  head/sysutils/backupuser/Makefile
  head/sysutils/backupuser/distinfo

Modified: head/sysutils/backupuser/Makefile
==============================================================================
--- head/sysutils/backupuser/Makefile	Thu Nov 19 05:16:26 2020	(r555687)
+++ head/sysutils/backupuser/Makefile	Thu Nov 19 06:32:41 2020	(r555688)
@@ -1,27 +1,40 @@
 # $FreeBSD$
 
 PORTNAME=	backupuser
-PORTVERSION=	1.0
+DISTVERSION=	1.1.1
 CATEGORIES=	sysutils
-MASTER_SITES=	http://www.olivermahmoudi.com/files/
+MASTER_SITES=	https://www.olivermahmoudi.com/files/
 
 MAINTAINER=	fbsd at olivermahmoudi.com
 COMMENT=	User Backup Utility
 
 LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
+RUN_DEPENDS=	${LOCALBASE}/bin/bash:shells/bash
+
 NO_ARCH=	yes
 NO_BUILD=	yes
+
 PLIST_FILES=	bin/backupuser \
 		bin/bu_check_files \
 		man/man1/backupuser.1.gz \
 		man/man1/bu_check_files.1.gz
-WRKSRC=		${WRKDIR}/${PORTNAME}
 
+post-patch:
+	@${REINPLACE_CMD} '74,93d;101,103d' ${WRKSRC}/${PORTNAME}
+	@${REINPLACE_CMD} 's|dpkg -l|pkg info|' ${WRKSRC}/${PORTNAME}
+	@${REINPLACE_CMD} -e 's|/bin/sh|${LOCALBASE}/bin/bash|' \
+		-e 's|sha256sum|sha256|g' \
+		${WRKSRC}/${PORTNAME}
+	@${REINPLACE_CMD} -e 's|/bin/sh|${LOCALBASE}/bin/bash|' \
+		-e 's|sha256sum|sha256|g' \
+		${WRKSRC}/bu_check_files
+
 do-install:
-	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME} bu_check_files \
-		${STAGEDIR}${PREFIX}/bin
-	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 bu_check_files.1 \
-		${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/bu_check_files ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/bu_check_files.1 ${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/sysutils/backupuser/distinfo
==============================================================================
--- head/sysutils/backupuser/distinfo	Thu Nov 19 05:16:26 2020	(r555687)
+++ head/sysutils/backupuser/distinfo	Thu Nov 19 06:32:41 2020	(r555688)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1514653592
-SHA256 (backupuser-1.0.tar.gz) = f33fdc33fd5e98e5fd2fbc517bfeddd83e1851d9f4e0348827c69de98ee07f53
-SIZE (backupuser-1.0.tar.gz) = 5338
+TIMESTAMP = 1605645722
+SHA256 (backupuser-1.1.1.tar.gz) = afd15f9f2e0bac3b26394c0136be309cf41adf624de85f31b5d3e49127f82aaf
+SIZE (backupuser-1.1.1.tar.gz) = 7959


More information about the svn-ports-all mailing list