Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/ncpfs/, net-misc/ipx-utils/files/, profiles/, net-fs/ncpfs/files/, ...
Date: Sat, 27 Jun 2020 00:45:59
Message-Id: 1593218722.d427fe8c7ee672b077e7cb12fb45599dbf29197c.bman@gentoo
1 commit: d427fe8c7ee672b077e7cb12fb45599dbf29197c
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 27 00:45:22 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 27 00:45:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d427fe8c
7
8 */*: drop last-rited pkgs
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 net-fs/ncpfs/Manifest | 1 -
13 net-fs/ncpfs/files/ipx.confd | 27 -
14 net-fs/ncpfs/files/ipx.init | 41 --
15 net-fs/ncpfs/files/ncpfs-2.2.5-php.patch | 16 -
16 net-fs/ncpfs/files/ncpfs-2.2.6-align-fix.patch | 12 -
17 .../files/ncpfs-2.2.6-drop-kernel-check.patch | 31 --
18 .../files/ncpfs-2.2.6-drop-mtab-support.patch | 269 ----------
19 net-fs/ncpfs/files/ncpfs-2.2.6-gcc4.patch | 36 --
20 net-fs/ncpfs/files/ncpfs-2.2.6-getuid-fix.patch | 124 -----
21 .../ncpfs/files/ncpfs-2.2.6-ldflags-support.patch | 153 ------
22 .../ncpfs-2.2.6-makefile-fix-soname-link.patch | 15 -
23 .../ncpfs/files/ncpfs-2.2.6-missing-includes.patch | 22 -
24 .../ncpfs/files/ncpfs-2.2.6-multiple-vulns.patch | 557 ---------------------
25 net-fs/ncpfs/files/ncpfs-2.2.6-no-suid-root.patch | 16 -
26 .../ncpfs/files/ncpfs-2.2.6-pam_ncp_auth-fix.patch | 12 -
27 .../ncpfs-2.2.6-remove-libncp_atomic-header.patch | 15 -
28 .../files/ncpfs-2.2.6-remove-packed-attrib.patch | 297 -----------
29 .../files/ncpfs-2.2.6-servername-array-fix.patch | 15 -
30 .../files/ncpfs-2.2.6-zend_function_entry.patch | 11 -
31 net-fs/ncpfs/metadata.xml | 9 -
32 net-fs/ncpfs/ncpfs-2.2.6-r3.ebuild | 89 ----
33 net-fs/ncpfs/ncpfs-2.2.6-r4.ebuild | 95 ----
34 net-fs/ncpfs/ncpfs-2.2.6-r5.ebuild | 89 ----
35 net-misc/ipx-utils/Manifest | 1 -
36 .../files/ipx-utils-1.1-gcc-warnings.patch | 51 --
37 .../ipx-utils/files/ipx-utils-1.1-makefile.patch | 24 -
38 net-misc/ipx-utils/files/ipx-utils-1.1-proc.patch | 13 -
39 net-misc/ipx-utils/files/ipx.confd | 26 -
40 net-misc/ipx-utils/files/ipx.init | 42 --
41 net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild | 36 --
42 net-misc/ipx-utils/metadata.xml | 5 -
43 profiles/package.mask | 10 -
44 32 files changed, 2160 deletions(-)
45
46 diff --git a/net-fs/ncpfs/Manifest b/net-fs/ncpfs/Manifest
47 deleted file mode 100644
48 index a5eaec96762..00000000000
49 --- a/net-fs/ncpfs/Manifest
50 +++ /dev/null
51 @@ -1 +0,0 @@
52 -DIST ncpfs-2.2.6.tar.gz 2100545 BLAKE2B b95c8c0b097227c7b9e526e978efdca2234cdd0833468be99abaa68b0feba09794be26ebcb3a1c3371bc99f6c9d007eee164fa5f918aaee3eca44aeb1420211f SHA512 51f85eaae85deb66cea2ff434974699f6aa45ed1ed75217ef6176ac0b7d0f9f1c4fb186afc64c1b495474d5bad9ac7614033128c0bec39c05de723a9b29c8602
53
54 diff --git a/net-fs/ncpfs/files/ipx.confd b/net-fs/ncpfs/files/ipx.confd
55 deleted file mode 100644
56 index ca778f4e286..00000000000
57 --- a/net-fs/ncpfs/files/ipx.confd
58 +++ /dev/null
59 @@ -1,27 +0,0 @@
60 -# Copyright 1999-2011 Gentoo Foundation
61 -# Distributed under the terms of the GNU General Public License v2
62 -
63 -# Config file for /etc/init.d/ipx
64 -
65 -# Automatically selecting a primary interface.
66 -IPX_AUTO_PRIMARY=on
67 -
68 -# Automatically creating interfaces.
69 -IPX_AUTO_INTERFACE=on
70 -
71 -# Interface to which IPX sockets are bound.
72 -IPX_DEVICE=eth0
73 -
74 -# The IPX frame type to use.
75 -# Valid values are: 802.2, 802.3, SNAP, & EtherII.
76 -IPX_FRAME=802.2
77 -
78 -# Create a special kind of IPX interface that does not
79 -# have a physical device or frame type.
80 -IPX_INTERNAL_NET=no
81 -
82 -# Network number
83 -IPX_NETNUM=1
84 -
85 -# Node number
86 -IPX_NODENUM=1
87
88 diff --git a/net-fs/ncpfs/files/ipx.init b/net-fs/ncpfs/files/ipx.init
89 deleted file mode 100644
90 index e4aa25716c5..00000000000
91 --- a/net-fs/ncpfs/files/ipx.init
92 +++ /dev/null
93 @@ -1,41 +0,0 @@
94 -#!/sbin/openrc-run
95 -# Copyright 1999-2011 Gentoo Foundation
96 -# Distributed under the terms of the GNU General Public License v2
97 -
98 -#NB: Config is in /etc/conf.d/ipx
99 -
100 -depend() {
101 - need net netmount
102 -}
103 -
104 -start() {
105 - local retval=0
106 -
107 - ebegin "Bringing IPX up"
108 - if [ ${IPX_INTERNAL_NET} = "yes" ]
109 - then
110 - /usr/bin/ipx_internal_net add ${IPX_NETNUM} ${IPX_NODENUM}
111 - retval=$?
112 - else
113 - /usr/bin/ipx_interface add -p ${IPX_DEVICE} \
114 - ${IPX_FRAME} ${IPX_NETNUM}
115 - retval=$?
116 - fi
117 -
118 - /usr/bin/ipx_configure \
119 - --auto_primary=${IPX_AUTO_PRIMARY} \
120 - --auto_interface=${IPX_AUTO_INTERFACE}
121 - retval=$(( $retval + $? ))
122 - eend ${retval} "Failed to bring IPX up"
123 -}
124 -
125 -stop() {
126 - local retval=0
127 -
128 - ebegin "Bringing IPX down"
129 - /usr/bin/ipx_configure --auto_primary=off --auto_interface=off
130 - retval=$?
131 - /usr/bin/ipx_interface delall
132 - retval=$(( $retval + $? ))
133 - eend ${retval} "Failed to down IPX"
134 -}
135
136 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.5-php.patch b/net-fs/ncpfs/files/ncpfs-2.2.5-php.patch
137 deleted file mode 100644
138 index 81908acd6c0..00000000000
139 --- a/net-fs/ncpfs/files/ncpfs-2.2.5-php.patch
140 +++ /dev/null
141 @@ -1,16 +0,0 @@
142 ---- a/contrib/php/build/rules.mk.orig 2004-12-09 13:01:04.417854240 +0000
143 -+++ b/contrib/php/build/rules.mk 2004-12-09 13:01:42.460070944 +0000
144 -@@ -63,10 +63,10 @@
145 -
146 - install-modules:
147 - @test -d modules && \
148 -- $(mkinstalldirs) $(moduledir) && \
149 -- echo "installing shared modules into $(moduledir)" && \
150 -+ $(mkinstalldirs) $(DESTDIR)/$(moduledir) && \
151 -+ echo "installing shared modules into $(DESTDIR)/$(moduledir)" && \
152 - rm -f modules/*.la && \
153 -- cp modules/* $(moduledir) || true
154 -+ cp modules/* $(DESTDIR)/$(moduledir) || true
155 -
156 - include $(builddir)/.deps
157 -
158
159 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-align-fix.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-align-fix.patch
160 deleted file mode 100644
161 index 49d3c386d5a..00000000000
162 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-align-fix.patch
163 +++ /dev/null
164 @@ -1,12 +0,0 @@
165 -diff -Naurp ncpfs-2.2.6.orig/lib/ndslib.c ncpfs-2.2.6/lib/ndslib.c
166 ---- a/lib/ndslib.c.orig 2005-01-27 12:35:59.000000000 -0500
167 -+++ b/lib/ndslib.c 2014-08-12 21:07:35.559190454 -0400
168 -@@ -957,7 +957,7 @@ static NWDSCCODE nds_beginauth2(
169 - NWDSCCODE err;
170 - int n1, n3;
171 - u_int16_t n3a;
172 -- char rpb_b[DEFAULT_MESSAGE_LEN];
173 -+ char rpb_b[DEFAULT_MESSAGE_LEN] __attribute__ ((aligned (4)));
174 - Buf_T rpb;
175 - size_t k1tl;
176 -
177
178 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-drop-kernel-check.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-drop-kernel-check.patch
179 deleted file mode 100644
180 index 9348c08536e..00000000000
181 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-drop-kernel-check.patch
182 +++ /dev/null
183 @@ -1,31 +0,0 @@
184 -Description: Drop kernel version check
185 -Author: Bastian Blank <waldi@××××××.org>
186 -Bug-Debian: http://bugs.debian.org/692472
187 -
188 ---- a/sutil/ncpm_common.c.orig
189 -+++ b/sutil/ncpm_common.c
190 -@@ -243,23 +243,6 @@ static int load_ncpfs(void)
191 - #endif /* MOUNT2 */
192 -
193 - static int getmountver(void) {
194 -- struct utsname name;
195 -- int maj, mid, rev;
196 -- int ver;
197 --
198 -- if (uname(&name)) {
199 -- errexit(1, _("Cannot get kernel release\n"));
200 -- }
201 -- if (sscanf(name.release, "%d.%d.%d", &maj, &mid, &rev) != 3) {
202 -- errexit(2, _("Cannot convert kernel release \"%s\" to number\n"), name.release);
203 -- }
204 -- ver = maj*0x10000 + mid*0x100 + rev;
205 -- if (ver < 0x20100)
206 -- return 2;
207 -- if (ver < 0x20328)
208 -- return 3;
209 -- if (ver < 0x2051F)
210 -- return 4;
211 - return 5;
212 - }
213 -
214 -
215
216 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-drop-mtab-support.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-drop-mtab-support.patch
217 deleted file mode 100644
218 index b9c39f51e4e..00000000000
219 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-drop-mtab-support.patch
220 +++ /dev/null
221 @@ -1,269 +0,0 @@
222 -diff -Naurp ncpfs-2.2.6.orig/sutil/ncplogin.c ncpfs-2.2.6/sutil/ncplogin.c
223 ---- a/sutil/ncplogin.c.orig 2014-08-13 02:52:56.859067273 -0400
224 -+++ b/sutil/ncplogin.c 2014-08-13 02:53:42.699067001 -0400
225 -@@ -111,7 +111,6 @@
226 - #include <stdlib.h>
227 - #include <stdarg.h>
228 - #include <sys/mount.h>
229 --#include <mntent.h>
230 - #include <ncp/kernel/ipx.h>
231 - #include <sys/ioctl.h>
232 - #ifdef CONFIG_NATIVE_UNIX
233 -@@ -935,12 +934,6 @@ ncpipx:;
234 - }
235 - NWCCCloseConn(conn);
236 - NWDSFreeContext(ctx);
237 -- /* ncpmap, ncplogin must write in /etc/mtab */
238 -- {
239 -- block_sigs();
240 -- add_mnt_entry(mount_name, mount_point, info.flags);
241 -- unblock_sigs();
242 -- }
243 - free(mount_name);
244 - if (info.echo_mnt_pnt) {
245 - printf(_("mounted on:%s\n"),mount_point);
246 -diff -Naurp ncpfs-2.2.6.orig/sutil/ncpm_common.c ncpfs-2.2.6/sutil/ncpm_common.c
247 ---- ncpfs-2.2.6.orig/sutil/ncpm_common.c 2014-08-13 02:52:56.959067273 -0400
248 -+++ ncpfs-2.2.6/sutil/ncpm_common.c 2014-08-13 02:55:38.349066313 -0400
249 -@@ -104,7 +104,6 @@
250 - #include <stdlib.h>
251 - #include <stdarg.h>
252 - #include <sys/mount.h>
253 --#include <mntent.h>
254 - #include <ncp/kernel/ipx.h>
255 - #include <sys/ioctl.h>
256 - #if MOUNT3
257 -@@ -1423,68 +1422,6 @@ static const struct smntflags {
258 - {MS_NODIRATIME, "nodiratime"},
259 - {0, NULL}};
260 -
261 --void add_mnt_entry(char* mount_name, char* mpnt, unsigned long flags) {
262 -- const struct smntflags* sf;
263 -- char mnt_opts[80];
264 -- char* p;
265 -- struct mntent ment;
266 -- int fd;
267 -- FILE* mtab;
268 --
269 -- if (check_name(mount_name) == -1 || check_name(mpnt) == -1)
270 -- errexit(107, _("Illegal character in mount entry\n"));
271 --
272 -- ment.mnt_fsname = mount_name;
273 -- ment.mnt_dir = mpnt;
274 -- ment.mnt_type = (char*)"ncpfs";
275 -- ment.mnt_opts = mnt_opts;
276 -- ment.mnt_freq = 0;
277 -- ment.mnt_passno = 0;
278 --
279 -- p = mnt_opts;
280 -- *p++ = 'r';
281 -- *p++ = (flags & MS_RDONLY)?'o':'w';
282 -- for (sf = mntflags; sf->flag; sf++) {
283 -- if (flags & sf->flag) {
284 -- *p++ = ',';
285 -- strcpy(p, sf->name);
286 -- p += strlen(p);
287 -- }
288 -- }
289 -- *p = 0;
290 --
291 -- if (ncpm_suser()) {
292 -- errexit(91, _("Cannot switch to superuser: %s\n"), strerror(errno));
293 -- }
294 -- if ((fd = open(MOUNTED "~", O_RDWR | O_CREAT | O_EXCL, 0600)) == -1)
295 -- {
296 -- errexit(58, _("Can't get %s~ lock file\n"), MOUNTED);
297 -- }
298 -- close(fd);
299 --
300 -- if ((mtab = setmntent(MOUNTED, "a+")) == NULL)
301 -- {
302 -- errexit(59, _("Can't open %s\n"), MOUNTED);
303 -- }
304 -- if (addmntent(mtab, &ment) == 1)
305 -- {
306 -- errexit(60, _("Can't write mount entry\n"));
307 -- }
308 -- if (fchmod(fileno(mtab), 0644) == -1)
309 -- {
310 -- errexit(61, _("Can't set perms on %s\n"), MOUNTED);
311 -- }
312 -- endmntent(mtab);
313 --
314 -- if (unlink(MOUNTED "~") == -1)
315 -- {
316 -- errexit(62, _("Can't remove %s~\n"), MOUNTED);
317 -- }
318 -- if (ncpm_normal()) {
319 -- errexit(90, _("Cannot relinquish superuser rights: %s\n"), strerror(EPERM));
320 -- }
321 --}
322 --
323 - static int __proc_option(const struct optinfo* opts, struct ncp_mount_info* info, const char* opt, const char* param) {
324 - const struct optinfo* optr;
325 -
326 -diff -Naurp ncpfs-2.2.6.orig/sutil/ncpm_common.h ncpfs-2.2.6/sutil/ncpm_common.h
327 ---- ncpfs-2.2.6.orig/sutil/ncpm_common.h 2014-08-13 02:52:56.749067274 -0400
328 -+++ ncpfs-2.2.6/sutil/ncpm_common.h 2014-08-13 02:53:42.699067001 -0400
329 -@@ -60,7 +60,6 @@ void verify_argv(int argc, char* argv[])
330 - int ncp_mount_specific(struct ncp_conn* conn, int pathNS, const unsigned char* NWpath, int pathlen);
331 - int mount_ok(struct stat *st);
332 - void mycom_err(int, const char*, ...);
333 --void add_mnt_entry(char* mount_name, char* mpoint, unsigned long flags);
334 -
335 - struct ncp_mount_info {
336 - struct ncp_mount_data_independent mdata;
337 -diff -Naurp ncpfs-2.2.6.orig/sutil/ncpmount.c ncpfs-2.2.6/sutil/ncpmount.c
338 ---- ncpfs-2.2.6.orig/sutil/ncpmount.c 2014-08-13 02:52:56.749067274 -0400
339 -+++ ncpfs-2.2.6/sutil/ncpmount.c 2014-08-13 02:53:42.699067001 -0400
340 -@@ -114,7 +114,6 @@
341 - #include <stdlib.h>
342 - #include <stdarg.h>
343 - #include <sys/mount.h>
344 --#include <mntent.h>
345 - #include <ncp/kernel/ipx.h>
346 - #include <ncp/nwclient.h>
347 - #include <sys/ioctl.h>
348 -@@ -719,11 +718,6 @@ ncpipx:;
349 - }
350 - ncp_close(conn);
351 -
352 -- if (!opt_n) {
353 -- block_sigs();
354 -- add_mnt_entry(mount_name, mount_point, info.flags);
355 -- unblock_sigs();
356 -- }
357 - return 0;
358 - }
359 -
360 -diff -Naurp ncpfs-2.2.6.orig/sutil/ncpumount.c ncpfs-2.2.6/sutil/ncpumount.c
361 ---- ncpfs-2.2.6.orig/sutil/ncpumount.c 2014-08-13 02:52:56.749067274 -0400
362 -+++ ncpfs-2.2.6/sutil/ncpumount.c 2014-08-13 02:55:10.369066480 -0400
363 -@@ -179,108 +179,6 @@ static void enableAlarm(void) {
364 - sigprocmask(SIG_UNBLOCK, &sa.sa_mask, NULL);
365 - }
366 -
367 --static int __clearMtab (const char* mount_points[], unsigned int numEntries) {
368 --// main logic from ncpumount.c
369 -- struct mntent *mnt;
370 -- FILE *mtab;
371 -- FILE *new_mtab;
372 --
373 --#define MOUNTED_TMP MOUNTED".tmp"
374 --
375 -- if ((mtab = setmntent(MOUNTED, "r")) == NULL){
376 -- eprintf(_("Can't open %s: %s\n"), MOUNTED,
377 -- strerror(errno));
378 -- return 1;
379 -- }
380 --
381 -- if ((new_mtab = setmntent(MOUNTED_TMP, "w")) == NULL){
382 -- eprintf(_("Can't open %s: %s\n"), MOUNTED_TMP,
383 -- strerror(errno));
384 -- endmntent(mtab);
385 -- return 1;
386 -- }
387 -- while ((mnt = getmntent(mtab)) != NULL) {
388 -- unsigned int i=0;
389 -- int found=0;
390 --
391 -- while (i<numEntries && !found) {
392 -- found=!strcmp(mnt->mnt_dir, mount_points[i]);
393 -- i++;
394 -- }
395 -- if (!found) {
396 -- addmntent(new_mtab, mnt);
397 -- }
398 -- }
399 --
400 -- endmntent(mtab);
401 --
402 -- if (fchmod(fileno(new_mtab), S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) < 0){
403 -- eprintf(_("Error changing mode of %s: %s\n"),
404 -- MOUNTED_TMP, strerror(errno));
405 -- return 1;
406 -- }
407 -- endmntent(new_mtab);
408 --
409 -- if (rename(MOUNTED_TMP, MOUNTED) < 0){
410 -- eprintf(_("Cannot rename %s to %s: %s\n"),
411 -- MOUNTED, MOUNTED_TMP, strerror(errno));
412 -- return 1;
413 -- }
414 -- return 0;
415 --}
416 --
417 --static int clearMtab (const char* mount_points[], unsigned int numEntries) {
418 -- int fd;
419 -- int err;
420 -- int retries = 10;
421 --
422 -- if (!numEntries)
423 -- return 0; /* don't waste time ! */
424 --
425 -- block_sigs();
426 --
427 -- while ((fd = open(MOUNTED "~", O_RDWR | O_CREAT | O_EXCL, 0600)) == -1) {
428 -- struct timespec tm;
429 --
430 -- if (errno != EEXIST || retries == 0) {
431 -- unblock_sigs();
432 -- eprintf(_("Can't get %s~ lock file: %s\n"), MOUNTED, strerror(errno));
433 -- return 1;
434 -- }
435 -- fd = open(MOUNTED "~", O_RDWR);
436 -- if (fd != -1) {
437 -- alarm(10);
438 -- err = lockf(fd, F_LOCK, 0);
439 -- alarm(0);
440 -- close(fd);
441 -- if (err) {
442 -- unblock_sigs();
443 -- eprintf(_("Can't lock lock file %s~: %s\n"), MOUNTED, _("Lock timed out"));
444 -- return 1;
445 -- }
446 -- tm.tv_sec = 0;
447 -- tm.tv_nsec = 20000000;
448 -- nanosleep(&tm, NULL);
449 -- }
450 -- retries--;
451 -- }
452 -- alarm(1);
453 -- lockf(fd, F_LOCK, 0);
454 -- alarm(0);
455 -- close(fd);
456 --
457 -- err = __clearMtab(mount_points, numEntries);
458 --
459 -- if ((unlink(MOUNTED "~") == -1) && (err == 0)){
460 -- unblock_sigs();
461 -- eprintf(_("Can't remove %s~"), MOUNTED);
462 -- return 1;
463 -- }
464 -- unblock_sigs();
465 -- return err;
466 --}
467 --
468 --
469 - int ncp_mnt_umount(const char *abs_mnt, const char *rel_mnt)
470 - {
471 - if (umount(rel_mnt) != 0) {
472 -@@ -617,10 +515,6 @@ static int old_ncpumount(int argc, char
473 - ret = 1;
474 - continue;
475 - }
476 -- if (clearMtab(&mount_point, 1)) {
477 -- ret = 1;
478 -- continue;
479 -- }
480 - }
481 - return ret;
482 - }
483 -@@ -739,7 +633,6 @@ main(int argc, char *argv[])
484 - if (serverName || allConns) {
485 - processBindServers(conns,curEntries,serverName,umountTable,&mountEntries);
486 - }
487 -- clearMtab(umountTable, mountEntries);
488 - } else if (treeName) {
489 - eprintf(_("No NCP connections to tree %s.\n"),treeName);
490 - } else if (serverName) {
491
492 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-gcc4.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-gcc4.patch
493 deleted file mode 100644
494 index 793aca6cbcc..00000000000
495 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-gcc4.patch
496 +++ /dev/null
497 @@ -1,36 +0,0 @@
498 -diff -ur ncpfs-2.2.6-orig/lib/ncplib.c ncpfs-2.2.6/lib/ncplib.c
499 ---- a/lib/ncplib.c.orig 2006-01-13 16:55:05.000000000 -0500
500 -+++ b/lib/ncplib.c 2006-01-13 16:56:08.000000000 -0500
501 -@@ -2421,7 +2421,7 @@
502 - int i = 1;
503 - NWCCODE nwerr;
504 -
505 -- static int get_argument(int arg_no, const char **target) {
506 -+ int get_argument(int arg_no, const char **target) {
507 - int count = 1;
508 -
509 - if (target != NULL) {
510 -diff -ur ncpfs-2.2.6-orig/util/nwpjmv.c ncpfs-2.2.6/util/nwpjmv.c
511 ---- ncpfs-2.2.6-orig/util/nwpjmv.c 2006-01-13 16:55:05.000000000 -0500
512 -+++ ncpfs-2.2.6/util/nwpjmv.c 2006-01-13 16:55:50.000000000 -0500
513 -@@ -131,7 +131,7 @@
514 - char *s = q->command;
515 - char *target_end = target + target_size;
516 -
517 -- static void add_string(const char *str)
518 -+ void add_string(const char *str)
519 - {
520 - int len = strlen(str);
521 - if (target + len + 1 > target_end)
522 -diff -ur ncpfs-2.2.6-orig/util/pserver.c ncpfs-2.2.6/util/pserver.c
523 ---- ncpfs-2.2.6-orig/util/pserver.c 2006-01-13 16:55:05.000000000 -0500
524 -+++ ncpfs-2.2.6/util/pserver.c 2006-01-13 16:55:36.000000000 -0500
525 -@@ -153,7 +153,7 @@
526 - char *s = q->command;
527 - char *target_end = target + target_size;
528 -
529 -- static void add_string(const char *str)
530 -+ void add_string(const char *str)
531 - {
532 - int len = strlen(str);
533 - if (target + len + 1 > target_end)
534
535 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-getuid-fix.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-getuid-fix.patch
536 deleted file mode 100644
537 index 64193c22d05..00000000000
538 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-getuid-fix.patch
539 +++ /dev/null
540 @@ -1,124 +0,0 @@
541 -diff -Naurp ncpfs-2.2.6.orig/contrib/tcl-utils/chgpwd.c ncpfs-2.2.6/contrib/tcl-utils/chgpwd.c
542 ---- a/contrib/tcl-utils/chgpwd.c.orig 2005-01-27 12:35:59.000000000 -0500
543 -+++ b/contrib/tcl-utils/chgpwd.c 2014-08-12 21:08:25.779190155 -0400
544 -@@ -292,12 +292,12 @@ int main(int argc, char *argv[]) {
545 - }
546 - } else {
547 - if (!treeName[0]) {
548 -- NWCXGetPreferredDSTree(treeName,sizeof(treeName));
549 -+ dserr=NWCXGetPreferredDSTree(treeName,sizeof(treeName));
550 -
551 - }
552 - if (!treeName[0]) {
553 - fprintf(stderr,"failed: You must specify a server or a tree\n");
554 -- dserr=114;
555 -+ /*dserr=114;*/
556 - goto finished;
557 - }
558 -
559 -diff -Naurp ncpfs-2.2.6.orig/contrib/tcl-utils/ncplist.c ncpfs-2.2.6/contrib/tcl-utils/ncplist.c
560 ---- ncpfs-2.2.6.orig/contrib/tcl-utils/ncplist.c 2005-01-27 12:35:59.000000000 -0500
561 -+++ ncpfs-2.2.6/contrib/tcl-utils/ncplist.c 2014-08-12 21:08:25.779190155 -0400
562 -@@ -299,7 +299,12 @@ int main(int argc, char *argv[]) {
563 - }else {
564 -
565 - if (!treeName[0]) {
566 -- NWCXGetPreferredDSTree(treeName,sizeof(treeName));
567 -+ dserr=NWCXGetPreferredDSTree(treeName,sizeof(treeName));
568 -+ if (dserr){
569 -+ fprintf(stderr, "failed: Cannot get preffered DS tree: %s\n",
570 -+ strnwerror(dserr);
571 -+ exit(106);
572 -+ }
573 -
574 - }
575 - if (!treeName[0]) {
576 -diff -Naurp ncpfs-2.2.6.orig/contrib/tcl-utils/ncpreadprop.c ncpfs-2.2.6/contrib/tcl-utils/ncpreadprop.c
577 ---- ncpfs-2.2.6.orig/contrib/tcl-utils/ncpreadprop.c 2005-01-27 12:35:59.000000000 -0500
578 -+++ ncpfs-2.2.6/contrib/tcl-utils/ncpreadprop.c 2014-08-12 21:08:25.779190155 -0400
579 -@@ -470,7 +470,7 @@ main(int argc, char *argv[])
580 - }
581 - } else {
582 - if (!treeName[0]) {
583 -- NWCXGetPreferredDSTree(treeName,sizeof(treeName));
584 -+ dserr=NWCXGetPreferredDSTree(treeName,sizeof(treeName));
585 -
586 - }
587 - if (!treeName[0]) {
588 -diff -Naurp ncpfs-2.2.6.orig/contrib/tcl-utils/ncpreadprops.c ncpfs-2.2.6/contrib/tcl-utils/ncpreadprops.c
589 ---- ncpfs-2.2.6.orig/contrib/tcl-utils/ncpreadprops.c 2005-01-27 12:35:59.000000000 -0500
590 -+++ ncpfs-2.2.6/contrib/tcl-utils/ncpreadprops.c 2014-08-12 21:08:25.779190155 -0400
591 -@@ -507,7 +507,7 @@ main(int argc, char *argv[])
592 - }
593 - } else {
594 - if (!treeName[0]) {
595 -- NWCXGetPreferredDSTree(treeName,sizeof(treeName));
596 -+ dserr=NWCXGetPreferredDSTree(treeName,sizeof(treeName));
597 -
598 - }
599 - if (!treeName[0]) {
600 -diff -Naurp ncpfs-2.2.6.orig/lib/nwclient.c ncpfs-2.2.6/lib/nwclient.c
601 ---- ncpfs-2.2.6.orig/lib/nwclient.c 2005-01-27 12:35:59.000000000 -0500
602 -+++ ncpfs-2.2.6/lib/nwclient.c 2014-08-12 21:08:25.779190155 -0400
603 -@@ -481,6 +481,10 @@ static char* readnwinfosfile (char * use
604 - *err = EACCES;
605 - return NULL;
606 - }
607 -+ if (st.st_uid != getuid()) {
608 -+ *err = EACCES;
609 -+ return NULL;
610 -+ }
611 - if ((st.st_mode & (S_IRWXO | S_IRWXG)) != 0) {
612 - *err = NCPLIB_INVALID_MODE;
613 - return NULL;
614 -@@ -560,7 +564,7 @@ NWDSCCODE NWCXGetPreferredDSTree (NWD
615 - if (!res)
616 - res=readnwinfosfile (NULL,NDS_PREFERRED_TREE,NULL, &err);
617 - if (!res)
618 -- return -1;
619 -+ return err;
620 - if (strlen (res)+1 >maxLen)
621 - return NWE_BUFFER_OVERFLOW;
622 - strcpy(preferTree,res);
623 -@@ -581,7 +585,7 @@ NWDSCCODE NWCXGetDefaultNameContext (con
624 - if (!res)
625 - res=readnwinfosfile (NULL,NDS_PREFERRED_NAME_CTX,forTree,&err);
626 - if (!res)
627 -- return -1;
628 -+ return err;
629 - if (strlen (res)+1 >maxLen)
630 - return NWE_BUFFER_OVERFLOW;
631 - strcpy(nameContext,res);
632 -@@ -603,7 +607,7 @@ NWDSCCODE NWCXGetPreferredServer (con
633 -
634 - res=readnwinfosfile (NULL, NDS_PREFERRED_SERVER, forTree, &err);
635 - if (!res) {
636 -- return -1;
637 -+ return err;
638 - }
639 - }
640 - /* test that this server DO belongs to tree forTree*/
641 -@@ -644,7 +648,7 @@ NWDSCCODE NWCXGetDefaultUserName (const
642 - if (!res)
643 - res=readnwinfosfile (NULL,NDS_USER,forTree, &err);
644 - if (!res)
645 -- return -1;
646 -+ return err;
647 - if (strlen (res)+1 >maxLen)
648 - return NWE_BUFFER_OVERFLOW;
649 - strcpy(defaultName,res);
650 -diff -Naurp ncpfs-2.2.6.orig/sutil/ncplogin.c ncpfs-2.2.6/sutil/ncplogin.c
651 ---- ncpfs-2.2.6.orig/sutil/ncplogin.c 2005-01-27 12:35:59.000000000 -0500
652 -+++ ncpfs-2.2.6/sutil/ncplogin.c 2014-08-12 21:08:25.779190155 -0400
653 -@@ -588,7 +588,10 @@ main(int argc, char *argv[])
654 - int flags = 0;
655 -
656 - if (!info.tree) {
657 -- NWCXGetPreferredDSTree(ntree, sizeof(ntree));
658 -+ err=NWCXGetPreferredDSTree(ntree, sizeof(ntree));
659 -+ if (err){
660 -+ errexit(104, _("Cannot get preffered DS tree: %s\n"),strnwerror(err));
661 -+ }
662 - info.tree = ntree;
663 - }
664 -
665
666 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-ldflags-support.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-ldflags-support.patch
667 deleted file mode 100644
668 index 111e780ff52..00000000000
669 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-ldflags-support.patch
670 +++ /dev/null
671 @@ -1,153 +0,0 @@
672 -diff -Naurp ncpfs-2.2.6.orig/contrib/pam/Makefile.in ncpfs-2.2.6/contrib/pam/Makefile.in
673 ---- a/contrib/pam/Makefile.in.orig 2005-01-27 12:35:59.000000000 -0500
674 -+++ b/contrib/pam/Makefile.in 2014-08-12 21:06:42.369190770 -0400
675 -@@ -17,6 +17,7 @@ PAM_LIBRARY = pam_ncp_auth.so
676 - PAM_OBJECTS = pam_ncp_auth.do support.do
677 -
678 - CFLAGS_pam_ncp_auth.do := -DNCPMOUNT_PATH=\"$(bindir)/ncpmount\" -DNCPUMOUNT_PATH=\"$(bindir)/ncpumount\"
679 -+LDFLAGS = @LDFLAGS@
680 -
681 - .PHONY : all install install-dev dep clean mrproper distclean
682 - .PHONY : default
683 -@@ -45,7 +46,7 @@ $(PAM_OBJECTS): %.do: %.c
684 -
685 -
686 - $(PAM_LIBRARY): $(PAM_OBJECTS)
687 -- $(CC) $(CFLAGS) -shared -o $@ $(PAM_OBJECTS) -L$(NCPLIB_DIR) -lncp -lpam ${LIBS}
688 -+ $(CC) $(CFLAGS) -shared $(LDFLAGS) -o $@ $(PAM_OBJECTS) -L$(NCPLIB_DIR) -lncp -lpam ${LIBS}
689 -
690 - dep:
691 -
692 -diff -Naurp ncpfs-2.2.6.orig/ipx-1.0/Makefile.in ncpfs-2.2.6/ipx-1.0/Makefile.in
693 ---- ncpfs-2.2.6.orig/ipx-1.0/Makefile.in 2005-01-27 12:35:59.000000000 -0500
694 -+++ ncpfs-2.2.6/ipx-1.0/Makefile.in 2014-08-12 21:06:42.369190770 -0400
695 -@@ -9,6 +9,7 @@ vpath %.c ${this_srcdir}
696 - vpath %.8 ${this_srcdir}
697 -
698 - LIBS = @INTLLIBS@ @LIBS@
699 -+LDFLAGS = @LDFLAGS@
700 -
701 - O_UTILS = ipx_configure.o ipx_cmd.o
702 - O_UTIIPX = ipx_interface.o ipx_internal_net.o ipx_route.o
703 -@@ -33,7 +34,7 @@ $(ALL_OBJECTS): %.o: %.c
704 - [ -s $@ ] || rm -f $@
705 -
706 - $(UTIIPX): %: %.o ipxutil.o
707 -- $(CC) $(CFLAGS) -o $@ $(addsuffix .o,$@) ipxutil.o ${LIBS}
708 -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(addsuffix .o,$@) ipxutil.o ${LIBS}
709 -
710 - $(UTILS): %: %.o
711 - $(CC) $(CFLAGS) -o $@ $(addsuffix .o,$@) ${LIBS}
712 -diff -Naurp ncpfs-2.2.6.orig/ipxdump/Makefile.in ncpfs-2.2.6/ipxdump/Makefile.in
713 ---- ncpfs-2.2.6.orig/ipxdump/Makefile.in 2005-01-27 12:35:59.000000000 -0500
714 -+++ ncpfs-2.2.6/ipxdump/Makefile.in 2014-08-12 21:06:42.369190770 -0400
715 -@@ -11,6 +11,7 @@ ncp_if_ether_support = @ncp_if_ether_sup
716 - OBJECTS= ipxutil.o
717 -
718 - ALL_OBJECTS := $(EXEC:%=%.o) $(OBJECTS)
719 -+LDFLAGS = @LDFLAGS@
720 -
721 - .PHONY : all install dep clean mrproper distclean
722 - .PHONY : dist tgz
723 -@@ -24,7 +25,7 @@ install: $(EXEC)
724 - ifeq ($(ncp_if_ether_support),yes)
725 -
726 - $(EXEC): %: %.o $(OBJECTS)
727 -- $(CC) $(CFLAGS) -o $@ $(addsuffix .o,$@) $(OBJECTS)
728 -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(addsuffix .o,$@) $(OBJECTS)
729 -
730 - else
731 - .PHONY ipxdump ipxparse
732 -diff -Naurp ncpfs-2.2.6.orig/lib/Makefile.in ncpfs-2.2.6/lib/Makefile.in
733 ---- ncpfs-2.2.6.orig/lib/Makefile.in 2005-01-27 12:35:59.000000000 -0500
734 -+++ ncpfs-2.2.6/lib/Makefile.in 2014-08-12 21:06:42.369190770 -0400
735 -@@ -23,6 +23,7 @@ STATIC_NCPLIB_BIN := $(STATIC_NCPLIB)
736 - CCFLAGS += -I.
737 - PIC_FLAGS := -fPIC
738 - NWCOMPAT := 1
739 -+LDFLAGS := @LDFLAGS@
740 -
741 - SHARED_VLINK :=
742 - SHARED_VLINK_CFLAGS :=
743 -@@ -122,7 +123,7 @@ $(SHARED_NCPLIB): $(SHARED_NCPLIB_BIN)
744 - ln -sf $< $@
745 -
746 - $(SHARED_NCPLIB_BIN): $(SHARED_O_OBJ) ${this_srcdir}/libncp.vers
747 -- $(CC) -shared -o $@ -Wl,-soname=$(SHARED_NCPLIB_SONAME) $(SHARED_VLINK) $(SHARED_O_OBJ) ${LIBS} -lc
748 -+ $(CC) -shared -o $@ -Wl,-soname=$(SHARED_NCPLIB_SONAME) $(LDFLAGS) $(SHARED_VLINK) $(SHARED_O_OBJ) ${LIBS} -lc
749 -
750 - install_static: $(STATIC_NCPLIB_BIN)
751 - $(INSTALL) -d $(DESTDIR)$(libadir)
752 -diff -Naurp ncpfs-2.2.6.orig/Make.rules.in ncpfs-2.2.6/Make.rules.in
753 ---- ncpfs-2.2.6.orig/Make.rules.in 2005-01-27 12:35:59.000000000 -0500
754 -+++ ncpfs-2.2.6/Make.rules.in 2014-08-12 21:06:42.369190770 -0400
755 -@@ -42,6 +42,7 @@ CFLAGS_OPTIONS += $(CWARN)
756 - CFLAGS_DEFINES := -DN_PLAT_LINUX -DLOCALEDIR=\"${localedir}\" -DNCPFS_VERSION=\"${VERSION}\" -DNCPFS_PACKAGE=\"${PACKAGE}\"
757 -
758 - CCFLAGS := $(CFLAGS_DEFINES) $(CFLAGS_OPTIONS) $(INCLUDES)
759 -+LDFLAGS := @LDFLAGS@
760 -
761 - # If your system is ELF, either also do a 'make install', or append the util/
762 - # directory where the dynamic library resides to the environment
763 -diff -Naurp ncpfs-2.2.6.orig/sutil/Makefile.in ncpfs-2.2.6/sutil/Makefile.in
764 ---- ncpfs-2.2.6.orig/sutil/Makefile.in 2005-01-27 12:35:59.000000000 -0500
765 -+++ ncpfs-2.2.6/sutil/Makefile.in 2014-08-12 21:06:42.369190770 -0400
766 -@@ -14,6 +14,7 @@ USE_KERNEL = @USE_KERNEL@
767 - NDS_SUPPORT = @NDS_SUPPORT@
768 -
769 - LIBS = @INTLLIBS@ @LIBS@
770 -+LDFLAGS := @LDFLAGS@
771 -
772 - # environ in ncpmount
773 - CCFLAGS += -D_GNU_SOURCE
774 -@@ -69,7 +70,7 @@ $(O_UTILS:.o=.d): %.d: %.c
775 - [ -s $@ ] || rm -f $@
776 -
777 - ncpmap.o: %.o: ncplogin.c
778 -- $(CC) $(CFLAGS) $(CCFLAGS) $(CFLAGS_$@) -o $@ -c $<
779 -+ $(CC) $(CFLAGS) $(LDFLAGS) $(CCFLAGS) $(CFLAGS_$@) -o $@ -c $<
780 -
781 - ncpmap.d: %.d: ncplogin.c
782 - set -e; $(CC) -M $(CFLAGS) $(CCFLAGS) $(CFLAGS_$(@:.d=.o)) $< \
783 -@@ -85,7 +86,7 @@ ncpm_common.d mount_login.d: %.d: %.c
784 - [ -s $@ ] || rm -f $@
785 -
786 - $(UTILS): %: %.o ../lib/libncp.a ncpm_common.o mount_login.o
787 -- $(CC) @GC_SECTIONS@-o $@ $(addsuffix .o,$@) $(LDFLAGS_$@) ../lib/libncp.a ${LIBS}
788 -+ $(CC) @GC_SECTIONS@-o $@ $(addsuffix .o,$@) $(LDFLAGS) $(LDFLAGS_$@) ../lib/libncp.a ${LIBS}
789 -
790 - ../lib/libncp.a:
791 - make -C ../lib libncp.a
792 -diff -Naurp ncpfs-2.2.6.orig/util/Makefile.in ncpfs-2.2.6/util/Makefile.in
793 ---- ncpfs-2.2.6.orig/util/Makefile.in 2005-01-27 12:35:59.000000000 -0500
794 -+++ ncpfs-2.2.6/util/Makefile.in 2014-08-12 21:06:42.369190770 -0400
795 -@@ -15,6 +15,7 @@ NDS_SUPPORT = @NDS_SUPPORT@
796 - MOUNT2 = @MOUNT2@
797 -
798 - LIBS = @INTLLIBS@ @LIBS@
799 -+LDFLAGS = @LDFLAGS@
800 -
801 - O_OTHER = dsqueue.o
802 - O_USERUTILS = slist.o pqlist.o nwfsinfo.o pserver.o nprint.o nsend.o \
803 -@@ -83,7 +84,7 @@ install-dev:
804 - make -C ../lib libncp.so
805 -
806 - $(O_USERUTILS) $(O_SBINUTILS) $(O_OTHER) ncptest.o: %.o: %.c
807 -- $(CC) $(CFLAGS) $(CCFLAGS) $(CFLAGS_$@) -o $@ -c $<
808 -+ $(CC) $(CFLAGS) $(LDFLAGS) $(CCFLAGS) $(CFLAGS_$@) -o $@ -c $<
809 -
810 - %.d: %.c
811 - set -e; $(CC) -M $(CFLAGS) $(CCFLAGS) $(CFLAGS_$(@:.d=.o)) $< \
812 -@@ -94,10 +95,10 @@ $(O_USERUTILS) $(O_SBINUTILS) $(O_OTHER)
813 - pqstat nwpqjob nprint: dsqueue.o
814 -
815 - $(UTILS): %: %.o $(LIBDEP)
816 -- $(CC) $(CFLAGS) -o $@ $(addsuffix .o,$@) $(ADDOBJS_$@) -L$(NCPLIB_DIR) -lncp ${LIBS}
817 -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(addsuffix .o,$@) $(ADDOBJS_$@) -L$(NCPLIB_DIR) -lncp ${LIBS}
818 -
819 - ipx_probe: ipx_probe.c
820 -- $(CC) $(CFLAGS) $(CCFLAGS) -o ipx_probe ipx_probe.c ${LIBS}
821 -+ $(CC) $(CFLAGS) $(LDFLAGS) $(CCFLAGS) -o ipx_probe ipx_probe.c ${LIBS}
822 -
823 - dep:
824 -
825
826 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-makefile-fix-soname-link.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-makefile-fix-soname-link.patch
827 deleted file mode 100644
828 index ece9fc720db..00000000000
829 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-makefile-fix-soname-link.patch
830 +++ /dev/null
831 @@ -1,15 +0,0 @@
832 -diff -Naurp ncpfs-2.2.6.orig/lib/Makefile.in ncpfs-2.2.6/lib/Makefile.in
833 ---- a/lib/Makefile.in.orig 2014-08-12 23:23:27.149141996 -0400
834 -+++ b/lib/Makefile.in 2014-08-12 23:23:55.969141824 -0400
835 -@@ -99,9 +99,10 @@ distclean: mrproper
836 - install_shared: $(SHARED_NCPLIB_BIN)
837 - $(INSTALL) -d $(DESTDIR)$(libsodir)
838 - $(INSTALL) $(SHARED_NCPLIB_BIN) $(DESTDIR)$(libsodir)
839 -+ ln -sf $(SHARED_NCPLIB_BIN) $(DESTDIR)$(libsodir)/$(SHARED_NCPLIB)
840 -+ ln -sf $(SHARED_NCPLIB_BIN) $(DESTDIR)$(libsodir)/$(SHARED_NCPLIB_SONAME)
841 -
842 - install-dev: install_shared install_static
843 -- ln -sf $(SHARED_NCPLIB_SONAME) $(DESTDIR)$(libsodir)/$(SHARED_NCPLIB)
844 - $(INSTALL) -d $(DESTDIR)$(includedir)/ncp
845 - $(INSTALL) -d $(DESTDIR)$(includedir)/ncp/ext
846 - $(INSTALL) -d $(DESTDIR)$(includedir)/ncp/kernel
847
848 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-missing-includes.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-missing-includes.patch
849 deleted file mode 100644
850 index 11258253af9..00000000000
851 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-missing-includes.patch
852 +++ /dev/null
853 @@ -1,22 +0,0 @@
854 -diff -ruN ncpfs-2.2.6/contrib/pam/pam_ncp_auth.c ncpfs-2.2.6-fixed/contrib/pam/pam_ncp_auth.c
855 ---- a/contrib/pam/pam_ncp_auth.c.orig 2005-01-27 18:35:59.000000000 +0100
856 -+++ a/contrib/pam/pam_ncp_auth.c 2007-05-11 21:38:05.143474750 +0200
857 -@@ -257,6 +257,7 @@
858 - #include <stdlib.h>
859 - #include <stdio.h>
860 - #include <string.h>
861 -+#include <syslog.h>
862 - #include <unistd.h>
863 - #include <pwd.h>
864 - #include <grp.h>
865 -diff -ruN ncpfs-2.2.6/sutil/ncpm_common.c ncpfs-2.2.6-fixed/sutil/ncpm_common.c
866 ---- ncpfs-2.2.6/sutil/ncpm_common.c 2005-01-27 18:35:59.000000000 +0100
867 -+++ ncpfs-2.2.6-fixed/sutil/ncpm_common.c 2007-05-11 21:38:29.609003750 +0200
868 -@@ -82,6 +82,7 @@
869 -
870 - #include "ncpm_common.h"
871 -
872 -+#include <stddef.h>
873 - #include <stdio.h>
874 - #include <string.h>
875 - #include <signal.h>
876
877 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-multiple-vulns.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-multiple-vulns.patch
878 deleted file mode 100644
879 index def49a5fad6..00000000000
880 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-multiple-vulns.patch
881 +++ /dev/null
882 @@ -1,557 +0,0 @@
883 -From: Dan Rosenberg <dan.j.rosenberg () gmail com>
884 -Date: Fri, 5 Mar 2010 12:06:01 -0500
885 -
886 -============================================
887 - ncpfs, Multiple Vulnerabilities
888 - March 5, 2010
889 - CVE-2010-0788, CVE-2010-0790, CVE-2010-0791
890 -============================================
891 -
892 -==Description==
893 -
894 -The ncpmount, ncpumount, and ncplogin utilities, installed as part of the ncpfs
895 -package, contain several vulnerabilities.
896 -
897 -1. ncpmount, ncpumount, and ncplogin are vulnerable to race conditions that
898 -allow a local attacker to unmount arbitrary mountpoints, causing
899 -denial-of-service, or mount Netware shares to arbitrary directories,
900 -potentially leading to root compromise. This issue was formerly assigned
901 -CVE-2009-3297, but has since been re-assigned CVE-2010-0788 to avoid overlap
902 -with related bugs in other packages.
903 -
904 -2. ncpumount is vulnerable to an information disclosure vulnerability that
905 -allows a local attacker to verify the existence of arbitrary files, violating
906 -directory permissions. This issue has been assigned CVE-2010-0790.
907 -
908 -3. ncpmount, ncpumount, and ncplogin create lockfiles insecurely, allowing a
909 -local attacker to leave a stale lockfile at /etc/mtab~, causing other mount
910 -utilities to fail and creating denial-of-service conditions. This issue has
911 -been assigned CVE-2010-0791.
912 -
913 -==Workaround==
914 -
915 -If unprivileged users do not need the ability to mount and unmount Netware
916 -shares, then the suid bit should be removed from these utilities.
917 -
918 -==Solution==
919 -
920 -A patch has been released that resolves these issues (attached to this
921 -advisory). ncpfs-2.2.6.partial.patch is intended for ncpfs releases that have
922 -already been patched against the first vulnerability in this report
923 -(CVE-2010-0788, formerly CVE-2009-3297). It has been tested against the latest
924 -ncpfs packages distributed by Fedora, Red Hat, and Mandriva.
925 -ncpfs-2.2.6.full.patch is intended for ncpfs releases that have not been
926 -patched against any of these vulnerabilities. It has been tested against the
927 -latest ncpfs packages distributed by Debian, Ubuntu, and the upstream release
928 -(ftp://platan.vc.cvut.cz/pub/linux/ncpfs/).
929 -
930 -Users are advised to recompile from source, or request updated packages from
931 -downstream distributors.
932 -
933 -==Credits==
934 -
935 -These vulnerabilities were discovered by Dan Rosenberg
936 -(dan.j.rosenberg () gmail com).
937 -Thanks to Vitezslav Crhonek for the patch against the first issue.
938 -
939 -==References==
940 -
941 -CVE identifiers CVE-2010-0788, CVE-2010-0790, and CVE-2010-0791 have been
942 -assigned to these issues.
943 -
944 -http://seclists.org/fulldisclosure/2010/Mar/122
945 -
946 -
947 -diff -ur ncpfs-2.2.6.orig/sutil/ncplogin.c ncpfs-2.2.6/sutil/ncplogin.c
948 ---- a/sutil/ncplogin.c.orig 2010-03-03 16:18:59.000000000 -0500
949 -+++ b/sutil/ncplogin.c 2010-03-03 16:17:41.000000000 -0500
950 -@@ -934,7 +934,9 @@
951 - NWDSFreeContext(ctx);
952 - /* ncpmap, ncplogin must write in /etc/mtab */
953 - {
954 -+ block_sigs();
955 - add_mnt_entry(mount_name, mount_point, info.flags);
956 -+ unblock_sigs();
957 - }
958 - free(mount_name);
959 - if (info.echo_mnt_pnt) {
960 -diff -ur ncpfs-2.2.6.orig/sutil/ncpm_common.c ncpfs-2.2.6/sutil/ncpm_common.c
961 ---- ncpfs-2.2.6.orig/sutil/ncpm_common.c 2010-03-03 16:18:59.000000000 -0500
962 -+++ ncpfs-2.2.6/sutil/ncpm_common.c 2010-03-03 16:17:41.000000000 -0500
963 -@@ -360,7 +360,7 @@
964 - #endif
965 -
966 - static inline int ncpm_suser(void) {
967 -- return setreuid(-1, 0);
968 -+ return setresuid(0, 0, myuid);
969 - }
970 -
971 - static int ncpm_normal(void) {
972 -@@ -368,11 +368,31 @@
973 - int v;
974 -
975 - e = errno;
976 -- v = setreuid(-1, myuid);
977 -+ v = setresuid(myuid, myuid, 0);
978 - errno = e;
979 - return v;
980 - }
981 -
982 -+void block_sigs(void) {
983 -+
984 -+ sigset_t mask, orig_mask;
985 -+ sigfillset(&mask);
986 -+
987 -+ if(sigprocmask(SIG_SETMASK, &mask, &orig_mask) < 0) {
988 -+ errexit(-1, _("Blocking signals failed.\n"));
989 -+ }
990 -+}
991 -+
992 -+void unblock_sigs(void) {
993 -+
994 -+ sigset_t mask, orig_mask;
995 -+ sigemptyset(&mask);
996 -+
997 -+ if (sigprocmask(SIG_SETMASK, &mask, &orig_mask) < 0) {
998 -+ errexit(-1, _("Un-blocking signals failed.\n"));
999 -+ }
1000 -+}
1001 -+
1002 - static int proc_ncpm_mount(const char* source, const char* target, const char* filesystem, unsigned long mountflags, const void* data) {
1003 - int v;
1004 - int e;
1005 -@@ -444,7 +464,7 @@
1006 - }
1007 - datav2.file_mode = data->file_mode;
1008 - datav2.dir_mode = data->dir_mode;
1009 -- err = proc_ncpm_mount(mount_name, data->mount_point, "ncpfs", flags, (void*) &datav2);
1010 -+ err = proc_ncpm_mount(mount_name, ".", "ncpfs", flags, (void*) &datav2);
1011 - if (err)
1012 - return errno;
1013 - return 0;
1014 -@@ -508,7 +528,7 @@
1015 - exit(0); /* Should not return from process_connection */
1016 - }
1017 - close(pp[0]);
1018 -- err=proc_ncpm_mount(mount_name, data->mount_point, "ncpfs", flags, (void*) &datav3);
1019 -+ err=proc_ncpm_mount(mount_name, ".", "ncpfs", flags, (void*) &datav3);
1020 - if (err) {
1021 - err = errno;
1022 - /* Mount unsuccesful so we have to kill daemon */
1023 -@@ -559,7 +579,7 @@
1024 - sprintf(mountopts, "version=%u,flags=%u,owner=%u,uid=%u,gid=%u,mode=%u,dirmode=%u,timeout=%u,retry=%u,wdogpid=%u,ncpfd=%u,infofd=%u",
1025 - NCP_MOUNT_VERSION_V5, ncpflags, data->mounted_uid, data->uid, data->gid, data->file_mode,
1026 - data->dir_mode, data->time_out, data->retry_count, wdog_pid, data->ncp_fd, pp[1]);
1027 -- err=proc_ncpm_mount(mount_name, data->mount_point, "ncpfs", flags, mountopts);
1028 -+ err=proc_ncpm_mount(mount_name, ".", "ncpfs", flags, mountopts);
1029 - } else {
1030 - err=-1;
1031 - }
1032 -@@ -577,7 +597,7 @@
1033 - datav4.file_mode = data->file_mode;
1034 - datav4.dir_mode = data->dir_mode;
1035 - datav4.wdog_pid = wdog_pid;
1036 -- err = proc_ncpm_mount(mount_name, data->mount_point, "ncpfs", flags, (void*)&datav4);
1037 -+ err = proc_ncpm_mount(mount_name, ".", "ncpfs", flags, (void*)&datav4);
1038 - if (err) {
1039 - err = errno;
1040 - /* Mount unsuccesful so we have to kill daemon */
1041 -@@ -1395,6 +1415,17 @@
1042 - }
1043 - #endif /* MOUNT3 */
1044 -
1045 -+static int check_name(const char *name)
1046 -+{
1047 -+ char *s;
1048 -+ for (s = "\n\t\\"; *s; s++) {
1049 -+ if (strchr(name, *s)) {
1050 -+ return -1;
1051 -+ }
1052 -+ }
1053 -+ return 0;
1054 -+}
1055 -+
1056 - static const struct smntflags {
1057 - unsigned int flag;
1058 - const char* name;
1059 -@@ -1416,6 +1447,9 @@
1060 - int fd;
1061 - FILE* mtab;
1062 -
1063 -+ if (check_name(mount_name) == -1 || check_name(mpnt) == -1)
1064 -+ errexit(107, _("Illegal character in mount entry\n"));
1065 -+
1066 - ment.mnt_fsname = mount_name;
1067 - ment.mnt_dir = mpnt;
1068 - ment.mnt_type = (char*)"ncpfs";
1069 -diff -ur ncpfs-2.2.6.orig/sutil/ncpm_common.h ncpfs-2.2.6/sutil/ncpm_common.h
1070 ---- ncpfs-2.2.6.orig/sutil/ncpm_common.h 2010-03-03 16:18:59.000000000 -0500
1071 -+++ ncpfs-2.2.6/sutil/ncpm_common.h 2010-03-03 16:17:41.000000000 -0500
1072 -@@ -121,6 +121,9 @@
1073 - int proc_aftermount(const struct ncp_mount_info* info, NWCONN_HANDLE* conn);
1074 - int proc_ncpm_umount(const char* dir);
1075 -
1076 -+void block_sigs(void);
1077 -+void unblock_sigs(void);
1078 -+
1079 - #define UNUSED(x) x __attribute__((unused))
1080 -
1081 - #endif /* __NCPM_COMMON_H__ */
1082 -diff -ur ncpfs-2.2.6.orig/sutil/ncpmount.c ncpfs-2.2.6/sutil/ncpmount.c
1083 ---- ncpfs-2.2.6.orig/sutil/ncpmount.c 2010-03-03 16:18:59.000000000 -0500
1084 -+++ ncpfs-2.2.6/sutil/ncpmount.c 2010-03-03 16:17:41.000000000 -0500
1085 -@@ -359,11 +359,17 @@
1086 - usage();
1087 - return -1;
1088 - }
1089 -+
1090 - realpath(argv[optind], mount_point);
1091 -
1092 -- if (stat(mount_point, &st) == -1)
1093 -+ if (chdir(mount_point))
1094 -+ {
1095 -+ errexit(31, _("Could not change directory into mount target %s: %s\n"),
1096 -+ mount_point, strerror(errno));
1097 -+ }
1098 -+ if (stat(".", &st) == -1)
1099 - {
1100 -- errexit(31, _("Could not find mount point %s: %s\n"),
1101 -+ errexit(31, _("Mount point %s does not exist: %s\n"),
1102 - mount_point, strerror(errno));
1103 - }
1104 - if (mount_ok(&st) != 0)
1105 -@@ -714,7 +720,9 @@
1106 - ncp_close(conn);
1107 -
1108 - if (!opt_n) {
1109 -+ block_sigs();
1110 - add_mnt_entry(mount_name, mount_point, info.flags);
1111 -+ unblock_sigs();
1112 - }
1113 - return 0;
1114 - }
1115 -diff -ur ncpfs-2.2.6.orig/sutil/ncpumount.c ncpfs-2.2.6/sutil/ncpumount.c
1116 ---- ncpfs-2.2.6.orig/sutil/ncpumount.c 2010-03-03 16:18:59.000000000 -0500
1117 -+++ ncpfs-2.2.6/sutil/ncpumount.c 2010-03-03 16:17:41.000000000 -0500
1118 -@@ -70,13 +70,24 @@
1119 - #include <mntent.h>
1120 - #include <pwd.h>
1121 -
1122 -+#include <sched.h>
1123 -+
1124 - #include "private/libintl.h"
1125 -
1126 - #define _(X) X
1127 -
1128 -+#ifndef MS_REC
1129 -+#define MS_REC 16384
1130 -+#endif
1131 -+#ifndef MS_SLAVE
1132 -+#define MS_SLAVE (1<<19)
1133 -+#endif
1134 -+
1135 - static char *progname;
1136 - static int is_ncplogout = 0;
1137 -
1138 -+uid_t uid;
1139 -+
1140 - static void
1141 - usage(void)
1142 - {
1143 -@@ -117,6 +128,40 @@
1144 - va_end(ap);
1145 - }
1146 -
1147 -+/* Mostly copied from ncpm_common.c */
1148 -+void block_sigs(void) {
1149 -+
1150 -+ sigset_t mask, orig_mask;
1151 -+ sigfillset(&mask);
1152 -+ sigdelset(&mask, SIGALRM); /* Need SIGALRM for ncpumount */
1153 -+
1154 -+ if(setresuid(0, 0, uid) < 0) {
1155 -+ eprintf("Failed to raise privileges.\n");
1156 -+ exit(-1);
1157 -+ }
1158 -+
1159 -+ if(sigprocmask(SIG_SETMASK, &mask, &orig_mask) < 0) {
1160 -+ eprintf("Blocking signals failed.\n");
1161 -+ exit(-1);
1162 -+ }
1163 -+}
1164 -+
1165 -+void unblock_sigs(void) {
1166 -+
1167 -+ sigset_t mask, orig_mask;
1168 -+ sigemptyset(&mask);
1169 -+
1170 -+ if(setresuid(uid, uid, 0) < 0) {
1171 -+ eprintf("Failed to drop privileges.\n");
1172 -+ exit(-1);
1173 -+ }
1174 -+
1175 -+ if(sigprocmask(SIG_SETMASK, &mask, &orig_mask) < 0) {
1176 -+ eprintf("Un-blocking signals failed.\n");
1177 -+ exit(-1);
1178 -+ }
1179 -+}
1180 -+
1181 - static void alarmSignal(int sig) {
1182 - (void)sig;
1183 - }
1184 -@@ -192,10 +237,13 @@
1185 - if (!numEntries)
1186 - return 0; /* don't waste time ! */
1187 -
1188 -+ block_sigs();
1189 -+
1190 - while ((fd = open(MOUNTED "~", O_RDWR | O_CREAT | O_EXCL, 0600)) == -1) {
1191 - struct timespec tm;
1192 -
1193 - if (errno != EEXIST || retries == 0) {
1194 -+ unblock_sigs();
1195 - eprintf(_("Can't get %s~ lock file: %s\n"), MOUNTED, strerror(errno));
1196 - return 1;
1197 - }
1198 -@@ -206,6 +254,7 @@
1199 - alarm(0);
1200 - close(fd);
1201 - if (err) {
1202 -+ unblock_sigs();
1203 - eprintf(_("Can't lock lock file %s~: %s\n"), MOUNTED, _("Lock timed out"));
1204 - return 1;
1205 - }
1206 -@@ -223,26 +272,205 @@
1207 - err = __clearMtab(mount_points, numEntries);
1208 -
1209 - if ((unlink(MOUNTED "~") == -1) && (err == 0)){
1210 -+ unblock_sigs();
1211 - eprintf(_("Can't remove %s~"), MOUNTED);
1212 - return 1;
1213 - }
1214 -+ unblock_sigs();
1215 - return err;
1216 - }
1217 -
1218 -+
1219 -+int ncp_mnt_umount(const char *abs_mnt, const char *rel_mnt)
1220 -+{
1221 -+ if (umount(rel_mnt) != 0) {
1222 -+ eprintf(_("Could not umount %s: %s\n"),
1223 -+ abs_mnt, strerror(errno));
1224 -+ return -1;
1225 -+ }
1226 -+ return 0;
1227 -+}
1228 -+
1229 -+
1230 -+static int check_is_mount_child(void *p)
1231 -+{
1232 -+ const char **a = p;
1233 -+ const char *last = a[0];
1234 -+ const char *mnt = a[1];
1235 -+ int res;
1236 -+ const char *procmounts = "/proc/mounts";
1237 -+ int found;
1238 -+ FILE *fp;
1239 -+ struct mntent *entp;
1240 -+
1241 -+ res = mount("", "/", "", MS_SLAVE | MS_REC, NULL);
1242 -+ if (res == -1) {
1243 -+ eprintf(_("Failed to mark mounts slave: %s\n"),
1244 -+ strerror(errno));
1245 -+ return 1;
1246 -+ }
1247 -+
1248 -+ res = mount(".", "/tmp", "", MS_BIND | MS_REC, NULL);
1249 -+ if (res == -1) {
1250 -+ eprintf(_("Failed to bind parent to /tmp: %s\n"),
1251 -+ strerror(errno));
1252 -+ return 1;
1253 -+ }
1254 -+
1255 -+ fp = setmntent(procmounts, "r");
1256 -+ if (fp == NULL) {
1257 -+ eprintf(_("Failed to open %s: %s\n"),
1258 -+ procmounts, strerror(errno));
1259 -+ return 1;
1260 -+ }
1261 -+
1262 -+ found = 0;
1263 -+ while ((entp = getmntent(fp)) != NULL) {
1264 -+ if (strncmp(entp->mnt_dir, "/tmp/", 5) == 0 &&
1265 -+ strcmp(entp->mnt_dir + 5, last) == 0) {
1266 -+ found = 1;
1267 -+ break;
1268 -+ }
1269 -+ }
1270 -+ endmntent(fp);
1271 -+
1272 -+ if (!found) {
1273 -+ eprintf(_("%s not mounted\n"), mnt);
1274 -+ return 1;
1275 -+ }
1276 -+
1277 -+ return 0;
1278 -+}
1279 -+
1280 -+
1281 -+static int check_is_mount(const char *last, const char *mnt)
1282 -+{
1283 -+ char buf[131072];
1284 -+ pid_t pid, p;
1285 -+ int status;
1286 -+ const char *a[2] = { last, mnt };
1287 -+
1288 -+ pid = clone(check_is_mount_child, buf + 65536, CLONE_NEWNS, (void *) a);
1289 -+ if (pid == (pid_t) -1) {
1290 -+ eprintf(_("Failed to clone namespace: %s\n"),
1291 -+ strerror(errno));
1292 -+ return -1;
1293 -+ }
1294 -+ p = waitpid(pid, &status, __WCLONE);
1295 -+ if (p == (pid_t) -1) {
1296 -+ eprintf(_("Waitpid failed: %s\n"),
1297 -+ strerror(errno));
1298 -+ return -1;
1299 -+ }
1300 -+ if (!WIFEXITED(status)) {
1301 -+ eprintf(_("Child terminated abnormally (status %i)\n"),
1302 -+ status);
1303 -+ return -1;
1304 -+ }
1305 -+ if (WEXITSTATUS(status) != 0)
1306 -+ return -1;
1307 -+
1308 -+ return 0;
1309 -+}
1310 -+
1311 -+
1312 -+static int chdir_to_parent(char *copy, const char **lastp, int *currdir_fd)
1313 -+{
1314 -+ char *tmp;
1315 -+ const char *parent;
1316 -+ char buf[PATH_MAX];
1317 -+ int res;
1318 -+
1319 -+ tmp = strrchr(copy, '/');
1320 -+ if (tmp == NULL || tmp[1] == '\0') {
1321 -+ eprintf(_("Internal error: invalid abs path: <%s>\n"),
1322 -+ copy);
1323 -+ return -1;
1324 -+ }
1325 -+ if (tmp != copy) {
1326 -+ *tmp = '\0';
1327 -+ parent = copy;
1328 -+ *lastp = tmp + 1;
1329 -+ } else if (tmp[1] != '\0') {
1330 -+ *lastp = tmp + 1;
1331 -+ parent = "/";
1332 -+ } else {
1333 -+ *lastp = ".";
1334 -+ parent = "/";
1335 -+ }
1336 -+ *currdir_fd = open(".", O_RDONLY);
1337 -+ if (*currdir_fd == -1) {
1338 -+ eprintf(_("Failed to open current directory: %s\n"),
1339 -+ strerror(errno));
1340 -+ return -1;
1341 -+ }
1342 -+ res = chdir(parent);
1343 -+ if (res == -1) {
1344 -+ eprintf(_("Failed to chdir to %s: %s\n"),
1345 -+ parent, strerror(errno));
1346 -+ return -1;
1347 -+ }
1348 -+ if (getcwd(buf, sizeof(buf)) == NULL) {
1349 -+ eprintf(_("Failed to obtain current directory: %s\n"),
1350 -+ strerror(errno));
1351 -+ return -1;
1352 -+ }
1353 -+ if (strcmp(buf, parent) != 0) {
1354 -+ eprintf(_("Mountpoint moved (%s -> %s)\n"),
1355 -+ parent, buf);
1356 -+ return -1;
1357 -+
1358 -+ }
1359 -+
1360 -+ return 0;
1361 -+}
1362 -+
1363 -+
1364 -+static int unmount_ncp(const char *mount_point)
1365 -+{
1366 -+ int currdir_fd = -1;
1367 -+ char *copy;
1368 -+ const char *last;
1369 -+ int res;
1370 -+
1371 -+ copy = strdup(mount_point);
1372 -+ if (copy == NULL) {
1373 -+ eprintf(_("Failed to allocate memory\n"));
1374 -+ return -1;
1375 -+ }
1376 -+ res = chdir_to_parent(copy, &last, &currdir_fd);
1377 -+ if (res == -1)
1378 -+ goto out;
1379 -+ res = check_is_mount(last, mount_point);
1380 -+ if (res == -1)
1381 -+ goto out;
1382 -+ res = ncp_mnt_umount(mount_point, last);
1383 -+
1384 -+out:
1385 -+ free(copy);
1386 -+ if (currdir_fd != -1) {
1387 -+ fchdir(currdir_fd);
1388 -+ close(currdir_fd);
1389 -+ }
1390 -+
1391 -+ return res;
1392 -+}
1393 -+
1394 - static int
1395 - do_umount(const char *mount_point)
1396 - {
1397 - int fid = open(mount_point, O_RDONLY, 0);
1398 - uid_t mount_uid;
1399 -+ int res;
1400 -
1401 - if (fid == -1) {
1402 -- eprintf(_("Could not open %s: %s\n"),
1403 -- mount_point, strerror(errno));
1404 -+ eprintf(_("Invalid or unauthorized mountpoint %s\n"),
1405 -+ mount_point);
1406 - return -1;
1407 - }
1408 - if (ncp_get_mount_uid(fid, &mount_uid) != 0) {
1409 - close(fid);
1410 -- eprintf(_("%s probably not ncp-filesystem\n"),
1411 -+ eprintf(_("Invalid or unauthorized mountpoint %s\n"),
1412 - mount_point);
1413 - return -1;
1414 - }
1415 -@@ -253,12 +481,8 @@
1416 - return -1;
1417 - }
1418 - close(fid);
1419 -- if (umount(mount_point) != 0) {
1420 -- eprintf(_("Could not umount %s: %s\n"),
1421 -- mount_point, strerror(errno));
1422 -- return -1;
1423 -- }
1424 -- return 0;
1425 -+ res = unmount_ncp(mount_point);
1426 -+ return res;
1427 - }
1428 -
1429 -
1430 -@@ -409,7 +633,8 @@
1431 - int allConns = 0;
1432 - const char *serverName = NULL;
1433 - const char *treeName = NULL;
1434 -- uid_t uid = getuid();
1435 -+
1436 -+ uid = getuid();
1437 -
1438 - progname = strrchr(argv[0], '/');
1439 - if (progname) {
1440
1441 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-no-suid-root.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-no-suid-root.patch
1442 deleted file mode 100644
1443 index 050de30b86b..00000000000
1444 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-no-suid-root.patch
1445 +++ /dev/null
1446 @@ -1,16 +0,0 @@
1447 -Description: Don't install utils as suid root
1448 -Author: Bastian Blank <waldi@××××××.org>
1449 -Bug-Debian: http://bugs.debian.org/692929
1450 -
1451 ---- ncpfs-2.2.6.orig/sutil/Makefile.in
1452 -+++ ncpfs-2.2.6/sutil/Makefile.in
1453 -@@ -51,7 +51,7 @@ all: $(UTILS)
1454 - install: all
1455 - ${INSTALL} -d $(DESTDIR)$(bindir)
1456 - ${INSTALL} -d $(DESTDIR)/sbin
1457 -- ${INSTALL} -m 4755 $(UTILS) $(DESTDIR)$(bindir)
1458 -+ ${INSTALL} $(UTILS) $(DESTDIR)$(bindir)
1459 - ifeq ($(USE_KERNEL),1)
1460 - ln -sf $(bindir)/ncpmount $(DESTDIR)/sbin/mount.ncp
1461 - ln -sf $(bindir)/ncpmount $(DESTDIR)/sbin/mount.ncpfs
1462 -
1463
1464 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-pam_ncp_auth-fix.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-pam_ncp_auth-fix.patch
1465 deleted file mode 100644
1466 index 2a9e0edd4b2..00000000000
1467 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-pam_ncp_auth-fix.patch
1468 +++ /dev/null
1469 @@ -1,12 +0,0 @@
1470 -diff -Naurp ncpfs-2.2.6.orig/contrib/pam/pam_ncp_auth.c ncpfs-2.2.6/contrib/pam/pam_ncp_auth.c
1471 ---- ncpfs-2.2.6.orig/contrib/pam/pam_ncp_auth.c 2005-01-27 12:35:59.000000000 -0500
1472 -+++ ncpfs-2.2.6/contrib/pam/pam_ncp_auth.c 2014-08-12 21:02:33.229192251 -0400
1473 -@@ -2534,7 +2534,7 @@ nw_retrieve_nds_user_info(struct nw_user
1474 - bailoutctx:;
1475 - NWDSFreeContext(ctx);
1476 - bailout:;
1477 -- if (!err & (ui->qflag & QF_DEBUG))
1478 -+ if ((!err) && (ui->qflag & QF_DEBUG))
1479 - syslog(LOG_NOTICE, "%u %u %s %s %s\n", ui->uid, ui->gid, ui->dir, ui->gecos, ui->shell);
1480 - return err;
1481 - }
1482
1483 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-remove-libncp_atomic-header.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-remove-libncp_atomic-header.patch
1484 deleted file mode 100644
1485 index 22768817045..00000000000
1486 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-remove-libncp_atomic-header.patch
1487 +++ /dev/null
1488 @@ -1,15 +0,0 @@
1489 -Description: Remove another generated file
1490 -Author: Bastian Blank <waldi@××××××.org>
1491 -Bug-Debian: http://bugs.debian.org/692471
1492 -
1493 ---- ncpfs-2.2.6.orig/Makefile.in
1494 -+++ ncpfs-2.2.6/Makefile.in
1495 -@@ -71,6 +71,7 @@ distclean:
1496 - rm -f intl/Makefile po/Makefile po/Makefile.in
1497 - rm -f lib/Makefile man/Makefile sutil/Makefile util/Makefile
1498 - rm -f include/config.h
1499 -+ rm -f include/private/libncp-atomic.h
1500 - rm -f include/ncp/ext/socket.h include/ncp/ext/stdint.h
1501 - rm -f include/ncp/kernel/fs.h
1502 - rm -f include/ncp/kernel/if.h include/ncp/kernel/route.h include/ncp/kernel/types.h
1503 -
1504
1505 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-remove-packed-attrib.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-remove-packed-attrib.patch
1506 deleted file mode 100644
1507 index 40267c72871..00000000000
1508 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-remove-packed-attrib.patch
1509 +++ /dev/null
1510 @@ -1,297 +0,0 @@
1511 -diff -Naurp ncpfs-2.2.6.orig//include/ncp/ipxlib.h ncpfs-2.2.6//include/ncp/ipxlib.h
1512 ---- ncpfs-2.2.6.orig//include/ncp/ipxlib.h 2005-01-27 12:35:59.000000000 -0500
1513 -+++ ncpfs-2.2.6//include/ncp/ipxlib.h 2011-02-10 02:38:18.822076000 -0500
1514 -@@ -64,12 +64,12 @@ struct sap_query
1515 - struct sap_server_ident
1516 - {
1517 - u_int16_t server_type __attribute__((packed));
1518 -- char server_name[48] __attribute__((packed));
1519 -+ char server_name[48];
1520 - IPXNet server_network __attribute__((packed));
1521 - #ifdef SWIG
1522 - u_int8_t server_node[6] __attribute__((packed));
1523 - #else
1524 -- IPXNode server_node __attribute__((packed));
1525 -+ IPXNode server_node;
1526 - #endif
1527 - IPXPort server_port __attribute__((packed));
1528 - u_int16_t intermediate_network __attribute__((packed));
1529 -@@ -87,7 +87,7 @@ struct ipx_rt_def {
1530 - struct ipx_rip_packet
1531 - {
1532 - u_int16_t operation __attribute__((packed));
1533 -- struct ipx_rt_def rt[1] __attribute__((packed));
1534 -+ struct ipx_rt_def rt[1];
1535 - };
1536 -
1537 - #ifdef SWIG
1538 -diff -Naurp ncpfs-2.2.6.orig//include/ncp/kernel/ncp.h ncpfs-2.2.6//include/ncp/kernel/ncp.h
1539 ---- ncpfs-2.2.6.orig//include/ncp/kernel/ncp.h 2005-01-27 12:35:59.000000000 -0500
1540 -+++ ncpfs-2.2.6//include/ncp/kernel/ncp.h 2011-02-10 02:38:18.822076000 -0500
1541 -@@ -53,12 +53,12 @@
1542 -
1543 - struct ncp_request_header {
1544 - u_int16_t type __attribute__((packed));
1545 -- u_int8_t sequence __attribute__((packed));
1546 -- u_int8_t conn_low __attribute__((packed));
1547 -- u_int8_t task __attribute__((packed));
1548 -- u_int8_t conn_high __attribute__((packed));
1549 -- u_int8_t function __attribute__((packed));
1550 -- u_int8_t data[0] __attribute__((packed));
1551 -+ u_int8_t sequence;
1552 -+ u_int8_t conn_low;
1553 -+ u_int8_t task;
1554 -+ u_int8_t conn_high;
1555 -+ u_int8_t function;
1556 -+ u_int8_t data[0];
1557 - };
1558 -
1559 - #define NCP_REPLY (0x3333)
1560 -@@ -66,13 +66,13 @@ struct ncp_request_header {
1561 -
1562 - struct ncp_reply_header {
1563 - u_int16_t type __attribute__((packed));
1564 -- u_int8_t sequence __attribute__((packed));
1565 -- u_int8_t conn_low __attribute__((packed));
1566 -- u_int8_t task __attribute__((packed));
1567 -- u_int8_t conn_high __attribute__((packed));
1568 -- u_int8_t completion_code __attribute__((packed));
1569 -- u_int8_t connection_state __attribute__((packed));
1570 -- u_int8_t data[0] __attribute__((packed));
1571 -+ u_int8_t sequence;
1572 -+ u_int8_t conn_low;
1573 -+ u_int8_t task;
1574 -+ u_int8_t conn_high;
1575 -+ u_int8_t completion_code;
1576 -+ u_int8_t connection_state;
1577 -+ u_int8_t data[0];
1578 - };
1579 -
1580 - #define NCP_VOLNAME_LEN (16)
1581 -@@ -230,8 +230,8 @@ struct nw_info_struct {
1582 - u_int32_t EAKeyCount __attribute__((packed));
1583 - u_int32_t EAKeySize __attribute__((packed));
1584 - u_int32_t NSCreator __attribute__((packed));
1585 -- u_int8_t nameLen __attribute__((packed));
1586 -- u_int8_t entryName[256] __attribute__((packed));
1587 -+ u_int8_t nameLen;
1588 -+ u_int8_t entryName[256];
1589 - };
1590 - #endif
1591 -
1592 -@@ -282,13 +282,13 @@ struct nw_file_info {
1593 - int opened;
1594 - int access;
1595 - u_int32_t server_file_handle __attribute__((packed));
1596 -- u_int8_t open_create_action __attribute__((packed));
1597 -- u_int8_t file_handle[6] __attribute__((packed));
1598 -+ u_int8_t open_create_action;
1599 -+ u_int8_t file_handle[6];
1600 - };
1601 - #endif
1602 -
1603 - struct nw_search_sequence {
1604 -- u_int8_t volNumber __attribute__((packed));
1605 -+ u_int8_t volNumber;
1606 - u_int32_t dirBase __attribute__((packed));
1607 - u_int32_t sequence __attribute__((packed));
1608 - };
1609 -diff -Naurp ncpfs-2.2.6.orig//include/ncp/ncp.h ncpfs-2.2.6//include/ncp/ncp.h
1610 ---- ncpfs-2.2.6.orig//include/ncp/ncp.h 2005-01-27 12:35:59.000000000 -0500
1611 -+++ ncpfs-2.2.6//include/ncp/ncp.h 2011-02-10 02:38:18.822076000 -0500
1612 -@@ -95,7 +95,7 @@ struct prop_net_address {
1613 - #ifdef SWIG
1614 - fixedArray node[IPX_NODE_LEN];
1615 - #else
1616 -- u_int8_t node[IPX_NODE_LEN] __attribute__((packed));
1617 -+ u_int8_t node[IPX_NODE_LEN];
1618 - #endif
1619 - u_int16_t port __attribute__((packed));
1620 - };
1621 -@@ -163,20 +163,20 @@ struct nw_queue_job_entry {
1622 - u_int32_t ClientTask __attribute__((packed));
1623 - u_int32_t ClientObjectID __attribute__((packed));
1624 - u_int32_t TargetServerID __attribute__((packed));
1625 -- u_int8_t TargetExecTime[6] __attribute__((packed));
1626 -- u_int8_t JobEntryTime[6] __attribute__((packed));
1627 -+ u_int8_t TargetExecTime[6];
1628 -+ u_int8_t JobEntryTime[6];
1629 - u_int32_t JobNumber __attribute__((packed));
1630 - u_int16_t JobType __attribute__((packed));
1631 - u_int16_t JobPosition __attribute__((packed));
1632 - u_int16_t JobControlFlags __attribute__((packed));
1633 -- u_int8_t FileNameLen __attribute__((packed));
1634 -- char JobFileName[13] __attribute__((packed));
1635 -+ u_int8_t FileNameLen;
1636 -+ char JobFileName[13];
1637 - u_int32_t JobFileHandle __attribute__((packed));
1638 - u_int32_t ServerStation __attribute__((packed));
1639 - u_int32_t ServerTaskNumber __attribute__((packed));
1640 - u_int32_t ServerObjectID __attribute__((packed));
1641 -- char JobTextDescription[50] __attribute__((packed));
1642 -- char ClientRecordArea[152] __attribute__((packed));
1643 -+ char JobTextDescription[50];
1644 -+ char ClientRecordArea[152];
1645 - };
1646 -
1647 - struct queue_job {
1648 -@@ -217,18 +217,18 @@ struct print_job_record {
1649 - };
1650 - #else
1651 - struct print_job_record {
1652 -- u_int8_t Version __attribute__((packed));
1653 -- u_int8_t TabSize __attribute__((packed));
1654 -+ u_int8_t Version;
1655 -+ u_int8_t TabSize;
1656 - u_int16_t Copies __attribute__((packed));
1657 - u_int16_t CtrlFlags __attribute__((packed));
1658 - u_int16_t Lines __attribute__((packed));
1659 - u_int16_t Rows __attribute__((packed));
1660 -- char FormName[16] __attribute__((packed));
1661 -- u_int8_t Reserved[6] __attribute__((packed));
1662 -- char BannerName[13] __attribute__((packed));
1663 -- char FnameBanner[13] __attribute__((packed));
1664 -- char FnameHeader[14] __attribute__((packed));
1665 -- char Path[80] __attribute__((packed));
1666 -+ char FormName[16];
1667 -+ u_int8_t Reserved[6];
1668 -+ char BannerName[13];
1669 -+ char FnameBanner[13];
1670 -+ char FnameHeader[14];
1671 -+ char Path[80];
1672 - };
1673 - #endif
1674 -
1675 -diff -Naurp ncpfs-2.2.6.orig//include/ncp/ncplib.h ncpfs-2.2.6//include/ncp/ncplib.h
1676 ---- ncpfs-2.2.6.orig//include/ncp/ncplib.h 2005-01-27 12:35:59.000000000 -0500
1677 -+++ ncpfs-2.2.6//include/ncp/ncplib.h 2011-02-10 02:38:18.822076000 -0500
1678 -@@ -462,24 +462,24 @@ struct ncp_file_server_info
1679 - #else
1680 - struct ncp_file_server_info
1681 - {
1682 -- u_int8_t ServerName[48] __attribute__((packed));
1683 -- u_int8_t FileServiceVersion __attribute__((packed));
1684 -- u_int8_t FileServiceSubVersion __attribute__((packed));
1685 -+ u_int8_t ServerName[48];
1686 -+ u_int8_t FileServiceVersion;
1687 -+ u_int8_t FileServiceSubVersion;
1688 - u_int16_t MaximumServiceConnections __attribute__((packed));
1689 - u_int16_t ConnectionsInUse __attribute__((packed));
1690 - u_int16_t NumberMountedVolumes __attribute__((packed));
1691 -- u_int8_t Revision __attribute__((packed));
1692 -- u_int8_t SFTLevel __attribute__((packed));
1693 -- u_int8_t TTSLevel __attribute__((packed));
1694 -+ u_int8_t Revision;
1695 -+ u_int8_t SFTLevel;
1696 -+ u_int8_t TTSLevel;
1697 - u_int16_t MaxConnectionsEverUsed __attribute__((packed));
1698 -- u_int8_t AccountVersion __attribute__((packed));
1699 -- u_int8_t VAPVersion __attribute__((packed));
1700 -- u_int8_t QueueVersion __attribute__((packed));
1701 -- u_int8_t PrintVersion __attribute__((packed));
1702 -- u_int8_t VirtualConsoleVersion __attribute__((packed));
1703 -- u_int8_t RestrictionLevel __attribute__((packed));
1704 -- u_int8_t InternetBridge __attribute__((packed));
1705 -- u_int8_t Reserved[60] __attribute__((packed));
1706 -+ u_int8_t AccountVersion;
1707 -+ u_int8_t VAPVersion;
1708 -+ u_int8_t QueueVersion;
1709 -+ u_int8_t PrintVersion;
1710 -+ u_int8_t VirtualConsoleVersion;
1711 -+ u_int8_t RestrictionLevel;
1712 -+ u_int8_t InternetBridge;
1713 -+ u_int8_t Reserved[60];
1714 - };
1715 - #endif
1716 -
1717 -@@ -592,7 +592,7 @@ struct ncp_station_addr
1718 - #ifdef SWIG
1719 - fixedArray Node[6];
1720 - #else
1721 -- u_int8_t Node[6] __attribute__((packed));
1722 -+ u_int8_t Node[6];
1723 - #endif
1724 - u_int16_t Socket __attribute__((packed));
1725 - };
1726 -@@ -602,32 +602,32 @@ struct ncp_prop_login_control
1727 - #ifdef SWIG
1728 - fixedArray AccountExpireDate[3];
1729 - #else
1730 -- u_int8_t AccountExpireDate[3] __attribute__((packed));
1731 -+ u_int8_t AccountExpireDate[3];
1732 - #endif
1733 -- u_int8_t Disabled __attribute__((packed));
1734 -+ u_int8_t Disabled;
1735 - #ifdef SWIG
1736 - fixedArray PasswordExpireDate[3];
1737 - #else
1738 -- u_int8_t PasswordExpireDate[3] __attribute__((packed));
1739 -+ u_int8_t PasswordExpireDate[3];
1740 - #endif
1741 -- u_int8_t GraceLogins __attribute__((packed));
1742 -+ u_int8_t GraceLogins;
1743 - u_int16_t PasswordExpireInterval __attribute__((packed));
1744 -- u_int8_t MaxGraceLogins __attribute__((packed));
1745 -- u_int8_t MinPasswordLength __attribute__((packed));
1746 -+ u_int8_t MaxGraceLogins;
1747 -+ u_int8_t MinPasswordLength;
1748 - u_int16_t MaxConnections __attribute__((packed));
1749 - #ifdef SWIG
1750 - fixedArray ConnectionTimeMask[42] __attribute__((packed));
1751 - fixedArray LastLogin[6] __attribute__((packed));
1752 - #else
1753 -- u_int8_t ConnectionTimeMask[42] __attribute__((packed));
1754 -- u_int8_t LastLogin[6] __attribute__((packed));
1755 -+ u_int8_t ConnectionTimeMask[42];
1756 -+ u_int8_t LastLogin[6];
1757 - #endif
1758 -- u_int8_t RestrictionMask __attribute__((packed));
1759 -- u_int8_t reserved __attribute__((packed));
1760 -+ u_int8_t RestrictionMask;
1761 -+ u_int8_t reserved;
1762 - u_int32_t MaxDiskUsage __attribute__((packed));
1763 - u_int16_t BadLoginCount __attribute__((packed));
1764 - u_int32_t BadLoginCountDown __attribute__((packed));
1765 -- struct ncp_station_addr LastIntruder __attribute__((packed));
1766 -+ struct ncp_station_addr LastIntruder;
1767 - };
1768 -
1769 - NWCCODE NWReadPropertyValue(NWCONN_HANDLE conn, const char *objName,
1770 -diff -Naurp ncpfs-2.2.6.orig//ipx-1.0/ipx_cmd.c ncpfs-2.2.6//ipx-1.0/ipx_cmd.c
1771 ---- ncpfs-2.2.6.orig//ipx-1.0/ipx_cmd.c 2005-01-27 12:35:59.000000000 -0500
1772 -+++ ncpfs-2.2.6//ipx-1.0/ipx_cmd.c 2011-02-10 02:40:19.222076002 -0500
1773 -@@ -63,8 +63,8 @@
1774 - /* we are doing EthernetII... Any objections? */
1775 - struct {
1776 - u_int16_t unknown __attribute__((packed));
1777 -- u_int8_t dst[6] __attribute__((packed));
1778 -- u_int8_t src[6] __attribute__((packed));
1779 -+ u_int8_t dst[6];
1780 -+ u_int8_t src[6];
1781 - u_int16_t type __attribute__((packed));
1782 - u_int8_t ipx[16384];
1783 - } buffer;
1784 -diff -Naurp ncpfs-2.2.6.orig//lib/ncplib.c ncpfs-2.2.6//lib/ncplib.c
1785 ---- ncpfs-2.2.6.orig//lib/ncplib.c 2011-02-10 02:38:05.000000000 -0500
1786 -+++ ncpfs-2.2.6//lib/ncplib.c 2011-02-10 02:38:18.822076000 -0500
1787 -@@ -2584,13 +2584,13 @@ ncp_request(struct ncp_conn *conn, int f
1788 -
1789 - struct nw_time_buffer
1790 - {
1791 -- u_int8_t year __attribute__((packed));
1792 -- u_int8_t month __attribute__((packed));
1793 -- u_int8_t day __attribute__((packed));
1794 -- u_int8_t hour __attribute__((packed));
1795 -- u_int8_t minute __attribute__((packed));
1796 -- u_int8_t second __attribute__((packed));
1797 -- u_int8_t wday __attribute__((packed));
1798 -+ u_int8_t year;
1799 -+ u_int8_t month;
1800 -+ u_int8_t day;
1801 -+ u_int8_t hour;
1802 -+ u_int8_t minute;
1803 -+ u_int8_t second;
1804 -+ u_int8_t wday;
1805 - };
1806 -
1807 - static time_t
1808
1809 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-servername-array-fix.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-servername-array-fix.patch
1810 deleted file mode 100644
1811 index 3e96aac5b36..00000000000
1812 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-servername-array-fix.patch
1813 +++ /dev/null
1814 @@ -1,15 +0,0 @@
1815 -diff -Naurp ncpfs-2.2.6.orig/include/ncp/ncplib.h ncpfs-2.2.6/include/ncp/ncplib.h
1816 ---- ncpfs-2.2.6.orig/include/ncp/ncplib.h 2005-01-27 12:35:59.000000000 -0500
1817 -+++ ncpfs-2.2.6/include/ncp/ncplib.h 2014-08-12 21:01:01.159192798 -0400
1818 -@@ -485,9 +485,9 @@ struct ncp_file_server_info
1819 -
1820 - struct ncp_file_server_info_2 {
1821 - #ifdef SWIG
1822 -- fixedArray ServerName[49];
1823 -+ fixedArray ServerName[50];
1824 - #else
1825 -- u_int8_t ServerName[49];
1826 -+ u_int8_t ServerName[50];
1827 - #endif
1828 - u_int8_t FileServiceVersion;
1829 - u_int8_t FileServiceSubVersion;
1830
1831 diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-zend_function_entry.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-zend_function_entry.patch
1832 deleted file mode 100644
1833 index 648cb8f7f77..00000000000
1834 --- a/net-fs/ncpfs/files/ncpfs-2.2.6-zend_function_entry.patch
1835 +++ /dev/null
1836 @@ -1,11 +0,0 @@
1837 ---- a/contrib/php/php_auth_nds.c
1838 -+++ b/contrib/php/php_auth_nds.c
1839 -@@ -1102,7 +1102,7 @@
1840 - php_info_print_table_end();
1841 - }
1842 -
1843 --function_entry auth_nds_functions[] = {
1844 -+zend_function_entry auth_nds_functions[] = {
1845 - PHP_FE(auth_bindery, NULL)
1846 - PHP_FE(auth_nds, NULL)
1847 - PHP_FE(auth_tree, NULL)
1848
1849 diff --git a/net-fs/ncpfs/metadata.xml b/net-fs/ncpfs/metadata.xml
1850 deleted file mode 100644
1851 index 494dcfa4464..00000000000
1852 --- a/net-fs/ncpfs/metadata.xml
1853 +++ /dev/null
1854 @@ -1,9 +0,0 @@
1855 -<?xml version="1.0" encoding="UTF-8"?>
1856 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1857 -<pkgmetadata>
1858 - <maintainer type="person">
1859 - <email>kumba@g.o</email>
1860 - <name>Joshua Kinard</name>
1861 - </maintainer>
1862 - <longdescription>Provides Access to Netware services using the NCP protocol (Kernel support must be activated!)</longdescription>
1863 -</pkgmetadata>
1864
1865 diff --git a/net-fs/ncpfs/ncpfs-2.2.6-r3.ebuild b/net-fs/ncpfs/ncpfs-2.2.6-r3.ebuild
1866 deleted file mode 100644
1867 index 3cababd6aa3..00000000000
1868 --- a/net-fs/ncpfs/ncpfs-2.2.6-r3.ebuild
1869 +++ /dev/null
1870 @@ -1,89 +0,0 @@
1871 -# Copyright 1999-2019 Gentoo Authors
1872 -# Distributed under the terms of the GNU General Public License v2
1873 -
1874 -EAPI=5
1875 -inherit eutils pam
1876 -
1877 -DESCRIPTION="Provides Access to Netware services using the NCP protocol"
1878 -HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/"
1879 -SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/${PN}/${P}.tar.gz"
1880 -
1881 -LICENSE="GPL-2"
1882 -SLOT="0"
1883 -KEYWORDS="amd64 ~mips ppc ppc64 x86"
1884 -IUSE="nls pam php"
1885 -
1886 -DEPEND="nls? ( sys-devel/gettext )
1887 - pam? ( sys-libs/pam )
1888 - php? ( || ( dev-lang/php virtual/httpd-php ) )"
1889 -
1890 -RDEPEND="${DEPEND}"
1891 -
1892 -src_prepare() {
1893 - # Add patch for PHP extension sandbox violation
1894 - epatch "${FILESDIR}"/${PN}-2.2.5-php.patch
1895 - epatch "${FILESDIR}"/${P}-gcc4.patch
1896 - epatch "${FILESDIR}"/${P}-missing-includes.patch
1897 -
1898 - # Add a patch to fix multiple vulnerabilities.
1899 - # CVE-2010-0788, CVE-2010-0790, & CVE-2010-0791.
1900 - # http://seclists.org/fulldisclosure/2010/Mar/122
1901 - epatch "${FILESDIR}"/${P}-multiple-vulns.patch
1902 -
1903 - # Add a patch that removes the __attribute__((packed)); directive
1904 - # from several struct members in include/ncp/ncplib.h. This will
1905 - # cut down on a large number of compile warnings generated by modern
1906 - # gcc releases.
1907 - epatch "${FILESDIR}"/${P}-remove-packed-attrib.patch
1908 -
1909 - # Misc patches borrowed from Mageia.
1910 - epatch "${FILESDIR}"/${P}-align-fix.patch
1911 - epatch "${FILESDIR}"/${P}-getuid-fix.patch
1912 - epatch "${FILESDIR}"/${P}-pam_ncp_auth-fix.patch
1913 - epatch "${FILESDIR}"/${P}-servername-array-fix.patch
1914 -
1915 - # Misc patches borrowed from Debian.
1916 - # Fixes Bug #497278
1917 - epatch "${FILESDIR}"/${P}-drop-kernel-check.patch
1918 - epatch "${FILESDIR}"/${P}-drop-mtab-support.patch
1919 - epatch "${FILESDIR}"/${P}-no-suid-root.patch
1920 - epatch "${FILESDIR}"/${P}-remove-libncp_atomic-header.patch
1921 -
1922 - # Bug #273484.
1923 - sed -i '/ldconfig/d' lib/Makefile.in
1924 -
1925 - # Support LDFLAGS.
1926 - epatch "${FILESDIR}"/${P}-ldflags-support.patch
1927 -
1928 - # Bug 446696. This might need re-diffing if additional Makefile
1929 - # fixes are added.
1930 - epatch "${FILESDIR}"/${P}-makefile-fix-soname-link.patch
1931 -
1932 - # bug 522444
1933 - epatch "${FILESDIR}"/${P}-zend_function_entry.patch
1934 -}
1935 -
1936 -src_configure() {
1937 - econf \
1938 - $(use_enable nls) \
1939 - $(use_enable pam pam "$(getpam_mod_dir)") \
1940 - $(use_enable php)
1941 -}
1942 -
1943 -src_install() {
1944 - dodir $(getpam_mod_dir) /usr/sbin /sbin
1945 -
1946 - # Bug #446696.
1947 - #ln -s "${D}"/usr/lib64/libncp.so.2.3 "${D}"/libncp.so.2.3.0
1948 -
1949 - # Install the main programs, then the headers.
1950 - emake DESTDIR="${D}" install
1951 - emake DESTDIR="${D}" install-dev
1952 -
1953 - # Install a startup script in /etc/init.d and a conf file in /etc/conf.d
1954 - newconfd "${FILESDIR}"/ipx.confd ipx
1955 - newinitd "${FILESDIR}"/ipx.init ipx
1956 -
1957 - # Docs
1958 - dodoc FAQ README
1959 -}
1960
1961 diff --git a/net-fs/ncpfs/ncpfs-2.2.6-r4.ebuild b/net-fs/ncpfs/ncpfs-2.2.6-r4.ebuild
1962 deleted file mode 100644
1963 index 04130516b2c..00000000000
1964 --- a/net-fs/ncpfs/ncpfs-2.2.6-r4.ebuild
1965 +++ /dev/null
1966 @@ -1,95 +0,0 @@
1967 -# Copyright 1999-2019 Gentoo Authors
1968 -# Distributed under the terms of the GNU General Public License v2
1969 -
1970 -EAPI=6
1971 -
1972 -inherit pam
1973 -
1974 -DESCRIPTION="Provides access to Netware services using the NCP protocol"
1975 -HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/"
1976 -SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/${PN}/${P}.tar.gz"
1977 -
1978 -LICENSE="GPL-2"
1979 -SLOT="0"
1980 -KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
1981 -IUSE="nls pam php"
1982 -
1983 -DEPEND="
1984 - nls? ( sys-devel/gettext )
1985 - pam? ( sys-libs/pam )
1986 - php? ( || ( dev-lang/php:* virtual/httpd-php:* ) )"
1987 -
1988 -RDEPEND="${DEPEND}"
1989 -
1990 -MY_PATCHES=(
1991 - # PHP extension sandbox violation.
1992 - "${FILESDIR}"/${PN}-2.2.5-php.patch
1993 - "${FILESDIR}"/${P}-gcc4.patch
1994 - "${FILESDIR}"/${P}-missing-includes.patch
1995 -
1996 - # Add a patch to fix multiple vulnerabilities.
1997 - # CVE-2010-0788, CVE-2010-0790, & CVE-2010-0791.
1998 - # http://seclists.org/fulldisclosure/2010/Mar/122
1999 - "${FILESDIR}"/${P}-multiple-vulns.patch
2000 -
2001 - # Add a patch that removes the __attribute__((packed)); directive
2002 - # from several struct members in include/ncp/ncplib.h. This will
2003 - # cut down on a large number of compile warnings generated by modern
2004 - # gcc releases.
2005 - "${FILESDIR}"/${P}-remove-packed-attrib.patch
2006 -
2007 - # Misc patches borrowed from Mageia.
2008 - "${FILESDIR}"/${P}-align-fix.patch
2009 - "${FILESDIR}"/${P}-getuid-fix.patch
2010 - "${FILESDIR}"/${P}-pam_ncp_auth-fix.patch
2011 - "${FILESDIR}"/${P}-servername-array-fix.patch
2012 -
2013 - # Misc patches borrowed from Debian.
2014 - # Fixes Bug #497278
2015 - "${FILESDIR}"/${P}-drop-kernel-check.patch
2016 - "${FILESDIR}"/${P}-drop-mtab-support.patch
2017 - "${FILESDIR}"/${P}-no-suid-root.patch
2018 - "${FILESDIR}"/${P}-remove-libncp_atomic-header.patch
2019 -
2020 - # Support LDFLAGS.
2021 - "${FILESDIR}"/${P}-ldflags-support.patch
2022 -
2023 - # Bug 446696. This might need re-diffing if additional Makefile
2024 - # fixes are added.
2025 - "${FILESDIR}"/${P}-makefile-fix-soname-link.patch
2026 -
2027 - # bug 522444
2028 - "${FILESDIR}"/${P}-zend_function_entry.patch
2029 -)
2030 -
2031 -DOCS=( FAQ README )
2032 -
2033 -src_prepare() {
2034 - default
2035 -
2036 - # Bug #273484.
2037 - sed -i '/ldconfig/d' lib/Makefile.in || die
2038 -
2039 - epatch "${MY_PATCHES[@]}"
2040 -}
2041 -
2042 -src_configure() {
2043 - econf \
2044 - $(use_enable nls) \
2045 - $(use_enable pam pam "$(getpam_mod_dir)") \
2046 - $(use_enable php)
2047 -}
2048 -
2049 -src_install() {
2050 - dodir $(getpam_mod_dir) /usr/sbin /sbin
2051 -
2052 - # Install main software and headers.
2053 - emake DESTDIR="${D}" install
2054 - emake DESTDIR="${D}" install-dev
2055 -
2056 - # Install a startup script in /etc/init.d and a conf file in /etc/conf.d
2057 - newconfd "${FILESDIR}"/ipx.confd ipx
2058 - newinitd "${FILESDIR}"/ipx.init ipx
2059 -
2060 - einstalldocs
2061 -}
2062
2063 diff --git a/net-fs/ncpfs/ncpfs-2.2.6-r5.ebuild b/net-fs/ncpfs/ncpfs-2.2.6-r5.ebuild
2064 deleted file mode 100644
2065 index 7e4c742a0e1..00000000000
2066 --- a/net-fs/ncpfs/ncpfs-2.2.6-r5.ebuild
2067 +++ /dev/null
2068 @@ -1,89 +0,0 @@
2069 -# Copyright 1999-2019 Gentoo Authors
2070 -# Distributed under the terms of the GNU General Public License v2
2071 -
2072 -EAPI=6
2073 -
2074 -inherit pam
2075 -
2076 -DESCRIPTION="Provides access to Netware services using the NCP protocol"
2077 -HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/"
2078 -SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/${PN}/${P}.tar.gz"
2079 -
2080 -LICENSE="GPL-2"
2081 -SLOT="0"
2082 -KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
2083 -IUSE="nls pam"
2084 -
2085 -DEPEND="
2086 - nls? ( sys-devel/gettext )
2087 - pam? ( sys-libs/pam )"
2088 -
2089 -RDEPEND="${DEPEND}"
2090 -
2091 -PATCHES=(
2092 - # Build fixes.
2093 - "${FILESDIR}"/${P}-gcc4.patch
2094 - "${FILESDIR}"/${P}-missing-includes.patch
2095 -
2096 - # Add a patch to fix multiple vulnerabilities.
2097 - # CVE-2010-0788, CVE-2010-0790, & CVE-2010-0791.
2098 - # http://seclists.org/fulldisclosure/2010/Mar/122
2099 - "${FILESDIR}"/${P}-multiple-vulns.patch
2100 -
2101 - # Add a patch that removes the __attribute__((packed)); directive
2102 - # from several struct members in include/ncp/ncplib.h. This will
2103 - # cut down on a large number of compile warnings generated by modern
2104 - # gcc releases.
2105 - "${FILESDIR}"/${P}-remove-packed-attrib.patch
2106 -
2107 - # Misc patches borrowed from Mageia.
2108 - "${FILESDIR}"/${P}-align-fix.patch
2109 - "${FILESDIR}"/${P}-getuid-fix.patch
2110 - "${FILESDIR}"/${P}-pam_ncp_auth-fix.patch
2111 - "${FILESDIR}"/${P}-servername-array-fix.patch
2112 -
2113 - # Misc patches borrowed from Debian.
2114 - # Fixes Bug #497278
2115 - "${FILESDIR}"/${P}-drop-kernel-check.patch
2116 - "${FILESDIR}"/${P}-drop-mtab-support.patch
2117 - "${FILESDIR}"/${P}-no-suid-root.patch
2118 - "${FILESDIR}"/${P}-remove-libncp_atomic-header.patch
2119 -
2120 - # Support LDFLAGS.
2121 - "${FILESDIR}"/${P}-ldflags-support.patch
2122 -
2123 - # Bug 446696. This might need re-diffing if additional Makefile
2124 - # fixes are added.
2125 - "${FILESDIR}"/${P}-makefile-fix-soname-link.patch
2126 -)
2127 -
2128 -DOCS=( FAQ README )
2129 -
2130 -src_prepare() {
2131 - # Bug #273484.
2132 - sed -i '/ldconfig/d' lib/Makefile.in || die
2133 -
2134 - default
2135 -}
2136 -
2137 -src_configure() {
2138 - # PHP integration no longer supported in Gentoo, per Bug #582516.
2139 - econf \
2140 - $(use_enable nls) \
2141 - $(use_enable pam pam "$(getpam_mod_dir)") \
2142 - --disable-php
2143 -}
2144 -
2145 -src_install() {
2146 - dodir $(getpam_mod_dir) /usr/sbin /sbin
2147 -
2148 - # Install main software and headers.
2149 - emake DESTDIR="${D}" install
2150 - emake DESTDIR="${D}" install-dev
2151 -
2152 - # Install a startup script in /etc/init.d and a conf file in /etc/conf.d
2153 - newconfd "${FILESDIR}"/ipx.confd ipx
2154 - newinitd "${FILESDIR}"/ipx.init ipx
2155 -
2156 - einstalldocs
2157 -}
2158
2159 diff --git a/net-misc/ipx-utils/Manifest b/net-misc/ipx-utils/Manifest
2160 deleted file mode 100644
2161 index dae3a3e5fba..00000000000
2162 --- a/net-misc/ipx-utils/Manifest
2163 +++ /dev/null
2164 @@ -1 +0,0 @@
2165 -DIST ipx-1.1.tar.gz 8177 BLAKE2B 83eb4f480709b82cac5c83e86db614c99cbc992e9c36421c3c409a4af8d21f45672d2f82cc32b7a6ac304c89632e32ae68fdf97f374eed02f8886543f2c981a0 SHA512 cb1bcf0c28939ab5ff1e1cf36f1cb8cbfcb7c019d65df5fc56a1b43673406cdf4abffa3d6164615e42ce955f078c05f721da90ca54353870e552c01bb3c2973d
2166
2167 diff --git a/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch b/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch
2168 deleted file mode 100644
2169 index 3fc928f00e2..00000000000
2170 --- a/net-misc/ipx-utils/files/ipx-utils-1.1-gcc-warnings.patch
2171 +++ /dev/null
2172 @@ -1,51 +0,0 @@
2173 -Binary files ipx-1.1.orig/ipx_configure and ipx-1.1/ipx_configure differ
2174 -diff -ur ipx-1.1.orig/ipx_configure.c ipx-1.1/ipx_configure.c
2175 ---- ipx-1.1.orig/ipx_configure.c 2016-05-04 21:08:46.606264315 +0000
2176 -+++ ipx-1.1/ipx_configure.c 2016-05-04 21:21:46.139346843 +0000
2177 -@@ -7,6 +7,7 @@
2178 - #include <unistd.h>
2179 - #include <ctype.h>
2180 - #include <getopt.h>
2181 -+#include <stdlib.h>
2182 - #include <strings.h>
2183 - #include <netipx/ipx.h>
2184 - #include <sys/types.h>
2185 -Binary files ipx-1.1.orig/ipx_interface and ipx-1.1/ipx_interface differ
2186 -diff -ur ipx-1.1.orig/ipx_interface.c ipx-1.1/ipx_interface.c
2187 ---- ipx-1.1.orig/ipx_interface.c 2016-05-04 21:08:46.606264315 +0000
2188 -+++ ipx-1.1/ipx_interface.c 2016-05-04 21:20:27.414995860 +0000
2189 -@@ -8,7 +8,7 @@
2190 - #include <errno.h>
2191 - #include <unistd.h>
2192 - #include <stdlib.h>
2193 --#include <strings.h>
2194 -+#include <string.h>
2195 - #include <netinet/in.h>
2196 - #include <netipx/ipx.h>
2197 - #include <linux/if.h>
2198 -Binary files ipx-1.1.orig/ipx_internal_net and ipx-1.1/ipx_internal_net differ
2199 -diff -ur ipx-1.1.orig/ipx_internal_net.c ipx-1.1/ipx_internal_net.c
2200 ---- ipx-1.1.orig/ipx_internal_net.c 2016-05-04 21:08:46.606264315 +0000
2201 -+++ ipx-1.1/ipx_internal_net.c 2016-05-04 21:20:14.814299490 +0000
2202 -@@ -7,7 +7,7 @@
2203 - #include <stdlib.h>
2204 - #include <ctype.h>
2205 - #include <errno.h>
2206 --#include <strings.h>
2207 -+#include <string.h>
2208 - #include <netinet/in.h>
2209 - #include <netipx/ipx.h>
2210 - #include <linux/if.h>
2211 -Binary files ipx-1.1.orig/ipx_route and ipx-1.1/ipx_route differ
2212 -diff -ur ipx-1.1.orig/ipx_route.c ipx-1.1/ipx_route.c
2213 ---- ipx-1.1.orig/ipx_route.c 2016-05-04 21:08:46.606264315 +0000
2214 -+++ ipx-1.1/ipx_route.c 2016-05-04 21:20:17.954473064 +0000
2215 -@@ -8,7 +8,7 @@
2216 - #include <stdlib.h>
2217 - #include <ctype.h>
2218 - #include <errno.h>
2219 --#include <strings.h>
2220 -+#include <string.h>
2221 - #include <netinet/in.h>
2222 - #include <netipx/ipx.h>
2223 - #include <sys/types.h>
2224
2225 diff --git a/net-misc/ipx-utils/files/ipx-utils-1.1-makefile.patch b/net-misc/ipx-utils/files/ipx-utils-1.1-makefile.patch
2226 deleted file mode 100644
2227 index 5a596f818d1..00000000000
2228 --- a/net-misc/ipx-utils/files/ipx-utils-1.1-makefile.patch
2229 +++ /dev/null
2230 @@ -1,24 +0,0 @@
2231 ---- ipx-1.1.orig/Makefile
2232 -+++ ipx-1.1/Makefile
2233 -@@ -10,17 +10,8 @@ clean:
2234 - install: $(UTILS)
2235 - for i in $(UTILS); \
2236 - do \
2237 -- install --strip $$i /sbin; \
2238 -- install $$i.8 /usr/man/man8; \
2239 -+ install $$i ${DESTDIR}/sbin; \
2240 -+ install $$i.8 ${DESTDIR}/usr/share/man/man8; \
2241 - done
2242 -- install init.ipx /etc/rc.d/init.d/ipx
2243 -- install -m 0644 config.ipx /etc/sysconfig/ipx
2244 -- rm -f /etc/rc.d/rc2.d/S15ipx
2245 -- ln -sf /etc/rc.d/init.d/ipx /etc/rc.d/rc2.d/S15ipx
2246 -- rm -f /etc/rc.d/rc3.d/S15ipx
2247 -- ln -sf /etc/rc.d/init.d/ipx /etc/rc.d/rc3.d/S15ipx
2248 -- rm -f /etc/rc.d/rc5.d/S15ipx
2249 -- ln -sf /etc/rc.d/init.d/ipx /etc/rc.d/rc5.d/S15ipx
2250 -- rm -f /etc/rc.d/rc6.d/K55ipx
2251 -- ln -sf /etc/rc.d/init.d/ipx /etc/rc.d/rc6.d/K55ipx
2252 --
2253 -+# install init.ipx /etc/rc.d/init.d/ipx
2254 -+# install -m 0644 config.ipx /etc/sysconfig/ipx
2255
2256 diff --git a/net-misc/ipx-utils/files/ipx-utils-1.1-proc.patch b/net-misc/ipx-utils/files/ipx-utils-1.1-proc.patch
2257 deleted file mode 100644
2258 index d82d228ff13..00000000000
2259 --- a/net-misc/ipx-utils/files/ipx-utils-1.1-proc.patch
2260 +++ /dev/null
2261 @@ -1,13 +0,0 @@
2262 ---- ipx-1.1/ipx_interface.c.orig 2004-10-16 13:14:40.677964152 -0400
2263 -+++ ipx-1.1/ipx_interface.c 2004-10-16 13:15:18.464219768 -0400
2264 -@@ -191,7 +191,9 @@
2265 - exit(-1);
2266 - }
2267 -
2268 -- fp = fopen("/proc/net/ipx_interface", "r");
2269 -+ fp = fopen("/proc/net/ipx/interface", "r");
2270 -+ if (fp == NULL)
2271 -+ fp = fopen("/proc/net/ipx_interface", "r");
2272 - if (fp == NULL) {
2273 - fprintf(stderr,
2274 - "%s: Unable to open \"/proc/net/ipx_interface.\"\n",
2275
2276 diff --git a/net-misc/ipx-utils/files/ipx.confd b/net-misc/ipx-utils/files/ipx.confd
2277 deleted file mode 100644
2278 index da14fd6e660..00000000000
2279 --- a/net-misc/ipx-utils/files/ipx.confd
2280 +++ /dev/null
2281 @@ -1,26 +0,0 @@
2282 -# Copyright 1999-2004 Gentoo Foundation
2283 -# Distributed under the terms of the GNU General Public License v2
2284 -
2285 -# Config file for /etc/init.d/ipx
2286 -
2287 -# Automatically selecting a primary interface.
2288 -IPX_AUTO_PRIMARY=on
2289 -
2290 -# Automatically creating interfaces.
2291 -IPX_AUTO_INTERFACE=on
2292 -
2293 -# Interface to which IPX sockets are bound.
2294 -IPX_DEVICE=eth0
2295 -
2296 -# The IPX frame type to use
2297 -IPX_FRAME=802.2
2298 -
2299 -# Create a special kind of IPX interface that does not
2300 -# have a physical device or frame type.
2301 -IPX_INTERNAL_NET=no
2302 -
2303 -# Network number
2304 -IPX_NETNUM=1
2305 -
2306 -# Node number
2307 -IPX_NODENUM=1
2308
2309 diff --git a/net-misc/ipx-utils/files/ipx.init b/net-misc/ipx-utils/files/ipx.init
2310 deleted file mode 100644
2311 index 891505926b6..00000000000
2312 --- a/net-misc/ipx-utils/files/ipx.init
2313 +++ /dev/null
2314 @@ -1,42 +0,0 @@
2315 -#!/sbin/openrc-run
2316 -# Copyright 1999-2016 Gentoo Foundation
2317 -# Distributed under the terms of the GNU General Public License v2
2318 -
2319 -#NB: Config is in /etc/conf.d/ipx
2320 -
2321 -depend() {
2322 - use net
2323 -}
2324 -
2325 -start() {
2326 - local retval=0
2327 -
2328 - ebegin "Bringing IPX up"
2329 - if [ ${IPX_INTERNAL_NET} = "yes" ]
2330 - then
2331 - /sbin/ipx_internal_net add ${IPX_NETNUM} ${IPX_NODENUM}
2332 - retval=$?
2333 - else
2334 - /sbin/ipx_interface add -p ${IPX_DEVICE} \
2335 - ${IPX_FRAME} ${IPX_NETNUM}
2336 - retval=$?
2337 - fi
2338 -
2339 - ipx_configure \
2340 - --auto_primary=${IPX_AUTO_PRIMARY} \
2341 - --auto_interface=${IPX_AUTO_INTERFACE}
2342 - retval=$(( $retval + $? ))
2343 - eend ${retval} "Failed to bring IPX up"
2344 -}
2345 -
2346 -stop() {
2347 - local retval=0
2348 -
2349 - ebegin "Bringing IPX down"
2350 - /bin/umount -v -a -tncpfs
2351 - /sbin/ipx_configure --auto_primary=off --auto_interface=off
2352 - retval=$?
2353 - /sbin/ipx_interface delall
2354 - retval=$(( $retval + $? ))
2355 - eend ${retval} "Failed to down IPX"
2356 -}
2357
2358 diff --git a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild b/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
2359 deleted file mode 100644
2360 index ce29d24d766..00000000000
2361 --- a/net-misc/ipx-utils/ipx-utils-1.1-r4.ebuild
2362 +++ /dev/null
2363 @@ -1,36 +0,0 @@
2364 -# Copyright 1999-2016 Gentoo Foundation
2365 -# Distributed under the terms of the GNU General Public License v2
2366 -
2367 -EAPI="6"
2368 -inherit eutils
2369 -
2370 -DESCRIPTION="The IPX Utilities"
2371 -HOMEPAGE="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/"
2372 -SRC_URI="ftp://sunsite.unc.edu/pub/Linux/system/filesystems/ncpfs/${P/-utils}.tar.gz"
2373 -
2374 -LICENSE="ipx-utils GPL-2" # GPL-2 only for init script
2375 -SLOT="0"
2376 -KEYWORDS="amd64 ppc64 x86"
2377 -IUSE=""
2378 -
2379 -RDEPEND="!!net-fs/ncpfs" # conflicts on manpages
2380 -
2381 -S=${WORKDIR}/${P/-utils}
2382 -
2383 -src_prepare() {
2384 - sed -i "s:-O2 -Wall:${CFLAGS}:" "${S}"/Makefile
2385 - eapply "${FILESDIR}"/${P}-makefile.patch
2386 - eapply "${FILESDIR}"/${P}-proc.patch #67642
2387 - eapply "${FILESDIR}"/${P}-gcc-warnings.patch
2388 -
2389 - default
2390 -}
2391 -
2392 -src_install() {
2393 - doman *.8
2394 - newconfd "${FILESDIR}"/ipx.confd ipx
2395 - newinitd "${FILESDIR}"/ipx.init ipx
2396 -
2397 - into /sbin
2398 - default
2399 -}
2400
2401 diff --git a/net-misc/ipx-utils/metadata.xml b/net-misc/ipx-utils/metadata.xml
2402 deleted file mode 100644
2403 index 6f49eba8f49..00000000000
2404 --- a/net-misc/ipx-utils/metadata.xml
2405 +++ /dev/null
2406 @@ -1,5 +0,0 @@
2407 -<?xml version="1.0" encoding="UTF-8"?>
2408 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
2409 -<pkgmetadata>
2410 -<!-- maintainer-needed -->
2411 -</pkgmetadata>
2412
2413 diff --git a/profiles/package.mask b/profiles/package.mask
2414 index f6fe7da0e22..641f686a753 100644
2415 --- a/profiles/package.mask
2416 +++ b/profiles/package.mask
2417 @@ -416,16 +416,6 @@ games-util/pogo-manager-bin
2418 net-p2p/bisq
2419 sci-mathematics/geogebra
2420
2421 -# Joshua Kinard <kumba@g.o> (2020-03-28)
2422 -# In Linux ~4.18, IPX (Internetwork Packet eXchange) protocol and
2423 -# NCPFS (NetWare Core Protocol Filesystem) support was removed due
2424 -# to lack of maintenance. Due to both being dead from a technology
2425 -# standpoint and lack of any upstream activity, mask the below
2426 -# packages and remove in 75 days.
2427 -# Bug #681820
2428 -net-fs/ncpfs
2429 -net-misc/ipx-utils
2430 -
2431 # Georgy Yakovlev <gyakovlev@g.o> (2020-03-27)
2432 # Vulnerable old version of icedtea-web #711392
2433 # new version is not packaged yet