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

(-)./Makefile (-4 / +9 lines)
Lines 1-31 Link Here
1
# Created by: Lukasz Wasikowski <lukasz@wasikowski.net>
2
# $FreeBSD: head/mail/sgwi/Makefile 350365 2014-04-06 15:15:52Z rene $
1
# $FreeBSD: head/mail/sgwi/Makefile 350365 2014-04-06 15:15:52Z rene $
3
2
4
PORTNAME=	sgwi
3
PORTNAME=	sgwi
5
PORTVERSION=	1.1.6
4
PORTVERSION=	1.1.8
6
CATEGORIES=	mail www
5
CATEGORIES=	mail www
7
MASTER_SITES=	http://www.vanheusden.com/sgwi/ \
6
MASTER_SITES=	http://www.vanheusden.com/sgwi/ \
8
		http://lukasz.wasikowski.net/files/
7
		http://lukasz.wasikowski.net/files/
9
DISTNAME=	sqlgreywebinterface-${PORTVERSION}
8
DISTNAME=	sqlgreywebinterface-${PORTVERSION}
10
EXTRACT_SUFX=	.tgz
11
9
12
MAINTAINER=	lukasz@wasikowski.net
10
MAINTAINER=	lukasz@wasikowski.net
13
COMMENT=	PHP web interface to SQLGrey
11
COMMENT=	PHP web interface to SQLGrey
14
12
15
LICENSE=	GPLv2
13
LICENSE=	GPLv2
16
14
15
USES=		tar:tgz
17
NO_BUILD=	yes
16
NO_BUILD=	yes
18
SUB_FILES+=	pkg-message pkg-install
17
SUB_FILES+=	pkg-message pkg-install
19
SUB_LIST=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
18
SUB_LIST=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
20
19
21
OPTIONS_SINGLE=	BACKEND
20
OPTIONS_SINGLE=	BACKEND
22
OPTIONS_SINGLE_BACKEND=	MYSQL PGSQL
21
OPTIONS_SINGLE_BACKEND=	MYSQL PGSQL SQLITE3
23
22
24
MYSQL_DESC=	MySQL back-end (use mysql PHP extension)
23
MYSQL_DESC=	MySQL back-end (use mysql PHP extension)
25
PGSQL_DESC=	PostgreSQL back-end (use pgsql PHP extension)
24
PGSQL_DESC=	PostgreSQL back-end (use pgsql PHP extension)
25
SQLITE3_DESC=	SQLite3 back-end (use pgsql PHP extension)
26
26
27
OPTIONS_DEFAULT=MYSQL
27
OPTIONS_DEFAULT=MYSQL
28
28
29
29
.include <bsd.port.options.mk>
30
.include <bsd.port.options.mk>
30
31
31
.if ${PORT_OPTIONS:MMYSQL}
32
.if ${PORT_OPTIONS:MMYSQL}
Lines 36-41 USE_PHP+= mysql Link Here
36
USE_PHP+=	pgsql
37
USE_PHP+=	pgsql
37
.endif
38
.endif
38
39
40
.if ${PORT_OPTIONS:MSQLITE3}
41
USE_PHP+=	sqlite3
42
.endif
43
39
WANT_PHP_WEB=	yes
44
WANT_PHP_WEB=	yes
40
45
41
post-patch:
46
post-patch:
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sqlgreywebinterface-1.1.6.tgz) = d544d99b8b3b675d0399cd66b2b2378c7473d24e434be6bf814590dee914e73d
1
SHA256 (sqlgreywebinterface-1.1.8.tgz) = 33685805e417f13de7224fe5ccb98c4a4a2df27cb2f1c98a3a8ae76f2911cf08
2
SIZE (sqlgreywebinterface-1.1.6.tgz) = 9256
2
SIZE (sqlgreywebinterface-1.1.8.tgz) = 14257
(-)./files/patch-.htaccess.sample (-2 / +2 lines)
Lines 1-5 Link Here
1
--- /dev/null	2008-03-11 22:05:01.000000000 +0100
1
--- /dev/null	2008-03-11 23:05:01 UTC
2
+++ .htaccess.sample	2008-03-11 22:03:36.000000000 +0100
2
+++ .htaccess.sample
3
@@ -0,0 +1,8 @@
3
@@ -0,0 +1,8 @@
4
+AuthUserFile /usr/local/www/sgwi/.htpasswd
4
+AuthUserFile /usr/local/www/sgwi/.htpasswd
5
+AuthGroupFile /dev/null
5
+AuthGroupFile /dev/null
(-)./files/patch-.htpasswd.sample (-2 / +2 lines)
Lines 1-4 Link Here
1
--- /dev/null	2008-03-11 22:05:01.000000000 +0100
1
--- /dev/null	2008-03-11 23:05:01 UTC
2
+++ .htpasswd.sample	2008-03-11 22:02:21.000000000 +0100
2
+++ .htpasswd.sample
3
@@ -0,0 +1 @@
3
@@ -0,0 +1 @@
4
+admin:1Cm2R1zl5.LII
4
+admin:1Cm2R1zl5.LII
(-)./pkg-plist (-10 / +3 lines)
Lines 1-16 Link Here
1
@unexec if cmp -s %D/www/sgwi/.htaccess %D/www/sgwi/.htaccess.sample; then rm -f %D/www/sgwi/.htaccess; fi
1
@sample www/sgwi/.htaccess.sample
2
www/sgwi/.htaccess.sample
2
@sample www/sgwi/.htpasswd.sample
3
@exec [ -f %B/.htaccess ] || cp %B/%f %B/.htaccess
4
@unexec if cmp -s %D/www/sgwi/.htpasswd %D/www/sgwi/.htpasswd.sample; then rm -f %D/www/sgwi/.htpasswd; fi
5
www/sgwi/.htpasswd.sample
6
@exec [ -f %B/.htpasswd ] || cp %B/%f %B/.htpasswd
7
www/sgwi/awl.php
3
www/sgwi/awl.php
8
www/sgwi/connect.php
4
www/sgwi/connect.php
9
www/sgwi/includes/awl.inc.php
5
www/sgwi/includes/awl.inc.php
10
@exec [ -f %D/www/sgwi/config.inc.php ] && mv -f %D/www/sgwi/config.inc.php %D/www/sgwi/includes/config.inc.php
6
@sample www/sgwi/includes/config.inc.php.sample
11
@unexec if cmp -s %D/www/sgwi/includes/config.inc.php %D/www/sgwi/includes/config.inc.php.sample; then rm -f %D/www/sgwi/includes/config.inc.php; fi
12
www/sgwi/includes/config.inc.php.sample
13
@exec [ -f %B/config.inc.php ] || cp %B/%f %B/config.inc.php
14
www/sgwi/includes/connect.inc.php
7
www/sgwi/includes/connect.inc.php
15
www/sgwi/includes/copyright.inc.php
8
www/sgwi/includes/copyright.inc.php
16
www/sgwi/includes/functions.inc.php
9
www/sgwi/includes/functions.inc.php

Return to bug 203141