[arch-commits] Commit in irccat/repos/extra-x86_64 (4 files)
Jelle van der Waa
jelle at archlinux.org
Sun Jun 7 11:57:47 UTC 2020
Date: Sunday, June 7, 2020 @ 11:57:47
Author: jelle
Revision: 388406
archrelease: copy trunk to extra-x86_64
Added:
irccat/repos/extra-x86_64/PKGBUILD
(from rev 388404, irccat/trunk/PKGBUILD)
irccat/repos/extra-x86_64/irccat.service
(from rev 388404, irccat/trunk/irccat.service)
Deleted:
irccat/repos/extra-x86_64/PKGBUILD
irccat/repos/extra-x86_64/irccat.service
----------------+
PKGBUILD | 59 ++++++++++++++++++++++++++++---------------------------
irccat.service | 50 +++++++++++++++++++++++-----------------------
2 files changed, 56 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-07 11:57:45 UTC (rev 388405)
+++ PKGBUILD 2020-06-07 11:57:47 UTC (rev 388406)
@@ -1,28 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=irccat
-pkgver=0.4.5
-pkgrel=2
-pkgdesc='cat to IRC'
-arch=('x86_64')
-url="https://github.com/irccloud/irccat"
-license=('GPL')
-depends=('glibc')
-makedepends=('go-pie')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" irccat.service)
-sha256sums=('2457519704d6c22ac1a4aeca123bd44cdd6a6b47bd2e756c558d8c1b115fec0a'
- '379eb5beb3b5df39af8257244a1f4c01e2f6d9020ead34334ce9c6664d05c6a9')
-
-build() {
- cd $pkgname-$pkgver
- go build \
- -trimpath \
- -ldflags "-extldflags $LDFLAGS" \
- -o $pkgname .
-}
-
-package() {
- cd $pkgname-$pkgver
- install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
- install -Dm644 $srcdir/irccat.service "$pkgdir"/usr/lib/systemd/system/irccat.service
-}
Copied: irccat/repos/extra-x86_64/PKGBUILD (from rev 388404, irccat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-07 11:57:47 UTC (rev 388406)
@@ -0,0 +1,31 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=irccat
+pkgver=0.4.5
+pkgrel=3
+pkgdesc='cat to IRC'
+arch=('x86_64')
+url="https://github.com/irccloud/irccat"
+license=('GPL')
+depends=('glibc')
+makedepends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" irccat.service)
+sha256sums=('2457519704d6c22ac1a4aeca123bd44cdd6a6b47bd2e756c558d8c1b115fec0a'
+ '379eb5beb3b5df39af8257244a1f4c01e2f6d9020ead34334ce9c6664d05c6a9')
+
+build() {
+ cd $pkgname-$pkgver
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-extldflags \"${LDFLAGS}\"" \
+ -o $pkgname .
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 $srcdir/irccat.service "$pkgdir"/usr/lib/systemd/system/irccat.service
+}
Deleted: irccat.service
===================================================================
--- irccat.service 2020-06-07 11:57:45 UTC (rev 388405)
+++ irccat.service 2020-06-07 11:57:47 UTC (rev 388406)
@@ -1,25 +0,0 @@
-[Unit]
-Description=irccat service
-Requires=network-online.target
-After=network-online.target
-
-[Service]
-Restart=on-failure
-ExecStart=/usr/bin/irccat
-ExecReload=/bin/kill -HUP $MAINPID
-
-DynamicUser=true
-NoNewPrivileges=true
-
-PrivateDevices=true
-ProtectHome=true
-ProtectSystem=strict
-
-ProtectHostname=true
-ProtectControlGroups=true
-ProtectKernelModules=true
-
-MemoryDenyWriteExecute=true
-
-[Install]
-WantedBy=multi-user.target
Copied: irccat/repos/extra-x86_64/irccat.service (from rev 388404, irccat/trunk/irccat.service)
===================================================================
--- irccat.service (rev 0)
+++ irccat.service 2020-06-07 11:57:47 UTC (rev 388406)
@@ -0,0 +1,25 @@
+[Unit]
+Description=irccat service
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+Restart=on-failure
+ExecStart=/usr/bin/irccat
+ExecReload=/bin/kill -HUP $MAINPID
+
+DynamicUser=true
+NoNewPrivileges=true
+
+PrivateDevices=true
+ProtectHome=true
+ProtectSystem=strict
+
+ProtectHostname=true
+ProtectControlGroups=true
+ProtectKernelModules=true
+
+MemoryDenyWriteExecute=true
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list