Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2009 10:48:28 GMT
From:      Maxim Ignatenko <gelraen.ua@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135886: New port: net-p2p/vhcp Verlihub control panel
Message-ID:  <200906211048.n5LAmSZw001957@www.freebsd.org>
Resent-Message-ID: <200906211050.n5LAo48O057220@freefall.freebsd.org>

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

>Number:         135886
>Category:       ports
>Synopsis:       New port: net-p2p/vhcp Verlihub control panel
>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:   Sun Jun 21 10:50:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Ignatenko
>Release:        
>Organization:
Kiev National Taras Shevchenko University
>Environment:
>Description:
Verlihub Contro Panel is a tool for the administration of your hubsoft
VerliHub 0.9.7 (or higher). It's written in PHP so you can use it on
every OS that runs Apache Web Server with PHP support.

WWW: http://vhcp.verlihub-project.org/viewforum.php?f=32
>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:
#
#	net-p2p/vhcp
#	net-p2p/vhcp/Makefile
#	net-p2p/vhcp/pkg-descr
#	net-p2p/vhcp/distinfo
#	net-p2p/vhcp/files
#	net-p2p/vhcp/files/pkg-message.in
#
echo c - net-p2p/vhcp
mkdir -p net-p2p/vhcp > /dev/null 2>&1
echo x - net-p2p/vhcp/Makefile
sed 's/^X//' >net-p2p/vhcp/Makefile << '17289b2ea03442a20d3a587fbd3474f2'
X# New ports collection makefile for:	vhcp
X# Date created:        20 June 2009
X# Whom:            Maxim Ignatenko
X#
X# $FreeBSD$
X#
X
XPORTNAME=	vhcp
XPORTVERSION=	1.7g2
XCATEGORIES=	net-p2p www
XMASTER_SITES=	SF
XDISTNAME=	vhcp_v${PORTVERSION}
X
XMAINTAINER=	gelraen.ua@gmail.com
XCOMMENT=	Verlihub control panel
X
XWRKSRC=	${WRKDIR}/${PORTNAME}
X
XUSE_PHP=	mysql gd
XNO_BUILD=	YES
XWANT_PHP_WEB=	YES
XDEFAULT_PHP_VER=	5
XVHCPDIR?=	www/vhcp
XSUB_FILES=	pkg-message
XSUB_LIST+=	VHCPDIR=${VHCPDIR}
XPLIST=	${WRKDIR}/pkg-plist
X
Xpre-install:
X	@if [ -f ${WRKSRC}/config.php ]; then \
X	   	${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.dist ; fi
X	@cd ${WRKSRC} && ${FIND} -s * -type f | \
X		${SED} -e 's|^|${VHCPDIR}/|g' > ${PLIST} && \
X		${FIND} -d * -type d | \
X		${SED} -e 's|^|@dirrm ${VHCPDIR}/|g' >> ${PLIST} && \
X		${ECHO_CMD} @dirrm ${VHCPDIR} >> ${PLIST}
X
Xdo-install:
X	-@${MKDIR} ${PREFIX}/${VHCPDIR}
X	@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${VHCPDIR}
X	@${CHMOD} 755 ${PREFIX}/${VHCPDIR}
X	@${CP} -R ${WRKSRC}/ ${PREFIX}/${VHCPDIR}
X	${CP} ${PREFIX}/${VHCPDIR}/config.php.dist ${PREFIX}/${VHCPDIR}/config.php
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
17289b2ea03442a20d3a587fbd3474f2
echo x - net-p2p/vhcp/pkg-descr
sed 's/^X//' >net-p2p/vhcp/pkg-descr << '959ba2783da9935652511db0f300699e'
XVerlihub Contro Panel is a tool for the administration of your hubsoft
XVerliHub 0.9.7 (or higher). It's written in PHP so you can use it on 
Xevery OS that runs Apache Web Server with PHP support.
X
XWWW: http://vhcp.verlihub-project.org/viewforum.php?f=32
959ba2783da9935652511db0f300699e
echo x - net-p2p/vhcp/distinfo
sed 's/^X//' >net-p2p/vhcp/distinfo << 'cfc0b3520e3208937927dc664481a95d'
XMD5 (vhcp_v1.7g2.tar.gz) = 4583f1fc0578f2b85620eaa8cdd79723
XSHA256 (vhcp_v1.7g2.tar.gz) = 2e366a428009952b8d7b4358a143d5125a35258ae3a8007dd4b00309380b6462
XSIZE (vhcp_v1.7g2.tar.gz) = 235611
cfc0b3520e3208937927dc664481a95d
echo c - net-p2p/vhcp/files
mkdir -p net-p2p/vhcp/files > /dev/null 2>&1
echo x - net-p2p/vhcp/files/pkg-message.in
sed 's/^X//' >net-p2p/vhcp/files/pkg-message.in << '30236045f0c933aca1a921e41fbda2fb'
X
XDon't forget to edit %%PREFIX%%/%%VHCPDIR%%/config.php to point to your
Xexisting verlihub config database
X
30236045f0c933aca1a921e41fbda2fb
exit



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



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