aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-08-09 21:08:53 +0000
committerJohn Marino <marino@FreeBSD.org>2014-08-09 21:08:53 +0000
commitec27a9c399b360ced455755238a764fc9616df63 (patch)
tree27fc696ca10fbf2b57cb7f4e79c0f7e970487bf3
parent57f8338003a12ced60684e83309575c4d11c4223 (diff)
downloadports-ec27a9c399b360ced455755238a764fc9616df63.tar.gz
ports-ec27a9c399b360ced455755238a764fc9616df63.zip
Notes
-rw-r--r--shells/lshell/Makefile27
-rw-r--r--shells/lshell/distinfo4
-rw-r--r--shells/lshell/pkg-descr7
-rw-r--r--shells/lshell/pkg-plist21
4 files changed, 36 insertions, 23 deletions
diff --git a/shells/lshell/Makefile b/shells/lshell/Makefile
index 2a867e3df850..9f7344378cc9 100644
--- a/shells/lshell/Makefile
+++ b/shells/lshell/Makefile
@@ -2,29 +2,28 @@
# $FreeBSD$
PORTNAME= lshell
-PORTVERSION= 0.9.15.1
+PORTVERSION= 0.9.16
CATEGORIES= shells
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.9.15/
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
-COMMENT= Shell environment to limited sets of commands to user's
+COMMENT= Shell environment to limited sets of commands to users
-LICENSE= GPLv3
+LICENSE= GPLv3 # (or later)
-USE_PYDISTUTILS= yes
USE_PYTHON= yes
-
-PORTDOCS= CHANGES COPYING README
+USE_PYDISTUTILS= yes
+INSTALLS_EGGINFO= yes
post-patch:
- @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g; \
- s|share/man|${MANPREFIX}/man|g; 45d' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e \
+ "s|(.*lshell.conf.*),|| ; \
+ s|/etc|etc| ; \
+ s|share/man|man| ; \
+ s|'COPYING',||" ${WRKSRC}/setup.py
post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for docs in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
-.endfor
- ${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
+ (cd ${WRKSRC}/etc && ${INSTALL_DATA} ${PORTNAME}.conf \
+ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample)
.include <bsd.port.mk>
diff --git a/shells/lshell/distinfo b/shells/lshell/distinfo
index ae6cadb27bc2..b5b82d68bd4e 100644
--- a/shells/lshell/distinfo
+++ b/shells/lshell/distinfo
@@ -1,2 +1,2 @@
-SHA256 (lshell-0.9.15.1.tar.gz) = 722aef41b53db2df3a5846004d0fc7f7782457a51f15e043cc0000d6f9268148
-SIZE (lshell-0.9.15.1.tar.gz) = 40387
+SHA256 (lshell-0.9.16.tar.gz) = 22b28f22eb3445ed1514953c24e30bf3feaacc1225a19332f50245982537c35f
+SIZE (lshell-0.9.16.tar.gz) = 41766
diff --git a/shells/lshell/pkg-descr b/shells/lshell/pkg-descr
index bf07378dbe25..2578f13a065f 100644
--- a/shells/lshell/pkg-descr
+++ b/shells/lshell/pkg-descr
@@ -1,5 +1,6 @@
-lshell lets you restrict a user's shell environment to limited sets of commands,
-choose to enable or disable any command over SSH (e.g. SCP, SFTP, rsync, etc.)
-log user's commands, implement timing restrictions, and more.
+lshell lets you restrict a user's shell environment to limited sets of
+commands, choose to enable or disable any command over SSH (e.g. SCP,
+SFTP, rsync, etc.) log user's commands, implement timing restrictions,
+and more.
WWW: http://lshell.ghantoos.org
diff --git a/shells/lshell/pkg-plist b/shells/lshell/pkg-plist
index 248e459d0929..1c586d921090 100644
--- a/shells/lshell/pkg-plist
+++ b/shells/lshell/pkg-plist
@@ -1,8 +1,21 @@
@shell bin/lshell
-man/man1/lshell.1.gz
@sample etc/lshell.conf.sample
etc/logrotate.d/lshell
-%%PYTHON_SITELIBDIR%%/lshell.py
-%%PYTHON_SITELIBDIR%%/lshell.pyc
-%%PYTHON_SITELIBDIR%%/lshell.pyo
+man/man1/lshell.1.gz
+%%PYTHON_SITELIBDIR%%/lshell/__init__.py
+%%PYTHON_SITELIBDIR%%/lshell/__init__.pyc
+%%PYTHON_SITELIBDIR%%/lshell/__init__.pyo
+%%PYTHON_SITELIBDIR%%/lshell/checkconfig.py
+%%PYTHON_SITELIBDIR%%/lshell/checkconfig.pyc
+%%PYTHON_SITELIBDIR%%/lshell/checkconfig.pyo
+%%PYTHON_SITELIBDIR%%/lshell/shellcmd.py
+%%PYTHON_SITELIBDIR%%/lshell/shellcmd.pyc
+%%PYTHON_SITELIBDIR%%/lshell/shellcmd.pyo
+%%PYTHON_SITELIBDIR%%/lshell/utils.py
+%%PYTHON_SITELIBDIR%%/lshell/utils.pyc
+%%PYTHON_SITELIBDIR%%/lshell/utils.pyo
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/lshell
@dirrmtry etc/logrotate.d