Get raddb/certs/bootstrap to work on systems where make is not gnu make

Scott Lambert lambert at lambertfam.org
Wed Oct 10 23:55:45 CEST 2007


Attached is a simplistic patch to get raddb/certs/bootstrap to work on
systems where make is not GNU make.

The patch is to:

  radiusd/configure to add ./raddb/certs/bootstrap to the
  ac_config_files.

  radiusd/raddb/certs/bootstrap to get it ready to be repo-copied to
  radiusd/raddb/certs/bootstrap.in.

  I think radiusd/raddb/certs/bootstrap with then need to be "cvs rm"ed.

Hopefully it will be useful.

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
lambert at lambertfam.org

-------------- next part --------------
Index: configure
===================================================================
RCS file: /source/radiusd/configure,v
retrieving revision 1.134
diff -u -r1.134 configure
--- configure	5 Aug 2007 23:38:44 -0000	1.134
+++ configure	10 Oct 2007 21:50:38 -0000
@@ -25327,7 +25327,7 @@
   unset ac_cv_env_LIBS_set
   unset ac_cv_env_LIBS_value
 
-  ac_config_files="$ac_config_files ./Make.inc ./src/include/build-radpaths-h ./src/main/Makefile ./src/main/checkrad.pl ./src/main/radlast ./src/main/radtest ./scripts/rc.radiusd ./scripts/radwatch ./scripts/check-radiusd-config ./scripts/radiusd.cron.daily ./scripts/radiusd.cron.monthly ./scripts/cryptpasswd ./raddb/dictionary ./raddb/radiusd.conf ./raddb/vmpsd.conf ./raddb/radrelay.conf"
+  ac_config_files="$ac_config_files ./Make.inc ./src/include/build-radpaths-h ./src/main/Makefile ./src/main/checkrad.pl ./src/main/radlast ./src/main/radtest ./scripts/rc.radiusd ./scripts/radwatch ./scripts/check-radiusd-config ./scripts/radiusd.cron.daily ./scripts/radiusd.cron.monthly ./scripts/cryptpasswd ./raddb/dictionary ./raddb/radiusd.conf ./raddb/vmpsd.conf ./raddb/radrelay.conf ./raddb/certs/bootstrap"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
Index: raddb/certs/bootstrap
===================================================================
RCS file: /source/radiusd/raddb/certs/bootstrap,v
retrieving revision 1.3
diff -u -r1.3 bootstrap
--- raddb/certs/bootstrap	19 Aug 2007 16:08:14 -0000	1.3
+++ raddb/certs/bootstrap	10 Oct 2007 21:50:38 -0000
@@ -12,4 +12,4 @@
 #
 umask 027
 cd `dirname $0`
-make ca server dh random
+ at MAKE@ ca server dh random


More information about the Freeradius-Users mailing list