Accepting request 89582 from network:time

OBS-URL: https://build.opensuse.org/request/show/89582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ptpd?expand=0&rev=13
This commit is contained in:
Stephan Kulow 2011-10-28 17:42:28 +00:00 committed by Git OBS Bridge
parent 3d09d59b46
commit 9ff8bc9100
8 changed files with 33 additions and 5839 deletions

View File

@ -1,11 +0,0 @@
--- src/Makefile
+++ src/Makefile
@@ -1,7 +1,7 @@
# Makefile for ptpd
RM = rm -f
-CFLAGS = -Wall
+CFLAGS += -Wall
#CPPFLAGS = -DPTPD_DBG -DPTPD_NO_DAEMON
PROG = ptpd

View File

@ -34,7 +34,7 @@
# Should-Start: $time # Should-Start: $time
# Required-Stop: $remote_fs $syslog $network # Required-Stop: $remote_fs $syslog $network
# Should-Stop: $time # Should-Stop: $time
# Default-Start: 3 4 5 # Default-Start: 3 5
# Default-Stop: 0 1 2 6 # Default-Stop: 0 1 2 6
# Short-Description: Precision Time Protocol as defined by IEEE 1588 # Short-Description: Precision Time Protocol as defined by IEEE 1588
# Description: PTP is designed to provide very precise # Description: PTP is designed to provide very precise

View File

@ -1,11 +0,0 @@
Index: ptpd-1.0.0/src/arith.c
===================================================================
--- ptpd-1.0.0.orig/src/arith.c
+++ ptpd-1.0.0/src/arith.c
@@ -1,5 +1,6 @@
/* arith.c */
+#include <limits.h>
#include "ptpd.h"
/* from annex C of the spec */

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:179483ceda19b6d88ac0408e19759004ae80efcfadc44d06201a7d0c6fc42c27
size 383700

3
ptpd-1.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7c6ea83bd53da75ae04a7b7a25fe7c597b4e9ff1f93d46f4502e3fa8a2cb950
size 401064

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu Oct 27 18:12:26 UTC 2011 - coolo@suse.com
- use original tar
- do not mention runlevel 4
- don't depend on octave for documentation
- remove unused patches
-------------------------------------------------------------------
Mon May 9 14:13:08 UTC 2011 - dbahi@novell.com
- update to release 1.1.0 (2010-10-12)
* Add code to limit how much of an offset or delay the client is
willing to tolerate.
* Add support for BINTIME on FreeBSD which gives more accurate
packet timestamps.
* Add quality file support
* Add support for syslog.
* Add support for user configurable TTL.
* Clean up code formatting, headers, comments etc.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 19 12:59:53 MDT 2009 - alext@suse.de Mon Oct 19 12:59:53 MDT 2009 - alext@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package ptpd (Version 1.0.0) # spec file for package ptpd
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products 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
@ -20,16 +20,13 @@
Name: ptpd Name: ptpd
Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard Summary: Implements the Precision Time protocol as defined by IEEE 1588 standard
Version: 1.0.0 Version: 1.1.0
Release: 3 Release: 0
License: BSD 3-clause (or similar) License: BSD 3-clause (or similar)
Group: System/Daemons Group: System/Daemons
Source0: %{name}-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
Source1: conf.ptpd.init Source1: conf.ptpd.init
Source2: conf.sysconfig.ptpd Source2: conf.sysconfig.ptpd
Patch0: ptpd-1.0.0-git599b03b.patch
Patch1: glibc210.patch
Patch2: append_to_cflags.patch
Url: http://ptpd.sourceforge.net/ Url: http://ptpd.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -52,17 +49,8 @@ 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.
Authors:
--------
Kendall Correll
%prep %prep
%setup -q %setup -q
%patch0 -p1
%patch1 -p1
%patch2
%build %build
cd src cd src
@ -86,7 +74,8 @@ install -m 644 %{S:2} ${RPM_BUILD_ROOT}/var/adm/fillup-templates/sysconfig.ptpd
# #
# documentation # documentation
# #
cp -r README COPYRIGHT doc RELEASE_NOTES tools ${RPM_BUILD_ROOT}/%{_defaultdocdir}/%{name}/. cp -r README COPYRIGHT doc RELEASE_NOTES tools ${RPM_BUILD_ROOT}/%{_docdir}
find ${RPM_BUILD_ROOT}/%{_docdir} -type f -print0 | xargs -0 chmod 644
%clean %clean
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
@ -96,7 +85,7 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/* %{_sbindir}/*
%{_initrddir}/* %{_initrddir}/*
/var/adm/fillup-templates/* /var/adm/fillup-templates/*
%{_defaultdocdir}/%{name} %{_docdir}
%preun %preun
%{stop_on_removal} ptpd %{stop_on_removal} ptpd