Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/fnord/files/
Date: Tue, 14 Feb 2017 21:40:07
Message-Id: 1487108344.edf081726fb7f942189e688e384ea12eb74666de.soap@gentoo
1 commit: edf081726fb7f942189e688e384ea12eb74666de
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 13 18:07:57 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 14 21:39:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf08172
7
8 www-servers/fnord: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/3959
11
12 www-servers/fnord/files/fnord-1.9-gentoo.diff | 96 ---------------------------
13 1 file changed, 96 deletions(-)
14
15 diff --git a/www-servers/fnord/files/fnord-1.9-gentoo.diff b/www-servers/fnord/files/fnord-1.9-gentoo.diff
16 deleted file mode 100644
17 index c32c53daf5..0000000000
18 --- a/www-servers/fnord/files/fnord-1.9-gentoo.diff
19 +++ /dev/null
20 @@ -1,96 +0,0 @@
21 -diff --exclude='*~' -urN fnord-1.9.orig/fnord-conf fnord-1.9/fnord-conf
22 ---- fnord-1.9.orig/fnord-conf 2003-06-05 19:32:39.000000000 -0400
23 -+++ fnord-1.9/fnord-conf 2005-03-06 22:39:30.243806792 -0500
24 -@@ -17,7 +17,7 @@
25 - mkdir -p $dir
26 - echo "#!/bin/sh" > $dir/run
27 - echo "cd $webroot" >> $dir/run
28 --echo "exec envuidgid $acct tcpserver -RHl localhost ${myip:-0} 80 fnord 2>&1" >> $dir/run
29 -+echo "exec envuidgid $acct tcpserver -RHl localhost ${myip:-0} 80 /usr/bin/fnord 2>&1" >> $dir/run
30 - chmod 755 $dir/run
31 -
32 - # tell old daemontools that it should spawn a log process, too
33 -diff --exclude='*~' -urN fnord-1.9.orig/httpd.c fnord-1.9/httpd.c
34 ---- fnord-1.9.orig/httpd.c 2005-01-31 11:10:39.000000000 -0500
35 -+++ fnord-1.9/httpd.c 2005-03-06 22:42:07.761860408 -0500
36 -@@ -25,7 +25,9 @@
37 - #include "scan.h"
38 -
39 - /* uncomment the following line to enable support for CGI */
40 --// #define CGI
41 -+#ifndef CGI
42 -+# define CGI
43 -+#endif
44 -
45 - #ifdef CGI
46 - /* uncomment the following line to enable support for "index.cgi"
47 -@@ -39,7 +41,9 @@
48 -
49 - /* uncomment the following line to enable support for autogenerated
50 - * directory-listings for directories without index */
51 --/* #define DIR_LIST */
52 -+#ifndef DIR_LIST
53 -+# define DIR_LIST
54 -+#endif
55 -
56 - #ifdef DIR_LIST
57 - /* uncomment the following line to enable support for system symlink
58 -diff --exclude='*~' -urN fnord-1.9.orig/Makefile fnord-1.9/Makefile
59 ---- fnord-1.9.orig/Makefile 2005-01-31 13:33:58.000000000 -0500
60 -+++ fnord-1.9/Makefile 2005-03-06 22:51:27.914704232 -0500
61 -@@ -1,28 +1,19 @@
62 --CC=gcc
63 --CXX=g++
64 --
65 --#LIBOWFAT=../libowfat/
66 --DIET=diet -Os
67 --
68 --CFLAGS=-Os -fomit-frame-pointer
69 --#CFLAGS=-g
70 -+CC:=gcc
71 -+CXX:=g++
72 -
73 - all: fnord fnord-cgi fnord-idx
74 -
75 - fnord: httpd
76 - cp -p $^ $@
77 -- -strip -R .note -R .comment $@
78 -
79 - httpd: httpd.o libowfat.a
80 - $(DIET) $(CC) -o $@ $^ $(CFLAGS)
81 -
82 - fnord-cgi: httpd-cgi.o libowfat.a
83 - $(DIET) $(CC) -o $@ $^ $(CFLAGS)
84 -- -strip -R .note -R .comment $@
85 -
86 - fnord-idx: httpd-idx.o libowfat.a
87 - $(DIET) $(CC) -o $@ $^ $(CFLAGS)
88 -- -strip -R .note -R .comment $@
89 -
90 - libowfat.a: httpd.o buffer_1.o buffer_puts.o buffer_flush.o buffer_put.o \
91 - buffer_putulong.o buffer_2.o buffer_putspace.o buffer_stubborn.o \
92 -@@ -32,19 +23,19 @@
93 - -ranlib $@
94 -
95 - httpd.o: httpd.c
96 -- $(DIET) $(CC) -pipe $(CFLAGS) -c $^ -DFNORD=\"fnord/$(shell head -n 1 CHANGES|sed 's/://')\"
97 -+ $(DIET) $(CC) $(CFLAGS) -c $^ -DFNORD=\"fnord/$(shell head -n 1 CHANGES|sed 's/://')\"
98 -
99 - httpd-cgi.o: httpd.c
100 -- $(DIET) $(CC) -pipe $(CFLAGS) -c httpd.c -o $@ -DCGI -DFNORD=\"fnord/$(shell head -n 1 CHANGES|sed 's/://')\"
101 -+ $(DIET) $(CC) $(CFLAGS) -c httpd.c -o $@ -DCGI -DFNORD=\"fnord/$(shell head -n 1 CHANGES|sed 's/://')\"
102 -
103 - httpd-idx.o: httpd.c
104 -- $(DIET) $(CC) -pipe $(CFLAGS) -c httpd.c -o $@ -DDIR_LIST -DFNORD=\"fnord/$(shell head -n 1 CHANGES|sed 's/://')\"
105 -+ $(DIET) $(CC) $(CFLAGS) -c httpd.c -o $@ -DDIR_LIST -DFNORD=\"fnord/$(shell head -n 1 CHANGES|sed 's/://')\"
106 -
107 - %.o: %.c
108 -- $(DIET) $(CC) -pipe $(CFLAGS) -c $^
109 -+ $(DIET) $(CC) $(CFLAGS) -c $^
110 -
111 - %.o: %.cpp
112 -- $(DIET) $(CXX) -pipe $(CFLAGS) -c $^
113 -+ $(DIET) $(CXX) $(CFLAGS) -c $^
114 -
115 - .PHONY: rename clean install server
116 - server: fnord