ports/106938: update www/rt36 to latest release
Vivek Khera
vivek at khera.org
Tue Dec 19 21:31:03 UTC 2006
>Number: 106938
>Category: ports
>Synopsis: update www/rt36 to latest release
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 19 21:30:33 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Vivek Khera
>Release: FreeBSD 6.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD yertle.int.kciLink.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #2: Thu Oct 5 11:09:13 EDT 2006 khera at yertle.int.kciLink.com:/usr/obj/usr/src/sys/KCI64DBG amd64
>Description:
upgrade www/rt36 to latest version. correct error of not applying all DB
patches when upgrading from older port.
>How-To-Repeat:
>Fix:
diff -Pru rt36/Makefile rt36.new/Makefile
--- rt36/Makefile Thu Aug 31 14:59:17 2006
+++ rt36.new/Makefile Tue Dec 19 14:37:19 2006
@@ -6,8 +6,8 @@
#
PORTNAME= rt
-PORTVERSION?= 3.6.1
-PORTREVISION= 1
+PORTVERSION?= 3.6.2
+PORTREVISION= 0
CATEGORIES= www
MASTER_SITES?= http://download.bestpractical.com/pub/rt/release/ \
http://download.bestpractical.com/pub/rt/devel/ \
@@ -146,7 +146,7 @@
.if defined(UPGRADE_RT30) || defined(UPGRADE_RT32)
UPGRADES+= 3.3.0 3.3.11
.endif
-.if defined(UPGRADE_RT34)
+.if defined(UPGRADE_RT30) || defined(UPGRADE_RT32) || defined(UPGRADE_RT34)
UPGRADES+= 3.5.1
.endif
diff -Pru rt36/distinfo rt36.new/distinfo
--- rt36/distinfo Tue Aug 15 12:42:15 2006
+++ rt36.new/distinfo Tue Dec 19 14:59:18 2006
@@ -1,6 +1,6 @@
-MD5 (rt-3.6.1.tar.gz) = 40c5a828fadaeef9e150255a517d0b17
-SHA256 (rt-3.6.1.tar.gz) = 0925018dc29d2fa1a6d91480c0ea4d1a517ddfd4e3094db3525a30fb2a04b467
-SIZE (rt-3.6.1.tar.gz) = 1545708
-MD5 (rt-3.6.1.tar.gz.sig) = 07e4eaa15a4b814ac95c923e12e297dd
-SHA256 (rt-3.6.1.tar.gz.sig) = 1542ffc9d86d5d446db4462a0d5a253ccb1b42a502cf535a307bb1b2ee8ef2df
-SIZE (rt-3.6.1.tar.gz.sig) = 65
+MD5 (rt-3.6.2.tar.gz) = 4c9dac30ba5c4c4cd7b570d2b8d5bca8
+SHA256 (rt-3.6.2.tar.gz) = adf7694aad2f4301572f5e1f65c0f289e015459b97e99384497c2b0054634684
+SIZE (rt-3.6.2.tar.gz) = 1590955
+MD5 (rt-3.6.2.tar.gz.sig) = 05c71c301200ec18a0875febf1f73f9d
+SHA256 (rt-3.6.2.tar.gz.sig) = 769978c4676b8f8792e99b4cd37f0ba07877679485f25d3a307429efbee59bca
+SIZE (rt-3.6.2.tar.gz.sig) = 65
diff -Pru rt36/files/patch-Makefile_in rt36.new/files/patch-Makefile_in
--- rt36/files/patch-Makefile_in Sat Sep 10 15:51:13 2005
+++ rt36.new/files/patch-Makefile_in Tue Dec 19 15:43:02 2006
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Apr 1 11:18:10 2005
-+++ Makefile.in Wed May 4 17:00:58 2005
+--- Makefile.in.orig Mon Jun 19 18:44:04 2006
++++ Makefile.in Tue Dec 19 15:42:41 2006
@@ -224,9 +224,6 @@
@echo "very dangerous. Note that you do not have to manually add a "
@echo "database user or set up a database for RT. These actions will be "
@@ -10,16 +10,29 @@
# @echo " or by executing "
# @echo " '$(RT_SBIN_PATH)/rt-setup-database --action init \ "
-@@ -284,7 +281,7 @@
+@@ -276,15 +273,18 @@
+ chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)/$(RT_BIN_PATH)
+
+ chmod 0755 $(DESTDIR)/$(RT_ETC_PATH)
+- chmod 0500 $(DESTDIR)/$(RT_ETC_PATH)/*
++ chmod 0400 $(DESTDIR)/$(RT_ETC_PATH)/*
+
+ #TODO: the config file should probably be able to have its
+ # owner set separately from the binaries.
+ chown -R $(BIN_OWNER) $(DESTDIR)/$(RT_ETC_PATH)
chgrp -R $(RTGROUP) $(DESTDIR)/$(RT_ETC_PATH)
- chmod 0550 $(DESTDIR)/$(CONFIG_FILE)
+- chmod 0550 $(DESTDIR)/$(CONFIG_FILE)
- chmod 0550 $(DESTDIR)/$(SITE_CONFIG_FILE)
-+ chmod 0550 $(DESTDIR)/$(SITE_CONFIG_FILE)-dist
++ chmod 0440 $(DESTDIR)/$(CONFIG_FILE)
++ chmod 0440 $(DESTDIR)/$(SITE_CONFIG_FILE)-dist
++ -chmod 0640 $(DESTDIR)/$(SITE_CONFIG_FILE)
++ chgrp $(WEB_GROUP) $(DESTDIR)/$(CONFIG_FILE)
++ -chgrp $(WEB_GROUP) $(DESTDIR)/$(SITE_CONFIG_FILE)
# Make the interfaces executable
chown $(BIN_OWNER) $(BINARIES)
-@@ -331,13 +328,13 @@
+@@ -331,13 +331,13 @@
config-install:
mkdir -p $(DESTDIR)/$(CONFIG_FILE_PATH)
-cp etc/RT_Config.pm $(DESTDIR)/$(CONFIG_FILE)
diff -Pru rt36/pkg-message rt36.new/pkg-message
--- rt36/pkg-message Tue Nov 18 04:21:10 2003
+++ rt36.new/pkg-message Tue Dec 19 15:12:17 2006
@@ -9,6 +9,7 @@
3. Restart Apache.
4. Do remember to *CHANGE* the root's password for the web interface.
The default is "password" (without the quotes.)
-5. Configure RT per the instructions at http://www.fsck.com/rtfm/.
+5. Configure RT per the instructions at
+ http://www.bestpractical.com/rt/docs.html
=====================================================================
diff -Pru rt36/pkg-plist rt36.new/pkg-plist
--- rt36/pkg-plist Tue Aug 15 12:42:15 2006
+++ rt36.new/pkg-plist Tue Dec 19 15:08:25 2006
@@ -197,6 +197,7 @@
%%RTPLIST%%/lib/t/data/8859-15-message-series/msg6
%%RTPLIST%%/lib/t/data/8859-15-message-series/msg7
%%RTPLIST%%/lib/t/data/crashes-file-based-parser
+%%RTPLIST%%/lib/t/data/lorem-ipsum
%%RTPLIST%%/lib/t/data/multipart-alternative-with-umlaut
%%RTPLIST%%/lib/t/data/multipart-report
%%RTPLIST%%/lib/t/data/nested-mime-sample
@@ -206,14 +207,18 @@
%%RTPLIST%%/lib/t/data/notes-uuencoded
%%RTPLIST%%/lib/t/data/rt-send-cc
%%RTPLIST%%/lib/t/data/russian-subject-no-content-type
+%%RTPLIST%%/lib/t/data/subject-with-folding-ws
%%RTPLIST%%/lib/t/data/text-html-in-russian
%%RTPLIST%%/lib/t/data/text-html-with-umlaut
+%%RTPLIST%%/lib/t/data/very-long-subject
+%%RTPLIST%%/lib/t/regression/00-mason-syntax.t
%%RTPLIST%%/lib/t/regression/01ticket_link_searching.t
%%RTPLIST%%/lib/t/regression/02basic_web.t
%%RTPLIST%%/lib/t/regression/03web_compiliation_errors.t
%%RTPLIST%%/lib/t/regression/04send_email.t
%%RTPLIST%%/lib/t/regression/05cronsupport.t
%%RTPLIST%%/lib/t/regression/06mailgateway.t
+%%RTPLIST%%/lib/t/regression/06-mime_decoding.t
%%RTPLIST%%/lib/t/regression/07acl.t
%%RTPLIST%%/lib/t/regression/07rights.t
%%RTPLIST%%/lib/t/regression/08web_cf_access.t
@@ -259,6 +264,7 @@
%%RTPLIST%%/share/html/Admin/CustomFields/index.html
%%RTPLIST%%/share/html/Admin/Elements/AddCustomFieldValue
%%RTPLIST%%/share/html/Admin/Elements/CreateUserCalled
+%%RTPLIST%%/share/html/Admin/Elements/ConfigureMyRT
%%RTPLIST%%/share/html/Admin/Elements/CustomFieldTabs
%%RTPLIST%%/share/html/Admin/Elements/EditCustomField
%%RTPLIST%%/share/html/Admin/Elements/EditCustomFieldValues
@@ -304,6 +310,7 @@
%%RTPLIST%%/share/html/Admin/Global/CustomFields/Users.html
%%RTPLIST%%/share/html/Admin/Global/CustomFields/index.html
%%RTPLIST%%/share/html/Admin/Global/GroupRights.html
+%%RTPLIST%%/share/html/Admin/Global/MyRT.html
%%RTPLIST%%/share/html/Admin/Global/Scrip.html
%%RTPLIST%%/share/html/Admin/Global/Scrips.html
%%RTPLIST%%/share/html/Admin/Global/Template.html
@@ -334,6 +341,7 @@
%%RTPLIST%%/share/html/Admin/Users/History.html
%%RTPLIST%%/share/html/Admin/Users/Memberships.html
%%RTPLIST%%/share/html/Admin/Users/Modify.html
+%%RTPLIST%%/share/html/Admin/Users/MyRT.html
%%RTPLIST%%/share/html/Admin/Users/index.html
%%RTPLIST%%/share/html/Admin/autohandler
%%RTPLIST%%/share/html/Admin/index.html
@@ -617,6 +625,7 @@
%%RTPLIST%%/share/html/User/Groups/index.html
%%RTPLIST%%/share/html/User/Prefs.html
%%RTPLIST%%/share/html/Widgets/ComboBox
+%%RTPLIST%%/share/html/Widgets/SavedSearch
%%RTPLIST%%/share/html/Widgets/SelectionBox
%%RTPLIST%%/share/html/Widgets/TitleBox
%%RTPLIST%%/share/html/Widgets/TitleBoxEnd
@@ -707,6 +716,6 @@
@dirrm %%RTPLIST%%/lib/RT/Action
@dirrm %%RTPLIST%%/lib/RT
@dirrm %%RTPLIST%%/lib
- at unexec rmdir %%RT_PATH%%/etc 2> /dev/null || true
+ at dirrmtry %%RT_PATH%%/etc
@dirrm %%RTPLIST%%/bin
@dirrm %%RTPLIST%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list