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