summaryrefslogtreecommitdiffstats
path: root/sysutils/hdup/files
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-03-13 17:11:48 +0000
committersem <sem@FreeBSD.org>2005-03-13 17:11:48 +0000
commite4cf8453a9825c71da0368baa33df51a249134fa (patch)
treeefdfada36b316b218d7fe511cf6021ef6300318a /sysutils/hdup/files
parent472f1c88e90ab90c5c2bd6908e60cd27a8b2322c (diff)
downloadFreeBSD-ports-e4cf8453a9825c71da0368baa33df51a249134fa.zip
FreeBSD-ports-e4cf8453a9825c71da0368baa33df51a249134fa.tar.gz
hdup is a little, spiffy, backup tool
Diffstat (limited to 'sysutils/hdup/files')
-rw-r--r--sysutils/hdup/files/patch-configure.ac20
-rw-r--r--sysutils/hdup/files/patch-src::Makefile.in20
-rw-r--r--sysutils/hdup/files/patch-src::hdup.h.in20
3 files changed, 60 insertions, 0 deletions
diff --git a/sysutils/hdup/files/patch-configure.ac b/sysutils/hdup/files/patch-configure.ac
new file mode 100644
index 0000000..7d857f6
--- /dev/null
+++ b/sysutils/hdup/files/patch-configure.ac
@@ -0,0 +1,20 @@
+--- configure.ac.orig Sun Mar 13 17:27:59 2005
++++ configure.ac Sun Mar 13 17:38:11 2005
+@@ -12,13 +12,13 @@
+ AC_PROG_CC
+ AC_PROG_MAKE_SET
+ # my own checks
+-AC_PATH_PROG(tar, tar, "/bin/tar")
+-AC_PATH_PROG(mcrypt, mcrypt,"/usr/bin/mcrypt")
+-AC_PATH_PROG(gpg, gpg,"/usr/bin/gpg")
++AC_PATH_PROG(tar, tar, "/usr/bin/tar")
++AC_PATH_PROG(mcrypt, mcrypt,"/usr/local/bin/mcrypt")
++AC_PATH_PROG(gpg, gpg,"/usr/local/bin/gpg")
+ AC_PATH_PROG(ssh, ssh, "/usr/bin/ssh")
+ AC_PATH_PROG(bzip, bzip2, "/usr/bin/bzip2")
+ AC_PATH_PROG(gzip, gzip, "/bin/gzip")
+-AC_PATH_PROG(lzop, lzop, "/bin/lzop")
++AC_PATH_PROG(lzop, lzop, "/usr/local/bin/lzop")
+ AC_PATH_PROG(split, split, "/usr/bin/split")
+ AC_PATH_PROG(cat, cat, "/bin/cat")
+
diff --git a/sysutils/hdup/files/patch-src::Makefile.in b/sysutils/hdup/files/patch-src::Makefile.in
new file mode 100644
index 0000000..57b644d
--- /dev/null
+++ b/sysutils/hdup/files/patch-src::Makefile.in
@@ -0,0 +1,20 @@
+--- src/Makefile.in.orig Sat Jan 29 15:19:00 2005
++++ src/Makefile.in Sun Mar 13 18:22:35 2005
+@@ -16,7 +16,7 @@
+ exec_prefix = @exec_prefix@
+ sbindir = @sbindir@
+ mandir = @mandir@
+-sysconfdir = /etc
++sysconfdir = @sysconfdir@
+ ######################################
+ ######################################
+ .PHONY: clean install all uninstall
+@@ -54,7 +54,7 @@
+ @mkdir -p ${sysconfdir}/hdup
+ @mkdir -p ${mandir}/man1
+ @mkdir -p ${mandir}/man5
+- @[ -f ${sysconfdir}/hdup/hdup.conf ] || ${INSTALL} -m 600 ../hdup.conf.distr ${sysconfdir}/hdup/hdup.conf
++ @${INSTALL} -m 600 ../hdup.conf.distr ${sysconfdir}/hdup/hdup.conf-dist
+ @${INSTALL} hdup ${sbindir}/hdup
+ @${INSTALL_DATA} ../doc/hdup.1 ${mandir}/man1/hdup.1
+ @${INSTALL_DATA} ../doc/hdup.conf.5 ${mandir}/man5/hdup.conf.5
diff --git a/sysutils/hdup/files/patch-src::hdup.h.in b/sysutils/hdup/files/patch-src::hdup.h.in
new file mode 100644
index 0000000..173520b
--- /dev/null
+++ b/sysutils/hdup/files/patch-src::hdup.h.in
@@ -0,0 +1,20 @@
+--- src/hdup.h.in.orig Sat Jan 29 15:16:57 2005
++++ src/hdup.h.in Sun Mar 13 19:57:25 2005
+@@ -11,7 +11,7 @@
+
+ #include "config.h"
+
+-#define TAR "@tar@"
++#define TAR "%%GNUTAR%%"
+ #define MCRYPT "@mcrypt@"
+ #define GPG "@gpg@"
+ #define DEFAULT_PROTO "@ssh@"
+@@ -22,7 +22,7 @@
+ #define LZOP_PROG "@lzop@"
+ #define SPLIT_PROG "@split@"
+ #define UNSPLIT_PROG "@cat@"
+-#define ETCFILE "/etc/hdup/hdup.conf"
++#define ETCFILE "@prefix@/etc/hdup/hdup.conf"
+ /* /usr/local/etc#"/etc/hdup/hdup.conf") */
+ #define REMOTE_HDUP "@prefix@/sbin/hdup"
+ #define REMOTE_HDUP_OPT "" /* default is empty */
OpenPOWER on IntegriCloud