Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/linuxptp/, net-misc/linuxptp/files/
Date: Mon, 09 May 2022 18:04:14
Message-Id: 1652119427.e651711ceb8105b2d323253a3a886a5214e5dbf2.andrewammerlaan@gentoo
1 commit: e651711ceb8105b2d323253a3a886a5214e5dbf2
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 9 18:03:47 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon May 9 18:03:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e651711c
7
8 net-misc/linuxptp: remove duplicate
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 net-misc/linuxptp/Manifest | 1 -
13 .../linuxptp/files/linuxptp-3.1.1-makefile.patch | 34 ----------------------
14 net-misc/linuxptp/linuxptp-3.1.1.ebuild | 29 ------------------
15 net-misc/linuxptp/metadata.xml | 12 --------
16 4 files changed, 76 deletions(-)
17
18 diff --git a/net-misc/linuxptp/Manifest b/net-misc/linuxptp/Manifest
19 deleted file mode 100644
20 index bd6d2da1c..000000000
21 --- a/net-misc/linuxptp/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST linuxptp-3.1.1.tgz 218784 BLAKE2B 5b46580a0e1b6e003f5f03e512c4f9b348c086f356fd47d3480da5e8223ba291fdb213798c696c37759896a99bccf21cd7e7daddce5aa5ed5701afb0e622a755 SHA512 c3c40987fe68480a8473097ebc3c506fb4f8f3b6456bbe637b2b3cb0b3e0182f1513b511fdc04b3607d5f7d8bd1bd22502bb86eb13f9fa4fa63a3331846b33ec
25
26 diff --git a/net-misc/linuxptp/files/linuxptp-3.1.1-makefile.patch b/net-misc/linuxptp/files/linuxptp-3.1.1-makefile.patch
27 deleted file mode 100644
28 index f2ffe8f44..000000000
29 --- a/net-misc/linuxptp/files/linuxptp-3.1.1-makefile.patch
30 +++ /dev/null
31 @@ -1,34 +0,0 @@
32 ---- /var/tmp/portage/net-misc/linuxptp-3.1.1/work/linuxptp-3.1.1/makefile
33 -+++ linuxptp-3.1.1/makefile
34 -@@ -18,9 +18,8 @@
35 - KBUILD_OUTPUT =
36 -
37 - DEBUG =
38 --CC = $(CROSS_COMPILE)gcc
39 - VER = -DVER=$(version)
40 --CFLAGS = -Wall $(VER) $(incdefs) $(DEBUG) $(EXTRA_CFLAGS)
41 -+CFLAGS += -Wall $(VER) $(incdefs) $(DEBUG) $(EXTRA_CFLAGS)
42 - LDLIBS = -lm -lrt -pthread $(EXTRA_LDFLAGS)
43 - PRG = ptp4l hwstamp_ctl nsm phc2sys phc_ctl pmc timemaster ts2phc
44 - FILTERS = filter.o mave.o mmedian.o
45 -@@ -43,9 +42,9 @@
46 - version := $(shell $(srcdir)/version.sh $(srcdir))
47 - VPATH = $(srcdir)
48 -
49 --prefix = /usr/local
50 -+prefix = /usr
51 - sbindir = $(prefix)/sbin
52 --mandir = $(prefix)/man
53 -+mandir = $(prefix)/share/man
54 - man8dir = $(mandir)/man8
55 -
56 - all: $(PRG)
57 -@@ -97,7 +96,7 @@
58 - %.d: %.c
59 - @echo DEPEND $<; \
60 - rm -f $@; \
61 -- $(CC) -MM $(CPPFLAGS) $(CFLAGS) $< > $@.$$$$; \
62 -+ $(CC) -MM $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIE $< > $@.$$$$; \
63 - sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
64 - rm -f $@.$$$$
65 -
66
67 diff --git a/net-misc/linuxptp/linuxptp-3.1.1.ebuild b/net-misc/linuxptp/linuxptp-3.1.1.ebuild
68 deleted file mode 100644
69 index d6e0a5f58..000000000
70 --- a/net-misc/linuxptp/linuxptp-3.1.1.ebuild
71 +++ /dev/null
72 @@ -1,29 +0,0 @@
73 -# Copyright 1999-2022 Gentoo Authors
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=8
77 -
78 -inherit toolchain-funcs
79 -
80 -DESCRIPTION="PTP IEEE 1588 stack for Linux"
81 -HOMEPAGE="https://sourceforge.net/projects/linuxptp"
82 -SRC_URI="mirror://sourceforge/project/${PN}/v$(ver_cut 1-2)/${P}.tgz"
83 -
84 -LICENSE="GPL-2"
85 -SLOT="0"
86 -KEYWORDS="~amd64"
87 -
88 -BDEPEND="sys-kernel/linux-headers"
89 -
90 -RESTRICT="test" #no tests
91 -PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
92 -
93 -src_compile() {
94 - tc-export CC
95 - default
96 -}
97 -
98 -src_install() {
99 - default
100 - dodoc README.org
101 -}
102
103 diff --git a/net-misc/linuxptp/metadata.xml b/net-misc/linuxptp/metadata.xml
104 deleted file mode 100644
105 index 152ed05a8..000000000
106 --- a/net-misc/linuxptp/metadata.xml
107 +++ /dev/null
108 @@ -1,12 +0,0 @@
109 -<?xml version="1.0" encoding="UTF-8"?>
110 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
111 -<pkgmetadata>
112 - <maintainer type="person">
113 - <email>lssndrbarbieri@×××××.com</email>
114 - <name>Alessandro Barbieri</name>
115 - </maintainer>
116 - <upstream>
117 - <bugs-to>https://lists.sourceforge.net/lists/listinfo/linuxptp-users</bugs-to>
118 - <remote-id type="sourceforge">linuxptp</remote-id>
119 - </upstream>
120 -</pkgmetadata>