From ehaupt@beaver.critical.ch  Thu Jul 28 19:22:29 2005
Return-Path: <ehaupt@beaver.critical.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 54BA916A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Jul 2005 19:22:29 +0000 (GMT)
	(envelope-from ehaupt@beaver.critical.ch)
Received: from beaver.critical.ch (217-162-251-247.dclient.hispeed.ch [217.162.251.247])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CCA0A43D48
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Jul 2005 19:22:28 +0000 (GMT)
	(envelope-from ehaupt@beaver.critical.ch)
Received: from beaver.critical.ch (localhost.critical.ch [127.0.0.1])
	by beaver.critical.ch (8.13.3/8.13.3) with ESMTP id j6SJMQYi004661
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Jul 2005 21:22:26 +0200 (CEST)
	(envelope-from ehaupt@beaver.critical.ch)
Received: (from ehaupt@localhost)
	by beaver.critical.ch (8.13.3/8.13.3/Submit) id j6SJMQW9004660;
	Thu, 28 Jul 2005 21:22:26 +0200 (CEST)
	(envelope-from ehaupt)
Message-Id: <200507281922.j6SJMQW9004660@beaver.critical.ch>
Date: Thu, 28 Jul 2005 21:22:26 +0200 (CEST)
From: Emanuel Haupt <ehaupt@critical.ch>
Reply-To: Emanuel Haupt <ehaupt@critical.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port: sysutils/cmospwd - A BIOS password recovery tool 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84250
>Category:       ports
>Synopsis:       new port: sysutils/cmospwd - A BIOS password recovery tool
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jylefort
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 28 19:30:12 GMT 2005
>Closed-Date:    Fri Jul 29 19:06:35 GMT 2005
>Last-Modified:  Fri Jul 29 19:06:35 GMT 2005
>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@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@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cmospwd
XPORTVERSION=	4.6
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.cgsecurity.org/
X
XMAINTAINER=	ehaupt@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->jylefort 
Responsible-Changed-By: jylefort 
Responsible-Changed-When: Fri Jul 29 16:00:15 GMT 2005 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84250 
State-Changed-From-To: open->closed 
State-Changed-By: jylefort 
State-Changed-When: Fri Jul 29 19:06:27 GMT 2005 
State-Changed-Why:  
Committed with a few modifications, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84250 
>Unformatted:
