control: tags -1 patch
On 2016-04-02 11:05:27 [-0300], Junior Santos wrote:
> In momento no, because.
> New in version 1.21:
>
> • Disable SSL 3 because of the "poodle" attack.
>
> http://www.acme.com/software/mini_httpd/
>
> But i go send you solicitation for upstream.
The problem is actually that the Makefile was changed and SSL support
looks optional. You need to alter the Makefile / the fix-makefile patch
to get it enabled again:
--- a/Makefile
+++ b/Makefile
@@ -24,13 +24,13 @@ MANDIR =$(DESTDIR)/usr/share/man
CC = cc
CDEFS = $(SSL_DEFS) $(SSL_INC)
CFLAGS+=-O $(CDEFS) -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith
-Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wredundant-decls -Wno-long-long
-LDFLAGS+= -s `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS`
`dpkg-buildflags --get LDFLAGS`
+LDFLAGS+= -s `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS`
`dpkg-buildflags --get LDFLAGS` -DUSE_SSL
LDLIBS = $(CRYPT_LIB) $(SSL_LIBS) $(SYSV_LIBS)
all: mini_httpd htpasswd
mini_httpd: mini_httpd.o match.o tdate_parse.o
- $(CC) $(LDFLAGS) mini_httpd.o match.o tdate_parse.o $(LDLIBS) -o
mini_httpd
+ $(CC) $(LDFLAGS) mini_httpd.o match.o tdate_parse.o $(LDLIBS) -o
mini_httpd -lssl -lcrypto
mini_httpd.o: mini_httpd.c version.h port.h match.h tdate_parse.h
mime_encodings.h mime_types.h
$(CC) $(LDFLAGS) -c mini_httpd.c
this hunk into the patch will do the job.
> Thanks
Sebastian