From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 20 11:30:14 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0611437B401 for ; Sun, 20 Jul 2003 11:30:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEEF043F93 for ; Sun, 20 Jul 2003 11:30:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6KIUCUp068754 for ; Sun, 20 Jul 2003 11:30:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6KIUCxA068753; Sun, 20 Jul 2003 11:30:12 -0700 (PDT) Resent-Date: Sun, 20 Jul 2003 11:30:12 -0700 (PDT) Resent-Message-Id: <200307201830.h6KIUCxA068753@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Matthew D.Fuller" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F74D37B404 for ; Sun, 20 Jul 2003 11:27:31 -0700 (PDT) Received: from praetor.linc-it.com (hardtime.linuxman.net [66.147.26.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6EEA43FAF for ; Sun, 20 Jul 2003 11:27:30 -0700 (PDT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-32-250-173.jan.bellsouth.net [67.32.250.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by praetor.linc-it.com (Postfix) with ESMTP id 5DC3A154CC for ; Sun, 20 Jul 2003 13:27:29 -0500 (CDT) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 3B93A20F2A; Sun, 20 Jul 2003 13:27:25 -0500 (CDT) Message-Id: <20030720182725.3B93A20F2A@mortis.over-yonder.net> Date: Sun, 20 Jul 2003 13:27:25 -0500 (CDT) From: "Matthew D.Fuller" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/54670: New port - sysutils/pwd_unmkdb X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Matthew D.Fuller" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 18:30:14 -0000 >Number: 54670 >Category: ports >Synopsis: New port - sysutils/pwd_unmkdb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 20 11:30:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Matthew D. Fuller >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD mortis.sighup.org 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Fri Jun 27 22:00:18 CDT 2003 fullermd@mortis.sighup.org:/usr/obj/usr/src/sys/MORTIS i386 >Description: pwd_unmkdb(8) is a program to derive a text master.passwd file from a hashed spwd.db, which is a useful thing if you screw up a vipw(8) or mergemaster(8), or otherwise corrupt your plaintext file, and don't have a recent enough backup. >How-To-Repeat: >Fix: # 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: # # pwd_unmkdb # pwd_unmkdb/pkg-descr # pwd_unmkdb/pkg-plist # pwd_unmkdb/distinfo # pwd_unmkdb/Makefile # echo c - pwd_unmkdb mkdir -p pwd_unmkdb > /dev/null 2>&1 echo x - pwd_unmkdb/pkg-descr sed 's/^X//' >pwd_unmkdb/pkg-descr << 'END-of-pwd_unmkdb/pkg-descr' Xpwd_unmkdb is a program to do the opposite of pwd_mkdb(8). That is, to Xgive you a textual master.passwd file from a hashed spwd.db database. XUseful if you delete or corrupt master.passwd, and don't have an Xup-to-date backup. X XWWW: http://www.over-yonder.net/~fullermd/projects/pwd_unmkdb/ X X- Matthew Fuller END-of-pwd_unmkdb/pkg-descr echo x - pwd_unmkdb/pkg-plist sed 's/^X//' >pwd_unmkdb/pkg-plist << 'END-of-pwd_unmkdb/pkg-plist' Xsbin/pwd_unmkdb END-of-pwd_unmkdb/pkg-plist echo x - pwd_unmkdb/distinfo sed 's/^X//' >pwd_unmkdb/distinfo << 'END-of-pwd_unmkdb/distinfo' XMD5 (pwd_unmkdb-1.1.tar.gz) = e7fe9623588a51937299113842bc8ce2 END-of-pwd_unmkdb/distinfo echo x - pwd_unmkdb/Makefile sed 's/^X//' >pwd_unmkdb/Makefile << 'END-of-pwd_unmkdb/Makefile' X# New ports collection makefile for: pwd_unmkdb X# Date created: 20 July 2003 X# Whom: Matthew Fuller X# X# $FreeBSD$ X# X XPORTNAME= pwd_unmkdb XPORTVERSION= 1.1 XCATEGORIES= sysutils XMASTER_SITES= http://www.over-yonder.net/~fullermd/projects/pwd_unmkdb/ \ X http://www.linc-it.com/~fullermd/distfiles/ X XMAINTAINER= fullermd@over-yonder.net XCOMMENT= Recover a master.passwd from the hashed database X XMAN8= pwd_unmkdb.8 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/pwd_unmkdb ${PREFIX}/sbin X ${INSTALL_MAN} ${WRKSRC}/pwd_unmkdb.8 ${MAN8PREFIX}/man/man8 X X.include END-of-pwd_unmkdb/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: