[arch-commits] Commit in smartdns/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Feb 25 15:59:28 UTC 2020
Date: Tuesday, February 25, 2020 @ 15:59:28
Author: felixonmars
Revision: 581495
archrelease: copy trunk to community-x86_64
Added:
smartdns/repos/community-x86_64/PKGBUILD
(from rev 581493, smartdns/trunk/PKGBUILD)
smartdns/repos/community-x86_64/systemd.patch
(from rev 581493, smartdns/trunk/systemd.patch)
Deleted:
smartdns/repos/community-x86_64/PKGBUILD
smartdns/repos/community-x86_64/systemd.patch
---------------+
PKGBUILD | 66 ++++++++++++++++++++++++++++----------------------------
systemd.patch | 48 ++++++++++++++++++++--------------------
2 files changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-25 15:59:23 UTC (rev 581494)
+++ PKGBUILD 2020-02-25 15:59:28 UTC (rev 581495)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: zlowly <zlowly at gmail.com>
-
-pkgname=smartdns
-pkgver=29
-pkgrel=1
-pkgdesc="A local DNS server to obtain the fastest website IP for the best Internet experience"
-arch=('x86_64')
-license=('GPL')
-url="https://github.com/pymumu/smartdns"
-backup=("etc/smartdns/smartdns.conf")
-depends=('openssl')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pymumu/smartdns/archive/Release$pkgver.tar.gz"
- systemd.patch)
-sha512sums=('966e67e0e3b45b50c7c3acdf70e6c63d95667984b4539aedd7a667b3d6b95a3b275797c29e06e61edbbb5e856f90d1e1d036c6057e674a6f5c0e94c05aa6001a'
- '8868441c983fe4426f3876a1fa6f1e89bfde2ede78b7fae564cd840a269523b6952c1fbd7f44a562d0c875e35d6d563b335e1f0503e7b49d0aed0fa9655abdab')
-
-prepare() {
- patch -p1 -i systemd.patch smartdns-Release$pkgver/systemd/smartdns.service
-}
-
-build() {
- cd smartdns-Release$pkgver/src
- make
-}
-
-package() {
- cd smartdns-Release$pkgver
- install -Dm755 src/smartdns "$pkgdir"/usr/bin/smartdns
- install -Dm644 etc/smartdns/smartdns.conf "$pkgdir"/etc/smartdns/smartdns.conf
- install -Dm644 etc/default/smartdns "$pkgdir"/etc/default/smartdns
- install -Dm644 systemd/smartdns.service "$pkgdir"/usr/lib/systemd/system/smartdns.service
-}
Copied: smartdns/repos/community-x86_64/PKGBUILD (from rev 581493, smartdns/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-25 15:59:28 UTC (rev 581495)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: zlowly <zlowly at gmail.com>
+
+pkgname=smartdns
+pkgver=30
+pkgrel=1
+pkgdesc="A local DNS server to obtain the fastest website IP for the best Internet experience"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/pymumu/smartdns"
+backup=("etc/smartdns/smartdns.conf")
+depends=('openssl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pymumu/smartdns/archive/Release$pkgver.tar.gz"
+ systemd.patch)
+sha512sums=('f9b2f8947822da1dfb84a2d4c7a8175690d7425ceedaf7217ddb25b79d16677100385a505326c91f85928020aaa66f4c862678132ca415c319325f54913174c0'
+ '8868441c983fe4426f3876a1fa6f1e89bfde2ede78b7fae564cd840a269523b6952c1fbd7f44a562d0c875e35d6d563b335e1f0503e7b49d0aed0fa9655abdab')
+
+prepare() {
+ patch -p1 -i systemd.patch smartdns-Release$pkgver/systemd/smartdns.service
+}
+
+build() {
+ cd smartdns-Release$pkgver/src
+ make
+}
+
+package() {
+ cd smartdns-Release$pkgver
+ install -Dm755 src/smartdns "$pkgdir"/usr/bin/smartdns
+ install -Dm644 etc/smartdns/smartdns.conf "$pkgdir"/etc/smartdns/smartdns.conf
+ install -Dm644 etc/default/smartdns "$pkgdir"/etc/default/smartdns
+ install -Dm644 systemd/smartdns.service "$pkgdir"/usr/lib/systemd/system/smartdns.service
+}
Deleted: systemd.patch
===================================================================
--- systemd.patch 2020-02-25 15:59:23 UTC (rev 581494)
+++ systemd.patch 2020-02-25 15:59:28 UTC (rev 581495)
@@ -1,24 +0,0 @@
---- smartdns.service.old 2019-09-24 10:41:44.487335094 +0800
-+++ smartdns.service.new 2019-09-24 10:44:43.832401460 +0800
-@@ -1,17 +1,17 @@
- [Unit]
- Description=smart dns server
- After=network.target
-+StartLimitBurst=0
-+StartLimitIntervalSec=60
-
- [Service]
- Type=forking
--PIDFile=/var/run/smartdns.pid
-+PIDFile=/run/smartdns.pid
- EnvironmentFile=/etc/default/smartdns
--ExecStart=/usr/sbin/smartdns $SMART_DNS_OPTS
-+ExecStart=/usr/bin/smartdns $SMART_DNS_OPTS
- KillMode=process
- Restart=always
- RestartSec=2
--StartLimitBurst=0
--StartLimitIntervalSec=60
-
- [Install]
- WantedBy=multi-user.target
Copied: smartdns/repos/community-x86_64/systemd.patch (from rev 581493, smartdns/trunk/systemd.patch)
===================================================================
--- systemd.patch (rev 0)
+++ systemd.patch 2020-02-25 15:59:28 UTC (rev 581495)
@@ -0,0 +1,24 @@
+--- smartdns.service.old 2019-09-24 10:41:44.487335094 +0800
++++ smartdns.service.new 2019-09-24 10:44:43.832401460 +0800
+@@ -1,17 +1,17 @@
+ [Unit]
+ Description=smart dns server
+ After=network.target
++StartLimitBurst=0
++StartLimitIntervalSec=60
+
+ [Service]
+ Type=forking
+-PIDFile=/var/run/smartdns.pid
++PIDFile=/run/smartdns.pid
+ EnvironmentFile=/etc/default/smartdns
+-ExecStart=/usr/sbin/smartdns $SMART_DNS_OPTS
++ExecStart=/usr/bin/smartdns $SMART_DNS_OPTS
+ KillMode=process
+ Restart=always
+ RestartSec=2
+-StartLimitBurst=0
+-StartLimitIntervalSec=60
+
+ [Install]
+ WantedBy=multi-user.target
More information about the arch-commits
mailing list