Date: Saturday, July 17, 2021 @ 09:30:56
  Author: kpcyrd
Revision: 978066

archrelease: copy trunk to community-x86_64

Added:
  go-ipfs/repos/community-x86_64/PKGBUILD
    (from rev 978065, go-ipfs/trunk/PKGBUILD)
  go-ipfs/repos/community-x86_64/ipfs.service
    (from rev 978065, go-ipfs/trunk/ipfs.service)
  go-ipfs/repos/community-x86_64/ipfs@.service
    (from rev 978065, go-ipfs/trunk/ipfs@.service)
Deleted:
  go-ipfs/repos/community-x86_64/PKGBUILD
  go-ipfs/repos/community-x86_64/ipfs.service
  go-ipfs/repos/community-x86_64/ipfs@.service

---------------+
 PKGBUILD      |  113 +++++++++++++++++++++++++++++---------------------------
 ipfs.service  |   18 ++++----
 ipfs@.service |   20 ++++-----
 3 files changed, 78 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-07-17 09:30:39 UTC (rev 978065)
+++ PKGBUILD    2021-07-17 09:30:56 UTC (rev 978066)
@@ -1,54 +0,0 @@
-# Maintainer: Johannes Löthberg <johan...@kyriasis.com>
-# Contributor: Anatol Pomozov
-# Contributor: kpcyrd <g...@rxv.cc>
-# Contributor: Frederik “Freso” S. Olesen <freso...@gmail.com>
-# Contributor: Ian Naval <ianon...@gmail.com>
-
-pkgname=go-ipfs
-pkgver=0.9.0
-pkgrel=1
-
-pkgdesc='A peer-to-peer hypermedia distribution protocol'
-url='https://ipfs.io/'
-arch=(x86_64)
-license=(MIT)
-
-depends=(glibc)
-optdepends=('fuse2: for mounting/advanced use')
-makedepends=(go git)
-
-source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
-        ipfs.service
-        ipfs@.service)
-noextract=(go-ipfs-$pkgver.tar.gz)
-
-sha512sums=('d765a67080f9f3dc5434d94323388dcf5ece6d2e58547c7347f8938fc88563200536107c85ff7f911615e275dbc41404c445853aab56009e389d20df0b9f99c7'
-            
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
-            
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
-
-prepare() {
-  mkdir -p go-ipfs
-  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
-}
-
-build() {
-  cd go-ipfs
-
-  export CGO_LDFLAGS="$LDFLAGS"
-  export CGO_CFLAGS="$CFLAGS"
-  export CGO_CPPFLAGS="$CPPFLAGS"
-  export CGO_CXXFLAGS="$CXXFLAGS"
-  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
-  make build
-}
-
-package() {
-  cd go-ipfs
-  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
-  install -Dm 644 "$srcdir"/ipfs.service 
"$pkgdir/usr/lib/systemd/user/ipfs.service"
-  install -Dm 644 "$srcdir"/ipfs@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
-  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
-  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
-  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
-  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-}

Copied: go-ipfs/repos/community-x86_64/PKGBUILD (from rev 978065, 
go-ipfs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-07-17 09:30:56 UTC (rev 978066)
@@ -0,0 +1,59 @@
+# Maintainer: Johannes Löthberg <johan...@kyriasis.com>
+# Contributor: Anatol Pomozov
+# Contributor: kpcyrd <g...@rxv.cc>
+# Contributor: Frederik “Freso” S. Olesen <freso...@gmail.com>
+# Contributor: Ian Naval <ianon...@gmail.com>
+
+pkgname=go-ipfs
+pkgver=0.9.0
+pkgrel=2
+
+pkgdesc='A peer-to-peer hypermedia distribution protocol'
+url='https://ipfs.io/'
+arch=(x86_64)
+license=(MIT)
+
+depends=(glibc)
+optdepends=('fuse2: for mounting/advanced use')
+makedepends=(go git)
+
+source=(go-ipfs-$pkgver.tar.gz::https://github.com/ipfs/go-ipfs/releases/download/v$pkgver/go-ipfs-source.tar.gz
+        # https://github.com/ipfs/go-ipfs/pull/8213#issuecomment-881866789
+        rb.patch
+        ipfs.service
+        ipfs@.service)
+noextract=(go-ipfs-$pkgver.tar.gz)
+
+sha512sums=('d765a67080f9f3dc5434d94323388dcf5ece6d2e58547c7347f8938fc88563200536107c85ff7f911615e275dbc41404c445853aab56009e389d20df0b9f99c7'
+            
'5591bb5b309ccf6464723650831e7ed1bf6ffc7e18645c3563452df965091b94d265b079db92ae0b359aa964540b2ee1c1b60b3000102168bfd32730b640f12c'
+            
'1a6bc7fffc3c3640cda3f33c107424edd698c62bd8509731856b8827ea18be1a1845ef0d5ca15325d48d7d871a78daacc011ff9eacea926bc35899850990c1c6'
+            
'aed168a35228c4f873e0040d1412f3568bfe1ad1e94ffb8b1a2507058daaf75d7346381d299cf9f0b91951b21553170249ff5f45d5fc060e711cf628ab5e5aad')
+
+prepare() {
+  mkdir -p go-ipfs
+  tar -C go-ipfs -xf go-ipfs-$pkgver.tar.gz
+  cd go-ipfs
+  patch -Np1 -i ../rb.patch
+}
+
+build() {
+  cd go-ipfs
+
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+  make build
+}
+
+package() {
+  cd go-ipfs
+  install -Dm 755 cmd/ipfs/ipfs "$pkgdir/usr/bin/ipfs"
+  install -Dm 644 "$srcdir"/ipfs.service 
"$pkgdir/usr/lib/systemd/user/ipfs.service"
+  install -Dm 644 "$srcdir"/ipfs@.service 
"$pkgdir/usr/lib/systemd/system/ipfs@.service"
+  install -Dm 644 misc/completion/ipfs-completion.bash 
"$pkgdir/usr/share/bash-completion/completions/ipfs"
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/MIT" LICENSE-MIT
+  install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/APACHE" 
LICENSE-APACHE
+  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+}

Deleted: ipfs.service
===================================================================
--- ipfs.service        2021-07-17 09:30:39 UTC (rev 978065)
+++ ipfs.service        2021-07-17 09:30:56 UTC (rev 978066)
@@ -1,9 +0,0 @@
-[Unit]
-Description=InterPlanetary File System (IPFS) daemon
-
-[Service]
-ExecStart=/usr/bin/ipfs daemon
-Restart=on-failure
-
-[Install]
-WantedBy=default.target

Copied: go-ipfs/repos/community-x86_64/ipfs.service (from rev 978065, 
go-ipfs/trunk/ipfs.service)
===================================================================
--- ipfs.service                                (rev 0)
+++ ipfs.service        2021-07-17 09:30:56 UTC (rev 978066)
@@ -0,0 +1,9 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Deleted: ipfs@.service
===================================================================
--- ipfs@.service       2021-07-17 09:30:39 UTC (rev 978065)
+++ ipfs@.service       2021-07-17 09:30:56 UTC (rev 978066)
@@ -1,10 +0,0 @@
-[Unit]
-Description=InterPlanetary File System (IPFS) daemon
-
-[Service]
-User=%i
-ExecStart=/usr/bin/ipfs daemon
-Restart=on-failure
-
-[Install]
-WantedBy=default.target

Copied: go-ipfs/repos/community-x86_64/ipfs@.service (from rev 978065, 
go-ipfs/trunk/ipfs@.service)
===================================================================
--- ipfs@.service                               (rev 0)
+++ ipfs@.service       2021-07-17 09:30:56 UTC (rev 978066)
@@ -0,0 +1,10 @@
+[Unit]
+Description=InterPlanetary File System (IPFS) daemon
+
+[Service]
+User=%i
+ExecStart=/usr/bin/ipfs daemon
+Restart=on-failure
+
+[Install]
+WantedBy=default.target

Reply via email to