mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 16:10:33 -04:00
ChangeLogs: http://www.bestpractical.com/rt/release-notes/4.0.12 Note: There has been a change to the database schema. Administrators will need to use rt-setup-database to apply the update, as described in pkg-message.
79 lines
3.2 KiB
Text
79 lines
3.2 KiB
Text
|
|
$FreeBSD$
|
|
|
|
--- Makefile.in.orig
|
|
+++ Makefile.in
|
|
@@ -59,7 +59,7 @@
|
|
|
|
CONFIG_FILE_PATH = @CONFIG_FILE_PATH_R@
|
|
CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_Config.pm
|
|
-SITE_CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_SiteConfig.pm
|
|
+SITE_CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_SiteConfig.pm-dist
|
|
|
|
|
|
RT_VERSION_MAJOR = @RT_VERSION_MAJOR@
|
|
@@ -109,7 +109,7 @@
|
|
RT_FONT_PATH = @RT_FONT_PATH_R@
|
|
RT_LEXICON_PATH = @RT_LEXICON_PATH_R@
|
|
RT_LOCAL_PATH = @RT_LOCAL_PATH_R@
|
|
-LOCAL_PLUGIN_PATH = @RT_LOCAL_PATH_R@/plugins
|
|
+LOCAL_PLUGIN_PATH = @RT_LOCAL_PATH_R@/share/rt40/plugins
|
|
LOCAL_ETC_PATH = @LOCAL_ETC_PATH_R@
|
|
LOCAL_LIB_PATH = @LOCAL_LIB_PATH_R@
|
|
LOCAL_LEXICON_PATH = @LOCAL_LEXICON_PATH_R@
|
|
@@ -269,16 +269,13 @@
|
|
depends: fixdeps
|
|
|
|
fixdeps:
|
|
- $(PERL) ./sbin/rt-test-dependencies --verbose --install --with-$(DB_TYPE) $(my_with_web_handlers)
|
|
+ $(PERL) ./sbin/rt-test-dependencies --verbose --with-$(DB_TYPE) $(my_with_web_handlers)
|
|
|
|
#}}}
|
|
|
|
fixperms:
|
|
# Make the libraries readable
|
|
chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_PATH)
|
|
- chown -R $(LIBS_OWNER) $(DESTDIR)$(RT_LIB_PATH)
|
|
- chgrp -R $(LIBS_GROUP) $(DESTDIR)$(RT_LIB_PATH)
|
|
- chmod -R u+rwX,go-w,go+rX $(DESTDIR)$(RT_LIB_PATH)
|
|
|
|
|
|
chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_BIN_PATH)
|
|
@@ -300,14 +297,6 @@
|
|
# Make the system binaries executable also
|
|
cd $(DESTDIR)$(RT_SBIN_PATH) && ( chmod 0755 $(SYSTEM_BINARIES) ; chown $(BIN_OWNER) $(SYSTEM_BINARIES); chgrp $(RTGROUP) $(SYSTEM_BINARIES))
|
|
|
|
- # Make upgrade scripts executable if they are in the source.
|
|
- #
|
|
- # Note that we use the deprecated (by GNU/POSIX find) -perm +0NNN syntax
|
|
- # instead of -perm /0NNN since BSD find doesn't support the latter.
|
|
- ( cd etc/upgrade && find . -type f -not -name '*.in' -perm +0111 -print ) | while read file ; do \
|
|
- chmod a+x "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$file" ; \
|
|
- done
|
|
-
|
|
# Make the web ui readable by all.
|
|
chmod -R u+rwX,go-w,go+rX $(DESTDIR)$(MASON_HTML_PATH) \
|
|
$(DESTDIR)$(MASON_LOCAL_HTML_PATH) \
|
|
@@ -348,7 +337,7 @@
|
|
|
|
install: testdeps config-install dirs files-install fixperms instruct
|
|
|
|
-files-install: libs-install etc-install config-install bin-install sbin-install html-install local-install doc-install font-install po-install
|
|
+files-install: libs-install etc-install config-install bin-install sbin-install html-install doc-install font-install po-install
|
|
|
|
config-install:
|
|
@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -o $(BIN_OWNER) -g $(RTGROUP) -d $(DESTDIR)$(CONFIG_FILE_PATH)
|
|
@@ -435,13 +424,6 @@
|
|
@COMMENT_INPLACE_LAYOUT@ for file in $(ETC_FILES) ; do \
|
|
@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0644 "etc/$$file" "$(DESTDIR)$(RT_ETC_PATH)/" ; \
|
|
@COMMENT_INPLACE_LAYOUT@ done
|
|
-@COMMENT_INPLACE_LAYOUT@ [ -d $(DESTDIR)$(RT_ETC_PATH)/upgrade ] || $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_ETC_PATH)/upgrade
|
|
-@COMMENT_INPLACE_LAYOUT@ -( cd etc/upgrade && find . -type d -print ) | while read dir ; do \
|
|
-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -d "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$dir" ; \
|
|
-@COMMENT_INPLACE_LAYOUT@ done
|
|
-@COMMENT_INPLACE_LAYOUT@ -( cd etc/upgrade && find . -type f -not -name '*.in' -print ) | while read file ; do \
|
|
-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0644 "etc/upgrade/$$file" "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$file" ; \
|
|
-@COMMENT_INPLACE_LAYOUT@ done
|
|
|
|
|
|
sbin-install:
|