summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory Boyce2018-09-16 21:58:48 -0400
committerGregory Boyce2018-09-16 21:58:48 -0400
commit61ee81fe3b23a404080746a6b288bbdc613aec79 (patch)
tree84e44c57287e329424c21fdb3f669f0a570f3414
parent2208b0883d4b016518225c9d7280e9c5d2edf99f (diff)
downloadaur-61ee81fe3b23a404080746a6b288bbdc613aec79.tar.gz
Patch the use-pool file to use the Arch pool servers instead of stock.
This is in preparation for providing default configs.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--use-arch-pool.patch16
3 files changed, 20 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 404544eebe3b..91377e316067 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -21,10 +21,12 @@ pkgbase = ntpsec
conflicts = ntp
source = ftp://ftp.ntpsec.org/pub/releases/ntpsec-1.1.2.tar.gz
source = ftp://ftp.ntpsec.org/pub/releases/ntpsec-1.1.2.tar.gz.asc
+ source = use-arch-pool.patch
source = ntpsec.sysusers
validpgpkeys = DA3FDF774CC70FA64729EC4505D9B371477C7528
sha512sums = 83d2d3bc59202f1e5f3e76eeb6810e575e24c6f392f20c25732a6881a0a0a9f72453b76b294399351ec4baf88bc64da089dc1340aee38576021659f81bcd0e19
sha512sums = SKIP
+ sha512sums = 7edb1d2dd41b135fa489de1802ea9b4079e9cb6556fa6457924bf7363bef7375987b9e4bb6507730ad906199ba55a44103d0655ad1f517b0426083be5b3e218c
sha512sums = ac4ce13fe88a383382abb92cb34ab231467cbc9dcb8ac8780480d467f295ddf65e217b6415bbadabd8c7ac9832b0fd9058b837946aa2d5dcfd9f3bb81cff6b31
pkgname = ntpsec
diff --git a/PKGBUILD b/PKGBUILD
index f1f99cfd24bb..4e0fdc6ebc1f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,9 +17,11 @@ provides=('ntp')
conflicts=('ntp')
source=("ftp://ftp.ntpsec.org/pub/releases/$pkgname-$pkgver.tar.gz"
"ftp://ftp.ntpsec.org/pub/releases/$pkgname-$pkgver.tar.gz.asc"
+ use-arch-pool.patch
ntpsec.sysusers)
sha512sums=('83d2d3bc59202f1e5f3e76eeb6810e575e24c6f392f20c25732a6881a0a0a9f72453b76b294399351ec4baf88bc64da089dc1340aee38576021659f81bcd0e19'
'SKIP'
+ '7edb1d2dd41b135fa489de1802ea9b4079e9cb6556fa6457924bf7363bef7375987b9e4bb6507730ad906199ba55a44103d0655ad1f517b0426083be5b3e218c'
'ac4ce13fe88a383382abb92cb34ab231467cbc9dcb8ac8780480d467f295ddf65e217b6415bbadabd8c7ac9832b0fd9058b837946aa2d5dcfd9f3bb81cff6b31')
validpgpkeys=('DA3FDF774CC70FA64729EC4505D9B371477C7528')
diff --git a/use-arch-pool.patch b/use-arch-pool.patch
new file mode 100644
index 000000000000..716a516c1349
--- /dev/null
+++ b/use-arch-pool.patch
@@ -0,0 +1,16 @@
+diff -ruN ntpsec-1.1.2.old/etc/ntp.d/use-pool ntpsec-1.1.2/etc/ntp.d/use-pool
+--- ntpsec-1.1.2.old/etc/ntp.d/use-pool 2018-09-16 21:36:46.765346436 -0400
++++ ntpsec-1.1.2/etc/ntp.d/use-pool 2018-09-16 21:38:01.871168699 -0400
+@@ -28,7 +28,11 @@
+ # Alternatively, if you are running Linux your distribution may have
+ # a designated pool disparcher, e.g. ubuntu.pool.ntp.org
+ #
+-pool pool.ntp.org iburst
++pool 0.arch.pool.ntp.org iburst
++pool 1.arch.pool.ntp.org iburst
++pool 2.arch.pool.ntp.org iburst
++pool 3.arch.pool.ntp.org iburst
++
+
+ # The following sets edit modes for GNU EMACS
+ # Local Variables: