aboutsummaryrefslogtreecommitdiffstats
path: root/net/rsync
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2008-04-09 03:24:06 +0800
committerehaupt <ehaupt@FreeBSD.org>2008-04-09 03:24:06 +0800
commit460ed1748efc0d58648bdb9cb041b3501bda0141 (patch)
treef3776e008f57e3dacb8a7269020587aeb4cfc198 /net/rsync
parent7922e81cdbea018fe006015ba71f9aaa9c45d810 (diff)
downloadfreebsd-ports-gnome-460ed1748efc0d58648bdb9cb041b3501bda0141.tar.gz
freebsd-ports-gnome-460ed1748efc0d58648bdb9cb041b3501bda0141.tar.zst
freebsd-ports-gnome-460ed1748efc0d58648bdb9cb041b3501bda0141.zip
Update to 3.0.2, and really disable iconv support if WITHOUT_ICONV is defined.
Changelog: http://rsync.samba.org/ftp/rsync/src/rsync-3.0.2-NEWS
Diffstat (limited to 'net/rsync')
-rw-r--r--net/rsync/Makefile9
-rw-r--r--net/rsync/distinfo12
2 files changed, 14 insertions, 7 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 236b873db9f5..e521f5e65541 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rsync
-PORTVERSION= 3.0.1
+PORTVERSION= 3.0.2
CATEGORIES= net ipv6
MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \
ftp://ftp.samba.org/pub/%SUBDIR%/ \
@@ -53,6 +53,8 @@ USE_ICONV= yes
CONFIGUREDCFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CONFIGUREDCFLAGS="${CONFIGUREDCFLAGS}"
+.else
+CONFIGURE_ARGS+= --disable-iconv
.endif
.if defined(WITH_FLAGS)
@@ -89,6 +91,11 @@ pre-configure:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \
${WRKSRC}/rsync.h ${WRKSRC}/zlib/zutil.h
+.if defined(WITHOUT_ICONV)
+post-configure:
+ @${REINPLACE_CMD} -e 's|-liconv||' ${WRKSRC}/Makefile
+.endif
+
post-install:
@${STRIP_CMD} ${PREFIX}/bin/rsync
@${INSTALL_DATA} ${FILESDIR}/rsyncd.conf.sample ${PREFIX}/etc/
diff --git a/net/rsync/distinfo b/net/rsync/distinfo
index dbfa02be6c44..e1d4d6130aa4 100644
--- a/net/rsync/distinfo
+++ b/net/rsync/distinfo
@@ -1,6 +1,6 @@
-MD5 (rsync-3.0.1.tar.gz) = 61516520617e590a5f2af1dec5cab779
-SHA256 (rsync-3.0.1.tar.gz) = d0a976643f22502e07900a115b592426e071e9ffc01ceb3bac2d28e56b26844b
-SIZE (rsync-3.0.1.tar.gz) = 765881
-MD5 (rsync-patches-3.0.1.tar.gz) = 044e4bf246daae91e45117187b2a7422
-SHA256 (rsync-patches-3.0.1.tar.gz) = 28346d7e48a4791a5d3e73d4e7baa1c16f2530223aff3fbcfa4af2af1996fe3f
-SIZE (rsync-patches-3.0.1.tar.gz) = 151463
+MD5 (rsync-3.0.2.tar.gz) = fd4c5d77d8cb7bb86ab209076fa214d9
+SHA256 (rsync-3.0.2.tar.gz) = cb934d7b185756b2b5c0d797045b2e4debcd2bacc8f1565f4e430f24a9d70fc9
+SIZE (rsync-3.0.2.tar.gz) = 765732
+MD5 (rsync-patches-3.0.2.tar.gz) = c076661c447ddc165f4ff427e7264a31
+SHA256 (rsync-patches-3.0.2.tar.gz) = 61242f7860d95f922696603174172185345aeb46efeb24e7fe207396fed41106
+SIZE (rsync-patches-3.0.2.tar.gz) = 154306