Date: Thursday, August 6, 2015 @ 11:08:27
  Author: fyan
Revision: 138011

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  dnscrypt-proxy/repos/community-testing-i686/
  dnscrypt-proxy/repos/community-testing-i686/PKGBUILD
    (from rev 138010, dnscrypt-proxy/trunk/PKGBUILD)
  dnscrypt-proxy/repos/community-testing-i686/dnscrypt-proxy.install
    (from rev 138010, dnscrypt-proxy/trunk/dnscrypt-proxy.install)
  dnscrypt-proxy/repos/community-testing-x86_64/
  dnscrypt-proxy/repos/community-testing-x86_64/PKGBUILD
    (from rev 138010, dnscrypt-proxy/trunk/PKGBUILD)
  dnscrypt-proxy/repos/community-testing-x86_64/dnscrypt-proxy.install
    (from rev 138010, dnscrypt-proxy/trunk/dnscrypt-proxy.install)

-------------------------------------------------+
 community-testing-i686/PKGBUILD                 |   39 ++++++++++++++++++++++
 community-testing-i686/dnscrypt-proxy.install   |    7 +++
 community-testing-x86_64/PKGBUILD               |   39 ++++++++++++++++++++++
 community-testing-x86_64/dnscrypt-proxy.install |    7 +++
 4 files changed, 92 insertions(+)

Copied: dnscrypt-proxy/repos/community-testing-i686/PKGBUILD (from rev 138010, 
dnscrypt-proxy/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2015-08-06 09:08:27 UTC (rev 138011)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Techlive Zheng <techlivezheng at gmail dot com>
+# Contributor: peace4all <markspost at rocketmail dot com>
+
+pkgname=dnscrypt-proxy
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="A tool for securing communications between a client and a DNS 
resolver"
+arch=('i686' 'x86_64')
+url="http://dnscrypt.org/";
+license=('custom:ISC')
+depends=('libsodium' 'systemd')
+backup=(etc/conf.d/dnscrypt-proxy)
+install=dnscrypt-proxy.install
+source=("http://download.dnscrypt.org/$pkgname/$pkgname-$pkgver.tar.gz";)
+sha512sums=('1937a80ab0e6e5786b0d004fef1c007d9d8a4df335542ae6f96c1eac7739920f2ff4b469d30abac774c12a41d275c2a8bf31b5514d7af446028cedeeb3efcf02')
+
+prepare() {
+  sed -i 's|/usr/local/sbin|/usr/bin|' $pkgname-$pkgver/dnscrypt-proxy.service
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --sbindir=/usr/bin --with-systemd
+  make -j2
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  mkdir -p 
"$pkgdir"/{usr/share/{licenses,doc}/$pkgname,etc/conf.d,usr/lib/systemd/system}
+  install -m 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname
+  install -m 644 AUTHORS NEWS README README.markdown 
"$pkgdir"/usr/share/doc/$pkgname
+  install -m 644 dnscrypt-proxy.service "$pkgdir"/usr/lib/systemd/system
+  install -m 644 dnscrypt-proxy.socket "$pkgdir"/usr/lib/systemd/system
+}

Copied: dnscrypt-proxy/repos/community-testing-i686/dnscrypt-proxy.install 
(from rev 138010, dnscrypt-proxy/trunk/dnscrypt-proxy.install)
===================================================================
--- community-testing-i686/dnscrypt-proxy.install                               
(rev 0)
+++ community-testing-i686/dnscrypt-proxy.install       2015-08-06 09:08:27 UTC 
(rev 138011)
@@ -0,0 +1,7 @@
+post_upgrade() {
+  if [ "$(vercmp $2 1.6.0-2)" -lt 0 ]
+  then
+    echo 'Since 1.6.0-2 the conf.d file is no longer in use. We have enabled 
systemd support and providing upstream systemd units.'
+    echo 'You will need to use the systemd way (overriding in 
/etc/systemd/system/dnscrypt-proxy.{service,socket}.d) to apply your 
customization.'
+  fi
+}

Copied: dnscrypt-proxy/repos/community-testing-x86_64/PKGBUILD (from rev 
138010, dnscrypt-proxy/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-08-06 09:08:27 UTC (rev 138011)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Techlive Zheng <techlivezheng at gmail dot com>
+# Contributor: peace4all <markspost at rocketmail dot com>
+
+pkgname=dnscrypt-proxy
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="A tool for securing communications between a client and a DNS 
resolver"
+arch=('i686' 'x86_64')
+url="http://dnscrypt.org/";
+license=('custom:ISC')
+depends=('libsodium' 'systemd')
+backup=(etc/conf.d/dnscrypt-proxy)
+install=dnscrypt-proxy.install
+source=("http://download.dnscrypt.org/$pkgname/$pkgname-$pkgver.tar.gz";)
+sha512sums=('1937a80ab0e6e5786b0d004fef1c007d9d8a4df335542ae6f96c1eac7739920f2ff4b469d30abac774c12a41d275c2a8bf31b5514d7af446028cedeeb3efcf02')
+
+prepare() {
+  sed -i 's|/usr/local/sbin|/usr/bin|' $pkgname-$pkgver/dnscrypt-proxy.service
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr --sbindir=/usr/bin --with-systemd
+  make -j2
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  mkdir -p 
"$pkgdir"/{usr/share/{licenses,doc}/$pkgname,etc/conf.d,usr/lib/systemd/system}
+  install -m 644 COPYING "$pkgdir"/usr/share/licenses/$pkgname
+  install -m 644 AUTHORS NEWS README README.markdown 
"$pkgdir"/usr/share/doc/$pkgname
+  install -m 644 dnscrypt-proxy.service "$pkgdir"/usr/lib/systemd/system
+  install -m 644 dnscrypt-proxy.socket "$pkgdir"/usr/lib/systemd/system
+}

Copied: dnscrypt-proxy/repos/community-testing-x86_64/dnscrypt-proxy.install 
(from rev 138010, dnscrypt-proxy/trunk/dnscrypt-proxy.install)
===================================================================
--- community-testing-x86_64/dnscrypt-proxy.install                             
(rev 0)
+++ community-testing-x86_64/dnscrypt-proxy.install     2015-08-06 09:08:27 UTC 
(rev 138011)
@@ -0,0 +1,7 @@
+post_upgrade() {
+  if [ "$(vercmp $2 1.6.0-2)" -lt 0 ]
+  then
+    echo 'Since 1.6.0-2 the conf.d file is no longer in use. We have enabled 
systemd support and providing upstream systemd units.'
+    echo 'You will need to use the systemd way (overriding in 
/etc/systemd/system/dnscrypt-proxy.{service,socket}.d) to apply your 
customization.'
+  fi
+}

Reply via email to