# 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: # # repos-style/ # repos-style/files # repos-style/files/pkg-message.in # repos-style/files/patch-open-log-index.php # repos-style/files/patch-view-log.xsl # repos-style/files/patch-view-repos.xsl # repos-style/Makefile # repos-style/distinfo # repos-style/pkg-descr # repos-style/pkg-plist # echo c - repos-style/ mkdir -p repos-style/ > /dev/null 2>&1 echo c - repos-style/files mkdir -p repos-style/files > /dev/null 2>&1 echo x - repos-style/files/pkg-message.in sed 's/^X//' >repos-style/files/pkg-message.in << '7a9152f9cc620ab9d7316e03a40727c1' X%%PORTNAME%% has been installed into: X X %%WWWDIR%% X XTo make repos-web available through your web site, I suggest Xthat you add something like the following to httpd.conf: X XAlias /%%PORTNAME%% %%WWWDIR%% XSVNIndexXSLT "/%%PORTNAME%%/view/repos.xsl" X XTo set up the Very Simple Logviewer in %%PORTNAME%%/open/log/index.php there is a line: X$repo = '@@Repository@@'; // repository root, no trailing slash XReplace @@Repository@@ with the subversion url to your repository root. XIt can be any subversion URL, both http:// and file:///. You can use X"http:" if you have public read access to the repository. X X 7a9152f9cc620ab9d7316e03a40727c1 echo x - repos-style/files/patch-open-log-index.php sed 's/^X//' >repos-style/files/patch-open-log-index.php << 'de97436b6cc43cc95e38091f4e059c78' X--- open/log/index.php.orig 2009-08-12 09:44:06.000000000 +0000 X+++ open/log/index.php 2009-08-12 09:45:02.000000000 +0000 X@@ -20,3 +20,3 @@ X // Set the URL to the stylesheet, must be same host or absolute path from root X-$xslt = '/repos-web/view/log.xsl'; X+$xslt = '/repos-style/view/log.xsl'; X de97436b6cc43cc95e38091f4e059c78 echo x - repos-style/files/patch-view-log.xsl sed 's/^X//' >repos-style/files/patch-view-log.xsl << '0950792a82cabeb9be69a6a01a269344' X--- view/log.xsl.orig 2009-08-12 09:44:14.000000000 +0000 X+++ view/log.xsl 2009-08-12 09:45:02.000000000 +0000 X@@ -27,3 +27,3 @@ X X- /repos-web/ X+ /repos-style/ X 0950792a82cabeb9be69a6a01a269344 echo x - repos-style/files/patch-view-repos.xsl sed 's/^X//' >repos-style/files/patch-view-repos.xsl << 'e3efcfe53f00e5563724e410030ad644' X--- view/repos.xsl.orig 2009-08-12 09:44:23.000000000 +0000 X+++ view/repos.xsl 2009-08-12 09:45:02.000000000 +0000 X@@ -33,3 +33,3 @@ X X- /repos-web/ X+ /repos-style/ X e3efcfe53f00e5563724e410030ad644 echo x - repos-style/Makefile sed 's/^X//' >repos-style/Makefile << 'a39492f50ebd68dae3a6f3f5606c6600' X# New ports collection makefile for: repos-style X# Date created: 12 Aug 2009 X# Whom: Alexander Kriventsov X# X# $FreeBSD$ X# X XPORTNAME= repos-style XPORTVERSION= 2.0 XCATEGORIES= www XMASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ \ X http://mirror.amdmi3.ru/distfiles/ X XMAINTAINER= avk@vl.ru XCOMMENT= Stylesheet for the Subversion index web page X XRUN_DEPENDS= subversion>=0:${PORTSDIR}/devel/subversion X XUSE_ZIP= YES XNO_BUILD= YES X XUSE_PHP= xml XWANT_PHP_WEB= yes X XWRKSRC= ${WRKDIR}/repos-web X XSUB_LIST+= PORTNAME=${PORTNAME} XSUB_FILES+= pkg-message X Xpre-install: X# Prevent installation of .orig files by deleting them. X @${FIND} ${WRKSRC} -name '*.orig' -delete X ${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php X Xdo-install: X @${MKDIR} ${WWWDIR} X @(cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR}) X if [ ! -f ${WWWDIR}/open/log/index.php ]; then \ X ${CP} -p ${WWWDIR}/open/log/index.dist.php ${WWWDIR}/open/log/index.php; \ X fi X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include a39492f50ebd68dae3a6f3f5606c6600 echo x - repos-style/distinfo sed 's/^X//' >repos-style/distinfo << '92c7313f45229abecd0a3c671925cd93' XMD5 (repos-style-2.0.zip) = cbf01422ae18af8a01046e2e01b04111 XSHA256 (repos-style-2.0.zip) = a7f426b524e511902bb231b7fb413930f8cbc8be2f30790cdc8fe68413a1c71f XSIZE (repos-style-2.0.zip) = 166618 92c7313f45229abecd0a3c671925cd93 echo x - repos-style/pkg-descr sed 's/^X//' >repos-style/pkg-descr << 'b1089a9d5b19767a1faaf630dd0e1980' Xnet2ftp is a web-based FTP client written in PHP X XUser features X - Navigate the FTP server X - Upload files X - Download files X - Zip files X - Unzip files X - Install software X - Copy, move and delete X - Copy or move to a 2nd FTP server X - Rename and chmod X - View code with syntax highlighting X - Plain text editor X - HTML editors X - Code editor X - Search for words or phrases X - Calculate size X XWWW: http://www.net2ftp.com/ b1089a9d5b19767a1faaf630dd0e1980 echo x - repos-style/pkg-plist sed 's/^X//' >repos-style/pkg-plist << 'c485bff93a6563bc886e102dcfdf77f8' X%%WWWDIR%%/Cezanne-LICENSE.txt X%%WWWDIR%%/LICENSE-2.0.txt X@unexec if cmp -s %D/%%WWWDIR%%/open/log/index.dist.php %D/%%WWWDIR%%/open/log/index.php; then rm -f %D/%%WWWDIR%%/open/log/index.php; fi X%%WWWDIR%%/open/log/index.dist.php X@exec if [ ! -f %D/%%WWWDIR%%/open/log/index.php ]; then cp -p %D/%%WWWDIR%%/open/log/index.dist.php %D/%%WWWDIR%%/open/log/index.php; fi X%%WWWDIR%%/style/commands/16x16/back.png X%%WWWDIR%%/style/commands/16x16/download.png X%%WWWDIR%%/style/commands/16x16/history.png X%%WWWDIR%%/style/commands/16x16/home.png X%%WWWDIR%%/style/commands/16x16/parent.png X%%WWWDIR%%/style/commands/16x16/refresh.png X%%WWWDIR%%/style/commands/16x16/repository.png X%%WWWDIR%%/style/commands/16x16/user.png X%%WWWDIR%%/style/global.css X%%WWWDIR%%/style/log/16x16/a.png X%%WWWDIR%%/style/log/16x16/copiedfrom.png X%%WWWDIR%%/style/log/16x16/d.png X%%WWWDIR%%/style/log/16x16/m.png X%%WWWDIR%%/style/log/16x16/message.png X%%WWWDIR%%/style/log/log.css X%%WWWDIR%%/style/repository/16x16/binary.png X%%WWWDIR%%/style/repository/16x16/file.png X%%WWWDIR%%/style/repository/16x16/folder.png X%%WWWDIR%%/style/repository/16x16/folder_branches.png X%%WWWDIR%%/style/repository/16x16/folder_tags.png X%%WWWDIR%%/style/repository/16x16/folder_trunk.png X%%WWWDIR%%/style/repository/filetypes/16x16/ai.png X%%WWWDIR%%/style/repository/filetypes/16x16/bmp.png X%%WWWDIR%%/style/repository/filetypes/16x16/chm.png X%%WWWDIR%%/style/repository/filetypes/16x16/doc.png X%%WWWDIR%%/style/repository/filetypes/16x16/exe.png X%%WWWDIR%%/style/repository/filetypes/16x16/gif.png X%%WWWDIR%%/style/repository/filetypes/16x16/gz.png X%%WWWDIR%%/style/repository/filetypes/16x16/htm.png X%%WWWDIR%%/style/repository/filetypes/16x16/html.png X%%WWWDIR%%/style/repository/filetypes/16x16/ics.png X%%WWWDIR%%/style/repository/filetypes/16x16/jar.png X%%WWWDIR%%/style/repository/filetypes/16x16/java.png X%%WWWDIR%%/style/repository/filetypes/16x16/jpg.png X%%WWWDIR%%/style/repository/filetypes/16x16/log.png X%%WWWDIR%%/style/repository/filetypes/16x16/mpg.png X%%WWWDIR%%/style/repository/filetypes/16x16/pdf.png X%%WWWDIR%%/style/repository/filetypes/16x16/php.png X%%WWWDIR%%/style/repository/filetypes/16x16/png.png X%%WWWDIR%%/style/repository/filetypes/16x16/ps.png X%%WWWDIR%%/style/repository/filetypes/16x16/psd.png X%%WWWDIR%%/style/repository/filetypes/16x16/qt.png X%%WWWDIR%%/style/repository/filetypes/16x16/sh.png X%%WWWDIR%%/style/repository/filetypes/16x16/sit.png X%%WWWDIR%%/style/repository/filetypes/16x16/sxw.png X%%WWWDIR%%/style/repository/filetypes/16x16/tif.png X%%WWWDIR%%/style/repository/filetypes/16x16/tmp.png X%%WWWDIR%%/style/repository/filetypes/16x16/txt.png X%%WWWDIR%%/style/repository/filetypes/16x16/vcf.png X%%WWWDIR%%/style/repository/filetypes/16x16/zip.png X%%WWWDIR%%/style/repository/repository.css X%%WWWDIR%%/style/rowbackground.png X%%WWWDIR%%/view/log.xsl X%%WWWDIR%%/view/repos.xsl X@dirrmtry %%WWWDIR%%/view X@dirrmtry %%WWWDIR%%/style/repository/filetypes/16x16 X@dirrmtry %%WWWDIR%%/style/repository/filetypes X@dirrmtry %%WWWDIR%%/style/repository/16x16 X@dirrmtry %%WWWDIR%%/style/repository X@dirrmtry %%WWWDIR%%/style/log/16x16 X@dirrmtry %%WWWDIR%%/style/log X@dirrmtry %%WWWDIR%%/style/commands/16x16 X@dirrmtry %%WWWDIR%%/style/commands X@dirrmtry %%WWWDIR%%/style X@dirrmtry %%WWWDIR%%/open/log X@dirrmtry %%WWWDIR%%/open X@dirrmtry %%WWWDIR%%/ c485bff93a6563bc886e102dcfdf77f8 exit