pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/screen + Include termcap.buildlink3.mk for proper...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb83d6d2cb22
branches:  trunk
changeset: 539951:fb83d6d2cb22
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Mar 17 19:03:35 2008 +0000

description:
+ Include termcap.buildlink3.mk for proper termcap library handling.

+ Note bin/screen as a setuid-root program using SPECIAL_PERMS.

Bump the PKGREVISION to 1.

diffstat:

 misc/screen/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 52cf265151b7 -r fb83d6d2cb22 misc/screen/Makefile
--- a/misc/screen/Makefile      Mon Mar 17 18:01:52 2008 +0000
+++ b/misc/screen/Makefile      Mon Mar 17 19:03:35 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.73 2007/05/23 23:49:24 wiz Exp $
+# $NetBSD: Makefile,v 1.74 2008/03/17 19:03:35 jlam Exp $
 
 DISTNAME=      screen-4.0.3
+PKGREVISION=   1
 CATEGORIES=    misc shells
 MASTER_SITES=  ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
                http://komquats.com/distfiles/ \
@@ -41,6 +42,10 @@
 PLIST_SUBST+=  SCREEN_TERMINFO="@comment "
 .endif
 
+.if empty(UNPRIVILEGED:M[Yy][Ee][Ss])
+SPECIAL_PERMS+=                bin/${DISTNAME} ${SETUID_ROOT_PERMS}
+.endif
+
 post-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/screen
        ${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc                       \
@@ -57,4 +62,5 @@
        ${SETENV} TERMINFO=${PREFIX}/share/lib/terminfo                 \
                /usr/5bin/tic screeninfo.src
 
+.include "../../mk/termcap.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index