ports/55995: new port: worldtools

The Anarcat anarcat at anarcat.ath.cx
Tue Aug 26 14:50:18 UTC 2003


>Number:         55995
>Category:       ports
>Synopsis:       new port: worldtools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 26 07:50:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     The Anarcat
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD shall.anarcat.ath.cx 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed Aug 13 16:46:04 EDT 2003 khadmin at shall.anarcat.ath.cx:/usr/obj/usr/src/sys/SHALL i386


>Description:

Overrules pr 55554.

This is pr 55554 on steroids.

Please note that I couldn't complete the basic port testsuite, but I
think the bug is not in the port itself:

root at shall[/home/anarcat/src/local/bin/ports/worldtools]# make package
===>  Extracting for worldtools-1.1
>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:
#
#	worldtools
#	worldtools/Makefile
#	worldtools/distinfo
#	worldtools/pkg-descr
#	worldtools/pkg-plist
#
echo c - worldtools
mkdir -p worldtools > /dev/null 2>&1
echo x - worldtools/Makefile
sed 's/^X//' >worldtools/Makefile << 'END-of-worldtools/Makefile'
X# New ports collection makefile for:	whereintheworld
X# Date created:		13 august 2003
X# Whom:			anarcat
X#
X# $FreeBSD$
X#
X
XPORTNAME=	worldtools
XPORTVERSION=	1.1
XCATEGORIES=	sysutils
XMASTER_SITES=	http://anarcat.ath.cx/software/distfiles/
X
XMAINTAINER=	anarcat at anarcat.ath.cx
XCOMMENT=	Handy tools for living with make world
X
XUSE_PERL5_RUN=	yes
X
XNO_BUILD=	yes
X
X.include <bsd.port.mk>
END-of-worldtools/Makefile
echo x - worldtools/distinfo
sed 's/^X//' >worldtools/distinfo << 'END-of-worldtools/distinfo'
XMD5 (worldtools-1.1.tar.gz) = 68f921240606d6743819f09277a51d8a
END-of-worldtools/distinfo
echo x - worldtools/pkg-descr
sed 's/^X//' >worldtools/pkg-descr << 'END-of-worldtools/pkg-descr'
Xworldtools consists of 3 simple scripts:
X
X- whereintheworld displays the great lines behind the build logs of a
Xbuildworld. It shows at which step the build is at, and which module
Xis currently being built.
X
X- buildit runs a command, time(1)s it, logs the output and optionally
Xsends a notification to the user by email when finished.
X
X- upgrade is a wrapper for buildit, whereintheworld, cvsup and make
Xbuildworld.
X
XSee the README file for more details.
END-of-worldtools/pkg-descr
echo x - worldtools/pkg-plist
sed 's/^X//' >worldtools/pkg-plist << 'END-of-worldtools/pkg-plist'
Xsbin/whereintheworld
Xsbin/upgrade
Xsbin/buildit
END-of-worldtools/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for worldtools-1.1.tar.gz.
 ===>  Patching for worldtools-1.1
 ===>  Configuring for worldtools-1.1
 ===>  Installing for worldtools-1.1
 ===>   Generating temporary packing list
 ===>  Checking if sysutils/worldtools already installed
 install -o root  -g wheel -m 555  upgrade  /usr/local/sbin/upgrade
 install -o root  -g wheel -m 555  buildit  /usr/local/sbin/buildit
 install -o root  -g wheel -m 555  whereintheworld  /usr/local/sbin/whereintheworld
 ===>   Registering installation for worldtools-1.1
 ===>  Building package for worldtools-1.1
 Creating package /usr/ports/packages/All/worldtools-1.1.tgz
 Registering depends:.
 Creating gzip'd tar ball in '/usr/ports/packages/All/worldtools-1.1.tgz'
 root at shall[/home/anarcat/src/local/bin/ports/worldtools]# make deinstall
 ===>  Deinstalling for sysutils/worldtools
 ===>   Deinstalling worldtools-1.1
 root at shall[/home/anarcat/src/local/bin/ports/worldtools]# pkg_add /usr/ports/packages/All/worldtools-1.1.tgz
 root at shall[/home/anarcat/src/local/bin/ports/worldtools]# make deinstall
 ===>  Deinstalling for sysutils/worldtools
 ===>   worldtools-1.1 has a different PREFIX: /usr/local
 ., skipping
 root at shall[/home/anarcat/src/local/bin/ports/worldtools]# pkg_delete worldtools-1.1                         
 
 The problem is that the created package has 2 @cwd directives:
 
 $ pkg_info -q -p worldtools-1.1      
 @cwd /usr/local
 @cwd .
 
 Now I have no idea how this could have happened...
 



More information about the freebsd-ports-bugs mailing list