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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 20:16:15 UTC 2020


    Date: Tuesday, July 7, 2020 @ 20:16:15
  Author: foutrelis
Revision: 660215

archrelease: copy trunk to community-staging-x86_64

Added:
  pound/repos/community-staging-x86_64/
  pound/repos/community-staging-x86_64/PKGBUILD
    (from rev 660214, pound/trunk/PKGBUILD)
  pound/repos/community-staging-x86_64/pound.cfg
    (from rev 660214, pound/trunk/pound.cfg)
  pound/repos/community-staging-x86_64/pound.service
    (from rev 660214, pound/trunk/pound.service)

---------------+
 PKGBUILD      |   60 +++++++++++++++++++++++++++++++++++++++
 pound.cfg     |   85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 pound.service |   19 ++++++++++++
 3 files changed, 164 insertions(+)

Copied: pound/repos/community-staging-x86_64/PKGBUILD (from rev 660214, pound/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 20:16:15 UTC (rev 660215)
@@ -0,0 +1,60 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+_name=Pound
+pkgname=pound
+pkgver=2.8
+pkgrel=2
+pkgdesc="A reverse proxy, load balancer, and SSL wrapper"
+arch=('x86_64')
+url="http://www.apsis.ch/pound/index_html"
+license=('GPL3')
+depends=('gperftools' 'pcre' 'openssl-1.0')
+backup=('etc/pound/pound.cfg')
+# switch to https://github.com/graygnuorg/pound for openssl
+source=("http://www.apsis.ch/${pkgname}/${_name}-${pkgver}.tgz"
+        "${_name}-${pkgver}.tgz.asc::http://www.apsis.ch/${pkgname}/${_name}-${pkgver}.asc"
+        "${pkgname}.service"
+        "${pkgname}.cfg")
+sha512sums=('cf0b865b17d3628e273626e07733f1320e4768702c0f64c8ef0f78d46667f770b223bdc7dca88016a95e5ebd23ae646f95a9b2f4a54a5a80001a10047f07eacc'
+            'SKIP'
+            '7111df07cb3500c378afb19abbd1ef5f97a566101cd68712a1d6c8015f23463fc06347ec8cb189f2774c954343b8b8815416be1a4acd3ec31f20f03e90cdf603'
+            '32d33474a115dfc9d5ccc094ffdb3c367108a48976cf3e58442642dab08167cd0a1808eefa1879e3c38b607d2a6a1cd28142dbd690244368760daba1f95526f6')
+validpgpkeys=('8BB562A0F1DB703FB7EB1E95AB72C62A8691DD02') # Robert Segall <roseg at apsis.ch>
+
+prepare() {
+  cp -av "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver}"
+  # use openssl-1.0 to generate dhparam
+  sed -e 's/openssl/openssl-1.0/' -i Makefile.in
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  CPPFLAGS+=" -I/usr/include/openssl-1.0" \
+  LDFLAGS+=" -L/usr/lib/openssl-1.0" \
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc/pound \
+              --bindir=/usr/bin \
+              --sbindir=/usr/bin \
+              --with-ssl='/usr/lib/openssl-1.0' \
+              --with-owner=root \
+              --with-group=root
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir" install
+  # configuration
+  install -vDm 644 "${srcdir}/${pkgname}.cfg" \
+    "${pkgdir}/etc/${pkgname}/${pkgname}.cfg"
+  # systemd service
+  install -vDm 644 "$srcdir/${pkgname}.service" \
+    "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+  # docs
+  install -vDm 644 {CHANGELOG,FAQ,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}

Copied: pound/repos/community-staging-x86_64/pound.cfg (from rev 660214, pound/trunk/pound.cfg)
===================================================================
--- community-staging-x86_64/pound.cfg	                        (rev 0)
+++ community-staging-x86_64/pound.cfg	2020-07-07 20:16:15 UTC (rev 660215)
@@ -0,0 +1,85 @@
+###############################################################################
+## Pound configration file
+###############################################################################
+##
+##
+## GLOBAL SETTINGS
+##
+## Specify the user and group Pound will run as.
+#User         "pound"
+#Group        "pound"
+##
+## Specify the directory that Pound will chroot to at runtime.
+#RootJail     "/"
+##
+## Have Pound run in the foreground (if 0) or as a daemon (if 1).
+#Daemon       1
+##
+## Specify the log facility to use.
+#LogFacility  daemon
+##
+## Specify the logging level.
+#LogLevel     1
+##
+## Ignore case when matching URLs.
+#IgnoreCase   0
+##
+## Enable or disable the dynamic rescaling code.
+#DynScale     0
+##
+## Specify how often Pound will check for resurected back-end hosts.
+#Alive        30
+##
+## Specify for how long Pound will wait for a client request.
+#Client       10
+##
+## How long should Pound wait for a response from the back-end.
+#TimeOut      15
+##
+## How long should Pound wait for a connection to the back-end.
+#ConnTO       15
+##
+## How long should Pound continue to answer interrupted connections.
+#Grace        30
+##
+## Use an OpenSSL hardware acceleration card.
+#SSLEngine    "name"
+##
+## Set the control socket path.
+Control      "/run/pound/poundctl.socket"
+##
+##
+## LISTENERS
+##
+## Configure services and backends for the HTTP reverse proxy.
+#ListenHTTP
+#    Address  10.0.0.1
+#    Port     80
+#    Service
+#        BackEnd
+#            Address 127.0.0.1
+#            Port    8080
+#        End
+#        BackEnd
+#            Address 127.0.0.1
+#            Port    8081
+#        End
+#    End
+#End
+##
+## Configure services and backends for the HTTPS reverse proxy.
+#ListenHTTPS
+#    Address  10.0.0.1
+#    Port     443
+#    Cert     "/etc/ssl/certs/pound.pem"
+#    Service
+#        BackEnd
+#            Address 127.0.0.1
+#            Port    8080
+#        End
+#        BackEnd
+#            Address 127.0.0.1
+#            Port    8081
+#        End
+#    End
+#End

Copied: pound/repos/community-staging-x86_64/pound.service (from rev 660214, pound/trunk/pound.service)
===================================================================
--- community-staging-x86_64/pound.service	                        (rev 0)
+++ community-staging-x86_64/pound.service	2020-07-07 20:16:15 UTC (rev 660215)
@@ -0,0 +1,19 @@
+[Unit]
+Description=A reverse proxy, load balancer, and SSL wrapper
+Documentation=man:pound(8)
+After=syslog.target network-online.target systemd-sysusers.service
+Wants=network-online.target
+
+[Service]
+Type=forking
+DynamicUser=yes
+RuntimeDirectory=pound
+ExecStart=/usr/bin/pound -f /etc/pound/pound.cfg -p /run/pound.pid
+PIDFile=/run/pound.pid
+ProtectControlGroups=yes
+ProtectKernelModules=yes
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list