1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Remove devel/linux_kdump. It has been broken for a while now and is

obsolete.  The base system kdump(1) can be used instead.
This commit is contained in:
Tijl Coosemans 2017-02-26 21:15:24 +00:00
parent 0d48a154e0
commit e9eb43d8de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434910
7 changed files with 1 additions and 88 deletions

1
MOVED
View File

@ -9087,3 +9087,4 @@ sysutils/metricbeat|sysutils/beats|2017-02-21|merged beats to one port
sysutils/packetbeat|sysutils/beats|2017-02-21|merged beats to one port
devel/libc++||2017-02-24|Obsolete, all supported FreeBSD versions have libc++ in the base system
devel/libcxxrt||2017-02-24|Obsolete, all supported FreeBSD versions have libcxxrt in the base system
devel/linux_kdump||2017-02-26|Broken and obsolete

View File

@ -1513,7 +1513,6 @@
SUBDIR += linux-c7-sdl12
SUBDIR += linux-c7-sdl20
SUBDIR += linux-kernel
SUBDIR += linux_kdump
SUBDIR += linux_libusb
SUBDIR += lion
SUBDIR += listserialc

View File

@ -1,36 +0,0 @@
# Created by: msmith@FreeBSD.org
# $FreeBSD$
PORTNAME= linux_kdump
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= devel linux
MASTER_SITES= LOCAL/marcel
MAINTAINER= emulation@FreeBSD.org
COMMENT= Linux-compatibility ktrace.out processor
BUILD_DEPENDS= ${RUN_DEPENDS} # USE_LINUX only sets RUN_DEPENDS
BROKEN= does not build, try base system kdump(1) instead
USES= linux uidfix
USE_LINUX= devtools
ONLY_FOR_ARCHS= i386 amd64
PLIST_FILES= bin/linux_kdump man/man1/linux_kdump.1.gz
.include <bsd.port.pre.mk>
pre-everything::
@${ECHO_MSG} '===> Using the FreeBSD source tree under ${SRC_BASE}'
@${ECHO_MSG} '===> Set SRC_BASE to use an alternate source tree'
.if !exists(${SRC_BASE}/sys/i386/linux/syscalls.master)
IGNORE= requires kernel source present in ${SRC_BASE}/sys
.endif
.if !exists(${SRC_BASE}/usr.bin/ktrace/subr.c)
IGNORE= requires ktrace source present in ${SRC_BASE}/usr.bin/ktrace
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (linux_kdump-1.5.tar.gz) = b93d95f5cf292648c437bf979697c17027c283f49eda3db462633ad4085a6845
SIZE (linux_kdump-1.5.tar.gz) = 6166

View File

@ -1,35 +0,0 @@
--- Makefile.orig 2004-02-14 07:05:13 UTC
+++ Makefile
@@ -2,14 +2,18 @@
PROG= linux_kdump
SRCS= kdump.c linux_ioctl.c subr.c syscallnames.c
+.if exists(${SRCDIR}/usr.bin/kdump/kdump_subr.h)
+SRCS+= kdump_subr.c
+CLEANFILES+=kdump_subr.c
+.endif
CLEANFILES+=linux_ioctl.c syscallnames.c
-BINDIR= /bin
-DESTDIR=${PREFIX}
-MANDIR= /man/man
+BINDIR= ${PREFIX}/bin
+MANDIR= ${PREFIX}/man/man
SRCDIR?=/usr/src
+LINUXBASE?=/compat/linux
-CFLAGS+=-I${SRCDIR}/usr.bin/ktrace -I${SRCDIR}
+CFLAGS+=-I${SRCDIR}/usr.bin/ktrace -I${SRCDIR}/usr.bin/kdump -I${SRCDIR}
.PATH: ${SRCDIR}/usr.bin/ktrace
default: depend all
@@ -23,4 +27,9 @@
linux_ioctl.c: mkioctls.linux
/bin/sh ${.CURDIR}/mkioctls.linux
+.if exists(${SRCDIR}/usr.bin/kdump/kdump_subr.h)
+kdump_subr.c: ${SRCDIR}/usr.bin/kdump/mksubr
+ /bin/sh ${SRCDIR}/usr.bin/kdump/mksubr ${LINUXBASE}/usr/include > ${.TARGET}
+.endif
+
.include <bsd.prog.mk>

View File

@ -1,11 +0,0 @@
--- ./mkioctls.linux.orig 2004-02-14 09:05:13.000000000 +0200
+++ ./mkioctls.linux 2014-03-28 08:42:34.000000000 +0200
@@ -4,7 +4,7 @@
TMP2FILE=/tmp/$$b.c
OUTFILE=linux_ioctl.c
-CPP="/compat/linux/usr/bin/gcc -E"
+CPP="/compat/linux/usr/bin/gcc -E -D__builtin_va_list=int"
(echo "#include <sys/ioctl.h>"
echo "#include <sys/soundcard.h>"

View File

@ -1,3 +0,0 @@
The FreeBSD native linux_kdump utility produces human-readable output
from ktrace.out files generated by the FreeBSD utility ktrace(1) when
used on a Linux binary.