1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/www/squirm/files/patch-aa
Steve Price 391542cc72 Fixup permissions on the squirm/etc directory.
Submitted by:	maintainer
1999-06-09 08:34:04 +00:00

47 lines
1.4 KiB
Plaintext

diff -ruN ../squirm-1.0betaB.orig/Makefile.real ./Makefile.real
--- Makefile.real.orig Wed Mar 11 10:23:51 1998
+++ Makefile.real Tue May 25 17:15:36 1999
@@ -1,31 +1,30 @@
# Makefile for Squirm
#
-OFILES = squirm.o main.o config.o log.o lists.o regex.o
+OFILES = squirm.o main.o config.o log.o lists.o #regex.o
-HFILES = squirm.h paths.h lists.h log.h regex.h
+HFILES = squirm.h paths.h lists.h log.h #regex.h
-CC=gcc
+CC?=cc
#CC=checkergcc
-#EXTRALIBS=-lregex
+EXTRALIBS=-lgnuregex
#EXTRALIBS=
BINARIES = squirm
-CFLAGS = -O3 -Wall -funroll-loops
+CFLAGS? = -O3 -Wall -funroll-loops
#CFLAGS = -Wall -g
all: $(BINARIES)
install: all
- install -m 755 -o root -g root -d /usr/local/squirm \
- /usr/local/squirm/bin
- install -m 750 -o root -g squid -d /usr/local/squirm/etc
- install -m 750 -o squid -g squid -d /usr/local/squirm/logs
- install -m 660 -o root -g squid squirm.local.dist squirm.patterns.dist \
- /usr/local/squirm/etc
- install -m 755 -o root -g root --strip squirm /usr/local/squirm/bin
+ install -c -m 755 -o root -g wheel -d ${PREFIX}/squirm
+ install -c -m 770 -o root -g wheel -d ${PREFIX}/etc/squirm
+ install -c -m 750 -o nobody -g nogroup -d ${PREFIX}/squirm/logs
+ install -c -m 660 -o root -g nogroup squirm.local.dist squirm.patterns.dist \
+ ${PREFIX}/etc/squirm
+ install -c -m 755 -o root -g wheel --strip squirm ${PREFIX}/bin
squirm.o: squirm.c $(HFILES)
$(CC) -c squirm.c $(CFLAGS)