View | Details | Raw Unified | Return to bug 203925 | Differences between
and this patch

Collapse All | Expand All

(-)mini_httpd/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/www/mini_httpd/Makefile 383607 2015-04-08 21:18:05Z amdmi3 $
2
# $FreeBSD: head/www/mini_httpd/Makefile 383607 2015-04-08 21:18:05Z amdmi3 $
3
3
4
PORTNAME=	mini_httpd
4
PORTNAME=	mini_httpd
5
PORTVERSION=	1.21
5
PORTVERSION=	1.22
6
PORTREVISION=	1
6
PORTREVISION=	1
7
CATEGORIES=	www ipv6
7
CATEGORIES=	www ipv6
8
MASTER_SITES=	http://www.acme.com/software/mini_httpd/
8
MASTER_SITES=	http://www.acme.com/software/mini_httpd/
(-)mini_httpd/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (mini_httpd-1.21.tar.gz) = 51fa38c87d79e973686557b8d3b72fed387b21931e37ee07a08991ebb2c95152
1
SHA256 (mini_httpd-1.22.tar.gz) = 28399b9ad5fa31568944e625f4007c4b9ed9a096f78eda772fc9223a93ea7325
2
SIZE (mini_httpd-1.21.tar.gz) = 43127
2
SIZE (mini_httpd-1.22.tar.gz) = 43619
(-)mini_httpd/files/patch-Makefile (-5 / +7 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	2014-08-11 21:13:49.000000000 +0200
1
--- Makefile.orig	2014-10-19 06:33:43 UTC
2
+++ Makefile	2014-08-15 13:12:30.099236617 +0200
2
+++ Makefile
3
@@ -15,16 +15,16 @@
3
@@ -15,17 +15,17 @@ CRYPT_LIB =    -lcrypt
4
 # tree with your OpenSSL installation - depending on how you installed it,
4
 # tree with your OpenSSL installation - depending on how you installed it,
5
 # it may be in /usr/local instead of /usr/local/ssl.
5
 # it may be in /usr/local instead of /usr/local/ssl.
6
 #SSL_TREE =	/usr/local/ssl
6
 #SSL_TREE =	/usr/local/ssl
Lines 17-23 Link Here
17
 CC =		cc
17
 CC =		cc
18
 CDEFS =		$(SSL_DEFS) $(SSL_INC)
18
 CDEFS =		$(SSL_DEFS) $(SSL_INC)
19
-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
19
-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
20
+CFLAGS =	$(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
20
-LDFLAGS =	-s
21
 LDFLAGS =	-s
21
+CFLAGS = -O2 -pipe  -fstack-protector -fno-strict-aliasing	$(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
22
+LDFLAGS =   -fstack-protector	-s
22
 LDLIBS =	$(CRYPT_LIB) $(SSL_LIBS) $(SYSV_LIBS)
23
 LDLIBS =	$(CRYPT_LIB) $(SSL_LIBS) $(SYSV_LIBS)
23
 
24
 
25
 all:		mini_httpd htpasswd

Return to bug 203925