Native cvsup

This commit is contained in:
espie 2001-05-05 22:15:17 +00:00
parent daf133f751
commit 6ba27f9eb6
8 changed files with 119 additions and 0 deletions

44
net/cvsup/Makefile Normal file
View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/05/05 22:15:17 espie Exp $
ONLY_FOR_ARCHS= i386
COMMENT= "network file distribution system"
COMMENT-server= "network file distribution server"
V=16.1
DISTNAME= cvsup-$V
CATEGORIES= net devel
NEED_VERSION= 1.405
MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/sources/ \
ftp://ftp.cs.tu-berlin.de/pub/FreeBSD/development/CVSup/sources/
PKGNAME-server=cvsupd-$V
PERMIT_PACKAGE_FTP=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_DISTFILES_CDROM=Yes
MULTI_PACKAGES=-server
FLAVORS=no_x11 static
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
M3FLAGS+= -DNOGUI
.endif
.if ${FLAVOR:L:Mstatic}
M3FLAGS+= -DSTATIC
.else
# XXX this is a false depend, but we can't depend on lib in a weird path now
RUN_DEPENDS=m3build::lang/pm3
.endif
BUILD_DEPENDS=m3build::lang/pm3
MAKE_FLAGS=M3FLAGS=${M3FLAGS}
FAKE_FLAGS=PREFIX=${WRKINST}${TRUEPREFIX}
HOMEPAGE= http://www.polstra.com/projects/freeware/CVSup/
.include <bsd.port.mk>
PORTPATH:=${LOCALBASE}/pm3/bin:${PORTPATH}

3
net/cvsup/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (cvsup-16.1.tar.gz) = dc967a0e395722282485a9bec4dec190
RMD160 (cvsup-16.1.tar.gz) = b64fbe971314d031777af96479aab703d0ee538b
SHA1 (cvsup-16.1.tar.gz) = 63142ea8f0bbf67add6bc7bba1f607e59009de66

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-suplib_src_FreeBSD_UProcTitle_c,v 1.1.1.1 2001/05/05 22:15:20 espie Exp $
--- suplib/src/FreeBSD/UProcTitle.c.orig Thu May 3 00:05:29 2001
+++ suplib/src/FreeBSD/UProcTitle.c Thu May 3 00:05:50 2001
@@ -1,5 +1,10 @@
#include <sys/types.h>
+#ifdef __FreeBSD__
#include <libutil.h>
+#endif
+#ifdef __OpenBSD__
+#include <stdlib.h>
+#endif
void
m3_setproctitle(const char *title)

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-suplib_src_m3makefile,v 1.1.1.1 2001/05/05 22:15:20 espie Exp $
--- suplib/src/m3makefile.orig Sat May 15 23:41:27 1999
+++ suplib/src/m3makefile Thu May 3 00:02:42 2001
@@ -59,7 +59,11 @@ or equal(TARGET, "FreeBSD3") or equal(TA
include_dir("FreeBSD")
import_lib("md", "/usr/lib")
else
- include_dir("POSIX")
+ if equal(TARGET, "OpenBSD_386")
+ include_dir("FreeBSD")
+ else
+ include_dir("POSIX")
+ end
include_dir("libmd")
end

16
net/cvsup/pkg/DESCR Normal file
View File

@ -0,0 +1,16 @@
CVSup is a software package for distributing and updating collections
of files across a network. It can efficiently and accurately mirror
all types of files, including sources, binaries, hard links, symbolic
links, and even device nodes. CVSup's streaming communication
protocol and multithreaded architecture make it most likely the
fastest mirroring tool in existence today. In addition to being
a great general-purpose mirroring tool, CVSup includes special
features and optimizations specifically tailored to CVS repositories.
This is the client program.
WWW: ${HOMEPAGE}
Available flavors:
no_x11 text-only
static no modula3 dependency at run-time

View File

@ -0,0 +1,16 @@
CVSup is a software package for distributing and updating collections
of files across a network. It can efficiently and accurately mirror
all types of files, including sources, binaries, hard links, symbolic
links, and even device nodes. CVSup's streaming communication
protocol and multithreaded architecture make it most likely the
fastest mirroring tool in existence today. In addition to being
a great general-purpose mirroring tool, CVSup includes special
features and optimizations specifically tailored to CVS repositories.
This is the server program.
WWW: ${HOMEPAGE}
Available flavors:
no_x11 text-only
static no modula3 dependency at run-time

4
net/cvsup/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/05/05 22:15:19 espie Exp $
@pkgcfl cvsup-bin-*
bin/cvsup
man/man1/cvsup.1

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST-server,v 1.1.1.1 2001/05/05 22:15:19 espie Exp $
@pkgcfl cvsupd-bin-*
bin/cvpasswd
man/man1/cvpasswd.1
man/man8/cvsupd.8
sbin/cvsupd