[arch-commits] Commit in sthttpd/trunk (PKGBUILD config)

Gaëtan Bisson bisson at archlinux.org
Mon Sep 5 19:52:31 UTC 2016


    Date: Monday, September 5, 2016 @ 19:52:30
  Author: bisson
Revision: 188602

move charset fix from prepare() to config

Modified:
  sthttpd/trunk/PKGBUILD
  sthttpd/trunk/config

----------+
 PKGBUILD |    5 ++---
 config   |    5 +++--
 2 files changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-05 19:18:31 UTC (rev 188601)
+++ PKGBUILD	2016-09-05 19:52:30 UTC (rev 188602)
@@ -5,7 +5,7 @@
 
 pkgname=sthttpd
 pkgver=2.27.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Supported fork of the thttpd web server'
 url='http://opensource.dyc.edu/sthttpd'
 license=('custom:BSD')
@@ -19,7 +19,7 @@
 sha1sums=('27ea739c4e3c7922979c4357a80fe6d141da4356' 'SKIP'
           'ae0143fce29cf7eb84ebbee9640b9a2c977b5093'
           '73bd76de0e89a9cc31e5605659837d83b3c8dfde'
-          '7a6413491b6ba68625d450caa3c6f071af0ca1ac')
+          '4e2d1f714a68fadc2ae8fd6ba6b826c4785a77fd')
 
 conflicts=('thttpd')
 provides=('thttpd')
@@ -29,7 +29,6 @@
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	aclocal && automake --add-missing
 	patch -p1 -i ../discreet.patch
-	sed '/DEFAULT_CHARSET/c #define DEFAULT_CHARSET "utf-8"' -i src/thttpd.h
 }
 
 build() {

Modified: config
===================================================================
--- config	2016-09-05 19:18:31 UTC (rev 188601)
+++ config	2016-09-05 19:52:30 UTC (rev 188602)
@@ -1,4 +1,5 @@
+user=http
 dir=/srv/http
+cgipat=**.cgi
+charset=utf-8
 vhost
-user=http
-cgipat=**.cgi



More information about the arch-commits mailing list