[arch-commits] Commit in yaws/repos/community-x86_64 (6 files)

Felix Yan felixonmars at archlinux.org
Fri May 28 14:20:14 UTC 2021


    Date: Friday, May 28, 2021 @ 14:20:13
  Author: felixonmars
Revision: 949799

archrelease: copy trunk to community-x86_64

Added:
  yaws/repos/community-x86_64/PKGBUILD
    (from rev 949798, yaws/trunk/PKGBUILD)
  yaws/repos/community-x86_64/yaws.install
    (from rev 949798, yaws/trunk/yaws.install)
  yaws/repos/community-x86_64/yaws.service
    (from rev 949798, yaws/trunk/yaws.service)
Deleted:
  yaws/repos/community-x86_64/PKGBUILD
  yaws/repos/community-x86_64/yaws.install
  yaws/repos/community-x86_64/yaws.service

--------------+
 PKGBUILD     |  122 ++++++++++++++++++++++++++++-----------------------------
 yaws.install |   26 ++++++------
 yaws.service |   26 ++++++------
 3 files changed, 87 insertions(+), 87 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-28 14:19:46 UTC (rev 949798)
+++ PKGBUILD	2021-05-28 14:20:13 UTC (rev 949799)
@@ -1,61 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
-# Contributor: Patrick Smits <mail at patricksmits.net>
-
-pkgname=yaws
-pkgver=2.0.8
-pkgrel=1
-pkgdesc='Web server for dynamic content'
-arch=(x86_64)
-url='http://yaws.hyber.org/'
-license=(BSD)
-depends=(erlang-nox pam)
-backup=(etc/yaws/yaws.conf)
-options=(!emptydirs)
-install=$pkgname.install
-source=("https://github.com/klacke/yaws/archive/$pkgname-$pkgver.tar.gz"
-        "$pkgname.service")
-sha256sums=('0776bc4f9d50cf6a2bff277c0bc8ddb06218d54c53a9335e872f230565da0620'
-            '3628a0f6fdacc91c216cb782e3f3da638958cca6eee34a0a1e692482659109db')
-
-prepare() {
-  cd "$pkgname-$pkgname-$pkgver"
-
-  # fix for python2
-  sed -i 's:n/python:n/python2:' www/cgi{.yaws,-bin/foo.py}
-
-  # treat warnings as warnings
-  sed -i 's/-Werror//g' include.mk
-
-  # prepare configure and make
-  autoreconf -fi
-}
-
-build() {
-  cd "$pkgname-$pkgname-$pkgver"
-  export wwwdir=/srv/http/yaws
-  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd "$pkgname-$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 "$srcdir/$pkgname.service" \
-    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  install -Dm644 "$srcdir/$pkgname-$pkgname-$pkgver/LICENSE" \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # path fix
-  cp -ru examples/include "$pkgdir/usr/lib/yaws-$pkgver/examples/"
-  mv "$pkgdir/srv/http/yaws/"* "$pkgdir/srv/http/www" || true
-  rmdir --ignore-fail-on-non-empty "$pkgdir/srv/http/yaws"
-  mv "$pkgdir/srv/http/www" "$pkgdir/srv/http/yaws" || true
-}
-
-# getver: raw.githubusercontent.com/klacke/yaws/master/vsn.mk
-# vim: ts=2 sw=2 et:

Copied: yaws/repos/community-x86_64/PKGBUILD (from rev 949798, yaws/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-28 14:20:13 UTC (rev 949799)
@@ -0,0 +1,61 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Patrick Smits <mail at patricksmits.net>
+
+pkgname=yaws
+pkgver=2.0.9
+pkgrel=1
+pkgdesc='Web server for dynamic content'
+arch=(x86_64)
+url='http://yaws.hyber.org/'
+license=(BSD)
+depends=(erlang-nox pam)
+backup=(etc/yaws/yaws.conf)
+options=(!emptydirs)
+install=$pkgname.install
+source=("https://github.com/klacke/yaws/archive/$pkgname-$pkgver.tar.gz"
+        "$pkgname.service")
+sha512sums=('6e6adcdec00cdc4ecb9e0e568ff5a513fc42c4bc199deb232f8ec799f006f78f538e7c6c2359942b758579e3c78fec4d4b4c0a149f0ddbe4313facf251450170'
+            '6bafd099901d4da241094d137191eda7c18ec8ff9d3f9688aa37220db11d7d19ad97ab6fa4e8b57ebf9c7e2f16ac162284332354d4dae61340ddc598933cee0e')
+
+prepare() {
+  cd "$pkgname-$pkgname-$pkgver"
+
+  # fix for python2
+  sed -i 's:n/python:n/python2:' www/cgi{.yaws,-bin/foo.py}
+
+  # treat warnings as warnings
+  sed -i 's/-Werror//g' include.mk
+
+  # prepare configure and make
+  autoreconf -fi
+}
+
+build() {
+  cd "$pkgname-$pkgname-$pkgver"
+  export wwwdir=/srv/http/yaws
+  ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "$pkgname-$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 "$srcdir/$pkgname.service" \
+    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  install -Dm644 "$srcdir/$pkgname-$pkgname-$pkgver/LICENSE" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # path fix
+  cp -ru examples/include "$pkgdir/usr/lib/yaws-$pkgver/examples/"
+  mv "$pkgdir/srv/http/yaws/"* "$pkgdir/srv/http/www" || true
+  rmdir --ignore-fail-on-non-empty "$pkgdir/srv/http/yaws"
+  mv "$pkgdir/srv/http/www" "$pkgdir/srv/http/yaws" || true
+}
+
+# getver: raw.githubusercontent.com/klacke/yaws/master/vsn.mk
+# vim: ts=2 sw=2 et:

Deleted: yaws.install
===================================================================
--- yaws.install	2021-05-28 14:19:46 UTC (rev 949798)
+++ yaws.install	2021-05-28 14:20:13 UTC (rev 949799)
@@ -1,13 +0,0 @@
-post_upgrade() {
-  mkdir -p /var/log/yaws
-}
-
-post_install() {
-  post_upgrade
-}
-
-post_remove() {
-  rmdir --ignore-fail-on-non-empty /var/log/yaws
-}
-
-# vim: ts=2 sw=2 et:

Copied: yaws/repos/community-x86_64/yaws.install (from rev 949798, yaws/trunk/yaws.install)
===================================================================
--- yaws.install	                        (rev 0)
+++ yaws.install	2021-05-28 14:20:13 UTC (rev 949799)
@@ -0,0 +1,13 @@
+post_upgrade() {
+  mkdir -p /var/log/yaws
+}
+
+post_install() {
+  post_upgrade
+}
+
+post_remove() {
+  rmdir --ignore-fail-on-non-empty /var/log/yaws
+}
+
+# vim: ts=2 sw=2 et:

Deleted: yaws.service
===================================================================
--- yaws.service	2021-05-28 14:19:46 UTC (rev 949798)
+++ yaws.service	2021-05-28 14:20:13 UTC (rev 949799)
@@ -1,13 +0,0 @@
-[Unit]
-Description=Web server/framework written in Erlang
-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

Copied: yaws/repos/community-x86_64/yaws.service (from rev 949798, yaws/trunk/yaws.service)
===================================================================
--- yaws.service	                        (rev 0)
+++ yaws.service	2021-05-28 14:20:13 UTC (rev 949799)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Web server/framework written in Erlang
+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



More information about the arch-commits mailing list