01c3f7b40b
* Bug fixes * Added the --log-file=FILE and --log-file-format=FORMAT options. * Added the --remove-source-files option as a replacement for the (now deprecated) --remove-sent-files option. * Added the option --no-motd to suppress the message-of-the-day output from a daemon when doing a copy. * Added a new environment variable to the pre-/post-xfer exec commands (in the daemon's config file): RSYNC_PID.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.67 2006/11/18 09:12:53 adam Exp $
|
|
|
|
DISTNAME= rsync-2.6.9
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://rsync.samba.org/ftp/rsync/ \
|
|
ftp://rsync.samba.org/pub/rsync/ \
|
|
http://rsync.samba.org/ftp/rsync/old-versions/ \
|
|
ftp://rsync.samba.org/pub/rsync/old-versions/ \
|
|
ftp://sunsite.auc.dk/pub/unix/rsync/ \
|
|
ftp://ftp.sunet.se/pub/unix/admin/rsync/ \
|
|
ftp://ftp.fu-berlin.de/unix/network/rsync/
|
|
|
|
MAINTAINER= tron@NetBSD.org
|
|
HOMEPAGE= http://rsync.samba.org/
|
|
COMMENT= Network file distribution/synchronisation utility
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 share/doc/rsync
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-included-popt \
|
|
--with-rsyncd-conf=${PKG_SYSCONFDIR}/rsyncd.conf
|
|
TEST_TARGET= test
|
|
|
|
PKG_SYSCONFSUBDIR= rsync
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing hardcoded paths.
|
|
SUBST_STAGE.paths= post-patch
|
|
SUBST_FILES.paths= rsync.h rsync.1 rsyncd.conf.5
|
|
SUBST_SED.paths= -e 's|/etc/rsyncd|${PKG_SYSCONFDIR}/rsyncd|g' \
|
|
-e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g'
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|