diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 8e2bc77..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -shmpps.tar diff --git a/Makefile b/Makefile deleted file mode 100644 index f3d1379..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: shmpps -# $Id$ -NAME := shmpps -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5784d07 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +2014-06-04 - This package was already retired in pkgdb/blocked in koji, but no dead.package file existed. The original retirement reason is unclear. diff --git a/import.log b/import.log deleted file mode 100644 index d6edba4..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -shmpps-1_03-1_fc11:HEAD:shmpps-1.03-1.fc11.src.rpm:1250790529 diff --git a/shmpps.init b/shmpps.init deleted file mode 100644 index e3fac95..0000000 --- a/shmpps.init +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh -# -# shmpps This shell script takes care of starting and stopping -# the shared memory PPS driver. -# -# chkconfig: - 58 74 -# description: shm_splc2 is the shared memory PPS driver for NTP - -# Source function library -. /etc/init.d/functions - -prog=shm_splc2 -lockfile=/var/lock/subsys/$prog - -start() { - [ -x /usr/sbin/shm_splc2 ] || exit 5 - - [ -f /etc/sysconfig/shmpps ] || exit 6 - . /etc/sysconfig/shmpps - - echo -n $"Starting $prog: " - daemon $prog $OPTIONS - RETVAL=$? - echo - [ $RETVAL -eq 0 ] && touch $lockfile - return $RETVAL -} - -stop() { - echo -n $"Shutting down $prog: " - killproc $prog - RETVAL=$? - echo - [ $RETVAL -eq 0 ] && rm -f $lockfile - return $RETVAL -} - -# See how we were called -case "$1" in - start) - start - ;; - stop) - stop - ;; - status) - status $prog - ;; - restart|force-reload) - stop - start - ;; - try-restart|condrestart) - if [ -f $lockfile ]; then - stop - start - fi - ;; - reload) - exit 3 - ;; - *) - echo $"Usage: $0 {start|stop|status|restart|try-restart|force-reload}" - exit 2 -esac diff --git a/shmpps.spec b/shmpps.spec deleted file mode 100644 index 89198d2..0000000 --- a/shmpps.spec +++ /dev/null @@ -1,68 +0,0 @@ -Name: shmpps -Version: 1.03 -Release: 1%{?dist} -Summary: Shared Memory driver for PPS time signals - -Group: System Environment/Daemons -License: Public Domain and MIT -URL: http://time.qnan.org/ -Source0: http://time.qnan.org/%{name}.tar -Source1: shmpps.init -Source2: shmpps.sysconfig -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Requires: ntp -Requires(post): /sbin/chkconfig -Requires(preun): /sbin/chkconfig /sbin/service -Requires(postun): /sbin/service - -%description -Shared memory (SHM) driver to allow high-resolution pulse-per-second -(PPS) time sources to be used with a Network Time Protocol (NTP) server -without a PPS-enabled kernel. The PPS pin of the time source must be -connected to the declared signal pin on a serial or parallel port. - -See /etc/sysconfig/shmpps for configuration. - -%prep -%setup -q -n %{name} -sed -i \ - -e 's/#undef *DOPARALLEL/#define DOPARALLEL/' \ - shm_splc2.c - -%build -make CFLAGS="%{optflags}" LDFLAGS="" - -%install -rm -rf %{buildroot} -install -p -m755 -D shm_splc2 %{buildroot}%{_sbindir}/shm_splc2 -install -p -m755 -D %{SOURCE1} %{buildroot}%{_initrddir}/shmpps -install -p -m644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/shmpps - -%clean -rm -rf %{buildroot} - -%post -/sbin/chkconfig --add shmpps - -%preun -if [ "$1" -eq 0 ]; then - /sbin/service shmpps stop > /dev/null 2>&1 - /sbin/chkconfig --del shmpps -fi - -%postun -if [ "$1" -ge 1 ]; then - /sbin/service shmpps condrestart > /dev/null 2>&1 -fi - -%files -%defattr(-,root,root,-) -%{_sbindir}/shm_splc2 -%{_initrddir}/shmpps -%config(noreplace) %{_sysconfdir}/sysconfig/shmpps - -%changelog -* Sat Nov 22 2008 Chris Adams 1.03-1 -- initial package - diff --git a/shmpps.sysconfig b/shmpps.sysconfig deleted file mode 100644 index f75f356..0000000 --- a/shmpps.sysconfig +++ /dev/null @@ -1,26 +0,0 @@ -######################################################################## -# Usage: -# shm -d/dev/device -s (serial) or -p (parallel) -u (unit) -# -c -l (line) -f -D -# -# -c sets second boundary on hi->lo transition for serial -# -l line defines serial line being sampled: DCD CTS DSR -# -f sets pin 14 flapping on parallel i/f -# -# -D debug level, may be repeated: -# No. of -D -# 0 normal operation: daemonize; no reporting -# 1 + no daemonization; progress reports to stderr -# 2 + out-of-range reports -# 3 + no updating SHM -# -# (wire PPS to parallel pin 10, ground to 18, echo out to 14) -# -# Configure ntpd to use this as a time source in ntp.conf like: -# server 127.127.28.3 minpoll 4 maxpoll 4 prefer -# fudge 127.127.28.3 refid GPS -######################################################################## -# For serial DCD -OPTIONS="-d /dev/gps0 -s -u 0 -l DCD" -# For parallel -#OPTIONS="-d /dev/parport0 -p -u 0 -l DCD" diff --git a/sources b/sources deleted file mode 100644 index f5d9614..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -a55d2a3c51c7810cfd3e2adb08f55d02 shmpps.tar