On 1/31/19, Gary E. Miller via devel <devel@ntpsec.org> wrote:
> Yes.  But not done.  It likely broke the current Gentoo NTPsec ebuild
> for git head.

I have a patch for that.


--- a/net-misc/ntpsec/ntpsec-1.1.2.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.2.ebuild
@@ -28,11 +28,11 @@ NTPSEC_REFCLOCK=(
        shm pps hpgps zyfer arbiter nmea neoclock modem
        local)

-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/+rclock_}

 LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
 SLOT="0"
@@ -74,7 +74,6 @@ src_configure() {
        is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin

        local string_127=""
-       local rclocks="";
        local CLOCKSTRING=""

        for refclock in ${NTPSEC_REFCLOCK[@]} ; do
@@ -83,8 +82,10 @@ src_configure() {
                fi
        done
        CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+       local epoch="`date +%s`"

        local myconf=(
+               --build-epoch="${epoch}"
                --refclock="${CLOCKSTRING}"
                $(use doc       && echo "--enable-doc")
                $(use early     && echo "--enable-early-droproot")

Attachment: ntpsec-pyver.patch
Description: Binary data

Attachment: ntpsec-refclock.patch
Description: Binary data

Attachment: ntpsec-useless.patch
Description: Binary data

_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to