- Add a knob to apply atimes patch from vendor distribution

Submitted by:	koitsu
This commit is contained in:
Pav Lucistnik 2008-02-22 11:50:38 +00:00
parent 29634c01cf
commit c45a5502ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207747

View File

@ -39,6 +39,7 @@ MAN5= rsyncd.conf.5
OPTIONS= POPT_PORT "Use popt from devel/popt instead of bundled one" off \
TIMELIMIT "Time limit patch" on \
FLAGSP "File system flags support patch, adds --flags" off \
ATIMES "Preserve file atimes; adds --atimes" off \
ACLSP "ACL support patch, adds --acls" off \
SSH "Use SSH instead of RSH" on
@ -60,6 +61,25 @@ EXTRA_PATCHES+= ${WRKSRC}/patches/time-limit.diff
EXTRA_PATCHES+= ${WRKSRC}/patches/flags.diff
.endif
# The atimes patch works only by itself; it does not patch cleanly when used
# alongside timelimit, flags, or acls.
#
.if defined(WITH_ATIMES)
EXTRA_PATCHES+= ${WRKSRC}/patches/atimes.diff
.if defined(WITH_ACLSP)
IGNORE= ACLs and atimes patches don't work together; please re-run 'make config' and disable one of them
.endif
.if !defined(WITHOUT_TIMELIMIT)
IGNORE= timelimit and atimes patches don't work together; please re-run 'make config' and disable one of them
.endif
.if defined(WITH_FLAGSP)
IGNORE= Flags and atimes patches don't work together; please re-run 'make config' and disable one of them
.endif
.endif
.if defined(WITH_ACLSP)
EXTRA_PATCHES+= ${PATCHDIR}/extra-patches-acls.diff ${WRKSRC}/patches/acls.diff
CONFIGURE_ARGS+=--enable-acl-support