diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-16 12:30:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-16 12:30:54 +0000 |
commit | cb4d2363ba3375e38638c0f75e71c05b86d4746b (patch) | |
tree | 9e3be174f5945ca58f6b789de3f99a3bc13a9d25 | |
parent | a8887daa9e47b3670ea70186851c9ab72de0e9ce (diff) | |
download | alpine_aports-cb4d2363ba3375e38638c0f75e71c05b86d4746b.tar.bz2 alpine_aports-cb4d2363ba3375e38638c0f75e71c05b86d4746b.tar.xz alpine_aports-cb4d2363ba3375e38638c0f75e71c05b86d4746b.zip |
main/lighttp: upgrade to 1.4.27
-rw-r--r-- | main/lighttpd/APKBUILD | 18 | ||||
-rw-r--r-- | main/lighttpd/fix-handling-return-value-of-SSL_CTX_set_options.patch | 13 | ||||
-rw-r--r-- | main/lighttpd/lighttpd-version-from-git.patch | 13 |
3 files changed, 4 insertions, 40 deletions
diff --git a/main/lighttpd/APKBUILD b/main/lighttpd/APKBUILD index f229887b25..75b11087cb 100644 --- a/main/lighttpd/APKBUILD +++ b/main/lighttpd/APKBUILD | |||
@@ -1,8 +1,8 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=lighttpd | 2 | pkgname=lighttpd |
3 | pkgver=1.4.26 | 3 | pkgver=1.4.27 |
4 | _streamver=2.2.0 | 4 | _streamver=2.2.0 |
5 | pkgrel=5 | 5 | pkgrel=0 |
6 | pkgdesc="a secure, fast, compliant and very flexible web-server" | 6 | pkgdesc="a secure, fast, compliant and very flexible web-server" |
7 | url="http://www.lighttpd.net/" | 7 | url="http://www.lighttpd.net/" |
8 | license="custom" | 8 | license="custom" |
@@ -21,20 +21,12 @@ source="http://download.lighttpd.net/lighttpd/releases-1.4.x/$pkgname-$pkgver.ta | |||
21 | mime-types.conf | 21 | mime-types.conf |
22 | mod_cgi.conf | 22 | mod_cgi.conf |
23 | mod_fastcgi.conf | 23 | mod_fastcgi.conf |
24 | lighttpd-version-from-git.patch | ||
25 | fix-handling-return-value-of-SSL_CTX_set_options.patch | ||
26 | " | 24 | " |
27 | subpackages="$pkgname-dev $pkgname-doc $pkgname-h264_streaming" | 25 | subpackages="$pkgname-dev $pkgname-doc $pkgname-h264_streaming" |
28 | 26 | ||
29 | prepare() { | 27 | prepare() { |
30 | cd "$srcdir"/$pkgname-$pkgver | 28 | cd "$srcdir"/$pkgname-$pkgver |
31 | 29 | ||
32 | # http://bugs.alpinelinux.org/issues/323 | ||
33 | patch -p0 -i "$srcdir"/lighttpd-version-from-git.patch || return 1 | ||
34 | |||
35 | # http://bugs.alpinelinux.org/issues/329 | ||
36 | patch -p2 -i "$srcdir"/fix-handling-return-value-of-SSL_CTX_set_options.patch || return 1 | ||
37 | |||
38 | # copy over the mod-h264-streaming mod | 30 | # copy over the mod-h264-streaming mod |
39 | # http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2#DownloadLighttpd1.4.191.4.20andother1.4.x | 31 | # http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2#DownloadLighttpd1.4.191.4.20andother1.4.x |
40 | cp "$srcdir"/lighttpd-1.4.18/src/moov.* src/ | 32 | cp "$srcdir"/lighttpd-1.4.18/src/moov.* src/ |
@@ -109,7 +101,7 @@ h264_streaming() { | |||
109 | "$subpkgdir"/usr/lib/lighttpd/ | 101 | "$subpkgdir"/usr/lib/lighttpd/ |
110 | } | 102 | } |
111 | 103 | ||
112 | md5sums="a682c8efce47a2f4263a247ba0813c9b lighttpd-1.4.26.tar.bz2 | 104 | md5sums="afece7dc547d71cb94ea2e34ee5b3f9b lighttpd-1.4.27.tar.bz2 |
113 | ac37885c881a058194405232e7737a7a lighttpd-1.4.18_mod_h264_streaming-2.2.0.tar.gz | 105 | ac37885c881a058194405232e7737a7a lighttpd-1.4.18_mod_h264_streaming-2.2.0.tar.gz |
114 | 36c4ddbc266017dc193fcb0cdd1d84e1 lighttpd.initd | 106 | 36c4ddbc266017dc193fcb0cdd1d84e1 lighttpd.initd |
115 | 0dede109282bfe685bdec6b35f0e4b6b lighttpd.confd | 107 | 0dede109282bfe685bdec6b35f0e4b6b lighttpd.confd |
@@ -119,6 +111,4 @@ ad091c9157134890499f26d170352c9f lighttpd.logrotate | |||
119 | df5b2360ea380d988bf16905ab214286 lighttpd.conf | 111 | df5b2360ea380d988bf16905ab214286 lighttpd.conf |
120 | fef397e7bcf1b741dea211a555e1803c mime-types.conf | 112 | fef397e7bcf1b741dea211a555e1803c mime-types.conf |
121 | 9c1407e95f62ed22da66c4ef5f69c3b5 mod_cgi.conf | 113 | 9c1407e95f62ed22da66c4ef5f69c3b5 mod_cgi.conf |
122 | f3363e39832f1b6678468b482d121afb mod_fastcgi.conf | 114 | f3363e39832f1b6678468b482d121afb mod_fastcgi.conf" |
123 | c2471f50eec2ce85da6dfaf8289725bc lighttpd-version-from-git.patch | ||
124 | 770baaa9a8dae51e25db29d3561d5b76 fix-handling-return-value-of-SSL_CTX_set_options.patch" | ||
diff --git a/main/lighttpd/fix-handling-return-value-of-SSL_CTX_set_options.patch b/main/lighttpd/fix-handling-return-value-of-SSL_CTX_set_options.patch deleted file mode 100644 index 40eab25e50..0000000000 --- a/main/lighttpd/fix-handling-return-value-of-SSL_CTX_set_options.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: branches/lighttpd-1.4.x/src/network.c | ||
2 | =================================================================== | ||
3 | --- branches/lighttpd-1.4.x/src/network.c (revision 2715) | ||
4 | +++ branches/lighttpd-1.4.x/src/network.c (revision 2716) | ||
5 | @@ -525,7 +525,7 @@ | ||
6 | |||
7 | if (!s->ssl_use_sslv2) { | ||
8 | /* disable SSLv2 */ | ||
9 | - if (SSL_OP_NO_SSLv2 != SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv2)) { | ||
10 | + if (!(SSL_OP_NO_SSLv2 & SSL_CTX_set_options(s->ssl_ctx, SSL_OP_NO_SSLv2))) { | ||
11 | log_error_write(srv, __FILE__, __LINE__, "ss", "SSL:", | ||
12 | ERR_error_string(ERR_get_error(), NULL)); | ||
13 | return -1; | ||
diff --git a/main/lighttpd/lighttpd-version-from-git.patch b/main/lighttpd/lighttpd-version-from-git.patch deleted file mode 100644 index ae6407c49f..0000000000 --- a/main/lighttpd/lighttpd-version-from-git.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: src/Makefile.am | ||
2 | =================================================================== | ||
3 | --- src/Makefile.am (revision 2717) | ||
4 | +++ src/Makefile.am (working copy) | ||
5 | @@ -19,7 +19,7 @@ | ||
6 | REVISION=""; \ | ||
7 | fi; \ | ||
8 | fi; \ | ||
9 | - if test -z "$$REVISION" -a -x "`which git`"; then \ | ||
10 | + if test -z "$$REVISION" -a -d "$(top_srcdir)/.git" -a -x "`which git`"; then \ | ||
11 | REVISION="$$(cd "$(top_srcdir)"; LANG= LC_ALL=C git describe --always 2>/dev/null || echo)"; \ | ||
12 | fi; \ | ||
13 | if test -n "$$REVISION"; then \ | ||