misc/85732: [NEW PORT] sysutils/managepkg: Script for maintining ports

Andreas Fehlner fehlner at gmx.de
Mon Sep 5 01:30:12 PDT 2005


>Number:         85732
>Category:       misc
>Synopsis:       [NEW PORT] sysutils/managepkg: Script for maintining ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 05 08:30:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Fehlner
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD erde.universum.sol 4.11-STABLE FreeBSD 4.11-STABLE #0: Sat Sep  3 09:42:08 CEST
>Description:
This script runs though the complete ports tree without stopping after a make error occured.
If you call make with any parameter in one of the directories of the ports tree in FreeBSD the run will stop if make returns with a code bigger than zero. That means, that it is (in opposite to NetBSD or OpenBSD impossible to run a echo complete build with \"make\" in FreeBSD.

Warning: The run of the script may last days (but you may stop it any time).

Call the script with the parameter you want to give to make, for instance fetch, build, install, or package.

WWW:    http://www.cul.de/data/


-Andreas Fehlner
fehlner at gmx.de

>How-To-Repeat:
      
>Fix:

--- managepkg-1.1.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:
#
#	managepkg
#	managepkg/pkg-descr
#	managepkg/Makefile
#	managepkg/distinfo
#
echo c - managepkg
mkdir -p managepkg > /dev/null 2>&1
echo x - managepkg/pkg-descr
sed 's/^X//' >managepkg/pkg-descr << 'END-of-managepkg/pkg-descr'
XThis script runs though the complete ports tree without stopping after a make
Xerror occured.
XIf you call make with any parameter in one of the directories of the ports tree
Xin FreeBSD the run will stop if make returns with a code bigger than zero. That
Xmeans, that it is (in opposite to NetBSD or OpenBSD impossible to run a echo 
Xcomplete build with \"make\" in FreeBSD.
X
XWarning: The run of the script may last days (but you may stop it any time).
X
XCall the script with the parameter you want to give to make, for instance fetch,
Xbuild, install, or package.
X
X
XWWW:	http://www.cul.de/data/
X
X-Andreas Fehlner
Xfehlner at gmx.de
END-of-managepkg/pkg-descr
echo x - managepkg/Makefile
sed 's/^X//' >managepkg/Makefile << 'END-of-managepkg/Makefile'
X# New ports collection makefile for:	managepkg
X# Date created:		2005-09-04
X# Whom:			Andreas Fehlner <fehlner at gmx.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	managepkg
XPORTVERSION=	1.1
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.cul.de/data/\
X		http://home.arcor.de/fehlner/download/\
X		http://home.arcor.de/teambushido/download/
XEXTRACT_SUFX=	.gz
X
XMAINTAINER=	fehlner at gmx.de
XCOMMENT=	Script for maintining ports
X# Any ideas for a better comment?
X
XEXTRACT_AFTER_ARGS=	${DISTDIR}/${DISTFILES} > ${WRKSRC}/${PORTNAME}
XWRKSRC=	${WRKDIR}
XNO_BUILD=	yes
XPLIST_FILES=	sbin/managepkg
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
X
X.include <bsd.port.mk>
END-of-managepkg/Makefile
echo x - managepkg/distinfo
sed 's/^X//' >managepkg/distinfo << 'END-of-managepkg/distinfo'
XMD5 (managepkg-1.1.gz) = 7e698db45723cb0a933363cc5a6cb718
XSIZE (managepkg-1.1.gz) = 2497
END-of-managepkg/distinfo
exit
--- managepkg-1.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list