aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bugzilla
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-10-03 03:37:42 +0800
committerphantom <phantom@FreeBSD.org>2001-10-03 03:37:42 +0800
commitdec5076a0fefaec4b70267d9f61ff66fdb1faac1 (patch)
treefa34c667053c4a2aa096b7003778dd393d271e2c /devel/bugzilla
parent8958fe899ca96ea5c38c37bb1b049ba53a884957 (diff)
downloadfreebsd-ports-gnome-dec5076a0fefaec4b70267d9f61ff66fdb1faac1.tar.gz
freebsd-ports-gnome-dec5076a0fefaec4b70267d9f61ff66fdb1faac1.tar.zst
freebsd-ports-gnome-dec5076a0fefaec4b70267d9f61ff66fdb1faac1.zip
* don't setup README.docs. It's developers resource.
* use ${INSTALL} directly instead of ${INSTALL_DATA} to preserve exec permissions for scripts * add post-install target to display pkg-message * rewrite pkg-message to give minimal quick setup instructions
Diffstat (limited to 'devel/bugzilla')
-rw-r--r--devel/bugzilla/Makefile6
-rw-r--r--devel/bugzilla/pkg-message26
-rw-r--r--devel/bugzilla/pkg-plist1
3 files changed, 21 insertions, 12 deletions
diff --git a/devel/bugzilla/Makefile b/devel/bugzilla/Makefile
index 852decfeab94..4d8843568260 100644
--- a/devel/bugzilla/Makefile
+++ b/devel/bugzilla/Makefile
@@ -52,6 +52,7 @@ post-patch:
@find -d ${WRKSRC} -name CVS -type d -exec ${RM} -rf {} \;
@find -d ${WRKSRC} -name sgml -type d -exec ${RM} -rf {} \;
@find ${WRKSRC} -name .cvsignore -type f -exec ${RM} -f {} \;
+ @find ${WRKSRC} -name README.docs -type f -exec ${RM} -f {} \;
.for i in ${BONSAIPERLWC}
@${PERL} -pi -e 's@#!/usr/bonsaitools/bin/perl@#!/usr/bin/perl@' \
${WRKSRC}/$i
@@ -65,10 +66,13 @@ pre-install:
do-install:
${MKDIR} ${BUGZILLADIR}
find ${WRKSRC} \! -type d -maxdepth 1 \! -name UPGRADING* -exec \
- ${INSTALL_DATA} {} ${BUGZILLADIR} \;
+ ${INSTALL} ${COPY} -m 700 {} ${BUGZILLADIR} \;
.if !defined(NOPORTSDOCS)
${MKDIR} ${DOCSDIR}
${TAR} -C ${WRKSRC}/docs -cf - . | ${TAR} --unlink -C ${DOCSDIR} -xf -
.endif
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/devel/bugzilla/pkg-message b/devel/bugzilla/pkg-message
index 2d96f15c2be1..08e022f41af9 100644
--- a/devel/bugzilla/pkg-message
+++ b/devel/bugzilla/pkg-message
@@ -1,16 +1,22 @@
==========================================================================
+ Bugzilla has now been installed. To quick setup you have to:
- Bugzilla has now been installed. To get it up and running you have to:
+ 1. Create database user who has rights on bugs database manipulation
+ by following mysql commands:
- 1. Create bugs database at your MySQL server.
- 2. Run ${PREFIX}/www/data.default/checksetup.pl to create configuration
- file (you need to do it at installation time only)
- 3. Edit newly created ${PREFIX}/www/data.default/localconfig file
- to customize Bugzilla setup for your system
- 4. Run ${PREFIX}/www/data.default/checksetup.pl again to create required
- Bugzilla data directories and fix files permissions.
+ GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES \
+ ON <database>.* TO <dbuser>@<host> IDENTIFIED BY '<password>';
+ FLUSH PRIVILEGES;
- For more complete instructions on installation, setup and security notes
- read Bugzilla Guide in ${PREFIX}/share/doc/bugzilla (chapter 3: Installation)
+ where <database> is a bugs database name; <dbuser> is a bugs database
+ owner; <host> is a host there bugzilla is being setup;
+ <password> is a database owner's password;
+ 2. Change working directory to ${PREFIX}/www/data.default
+ 3. Run "./checksetup.pl" script as root user
+ 4. Read output carefully and follow all instructions
+
+ For more complete database setup and post-installation instructions
+ and security tips/notes please read Bugzilla Guide in
+ ${PREFIX}/share/doc/bugzilla (chapter 3: Installation)
==========================================================================
diff --git a/devel/bugzilla/pkg-plist b/devel/bugzilla/pkg-plist
index 85aa9bd0ad39..521be932370d 100644
--- a/devel/bugzilla/pkg-plist
+++ b/devel/bugzilla/pkg-plist
@@ -1,4 +1,3 @@
-%%PORTDOCS%%share/doc/bugzilla/README.docs
%%PORTDOCS%%share/doc/bugzilla/html/Bugzilla-Guide.html
%%PORTDOCS%%share/doc/bugzilla/html/about.html
%%PORTDOCS%%share/doc/bugzilla/html/aboutthisguide.html