rebuilt without libwww dependency [release 4.2.8p17-2mamba;Thu Oct 19 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:43:42 +01:00
parent 2d93eb69d4
commit 73395ea31c
3 changed files with 22 additions and 21 deletions

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: ntp-server Name: ntp-server
Version: 4.2.8p17 Version: 4.2.8p17
Release: 1mamba Release: 2mamba
Summary: Synchronizes system time using the Network Time Protocol (NTP) Summary: Synchronizes system time using the Network Time Protocol (NTP)
Group: System/Configuration Group: System/Configuration
Vendor: openmamba Vendor: openmamba
@ -23,6 +23,7 @@ BuildRequires: glibc-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libedit-devel BuildRequires: libedit-devel
BuildRequires: libevent-devel BuildRequires: libevent-devel
BuildRequires: libmd-devel
BuildRequires: libnetsnmp-devel BuildRequires: libnetsnmp-devel
BuildRequires: libnl-devel BuildRequires: libnl-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
@ -31,13 +32,11 @@ BuildRequires: libpcre-devel
BuildRequires: libperl BuildRequires: libperl
BuildRequires: librpm-devel BuildRequires: librpm-devel
BuildRequires: libwrap-devel BuildRequires: libwrap-devel
BuildRequires: libwww-devel
BuildRequires: libz-devel
BuildRequires: perl-IO-Socket-SSL BuildRequires: perl-IO-Socket-SSL
BuildRequires: perl-Net-SSLeay BuildRequires: perl-Net-SSLeay
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: librpm-devel >= 4.16.1.2-1mamba BuildConflicts: libwww-devel
%description %description
The Network Time Protocol (NTP) is used to synchronize a computer's time with another reference time source. The Network Time Protocol (NTP) is used to synchronize a computer's time with another reference time source.
@ -53,12 +52,11 @@ Install the ntp package if you need tools for keeping your system's time synchro
%build %build
%configure \ %configure \
--bindir=%{_sbindir} \
--with-binsubdir=sbin \
--with-openssl-libdir=%{_libdir} \ --with-openssl-libdir=%{_libdir} \
--enable-all-clocks \ --enable-all-clocks \
--enable-parse-clocks \ --enable-parse-clocks \
--enable-linuxcaps \ --enable-linuxcaps \
--enable-ntp-signd \
--enable-ipv6 --enable-ipv6
%make \ %make \
@ -104,21 +102,21 @@ install -D -m644 %{S:8} %{buildroot}%{_unitdir}/ntpdate.service
%config(noreplace) %{_sysconfdir}/ntp.conf %config(noreplace) %{_sysconfdir}/ntp.conf
%config(noreplace) %{_sysconfdir}/ntp/keys %config(noreplace) %{_sysconfdir}/ntp/keys
%config %{_sysconfdir}/ntp/ntpservers %config %{_sysconfdir}/ntp/ntpservers
%{_sbindir}/calc_tickadj %{_bindir}/calc_tickadj
%{_sbindir}/ntp-keygen %{_bindir}/ntp-keygen
%{_sbindir}/ntp-wait %{_bindir}/ntp-wait
%{_sbindir}/ntpdate %{_bindir}/ntpdate
%{_sbindir}/ntpd %{_bindir}/ntpd
%{_sbindir}/ntpdc %{_bindir}/ntpdc
%{_sbindir}/ntpq %{_bindir}/ntpq
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
%{_sbindir}/ntpsnmpd %{_bindir}/ntpsnmpd
%endif %endif
%{_sbindir}/ntptime %{_bindir}/ntptime
%{_sbindir}/ntptrace %{_bindir}/ntptrace
%{_sbindir}/sntp %{_bindir}/sntp
%{_sbindir}/tickadj %{_bindir}/tickadj
%{_sbindir}/update-leap %{_bindir}/update-leap
%{_unitdir}/ntpd.service %{_unitdir}/ntpd.service
%{_unitdir}/ntpdate.service %{_unitdir}/ntpdate.service
%{_sysusersdir}/ntp.conf %{_sysusersdir}/ntp.conf
@ -147,6 +145,9 @@ install -D -m644 %{S:8} %{buildroot}%{_unitdir}/ntpdate.service
#%doc ChangeLog NEWS *.y2kfixes README* TODO WHERE-TO-START #%doc ChangeLog NEWS *.y2kfixes README* TODO WHERE-TO-START
%changelog %changelog
* Thu Oct 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.8p17-2mamba
- rebuilt without libwww dependency
* Fri Sep 08 2023 Automatic Build System <autodist@mambasoft.it> 4.2.8p17-1mamba * Fri Sep 08 2023 Automatic Build System <autodist@mambasoft.it> 4.2.8p17-1mamba
- automatic update by autodist - automatic update by autodist

View File

@ -6,7 +6,7 @@ Conflicts=systemd-timesyncd.service
[Service] [Service]
Type=forking Type=forking
PrivateTmp=true PrivateTmp=true
ExecStart=/usr/sbin/ntpd -g -u ntp:ntp ExecStart=/usr/bin/ntpd -g -u ntp:ntp
Restart=always Restart=always
[Install] [Install]

View File

@ -6,7 +6,7 @@ Before=ntpd.service
[Service] [Service]
Type=oneshot Type=oneshot
PrivateTmp=true PrivateTmp=true
ExecStart=/usr/sbin/ntpd -q -n -g -u ntp:ntp ExecStart=/usr/bin/ntpd -q -n -g -u ntp:ntp
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target