From chinsan.tw@gmail.com  Wed Sep 13 15:36:52 2006
Return-Path: <chinsan.tw@gmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8BA5916A407
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 13 Sep 2006 15:36:52 +0000 (UTC)
	(envelope-from chinsan.tw@gmail.com)
Received: from smtp2.bc.hgc.com.tw (smtp2.bc.hgc.com.tw [203.133.1.156])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6936243D6E
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 13 Sep 2006 15:36:51 +0000 (GMT)
	(envelope-from chinsan.tw@gmail.com)
Received: from smtp2.bc.hgc.com.tw (61-63-0-host123.kbtelecom.net.tw [61.63.0.123])
	by smtp2.bc.hgc.com.tw (Postfix) with SMTP id 4B3AC2EAEB
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 13 Sep 2006 23:36:52 +0800 (CST)
Received: by smtp2.bc.hgc.com.tw (sSMTP sendmail emulation); Wed, 13 Sep 2006 23:27:34 +0800
Message-Id: <20060913153652.4B3AC2EAEB@smtp2.bc.hgc.com.tw>
Date: Wed, 13 Sep 2006 23:27:34 +0800
From: chinsan <chinsan.tw@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] www/lilurl: A simple PHP/MySQL script for generating lil? URLs
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         103231
>Category:       ports
>Synopsis:       [NEW PORT] www/lilurl: A simple PHP/MySQL script for generating lil? URLs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 13 15:40:23 GMT 2006
>Closed-Date:    Thu Sep 14 07:18:59 GMT 2006
>Last-Modified:  Thu Sep 14 07:20:16 GMT 2006
>Originator:     chinsan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD BSD6.giga.hgc.com.tw 6.1-STABLE FreeBSD 6.1-STABLE #5: Mon Jul 17 09:30:36 CST 2006
>Description:
lilURL is a simple PHP/MySQL script for generating lil? URLs. It's similar
to TinyURL, Shorl, MakeAShorterLink, etc, but you can run it on your own
server. Requires PHP and MySQL. Supports mod_rewrite.

WWW: http://lilurl.sourceforge.net

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- lilurl-0.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:
#
#	lilurl
#	lilurl/Makefile
#	lilurl/distinfo
#	lilurl/pkg-descr
#	lilurl/files
#	lilurl/files/pkg-message.in
#
echo c - lilurl
mkdir -p lilurl > /dev/null 2>&1
echo x - lilurl/Makefile
sed 's/^X//' >lilurl/Makefile << 'END-of-lilurl/Makefile'
X# New ports collection makefile for:   lilurl
X# Date created:                2006/09/10
X# Whom:                        chinsan <chinsan.tw@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lilurl
XPORTVERSION=	0.1.1
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	chinsan.tw@gmail.com
XCOMMENT=	A simple PHP/MySQL script for generating lil? URLs
X
XUSE_PHP=	mysql pcre
XNO_BUILD=	yes
XWANT_PHP_WEB=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XLILURL_DIR?=	www/lilurl
XPKGMESSAGE=	${WRKDIR}/pkg-message
XSUB_FILES=	pkg-message
XPLIST=		${WRKDIR}/pkg-plist
X
X.include <bsd.port.pre.mk>
X
Xpost-extract:
X	@${MV} ${WRKSRC}/includes/conf.php ${WRKSRC}/includes/conf.php.sample
X
Xpre-install:
X	@cd ${WRKSRC} && ${FIND} -s . -type f | \
X		${SED} -e 's|^./||;s|^|${LILURL_DIR}/|' > ${PLIST} \
X		&& ${FIND} -d * -type d | \
X		${SED} -e 's|^|@dirrm ${LILURL_DIR}/|' >> ${PLIST} \
X		&& ${ECHO_CMD} @dirrm ${LILURL_DIR} >> ${PLIST}
X
Xdo-install:
X	${MKDIR} ${TARGETDIR}/${LILURL_DIR}
X	@${CP} -R ${WRKSRC}/ ${TARGETDIR}/${LILURL_DIR}
X	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TARGETDIR}/${LILURL_DIR}
X
Xpost-install:
X	@${SED} -e 's,%%TARGETDIR%%,${TARGETDIR},; s,%%LILURL_DIR%%,${LILURL_DIR},g' \
X		${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-lilurl/Makefile
echo x - lilurl/distinfo
sed 's/^X//' >lilurl/distinfo << 'END-of-lilurl/distinfo'
XMD5 (lilurl-0.1.1.tar.gz) = 35a48bb6c3a53ead7a25cf373a8e631d
XSHA256 (lilurl-0.1.1.tar.gz) = 819f2d82b8106141bfa5cc9f15870eb7f3ed21a2e2b46fadd28e1ceb2181055f
XSIZE (lilurl-0.1.1.tar.gz) = 3991
END-of-lilurl/distinfo
echo x - lilurl/pkg-descr
sed 's/^X//' >lilurl/pkg-descr << 'END-of-lilurl/pkg-descr'
XlilURL is a simple PHP/MySQL script for generating lil? URLs. It's similar
Xto TinyURL, Shorl, MakeAShorterLink, etc, but you can run it on your own
Xserver. Requires PHP and MySQL. Supports mod_rewrite.
X
XWWW: http://lilurl.sourceforge.net
END-of-lilurl/pkg-descr
echo c - lilurl/files
mkdir -p lilurl/files > /dev/null 2>&1
echo x - lilurl/files/pkg-message.in
sed 's/^X//' >lilurl/files/pkg-message.in << 'END-of-lilurl/files/pkg-message.in'
X=======================================================================
Xlilurl is now installed. If you intall it for the first time,
Xyou may have to follow this steps to make it work correctly:
X
X1. Create the MySQL database:
X# mysqladmin --user=root create lilurl
X
X2. Create a mysql user/password for lilurl:
X(change user and/or password if requered)
X# echo "GRANT ALL ON lilurl.* TO lilurluser@localhost IDENTIFIED BY 'lilurluser'; FLUSH PRIVILEGES;" | mysql
X
X3. Import the default lilurl database:
X# mysql lilurl < %%TARGETDIR%%/%%LILURL_DIR%%/lilurl.sql
X
X4. Copy %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php.sample to %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php
X   Edit %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php
X
X5. Add alias in apache config for the lilurl dir:
XAlias /lilurl "%%TARGETDIR%%/%%LILURL_DIR%%/"
X
X=======================================================================
END-of-lilurl/files/pkg-message.in
exit
--- lilurl-0.1.1.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Sep 13 15:51:43 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103231 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Sep 14 07:18:57 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103231 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103231: commit references a PR
Date: Thu, 14 Sep 2006 07:18:25 +0000 (UTC)

 miwi        2006-09-14 07:18:14 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www                  Makefile 
   Added files:
     www/lilurl           Makefile distinfo pkg-descr 
     www/lilurl/files     pkg-message.in 
   Log:
   lilURL is a simple PHP/MySQL script for generating lil? URLs. It's similar
   to TinyURL, Shorl, MakeAShorterLink, etc, but you can run it on your own
   server. Requires PHP and MySQL. Supports mod_rewrite.
   
   WWW: http://lilurl.sourceforge.net
   
   PR:             ports/103231
   Submitted by:   chinsan <chinsan.tw(at)gmail.com>
   
   Revision  Changes    Path
   1.1567    +1 -0      ports/www/Makefile
   1.1       +48 -0     ports/www/lilurl/Makefile (new)
   1.1       +3 -0      ports/www/lilurl/distinfo (new)
   1.1       +21 -0     ports/www/lilurl/files/pkg-message.in (new)
   1.1       +5 -0      ports/www/lilurl/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
