diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2024-12-15 10:16:03 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2024-12-15 10:16:03 +0100 |
commit | 47ee7b0f2b765bd952f84f3f72044ff0cd7a65a3 (patch) | |
tree | 500d6bf54ed9f627247703e6cf8af85d270f2bd3 /net-misc | |
parent | dev-ruby/activesupport: add 7.0.8.7 (diff) | |
download | gentoo-47ee7b0f2b765bd952f84f3f72044ff0cd7a65a3.tar.gz gentoo-47ee7b0f2b765bd952f84f3f72044ff0cd7a65a3.tar.bz2 gentoo-47ee7b0f2b765bd952f84f3f72044ff0cd7a65a3.zip |
net-misc/linuxptp: drop 4.1
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/linuxptp/Manifest | 1 | ||||
-rw-r--r-- | net-misc/linuxptp/files/linuxptp-3.1.1-string-include.patch | 21 | ||||
-rw-r--r-- | net-misc/linuxptp/files/linuxptp-3.1.1-user_cpp.patch | 11 | ||||
-rw-r--r-- | net-misc/linuxptp/linuxptp-4.1.ebuild | 50 |
4 files changed, 0 insertions, 83 deletions
diff --git a/net-misc/linuxptp/Manifest b/net-misc/linuxptp/Manifest index 6875deba8c2e..8407ed2a9b1e 100644 --- a/net-misc/linuxptp/Manifest +++ b/net-misc/linuxptp/Manifest @@ -1,2 +1 @@ -DIST linuxptp-4.1.tgz 252373 BLAKE2B 9dc6bb69c98a8b452250554b5e06b39d445b81a3e0c7ce2beaa7bd1d2cb969928496827bd3d3e32136c9fe55f1103ab312441c2a4cdee035c7d6b7526f0c1327 SHA512 144c03677f2c61c58d05c5c5dbb771b7aac3860507d9ba814f67f6da024c3cb2019f9e8cf39b983d39a6feddd1b24a1f40a678b4ff7af8aa564ee813e322dfae DIST linuxptp-4.2.tgz 253861 BLAKE2B 83489edb1cb48a7f245e3224705332980a32aed14e166c3fd0d8111f4008ae42a293397a588a546e421fae634057829dcbcd94794ce539ecb166e5cf69ff6554 SHA512 479e512efd0573602379a9e1d8ef5c0ec9e033944cee5aed11c68cea5e8a3f7d4b6f2d11f6d6d4718282010da52c2c8629d675d9b388cc0c3d574845a913cdbb diff --git a/net-misc/linuxptp/files/linuxptp-3.1.1-string-include.patch b/net-misc/linuxptp/files/linuxptp-3.1.1-string-include.patch deleted file mode 100644 index 622a87f67ec0..000000000000 --- a/net-misc/linuxptp/files/linuxptp-3.1.1-string-include.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&id=aec96f23775b946cf99c39e7274bcc8fdd4711ca -https://sourceforge.net/p/linuxptp/mailman/message/37603438/ - -From d49b4fb8063ecd89617587e5ea566cc9da9393ef Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Wed, 31 Aug 2022 19:09:18 -0700 -Subject: [PATCH] include string.h for strncpy() - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- a/interface.c -+++ b/interface.c -@@ -5,6 +5,7 @@ - * @note SPDX-License-Identifier: GPL-2.0+ - */ - #include <stdlib.h> -+#include <string.h> - #include "interface.h" - - struct interface { diff --git a/net-misc/linuxptp/files/linuxptp-3.1.1-user_cpp.patch b/net-misc/linuxptp/files/linuxptp-3.1.1-user_cpp.patch deleted file mode 100644 index d2b3728b6141..000000000000 --- a/net-misc/linuxptp/files/linuxptp-3.1.1-user_cpp.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/incdefs.sh -+++ b/incdefs.sh -@@ -27,7 +27,7 @@ - printf " -D_GNU_SOURCE" - - # Get list of directories searched for header files. -- dirs=$(echo "" | ${CROSS_COMPILE}cpp -Wp,-v 2>&1 >/dev/null | grep ^" /") -+ dirs=$(echo "" | ${CPP} -Wp,-v - 2>&1 >/dev/null | grep ^" /") - - # Look for clock_adjtime(). - for d in $dirs; do diff --git a/net-misc/linuxptp/linuxptp-4.1.ebuild b/net-misc/linuxptp/linuxptp-4.1.ebuild deleted file mode 100644 index 51e65f46d2d1..000000000000 --- a/net-misc/linuxptp/linuxptp-4.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info systemd toolchain-funcs - -DESCRIPTION="The Linux Precision Time Protocol (PTP) implementation" -HOMEPAGE="https://linuxptp.nwtime.org/" -SRC_URI="https://downloads.sourceforge.net/project/${PN}/v$(ver_cut 1-2)/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv ~x86" - -DEPEND="elibc_musl? ( sys-libs/queue-standalone )" - -CONFIG_CHECK="~NETWORK_PHY_TIMESTAMPING ~PPS ~PTP_1588_CLOCK" - -PATCHES=( - "${FILESDIR}"/${PN}-3.1.1-user_cpp.patch - "${FILESDIR}"/${PN}-3.1.1-string-include.patch -) - -pkg_setup() { - linux-info_pkg_setup -} - -src_compile() { - # parse needed additional CFLAGS - export MY_FLAGS=$(CPP="$(tc-getCPP)" ./incdefs.sh) - export EXTRA_CFLAGS="${CFLAGS} ${MY_FLAGS}" - emake CC="$(tc-getCC)" prefix=/usr mandir=/usr/share/man -} - -src_install() { - emake \ - prefix="${D}"/usr \ - mandir="${D}"/usr/share/man \ - infodir="${D}"/usr/share/info \ - libdir="${D}"/usr/$(get_libdir) \ - install - - systemd_newunit "${FILESDIR}"/phc2sysAT.service phc2sys@.service - systemd_newunit "${FILESDIR}"/ptp4lAT.service ptp4l@.service - systemd_dounit "${FILESDIR}"/timemaster.service - - dodoc README.org - dodoc -r configs -} |