diff options
author | dsainty <dsainty> | 2008-06-07 04:09:10 +0000 |
---|---|---|
committer | dsainty <dsainty> | 2008-06-07 04:09:10 +0000 |
commit | f7c7e48a3f1164d1abc78ac96b308a1cd67c6a6f (patch) | |
tree | e1cd65c98040883882bc4a4b12c9d8b1dd59cdd3 | |
parent | 91069fff56b820baa475b671374ddadb000ee881 (diff) | |
download | pkgsrc-f7c7e48a3f1164d1abc78ac96b308a1cd67c6a6f.tar.gz |
Don't explicitly install files root:games. There are no setgid files,
so the group is irrelevant. Fixes unprivileged installs.
-rw-r--r-- | games/blobwars/distinfo | 4 | ||||
-rw-r--r-- | games/blobwars/patches/patch-aa | 23 |
2 files changed, 20 insertions, 7 deletions
diff --git a/games/blobwars/distinfo b/games/blobwars/distinfo index b38abd0c660..f853d1340c4 100644 --- a/games/blobwars/distinfo +++ b/games/blobwars/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2007/04/15 12:58:11 wiz Exp $ +$NetBSD: distinfo,v 1.4 2008/06/07 04:09:10 dsainty Exp $ SHA1 (blobwars-1.06-2.tar.gz) = 3521d134d8bcd5872895f9a83d85bf646158abba RMD160 (blobwars-1.06-2.tar.gz) = 89f85a7a607e10f41da89c09c859ad4e820989eb Size (blobwars-1.06-2.tar.gz) = 7744037 bytes -SHA1 (patch-aa) = eb8e213c7f49cdf1c243a3597925de87b67d10d9 +SHA1 (patch-aa) = b3daa184fcd61f1597512be3ce06571cb19b00ff diff --git a/games/blobwars/patches/patch-aa b/games/blobwars/patches/patch-aa index c64b01398d7..e853611374e 100644 --- a/games/blobwars/patches/patch-aa +++ b/games/blobwars/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2007/04/15 12:58:11 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2008/06/07 04:09:10 dsainty Exp $ ---- makefile.orig 2007-04-10 18:35:02.000000000 +0000 -+++ makefile -@@ -7,8 +7,7 @@ VERSION = 1.06 +--- makefile.orig 2007-04-11 06:35:02.000000000 +1200 ++++ makefile 2008-06-06 15:55:41.862624613 +1200 +@@ -7,8 +7,7 @@ RELEASE = 2 USEPAK = 1 @@ -12,7 +12,7 @@ $NetBSD: patch-aa,v 1.2 2007/04/15 12:58:11 wiz Exp $ DATADIR = $(PREFIX)/share/games/blobwars/ DOCDIR = $(PREFIX)/share/doc/$(PROG)/ ICONDIR = $(PREFIX)/share/icons/hicolor/ -@@ -19,7 +18,7 @@ CXXFLAGS += `sdl-config --cflags` -DVERS +@@ -19,7 +18,7 @@ CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)index.html\" -Wall CXXFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\" CXXFLAGS += $(CFLAGS) @@ -21,3 +21,16 @@ $NetBSD: patch-aa,v 1.2 2007/04/15 12:58:11 wiz Exp $ OBJS += aquaBoss.o bosses.o bullets.o cutscene.o OBJS += CAudio.o CBoss.o CCollision.o CCutscene.o CData.o CEffect.o CEngine.o CEntity.o CFileData.o CGame.o +@@ -77,9 +76,9 @@ + mkdir -p $(ICONDIR)64x64/apps + mkdir -p $(DESKTOPDIR) + +- install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG) +- install -o root -g games -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME) +- install -o root -g games -m 644 $(DOCS) $(DOCDIR) ++ install -m 755 $(PROG) $(BINDIR)$(PROG) ++ install -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME) ++ install -m 644 $(DOCS) $(DOCDIR) + cp $(ICONS)$(PROG).png $(ICONDIR)32x32/apps/ + cp $(ICONS)$(PROG)-mini.png $(ICONDIR)16x16/apps/$(PROG).png + cp $(ICONS)$(PROG)-large.png $(ICONDIR)64x64/apps/$(PROG).png |