Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions SPECS/ntp/ntp.signatures.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"Signatures": {
"LICENSE.PTR": "22591c393c8f9d309234493b98ccddcf246cf5f843358b2bdb62d84e59780e02",
"ntp.step-tickers": "8b4bc72cc4a0af1e855f8836de5ceaa15b29620b7d3147e8f05c73bac773bee8",
"ntp.sysconfig": "f2a0ab20767f2c1975cd56cc2b013070fc5b0fbc6a619a3fad05c16d5d0bd6ba",
"ntpd.service": "10636ab4e5d799c3071a08a961b2ed668309f70ebae9f46bf23f4079be60d431",
"ntpdate.service": "a75376fde5a9d0eb0237ef4a84bac3cdef4c6ecadeee0eb41c6c124cd857fa46",
"ntpdate.sysconfig": "7ce7b151ea02332800688c8cb0bafefd246c9c0037491686fd833b3baaeff419",
"ntpdate.wrapper": "f63c7828bd29379b88db578658528bbb7ff915cd0e56cf1fee0a77ff59c35f09",
"ntpstat-master.zip": "383871e655c38fa853a4d5935d4be4aba08842e73e51ed3daf824e6a333dadc6",
"ntp-4.2.8p17.tar.gz": "103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866"
}
"Signatures": {
Comment thread
realsdx marked this conversation as resolved.
"LICENSE.PTR": "22591c393c8f9d309234493b98ccddcf246cf5f843358b2bdb62d84e59780e02",
"ntp-4.2.8p17.tar.gz": "103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866",
"ntp.step-tickers": "8b4bc72cc4a0af1e855f8836de5ceaa15b29620b7d3147e8f05c73bac773bee8",
"ntp.sysconfig": "f2a0ab20767f2c1975cd56cc2b013070fc5b0fbc6a619a3fad05c16d5d0bd6ba",
"ntpd.service": "10636ab4e5d799c3071a08a961b2ed668309f70ebae9f46bf23f4079be60d431",
"ntpdate.service": "a75376fde5a9d0eb0237ef4a84bac3cdef4c6ecadeee0eb41c6c124cd857fa46",
"ntpdate.sysconfig": "7ce7b151ea02332800688c8cb0bafefd246c9c0037491686fd833b3baaeff419",
"ntpdate.wrapper": "247ae15d8f8c0332cb7850c041969e649b8a557642c1e811ec48b4c89bd20597",
"ntpstat-master.zip": "383871e655c38fa853a4d5935d4be4aba08842e73e51ed3daf824e6a333dadc6"
}
}
5 changes: 4 additions & 1 deletion SPECS/ntp/ntp.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Network Time Protocol reference implementation
Name: ntp
Version: 4.2.8p17
Release: 1%{?dist}
Release: 2%{?dist}
License: BSD AND GPLv2+ AND LGPLv2+ AND MIT AND OpenLDAP AND Public Domain
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand Down Expand Up @@ -197,6 +197,9 @@ fi
%{_mandir}/man8/ntpstat.8*

%changelog
* Tue Mar 17 2026 Sudipta Pandit <sudpandit@microsoft.com> - 4.2.8p17-2
- Fix ntpdate-wrapper to use /usr/bin/ntpdate

* Wed Jan 31 2024 Karim Eldegwy <karimeldegwy@microsoft.com> - 4.2.8p17-1
- Auto-upgrade to 4.2.8p17 - 3.0 - Upgrade
- Remove not applicable patch
Expand Down
4 changes: 2 additions & 2 deletions SPECS/ntp/ntpdate.wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ntpconf=/etc/ntp.conf
ntpstep=/etc/ntp/step-tickers

[ "$EUID" != "0" ] && exit 4
[ -x /usr/sbin/ntpdate ] || exit 5
[ -x /usr/bin/ntpdate ] || exit 5
[ -f /etc/sysconfig/ntpdate ] || exit 6
. /etc/sysconfig/ntpdate

Expand All @@ -22,7 +22,7 @@ if ! echo "$tickers" | grep -qi '[a-z0-9]'; then
exit 6
fi

/usr/sbin/ntpdate -s -b $OPTIONS $tickers &> /dev/null
/usr/bin/ntpdate -s -b $OPTIONS $tickers &> /dev/null
RETVAL=$?

[ $RETVAL -eq 0 ] && [ "$SYNC_HWCLOCK" = "yes" ] && /sbin/hwclock --systohc
Expand Down
Loading