mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add memdump 1.0, forensic utility for memory-dumping.
PR: ports/68413 Submitted by: Yonatan <Yonatan@xpert.com>
This commit is contained in:
parent
03f8a50048
commit
409cbf8587
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114277
5 changed files with 56 additions and 0 deletions
|
@ -225,6 +225,7 @@
|
||||||
SUBDIR += makefs
|
SUBDIR += makefs
|
||||||
SUBDIR += manck
|
SUBDIR += manck
|
||||||
SUBDIR += mcron
|
SUBDIR += mcron
|
||||||
|
SUBDIR += memdump
|
||||||
SUBDIR += memgrep
|
SUBDIR += memgrep
|
||||||
SUBDIR += memtest
|
SUBDIR += memtest
|
||||||
SUBDIR += memtest86
|
SUBDIR += memtest86
|
||||||
|
|
37
sysutils/memdump/Makefile
Normal file
37
sysutils/memdump/Makefile
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Ports collection makefile for: memdump
|
||||||
|
# Date created: 16 June 2004
|
||||||
|
# Whom: Yonatan <Yonatan@xpert.com>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= memdump
|
||||||
|
PORTVERSION= 1.0
|
||||||
|
CATEGORIES= sysutils
|
||||||
|
MASTER_SITES= http://www.porcupine.org/forensics/
|
||||||
|
|
||||||
|
MAINTAINER= yonatan@xpert.com
|
||||||
|
COMMENT= Forensic utility for memory-dumping
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ( ${OSVERSION} >= 500000 )
|
||||||
|
IGNORE= Only supports FreeBSD up to 4.x (yet?)
|
||||||
|
.endif
|
||||||
|
|
||||||
|
ALL_TARGET= what
|
||||||
|
|
||||||
|
PLIST_FILES= bin/memdump
|
||||||
|
PORTDOCS= README LICENSE
|
||||||
|
MAN1= memdump.1
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/memdump ${PREFIX}/bin
|
||||||
|
${INSTALL_MAN} ${WRKSRC}/memdump.1 ${MANPREFIX}/man/man1
|
||||||
|
. if !defined(NOPORTDOCS)
|
||||||
|
${MKDIR} ${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
|
||||||
|
. endif
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
2
sysutils/memdump/distinfo
Normal file
2
sysutils/memdump/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MD5 (memdump-1.0.tar.gz) = 90c331de23ea6146a978a6e5ed6d9c34
|
||||||
|
SIZE (memdump-1.0.tar.gz) = 12669
|
11
sysutils/memdump/files/patch-Makefile
Normal file
11
sysutils/memdump/files/patch-Makefile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- Makefile.orig Wed Jun 16 23:37:28 2004
|
||||||
|
+++ Makefile Wed Jun 16 23:37:47 2004
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
OPT = -O
|
||||||
|
DEBUG = -g
|
||||||
|
PROGS = memdump
|
||||||
|
-CFLAGS = $(OPT) $(DEBUG) -I. $(XFLAGS) $(DEFS)
|
||||||
|
+CFLAGS += $(OPT) $(DEBUG) -I. $(XFLAGS) $(DEFS)
|
||||||
|
OBJS = memdump.o convert_size.o error.o mymalloc.o
|
||||||
|
PROGS = memdump
|
||||||
|
MAN = memdump.1
|
5
sysutils/memdump/pkg-descr
Normal file
5
sysutils/memdump/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
This program dumps system memory to the standard output stream,
|
||||||
|
skipping over holes in memory maps.
|
||||||
|
By default, the program dumps the contents of physical memory.
|
||||||
|
|
||||||
|
WWW: http://www.porcupine.org/forensics/
|
Loading…
Add table
Reference in a new issue