[packages/openntpd] up to 5.7p4, verbose files

glen glen at pld-linux.org
Thu Jul 2 16:15:26 CEST 2015


commit 169ffdafc7b8fe1afbd2ec723b235602ec8a8f00
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jul 2 17:15:13 2015 +0300

    up to 5.7p4, verbose files

 openntpd.init |  0
 openntpd.spec | 26 ++++++++++++--------------
 2 files changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/openntpd.spec b/openntpd.spec
index fe70fad..c278fc2 100644
--- a/openntpd.spec
+++ b/openntpd.spec
@@ -3,18 +3,19 @@
 Summary:	FREE and easy to use implementation of the Network Time Protocol
 Summary(pl.UTF-8):	Wolnodostępna i łatwa w użyciu implementacja protokołu NTP
 Name:		openntpd
-Version:	3.9p1
-Release:	7
+Version:	5.7p4
+Release:	0.1
 License:	BSD
 Group:		Daemons
 Source0:	ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/%{name}-%{version}.tar.gz
-# Source0-md5:	afc34175f38d08867c1403d9008600b3
+# Source0-md5:	9d818a143fbc5d830203fa2f4b4c6a2a
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 URL:		http://www.openntpd.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gettext-tools
+BuildRequires:	intltool
 BuildRequires:	openssl-devel
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post,preun):	/sbin/chkconfig
@@ -25,6 +26,8 @@ Obsoletes:	ntpclient
 Obsoletes:	ntpdaemon
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		privsepdir	/usr/share/empty
+
 %description
 OpenNTPD is a FREE, easy to use implementation of the Network Time
 Protocol.
@@ -44,15 +47,8 @@ zegar.
 %setup -q
 
 %build
-cp -f /usr/share/automake/config.sub .
-%{__gettextize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
 %configure \
-	--with-adjtimex \
-	--with-privsep-path=/usr/share/empty \
-	--with-mantype=man \
+	--with-privsep-path=%{privsepdir} \
 	--with-privsep-user=nobody
 
 %{__make}
@@ -60,7 +56,6 @@ cp -f /usr/share/automake/config.sub .
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
@@ -83,8 +78,11 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README ChangeLog
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man?/*
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ntpd.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ntpd
 %attr(754,root,root) /etc/rc.d/init.d/ntpd
+%attr(755,root,root) %{_sbindir}/ntpctl
+%attr(755,root,root) %{_sbindir}/ntpd
+%{_mandir}/man5/ntpd.conf.5*
+%{_mandir}/man8/ntpctl.8*
+%{_mandir}/man8/ntpd.8*
diff --git a/openntpd.init b/openntpd.init
old mode 100644
new mode 100755
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openntpd.git/commitdiff/169ffdafc7b8fe1afbd2ec723b235602ec8a8f00



More information about the pld-cvs-commit mailing list