[arch-commits] Commit in dns-over-https/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 15 18:47:29 UTC 2019


    Date: Thursday, August 15, 2019 @ 18:47:28
  Author: felixonmars
Revision: 499616

archrelease: copy trunk to community-x86_64

Added:
  dns-over-https/repos/community-x86_64/PKGBUILD
    (from rev 499615, dns-over-https/trunk/PKGBUILD)
Deleted:
  dns-over-https/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-15 18:47:17 UTC (rev 499615)
+++ PKGBUILD	2019-08-15 18:47:28 UTC (rev 499616)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Sherlock Holo <sherlockya(at)gmail.com>
-# Contributor: Ariel AxionL <i [at] axionl [dot] me>
-
-pkgname=dns-over-https
-pkgver=2.1.1
-pkgrel=1
-pkgdesc="Client and server software to query DNS over HTTPS, using Google DNS-over-HTTPS protocol"
-url="https://github.com/m13253/dns-over-https"
-arch=('x86_64')
-license=('MIT')
-backup=('etc/dns-over-https/doh-client.conf'
-        'etc/dns-over-https/doh-server.conf')
-provides=('dns-over-https-client' 'dns-over-https-server')
-makedepends=('go-pie' 'golang-golang-x-crypto' 'golang-golang-x-net' 'golang-golang-x-sys' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/m13253/dns-over-https/archive/v$pkgver.tar.gz")
-sha256sums=('5ee6ec8771124358da36e004b56a8558bb6db245fa51c07fcf8548977624ac27')
-
-build() {
-  mkdir -p $srcdir/go/src
-  export GOPATH="$srcdir/go:/usr/share/gocode"
-
-  cd $srcdir/$pkgname-$pkgver
-  sed -i 's/\/local//g' systemd/doh-{client,server}.service
-
-  go get github.com/BurntSushi/toml github.com/gorilla/handlers github.com/miekg/dns
-  
-  go build -gcflags "all=-trimpath=$PWD" -asmflags "all=-trimpath=$PWD" -ldflags "-w -s -extldflags $LDFLAGS" -v -o client ./doh-client
-  go build -gcflags "all=-trimpath=$PWD" -asmflags "all=-trimpath=$PWD" -ldflags "-w -s -extldflags $LDFLAGS" -v -o server ./doh-server
-}
-
-package() {
-  cd $pkgname-$pkgver
-  install -Dm755 client "$pkgdir"/usr/bin/doh-client
-  install -Dm644 doh-client/doh-client.conf "$pkgdir"/etc/dns-over-https/doh-client.conf
-  install -Dm644 systemd/doh-client.service "$pkgdir"/usr/lib/systemd/system/doh-client.service
-  install -Dm755 NetworkManager/dispatcher.d/doh-client "$pkgdir"/etc/NetworkManager/dispatcher.d/doh-client
-
-  install -Dm755 server "$pkgdir"/usr/bin/doh-server
-  install -Dm644 doh-server/doh-server.conf "$pkgdir"/etc/dns-over-https/doh-server.conf
-  install -Dm644 systemd/doh-server.service "$pkgdir"/usr/lib/systemd/system/doh-server.service
-  install -Dm755 NetworkManager/dispatcher.d/doh-server "$pkgdir"/etc/NetworkManager/dispatcher.d/doh-server
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: dns-over-https/repos/community-x86_64/PKGBUILD (from rev 499615, dns-over-https/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-15 18:47:28 UTC (rev 499616)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sherlock Holo <sherlockya(at)gmail.com>
+# Contributor: Ariel AxionL <i [at] axionl [dot] me>
+
+pkgname=dns-over-https
+pkgver=2.1.1
+pkgrel=2
+pkgdesc="Client and server software to query DNS over HTTPS, using Google DNS-over-HTTPS protocol"
+url="https://github.com/m13253/dns-over-https"
+arch=('x86_64')
+license=('MIT')
+backup=('etc/dns-over-https/doh-client.conf'
+        'etc/dns-over-https/doh-server.conf')
+provides=('dns-over-https-client' 'dns-over-https-server')
+makedepends=('go-pie' 'golang-golang-x-crypto' 'golang-golang-x-net' 'golang-golang-x-sys' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/m13253/dns-over-https/archive/v$pkgver.tar.gz")
+sha256sums=('5ee6ec8771124358da36e004b56a8558bb6db245fa51c07fcf8548977624ac27')
+
+build() {
+  mkdir -p $srcdir/go/src
+  export GOPATH="$srcdir/go:/usr/share/gocode"
+
+  cd $srcdir/$pkgname-$pkgver
+  sed -i 's/\/local//g' systemd/doh-{client,server}.service
+
+  go get github.com/BurntSushi/toml github.com/gorilla/handlers github.com/miekg/dns
+  
+  go build -gcflags "all=-trimpath=$PWD" -asmflags "all=-trimpath=$PWD" -ldflags "-w -s -extldflags $LDFLAGS" -v -o client ./doh-client
+  go build -gcflags "all=-trimpath=$PWD" -asmflags "all=-trimpath=$PWD" -ldflags "-w -s -extldflags $LDFLAGS" -v -o server ./doh-server
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dm755 client "$pkgdir"/usr/bin/doh-client
+  install -Dm644 doh-client/doh-client.conf "$pkgdir"/etc/dns-over-https/doh-client.conf
+  install -Dm644 systemd/doh-client.service "$pkgdir"/usr/lib/systemd/system/doh-client.service
+  install -Dm755 NetworkManager/dispatcher.d/doh-client "$pkgdir"/etc/NetworkManager/dispatcher.d/doh-client
+
+  install -Dm755 server "$pkgdir"/usr/bin/doh-server
+  install -Dm644 doh-server/doh-server.conf "$pkgdir"/etc/dns-over-https/doh-server.conf
+  install -Dm644 systemd/doh-server.service "$pkgdir"/usr/lib/systemd/system/doh-server.service
+  install -Dm755 NetworkManager/dispatcher.d/doh-server "$pkgdir"/etc/NetworkManager/dispatcher.d/doh-server
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list