From 5d32d6b4736dc063e01ef0a8b63c04039eab1e28 Mon Sep 17 00:00:00 2001 From: Sylvio Cesar Teixeira Date: Sat, 17 Apr 2010 20:16:46 +0000 Subject: [PATCH] - Update to 0.9.10 Approved by: itetcu (mentor, implicit) --- shells/lshell/Makefile | 4 ++-- shells/lshell/distinfo | 6 +++--- shells/lshell/pkg-plist | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/shells/lshell/Makefile b/shells/lshell/Makefile index 295d1362db4d..fb1f5ccbb8ac 100644 --- a/shells/lshell/Makefile +++ b/shells/lshell/Makefile @@ -6,7 +6,7 @@ # PORTNAME= lshell -PORTVERSION= 0.9.8 +PORTVERSION= 0.9.10 CATEGORIES= shells MASTER_SITES= SF @@ -24,7 +24,7 @@ PORTDOCS= CHANGES COPYING README post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g; \ - s|share/man|${LOCALBASE}/man|g; 44d' ${WRKSRC}/setup.py + s|share/man|${LOCALBASE}/man|g; 45d' ${WRKSRC}/setup.py post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/shells/lshell/distinfo b/shells/lshell/distinfo index 7825cfd42cf4..60b450ea4dd6 100644 --- a/shells/lshell/distinfo +++ b/shells/lshell/distinfo @@ -1,3 +1,3 @@ -MD5 (lshell-0.9.8.tar.gz) = 807fbe6b9be798183025cf9b8e627e82 -SHA256 (lshell-0.9.8.tar.gz) = 79297307cb0c34859b154519f1be449860e5a9339d822f5baee8b2a0d782a779 -SIZE (lshell-0.9.8.tar.gz) = 33093 +MD5 (lshell-0.9.10.tar.gz) = af9c86e1be9d61adaa175988604cbeae +SHA256 (lshell-0.9.10.tar.gz) = 18763e011ef9b0841e5620f41d4f05abe148bf820e0bad226f8c64dad83678a0 +SIZE (lshell-0.9.10.tar.gz) = 34751 diff --git a/shells/lshell/pkg-plist b/shells/lshell/pkg-plist index bb202601122a..c93a7190d678 100644 --- a/shells/lshell/pkg-plist +++ b/shells/lshell/pkg-plist @@ -3,9 +3,10 @@ bin/lshell @unexec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak @unexec if cmp -s %D/etc/lshell.conf %D/etc/lshell.conf.sample; then rm -f %D/etc/lshell.conf; fi etc/lshell.conf.sample +etc/logrotate.d/lshell @exec if [ ! -f %D/etc/lshell.conf ]; then cp %B/%f %D/etc/lshell.conf; fi %%PYTHON_SITELIBDIR%%/lshell.py %%PYTHON_SITELIBDIR%%/lshell.pyc %%PYTHON_SITELIBDIR%%/lshell.pyo @dirrmtry %%DATADIR%% -@dirrmtry %%LOGDIR%% +@dirrmtry etc/logrotate.d