View | Details | Raw Unified | Return to bug 191467
Collapse All | Expand All

(-)Makefile (-9 / +19 lines)
Lines 2-33 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	phpwebftp
4
PORTNAME=	phpwebftp
5
PORTVERSION=	3.3
5
PORTVERSION=	3.3b
6
PORTREVISION=	1
7
CATEGORIES=	ftp
6
CATEGORIES=	ftp
8
MASTER_SITES=	SF/${PORTNAME}/OldFiles
7
MASTER_SITES=	SF/${PORTNAME}/phpWebFTP/phpWebFTP%203.3
9
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
8
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
10
9
11
MAINTAINER=	acm@FreeBSD.org
10
MAINTAINER=	coco@executive-computing.de
12
COMMENT=	Set of PHP-scripts to manage FTP over the web
11
COMMENT=	Set of PHP-scripts to manage FTP over the web
13
12
13
LICENSE=	GPLv2
14
14
USES=		zip
15
USES=		zip
16
15
NO_BUILD=	yes
17
NO_BUILD=	yes
18
16
USE_PHP=	ftp
19
USE_PHP=	ftp
20
17
PHPWEBFTPDIR?=	www/${PORTNAME}
21
PHPWEBFTPDIR?=	www/${PORTNAME}
22
18
PLIST_SUB+=	PHPWEBFTPDIR=${PHPWEBFTPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
23
PLIST_SUB+=	PHPWEBFTPDIR=${PHPWEBFTPDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
24
19
WRKSRC=		${WRKDIR}/${PORTNAME}
25
WRKSRC=		${WRKDIR}/${PORTNAME}
26
20
INSTALL_DIRE=	${INSTALL} -d -m 0755 -o ${WWWOWN} -g ${WWWGRP}
27
INSTALL_DIRE=	${INSTALL} -d -m 0755 -o ${WWWOWN} -g ${WWWGRP}
28
21
INSTALL_FILE=	${INSTALL} -m 0644 -o ${WWWOWN} -g ${WWWGRP}
29
INSTALL_FILE=	${INSTALL} -m 0644 -o ${WWWOWN} -g ${WWWGRP}
22
30
23
NO_STAGE=	yes
24
post-extract:
31
post-extract:
25
	@${FIND} -d ${WRKSRC} -name CVS -type d -exec ${RM} -R "{}" \;
32
	@${FIND} -d ${WRKSRC} -name CVS -type d -exec ${RM} -R "{}" \;
33
	@[ -f ${WRKSRC}/config.inc.php ] && \
34
	    ${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php.sample
26
35
27
do-install:
36
do-install:
28
	${INSTALL_DIRE} ${PREFIX}/${PHPWEBFTPDIR}
37
	${INSTALL_DIRE} ${STAGEDIR}${PREFIX}/${PHPWEBFTPDIR}
29
	@cd ${WRKSRC} && \
38
	@cd ${WRKSRC} && \
30
		${FIND} * -type d -exec ${INSTALL_DIRE} "${PREFIX}/${PHPWEBFTPDIR}/{}" \; && \
39
		${FIND} * -type d -exec ${INSTALL_DIRE} \
31
		${FIND} -E * -type f -iregex ".*\.(php|html|css|gif|js)" \
40
		"${STAGEDIR}${PREFIX}/${PHPWEBFTPDIR}/{}" \; && \
32
			-exec ${INSTALL_FILE} "{}" "${PREFIX}/${PHPWEBFTPDIR}/{}" \;
41
		${FIND} -E * -type f -iregex ".*\.(php|sample|html|css|gif|js)" \
42
			-exec ${INSTALL_FILE} "{}" "${STAGEDIR}${PREFIX}/${PHPWEBFTPDIR}/{}" \;
33
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (phpwebftp33.zip) = 1bc13fb68b59085d3d0f6c680d3cab4fe1d8bbe30f483b1bee136e6127d75d5a
1
SHA256 (phpwebftp33b.zip) = 8f9fedb365a222d7697a3b8ee12a945bd1a6f1f285ef70b76df63db5e5eec6aa
2
SIZE (phpwebftp33.zip) = 103220
2
SIZE (phpwebftp33b.zip) = 112926
(-)pkg-plist (-73 / +74 lines)
Lines 1-73 Link Here
1
%%PHPWEBFTPDIR%%/config.inc.php
1
@group %%WWWGRP%%
2
%%PHPWEBFTPDIR%%/img/zip.gif
2
@owner %%WWWOWN%%
3
%%PHPWEBFTPDIR%%/img/createdir.gif
3
@sample %%WWWDIR%%/config.inc.php.sample
4
%%PHPWEBFTPDIR%%/img/doc.gif
4
%%WWWDIR%%/img/1px.gif
5
%%PHPWEBFTPDIR%%/img/exe.gif
5
%%WWWDIR%%/img/createdir.gif
6
%%PHPWEBFTPDIR%%/img/file.gif
6
%%WWWDIR%%/img/doc.gif
7
%%PHPWEBFTPDIR%%/img/flash.gif
7
%%WWWDIR%%/img/exe.gif
8
%%PHPWEBFTPDIR%%/img/folder.gif
8
%%WWWDIR%%/img/file.gif
9
%%PHPWEBFTPDIR%%/img/gotodir.gif
9
%%WWWDIR%%/img/flash.gif
10
%%PHPWEBFTPDIR%%/img/html.gif
10
%%WWWDIR%%/img/folder.gif
11
%%PHPWEBFTPDIR%%/img/index.html
11
%%WWWDIR%%/img/gotodir.gif
12
%%PHPWEBFTPDIR%%/img/js.gif
12
%%WWWDIR%%/img/html.gif
13
%%PHPWEBFTPDIR%%/img/leftback.gif
13
%%WWWDIR%%/img/index.html
14
%%PHPWEBFTPDIR%%/img/link.gif
14
%%WWWDIR%%/img/js.gif
15
%%PHPWEBFTPDIR%%/img/listheaddiv.gif
15
%%WWWDIR%%/img/leftback.gif
16
%%PHPWEBFTPDIR%%/img/listheader.gif
16
%%WWWDIR%%/img/link.gif
17
%%PHPWEBFTPDIR%%/img/login.gif
17
%%WWWDIR%%/img/listheaddiv.gif
18
%%PHPWEBFTPDIR%%/img/logoff.gif
18
%%WWWDIR%%/img/listheader.gif
19
%%PHPWEBFTPDIR%%/img/menu_delete.gif
19
%%WWWDIR%%/img/login.gif
20
%%PHPWEBFTPDIR%%/img/menu_edit.gif
20
%%WWWDIR%%/img/logoff.gif
21
%%PHPWEBFTPDIR%%/img/menu_rename.gif
21
%%WWWDIR%%/img/menu_delete.gif
22
%%PHPWEBFTPDIR%%/img/menu_settings.gif
22
%%WWWDIR%%/img/menu_edit.gif
23
%%PHPWEBFTPDIR%%/img/menuhead.gif
23
%%WWWDIR%%/img/menu_rename.gif
24
%%PHPWEBFTPDIR%%/img/mode.gif
24
%%WWWDIR%%/img/menu_settings.gif
25
%%PHPWEBFTPDIR%%/img/mov.gif
25
%%WWWDIR%%/img/menuhead.gif
26
%%PHPWEBFTPDIR%%/img/parent.gif
26
%%WWWDIR%%/img/mode.gif
27
%%PHPWEBFTPDIR%%/img/pdf.gif
27
%%WWWDIR%%/img/mov.gif
28
%%PHPWEBFTPDIR%%/img/php.gif
28
%%WWWDIR%%/img/parent.gif
29
%%PHPWEBFTPDIR%%/img/pic.gif
29
%%WWWDIR%%/img/pdf.gif
30
%%PHPWEBFTPDIR%%/img/titlebar.gif
30
%%WWWDIR%%/img/php.gif
31
%%PHPWEBFTPDIR%%/img/txt.gif
31
%%WWWDIR%%/img/pic.gif
32
%%PHPWEBFTPDIR%%/img/upload.gif
32
%%WWWDIR%%/img/titlebar.gif
33
%%PHPWEBFTPDIR%%/img/1px.gif
33
%%WWWDIR%%/img/txt.gif
34
%%PHPWEBFTPDIR%%/include/language/bulgarian.lang.php
34
%%WWWDIR%%/img/upload.gif
35
%%PHPWEBFTPDIR%%/include/language/catalan.lang.php
35
%%WWWDIR%%/img/zip.gif
36
%%PHPWEBFTPDIR%%/include/language/chinese simplified.lang.php
36
%%WWWDIR%%/include/ftp.class.php
37
%%PHPWEBFTPDIR%%/include/language/chinese.lang.php
37
%%WWWDIR%%/include/functions.inc.php
38
%%PHPWEBFTPDIR%%/include/language/czech.lang.php
38
%%WWWDIR%%/include/index.html
39
%%PHPWEBFTPDIR%%/include/language/danish.lang.php
39
%%WWWDIR%%/include/language/bulgarian.lang.php
40
%%PHPWEBFTPDIR%%/include/language/dutch.lang.php
40
%%WWWDIR%%/include/language/catalan.lang.php
41
%%PHPWEBFTPDIR%%/include/language/english.lang.php
41
%%WWWDIR%%/include/language/chinese simplified.lang.php
42
%%PHPWEBFTPDIR%%/include/language/french.lang.php
42
%%WWWDIR%%/include/language/chinese.lang.php
43
%%PHPWEBFTPDIR%%/include/language/german.lang.php
43
%%WWWDIR%%/include/language/czech.lang.php
44
%%PHPWEBFTPDIR%%/include/language/index.html
44
%%WWWDIR%%/include/language/danish.lang.php
45
%%PHPWEBFTPDIR%%/include/language/italian.lang.php
45
%%WWWDIR%%/include/language/dutch.lang.php
46
%%PHPWEBFTPDIR%%/include/language/japanese.lang.php
46
%%WWWDIR%%/include/language/english.lang.php
47
%%PHPWEBFTPDIR%%/include/language/latvian.lang.php
47
%%WWWDIR%%/include/language/french.lang.php
48
%%PHPWEBFTPDIR%%/include/language/latvian-utf8.lang.php
48
%%WWWDIR%%/include/language/german.lang.php
49
%%PHPWEBFTPDIR%%/include/language/norwegian.lang.php
49
%%WWWDIR%%/include/language/hebrew.lang.php
50
%%PHPWEBFTPDIR%%/include/language/polish.lang.php
50
%%WWWDIR%%/include/language/index.html
51
%%PHPWEBFTPDIR%%/include/language/portuguese.lang.php
51
%%WWWDIR%%/include/language/italian.lang.php
52
%%PHPWEBFTPDIR%%/include/language/russian.lang.php
52
%%WWWDIR%%/include/language/japanese.lang.php
53
%%PHPWEBFTPDIR%%/include/language/slovak.lang.php
53
%%WWWDIR%%/include/language/latvian-utf8.lang.php
54
%%PHPWEBFTPDIR%%/include/language/spanish.lang.php
54
%%WWWDIR%%/include/language/latvian.lang.php
55
%%PHPWEBFTPDIR%%/include/language/swedish.lang.php
55
%%WWWDIR%%/include/language/norwegian.lang.php
56
%%PHPWEBFTPDIR%%/include/language/turkish.lang.php
56
%%WWWDIR%%/include/language/polish.lang.php
57
%%PHPWEBFTPDIR%%/include/language/ukrainian.lang.php
57
%%WWWDIR%%/include/language/portuguese.lang.php
58
%%PHPWEBFTPDIR%%/include/ftp.class.php
58
%%WWWDIR%%/include/language/russian.lang.php
59
%%PHPWEBFTPDIR%%/include/functions.inc.php
59
%%WWWDIR%%/include/language/slovak.lang.php
60
%%PHPWEBFTPDIR%%/include/ss_zip.class.php
60
%%WWWDIR%%/include/language/spanish.lang.php
61
%%PHPWEBFTPDIR%%/include/index.html
61
%%WWWDIR%%/include/language/swedish.lang.php
62
%%PHPWEBFTPDIR%%/include/script.js
62
%%WWWDIR%%/include/language/turkish.lang.php
63
%%PHPWEBFTPDIR%%/index.php
63
%%WWWDIR%%/include/language/ukrainian.lang.php
64
%%PHPWEBFTPDIR%%/style/cm.css
64
%%WWWDIR%%/include/script.js
65
%%PHPWEBFTPDIR%%/style/index.html
65
%%WWWDIR%%/include/ss_zip.class.php
66
%%PHPWEBFTPDIR%%/tmp/index.html
66
%%WWWDIR%%/index.php
67
@dirrm %%PHPWEBFTPDIR%%/img
67
%%WWWDIR%%/style/cm.css
68
@dirrm %%PHPWEBFTPDIR%%/include/language
68
%%WWWDIR%%/style/index.html
69
@dirrm %%PHPWEBFTPDIR%%/include
69
@dirrmtry %%WWWDIR%%/img
70
@dirrm %%PHPWEBFTPDIR%%/style
70
@dirrmtry %%WWWDIR%%/include/language
71
@dirrm %%PHPWEBFTPDIR%%/tmp
71
@dirrmtry %%WWWDIR%%/include
72
@dirrm %%PHPWEBFTPDIR%%
72
@dirrmtry %%WWWDIR%%/style
73
@exec find %D/%%PHPWEBFTPDIR%% -type d -print0 | xargs -0 chown %%WWWOWN%%:%%WWWGRP%%
73
@dirrmtry %%WWWDIR%%/tmp
74
@dirrmtry %%WWWDIR%%

Return to bug 191467