[[email protected]: problem with hdup 2.0.8-1]

"Francesco P. Lovergine" <[email protected]> Thu, 30 Jun 2005 12:00:05 +0200
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
2.0.8 hdup.h.in fucks configure directive for sysconfdir, I'm using
currently 

--- hdup.h.in	2005-03-18 11:10:17.000000000 +0100
+++ /tmp/hdup.h.in	2005-06-30 11:41:51.000000000 +0200
@@ -22,7 +22,7 @@
 #define LZOP_PROG	"@lzop@"
 #define SPLIT_PROG      "@split@"
 #define UNSPLIT_PROG    "@cat@"
-#define ETCFILE         "@prefix@/etc/hdup/hdup.conf"
+#define ETCFILE         "@sysconfdir@/hdup.conf"
 /* /usr/local/etc#"/etc/hdup/hdup.conf") */
 #define REMOTE_HDUP     "@prefix@/sbin/hdup"
 #define REMOTE_HDUP_OPT ""      /* default is empty */

Probably sysconfdir=/etc is better to be coherent with install target, anyway.
So, 

#define ETCFILE         "@sysconfdir@/hdup/hdup.conf"

else it will break installation under different roots.

cheers.

----- Forwarded message from Torsten Sievers <[email protected]> -----

From: Torsten Sievers <[email protected]>
To: [email protected]
Subject: problem with hdup 2.0.8-1

Hi Francesco,

the debian-package has a real hard bug.

it searches in /usr/etc/hdup for the config.
the previous version looked for the file in /etc/hdup

greetings

----- End forwarded message -----

-- 
Francesco P. Lovergine