[arch-commits] Commit in fcgiwrap/repos (4 files)

Felix Yan felixonmars at archlinux.org
Sat Nov 10 05:53:34 UTC 2018


    Date: Saturday, November 10, 2018 @ 05:53:33
  Author: felixonmars
Revision: 405639

archrelease: copy trunk to community-staging-x86_64

Added:
  fcgiwrap/repos/community-staging-x86_64/
  fcgiwrap/repos/community-staging-x86_64/LICENSE
    (from rev 405638, fcgiwrap/trunk/LICENSE)
  fcgiwrap/repos/community-staging-x86_64/PKGBUILD
    (from rev 405638, fcgiwrap/trunk/PKGBUILD)
  fcgiwrap/repos/community-staging-x86_64/link-with-libsystemd-instead-of-libsystemd-daemon.patch
    (from rev 405638, fcgiwrap/trunk/link-with-libsystemd-instead-of-libsystemd-daemon.patch)

---------------------------------------------------------+
 LICENSE                                                 |   24 +++++++
 PKGBUILD                                                |   45 ++++++++++++++
 link-with-libsystemd-instead-of-libsystemd-daemon.patch |   26 ++++++++
 3 files changed, 95 insertions(+)

Copied: fcgiwrap/repos/community-staging-x86_64/LICENSE (from rev 405638, fcgiwrap/trunk/LICENSE)
===================================================================
--- community-staging-x86_64/LICENSE	                        (rev 0)
+++ community-staging-x86_64/LICENSE	2018-11-10 05:53:33 UTC (rev 405639)
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2007-2010 Grzegorz Nosek
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */

Copied: fcgiwrap/repos/community-staging-x86_64/PKGBUILD (from rev 405638, fcgiwrap/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-10 05:53:33 UTC (rev 405639)
@@ -0,0 +1,45 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Aaron Bull Schaefer <aaron at elasticdog.com>
+# Contributor: Ron Huang <ronhuang+aur at gmail dot com>
+
+pkgname=fcgiwrap
+pkgver=1.1.0
+pkgrel=5
+pkgdesc='A simple server for running CGI applications over FastCGI.'
+arch=('x86_64')
+url='http://nginx.localdomain.pl/wiki/FcgiWrap'
+license=('MIT')
+depends=('fcgi' 'systemd')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/gnosek/fcgiwrap/archive/${pkgver}.tar.gz"
+        'link-with-libsystemd-instead-of-libsystemd-daemon.patch'
+        'LICENSE')
+md5sums=('d14f56bda6758a6e02aa7b3fb125cbce'
+         'b2428010802d80c577553ee8c0fd8d7a'
+         '5aee62c27b4308f25ab32f05da387366')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # https://github.com/gnosek/fcgiwrap/pull/37
+  patch -Np1 -i ../link-with-libsystemd-instead-of-libsystemd-daemon.patch
+
+  autoreconf -vi
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # -Werror is not much fun in release builds
+  CFLAGS+=' -Wno-error=implicit-fallthrough'
+
+  # Here --sbindir is implicitly prefixed by /usr
+  ./configure --prefix=/usr --mandir=/share/man --sbindir=/bin --with-systemd
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+  install -Dm0644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: fcgiwrap/repos/community-staging-x86_64/link-with-libsystemd-instead-of-libsystemd-daemon.patch (from rev 405638, fcgiwrap/trunk/link-with-libsystemd-instead-of-libsystemd-daemon.patch)
===================================================================
--- community-staging-x86_64/link-with-libsystemd-instead-of-libsystemd-daemon.patch	                        (rev 0)
+++ community-staging-x86_64/link-with-libsystemd-instead-of-libsystemd-daemon.patch	2018-11-10 05:53:33 UTC (rev 405639)
@@ -0,0 +1,26 @@
+From e621d6acb538d717d6767429e3f85190019a887d Mon Sep 17 00:00:00 2001
+From: Thomas Claveirole <thomas.claveirole at green-communications.fr>
+Date: Mon, 18 Jul 2016 15:06:59 +0200
+Subject: [PATCH] configure.ac: Check for libsystemd, not libsystemd-daemon.
+
+Newer versions of systemd do not provide libsystemd-daemon anymore.
+Therefore, use libsystemd instead.
+
+Signed-off-by: Thomas Claveirole <thomas.claveirole at green-communications.fr>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index bb3674e..2b02ef4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -28,7 +28,7 @@ AC_ARG_WITH([systemd],
+   [], [with_systemd=check])
+ have_systemd=no
+ if test "x$with_systemd" != "xno"; then
+-  PKG_CHECK_MODULES(systemd, [libsystemd-daemon],
++  PKG_CHECK_MODULES(systemd, [libsystemd],
+     [AC_DEFINE(HAVE_SYSTEMD, 1, [Define if systemd is available])
+     have_systemd=yes],
+   have_systemd=no)



More information about the arch-commits mailing list