* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-23 23:59 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2018-02-23 23:59 UTC (permalink / raw
To: gentoo-commits
commit: 794f068a2b01f5d27cbb43ebcfa27586d5b30e20
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 23:59:22 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 23:59:22 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794f068a
net-misc/ntpsec: clean up the metadata.xml
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-misc/ntpsec/metadata.xml | 65 ++++++++++++++++++++++++--------------------
1 file changed, 35 insertions(+), 30 deletions(-)
diff --git a/net-misc/ntpsec/metadata.xml b/net-misc/ntpsec/metadata.xml
index cc6f94e3b23..7bb04cc47d2 100644
--- a/net-misc/ntpsec/metadata.xml
+++ b/net-misc/ntpsec/metadata.xml
@@ -1,34 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
-<email>anthony.g.base@gmail.com</email>
-<name>Anthony G. Basile</name>
-</maintainer>
-<longdescription lang="en">
-</longdescription>
-<use>
- <flag name="early">Drop root privileges early</flag>
- <flag name="gdb">Enable debugging with gdb</flag>
- <flag name="nist">Enable lockclock</flag>
- <flag name="ntpviz">Make visualizations of offsets, jiffies, etc.</flag>
- <flag name="rclock_oncore">Oncore driver</flag>
- <flag name="rclock_trimble">Trimble driver</flag>
- <flag name="rclock_truetime">Trutime driver (deprecated)</flag>
- <flag name="rclock_gpsd">Enable gpsd daemon support</flag>
- <flag name="rclock_jjy">JJY driver</flag>
- <flag name="rclock_generic">Enable support for generic time radios and GPSDOs</flag>
- <flag name="rclock_spectracom">Spectracom driver</flag>
- <flag name="rclock_shm">Obtain refclock info from shared memory-segment</flag>
- <flag name="rclock_pps">PPS cesium clock driver</flag>
- <flag name="rclock_hpgps">Hewlett Packard GPS driver</flag>
- <flag name="rclock_zyfer">Zyfer driver</flag>
- <flag name="rclock_arbiter">Arbiter 1088A/B GPS driver</flag>
- <flag name="rclock_nmea">NMEA GPS driver</flag>
- <flag name="rclock_neoclock">NeoClock4X DCF77/TDF driver</flag>
- <flag name="rclock_modem">NIST/USNO/PTB Modem Time Services</flag>
- <flag name="rclock_local">Support for undisciplined local clock (not recommended)</flag>
- <flag name="smear">Specify the interval over which a leap second is applied (experimental)</flag>
- <flag name="tests">Enable tests</flag>
-</use>
+ <maintainer type="person">
+ <email>nerdboy@gentoo.org</email>
+ <name>Stephen L Arnold</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <longdescription lang="en">
+NTPsec project - a secure, hardened, and improved implementation of Network Time Protocol derived from NTP Classic, Dave Mills’s original.
+ </longdescription>
+ <use>
+ <flag name="early">Drop root privileges early</flag>
+ <flag name="gdb">Enable debugging with gdb</flag>
+ <flag name="nist">Enable lockclock</flag>
+ <flag name="ntpviz">Make visualizations of offsets, jiffies, etc.</flag>
+ <flag name="rclock_oncore">Oncore driver</flag>
+ <flag name="rclock_trimble">Trimble driver</flag>
+ <flag name="rclock_truetime">Trutime driver (deprecated)</flag>
+ <flag name="rclock_gpsd">Enable gpsd daemon support</flag>
+ <flag name="rclock_jjy">JJY driver</flag>
+ <flag name="rclock_generic">Enable support for generic time radios and GPSDOs</flag>
+ <flag name="rclock_spectracom">Spectracom driver</flag>
+ <flag name="rclock_shm">Obtain refclock info from shared memory-segment</flag>
+ <flag name="rclock_pps">PPS cesium clock driver</flag>
+ <flag name="rclock_hpgps">Hewlett Packard GPS driver</flag>
+ <flag name="rclock_zyfer">Zyfer driver</flag>
+ <flag name="rclock_arbiter">Arbiter 1088A/B GPS driver</flag>
+ <flag name="rclock_nmea">NMEA GPS driver</flag>
+ <flag name="rclock_neoclock">NeoClock4X DCF77/TDF driver</flag>
+ <flag name="rclock_modem">NIST/USNO/PTB Modem Time Services</flag>
+ <flag name="rclock_local">Support for undisciplined local clock (not recommended)</flag>
+ <flag name="smear">Specify the interval over which a leap second is applied (experimental)</flag>
+ <flag name="tests">Enable tests</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-24 1:21 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2018-02-24 1:21 UTC (permalink / raw
To: gentoo-commits
commit: f108aece8a44161ce4f4a6b957ca737b989d11e1
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 01:20:56 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 01:21:11 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f108aece
net-misc/ntpsec: fix config files and remove strip executables
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-misc/ntpsec/metadata.xml | 1 +
...{ntpsec-1.0.0.ebuild => ntpsec-1.0.0-r1.ebuild} | 40 ++++++++++++++--------
2 files changed, 26 insertions(+), 15 deletions(-)
diff --git a/net-misc/ntpsec/metadata.xml b/net-misc/ntpsec/metadata.xml
index 7bb04cc47d2..018f5f40f71 100644
--- a/net-misc/ntpsec/metadata.xml
+++ b/net-misc/ntpsec/metadata.xml
@@ -15,6 +15,7 @@ NTPsec project - a secure, hardened, and improved implementation of Network Time
<use>
<flag name="early">Drop root privileges early</flag>
<flag name="gdb">Enable debugging with gdb</flag>
+ <flag name="heat">Install contrib heat generating scripts</flag>
<flag name="nist">Enable lockclock</flag>
<flag name="ntpviz">Make visualizations of offsets, jiffies, etc.</flag>
<flag name="rclock_oncore">Oncore driver</flag>
diff --git a/net-misc/ntpsec/ntpsec-1.0.0.ebuild b/net-misc/ntpsec/ntpsec-1.0.0-r1.ebuild
similarity index 75%
rename from net-misc/ntpsec/ntpsec-1.0.0.ebuild
rename to net-misc/ntpsec/ntpsec-1.0.0-r1.ebuild
index d4cca435dbb..91a7ea1e911 100644
--- a/net-misc/ntpsec/ntpsec-1.0.0.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.0.0-r1.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb nist ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# net-misc/pps-tools oncore,pps
@@ -40,7 +40,8 @@ CDEPEND="${PYTHON_DEPS}
${BDEPEND}
sys-libs/libcap
dev-python/psutil
- dev-libs/openssl:*
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
seccomp? ( sys-libs/libseccomp )
"
RDEPEND="${CDEPEND}
@@ -68,16 +69,21 @@ src_configure() {
local string_127=""
local rclocks="";
local CLOCKSTRING=""
+
for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
+ if use rclock_${refclock} ; then
string_127+="$refclock,"
fi
done
CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+
waf-utils_src_configure --nopyc --nopyo --refclock="${CLOCKSTRING}" \
- $(use doc && echo "--enable-doc") \
+ $(use doc && echo "--enable-doc") \
$(use early && echo "--enable-early-droproot") \
- $(use gdb && echo "--enable-debug-gdb") \
+ $(use gdb && echo "--enable-debug-gdb") \
$(use nist && echo "--enable-lockclock") \
$(use samba && echo "--enable-mssntp") \
$(use seccomp && echo "--enable-seccomp") \
@@ -88,19 +94,23 @@ src_configure() {
src_install() {
waf-utils_src_install
- mv -v "${ED}/usr/"{,share/}man
- dosbin "${S}/contrib/ntpheat"{,usb}
- dodoc "${S}/contrib/logrotate-ntpd"
- systemd_newunit "${FILESDIR}/ntpd.service" ntpd.service
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}/contrib/ntpheat"{,usb}
+
+ # Install the openrc files
newinitd "${FILESDIR}/ntpd.rc-r1" "ntp"
newconfd "${FILESDIR}/ntpd.confd" "ntp"
- mkdir "${ED}/etc/systemd/system/"
- cp -v "${FILESDIR}/ntpd.service" "${ED}/etc/systemd/system/"
- # ntpd.confd ntpd.rc-r1 ntpd.service
- mkdir -pv "${ED}/etc/"{logrotate,ntp-conf}.d
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}/ntpd.service" ntpd.service
+
+ # Install a log rotate script
+ mkdir -pv "${ED}/etc/"logrotate.d
cp -v "${S}/etc/logrotate-config.ntpd" "${ED}/etc/logrotate.d/ntpd"
+
+ # Install the configuration files
cp -Rv "${S}/etc/ntp.d/" "${ED}/etc/"
- mv -v "${ED}/etc/ntp.d/example.conf" "${ED}/etc/ntp.conf"
- sed "s|includefile |includefile ntp-conf.d/|" -i "${ED}/etc/ntp.conf"
+ mv -v "${ED}/etc/ntp.d/default.conf" "${ED}/etc/ntp.conf"
+ sed "s|includefile |includefile ntp.d/|" -i "${ED}/etc/ntp.conf"
}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-24 23:25 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2018-02-24 23:25 UTC (permalink / raw
To: gentoo-commits
commit: e04596531f1f4eed078d0f65694f28e01bfc660c
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 23:25:27 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 23:25:27 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0459653
net-misc/ntpsec: improve python
Package-Manager: Portage-2.3.19, Repoman-2.3.6
...psec-1.0.0-r1.ebuild => ntpsec-1.0.0-r2.ebuild} | 52 +++++++++++++++-------
1 file changed, 37 insertions(+), 15 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r1.ebuild b/net-misc/ntpsec/ntpsec-1.0.0-r2.ebuild
similarity index 72%
rename from net-misc/ntpsec/ntpsec-1.0.0-r1.ebuild
rename to net-misc/ntpsec/ntpsec-1.0.0-r2.ebuild
index 91a7ea1e911..46136f2fa0e 100644
--- a/net-misc/ntpsec/ntpsec-1.0.0-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.0.0-r2.ebuild
@@ -3,10 +3,10 @@
EAPI=6
-PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
PYTHON_REQ_USE='threads(+)'
-inherit flag-o-matic python-any-r1 waf-utils systemd user
+inherit flag-o-matic python-r1 waf-utils systemd user
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -39,7 +39,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
CDEPEND="${PYTHON_DEPS}
${BDEPEND}
sys-libs/libcap
- dev-python/psutil
+ dev-python/psutil[${PYTHON_USEDEP}]
libressl? ( dev-libs/libressl:0= )
!libressl? ( dev-libs/openssl:0= )
seccomp? ( sys-libs/libseccomp )
@@ -58,11 +58,15 @@ DEPEND="${CDEPEND}
"
pkg_setup() {
- python-any-r1_pkg_setup
enewgroup ntp 123
enewuser ntp 123 -1 /dev/null ntp
}
+src_prepare() {
+ default
+ python_copy_sources
+}
+
src_configure() {
is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
@@ -80,20 +84,38 @@ src_configure() {
# Remove autostripping of binaries
sed -i -e '/Strip binaries/d' wscript
- waf-utils_src_configure --nopyc --nopyo --refclock="${CLOCKSTRING}" \
- $(use doc && echo "--enable-doc") \
- $(use early && echo "--enable-early-droproot") \
- $(use gdb && echo "--enable-debug-gdb") \
- $(use nist && echo "--enable-lockclock") \
- $(use samba && echo "--enable-mssntp") \
- $(use seccomp && echo "--enable-seccomp") \
- $(use smear && echo "--enable-leap-smear") \
- $(use tests && echo "--alltests") \
- $(use_enable debug debug)
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use nist && echo "--enable-lockclock")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use_enable debug debug) )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
}
src_install() {
- waf-utils_src_install
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
# Install heat generating scripts
use heat && dosbin "${S}/contrib/ntpheat"{,usb}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-24 23:34 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2018-02-24 23:34 UTC (permalink / raw
To: gentoo-commits
commit: 9b7ca33d42324b4d7433ed50405b29aa21ae3c69
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 23:34:41 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 23:34:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7ca33d
net-misc/ntpsec: add -9999
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-misc/ntpsec/ntpsec-9999.ebuild | 138 +++++++++++++++++++++++++++++++++++++
1 file changed, 138 insertions(+)
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
new file mode 100644
index 00000000000..46136f2fa0e
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd user
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+ BDEPEND=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ ${BDEPEND}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+ !net-misc/ntp
+ !net-misc/openntpd
+"
+
+pkg_setup() {
+ enewgroup ntp 123
+ enewuser ntp 123 -1 /dev/null ntp
+}
+
+src_prepare() {
+ default
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use nist && echo "--enable-lockclock")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use_enable debug debug) )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}/contrib/ntpheat"{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}/ntpd.rc-r1" "ntp"
+ newconfd "${FILESDIR}/ntpd.confd" "ntp"
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}/ntpd.service" ntpd.service
+
+ # Install a log rotate script
+ mkdir -pv "${ED}/etc/"logrotate.d
+ cp -v "${S}/etc/logrotate-config.ntpd" "${ED}/etc/logrotate.d/ntpd"
+
+ # Install the configuration files
+ cp -Rv "${S}/etc/ntp.d/" "${ED}/etc/"
+ mv -v "${ED}/etc/ntp.d/default.conf" "${ED}/etc/ntp.conf"
+ sed "s|includefile |includefile ntp.d/|" -i "${ED}/etc/ntp.conf"
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-24 23:40 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2018-02-24 23:40 UTC (permalink / raw
To: gentoo-commits
commit: d787c5691f81c259fa2417878fab30b41016b0a7
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 23:40:30 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 23:40:30 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d787c569
net-misc/ntpsec: debug dropped in -9999
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-misc/ntpsec/ntpsec-9999.ebuild | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 46136f2fa0e..8263e59187f 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# net-misc/pps-tools oncore,pps
@@ -95,8 +95,7 @@ src_configure() {
$(use samba && echo "--enable-mssntp")
$(use seccomp && echo "--enable-seccomp")
$(use smear && echo "--enable-leap-smear")
- $(use tests && echo "--alltests")
- $(use_enable debug debug) )
+ $(use tests && echo "--alltests"))
python_configure() {
waf-utils_src_configure "${myconf[@]}"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-25 19:59 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2018-02-25 19:59 UTC (permalink / raw
To: gentoo-commits
commit: f9947690413d45afd9c34c99382fcab07235408c
Author: Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 25 19:58:18 2018 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Sun Feb 25 19:58:18 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9947690
net-misc/ntpsec: unset MAKEOPTS since waf completely ignores it anyway
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-misc/ntpsec/{ntpsec-1.0.0-r3.ebuild => ntpsec-1.0.0-r4.ebuild} | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r3.ebuild b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
similarity index 98%
rename from net-misc/ntpsec/ntpsec-1.0.0-r3.ebuild
rename to net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
index ab3302255ec..e0b19c3eb0d 100644
--- a/net-misc/ntpsec/ntpsec-1.0.0-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
@@ -57,6 +57,8 @@ DEPEND="${CDEPEND}
!net-misc/openntpd
"
+WAF_BINARY="${S}/waf"
+
pkg_setup() {
enewgroup ntp 123
enewuser ntp 123 -1 /dev/null ntp
@@ -105,6 +107,7 @@ src_configure() {
}
src_compile() {
+ unset MAKEOPTS
python_compile() {
waf-utils_src_compile
}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-27 7:14 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2018-02-27 7:14 UTC (permalink / raw
To: gentoo-commits
commit: 8b1d82cd97939eca1f801304c9a516533b1b9a9f
Author: Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 07:13:34 2018 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 07:13:34 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1d82cd
net-misc/ntpsec: fix debug flag in git ebuild and add einfo refclocks
Package-Manager: Portage-2.3.24, Repoman-2.3.6
net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild | 9 +++++++++
net-misc/ntpsec/ntpsec-9999.ebuild | 17 +++++++++++++++--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
index e0b19c3eb0d..3d627137b63 100644
--- a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
@@ -143,3 +143,12 @@ src_install() {
cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
+
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index a565abf1c84..6b202f93605 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# net-misc/pps-tools oncore,pps
@@ -57,6 +57,8 @@ DEPEND="${CDEPEND}
!net-misc/openntpd
"
+WAF_BINARY="${S}/waf"
+
pkg_setup() {
enewgroup ntp 123
enewuser ntp 123 -1 /dev/null ntp
@@ -95,7 +97,9 @@ src_configure() {
$(use samba && echo "--enable-mssntp")
$(use seccomp && echo "--enable-seccomp")
$(use smear && echo "--enable-leap-smear")
- $(use tests && echo "--alltests"))
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
python_configure() {
waf-utils_src_configure "${myconf[@]}"
@@ -104,6 +108,7 @@ src_configure() {
}
src_compile() {
+ unset MAKEOPTS
python_compile() {
waf-utils_src_compile
}
@@ -139,3 +144,11 @@ src_install() {
cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-27 18:08 Mike Gilbert
0 siblings, 0 replies; 91+ messages in thread
From: Mike Gilbert @ 2018-02-27 18:08 UTC (permalink / raw
To: gentoo-commits
commit: 777de6d70902d3661a19e19575463b9771ca64e6
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 18:07:59 2018 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 18:07:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777de6d7
net-misc/ntpsec: remove useless blank line
Package-Manager: Portage-2.3.24_p18, Repoman-2.3.6_p99
net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
index e1d9e24eb0d..5ab45707dee 100644
--- a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
@@ -151,4 +151,3 @@ pkg_postinst() {
einfo "it but PPS probably won't work unless you have a UART"
einfo "GPS that actually provides PPS messages."
}
-
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-27 18:08 Mike Gilbert
0 siblings, 0 replies; 91+ messages in thread
From: Mike Gilbert @ 2018-02-27 18:08 UTC (permalink / raw
To: gentoo-commits
commit: b6a6e98314e6dd3e8f171dc42054ff414f3427ef
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 18:07:32 2018 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 18:07:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a6e983
net-misc/ntpsec: move blockers to RDEPEND
Building ntpsec with ntp installed works fine. Installing them
concurrently produces file colisions, so the blockers belong in RDEPEND,
not DEPEND.
Package-Manager: Portage-2.3.24_p18, Repoman-2.3.6_p99
net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild | 4 ++--
net-misc/ntpsec/ntpsec-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
index 3d627137b63..e1d9e24eb0d 100644
--- a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
@@ -46,6 +46,8 @@ CDEPEND="${PYTHON_DEPS}
"
RDEPEND="${CDEPEND}
ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
"
DEPEND="${CDEPEND}
app-text/asciidoc
@@ -53,8 +55,6 @@ DEPEND="${CDEPEND}
sys-devel/bison
rclock_oncore? ( net-misc/pps-tools )
rclock_pps? ( net-misc/pps-tools )
- !net-misc/ntp
- !net-misc/openntpd
"
WAF_BINARY="${S}/waf"
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 6b202f93605..a4689a76e05 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -46,6 +46,8 @@ CDEPEND="${PYTHON_DEPS}
"
RDEPEND="${CDEPEND}
ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
"
DEPEND="${CDEPEND}
app-text/asciidoc
@@ -53,8 +55,6 @@ DEPEND="${CDEPEND}
sys-devel/bison
rclock_oncore? ( net-misc/pps-tools )
rclock_pps? ( net-misc/pps-tools )
- !net-misc/ntp
- !net-misc/openntpd
"
WAF_BINARY="${S}/waf"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-02-27 18:10 Mike Gilbert
0 siblings, 0 replies; 91+ messages in thread
From: Mike Gilbert @ 2018-02-27 18:10 UTC (permalink / raw
To: gentoo-commits
commit: cc2db49d20855af9ee56090a3897a4abc06a5052
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 18:10:34 2018 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 18:10:34 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc2db49d
net-misc/ntpsec: revbump for RDEPEND change
Package-Manager: Portage-2.3.24_p18, Repoman-2.3.6_p99
net-misc/ntpsec/{ntpsec-1.0.0-r4.ebuild => ntpsec-1.0.0-r5.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild b/net-misc/ntpsec/ntpsec-1.0.0-r5.ebuild
similarity index 100%
rename from net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
rename to net-misc/ntpsec/ntpsec-1.0.0-r5.ebuild
^ permalink raw reply [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-06-19 18:05 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2018-06-19 18:05 UTC (permalink / raw
To: gentoo-commits
commit: eaa02040aa13c46d955c90d8c9a1ade441b289f0
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 19 18:04:59 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jun 19 18:05:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa02040
net-misc/ntpsec: version bump to 1.1.1
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/{ntpsec-9999.ebuild => ntpsec-1.1.1.ebuild} | 6 +++---
net-misc/ntpsec/ntpsec-9999.ebuild | 6 +++---
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 29e5507e1ee..c6ff344b44b 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1 +1,2 @@
DIST ntpsec-1.0.0.tar.gz 2405862 BLAKE2B b1631491500cafa5d41761fe6cb2db523450ed7801d06678048d6b8878d93dbd1e9d7cb2081a8400421213cf78a6724220236149a7f719896d1e8e48f5337d85 SHA512 9fb06310508b30d2ae2d66212d7d87b00e8eea294cebc27eb70435d764bd639fcec234b66e78deafb700476c88e47afe2d1b463563008c32efbb0644dd611f43
+DIST ntpsec-1.1.1.tar.gz 2451415 BLAKE2B 516c87f0710ecacfde27f801a5fc4a492e7871eb35cc3afb8a107e0c381cd9787a4af2d0b01e2cf5d4f43043afe042321e5bbd2299578723e870b2fa502646d2 SHA512 838ed81c94e14a3d8588670ce63a1c4f6216d2f79be5149ad6a845cec00bdf6d7fe77310ce9c33c4675d3db54e59c3d9d02ae4351913ffbd9a3883716c443f83
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-1.1.1.ebuild
similarity index 99%
copy from net-misc/ntpsec/ntpsec-9999.ebuild
copy to net-misc/ntpsec/ntpsec-1.1.1.ebuild
index a4689a76e05..680e3dcba1d 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.1.ebuild
@@ -66,6 +66,8 @@ pkg_setup() {
src_prepare() {
default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
python_copy_sources
}
@@ -83,9 +85,6 @@ src_configure() {
done
CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
-
local myconf=(
--nopyc
--nopyo
@@ -135,6 +134,7 @@ src_install() {
mkdir -pv "${ED}"/var/lib/ntp
chown ntp:ntp "${ED}"/var/lib/ntp
chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
# Install a log rotate script
mkdir -pv "${ED}"/etc/logrotate.d
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index a4689a76e05..680e3dcba1d 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -66,6 +66,8 @@ pkg_setup() {
src_prepare() {
default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
python_copy_sources
}
@@ -83,9 +85,6 @@ src_configure() {
done
CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
-
local myconf=(
--nopyc
--nopyo
@@ -135,6 +134,7 @@ src_install() {
mkdir -pv "${ED}"/var/lib/ntp
chown ntp:ntp "${ED}"/var/lib/ntp
chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
# Install a log rotate script
mkdir -pv "${ED}"/etc/logrotate.d
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-09-05 1:51 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2018-09-05 1:51 UTC (permalink / raw
To: gentoo-commits
commit: 3c1b2ede04fd5a8bc278ca8c25be4aa837f02f91
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 5 01:50:59 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Sep 5 01:50:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1b2ede
net-misc/ntpsec: version bump to 1.1.2, bug #665188
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/ntpsec-1.1.2.ebuild | 154 ++++++++++++++++++++++++++++++++++++
2 files changed, 155 insertions(+)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index c6ff344b44b..b5913390c2d 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1,3 @@
DIST ntpsec-1.0.0.tar.gz 2405862 BLAKE2B b1631491500cafa5d41761fe6cb2db523450ed7801d06678048d6b8878d93dbd1e9d7cb2081a8400421213cf78a6724220236149a7f719896d1e8e48f5337d85 SHA512 9fb06310508b30d2ae2d66212d7d87b00e8eea294cebc27eb70435d764bd639fcec234b66e78deafb700476c88e47afe2d1b463563008c32efbb0644dd611f43
DIST ntpsec-1.1.1.tar.gz 2451415 BLAKE2B 516c87f0710ecacfde27f801a5fc4a492e7871eb35cc3afb8a107e0c381cd9787a4af2d0b01e2cf5d4f43043afe042321e5bbd2299578723e870b2fa502646d2 SHA512 838ed81c94e14a3d8588670ce63a1c4f6216d2f79be5149ad6a845cec00bdf6d7fe77310ce9c33c4675d3db54e59c3d9d02ae4351913ffbd9a3883716c443f83
+DIST ntpsec-1.1.2.tar.gz 2458805 BLAKE2B e9ab493f60179ce94a5995287423c3a0038298b622b0dcffd5a299261a7b42fc8d0d04256726e049c625c0789882f601615eaa7169047e984a274f62e0cf40d2 SHA512 83d2d3bc59202f1e5f3e76eeb6810e575e24c6f392f20c25732a6881a0a0a9f72453b76b294399351ec4baf88bc64da089dc1340aee38576021659f81bcd0e19
diff --git a/net-misc/ntpsec/ntpsec-1.1.2.ebuild b/net-misc/ntpsec/ntpsec-1.1.2.ebuild
new file mode 100644
index 00000000000..680e3dcba1d
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.1.2.ebuild
@@ -0,0 +1,154 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd user
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+ BDEPEND=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ ${BDEPEND}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+WAF_BINARY="${S}/waf"
+
+pkg_setup() {
+ enewgroup ntp 123
+ enewuser ntp 123 -1 /dev/null ntp
+}
+
+src_prepare() {
+ default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use nist && echo "--enable-lockclock")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2018-09-30 23:10 Robin H. Johnson
0 siblings, 0 replies; 91+ messages in thread
From: Robin H. Johnson @ 2018-09-30 23:10 UTC (permalink / raw
To: gentoo-commits
commit: 7d04d5f609feadd21aabd9f6368f4a45da55ca3c
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 30 20:00:03 2018 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Sep 30 23:10:18 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d04d5f6
net-misc/ntpsec: USE=nist requires local refclock
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
net-misc/ntpsec/ntpsec-1.1.1.ebuild | 2 +-
net-misc/ntpsec/ntpsec-1.1.2.ebuild | 2 +-
net-misc/ntpsec/ntpsec-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.1.ebuild b/net-misc/ntpsec/ntpsec-1.1.1.ebuild
index 680e3dcba1d..46234cf71a8 100644
--- a/net-misc/ntpsec/ntpsec-1.1.1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.1.ebuild
@@ -33,7 +33,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
CDEPEND="${PYTHON_DEPS}
diff --git a/net-misc/ntpsec/ntpsec-1.1.2.ebuild b/net-misc/ntpsec/ntpsec-1.1.2.ebuild
index 680e3dcba1d..46234cf71a8 100644
--- a/net-misc/ntpsec/ntpsec-1.1.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.2.ebuild
@@ -33,7 +33,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
CDEPEND="${PYTHON_DEPS}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 680e3dcba1d..46234cf71a8 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -33,7 +33,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
CDEPEND="${PYTHON_DEPS}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-05-23 17:52 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2019-05-23 17:52 UTC (permalink / raw
To: gentoo-commits
commit: 1f29ef3650603b7719cd6145866006ff7ae5071b
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 17:52:27 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu May 23 17:52:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f29ef36
net-misc/ntpsec: version bump to 1.1.3
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/ntpsec-1.1.3.ebuild | 157 ++++++++++++++++++++++++++++++++++++
2 files changed, 158 insertions(+)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index b5913390c2d..ce982bf2cdb 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,3 +1,4 @@
DIST ntpsec-1.0.0.tar.gz 2405862 BLAKE2B b1631491500cafa5d41761fe6cb2db523450ed7801d06678048d6b8878d93dbd1e9d7cb2081a8400421213cf78a6724220236149a7f719896d1e8e48f5337d85 SHA512 9fb06310508b30d2ae2d66212d7d87b00e8eea294cebc27eb70435d764bd639fcec234b66e78deafb700476c88e47afe2d1b463563008c32efbb0644dd611f43
DIST ntpsec-1.1.1.tar.gz 2451415 BLAKE2B 516c87f0710ecacfde27f801a5fc4a492e7871eb35cc3afb8a107e0c381cd9787a4af2d0b01e2cf5d4f43043afe042321e5bbd2299578723e870b2fa502646d2 SHA512 838ed81c94e14a3d8588670ce63a1c4f6216d2f79be5149ad6a845cec00bdf6d7fe77310ce9c33c4675d3db54e59c3d9d02ae4351913ffbd9a3883716c443f83
DIST ntpsec-1.1.2.tar.gz 2458805 BLAKE2B e9ab493f60179ce94a5995287423c3a0038298b622b0dcffd5a299261a7b42fc8d0d04256726e049c625c0789882f601615eaa7169047e984a274f62e0cf40d2 SHA512 83d2d3bc59202f1e5f3e76eeb6810e575e24c6f392f20c25732a6881a0a0a9f72453b76b294399351ec4baf88bc64da089dc1340aee38576021659f81bcd0e19
+DIST ntpsec-1.1.3.tar.gz 2462330 BLAKE2B 903e569ad72939def9df31d7b51b2623b140754de67362213f39e39ad770d903d70c45a10a18e98ae35927792666ae27de40b41a5c0bfe6fd8cfa6a37102d4e8 SHA512 df60c5fa63d4c94529ba1e8b21c7d6b5d0c9fb810ed7546a621b072725a6ff03edbd2dcbc3baf19ac3b3a9b82d7aff3ddee4ab8c93559b7065ed06a211b538c4
diff --git a/net-misc/ntpsec/ntpsec-1.1.3.ebuild b/net-misc/ntpsec/ntpsec-1.1.3.ebuild
new file mode 100644
index 00000000000..9a7db4869a3
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.1.3.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd user
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+ BDEPEND=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ ${BDEPEND}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+WAF_BINARY="${S}/waf"
+
+pkg_setup() {
+ enewgroup ntp 123
+ enewuser ntp 123 -1 /dev/null ntp
+}
+
+src_prepare() {
+ default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use nist && echo "--enable-lockclock")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ mv "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-05-23 20:30 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2019-05-23 20:30 UTC (permalink / raw
To: gentoo-commits
commit: 7bb0251e339579c66670b2532df98d0b396ffb7c
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 20:29:54 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu May 23 20:30:07 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb0251e
net-misc/ntpsec: fix minor error when USE=-doc
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
net-misc/ntpsec/ntpsec-1.1.3.ebuild | 2 +-
net-misc/ntpsec/ntpsec-9999.ebuild | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.3.ebuild b/net-misc/ntpsec/ntpsec-1.1.3.ebuild
index 9a7db4869a3..b227382f452 100644
--- a/net-misc/ntpsec/ntpsec-1.1.3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.3.ebuild
@@ -145,7 +145,7 @@ src_install() {
cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
# move doc files to /usr/share/doc/"${P}"
- mv "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
}
pkg_postinst() {
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 44675355356..b227382f452 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -143,6 +143,9 @@ src_install() {
# Install the configuration file and sample configuration
cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-05-31 6:49 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2019-05-31 6:49 UTC (permalink / raw
To: gentoo-commits
commit: 2fbc16092105396efc2aacd6bd184a719d43a412
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri May 31 06:49:36 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri May 31 06:49:36 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fbc1609
net-misc/ntpsec: amd64 stable wrt bug #682398
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"
net-misc/ntpsec/ntpsec-1.1.3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.3.ebuild b/net-misc/ntpsec/ntpsec-1.1.3.ebuild
index b227382f452..320a55e35a4 100644
--- a/net-misc/ntpsec/ntpsec-1.1.3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.3.ebuild
@@ -12,12 +12,12 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
BDEPEND=""
- KEYWORDS=""
+ KEYWORDS="amd64"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
BDEPEND=""
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-07-04 15:50 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2019-07-04 15:50 UTC (permalink / raw
To: gentoo-commits
commit: c6e0de1f8424742a6507c2643b4557017dde08f0
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 4 15:48:40 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Jul 4 15:49:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e0de1f
net-misc/ntpsec: version bump to 1.1.4, bug #688494
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/ntpsec-1.1.4.ebuild | 157 ++++++++++++++++++++++++++++++++++++
2 files changed, 158 insertions(+)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 15b045177f4..70b0a07f53e 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1 +1,2 @@
DIST ntpsec-1.1.3.tar.gz 2462330 BLAKE2B 903e569ad72939def9df31d7b51b2623b140754de67362213f39e39ad770d903d70c45a10a18e98ae35927792666ae27de40b41a5c0bfe6fd8cfa6a37102d4e8 SHA512 df60c5fa63d4c94529ba1e8b21c7d6b5d0c9fb810ed7546a621b072725a6ff03edbd2dcbc3baf19ac3b3a9b82d7aff3ddee4ab8c93559b7065ed06a211b538c4
+DIST ntpsec-1.1.4.tar.gz 2536268 BLAKE2B 320e7afee1b776e0327f8bf34bc0b8cd3a2c67fd9fd16564323ce825cb9e36d7d5fb48a38b734600286cbd039f41f296d9e488e25d2680f08412aa983101987b SHA512 1b74e7cb87e189137e1b66b52ce89498e0061a10abf017c36bfdecb4aefe9c3fb6e8fd7819a9f822fb946dca6ae20ee724b2aed35e03d73f8e3015d8818d02db
diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
new file mode 100644
index 00000000000..b227382f452
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd user
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+ BDEPEND=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ ${BDEPEND}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+WAF_BINARY="${S}/waf"
+
+pkg_setup() {
+ enewgroup ntp 123
+ enewuser ntp 123 -1 /dev/null ntp
+}
+
+src_prepare() {
+ default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use nist && echo "--enable-lockclock")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-07-14 0:45 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2019-07-14 0:45 UTC (permalink / raw
To: gentoo-commits
commit: 2399d1a06d22c7ce563948609572e66a30036bc7
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 00:45:04 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 00:45:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2399d1a0
net-misc/ntpsec: version bumps to 1.1.5 and 1.1.6
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
net-misc/ntpsec/Manifest | 2 +
net-misc/ntpsec/ntpsec-1.1.5.ebuild | 157 ++++++++++++++++++++++++++++++++++++
net-misc/ntpsec/ntpsec-1.1.6.ebuild | 157 ++++++++++++++++++++++++++++++++++++
3 files changed, 316 insertions(+)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 70b0a07f53e..0b9b76314c5 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1,4 @@
DIST ntpsec-1.1.3.tar.gz 2462330 BLAKE2B 903e569ad72939def9df31d7b51b2623b140754de67362213f39e39ad770d903d70c45a10a18e98ae35927792666ae27de40b41a5c0bfe6fd8cfa6a37102d4e8 SHA512 df60c5fa63d4c94529ba1e8b21c7d6b5d0c9fb810ed7546a621b072725a6ff03edbd2dcbc3baf19ac3b3a9b82d7aff3ddee4ab8c93559b7065ed06a211b538c4
DIST ntpsec-1.1.4.tar.gz 2536268 BLAKE2B 320e7afee1b776e0327f8bf34bc0b8cd3a2c67fd9fd16564323ce825cb9e36d7d5fb48a38b734600286cbd039f41f296d9e488e25d2680f08412aa983101987b SHA512 1b74e7cb87e189137e1b66b52ce89498e0061a10abf017c36bfdecb4aefe9c3fb6e8fd7819a9f822fb946dca6ae20ee724b2aed35e03d73f8e3015d8818d02db
+DIST ntpsec-1.1.5.tar.gz 2597462 BLAKE2B 4fb4592796c1ee5c18d9e2065551057e7866c46515f9cc179b5f42a296b9a0d6d6b59877f4165091b31bb7074c45174effd642796a92ef5d85868ce15abfe041 SHA512 14761fed544e59e96390aada3b681ba3815acb6f414d45c65c82a9e5c394030d4cf517983289aac04ec42c7f606936a7ef636e5989e1dfd03c82e6515c102a4a
+DIST ntpsec-1.1.6.tar.gz 2600632 BLAKE2B 1ee3e266f9a0ff45fc8f001a2b5a1722c6acf75a2151ee3724812acef3409eccbb865b321a3a346c7ced1770aa24190281a94593b881b4bbb0a2b2e6df5629cc SHA512 f57fde6f329a858313968798d64df5e93d7eba43edf4752cd0eb45ff1a2237ce2731b4603ec997c493dea85edb42976f96eb1508beae087a8c2ae8a76c0a6941
diff --git a/net-misc/ntpsec/ntpsec-1.1.5.ebuild b/net-misc/ntpsec/ntpsec-1.1.5.ebuild
new file mode 100644
index 00000000000..b227382f452
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.1.5.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd user
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+ BDEPEND=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ ${BDEPEND}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+WAF_BINARY="${S}/waf"
+
+pkg_setup() {
+ enewgroup ntp 123
+ enewuser ntp 123 -1 /dev/null ntp
+}
+
+src_prepare() {
+ default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use nist && echo "--enable-lockclock")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
diff --git a/net-misc/ntpsec/ntpsec-1.1.6.ebuild b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
new file mode 100644
index 00000000000..b227382f452
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd user
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+ BDEPEND=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ ${BDEPEND}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+WAF_BINARY="${S}/waf"
+
+pkg_setup() {
+ enewgroup ntp 123
+ enewuser ntp 123 -1 /dev/null ntp
+}
+
+src_prepare() {
+ default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use nist && echo "--enable-lockclock")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-07-16 17:08 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2019-07-16 17:08 UTC (permalink / raw
To: gentoo-commits
commit: 53265575b3fd7dec1196f3e3bbebc719d22cb808
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 17:06:52 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 17:08:36 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53265575
net-misc/ntpsec: drop libressl flag, bug #689818
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
net-misc/ntpsec/ntpsec-1.1.6.ebuild | 5 ++---
net-misc/ntpsec/ntpsec-9999.ebuild | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.6.ebuild b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
index b227382f452..d8f848a621d 100644
--- a/net-misc/ntpsec/ntpsec-1.1.6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
@@ -32,16 +32,15 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat nist ntpviz samba seccomp smear tests" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
CDEPEND="${PYTHON_DEPS}
${BDEPEND}
sys-libs/libcap
+ dev-libs/openssl:0=
dev-python/psutil[${PYTHON_USEDEP}]
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0= )
seccomp? ( sys-libs/libseccomp )
"
RDEPEND="${CDEPEND}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index b227382f452..d8f848a621d 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -32,16 +32,15 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat nist ntpviz samba seccomp smear tests" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
CDEPEND="${PYTHON_DEPS}
${BDEPEND}
sys-libs/libcap
+ dev-libs/openssl:0=
dev-python/psutil[${PYTHON_USEDEP}]
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0= )
seccomp? ( sys-libs/libseccomp )
"
RDEPEND="${CDEPEND}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-07-16 17:08 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2019-07-16 17:08 UTC (permalink / raw
To: gentoo-commits
commit: 0ab602ea1de714f1d643617e55cb65c17ab406f5
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 17:08:25 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 17:08:37 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ab602ea
net-misc/ntpsec: remove older unstable versions
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
net-misc/ntpsec/Manifest | 2 -
net-misc/ntpsec/ntpsec-1.1.4.ebuild | 157 ------------------------------------
net-misc/ntpsec/ntpsec-1.1.5.ebuild | 157 ------------------------------------
3 files changed, 316 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 0b9b76314c5..3df5149733d 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,4 +1,2 @@
DIST ntpsec-1.1.3.tar.gz 2462330 BLAKE2B 903e569ad72939def9df31d7b51b2623b140754de67362213f39e39ad770d903d70c45a10a18e98ae35927792666ae27de40b41a5c0bfe6fd8cfa6a37102d4e8 SHA512 df60c5fa63d4c94529ba1e8b21c7d6b5d0c9fb810ed7546a621b072725a6ff03edbd2dcbc3baf19ac3b3a9b82d7aff3ddee4ab8c93559b7065ed06a211b538c4
-DIST ntpsec-1.1.4.tar.gz 2536268 BLAKE2B 320e7afee1b776e0327f8bf34bc0b8cd3a2c67fd9fd16564323ce825cb9e36d7d5fb48a38b734600286cbd039f41f296d9e488e25d2680f08412aa983101987b SHA512 1b74e7cb87e189137e1b66b52ce89498e0061a10abf017c36bfdecb4aefe9c3fb6e8fd7819a9f822fb946dca6ae20ee724b2aed35e03d73f8e3015d8818d02db
-DIST ntpsec-1.1.5.tar.gz 2597462 BLAKE2B 4fb4592796c1ee5c18d9e2065551057e7866c46515f9cc179b5f42a296b9a0d6d6b59877f4165091b31bb7074c45174effd642796a92ef5d85868ce15abfe041 SHA512 14761fed544e59e96390aada3b681ba3815acb6f414d45c65c82a9e5c394030d4cf517983289aac04ec42c7f606936a7ef636e5989e1dfd03c82e6515c102a4a
DIST ntpsec-1.1.6.tar.gz 2600632 BLAKE2B 1ee3e266f9a0ff45fc8f001a2b5a1722c6acf75a2151ee3724812acef3409eccbb865b321a3a346c7ced1770aa24190281a94593b881b4bbb0a2b2e6df5629cc SHA512 f57fde6f329a858313968798d64df5e93d7eba43edf4752cd0eb45ff1a2237ce2731b4603ec997c493dea85edb42976f96eb1508beae087a8c2ae8a76c0a6941
diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
deleted file mode 100644
index b227382f452..00000000000
--- a/net-misc/ntpsec/ntpsec-1.1.4.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-PYTHON_REQ_USE='threads(+)'
-
-inherit flag-o-matic python-r1 waf-utils systemd user
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
- BDEPEND=""
- KEYWORDS=""
-else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
- BDEPEND=""
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/"
-
-NTPSEC_REFCLOCK=(
- oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea neoclock modem
- local)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
- ${BDEPEND}
- sys-libs/libcap
- dev-python/psutil[${PYTHON_USEDEP}]
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0= )
- seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
- !net-misc/ntp
- !net-misc/openntpd
-"
-DEPEND="${CDEPEND}
- app-text/asciidoc
- app-text/docbook-xsl-stylesheets
- sys-devel/bison
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
-"
-
-WAF_BINARY="${S}/waf"
-
-pkg_setup() {
- enewgroup ntp 123
- enewuser ntp 123 -1 /dev/null ntp
-}
-
-src_prepare() {
- default
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
- python_copy_sources
-}
-
-src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
-
- local string_127=""
- local rclocks="";
- local CLOCKSTRING=""
-
- for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
- string_127+="$refclock,"
- fi
- done
- CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
- local myconf=(
- --nopyc
- --nopyo
- --refclock="${CLOCKSTRING}"
- $(use doc && echo "--enable-doc")
- $(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
- $(use nist && echo "--enable-lockclock")
- $(use samba && echo "--enable-mssntp")
- $(use seccomp && echo "--enable-seccomp")
- $(use smear && echo "--enable-leap-smear")
- $(use tests && echo "--alltests")
- $(use debug && echo "--enable-debug")
- )
-
- python_configure() {
- waf-utils_src_configure "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
-}
-
-src_compile() {
- unset MAKEOPTS
- python_compile() {
- waf-utils_src_compile
- }
- python_foreach_impl run_in_build_dir python_compile
-}
-
-src_install() {
- python_install() {
- waf-utils_src_install
- }
- python_foreach_impl run_in_build_dir python_install
-
- # Install heat generating scripts
- use heat && dosbin "${S}"/contrib/ntpheat{,usb}
-
- # Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
- newconfd "${FILESDIR}"/ntpd.confd ntp
-
- # Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
-
- # Prepare a directory for the ntp.drift file
- mkdir -pv "${ED}"/var/lib/ntp
- chown ntp:ntp "${ED}"/var/lib/ntp
- chmod 770 "${ED}"/var/lib/ntp
- keepdir /var/lib/ntp
-
- # Install a log rotate script
- mkdir -pv "${ED}"/etc/logrotate.d
- cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
-
- # Install the configuration file and sample configuration
- cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
- cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
-
- # move doc files to /usr/share/doc/"${P}"
- use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-
-pkg_postinst() {
- einfo "If you want to serve time on your local network, then"
- einfo "you should disable all the ref_clocks unless you have"
- einfo "one and can get stable time from it. Feel free to try"
- einfo "it but PPS probably won't work unless you have a UART"
- einfo "GPS that actually provides PPS messages."
-}
diff --git a/net-misc/ntpsec/ntpsec-1.1.5.ebuild b/net-misc/ntpsec/ntpsec-1.1.5.ebuild
deleted file mode 100644
index b227382f452..00000000000
--- a/net-misc/ntpsec/ntpsec-1.1.5.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-PYTHON_REQ_USE='threads(+)'
-
-inherit flag-o-matic python-r1 waf-utils systemd user
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
- BDEPEND=""
- KEYWORDS=""
-else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
- BDEPEND=""
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/"
-
-NTPSEC_REFCLOCK=(
- oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea neoclock modem
- local)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
- ${BDEPEND}
- sys-libs/libcap
- dev-python/psutil[${PYTHON_USEDEP}]
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0= )
- seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
- !net-misc/ntp
- !net-misc/openntpd
-"
-DEPEND="${CDEPEND}
- app-text/asciidoc
- app-text/docbook-xsl-stylesheets
- sys-devel/bison
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
-"
-
-WAF_BINARY="${S}/waf"
-
-pkg_setup() {
- enewgroup ntp 123
- enewuser ntp 123 -1 /dev/null ntp
-}
-
-src_prepare() {
- default
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
- python_copy_sources
-}
-
-src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
-
- local string_127=""
- local rclocks="";
- local CLOCKSTRING=""
-
- for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
- string_127+="$refclock,"
- fi
- done
- CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
- local myconf=(
- --nopyc
- --nopyo
- --refclock="${CLOCKSTRING}"
- $(use doc && echo "--enable-doc")
- $(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
- $(use nist && echo "--enable-lockclock")
- $(use samba && echo "--enable-mssntp")
- $(use seccomp && echo "--enable-seccomp")
- $(use smear && echo "--enable-leap-smear")
- $(use tests && echo "--alltests")
- $(use debug && echo "--enable-debug")
- )
-
- python_configure() {
- waf-utils_src_configure "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
-}
-
-src_compile() {
- unset MAKEOPTS
- python_compile() {
- waf-utils_src_compile
- }
- python_foreach_impl run_in_build_dir python_compile
-}
-
-src_install() {
- python_install() {
- waf-utils_src_install
- }
- python_foreach_impl run_in_build_dir python_install
-
- # Install heat generating scripts
- use heat && dosbin "${S}"/contrib/ntpheat{,usb}
-
- # Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
- newconfd "${FILESDIR}"/ntpd.confd ntp
-
- # Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
-
- # Prepare a directory for the ntp.drift file
- mkdir -pv "${ED}"/var/lib/ntp
- chown ntp:ntp "${ED}"/var/lib/ntp
- chmod 770 "${ED}"/var/lib/ntp
- keepdir /var/lib/ntp
-
- # Install a log rotate script
- mkdir -pv "${ED}"/etc/logrotate.d
- cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
-
- # Install the configuration file and sample configuration
- cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
- cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
-
- # move doc files to /usr/share/doc/"${P}"
- use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-
-pkg_postinst() {
- einfo "If you want to serve time on your local network, then"
- einfo "you should disable all the ref_clocks unless you have"
- einfo "one and can get stable time from it. Feel free to try"
- einfo "it but PPS probably won't work unless you have a UART"
- einfo "GPS that actually provides PPS messages."
-}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-09-07 9:55 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2019-09-07 9:55 UTC (permalink / raw
To: gentoo-commits
commit: e1aeffa5f205d2db6663715503a2fe88a73f4497
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 7 09:54:58 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Sep 7 09:54:58 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1aeffa5
net-misc/ntpsec: restore back the stable keyword wrt bug #692494
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
net-misc/ntpsec/ntpsec-1.1.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
index eb5900a5e1e..ed5401217aa 100644
--- a/net-misc/ntpsec/ntpsec-1.1.4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
@@ -17,7 +17,7 @@ else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
BDEPEND=""
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-09-11 22:57 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2019-09-11 22:57 UTC (permalink / raw
To: gentoo-commits
commit: b017de7de40f7388b5740769928b999c0314b46e
Author: Stephen Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 22:56:58 2019 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 22:56:58 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b017de7d
net-misc/ntpsec: libressl not supported upstream in current versions
closes: https://bugs.gentoo.org/689818
Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.4.ebuild | 5 ++---
net-misc/ntpsec/ntpsec-1.1.6.ebuild | 5 ++---
net-misc/ntpsec/ntpsec-9999.ebuild | 5 ++---
3 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
index ed5401217aa..fdf4cc4b9cc 100644
--- a/net-misc/ntpsec/ntpsec-1.1.4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd libressl nist ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
@@ -41,8 +41,7 @@ CDEPEND="${PYTHON_DEPS}
sys-libs/libcap
dev-python/psutil[${PYTHON_USEDEP}]
libbsd? ( dev-libs/libbsd:0= )
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0= )
+ dev-libs/openssl:0=
seccomp? ( sys-libs/libseccomp )
"
RDEPEND="${CDEPEND}
diff --git a/net-misc/ntpsec/ntpsec-1.1.6.ebuild b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
index cbf16e45b9f..7cc6f74f6d3 100644
--- a/net-misc/ntpsec/ntpsec-1.1.6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd libressl nist ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
@@ -41,8 +41,7 @@ CDEPEND="${PYTHON_DEPS}
sys-libs/libcap
dev-python/psutil[${PYTHON_USEDEP}]
libbsd? ( dev-libs/libbsd:0= )
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0= )
+ dev-libs/openssl:0=
seccomp? ( sys-libs/libseccomp )
"
RDEPEND="${CDEPEND}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index cbf16e45b9f..7cc6f74f6d3 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd libressl nist ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
@@ -41,8 +41,7 @@ CDEPEND="${PYTHON_DEPS}
sys-libs/libcap
dev-python/psutil[${PYTHON_USEDEP}]
libbsd? ( dev-libs/libbsd:0= )
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0= )
+ dev-libs/openssl:0=
seccomp? ( sys-libs/libseccomp )
"
RDEPEND="${CDEPEND}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-10-07 21:47 Robin H. Johnson
0 siblings, 0 replies; 91+ messages in thread
From: Robin H. Johnson @ 2019-10-07 21:47 UTC (permalink / raw
To: gentoo-commits
commit: 164d6d17a392367cd9d7b0705cd127163c1c53cf
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 7 21:04:05 2019 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Oct 7 21:23:01 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164d6d17
net-misc/ntpsec: bump
Include build epoch to avoid 'Module/Binary version mismatch' error due
to multiple python builds.
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/ntpsec-1.1.7.ebuild | 161 ++++++++++++++++++++++++++++++++++++
2 files changed, 162 insertions(+)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 4b1db6e9657..31d78e746ff 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1,3 @@
DIST ntpsec-1.1.4.tar.gz 2536268 BLAKE2B 320e7afee1b776e0327f8bf34bc0b8cd3a2c67fd9fd16564323ce825cb9e36d7d5fb48a38b734600286cbd039f41f296d9e488e25d2680f08412aa983101987b SHA512 1b74e7cb87e189137e1b66b52ce89498e0061a10abf017c36bfdecb4aefe9c3fb6e8fd7819a9f822fb946dca6ae20ee724b2aed35e03d73f8e3015d8818d02db
DIST ntpsec-1.1.6.tar.gz 2600632 BLAKE2B 1ee3e266f9a0ff45fc8f001a2b5a1722c6acf75a2151ee3724812acef3409eccbb865b321a3a346c7ced1770aa24190281a94593b881b4bbb0a2b2e6df5629cc SHA512 f57fde6f329a858313968798d64df5e93d7eba43edf4752cd0eb45ff1a2237ce2731b4603ec997c493dea85edb42976f96eb1508beae087a8c2ae8a76c0a6941
+DIST ntpsec-1.1.7.tar.gz 2534524 BLAKE2B 5777ecca4ceb988632fadc0e7124530993a7758cdf335e8cd90f0ec1a8b643be89b67c0e2bf49d6d7193bf92ded138af0df4b5856c0d113f552ef22dd8a6cadf SHA512 734b12820539e655e504dd5071a58b9d1f80c0b0c3c7458c797ba7ada23d8e446751fbcbddd9832d9151a3ba9464749878db9e77e23cdd5f6215ab9e1d908ae9
diff --git a/net-misc/ntpsec/ntpsec-1.1.7.ebuild b/net-misc/ntpsec/ntpsec-1.1.7.ebuild
new file mode 100644
index 00000000000..e5bf13be3be
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.1.7.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd user
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+ BDEPEND=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ ${BDEPEND}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libbsd? ( dev-libs/libbsd:0= )
+ dev-libs/openssl:0=
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+WAF_BINARY="${S}/waf"
+
+pkg_setup() {
+ enewgroup ntp 123
+ enewuser ntp 123 -1 /dev/null ntp
+}
+
+src_prepare() {
+ default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+ if ! use libbsd ; then
+ epatch "${FILESDIR}/${PN}-no-bsd.patch"
+ fi
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ --build-epoch="$(date +%s)"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-10-28 9:43 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2019-10-28 9:43 UTC (permalink / raw
To: gentoo-commits
commit: a48b21a4d839847c25bf64356213df8474f3e24b
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 09:43:20 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 09:43:20 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a48b21a4
net-misc/ntpsec: amd64 stable wrt bug #694748
Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
index d6b4b305459..1ef2fda749d 100644
--- a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
@@ -12,12 +12,12 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
BDEPEND=""
- KEYWORDS=""
+ KEYWORDS="amd64"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
BDEPEND=""
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-11-10 3:40 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2019-11-10 3:40 UTC (permalink / raw
To: gentoo-commits
commit: 9d14e57c67797ad976bd6c5f45756c93c87dc92c
Author: Stephen Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 03:39:27 2019 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 03:40:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d14e57c
net-misc/ntpsec: fix logrotate, inherit user, QA issues (really)
* fixes bug 697948 (use acct-group/acct-user)
* fixes bug 698042 (logrotate)
* fixes some QA issues from bug 695088 but leaves clock flags (for now)
* does not address in-progress bugs or pre-1.1.7
Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild | 13 ++++++-------
net-misc/ntpsec/ntpsec-9999.ebuild | 11 +++++------
2 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
index 1ef2fda749d..984a26200b8 100644
--- a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
@@ -6,13 +6,13 @@ EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6} )
PYTHON_REQ_USE='threads(+)'
-inherit flag-o-matic python-r1 waf-utils systemd user
+inherit flag-o-matic python-r1 waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
BDEPEND=""
- KEYWORDS="amd64"
+ KEYWORDS=""
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
@@ -48,6 +48,8 @@ RDEPEND="${CDEPEND}
ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
!net-misc/ntp
!net-misc/openntpd
+ acct-group/ntp
+ acct-user/ntp
"
DEPEND="${CDEPEND}
app-text/asciidoc
@@ -60,15 +62,11 @@ DEPEND="${CDEPEND}
WAF_BINARY="${S}/waf"
-pkg_setup() {
- enewgroup ntp 123
- enewuser ntp 123 -1 /dev/null ntp
-}
-
src_prepare() {
default
# Remove autostripping of binaries
sed -i -e '/Strip binaries/d' wscript
+ eapply "${FILESDIR}/${P}"-make-sure-logrotate-config-has-missingok.patch
if ! use libbsd ; then
epatch "${FILESDIR}/${PN}-no-bsd.patch"
fi
@@ -123,6 +121,7 @@ src_install() {
waf-utils_src_install
}
python_foreach_impl run_in_build_dir python_install
+ python_foreach_impl python_optimize
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 050f701b387..0d9f22dc3aa 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6} )
PYTHON_REQ_USE='threads(+)'
-inherit flag-o-matic python-r1 waf-utils systemd user
+inherit flag-o-matic python-r1 waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -48,6 +48,8 @@ RDEPEND="${CDEPEND}
ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
!net-misc/ntp
!net-misc/openntpd
+ acct-group/ntp
+ acct-user/ntp
"
DEPEND="${CDEPEND}
app-text/asciidoc
@@ -60,11 +62,6 @@ DEPEND="${CDEPEND}
WAF_BINARY="${S}/waf"
-pkg_setup() {
- enewgroup ntp 123
- enewuser ntp 123 -1 /dev/null ntp
-}
-
src_prepare() {
default
# Remove autostripping of binaries
@@ -93,6 +90,7 @@ src_configure() {
--nopyc
--nopyo
--refclock="${CLOCKSTRING}"
+ --build-epoch="$(date +%s)"
$(use doc && echo "--enable-doc")
$(use early && echo "--enable-early-droproot")
$(use gdb && echo "--enable-debug-gdb")
@@ -122,6 +120,7 @@ src_install() {
waf-utils_src_install
}
python_foreach_impl run_in_build_dir python_install
+ python_foreach_impl python_optimize
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-12-19 17:48 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2019-12-19 17:48 UTC (permalink / raw
To: gentoo-commits
commit: c9a2875bfd4fa96798a4040980e4c6b03e928b2b
Author: Stephen Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 19 17:45:27 2019 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Thu Dec 19 17:48:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a2875b
net-misc/ntpsec: use fixed service file for all versions
* see bug #697024 and stablize 1.1.7
Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.4.ebuild | 2 +-
net-misc/ntpsec/ntpsec-1.1.6.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
index fdf4cc4b9cc..5f78b849061 100644
--- a/net-misc/ntpsec/ntpsec-1.1.4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
@@ -132,7 +132,7 @@ src_install() {
newconfd "${FILESDIR}"/ntpd.confd ntp
# Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+ systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
# Prepare a directory for the ntp.drift file
mkdir -pv "${ED}"/var/lib/ntp
diff --git a/net-misc/ntpsec/ntpsec-1.1.6.ebuild b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
index 7cc6f74f6d3..050f701b387 100644
--- a/net-misc/ntpsec/ntpsec-1.1.6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
@@ -131,7 +131,7 @@ src_install() {
newconfd "${FILESDIR}"/ntpd.confd ntp
# Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+ systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
# Prepare a directory for the ntp.drift file
mkdir -pv "${ED}"/var/lib/ntp
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-12-19 17:56 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2019-12-19 17:56 UTC (permalink / raw
To: gentoo-commits
commit: 83928092e0c6eb133590d961600edc91c37144f3
Author: Stephen Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 19 17:55:10 2019 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Thu Dec 19 17:55:10 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83928092
net-misc/ntpsec: stable on arm and arm64 (bug #697024 again)
Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
index 984a26200b8..4760ec4eef4 100644
--- a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
@@ -17,7 +17,7 @@ else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
BDEPEND=""
- KEYWORDS="amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="amd64 arm arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2019-12-23 20:52 Anthony G. Basile
0 siblings, 0 replies; 91+ messages in thread
From: Anthony G. Basile @ 2019-12-23 20:52 UTC (permalink / raw
To: gentoo-commits
commit: 1077f6b1db9de0b0ddeb75432316491c0f748c1b
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 23 20:51:48 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 20:51:48 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1077f6b1
net-misc/ntpsec: version bump to 1.1.8, bug #703618
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/ntpsec-1.1.8.ebuild | 159 ++++++++++++++++++++++++++++++++++++
2 files changed, 160 insertions(+)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 31d78e746ff..3989a106bba 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,3 +1,4 @@
DIST ntpsec-1.1.4.tar.gz 2536268 BLAKE2B 320e7afee1b776e0327f8bf34bc0b8cd3a2c67fd9fd16564323ce825cb9e36d7d5fb48a38b734600286cbd039f41f296d9e488e25d2680f08412aa983101987b SHA512 1b74e7cb87e189137e1b66b52ce89498e0061a10abf017c36bfdecb4aefe9c3fb6e8fd7819a9f822fb946dca6ae20ee724b2aed35e03d73f8e3015d8818d02db
DIST ntpsec-1.1.6.tar.gz 2600632 BLAKE2B 1ee3e266f9a0ff45fc8f001a2b5a1722c6acf75a2151ee3724812acef3409eccbb865b321a3a346c7ced1770aa24190281a94593b881b4bbb0a2b2e6df5629cc SHA512 f57fde6f329a858313968798d64df5e93d7eba43edf4752cd0eb45ff1a2237ce2731b4603ec997c493dea85edb42976f96eb1508beae087a8c2ae8a76c0a6941
DIST ntpsec-1.1.7.tar.gz 2534524 BLAKE2B 5777ecca4ceb988632fadc0e7124530993a7758cdf335e8cd90f0ec1a8b643be89b67c0e2bf49d6d7193bf92ded138af0df4b5856c0d113f552ef22dd8a6cadf SHA512 734b12820539e655e504dd5071a58b9d1f80c0b0c3c7458c797ba7ada23d8e446751fbcbddd9832d9151a3ba9464749878db9e77e23cdd5f6215ab9e1d908ae9
+DIST ntpsec-1.1.8.tar.gz 2589363 BLAKE2B e7e11a7d980599ac598f084608160d3f6f6cf8e2aab5fb45cc15cabca30462bd03db7b9ecc140826c5d7b5e26f49b48f7f2b6043bdc2ffa1d73167347fb8123f SHA512 0920f25adf68f1b8ccd1734c5d61ba1c858cd86b342db7b5155dd9b58e538aa96aad3fd4058597f079ec3df63cb51d2900ac8e6d9c84d6f2bd4a3a22cc0c967c
diff --git a/net-misc/ntpsec/ntpsec-1.1.8.ebuild b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
new file mode 100644
index 00000000000..0d9f22dc3aa
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
@@ -0,0 +1,159 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+ BDEPEND=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ ${BDEPEND}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libbsd? ( dev-libs/libbsd:0= )
+ dev-libs/openssl:0=
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+ acct-group/ntp
+ acct-user/ntp
+"
+DEPEND="${CDEPEND}
+ app-text/asciidoc
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+WAF_BINARY="${S}/waf"
+
+src_prepare() {
+ default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+ if ! use libbsd ; then
+ epatch "${FILESDIR}/${PN}-no-bsd.patch"
+ fi
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --refclock="${CLOCKSTRING}"
+ --build-epoch="$(date +%s)"
+ $(use doc && echo "--enable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+ python_foreach_impl python_optimize
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2020-02-10 21:25 Michał Górny
0 siblings, 0 replies; 91+ messages in thread
From: Michał Górny @ 2020-02-10 21:25 UTC (permalink / raw
To: gentoo-commits
commit: d354f6bda46199e335a145f99fc10c2177e62921
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 21:08:03 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 21:24:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d354f6bd
net-misc/ntpsec: Remove py2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.4.ebuild | 2 +-
net-misc/ntpsec/ntpsec-1.1.6.ebuild | 2 +-
net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild | 2 +-
net-misc/ntpsec/ntpsec-1.1.8.ebuild | 2 +-
net-misc/ntpsec/ntpsec-9999.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
index 89b9f6d4b4c..213ae93609a 100644
--- a/net-misc/ntpsec/ntpsec-1.1.4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
PYTHON_REQ_USE='threads(+)'
inherit flag-o-matic python-r1 waf-utils systemd user
diff --git a/net-misc/ntpsec/ntpsec-1.1.6.ebuild b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
index 8862e1be456..67b24ffac50 100644
--- a/net-misc/ntpsec/ntpsec-1.1.6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
PYTHON_REQ_USE='threads(+)'
inherit flag-o-matic python-r1 waf-utils systemd user
diff --git a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
index ec96cc7d831..b9f7fcb422b 100644
--- a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
PYTHON_REQ_USE='threads(+)'
inherit flag-o-matic python-r1 waf-utils systemd
diff --git a/net-misc/ntpsec/ntpsec-1.1.8.ebuild b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
index 32a1121feb4..1316806dc69 100644
--- a/net-misc/ntpsec/ntpsec-1.1.8.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
PYTHON_REQ_USE='threads(+)'
inherit flag-o-matic python-r1 waf-utils systemd
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 32a1121feb4..1316806dc69 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
PYTHON_REQ_USE='threads(+)'
inherit flag-o-matic python-r1 waf-utils systemd
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2020-05-18 12:58 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2020-05-18 12:58 UTC (permalink / raw
To: gentoo-commits
commit: c44ea341e725a7aa890762bfc38f46ded65a0eab
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon May 18 12:58:05 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon May 18 12:58:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c44ea341
net-misc/ntpsec: arm stable wrt bug #721526
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.8.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.8.ebuild b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
index 22989ca4d48..aa3bf4b1544 100644
--- a/net-misc/ntpsec/ntpsec-1.1.8.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
@@ -12,12 +12,12 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
BDEPEND=""
- KEYWORDS=""
+ KEYWORDS="arm"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
BDEPEND=""
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2020-05-18 21:10 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2020-05-18 21:10 UTC (permalink / raw
To: gentoo-commits
commit: 91e21caa42acb4bfbda40c52a44328c50095bbc6
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon May 18 21:09:32 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon May 18 21:09:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e21caa
net-misc/ntpsec: amd64 stable wrt bug #721526
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.8.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.8.ebuild b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
index aa3bf4b1544..9da748d1003 100644
--- a/net-misc/ntpsec/ntpsec-1.1.8.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
@@ -12,12 +12,12 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
BDEPEND=""
- KEYWORDS="arm"
+ KEYWORDS="amd64 arm"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
BDEPEND=""
- KEYWORDS="~amd64 arm ~arm64 ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2020-06-20 0:42 Aaron Bauman
0 siblings, 0 replies; 91+ messages in thread
From: Aaron Bauman @ 2020-06-20 0:42 UTC (permalink / raw
To: gentoo-commits
commit: fd1a7b82b201c4a2f1a72eeb8c52f226be22e2c0
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 20 00:41:33 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Jun 20 00:41:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1a7b82
net-misc/ntpsec: drop vulnerable
Bug: https://bugs.gentoo.org/694748
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
net-misc/ntpsec/Manifest | 2 -
net-misc/ntpsec/ntpsec-1.1.4.ebuild | 160 ------------------------------------
net-misc/ntpsec/ntpsec-1.1.6.ebuild | 159 -----------------------------------
3 files changed, 321 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 3989a106bba..caba39b8d1d 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,4 +1,2 @@
-DIST ntpsec-1.1.4.tar.gz 2536268 BLAKE2B 320e7afee1b776e0327f8bf34bc0b8cd3a2c67fd9fd16564323ce825cb9e36d7d5fb48a38b734600286cbd039f41f296d9e488e25d2680f08412aa983101987b SHA512 1b74e7cb87e189137e1b66b52ce89498e0061a10abf017c36bfdecb4aefe9c3fb6e8fd7819a9f822fb946dca6ae20ee724b2aed35e03d73f8e3015d8818d02db
-DIST ntpsec-1.1.6.tar.gz 2600632 BLAKE2B 1ee3e266f9a0ff45fc8f001a2b5a1722c6acf75a2151ee3724812acef3409eccbb865b321a3a346c7ced1770aa24190281a94593b881b4bbb0a2b2e6df5629cc SHA512 f57fde6f329a858313968798d64df5e93d7eba43edf4752cd0eb45ff1a2237ce2731b4603ec997c493dea85edb42976f96eb1508beae087a8c2ae8a76c0a6941
DIST ntpsec-1.1.7.tar.gz 2534524 BLAKE2B 5777ecca4ceb988632fadc0e7124530993a7758cdf335e8cd90f0ec1a8b643be89b67c0e2bf49d6d7193bf92ded138af0df4b5856c0d113f552ef22dd8a6cadf SHA512 734b12820539e655e504dd5071a58b9d1f80c0b0c3c7458c797ba7ada23d8e446751fbcbddd9832d9151a3ba9464749878db9e77e23cdd5f6215ab9e1d908ae9
DIST ntpsec-1.1.8.tar.gz 2589363 BLAKE2B e7e11a7d980599ac598f084608160d3f6f6cf8e2aab5fb45cc15cabca30462bd03db7b9ecc140826c5d7b5e26f49b48f7f2b6043bdc2ffa1d73167347fb8123f SHA512 0920f25adf68f1b8ccd1734c5d61ba1c858cd86b342db7b5155dd9b58e538aa96aad3fd4058597f079ec3df63cb51d2900ac8e6d9c84d6f2bd4a3a22cc0c967c
diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
deleted file mode 100644
index 7af091fcc99..00000000000
--- a/net-misc/ntpsec/ntpsec-1.1.4.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE='threads(+)'
-
-inherit flag-o-matic python-r1 waf-utils systemd user
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
- BDEPEND=""
-else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
- BDEPEND=""
- KEYWORDS="amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/"
-
-NTPSEC_REFCLOCK=(
- oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea neoclock modem
- local)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
- ${BDEPEND}
- sys-libs/libcap
- dev-python/psutil[${PYTHON_USEDEP}]
- libbsd? ( dev-libs/libbsd:0= )
- dev-libs/openssl:0=
- seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
- !net-misc/ntp
- !net-misc/openntpd
-"
-DEPEND="${CDEPEND}
- app-text/asciidoc
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- sys-devel/bison
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
-"
-
-WAF_BINARY="${S}/waf"
-
-pkg_setup() {
- enewgroup ntp 123
- enewuser ntp 123 -1 /dev/null ntp
-}
-
-src_prepare() {
- default
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
- if ! use libbsd ; then
- epatch "${FILESDIR}/${PN}-no-bsd.patch"
- fi
- python_copy_sources
-}
-
-src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
-
- local string_127=""
- local rclocks="";
- local CLOCKSTRING=""
-
- for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
- string_127+="$refclock,"
- fi
- done
- CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
- local myconf=(
- --nopyc
- --nopyo
- --refclock="${CLOCKSTRING}"
- $(use doc && echo "--enable-doc")
- $(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
- $(use nist && echo "--enable-lockclock")
- $(use samba && echo "--enable-mssntp")
- $(use seccomp && echo "--enable-seccomp")
- $(use smear && echo "--enable-leap-smear")
- $(use tests && echo "--alltests")
- $(use debug && echo "--enable-debug")
- )
-
- python_configure() {
- waf-utils_src_configure "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
-}
-
-src_compile() {
- unset MAKEOPTS
- python_compile() {
- waf-utils_src_compile
- }
- python_foreach_impl run_in_build_dir python_compile
-}
-
-src_install() {
- python_install() {
- waf-utils_src_install
- }
- python_foreach_impl run_in_build_dir python_install
-
- # Install heat generating scripts
- use heat && dosbin "${S}"/contrib/ntpheat{,usb}
-
- # Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
- newconfd "${FILESDIR}"/ntpd.confd ntp
-
- # Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
-
- # Prepare a directory for the ntp.drift file
- mkdir -pv "${ED}"/var/lib/ntp
- chown ntp:ntp "${ED}"/var/lib/ntp
- chmod 770 "${ED}"/var/lib/ntp
- keepdir /var/lib/ntp
-
- # Install a log rotate script
- mkdir -pv "${ED}"/etc/logrotate.d
- cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
-
- # Install the configuration file and sample configuration
- cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
- cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
-
- # move doc files to /usr/share/doc/"${P}"
- use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-
-pkg_postinst() {
- einfo "If you want to serve time on your local network, then"
- einfo "you should disable all the ref_clocks unless you have"
- einfo "one and can get stable time from it. Feel free to try"
- einfo "it but PPS probably won't work unless you have a UART"
- einfo "GPS that actually provides PPS messages."
-}
diff --git a/net-misc/ntpsec/ntpsec-1.1.6.ebuild b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
deleted file mode 100644
index 4b8a3d2699b..00000000000
--- a/net-misc/ntpsec/ntpsec-1.1.6.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE='threads(+)'
-
-inherit flag-o-matic python-r1 waf-utils systemd user
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
- BDEPEND=""
-else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
- BDEPEND=""
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/"
-
-NTPSEC_REFCLOCK=(
- oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea neoclock modem
- local)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
- ${BDEPEND}
- sys-libs/libcap
- dev-python/psutil[${PYTHON_USEDEP}]
- libbsd? ( dev-libs/libbsd:0= )
- dev-libs/openssl:0=
- seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
- !net-misc/ntp
- !net-misc/openntpd
-"
-DEPEND="${CDEPEND}
- app-text/asciidoc
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- sys-devel/bison
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
-"
-
-WAF_BINARY="${S}/waf"
-
-pkg_setup() {
- enewgroup ntp 123
- enewuser ntp 123 -1 /dev/null ntp
-}
-
-src_prepare() {
- default
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
- if ! use libbsd ; then
- epatch "${FILESDIR}/${PN}-no-bsd.patch"
- fi
- python_copy_sources
-}
-
-src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
-
- local string_127=""
- local rclocks="";
- local CLOCKSTRING=""
-
- for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
- string_127+="$refclock,"
- fi
- done
- CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
- local myconf=(
- --nopyc
- --nopyo
- --refclock="${CLOCKSTRING}"
- $(use doc && echo "--enable-doc")
- $(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
- $(use samba && echo "--enable-mssntp")
- $(use seccomp && echo "--enable-seccomp")
- $(use smear && echo "--enable-leap-smear")
- $(use tests && echo "--alltests")
- $(use debug && echo "--enable-debug")
- )
-
- python_configure() {
- waf-utils_src_configure "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
-}
-
-src_compile() {
- unset MAKEOPTS
- python_compile() {
- waf-utils_src_compile
- }
- python_foreach_impl run_in_build_dir python_compile
-}
-
-src_install() {
- python_install() {
- waf-utils_src_install
- }
- python_foreach_impl run_in_build_dir python_install
-
- # Install heat generating scripts
- use heat && dosbin "${S}"/contrib/ntpheat{,usb}
-
- # Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
- newconfd "${FILESDIR}"/ntpd.confd ntp
-
- # Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
-
- # Prepare a directory for the ntp.drift file
- mkdir -pv "${ED}"/var/lib/ntp
- chown ntp:ntp "${ED}"/var/lib/ntp
- chmod 770 "${ED}"/var/lib/ntp
- keepdir /var/lib/ntp
-
- # Install a log rotate script
- mkdir -pv "${ED}"/etc/logrotate.d
- cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
-
- # Install the configuration file and sample configuration
- cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
- cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
-
- # move doc files to /usr/share/doc/"${P}"
- use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-
-pkg_postinst() {
- einfo "If you want to serve time on your local network, then"
- einfo "you should disable all the ref_clocks unless you have"
- einfo "one and can get stable time from it. Feel free to try"
- einfo "it but PPS probably won't work unless you have a UART"
- einfo "GPS that actually provides PPS messages."
-}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2020-06-27 23:35 Andreas K. Hüttel
0 siblings, 0 replies; 91+ messages in thread
From: Andreas K. Hüttel @ 2020-06-27 23:35 UTC (permalink / raw
To: gentoo-commits
commit: 359d7c57fbcbd338d309bada2d67423b94cf6d06
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 27 23:34:49 2020 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Jun 27 23:34:49 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=359d7c57
net-misc/ntpsec: Version bump
Bug: https://bugs.gentoo.org/721150
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/{ntpsec-9999.ebuild => ntpsec-1.1.9.ebuild} | 5 +----
net-misc/ntpsec/ntpsec-9999.ebuild | 5 +----
3 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index caba39b8d1d..d0f3a234207 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1,3 @@
DIST ntpsec-1.1.7.tar.gz 2534524 BLAKE2B 5777ecca4ceb988632fadc0e7124530993a7758cdf335e8cd90f0ec1a8b643be89b67c0e2bf49d6d7193bf92ded138af0df4b5856c0d113f552ef22dd8a6cadf SHA512 734b12820539e655e504dd5071a58b9d1f80c0b0c3c7458c797ba7ada23d8e446751fbcbddd9832d9151a3ba9464749878db9e77e23cdd5f6215ab9e1d908ae9
DIST ntpsec-1.1.8.tar.gz 2589363 BLAKE2B e7e11a7d980599ac598f084608160d3f6f6cf8e2aab5fb45cc15cabca30462bd03db7b9ecc140826c5d7b5e26f49b48f7f2b6043bdc2ffa1d73167347fb8123f SHA512 0920f25adf68f1b8ccd1734c5d61ba1c858cd86b342db7b5155dd9b58e538aa96aad3fd4058597f079ec3df63cb51d2900ac8e6d9c84d6f2bd4a3a22cc0c967c
+DIST ntpsec-1.1.9.tar.gz 2606066 BLAKE2B bbc482333c7f86936fa20751df1b427bc24be159969050caf5751e26724714bbf6491b120986563497f015c96ac9cdbdf0e999c6446a68798aff23076f631ecc SHA512 e04267aa675a5b528f3478d00329a569ecb9bbe2b6ad18697020854d2ee451bc188c4603cd5f420a08a7e3bf047d2db1301416f57f9156df23aceb1f57303b0b
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
similarity index 98%
copy from net-misc/ntpsec/ntpsec-9999.ebuild
copy to net-misc/ntpsec/ntpsec-1.1.9.ebuild
index deb37a522fe..0692e84af87 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
@@ -11,12 +11,10 @@ inherit flag-o-matic python-r1 waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
- BDEPEND=""
- KEYWORDS=""
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
@@ -36,7 +34,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
CDEPEND="${PYTHON_DEPS}
- ${BDEPEND}
sys-libs/libcap
dev-python/psutil[${PYTHON_USEDEP}]
libbsd? ( dev-libs/libbsd:0= )
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index deb37a522fe..0692e84af87 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -11,12 +11,10 @@ inherit flag-o-matic python-r1 waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
- BDEPEND=""
- KEYWORDS=""
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- BDEPEND=""
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
@@ -36,7 +34,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
CDEPEND="${PYTHON_DEPS}
- ${BDEPEND}
sys-libs/libcap
dev-python/psutil[${PYTHON_USEDEP}]
libbsd? ( dev-libs/libbsd:0= )
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2020-07-11 17:57 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2020-07-11 17:57 UTC (permalink / raw
To: gentoo-commits
commit: 46e897365c5a7976c45b1cd609688d6e1a19d851
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 11 17:57:53 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 17:57:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46e89736
net-misc/ntpsec: arm64 stable (bug #732234)
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.9.ebuild b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
index 0692e84af87..30f871a15f5 100644
--- a/net-misc/ntpsec/ntpsec-1.1.9.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2020-07-11 18:31 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2020-07-11 18:31 UTC (permalink / raw
To: gentoo-commits
commit: 43e3fb4967f7f3241de8aaca186c200fac861db6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 11 18:30:59 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 18:30:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e3fb49
net-misc/ntpsec: arm stable (bug #732234)
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.9.ebuild b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
index 30f871a15f5..f04cf238fa8 100644
--- a/net-misc/ntpsec/ntpsec-1.1.9.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="~amd64 ~arm arm64 ~x86"
+ KEYWORDS="~amd64 arm arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2020-07-17 23:25 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2020-07-17 23:25 UTC (permalink / raw
To: gentoo-commits
commit: e194794c9a57d4a424186c011c5e60247e9334be
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 21:33:20 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 23:24:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e194794c
net-misc/ntpsec: amd64 stable (bug #732234)
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.9.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.9.ebuild b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
index f04cf238fa8..1af747e2e91 100644
--- a/net-misc/ntpsec/ntpsec-1.1.9.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="~amd64 arm arm64 ~x86"
+ KEYWORDS="amd64 arm arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-01-26 3:25 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2021-01-26 3:25 UTC (permalink / raw
To: gentoo-commits
commit: 9ba93e6469bc705f8acd83634a29a411fede044b
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 26 03:25:12 2021 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 03:25:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba93e64
net-misc/ntpsec: add latest release (with missing py extension)
Closes: https://bugs.gentoo.org/show_bug.cgi?id=751982
Closes: https://bugs.gentoo.org/show_bug.cgi?id=753785
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/ntpsec-1.2.0.ebuild | 163 ++++++++++++++++++++++++++++++++++++
2 files changed, 164 insertions(+)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index ce7e422fd68..7de62087eed 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1 +1,2 @@
DIST ntpsec-1.1.9.tar.gz 2606066 BLAKE2B bbc482333c7f86936fa20751df1b427bc24be159969050caf5751e26724714bbf6491b120986563497f015c96ac9cdbdf0e999c6446a68798aff23076f631ecc SHA512 e04267aa675a5b528f3478d00329a569ecb9bbe2b6ad18697020854d2ee451bc188c4603cd5f420a08a7e3bf047d2db1301416f57f9156df23aceb1f57303b0b
+DIST ntpsec-1.2.0.tar.gz 2625968 BLAKE2B 23ceae5a1f241fcf5a17801fec2f15f9b9d9d64a108bebe29bdc75196303091eaf0efee7df67ce10acefb7c8dba90ce1144a0c0c5432797d7659714d162f26bb SHA512 9e18b3ca2f786a1ea323ba2384b51cff3d862115cea1ae576fc98172c476ac5e7d0d0fc873e47be0b19b050204ea9ed49669d94e66eb94525068dd1b08a8ae71
diff --git a/net-misc/ntpsec/ntpsec-1.2.0.ebuild b/net-misc/ntpsec/ntpsec-1.2.0.ebuild
new file mode 100644
index 00000000000..bc77d00d178
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.2.0.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libbsd? ( dev-libs/libbsd:0= )
+ dev-libs/openssl:0=
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+ acct-group/ntp
+ acct-user/ntp
+"
+DEPEND="${CDEPEND}
+ >=app-text/asciidoc-8.6.8
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
+ "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
+)
+
+WAF_BINARY="${S}/waf"
+
+src_prepare() {
+ default
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript
+ if ! use libbsd ; then
+ epatch "${FILESDIR}/${PN}-no-bsd.patch"
+ fi
+ # remove extra default pool servers
+ sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --enable-pylib ext
+ --refclock="${CLOCKSTRING}"
+ --build-epoch="$(date +%s)"
+ $(use doc || echo "--disable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ }
+ python_foreach_impl run_in_build_dir python_install
+ python_foreach_impl python_optimize
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-04-11 1:09 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2021-04-11 1:09 UTC (permalink / raw
To: gentoo-commits
commit: 57a79f77b3ba9751622666956c52a558ec72de51
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 11 01:08:33 2021 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 01:08:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a79f77
net-misc/ntpsec: switch to distutils-r1, fix shebangs
Should also fix bug 779880
Closes: https://bugs.gentoo.org/778011
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
net-misc/ntpsec/{ntpsec-1.2.0.ebuild => ntpsec-1.2.0-r1.ebuild} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.0.ebuild b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
similarity index 96%
rename from net-misc/ntpsec/ntpsec-1.2.0.ebuild
rename to net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
index a5193f99590..640727916e0 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
@@ -3,10 +3,11 @@
EAPI=6
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{6..9} )
PYTHON_REQ_USE='threads(+)'
+DISTUTILS_USE_SETUPTOOLS=no
-inherit flag-o-matic python-r1 waf-utils systemd
+inherit distutils-r1 flag-o-matic waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -72,6 +73,7 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf
+
python_copy_sources
}
@@ -122,6 +124,7 @@ src_compile() {
src_install() {
python_install() {
waf-utils_src_install
+ python_fix_shebang "${ED}"
}
python_foreach_impl run_in_build_dir python_install
python_foreach_impl python_optimize
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-04-21 18:51 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-04-21 18:51 UTC (permalink / raw
To: gentoo-commits
commit: 6e3cb0fb48db41a73bc6c2981f80315923002138
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 09:31:35 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 18:50:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3cb0fb
net-misc/ntpsec: drop epatch
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.9.ebuild | 6 +++---
net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild | 8 ++++----
net-misc/ntpsec/ntpsec-9999.ebuild | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.9.ebuild b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
index 9ac6c89d595..0cfaff72ab5 100644
--- a/net-misc/ntpsec/ntpsec-1.1.9.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_REQ_USE='threads(+)'
-inherit epatch flag-o-matic python-r1 waf-utils systemd
+inherit flag-o-matic python-r1 waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -66,9 +66,9 @@ WAF_BINARY="${S}/waf"
src_prepare() {
default
# Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
+ sed -i -e '/Strip binaries/d' wscript || die
if ! use libbsd ; then
- epatch "${FILESDIR}/${PN}-no-bsd.patch"
+ eapply "${FILESDIR}/${PN}-no-bsd.patch"
fi
python_copy_sources
}
diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
index f63dc7958aa..efc382f1edd 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6..9} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
-inherit epatch distutils-r1 flag-o-matic waf-utils systemd
+inherit distutils-r1 flag-o-matic waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -68,12 +68,12 @@ WAF_BINARY="${S}/waf"
src_prepare() {
default
# Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
+ sed -i -e '/Strip binaries/d' wscript || die
if ! use libbsd ; then
- epatch "${FILESDIR}/${PN}-no-bsd.patch"
+ eapply "${FILESDIR}/${PN}-no-bsd.patch"
fi
# remove extra default pool servers
- sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf
+ sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
python_copy_sources
}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index c1244770794..361635d422b 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python3_{7,8} )
PYTHON_REQ_USE='threads(+)'
-inherit epatch flag-o-matic python-r1 waf-utils systemd
+inherit flag-o-matic python-r1 waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -61,9 +61,9 @@ WAF_BINARY="${S}/waf"
src_prepare() {
default
# Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript
+ sed -i -e '/Strip binaries/d' wscript || die
if ! use libbsd ; then
- epatch "${FILESDIR}/${PN}-no-bsd.patch"
+ eapply "${FILESDIR}/${PN}-no-bsd.patch"
fi
python_copy_sources
}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-05-30 5:45 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-05-30 5:45 UTC (permalink / raw
To: gentoo-commits
commit: 45af7a2dee10bed908bb3d187f0c3371f4584ac3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 05:38:34 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 30 05:45:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45af7a2d
net-misc/ntpsec: propagate Python 3.9
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.1.9.ebuild | 2 +-
net-misc/ntpsec/ntpsec-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.1.9.ebuild b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
index 0cfaff72ab5..f92de0e4f1d 100644
--- a/net-misc/ntpsec/ntpsec-1.1.9.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
PYTHON_REQ_USE='threads(+)'
inherit flag-o-matic python-r1 waf-utils systemd
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 361635d422b..7833fafd971 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
PYTHON_REQ_USE='threads(+)'
inherit flag-o-matic python-r1 waf-utils systemd
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-05-30 9:59 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-05-30 9:59 UTC (permalink / raw
To: gentoo-commits
commit: bf85f12a8cc890aec15daea4b7cb549ef03bf68f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 30 09:58:20 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 30 09:58:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf85f12a
net-misc/ntpsec: Stabilize 1.2.0-r1 arm, #792945
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
index efc382f1edd..862e63a17f2 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-05-31 6:03 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2021-05-31 6:03 UTC (permalink / raw
To: gentoo-commits
commit: 2fde5b444d499884c23ea54c803accaea5b91c04
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 06:02:41 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon May 31 06:02:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fde5b44
net-misc/ntpsec: amd64 stable wrt bug #792945
Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
index 862e63a17f2..1032524529c 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="~amd64 arm ~arm64 ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-06-03 16:26 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-06-03 16:26 UTC (permalink / raw
To: gentoo-commits
commit: 40522d0905a72f49e86d5f90ea9813d4496174c9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 3 16:24:05 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 3 16:26:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40522d09
net-misc/ntpsec: Stabilize 1.2.0-r1 arm64, #792945
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
index 1032524529c..b303b583ef9 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="amd64 arm ~arm64 ~x86"
+ KEYWORDS="amd64 arm arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-06-10 21:11 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-06-10 21:11 UTC (permalink / raw
To: gentoo-commits
commit: 6e2c82250630c9e48bf26a0cf81e7a66be245864
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 10 21:10:13 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 21:10:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2c8225
net-misc/ntpsec: port live to EAPI 7 too
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 7833fafd971..4d520e72c5a 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
PYTHON_REQ_USE='threads(+)'
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-06-10 21:11 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-06-10 21:11 UTC (permalink / raw
To: gentoo-commits
commit: 93c801b9f85e64aab83354f3283b5bd89229a044
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 10 21:11:07 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 10 21:11:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93c801b9
net-misc/ntpsec: drop 1.1.9
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 -
net-misc/ntpsec/ntpsec-1.1.9.ebuild | 160 ------------------------------------
2 files changed, 161 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 7de62087eed..4f7af2898d2 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1 @@
-DIST ntpsec-1.1.9.tar.gz 2606066 BLAKE2B bbc482333c7f86936fa20751df1b427bc24be159969050caf5751e26724714bbf6491b120986563497f015c96ac9cdbdf0e999c6446a68798aff23076f631ecc SHA512 e04267aa675a5b528f3478d00329a569ecb9bbe2b6ad18697020854d2ee451bc188c4603cd5f420a08a7e3bf047d2db1301416f57f9156df23aceb1f57303b0b
DIST ntpsec-1.2.0.tar.gz 2625968 BLAKE2B 23ceae5a1f241fcf5a17801fec2f15f9b9d9d64a108bebe29bdc75196303091eaf0efee7df67ce10acefb7c8dba90ce1144a0c0c5432797d7659714d162f26bb SHA512 9e18b3ca2f786a1ea323ba2384b51cff3d862115cea1ae576fc98172c476ac5e7d0d0fc873e47be0b19b050204ea9ed49669d94e66eb94525068dd1b08a8ae71
diff --git a/net-misc/ntpsec/ntpsec-1.1.9.ebuild b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
deleted file mode 100644
index f92de0e4f1d..00000000000
--- a/net-misc/ntpsec/ntpsec-1.1.9.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-PYTHON_REQ_USE='threads(+)'
-
-inherit flag-o-matic python-r1 waf-utils systemd
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
-else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
- KEYWORDS="amd64 arm arm64 ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/"
-
-NTPSEC_REFCLOCK=(
- oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea neoclock modem
- local)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
- sys-libs/libcap
- dev-python/psutil[${PYTHON_USEDEP}]
- libbsd? ( dev-libs/libbsd:0= )
- dev-libs/openssl:0=
- seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
- !net-misc/ntp
- !net-misc/openntpd
- acct-group/ntp
- acct-user/ntp
-"
-DEPEND="${CDEPEND}
- >=app-text/asciidoc-8.6.8
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- sys-devel/bison
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
- "${FILESDIR}/${P}-remove-asciidoctor-from-config.patch"
-)
-
-WAF_BINARY="${S}/waf"
-
-src_prepare() {
- default
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript || die
- if ! use libbsd ; then
- eapply "${FILESDIR}/${PN}-no-bsd.patch"
- fi
- python_copy_sources
-}
-
-src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
-
- local string_127=""
- local rclocks="";
- local CLOCKSTRING=""
-
- for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
- string_127+="$refclock,"
- fi
- done
- CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
- local myconf=(
- --nopyc
- --nopyo
- --refclock="${CLOCKSTRING}"
- --build-epoch="$(date +%s)"
- $(use doc || echo "--disable-doc")
- $(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
- $(use samba && echo "--enable-mssntp")
- $(use seccomp && echo "--enable-seccomp")
- $(use smear && echo "--enable-leap-smear")
- $(use tests && echo "--alltests")
- $(use debug && echo "--enable-debug")
- )
-
- python_configure() {
- waf-utils_src_configure "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
-}
-
-src_compile() {
- unset MAKEOPTS
- python_compile() {
- waf-utils_src_compile
- }
- python_foreach_impl run_in_build_dir python_compile
-}
-
-src_install() {
- python_install() {
- waf-utils_src_install
- }
- python_foreach_impl run_in_build_dir python_install
- python_foreach_impl python_optimize
-
- # Install heat generating scripts
- use heat && dosbin "${S}"/contrib/ntpheat{,usb}
-
- # Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
- newconfd "${FILESDIR}"/ntpd.confd ntp
-
- # Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
-
- # Prepare a directory for the ntp.drift file
- mkdir -pv "${ED}"/var/lib/ntp
- chown ntp:ntp "${ED}"/var/lib/ntp
- chmod 770 "${ED}"/var/lib/ntp
- keepdir /var/lib/ntp
-
- # Install a log rotate script
- mkdir -pv "${ED}"/etc/logrotate.d
- cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
-
- # Install the configuration file and sample configuration
- cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
- cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
-
- # move doc files to /usr/share/doc/"${P}"
- use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-
-pkg_postinst() {
- einfo "If you want to serve time on your local network, then"
- einfo "you should disable all the ref_clocks unless you have"
- einfo "one and can get stable time from it. Feel free to try"
- einfo "it but PPS probably won't work unless you have a UART"
- einfo "GPS that actually provides PPS messages."
-}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-06-11 6:39 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-06-11 6:39 UTC (permalink / raw
To: gentoo-commits
commit: e448a0c3088ea0088b62f9b16debaccbba4d3334
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 11 06:38:52 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 06:38:52 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e448a0c3
net-misc/ntpsec: add 1.2.1
Bug: https://bugs.gentoo.org/795321
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/ntpsec-1.2.1.ebuild | 169 ++++++++++++++++++++++++++++++++++++
2 files changed, 170 insertions(+)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 4f7af2898d2..01c84429c97 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1 +1,2 @@
DIST ntpsec-1.2.0.tar.gz 2625968 BLAKE2B 23ceae5a1f241fcf5a17801fec2f15f9b9d9d64a108bebe29bdc75196303091eaf0efee7df67ce10acefb7c8dba90ce1144a0c0c5432797d7659714d162f26bb SHA512 9e18b3ca2f786a1ea323ba2384b51cff3d862115cea1ae576fc98172c476ac5e7d0d0fc873e47be0b19b050204ea9ed49669d94e66eb94525068dd1b08a8ae71
+DIST ntpsec-1.2.1.tar.gz 2681237 BLAKE2B bfb2674131718dcf9f393e93d1148cfb6631591dbcce1ade91746586f261123b80b238393ac2a763fab119cd627f8eae4b006b023ad2b319e752db9eb4b04cc0 SHA512 0b8b0bda52d3025f6e9a06c00b1e0c25c595ada72b87ed0e5d3d6f77a034f557745156bc6d9a263c9876c041efffa38d42fa93ba8bfda31f67efbd842a726277
diff --git a/net-misc/ntpsec/ntpsec-1.2.1.ebuild b/net-misc/ntpsec/ntpsec-1.2.1.ebuild
new file mode 100644
index 00000000000..593fe355639
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.2.1.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_REQ_USE='threads(+)'
+DISTUTILS_USE_SETUPTOOLS=no
+
+inherit distutils-r1 flag-o-matic waf-utils systemd
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
+else
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
+ RESTRICT="mirror"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/"
+
+NTPSEC_REFCLOCK=(
+ oncore trimble truetime gpsd jjy generic spectracom
+ shm pps hpgps zyfer arbiter nmea neoclock modem
+ local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+ sys-libs/libcap
+ dev-python/psutil[${PYTHON_USEDEP}]
+ libbsd? ( dev-libs/libbsd:0= )
+ dev-libs/openssl:0=
+ seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ !net-misc/ntp
+ !net-misc/openntpd
+ acct-group/ntp
+ acct-user/ntp
+"
+DEPEND="${CDEPEND}
+ >=app-text/asciidoc-8.6.8
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ sys-devel/bison
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
+ "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
+ "${FILESDIR}/${PN}-1.2.0-move-newfstatat.patch"
+ "${FILESDIR}/${PN}-1.2.0-seccomp.patch"
+)
+
+WAF_BINARY="${S}/waf"
+
+src_prepare() {
+ default
+
+ # Remove autostripping of binaries
+ sed -i -e '/Strip binaries/d' wscript || die
+ if ! use libbsd ; then
+ eapply "${FILESDIR}/${PN}-no-bsd.patch"
+ fi
+ # remove extra default pool servers
+ sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
+
+ python_copy_sources
+}
+
+src_configure() {
+ is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+ local string_127=""
+ local rclocks="";
+ local CLOCKSTRING=""
+
+ for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+ if use rclock_${refclock} ; then
+ string_127+="$refclock,"
+ fi
+ done
+ CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+ local myconf=(
+ --nopyc
+ --nopyo
+ --enable-pylib ext
+ --refclock="${CLOCKSTRING}"
+ #--build-epoch="$(date +%s)"
+ $(use doc || echo "--disable-doc")
+ $(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
+ $(use samba && echo "--enable-mssntp")
+ $(use seccomp && echo "--enable-seccomp")
+ $(use smear && echo "--enable-leap-smear")
+ $(use tests && echo "--alltests")
+ $(use debug && echo "--enable-debug")
+ )
+
+ python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
+ }
+ python_foreach_impl run_in_build_dir python_configure
+}
+
+src_compile() {
+ unset MAKEOPTS
+ python_compile() {
+ waf-utils_src_compile
+ }
+ python_foreach_impl run_in_build_dir python_compile
+}
+
+src_install() {
+ python_install() {
+ waf-utils_src_install
+ python_fix_shebang "${ED}"
+ }
+ python_foreach_impl run_in_build_dir python_install
+ python_foreach_impl python_optimize
+
+ # Install heat generating scripts
+ use heat && dosbin "${S}"/contrib/ntpheat{,usb}
+
+ # Install the openrc files
+ newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newconfd "${FILESDIR}"/ntpd.confd ntp
+
+ # Install the systemd unit file
+ systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
+
+ # Prepare a directory for the ntp.drift file
+ mkdir -pv "${ED}"/var/lib/ntp
+ chown ntp:ntp "${ED}"/var/lib/ntp
+ chmod 770 "${ED}"/var/lib/ntp
+ keepdir /var/lib/ntp
+
+ # Install a log rotate script
+ mkdir -pv "${ED}"/etc/logrotate.d
+ cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
+
+ # Install the configuration file and sample configuration
+ cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
+ cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
+
+ # move doc files to /usr/share/doc/"${P}"
+ use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
+
+pkg_postinst() {
+ einfo "If you want to serve time on your local network, then"
+ einfo "you should disable all the ref_clocks unless you have"
+ einfo "one and can get stable time from it. Feel free to try"
+ einfo "it but PPS probably won't work unless you have a UART"
+ einfo "GPS that actually provides PPS messages."
+}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-06-21 19:05 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-06-21 19:05 UTC (permalink / raw
To: gentoo-commits
commit: ffa9f40d192c04e980ab9d2db729c57158bd2976
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 19:02:16 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 19:02:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa9f40d
net-misc/ntpsec: Stabilize 1.2.1 arm64, #795321
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1.ebuild b/net-misc/ntpsec/ntpsec-1.2.1.ebuild
index 593fe355639..54602724b47 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-06-21 19:05 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-06-21 19:05 UTC (permalink / raw
To: gentoo-commits
commit: f4738ce1eb11b1e59ff7e001f84967967d4dc738
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 19:02:49 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 19:02:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4738ce1
net-misc/ntpsec: Stabilize 1.2.1 amd64, #795321
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1.ebuild b/net-misc/ntpsec/ntpsec-1.2.1.ebuild
index 54602724b47..42be563a105 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="~amd64 ~arm arm64 ~x86"
+ KEYWORDS="amd64 ~arm arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-06-22 19:45 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2021-06-22 19:45 UTC (permalink / raw
To: gentoo-commits
commit: 11c5bb48ea28427df38f0c227b51b2b99d6ad2b7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 19:36:25 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 19:36:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c5bb48
net-misc/ntpsec: Stabilize 1.2.1 arm, #795321
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1.ebuild b/net-misc/ntpsec/ntpsec-1.2.1.ebuild
index 42be563a105..60874b5802b 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="amd64 ~arm arm64 ~x86"
+ KEYWORDS="amd64 arm arm64 ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-12-02 22:10 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2021-12-02 22:10 UTC (permalink / raw
To: gentoo-commits
commit: 155d768d81203eda2344e98b3c9510035cc4e778
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 2 22:09:48 2021 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Thu Dec 2 22:10:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155d768d
net-misc/ntpsec: Remove vulnerable 1.2.0
Bug: https://bugs.gentoo.org/795321
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 -
net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild | 169 ---------------------------------
2 files changed, 170 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 01c84429c974..a5a14c8a3820 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1 @@
-DIST ntpsec-1.2.0.tar.gz 2625968 BLAKE2B 23ceae5a1f241fcf5a17801fec2f15f9b9d9d64a108bebe29bdc75196303091eaf0efee7df67ce10acefb7c8dba90ce1144a0c0c5432797d7659714d162f26bb SHA512 9e18b3ca2f786a1ea323ba2384b51cff3d862115cea1ae576fc98172c476ac5e7d0d0fc873e47be0b19b050204ea9ed49669d94e66eb94525068dd1b08a8ae71
DIST ntpsec-1.2.1.tar.gz 2681237 BLAKE2B bfb2674131718dcf9f393e93d1148cfb6631591dbcce1ade91746586f261123b80b238393ac2a763fab119cd627f8eae4b006b023ad2b319e752db9eb4b04cc0 SHA512 0b8b0bda52d3025f6e9a06c00b1e0c25c595ada72b87ed0e5d3d6f77a034f557745156bc6d9a263c9876c041efffa38d42fa93ba8bfda31f67efbd842a726277
diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild b/net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild
deleted file mode 100644
index 9d2d01df34ea..000000000000
--- a/net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE='threads(+)'
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1 flag-o-matic waf-utils systemd
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
-else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
- KEYWORDS="amd64 arm arm64 ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/"
-
-NTPSEC_REFCLOCK=(
- oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea neoclock modem
- local)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
- sys-libs/libcap
- dev-python/psutil[${PYTHON_USEDEP}]
- libbsd? ( dev-libs/libbsd:0= )
- dev-libs/openssl:0=
- seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
- !net-misc/ntp
- !net-misc/openntpd
- acct-group/ntp
- acct-user/ntp
-"
-DEPEND="${CDEPEND}
- >=app-text/asciidoc-8.6.8
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- sys-devel/bison
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
- "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
- "${FILESDIR}/${PN}-1.2.0-move-newfstatat.patch"
- "${FILESDIR}/${PN}-1.2.0-seccomp.patch"
-)
-
-WAF_BINARY="${S}/waf"
-
-src_prepare() {
- default
-
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript || die
- if ! use libbsd ; then
- eapply "${FILESDIR}/${PN}-no-bsd.patch"
- fi
- # remove extra default pool servers
- sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
-}
-
-src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
-
- local string_127=""
- local rclocks="";
- local CLOCKSTRING=""
-
- for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
- string_127+="$refclock,"
- fi
- done
- CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
- local myconf=(
- --nopyc
- --nopyo
- --enable-pylib ext
- --refclock="${CLOCKSTRING}"
- --build-epoch="$(date +%s)"
- $(use doc || echo "--disable-doc")
- $(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
- $(use samba && echo "--enable-mssntp")
- $(use seccomp && echo "--enable-seccomp")
- $(use smear && echo "--enable-leap-smear")
- $(use tests && echo "--alltests")
- $(use debug && echo "--enable-debug")
- )
-
- python_configure() {
- waf-utils_src_configure "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
-}
-
-src_compile() {
- unset MAKEOPTS
- python_compile() {
- waf-utils_src_compile
- }
- python_foreach_impl run_in_build_dir python_compile
-}
-
-src_install() {
- python_install() {
- waf-utils_src_install
- python_fix_shebang "${ED}"
- }
- python_foreach_impl run_in_build_dir python_install
- python_foreach_impl python_optimize
-
- # Install heat generating scripts
- use heat && dosbin "${S}"/contrib/ntpheat{,usb}
-
- # Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
- newconfd "${FILESDIR}"/ntpd.confd ntp
-
- # Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
-
- # Prepare a directory for the ntp.drift file
- mkdir -pv "${ED}"/var/lib/ntp
- chown ntp:ntp "${ED}"/var/lib/ntp
- chmod 770 "${ED}"/var/lib/ntp
- keepdir /var/lib/ntp
-
- # Install a log rotate script
- mkdir -pv "${ED}"/etc/logrotate.d
- cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
-
- # Install the configuration file and sample configuration
- cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
- cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
-
- # move doc files to /usr/share/doc/"${P}"
- use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-
-pkg_postinst() {
- einfo "If you want to serve time on your local network, then"
- einfo "you should disable all the ref_clocks unless you have"
- einfo "one and can get stable time from it. Feel free to try"
- einfo "it but PPS probably won't work unless you have a UART"
- einfo "GPS that actually provides PPS messages."
-}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2021-12-06 1:41 Steve Arnold
0 siblings, 0 replies; 91+ messages in thread
From: Steve Arnold @ 2021-12-06 1:41 UTC (permalink / raw
To: gentoo-commits
commit: 3237d7b791bd52013ef59465ce39f9e7bf396565
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 6 01:29:08 2021 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Mon Dec 6 01:41:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3237d7b7
net-misc/ntpsec: remove crufty/unsupported clock
* neoclock is no longer in the list of supported clocks
Closes: https://bugs.gentoo.org/828039
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
net-misc/ntpsec/metadata.xml | 1 -
net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild | 4 ++--
net-misc/ntpsec/ntpsec-9999.ebuild | 27 +++++++++++++++++++--------
3 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/net-misc/ntpsec/metadata.xml b/net-misc/ntpsec/metadata.xml
index 9d4b63729b27..69f78f92c02d 100644
--- a/net-misc/ntpsec/metadata.xml
+++ b/net-misc/ntpsec/metadata.xml
@@ -28,7 +28,6 @@ NTPsec project - a secure, hardened, and improved implementation of Network Time
<flag name="rclock_zyfer">Zyfer driver</flag>
<flag name="rclock_arbiter">Arbiter 1088A/B GPS driver</flag>
<flag name="rclock_nmea">NMEA GPS driver</flag>
- <flag name="rclock_neoclock">NeoClock4X DCF77/TDF driver</flag>
<flag name="rclock_modem">NIST/USNO/PTB Modem Time Services</flag>
<flag name="rclock_local">Support for undisciplined local clock (not recommended)</flag>
<flag name="smear">Specify the interval over which a leap second is applied (experimental)</flag>
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
index 8835c7ccfcfb..379a375aacd1 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
@@ -23,8 +23,8 @@ HOMEPAGE="https://www.ntpsec.org/"
NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea neoclock modem
- local)
+ shm pps hpgps zyfer arbiter nmea modem local
+ )
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 4d520e72c5a9..2065ee52d6a6 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -3,10 +3,11 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..9} )
PYTHON_REQ_USE='threads(+)'
+DISTUTILS_USE_SETUPTOOLS=no
-inherit flag-o-matic python-r1 waf-utils systemd
+inherit distutils-r1 flag-o-matic waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -14,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
RESTRICT="mirror"
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ KEYWORDS="amd64 arm arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
@@ -22,8 +23,8 @@ HOMEPAGE="https://www.ntpsec.org/"
NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea neoclock modem
- local)
+ shm pps hpgps zyfer arbiter nmea modem local
+ )
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
@@ -48,7 +49,7 @@ RDEPEND="${CDEPEND}
acct-user/ntp
"
DEPEND="${CDEPEND}
- app-text/asciidoc
+ >=app-text/asciidoc-8.6.8
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
sys-devel/bison
@@ -56,15 +57,23 @@ DEPEND="${CDEPEND}
rclock_pps? ( net-misc/pps-tools )
"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
+)
+
WAF_BINARY="${S}/waf"
src_prepare() {
default
+
# Remove autostripping of binaries
sed -i -e '/Strip binaries/d' wscript || die
if ! use libbsd ; then
eapply "${FILESDIR}/${PN}-no-bsd.patch"
fi
+ # remove extra default pool servers
+ sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
+
python_copy_sources
}
@@ -85,9 +94,10 @@ src_configure() {
local myconf=(
--nopyc
--nopyo
+ --enable-pylib ext
--refclock="${CLOCKSTRING}"
- --build-epoch="$(date +%s)"
- $(use doc && echo "--enable-doc")
+ #--build-epoch="$(date +%s)"
+ $(use doc || echo "--disable-doc")
$(use early && echo "--enable-early-droproot")
$(use gdb && echo "--enable-debug-gdb")
$(use samba && echo "--enable-mssntp")
@@ -114,6 +124,7 @@ src_compile() {
src_install() {
python_install() {
waf-utils_src_install
+ python_fix_shebang "${ED}"
}
python_foreach_impl run_in_build_dir python_install
python_foreach_impl python_optimize
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-04-20 1:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2022-04-20 1:03 UTC (permalink / raw
To: gentoo-commits
commit: 078df1fc28afa2d84f58afa47403be47f231d487
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 01:01:43 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 01:02:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=078df1fc
net-misc/ntpsec: add Python 3.10
Closes: https://bugs.gentoo.org/830039
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 7 +++----
net-misc/ntpsec/ntpsec-9999.ebuild | 11 +++++------
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
index f8f744dbf4a7..0278acc54735 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -13,8 +13,7 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
@@ -24,7 +23,7 @@ HOMEPAGE="https://www.ntpsec.org/"
NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
shm pps hpgps zyfer arbiter nmea modem local
- )
+)
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 9916c5768c10..b419ab5283ec 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -13,9 +13,8 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz"
- RESTRICT="mirror"
- KEYWORDS="amd64 arm arm64 ~riscv ~x86"
+ SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
@@ -24,7 +23,7 @@ HOMEPAGE="https://www.ntpsec.org/"
NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
shm pps hpgps zyfer arbiter nmea modem local
- )
+)
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-04-20 1:11 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2022-04-20 1:11 UTC (permalink / raw
To: gentoo-commits
commit: acd71bea7fbacb805d42a738f8c03de747fd2917
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 01:09:06 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 01:09:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd71bea
net-misc/ntpsec: silence wrong warning about tests
We are running them.
Closes: https://bugs.gentoo.org/795522
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 5 +++++
net-misc/ntpsec/ntpsec-9999.ebuild | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
index 0278acc54735..e8d1962ac02d 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
@@ -131,6 +131,11 @@ src_test() {
python_foreach_impl run_in_build_dir python_compile
}
+python_test() {
+ # Silence QA warning as we're running tests via src_test anyway.
+ :;
+}
+
src_install() {
python_install() {
waf-utils_src_install --notests
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index b419ab5283ec..84fd0d6ebb4d 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -122,13 +122,17 @@ src_compile() {
}
src_test() {
- debug-print-function ${FUNCNAME} "$@"
python_compile() {
waf-utils_src_compile check
}
python_foreach_impl run_in_build_dir python_compile
}
+python_test() {
+ # Silence QA warning as we're running tests via src_test anyway.
+ :;
+}
+
src_install() {
python_install() {
waf-utils_src_install --notests
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-04-20 1:11 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2022-04-20 1:11 UTC (permalink / raw
To: gentoo-commits
commit: fe7cc4881e0cf81ef65e69f40d0a15630b7c44f0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 01:11:20 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 01:11:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7cc488
net-misc/ntpsec: use BDEPEND
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 22 +++++++++-------------
net-misc/ntpsec/ntpsec-9999.ebuild | 22 +++++++++-------------
2 files changed, 18 insertions(+), 26 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
index e8d1962ac02d..69d38d6263b9 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
@@ -33,28 +33,24 @@ IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
- sys-libs/libcap
+DEPEND="${PYTHON_DEPS}
+ dev-libs/openssl:=
dev-python/psutil[${PYTHON_USEDEP}]
+ sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
- dev-libs/openssl:0=
seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )"
+RDEPEND="${DEPEND}
!net-misc/ntp
!net-misc/openntpd
acct-group/ntp
acct-user/ntp
-"
-DEPEND="${CDEPEND}
- >=app-text/asciidoc-8.6.8
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )"
+BDEPEND=">=app-text/asciidoc-8.6.8
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
- sys-devel/bison
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
-"
+ sys-devel/bison"
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 84fd0d6ebb4d..4d49e9065f2e 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -33,28 +33,24 @@ IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
- sys-libs/libcap
+DEPEND="${PYTHON_DEPS}
+ dev-libs/openssl:=
dev-python/psutil[${PYTHON_USEDEP}]
+ sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
- dev-libs/openssl:0=
seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )"
+RDEPEND="${DEPEND}
!net-misc/ntp
!net-misc/openntpd
acct-group/ntp
acct-user/ntp
-"
-DEPEND="${CDEPEND}
- >=app-text/asciidoc-8.6.8
+ ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )"
+BDEPEND=">=app-text/asciidoc-8.6.8
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
- sys-devel/bison
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
-"
+ sys-devel/bison"
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-05-31 2:57 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2022-05-31 2:57 UTC (permalink / raw
To: gentoo-commits
commit: d33a72f2cd8bc91115dadeffa85a3cb98f90d614
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 02:57:03 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 31 02:57:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33a72f2
net-misc/ntpsec: Stabilize 1.2.1-r3 amd64, #848591
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
index 69d38d6263b9..400b27367022 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-05-31 7:10 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2022-05-31 7:10 UTC (permalink / raw
To: gentoo-commits
commit: 15ce21b4478b7c5e1cd8997f12c8e44f6943dc3f
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 07:09:58 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue May 31 07:09:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15ce21b4
net-misc/ntpsec: arm stable wrt bug #848591
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
index 400b27367022..22f12382a017 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-05-31 7:10 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2022-05-31 7:10 UTC (permalink / raw
To: gentoo-commits
commit: a40c5e74b58facdcdabbca29e6c29a0ab2e8fa3f
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 07:10:29 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue May 31 07:10:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a40c5e74
net-misc/ntpsec: arm64 stable wrt bug #848591
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
index 22f12382a017..93bcb0332fab 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r3.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="amd64 arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 arm arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-06-12 15:34 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2022-06-12 15:34 UTC (permalink / raw
To: gentoo-commits
commit: b01475efcbf9611fb85af8a66edbb5a3ffd79e18
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 15:02:10 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 15:19:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b01475ef
net-misc/ntpsec: fix distutils-r1 usage
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{ntpsec-9999.ebuild => ntpsec-1.2.1-r6.ebuild} | 45 ++++++++++------------
net-misc/ntpsec/ntpsec-9999.ebuild | 42 ++++++++------------
2 files changed, 36 insertions(+), 51 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
similarity index 85%
copy from net-misc/ntpsec/ntpsec-9999.ebuild
copy to net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
index 4d49e9065f2e..74844e4dbb14 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
@@ -54,7 +54,11 @@ BDEPEND=">=app-text/asciidoc-8.6.8
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
+ "${FILESDIR}/${PN}-1.2.1-seccomp-rollup.patch"
+ "${FILESDIR}/${PN}-1.2.1-seccomp-rseq-glibc-2.35.patch"
+ "${FILESDIR}/${PN}-1.2.1-build-notests.patch"
"${FILESDIR}/${PN}-py3-test-clarify.patch"
+ "${FILESDIR}/${PN}-1.2.1-seccomp-nsd.patch"
)
WAF_BINARY="${S}/waf"
@@ -87,7 +91,7 @@ src_configure() {
done
CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
- local myconf=(
+ myconf=(
--notests
--nopyc
--nopyo
@@ -103,45 +107,31 @@ src_configure() {
$(use debug && echo "--enable-debug")
)
- python_configure() {
- waf-utils_src_configure "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
+ distutils-r1_src_configure
}
-src_compile() {
- unset MAKEOPTS
- python_compile() {
- waf-utils_src_compile --notests
- }
- python_foreach_impl run_in_build_dir python_compile
+python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
}
-src_test() {
- python_compile() {
- waf-utils_src_compile check
- }
- python_foreach_impl run_in_build_dir python_compile
+python_compile() {
+ unset MAKEOPTS
+ waf-utils_src_compile --notests
}
python_test() {
- # Silence QA warning as we're running tests via src_test anyway.
- :;
+ waf-utils_src_compile check
}
src_install() {
- python_install() {
- waf-utils_src_install --notests
- python_fix_shebang "${ED}"
- }
- python_foreach_impl run_in_build_dir python_install
- python_foreach_impl python_optimize
+ distutils-r1_src_install
+ python_optimize
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
# Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newinitd "${FILESDIR}"/ntpd.rc-r3 ntp
newconfd "${FILESDIR}"/ntpd.confd ntp
# Install the systemd unit file
@@ -165,6 +155,11 @@ src_install() {
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
}
+python_install() {
+ waf-utils_src_install --notests
+ python_fix_shebang "${ED}"
+}
+
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 4d49e9065f2e..c5b75b26451e 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -54,7 +54,6 @@ BDEPEND=">=app-text/asciidoc-8.6.8
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
- "${FILESDIR}/${PN}-py3-test-clarify.patch"
)
WAF_BINARY="${S}/waf"
@@ -87,7 +86,7 @@ src_configure() {
done
CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
- local myconf=(
+ myconf=(
--notests
--nopyc
--nopyo
@@ -103,45 +102,30 @@ src_configure() {
$(use debug && echo "--enable-debug")
)
- python_configure() {
- waf-utils_src_configure "${myconf[@]}"
- }
- python_foreach_impl run_in_build_dir python_configure
+ distutils-r1_src_configure
}
-src_compile() {
- unset MAKEOPTS
- python_compile() {
- waf-utils_src_compile --notests
- }
- python_foreach_impl run_in_build_dir python_compile
+python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
}
-src_test() {
- python_compile() {
- waf-utils_src_compile check
- }
- python_foreach_impl run_in_build_dir python_compile
+python_compile() {
+ unset MAKEOPTS
+ waf-utils_src_compile --notests
}
python_test() {
- # Silence QA warning as we're running tests via src_test anyway.
- :;
+ waf-utils_src_compile check
}
src_install() {
- python_install() {
- waf-utils_src_install --notests
- python_fix_shebang "${ED}"
- }
- python_foreach_impl run_in_build_dir python_install
- python_foreach_impl python_optimize
+ distutils-r1_src_install
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
# Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r2 ntp
+ newinitd "${FILESDIR}"/ntpd.rc-r3 ntp
newconfd "${FILESDIR}"/ntpd.confd ntp
# Install the systemd unit file
@@ -165,6 +149,12 @@ src_install() {
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
}
+python_install() {
+ waf-utils_src_install --notests
+ python_fix_shebang "${ED}"
+ python_optimize
+}
+
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-06-15 10:01 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2022-06-15 10:01 UTC (permalink / raw
To: gentoo-commits
commit: f32c66eca642b70f3330c39bb6eea90dfbd79a42
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 10:01:34 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 10:01:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32c66ec
net-misc/ntpsec: move python_optimize call
Closes: https://bugs.gentoo.org/852095
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
index 74844e4dbb14..d595a8ac6425 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
@@ -125,7 +125,6 @@ python_test() {
src_install() {
distutils-r1_src_install
- python_optimize
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
@@ -158,6 +157,7 @@ src_install() {
python_install() {
waf-utils_src_install --notests
python_fix_shebang "${ED}"
+ python_optimize
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-06-16 23:06 Jakov Smolić
0 siblings, 0 replies; 91+ messages in thread
From: Jakov Smolić @ 2022-06-16 23:06 UTC (permalink / raw
To: gentoo-commits
commit: c5fc92ec8ce27107345c57152aa396de4e834609
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 23:06:54 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 23:06:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5fc92ec
net-misc/ntpsec: Stabilize 1.2.1-r6 amd64, #851978
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
index d595a8ac6425..f872350377f2 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-06-17 6:55 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2022-06-17 6:55 UTC (permalink / raw
To: gentoo-commits
commit: bfff76e3bb7205e99774dd30119c89249d9a3e43
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 06:55:13 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 06:55:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfff76e3
net-misc/ntpsec: arm stable wrt bug #851978
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
index f872350377f2..357e35164508 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-06-17 6:56 Agostino Sarubbo
0 siblings, 0 replies; 91+ messages in thread
From: Agostino Sarubbo @ 2022-06-17 6:56 UTC (permalink / raw
To: gentoo-commits
commit: b0b33a1cab192de045fe6382d065a7c1dd3478ea
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 06:55:45 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 06:55:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b33a1c
net-misc/ntpsec: arm64 stable wrt bug #851978
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
index 357e35164508..b163db94a45f 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="amd64 arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 arm arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-12-13 5:27 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2022-12-13 5:27 UTC (permalink / raw
To: gentoo-commits
commit: ac399cc3c7c5e65ad87f0f55e3b2872c567a19cf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 13 05:26:34 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 13 05:26:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac399cc3
net-misc/ntpsec: depend on < openssl 3
Last released version fails to compile w/ openssl 3. Live is ok.
Bug: https://bugs.gentoo.org/806037
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
index b163db94a45f..476a6d0ad598 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r6.ebuild
@@ -34,7 +34,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
DEPEND="${PYTHON_DEPS}
- dev-libs/openssl:=
+ <dev-libs/openssl-3:=
dev-python/psutil[${PYTHON_USEDEP}]
sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2022-12-30 6:33 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2022-12-30 6:33 UTC (permalink / raw
To: gentoo-commits
commit: 3e5dc88331ebe51f7b98a4aaca17657b7e914d63
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 06:29:54 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 06:32:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5dc883
net-misc/ntpsec: add 1.2.2
Closes: https://bugs.gentoo.org/679510
Closes: https://bugs.gentoo.org/753854
Closes: https://bugs.gentoo.org/806037
Closes: https://bugs.gentoo.org/839597
Closes: https://bugs.gentoo.org/885879
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/{ntpsec-9999.ebuild => ntpsec-1.2.2.ebuild} | 3 +--
net-misc/ntpsec/ntpsec-9999.ebuild | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index a5a14c8a3820..94c516a50ffe 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1 +1,2 @@
DIST ntpsec-1.2.1.tar.gz 2681237 BLAKE2B bfb2674131718dcf9f393e93d1148cfb6631591dbcce1ade91746586f261123b80b238393ac2a763fab119cd627f8eae4b006b023ad2b319e752db9eb4b04cc0 SHA512 0b8b0bda52d3025f6e9a06c00b1e0c25c595ada72b87ed0e5d3d6f77a034f557745156bc6d9a263c9876c041efffa38d42fa93ba8bfda31f67efbd842a726277
+DIST ntpsec-1.2.2.tar.gz 2710329 BLAKE2B 031412d0fc7ecb5aba73501e63f8d0c416b23fe69114dd32422b03b4827e1ac9c92a4dfeb2e7d074cf6fd410d00cf86632f241dffd22987e4c03b21d21d8693a SHA512 864afb72c4bd8bc439ee06d343893cf92b3893c26c972a7bd1ff2713f0ad1f50704b6d0c6f155e6373c9747efff3ea36097a590be0d53e1a7ea7f429ba409cd1
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
similarity index 99%
copy from net-misc/ntpsec/ntpsec-9999.ebuild
copy to net-misc/ntpsec/ntpsec-1.2.2.ebuild
index c5b75b26451e..9cd6cfd79ee6 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE='threads(+)'
@@ -110,7 +110,6 @@ python_configure() {
}
python_compile() {
- unset MAKEOPTS
waf-utils_src_compile --notests
}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index c5b75b26451e..9cd6cfd79ee6 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE='threads(+)'
@@ -110,7 +110,6 @@ python_configure() {
}
python_compile() {
- unset MAKEOPTS
waf-utils_src_compile --notests
}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-02-03 13:34 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2023-02-03 13:34 UTC (permalink / raw
To: gentoo-commits
commit: 686e617faf0d9f7bb40296a5ee564dc23afa4e83
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 3 13:32:39 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 3 13:33:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686e617f
net-misc/ntpsec: enable py3.11
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2.ebuild | 2 +-
net-misc/ntpsec/ntpsec-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2.ebuild b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
index d3231330d972..2fec1857639a 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index d3231330d972..2fec1857639a 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-03-17 16:17 Arthur Zamarin
0 siblings, 0 replies; 91+ messages in thread
From: Arthur Zamarin @ 2023-03-17 16:17 UTC (permalink / raw
To: gentoo-commits
commit: ee6696742d3d51d4018708c9257f2fecb64f38a4
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 16:17:27 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 16:17:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee669674
net-misc/ntpsec: Stabilize 1.2.2 arm64, #901921
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2.ebuild b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
index 2fec1857639a..2c8dab31fce8 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-03-17 16:24 Arthur Zamarin
0 siblings, 0 replies; 91+ messages in thread
From: Arthur Zamarin @ 2023-03-17 16:24 UTC (permalink / raw
To: gentoo-commits
commit: 281b056285cf74f7d0326c48347904e3a89985bb
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 16:24:12 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 16:24:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=281b0562
net-misc/ntpsec: Stabilize 1.2.2 arm, #901921
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2.ebuild b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
index 2c8dab31fce8..8983eaefe6f6 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 arm arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-03-17 17:00 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2023-03-17 17:00 UTC (permalink / raw
To: gentoo-commits
commit: c4ba09aff3de14d016a696ae3d1237294f02f565
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 16:58:28 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 16:59:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ba09af
net-misc/ntpsec: Stabilize 1.2.2 amd64, #901921
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2.ebuild b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
index 8983eaefe6f6..61dbd9ff8c35 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="~amd64 arm arm64 ~riscv ~x86"
+ KEYWORDS="amd64 arm arm64 ~riscv ~x86"
fi
DESCRIPTION="The NTP reference implementation, refactored"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-06-24 2:59 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2023-06-24 2:59 UTC (permalink / raw
To: gentoo-commits
commit: a6a21c5d9c93ac4a3a61fd5c90f9bf9920c49785
Author: Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sat Jun 24 02:47:40 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 24 02:58:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6a21c5d
net-misc/ntpsec: replace `filter-flags -flto*` with `filter-lto`
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild | 3 ++-
net-misc/ntpsec/ntpsec-1.2.2.ebuild | 3 ++-
net-misc/ntpsec/ntpsec-9999.ebuild | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild
index cee0430804e4..f377b0352861 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild
@@ -74,7 +74,8 @@ src_prepare() {
}
src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+ is-flagq -flto* && filter-flags -fuse-linker-plugin
+ filter-lto
local string_127=""
local rclocks="";
diff --git a/net-misc/ntpsec/ntpsec-1.2.2.ebuild b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
index 61dbd9ff8c35..0d239684ccaa 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
@@ -73,7 +73,8 @@ src_prepare() {
}
src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+ is-flagq -flto* && filter-flags -fuse-linker-plugin
+ filter-lto
local string_127=""
local rclocks="";
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index cee0430804e4..f377b0352861 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -74,7 +74,8 @@ src_prepare() {
}
src_configure() {
- is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+ is-flagq -flto* && filter-flags -fuse-linker-plugin
+ filter-lto
local string_127=""
local rclocks="";
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-09-19 10:56 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2023-09-19 10:56 UTC (permalink / raw
To: gentoo-commits
commit: 8710a462e9c3dd6a7fc78440275451677656e63f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 19 10:53:17 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 10:55:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8710a462
net-misc/ntpsec: add 1.2.2a
Closes: https://bugs.gentoo.org/914383
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/Manifest | 2 ++
.../{ntpsec-9999.ebuild => ntpsec-1.2.2a.ebuild} | 41 +++++++++++++++-------
net-misc/ntpsec/ntpsec-9999.ebuild | 41 +++++++++++++++-------
3 files changed, 60 insertions(+), 24 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index c72c154eed0a..38ee02fb9e65 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1 +1,3 @@
DIST ntpsec-1.2.2.tar.gz 2710329 BLAKE2B 031412d0fc7ecb5aba73501e63f8d0c416b23fe69114dd32422b03b4827e1ac9c92a4dfeb2e7d074cf6fd410d00cf86632f241dffd22987e4c03b21d21d8693a SHA512 864afb72c4bd8bc439ee06d343893cf92b3893c26c972a7bd1ff2713f0ad1f50704b6d0c6f155e6373c9747efff3ea36097a590be0d53e1a7ea7f429ba409cd1
+DIST ntpsec-1.2.2a.tar.gz 2710790 BLAKE2B b069433598697ab1e8110dbd005316a295d14c1e180fe0af2d19494bdff941d01234f0b4e9f38a150e27e450e1bd1f4dcf4535f9ff51c253670d11c5cb67382d SHA512 7a2cc04bde49800a745c74933e565a4764a22be484faffc5ea933231b74507af737a691cd0bb3aa024e81c083be0718c8d7b30dd152b0b0d386ae72fda426db9
+DIST ntpsec-1.2.2a.tar.gz.asc 833 BLAKE2B ce21b020d2a8590b731fdd4c171041fadbd699d60b9e10b2dc548675eed2efc04b9d5ae75fa8f77cc9c8e55db0f609d1eee5c5f2f7c7d804e1b087eb9ea95e1d SHA512 c1b0c1c6b534b11ef172d5ab68ada47bbd9e3f0298400c684e8745447221db16e4f4de436f06b0f6ab374e437b0506853a3a3da2bbe17c148cdf7de62c769f28
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
similarity index 86%
copy from net-misc/ntpsec/ntpsec-9999.ebuild
copy to net-misc/ntpsec/ntpsec-1.2.2a.ebuild
index f377b0352861..38002f1e3d1d 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -13,13 +14,23 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/ntpsec.asc
+ inherit verify-sig
+ SRC_URI="
+ https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
+ verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
+ "
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
DESCRIPTION="The NTP reference implementation, refactored"
HOMEPAGE="https://www.ntpsec.org/"
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+
NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
shm pps hpgps zyfer arbiter nmea modem local
@@ -27,30 +38,37 @@ NTPSEC_REFCLOCK=(
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
-DEPEND="${PYTHON_DEPS}
+DEPEND="
+ ${PYTHON_DEPS}
dev-libs/openssl:=
dev-python/psutil[${PYTHON_USEDEP}]
sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
seccomp? ( sys-libs/libseccomp )
rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )"
-RDEPEND="${DEPEND}
+ rclock_pps? ( net-misc/pps-tools )
+"
+RDEPEND="
+ ${DEPEND}
!net-misc/ntp
!net-misc/openntpd
acct-group/ntp
acct-user/ntp
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )"
-BDEPEND=">=app-text/asciidoc-8.6.8
+ ntpviz? (
+ media-fonts/liberation-fonts
+ sci-visualization/gnuplot
+ )
+"
+BDEPEND+="
+ >=app-text/asciidoc-8.6.8
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
- sys-devel/bison"
+ sys-devel/bison
+"
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
@@ -74,7 +92,6 @@ src_prepare() {
}
src_configure() {
- is-flagq -flto* && filter-flags -fuse-linker-plugin
filter-lto
local string_127=""
@@ -138,7 +155,7 @@ src_install() {
chmod 770 "${ED}"/var/lib/ntp
keepdir /var/lib/ntp
- # Install a log rotate script
+ # Install a logrotate script
mkdir -pv "${ED}"/etc/logrotate.d
cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index f377b0352861..38002f1e3d1d 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -13,13 +14,23 @@ if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/ntpsec.asc
+ inherit verify-sig
+ SRC_URI="
+ https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
+ verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
+ "
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
DESCRIPTION="The NTP reference implementation, refactored"
HOMEPAGE="https://www.ntpsec.org/"
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+
NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
shm pps hpgps zyfer arbiter nmea modem local
@@ -27,30 +38,37 @@ NTPSEC_REFCLOCK=(
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
-DEPEND="${PYTHON_DEPS}
+DEPEND="
+ ${PYTHON_DEPS}
dev-libs/openssl:=
dev-python/psutil[${PYTHON_USEDEP}]
sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
seccomp? ( sys-libs/libseccomp )
rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )"
-RDEPEND="${DEPEND}
+ rclock_pps? ( net-misc/pps-tools )
+"
+RDEPEND="
+ ${DEPEND}
!net-misc/ntp
!net-misc/openntpd
acct-group/ntp
acct-user/ntp
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )"
-BDEPEND=">=app-text/asciidoc-8.6.8
+ ntpviz? (
+ media-fonts/liberation-fonts
+ sci-visualization/gnuplot
+ )
+"
+BDEPEND+="
+ >=app-text/asciidoc-8.6.8
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
- sys-devel/bison"
+ sys-devel/bison
+"
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
@@ -74,7 +92,6 @@ src_prepare() {
}
src_configure() {
- is-flagq -flto* && filter-flags -fuse-linker-plugin
filter-lto
local string_127=""
@@ -138,7 +155,7 @@ src_install() {
chmod 770 "${ED}"/var/lib/ntp
keepdir /var/lib/ntp
- # Install a log rotate script
+ # Install a logrotate script
mkdir -pv "${ED}"/etc/logrotate.d
cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-09-21 6:00 Joonas Niilola
0 siblings, 0 replies; 91+ messages in thread
From: Joonas Niilola @ 2023-09-21 6:00 UTC (permalink / raw
To: gentoo-commits
commit: 39831dcf32a1520f2db5e10c9ebde9defedc5d07
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 05:59:54 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 05:59:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39831dcf
net-misc/ntpsec: Stabilize 1.2.2a amd64, #914444
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
index 38002f1e3d1d..1e49186b8333 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
@@ -20,7 +20,7 @@ else
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-09-21 6:22 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2023-09-21 6:22 UTC (permalink / raw
To: gentoo-commits
commit: 001835618a3c8e947eb0ff20f0bfd1e9f9da47ad
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 06:22:01 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 06:22:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00183561
net-misc/ntpsec: Stabilize 1.2.2a arm, #914444
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
index 1e49186b8333..97e5dd837995 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
@@ -20,7 +20,7 @@ else
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
"
- KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 arm ~arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2023-09-22 17:34 Arthur Zamarin
0 siblings, 0 replies; 91+ messages in thread
From: Arthur Zamarin @ 2023-09-22 17:34 UTC (permalink / raw
To: gentoo-commits
commit: 5bab498ba0ffe91f7ceec294f630ee43e9978fa1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 17:33:42 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 17:33:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bab498b
net-misc/ntpsec: Stabilize 1.2.2a arm64, #914444
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
index 97e5dd837995..eb8f35064246 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
@@ -20,7 +20,7 @@ else
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
"
- KEYWORDS="amd64 arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 arm arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-01-24 6:55 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-01-24 6:55 UTC (permalink / raw
To: gentoo-commits
commit: 565df5d5aba2c5df3583f10042a421e8596043db
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Jan 18 21:56:43 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 24 06:54:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565df5d5
net-misc/ntpsec: migrate checking for enabled lto, to tc-is-lto
This toolchain func was recently added, and is a lot more reliable than
get-flagq, for example if the active flags contain `-flto -fno-lto` then
tc-is-lto gets it correct. We would rather use this wherever possible.
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild | 4 ++--
net-misc/ntpsec/ntpsec-1.2.2.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild
index 6d842405cf4d..8dccc88c556e 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1 flag-o-matic waf-utils systemd
+inherit distutils-r1 flag-o-matic waf-utils systemd toolchain-funcs
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -74,7 +74,7 @@ src_prepare() {
}
src_configure() {
- is-flagq -flto* && filter-flags -fuse-linker-plugin
+ tc-is-lto && filter-flags -fuse-linker-plugin
filter-lto
local string_127=""
diff --git a/net-misc/ntpsec/ntpsec-1.2.2.ebuild b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
index 66d287913999..0b9c2a939cc3 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1 flag-o-matic waf-utils systemd
+inherit distutils-r1 flag-o-matic waf-utils systemd toolchain-funcs
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -73,7 +73,7 @@ src_prepare() {
}
src_configure() {
- is-flagq -flto* && filter-flags -fuse-linker-plugin
+ tc-is-lto && filter-flags -fuse-linker-plugin
filter-lto
local string_127=""
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-05-09 12:24 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-05-09 12:24 UTC (permalink / raw
To: gentoo-commits
commit: 04fa110be72a312747702693aadc0e5dc379b9a1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 9 12:23:15 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 9 12:23:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04fa110b
net-misc/ntpsec: add 1.2.3
Drops USE=gdb as we do debugging symbols via *FLAGS on the user side.
Closes: https://bugs.gentoo.org/921149
Closes: https://bugs.gentoo.org/929726
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/Manifest | 2 ++
net-misc/ntpsec/{ntpsec-9999.ebuild => ntpsec-1.2.3.ebuild} | 5 ++---
net-misc/ntpsec/ntpsec-9999.ebuild | 5 ++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index ea02fa93b4af..39399cdf6cee 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1,4 @@
DIST ntpsec-1.2.2a.tar.gz 2710790 BLAKE2B b069433598697ab1e8110dbd005316a295d14c1e180fe0af2d19494bdff941d01234f0b4e9f38a150e27e450e1bd1f4dcf4535f9ff51c253670d11c5cb67382d SHA512 7a2cc04bde49800a745c74933e565a4764a22be484faffc5ea933231b74507af737a691cd0bb3aa024e81c083be0718c8d7b30dd152b0b0d386ae72fda426db9
DIST ntpsec-1.2.2a.tar.gz.asc 833 BLAKE2B ce21b020d2a8590b731fdd4c171041fadbd699d60b9e10b2dc548675eed2efc04b9d5ae75fa8f77cc9c8e55db0f609d1eee5c5f2f7c7d804e1b087eb9ea95e1d SHA512 c1b0c1c6b534b11ef172d5ab68ada47bbd9e3f0298400c684e8745447221db16e4f4de436f06b0f6ab374e437b0506853a3a3da2bbe17c148cdf7de62c769f28
+DIST ntpsec-1.2.3.tar.gz 2725081 BLAKE2B d39a4d08790949afb28b843739a410624a8d862bfc25afd4e6c7dc55be43e41f3c89823406c60fb911496e7a3db51d6fa83c8bcda9b9686708c36154c2fe9686 SHA512 6baecf32f499fc12c2ef0b44360072b61ab9e8b52ec7ead64ff43a27b5a57431db939d4ce1fad92d38def981f6256a1d8ede0c0cdc5abb50d861be729255eee2
+DIST ntpsec-1.2.3.tar.gz.asc 833 BLAKE2B f0d6a0b163a7f9214da6d6eb1982f87387a7087efb740ec146f55362381aa101a5a8e40c27f121ca6607c0a5c429b1e06ecaf9a9ab5392d836535430cf6575fa SHA512 17280e3092e7e9de0ddae0723637a261d3a740d916ce0f016c44c6010672cfe2fc39b45f86257cfa5bd29f1f11895f8bd583c76765c6484489027cbc82dbe6b2
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-1.2.3.ebuild
similarity index 95%
copy from net-misc/ntpsec/ntpsec-9999.ebuild
copy to net-misc/ntpsec/ntpsec-1.2.3.ebuild
index cc9e877c051b..ca1b744563fb 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -38,7 +38,7 @@ NTPSEC_REFCLOCK=(
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
@@ -114,7 +114,6 @@ src_configure() {
#--build-epoch="$(date +%s)"
$(use doc || echo "--disable-doc")
$(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
$(use samba && echo "--enable-mssntp")
$(use seccomp && echo "--enable-seccomp")
$(use smear && echo "--enable-leap-smear")
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index cc9e877c051b..ca1b744563fb 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -38,7 +38,7 @@ NTPSEC_REFCLOCK=(
IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
@@ -114,7 +114,6 @@ src_configure() {
#--build-epoch="$(date +%s)"
$(use doc || echo "--disable-doc")
$(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
$(use samba && echo "--enable-mssntp")
$(use seccomp && echo "--enable-seccomp")
$(use smear && echo "--enable-leap-smear")
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-05-09 12:24 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-05-09 12:24 UTC (permalink / raw
To: gentoo-commits
commit: 4ad112321daa28301558e1728ad08ca9b5248771
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 9 12:15:34 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 9 12:23:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad11232
net-misc/ntpsec: drop 1.2.2, 1.2.2-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 -
net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild | 165 ---------------------------------
net-misc/ntpsec/ntpsec-1.2.2.ebuild | 164 --------------------------------
3 files changed, 330 deletions(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 38ee02fb9e65..ea02fa93b4af 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,3 +1,2 @@
-DIST ntpsec-1.2.2.tar.gz 2710329 BLAKE2B 031412d0fc7ecb5aba73501e63f8d0c416b23fe69114dd32422b03b4827e1ac9c92a4dfeb2e7d074cf6fd410d00cf86632f241dffd22987e4c03b21d21d8693a SHA512 864afb72c4bd8bc439ee06d343893cf92b3893c26c972a7bd1ff2713f0ad1f50704b6d0c6f155e6373c9747efff3ea36097a590be0d53e1a7ea7f429ba409cd1
DIST ntpsec-1.2.2a.tar.gz 2710790 BLAKE2B b069433598697ab1e8110dbd005316a295d14c1e180fe0af2d19494bdff941d01234f0b4e9f38a150e27e450e1bd1f4dcf4535f9ff51c253670d11c5cb67382d SHA512 7a2cc04bde49800a745c74933e565a4764a22be484faffc5ea933231b74507af737a691cd0bb3aa024e81c083be0718c8d7b30dd152b0b0d386ae72fda426db9
DIST ntpsec-1.2.2a.tar.gz.asc 833 BLAKE2B ce21b020d2a8590b731fdd4c171041fadbd699d60b9e10b2dc548675eed2efc04b9d5ae75fa8f77cc9c8e55db0f609d1eee5c5f2f7c7d804e1b087eb9ea95e1d SHA512 c1b0c1c6b534b11ef172d5ab68ada47bbd9e3f0298400c684e8745447221db16e4f4de436f06b0f6ab374e437b0506853a3a3da2bbe17c148cdf7de62c769f28
diff --git a/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild
deleted file mode 100644
index 8dccc88c556e..000000000000
--- a/net-misc/ntpsec/ntpsec-1.2.2-r1.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE='threads(+)'
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1 flag-o-matic waf-utils systemd toolchain-funcs
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
-else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/"
-
-NTPSEC_REFCLOCK=(
- oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea modem local
-)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-DEPEND="${PYTHON_DEPS}
- dev-libs/openssl:=
- dev-python/psutil[${PYTHON_USEDEP}]
- sys-libs/libcap
- libbsd? ( dev-libs/libbsd:0= )
- seccomp? ( sys-libs/libseccomp )
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )"
-RDEPEND="${DEPEND}
- !net-misc/ntp
- !net-misc/openntpd
- acct-group/ntp
- acct-user/ntp
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )"
-BDEPEND=">=app-text/asciidoc-8.6.8
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- app-alternatives/yacc"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
- "${FILESDIR}/${PN}-1.2.2-logrotate.patch"
-)
-
-WAF_BINARY="${S}/waf"
-
-src_prepare() {
- default
-
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript || die
- if ! use libbsd ; then
- eapply "${FILESDIR}/${PN}-no-bsd.patch"
- fi
- # remove extra default pool servers
- sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
-}
-
-src_configure() {
- tc-is-lto && filter-flags -fuse-linker-plugin
- filter-lto
-
- local string_127=""
- local rclocks="";
- local CLOCKSTRING=""
-
- for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
- string_127+="$refclock,"
- fi
- done
- CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
- myconf=(
- --notests
- --nopyc
- --nopyo
- --enable-pylib ext
- --refclock="${CLOCKSTRING}"
- #--build-epoch="$(date +%s)"
- $(use doc || echo "--disable-doc")
- $(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
- $(use samba && echo "--enable-mssntp")
- $(use seccomp && echo "--enable-seccomp")
- $(use smear && echo "--enable-leap-smear")
- $(use debug && echo "--enable-debug")
- )
-
- distutils-r1_src_configure
-}
-
-python_configure() {
- waf-utils_src_configure "${myconf[@]}"
-}
-
-python_compile() {
- waf-utils_src_compile --notests
-}
-
-python_test() {
- waf-utils_src_compile check
-}
-
-src_install() {
- distutils-r1_src_install
-
- # Install heat generating scripts
- use heat && dosbin "${S}"/contrib/ntpheat{,usb}
-
- # Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r3 ntp
- newconfd "${FILESDIR}"/ntpd.confd ntp
-
- # Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
-
- # Prepare a directory for the ntp.drift file
- mkdir -pv "${ED}"/var/lib/ntp
- chown ntp:ntp "${ED}"/var/lib/ntp
- chmod 770 "${ED}"/var/lib/ntp
- keepdir /var/lib/ntp
-
- # Install a log rotate script
- mkdir -pv "${ED}"/etc/logrotate.d
- cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
-
- # Install the configuration file and sample configuration
- cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
- cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
-
- # move doc files to /usr/share/doc/"${P}"
- use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-
-python_install() {
- waf-utils_src_install --notests
- python_fix_shebang "${ED}"
- python_optimize
-}
-
-pkg_postinst() {
- einfo "If you want to serve time on your local network, then"
- einfo "you should disable all the ref_clocks unless you have"
- einfo "one and can get stable time from it. Feel free to try"
- einfo "it but PPS probably won't work unless you have a UART"
- einfo "GPS that actually provides PPS messages."
-}
diff --git a/net-misc/ntpsec/ntpsec-1.2.2.ebuild b/net-misc/ntpsec/ntpsec-1.2.2.ebuild
deleted file mode 100644
index 0b9c2a939cc3..000000000000
--- a/net-misc/ntpsec/ntpsec-1.2.2.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE='threads(+)'
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1 flag-o-matic waf-utils systemd toolchain-funcs
-
-if [[ ${PV} == *9999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
-else
- SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${P}.tar.gz"
- KEYWORDS="amd64 arm arm64 ~riscv ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/"
-
-NTPSEC_REFCLOCK=(
- oncore trimble truetime gpsd jjy generic spectracom
- shm pps hpgps zyfer arbiter nmea modem local
-)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-DEPEND="${PYTHON_DEPS}
- dev-libs/openssl:=
- dev-python/psutil[${PYTHON_USEDEP}]
- sys-libs/libcap
- libbsd? ( dev-libs/libbsd:0= )
- seccomp? ( sys-libs/libseccomp )
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )"
-RDEPEND="${DEPEND}
- !net-misc/ntp
- !net-misc/openntpd
- acct-group/ntp
- acct-user/ntp
- ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )"
-BDEPEND=">=app-text/asciidoc-8.6.8
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- app-alternatives/yacc"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
-)
-
-WAF_BINARY="${S}/waf"
-
-src_prepare() {
- default
-
- # Remove autostripping of binaries
- sed -i -e '/Strip binaries/d' wscript || die
- if ! use libbsd ; then
- eapply "${FILESDIR}/${PN}-no-bsd.patch"
- fi
- # remove extra default pool servers
- sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
-}
-
-src_configure() {
- tc-is-lto && filter-flags -fuse-linker-plugin
- filter-lto
-
- local string_127=""
- local rclocks="";
- local CLOCKSTRING=""
-
- for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
- string_127+="$refclock,"
- fi
- done
- CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
- myconf=(
- --notests
- --nopyc
- --nopyo
- --enable-pylib ext
- --refclock="${CLOCKSTRING}"
- #--build-epoch="$(date +%s)"
- $(use doc || echo "--disable-doc")
- $(use early && echo "--enable-early-droproot")
- $(use gdb && echo "--enable-debug-gdb")
- $(use samba && echo "--enable-mssntp")
- $(use seccomp && echo "--enable-seccomp")
- $(use smear && echo "--enable-leap-smear")
- $(use debug && echo "--enable-debug")
- )
-
- distutils-r1_src_configure
-}
-
-python_configure() {
- waf-utils_src_configure "${myconf[@]}"
-}
-
-python_compile() {
- waf-utils_src_compile --notests
-}
-
-python_test() {
- waf-utils_src_compile check
-}
-
-src_install() {
- distutils-r1_src_install
-
- # Install heat generating scripts
- use heat && dosbin "${S}"/contrib/ntpheat{,usb}
-
- # Install the openrc files
- newinitd "${FILESDIR}"/ntpd.rc-r3 ntp
- newconfd "${FILESDIR}"/ntpd.confd ntp
-
- # Install the systemd unit file
- systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
-
- # Prepare a directory for the ntp.drift file
- mkdir -pv "${ED}"/var/lib/ntp
- chown ntp:ntp "${ED}"/var/lib/ntp
- chmod 770 "${ED}"/var/lib/ntp
- keepdir /var/lib/ntp
-
- # Install a log rotate script
- mkdir -pv "${ED}"/etc/logrotate.d
- cp -v "${S}"/etc/logrotate-config.ntpd "${ED}"/etc/logrotate.d/ntpd
-
- # Install the configuration file and sample configuration
- cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
- cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
-
- # move doc files to /usr/share/doc/"${P}"
- use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-
-python_install() {
- waf-utils_src_install --notests
- python_fix_shebang "${ED}"
- python_optimize
-}
-
-pkg_postinst() {
- einfo "If you want to serve time on your local network, then"
- einfo "you should disable all the ref_clocks unless you have"
- einfo "one and can get stable time from it. Feel free to try"
- einfo "it but PPS probably won't work unless you have a UART"
- einfo "GPS that actually provides PPS messages."
-}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-05-28 22:01 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-05-28 22:01 UTC (permalink / raw
To: gentoo-commits
commit: 60fd2133ac5289f3776baef3218dbae7750c5816
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 22:00:47 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 28 22:00:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60fd2133
net-misc/ntpsec: Stabilize 1.2.3 amd64, #933025
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.3.ebuild b/net-misc/ntpsec/ntpsec-1.2.3.ebuild
index ca1b744563fb..d382627a981f 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3.ebuild
@@ -20,7 +20,7 @@ else
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: 93bbffd213cf5214c4d9f6875a18bc0bdfa964cb
Author: James Browning <JamesB.fe80 <AT> gmail <DOT> com>
AuthorDate: Wed Jun 5 14:22:43 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:01:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93bbffd2
net-misc/ntpsec: Change to PEP517 build, finally.
Bug: https://bugs.gentoo.org/910009
Bug: https://bugs.gentoo.org/922819
Signed-off-by: James Browning <JamesB.fe80 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 3 +--
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 3 +--
net-misc/ntpsec/ntpsec-9999.ebuild | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index 0a94ff49d14d..8d6c28ad52eb 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -3,10 +3,9 @@
EAPI=8
-#DISTUTILS_USE_PEP517="flit"
+DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE='threads(+)'
-DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1 flag-o-matic waf-utils systemd
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index cd24946409e0..c1ad553122ae 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -3,10 +3,9 @@
EAPI=8
-#DISTUTILS_USE_PEP517="flit"
+DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
-DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1 flag-o-matic waf-utils systemd
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 20b970da4170..c656c7343aab 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -3,10 +3,9 @@
EAPI=8
-#DISTUTILS_USE_PEP517="flit"
+DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
-DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1 flag-o-matic waf-utils systemd
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: d7d9ffd7751437e145b5b867efa14f39c9393fc7
Author: James Browning <JamesB.fe80 <AT> gmail <DOT> com>
AuthorDate: Tue Jun 4 19:01:28 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:01:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7d9ffd7
net-misc/ntpsec: Replace n(+1) used whole tree builds with 1
Signed-off-by: James Browning <JamesB.fe80 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 17 +++++++++++++----
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 19 ++++++++++++++-----
net-misc/ntpsec/ntpsec-9999.ebuild | 19 ++++++++++++++-----
3 files changed, 41 insertions(+), 14 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index 9db716210dab..7ac251bca9f3 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-DISTUTILS_EXT=1
+#DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -108,7 +108,6 @@ src_configure() {
--notests
--nopyc
--nopyo
- --enable-pylib ext
--refclock="${CLOCKSTRING}"
#--build-epoch="$(date +%s)"
$(use doc || echo "--disable-doc")
@@ -165,14 +164,24 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-python_install() {
waf-utils_src_install --notests
+ ln -svf pylib build/main/ntp
+ wheel_name=$(
+ cd build/main && \
+ gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
+ )
+ python_foreach_impl python_install
python_fix_shebang "${ED}"
python_optimize
}
+python_install() {
+ ${PYTHON} -m gpep517 \
+ install-wheel "${wheel_name}" \
+ --optimize all --destdir "${D}"
+}
+
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index 760ab7ded80c..f68a9031ad40 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..12} )
+#DISTUTILS_USE_PEP517="flit"
+PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -108,7 +108,6 @@ src_configure() {
--notests
--nopyc
--nopyo
- --enable-pylib ext
--refclock="${CLOCKSTRING}"
#--build-epoch="$(date +%s)"
$(use doc || echo "--disable-doc")
@@ -164,14 +163,24 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-python_install() {
waf-utils_src_install --notests
+ ln -svf pylib build/main/ntp
+ wheel_name=$(
+ cd build/main && \
+ gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
+ )
+ python_foreach_impl python_install
python_fix_shebang "${ED}"
python_optimize
}
+python_install() {
+ ${PYTHON} -m gpep517 \
+ install-wheel "${wheel_name}" \
+ --optimize all --destdir "${D}"
+}
+
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 79ca14fe71f2..01362d1ff984 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-DISTUTILS_EXT=1
-PYTHON_COMPAT=( python3_{10..12} )
+#DISTUTILS_USE_PEP517="flit"
+PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
DISTUTILS_USE_SETUPTOOLS=no
@@ -108,7 +108,6 @@ src_configure() {
--notests
--nopyc
--nopyo
- --enable-pylib ext
--refclock="${CLOCKSTRING}"
#--build-epoch="$(date +%s)"
$(use doc || echo "--disable-doc")
@@ -164,14 +163,24 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
-}
-python_install() {
waf-utils_src_install --notests
+ ln -svf pylib build/main/ntp
+ wheel_name=$(
+ cd build/main && \
+ gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
+ )
+ python_foreach_impl python_install
python_fix_shebang "${ED}"
python_optimize
}
+python_install() {
+ ${PYTHON} -m gpep517 \
+ install-wheel "${wheel_name}" \
+ --optimize all --destdir "${D}"
+}
+
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: 0427cc0344959d6e9e5d83a66ebf4dc689dea6ac
Author: James Browning <JamesB.fe80 <AT> gmail <DOT> com>
AuthorDate: Sun Jun 2 11:07:38 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:00:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0427cc03
net-misc/ntpsec: Replace USE_EXPANDish flags with normal ones
Signed-off-by: James Browning <JamesB.fe80 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/metadata.xml | 30 +++++++++++-----------
...tpsec-1.2.2a.ebuild => ntpsec-1.2.2a-r1.ebuild} | 12 ++++-----
...{ntpsec-1.2.3.ebuild => ntpsec-1.2.3-r1.ebuild} | 12 ++++-----
net-misc/ntpsec/ntpsec-9999.ebuild | 12 ++++-----
4 files changed, 30 insertions(+), 36 deletions(-)
diff --git a/net-misc/ntpsec/metadata.xml b/net-misc/ntpsec/metadata.xml
index 864309f6a22b..c7648d479a4a 100644
--- a/net-misc/ntpsec/metadata.xml
+++ b/net-misc/ntpsec/metadata.xml
@@ -12,21 +12,21 @@
<flag name="libbsd">Use libbsd instead of internal funcs</flag>
<flag name="nist">Set local clock deps</flag>
<flag name="ntpviz">Make visualizations of offsets, jiffies, etc.</flag>
- <flag name="rclock_oncore">Oncore driver</flag>
- <flag name="rclock_trimble">Trimble driver</flag>
- <flag name="rclock_truetime">Trutime driver (deprecated)</flag>
- <flag name="rclock_gpsd">Enable gpsd daemon support</flag>
- <flag name="rclock_jjy">JJY driver</flag>
- <flag name="rclock_generic">Enable support for generic time radios and GPSDOs</flag>
- <flag name="rclock_spectracom">Spectracom driver</flag>
- <flag name="rclock_shm">Obtain refclock info from shared memory-segment</flag>
- <flag name="rclock_pps">PPS cesium clock driver</flag>
- <flag name="rclock_hpgps">Hewlett Packard GPS driver</flag>
- <flag name="rclock_zyfer">Zyfer driver</flag>
- <flag name="rclock_arbiter">Arbiter 1088A/B GPS driver</flag>
- <flag name="rclock_nmea">NMEA GPS driver</flag>
- <flag name="rclock_modem">NIST/USNO/PTB Modem Time Services</flag>
- <flag name="rclock_local">Support for undisciplined local clock (not recommended)</flag>
+ <flag name="oncore">Oncore driver</flag>
+ <flag name="trimble">Trimble driver</flag>
+ <flag name="truetime">Trutime driver (deprecated)</flag>
+ <flag name="gpsd">Enable gpsd daemon support</flag>
+ <flag name="jjy">JJY driver</flag>
+ <flag name="generic">Enable support for generic time radios and GPSDOs</flag>
+ <flag name="spectracom">Spectracom driver</flag>
+ <flag name="shm">Obtain refclock info from shared memory-segment</flag>
+ <flag name="pps">PPS cesium clock driver</flag>
+ <flag name="hpgps">Hewlett Packard GPS driver</flag>
+ <flag name="zyfer">Zyfer driver</flag>
+ <flag name="arbiter">Arbiter 1088A/B GPS driver</flag>
+ <flag name="nmea">NMEA GPS driver</flag>
+ <flag name="modem">NIST/USNO/PTB Modem Time Services</flag>
+ <flag name="local">Support for undisciplined local clock (not recommended)</flag>
<flag name="smear">Specify the interval over which a leap second is applied (experimental)</flag>
</use>
</pkgmetadata>
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
similarity index 92%
rename from net-misc/ntpsec/ntpsec-1.2.2a.ebuild
rename to net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index 52c1058a3b2e..95735be7c7bf 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -36,10 +36,8 @@ NTPSEC_REFCLOCK=(
shm pps hpgps zyfer arbiter nmea modem local
)
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+IUSE="${NTPSEC_REFCLOCK[@]} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( local )"
# net-misc/pps-tools oncore,pps
DEPEND="
@@ -49,8 +47,8 @@ DEPEND="
sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
seccomp? ( sys-libs/libseccomp )
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
+ oncore? ( net-misc/pps-tools )
+ pps? ( net-misc/pps-tools )
"
RDEPEND="
${DEPEND}
@@ -99,7 +97,7 @@ src_configure() {
local CLOCKSTRING=""
for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
+ if use ${refclock} ; then
string_127+="$refclock,"
fi
done
diff --git a/net-misc/ntpsec/ntpsec-1.2.3.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
similarity index 92%
rename from net-misc/ntpsec/ntpsec-1.2.3.ebuild
rename to net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index 29d8829e72d7..a2c87b866336 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -36,10 +36,8 @@ NTPSEC_REFCLOCK=(
shm pps hpgps zyfer arbiter nmea modem local
)
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+IUSE="${NTPSEC_REFCLOCK[@]} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( local )"
# net-misc/pps-tools oncore,pps
DEPEND="
@@ -49,8 +47,8 @@ DEPEND="
sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
seccomp? ( sys-libs/libseccomp )
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
+ oncore? ( net-misc/pps-tools )
+ pps? ( net-misc/pps-tools )
"
RDEPEND="
${DEPEND}
@@ -99,7 +97,7 @@ src_configure() {
local CLOCKSTRING=""
for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
+ if use ${refclock} ; then
string_127+="$refclock,"
fi
done
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index ca1b744563fb..68b047560c2a 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -36,10 +36,8 @@ NTPSEC_REFCLOCK=(
shm pps hpgps zyfer arbiter nmea modem local
)
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+IUSE="${NTPSEC_REFCLOCK[@]} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( local )"
# net-misc/pps-tools oncore,pps
DEPEND="
@@ -49,8 +47,8 @@ DEPEND="
sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
seccomp? ( sys-libs/libseccomp )
- rclock_oncore? ( net-misc/pps-tools )
- rclock_pps? ( net-misc/pps-tools )
+ oncore? ( net-misc/pps-tools )
+ pps? ( net-misc/pps-tools )
"
RDEPEND="
${DEPEND}
@@ -99,7 +97,7 @@ src_configure() {
local CLOCKSTRING=""
for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use rclock_${refclock} ; then
+ if use ${refclock} ; then
string_127+="$refclock,"
fi
done
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: fa8cb51ea78399f327fe01c6076081eba73c17ad
Author: James Browning <JamesB.fe80 <AT> gmail <DOT> com>
AuthorDate: Tue Jun 4 19:12:27 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:01:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa8cb51e
net-misc/ntpsec: Reduce the number of actual builds to 1 from n(+1)
Signed-off-by: James Browning <JamesB.fe80 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 14 +++-----------
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 14 +++-----------
net-misc/ntpsec/ntpsec-9999.ebuild | 14 +++-----------
3 files changed, 9 insertions(+), 33 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index 7ac251bca9f3..0a94ff49d14d 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -86,8 +86,6 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
}
src_configure() {
@@ -118,26 +116,20 @@ src_configure() {
$(use smear && echo "--enable-leap-smear")
$(use debug && echo "--enable-debug")
)
-
- distutils-r1_src_configure
-}
-
-python_configure() {
+ python_setup
cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
waf-utils_src_configure "${myconf[@]}"
}
-python_compile() {
+src_compile() {
waf-utils_src_compile --notests
}
-python_test() {
+src_test() {
waf-utils_src_compile check
}
src_install() {
- distutils-r1_src_install
-
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index f68a9031ad40..cd24946409e0 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -86,8 +86,6 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
}
src_configure() {
@@ -117,26 +115,20 @@ src_configure() {
$(use smear && echo "--enable-leap-smear")
$(use debug && echo "--enable-debug")
)
-
- distutils-r1_src_configure
-}
-
-python_configure() {
+ python_setup
cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
waf-utils_src_configure "${myconf[@]}"
}
-python_compile() {
+src_compile() {
waf-utils_src_compile --notests
}
-python_test() {
+src_test() {
waf-utils_src_compile check
}
src_install() {
- distutils-r1_src_install
-
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 01362d1ff984..20b970da4170 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -86,8 +86,6 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
- python_copy_sources
}
src_configure() {
@@ -117,26 +115,20 @@ src_configure() {
$(use smear && echo "--enable-leap-smear")
$(use debug && echo "--enable-debug")
)
-
- distutils-r1_src_configure
-}
-
-python_configure() {
+ python_setup
cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
waf-utils_src_configure "${myconf[@]}"
}
-python_compile() {
+src_compile() {
waf-utils_src_compile --notests
}
-python_test() {
+src_test() {
waf-utils_src_compile check
}
src_install() {
- distutils-r1_src_install
-
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: cfc29c8eec7c629fe1a4f40d4e7c0bea616ef589
Author: James Browning <JamesB.fe80 <AT> gmail <DOT> com>
AuthorDate: Thu Jun 6 11:12:35 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:01:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfc29c8e
net-misc/ntpsec: Solve conflicting modules problem
gpep517 install-wheel throws a fit if run after
waf-utils_src_install for the same Python.
Bug: https://bugs.gentoo.org/910009
Bug: https://bugs.gentoo.org/922819
Signed-off-by: James Browning <JamesB.fe80 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 2 +-
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 2 +-
net-misc/ntpsec/ntpsec-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index c914d33d6e0c..44d6ac637a26 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -159,13 +159,13 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
- waf-utils_src_install --notests
ln -svf pylib build/main/ntp
wheel_name=$(
cd build/main && \
gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
)
python_foreach_impl python_install
+ waf-utils_src_install --notests
python_fix_shebang "${ED}"
python_optimize
}
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index c1ad553122ae..367b9c6b8fe3 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -155,13 +155,13 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
- waf-utils_src_install --notests
ln -svf pylib build/main/ntp
wheel_name=$(
cd build/main && \
gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
)
python_foreach_impl python_install
+ waf-utils_src_install --notests
python_fix_shebang "${ED}"
python_optimize
}
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index c656c7343aab..2bc971ead230 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -155,13 +155,13 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
- waf-utils_src_install --notests
ln -svf pylib build/main/ntp
wheel_name=$(
cd build/main && \
gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
)
python_foreach_impl python_install
+ waf-utils_src_install --notests
python_fix_shebang "${ED}"
python_optimize
}
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: d1bdf4a406fc113cf66e6cd044343fe1361ac4d7
Author: James Browning <JamesB.fe80 <AT> gmail <DOT> com>
AuthorDate: Thu Jun 6 11:56:04 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:02:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1bdf4a4
net-misc/ntpsec: Run tests conditionally
I am requiring FEATURES+=" test" and USE+=" test" for this.
Bug: https://bugs.gentoo.org/831352
Signed-off-by: James Browning <JamesB.fe80 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36963
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 9 +++++++--
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 9 +++++++--
net-misc/ntpsec/ntpsec-9999.ebuild | 9 +++++++--
3 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index 44d6ac637a26..58c5b907d54f 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -36,8 +36,9 @@ NTPSEC_REFCLOCK=(
shm pps hpgps zyfer arbiter nmea modem local
)
-IUSE="${NTPSEC_REFCLOCK[@]} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
+IUSE="${NTPSEC_REFCLOCK[@]} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear test" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( local )"
+RESTRICT="!test? ( test )"
# net-misc/pps-tools oncore,pps
DEPEND="
@@ -128,7 +129,11 @@ src_compile() {
}
src_test() {
- waf-utils_src_compile check
+ python_test
+}
+
+python_test() {
+ "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs)
}
src_install() {
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index 367b9c6b8fe3..b32037a2e83d 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -35,8 +35,9 @@ NTPSEC_REFCLOCK=(
shm pps hpgps zyfer arbiter nmea modem local
)
-IUSE="${NTPSEC_REFCLOCK[@]} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
+IUSE="${NTPSEC_REFCLOCK[@]} debug doc early heat libbsd nist ntpviz samba seccomp smear test" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( local )"
+RESTRICT="!test? ( test )"
# net-misc/pps-tools oncore,pps
DEPEND="
@@ -124,7 +125,11 @@ src_compile() {
}
src_test() {
- waf-utils_src_compile check
+ python_test
+}
+
+python_test() {
+ "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs)
}
src_install() {
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 2bc971ead230..683fced0c1d1 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -35,8 +35,9 @@ NTPSEC_REFCLOCK=(
shm pps hpgps zyfer arbiter nmea modem local
)
-IUSE="${NTPSEC_REFCLOCK[@]} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
+IUSE="${NTPSEC_REFCLOCK[@]} debug doc early heat libbsd nist ntpviz samba seccomp smear test" #ionice
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( local )"
+RESTRICT="!test? ( test )"
# net-misc/pps-tools oncore,pps
DEPEND="
@@ -124,7 +125,11 @@ src_compile() {
}
src_test() {
- waf-utils_src_compile check
+ python_test
+}
+
+python_test() {
+ "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs)
}
src_install() {
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: d86bc0181c2ae3ed0391fab1c66d27a43faaa709
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 07:47:12 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:02:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d86bc018
net-misc/ntpsec: fix verify-sig w/ downloaded waf
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 13 ++++++++++++-
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 13 ++++++++++++-
net-misc/ntpsec/ntpsec-1.2.3.ebuild | 2 +-
net-misc/ntpsec/ntpsec-9999.ebuild | 13 ++++++++++++-
4 files changed, 37 insertions(+), 4 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index aae9eef1da0d..a14653efe462 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)'
inherit distutils-r1 flag-o-matic multiprocessing waf-utils systemd
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
@@ -77,6 +77,17 @@ PATCHES=(
WAF_BINARY="${S}/waf"
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ elif use verify-sig ; then
+ # Needed for downloaded waf which is unsigned
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
+ fi
+
+ default
+}
+
src_prepare() {
cp -v "${DISTDIR}/waf-2.0.27" "${WAF_BINARY}" || die
chmod -v ugo+x "${WAF_BINARY}" || die
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index ae86968c45db..7bf78aa18efb 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)'
inherit distutils-r1 flag-o-matic multiprocessing waf-utils systemd
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
@@ -76,6 +76,17 @@ PATCHES=(
WAF_BINARY="${S}/waf"
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ elif use verify-sig ; then
+ # Needed for downloaded waf which is unsigned
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
+ fi
+
+ default
+}
+
src_prepare() {
default
diff --git a/net-misc/ntpsec/ntpsec-1.2.3.ebuild b/net-misc/ntpsec/ntpsec-1.2.3.ebuild
index 29d8829e72d7..2fd6e5cad45b 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3.ebuild
@@ -10,7 +10,7 @@ DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1 flag-o-matic waf-utils systemd
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index ae86968c45db..7bf78aa18efb 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)'
inherit distutils-r1 flag-o-matic multiprocessing waf-utils systemd
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git"
else
@@ -76,6 +76,17 @@ PATCHES=(
WAF_BINARY="${S}/waf"
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ elif use verify-sig ; then
+ # Needed for downloaded waf which is unsigned
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc}
+ fi
+
+ default
+}
+
src_prepare() {
default
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: bfb6ca177dc79b0ac3fa4dd5936c2e921e8a3fa8
Author: James Browning <JamesB.fe80 <AT> gmail <DOT> com>
AuthorDate: Thu Jun 6 02:26:32 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:01:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfb6ca17
net-misc/ntpsec: Use later waf to Python targets 3.11, 3.12
Signed-off-by: James Browning <JamesB.fe80 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/Manifest | 1 +
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 39399cdf6cee..44aebb180d23 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -2,3 +2,4 @@ DIST ntpsec-1.2.2a.tar.gz 2710790 BLAKE2B b069433598697ab1e8110dbd005316a295d14c
DIST ntpsec-1.2.2a.tar.gz.asc 833 BLAKE2B ce21b020d2a8590b731fdd4c171041fadbd699d60b9e10b2dc548675eed2efc04b9d5ae75fa8f77cc9c8e55db0f609d1eee5c5f2f7c7d804e1b087eb9ea95e1d SHA512 c1b0c1c6b534b11ef172d5ab68ada47bbd9e3f0298400c684e8745447221db16e4f4de436f06b0f6ab374e437b0506853a3a3da2bbe17c148cdf7de62c769f28
DIST ntpsec-1.2.3.tar.gz 2725081 BLAKE2B d39a4d08790949afb28b843739a410624a8d862bfc25afd4e6c7dc55be43e41f3c89823406c60fb911496e7a3db51d6fa83c8bcda9b9686708c36154c2fe9686 SHA512 6baecf32f499fc12c2ef0b44360072b61ab9e8b52ec7ead64ff43a27b5a57431db939d4ce1fad92d38def981f6256a1d8ede0c0cdc5abb50d861be729255eee2
DIST ntpsec-1.2.3.tar.gz.asc 833 BLAKE2B f0d6a0b163a7f9214da6d6eb1982f87387a7087efb740ec146f55362381aa101a5a8e40c27f121ca6607c0a5c429b1e06ecaf9a9ab5392d836535430cf6575fa SHA512 17280e3092e7e9de0ddae0723637a261d3a740d916ce0f016c44c6010672cfe2fc39b45f86257cfa5bd29f1f11895f8bd583c76765c6484489027cbc82dbe6b2
+DIST waf-2.0.27 105950 BLAKE2B b01cc3539f6d9c8aadd9ef95b4821f9b5314e92b4bc7b930ff193e0382de1b23f0b92da88bfe0273df146437c24779f5f5443895dc0743e8acae58e03c7cb406 SHA512 22c21dfcbf5ed25c25040ab04f62326f271b2b18ff96ca7598dadf68230d21d70cef1c9d7ef56721edbd9c737a56576fd4a9ffac1b00cb93d5c013b8f3a9d97e
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index 8d6c28ad52eb..c914d33d6e0c 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517="flit"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
inherit distutils-r1 flag-o-matic waf-utils systemd
@@ -18,6 +18,7 @@ else
SRC_URI="
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
+ https://waf.io/waf-2.0.27
"
KEYWORDS="amd64 arm arm64 ~riscv ~x86"
@@ -76,6 +77,8 @@ PATCHES=(
WAF_BINARY="${S}/waf"
src_prepare() {
+ cp -v "${DISTDIR}/waf-2.0.27" "${WAF_BINARY}"
+ chmod -v ugo+x "${WAF_BINARY}"
default
# Remove autostripping of binaries
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: 6bca5783e91c687ea600bfaab02879ca9cd3b4d9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 07:39:03 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:02:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bca5783
net-misc/ntpsec: move changes into ~arch revbumps
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/metadata.xml | 15 ++++++
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 2 +-
...ntpsec-1.2.3-r1.ebuild => ntpsec-1.2.2a.ebuild} | 54 ++++++++++------------
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 2 +-
...{ntpsec-1.2.3-r1.ebuild => ntpsec-1.2.3.ebuild} | 53 ++++++++++-----------
5 files changed, 66 insertions(+), 60 deletions(-)
diff --git a/net-misc/ntpsec/metadata.xml b/net-misc/ntpsec/metadata.xml
index c7648d479a4a..a2ce6c3f8cbc 100644
--- a/net-misc/ntpsec/metadata.xml
+++ b/net-misc/ntpsec/metadata.xml
@@ -12,6 +12,21 @@
<flag name="libbsd">Use libbsd instead of internal funcs</flag>
<flag name="nist">Set local clock deps</flag>
<flag name="ntpviz">Make visualizations of offsets, jiffies, etc.</flag>
+ <flag name="rclock_oncore">Oncore driver</flag>
+ <flag name="rclock_trimble">Trimble driver</flag>
+ <flag name="rclock_truetime">Trutime driver (deprecated)</flag>
+ <flag name="rclock_gpsd">Enable gpsd daemon support</flag>
+ <flag name="rclock_jjy">JJY driver</flag>
+ <flag name="rclock_generic">Enable support for generic time radios and GPSDOs</flag>
+ <flag name="rclock_spectracom">Spectracom driver</flag>
+ <flag name="rclock_shm">Obtain refclock info from shared memory-segment</flag>
+ <flag name="rclock_pps">PPS cesium clock driver</flag>
+ <flag name="rclock_hpgps">Hewlett Packard GPS driver</flag>
+ <flag name="rclock_zyfer">Zyfer driver</flag>
+ <flag name="rclock_arbiter">Arbiter 1088A/B GPS driver</flag>
+ <flag name="rclock_nmea">NMEA GPS driver</flag>
+ <flag name="rclock_modem">NIST/USNO/PTB Modem Time Services</flag>
+ <flag name="rclock_local">Support for undisciplined local clock (not recommended)</flag>
<flag name="oncore">Oncore driver</flag>
<flag name="trimble">Trimble driver</flag>
<flag name="truetime">Trutime driver (deprecated)</flag>
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index 58c5b907d54f..a90b1716e8c6 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -20,7 +20,7 @@ else
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
https://waf.io/waf-2.0.27
"
- KEYWORDS="amd64 arm arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
similarity index 82%
copy from net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
copy to net-misc/ntpsec/ntpsec-1.2.2a.ebuild
index b32037a2e83d..52c1058a3b2e 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a.ebuild
@@ -3,9 +3,10 @@
EAPI=8
-DISTUTILS_USE_PEP517="flit"
-PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE='threads(+)'
+DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1 flag-o-matic waf-utils systemd
@@ -35,9 +36,10 @@ NTPSEC_REFCLOCK=(
shm pps hpgps zyfer arbiter nmea modem local
)
-IUSE="${NTPSEC_REFCLOCK[@]} debug doc early heat libbsd nist ntpviz samba seccomp smear test" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( local )"
-RESTRICT="!test? ( test )"
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
DEPEND="
@@ -47,8 +49,8 @@ DEPEND="
sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
seccomp? ( sys-libs/libseccomp )
- oncore? ( net-misc/pps-tools )
- pps? ( net-misc/pps-tools )
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
"
RDEPEND="
${DEPEND}
@@ -71,7 +73,6 @@ BDEPEND+="
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
"${FILESDIR}/${PN}-1.2.2-logrotate.patch"
- "${FILESDIR}/${PN}-1.2.3-pep517-no-egg.patch"
)
WAF_BINARY="${S}/waf"
@@ -86,6 +87,8 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
+
+ python_copy_sources
}
src_configure() {
@@ -96,7 +99,7 @@ src_configure() {
local CLOCKSTRING=""
for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use ${refclock} ; then
+ if use rclock_${refclock} ; then
string_127+="$refclock,"
fi
done
@@ -106,33 +109,36 @@ src_configure() {
--notests
--nopyc
--nopyo
+ --enable-pylib ext
--refclock="${CLOCKSTRING}"
#--build-epoch="$(date +%s)"
$(use doc || echo "--disable-doc")
$(use early && echo "--enable-early-droproot")
+ $(use gdb && echo "--enable-debug-gdb")
$(use samba && echo "--enable-mssntp")
$(use seccomp && echo "--enable-seccomp")
$(use smear && echo "--enable-leap-smear")
$(use debug && echo "--enable-debug")
)
- python_setup
- cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
- waf-utils_src_configure "${myconf[@]}"
+
+ distutils-r1_src_configure
}
-src_compile() {
- waf-utils_src_compile --notests
+python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
}
-src_test() {
- python_test
+python_compile() {
+ waf-utils_src_compile --notests
}
python_test() {
- "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs)
+ waf-utils_src_compile check
}
src_install() {
+ distutils-r1_src_install
+
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
@@ -159,24 +165,14 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
- ln -svf pylib build/main/ntp
- wheel_name=$(
- cd build/main && \
- gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
- )
- python_foreach_impl python_install
+python_install() {
waf-utils_src_install --notests
python_fix_shebang "${ED}"
python_optimize
}
-python_install() {
- ${PYTHON} -m gpep517 \
- install-wheel "${wheel_name}" \
- --optimize all --destdir "${D}"
-}
-
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index b32037a2e83d..683fced0c1d1 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -19,7 +19,7 @@ else
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
"
- KEYWORDS="amd64 arm arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3.ebuild
similarity index 82%
copy from net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
copy to net-misc/ntpsec/ntpsec-1.2.3.ebuild
index b32037a2e83d..29d8829e72d7 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3.ebuild
@@ -3,9 +3,10 @@
EAPI=8
-DISTUTILS_USE_PEP517="flit"
-PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_EXT=1
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE='threads(+)'
+DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1 flag-o-matic waf-utils systemd
@@ -35,9 +36,10 @@ NTPSEC_REFCLOCK=(
shm pps hpgps zyfer arbiter nmea modem local
)
-IUSE="${NTPSEC_REFCLOCK[@]} debug doc early heat libbsd nist ntpviz samba seccomp smear test" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( local )"
-RESTRICT="!test? ( test )"
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early heat libbsd nist ntpviz samba seccomp smear" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
# net-misc/pps-tools oncore,pps
DEPEND="
@@ -47,8 +49,8 @@ DEPEND="
sys-libs/libcap
libbsd? ( dev-libs/libbsd:0= )
seccomp? ( sys-libs/libseccomp )
- oncore? ( net-misc/pps-tools )
- pps? ( net-misc/pps-tools )
+ rclock_oncore? ( net-misc/pps-tools )
+ rclock_pps? ( net-misc/pps-tools )
"
RDEPEND="
${DEPEND}
@@ -71,7 +73,6 @@ BDEPEND+="
PATCHES=(
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
"${FILESDIR}/${PN}-1.2.2-logrotate.patch"
- "${FILESDIR}/${PN}-1.2.3-pep517-no-egg.patch"
)
WAF_BINARY="${S}/waf"
@@ -86,6 +87,8 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
+
+ python_copy_sources
}
src_configure() {
@@ -96,7 +99,7 @@ src_configure() {
local CLOCKSTRING=""
for refclock in ${NTPSEC_REFCLOCK[@]} ; do
- if use ${refclock} ; then
+ if use rclock_${refclock} ; then
string_127+="$refclock,"
fi
done
@@ -106,6 +109,7 @@ src_configure() {
--notests
--nopyc
--nopyo
+ --enable-pylib ext
--refclock="${CLOCKSTRING}"
#--build-epoch="$(date +%s)"
$(use doc || echo "--disable-doc")
@@ -115,24 +119,25 @@ src_configure() {
$(use smear && echo "--enable-leap-smear")
$(use debug && echo "--enable-debug")
)
- python_setup
- cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
- waf-utils_src_configure "${myconf[@]}"
+
+ distutils-r1_src_configure
}
-src_compile() {
- waf-utils_src_compile --notests
+python_configure() {
+ waf-utils_src_configure "${myconf[@]}"
}
-src_test() {
- python_test
+python_compile() {
+ waf-utils_src_compile --notests
}
python_test() {
- "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs)
+ waf-utils_src_compile check
}
src_install() {
+ distutils-r1_src_install
+
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}
@@ -159,24 +164,14 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
+}
- ln -svf pylib build/main/ntp
- wheel_name=$(
- cd build/main && \
- gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
- )
- python_foreach_impl python_install
+python_install() {
waf-utils_src_install --notests
python_fix_shebang "${ED}"
python_optimize
}
-python_install() {
- ${PYTHON} -m gpep517 \
- install-wheel "${wheel_name}" \
- --optimize all --destdir "${D}"
-}
-
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: a7a550ba59e0fe463675c8602f4685ef4aad5040
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 07:57:57 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:02:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a550ba
net-misc/ntpsec: more idiomatic use of distutils-r1
Bug: https://bugs.gentoo.org/910009
Bug: https://bugs.gentoo.org/922819
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 20 ++++++++------------
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 20 ++++++++------------
net-misc/ntpsec/ntpsec-9999.ebuild | 20 ++++++++------------
3 files changed, 24 insertions(+), 36 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index a14653efe462..00428f679c48 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+DISTUTILS_EXT=1
DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
@@ -137,10 +138,15 @@ src_configure() {
src_compile() {
waf-utils_src_compile --notests
+
+ ln -svf pylib build/main/ntp || die
+ cd build/main || die
+ distutils-r1_src_compile
}
src_test() {
- python_test
+ cd build/main || die
+ distutils-r1_src_test
}
python_test() {
@@ -176,22 +182,12 @@ src_install() {
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
ln -svf pylib build/main/ntp || die
- wheel_name=$(
- cd build/main && \
- gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2 || die
- )
- python_foreach_impl python_install
+ distutils-r1_src_install
waf-utils_src_install --notests
python_fix_shebang "${ED}"
python_optimize
}
-python_install() {
- ${PYTHON} -m gpep517 \
- install-wheel "${wheel_name}" \
- --optimize all --destdir "${D}" || die
-}
-
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index 7bf78aa18efb..2268d6f6574a 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+DISTUTILS_EXT=1
DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
@@ -133,10 +134,15 @@ src_configure() {
src_compile() {
waf-utils_src_compile --notests
+
+ ln -svf pylib build/main/ntp || die
+ cd build/main || die
+ distutils-r1_src_compile
}
src_test() {
- python_test
+ cd build/main || die
+ distutils-r1_src_test
}
python_test() {
@@ -172,22 +178,12 @@ src_install() {
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
ln -svf pylib build/main/ntp || die
- wheel_name=$(
- cd build/main && \
- gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2 || die
- )
- python_foreach_impl python_install
+ distutils-r1_src_install
waf-utils_src_install --notests
python_fix_shebang "${ED}"
python_optimize
}
-python_install() {
- ${PYTHON} -m gpep517 \
- install-wheel "${wheel_name}" \
- --optimize all --destdir "${D}" || die
-}
-
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 7bf78aa18efb..2268d6f6574a 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+DISTUTILS_EXT=1
DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
@@ -133,10 +134,15 @@ src_configure() {
src_compile() {
waf-utils_src_compile --notests
+
+ ln -svf pylib build/main/ntp || die
+ cd build/main || die
+ distutils-r1_src_compile
}
src_test() {
- python_test
+ cd build/main || die
+ distutils-r1_src_test
}
python_test() {
@@ -172,22 +178,12 @@ src_install() {
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
ln -svf pylib build/main/ntp || die
- wheel_name=$(
- cd build/main && \
- gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2 || die
- )
- python_foreach_impl python_install
+ distutils-r1_src_install
waf-utils_src_install --notests
python_fix_shebang "${ED}"
python_optimize
}
-python_install() {
- ${PYTHON} -m gpep517 \
- install-wheel "${wheel_name}" \
- --optimize all --destdir "${D}" || die
-}
-
pkg_postinst() {
einfo "If you want to serve time on your local network, then"
einfo "you should disable all the ref_clocks unless you have"
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-06-14 8:03 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-06-14 8:03 UTC (permalink / raw
To: gentoo-commits
commit: 654bd88912eecc78138bf8ea855f615e701020da
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 07:42:24 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 08:02:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=654bd889
net-misc/ntpsec: add missing dies, inherit for multiprocessing
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild | 16 ++++++++--------
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 12 ++++++------
net-misc/ntpsec/ntpsec-9999.ebuild | 12 ++++++------
3 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
index a90b1716e8c6..aae9eef1da0d 100644
--- a/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.2a-r1.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 flag-o-matic waf-utils systemd
+inherit distutils-r1 flag-o-matic multiprocessing waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -78,8 +78,8 @@ PATCHES=(
WAF_BINARY="${S}/waf"
src_prepare() {
- cp -v "${DISTDIR}/waf-2.0.27" "${WAF_BINARY}"
- chmod -v ugo+x "${WAF_BINARY}"
+ cp -v "${DISTDIR}/waf-2.0.27" "${WAF_BINARY}" || die
+ chmod -v ugo+x "${WAF_BINARY}" || die
default
# Remove autostripping of binaries
@@ -120,7 +120,7 @@ src_configure() {
$(use debug && echo "--enable-debug")
)
python_setup
- cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
+ cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml" || die
waf-utils_src_configure "${myconf[@]}"
}
@@ -133,7 +133,7 @@ src_test() {
}
python_test() {
- "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs)
+ "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs) || die
}
src_install() {
@@ -164,10 +164,10 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
- ln -svf pylib build/main/ntp
+ ln -svf pylib build/main/ntp || die
wheel_name=$(
cd build/main && \
- gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
+ gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2 || die
)
python_foreach_impl python_install
waf-utils_src_install --notests
@@ -178,7 +178,7 @@ src_install() {
python_install() {
${PYTHON} -m gpep517 \
install-wheel "${wheel_name}" \
- --optimize all --destdir "${D}"
+ --optimize all --destdir "${D}" || die
}
pkg_postinst() {
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index 683fced0c1d1..ae86968c45db 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 flag-o-matic waf-utils systemd
+inherit distutils-r1 flag-o-matic multiprocessing waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -116,7 +116,7 @@ src_configure() {
$(use debug && echo "--enable-debug")
)
python_setup
- cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
+ cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml" || die
waf-utils_src_configure "${myconf[@]}"
}
@@ -129,7 +129,7 @@ src_test() {
}
python_test() {
- "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs)
+ "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs) || die
}
src_install() {
@@ -160,10 +160,10 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
- ln -svf pylib build/main/ntp
+ ln -svf pylib build/main/ntp || die
wheel_name=$(
cd build/main && \
- gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
+ gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2 || die
)
python_foreach_impl python_install
waf-utils_src_install --notests
@@ -174,7 +174,7 @@ src_install() {
python_install() {
${PYTHON} -m gpep517 \
install-wheel "${wheel_name}" \
- --optimize all --destdir "${D}"
+ --optimize all --destdir "${D}" || die
}
pkg_postinst() {
diff --git a/net-misc/ntpsec/ntpsec-9999.ebuild b/net-misc/ntpsec/ntpsec-9999.ebuild
index 683fced0c1d1..ae86968c45db 100644
--- a/net-misc/ntpsec/ntpsec-9999.ebuild
+++ b/net-misc/ntpsec/ntpsec-9999.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517="flit"
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE='threads(+)'
-inherit distutils-r1 flag-o-matic waf-utils systemd
+inherit distutils-r1 flag-o-matic multiprocessing waf-utils systemd
if [[ ${PV} == *9999* ]]; then
inherit git-r3
@@ -116,7 +116,7 @@ src_configure() {
$(use debug && echo "--enable-debug")
)
python_setup
- cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml"
+ cp -v "${FILESDIR}/flit.toml" "pylib/pyproject.toml" || die
waf-utils_src_configure "${myconf[@]}"
}
@@ -129,7 +129,7 @@ src_test() {
}
python_test() {
- "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs)
+ "${EPYTHON}" "${WAF_BINARY}" check -v -j $(makeopts_jobs) || die
}
src_install() {
@@ -160,10 +160,10 @@ src_install() {
# move doc files to /usr/share/doc/"${P}"
use doc && mv -v "${ED}"/usr/share/doc/"${PN}" "${ED}"/usr/share/doc/"${P}"/html
- ln -svf pylib build/main/ntp
+ ln -svf pylib build/main/ntp || die
wheel_name=$(
cd build/main && \
- gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2
+ gpep517 build-wheel --output-fd 3 --wheel-dir ../.. 3>&1 >&2 || die
)
python_foreach_impl python_install
waf-utils_src_install --notests
@@ -174,7 +174,7 @@ src_install() {
python_install() {
${PYTHON} -m gpep517 \
install-wheel "${wheel_name}" \
- --optimize all --destdir "${D}"
+ --optimize all --destdir "${D}" || die
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-11-23 12:09 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-11-23 12:09 UTC (permalink / raw
To: gentoo-commits
commit: f1ce2ddfb0b02186cb1ce43408585de391371424
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 12:07:38 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 12:07:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ce2ddf
net-misc/ntpsec: Stabilize 1.2.3-r1 arm, #944601
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index 2268d6f6574a..95c1dbf307d5 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -20,7 +20,7 @@ else
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 arm ~arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-11-23 14:51 Sam James
0 siblings, 0 replies; 91+ messages in thread
From: Sam James @ 2024-11-23 14:51 UTC (permalink / raw
To: gentoo-commits
commit: 78e323be63521d8b1b4329326c64973939473726
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 14:51:02 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 14:51:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e323be
net-misc/ntpsec: Stabilize 1.2.3-r1 arm64, #944601
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index 95c1dbf307d5..f8f0517b84b7 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -20,7 +20,7 @@ else
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
"
- KEYWORDS="~amd64 arm ~arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 arm arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
^ permalink raw reply related [flat|nested] 91+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/
@ 2024-11-23 15:05 Michał Górny
0 siblings, 0 replies; 91+ messages in thread
From: Michał Górny @ 2024-11-23 15:05 UTC (permalink / raw
To: gentoo-commits
commit: a8203683ff2c2e6196e87502c7dc443975d7a486
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 15:03:24 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 15:04:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8203683
net-misc/ntpsec: Stabilize 1.2.3-r1 amd64, #944601
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
index f8f0517b84b7..f33d7bdfd5d0 100644
--- a/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.3-r1.ebuild
@@ -20,7 +20,7 @@ else
https://ftp.ntpsec.org/pub/releases/${P}.tar.gz
verify-sig? ( https://ftp.ntpsec.org/pub/releases/${P}.tar.gz.asc )
"
- KEYWORDS="~amd64 arm arm64 ~riscv ~x86"
+ KEYWORDS="amd64 arm arm64 ~riscv ~x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ntpsec )"
fi
^ permalink raw reply related [flat|nested] 91+ messages in thread
end of thread, other threads:[~2024-11-23 15:05 UTC | newest]
Thread overview: 91+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-27 18:10 [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/ Mike Gilbert
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 15:05 Michał Górny
2024-11-23 14:51 Sam James
2024-11-23 12:09 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-06-14 8:03 Sam James
2024-05-28 22:01 Sam James
2024-05-09 12:24 Sam James
2024-05-09 12:24 Sam James
2024-01-24 6:55 Sam James
2023-09-22 17:34 Arthur Zamarin
2023-09-21 6:22 Sam James
2023-09-21 6:00 Joonas Niilola
2023-09-19 10:56 Sam James
2023-06-24 2:59 Sam James
2023-03-17 17:00 Sam James
2023-03-17 16:24 Arthur Zamarin
2023-03-17 16:17 Arthur Zamarin
2023-02-03 13:34 Sam James
2022-12-30 6:33 Sam James
2022-12-13 5:27 Sam James
2022-06-17 6:56 Agostino Sarubbo
2022-06-17 6:55 Agostino Sarubbo
2022-06-16 23:06 Jakov Smolić
2022-06-15 10:01 Sam James
2022-06-12 15:34 Sam James
2022-05-31 7:10 Agostino Sarubbo
2022-05-31 7:10 Agostino Sarubbo
2022-05-31 2:57 Sam James
2022-04-20 1:11 Sam James
2022-04-20 1:11 Sam James
2022-04-20 1:03 Sam James
2021-12-06 1:41 Steve Arnold
2021-12-02 22:10 Steve Arnold
2021-06-22 19:45 Sam James
2021-06-21 19:05 Sam James
2021-06-21 19:05 Sam James
2021-06-11 6:39 Sam James
2021-06-10 21:11 Sam James
2021-06-10 21:11 Sam James
2021-06-03 16:26 Sam James
2021-05-31 6:03 Agostino Sarubbo
2021-05-30 9:59 Sam James
2021-05-30 5:45 Sam James
2021-04-21 18:51 Sam James
2021-04-11 1:09 Steve Arnold
2021-01-26 3:25 Steve Arnold
2020-07-17 23:25 Sam James
2020-07-11 18:31 Sam James
2020-07-11 17:57 Sam James
2020-06-27 23:35 Andreas K. Hüttel
2020-06-20 0:42 Aaron Bauman
2020-05-18 21:10 Agostino Sarubbo
2020-05-18 12:58 Agostino Sarubbo
2020-02-10 21:25 Michał Górny
2019-12-23 20:52 Anthony G. Basile
2019-12-19 17:56 Steve Arnold
2019-12-19 17:48 Steve Arnold
2019-11-10 3:40 Steve Arnold
2019-10-28 9:43 Agostino Sarubbo
2019-10-07 21:47 Robin H. Johnson
2019-09-11 22:57 Steve Arnold
2019-09-07 9:55 Agostino Sarubbo
2019-07-16 17:08 Anthony G. Basile
2019-07-16 17:08 Anthony G. Basile
2019-07-14 0:45 Anthony G. Basile
2019-07-04 15:50 Anthony G. Basile
2019-05-31 6:49 Agostino Sarubbo
2019-05-23 20:30 Anthony G. Basile
2019-05-23 17:52 Anthony G. Basile
2018-09-30 23:10 Robin H. Johnson
2018-09-05 1:51 Anthony G. Basile
2018-06-19 18:05 Anthony G. Basile
2018-02-27 18:08 Mike Gilbert
2018-02-27 18:08 Mike Gilbert
2018-02-27 7:14 Steve Arnold
2018-02-25 19:59 Steve Arnold
2018-02-24 23:40 Anthony G. Basile
2018-02-24 23:34 Anthony G. Basile
2018-02-24 23:25 Anthony G. Basile
2018-02-24 1:21 Anthony G. Basile
2018-02-23 23:59 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox