diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /net-misc/ntpsec | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'net-misc/ntpsec')
-rw-r--r-- | net-misc/ntpsec/Manifest | 6 | ||||
-rw-r--r-- | net-misc/ntpsec/metadata.xml | 1 | ||||
-rw-r--r-- | net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild | 4 | ||||
-rw-r--r-- | net-misc/ntpsec/ntpsec-9999.ebuild | 27 |
4 files changed, 24 insertions, 14 deletions
diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest index 58a39da980af..622b415dc281 100644 --- a/net-misc/ntpsec/Manifest +++ b/net-misc/ntpsec/Manifest @@ -6,6 +6,6 @@ AUX ntpsec-1.1.9-remove-asciidoctor-from-config.patch 680 BLAKE2B 7204a831b3dc0d AUX ntpsec-1.2.1-seccomp-rollup.patch 2987 BLAKE2B 82bd355cdd169133f232f6514f363e87b6876472d49d69d034dd33aefe7179dc3db5e661909774471635dd947761f5e8ab47ecc0dcf8d6c2e62ffdad06044a3f SHA512 34c1941dfd7d7968fa954fb36411aad5e711767f1c0b6aca52cd8f8c839163110af2d4774a7a41b1f3d0daa49af5823b74e9c8a2a9ec12b9a344c72ce505d279 AUX ntpsec-no-bsd.patch 1538 BLAKE2B 6abb7acf23149a5a47f8e479bff090966e7e6161fc0d5bca1f9e5b9396d90898a783e7d309d6cdbdf689ea12314c804aa7a39f05b3f11d75a95eb337cea95b55 SHA512 7ddb346c7f0c9b30ea08ac28eaa39cf86e3d6cee7eaeba3bc7fe0883acd5087966e4e7beb298cee02607dfa3198a8c1dfcd9ce43ead820de3bb7014cefe75302 DIST ntpsec-1.2.1.tar.gz 2681237 BLAKE2B bfb2674131718dcf9f393e93d1148cfb6631591dbcce1ade91746586f261123b80b238393ac2a763fab119cd627f8eae4b006b023ad2b319e752db9eb4b04cc0 SHA512 0b8b0bda52d3025f6e9a06c00b1e0c25c595ada72b87ed0e5d3d6f77a034f557745156bc6d9a263c9876c041efffa38d42fa93ba8bfda31f67efbd842a726277 -EBUILD ntpsec-1.2.1-r1.ebuild 4385 BLAKE2B 2491e0e0264e62b0c0df4e0a8ff16db025595cc923e7f5d7377d6b34ba49e54282250c749d2b6ef902656f397e656d9154f8917629ec120a0002fbb712025773 SHA512 b88a7764966d07394af3dc473e5fbc5645dc90a28a3005768900714d7e08e356596cbc23ca49a65974fb929ab8d8acb73f70f5e8d03b9cc3942c5c75880003b1 -EBUILD ntpsec-9999.ebuild 4063 BLAKE2B 46d4c35ff1b73d2af63182f38ea3d3c4b3ab28b53b31764f9e8615922239857df7cbe7397d32202402b91507547e0d6d9834184f13c249bd95e32e39ed4c1cd2 SHA512 55278b3d172de7de1eff6a9269049bbb40270ce16cd6063c550ae0c9a642300899ba22d3953b24e4abe7fb7391cd453a035892915d15d44d0cf7e7f89cc1606b -MISC metadata.xml 1968 BLAKE2B 7322d8ae32025477e68bee19ef813b5bd8011f750cd9dde23437a7519491db477e85178f3be69356c2cccd2a3519b60fa264988c9cd3fb8d6f8700a1392199d6 SHA512 c4d698ea3cf83e8b624281a3f841742f318f5d52768361debad2aaa7413e8447fd4f62d6b11fc3b25981da6b7f73efbd87d904c9688cdc1e7b54fbb3d88b2154 +EBUILD ntpsec-1.2.1-r1.ebuild 4377 BLAKE2B dd1b2f43d6b675115c4fc05696d911ee961c7de76b1b41cb78713de5f002eb7178eeaa3af5a89ce3752e399939d2071c12db2d065b750f7558f0c89f9dd8852b SHA512 0bacae74caf389efe8918f62dc2c344d405c6cf04d1bf02b36e708bef8a2e572453fcd72443780a3771af05e8412328c697cec8e55706e79ed801c5e1e76cc85 +EBUILD ntpsec-9999.ebuild 4329 BLAKE2B f6706f89cbd8191608ca4092ee2de304db5ac676cd6fcf3fc0d2c107acb5a66da0d546d8b060ff80db60a00a9029b0746e104b71546b0109ffddef259144d778 SHA512 26a81887ef0537376df3f458772cf000fb7f40171e7d481a1f72393f0226ee7c3c810715bcae144dab63b06e942767d6e073112e7626e2a12db5ecc80c8fc6e5 +MISC metadata.xml 1902 BLAKE2B d807dc3dae199835bfa1624e76b43e39a1392f07d736ab5936c48bd4cfd69fdc1bae71a02c3cd9f405aa0992e7ebe27f5ffb639eafed027deba96eaa99ace391 SHA512 a29e4dfebcda69c393487ccfccdefd2b9e4e5c63591d2ed7c008b54b7c04afea071938fd2e0ce6c67f26ccecf427053b1a2b8e946dfcc3e092f64d00bc28aadf 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 |