aboutsummaryrefslogtreecommitdiff
path: root/www/autoindex2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-18 14:22:56 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-18 14:22:56 +0000
commit0d26bb3adaeb04e8732d4fc222321b93d6d220c9 (patch)
treefedaa165afff2303714a6d592d3328a6745938fd /www/autoindex2
parente0fd7e7e3cd805f0b172a454c130412257093ba1 (diff)
Add autoindex, a PHP script that makes a table that lists the files in a
directory, and lets users access the files and subdirectories. It includes searching, icons for each file type, an admin panel, uploads, access logging, file descriptions, and more. This software comes in two versions, one which works with PHP 4.x, and one which works with PHP 5.x Submitted by: DanGer <danger@wilbury.sk>
Notes
Notes: svn path=/head/; revision=124379
Diffstat (limited to 'www/autoindex2')
-rw-r--r--www/autoindex2/Makefile58
-rw-r--r--www/autoindex2/distinfo2
-rw-r--r--www/autoindex2/pkg-descr9
-rw-r--r--www/autoindex2/pkg-message6
-rw-r--r--www/autoindex2/pkg-plist194
5 files changed, 269 insertions, 0 deletions
diff --git a/www/autoindex2/Makefile b/www/autoindex2/Makefile
new file mode 100644
index 000000000000..d591f35b428b
--- /dev/null
+++ b/www/autoindex2/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: AutoIndex
+# Date created: 17 December 2004
+# Whom: DanGer <danger@wilbury.sk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= AutoIndex
+PORTVERSION= 2.0.5
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= autoindex
+
+MAINTAINER= danger@wilbury.sk
+COMMENT= PHP 5.x script that makes a table that lists the files in a directory
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_PHP= yes
+DEFAULT_PHP_VER= 5
+BROKEN_WITH_PHP= 4
+CONFLICTS= AutoIndex-1*
+
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/classes
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons/apache
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons/kde
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons/osx
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/index_icons/winxp
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/languages
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/templates
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/templates/default
+ @${MKDIR} ${PREFIX}/www/data/AutoIndex/templates/simple_image_gallery
+ ${INSTALL_DATA} ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/www/data/AutoIndex
+ ${INSTALL_DATA} ${WRKSRC}/*.php ${PREFIX}/www/data/AutoIndex
+ ${INSTALL_DATA} ${WRKSRC}/hidden_files ${PREFIX}/www/data/AutoIndex
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/www/data/AutoIndex
+ ${INSTALL_DATA} ${WRKSRC}/classes/* ${PREFIX}/www/data/AutoIndex/classes
+ ${INSTALL_DATA} ${WRKSRC}/index_icons/apache/* ${PREFIX}/www/data/AutoIndex/index_icons/apache
+ ${INSTALL_DATA} ${WRKSRC}/index_icons/kde/* ${PREFIX}/www/data/AutoIndex/index_icons/kde
+ ${INSTALL_DATA} ${WRKSRC}/index_icons/osx/* ${PREFIX}/www/data/AutoIndex/index_icons/osx
+ ${INSTALL_DATA} ${WRKSRC}/index_icons/winxp/* ${PREFIX}/www/data/AutoIndex/index_icons/winxp
+ ${INSTALL_DATA} ${WRKSRC}/languages/* ${PREFIX}/www/data/AutoIndex/languages
+ ${INSTALL_DATA} ${WRKSRC}/templates/readme.html ${PREFIX}/www/data/AutoIndex/templates
+ ${INSTALL_DATA} ${WRKSRC}/templates/default/* ${PREFIX}/www/data/AutoIndex/templates/default
+ ${INSTALL_DATA} ${WRKSRC}/templates/simple_image_gallery/* ${PREFIX}/www/data/AutoIndex/templates/simple_image_gallery
+ @${ECHO_CMD} ""
+
+post-install:
+.if !defined(BATCH)
+ @${CAT} ${PKGMESSAGE}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/autoindex2/distinfo b/www/autoindex2/distinfo
new file mode 100644
index 000000000000..5510500804c4
--- /dev/null
+++ b/www/autoindex2/distinfo
@@ -0,0 +1,2 @@
+MD5 (AutoIndex-2.0.5.tar.gz) = e5d2f19c81efb3e0ad1114c60f63c434
+SIZE (AutoIndex-2.0.5.tar.gz) = 102306
diff --git a/www/autoindex2/pkg-descr b/www/autoindex2/pkg-descr
new file mode 100644
index 000000000000..2193b936e6c4
--- /dev/null
+++ b/www/autoindex2/pkg-descr
@@ -0,0 +1,9 @@
+AutoIndex is a PHP script that makes a table that lists the files in a
+directory, and lets users access the files and subdirectories. It includes
+searching, icons for each file type, an admin panel, uploads, access logging,
+file descriptions, and more. Designed to work with PHP 5.x.
+
+WWW: http://autoindex.sourceforge.net/
+
+- DanGer
+danger@wilbury.sk
diff --git a/www/autoindex2/pkg-message b/www/autoindex2/pkg-message
new file mode 100644
index 000000000000..4680daf69228
--- /dev/null
+++ b/www/autoindex2/pkg-message
@@ -0,0 +1,6 @@
+*****************************************************************
+
+ Please visit 'http://{host.domain}/AutoIndex/' in a web
+ browser and follow the configuration instructions.
+
+*****************************************************************
diff --git a/www/autoindex2/pkg-plist b/www/autoindex2/pkg-plist
new file mode 100644
index 000000000000..33df88f7ecd4
--- /dev/null
+++ b/www/autoindex2/pkg-plist
@@ -0,0 +1,194 @@
+www/data/AutoIndex/.htpasswd.autoindex
+www/data/AutoIndex/config.php
+www/data/AutoIndex/hidden_files
+www/data/AutoIndex/change_log.html
+www/data/AutoIndex/index.php
+www/data/AutoIndex/license.html
+www/data/AutoIndex/readme.html
+www/data/AutoIndex/classes/Accounts.php
+www/data/AutoIndex/classes/Admin.php
+www/data/AutoIndex/classes/ConfigData.php
+www/data/AutoIndex/classes/DirectoryList.php
+www/data/AutoIndex/classes/DirectoryListDetailed.php
+www/data/AutoIndex/classes/DirItem.php
+www/data/AutoIndex/classes/Display.php
+www/data/AutoIndex/classes/ExceptionDisplay.php
+www/data/AutoIndex/classes/FileItem.php
+www/data/AutoIndex/classes/Icon.php
+www/data/AutoIndex/classes/Image.php
+www/data/AutoIndex/classes/Item.php
+www/data/AutoIndex/classes/Logging.php
+www/data/AutoIndex/classes/MimeType.php
+www/data/AutoIndex/classes/Search.php
+www/data/AutoIndex/classes/Size.php
+www/data/AutoIndex/classes/Stats.php
+www/data/AutoIndex/classes/Tar.php
+www/data/AutoIndex/classes/Template.php
+www/data/AutoIndex/classes/TemplateFiles.php
+www/data/AutoIndex/classes/TemplateInfo.php
+www/data/AutoIndex/classes/Upload.php
+www/data/AutoIndex/classes/Url.php
+www/data/AutoIndex/classes/User.php
+www/data/AutoIndex/classes/UserLoggedIn.php
+www/data/AutoIndex/index_icons/apache/back.png
+www/data/AutoIndex/index_icons/apache/binary.png
+www/data/AutoIndex/index_icons/apache/binhex.png
+www/data/AutoIndex/index_icons/apache/cd.png
+www/data/AutoIndex/index_icons/apache/comp.png
+www/data/AutoIndex/index_icons/apache/compressed.png
+www/data/AutoIndex/index_icons/apache/dir.png
+www/data/AutoIndex/index_icons/apache/dll.png
+www/data/AutoIndex/index_icons/apache/doc.png
+www/data/AutoIndex/index_icons/apache/generic.png
+www/data/AutoIndex/index_icons/apache/image.png
+www/data/AutoIndex/index_icons/apache/java.png
+www/data/AutoIndex/index_icons/apache/js.png
+www/data/AutoIndex/index_icons/apache/key.png
+www/data/AutoIndex/index_icons/apache/login.png
+www/data/AutoIndex/index_icons/apache/mov.png
+www/data/AutoIndex/index_icons/apache/movie.png
+www/data/AutoIndex/index_icons/apache/new.png
+www/data/AutoIndex/index_icons/apache/pdf.png
+www/data/AutoIndex/index_icons/apache/php.png
+www/data/AutoIndex/index_icons/apache/ppt.png
+www/data/AutoIndex/index_icons/apache/ps.png
+www/data/AutoIndex/index_icons/apache/search.png
+www/data/AutoIndex/index_icons/apache/sound.png
+www/data/AutoIndex/index_icons/apache/tar.png
+www/data/AutoIndex/index_icons/apache/text.png
+www/data/AutoIndex/index_icons/apache/unknown.png
+www/data/AutoIndex/index_icons/apache/uu.png
+www/data/AutoIndex/index_icons/apache/web.png
+www/data/AutoIndex/index_icons/apache/xls.png
+www/data/AutoIndex/index_icons/kde/back.png
+www/data/AutoIndex/index_icons/kde/binary.png
+www/data/AutoIndex/index_icons/kde/binhex.png
+www/data/AutoIndex/index_icons/kde/cd.png
+www/data/AutoIndex/index_icons/kde/comp.png
+www/data/AutoIndex/index_icons/kde/compressed.png
+www/data/AutoIndex/index_icons/kde/dir.png
+www/data/AutoIndex/index_icons/kde/dll.png
+www/data/AutoIndex/index_icons/kde/doc.png
+www/data/AutoIndex/index_icons/kde/generic.png
+www/data/AutoIndex/index_icons/kde/image.png
+www/data/AutoIndex/index_icons/kde/java.png
+www/data/AutoIndex/index_icons/kde/js.png
+www/data/AutoIndex/index_icons/kde/key.png
+www/data/AutoIndex/index_icons/kde/login.png
+www/data/AutoIndex/index_icons/kde/mov.png
+www/data/AutoIndex/index_icons/kde/movie.png
+www/data/AutoIndex/index_icons/kde/new.png
+www/data/AutoIndex/index_icons/kde/pdf.png
+www/data/AutoIndex/index_icons/kde/php.png
+www/data/AutoIndex/index_icons/kde/ppt.png
+www/data/AutoIndex/index_icons/kde/ps.png
+www/data/AutoIndex/index_icons/kde/search.png
+www/data/AutoIndex/index_icons/kde/sound.png
+www/data/AutoIndex/index_icons/kde/tar.png
+www/data/AutoIndex/index_icons/kde/text.png
+www/data/AutoIndex/index_icons/kde/unknown.png
+www/data/AutoIndex/index_icons/kde/uu.png
+www/data/AutoIndex/index_icons/kde/web.png
+www/data/AutoIndex/index_icons/kde/xls.png
+www/data/AutoIndex/index_icons/osx/back.png
+www/data/AutoIndex/index_icons/osx/binary.png
+www/data/AutoIndex/index_icons/osx/binhex.png
+www/data/AutoIndex/index_icons/osx/cd.png
+www/data/AutoIndex/index_icons/osx/comp.png
+www/data/AutoIndex/index_icons/osx/compressed.png
+www/data/AutoIndex/index_icons/osx/dir.png
+www/data/AutoIndex/index_icons/osx/dll.png
+www/data/AutoIndex/index_icons/osx/doc.png
+www/data/AutoIndex/index_icons/osx/generic.png
+www/data/AutoIndex/index_icons/osx/image.png
+www/data/AutoIndex/index_icons/osx/java.png
+www/data/AutoIndex/index_icons/osx/js.png
+www/data/AutoIndex/index_icons/osx/key.png
+www/data/AutoIndex/index_icons/osx/login.png
+www/data/AutoIndex/index_icons/osx/mov.png
+www/data/AutoIndex/index_icons/osx/movie.png
+www/data/AutoIndex/index_icons/osx/new.png
+www/data/AutoIndex/index_icons/osx/pdf.png
+www/data/AutoIndex/index_icons/osx/php.png
+www/data/AutoIndex/index_icons/osx/ppt.png
+www/data/AutoIndex/index_icons/osx/ps.png
+www/data/AutoIndex/index_icons/osx/search.png
+www/data/AutoIndex/index_icons/osx/sound.png
+www/data/AutoIndex/index_icons/osx/tar.png
+www/data/AutoIndex/index_icons/osx/text.png
+www/data/AutoIndex/index_icons/osx/unknown.png
+www/data/AutoIndex/index_icons/osx/uu.png
+www/data/AutoIndex/index_icons/osx/web.png
+www/data/AutoIndex/index_icons/osx/xls.png
+www/data/AutoIndex/index_icons/winxp/back.png
+www/data/AutoIndex/index_icons/winxp/binary.png
+www/data/AutoIndex/index_icons/winxp/binhex.png
+www/data/AutoIndex/index_icons/winxp/cd.png
+www/data/AutoIndex/index_icons/winxp/comp.png
+www/data/AutoIndex/index_icons/winxp/compressed.png
+www/data/AutoIndex/index_icons/winxp/dir.png
+www/data/AutoIndex/index_icons/winxp/dll.png
+www/data/AutoIndex/index_icons/winxp/doc.png
+www/data/AutoIndex/index_icons/winxp/generic.png
+www/data/AutoIndex/index_icons/winxp/image.png
+www/data/AutoIndex/index_icons/winxp/java.png
+www/data/AutoIndex/index_icons/winxp/js.png
+www/data/AutoIndex/index_icons/winxp/key.png
+www/data/AutoIndex/index_icons/winxp/login.png
+www/data/AutoIndex/index_icons/winxp/mov.png
+www/data/AutoIndex/index_icons/winxp/movie.png
+www/data/AutoIndex/index_icons/winxp/new.png
+www/data/AutoIndex/index_icons/winxp/pdf.png
+www/data/AutoIndex/index_icons/winxp/php.png
+www/data/AutoIndex/index_icons/winxp/ppt.png
+www/data/AutoIndex/index_icons/winxp/ps.png
+www/data/AutoIndex/index_icons/winxp/search.png
+www/data/AutoIndex/index_icons/winxp/sound.png
+www/data/AutoIndex/index_icons/winxp/tar.png
+www/data/AutoIndex/index_icons/winxp/text.png
+www/data/AutoIndex/index_icons/winxp/unknown.png
+www/data/AutoIndex/index_icons/winxp/uu.png
+www/data/AutoIndex/index_icons/winxp/web.png
+www/data/AutoIndex/index_icons/winxp/xls.png
+www/data/AutoIndex/languages/al.txt
+www/data/AutoIndex/languages/bg.txt
+www/data/AutoIndex/languages/ca.txt
+www/data/AutoIndex/languages/de.txt
+www/data/AutoIndex/languages/en.txt
+www/data/AutoIndex/languages/es.txt
+www/data/AutoIndex/languages/fr.txt
+www/data/AutoIndex/languages/hu.txt
+www/data/AutoIndex/languages/it.txt
+www/data/AutoIndex/languages/ko.txt
+www/data/AutoIndex/languages/ms.txt
+www/data/AutoIndex/languages/nl.txt
+www/data/AutoIndex/languages/no.txt
+www/data/AutoIndex/languages/pl.txt
+www/data/AutoIndex/languages/pt_BR.txt
+www/data/AutoIndex/languages/ru.txt
+www/data/AutoIndex/languages/tr.txt
+www/data/AutoIndex/templates/default/default.css
+www/data/AutoIndex/templates/default/each_file (alternative with direct links).tpl
+www/data/AutoIndex/templates/default/each_file.tpl
+www/data/AutoIndex/templates/default/global_footer.tpl
+www/data/AutoIndex/templates/default/global_header.tpl
+www/data/AutoIndex/templates/default/table_footer.tpl
+www/data/AutoIndex/templates/default/table_header.tpl
+www/data/AutoIndex/templates/simple_image_gallery/default.css
+www/data/AutoIndex/templates/simple_image_gallery/each_file.tpl
+www/data/AutoIndex/templates/simple_image_gallery/global_footer.tpl
+www/data/AutoIndex/templates/simple_image_gallery/global_header.tpl
+www/data/AutoIndex/templates/simple_image_gallery/table_footer.tpl
+www/data/AutoIndex/templates/simple_image_gallery/table_header.tpl
+www/data/AutoIndex/templates/readme.html
+@dirrm www/data/AutoIndex/classes
+@dirrm www/data/AutoIndex/index_icons/apache
+@dirrm www/data/AutoIndex/index_icons/kde
+@dirrm www/data/AutoIndex/index_icons/osx
+@dirrm www/data/AutoIndex/index_icons/winxp
+@dirrm www/data/AutoIndex/index_icons
+@dirrm www/data/AutoIndex/languages
+@dirrm www/data/AutoIndex/templates/default
+@dirrm www/data/AutoIndex/templates/simple_image_gallery
+@dirrm www/data/AutoIndex/templates
+@dirrm www/data/AutoIndex