From 6814802bdc1c1a3fdca9b474da0006e05e2cbce9 Mon Sep 17 00:00:00 2001 From: Joe Bo Run Date: Fri, 8 Apr 2022 13:45:39 +0300 Subject: [PATCH] upg ntp mercurial json-glib python-zipp --- json-glib/PKGBUILD | 7 +- json-glib/PKGBUILD-arch | 5 +- mercurial/PKGBUILD | 8 +- mercurial/PKGBUILD-arch | 6 +- ntp/PKGBUILD | 67 +++++++++++ ntp/PKGBUILD-arch | 48 ++++++++ ntp/PKGBUILD-oba | 78 +++++++++++++ ntp/clean | 1 + ntp/configure | 240 ++++++++++++++++++++++++++++++++++++++++ ntp/deps | 1 + ntp/ntp.conf | 24 ++++ ntp/ntp.install | 4 + ntp/ntp.sysusers | 2 + ntp/ntpd.service | 13 +++ ntp/ntpdate.service | 12 ++ python-zipp/PKGBUILD | 32 ++++++ 16 files changed, 537 insertions(+), 11 deletions(-) create mode 100644 ntp/PKGBUILD create mode 100644 ntp/PKGBUILD-arch create mode 100644 ntp/PKGBUILD-oba create mode 100644 ntp/clean create mode 100644 ntp/configure create mode 100644 ntp/deps create mode 100644 ntp/ntp.conf create mode 100644 ntp/ntp.install create mode 100644 ntp/ntp.sysusers create mode 100644 ntp/ntpd.service create mode 100644 ntp/ntpdate.service create mode 100644 python-zipp/PKGBUILD diff --git a/json-glib/PKGBUILD b/json-glib/PKGBUILD index 1956c44..6e597c9 100644 --- a/json-glib/PKGBUILD +++ b/json-glib/PKGBUILD @@ -8,18 +8,20 @@ pkgbase=json-glib pkgname=(json-glib json-glib-docs) pkgver=1.6.6 -pkgrel=01 +pkgrel=02 pkgdesc="JSON library built on GLib" url="https://wiki.gnome.org/Projects/JsonGlib" arch=(x86_64) depends=(glib2) +# options=(debug) ## uncomment this if you want the -debug pkg built makedepends=(gobject-introspection git meson gi-docgen docbook-xsl) _commit=3cf2b53667a73376c852e08dcadd197a5f8325b9 # tags/1.6.6^0 source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit") pkgver() { cd json-glib - git describe --tags | sed 's/-/+/g' +# git describe --tags | sed 's/-/+/g' + git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { @@ -60,3 +62,4 @@ package_json-glib-docs() { license=(GPL) sha256sums=(SKIP) + diff --git a/json-glib/PKGBUILD-arch b/json-glib/PKGBUILD-arch index 56b2395..8a24aad 100644 --- a/json-glib/PKGBUILD-arch +++ b/json-glib/PKGBUILD-arch @@ -4,20 +4,21 @@ pkgbase=json-glib pkgname=(json-glib json-glib-docs) pkgver=1.6.6 -pkgrel=1 +pkgrel=2 pkgdesc="JSON library built on GLib" url="https://wiki.gnome.org/Projects/JsonGlib" arch=(x86_64) license=(GPL) depends=(glib2) makedepends=(gobject-introspection git meson gi-docgen docbook-xsl) +options=(debug) _commit=3cf2b53667a73376c852e08dcadd197a5f8325b9 # tags/1.6.6^0 source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit") sha256sums=('SKIP') pkgver() { cd json-glib - git describe --tags | sed 's/-/+/g' + git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } prepare() { diff --git a/mercurial/PKGBUILD b/mercurial/PKGBUILD index dfa7e55..dee72b3 100644 --- a/mercurial/PKGBUILD +++ b/mercurial/PKGBUILD @@ -6,8 +6,8 @@ #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=mercurial -pkgver=6.1 -pkgrel=02 +pkgver=6.1.1 +pkgrel=01 pkgdesc='A scalable distributed SCM tool' arch=(x86_64) url="https://www.mercurial-scm.org/" @@ -82,6 +82,6 @@ validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5 818D87CD1AC180C394C86E633A33DE460D9EC39F # Pulkit Goyal <7895pulkit@gmail.com> 1F66F8CDF654E905C11DA061A11E01CD0E05D956) # Raphaël Gomès -sha256sums=(86f98645e4565a9256991dcde22b77b8e7d22ca6fbb60c1f4cdbd8469a38cc1f # mercurial-6.1.tar.gz - df14afa139944255c8280a00470d8e521b3af588e77b2687d0611226982ad3a2 # mercurial-6.1.tar.gz.asc +sha256sums=(57b8a461d0ce13d9ae3817d8a8bdf9032e34edfaac3dbccb3b66b835dce93388 # mercurial-6.1.1.tar.gz + f26bfa83fe61f219835a663e016c9c8d9dcca2f88fa782de74a25f484dd288e4 # mercurial-6.1.1.tar.gz.asc 87427151713e689cd87dc50d50c048e0e58285815e4eb61962b50583532cbde5) # mercurial.profile diff --git a/mercurial/PKGBUILD-arch b/mercurial/PKGBUILD-arch index 88ddff6..399623a 100644 --- a/mercurial/PKGBUILD-arch +++ b/mercurial/PKGBUILD-arch @@ -3,8 +3,8 @@ # Contributor: Douglas Soares de Andrade pkgname=mercurial -pkgver=6.1 -pkgrel=2 +pkgver=6.1.1 +pkgrel=1 pkgdesc='A scalable distributed SCM tool' arch=(x86_64) url="https://www.mercurial-scm.org/" @@ -28,7 +28,7 @@ validpgpkeys=(2BCCE14F5C6725AA2EA8AEB7B9C9DC824AA5BDD5 1F66F8CDF654E905C11DA061A11E01CD0E05D956) # Raphaël Gomès source=(https://www.mercurial-scm.org/release/${pkgname}-${pkgver}.tar.gz{,.asc} mercurial.profile) -sha512sums=('489b2c893bcfd243d9825cd78f1d8b6e0eddccdf92d16cbdbdb2ade40150b599a6d5df213e06d50c31489ee6c5203e35f21892b6439d9190757d5a36c6422338' +sha512sums=('644c65b2eadf3d4ea4b7c52188f548d86a584d0aa85615d872b05bf0eeee6f65d014934dda0e04c6820d0cf347f491386385e67c98839ada7b2b4038a1190d16' 'SKIP' '710dcddb24d928efc97370e869d9caa083107929ed9a1086dd2a3ae0caaf2c71e2f29060597e29315b6b15b1616251c42412e268ce737109c48ae4d7aa1b9555') diff --git a/ntp/PKGBUILD b/ntp/PKGBUILD new file mode 100644 index 0000000..4751bb6 --- /dev/null +++ b/ntp/PKGBUILD @@ -0,0 +1,67 @@ +#!/usr/bin/bash +# JOBoRun : Jwm OpenBox Obarun RUNit +# Maintainer : Joe Bo Run +# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" +# Website : https://pozol.eu +#-----------------------------------------| DESCRIPTION |--------------------------------------- + +pkgname=ntp +_pkgname=ntp #-dev +_pkgver=4.2.8p15 +pkgver=${_pkgver/p/.p} +pkgrel=01 +pkgdesc='Network Time Protocol reference implementation w/o ipv6 & systemd' +url='http://www.ntp.org/' +arch=('x86_64') +source=("https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${_pkgname}-${_pkgver}.tar.gz" + 'ntp.conf' +# 'ntpd.service' +# 'ntpdate.service' + 'ntp.sysusers') +options=('!emptydirs') + +#depends=(openssl perl libcap libedit) +depends=(openssl libcap libedit) +conflicts=(openntpd) +backup=(etc/ntp/ntp.conf etc/ntp.conf) +install=ntp.install + +build() { + cd "${srcdir}/${_pkgname}-${_pkgver}" + + ./configure --prefix=/usr \ + --libexecdir=/usr/lib \ + --enable-linuxcaps \ + --disable-systemd \ + --disable-ipv6 \ + --enable-ntp-signd \ + --disable-thread-support + make +} + +package() { + cd "${srcdir}/${_pkgname}-${_pkgver}" + + make DESTDIR="${pkgdir}" install + + install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf +# install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service +# install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service + install -Dm644 ../ntp.sysusers "${pkgdir}"/usr/lib/sysusers.d/ntp.conf + install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + install -d -o 87 -g 87 "${pkgdir}"/var/lib/ntp + echo > "${pkgdir}/var/lib/ntp/.placeholder" +} + +#---- license gpg-key sha256sums ---- +license=('custom') +sha1sums=('e34e5b6f48c3ed1bbcfb03080dec1b8f91e19381' + 'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1' +# '0cccca872385e0142888ab48d273fec0669b30a8' +# '059b382d1af0c55202e2d17f2ae065a2cbfec9ee' + 'e8d1c895eabeb45b1a5f096fa5fc3c088eb3ee71') + +sha256sums=(f65840deab68614d5d7ceb2d0bb9304ff70dcdedd09abb79754a87536b849c19 # ntp-4.2.8p15.tar.gz + abccefe0b3a65cd375d5071ce780be8d2d205439aa6d34bcd3c56de6e80ba821 # ntp.conf + f839a3b6d8e64fcd9332274131b4d5aa0b2c272db072dc310af1735ef286746a) # ntp.sysusers diff --git a/ntp/PKGBUILD-arch b/ntp/PKGBUILD-arch new file mode 100644 index 0000000..40ca2a5 --- /dev/null +++ b/ntp/PKGBUILD-arch @@ -0,0 +1,48 @@ +# Maintainer: Lukas Fleischer +# Contributor: Gaetan Bisson +# Contributor: kevin + +pkgname=ntp +_pkgname=ntp #-dev +_pkgver=4.2.8p15 +pkgver=${_pkgver/p/.p} +pkgrel=1 +pkgdesc='Network Time Protocol reference implementation' +url='http://www.ntp.org/' +license=('custom') +arch=('x86_64') +depends=('openssl' 'perl' 'libcap' 'libedit') +backup=('etc/ntp.conf') +source=("https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${_pkgname}-${_pkgver}.tar.gz" + 'ntp.conf' + 'ntpd.service' + 'ntpdate.service' + 'ntp.sysusers') +sha1sums=('e34e5b6f48c3ed1bbcfb03080dec1b8f91e19381' + 'ad1d6ee2e9aca64a84a7224c88bf6008ac6c69e1' + '0cccca872385e0142888ab48d273fec0669b30a8' + '059b382d1af0c55202e2d17f2ae065a2cbfec9ee' + 'e8d1c895eabeb45b1a5f096fa5fc3c088eb3ee71') +options=('!emptydirs') + +build() { + cd "${srcdir}/${_pkgname}-${_pkgver}" + + ./configure --prefix=/usr --libexecdir=/usr/lib --enable-linuxcaps --enable-ntp-signd + make +} + +package() { + cd "${srcdir}/${_pkgname}-${_pkgver}" + + make DESTDIR="${pkgdir}" install + + install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf + install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service + install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service + install -Dm644 ../ntp.sysusers "${pkgdir}"/usr/lib/sysusers.d/ntp.conf + install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + install -d -o 87 "${pkgdir}"/var/lib/ntp + echo > "${pkgdir}/var/lib/ntp/.placeholder" +} diff --git a/ntp/PKGBUILD-oba b/ntp/PKGBUILD-oba new file mode 100644 index 0000000..306582f --- /dev/null +++ b/ntp/PKGBUILD-oba @@ -0,0 +1,78 @@ +# Maintainer : Eric Vidal +# Maintainer : Jean-Michel T.Dydak +# Obarun PkgSrc : https://git.obarun.org/obarun-pkgbuild-extra/ntp +#---------------- +# Maintainer : Lukas Fleischer +# Contributor : Gaetan Bisson +# Contributor : kevin +# Arch PkgSrc : https://www.archlinux.org/packages/extra/x86_64/ntp +#---------------- +# Website : http://www.ntp.org +#-------------------------------------------------------------------------------------- + +pkgname=ntp +pkgver=4.2.8p15 +pkgrel=2 +pkgdesc="Network Time Protocol reference implementation" +arch=('x86_64') +url="https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2" +license=('CUSTOM') + +source=("${url}/${pkgname}-${pkgver}.tar.gz" + 'ntp.conf' + 'ntp.sysusers.conf') + +install=ntp.install + +conflicts=( + 'openntpd') + +backup=( + 'etc/ntp/ntp.conf') + +options=( + '!emptydirs') + +depends=( + 'openssl' + 'libcap' + 'libedit') + +#--BUILD CONTROL----------------------------------------------------------------------- + +path=( + --prefix=/usr + --libexecdir=/usr/libexec/ntp + --sysconfdir=/etc/ntp +) + +flags=( + --enable-linuxcaps + --enable-ntp-signd +) + +#-------------------------------------------------------------------------------------- +build() { + cd "${pkgname}-${pkgver}" + + ./configure "${path[@]}" "${flags[@]}" + make +} + +package() { + cd "${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp/ntp.conf + install -Dm644 ../ntp.sysusers.conf "${pkgdir}"/usr/lib/sysusers.d/ntp.conf + install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + install -d -o 87 -g 87 "${pkgdir}"/var/lib/ntp + echo > "${pkgdir}/var/lib/ntp/.placeholder" +} + +#-------------------------------------------------------------------------------------- +sha512sums=('afbdbb8a37b8f4040a8a6939a3a85ad0350d359c153c297b32b8a013c7b7061fd925fa3e6e103671c5901e169156e22497813c654195ba50f890a7170b2f2075' + '308c8ba6ad7647bb5736690fb0919b158fdaea8939c1b1e3a73f510dc6680d5653e563f76bf3a4991b167716339cecd82233d494ecf9703da5601687a3d88453' + '177b06591f809838765327fd5aa14f98d347f3bea31c5807bf3a6ec55e41013198c7595d619b78d9b9aa0592e32c0419f248c51b36b99ec121d75dc40ac9e1ee') diff --git a/ntp/clean b/ntp/clean new file mode 100644 index 0000000..9854840 --- /dev/null +++ b/ntp/clean @@ -0,0 +1 @@ +rm -rf {src,pkg,ntp*.gz*} diff --git a/ntp/configure b/ntp/configure new file mode 100644 index 0000000..ce589a3 --- /dev/null +++ b/ntp/configure @@ -0,0 +1,240 @@ +`configure' configures ntp 4.2.8p15 to adapt to many kinds of systems. + +Usage: ./configure [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print `checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for `--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or `..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [/usr/local] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, `make install' will install all the files in +`/usr/local/bin', `/usr/local/lib' etc. You can specify +an installation prefix other than `/usr/local' using `--prefix', +for instance `--prefix=$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/ntp] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] + +Optional Features and Packages: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --enable-silent-rules less verbose build output (undo: "make V=1") + --disable-silent-rules verbose build output (undo: "make V=0") + --enable-dependency-tracking + do not reject slow dependency extractors + --disable-dependency-tracking + speeds up one-time build + --with-hardenfile=XXX os-specific or "/dev/null" + --with-locfile=XXX os-specific or "legacy" + --enable-shared[=PKGS] build shared libraries [default=no] + --enable-static[=PKGS] build static libraries [default=yes] + --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use + both] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --with-aix-soname=aix|svr4|both + shared library versioning (aka "SONAME") variant to + provide on AIX, [default=aix]. + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-sysroot[=DIR] Search for dependent libraries within DIR (or the + compiler's sysroot if not specified). + --disable-libtool-lock avoid locking (might break parallel builds) + --disable-nls disable nls support in libopts + --enable-local-libopts Use the supplied libopts tearoff code + --enable-libopts-install + Install libopts with client installation + --with-autoopts-config specify the config-info script + --enable-local-libevent Force using the supplied libevent tearoff code + --with-lineeditlibs edit,editline (readline may be specified if desired) + defaults: + yes, - no, s system-specific + --enable-debugging + include ntpd debugging code + --enable-thread-support s use threads (+ if available) + --with-threads with threads [auto] + --with-yielding-select with yielding select [auto] + --enable-c99-snprintf s force replacement + --enable-clockctl s Use /dev/clockctl for non-root clock control + --enable-linuxcaps + Use Linux capabilities for non-root clock control + --enable-solarisprivs + Use Solaris privileges for non-root clock control + --enable-trustedbsd-mac s Use TrustedBSD MAC policy for non-root clock + control + --enable-signalled-io s Use signalled IO if we can + --with-arlib - deprecated, arlib not distributed + --with-net-snmp-config + =net-snmp-config + --enable-libseccomp EXPERIMENTAL: enable support for libseccomp + sandboxing (default is no) + --with-stack-limit ? =50 (200 for openbsd) 4k pages + --with-memlock ? =32 (-1 on linux) megabytes + --enable-debug-timing - include processing time debugging code (costs + performance) + --enable-dst-minutes =60 minutes per DST adjustment + --enable-ignore-dns-errors + - retry DNS queries on any error + --enable-BANCOMM - Datum/Bancomm bc635/VME interface + --enable-GPSVME - TrueTime GPS receiver/VME interface + --enable-all-clocks + include all suitable non-PARSE clocks: + --enable-ACTS s ACTS modem service + --enable-ARBITER + Arbiter 1088A/B GPS receiver + --enable-ARCRON-MSF + Arcron MSF receiver + --enable-AS2201 + Austron 2200A/2201A GPS receiver + --enable-ATOM s ATOM PPS interface + --enable-CHRONOLOG + Chrono-log K-series WWVB receiver + --enable-CHU + CHU modem/decoder + --enable-AUDIO-CHU s CHU audio/decoder + --enable-DATUM s Datum Programmable Time System + --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock + --enable-FG + Forum Graphic GPS + --enable-HEATH s Heath GC-1000 WWV/WWVH receiver + --enable-HOPFSERIAL + hopf serial clock device + --enable-HOPFPCI + hopf 6039 PCI board + --enable-HPGPS + HP 58503A GPS receiver + --enable-IRIG s IRIG audio decoder + --enable-JJY + JJY receiver + --enable-JUPITER s Rockwell Jupiter GPS receiver + --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver + --enable-LOCAL-CLOCK + local clock reference + --enable-MX4200 s Magnavox MX4200 GPS receiver + --enable-NEOCLOCK4X + NeoClock4X DCF77 / TDF receiver + --enable-NMEA + NMEA GPS receiver + --enable-GPSD + GPSD JSON receiver + --enable-ONCORE s Motorola VP/UT Oncore GPS receiver + --enable-PALISADE s Palisade clock + --enable-PCF + Conrad parallel port radio clock + --enable-PST + PST/Traconex 1020 WWV/WWVH receiver + --enable-RIPENCC - RIPENCC specific Trimble driver + --enable-SHM s SHM clock attached thru shared memory + --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver + --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface + --enable-TRUETIME s Kinemetrics/TrueTime receivers + --enable-TT560 - TrueTime 560 IRIG-B decoder + --enable-ULINK + Ultralink WWVB receiver + --enable-TSYNCPCI s Spectracom TSYNC timing board + --enable-WWV s WWV Audio receiver + --enable-ZYFER + Zyfer GPStarplus receiver + --enable-parse-clocks - include all suitable PARSE clocks: + --enable-COMPUTIME s Diem Computime Radio Clock + --enable-DCF7000 s ELV/DCF7000 clock + --enable-HOPF6021 s HOPF 6021 clock + --enable-MEINBERG s Meinberg clocks + --enable-RAWDCF s DCF77 raw time code + --enable-RCC8000 s RCC 8000 clock + --enable-SCHMID s Schmid DCF77 clock + --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol + --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol + --enable-WHARTON s WHARTON 400A Series clock + --enable-VARITEXT s VARITEXT clock + --enable-SEL240X s SEL240X clock + --with-crypto + =openssl,libcrypto + + --with-openssl-libdir + =/something/reasonable + + --with-openssl-incdir + =/something/reasonable + + --without-rpath s Disable auto-added -R linker paths + + --enable-openssl-random Use OpenSSL's crypto random number functions, if + available (default is yes) + --enable-autokey + support NTP Autokey protocol + --enable-kmem s read /dev/kmem for tick and/or tickadj + --enable-accurate-adjtime + s the adjtime() call is accurate + --enable-tick=VALUE s force a value for 'tick' + --enable-tickadj=VALUE s force a value for 'tickadj' + --enable-simulator - build/install the NTPD simulator? + --without-sntp - disable building sntp and sntp/tests + --with-ntpsnmpd s Build ntpsnmpd MIB agent? + --enable-slew-always s always slew the time + --enable-step-slew s step and slew the time + --enable-ntpdate-step s if ntpdate should step the time + --enable-hourly-todr-sync + s if we should sync TODR hourly + --enable-kernel-fll-bug s if we should avoid a kernel FLL bug + --enable-bug1243-fix + use unmodified autokey session keys + --enable-bug3020-fix + Provide the explicit 127.0.0.0/8 martian filter + --enable-bug3527-fix + provide correct mode7 fudgetime2 behavior + --enable-irig-sawtooth s if we should enable the IRIG sawtooth filter + --enable-nist - if we should enable the NIST lockclock scheme + --enable-ntp-signd - Provide support for Samba's signing daemon, + =/var/run/ntp_signd + --enable-ipv6 s use IPv6? + + --with-kame - =/usr/local/v6 + --enable-getifaddrs + Enable the use of getifaddrs() [[yes|no]]. + --enable-saveconfig + saveconfig mechanism + --enable-leap-smear - experimental leap smear code + --enable-dynamic-interleave + - dynamic interleave support + --with-gtest Use the gtest framework (Default: if it's available) + --enable-problem-tests + enable tests with undiagnosed problems + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + YACC The `Yet Another Compiler Compiler' implementation to use. + Defaults to the first program found out of: `bison -y', `byacc', + `yacc'. + YFLAGS The list of arguments that will be passed by default to $YACC. + This script will default YFLAGS to the empty string to avoid a + default value of `-d' given by some make applications. + LT_SYS_LIBRARY_PATH + User-defined run-time library search path. + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +ntp home page: . diff --git a/ntp/deps b/ntp/deps new file mode 100644 index 0000000..f6e8aa0 --- /dev/null +++ b/ntp/deps @@ -0,0 +1 @@ +libedit diff --git a/ntp/ntp.conf b/ntp/ntp.conf new file mode 100644 index 0000000..4debe96 --- /dev/null +++ b/ntp/ntp.conf @@ -0,0 +1,24 @@ +# Please consider joining the pool: +# +# http://www.pool.ntp.org/join.html +# +# For additional information see: +# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon +# - http://support.ntp.org/bin/view/Support/GettingStarted +# - the ntp.conf man page + +# Associate to Arch's NTP pool +server 0.arch.pool.ntp.org +server 1.arch.pool.ntp.org +server 2.arch.pool.ntp.org +server 3.arch.pool.ntp.org + +# By default, the server allows: +# - all queries from the local host +# - only time queries from remote hosts, protected by rate limiting and kod +restrict default kod limited nomodify nopeer noquery notrap +restrict 127.0.0.1 +restrict ::1 + +# Location of drift file +driftfile /var/lib/ntp/ntp.drift diff --git a/ntp/ntp.install b/ntp/ntp.install new file mode 100644 index 0000000..e20e8af --- /dev/null +++ b/ntp/ntp.install @@ -0,0 +1,4 @@ +post_remove() { + echo "[Deleting 'ntp' user...]" + userdel ntp +} diff --git a/ntp/ntp.sysusers b/ntp/ntp.sysusers new file mode 100644 index 0000000..39ffef2 --- /dev/null +++ b/ntp/ntp.sysusers @@ -0,0 +1,2 @@ +g ntp 87 - +u ntp 87 "Network Time Protocol" /var/lib/ntp /bin/false diff --git a/ntp/ntpd.service b/ntp/ntpd.service new file mode 100644 index 0000000..267615c --- /dev/null +++ b/ntp/ntpd.service @@ -0,0 +1,13 @@ +[Unit] +Description=Network Time Service +After=network.target nss-lookup.target +Conflicts=systemd-timesyncd.service + +[Service] +Type=forking +PrivateTmp=true +ExecStart=/usr/bin/ntpd -g -u ntp:ntp +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/ntp/ntpdate.service b/ntp/ntpdate.service new file mode 100644 index 0000000..e85852e --- /dev/null +++ b/ntp/ntpdate.service @@ -0,0 +1,12 @@ +[Unit] +Description=One-Shot Network Time Service +After=network.target nss-lookup.target +Before=ntpd.service + +[Service] +Type=oneshot +PrivateTmp=true +ExecStart=/usr/bin/ntpd -q -n -g -u ntp:ntp + +[Install] +WantedBy=multi-user.target diff --git a/python-zipp/PKGBUILD b/python-zipp/PKGBUILD new file mode 100644 index 0000000..def1035 --- /dev/null +++ b/python-zipp/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan + +pkgname=python-zipp +pkgver=3.8.0 +pkgrel=1 +pkgdesc="Pathlib-compatible object wrapper for zip files" +url="https://github.com/jaraco/zipp" +license=('MIT') +arch=('any') +depends=('python') +makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-toml' 'python-wheel') +checkdepends=('python-jaraco' 'python-func-timeout') +source=("https://github.com/jaraco/zipp/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('25a8f78be5dbfaacdd39f0492958486aa2a5a7eb1af3724e484676fb69eeb97ca558add0d5fa1f281a11cc410f67dc3959affe903a472b0bdbc78eb753096ef0') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd zipp-$pkgver + python -m build -nw +} + +check() { + cd zipp-$pkgver + python -m unittest discover +} + +package() { + cd zipp-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}