From 41034c76006992a34260e48697086aafda4e6ec0 Mon Sep 17 00:00:00 2001 From: skv Date: Mon, 1 Feb 2010 16:53:26 +0000 Subject: - Update to 3.4.5 [1] - Use $SUB_FILES & $SUB_LIST to dynamically adjust pkg-message [2] Changes: http://www.bugzilla.org/security/3.0.10/ [1] Security: http://www.vuxml.org/freebsd/696053c6-0f50-11df-a628-001517351c22.html PR: ports/142446 [2] Submitted by: Sevan Janiyan [2] --- devel/bugzilla3/Makefile | 11 +++++------ devel/bugzilla3/distinfo | 6 +++--- devel/bugzilla3/files/pkg-message.in | 33 +++++++++++++++++++++++++++++++++ devel/bugzilla3/pkg-message | 33 --------------------------------- 4 files changed, 41 insertions(+), 42 deletions(-) create mode 100644 devel/bugzilla3/files/pkg-message.in delete mode 100644 devel/bugzilla3/pkg-message (limited to 'devel/bugzilla3') diff --git a/devel/bugzilla3/Makefile b/devel/bugzilla3/Makefile index 9842de687b0a..13e7dc6dcca8 100644 --- a/devel/bugzilla3/Makefile +++ b/devel/bugzilla3/Makefile @@ -6,8 +6,7 @@ # PORTNAME?= bugzilla -PORTVERSION?= 3.4.4 -PORTREVISION= 2 +PORTVERSION?= 3.4.5 CATEGORIES?= devel MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= webtools webtools/archived @@ -61,10 +60,14 @@ BUGZILLADIR= ${PREFIX}/www/data/bugzilla .endif .endif +SUB_FILES= pkg-message +SUB_LIST= BUGZILLADIR=${BUGZILLADIR} PLIST_SUB+= BUGZILLADIR=${BUGZILLADIR:S!^${PREFIX}/!!} DATA_DIRS_LIST= images js skins +NO_BUILD= + .include .ifdef WITH_MYSQL @@ -160,10 +163,6 @@ post-patch: @${FIND} ${WRKSRC}/docs -type f | \ ${XARGS} ${REINPLACE_CMD} -i '' -e "s!/var/www/html/bugzilla!${BUGZILLADIR}!" -do-build: - @${SED} -e "s:%%BUGZILLADIR%%:${BUGZILLADIR}:g; s:%%DOCSDIR%%:${DOCSDIR}:g" \ - ${MASTERDIR}/pkg-message >${PKGMESSAGE} - do-install: ${MKDIR} ${BUGZILLADIR} ${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \ diff --git a/devel/bugzilla3/distinfo b/devel/bugzilla3/distinfo index 9232c36ce40b..faf433c597ec 100644 --- a/devel/bugzilla3/distinfo +++ b/devel/bugzilla3/distinfo @@ -1,3 +1,3 @@ -MD5 (bugzilla-3.4.4.tar.gz) = a59031c15fb79e9096c0a350c2382cfe -SHA256 (bugzilla-3.4.4.tar.gz) = 95867db877ac3c812d1c02b37816718bd512c8e5a346131f1414a2832ba3f94e -SIZE (bugzilla-3.4.4.tar.gz) = 2466938 +MD5 (bugzilla-3.4.5.tar.gz) = 42c7f6bf31be3198cbf1f55fffaff441 +SHA256 (bugzilla-3.4.5.tar.gz) = 313fbdc35c15f47d2d56d4cf1450fe27edddf4621783fad6183dec1a6e5ae6eb +SIZE (bugzilla-3.4.5.tar.gz) = 2468790 diff --git a/devel/bugzilla3/files/pkg-message.in b/devel/bugzilla3/files/pkg-message.in new file mode 100644 index 000000000000..c0dcba2e7137 --- /dev/null +++ b/devel/bugzilla3/files/pkg-message.in @@ -0,0 +1,33 @@ +========================================================================== + Bugzilla has now been installed. To quick setup you have to: + + 1. Create database user who has rights on bugs database manipulation + by following mysql commands (for MySQL 4.0 or later): + + GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES, + CREATE TEMPORARY TABLES, DROP, REFERENCES + ON .* TO @ + IDENTIFIED BY ''; + FLUSH PRIVILEGES; + + where is a bugs database name; is a bugs database + owner; is a host there bugzilla is being setup; + is a database owner's password; + + 2. Change working directory to %%BUGZILLADIR%% + 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 + %%DOCSDIR%%/en/html/ (chapter 2: "Installing Bugzilla") +========================================================================== + +For upgrades: + 0. Back up your data. + 1. Run "./checksetup.pl" inside %%BUGZILLADIR%%. You may need to + run it several times. + 2. Restart your Web server, especially if you're using mod_perl: this + will save you from a number of troubles. + +========================================================================== diff --git a/devel/bugzilla3/pkg-message b/devel/bugzilla3/pkg-message deleted file mode 100644 index c0dcba2e7137..000000000000 --- a/devel/bugzilla3/pkg-message +++ /dev/null @@ -1,33 +0,0 @@ -========================================================================== - Bugzilla has now been installed. To quick setup you have to: - - 1. Create database user who has rights on bugs database manipulation - by following mysql commands (for MySQL 4.0 or later): - - GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, LOCK TABLES, - CREATE TEMPORARY TABLES, DROP, REFERENCES - ON .* TO @ - IDENTIFIED BY ''; - FLUSH PRIVILEGES; - - where is a bugs database name; is a bugs database - owner; is a host there bugzilla is being setup; - is a database owner's password; - - 2. Change working directory to %%BUGZILLADIR%% - 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 - %%DOCSDIR%%/en/html/ (chapter 2: "Installing Bugzilla") -========================================================================== - -For upgrades: - 0. Back up your data. - 1. Run "./checksetup.pl" inside %%BUGZILLADIR%%. You may need to - run it several times. - 2. Restart your Web server, especially if you're using mod_perl: this - will save you from a number of troubles. - -========================================================================== -- cgit