1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Add memdump 1.0, forensic utility for memory-dumping.

PR:		ports/68413
Submitted by:	Yonatan <Yonatan@xpert.com>
This commit is contained in:
Volker Stolz 2004-07-20 07:24:05 +00:00
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

View File

@ -225,6 +225,7 @@
SUBDIR += makefs
SUBDIR += manck
SUBDIR += mcron
SUBDIR += memdump
SUBDIR += memgrep
SUBDIR += memtest
SUBDIR += memtest86

37
sysutils/memdump/Makefile Normal file
View 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>

View File

@ -0,0 +1,2 @@
MD5 (memdump-1.0.tar.gz) = 90c331de23ea6146a978a6e5ed6d9c34
SIZE (memdump-1.0.tar.gz) = 12669

View 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

View 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/