Package Details: ntpsec-git 1.2.1.r20.cb9d08ca5-1

Git Clone URL: https://aur.archlinux.org/ntpsec-git.git (read-only, click to copy)
Package Base: ntpsec-git
Description: Security-hardened Network Time Protocol implementation (Git HEAD)
Upstream URL: https://www.ntpsec.org/
Licenses: custom
Conflicts: ntp, ntpsec
Provides: ntp, ntpsec
Submitter: chungy
Maintainer: timb
Last Packager: timb
Votes: 1
Popularity: 0.000000
First Submitted: 2016-12-03 15:44 (UTC)
Last Updated: 2021-08-16 12:08 (UTC)

Dependencies (12)

Required by (16)

Sources (1)

Latest Comments

Alesander commented on 2021-07-01 08:08 (UTC) (edited on 2021-07-01 08:09 (UTC) by Alesander)

Install: cannot stat '../../ntpsec.sysusers' error can be fixed by adding 'ntpsec.sysusers' and 'use-arch-pool.patch' to source in PKGBUILD file.

source=("git+https://gitlab.com/NTPsec/ntpsec.git"
        'ntpsec.sysusers'
        'use-arch-pool.patch')

Then add two more 'SKIP' to the sha512sums.

sha512sums=('SKIP'
            'SKIP'
            'SKIP')

After, make sure to replace any instances of ../../ with $srcdir/. There should be two. One is in the prepare section for the patch and the other at the end in the package section.

Lastly, just gotta edit .SRCINFO file by adding source = ntpsec.sysusers and source = use-arch-pool.patch as well as two sha512sums = SKIP near the end of the file.

    source = git+https://gitlab.com/NTPsec/ntpsec.git
    source = ntpsec.sysusers
    source = use-arch-pool.patch
    sha512sums = SKIP
    sha512sums = SKIP
    sha512sums = SKIP

Now I could be entirely wrong here but this seems to fix it. Still a newbie and learning. :)

rlung commented on 2020-04-11 12:30 (UTC)

Building works, but install fails with:

install: cannot stat '../../ntpsec.sysusers': No such file or directory ==> ERROR: A failure occurred in package().

Any ideas?

timb commented on 2019-04-12 08:40 (UTC) (edited on 2019-04-20 21:17 (UTC) by timb)

Edit 2019-04-20: I’ve taken over as maintainer of this package and it is now up to date. I’ve got a script doing nightly builds on one of my Stratum 1 Microservers so the package should stay up to date. Please report any problems here in the comments.

General: Added arm armv6h armv7h aarch64 to the arch= option to allow building on embedded boards. (This is important for those wanting to setup a Stratum 1 Microserver.)

Build Section: Added --mandir=/use/share/man back to the ./waf configure command. Changed a2x -f docs/copyright.txt to a2x -f docs/copyright.adoc

Package Section: No longer manually install the man pages into the package directory. (This is now taken care of by the mandir option above.)

VerruckteFuchs commented on 2017-06-18 17:25 (UTC) (edited on 2017-06-18 17:26 (UTC) by VerruckteFuchs)

I'm getting an error: mv: cannot stat '/home/user/.cache/pacaur/ntpsec-git/pkg/ntpsec-git/usr/man': No such file or directory Commenting out 'mv "$pkgdir/usr/man" "$pkgdir/usr/share/man"' on line 62 of the PKGBUILD and using makepkg -sri prevents the error from occurring and ntpsec-git installs without any further errors.