Project

General

Profile

Feature #3693 ยป 0001-Update-lighttpd-only-difference-is-the-silent-server.patch

Mathieu Simon, 06/05/2014 01:21 AM

View differences:

pfPorts/lighttpd/Makefile
1 1
# Created by: k@123.org
2
# $FreeBSD: head/www/lighttpd/Makefile 348146 2014-03-14 01:35:13Z mm $
2
# $FreeBSD: head/www/lighttpd/Makefile 355536 2014-05-27 15:59:11Z olgeni $
3 3

  
4 4
PORTNAME?=	lighttpd
5 5
PORTVERSION=	1.4.35
6
PORTREVISION=	2
6 7
CATEGORIES?=	www
7 8
MASTER_SITES?=	http://download.lighttpd.net/lighttpd/releases-1.4.x/
8 9

  
......
16 17

  
17 18
LIB_DEPENDS+=	libpcre.so:${PORTSDIR}/devel/pcre
18 19

  
19
USE_BZIP2=	yes
20 20
GNU_CONFIGURE=	yes
21
USE_GNOME=	lthack
22
USES=		gmake pkgconfig
23

  
24
#.if !defined(_BUILDING_LIGHTTPD_MODULE)
25
#USE_AUTOTOOLS=	libtool
26
#.else
27
USE_AUTOTOOLS=	autoconf autoheader aclocal automake libtool
28
ACLOCAL_ARGS=	-I m4
29
AUTOMAKE_ARGS=	--add-missing
30
#.endif
31
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/lighttpd --enable-static
32

  
33
CFLAGS+=	-I${LOCALBASE}/include
21
USES=		gmake libtool pkgconfig tar:bzip2
22

  
23
USE_AUTOTOOLS=	autoconf autoheader aclocal automake
24
AUTOMAKE_ARGS=	-a -c -f
25
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/lighttpd
26
INSTALL_TARGET=	install-strip
27

  
28
CPPFLAGS+=	-I${LOCALBASE}/include
34 29
LDFLAGS+=	-L${LOCALBASE}/lib
35 30

  
36 31
.if !defined(_BUILDING_LIGHTTPD_MODULE)
......
81 76

  
82 77
.endif # !defined(_BUILDING_LIGHTTPD_MODULE)
83 78

  
84
.include <bsd.port.pre.mk>
79
.include <bsd.port.options.mk>
85 80

  
86 81
.if !defined(_BUILDING_LIGHTTPD_MODULE)
87 82
# Default REQUIRE to rc.d script
......
93 88
.endif
94 89

  
95 90
.if ${PORT_OPTIONS:MOPENSSL}
96
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
91
USE_OPENSSL=		yes
97 92
CONFIGURE_ARGS+=	--with-openssl \
98 93
			--with-openssl-includes=${OPENSSLINC} \
99 94
			--with-openssl-libs=${OPENSSLLIB}
......
118 113
.endif
119 114

  
120 115
.if ${PORT_OPTIONS:MLUA}
121
USE_LUA=		5.1
116
USES+=			lua:51
122 117
CONFIGURE_ARGS+=	--with-lua
123
CONFIGURE_ENV+=		LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua"
118
CONFIGURE_ENV+=		LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
124 119
.endif
125 120

  
126 121
.if ${PORT_OPTIONS:MMEMCACHE}
......
202 197
.for FILE in ${LIGHTTPD_CONF_FILES}
203 198
	@${INSTALL_DATA} ${WRKSRC}/doc/config/${FILE} \
204 199
		${STAGEDIR}${PREFIX}/etc/lighttpd/${FILE}.sample
205
.if !exists(${STAGEDIR}${PREFIX}/etc/lighttpd/${FILE})
206
	@${INSTALL_DATA} ${WRKSRC}/doc/config/${FILE} \
207
		${STAGEDIR}${PREFIX}/etc/lighttpd/${FILE}
208
.endif
209 200
.endfor
210 201
.for FILE in ${LIGHTTPD_CONF_D_FILES}
211 202
	@${INSTALL_DATA} ${WRKSRC}/doc/config/conf.d/${FILE} \
212 203
		${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/${FILE}.sample
213
.if !exists(${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/${FILE})
214
	@${INSTALL_DATA} ${WRKSRC}/doc/config/conf.d/${FILE} \
215
		${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/${FILE}
216
.endif
217 204
.endfor
218 205
	@${INSTALL_DATA} ${WRKSRC}/doc/config/vhosts.d/vhosts.template \
219 206
		${STAGEDIR}${PREFIX}/etc/lighttpd/vhosts.d/vhosts.template
......
240 227

  
241 228
.endif # !defined(_BUILDING_LIGHTTPD_MODULE)
242 229

  
243
.include <bsd.port.post.mk>
230
.include <bsd.port.mk>
pfPorts/lighttpd/files/pkg-plist.mod_geoip
1
@unexec if cmp -s %D/etc/lighttpd/conf.d/geoip.conf %D/etc/lighttpd/conf.d/geoip.conf.sample; then rm -f %D/etc/lighttpd/conf.d/geoip.conf; fi
2
etc/lighttpd/conf.d/geoip.conf.sample
3
@exec [ -f %B/geoip.conf ] || cp %B/%f %B/geoip.conf
4
lib/lighttpd/mod_geoip.a
5
lib/lighttpd/mod_geoip.la
1
@sample etc/lighttpd/conf.d/geoip.conf.sample
6 2
lib/lighttpd/mod_geoip.so
pfPorts/lighttpd/files/pkg-plist.mod_h264_streaming
1
@unexec if cmp -s %D/etc/lighttpd/conf.d/h264_streaming.conf %D/etc/lighttpd/conf.d/h264_streaming.conf.sample; then rm -f %D/etc/lighttpd/conf.d/h264_streaming.conf; fi
2
etc/lighttpd/conf.d/h264_streaming.conf.sample
3
@exec [ -f %B/h264_streaming.conf ] || cp %B/%f %B/h264_streaming.conf
4
lib/lighttpd/mod_h264_streaming.a
5
lib/lighttpd/mod_h264_streaming.la
1
@sample etc/lighttpd/conf.d/h264_streaming.conf.sample
6 2
lib/lighttpd/mod_h264_streaming.so
pfPorts/lighttpd/pkg-plist
1
@unexec if cmp -s %D/etc/lighttpd/lighttpd.conf %D/etc/lighttpd/lighttpd.conf.sample; then rm -f %D/etc/lighttpd/lighttpd.conf; fi
2
etc/lighttpd/lighttpd.conf.sample
3
@exec [ -f %B/lighttpd.conf ] || cp %B/%f %B/lighttpd.conf
4
@unexec if cmp -s %D/etc/lighttpd/modules.conf %D/etc/lighttpd/modules.conf.sample; then rm -f %D/etc/lighttpd/modules.conf; fi
5
etc/lighttpd/modules.conf.sample
6
@exec [ -f %B/modules.conf ] || cp %B/%f %B/modules.conf
7
@unexec if cmp -s %D/etc/lighttpd/conf.d/access_log.conf %D/etc/lighttpd/conf.d/access_log.conf.sample; then rm -f %D/etc/lighttpd/conf.d/access_log.conf; fi
8
etc/lighttpd/conf.d/access_log.conf.sample
9
@exec [ -f %B/access_log.conf ] || cp %B/%f %B/access_log.conf
10
@unexec if cmp -s %D/etc/lighttpd/conf.d/auth.conf %D/etc/lighttpd/conf.d/auth.conf.sample; then rm -f %D/etc/lighttpd/conf.d/auth.conf; fi
11
etc/lighttpd/conf.d/auth.conf.sample
12
@exec [ -f %B/auth.conf ] || cp %B/%f %B/auth.conf
13
@unexec if cmp -s %D/etc/lighttpd/conf.d/cgi.conf %D/etc/lighttpd/conf.d/cgi.conf.sample; then rm -f %D/etc/lighttpd/conf.d/cgi.conf; fi
14
etc/lighttpd/conf.d/cgi.conf.sample
15
@exec [ -f %B/cgi.conf ] || cp %B/%f %B/cgi.conf
16
@unexec if cmp -s %D/etc/lighttpd/conf.d/cml.conf %D/etc/lighttpd/conf.d/cml.conf.sample; then rm -f %D/etc/lighttpd/conf.d/cml.conf; fi
17
etc/lighttpd/conf.d/cml.conf.sample
18
@exec [ -f %B/cml.conf ] || cp %B/%f %B/cml.conf
19
@unexec if cmp -s %D/etc/lighttpd/conf.d/compress.conf %D/etc/lighttpd/conf.d/compress.conf.sample; then rm -f %D/etc/lighttpd/conf.d/compress.conf; fi
20
etc/lighttpd/conf.d/compress.conf.sample
21
@exec [ -f %B/compress.conf ] || cp %B/%f %B/compress.conf
22
@unexec if cmp -s %D/etc/lighttpd/conf.d/debug.conf %D/etc/lighttpd/conf.d/debug.conf.sample; then rm -f %D/etc/lighttpd/conf.d/debug.conf; fi
23
etc/lighttpd/conf.d/debug.conf.sample
24
@exec [ -f %B/debug.conf ] || cp %B/%f %B/debug.conf
25
@unexec if cmp -s %D/etc/lighttpd/conf.d/dirlisting.conf %D/etc/lighttpd/conf.d/dirlisting.conf.sample; then rm -f %D/etc/lighttpd/conf.d/dirlisting.conf; fi
26
etc/lighttpd/conf.d/dirlisting.conf.sample
27
@exec [ -f %B/dirlisting.conf ] || cp %B/%f %B/dirlisting.conf
28
@unexec if cmp -s %D/etc/lighttpd/conf.d/evhost.conf %D/etc/lighttpd/conf.d/evhost.conf.sample; then rm -f %D/etc/lighttpd/conf.d/evhost.conf; fi
29
etc/lighttpd/conf.d/evhost.conf.sample
30
@exec [ -f %B/evhost.conf ] || cp %B/%f %B/evhost.conf
31
@unexec if cmp -s %D/etc/lighttpd/conf.d/expire.conf %D/etc/lighttpd/conf.d/expire.conf.sample; then rm -f %D/etc/lighttpd/conf.d/expire.conf; fi
32
etc/lighttpd/conf.d/expire.conf.sample
33
@exec [ -f %B/expire.conf ] || cp %B/%f %B/expire.conf
34
@unexec if cmp -s %D/etc/lighttpd/conf.d/fastcgi.conf %D/etc/lighttpd/conf.d/fastcgi.conf.sample; then rm -f %D/etc/lighttpd/conf.d/fastcgi.conf; fi
35
etc/lighttpd/conf.d/fastcgi.conf.sample
36
@exec [ -f %B/fastcgi.conf ] || cp %B/%f %B/fastcgi.conf
37
@unexec if cmp -s %D/etc/lighttpd/conf.d/magnet.conf %D/etc/lighttpd/conf.d/magnet.conf.sample; then rm -f %D/etc/lighttpd/conf.d/magnet.conf; fi
38
etc/lighttpd/conf.d/magnet.conf.sample
39
@exec [ -f %B/magnet.conf ] || cp %B/%f %B/magnet.conf
40
@unexec if cmp -s %D/etc/lighttpd/conf.d/mime.conf %D/etc/lighttpd/conf.d/mime.conf.sample; then rm -f %D/etc/lighttpd/conf.d/mime.conf; fi
41
etc/lighttpd/conf.d/mime.conf.sample
42
@exec [ -f %B/mime.conf ] || cp %B/%f %B/mime.conf
43
@unexec if cmp -s %D/etc/lighttpd/conf.d/mysql_vhost.conf %D/etc/lighttpd/conf.d/mysql_vhost.conf.sample; then rm -f %D/etc/lighttpd/conf.d/mysql_vhost.conf; fi
44
etc/lighttpd/conf.d/mysql_vhost.conf.sample
45
@exec [ -f %B/mysql_vhost.conf ] || cp %B/%f %B/mysql_vhost.conf
46
@unexec if cmp -s %D/etc/lighttpd/conf.d/proxy.conf %D/etc/lighttpd/conf.d/proxy.conf.sample; then rm -f %D/etc/lighttpd/conf.d/proxy.conf; fi
47
etc/lighttpd/conf.d/proxy.conf.sample
48
@exec [ -f %B/proxy.conf ] || cp %B/%f %B/proxy.conf
49
@unexec if cmp -s %D/etc/lighttpd/conf.d/rrdtool.conf %D/etc/lighttpd/conf.d/rrdtool.conf.sample; then rm -f %D/etc/lighttpd/conf.d/rrdtool.conf; fi
50
etc/lighttpd/conf.d/rrdtool.conf.sample
51
@exec [ -f %B/rrdtool.conf ] || cp %B/%f %B/rrdtool.conf
52
@unexec if cmp -s %D/etc/lighttpd/conf.d/scgi.conf %D/etc/lighttpd/conf.d/scgi.conf.sample; then rm -f %D/etc/lighttpd/conf.d/scgi.conf; fi
53
etc/lighttpd/conf.d/scgi.conf.sample
54
@exec [ -f %B/scgi.conf ] || cp %B/%f %B/scgi.conf
55
@unexec if cmp -s %D/etc/lighttpd/conf.d/secdownload.conf %D/etc/lighttpd/conf.d/secdownload.conf.sample; then rm -f %D/etc/lighttpd/conf.d/secdownload.conf; fi
56
etc/lighttpd/conf.d/secdownload.conf.sample
57
@exec [ -f %B/secdownload.conf ] || cp %B/%f %B/secdownload.conf
58
@unexec if cmp -s %D/etc/lighttpd/conf.d/simple_vhost.conf %D/etc/lighttpd/conf.d/simple_vhost.conf.sample; then rm -f %D/etc/lighttpd/conf.d/simple_vhost.conf; fi
59
etc/lighttpd/conf.d/simple_vhost.conf.sample
60
@exec [ -f %B/simple_vhost.conf ] || cp %B/%f %B/simple_vhost.conf
61
@unexec if cmp -s %D/etc/lighttpd/conf.d/ssi.conf %D/etc/lighttpd/conf.d/ssi.conf.sample; then rm -f %D/etc/lighttpd/conf.d/ssi.conf; fi
62
etc/lighttpd/conf.d/ssi.conf.sample
63
@exec [ -f %B/ssi.conf ] || cp %B/%f %B/ssi.conf
64
@unexec if cmp -s %D/etc/lighttpd/conf.d/status.conf %D/etc/lighttpd/conf.d/status.conf.sample; then rm -f %D/etc/lighttpd/conf.d/status.conf; fi
65
etc/lighttpd/conf.d/status.conf.sample
66
@exec [ -f %B/status.conf ] || cp %B/%f %B/status.conf
67
@unexec if cmp -s %D/etc/lighttpd/conf.d/trigger_b4_dl.conf %D/etc/lighttpd/conf.d/trigger_b4_dl.conf.sample; then rm -f %D/etc/lighttpd/conf.d/trigger_b4_dl.conf; fi
68
etc/lighttpd/conf.d/trigger_b4_dl.conf.sample
69
@exec [ -f %B/trigger_b4_dl.conf ] || cp %B/%f %B/trigger_b4_dl.conf
70
@unexec if cmp -s %D/etc/lighttpd/conf.d/userdir.conf %D/etc/lighttpd/conf.d/userdir.conf.sample; then rm -f %D/etc/lighttpd/conf.d/userdir.conf; fi
71
etc/lighttpd/conf.d/userdir.conf.sample
72
@exec [ -f %B/userdir.conf ] || cp %B/%f %B/userdir.conf
73
@unexec if cmp -s %D/etc/lighttpd/conf.d/webdav.conf %D/etc/lighttpd/conf.d/webdav.conf.sample; then rm -f %D/etc/lighttpd/conf.d/webdav.conf; fi
74
etc/lighttpd/conf.d/webdav.conf.sample
75
@exec [ -f %B/webdav.conf ] || cp %B/%f %B/webdav.conf
1
@sample etc/lighttpd/lighttpd.conf.sample
2
@sample etc/lighttpd/modules.conf.sample
3
@sample etc/lighttpd/conf.d/access_log.conf.sample
4
@sample etc/lighttpd/conf.d/auth.conf.sample
5
@sample etc/lighttpd/conf.d/cml.conf.sample
6
@sample etc/lighttpd/conf.d/cgi.conf.sample
7
@sample etc/lighttpd/conf.d/compress.conf.sample
8
@sample etc/lighttpd/conf.d/debug.conf.sample
9
@sample etc/lighttpd/conf.d/dirlisting.conf.sample
10
@sample etc/lighttpd/conf.d/evhost.conf.sample
11
@sample etc/lighttpd/conf.d/expire.conf.sample
12
@sample etc/lighttpd/conf.d/fastcgi.conf.sample
13
@sample etc/lighttpd/conf.d/magnet.conf.sample
14
@sample etc/lighttpd/conf.d/mime.conf.sample
15
@sample etc/lighttpd/conf.d/mysql_vhost.conf.sample
16
@sample etc/lighttpd/conf.d/proxy.conf.sample
17
@sample etc/lighttpd/conf.d/rrdtool.conf.sample
18
@sample etc/lighttpd/conf.d/scgi.conf.sample
19
@sample etc/lighttpd/conf.d/secdownload.conf.sample
20
@sample etc/lighttpd/conf.d/simple_vhost.conf.sample
21
@sample etc/lighttpd/conf.d/ssi.conf.sample
22
@sample etc/lighttpd/conf.d/status.conf.sample
23
@sample etc/lighttpd/conf.d/trigger_b4_dl.conf.sample
24
@sample etc/lighttpd/conf.d/userdir.conf.sample
25
@sample etc/lighttpd/conf.d/webdav.conf.sample
76 26
etc/lighttpd/vhosts.d/vhosts.template
77
lib/lighttpd/mod_access.a
78
lib/lighttpd/mod_access.la
79 27
lib/lighttpd/mod_access.so
80
lib/lighttpd/mod_accesslog.a
81
lib/lighttpd/mod_accesslog.la
82 28
lib/lighttpd/mod_accesslog.so
83
lib/lighttpd/mod_alias.a
84
lib/lighttpd/mod_alias.la
85 29
lib/lighttpd/mod_alias.so
86
lib/lighttpd/mod_auth.a
87
lib/lighttpd/mod_auth.la
88 30
lib/lighttpd/mod_auth.so
89
lib/lighttpd/mod_cgi.a
90
lib/lighttpd/mod_cgi.la
91 31
lib/lighttpd/mod_cgi.so
92
lib/lighttpd/mod_cml.a
93
lib/lighttpd/mod_cml.la
94 32
lib/lighttpd/mod_cml.so
95
lib/lighttpd/mod_compress.a
96
lib/lighttpd/mod_compress.la
97 33
lib/lighttpd/mod_compress.so
98
lib/lighttpd/mod_dirlisting.a
99
lib/lighttpd/mod_dirlisting.la
100 34
lib/lighttpd/mod_dirlisting.so
101
lib/lighttpd/mod_evasive.a
102
lib/lighttpd/mod_evasive.la
103 35
lib/lighttpd/mod_evasive.so
104
lib/lighttpd/mod_evhost.a
105
lib/lighttpd/mod_evhost.la
106 36
lib/lighttpd/mod_evhost.so
107
lib/lighttpd/mod_expire.a
108
lib/lighttpd/mod_expire.la
109 37
lib/lighttpd/mod_expire.so
110
lib/lighttpd/mod_extforward.a
111
lib/lighttpd/mod_extforward.la
112 38
lib/lighttpd/mod_extforward.so
113
lib/lighttpd/mod_fastcgi.a
114
lib/lighttpd/mod_fastcgi.la
115 39
lib/lighttpd/mod_fastcgi.so
116
lib/lighttpd/mod_flv_streaming.a
117
lib/lighttpd/mod_flv_streaming.la
118 40
lib/lighttpd/mod_flv_streaming.so
119
lib/lighttpd/mod_indexfile.a
120
lib/lighttpd/mod_indexfile.la
121 41
lib/lighttpd/mod_indexfile.so
122
lib/lighttpd/mod_magnet.a
123
lib/lighttpd/mod_magnet.la
124 42
lib/lighttpd/mod_magnet.so
125
lib/lighttpd/mod_mysql_vhost.a
126
lib/lighttpd/mod_mysql_vhost.la
127 43
lib/lighttpd/mod_mysql_vhost.so
128
lib/lighttpd/mod_proxy.a
129
lib/lighttpd/mod_proxy.la
130 44
lib/lighttpd/mod_proxy.so
131
lib/lighttpd/mod_redirect.a
132
lib/lighttpd/mod_redirect.la
133 45
lib/lighttpd/mod_redirect.so
134
lib/lighttpd/mod_rewrite.a
135
lib/lighttpd/mod_rewrite.la
136 46
lib/lighttpd/mod_rewrite.so
137
lib/lighttpd/mod_rrdtool.a
138
lib/lighttpd/mod_rrdtool.la
139 47
lib/lighttpd/mod_rrdtool.so
140
lib/lighttpd/mod_scgi.a
141
lib/lighttpd/mod_scgi.la
142 48
lib/lighttpd/mod_scgi.so
143
lib/lighttpd/mod_secdownload.a
144
lib/lighttpd/mod_secdownload.la
145 49
lib/lighttpd/mod_secdownload.so
146
lib/lighttpd/mod_setenv.a
147
lib/lighttpd/mod_setenv.la
148 50
lib/lighttpd/mod_setenv.so
149
lib/lighttpd/mod_simple_vhost.a
150
lib/lighttpd/mod_simple_vhost.la
151 51
lib/lighttpd/mod_simple_vhost.so
152
lib/lighttpd/mod_ssi.a
153
lib/lighttpd/mod_ssi.la
154 52
lib/lighttpd/mod_ssi.so
155
lib/lighttpd/mod_staticfile.a
156
lib/lighttpd/mod_staticfile.la
157 53
lib/lighttpd/mod_staticfile.so
158
lib/lighttpd/mod_status.a
159
lib/lighttpd/mod_status.la
160 54
lib/lighttpd/mod_status.so
161
lib/lighttpd/mod_trigger_b4_dl.a
162
lib/lighttpd/mod_trigger_b4_dl.la
163 55
lib/lighttpd/mod_trigger_b4_dl.so
164
lib/lighttpd/mod_userdir.a
165
lib/lighttpd/mod_userdir.la
166 56
lib/lighttpd/mod_userdir.so
167
lib/lighttpd/mod_usertrack.a
168
lib/lighttpd/mod_usertrack.la
169 57
lib/lighttpd/mod_usertrack.so
170
lib/lighttpd/mod_webdav.a
171
lib/lighttpd/mod_webdav.la
172 58
lib/lighttpd/mod_webdav.so
173 59
man/man8/lighttpd.8.gz
174 60
sbin/lighttpd
    (1-1/1)