diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-02-19 14:01:41 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-02-19 14:01:41 +0000 |
commit | b2848559e094e4299b22c2576d9d3865b6475470 (patch) | |
tree | f6b80cf70664c939dd4ccf1368d6d5352754ef10 /sysutils/abck | |
parent | 13c58a37ca5a180f35da617a74f96b3be1840589 (diff) | |
download | ports-b2848559e094e4299b22c2576d9d3865b6475470.tar.gz ports-b2848559e094e4299b22c2576d9d3865b6475470.zip |
Fix bunch of ports by TundraWare, which share a common set of problems
- Add LICENSE
It explicitly requires user agreement (thus no-auto-accept) and
forbids distribution for a fee `beyond reasonable duplication
charges` which is too vague I don't think can be guaranteed in
any case (thus no-*-sell)
tdir port uses another variant of license, which also forbids
modification, and since the port requires shebangfix and Makefile
patching, also mark it no-pkg-mirror and BROKEN.
- Don't install licenses with documentation, since our license
framework already handles this
- Fix python shebangs
- Limit python version to 2.7, as no port is compatible with python3
- Add NO_ARCH
- User options targets helpers
- Simplify installation in a few cases
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=462320
Diffstat (limited to 'sysutils/abck')
-rw-r--r-- | sysutils/abck/Makefile | 11 | ||||
-rw-r--r-- | sysutils/abck/files/patch-Makefile | 4 | ||||
-rw-r--r-- | sysutils/abck/pkg-plist | 1 |
3 files changed, 9 insertions, 7 deletions
diff --git a/sysutils/abck/Makefile b/sysutils/abck/Makefile index e191fb297004..c2b2e8e57403 100644 --- a/sysutils/abck/Makefile +++ b/sysutils/abck/Makefile @@ -3,15 +3,20 @@ PORTNAME= abck PORTVERSION= 2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.tundraware.com/Software/abck/ MAINTAINER= tundra@tundraware.com COMMENT= Manage intrusion attempts recorded in the system log -USES= python shebangfix +LICENSE= TundraWare +LICENSE_NAME= TundraWare license +LICENSE_FILE= ${WRKSRC}/abck-License.txt +LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell no-auto-accept + +USES= python:2.7,run shebangfix SHEBANG_FILES= abck -python_OLD_CMD= /usr/local/bin/python +NO_ARCH= yes .include <bsd.port.mk> diff --git a/sysutils/abck/files/patch-Makefile b/sysutils/abck/files/patch-Makefile index 06d2c9485b65..08deda506c92 100644 --- a/sysutils/abck/files/patch-Makefile +++ b/sysutils/abck/files/patch-Makefile @@ -1,6 +1,6 @@ --- Makefile.orig 2002-09-04 21:55:45 UTC +++ Makefile -@@ -4,7 +4,7 @@ +@@ -4,7 +4,5 @@ all: # Do nothing - this is a python script that needs no build install: @@ -9,6 +9,4 @@ - install -c -o root -g wheel -m 644 ./abck.1.gz ${PREFIX}/man/man1 - install -c -o root -g wheel -m 644 ./abck-License.txt ${PREFIX}/share/doc/abck + ${BSD_INSTALL_SCRIPT} ./abck ${DESTDIR}${PREFIX}/bin -+ mkdir ${DESTDIR}${PREFIX}/share/doc/abck + ${BSD_INSTALL_MAN} ./abck.1.gz ${DESTDIR}${PREFIX}/man/man1 -+ ${BSD_INSTALL_DATA} ./abck-License.txt ${DESTDIR}${PREFIX}/share/doc/abck diff --git a/sysutils/abck/pkg-plist b/sysutils/abck/pkg-plist index de48dbac018f..a379f6c8e620 100644 --- a/sysutils/abck/pkg-plist +++ b/sysutils/abck/pkg-plist @@ -1,3 +1,2 @@ bin/abck man/man1/abck.1.gz -%%DOCSDIR%%/abck-License.txt |