summaryrefslogtreecommitdiff
path: root/community/yaws
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/yaws
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/yaws')
-rw-r--r--community/yaws/PKGBUILD50
-rw-r--r--community/yaws/yaws.install13
-rw-r--r--community/yaws/yaws.service13
3 files changed, 0 insertions, 76 deletions
diff --git a/community/yaws/PKGBUILD b/community/yaws/PKGBUILD
deleted file mode 100644
index 476fa519f..000000000
--- a/community/yaws/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 88640 2013-04-20 21:08:12Z arodseth $
-# Maintainer: Alexander Rødseth <rodseth@gmail.com>
-# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
-# Contributor: Patrick Smits <mail@patricksmits.net>
-
-pkgname=yaws
-pkgver=1.96
-pkgrel=1
-pkgdesc='Yet Another Web Server, pure Erlang HTTP server/framework'
-arch=('x86_64' 'i686')
-url='http://yaws.hyber.org/'
-license=('BSD')
-depends=('pam' 'erlang')
-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'
- '3f8347add6e3741e77f7bb9ba6b31feb1c878e2e58ecf19063891e801fa24698')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- # python2 fix
- for file in cgi.yaws cgi-bin/foo.py; do
- sed -i '0,/on/s//on2/' "www/$file"
- done
-}
-
-build() {
- cd "$pkgname-$pkgver"
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
- install -d "$pkgdir/usr/lib/erlang/lib"
- ln -s /usr/lib/yaws "$pkgdir/usr/lib/erlang/lib/$pkgname-$pkgver"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 "$srcdir/$pkgname.service" \
- "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/yaws/yaws.install b/community/yaws/yaws.install
deleted file mode 100644
index 2b28403e1..000000000
--- a/community/yaws/yaws.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_upgrade() {
- mkdir -p /usr/var/log/yaws
-}
-
-post_install() {
- post_upgrade
-}
-
-post_remove() {
- rmdir --ignore-fail-on-non-empty /usr/var/log/yaws
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/yaws/yaws.service b/community/yaws/yaws.service
deleted file mode 100644
index 7e2ced32d..000000000
--- a/community/yaws/yaws.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=A fast lightweight webserver.
-After=syslog.target network.target
-
-[Service]
-Type=forking
-GuessMainPID=no
-ExecStart=/usr/bin/yaws --daemon --heart
-ExecReload=/usr/bin/yaws --hup
-ExecStop=/usr/bin/yaws --stop
-
-[Install]
-WantedBy=multi-user.target