diff options
author | Vitaliy Tokarev <vitaliy.tokarev@gmail.com> | 2013-06-28 21:50:34 +0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-30 10:31:40 +0000 |
commit | 5062ff070340a75d3f50c68e6c2962e85a0d88db (patch) | |
tree | 9abd8c68744604085367b54a21f215d49e55e403 /testing/yaws/APKBUILD | |
parent | bca2c1c2f07a3ea1ac33ad5c7fa5fb02fce6eff8 (diff) | |
download | aports-5062ff070340a75d3f50c68e6c2962e85a0d88db.tar.bz2 aports-5062ff070340a75d3f50c68e6c2962e85a0d88db.tar.xz |
new aport for yaws 1.96 (release 1)
Yaws is a HTTP high perfomance 1.1 webserver particularly well
suited for dynamic-content web applications.
Changes:
* fixed paths in post-(de)install and post-upgrade scripts
* /etc/yaws/yaws.conf updated to /var/log/yaws directory as logdir
* /usr/etc dir for yaws package now will not be created
* Makefile(s) removed in /var/yaws/www directory for yaws-web package
* fixed dependencies for ABUILD
Diffstat (limited to 'testing/yaws/APKBUILD')
-rw-r--r-- | testing/yaws/APKBUILD | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/testing/yaws/APKBUILD b/testing/yaws/APKBUILD index ef64db48dd..884a9fc673 100644 --- a/testing/yaws/APKBUILD +++ b/testing/yaws/APKBUILD @@ -2,19 +2,21 @@ # Maintainer: pkgname=yaws pkgver=1.96 -pkgrel=0 +pkgrel=1 pkgdesc="Yet Another Web Server, pure Erlang HTTP server/framework" url="http://yaws.hyber.org/" arch="all" license="BSD" -depends="" -depends_dev="linux-pam-dev erlang" +depends="erlang linux-pam" +depends_dev="linux-pam-dev erlang-dev" makedepends="$depends_dev" options="!emptydirs" install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" subpackages="$pkgname-doc $pkgname-web" source="http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz - yaws.init.d" + yaws.init.d + yaws.conf.alpine + yaws-1.96-etc.patch" _builddir="$srcdir/$pkgname-$pkgver" prepare() { @@ -47,6 +49,11 @@ package() { # License install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # update config + # * basically change log dir to /var/log/yaws + # * on of <server localhost> definitions commented, because conflict + install -Dm644 "$srcdir"/yaws.conf.alpine "$pkgdir/etc/yaws/yaws.conf" } web() { @@ -56,11 +63,20 @@ web() { mkdir -p "$subpkgdir"/var mv "$pkgdir"/var/yaws "$subpkgdir"/var/ + + # cleanup unnecessary Makefiles + find "$subpkgdir"/var/yaws/www -type f -name 'Makefile' -exec rm -f {} \; } md5sums="7c9231b7d9880033c9d3bfba2aa3c901 yaws-1.96.tar.gz -3a1445696bd25ae71631d13457980693 yaws.init.d" +3a1445696bd25ae71631d13457980693 yaws.init.d +2b71d01e0837aff6798e602c74ae6a2c yaws.conf.alpine +988d08b3501aa80d2f6ba5513f8a70af yaws-1.96-etc.patch" sha256sums="8d4f16d18937335ac021ca4c65c8ee81dc4d71f133718c7148856cc6bf1f55e2 yaws-1.96.tar.gz -313ce8cacd25e8eed5717dfd9e79d1683a4038a64cffff6e93aacfd2fb11c261 yaws.init.d" +313ce8cacd25e8eed5717dfd9e79d1683a4038a64cffff6e93aacfd2fb11c261 yaws.init.d +ebff598ac47a0185a81ca5fb45b1c843b184390d85c630686aa2579b6d51e3af yaws.conf.alpine +cc76022bd81302724ec169f14b6fa167fe66cc18b47e8990a25b4bca0406969c yaws-1.96-etc.patch" sha512sums="821ffe530a265462df083a9408e1798616bf11f8c891955500f8de170f77de831defc65c2341d0552471dde253df16ae3d27d59eaa0ccd79b117f3070f49fb2c yaws-1.96.tar.gz -07ff290eb98be729445d797361503d01dfba29f050639632d251202267aa485655fd04798f4de8d66a83bb0a798280116f8b06d5b9e8810d3cb2d20c1c1bd1d6 yaws.init.d" +07ff290eb98be729445d797361503d01dfba29f050639632d251202267aa485655fd04798f4de8d66a83bb0a798280116f8b06d5b9e8810d3cb2d20c1c1bd1d6 yaws.init.d +7f4bf1a099337cf53a2492cc2e295108adcb9ab26b27089303429542c5097ed357623f6d448c5b0b9c9e4d0e8517350ab9d8bf1b6d51a529c45b264f810c688d yaws.conf.alpine +b0b056c44d92eb2d1f7486f8113dc07be9a958b73a354dc993c210f4d53d6997e8b93e6c17d1eaeeb3e4899be3c337d9e7b953bd1bad40d63e851c5f5981fa2c yaws-1.96-etc.patch" |