mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/yaws to 1.96-2
This commit is contained in:
parent
c0229cf263
commit
4e05b4e4fb
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue