pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(bugzilla) sqlite is coming back. Runs fine



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara (CF-N10) <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Sat Feb 11 18:14:09 2017 +0900
Changeset:	842a404192cd245258bacc2256747362a0f0aeae

Modified Files:
	bugzilla/Makefile
	bugzilla/TODO
	bugzilla/options.mk

Log Message:
(bugzilla) sqlite is coming back. Runs fine

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=842a404192cd245258bacc2256747362a0f0aeae

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bugzilla/Makefile   | 3 +++
 bugzilla/TODO       | 1 +
 bugzilla/options.mk | 8 ++++++--
 3 files changed, 10 insertions(+), 2 deletions(-)

diffs:
diff --git a/bugzilla/Makefile b/bugzilla/Makefile
index f46abf9bba..225b5ccbcf 100644
--- a/bugzilla/Makefile
+++ b/bugzilla/Makefile
@@ -114,6 +114,9 @@ INSTALLATION_DIRS+=	${BZDIR}/docs ${BZDIR}/docs/en ${BZDIR}/docs/en/html
 INSTALLATION_DIRS+=	${BZDIR}/images ${BZDIR}/docs/en/html/api
 INSTALLATION_DIRS+=	${BZDIR}/docs/en/html/api/Bugzilla
 
+# file user group mode
+#SPECIAL_PERMS=	* www data 0600
+
 do-configure:
 	(cd ${WRKSRC}; ./checksetup.pl)
 
diff --git a/bugzilla/TODO b/bugzilla/TODO
index 74197d41de..75c3cfd1ac 100644
--- a/bugzilla/TODO
+++ b/bugzilla/TODO
@@ -1,3 +1,4 @@
 TODO
  - options.mk is not checked
  - options gets too many pkglint warning
+ - SPECIAL_PERMS not set yet
diff --git a/bugzilla/options.mk b/bugzilla/options.mk
index aaed3f2d68..e5e639cdea 100644
--- a/bugzilla/options.mk
+++ b/bugzilla/options.mk
@@ -3,14 +3,14 @@
 PKG_OPTIONS_VAR=	PKG_OPTIONS.bugzilla
 
 PKG_OPTIONS_REQUIRED_GROUPS=	db
-PKG_OPTIONS_GROUP.db=		mysql pgsql oracle
+PKG_OPTIONS_GROUP.db=		mysql pgsql oracle sqlite
 
 PKG_SUPPORTED_OPTIONS=	bugzilla-notify bugzilla-graphicalreports
 PKG_SUPPORTED_OPTIONS+=	bugzilla-inboundemail bugzilla-movebugs
 PKG_SUPPORTED_OPTIONS+=	bugzilla-imagemagick bugzilla-patchviewer
 PKG_SUPPORTED_OPTIONS+=	bugzilla-descriptions bugzilla-xmlrpc
 PKG_SUPPORTED_OPTIONS+=	bugzilla-modperl radius
-PKG_SUPPORTED_OPTIONS+=	mysql pgsql oracle ldap
+PKG_SUPPORTED_OPTIONS+=	mysql pgsql oracle ldap sqlite
 PKG_SUGGESTED_OPTIONS=	mysql
 
 .include "../../mk/bsd.options.mk"
@@ -21,6 +21,10 @@ PKG_SUGGESTED_OPTIONS=	mysql
 .if !empty(PKG_OPTIONS:Mmysql)
 DEPENDS+=	p5-DBD-mysql>=4.000:../../databases/p5-DBD-mysql
 DBDRIVER=	mysql
+.elif !empty(PKG_OPTIONS:Msqlite)
+DEPENDS+=	p5-DBD-SQLite>=1.54:../../databases/p5-DBD-SQLite
+DEPENDS+=	sqlite3-[0-9]*:../../databases/sqlite3
+DBDRIVER=	sqlite
 .elif !empty(PKG_OPTIONS:Mpgsql)
 DEPENDS+=	p5-DBD-postgresql>=1.45:../../databases/p5-DBD-postgresql
 DBDRIVER=	pg


Home | Main Index | Thread Index | Old Index