]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- some silly cosmetics
authoreothane <eothane@pld-linux.org>
Mon, 7 Mar 2005 19:03:52 +0000 (19:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- addedd 'hide from dirlisting' (dir-listing.hide = ) hack
  bconded (--with dirhack)
- release 2

Changed files:
    lighttpd.spec -> 1.103

lighttpd.spec

index 9a1a5bc304225c6082aa7d7a287cdcbcd756ca94..0741f76f7da2b814e458a172cec24377fd02fb3f 100644 (file)
@@ -6,17 +6,17 @@
 #
 # Conditional build for lighttpd:
 %bcond_without xattr           # without support of extended attributes
+%bcond_without  ipv6            # IPv4-only version (doesn't require IPv6 in kernel)
+%bcond_without  largefile       # without largefile support
+                               # use it if you have 2.4 kernel to get sendfile() support,
+                               # and don't need > 2GB file requests,
+                               # see http://article.gmane.org/gmane.comp.web.lighttpd:722
+%bcond_without  ssl             # disable ssl support
 %bcond_with    mysql           # with mysql
 %bcond_with    ldap            # with ldap
 %bcond_with    valgrind        # enable valgrind fixes in code.
-%bcond_without ipv6            # IPv4-only version (doesn't require IPv6 in kernel)
-%bcond_without largefile       # without largefile support,
-%bcond_without ssl             # disable ssl support
-# use it if you have 2.4 kernel to get sendfile() support,
-# and don't need > 2GB file requests,
-# see http://article.gmane.org/gmane.comp.web.lighttpd:722
+%bcond_with    dirhide         # with 'hide from dirlisting' hack 
 #
-
 # Prerelease snapshot: DATE-TIME
 ##define _snap 20050116-1743
 
@@ -26,7 +26,7 @@
 %define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
 %endif
 
-%define                _rel 1
+%define                _rel 2
 
 Summary:       Fast and light HTTP server
 Summary(pl):   Szybki i lekki serwer HTTP
@@ -42,6 +42,7 @@ Source2:      %{name}.conf
 Source3:       %{name}.user
 Source4:       %{name}.logrotate
 Source5:       %{name}.sysconfig
+Patch0:                http://minghetti.ch/blob/dirlist-hide.patch
 URL:           http://www.lighttpd.net/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -110,6 +111,7 @@ pomocy serwera WWW ani samego programu.
 
 %prep
 %setup -q
+%{?with_dirhide:%patch0 -p0}
 
 %build
 %{__libtoolize}
This page took 0.048295 seconds and 4 git commands to generate.