Skip site navigation (1)Skip section navigation (2)
Date:      10 Nov 2000 16:10:24 -0000
From:      Peter Pentchev <roam@orbitel.bg>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22753: new port: misc/rname
Message-ID:  <20001110161024.1200.qmail@ringworld.oblivion.bg>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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 <roam@orbitel.bg>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001110161024.1200.qmail>