summaryrefslogtreecommitdiff
blob: e3ed8df775f85c32f55f717f1c75cb7d07aecb89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
Difference from upstream mentioned patch for version 0.3.6
ftp://ftp.deepspace6.net/pub/ds6/sources/oftpd/oftpd-0.3.6-ipv6rel2.patch.gz
to Mario Fetka (geos_one) (mario dot fetka at gmail dot com) at 
http://bugs.gentoo.org/attachment.cgi?id=220543&action=view

--- oftpd-0.3.6-ipv6rel2.patch	2010-09-01 11:17:37.137000090 +0200
+++ oftpd-0.3.6-ipv6rel2.patch	2010-09-01 11:15:21.900000084 +0200
@@ -1,146 +1,10 @@
-diff -urN oftpd-0.3.6-orig/Makefile.in oftpd-0.3.6/Makefile.in
---- oftpd-0.3.6-orig/Makefile.in	Mon May 28 00:53:40 2001
-+++ oftpd-0.3.6/Makefile.in	Fri Jun  8 19:09:50 2001
-@@ -72,8 +72,8 @@
- CONFIG_HEADER = ./src/config.h
- CONFIG_CLEAN_FILES = 
- DIST_COMMON =  README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
--Makefile.in NEWS TODO acconfig.h aclocal.m4 configure configure.in \
--install-sh missing mkinstalldirs src/config.h.in src/stamp-h.in
-+Makefile.in NEWS TODO aclocal.m4 configure configure.in install-sh \
-+missing mkinstalldirs
- 
- 
- DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-@@ -83,9 +83,9 @@
- all: all-redirect
- .SUFFIXES:
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
--	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
-+	cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
- 
--Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
-+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
- 	cd $(top_builddir) \
- 	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
- 
-@@ -97,34 +97,6 @@
- $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
- 	cd $(srcdir) && $(AUTOCONF)
- 
--src/config.h: src/stamp-h
--	@if test ! -f $@; then \
--		rm -f src/stamp-h; \
--		$(MAKE) src/stamp-h; \
--	else :; fi
--src/stamp-h: $(srcdir)/src/config.h.in $(top_builddir)/config.status
--	cd $(top_builddir) \
--	  && CONFIG_FILES= CONFIG_HEADERS=src/config.h \
--	     $(SHELL) ./config.status
--	@echo timestamp > src/stamp-h 2> /dev/null
--$(srcdir)/src/config.h.in: $(srcdir)/src/stamp-h.in
--	@if test ! -f $@; then \
--		rm -f $(srcdir)/src/stamp-h.in; \
--		$(MAKE) $(srcdir)/src/stamp-h.in; \
--	else :; fi
--$(srcdir)/src/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
--	cd $(top_srcdir) && $(AUTOHEADER)
--	@echo timestamp > $(srcdir)/src/stamp-h.in 2> /dev/null
--
--mostlyclean-hdr:
--
--clean-hdr:
--
--distclean-hdr:
--	-rm -f src/config.h
--
--maintainer-clean-hdr:
--
- # This directory's subdirectories are mostly independent; you can cd
- # into them and run `make' without going through this Makefile.
- # To change the values of `make' variables: instead of editing Makefiles,
-@@ -252,6 +224,11 @@
- 	-rm -rf $(distdir)
- 	mkdir $(distdir)
- 	-chmod 777 $(distdir)
-+	here=`cd $(top_builddir) && pwd`; \
-+	top_distdir=`cd $(distdir) && pwd`; \
-+	distdir=`cd $(distdir) && pwd`; \
-+	cd $(top_srcdir) \
-+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
- 	$(mkinstalldirs) $(distdir)/dist $(distdir)/init
- 	@for file in $(DISTFILES); do \
- 	  d=$(srcdir); \
-@@ -309,32 +286,32 @@
- 	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
- 
- maintainer-clean-generic:
--mostlyclean-am:  mostlyclean-hdr mostlyclean-tags mostlyclean-generic
-+mostlyclean-am:  mostlyclean-tags mostlyclean-generic
- 
- mostlyclean: mostlyclean-recursive
- 
--clean-am:  clean-hdr clean-tags clean-generic mostlyclean-am
-+clean-am:  clean-tags clean-generic mostlyclean-am
- 
- clean: clean-recursive
- 
--distclean-am:  distclean-hdr distclean-tags distclean-generic clean-am
-+distclean-am:  distclean-tags distclean-generic clean-am
- 
- distclean: distclean-recursive
- 	-rm -f config.status
- 
--maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-tags \
--		maintainer-clean-generic distclean-am
-+maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
-+		distclean-am
- 	@echo "This command is intended for maintainers to use;"
- 	@echo "it deletes files that may require special tools to rebuild."
- 
- maintainer-clean: maintainer-clean-recursive
- 	-rm -f config.status
- 
--.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
--install-data-recursive uninstall-data-recursive install-exec-recursive \
--uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
--all-recursive check-recursive installcheck-recursive info-recursive \
--dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
-+.PHONY: install-data-recursive uninstall-data-recursive \
-+install-exec-recursive uninstall-exec-recursive installdirs-recursive \
-+uninstalldirs-recursive all-recursive check-recursive \
-+installcheck-recursive info-recursive dvi-recursive \
-+mostlyclean-recursive distclean-recursive clean-recursive \
- maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
- distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
- dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
-diff -urN oftpd-0.3.6-orig/man/Makefile.in oftpd-0.3.6/man/Makefile.in
---- oftpd-0.3.6-orig/man/Makefile.in	Mon May 28 00:53:44 2001
-+++ oftpd-0.3.6/man/Makefile.in	Fri Jun  8 19:09:50 2001
-@@ -84,9 +84,9 @@
- all: all-redirect
- .SUFFIXES:
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
--	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps man/Makefile
-+	cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile
- 
--Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
-+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
- 	cd $(top_builddir) \
- 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
- 
-@@ -138,6 +138,11 @@
- subdir = man
- 
- distdir: $(DISTFILES)
-+	here=`cd $(top_builddir) && pwd`; \
-+	top_distdir=`cd $(top_distdir) && pwd`; \
-+	distdir=`cd $(distdir) && pwd`; \
-+	cd $(top_srcdir) \
-+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu man/Makefile
- 	@for file in $(DISTFILES); do \
- 	  d=$(srcdir); \
- 	  if test -d $$d/$$file; then \
+Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
+Date: 2010-01-05
+Initial Package Version: 0.3.6
+Origin: ftp://ftp.deepspace6.net/pub/ds6/sources/oftpd/oftpd-0.3.6-ipv6rel2.patch.gz
+Upstream Status: unknown
+Description: add better ipv6 support to oftpd
+ 
 diff -urN oftpd-0.3.6-orig/src/Makefile.am oftpd-0.3.6/src/Makefile.am
 --- oftpd-0.3.6-orig/src/Makefile.am	Wed Apr 18 01:05:16 2001
 +++ oftpd-0.3.6/src/Makefile.am	Fri Jun  8 19:09:45 2001
@@ -148,158 +12,6 @@
  bin_PROGRAMS = oftpd
 -oftpd_SOURCES = file_list.c file_list.h ftp_command.c ftp_command.h ftp_listener.c ftp_listener.h ftp_session.c ftp_session.h oftpd.c oftpd.h telnet_session.c telnet_session.h watchdog.c watchdog.h error.c error.h af_portability.h daemon_assert.c daemon_assert.h
 +oftpd_SOURCES = file_list.c file_list.h ftp_command.c ftp_command.h ftp_listener.c ftp_listener.h ftp_session.c ftp_session.h oftpd.c oftpd.h telnet_session.c telnet_session.h watchdog.c watchdog.h error.c error.h af_portability.h af_portability.c daemon_assert.c daemon_assert.h
-diff -urN oftpd-0.3.6-orig/src/Makefile.in oftpd-0.3.6/src/Makefile.in
---- oftpd-0.3.6-orig/src/Makefile.in	Mon May 28 00:53:42 2001
-+++ oftpd-0.3.6/src/Makefile.in	Fri Jun  8 19:09:50 2001
-@@ -66,7 +66,7 @@
- VERSION = @VERSION@
- 
- bin_PROGRAMS = oftpd
--oftpd_SOURCES = file_list.c file_list.h ftp_command.c ftp_command.h ftp_listener.c ftp_listener.h ftp_session.c ftp_session.h oftpd.c oftpd.h telnet_session.c telnet_session.h watchdog.c watchdog.h error.c error.h af_portability.h daemon_assert.c daemon_assert.h
-+oftpd_SOURCES = file_list.c file_list.h ftp_command.c ftp_command.h ftp_listener.c ftp_listener.h ftp_session.c ftp_session.h oftpd.c oftpd.h telnet_session.c telnet_session.h watchdog.c watchdog.h error.c error.h af_portability.h af_portability.c daemon_assert.c daemon_assert.h
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = config.h
- CONFIG_CLEAN_FILES = 
-@@ -78,7 +78,8 @@
- LDFLAGS = @LDFLAGS@
- LIBS = @LIBS@
- oftpd_OBJECTS =  file_list.o ftp_command.o ftp_listener.o ftp_session.o \
--oftpd.o telnet_session.o watchdog.o error.o daemon_assert.o
-+oftpd.o telnet_session.o watchdog.o error.o af_portability.o \
-+daemon_assert.o
- oftpd_LDADD = $(LDADD)
- oftpd_DEPENDENCIES = 
- oftpd_LDFLAGS = 
-@@ -93,6 +94,10 @@
- 
- TAR = gtar
- GZIP_ENV = --best
-+DEP_FILES =  .deps/af_portability.P .deps/daemon_assert.P .deps/error.P \
-+.deps/file_list.P .deps/ftp_command.P .deps/ftp_listener.P \
-+.deps/ftp_session.P .deps/oftpd.P .deps/telnet_session.P \
-+.deps/watchdog.P
- SOURCES = $(oftpd_SOURCES)
- OBJECTS = $(oftpd_OBJECTS)
- 
-@@ -100,9 +105,9 @@
- .SUFFIXES:
- .SUFFIXES: .S .c .o .s
- $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
--	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
-+	cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
- 
--Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
-+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
- 	cd $(top_builddir) \
- 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
- 
-@@ -160,9 +165,6 @@
- 	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
- 	done
- 
--.c.o:
--	$(COMPILE) -c $<
--
- .s.o:
- 	$(COMPILE) -c $<
- 
-@@ -217,6 +219,11 @@
- subdir = src
- 
- distdir: $(DISTFILES)
-+	here=`cd $(top_builddir) && pwd`; \
-+	top_distdir=`cd $(top_distdir) && pwd`; \
-+	distdir=`cd $(distdir) && pwd`; \
-+	cd $(top_srcdir) \
-+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
- 	@for file in $(DISTFILES); do \
- 	  d=$(srcdir); \
- 	  if test -d $$d/$$file; then \
-@@ -228,6 +235,37 @@
- 	  fi; \
- 	done
- 
-+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
-+
-+-include $(DEP_FILES)
-+
-+mostlyclean-depend:
-+
-+clean-depend:
-+
-+distclean-depend:
-+	-rm -rf .deps
-+
-+maintainer-clean-depend:
-+
-+%.o: %.c
-+	@echo '$(COMPILE) -c $<'; \
-+	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-+	@-cp .deps/$(*F).pp .deps/$(*F).P; \
-+	tr ' ' '\012' < .deps/$(*F).pp \
-+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-+	    >> .deps/$(*F).P; \
-+	rm .deps/$(*F).pp
-+
-+%.lo: %.c
-+	@echo '$(LTCOMPILE) -c $<'; \
-+	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-+	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
-+	  < .deps/$(*F).pp > .deps/$(*F).P; \
-+	tr ' ' '\012' < .deps/$(*F).pp \
-+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-+	    >> .deps/$(*F).P; \
-+	rm -f .deps/$(*F).pp
- info-am:
- info: info-am
- dvi-am:
-@@ -268,24 +306,26 @@
- 
- maintainer-clean-generic:
- mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
--		mostlyclean-compile mostlyclean-tags \
-+		mostlyclean-compile mostlyclean-tags mostlyclean-depend \
- 		mostlyclean-generic
- 
- mostlyclean: mostlyclean-am
- 
- clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
--		clean-generic mostlyclean-am
-+		clean-depend clean-generic mostlyclean-am
- 
- clean: clean-am
- 
- distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
--		distclean-tags distclean-generic clean-am
-+		distclean-tags distclean-depend distclean-generic \
-+		clean-am
- 
- distclean: distclean-am
- 
- maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
- 		maintainer-clean-compile maintainer-clean-tags \
--		maintainer-clean-generic distclean-am
-+		maintainer-clean-depend maintainer-clean-generic \
-+		distclean-am
- 	@echo "This command is intended for maintainers to use;"
- 	@echo "it deletes files that may require special tools to rebuild."
- 
-@@ -296,10 +336,11 @@
- maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
- mostlyclean-compile distclean-compile clean-compile \
- maintainer-clean-compile tags mostlyclean-tags distclean-tags \
--clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
--check-am installcheck-am installcheck all-recursive-am install-exec-am \
--install-exec install-data-am install-data install-am install \
--uninstall-am uninstall all-redirect all-am all installdirs \
-+clean-tags maintainer-clean-tags distdir mostlyclean-depend \
-+distclean-depend clean-depend maintainer-clean-depend info-am info \
-+dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
-+install-exec-am install-exec install-data-am install-data install-am \
-+install uninstall-am uninstall all-redirect all-am all installdirs \
- mostlyclean-generic distclean-generic clean-generic \
- maintainer-clean-generic clean mostlyclean distclean maintainer-clean
- 
 diff -urN oftpd-0.3.6-orig/src/af_portability.c oftpd-0.3.6/src/af_portability.c
 --- oftpd-0.3.6-orig/src/af_portability.c	Thu Jan  1 01:00:00 1970
 +++ oftpd-0.3.6/src/af_portability.c	Fri Jun  8 19:01:31 2001
@@ -376,7 +88,7 @@
 diff -urN oftpd-0.3.6-orig/src/config.h.in oftpd-0.3.6/src/config.h.in
 --- oftpd-0.3.6-orig/src/config.h.in	Sun May 27 23:04:05 2001
 +++ oftpd-0.3.6/src/config.h.in	Fri Jun  8 19:03:43 2001
-@@ -100,14 +100,14 @@
+@@ -97,15 +97,15 @@
  /* Define if you have the <limits.h> header file.  */
  #undef HAVE_LIMITS_H
  
@@ -388,12 +100,13 @@
  
  /* Define if you have the <sys/types.h> header file.  */
  #undef HAVE_SYS_TYPES_H
--
+ 
 -/* Define if you have the <syslog.h> header file.  */
 -#undef HAVE_SYSLOG_H
- 
+-
  /* Define if you have the <unistd.h> header file.  */
  #undef HAVE_UNISTD_H
+ 
 diff -urN oftpd-0.3.6-orig/src/error.c oftpd-0.3.6/src/error.c
 --- oftpd-0.3.6-orig/src/error.c	Wed Apr 18 23:41:04 2001
 +++ oftpd-0.3.6/src/error.c	Thu Jun 21 20:57:09 2001
@@ -1436,7 +1149,7 @@
  	}
  #else
  	if (memcmp(&f->client_addr.sin_addr, 
-@@ -1803,20 +1893,69 @@
+@@ -1811,20 +1901,69 @@
      }
  }