pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/blobwars Don't explicitly install files root:gam...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9294d2ce8492
branches:  trunk
changeset: 543161:9294d2ce8492
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Sat Jun 07 04:09:10 2008 +0000

description:
Don't explicitly install files root:games.  There are no setgid files,
so the group is irrelevant.  Fixes unprivileged installs.

diffstat:

 games/blobwars/distinfo         |   4 ++--
 games/blobwars/patches/patch-aa |  23 ++++++++++++++++++-----
 2 files changed, 20 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 5a792f4c4782 -r 9294d2ce8492 games/blobwars/distinfo
--- a/games/blobwars/distinfo   Sat Jun 07 00:36:57 2008 +0000
+++ b/games/blobwars/distinfo   Sat Jun 07 04:09:10 2008 +0000
@@ -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 -r 5a792f4c4782 -r 9294d2ce8492 games/blobwars/patches/patch-aa
--- a/games/blobwars/patches/patch-aa   Sat Jun 07 00:36:57 2008 +0000
+++ b/games/blobwars/patches/patch-aa   Sat Jun 07 04:09:10 2008 +0000
@@ -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 @@
  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 @@
  
  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



Home | Main Index | Thread Index | Old Index