summaryrefslogtreecommitdiff
path: root/ham/dpbox/patches
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-08 03:42:13 +0000
committerrillig <rillig>2007-01-08 03:42:13 +0000
commitb96501984933f522b6d47ecb64923aff96716559 (patch)
tree296df3b9e6d29fa65c9557de32d14f532f91d2b3 /ham/dpbox/patches
parent336ec61eac30222ce6c03a2c05b968beb6dd347a (diff)
downloadpkgsrc-b96501984933f522b6d47ecb64923aff96716559.tar.gz
Made the package work for unprivileged users by installing the set-uid
binary with 4511 instead of 4111. Generally, there should be no problem with these binaries being readable by their owner.
Diffstat (limited to 'ham/dpbox/patches')
-rw-r--r--ham/dpbox/patches/patch-aa9
1 files changed, 7 insertions, 2 deletions
diff --git a/ham/dpbox/patches/patch-aa b/ham/dpbox/patches/patch-aa
index 65cf3bd9310..55a50c9884c 100644
--- a/ham/dpbox/patches/patch-aa
+++ b/ham/dpbox/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2006/04/21 02:07:54 wulf Exp $
+$NetBSD: patch-aa,v 1.5 2007/01/08 03:42:13 rillig Exp $
--- Makefile.netbsd.orig 2000-04-27 22:18:57.000000000 +0930
+++ Makefile.netbsd 2006-04-21 10:41:09.000000000 +0930
@@ -41,7 +41,12 @@ $NetBSD: patch-aa,v 1.4 2006/04/21 02:07:54 wulf Exp $
all: dpbox crawler cgi toolbox
tgz:
-@@ -100,7 +97,8 @@
+@@ -96,11 +93,12 @@
+ $(INSTALL_PROGRAM) dpbox $(sbindir)
+
+ $(MKDIR) $(bindir)
+- $(INSTALL_PROGRAM) -m u+s,a+x dpgate $(bindir)
++ $(INSTALL_PROGRAM) -m 4511 dpgate $(bindir)
$(INSTALL_PROGRAM) dpputlinks $(bindir)
$(INSTALL_PROGRAM) dpcodeconv $(bindir)
$(INSTALL_PROGRAM) dpmybbs $(bindir)