From owner-freebsd-ports Fri Nov 10 8:20: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 19C3937B4C5 for ; Fri, 10 Nov 2000 08:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA56601; Fri, 10 Nov 2000 08:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from ringworld.oblivion.bg (pool43-tch-1.Sofia.0rbitel.net [212.95.170.43]) by hub.freebsd.org (Postfix) with SMTP id 3F20637B479 for ; Fri, 10 Nov 2000 08:10:53 -0800 (PST) Received: (qmail 1219 invoked by uid 1000); 10 Nov 2000 16:10:25 -0000 Message-Id: <20001110161024.1200.qmail@ringworld.oblivion.bg> Date: 10 Nov 2000 16:10:24 -0000 From: Peter Pentchev Reply-To: Peter Pentchev To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22753: new port: misc/rname Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22753 >Category: ports >Synopsis: new port: misc/rname >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 10 08:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Peter Pentchev >Release: FreeBSD 4.2-BETA i386 >Organization: Orbitel JSCo. >Environment: current ports tree >Description: rname is a simple utility to launch another program with a specified process name. Its functionality is similar to the -a argument to the bash exec builtin, or to the argv0 program from D. J. Bernstein's daemontools (ucspi-tcp), but I think it might be easier if this were a separate executable doing this and this only. WWW: http://mail.orbitel.bg/~roam/devel/sys/rname/ >How-To-Repeat: N/A >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: # # rname # rname/Makefile # rname/distinfo # rname/pkg-comment # rname/pkg-descr # rname/pkg-plist # echo c - rname mkdir -p rname > /dev/null 2>&1 echo x - rname/Makefile sed 's/^X//' >rname/Makefile << 'END-of-rname/Makefile' X# New ports collection makefile for: rname X# Date created: 10 October 2000 X# Whom: roam@orbitel.bg X# X# $FreeBSD$ X# X XPORTNAME= rname XPORTVERSION= 1.0 XCATEGORIES= misc XMASTER_SITES= http://mail.orbitel.bg/~roam/devel/sys/rname/ \ X http://ringwraith.online.bg/~roam/devel/sys/rname/ X XMAINTAINER= roam@orbitel.bg X XWRKSRC= ${WRKDIR}/${PORTNAME} XUSE_GMAKE= yes X X.if !defined(NOPORTDOCS) XINSTALL_TARGET= install install-doc X.endif X X.include END-of-rname/Makefile echo x - rname/distinfo sed 's/^X//' >rname/distinfo << 'END-of-rname/distinfo' XMD5 (rname-1.0.tar.gz) = 442ea780426468fcff1f3ce5b77ea438 END-of-rname/distinfo echo x - rname/pkg-comment sed 's/^X//' >rname/pkg-comment << 'END-of-rname/pkg-comment' XExecute a program with a fake name END-of-rname/pkg-comment echo x - rname/pkg-descr sed 's/^X//' >rname/pkg-descr << 'END-of-rname/pkg-descr' XThis is a simple utility to execute a program under a different name. X XAuthor: Peter Pentchev XWWW: http://mail.orbitel.bg/~roam/devel/sys/rname/ END-of-rname/pkg-descr echo x - rname/pkg-plist sed 's/^X//' >rname/pkg-plist << 'END-of-rname/pkg-plist' Xbin/rname Xshare/doc/rname/html/index.html Xshare/doc/rname/html/created.with.vim.gif X@dirrm share/doc/rname/html X@dirrm share/doc/rname END-of-rname/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message