Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

14
net/rsync/DESCR Normal file
View File

@@ -0,0 +1,14 @@
rsync is a replacement for rcp that has many more features.
rsync uses the "rsync algorithm" which provides a very fast method for
bringing remote files into sync. It does this by sending just the
differences in the files across the link, without requiring that both
sets of files are present at one of the ends of the link beforehand.
This makes rsync a good remote file distribution/synchronisation utility
in a dialup PPP/SLIP environment.
Note: it requires rsync on the destination machine.
There is a Computer Science Technical Report on the rsync algorithm
included in the distribution, and is also available as
ftp://samba.anu.edu.au/pub/rsync/tech_report.ps

43
net/rsync/Makefile Normal file
View File

@@ -0,0 +1,43 @@
# $NetBSD: Makefile,v 1.90 2013/05/31 12:41:43 wiz Exp $
DISTNAME= rsync-3.0.9
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://rsync.samba.org/ftp/rsync/ \
http://rsync.samba.org/ftp/rsync/old-versions/ \
ftp://ftp.sunet.se/pub/unix/admin/rsync/ \
ftp://ftp.fu-berlin.de/unix/network/rsync/
OWNER= tron@NetBSD.org
HOMEPAGE= http://rsync.samba.org/
COMMENT= Network file distribution/synchronisation utility
LICENSE= gnu-gpl-v3
PKG_INSTALLATION_TYPES= overwrite pkgviews
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 share/doc/rsync
GNU_CONFIGURE= yes
USE_TOOLS+= perl
CONFIGURE_ARGS+= --with-included-popt \
--with-rsyncd-conf=${PKG_SYSCONFDIR}/rsyncd.conf
TEST_TARGET= test
PKG_SYSCONFSUBDIR= rsync
RCD_SCRIPTS= rsyncd
RCD_SCRIPT_SRC.rsyncd= files/rsyncd.sh
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= rsync.1 rsyncd.conf.5
SUBST_SED.paths= -e 's|/etc/rsyncd|${PKG_SYSCONFDIR}/rsyncd|g'
SUBST_SED.paths+= -e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g'
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/tech_report.tex \
${DESTDIR}${PREFIX}/share/doc/rsync
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

7
net/rsync/PLIST Normal file
View File

@@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.6 2009/06/14 18:09:42 joerg Exp $
bin/rsync
man/man1/rsync.1
man/man5/rsyncd.conf.5
share/doc/rsync/README
share/doc/rsync/tech_report.tex
share/examples/rc.d/rsyncd

6
net/rsync/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.37 2011/10/03 09:49:56 tron Exp $
SHA1 (rsync-3.0.9.tar.gz) = c64c8341984aea647506eb504496999fd968ddfc
RMD160 (rsync-3.0.9.tar.gz) = e5ee8d786defb0d8f937c8d027466f418c63c97e
Size (rsync-3.0.9.tar.gz) = 792725 bytes
SHA1 (patch-ab) = f7895312568d1ff5ca7031cf9b1ddd2b6e0b02d8

18
net/rsync/files/rsyncd.sh Normal file
View File

@@ -0,0 +1,18 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: rsyncd.sh,v 1.1 2009/02/21 09:34:17 tron Exp $
#
# PROVIDE: rsyncd
# REQUIRE: DAEMON
. /etc/rc.subr
name="rsyncd"
rcvar=$name
command="@PREFIX@/bin/rsync"
required_files="@PKG_SYSCONFDIR@/rsyncd.conf"
command_args="--daemon"
load_rc_config $name
run_rc_command "$1"

9
net/rsync/hacks.mk Normal file
View File

@@ -0,0 +1,9 @@
# $NetBSD: hacks.mk,v 1.4 2008/03/11 10:16:43 tron Exp $
### [Tue Nov 21 19:32:00 UTC 2006 : tvierling]
### iconv(..., NULL, 0, NULL, 0) crashes in libc version of iconv(3)
###
.if ${OPSYS} == "Interix"
PKG_HACKS+= pkgsrc-iconv
.include "../../converters/libiconv/buildlink3.mk"
.endif

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-ab,v 1.15 2009/06/15 16:53:02 tron Exp $
--- Makefile.in.orig 2009-04-11 00:24:49.000000000 +0100
+++ Makefile.in 2009-06-15 13:55:30.000000000 +0100
@@ -62,12 +62,9 @@
all: Makefile rsync$(EXEEXT) @MAKE_MAN@
install: all
- -mkdir -p ${DESTDIR}${bindir}
- ${INSTALLCMD} ${INSTALL_STRIP} -m 755 rsync$(EXEEXT) ${DESTDIR}${bindir}
- -mkdir -p ${DESTDIR}${mandir}/man1
- -mkdir -p ${DESTDIR}${mandir}/man5
+ ${BSD_INSTALL_PROGRAM} rsync$(EXEEXT) ${DESTDIR}${bindir}
if test -f rsync.1; then ${INSTALLMAN} -m 644 rsync.1 ${DESTDIR}${mandir}/man1; fi
- if test -f rsyncd.conf.5; then ${INSTALLMAN} -m 644 rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
+ if test -f rsyncd.conf.5; then ${BSD_INSTALL_MAN} rsyncd.conf.5 ${DESTDIR}${mandir}/man5; fi
install-strip:
$(MAKE) INSTALL_STRIP='-s' install