community/yaws to 1.96-2

This commit is contained in:
Kevin Mihelich 2013-08-01 13:55:27 +00:00
parent c0229cf263
commit 4e05b4e4fb

View file

@ -8,16 +8,15 @@
pkgname=yaws
pkgver=1.96
pkgrel=1
pkgrel=2
pkgdesc='Yet Another Web Server, pure Erlang HTTP server/framework'
arch=('x86_64' 'i686')
url='http://yaws.hyber.org/'
license=('BSD')
depends=('pam' 'erlang')
depends=('pam' 'erlang-nox')
backup=('etc/yaws/yaws.conf')
options=('!emptydirs')
install=$pkgname.install
optdepends=('erlang-nox: Erlang without X (headless)')
source=("http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz"
"$pkgname.service")
sha256sums=('8d4f16d18937335ac021ca4c65c8ee81dc4d71f133718c7148856cc6bf1f55e2'
@ -30,6 +29,8 @@ prepare() {
for file in cgi.yaws cgi-bin/foo.py; do
sed -i '0,/on/s//on2/' "www/$file"
done
# R16B1 fix
sed -i 's/:sha(Salted)/:hash(sha, Salted)/' src/yaws_websockets.erl
# remove m32
sed -i 's/\-m32//g' configure