[arch-commits] Commit in traefik/repos/community-x86_64 (6 files)
Christian Rebischke
shibumi at archlinux.org
Fri Apr 24 21:14:32 UTC 2020
Date: Friday, April 24, 2020 @ 21:14:32
Author: shibumi
Revision: 619598
archrelease: copy trunk to community-x86_64
Added:
traefik/repos/community-x86_64/PKGBUILD
(from rev 619597, traefik/trunk/PKGBUILD)
traefik/repos/community-x86_64/traefik.service
(from rev 619597, traefik/trunk/traefik.service)
traefik/repos/community-x86_64/traefik.sysusers
(from rev 619597, traefik/trunk/traefik.sysusers)
Deleted:
traefik/repos/community-x86_64/PKGBUILD
traefik/repos/community-x86_64/traefik.service
traefik/repos/community-x86_64/traefik.sysusers
------------------+
PKGBUILD | 92 ++++++++++++++++++++++++++---------------------------
traefik.service | 82 +++++++++++++++++++++++------------------------
traefik.sysusers | 2 -
3 files changed, 88 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-24 21:14:21 UTC (rev 619597)
+++ PKGBUILD 2020-04-24 21:14:32 UTC (rev 619598)
@@ -1,46 +0,0 @@
-# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=traefik
-pkgver=2.1.7
-pkgrel=1
-pkgdesc="Modern reverse proxy written in Go"
-arch=('x86_64')
-url="https://containo.us/traefik/"
-license=('MIT')
-makedepends=('go-pie' 'git' 'go-bindata')
-depends=('glibc')
-backup=('etc/traefik/traefik.toml'
- 'etc/traefik/traefik.yaml'
- 'etc/traefik/traefik.yml')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/traefik/releases/download/v${pkgver}/traefik-v${pkgver}.src.tar.gz"
- 'traefik.service'
- 'traefik.sysusers')
-noextract=("${pkgname}-${pkgver}.tar.gz")
-sha512sums=('704a2dc93a3e51a7394bf7c3c35b197abba2d4ce7f66b5e26f605fa4b3931e0c92e23701d244037cba49fa705703b889230bee4034149d597b025196e9338677'
- '474dc8274d160bf46a46edf8855378331521b108a767345fb8cb201f23576ceadbee81560d15cf98cac3a978eb24b49f951524da828ffda720797f7ab38bd49c'
- '5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a')
-
-prepare() {
- mkdir "${srcdir}/${pkgname}-${pkgver}"
- tar xfvz "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${srcdir}/${pkgname}-${pkgver}"
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- go generate
- cd cmd/traefik
- go build -trimpath -ldflags "-extldflags ${LDFLAGS}"
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- go test ./...
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -Dm755 cmd/traefik/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 "${srcdir}/traefik.service" "${pkgdir}/usr/lib/systemd/system/traefik.service"
- install -Dm644 "${srcdir}/traefik.sysusers" "${pkgdir}/usr/lib/sysusers.d/traefik.conf"
-}
Copied: traefik/repos/community-x86_64/PKGBUILD (from rev 619597, traefik/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-24 21:14:32 UTC (rev 619598)
@@ -0,0 +1,46 @@
+# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=traefik
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Modern reverse proxy written in Go"
+arch=('x86_64')
+url="https://containo.us/traefik/"
+license=('MIT')
+makedepends=('go-pie' 'git' 'go-bindata-hashicorp')
+depends=('glibc')
+backup=('etc/traefik/traefik.toml'
+ 'etc/traefik/traefik.yaml'
+ 'etc/traefik/traefik.yml')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/traefik/releases/download/v${pkgver}/traefik-v${pkgver}.src.tar.gz"
+ 'traefik.service'
+ 'traefik.sysusers')
+noextract=("${pkgname}-${pkgver}.tar.gz")
+sha512sums=('97a8d382c9a6864b22e3b48e1740a84e1cd60904c1be35b3f4dbd00df694b608cacfa6df575fb9ddc342f88a612a4b6c8991b483b7a8b7a7d9e3c844786cac9c'
+ '474dc8274d160bf46a46edf8855378331521b108a767345fb8cb201f23576ceadbee81560d15cf98cac3a978eb24b49f951524da828ffda720797f7ab38bd49c'
+ '5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a')
+
+prepare() {
+ mkdir "${srcdir}/${pkgname}-${pkgver}"
+ tar xfvz "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "${srcdir}/${pkgname}-${pkgver}"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ go generate
+ cd cmd/traefik
+ go build -trimpath -ldflags "-extldflags ${LDFLAGS}"
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ go test ./...
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -Dm755 cmd/traefik/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "${srcdir}/traefik.service" "${pkgdir}/usr/lib/systemd/system/traefik.service"
+ install -Dm644 "${srcdir}/traefik.sysusers" "${pkgdir}/usr/lib/sysusers.d/traefik.conf"
+}
Deleted: traefik.service
===================================================================
--- traefik.service 2020-04-24 21:14:21 UTC (rev 619597)
+++ traefik.service 2020-04-24 21:14:32 UTC (rev 619598)
@@ -1,41 +0,0 @@
-[Unit]
-Description=Traefik
-Documentation=https://docs.traefik.io
-After=network-online.target
-AssertFileIsExecutable=/usr/bin/traefik
-AssertPathExists=/etc/traefik/traefik.toml
-
-[Service]
-# Run traefik as its own user (create new user with: useradd -r -s /bin/false -U -M traefik)
-User=traefik
-AmbientCapabilities=CAP_NET_BIND_SERVICE
-
-# configure service behavior
-Type=notify
-ExecStart=/usr/bin/traefik --configFile=/etc/traefik/traefik.toml
-Restart=always
-WatchdogSec=1s
-
-# lock down system access
-# prohibit any operating system and configuration modification
-ProtectSystem=strict
-# create separate, new (and empty) /tmp and /var/tmp filesystems
-PrivateTmp=true
-# make /home directories inaccessible
-ProtectHome=true
-# turns off access to physical devices (/dev/...)
-PrivateDevices=true
-# make kernel settings (procfs and sysfs) read-only
-ProtectKernelTunables=true
-# make cgroups /sys/fs/cgroup read-only
-ProtectControlGroups=true
-
-# allow writing of acme.json
-ReadWritePaths=/etc/traefik/acme.json
-# depending on log and entrypoint configuration, you may need to allow writing to other paths, too
-
-# limit number of processes in this unit
-#LimitNPROC=1
-
-[Install]
-WantedBy=multi-user.target
Copied: traefik/repos/community-x86_64/traefik.service (from rev 619597, traefik/trunk/traefik.service)
===================================================================
--- traefik.service (rev 0)
+++ traefik.service 2020-04-24 21:14:32 UTC (rev 619598)
@@ -0,0 +1,41 @@
+[Unit]
+Description=Traefik
+Documentation=https://docs.traefik.io
+After=network-online.target
+AssertFileIsExecutable=/usr/bin/traefik
+AssertPathExists=/etc/traefik/traefik.toml
+
+[Service]
+# Run traefik as its own user (create new user with: useradd -r -s /bin/false -U -M traefik)
+User=traefik
+AmbientCapabilities=CAP_NET_BIND_SERVICE
+
+# configure service behavior
+Type=notify
+ExecStart=/usr/bin/traefik --configFile=/etc/traefik/traefik.toml
+Restart=always
+WatchdogSec=1s
+
+# lock down system access
+# prohibit any operating system and configuration modification
+ProtectSystem=strict
+# create separate, new (and empty) /tmp and /var/tmp filesystems
+PrivateTmp=true
+# make /home directories inaccessible
+ProtectHome=true
+# turns off access to physical devices (/dev/...)
+PrivateDevices=true
+# make kernel settings (procfs and sysfs) read-only
+ProtectKernelTunables=true
+# make cgroups /sys/fs/cgroup read-only
+ProtectControlGroups=true
+
+# allow writing of acme.json
+ReadWritePaths=/etc/traefik/acme.json
+# depending on log and entrypoint configuration, you may need to allow writing to other paths, too
+
+# limit number of processes in this unit
+#LimitNPROC=1
+
+[Install]
+WantedBy=multi-user.target
Deleted: traefik.sysusers
===================================================================
--- traefik.sysusers 2020-04-24 21:14:21 UTC (rev 619597)
+++ traefik.sysusers 2020-04-24 21:14:32 UTC (rev 619598)
@@ -1 +0,0 @@
-u traefik - "traefik daemon" -
Copied: traefik/repos/community-x86_64/traefik.sysusers (from rev 619597, traefik/trunk/traefik.sysusers)
===================================================================
--- traefik.sysusers (rev 0)
+++ traefik.sysusers 2020-04-24 21:14:32 UTC (rev 619598)
@@ -0,0 +1 @@
+u traefik - "traefik daemon" -
More information about the arch-commits
mailing list