forked from Lainports/opnsense-ports
net/rsync: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
5de5552a2b
commit
88cfa4cde5
3 changed files with 15 additions and 9 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= rsync
|
PORTNAME= rsync
|
||||||
DISTVERSION= 3.3.0
|
DISTVERSION= 3.4.1
|
||||||
|
PORTREVISION= 2
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= https://www.mirrorservice.org/sites/rsync.samba.org/src/ \
|
MASTER_SITES= https://www.mirrorservice.org/sites/rsync.samba.org/src/ \
|
||||||
http://rsync.mirror.garr.it/src/ \
|
http://rsync.mirror.garr.it/src/ \
|
||||||
|
|
@ -77,7 +78,7 @@ ZLIB_BASE_CONFIGURE_ON= --with-included-zlib=no
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if make(makesum) || ${PORT_OPTIONS:MRENAMED} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MFLAGS}
|
.if ${PORT_OPTIONS:MRENAMED} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MFLAGS}
|
||||||
DISTFILES+= ${PORTNAME}-patches-${DISTVERSION}${EXTRACT_SUFX}
|
DISTFILES+= ${PORTNAME}-patches-${DISTVERSION}${EXTRACT_SUFX}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
|
@ -87,6 +88,11 @@ DISTFILES+= ${PORTNAME}-patches-${DISTVERSION}${EXTRACT_SUFX}
|
||||||
CONFIGURE_ARGS+= ac_cv_search_libiconv_open=no
|
CONFIGURE_ARGS+= ac_cv_search_libiconv_open=no
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if make(makesum) || ${PORT_OPTIONS:MRENAMED} || ${PORT_OPTIONS:MICONV} || ${PORT_OPTIONS:MFLAGS}
|
||||||
|
pre-patch:
|
||||||
|
@${REINPLACE_CMD} 's:+int module_dirlen = 0;:+:' ${WRKSRC}/patches/fileflags.diff
|
||||||
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's:/etc/r{1,2}sync:${ETCDIR}/:g' \
|
@${REINPLACE_CMD} -e 's:/etc/r{1,2}sync:${ETCDIR}/:g' \
|
||||||
-e 's:/etc/letsencrypt:${PREFIX}/etc/letsencrypt:g' \
|
-e 's:/etc/letsencrypt:${PREFIX}/etc/letsencrypt:g' \
|
||||||
|
|
@ -100,10 +106,10 @@ post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||||
${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${STAGEDIR}${ETCDIR}/
|
${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${STAGEDIR}${ETCDIR}/
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/support/rrsync ${STAGEDIR}${PREFIX}/sbin
|
${INSTALL_SCRIPT} ${WRKSRC}/support/rrsync ${STAGEDIR}${PREFIX}/sbin
|
||||||
${INSTALL_MAN} ${WRKSRC}/rrsync.1 ${STAGEDIR}${PREFIX}/share/man/man1/
|
|
||||||
|
|
||||||
post-install-DOCS-on:
|
post-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/support/rrsync.1.md ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
TIMESTAMP = 1712443181
|
TIMESTAMP = 1737009301
|
||||||
SHA256 (rsync-3.3.0.tar.gz) = 7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90
|
SHA256 (rsync-3.4.1.tar.gz) = 2924bcb3a1ed8b551fc101f740b9f0fe0a202b115027647cf69850d65fd88c52
|
||||||
SIZE (rsync-3.3.0.tar.gz) = 1153969
|
SIZE (rsync-3.4.1.tar.gz) = 1172739
|
||||||
SHA256 (rsync-patches-3.3.0.tar.gz) = 3dd51cd88d25133681106f68622ebedbf191ab25a21ea336ba409136591864b0
|
SHA256 (rsync-patches-3.4.1.tar.gz) = f56566e74cfa0f68337f7957d8681929f9ac4c55d3fb92aec0d743db590c9a88
|
||||||
SIZE (rsync-patches-3.3.0.tar.gz) = 98487
|
SIZE (rsync-patches-3.4.1.tar.gz) = 150445
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
bin/rsync
|
bin/rsync
|
||||||
bin/rsync-ssl
|
bin/rsync-ssl
|
||||||
sbin/rrsync
|
sbin/rrsync
|
||||||
share/man/man1/rrsync.1.gz
|
|
||||||
share/man/man1/rsync.1.gz
|
share/man/man1/rsync.1.gz
|
||||||
share/man/man1/rsync-ssl.1.gz
|
share/man/man1/rsync-ssl.1.gz
|
||||||
share/man/man5/rsyncd.conf.5.gz
|
share/man/man5/rsyncd.conf.5.gz
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/rrsync.1.md
|
||||||
@sample %%ETCDIR%%/rsyncd.conf.sample
|
@sample %%ETCDIR%%/rsyncd.conf.sample
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue