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
439d5d89
Commit
439d5d89
authored
Sep 20, 2011
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better fakeroot support helps Solaris.
parent
de219101
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
6 deletions
+13
-6
configure.ac
configure.ac
+5
-1
shconfig.in
shconfig.in
+4
-1
chown.test
testsuite/chown.test
+2
-2
devices.test
testsuite/devices.test
+2
-2
No files found.
configure.ac
View file @
439d5d89
...
...
@@ -134,6 +134,10 @@ else
MAKE_MAN=man-copy
fi
# Some programs on solaris are only found in /usr/xpg4/bin (or work better than others versions).
AC_PATH_PROG(SHELL_PATH, sh, /bin/sh, [/usr/xpg4/bin$PATH_SEPARATOR$PATH])
AC_PATH_PROG(FAKEROOT_PATH, fakeroot, /usr/bin/fakeroot, [/usr/xpg4/bin$PATH_SEPARATOR$PATH])
AC_ARG_WITH(nobody-group,
AC_HELP_STRING([--with-nobody-group=GROUP],
[set the default unprivileged group (default nobody or nogroup)]),
...
...
@@ -942,7 +946,7 @@ else
AC_DEFINE(HAVE_UNIXWARE_ACLS, 1, [true if you have UnixWare ACLs])
AC_DEFINE(SUPPORT_ACLS, 1, [Define to 1 to add support for ACLs])
;;
*
solaris*|*cygwin*)
solaris*|*cygwin*)
AC_MSG_RESULT(Using solaris ACLs)
AC_DEFINE(HAVE_SOLARIS_ACLS, 1, [true if you have solaris ACLs])
AC_DEFINE(SUPPORT_ACLS, 1)
...
...
shconfig.in
View file @
439d5d89
...
...
@@ -8,5 +8,8 @@
ECHO_T
=
"@ECHO_T@"
ECHO_N
=
"@ECHO_N@"
ECHO_C
=
"@ECHO_C@"
HOST_OS
=
"@host_os@"
SHELL_PATH
=
"@SHELL_PATH@"
FAKEROOT_PATH
=
"@FAKEROOT_PATH@"
export
ECHO_T ECHO_N ECHO_C
export
ECHO_T ECHO_N ECHO_C
HOST_OS SHELL_PATH FAKEROOT_PATH
testsuite/chown.test
View file @
439d5d89
...
...
@@ -40,9 +40,9 @@ case $0 in
case
`get_testuid`
in
''
)
;;
# If "id" failed, try to continue...
0
)
;;
*
)
if
[
-
f
/
usr
/
bin
/
fakeroot
];
then
*
)
if
[
-
e
"
$FAKEROOT_PATH
"
];
then
echo
"Let's try re-running the script under fakeroot..."
exec
/
usr
/
bin
/
fakeroot
/
bin
/
sh
"$0"
exec
"
$FAKEROOT_PATH
"
"
$SHELL_PATH
"
"$0"
fi
;;
esac
...
...
testsuite/devices.test
View file @
439d5d89
...
...
@@ -54,9 +54,9 @@ case $0 in
case
`get_testuid`
in
''
)
;;
# If "id" failed, try to continue...
0
)
;;
*
)
if
[
-
f
/
usr
/
bin
/
fakeroot
];
then
*
)
if
[
-
e
"
$FAKEROOT_PATH
"
];
then
echo
"Let's try re-running the script under fakeroot..."
exec
/
usr
/
bin
/
fakeroot
/
bin
/
sh
$RUNSHFLAGS
"$0"
exec
"
$FAKEROOT_PATH
"
"
$SHELL_PATH
"
$RUNSHFLAGS
"$0"
fi
test_skipped
"Rsync needs root/fakeroot for device tests"
;;
...
...
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