diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-29 19:04:24 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-07-29 19:04:24 +0000 |
commit | c80768c7a0356e6014ec2c098c0c0b579c3f3dc4 (patch) | |
tree | 49cc7247892f2bd3f138e6a7f973c49c892db2e5 /sysutils | |
parent | 3313c2663c9a290a0086549247d44a1f328cff30 (diff) | |
download | ports-c80768c7a0356e6014ec2c098c0c0b579c3f3dc4.tar.gz ports-c80768c7a0356e6014ec2c098c0c0b579c3f3dc4.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>
Notes
Notes:
svn path=/head/; revision=140422
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/cmospwd/Makefile | 44 | ||||
-rw-r--r-- | sysutils/cmospwd/distinfo | 2 | ||||
-rw-r--r-- | sysutils/cmospwd/pkg-descr | 22 |
4 files changed, 69 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 1ff71f32fbc5..2537efbfe26f 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 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 |