Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2008 16:39:45 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123305: [NEW PORT] sysutils/pear-PEAR_PackageUpdate:A simple way to update packages at run time
Message-ID:  <200805011639.m41GdjJJ096372@www.freebsd.org>
Resent-Message-ID: <200805011650.m41Go1Sa062066@freefall.freebsd.org>

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

>Number:         123305
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/pear-PEAR_PackageUpdate:A simple way to update packages at run time
>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:   Thu May 01 16:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 7.0 release
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb7.wenjing.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
PEAR_PackageUpdate(PPU) offers a simple way
to update packages at run time. It is designed
to allow developers to easily include auto
updating features for other packages and PEAR
installable applications. PPU will check to see
if a new version of a package is available and
then ask the user if they would like to update the
package.

PPU is just an engine for package updating. It
should not be used directly. Instead one of the
driver packages such as PEAR_PackageUpdate_Gtk2
should be used depending on the application or
other package.

WWW: http://pear.php.net/package/PEAR_PackageUpdate

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	/usr/ports/sysutils/pear-PEAR_PackageUpdate
#	/usr/ports/sysutils/pear-PEAR_PackageUpdate/Makefile
#	/usr/ports/sysutils/pear-PEAR_PackageUpdate/distinfo
#	/usr/ports/sysutils/pear-PEAR_PackageUpdate/pkg-descr
#
echo c - /usr/ports/sysutils/pear-PEAR_PackageUpdate
mkdir -p /usr/ports/sysutils/pear-PEAR_PackageUpdate > /dev/null 2>&1
echo x - /usr/ports/sysutils/pear-PEAR_PackageUpdate/Makefile
sed 's/^X//' >/usr/ports/sysutils/pear-PEAR_PackageUpdate/Makefile << 'END-of-/usr/ports/sysutils/pear-PEAR_PackageUpdate/Makefile'
X# Ports collection makefile for:  pear-PEAR_PackageUpdate
X# Date created:		1 May 2008
X# Whom:			Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	PEAR_PackageUpdate
XPORTVERSION=	1.0.0
XCATEGORIES=	sysutils pear
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	A simple way to update packages at run time
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XCATEGORY=	PEAR
XFILES=		Cli.php PackageUpdate.php
XTESTS=		customConfig.phpt defaultConfig.phpt \
X		pear_dir/.channels/__uri.reg \
X		pear_dir/.channels/pear.php.net.reg \
X		pear_dir/.channels/pear.phpunit.de.reg \
X		pear_dir/.channels/pecl.php.net.reg \
X		pear_dir/.channels/.alias/pear.txt \
X		pear_dir/.channels/.alias/pecl.txt \
X		pear_dir/.channels/.alias/phpunit.txt \
X		pear_dir/.registry/console_getopt.reg \
X		pear_dir/.registry/pear.reg \
X		pear_dir/.registry/text_diff.reg \
X		pear_dir/.registry/.channel.__uri/empty_dir.txt \
X		pear_dir/.registry/.channel.pear.phpunit.de/phpunit.reg \
X		pear_dir/.registry/.channel.pecl.php.net/empty_dir.txt \
X		pear_dir/cfg/empty_dir.txt \
X		sysconf_dir/empty_dir.txt
XEXAMPLES=	CliFrontend.php withoutFrontend.php
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
X.include <bsd.port.post.mk>
END-of-/usr/ports/sysutils/pear-PEAR_PackageUpdate/Makefile
echo x - /usr/ports/sysutils/pear-PEAR_PackageUpdate/distinfo
sed 's/^X//' >/usr/ports/sysutils/pear-PEAR_PackageUpdate/distinfo << 'END-of-/usr/ports/sysutils/pear-PEAR_PackageUpdate/distinfo'
XMD5 (PEAR/PEAR_PackageUpdate-1.0.0.tgz) = d4c0d2c41c8a26247d17f98c92a5e761
XSHA256 (PEAR/PEAR_PackageUpdate-1.0.0.tgz) = 897ce84db12c3776e56815434d9f062029f0b6152893dc95b80d123cb8cc0616
XSIZE (PEAR/PEAR_PackageUpdate-1.0.0.tgz) = 50832
END-of-/usr/ports/sysutils/pear-PEAR_PackageUpdate/distinfo
echo x - /usr/ports/sysutils/pear-PEAR_PackageUpdate/pkg-descr
sed 's/^X//' >/usr/ports/sysutils/pear-PEAR_PackageUpdate/pkg-descr << 'END-of-/usr/ports/sysutils/pear-PEAR_PackageUpdate/pkg-descr'
XPEAR_PackageUpdate(PPU) offers a simple way 
Xto update packages at run time. It is designed 
Xto allow developers to easily include auto 
Xupdating features for other packages and PEAR 
Xinstallable applications. PPU will check to see 
Xif a new version of a package is available and 
Xthen ask the user if they would like to update the 
Xpackage. 
X
XPPU is just an engine for package updating. It 
Xshould not be used directly. Instead one of the 
Xdriver packages such as PEAR_PackageUpdate_Gtk2 
Xshould be used depending on the application or 
Xother package.
X
XWWW: http://pear.php.net/package/PEAR_PackageUpdate
END-of-/usr/ports/sysutils/pear-PEAR_PackageUpdate/pkg-descr
exit



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



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