- Disable snmp support untill gh#25 is resolved
OBS-URL: https://build.opensuse.org/package/show/network:time/ptpd?expand=0&rev=10
This commit is contained in:
parent
7f8eda05d7
commit
b4832b8944
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 10 07:45:01 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Disable snmp support untill gh#25 is resolved
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 19:33:35 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
|
17
ptpd.spec
17
ptpd.spec
@ -31,7 +31,7 @@ BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: net-snmp-devel
|
||||
#BuildRequires: net-snmp-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: zlib-devel
|
||||
@ -66,11 +66,11 @@ autoreconf -fiv
|
||||
--enable-statistics
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
install -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}2.service
|
||||
%make_install
|
||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}2.service
|
||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}2
|
||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}2.conf
|
||||
install -D -m 644 %{SOURCE3} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.ptpd2
|
||||
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/%{name}2.conf
|
||||
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.ptpd2
|
||||
# have to create the below, else ptpd will not log drift
|
||||
install -d %{buildroot}%{_localstatedir}/log
|
||||
touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||
@ -92,9 +92,10 @@ touch %{buildroot}%{_localstatedir}/log/ptpd2_kernelclock.drift
|
||||
%defattr(-, root, root)
|
||||
%doc COPYRIGHT ChangeLog README
|
||||
%config %{_sysconfdir}/%{name}2.conf
|
||||
%{_sbindir}/*
|
||||
%{_mandir}/man8/*
|
||||
%{_mandir}/man5/*
|
||||
%{_sbindir}/ptpd2
|
||||
%{_sbindir}/rcptpd2
|
||||
%{_mandir}/man5/ptpd2.conf.5%{ext_man}
|
||||
%{_mandir}/man8/ptpd2.8%{ext_man}
|
||||
%{_datadir}/ptpd
|
||||
%{_libexecdir}/systemd/system/ptpd2.service
|
||||
%{_localstatedir}/adm/fillup-templates/*
|
||||
|
Loading…
Reference in New Issue
Block a user