[Midnightbsd-cvs] mports [16018] trunk/sysutils/tarsnap/Makefile: update license
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Mar 2 18:13:19 EST 2014
Revision: 16018
http://svnweb.midnightbsd.org/mports/?rev=16018
Author: laffer1
Date: 2014-03-02 18:13:18 -0500 (Sun, 02 Mar 2014)
Log Message:
-----------
update license
Modified Paths:
--------------
trunk/sysutils/tarsnap/Makefile
Modified: trunk/sysutils/tarsnap/Makefile
===================================================================
--- trunk/sysutils/tarsnap/Makefile 2014-03-02 23:05:03 UTC (rev 16017)
+++ trunk/sysutils/tarsnap/Makefile 2014-03-02 23:13:18 UTC (rev 16018)
@@ -10,12 +10,11 @@
MAINTAINER= ports at MidnightBSD.org
COMMENT= Online encrypted backup service (client)
-LICENSE= restricted
+LICENSE_FILE= COPYING
+LICENSE_PERMS= dist-mirror pkg-mirror
-RESTRICTED= license restricts redistribution of source and binaries
-
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
MAN1= tarsnap.1 tarsnap-keygen.1 tarsnap-keymgmt.1 \
tarsnap-keyregen.1 tarsnap-recrypt.1
@@ -33,6 +32,12 @@
CONFIGURE_ARGS+= --disable-sse2
.endif
+# safety check to ensure that we don't violate the license
+.if exists(${PATCHDIR})
+LICENSE_PERMS= no-dist-mirror no-pkg-mirror
+RESTRICTED= license only allows redistribution and use of unmodified source and binaries
+.endif
+
post-install:
@if [ ! -f ${PREFIX}/etc/tarsnap.conf ]; then \
${CP} -p ${PREFIX}/etc/tarsnap.conf.sample ${PREFIX}/etc/tarsnap.conf ; \
More information about the Midnightbsd-cvs
mailing list