summaryrefslogtreecommitdiff
path: root/net-misc/netkit-timed
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /net-misc/netkit-timed
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'net-misc/netkit-timed')
-rw-r--r--net-misc/netkit-timed/Manifest1
-rw-r--r--net-misc/netkit-timed/files/0.17-CFLAG-DEF-fix.patch55
-rw-r--r--net-misc/netkit-timed/files/0.17-timed-opt-parsing.patch12
-rw-r--r--net-misc/netkit-timed/files/netkit-timed-0.17-accept-build-flags.patch23
-rw-r--r--net-misc/netkit-timed/files/netkit-timed-0.17-c23-port.patch65
-rw-r--r--net-misc/netkit-timed/files/netkit-timed-0.17-c99-port.patch44
-rw-r--r--net-misc/netkit-timed/files/timed.rc619
-rw-r--r--net-misc/netkit-timed/metadata.xml5
-rw-r--r--net-misc/netkit-timed/netkit-timed-0.17-r11.ebuild39
-rw-r--r--net-misc/netkit-timed/netkit-timed-0.17-r12.ebuild39
10 files changed, 0 insertions, 302 deletions
diff --git a/net-misc/netkit-timed/Manifest b/net-misc/netkit-timed/Manifest
deleted file mode 100644
index 660ee86a7273..000000000000
--- a/net-misc/netkit-timed/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST netkit-timed-0.17.tar.gz 48655 BLAKE2B 5e076394e2605569b8a9a34d47b59234ffa0f643a13ef7ac688b40d259079ec5d2eef99a0efa35d7975e11118c1fe87bd138edd98199dde68cc4d8d9f10c3599 SHA512 781a41555953a165949dde7e7279298d4faf348575ba1214c6ce60cdbc74f6f03ab31002d57a441cbcaf674f7e2cc00afa17632bc3fcb28e2afd95d39cd70b99
diff --git a/net-misc/netkit-timed/files/0.17-CFLAG-DEF-fix.patch b/net-misc/netkit-timed/files/0.17-CFLAG-DEF-fix.patch
deleted file mode 100644
index 6d3fbf704ba5..000000000000
--- a/net-misc/netkit-timed/files/0.17-CFLAG-DEF-fix.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff -ru netkit-timed-0.17/configure netkit-timed-0.17.fixed/configure
---- netkit-timed-0.17/configure 2000-07-23 15:12:26.000000000 +0930
-+++ netkit-timed-0.17.fixed/configure 2004-08-07 09:22:47.860505136 +0930
-@@ -115,39 +115,6 @@
- echo 'no'
- fi
-
--if [ x$DEBUG = x ]; then
-- echo -n "Checking if $CC accepts -O2... "
-- if (
-- $CC -O2 __conftest.c -o __conftest
-- ) >/dev/null 2>&1; then
-- echo 'yes'
-- CFLAGS="$CFLAGS -O2"
-- else
-- echo 'no'
-- echo -n "Checking if $CC accepts -O... "
-- if (
-- $CC -O __conftest.c -o __conftest
-- ) >/dev/null 2>&1; then
-- echo 'yes'
-- CFLAGS="$CFLAGS -O"
-- else
-- echo 'no'
-- fi
-- fi
--
--else
-- echo -n "Checking if $CC accepts -g... "
-- if (
-- $CC -g __conftest.c -o __conftest
-- ) >/dev/null 2>&1; then
-- echo 'yes'
-- CFLAGS="$CFLAGS -g"
-- else
-- echo 'no'
-- fi
--
--fi
--
- LDFLAGS=
- LIBS=
-
-diff -ru netkit-timed-0.17/timed/timed/timed.c netkit-timed-0.17.fixed/timed/timed/timed.c
---- netkit-timed-0.17/timed/timed/timed.c 1999-12-13 03:35:07.000000000 +0930
-+++ netkit-timed-0.17.fixed/timed/timed/timed.c 2004-08-07 09:26:32.299385240 +0930
-@@ -898,7 +898,7 @@
- void
- get_goodgroup(int force)
- {
--# define NG_DELAY (30*60*CLK_TCK) /* 30 minutes */
-+# define NG_DELAY (30*60*CLOCKS_PER_SEC) /* 30 minutes */
- static unsigned long last_update = -NG_DELAY;
- unsigned long new_update;
- /* struct hosttbl *htp; */
diff --git a/net-misc/netkit-timed/files/0.17-timed-opt-parsing.patch b/net-misc/netkit-timed/files/0.17-timed-opt-parsing.patch
deleted file mode 100644
index 5b5855478d5a..000000000000
--- a/net-misc/netkit-timed/files/0.17-timed-opt-parsing.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur netkit-timed-0.17.orig/timed/timed/timed.c netkit-timed-0.17/timed/timed/timed.c
---- netkit-timed-0.17.orig/timed/timed/timed.c 2006-07-28 00:12:03.000000000 -0700
-+++ netkit-timed-0.17/timed/timed/timed.c 2006-07-28 00:12:52.000000000 -0700
-@@ -158,7 +158,7 @@
- struct nets *nt;
- struct sockaddr_in server;
- u_short port;
-- char c;
-+ signed char c;
- #ifdef sgi
- FILE *timetrim_st;
- #endif
diff --git a/net-misc/netkit-timed/files/netkit-timed-0.17-accept-build-flags.patch b/net-misc/netkit-timed/files/netkit-timed-0.17-accept-build-flags.patch
deleted file mode 100644
index c72452ff0fdc..000000000000
--- a/net-misc/netkit-timed/files/netkit-timed-0.17-accept-build-flags.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-was sed -i -e '/^LDFLAGS=/d' configure || die "sed configure"
---- a/configure 2024-05-09 06:02:18.884496589 -0000
-+++ b/configure 2024-05-09 06:02:26.304490777 -0000
-@@ -115,7 +115,6 @@
- echo 'no'
- fi
-
--LDFLAGS=
- LIBS=
-
- rm -f __conftest*
-was sed -i -e "s|ar -cruv|\${AR} -cruv|g" timed/lib/Makefile || die
---- a/timed/lib/Makefile 2024-05-09 06:02:18.886496588 -0000
-+++ b/timed/lib/Makefile 2024-05-09 06:02:31.568486653 -0000
-@@ -7,7 +7,7 @@
- OBJS = byteorder.o measure.o cksum.o
-
- libtimed.a: $(OBJS)
-- ar -cruv $@ $^
-+ ${AR} -cruv $@ $^
-
- install: ;
- clean:
diff --git a/net-misc/netkit-timed/files/netkit-timed-0.17-c23-port.patch b/net-misc/netkit-timed/files/netkit-timed-0.17-c23-port.patch
deleted file mode 100644
index ad0410db4421..000000000000
--- a/net-misc/netkit-timed/files/netkit-timed-0.17-c23-port.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-#bug https://bugs.gentoo.org/715776
-#bug https://bugs.gentoo.org/919876
-and general port to C23
---- a/configure
-+++ b/configure
-@@ -134,6 +100,7 @@
-
- echo -n 'Checking for BSD signal semantics... '
- cat <<EOF >__conftest.c
-+#define _DEFAULT_SOURCE
- #include <unistd.h>
- #include <signal.h>
- int count=0;
---- a/timed/lib/cksum.c
-+++ b/timed/lib/cksum.c
-@@ -41,6 +41,7 @@
- #ident "$Revision: 1.4 $"
- #endif
-
-+#define _DEFAULT_SOURCE
- #include <sys/types.h>
- #include <sys/time.h>
- #include "timed-extern.h"
---- a/timed/timed/globals.h
-+++ b/timed/timed/globals.h
-@@ -37,6 +37,7 @@
- #ident "$Revision: 1.5 $"
- #endif
-
-+#define _DEFAULT_SOURCE
- #include <sys/param.h>
- #include <sys/time.h>
- #include <sys/socket.h>
---- a/timed/timedc/cmds.c
-+++ b/timed/timedc/cmds.c
-@@ -41,6 +41,7 @@
- #ident "$Revision: 1.11 $"
- #endif
-
-+#define _DEFAULT_SOURCE
- #include "timedc.h"
- #include <string.h>
- #include <sys/file.h>
---- a/timed/timedc/timedc.c
-+++ b/timed/timedc/timedc.c
-@@ -45,6 +45,7 @@
- #ident "$Revision: 1.8 $"
- #endif
-
-+#define _DEFAULT_SOURCE
- #include "timedc.h"
- #include <string.h>
- #include <signal.h>
---- a/timed/timed/networkdelta.c
-+++ b/timed/timed/networkdelta.c
-@@ -40,8 +40,8 @@
- #ifdef sgi
- #ident "$Revision: 1.4 $"
- #endif
--#include <math.h>
- #include "globals.h"
-+#include <math.h>
-
- static long median(float, float*, long*, long*, unsigned int);
-
diff --git a/net-misc/netkit-timed/files/netkit-timed-0.17-c99-port.patch b/net-misc/netkit-timed/files/netkit-timed-0.17-c99-port.patch
deleted file mode 100644
index f46408049b14..000000000000
--- a/net-misc/netkit-timed/files/netkit-timed-0.17-c99-port.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Simple port to C99
-#bug https://bugs.gentoo.org/919876
---- a/timed/lib/measure.c
-+++ b/timed/lib/measure.c
-@@ -75,7 +75,7 @@ measure(u_long maxmsec, /* wait this many msec at most */
- struct sockaddr_in *xaddr,
- int doprint) /* print complaints on stderr */
- {
-- size_t length;
-+ socklen_t length;
- int measure_status;
- int rcvcount, trials = 0;
- int cc, count;
---- a/timed/timed/correct.c
-+++ b/timed/timed/correct.c
-@@ -165,7 +165,7 @@ adjclock(struct timeval *corr)
- }
- } else {
- syslog(LOG_WARNING,
-- "clock correction %d sec too large to adjust",
-+ "clock correction %ld sec too large to adjust",
- adj.tv_sec);
- (void) gettimeofday(&now, 0);
- timevaladd(&now, corr);
---- a/timed/timed/networkdelta.c
-+++ b/timed/timed/networkdelta.c
-@@ -40,7 +40,7 @@ char nd_rcsid[] =
- #ifdef sgi
- #ident "$Revision: 1.4 $"
- #endif
--
-+#include <math.h>
- #include "globals.h"
-
- static long median(float, float*, long*, long*, unsigned int);
-@@ -238,7 +238,7 @@ median(float a, /* initial guess for the median */
- (long)a, pass, npts);
- return a;
- }
-- eps = AFAC*abs(aa - a);
-+ eps = AFAC*fabsf(aa - a);
- *eps_ptr = eps;
- a = aa;
- }
diff --git a/net-misc/netkit-timed/files/timed.rc6 b/net-misc/netkit-timed/files/timed.rc6
deleted file mode 100644
index eb939565310a..000000000000
--- a/net-misc/netkit-timed/files/timed.rc6
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting timed"
- start-stop-daemon --start --quiet --exec /usr/sbin/timed
- eend $?
-}
-
-stop() {
- ebegin "Stopping timed"
- start-stop-daemon --stop --quiet --exec /usr/sbin/timed
- eend $?
-}
diff --git a/net-misc/netkit-timed/metadata.xml b/net-misc/netkit-timed/metadata.xml
deleted file mode 100644
index 85e4ed814fa2..000000000000
--- a/net-misc/netkit-timed/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/net-misc/netkit-timed/netkit-timed-0.17-r11.ebuild b/net-misc/netkit-timed/netkit-timed-0.17-r11.ebuild
deleted file mode 100644
index ae8eca6a7592..000000000000
--- a/net-misc/netkit-timed/netkit-timed-0.17-r11.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Netkit - timed: Time daemon"
-HOMEPAGE="https://wiki.linuxfoundation.org/networking/netkit"
-SRC_URI="http://ftp.linux.org.uk/pub/linux/Networking/netkit/${P}.tar.gz"
-
-KEYWORDS="amd64 ~mips ppc ppc64 ~sparc x86"
-LICENSE="BSD GPL-2"
-SLOT="0"
-
-src_prepare() {
- eapply "${FILESDIR}"/0.17-CFLAG-DEF-fix.patch
- eapply "${FILESDIR}"/0.17-timed-opt-parsing.patch
- sed -i -e '/^LDFLAGS=/d' configure || die "sed configure"
- sed -i -e "s|ar -cruv|\${AR} -cruv|g" timed/lib/Makefile || die
- default
-}
-
-src_configure() {
- tc-export AR
- # Note this is not an autoconf configure script. econf fails
- append-flags -DCLK_TCK=CLOCKS_PER_SEC
- ./configure --prefix=/usr --with-c-compiler="$(tc-getCC)" || die "bad configure"
-}
-
-src_install() {
- dosbin timed/timed/timed
- doman timed/timed/timed.8
- dosbin timed/timedc/timedc
- doman timed/timedc/timedc.8
- einstalldocs
-
- newinitd "${FILESDIR}"/timed.rc6 timed
-}
diff --git a/net-misc/netkit-timed/netkit-timed-0.17-r12.ebuild b/net-misc/netkit-timed/netkit-timed-0.17-r12.ebuild
deleted file mode 100644
index 015570aeb735..000000000000
--- a/net-misc/netkit-timed/netkit-timed-0.17-r12.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Netkit - timed: Time daemon"
-HOMEPAGE="https://wiki.linuxfoundation.org/networking/netkit"
-SRC_URI="http://ftp.linux.org.uk/pub/linux/Networking/netkit/${P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~mips ppc ppc64 ~sparc x86"
-
-PATCHES=(
- "${FILESDIR}/0.17-CFLAG-DEF-fix.patch"
- "${FILESDIR}/0.17-timed-opt-parsing.patch"
- "${FILESDIR}/${P}-c99-port.patch"
- "${FILESDIR}/${P}-accept-build-flags.patch"
- "${FILESDIR}/${P}-c23-port.patch"
-)
-
-src_configure() {
- tc-export AR
- # Note this is not an autoconf configure script. econf fails
- append-flags -DCLK_TCK=CLOCKS_PER_SEC
- ./configure --prefix=/usr --with-c-compiler="$(tc-getCC)" || die "bad configure"
-}
-
-src_install() {
- dosbin timed/timed/timed
- doman timed/timed/timed.8
- dosbin timed/timedc/timedc
- doman timed/timedc/timedc.8
- einstalldocs
-
- newinitd "${FILESDIR}"/timed.rc6 timed
-}