Patch for beacon 1.3


Howdy. I've just been packaging up the beaconserver for Fedora Core 4
and was having problems with the locations that some of the files were
being installed. One solution to the problem I encountered is resolved
by the patch below (and attached).

I'm pretty sure that the beacon.conf file should be found in
@sysconfdir@ rather than @prefix@/etc.

If you agree please apply the patch.

thanks,

   -Greg

--- beacon-1.3-orig/src/beacon.in       2005-08-27 06:14:29.000000000
+1000
+++ beacon-1.3/src/beacon.in    2005-11-16 16:09:54.000000000 +1100
@@ -217,7 +217,7 @@
 my $MOTD;

 # Default configuration file
-my $CONFIGFILE = "@prefix@/etc/beacon.conf";
+my $CONFIGFILE = "@sysconfdir@/beacon.conf";

 # For filenames to use for stats output history
 my $HISTORYFILE                = "history.txt";                # Set it
to the default value.


-- 
Dr. Greg Wickham         GrangeNet Network Operations Manager
Phone: +61 2 6222 3552                              GrangeNet
Mob:   +61 4 0785 4566            CSIRO, Building 9, Banks St
Email: greg.wickham@grangenet.net          Yaralumla ACT 2600

--- beacon-1.3-orig/src/beacon.in	2005-08-27 06:14:29.000000000 +1000
+++ beacon-1.3/src/beacon.in	2005-11-16 16:09:54.000000000 +1100
@@ -217,7 +217,7 @@
 my $MOTD;
 
 # Default configuration file
-my $CONFIGFILE = "@prefix@/etc/beacon.conf";
+my $CONFIGFILE = "@sysconfdir@/beacon.conf";
 
 # For filenames to use for stats output history
 my $HISTORYFILE		= "history.txt";		# Set it to the default value.


Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index