View | Details | Raw Unified | Return to bug 144383 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/dns/poweradmin/Makefile (-7 / +9 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	poweradmin
8
PORTNAME=	poweradmin
9
PORTVERSION=	2.1.3
9
PORTVERSION=	2.1.4
10
PORTREVISION=	1
11
CATEGORIES=	dns www
10
CATEGORIES=	dns www
12
MASTER_SITES=	https://www.poweradmin.org/download/
11
MASTER_SITES=	https://www.poweradmin.org/download/
13
EXTRACT_SUFX=	.tgz
12
EXTRACT_SUFX=	.tgz
Lines 20-26 Link Here
20
NO_BUILD=	yes
19
NO_BUILD=	yes
21
PEARDIR=	${PREFIX}/share/pear
20
PEARDIR=	${PREFIX}/share/pear
22
21
23
OPTIONS=	POSTGRESQL "Use PostgreSQL database instead of MySQL" off
22
OPTIONS=    	MYSQL	"Use Mysql database support" on \
23
        	PGSQL	"Use Pgsql database support" off
24
24
25
SUB_FILES=	pkg-message
25
SUB_FILES=	pkg-message
26
26
Lines 31-42 Link Here
31
31
32
.include <bsd.port.pre.mk>
32
.include <bsd.port.pre.mk>
33
33
34
.if defined(WITH_POSTGRESQL)
34
.if defined(WITH_MYSQL)
35
RUN_DEPENDS+=	${PEARDIR}/MDB2/Driver/pgsql.php:${PORTSDIR}/databases/pear-MDB2_Driver_pgsql
36
.else
37
RUN_DEPENDS+=	${PEARDIR}/MDB2/Driver/mysql.php:${PORTSDIR}/databases/pear-MDB2_Driver_mysql
35
RUN_DEPENDS+=	${PEARDIR}/MDB2/Driver/mysql.php:${PORTSDIR}/databases/pear-MDB2_Driver_mysql
38
.endif
36
.endif
39
37
38
.if defined(WITH_PGSQL)
39
RUN_DEPENDS+=	${PEARDIR}/MDB2/Driver/pgsql.php:${PORTSDIR}/databases/pear-MDB2_Driver_pgsql
40
.endif
41
40
post-extract:
42
post-extract:
41
	@cd ${WRKSRC} && ${RM} -rf "install"
43
	@cd ${WRKSRC} && ${RM} -rf "install"
42
44
Lines 65-71 Link Here
65
67
66
install-conf: install-app
68
install-conf: install-app
67
	cd ${WWWDIR}/${CFGDIR} ; \
69
	cd ${WWWDIR}/${CFGDIR} ; \
68
	${CHMOD} 0640 config-me.inc.php ; \
70
	${CHMOD} 0644 config-me.inc.php ; \
69
	if ${TEST} ! -f ${CFGFILE} ; then \
71
	if ${TEST} ! -f ${CFGFILE} ; then \
70
		${CP} -p config-me.inc.php ${CFGFILE} ; \
72
		${CP} -p config-me.inc.php ${CFGFILE} ; \
71
	fi
73
	fi
(-)/usr/ports/dns/poweradmin/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (poweradmin-2.1.3.tgz) = 3647703a40d6d8109f86f6b3cce0d310
1
MD5 (poweradmin-2.1.4.tgz) = 55b762bebc290bd1be061cb3363f976a
2
SHA256 (poweradmin-2.1.3.tgz) = 3cc545d0a8979ca6a60f3b41368f1bea827243b94ae7311c0c502f74ef25b2ac
2
SHA256 (poweradmin-2.1.4.tgz) = 46a13d4ce34444896ed95d265935fc7605aadc489f81214d545f8ee8a47137a1
3
SIZE (poweradmin-2.1.3.tgz) = 93541
3
SIZE (poweradmin-2.1.4.tgz) = 121052

Return to bug 144383