No real changes.

I suspect bitbucket to generate those source tarballs on the fly,
but it's given me the same one now for several days in a row.  Can
a few other people try "make checksum"?

I'm not particularly happy to pull in the extra dependencies, but
this is the closest thing we have to an upstream release, which is
preferable to grubbing around in the FreeBSD source tree, I guess.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/csup/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile    14 Nov 2011 23:00:10 -0000      1.8
+++ Makefile    19 May 2012 16:40:50 -0000
@@ -2,8 +2,11 @@
 
 COMMENT=       network distribution package for CVS repositories
 
-DISTNAME=      csup-20111114
+# REL_20120305
+PKGNAME=       csup-20120305
+REV=           a72a17725ec3
 CATEGORIES=    net
+HOMEPAGE=      https://bitbucket.org/mux/csup
 
 MAINTAINER=    Christian Weisgerber <na...@openbsd.org>
 
@@ -13,12 +16,19 @@ PERMIT_PACKAGE_FTP= Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  http://shell.uugrn.org/~naddy/
+MASTER_SITES=  https://bitbucket.org/mux/csup/get/
+DIST_SUBDIR=   csup
+DISTFILES=     ${REV}.tar.gz
 
 WANTLIB=       c crypto pthread z
 
-WRKDIST=       ${WRKDIR}/csup
-ALL_TARGET=    depend all
+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
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/csup/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo    14 Nov 2011 23:00:10 -0000      1.6
+++ distinfo    19 May 2012 16:40:50 -0000
@@ -1,5 +1,5 @@
-MD5 (csup-20111114.tar.gz) = CYqugbhr/rcLafHhvbYoAQ==
-RMD160 (csup-20111114.tar.gz) = o49DbCoYsktQNnT0WrjBCwWnwMg=
-SHA1 (csup-20111114.tar.gz) = TkruAeznvJO37BEXlGsT+t++YNA=
-SHA256 (csup-20111114.tar.gz) = rzpZb2v71uU1pLHj4g+C4dSMzsWul+/OgE1BO6iZHX4=
-SIZE (csup-20111114.tar.gz) = 123670
+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
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/net/csup/patches/patch-Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Makefile
--- patches/patch-Makefile      19 Oct 2010 20:11:49 -0000      1.1
+++ patches/patch-Makefile      19 May 2012 16:40:50 -0000
@@ -1,15 +1,30 @@
 $OpenBSD: patch-Makefile,v 1.1 2010/10/19 20:11:49 naddy Exp $
---- Makefile.orig      Tue Oct 19 21:20:32 2010
-+++ Makefile   Tue Oct 19 21:22:24 2010
-@@ -39,4 +39,11 @@ LDADD=      -lcrypto -lz -lpthread
- SCRIPTS=      cpasswd.sh
- MAN=          csup.1 cpasswd.1
+--- 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
  
-+parse.c parse.h: parse.y
-+      ${YACC} -d ${.ALLSRC}
-+      mv y.tab.c parse.c
-+      mv y.tab.h parse.h
-+
-+CLEANFILES+= parse.c parse.h
+-CFLAGS+= -O -pipe -I$(PREFIX)/include $(WARNS)
++CFLAGS+= -I$(PREFIX)/include $(WARNS)
+ 
+-LDFLAGS= -L$(PREFIX)/lib -lz -lpthread
++LDFLAGS= -L$(PREFIX)/lib -lz
 +
- .include <bsd.prog.mk>
++ifeq ($(UNAME), OpenBSD)
++LDFLAGS+= -pthread
++else
++LDFLAGS+= -lpthread
++endif
+ 
+ ifeq ($(UNAME), FreeBSD)
+ LDFLAGS+= -lmd
-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to