DESCR

Csup is a rewrite of CVSup in C.

CVSup(R) is a software for distributing and updating collections of files
accross a network. It can efficiently and accurately mirror all types of files,
including sources, binaries, hard links, symbolic links, and even device nodes.
In addition to being a great general-purpose mirroring tool, CVSup includes
special features and optimizations specifically tailored to CVS repositories.
It is being used as the preferred way to update sources within the FreeBSD,
NetBSD and OpenBSD projects and more.

Makefile

# $NetBSD: Makefile,v 1.6 2010/04/19 21:23:24 zafer Exp $
#

DISTNAME= csup-snap-20100404
PKGNAME= ${DISTNAME:S/-snap//}
CATEGORIES= net devel
MASTER_SITES= http://distfiles.aydogan.net/net/ \
http://www.plhk.ru/static/csup/

MAINTAINER= imil@gcu.info
HOMEPAGE= http://www.mu.org/~mux/csup.html
COMMENT= Rewrite of the CVSup file updating client in C
LICENSE= 2-clause-bsd

PKG_DESTDIR_SUPPORT= user-destdir

USE_TOOLS+= lex yacc

USE_BSD_MAKEFILE= yes

WRKSRC= ${WRKDIR}/${DISTNAME}

INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/cat1

CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}

BUILDLINK_TRANSFORM+= rm:-Werror

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" \
|| ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
CFLAGS+= -DHAVE_FFLAGS
.endif

# taken from ${WRKSRC}/GNUmakefile
.if ${OPSYS} == "Linux"
CFLAGS+= -D_XOPEN_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
.endif

.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

PLIST

@comment $NetBSD: PLIST,v 1.3 2010/04/19 21:23:24 zafer Exp $
bin/cpasswd
bin/csup
man/cat1/cpasswd.0
man/cat1/csup.0
man/man1/cpasswd.1
man/man1/csup.1

distinfo

$NetBSD: distinfo,v 1.6 2010/04/19 21:23:24 zafer Exp $

SHA1 (csup-snap-20100404.tar.gz) = 05598a6a56c15b86a7b3e6658ddf5b144d662867
RMD160 (csup-snap-20100404.tar.gz) = d78906c6dbc110f828ea3848df84a569aec43733
Size (csup-snap-20100404.tar.gz) = 124351 bytes
SHA1 (patch-aa) = 7f5491d7d3a5c6e636b6c027a0dfb890425037dc
SHA1 (patch-ab) = 47af904f0a1c56cb99f565916a6a8c416c47a49c