| @@ -1,33 +1,34 @@ | | | @@ -1,33 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.116 2021/10/06 08:15:57 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.117 2021/11/30 22:57:02 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= rsync-3.2.3 | | 3 | DISTNAME= rsync-3.2.3 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= net | | 5 | CATEGORIES= net |
6 | MASTER_SITES= http://rsync.samba.org/ftp/rsync/ | | 6 | MASTER_SITES= http://rsync.samba.org/ftp/rsync/ |
7 | MASTER_SITES+= http://rsync.samba.org/ftp/rsync/old-versions/ | | 7 | MASTER_SITES+= http://rsync.samba.org/ftp/rsync/old-versions/ |
8 | MASTER_SITES+= ftp://ftp.fu-berlin.de/unix/network/rsync/ | | 8 | MASTER_SITES+= ftp://ftp.fu-berlin.de/unix/network/rsync/ |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://rsync.samba.org/ | | 11 | HOMEPAGE= https://rsync.samba.org/ |
12 | COMMENT= Network file distribution/synchronisation utility | | 12 | COMMENT= Network file distribution/synchronisation utility |
13 | LICENSE= gnu-gpl-v3 | | 13 | LICENSE= gnu-gpl-v3 |
14 | | | 14 | |
15 | USE_TOOLS+= bash:run | | 15 | USE_TOOLS+= bash:run |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | CONFIGURE_ARGS+= --with-rsyncd-conf=${PKG_SYSCONFDIR}/rsyncd.conf | | 17 | CONFIGURE_ARGS+= --with-rsyncd-conf=${PKG_SYSCONFDIR}/rsyncd.conf |
18 | PKG_SYSCONFSUBDIR= rsync | | 18 | PKG_SYSCONFSUBDIR= rsync |
19 | TEST_TARGET= test | | 19 | TEST_TARGET= test |
20 | | | 20 | |
| | | 21 | REPLACE_SH= cmdormsg |
21 | REPLACE_BASH= rsync-ssl | | 22 | REPLACE_BASH= rsync-ssl |
22 | | | 23 | |
23 | RCD_SCRIPTS= rsyncd | | 24 | RCD_SCRIPTS= rsyncd |
24 | RCD_SCRIPT_SRC.rsyncd= files/rsyncd.sh | | 25 | RCD_SCRIPT_SRC.rsyncd= files/rsyncd.sh |
25 | SMF_NAME= rsyncd | | 26 | SMF_NAME= rsyncd |
26 | | | 27 | |
27 | SUBST_CLASSES+= paths | | 28 | SUBST_CLASSES+= paths |
28 | SUBST_MESSAGE.paths= Fixing hardcoded paths. | | 29 | SUBST_MESSAGE.paths= Fixing hardcoded paths. |
29 | SUBST_STAGE.paths= pre-configure | | 30 | SUBST_STAGE.paths= pre-configure |
30 | SUBST_FILES.paths= rsync.1 rsyncd.conf.5 | | 31 | SUBST_FILES.paths= rsync.1 rsyncd.conf.5 |
31 | SUBST_SED.paths= -e 's|/etc/rsyncd|${PKG_SYSCONFDIR}/rsyncd|g' | | 32 | SUBST_SED.paths= -e 's|/etc/rsyncd|${PKG_SYSCONFDIR}/rsyncd|g' |
32 | SUBST_SED.paths+= -e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g' | | 33 | SUBST_SED.paths+= -e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g' |
33 | | | 34 | |