1 |
commit: 8fb66d5e5d3aa19a5bd6c698590751a2df5faec3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 3 22:04:31 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 3 22:12:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb66d5e |
7 |
|
8 |
sys-apps/more: Remove last-rited pkg |
9 |
|
10 |
profiles/package.mask | 6 --- |
11 |
sys-apps/more/Manifest | 1 - |
12 |
sys-apps/more/files/more-2.12r-freebsd.patch | 65 ---------------------------- |
13 |
sys-apps/more/metadata.xml | 5 --- |
14 |
sys-apps/more/more-2.12r.ebuild | 61 -------------------------- |
15 |
5 files changed, 138 deletions(-) |
16 |
|
17 |
diff --git a/profiles/package.mask b/profiles/package.mask |
18 |
index b666b482fc2..4e325dc22c0 100644 |
19 |
--- a/profiles/package.mask |
20 |
+++ b/profiles/package.mask |
21 |
@@ -277,12 +277,6 @@ xfce-extra/xfce4-volumed |
22 |
# Upstream is no longer providing public patches |
23 |
sys-kernel/hardened-sources |
24 |
|
25 |
-# Mikle Kolyada <zlogene@g.o> (26 Aug 2017) |
26 |
-# Masked for removal in 30 days. |
27 |
-# No major keywords, old EAPI, no maintainer. |
28 |
-# Use sys-apps/less instead. |
29 |
-sys-apps/more |
30 |
- |
31 |
# Patrice Clement <monsieurp@g.o> (23 Aug 2017) |
32 |
# Packages depending on this library need to be tested first before |
33 |
# it is unmasked. Possibly some slotting is still needed. |
34 |
|
35 |
diff --git a/sys-apps/more/Manifest b/sys-apps/more/Manifest |
36 |
deleted file mode 100644 |
37 |
index a0a1f5697f0..00000000000 |
38 |
--- a/sys-apps/more/Manifest |
39 |
+++ /dev/null |
40 |
@@ -1 +0,0 @@ |
41 |
-DIST util-linux-2.12r.tar.bz2 1370907 SHA256 b8e499b338ce9fbd1fb315194b26540ec823c0afc46c9e145ac7a3e38ad57e6b SHA512 293a36cdc35efde631ff54fac68de8fc7cc28560c1ec54920caeecd6a6efa355e73b3d331cac4689ca66152e23bc5d737d38bc4ceb4ae39a611121c62b9c373b WHIRLPOOL 281b13265918c9466433a8abdf2b26acc3238360b7bb4a614bcde8500017c232efe499244181b01921939e06ebc2c2875d8e5c49741d0a180fda7205b6b03b72 |
42 |
|
43 |
diff --git a/sys-apps/more/files/more-2.12r-freebsd.patch b/sys-apps/more/files/more-2.12r-freebsd.patch |
44 |
deleted file mode 100644 |
45 |
index 09a1ac60f71..00000000000 |
46 |
--- a/sys-apps/more/files/more-2.12r-freebsd.patch |
47 |
+++ /dev/null |
48 |
@@ -1,65 +0,0 @@ |
49 |
-diff -Nur util-linux-2.12r.orig/text-utils/Makefile util-linux-2.12r/text-utils/Makefile |
50 |
---- util-linux-2.12r.orig/text-utils/Makefile 2007-06-14 13:37:07 -0600 |
51 |
-+++ util-linux-2.12r/text-utils/Makefile 2007-06-14 15:11:01 -0600 |
52 |
-@@ -30,13 +30,19 @@ |
53 |
- CFLAGS:=$(CFLAGS) -DPGNOBELL |
54 |
- endif |
55 |
- |
56 |
-+# On FreeBSD, we need to include libcompat (more uses re_comp & re_exec) |
57 |
-+OS=$(shell uname) |
58 |
-+ifeq "$(OS)" "FreeBSD" |
59 |
-+ LIBCOMPAT=-lcompat |
60 |
-+endif |
61 |
-+ |
62 |
- all: $(BIN) $(USRBIN) |
63 |
- |
64 |
- # more and pg and ul use curses - maybe we can't compile them |
65 |
- ifeq "$(HAVE_NCURSES)" "yes" |
66 |
- # Have ncurses - make more and pg and ul |
67 |
- more pg ul: |
68 |
-- $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBCURSES) |
69 |
-+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBCURSES) $(LIBCOMPAT) |
70 |
- more: more.o $(LIB)/xstrncpy.o |
71 |
- pg: pg.o |
72 |
- ul: ul.o |
73 |
-diff -Nur util-linux-2.12r.orig/text-utils/more.c util-linux-2.12r/text-utils/more.c |
74 |
---- util-linux-2.12r.orig/text-utils/more.c 2007-06-14 13:37:07 -0600 |
75 |
-+++ util-linux-2.12r/text-utils/more.c 2007-06-14 13:28:34 -0600 |
76 |
-@@ -63,6 +63,16 @@ |
77 |
- #include <regex.h> |
78 |
- #undef _REGEX_RE_COMP |
79 |
- |
80 |
-+/* Include limits.h on FreeBSD */ |
81 |
-+#ifdef __FreeBSD__ |
82 |
-+#include <limits.h> |
83 |
-+#endif |
84 |
-+ |
85 |
-+/* Define CBAUD for FreeBSD */ |
86 |
-+#ifndef CBAUD |
87 |
-+#define CBAUD 0010017 |
88 |
-+#endif |
89 |
-+ |
90 |
- #define VI "vi" /* found on the user's path */ |
91 |
- |
92 |
- #define Fopen(s,m) (Currline = 0,file_pos=0,fopen(s,m)) |
93 |
-@@ -1560,7 +1570,7 @@ |
94 |
- } |
95 |
- if (feof (file)) { |
96 |
- if (!no_intty) { |
97 |
--#ifndef __linux__ |
98 |
-+#if !defined(__linux__) && !defined(__FreeBSD__) |
99 |
- /* No longer in libc 4.5.8. . . */ |
100 |
- file->_flags &= ~STDIO_S_EOF_SEEN; /* why doesn't fseek do this ??!!??! */ |
101 |
- #endif |
102 |
-@@ -1805,7 +1815,11 @@ |
103 |
- tcgetattr(fileno(stderr), &otty); |
104 |
- savetty0 = otty; |
105 |
- slow_tty = (otty.c_cflag & CBAUD) < B1200; |
106 |
-+#ifdef __FreeBSD__ |
107 |
-+ hardtabs = 1; |
108 |
-+#else |
109 |
- hardtabs = (otty.c_oflag & TABDLY) != XTABS; |
110 |
-+#endif |
111 |
- if (!no_tty) { |
112 |
- otty.c_lflag &= ~(ICANON|ECHO); |
113 |
- otty.c_cc[VMIN] = 1; |
114 |
|
115 |
diff --git a/sys-apps/more/metadata.xml b/sys-apps/more/metadata.xml |
116 |
deleted file mode 100644 |
117 |
index 6f49eba8f49..00000000000 |
118 |
--- a/sys-apps/more/metadata.xml |
119 |
+++ /dev/null |
120 |
@@ -1,5 +0,0 @@ |
121 |
-<?xml version="1.0" encoding="UTF-8"?> |
122 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
123 |
-<pkgmetadata> |
124 |
-<!-- maintainer-needed --> |
125 |
-</pkgmetadata> |
126 |
|
127 |
diff --git a/sys-apps/more/more-2.12r.ebuild b/sys-apps/more/more-2.12r.ebuild |
128 |
deleted file mode 100644 |
129 |
index 4eafdc7bb55..00000000000 |
130 |
--- a/sys-apps/more/more-2.12r.ebuild |
131 |
+++ /dev/null |
132 |
@@ -1,61 +0,0 @@ |
133 |
-# Copyright 1999-2013 Gentoo Foundation |
134 |
-# Distributed under the terms of the GNU General Public License v2 |
135 |
- |
136 |
-EAPI=2 |
137 |
- |
138 |
-inherit eutils flag-o-matic |
139 |
- |
140 |
-DESCRIPTION="Primitive text file viewer" |
141 |
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/" |
142 |
-SRC_URI="mirror://kernel/linux/utils/util-linux/util-linux-${PV}.tar.bz2" |
143 |
-S=${WORKDIR}/util-linux-${PV} |
144 |
- |
145 |
-LICENSE="GPL-2" |
146 |
-SLOT="0" |
147 |
-KEYWORDS="~amd64-fbsd ~x86-fbsd" |
148 |
-IUSE="static nls selinux" |
149 |
- |
150 |
-RDEPEND="!static? ( >=sys-libs/ncurses-5.2-r2 ) |
151 |
- selinux? ( sys-libs/libselinux ) |
152 |
- !sys-apps/util-linux" |
153 |
-DEPEND="${RDEPEND} |
154 |
- static? ( >=sys-libs/ncurses-5.2-r2[static-libs] ) |
155 |
- nls? ( sys-devel/gettext )" |
156 |
- |
157 |
-yesno() { use $1 && echo yes || echo no; } |
158 |
- |
159 |
-src_prepare() { |
160 |
- epatch "${FILESDIR}"/${P}-freebsd.patch |
161 |
- |
162 |
- # Enable random features |
163 |
- local mconfigs="MCONFIG" |
164 |
- sed -i \ |
165 |
- -e "/^HAVE_SELINUX=/s:no:$(yesno selinux):" \ |
166 |
- -e "/^DISABLE_NLS=/s:no:$(yesno !nls):" \ |
167 |
- -e "/^HAVE_KILL=/s:no:yes:" \ |
168 |
- -e "/^HAVE_SLN=/s:no:yes:" \ |
169 |
- -e "/^HAVE_TSORT/s:no:yes:" \ |
170 |
- -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \ |
171 |
- -e "s:CPU=.*:CPU=${CHOST%%-*}:" \ |
172 |
- -e "s:SUIDMODE=.*4755:SUIDMODE=4711:" \ |
173 |
- ${mconfigs} || die "MCONFIG sed" |
174 |
-} |
175 |
- |
176 |
-src_configure() { |
177 |
- use static && append-ldflags -static |
178 |
- export CC="$(tc-getCC)" |
179 |
- |
180 |
- econf || die "configure failed" |
181 |
-} |
182 |
- |
183 |
-src_compile() { |
184 |
- emake -C lib xstrncpy.o || die "emake xstrncpy.o failed" |
185 |
- emake -C text-utils more || die "emake more failed" |
186 |
-} |
187 |
- |
188 |
-src_install() { |
189 |
- exeinto /bin |
190 |
- doexe text-utils/more || die |
191 |
- doman text-utils/more.1 || die |
192 |
- dodoc HISTORY MAINTAINER README VERSION |
193 |
-} |