Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/squirm/files: squirm-1.26-gentoo.patch
Date: Sat, 20 Jun 2009 13:15:32
Message-Id: E1MI0Pq-00033Z-Q6@stork.gentoo.org
1 mrness 09/06/20 13:15:30
2
3 Added: squirm-1.26-gentoo.patch
4 Log:
5 Version bump.
6 Migrate to EAPI 2.
7 Install files in /opt/squirm directory.
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 net-proxy/squirm/files/squirm-1.26-gentoo.patch
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squirm/files/squirm-1.26-gentoo.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/squirm/files/squirm-1.26-gentoo.patch?rev=1.1&content-type=text/plain
15
16 Index: squirm-1.26-gentoo.patch
17 ===================================================================
18 diff -Nru squirm-1.26.orig/Makefile squirm-1.26/Makefile
19 --- squirm-1.26.orig/Makefile 2005-08-19 09:31:06.000000000 +0200
20 +++ squirm-1.26/Makefile 2009-06-20 14:58:18.000000000 +0200
21 @@ -1,7 +1,7 @@
22 # $Id: squirm-1.26-gentoo.patch,v 1.1 2009/06/20 13:15:30 mrness Exp $
23
24 # The path to install squirm under
25 -PREFIX=/usr/local/squirm
26 +PREFIX=/opt/squirm
27
28 # The username that squid runs as (see cache_effective_user in squid.conf)
29 USER=squid
30 @@ -29,10 +29,10 @@
31 CC=gcc
32
33
34 -OPTIMISATION=-O3
35 +OPTIMISATION=-g
36 BINARIES = squirm
37
38 -CFLAGS = -O3 -Wall -funroll-loops -DPREFIX=\"$(PREFIX)\"
39 +CFLAGS=-g -DPREFIX=\"$(PREFIX)\"
40 #CFLAGS = -Wall -g -DPREFIX=\"$(PREFIX)\"
41 #CFLAGS = -Wall -g -DDEBUG
42
43 @@ -45,7 +45,7 @@
44 install -m 750 -o $(USER) -g $(GROUP) -d $(PREFIX)/logs
45 install -m 660 -c -o root -g $(GROUP) squirm.conf.dist squirm.patterns.dist \
46 $(PREFIX)/etc
47 - install -m 755 -o root -g $(ROOT_GROUP) --strip squirm $(PREFIX)/bin
48 + install -m 755 -o root -g $(ROOT_GROUP) squirm $(PREFIX)/bin
49
50 squirm.o: squirm.c $(HFILES)
51 $(CC) -c squirm.c $(CFLAGS)