Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/astmanproxy/files: astmanproxy-1.28.2-gentoo.diff
Date: Mon, 10 Feb 2014 11:34:14
Message-Id: 20140210113411.3B1112004C@flycatcher.gentoo.org
1 chainsaw 14/02/10 11:34:11
2
3 Added: astmanproxy-1.28.2-gentoo.diff
4 Log:
5 Peruse active fork by davies147 instead of official github (stalled in 2008) or patching snapshot (stalled in 2005). LDFLAGS respect instilled by Michael "iamnr3" Mair-Keimberger, closes bug #335326. Gave up on the makefile in order to install in parallel properly, fixes bug #298092 by Diego Elio Pettenò.
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
8
9 Revision Changes Path
10 1.1 net-misc/astmanproxy/files/astmanproxy-1.28.2-gentoo.diff
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/astmanproxy/files/astmanproxy-1.28.2-gentoo.diff?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/astmanproxy/files/astmanproxy-1.28.2-gentoo.diff?rev=1.1&content-type=text/plain
14
15 Index: astmanproxy-1.28.2-gentoo.diff
16 ===================================================================
17 diff -uNr astmanproxy-1.28.2.ORIG/Makefile astmanproxy-1.28.2/Makefile
18 --- astmanproxy-1.28.2.ORIG/Makefile 2014-02-10 11:18:06.027132570 +0000
19 +++ astmanproxy-1.28.2/Makefile 2014-02-10 11:21:07.382135291 +0000
20 @@ -17,7 +17,7 @@
21
22 CC := gcc
23 INCLUDES :=
24 -PREFIX:= /usr/local
25 +PREFIX:= /usr
26 BINDIR := $(DESTDIR)$(PREFIX)/sbin
27
28 # For compilation dependencies
29 @@ -27,7 +27,7 @@
30 LIBS := -lssl
31
32 # Add -g below for debug/GDB symbols
33 -CFLAGS:=-Wall -O2 -D_REENTRANT -D_GNU_SOURCE -fPIC -Isrc/include -I/usr/include/openssl
34 +CFLAGS += -Wall -O2 -D_REENTRANT -D_GNU_SOURCE -fPIC -Isrc/include -I/usr/include/openssl
35
36 ifeq (${OSARCH},Darwin)
37 LIBS+=-lresolv
38 @@ -62,7 +62,7 @@
39 DEFINES+='-DMDIR="$(MODDIR)"' '-DPDIR="$(PERMDIR)"' '-DPFILE="$(PERMFILE)"'
40
41 PROXYCERT := $(CERTDIR)/proxy-server.pem
42 -PROXYSSLCONF := $(CONFDIR)/proxy-ssl.conf
43 +PROXYSSLCONF := $(DESTDIR)$(CONFDIR)/proxy-ssl.conf
44
45 CFLAGS += $(DEFINES)
46
47 @@ -76,7 +76,7 @@
48 SRCS := $(MODS:%=src/%.c)
49 HDRS := src/include/astmanproxy.h
50
51 -all: astmanproxy cert
52 +all: astmanproxy
53
54 astmanproxy: $(OBJS) $(SOBJS)
55 $(CC) $(CFLAGS) -o $@ $(ASTLINK) $(OBJS) $(LIBS)