Date: Tue, 21 Jan 2014 06:21:35 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340555 - in head/sysutils/memfetch: . files Message-ID: <201401210621.s0L6LZbc011194@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Tue Jan 21 06:21:35 2014 New Revision: 340555 URL: http://svnweb.freebsd.org/changeset/ports/340555 QAT: https://qat.redports.org/buildarchive/r340555/ Log: - Improve COMMENT text, add LICENSE - Convert one patch file to MAKE_ARGS - Stagify, dismiss NOPORTDOCS check - Cleanup pkg-descr and pkg-message Deleted: head/sysutils/memfetch/files/patch-Makefile Modified: head/sysutils/memfetch/Makefile head/sysutils/memfetch/pkg-descr head/sysutils/memfetch/pkg-message Modified: head/sysutils/memfetch/Makefile ============================================================================== --- head/sysutils/memfetch/Makefile Tue Jan 21 06:21:14 2014 (r340554) +++ head/sysutils/memfetch/Makefile Tue Jan 21 06:21:35 2014 (r340555) @@ -9,24 +9,20 @@ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tgz MAINTAINER= onatan@gmail.com -COMMENT= Utility to dump process memory +COMMENT= Utility to dump memory of a running process + +LICENSE= GPLv2 -WRKSRC= ${WRKDIR}/${PORTNAME} USES= perl5 USE_PERL5= run +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" -CFLAGS+= ${CPPFLAGS} +WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/mffind.pl ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/mffind.pl ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/sysutils/memfetch/pkg-descr ============================================================================== --- head/sysutils/memfetch/pkg-descr Tue Jan 21 06:21:14 2014 (r340554) +++ head/sysutils/memfetch/pkg-descr Tue Jan 21 06:21:35 2014 (r340555) @@ -1,16 +1,7 @@ -Memfetch is a very simple utility that can be used to dump process memory of -any userspace process running on the system without affecting its execution. -Why bother? Well, quite often it is desirable to see what code and what data -actually resides in memory under some pid (/proc entries are not always -accurate). Debuggers like gdb are pretty good for examining small sections -of code or memory, but are pretty much useless for massive comparison, -sophisticated searches and such. It's good to be able to retrieve full -memory image to run it thru grep, strings, your favorite viewer or any other -tool. Quite obviously, I developed this code not because it's extremely -difficult to do it on your own, but because it is a valuable shell utility -for all kinds of deep hacking activities that simply saves you time. - -Memfetch is a convenient screenshot grabber for ssh or screen sessions, by -the way ;-) +Memfetch is a simple utility to dump all memory of a running process, either +immediately, or when a fault condition is discovered. It is an attractive +alternative to the vastly inferior search capabilities of many debuggers and +tracers -- and a convenient way to grab "screen shots" from many types of +text-based interactive utilities, like ssh or screen sessions. WWW: http://lcamtuf.coredump.cx/ Modified: head/sysutils/memfetch/pkg-message ============================================================================== --- head/sysutils/memfetch/pkg-message Tue Jan 21 06:21:14 2014 (r340554) +++ head/sysutils/memfetch/pkg-message Tue Jan 21 06:21:35 2014 (r340555) @@ -1,5 +1,2 @@ - -Security Warning: -This port requires that you mount procfs(5) filesystem in /proc. -Please note that this can pose a security risk. - + This port requires procfs(5) filesystem mounted under /proc. + Please note that this can pose a security risk.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401210621.s0L6LZbc011194>