From 6e969b5b06c7066f8bacdbe93fa3b150f44f79db Mon Sep 17 00:00:00 2001 From: jylefort Date: Fri, 29 Jul 2005 19:04:24 +0000 Subject: Add cmospwd. Cmospwd is a BIOS password recovery tool which is known to work with the following BIOS versions: * ACER/IBM BIOS * AMI BIOS * AMI WinBIOS 2.5 * Award 4.5x/4.6x/6.0 * Compaq (1992) * Compaq (New version) * IBM (PS/2, Activa, Thinkpad) * Packard Bell * Phoenix 1.00.09.AC0 (1994), a486 1.03, 1.04, 1.10 A03, 4.05 rev 1.02.943, 4.06 rev 1.13.1107 * Phoenix 4 release 6 * Gateway Solo - Phoenix 4.0 release 6 * Toshiba * Zenith AMI WWW: http://www.cgsecurity.org/index.html?cmospwd.html PR: ports/84250 Submitted by: Emanuel Haupt --- sysutils/Makefile | 1 + sysutils/cmospwd/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ sysutils/cmospwd/distinfo | 2 ++ sysutils/cmospwd/pkg-descr | 22 ++++++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 sysutils/cmospwd/Makefile create mode 100644 sysutils/cmospwd/distinfo create mode 100644 sysutils/cmospwd/pkg-descr (limited to 'sysutils') diff --git a/sysutils/Makefile b/sysutils/Makefile index 1ff71f3..2537efb 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -70,6 +70,7 @@ SUBDIR += clockspeed-conf SUBDIR += cloop-utils SUBDIR += cmdwatch + SUBDIR += cmospwd SUBDIR += coaster SUBDIR += cog SUBDIR += colorize diff --git a/sysutils/cmospwd/Makefile b/sysutils/cmospwd/Makefile new file mode 100644 index 0000000..6810b43 --- /dev/null +++ b/sysutils/cmospwd/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: cmospwd +# Date created: 28 Jul 2005 +# Whom: Emanuel Haupt +# +# $FreeBSD$ +# + +PORTNAME= cmospwd +PORTVERSION= 4.6 +CATEGORIES= sysutils +MASTER_SITES= http://www.cgsecurity.org/ + +MAINTAINER= ehaupt@critical.ch +COMMENT= A BIOS password recovery tool + +USE_REINPLACE= yes + +PLIST_FILES= bin/cmospwd +PORTDOCS= cmospwd.txt + +.include + +post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|||' \ + ${WRKSRC}/src/cmospwd.c +.endif +.if !defined(NOPORTDOCS) + @${REINPLACE_CMD} -e "s/`${ECHO_CMD} -e '\r'`*$$//" \ + ${WRKSRC}/cmospwd.txt +.endif + +do-build: + ${CC} ${CFLAGS} ${WRKSRC}/src/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} +.endif + +.include diff --git a/sysutils/cmospwd/distinfo b/sysutils/cmospwd/distinfo new file mode 100644 index 0000000..2c6b2c3 --- /dev/null +++ b/sysutils/cmospwd/distinfo @@ -0,0 +1,2 @@ +MD5 (cmospwd-4.6.tar.gz) = 24224151beaa709f6ee720a6de94dad3 +SIZE (cmospwd-4.6.tar.gz) = 37443 diff --git a/sysutils/cmospwd/pkg-descr b/sysutils/cmospwd/pkg-descr new file mode 100644 index 0000000..48b066b --- /dev/null +++ b/sysutils/cmospwd/pkg-descr @@ -0,0 +1,22 @@ +Cmospwd is a BIOS password recovery tool which is known to work with the +following BIOS versions: + + * ACER/IBM BIOS + * AMI BIOS + * AMI WinBIOS 2.5 + * Award 4.5x/4.6x/6.0 + * Compaq (1992) + * Compaq (New version) + * IBM (PS/2, Activa, Thinkpad) + * Packard Bell + * Phoenix 1.00.09.AC0 (1994), a486 1.03, 1.04, 1.10 A03, + 4.05 rev 1.02.943, 4.06 rev 1.13.1107 + * Phoenix 4 release 6 + * Gateway Solo - Phoenix 4.0 release 6 + * Toshiba + * Zenith AMI + +WWW: http://www.cgsecurity.org/index.html?cmospwd.html + +- ehaupt +ehaupt@critical.ch -- cgit v1.1