Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/nmh/files/, mail-client/nmh/, profiles/
Date: Sat, 20 Apr 2019 23:23:00
Message-Id: 1555748011.b9f82f8f946b03fcdb5584d1d8d15c0199c35396.mgorny@gentoo
1 commit: b9f82f8f946b03fcdb5584d1d8d15c0199c35396
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 20 08:13:31 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 20 08:13:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f82f8f
7
8 mail-client/nmh: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/676938
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 mail-client/nmh/Manifest | 1 -
14 mail-client/nmh/files/nmh-1.3-db5.patch | 17 -------
15 mail-client/nmh/files/nmh-1.6-m_getfld.patch | 25 ----------
16 mail-client/nmh/metadata.xml | 5 --
17 mail-client/nmh/nmh-1.6.ebuild | 72 ----------------------------
18 profiles/package.mask | 2 -
19 6 files changed, 122 deletions(-)
20
21 diff --git a/mail-client/nmh/Manifest b/mail-client/nmh/Manifest
22 deleted file mode 100644
23 index 84f016e9a9e..00000000000
24 --- a/mail-client/nmh/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST nmh-1.6.tar.gz 1197272 BLAKE2B eb3700864604ad739b1750045c933e04bc7d457db65e87eee1610e1a08dab03fba45726fbc785b4f29d84bf6720f1eae6c979aba74a5e538f5a0b833fc8e5903 SHA512 03775e73f69eb21088e191f41a0bbc2e631956f0d496f87be97981ac2c85d8cbe0680e8ee7e37f97e79c34ccd814fca78f2684acfc8390e333a46c710fbdb2b7
28
29 diff --git a/mail-client/nmh/files/nmh-1.3-db5.patch b/mail-client/nmh/files/nmh-1.3-db5.patch
30 deleted file mode 100644
31 index 473e2b609ae..00000000000
32 --- a/mail-client/nmh/files/nmh-1.3-db5.patch
33 +++ /dev/null
34 @@ -1,17 +0,0 @@
35 -diff --git a/uip/slocal.c b/uip/slocal.c
36 -index 9697d84..d38a020 100644
37 ---- a/uip/slocal.c
38 -+++ b/uip/slocal.c
39 -@@ -46,6 +46,12 @@
40 - extern int initgroups(char*, int);
41 - #endif
42 -
43 -+/* This define is needed for Berkeley db v5 and above to
44 -+ * make the header file expose the 'historical' ndbm APIs.
45 -+ * We define it unconditionally because this is simple and
46 -+ * harmless.
47 -+ */
48 -+#define HAVE_DBM
49 - /* This define is needed for Berkeley db v2 and above to
50 - * make the header file expose the 'historical' ndbm APIs.
51 - * We define it unconditionally because this is simple and
52
53 diff --git a/mail-client/nmh/files/nmh-1.6-m_getfld.patch b/mail-client/nmh/files/nmh-1.6-m_getfld.patch
54 deleted file mode 100644
55 index 36f20779664..00000000000
56 --- a/mail-client/nmh/files/nmh-1.6-m_getfld.patch
57 +++ /dev/null
58 @@ -1,25 +0,0 @@
59 ---- nmh-1.6/sbr/m_getfld.c
60 -+++ nmh-1.6/sbr/m_getfld.c
61 -@@ -919,16 +919,16 @@
62 - register char *ep = pat + patln;
63 - register char pc = *pat++;
64 -
65 -- for(;;) {
66 -- while (pc != *str++)
67 -- if (str > es)
68 -- return 0;
69 -+ for(; str <= es; str++) {
70 -+ if (pc != *str)
71 -+ continue;
72 - if (str > es+1)
73 - return 0;
74 -- sp = str; pp = pat;
75 -+ sp = str+1; pp = pat;
76 - while (pp < ep && *sp++ == *pp)
77 - pp++;
78 - if (pp >= ep)
79 -- return --str;
80 -+ return ((unsigned char *)str);
81 - }
82 -+ return 0;
83 - }
84
85 diff --git a/mail-client/nmh/metadata.xml b/mail-client/nmh/metadata.xml
86 deleted file mode 100644
87 index 7a38bb90096..00000000000
88 --- a/mail-client/nmh/metadata.xml
89 +++ /dev/null
90 @@ -1,5 +0,0 @@
91 -<?xml version="1.0" encoding="UTF-8"?>
92 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
93 -<pkgmetadata>
94 - <!-- maintainer-needed -->
95 -</pkgmetadata>
96
97 diff --git a/mail-client/nmh/nmh-1.6.ebuild b/mail-client/nmh/nmh-1.6.ebuild
98 deleted file mode 100644
99 index c64883e3515..00000000000
100 --- a/mail-client/nmh/nmh-1.6.ebuild
101 +++ /dev/null
102 @@ -1,72 +0,0 @@
103 -# Copyright 1999-2017 Gentoo Foundation
104 -# Distributed under the terms of the GNU General Public License v2
105 -
106 -EAPI=6
107 -
108 -DESCRIPTION="New MH mail reader"
109 -HOMEPAGE="http://www.nongnu.org/nmh/"
110 -SRC_URI="https://savannah.nongnu.org/download/nmh/${P}.tar.gz"
111 -
112 -LICENSE="BSD"
113 -SLOT="0"
114 -KEYWORDS="~amd64 ~x86 ~amd64-linux"
115 -IUSE="gdbm readline sasl ssl"
116 -
117 -# bug 295996: media-gfx/pixie also uses show
118 -# bug 631662: sys-apps/pick also uses pick
119 -# bug 555550: sci-mathematics/snns also uses scan
120 -DEPEND="gdbm? ( sys-libs/gdbm )
121 - !gdbm? ( sys-libs/db:= )
122 - >=sys-libs/ncurses-5.2:0=
123 - net-libs/liblockfile
124 - readline? ( sys-libs/readline:0= )
125 - sasl? ( dev-libs/cyrus-sasl )
126 - ssl? ( dev-libs/openssl:0= )
127 - !!media-gfx/pixie
128 - !!sys-apps/pick
129 - !!sci-mathematics/snns
130 -"
131 -RDEPEND="${DEPEND}
132 - virtual/editor
133 - virtual/pager
134 -"
135 -
136 -DOCS=( ChangeLog DATE MACHINES README )
137 -
138 -PATCHES=(
139 - # bug #57886
140 - "${FILESDIR}"/${P}-m_getfld.patch
141 - # bug #319937
142 - "${FILESDIR}"/${PN}-1.3-db5.patch
143 -)
144 -
145 -src_configure() {
146 - # Bug 348816 & Bug 341741: The previous ebuild default of
147 - # /usr/bin caused unnecessary conflicts with other
148 - # packages. However, the default nmh libdir location causes
149 - # problems with cross-compiling, so we use, eg., /usr/lib64.
150 - # Users may use /usr/lib/nmh in scripts needing these support
151 - # programs in normal environments.
152 - local myconf=(
153 - --prefix="${EPREFIX}"/usr
154 - --libdir="${EPREFIX}"/usr/$(get_libdir)/nmh
155 - --mandir="${EPREFIX}"/usr/share/man
156 - --sysconfdir="${EPREFIX}"/etc/nmh
157 - $(use_with sasl cyrus-sasl)
158 - $(use_with ssl tls)
159 - $(use_with readline)
160 - )
161 -
162 - # have gdbm use flag actually control which version of db in use
163 - if use gdbm; then
164 - myconf+=( --with-ndbmheader=gdbm/ndbm.h --with-ndbm=gdbm_compat )
165 - else
166 - if has_version ">=sys-libs/db-2"; then
167 - myconf+=( --with-ndbmheader=db.h --with-ndbm=db )
168 - else
169 - myconf+=( --with-ndbmheader=db1/ndbm.h --with-ndbm=db1 )
170 - fi
171 - fi
172 -
173 - econf "${myconf[@]}"
174 -}
175
176 diff --git a/profiles/package.mask b/profiles/package.mask
177 index 80a725dc004..4b5fc873608 100644
178 --- a/profiles/package.mask
179 +++ b/profiles/package.mask
180 @@ -610,7 +610,6 @@ x11-libs/hippo-canvas
181 # dev-util/wsta: #674004, no fix upstream, also #631610, #674526
182 # games-util/gtkevemon: #675988, upstream API shut down
183 # mail-client/nail: #676008, last commit in 2010, also #508480
184 -# mail-client/nmh: #676938, needs bump, 2014, also #676938, #680596
185 #
186 # Removal in 30 days.
187 app-crypt/keynote
188 @@ -618,7 +617,6 @@ dev-util/skipfish
189 dev-util/wsta
190 games-util/gtkevemon
191 mail-client/nail
192 -mail-client/nmh
193
194 # Miroslav Šulc <fordfrog@g.o> (19 Mar 2019)
195 # Depends on >=virtual/{jdk,jre}-11 which is masked