Package Details: ntpsec 1.2.3-2

Git Clone URL: https://aur.archlinux.org/ntpsec.git (read-only, click to copy)
Package Base: ntpsec
Description: Security-hardened Network Time Protocol implementation
Upstream URL: https://www.ntpsec.org/
Licenses: Apache-2.0,BSD-2-Clause,BSD-4-Clause,ISC,NTP,Beerware,BSD-3-Clause,CC-BY-4.0,MIT
Conflicts: ntp
Provides: ntp
Submitter: chungy
Maintainer: gdfuego
Last Packager: gdfuego
Votes: 14
Popularity: 0.159537
First Submitted: 2016-12-01 10:10 (UTC)
Last Updated: 2023-12-31 17:37 (UTC)

Dependencies (12)

Required by (17)

Sources (4)

Latest Comments

1 2 3 Next › Last »

gdfuego commented on 2023-05-28 00:24 (UTC)

I've updated the package for aarch64. I can't test it out from my side though.

mys_721tx commented on 2023-05-27 01:15 (UTC)

Please add aarch64 to the supported architecture. It successfully builds on aarch64 alarm.

ghen commented on 2022-12-29 11:14 (UTC)

ntpsec 1.2.2 is out, and supports OpenSSL 3.0

gdfuego commented on 2022-11-23 15:56 (UTC)

Fix committed. Thank you.

<deleted-account> commented on 2022-11-14 19:59 (UTC)

--- PKGBUILD.old        2022-11-14 19:13:12.648504060 +0000                                                                   
+++ PKGBUILD    2022-11-14 19:16:13.988616631 +0000                                                                           
@@ -7,7 +7,7 @@
 url="https://www.ntpsec.org/"
 license=('custom')
-depends=('avahi' 'libbsd' 'python')
+depends=('avahi' 'libbsd' 'python' 'openssl-1.1')
 makedepends=('asciidoc' 'pps-tools' 'w3m' 'binutils')
 optdepends=('gnuplot: for ntpviz'
             'libevent: for ntpdig'
             'python-psutil: Optional for ntpviz, allows running with ionice'
@@ -43,6 +43,10 @@
 build() {
   cd "$pkgname-$pkgver"

+  export CFLAGS="$CFLAGS -I/usr/include/openssl-1.1"
+  export CXXFLAGS="$CXXFLAGS -I/usr/include/openssl-1.1"
+  export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.1/"
+
   ./waf configure --prefix /usr --sbindir=/usr/bin --enable-debug-gdb \
         --refclock=all --enable-doc --htmldir=/usr/share/doc/ntpsec \
         --enable-leap-smear

<deleted-account> commented on 2022-11-14 19:32 (UTC)

@eimis

--- PKGBUILD.old        2022-11-14 19:13:12.648504060 +0000                                                                   
+++ PKGBUILD    2022-11-14 19:16:13.988616631 +0000                                                                           
@@ -8,7 +8,7 @@                                                                                                                
url="https://www.ntpsec.org/"                                                                                                 
license=('custom')                                                                                                            
depends=('avahi' 'libbsd' 'python')                                                                                          
-makedepends=('asciidoc' 'pps-tools' 'w3m' 'binutils')                                                                        
+makedepends=('asciidoc' 'pps-tools' 'w3m' 'binutils' 'openssl-1.1')                                                           
optdepends=('gnuplot: for ntpviz'                                                                                                         
            'libevent: for ntpdig'
            'python-psutil: Optional for ntpviz, allows running with ionice'                                                 
@@ -43,6 +43,10 @@                                                                                                             
build() {                                                                                                                       
cd "$pkgname-$pkgver"                                                                                                                                                                                                                                    
+  export CFLAGS="$CFLAGS -I/usr/include/openssl-1.1"
+  export CXXFLAGS="$CXXFLAGS -I/usr/include/openssl-1.1"                                                                     
+  export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.1/"                                                                          
+                                                                                                                                
./waf configure --prefix /usr --sbindir=/usr/bin --enable-debug-gdb \                                                               
--refclock=all --enable-doc --htmldir=/usr/share/doc/ntpsec \                                                                 
--enable-leap-smear

<deleted-account> commented on 2022-11-14 19:31 (UTC)

--- PKGBUILD.old        2022-11-14 19:13:12.648504060 +0000                                                                   +++ PKGBUILD    2022-11-14 19:16:13.988616631 +0000                                                                           @@ -8,7 +8,7 @@                                                                                                                url="https://www.ntpsec.org/"                                                                                                 license=('custom')                                                                                                            depends=('avahi' 'libbsd' 'python')                                                                                          -makedepends=('asciidoc' 'pps-tools' 'w3m' 'binutils')                                                                        +makedepends=('asciidoc' 'pps-tools' 'w3m' 'binutils' 'openssl-1.1')                                                           optdepends=('gnuplot: for ntpviz'                                                                                                         'libevent: for ntpdig'
             'python-psutil: Optional for ntpviz, allows running with ionice'                                                 @@ -43,6 +43,10 @@                                                                                                             build() {                                                                                                                       cd "$pkgname-$pkgver"                                                                                                                                                                                                                                    +  export CFLAGS="$CFLAGS -I/usr/include/openssl-1.1"
+  export CXXFLAGS="$CXXFLAGS -I/usr/include/openssl-1.1"                                                                     +  export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.1/"                                                                          +                                                                                                                                ./waf configure --prefix /usr --sbindir=/usr/bin --enable-debug-gdb \                                                               --refclock=all --enable-doc --htmldir=/usr/share/doc/ntpsec \                                                                 --enable-leap-smear

eimis commented on 2022-11-12 20:29 (UTC)

no longer builds

../../attic/cmac-timing.c: In function ‘One_EVP_MAC’:                                                                                                                                                              
../../attic/cmac-timing.c:249:18: error: too few arguments to function ‘EVP_MAC_init’                                                                                                                              
  249 |         if (0 == EVP_MAC_init(ctx)) {                                                                                                                                                                      
      |                  ^~~~~~~~~~~~                                                                                                                                                                              
In file included from /usr/include/openssl/cmac.h:25,                                                                                                                                                              
                 from ../../attic/cmac-timing.c:29:                                                                                                                                                                
/usr/include/openssl/evp.h:1220:5: note: declared here                                                                                                                                                             
 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen,                                                                                                                                
      |     ^~~~~~~~~~~~                                                                                                                                                                                           
../../attic/cmac-timing.c: In function ‘One_EVP_MAC2’:                                                                                                                                                             
../../attic/cmac-timing.c:310:18: error: too few arguments to function ‘EVP_MAC_init’                    
  310 |         if (0 == EVP_MAC_init(ctx)) {
      |                  ^~~~~~~~~~~~                                                                    
/usr/include/openssl/evp.h:1220:5: note: declared here                                                   
 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen,                      
      |     ^~~~~~~~~~~~

12o commented on 2021-11-04 02:37 (UTC) (edited on 2021-11-04 02:45 (UTC) by 12o)

I received this error when attempting to install through AUR. I imported the key per the ntpsec Arch wiki page.

gpg --recv-keys 5A22E330161C3978
gpg: key 5A22E330161C3978: public key "NTPsec Contact <contact@ntpsec.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

.....

==> Verifying source file signatures with gpg...
    ntpsec-1.2.1.tar.gz ... FAILED (unknown public key 7F52608ED0E49D76)
==> ERROR: One or more PGP signatures could not be verified!

Just import the public key above in this code block. The wiki page just needs to be changed. Best to have the maintainer do it for verification.

kql commented on 2021-03-12 19:32 (UTC)

Thanks! Now it's running perfectly.