diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-07-30 03:04:24 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-07-30 03:04:24 +0800 |
commit | 6e969b5b06c7066f8bacdbe93fa3b150f44f79db (patch) | |
tree | 176d46290e169a4597b851c4b01b8df6d210a294 /sysutils/cmospwd | |
parent | 5517c772f8c541f8f9202a97eb8ddf9f41800a55 (diff) | |
download | freebsd-ports-gnome-6e969b5b06c7066f8bacdbe93fa3b150f44f79db.tar.gz freebsd-ports-gnome-6e969b5b06c7066f8bacdbe93fa3b150f44f79db.tar.zst freebsd-ports-gnome-6e969b5b06c7066f8bacdbe93fa3b150f44f79db.zip |
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 <ehaupt@critical.ch>
Diffstat (limited to 'sysutils/cmospwd')
-rw-r--r-- | sysutils/cmospwd/Makefile | 44 | ||||
-rw-r--r-- | sysutils/cmospwd/distinfo | 2 | ||||
-rw-r--r-- | sysutils/cmospwd/pkg-descr | 22 |
3 files changed, 68 insertions, 0 deletions
diff --git a/sysutils/cmospwd/Makefile b/sysutils/cmospwd/Makefile new file mode 100644 index 000000000000..6810b43647db --- /dev/null +++ b/sysutils/cmospwd/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: cmospwd +# Date created: 28 Jul 2005 +# Whom: Emanuel Haupt <ehaupt@critical.ch> +# +# $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 <bsd.port.pre.mk> + +post-patch: +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|<stdint\.h>|<unistd.h>|' \ + ${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 <bsd.port.post.mk> diff --git a/sysutils/cmospwd/distinfo b/sysutils/cmospwd/distinfo new file mode 100644 index 000000000000..2c6b2c39f991 --- /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 000000000000..48b066bae70a --- /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 |