diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-19 14:16:31 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-19 14:16:31 +0000 |
commit | c87376d905f6b54b495032ab59347392d6c7ffd2 (patch) | |
tree | 1824727701885dfe79d2b81c4f8d0dc3738ede19 /misc | |
parent | 99ccf1540881ea44f636f9bdd2a765b1522af004 (diff) | |
download | pkgsrc-c87376d905f6b54b495032ab59347392d6c7ffd2.tar.gz |
Be explicit about suid root. Fix unprivileged build.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/xtend/Makefile | 4 | ||||
-rw-r--r-- | misc/xtend/distinfo | 3 | ||||
-rw-r--r-- | misc/xtend/patches/patch-ae | 14 |
3 files changed, 19 insertions, 2 deletions
diff --git a/misc/xtend/Makefile b/misc/xtend/Makefile index 429e9d40bf0..1e193c0e404 100644 --- a/misc/xtend/Makefile +++ b/misc/xtend/Makefile @@ -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 @@ GNU_CONFIGURE= yes INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 +SPECIAL_PERMS+= bin/xtend ${SETUID_ROOT_PERMS} + .include "../../mk/bsd.pkg.mk" diff --git a/misc/xtend/distinfo b/misc/xtend/distinfo index 600d0649a2d..0edbe78cc24 100644 --- a/misc/xtend/distinfo +++ b/misc/xtend/distinfo @@ -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-aa) = 5091708ed66f71c66fbdce52b0b33f727baf8c60 SHA1 (patch-ab) = b827d265aaed3578863273ad97f9c585442fae3c SHA1 (patch-ac) = 02515550e4bd1e50a89790993fa165f326848445 SHA1 (patch-ad) = 6f952e3e21f11882f800c5a04497b114eca7cb52 +SHA1 (patch-ae) = ee52eeeb14e5a352358f6482dad4a0fb5097ede6 diff --git a/misc/xtend/patches/patch-ae b/misc/xtend/patches/patch-ae new file mode 100644 index 00000000000..dc501a99918 --- /dev/null +++ b/misc/xtend/patches/patch-ae @@ -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 |