sys-freebsd/freebsd-sbin: remove unused patches and file
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Wed, 13 Jun 2018 17:49:24 +0000 (19:49 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 13 Jun 2018 18:51:32 +0000 (20:51 +0200)
sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch [deleted file]
sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch [deleted file]
sys-freebsd/freebsd-sbin/files/idmapd.initd [deleted file]

diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch
deleted file mode 100644 (file)
index 22fb2ec..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur sbin/savecore/savecore.c sbin-zlib/savecore/savecore.c
---- sbin/savecore/savecore.c   2005-02-26 01:21:50 +0000
-+++ sbin-zlib/savecore/savecore.c      2005-05-06 12:00:06 +0000
-@@ -95,7 +95,7 @@
- static int checkfor, compress, clear, force, keep, verbose;   /* flags */
- static int nfound, nsaved, nerr;                      /* statistics */
--extern FILE *zopen(const char *, const char *);
-+extern FILE *gzopen(const char *, const char *);
- static void
- printheader(FILE *f, const struct kerneldumpheader *h, const char *device,
-@@ -553,7 +553,7 @@
-       if (compress) {
-               sprintf(filename, "%s.%d.gz", istextdump ? "textdump.tar" :
-                   "vmcore", bounds);
--              fp = zopen(filename, "w");
-+              fp = gzopen(filename, "w");
-       } else {
-               sprintf(filename, "%s.%d", istextdump ? "textdump.tar" :
-                   "vmcore", bounds);
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch
deleted file mode 100644 (file)
index bdda99b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -uNr sbin/ifconfig.old/regdomain.c sbin/ifconfig/regdomain.c
---- sbin/ifconfig.old/regdomain.c      2010-12-21 17:09:25.000000000 +0000
-+++ sbin/ifconfig/regdomain.c  2011-07-10 15:56:27.000000000 +0000
-@@ -39,7 +39,7 @@
- #include <err.h>
- #include <unistd.h>
--#include <bsdxml.h>
-+#include <expat.h>
- #include "regdomain.h"
-Los ficheros binarios sbin/ifconfig.old/regdomain.o y sbin/ifconfig/regdomain.o son distintos
diff --git a/sys-freebsd/freebsd-sbin/files/idmapd.initd b/sys-freebsd/freebsd-sbin/files/idmapd.initd
deleted file mode 100644 (file)
index 60a0bb8..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-       need rpcbind
-}
-
-start() {
-       ebegin "Starting NFS idmapd"
-       start-stop-daemon --start --quiet --exec \
-               /sbin/idmapd -- $idmapdopts
-       eend $? "Error starting NFS idmapd"
-}
-
-stop() {
-       ebegin "Stopping NFS idmapd"
-       start-stop-daemon --stop --quiet --exec /sbin/idmapd
-       eend $? "Error stopping NFS idmapd"
-}