ports/84250: new port: sysutils/cmospwd - A BIOS password recovery tool
Emanuel Haupt
ehaupt at critical.ch
Thu Jul 28 19:30:21 UTC 2005
>Number: 84250
>Category: ports
>Synopsis: new port: sysutils/cmospwd - A BIOS password recovery tool
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 28 19:30:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Wed Jul 27 20:19:15 CEST 2005 root at beaver.critical.ch:/usr/obj/usr/src/RELENG_5_4/src/sys/BEAVER i386
>Description:
new port: sysutils/cmospwd - A BIOS password recovery tool
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
>How-To-Repeat:
>Fix:
--- cmospwd.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# cmospwd
# cmospwd/Makefile
# cmospwd/pkg-descr
# cmospwd/distinfo
#
echo c - cmospwd
mkdir -p cmospwd > /dev/null 2>&1
echo x - cmospwd/Makefile
sed 's/^X//' >cmospwd/Makefile << 'END-of-cmospwd/Makefile'
X# New ports collection makefile for: cmospwd
X# Date created: 28 Jul 2005
X# Whom: Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cmospwd
XPORTVERSION= 4.6
XCATEGORIES= sysutils
XMASTER_SITES= http://www.cgsecurity.org/
X
XMAINTAINER= ehaupt at critical.ch
XCOMMENT= A BIOS password recovery tool
X
XUSE_REINPLACE= yes
X
XPLIST_FILES= bin/cmospwd
XPORTDOCS= cmospwd.txt
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X ${RM} ${WRKSRC}/src/${PORTNAME}
X.if (${OSVERSION} < 500000)
X @${REINPLACE_CMD} -e 's|<stdint\.h>|<unistd.h>|' \
X ${WRKSRC}/src/${PORTNAME}.c
X.endif
X.if !defined(NOPORTDOCS)
X @${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
X ${WRKSRC}/cmospwd.txt
X.endif
X
Xdo-build:
X ${CC} ${CFLAGS} ${WRKSRC}/src/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-cmospwd/Makefile
echo x - cmospwd/pkg-descr
sed 's/^X//' >cmospwd/pkg-descr << 'END-of-cmospwd/pkg-descr'
XCmospwd is a BIOS password recovery tool which is known to work with the
Xfollowing BIOS versions:
X
X * ACER/IBM BIOS
X * AMI BIOS
X * AMI WinBIOS 2.5
X * Award 4.5x/4.6x/6.0
X * Compaq (1992)
X * Compaq (New version)
X * IBM (PS/2, Activa, Thinkpad)
X * Packard Bell
X * Phoenix 1.00.09.AC0 (1994), a486 1.03, 1.04, 1.10 A03,
X 4.05 rev 1.02.943, 4.06 rev 1.13.1107
X * Phoenix 4 release 6
X * Gateway Solo - Phoenix 4.0 release 6
X * Toshiba
X * Zenith AMI
X
XWWW: http://www.cgsecurity.org/index.html?cmospwd.html
X
X- ehaupt
Xehaupt at critical.ch
END-of-cmospwd/pkg-descr
echo x - cmospwd/distinfo
sed 's/^X//' >cmospwd/distinfo << 'END-of-cmospwd/distinfo'
XMD5 (cmospwd-4.6.tar.gz) = 24224151beaa709f6ee720a6de94dad3
XSIZE (cmospwd-4.6.tar.gz) = 37443
END-of-cmospwd/distinfo
exit
--- cmospwd.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list