aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hdup/files
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-06-23 06:35:35 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-06-23 06:35:35 +0000
commitdfbbefb473c2f73df14a91a84fdd1b356a0ce841 (patch)
tree4150cd268858d9c088eb1a5ba72aa6bda5a15ff0 /sysutils/hdup/files
parentf9a592fe29ef3baa6ba26f0147bd9b73a2a413c4 (diff)
downloadports-dfbbefb473c2f73df14a91a84fdd1b356a0ce841.tar.gz
ports-dfbbefb473c2f73df14a91a84fdd1b356a0ce841.zip
Notes
Diffstat (limited to 'sysutils/hdup/files')
-rw-r--r--sysutils/hdup/files/patch-src-prototype.h11
-rw-r--r--sysutils/hdup/files/patch-src::Makefile.in29
-rw-r--r--sysutils/hdup/files/patch-src::hdup.h.in9
3 files changed, 21 insertions, 28 deletions
diff --git a/sysutils/hdup/files/patch-src-prototype.h b/sysutils/hdup/files/patch-src-prototype.h
new file mode 100644
index 000000000000..84ae34eb9243
--- /dev/null
+++ b/sysutils/hdup/files/patch-src-prototype.h
@@ -0,0 +1,11 @@
+--- src/prototype.h.orig Thu Jun 23 10:17:28 2005
++++ src/prototype.h Thu Jun 23 10:17:40 2005
+@@ -82,7 +82,7 @@
+ char * setup_splitcmd(phost_t);
+ char * hdup_makedate(int , int , int , int );
+ time_t hdup_file_time(char *);
+-int isblank(int c);
++/*int isblank(int c);*/
+ /*
+ * walker.c
+ */
diff --git a/sysutils/hdup/files/patch-src::Makefile.in b/sysutils/hdup/files/patch-src::Makefile.in
index 57b644d3a35d..83d16080c97f 100644
--- a/sysutils/hdup/files/patch-src::Makefile.in
+++ b/sysutils/hdup/files/patch-src::Makefile.in
@@ -1,20 +1,11 @@
---- 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
+--- src/Makefile.in.orig Fri Mar 18 13:16:31 2005
++++ src/Makefile.in Thu Jun 23 10:07:58 2005
@@ -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
+ @mkdir -p ${DESTDIR}${sysconfdir}/hdup
+ @mkdir -p ${DESTDIR}${mandir}/man1
+ @mkdir -p ${DESTDIR}${mandir}/man5
+- @[ -f ${DESTDIR}${sysconfdir}/hdup/hdup.conf ] || ${INSTALL} -m 600 ../hdup.conf.distr ${DESTDIR}${sysconfdir}/hdup/hdup.conf
++ @${INSTALL} -m 600 ../hdup.conf.distr ${DESTDIR}${sysconfdir}/hdup/hdup.conf-dist
+ @${INSTALL} hdup ${DESTDIR}${sbindir}/hdup
+ @${INSTALL_DATA} ../doc/hdup.1 ${DESTDIR}${mandir}/man1/hdup.1
+ @${INSTALL_DATA} ../doc/hdup.conf.5 ${DESTDIR}${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
index 173520bc19b0..01ba03faf6ce 100644
--- a/sysutils/hdup/files/patch-src::hdup.h.in
+++ b/sysutils/hdup/files/patch-src::hdup.h.in
@@ -9,12 +9,3 @@
#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 */