diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-09-26 01:53:49 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-09-26 02:01:48 +0100 |
commit | 56e798f499c27a535f183d5829bf553b64eb0cab (patch) | |
tree | 8c12d15bc04e2e1ecbc15a657c872314a52286b6 /net-misc/linuxptp | |
parent | dev-util/opencl-headers: drop 2021.06.30 (diff) | |
download | gentoo-56e798f499c27a535f183d5829bf553b64eb0cab.tar.gz gentoo-56e798f499c27a535f183d5829bf553b64eb0cab.tar.bz2 gentoo-56e798f499c27a535f183d5829bf553b64eb0cab.zip |
net-misc/linuxptp: drop 2.0-r1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-misc/linuxptp')
-rw-r--r-- | net-misc/linuxptp/Manifest | 1 | ||||
-rw-r--r-- | net-misc/linuxptp/files/linuxptp-2.0_nettstamp-systypes.patch | 52 | ||||
-rw-r--r-- | net-misc/linuxptp/linuxptp-2.0-r1.ebuild | 48 |
3 files changed, 0 insertions, 101 deletions
diff --git a/net-misc/linuxptp/Manifest b/net-misc/linuxptp/Manifest index 0691344ced65..bd6d2da1cdd6 100644 --- a/net-misc/linuxptp/Manifest +++ b/net-misc/linuxptp/Manifest @@ -1,2 +1 @@ -DIST linuxptp-2.0.tgz 184942 BLAKE2B 79ef9d3c379769a71e652a77f05ab661db444a76a339e72106055cf900de9cabfe303c48760f11701fefe5e641d07b73fc5a250078bedf7faa3ae995ace24da3 SHA512 c33487a803f8cc461f790d9a137d5cf8b35cb6d292bdd2cf7a16aa666359d8c5e24667473be843182bef1e9f8d5c6af8aab8918978f10bf08257dd408bba66d6 DIST linuxptp-3.1.1.tgz 218784 BLAKE2B 5b46580a0e1b6e003f5f03e512c4f9b348c086f356fd47d3480da5e8223ba291fdb213798c696c37759896a99bccf21cd7e7daddce5aa5ed5701afb0e622a755 SHA512 c3c40987fe68480a8473097ebc3c506fb4f8f3b6456bbe637b2b3cb0b3e0182f1513b511fdc04b3607d5f7d8bd1bd22502bb86eb13f9fa4fa63a3331846b33ec diff --git a/net-misc/linuxptp/files/linuxptp-2.0_nettstamp-systypes.patch b/net-misc/linuxptp/files/linuxptp-2.0_nettstamp-systypes.patch deleted file mode 100644 index d3f8e5d92906..000000000000 --- a/net-misc/linuxptp/files/linuxptp-2.0_nettstamp-systypes.patch +++ /dev/null @@ -1,52 +0,0 @@ -net_tstamp.h needs clockid_t to be defined, so must include -<sys/types.h> before including <linux/net_tstamp.h> - - ---- a/clock.c -+++ b/clock.c -@@ -17,6 +17,7 @@ - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - #include <errno.h> -+#include <sys/types.h> - #include <linux/net_tstamp.h> - #include <poll.h> - #include <stdlib.h> ---- a/hwstamp_ctl.c 2018-08-12 23:08:43.000000000 +0200 -+++ b/hwstamp_ctl.c 2020-02-07 13:49:53.256859722 +0100 -@@ -23,6 +23,7 @@ - #include <string.h> - #include <sys/ioctl.h> - #include <unistd.h> -+#include <sys/types.h> - - #include <arpa/inet.h> - #include <linux/net_tstamp.h> ---- a/sk.c 2018-08-12 23:08:43.000000000 +0200 -+++ b/sk.c 2020-02-07 13:50:12.334599236 +0100 -@@ -18,6 +18,7 @@ - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - #include <errno.h> -+#include <sys/types.h> - #include <linux/net_tstamp.h> - #include <linux/sockios.h> - #include <linux/ethtool.h> ---- a/timemaster.c 2018-08-12 23:08:43.000000000 +0200 -+++ b/timemaster.c 2020-02-07 13:50:19.848500949 +0100 -@@ -22,7 +22,6 @@ - #include <errno.h> - #include <libgen.h> - #include <limits.h> --#include <linux/net_tstamp.h> - #include <net/if.h> - #include <signal.h> - #include <spawn.h> -@@ -34,6 +33,7 @@ - #include <sys/types.h> - #include <sys/wait.h> - #include <unistd.h> -+#include <linux/net_tstamp.h> - - #include "print.h" - #include "rtnl.h" diff --git a/net-misc/linuxptp/linuxptp-2.0-r1.ebuild b/net-misc/linuxptp/linuxptp-2.0-r1.ebuild deleted file mode 100644 index e979ea289cb2..000000000000 --- a/net-misc/linuxptp/linuxptp-2.0-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit linux-info systemd toolchain-funcs - -DESCRIPTION="The Linux Precision Time Protocol (PTP) implementation" -HOMEPAGE="http://linuxptp.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/v${PV}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -IUSE="" - -DEPEND="elibc_musl? ( sys-libs/queue-standalone )" -RDEPEND="" - -CONFIG_CHECK="~PPS ~NETWORK_PHY_TIMESTAMPING ~PTP_1588_CLOCK" - -PATCHES=( - "${FILESDIR}"/${PN}-2.0_nettstamp-systypes.patch -) - -pkg_setup() { - linux-info_pkg_setup -} - -src_compile() { - # parse needed additional CFLAGS - export MY_FLAGS=$(./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_dounit "${FILESDIR}"/timemaster.service - - dodoc README.org -} |