pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/xtend Be explicit about suid root. Fix unprivileg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb443b3f40cc
branches:  trunk
changeset: 572019:bb443b3f40cc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Feb 19 14:16:31 2010 +0000

description:
Be explicit about suid root. Fix unprivileged build.

diffstat:

 misc/xtend/Makefile         |   4 +++-
 misc/xtend/distinfo         |   3 ++-
 misc/xtend/patches/patch-ae |  14 ++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 4e0f252c1d96 -r bb443b3f40cc misc/xtend/Makefile
--- a/misc/xtend/Makefile       Fri Feb 19 14:14:39 2010 +0000
+++ b/misc/xtend/Makefile       Fri Feb 19 14:16:31 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2010/02/04 16:50:32 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2010/02/19 14:16:31 joerg Exp $
 #
 
 DISTNAME=      xtend-1.2beta4
@@ -17,4 +17,6 @@
 
 INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1
 
+SPECIAL_PERMS+=        bin/xtend ${SETUID_ROOT_PERMS}
+
 .include "../../mk/bsd.pkg.mk"
diff -r 4e0f252c1d96 -r bb443b3f40cc misc/xtend/distinfo
--- a/misc/xtend/distinfo       Fri Feb 19 14:14:39 2010 +0000
+++ b/misc/xtend/distinfo       Fri Feb 19 14:16:31 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2006/01/03 15:51:02 joerg Exp $
+$NetBSD: distinfo,v 1.5 2010/02/19 14:16:31 joerg Exp $
 
 SHA1 (xtend-1.2beta4.tar.gz) = 475b5aa26502a5b3f7a828c038d3dade3884fd88
 RMD160 (xtend-1.2beta4.tar.gz) = aa705d00b22ca3b7c7c83c54908d91000c61f768
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = b827d265aaed3578863273ad97f9c585442fae3c
 SHA1 (patch-ac) = 02515550e4bd1e50a89790993fa165f326848445
 SHA1 (patch-ad) = 6f952e3e21f11882f800c5a04497b114eca7cb52
+SHA1 (patch-ae) = ee52eeeb14e5a352358f6482dad4a0fb5097ede6
diff -r 4e0f252c1d96 -r bb443b3f40cc misc/xtend/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xtend/patches/patch-ae       Fri Feb 19 14:16:31 2010 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1 2010/02/19 14:16:31 joerg Exp $
+
+--- Makefile.in.orig   1999-03-18 23:57:21.000000000 +0000
++++ Makefile.in
+@@ -82,8 +82,7 @@ xtend:       xtend.o util.o parse.o exec.o @LI
+       $(CC) $(LDFLAGS) xtend.o util.o parse.o exec.o @LIBOBJS@ -o xtend
+ 
+ install: $(PROGS)
+-      -mv $(bindir)/xtend $(bindir)/xtend.old
+-      ${INSTALL_PROGRAM} -m @xtend_perms@ @xtend_group@ @xtend_owner@ xtend $(DESTDIR)$(bindir)
++      ${INSTALL_PROGRAM} xtend $(DESTDIR)$(bindir)
+       ${INSTALL_DATA} xtend.1 $(DESTDIR)$(mandir)/man1
+ 
+ config.h.in: configure acconfig.h



Home | Main Index | Thread Index | Old Index