CVSup is dead. Remove the csup client, which is buggy and unlikely to

ever get fixed.  ok sthen@
This commit is contained in:
naddy 2013-03-18 19:55:25 +00:00
parent bc254453e8
commit 5ee0ce347f
9 changed files with 1 additions and 145 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.792 2013/03/08 12:07:47 jasper Exp $
# $OpenBSD: Makefile,v 1.793 2013/03/18 19:55:25 naddy Exp $
SUBDIR =
SUBDIR += BitTorrent
@ -53,7 +53,6 @@
SUBDIR += coccinella
SUBDIR += courtney
SUBDIR += crawl
SUBDIR += csup
SUBDIR += ctrace
SUBDIR += curl
SUBDIR += cvsup

View File

@ -1,36 +0,0 @@
# $OpenBSD: Makefile,v 1.10 2013/03/11 11:35:45 espie Exp $
COMMENT= network distribution package for CVS repositories
# REL_20120305
PKGNAME= csup-20120305
REV= a72a17725ec3
CATEGORIES= net
HOMEPAGE= https://bitbucket.org/mux/csup
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= https://bitbucket.org/mux/csup/get/
DIST_SUBDIR= csup
DISTFILES= ${REV}.tar.gz
WANTLIB= c crypto pthread z
BUILD_DEPENDS= devel/flex
USE_GMAKE= Yes
WRKDIST= ${WRKDIR}/mux-csup-${REV}
MAKE_ENV= FLEX=gflex
ALL_TARGET= csup
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/csup ${PREFIX}/bin/csup
${INSTALL_MAN} ${WRKSRC}/csup.1 ${PREFIX}/man/man1/csup.1
${INSTALL_SCRIPT} ${WRKSRC}/cpasswd.sh ${PREFIX}/bin/csuppasswd
${INSTALL_MAN} ${WRKSRC}/cpasswd.1 ${PREFIX}/man/man1/csuppasswd.1
.include <bsd.port.mk>

View File

@ -1,5 +0,0 @@
MD5 (csup/a72a17725ec3.tar.gz) = JL4mIHXOjyaMr4b/4g/iaA==
RMD160 (csup/a72a17725ec3.tar.gz) = VDg0/MoIiwlUYQL2Hxb98066IC4=
SHA1 (csup/a72a17725ec3.tar.gz) = yu8RkWhyPxwdbTLA8qGsOS34ev4=
SHA256 (csup/a72a17725ec3.tar.gz) = a5qPotLnDYmyeAy8P5M3WRVXFJf1nHcjDUIzon7vd+8=
SIZE (csup/a72a17725ec3.tar.gz) = 105755

View File

@ -1,30 +0,0 @@
$OpenBSD: patch-Makefile,v 1.2 2012/05/20 16:44:53 naddy Exp $
--- Makefile.orig Fri May 18 00:33:00 2012
+++ Makefile Fri May 18 00:33:54 2012
@@ -38,7 +38,7 @@ ifeq ($(UNAME), FreeBSD)
CFLAGS+= -DHAVE_FFLAGS
endif
ifeq ($(UNAME), OpenBSD)
-CFLAGS+= -DHAVE_FFLAGS
+CFLAGS+= -DHAVE_FFLAGS -pthread
WARNS+= -Wno-system-headers
endif
ifeq ($(UNAME), NetBSD)
@@ -48,9 +48,15 @@ ifeq ($(UNAME), DragonFlyBSD)
CFLAGS+= -DHAVE_FFLAGS
endif
-CFLAGS+= -O -pipe -I$(PREFIX)/include $(WARNS)
+CFLAGS+= -I$(PREFIX)/include $(WARNS)
-LDFLAGS= -L$(PREFIX)/lib -lz -lpthread
+LDFLAGS= -L$(PREFIX)/lib -lz
+
+ifeq ($(UNAME), OpenBSD)
+LDFLAGS+= -pthread
+else
+LDFLAGS+= -lpthread
+endif
ifeq ($(UNAME), FreeBSD)
LDFLAGS+= -lmd

View File

@ -1,25 +0,0 @@
$OpenBSD: patch-cpasswd_1,v 1.1 2011/01/16 19:13:40 naddy Exp $
--- cpasswd.1.orig Sun Jan 16 20:06:24 2011
+++ cpasswd.1 Sun Jan 16 20:06:46 2011
@@ -30,10 +30,10 @@
.\" $FreeBSD: src/usr.bin/csup/cpasswd.1,v 1.5 2010/10/08 12:40:16 uqs Exp $
.\"
.Dd June 27, 2007
-.Dt CPASSWD 1
+.Dt CSUPPASSWD 1
.Os FreeBSD
.Sh NAME
-.Nm cpasswd
+.Nm csuppasswd
.Nd scramble passwords for csup authentication
.Sh SYNOPSIS
.Nm
@@ -79,7 +79,7 @@ Choose an arbitrary secret
.Ar password .
.It
Run
-.Nm cpasswd ,
+.Nm csuppasswd ,
and type in the
.Ar password
when prompted for it. The utility will print out a line to send

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-cpasswd_sh,v 1.1 2010/10/19 20:11:49 naddy Exp $
--- cpasswd.sh.orig Tue Oct 19 21:38:43 2010
+++ cpasswd.sh Tue Oct 19 21:39:01 2010
@@ -18,7 +18,8 @@ countChars() {
readPassword() {
while [ true ]; do
stty -echo
- read -p "$1" _password
+ echo -n "$1"
+ read _password
stty echo
echo ""
countChars "$_password" ":"

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-csup_1,v 1.1 2011/01/16 19:13:40 naddy Exp $
--- csup.1.orig Sun Jan 16 20:06:02 2011
+++ csup.1 Sun Jan 16 20:06:16 2011
@@ -875,7 +875,7 @@ Choose an arbitrary secret
.Ar password .
.It
Run the
-.Nm cpasswd
+.Nm csuppasswd
utility, and type in the
.Ar password
when prompted for it. The utility will print out a line to send
@@ -967,7 +967,7 @@ subdirectory.
List files.
.El
.Sh SEE ALSO
-.Xr cpasswd 1 ,
+.Xr csuppasswd 1 ,
.Xr cvs 1 ,
.Xr rcsintro 1 ,
.Xr ssh 1 .

View File

@ -1,8 +0,0 @@
csup is a software package for updating collections of files across
a network. It is a rewrite of the CVSup client program in C.
Unlike more traditional network distribution packages, such as rdist and
sup, csup has specific optimizations for distributing CVS repositories.
csup takes advantage of the properties of CVS repositories and the files
they contain (in particular, RCS files), enabling it to perform updates
much faster than traditional systems.

View File

@ -1,5 +0,0 @@
@comment $OpenBSD: PLIST,v 1.4 2011/01/16 19:13:40 naddy Exp $
@bin bin/csup
bin/csuppasswd
@man man/man1/csup.1
@man man/man1/csuppasswd.1