r50312 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50311‎ | r50312 | r50313 >
Date:16:15, 7 May 2009
Author:river
Status:deferred
Tags:
Comment:
need to install files under 'wheel' group for freebsd
Modified paths:
  • /trunk/tools/slayerd/Makefile (modified) (history)

Diff [purge]

Index: trunk/tools/slayerd/Makefile
@@ -4,6 +4,7 @@
55 CONFDIR ?= /etc/slayerd
66 SBINDIR ?= $(PREFIX)/sbin
77 MANDIR ?= $(PREFIX)/share/man/man8
 8+GROUP ?= root
89
910 CXX = g++
1011 CXXFLAGS = -O0 -g3 -ggdb
@@ -15,6 +16,7 @@
1617
1718 ifeq ($(shell uname),FreeBSD)
1819 LIBS += -lkvm
 20+GROUP = wheel
1921 endif
2022
2123 all: slayerd
@@ -26,10 +28,10 @@
2729 install -d $(DESTDIR)$(SBINDIR)
2830 install -d $(DESTDIR)$(CONFDIR)
2931 install -d $(DESTDIR)$(MANDIR)
30 - install -c -s -o root -g root -m 755 slayerd $(DESTDIR)$(SBINDIR)
31 - install -c -o root -g root -m 640 slayerd.conf.example $(DESTDIR)$(CONFDIR)
32 - install -c -o root -g root -m 640 mailmessage $(DESTDIR)$(CONFDIR)
33 - install -c -o root -g root -m 644 slayerd.8 $(DESTDIR)$(MANDIR)
 32+ install -c -s -o root -g $(GROUP) -m 755 slayerd $(DESTDIR)$(SBINDIR)
 33+ install -c -o root -g $(GROUP) -m 640 slayerd.conf.example $(DESTDIR)$(CONFDIR)
 34+ install -c -o root -g $(GROUP) -m 640 mailmessage $(DESTDIR)$(CONFDIR)
 35+ install -c -o root -g $(GROUP) -m 644 slayerd.8 $(DESTDIR)$(MANDIR)
3436
3537 .cc.o:
3638 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DVERSION=\"$(VERSION)\" -c $<

Status & tagging log