FreeBSD Bugzilla – Attachment 70801 Details for
Bug 103231
[NEW PORT] www/lilurl: A simple PHP/MySQL script for generating lil? URLs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
lilurl-0.1.1.shar
lilurl-0.1.1.shar (text/plain), 3.52 KB, created by
chinsan
on 2006-09-13 16:40:23 UTC
(
hide
)
Description:
lilurl-0.1.1.shar
Filename:
MIME Type:
Creator:
chinsan
Created:
2006-09-13 16:40:23 UTC
Size:
3.52 KB
patch
obsolete
># 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 103231
: 70801