Accepting request 395090 from network:time
- Update to 2.3.1 * see attached Changelog for full list of changes - Update project and download url - Small spec file cleanups OBS-URL: https://build.opensuse.org/request/show/395090 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ptpd?expand=0&rev=20
This commit is contained in:
commit
4d34bdd79c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1a4e90496f004bfd91657ccc49209101dc25b787e540648c07c0973469f1d8f7
|
|
||||||
size 785362
|
|
3
ptpd-2.3.1.tar.gz
Normal file
3
ptpd-2.3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:267ad61d09d97069acec5d4878dceda20d0ddbebd27557d80230847848cee6c2
|
||||||
|
size 884161
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 12 19:33:35 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to 2.3.1
|
||||||
|
* see attached Changelog for full list of changes
|
||||||
|
- Update project and download url
|
||||||
|
- Small spec file cleanups
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 1 08:41:34 UTC 2015 - mpluskal@suse.com
|
Mon Jun 1 08:41:34 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
41
ptpd.spec
41
ptpd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ptpd
|
# spec file for package ptpd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ptpd
|
Name: ptpd
|
||||||
Version: 2.3.0
|
Version: 2.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
|
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Daemons
|
Group: System/Daemons
|
||||||
Url: http://ptpd.sourceforge.net/
|
Url: https://github.com/ptpd/ptpd
|
||||||
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/ptpd/ptpd/archive/ptpd-%{version}.tar.gz
|
||||||
Source1: ptpd2.service
|
Source1: ptpd2.service
|
||||||
Source2: ptpd2.conf
|
Source2: ptpd2.conf
|
||||||
Source3: conf.sysconfig.ptpd
|
Source3: conf.sysconfig.ptpd
|
||||||
@ -58,17 +58,15 @@ be easy to port to other platforms.
|
|||||||
PTPd is free. Everyone is invited to use and contribute to PTPd.
|
PTPd is free. Everyone is invited to use and contribute to PTPd.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
autoreconf -fiv
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
--enable-statistics \
|
--enable-statistics
|
||||||
--enable-ntpdc \
|
|
||||||
--enable-sigusr2=counters
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||||
install -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}2.service
|
install -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}2.service
|
||||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}2
|
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}2
|
||||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}2.conf
|
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}2.conf
|
||||||
@ -77,17 +75,6 @@ install -D -m 644 %{SOURCE3} %{buildroot}%{_localstatedir}/adm/fillup-templates/
|
|||||||
install -d %{buildroot}%{_localstatedir}/log
|
install -d %{buildroot}%{_localstatedir}/log
|
||||||
touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc COPYRIGHT ChangeLog README
|
|
||||||
%config %{_sysconfdir}/%{name}2.conf
|
|
||||||
%{_sbindir}/*
|
|
||||||
%{_mandir}/man8/*
|
|
||||||
%{_mandir}/man5/*
|
|
||||||
%{_libexecdir}/systemd/system/ptpd2.service
|
|
||||||
%{_localstatedir}/adm/fillup-templates/*
|
|
||||||
%config %ghost %{_localstatedir}/log/ptpd2_kernelclock.drift
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre %{name}2.service
|
%service_add_pre %{name}2.service
|
||||||
|
|
||||||
@ -101,4 +88,16 @@ touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
|||||||
%postun
|
%postun
|
||||||
%service_del_postun %{name}2.service
|
%service_del_postun %{name}2.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc COPYRIGHT ChangeLog README
|
||||||
|
%config %{_sysconfdir}/%{name}2.conf
|
||||||
|
%{_sbindir}/*
|
||||||
|
%{_mandir}/man8/*
|
||||||
|
%{_mandir}/man5/*
|
||||||
|
%{_datadir}/ptpd
|
||||||
|
%{_libexecdir}/systemd/system/ptpd2.service
|
||||||
|
%{_localstatedir}/adm/fillup-templates/*
|
||||||
|
%config %ghost %{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user