[Rt-commit] rt branch 4.4/autoconf-ac-help-string created. rt-4.4.5-63-gd0633ac372

BPS Git Server git at git.bestpractical.com
Wed Apr 20 21:20:09 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 4.4/autoconf-ac-help-string has been created
        at  d0633ac3723759594d10ca8f07f78cd4cf4b3088 (commit)

- Log -----------------------------------------------------------------
commit d0633ac3723759594d10ca8f07f78cd4cf4b3088
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Apr 14 14:44:15 2022 -0400

    RT 4 and later do not support modperl 1, remove the option

diff --git a/configure.ac b/configure.ac
index bb034c4a4e..22fd18a176 100755
--- a/configure.ac
+++ b/configure.ac
@@ -46,14 +46,14 @@ dnl WEB_HANDLER
 AC_ARG_WITH(web-handler,
     AS_HELP_STRING([--with-web-handler=LIST],
 	[comma separated list of web-handlers RT will be able to use.
-         Default is fastcgi. Valid values are modperl1, modperl2, fastcgi and standalone.
+         Default is fastcgi. Valid values are modperl2, fastcgi and standalone.
          To successfully run RT you need only one.
         ]),
     WEB_HANDLER=$withval,
     WEB_HANDLER=fastcgi)
-my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl1|modperl2|fastcgi|fcgid|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV@<:@0@:>@' $WEB_HANDLER)
+my_web_handler_test=$($PERL -e 'print "ok" unless grep $_ !~ /^(modperl2|fastcgi|fcgid|standalone)$/i, grep defined && length, split /\s*,\s*/, $ARGV@<:@0@:>@' $WEB_HANDLER)
 if test "$my_web_handler_test" != "ok"; then
-	AC_MSG_ERROR([Only modperl1, modperl2, fastcgi, fcgid and standalone are valid web-handlers])
+	AC_MSG_ERROR([Only modperl2, fastcgi, fcgid and standalone are valid web-handlers])
 fi
 AC_SUBST(WEB_HANDLER)
 
diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in
index cc67847d8c..e6c3af341d 100644
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@ -66,7 +66,7 @@ GetOptions(
     \%args,
     'install!',
     'with-MYSQL', 'with-PG', 'with-SQLITE', 'with-ORACLE',
-    'with-FASTCGI', 'with-MODPERL1', 'with-MODPERL2', 'with-STANDALONE',
+    'with-FASTCGI', 'with-MODPERL2', 'with-STANDALONE',
 
     'with-DEVELOPER',
 
@@ -248,10 +248,6 @@ $deps{'FASTCGI'} = [ text_to_hash( << '.') ];
 FCGI 0.74
 .
 
-$deps{'MODPERL1'} = [ text_to_hash( << '.') ];
-Apache::Request
-.
-
 $deps{'MYSQL'} = [ text_to_hash( << '.') ];
 DBIx::SearchBuilder 1.68
 DBD::mysql 2.1018
@@ -683,8 +679,6 @@ These configure which backend database to add dependencies for.
 
 =item B<--with-fastcgi>
 
-=item B<--with-modperl1>
-
 =item B<--with-modperl2>
 
 These configure which interface between the webserver and RT to add

commit a5dafb0b581a5fc10ccc7cc96111246e35095074
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Apr 14 14:41:42 2022 -0400

    RT 3 is EOL so no one should be configuring an rt3 group

diff --git a/configure.ac b/configure.ac
index 9b7304f391..bb034c4a4e 100755
--- a/configure.ac
+++ b/configure.ac
@@ -215,7 +215,7 @@ AC_ARG_WITH(rt-group,
 	    AS_HELP_STRING([--with-rt-group=GROUP],
 	    		   [group to own all files (default: rt)]),
             RTGROUP=$withval,
-            ACRT_GROUP_GUESS([rt3 rt $WEB_GROUP],[RTGROUP], [rt]))
+            ACRT_GROUP_GUESS([rt $WEB_GROUP],[RTGROUP], [rt]))
 AC_SUBST(RTGROUP)
 
 dnl INSTALL AS ME

commit 4f4cc64373eb47b4258c31e2ba9a62565f4cfeae
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Apr 14 14:38:44 2022 -0400

    Removed unused Revision macro
    
    RT hasn't been managed in CVS in a long time, so no actual
    revision is put in the configure file.

diff --git a/configure.ac b/configure.ac
index 65f19cb5d5..9b7304f391 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,6 @@
 autoconf; exec ./configure $@
 dnl
 dnl Process this file with autoconf to produce a configure script
-dnl
-dnl Embed in generated ./configure script the following CVS info:
-AC_REVISION($Revision$)dnl
 
 dnl Setup autoconf
 AC_PREREQ([2.59])

commit 98113c5de50de223a7095fff7bc93bd726c8b33b
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Apr 14 14:33:01 2022 -0400

    Replace obsolete AC_HELP_STRING with supported AS_HELP_STRING
    
    AS_HELP_STRING has been available since version 2.59 in 2003.
    AC_HELP_STRING had continued to work even though it was deprecated,
    but recent versions of autoconf are displaying errors, so
    update to the supported macro.

diff --git a/aclocal.m4 b/aclocal.m4
index 793644f125..490bfea984 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -25,7 +25,7 @@ dnl
 
 AC_DEFUN([RT_ENABLE_LAYOUT],[
 AC_ARG_ENABLE(layout,
-	      AC_HELP_STRING([--enable-layout=LAYOUT],
+	      AS_HELP_STRING([--enable-layout=LAYOUT],
 	      		     [Use a specific directory layout (Default: relative)]),
 	      LAYOUT=$enableval)
 
diff --git a/configure.ac b/configure.ac
index a481d3d860..65f19cb5d5 100755
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ dnl Embed in generated ./configure script the following CVS info:
 AC_REVISION($Revision$)dnl
 
 dnl Setup autoconf
-AC_PREREQ([2.53])
+AC_PREREQ([2.59])
 AC_INIT(RT, m4_esyscmd([( git describe --tags || cat ./.tag 2> /dev/null || echo "rt-3.9.EXPORTED" )| tr -d "\n"]), [rt-bugs at bestpractical.com])
 AC_CONFIG_SRCDIR([lib/RT.pm])
 
@@ -47,7 +47,7 @@ AC_SUBST([FINDPERM])
 
 dnl WEB_HANDLER
 AC_ARG_WITH(web-handler,
-    AC_HELP_STRING([--with-web-handler=LIST],
+    AS_HELP_STRING([--with-web-handler=LIST],
 	[comma separated list of web-handlers RT will be able to use.
          Default is fastcgi. Valid values are modperl1, modperl2, fastcgi and standalone.
          To successfully run RT you need only one.
@@ -94,7 +94,7 @@ AC_DEFUN([ACRT_GROUP_GUESS],
 
 dnl BIN_OWNER
 AC_ARG_WITH(bin-owner,
-	    AC_HELP_STRING([--with-bin-owner=OWNER],
+	    AS_HELP_STRING([--with-bin-owner=OWNER],
 	    		   [user that will own RT binaries (default root)]),
             BIN_OWNER=$withval,
             BIN_OWNER=root)
@@ -102,7 +102,7 @@ AC_SUBST(BIN_OWNER)
 
 dnl LIBS_OWNER
 AC_ARG_WITH(libs-owner,
-	    AC_HELP_STRING([--with-libs-owner=OWNER],
+	    AS_HELP_STRING([--with-libs-owner=OWNER],
 	    		   [user that will own RT libraries (default root)]),
             LIBS_OWNER=$withval,
             LIBS_OWNER=root)
@@ -110,7 +110,7 @@ AC_SUBST(LIBS_OWNER)
 
 dnl LIBS_GROUP
 AC_ARG_WITH(libs-group,
-	    AC_HELP_STRING([--with-libs-group=GROUP],
+	    AS_HELP_STRING([--with-libs-group=GROUP],
 	    		   [group that will own RT libraries (default root)]),
             LIBS_GROUP=$withval,
             LIBS_GROUP=root)
@@ -118,7 +118,7 @@ AC_SUBST(LIBS_GROUP)
 
 dnl DB_TYPE
 AC_ARG_WITH(db-type,
-	    AC_HELP_STRING([--with-db-type=TYPE],
+	    AS_HELP_STRING([--with-db-type=TYPE],
 	    		   [sort of database RT will use (default: mysql) (mysql, Pg, Oracle and SQLite are valid)]), 
             DB_TYPE=$withval,
             DB_TYPE=mysql)
@@ -137,7 +137,7 @@ AC_SUBST(DATABASE_ENV_PREF)
 
 dnl DB_HOST
 AC_ARG_WITH(db-host,
-	    AC_HELP_STRING([--with-db-host=HOSTNAME],
+	    AS_HELP_STRING([--with-db-host=HOSTNAME],
 	    		   [FQDN of database server (default: localhost)]),
             DB_HOST=$withval,
             DB_HOST=localhost)
@@ -145,7 +145,7 @@ AC_SUBST(DB_HOST)
 
 dnl DB_PORT
 AC_ARG_WITH(db-port,
-	    AC_HELP_STRING([--with-db-port=PORT],
+	    AS_HELP_STRING([--with-db-port=PORT],
 	    		   [port on which the database listens on]),
             DB_PORT=$withval,
             DB_PORT=)
@@ -153,7 +153,7 @@ AC_SUBST(DB_PORT)
 
 dnl DB_RT_HOST
 AC_ARG_WITH(db-rt-host,
-	    AC_HELP_STRING([--with-db-rt-host=HOSTNAME],
+	    AS_HELP_STRING([--with-db-rt-host=HOSTNAME],
 	    		   [FQDN of RT server which talks to the database server (default: localhost)]),
             DB_RT_HOST=$withval,
             DB_RT_HOST=localhost)
@@ -166,7 +166,7 @@ else
         DB_DBA="root"
 fi
 AC_ARG_WITH(db-dba,
-	    AC_HELP_STRING([--with-db-dba=DBA],
+	    AS_HELP_STRING([--with-db-dba=DBA],
 	    		   [name of database administrator (default: root or postgres)]),
             DB_DBA=$withval,
             DB_DBA="$DB_DBA")
@@ -174,7 +174,7 @@ AC_SUBST(DB_DBA)
 
 dnl DB_DATABASE
 AC_ARG_WITH(db-database,
-	    AC_HELP_STRING([--with-db-database=DBNAME],
+	    AS_HELP_STRING([--with-db-database=DBNAME],
 	    		   [name of the database to use (default: rt4)]),
             DB_DATABASE=$withval,
             DB_DATABASE=rt4)
@@ -182,7 +182,7 @@ AC_SUBST(DB_DATABASE)
 
 dnl DB_RT_USER
 AC_ARG_WITH(db-rt-user,
-	    AC_HELP_STRING([--with-db-rt-user=DBUSER],
+	    AS_HELP_STRING([--with-db-rt-user=DBUSER],
 	    		   [name of database user (default: rt_user)]),
             DB_RT_USER=$withval,
             DB_RT_USER=rt_user)
@@ -190,7 +190,7 @@ AC_SUBST(DB_RT_USER)
 
 dnl DB_RT_PASS
 AC_ARG_WITH(db-rt-pass,
-	    AC_HELP_STRING([--with-db-rt-pass=PASSWORD],
+	    AS_HELP_STRING([--with-db-rt-pass=PASSWORD],
 	    		   [password for database user (default: rt_pass)]),
             DB_RT_PASS=$withval,
             DB_RT_PASS=rt_pass)
@@ -198,7 +198,7 @@ AC_SUBST(DB_RT_PASS)
 
 dnl WEB_USER
 AC_ARG_WITH(web-user,
-	    AC_HELP_STRING([--with-web-user=USER],
+	    AS_HELP_STRING([--with-web-user=USER],
 	    		   [user the web server runs as (default: www)]),
             WEB_USER=$withval,
             ACRT_USER_GUESS([www www-data apache httpd nobody],[WEB_USER],[www])
@@ -207,7 +207,7 @@ AC_SUBST(WEB_USER)
 
 dnl WEB_GROUP
 AC_ARG_WITH(web-group,
-	    AC_HELP_STRING([--with-web-group=GROUP],
+	    AS_HELP_STRING([--with-web-group=GROUP],
 		           [group the web server runs as (default: www)]),
             WEB_GROUP=$withval,
             ACRT_GROUP_GUESS([www www-data apache httpd nogroup nobody],[WEB_GROUP], [www]))
@@ -215,7 +215,7 @@ AC_SUBST(WEB_GROUP)
 
 dnl RTGROUP
 AC_ARG_WITH(rt-group,
-	    AC_HELP_STRING([--with-rt-group=GROUP],
+	    AS_HELP_STRING([--with-rt-group=GROUP],
 	    		   [group to own all files (default: rt)]),
             RTGROUP=$withval,
             ACRT_GROUP_GUESS([rt3 rt $WEB_GROUP],[RTGROUP], [rt]))
@@ -225,7 +225,7 @@ dnl INSTALL AS ME
 my_group=$($PERL -MPOSIX=getgid -le 'print scalar getgrgid getgid')
 my_user=${USER:-$LOGNAME}
 AC_ARG_WITH(my-user-group,
-            AC_HELP_STRING([--with-my-user-group],
+            AS_HELP_STRING([--with-my-user-group],
                            [set all users and groups to current user/group]),
             RTGROUP=$my_group
             BIN_OWNER=$my_user
@@ -244,7 +244,7 @@ AC_MSG_CHECKING([if database name is set])
 dnl Dependencies for testing and developing RT
 AC_ARG_WITH(developer,[],RT_DEVELOPER=$withval,RT_DEVELOPER="0")
 AC_ARG_ENABLE(developer,
-            AC_HELP_STRING([--enable-developer],
+            AS_HELP_STRING([--enable-developer],
                            [Add dependencies needed for testing and developing RT]),
             RT_DEVELOPER=$enableval,
             RT_DEVELOPER=$RT_DEVELOPER)
@@ -259,7 +259,7 @@ dnl RT's GraphViz dependency charts
 AC_CHECK_PROG([RT_GRAPHVIZ], [dot], "yes", "no")
 AC_ARG_WITH(graphviz,[],RT_GRAPHVIZ=$withval)
 AC_ARG_ENABLE(graphviz,
-            AC_HELP_STRING([--enable-graphviz],
+            AS_HELP_STRING([--enable-graphviz],
                            [Turns on support for RT's GraphViz dependency charts]),
             RT_GRAPHVIZ=$enableval)
 if test "$RT_GRAPHVIZ" = yes; then
@@ -273,7 +273,7 @@ dnl RT's GD pie and bar charts
 AC_CHECK_PROG([RT_GD], [gdlib-config], "yes", "no")
 AC_ARG_WITH(gd,[],RT_GD=$withval)
 AC_ARG_ENABLE(gd,
-            AC_HELP_STRING([--enable-gd],
+            AS_HELP_STRING([--enable-gd],
                            [Turns on support for RT's GD pie and bar charts]),
             RT_GD=$enableval)
 if test "$RT_GD" = yes; then
@@ -291,7 +291,7 @@ else
         RT_GPG_DEPS="0"
 fi
 AC_ARG_ENABLE(gpg,
-            AC_HELP_STRING([--enable-gpg],
+            AS_HELP_STRING([--enable-gpg],
                            [Turns on GNU Privacy Guard (GPG) support]),
             RT_GPG=$enableval)
 if test "$RT_GPG" = yes; then
@@ -317,7 +317,7 @@ else
         RT_SMIME_DEPS="0"
 fi
 AC_ARG_ENABLE(smime,
-            AC_HELP_STRING([--enable-smime],
+            AS_HELP_STRING([--enable-smime],
                            [Turns on Secure MIME (SMIME) support]),
             RT_SMIME=$enableval)
 if test "$RT_SMIME" = yes; then
@@ -337,7 +337,7 @@ AC_SUBST(RT_SMIME)
 dnl Dependencies for external auth
 AC_ARG_WITH(externalauth,[],RT_EXTERNALAUTH=$withval,RT_EXTERNALAUTH="0")
 AC_ARG_ENABLE(externalauth,
-            AC_HELP_STRING([--enable-externalauth],
+            AS_HELP_STRING([--enable-externalauth],
                            [Add dependencies needed for external auth]),
             RT_EXTERNALAUTH=$enableval,
             RT_EXTERNALAUTH=$RT_EXTERNALAUTH)
@@ -350,7 +350,7 @@ AC_SUBST(RT_EXTERNALAUTH)
 
 dnl ExternalStorage
 AC_ARG_WITH(attachment-store,
-	    AC_HELP_STRING([--with-attachment-store=TYPE],
+	    AS_HELP_STRING([--with-attachment-store=TYPE],
 	    		   [which attachment storage RT will use for attachments (default: database) (database, disk, S3 and Dropbox are valid)]), 
             ATTACHMENT_STORE=$withval,
             ATTACHMENT_STORE=database)

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


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list