summaryrefslogtreecommitdiffstats
path: root/collab
diff options
context:
space:
mode:
authorVlad Glagolev2015-05-04 19:54:36 +0300
committerVlad Glagolev2015-12-24 11:14:30 +0300
commit8b22c790801d78acb76b784aa308892929b483a5 (patch)
tree64d5d40295ac32050f116459d52b7aead3c2412f /collab
parent80903fb7062c02a67dc181fd453867746bcfc350 (diff)
bugzilla: => 4.0.18 [security]
(cherry picked from commit ef81a1a3008a0c4b3e547151cbea3b77abb0b3b7)
Diffstat (limited to 'collab')
-rwxr-xr-xcollab/bugzilla/BUILD4
-rwxr-xr-xcollab/bugzilla/CONFIGURE3
-rwxr-xr-xcollab/bugzilla/DEPENDS10
-rwxr-xr-xcollab/bugzilla/DETAILS12
-rwxr-xr-xcollab/bugzilla/FINAL8
-rw-r--r--collab/bugzilla/HISTORY11
-rwxr-xr-xcollab/bugzilla/INSTALL8
7 files changed, 37 insertions, 19 deletions
diff --git a/collab/bugzilla/BUILD b/collab/bugzilla/BUILD
index 3613166e4f..27ba77ddaf 100755
--- a/collab/bugzilla/BUILD
+++ b/collab/bugzilla/BUILD
@@ -1,3 +1 @@
-# kill remnants of CVS, if any
-rm -fr $(find ./ -type d -and -name CVS) &&
-rm -fr $(find ./ -type f -and -name .cvsignore)
+true
diff --git a/collab/bugzilla/CONFIGURE b/collab/bugzilla/CONFIGURE
index 223b146d27..a2f0181e29 100755
--- a/collab/bugzilla/CONFIGURE
+++ b/collab/bugzilla/CONFIGURE
@@ -1,8 +1,9 @@
+# TODO: add SQLite support (present since 4.2)
config_query_list BUGZILLA_DATABASE "Which database backend would you like to use?" mysql postgresql &&
config_query BUGZILLA_CHARTING "Do you want all the things needed for bugzilla's graphs? (reccomended)" n &&
config_query BUGZILLA_PATCH "Do you want nifty patch abilities\
(Difference between patches, and pretty views)?" n &&
config_query BUGZILLA_DEPENDENCY_CHARTS "Do you want the things for bugzilla to do dependency charts?" n &&
-config_query BUGZILLA_IMPORT_EXPORT "Do you want to be ablet to import and export bugs? " n &&
+config_query BUGZILLA_IMPORT_EXPORT "Do you want to be able to import and export bugs? " n &&
config_query BUGZILLA_INBOUND_MAIL "Do you want bugzilla to be able to receive mail?" n &&
config_query BUGZILLA_HTML "Do you want bugzilla to handle more html (in product/group descriptions)?" n
diff --git a/collab/bugzilla/DEPENDS b/collab/bugzilla/DEPENDS
index 1ae880f9b9..b72b1b50d8 100755
--- a/collab/bugzilla/DEPENDS
+++ b/collab/bugzilla/DEPENDS
@@ -1,10 +1,13 @@
depends perl-cgi &&
-depends date-format &&
+depends timedate &&
+depends datetime &&
+depends datetime-timezone &&
depends dbi &&
-depends file-spec &&
depends template-toolkit &&
depends email-send &&
-depends email-mime-modifier &&
+depends email-mime &&
+depends uri &&
+depends list-moreutils &&
if [[ "$BUGZILLA_DATABASE" == "mysql" ]]; then
@@ -45,6 +48,7 @@ if [[ "$BUGZILLA_HTML" == "y" ]]; then
depends html-scrubber
fi &&
+optional_depends authen-sasl "" "" "for SMTP authentication support" &&
optional_depends imagemagick '' '' 'to convert bmp attachments to png' &&
optional_depends net-ldap '' '' 'for LDAP authentication' &&
optional_depends soap-lite '' '' 'For the web services interface' &&
diff --git a/collab/bugzilla/DETAILS b/collab/bugzilla/DETAILS
index 2c44246571..4a70263614 100755
--- a/collab/bugzilla/DETAILS
+++ b/collab/bugzilla/DETAILS
@@ -1,13 +1,13 @@
SPELL=bugzilla
- VERSION=3.4.2
- SOURCE_HASH=sha512:135aa2523ff494cb6e77c947502e5ca0761637f947119f14a0a6f26fadf5aa968762acae620082f1768f77d99a871938e6fe71e74e064d7d58cc1b078bc5f2df
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ VERSION=4.0.18
+ SECURITY_PATCH=4
SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=https://ftp.mozilla.org/pub/mozilla.org/webtools/${SOURCE}
+ SOURCE_HASH=sha512:d06346bd9efa2bee4aac5f7d57018fe5ddb2ba9fe749a3b3cbdf53ba8d3e39f7d8d3f0a56279c1bdcaa35396e53c86d5f261baaa42460e0c95c81cd35def2b48
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
LICENSE[0]=MPL
- SOURCE_URL[0]=http://ftp.mozilla.org/pub/mozilla.org/webtools/$SOURCE
- WEB_SITE=http://www.mozilla.org/projects/bugzilla/
+ WEB_SITE=http://www.bugzilla.org/
ENTERED=20020430
- SECURITY_PATCH=3
GATHER_DOCS=off
KEYWORDS="collab perl"
SHORT='Bugzilla is a web-based defect tracking system written in Perl'
diff --git a/collab/bugzilla/FINAL b/collab/bugzilla/FINAL
new file mode 100755
index 0000000000..bd44208d39
--- /dev/null
+++ b/collab/bugzilla/FINAL
@@ -0,0 +1,8 @@
+message "${PROBLEM_COLOR}
+NOTICE: ${MESSAGE_COLOR}never use "$INSTALL_ROOT/usr/share/$SPELL" path as your installation path.
+But instead recursively copy it to i.e. /var/www/bugzilla where you
+could point a web-server docroot to and run ./checksetup.pl script.
+Bugzilla will setup correct permissions according to your settings
+in the localconfig file. For more information see:
+
+https://www.bugzilla.org/docs/${VERSION%%.*}.0/en/html/installing-bugzilla.html${DEFAULT_COLOR}"
diff --git a/collab/bugzilla/HISTORY b/collab/bugzilla/HISTORY
index af3899408b..5da9f2a6dc 100644
--- a/collab/bugzilla/HISTORY
+++ b/collab/bugzilla/HISTORY
@@ -1,3 +1,14 @@
+2015-05-04 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS: updated spell to 4.0.18; SECURITY_PATCH++; updated website,
+ source url; quoting paths
+ * DEPENDS: date-format -> timedate, email-mime-modifier -> email-mime;
+ removed file-spec; added datetime, datetime-timezone, list-moreutils,
+ uri -- required; added authen-sasl -- optional
+ * CONFIGURE: corrected a typo; added a comment about upcoming sqlite
+ support
+ * BUILD: removed dirty hacks
+ * FINAL: added, for primitive installation notes
+
2009-09-14 David Kowis <dkowis@shlrm.org>
* DETAILS: MORE SECURITY FIX!
version to 3.4.2. No new goodies added, too much work :(
diff --git a/collab/bugzilla/INSTALL b/collab/bugzilla/INSTALL
index c6ae563018..5ffbf11ea3 100755
--- a/collab/bugzilla/INSTALL
+++ b/collab/bugzilla/INSTALL
@@ -1,6 +1,2 @@
-mkdir -p /usr/share/$SPELL &&
-cp -r ./ /usr/share/$SPELL/ &&
-chown -R nobody:nogroup /usr/share/$SPELL &&
-
-ln -fns $TRACK_ROOT/usr/share/$SPELL/docs /usr/share/doc/$SPELL
-
+cp -av "$SOURCE_DIRECTORY" "$INSTALL_ROOT/usr/share/" &&
+ln -nsf "$TRACK_ROOT/usr/share/$SPELL-$VERSION" "$INSTALL_ROOT/usr/share/bugzilla"