Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
a358449a
Commit
a358449a
authored
Nov 24, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set rsync version in configure.in
Show IPv6 availability in --version.
parent
8ef6b725
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
15 deletions
+27
-15
Makefile.in
Makefile.in
+3
-0
clientserver.c
clientserver.c
+2
-1
configure.in
configure.in
+14
-8
options.c
options.c
+8
-4
rsync.h
rsync.h
+0
-1
version.h
version.h
+0
-1
No files found.
Makefile.in
View file @
a358449a
...
...
@@ -17,6 +17,8 @@ srcdir=@srcdir@
VPATH
=
$(srcdir)
SHELL
=
/bin/sh
VERSION
=
@VERSION@
.SUFFIXES
:
.SUFFIXES
:
.c .o
...
...
@@ -132,3 +134,4 @@ installcheck: $(CHECK_PROGS)
$(OBJS)
:
config.h *.h */*.h
# TODO
:
Add 'dist' target; need to know which files will be included
\ No newline at end of file
clientserver.c
View file @
a358449a
...
...
@@ -508,7 +508,8 @@ int daemon_main(void)
log_init
();
rprintf
(
FINFO
,
"rsyncd version %s starting, listening on port %d
\n
"
,
VERSION
,
rprintf
(
FINFO
,
"rsyncd version %s starting, listening on port %d
\n
"
,
RSYNC_VERSION
,
rsync_port
);
/* TODO: If listening on a particular address, then show that
* address too. */
...
...
configure.in
View file @
a358449a
...
...
@@ -15,6 +15,10 @@ AC_PROG_CPP
AC_PROG_INSTALL
AC_SUBST(SHELL)
RSYNC_VERSION=2.4.7pre2
AC_SUBST(RSYNC_VERSION)
AC_DEFINE_UNQUOTED(RSYNC_VERSION, ["$RSYNC_VERSION"], [rsync release version])
# compile with optimisation and without debugging by default, unless
# --debug is given. We must decide this before testing the compiler.
...
...
@@ -120,7 +124,8 @@ if test "$ipv6" = "yes"; then
yes
#endif],
[ipv6type=$i;
CFLAGS="-DINET6 $CFLAGS"])
AC_DEFINE(INET6, 1, [true if you have IPv6])
])
;;
kame)
# http://www.kame.net/
...
...
@@ -129,8 +134,8 @@ yes
#ifdef __KAME__
yes
#endif],
[ipv6type=$i;
CFLAGS="-DINET6 $CFLAGS"
])
[ipv6type=$i;
AC_DEFINE(INET6, 1, [true if you have IPv6])
])
;;
linux-glibc)
# http://www.v6.linux.or.jp/
...
...
@@ -140,7 +145,7 @@ yes
yes
#endif],
[ipv6type=$i;
CFLAGS="-DINET6 $CFLAGS"
])
AC_DEFINE(INET6, 1, [true if you have IPv6])
])
;;
linux-inet6)
# http://www.v6.linux.or.jp/
...
...
@@ -149,7 +154,8 @@ yes
ipv6lib=inet6
ipv6libdir=/usr/inet6/lib
ipv6trylibc=yes;
CFLAGS="-DINET6 -I/usr/inet6/include $CFLAGS"
AC_DEFINE(INET6, 1, [true if you have IPv6])
CFLAGS="-I/usr/inet6/include $CFLAGS"
fi
;;
toshiba)
...
...
@@ -161,7 +167,7 @@ yes
[ipv6type=$i;
ipv6lib=inet6;
ipv6libdir=/usr/local/v6/lib;
CFLAGS="-DINET6 $CFLAGS"
])
AC_DEFINE(INET6, 1, [true if you have IPv6])
])
;;
v6d)
AC_EGREP_CPP(yes, [
...
...
@@ -172,7 +178,7 @@ yes
[ipv6type=$i;
ipv6lib=v6;
ipv6libdir=/usr/local/v6/lib;
CFLAGS="-I/usr/local/v6/include $CFLAGS"
])
AC_DEFINE(INET6, 1, [true if you have IPv6])
])
;;
zeta)
AC_EGREP_CPP(yes, [
...
...
@@ -183,7 +189,7 @@ yes
[ipv6type=$i;
ipv6lib=inet6;
ipv6libdir=/usr/local/v6/lib;
CFLAGS="-DINET6 $CFLAGS"
])
AC_DEFINE(INET6, 1, [true if you have IPv6])
])
;;
esac
if test "$ipv6type" != "unknown"; then
...
...
options.c
View file @
a358449a
...
...
@@ -111,6 +111,7 @@ static void print_rsync_version(int f)
char
const
*
got_socketpair
=
"no "
;
char
const
*
hardlinks
=
"no "
;
char
const
*
links
=
"no "
;
char
const
*
ipv6
=
"no "
;
#ifdef HAVE_SOCKETPAIR
got_socketpair
=
""
;
...
...
@@ -124,16 +125,19 @@ static void print_rsync_version(int f)
links
=
""
;
#endif
#if INET6
ipv6
=
""
;
#endif
rprintf
(
f
,
"%s version %s protocol version %d
\n
"
,
RSYNC_NAME
,
VERSION
,
PROTOCOL_VERSION
);
RSYNC_NAME
,
RSYNC_
VERSION
,
PROTOCOL_VERSION
);
rprintf
(
f
,
"Copyright (C) 1996-2001 by Andrew Tridgell and others
\n
"
);
rprintf
(
f
,
"<http://rsync.samba.org/>
\n
"
);
rprintf
(
f
,
"Capabilities: %d-bit files, %ssocketpairs, "
"%shard links, %ssymlinks, batchfiles
\n\n
"
,
"%shard links, %ssymlinks, batchfiles
, %sIPv6
\n\n
"
,
(
int
)
(
sizeof
(
OFF_T
)
*
8
),
got_socketpair
,
hardlinks
,
links
);
got_socketpair
,
hardlinks
,
links
,
ipv6
);
#ifdef NO_INT64
rprintf
(
f
,
"WARNING: no 64-bit integers on this platform!
\n
"
);
...
...
rsync.h
View file @
a358449a
...
...
@@ -387,7 +387,6 @@ static inline int flist_up(struct file_list *flist, int i)
}
#include "byteorder.h"
#include "version.h"
#include "proto.h"
#include "lib/mdfour.h"
...
...
version.h
deleted
100644 → 0
View file @
8ef6b725
#define VERSION "2.4.6dev"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment