diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/mdb/Makefile | 36 | ||||
-rw-r--r-- | devel/mdb/distinfo | 3 | ||||
-rw-r--r-- | devel/mdb/pkg-descr | 6 | ||||
-rw-r--r-- | devel/mdb/pkg-plist | 4 |
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index fc7ce1859dfd..79e398ca4348 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1637,6 +1637,7 @@ SUBDIR += maven31 SUBDIR += maven33 SUBDIR += mcpp + SUBDIR += mdb SUBDIR += mdds SUBDIR += memleax SUBDIR += menhir diff --git a/devel/mdb/Makefile b/devel/mdb/Makefile new file mode 100644 index 000000000000..9776a464e43a --- /dev/null +++ b/devel/mdb/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= mdb +PORTVERSION= 0.1 +CATEGORIES= devel + +MAINTAINER= jhb@FreeBSD.org +COMMENT= Solaris Modular Debugger + +LICENSE= CDDL + +USES= uidfix + +USE_GITHUB= yes +GH_ACCOUNT= bsdjhb +GH_PROJECT= illumos-gate +GH_TAGNAME= b8a73a7590 + +ONLY_FOR_ARCHS= amd64 + +MAKE_ARGS= WITH_CTF=yes +MAKE_ARGS+= BINDIR=${PREFIX}/bin +MAKE_ARGS+= LIBDIR=${PREFIX}/lib +WRKSRC_SUBDIR= freebsd/cddl/usr.bin/mdb +CFLAGS+= -DMDB_PREFIX=\\\"${PREFIX}\\\" -g + +.include <bsd.port.pre.mk> + +.if !exists(${SRC_BASE}/cddl/compat) || !exists(${SRC_BASE}/sys/cddl/compat) +IGNORE= requires full source tree with CDDL sources +.endif + +pre-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/mdb/kvm/${MACHINE_ARCH} + +.include <bsd.port.post.mk> diff --git a/devel/mdb/distinfo b/devel/mdb/distinfo new file mode 100644 index 000000000000..68981bbeb3e2 --- /dev/null +++ b/devel/mdb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1500586203 +SHA256 (bsdjhb-illumos-gate-0.1-b8a73a7590_GH0.tar.gz) = 6fe907ac8c107400ccf68ed4dc240b35361e14e18ddac571e554c261d46f758c +SIZE (bsdjhb-illumos-gate-0.1-b8a73a7590_GH0.tar.gz) = 115104723 diff --git a/devel/mdb/pkg-descr b/devel/mdb/pkg-descr new file mode 100644 index 000000000000..13f1a2cba470 --- /dev/null +++ b/devel/mdb/pkg-descr @@ -0,0 +1,6 @@ +This is a port of the Solaris Modular Debugger to FreeBSD. Currently it +only supports debugging of FreeBSD/amd64 kernels via kernel crashes +(vmcores) or live systems via /dev/mem. It does not include a port of the +in-kernel kmdb debugger. + +WWW: https://docs.oracle.com/cd/E19683-01/806-6545/index.html diff --git a/devel/mdb/pkg-plist b/devel/mdb/pkg-plist new file mode 100644 index 000000000000..0d651810ffb4 --- /dev/null +++ b/devel/mdb/pkg-plist @@ -0,0 +1,4 @@ +bin/mdb +lib/mdb/kvm/amd64/kernel.so +lib/mdb/kvm/amd64/kld.so +lib/mdb/kvm/amd64/mdb_ks.so |