[Rt-commit] rt branch, 4.0/validate-aliases, updated. rt-4.0.5-113-gd39fc4e

Kevin Falcone falcone at bestpractical.com
Fri Aug 24 13:53:25 EDT 2012


The branch, 4.0/validate-aliases has been updated
       via  d39fc4e28ab2e9e16a8e4f369ac0acda4d1d954f (commit)
      from  8adf65cc469c83b4fb7b71c01b03f5b9c05c971a (commit)

Summary of changes:
 Makefile.in                                        |  2 +-
 configure.ac                                       |  1 +
 ...{rt-validate-aliases => rt-validate-aliases.in} | 52 ++++++++++++++++++++--
 3 files changed, 51 insertions(+), 4 deletions(-)
 rename sbin/{rt-validate-aliases => rt-validate-aliases.in} (81%)

- Log -----------------------------------------------------------------
commit d39fc4e28ab2e9e16a8e4f369ac0acda4d1d954f
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Aug 24 13:42:46 2012 -0400

    Make this a .in file because it needs RT libraries

diff --git a/Makefile.in b/Makefile.in
index 2873022..ab5d140 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -155,7 +155,7 @@ SYSTEM_BINARIES		=	rt-attributes-viewer \
 				rt-setup-fulltext-index \
 				rt-shredder \
 				rt-test-dependencies \
-				rt-validator \
+				rt-validate-aliases \
 				standalone_httpd
 
 
diff --git a/configure.ac b/configure.ac
index e405243..ce35320 100755
--- a/configure.ac
+++ b/configure.ac
@@ -424,6 +424,7 @@ AC_CONFIG_FILES([
                  sbin/rt-clean-sessions
                  sbin/rt-shredder
                  sbin/rt-validator
+                 sbin/rt-validate-aliases
                  sbin/rt-email-group-admin
                  sbin/rt-server
                  sbin/rt-server.fcgi
diff --git a/sbin/rt-validate-aliases b/sbin/rt-validate-aliases.in
similarity index 81%
rename from sbin/rt-validate-aliases
rename to sbin/rt-validate-aliases.in
index 34c675d..46ae8aa 100644
--- a/sbin/rt-validate-aliases
+++ b/sbin/rt-validate-aliases.in
@@ -1,5 +1,51 @@
-#!/usr/bin/perl
-
+#!@PERL@
+# BEGIN BPS TAGGED BLOCK {{{
+#
+# COPYRIGHT:
+#
+# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
+#                                          <sales at bestpractical.com>
+#
+# (Except where explicitly superseded by other copyright notices)
+#
+#
+# LICENSE:
+#
+# This work is made available to you under the terms of Version 2 of
+# the GNU General Public License. A copy of that license should have
+# been provided with this software, but in any event can be snarfed
+# from www.gnu.org.
+#
+# This work is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301 or visit their web page on the internet at
+# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
+#
+#
+# CONTRIBUTION SUBMISSION POLICY:
+#
+# (The following paragraph is not intended to limit the rights granted
+# to you to modify and distribute this software under the terms of
+# the GNU General Public License and is only of importance to you if
+# you choose to contribute your changes and enhancements to the
+# community by submitting them to Best Practical Solutions, LLC.)
+#
+# By intentionally submitting any modifications, corrections or
+# derivatives to this work, or any other work intended for use with
+# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+# you are the copyright holder for those contributions and you grant
+# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
+# royalty-free, perpetual, license to use, copy, create derivative
+# works based on those contributions, and sublicense and distribute
+# those contributions and any derivatives thereof.
+#
+# END BPS TAGGED BLOCK }}}
 use strict;
 use warnings;
 use Text::ParseWords qw//;
@@ -8,7 +54,7 @@ use Getopt::Long;
 BEGIN { # BEGIN RT CMD BOILERPLATE
     require File::Spec;
     require Cwd;
-    my @libs = ("lib", "local/lib");
+    my @libs = ("@RT_LIB_PATH@", "@LOCAL_LIB_PATH@");
     my $bin_path;
 
     for my $lib (@libs) {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list