- Update to 2.2.4
PR: ports/120458
This commit is contained in:
parent
245c251139
commit
45066a1ce1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207003
3 changed files with 48 additions and 15 deletions
|
@ -6,16 +6,16 @@
|
|||
#
|
||||
|
||||
PORTNAME= AutoIndex
|
||||
PORTVERSION= 2.2.1
|
||||
PORTVERSION= 2.2.4
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= autoindex
|
||||
MASTER_SITES= SF/autoindex
|
||||
|
||||
MAINTAINER= danger@FreeBSD.org
|
||||
COMMENT= PHP 5.x script that makes a table that lists the files in a directory
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_DOS2UNIX= yes
|
||||
USE_PHP= session
|
||||
DEFAULT_PHP_VER= 5
|
||||
IGNORE_WITH_PHP= 4
|
||||
|
@ -23,22 +23,24 @@ CONFLICTS= AutoIndex-1*
|
|||
LATEST_LINK= AutoIndex2
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_SUB+= INSTALLDIR=${INSTALLDIR}
|
||||
PLIST_SUB+= INSTALLDIR=${WWWDIR:S,^${PREFIX}/,,}
|
||||
|
||||
pre-fetch:
|
||||
.if !defined(INSTALLDIR)
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Define INSTALLDIR to override default of 'www/data/${PORTNAME}'."
|
||||
@${ECHO_MSG} "Define INSTALLDIR to override default of '${WWWDIR}'."
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
INSTALLDIR?= www/data/${PORTNAME}
|
||||
INSTALLDIR?= ${WWWDIR}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${INSTALLDIR}
|
||||
@${CP} -R ${WRKSRC}/* ${PREFIX}/${INSTALLDIR}
|
||||
@${CP} -p ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/${INSTALLDIR}/.htpasswd.autoindex-dist
|
||||
@${CHMOD} 666 ${PREFIX}/${INSTALLDIR}/config.php
|
||||
@${MKDIR} ${INSTALLDIR}
|
||||
@${CP} -R ${WRKSRC}/* ${INSTALLDIR}
|
||||
@${CP} -p ${WRKSRC}/.htpasswd.autoindex ${INSTALLDIR}/.htpasswd.autoindex-dist
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${INSTALLDIR}
|
||||
@${CHMOD} -R 644 ${INSTALLDIR}/*
|
||||
@${CHMOD} 664 ${INSTALLDIR}/config.php
|
||||
@${ECHO_CMD} ""
|
||||
|
||||
post-install:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (AutoIndex-2.2.1.tar.gz) = 1c6179083a967e8b53a5e36815cb0d5b
|
||||
SHA256 (AutoIndex-2.2.1.tar.gz) = af2101ddd24ec091cd3f9e57903dc30b9e3dfcdfe860445337adaf99fe4c197c
|
||||
SIZE (AutoIndex-2.2.1.tar.gz) = 118684
|
||||
MD5 (AutoIndex-2.2.4.tar.gz) = 3c8b88c595f39d05ab9e048258b7ee20
|
||||
SHA256 (AutoIndex-2.2.4.tar.gz) = 3b54ae9b56c33d9724aaa8bb0fe4677e2e9e37cf036d01da7bb5fb70a035e1ec
|
||||
SIZE (AutoIndex-2.2.4.tar.gz) = 156153
|
||||
|
|
|
@ -123,6 +123,36 @@
|
|||
%%INSTALLDIR%%/index_icons/osx/uu.png
|
||||
%%INSTALLDIR%%/index_icons/osx/web.png
|
||||
%%INSTALLDIR%%/index_icons/osx/xls.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/back.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/binary.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/binhex.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/cd.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/comp.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/compressed.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/dir.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/dll.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/doc.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/generic.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/image.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/java.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/js.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/key.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/login.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/mov.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/movie.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/new.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/pdf.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/php.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/ppt.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/ps.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/search.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/sound.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/tar.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/text.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/unknown.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/uu.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/web.png
|
||||
%%INSTALLDIR%%/index_icons/winvista/xls.png
|
||||
%%INSTALLDIR%%/index_icons/winxp/back.png
|
||||
%%INSTALLDIR%%/index_icons/winxp/binary.png
|
||||
%%INSTALLDIR%%/index_icons/winxp/binhex.png
|
||||
|
@ -197,11 +227,12 @@
|
|||
@dirrm %%INSTALLDIR%%/index_icons/apache
|
||||
@dirrm %%INSTALLDIR%%/index_icons/kde
|
||||
@dirrm %%INSTALLDIR%%/index_icons/osx
|
||||
@dirrm %%INSTALLDIR%%/index_icons/winvista
|
||||
@dirrm %%INSTALLDIR%%/index_icons/winxp
|
||||
@dirrm %%INSTALLDIR%%/index_icons
|
||||
@dirrm %%INSTALLDIR%%/languages
|
||||
@dirrm %%INSTALLDIR%%/templates/default
|
||||
@dirrm %%INSTALLDIR%%/templates/simple_image_gallery
|
||||
@dirrm %%INSTALLDIR%%/templates
|
||||
@dirrm %%INSTALLDIR%%
|
||||
@dirrmtry %%INSTALLDIR%%
|
||||
@dirrmtry www/data
|
||||
|
|
Loading…
Reference in a new issue