From owner-freebsd-ports@FreeBSD.ORG Tue Apr 5 18:15:11 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E6F516A4CE; Tue, 5 Apr 2005 18:15:11 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10C7D43D2D; Tue, 5 Apr 2005 18:15:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 9AE831FF931; Tue, 5 Apr 2005 20:15:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 8917E1FF91D; Tue, 5 Apr 2005 20:15:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 3E87415384; Tue, 5 Apr 2005 18:13:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 33A8E15329; Tue, 5 Apr 2005 18:13:14 +0000 (UTC) Date: Tue, 5 Apr 2005 18:13:14 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: freebsd-amd64@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: ports@freebsd.org Subject: [patch|test] CVSup/amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 18:15:11 -0000 Hi, attached patch also available at http://sources.zabbadoz.net/freebsd/ports/experimental/cvsup-amd64.diff updates binary only port for amd64. It should give you everything (this incl. cvsupd etc., with compression working) but it hasn't been tested at all. It has been built in a 5.4-PRERELEASE chroot. I'd like any reports if this works ok on amd64 or if it breaks ports building for other archs. It has been built with the sources/patches posted to amd64 list several months ago. -- Greetings Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT --- 8< 8< 8< --- Index: Makefile =================================================================== RCS file: /local/mirror/FreeBSD/r/pcvs/ports/net/cvsup/Makefile,v retrieving revision 1.59 diff -u -p -r1.59 Makefile --- Makefile 27 Mar 2005 19:12:22 -0000 1.59 +++ Makefile 2 Apr 2005 21:29:52 -0000 @@ -32,13 +32,13 @@ BROKEN= Not supported on versions earli .if ${ARCH} == "alpha" TARGET= FBSD_ALPHA .elif ${ARCH} == "amd64" -PORTREVISION= 1 -MASTER_SITE_SUBDIR= obrien +MASTER_SITE_SUBDIR= bz MASTER_SITES= ${MASTER_SITE_LOCAL} DISTNAME= cvsup-without-gui.amd64 NO_WRKSUBDIR= yes USE_REINPLACE= yes NO_BUILD= binary-only +MANCOMPRESSED= yes .elif ${ARCH} == "i386" TARGET= FreeBSD4 .elif ${ARCH} == "sparc64" @@ -60,11 +60,9 @@ BUILD_DEPENDS= ${PREFIX}/lib/m3/pkg/form .endif # != amd64 .endif -.if ${ARCH} != "amd64" MAKE_ARGS+= PREFIX=${PREFIX} M3FLAGS="${M3FLAGS}" MAN1= cvpasswd.1 cvsup.1 MAN8= cvsupd.8 -.endif # != amd64 .ifdef STATIC M3FLAGS+= -DSTATIC @@ -73,6 +71,10 @@ M3FLAGS+= -DSTATIC pre-fetch: .ifndef WITHOUT_X11 @${ECHO_MSG} "*****************************************************" +.if ${ARCH} == "amd64" + @${ECHO_MSG} "* CVSup with X11 not yet supported on amd64. *" + @${ECHO_MSG} "* Will install non-X11 version. You might want *" +.endif @${ECHO_MSG} "* To build CVSup without X11 (and without the GUI), *" @${ECHO_MSG} "* use the \"net/cvsup-without-gui\" port. *" @${ECHO_MSG} "*****************************************************" @@ -84,26 +86,23 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/License ${PREFIX}/share/cvsup/License .if ${ARCH} == "amd64" -PROGS= bin/cvsup sbin/cvsupd bin/cvpasswd - do-patch: @${TRUE} do-configure: @${TOUCH} ${WRKSRC}/License @${TOUCH} ${TOUCH_FLAGS} ${CONFIGURE_COOKIE} + @${TRUE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cvsup-without-gui.amd64 ${PREFIX}/bin/cvsup - @${ECHO} '#! /bin/sh' > ${PREFIX}/sbin/cvsupd - @${ECHO} 'echo `basename $$0` not supported on `uname -m`' \ - >> ${PREFIX}/sbin/cvsupd - @${ECHO} '#! /bin/sh' > ${PREFIX}/bin/cvpasswd - @${ECHO} 'echo `basename $$0` not supported on `uname -m`' \ - >> ${PREFIX}/sbin/cvpasswd - cd ${PREFIX} ; \ - ${CHOWN} ${BINOWN}:${BINGRP} ${PROGS} ; \ - ${CHMOD} ${BINMODE} ${PROGS} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/cvpasswd ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/bin/cvsup ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/sbin/cvsupd ${PREFIX}/sbin/ + ${INSTALL_MAN} ${WRKSRC}/man/man1/cvpasswd.1.gz ${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/man/man1/cvsup.1.gz ${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/man/man8/cvsupd.8.gz ${PREFIX}/man/man8/ + ${MKDIR} ${PREFIX}/share/cvsup + ${MV} ${WRKSRC}/share/cvsup/License ${WRKSRC}/License .endif .include Index: distinfo =================================================================== RCS file: /local/mirror/FreeBSD/r/pcvs/ports/net/cvsup/distinfo,v retrieving revision 1.24 diff -u -p -r1.24 distinfo --- distinfo 11 Oct 2004 22:10:58 -0000 1.24 +++ distinfo 2 Apr 2005 21:29:52 -0000 @@ -1,4 +1,4 @@ MD5 (cvsup-snap-16.1h.tar.gz) = b100ace98a41aa9f3d3e75b0d3c245b0 SIZE (cvsup-snap-16.1h.tar.gz) = 430951 -MD5 (cvsup-without-gui.amd64.tar.bz2) = 5e83e6b68696058ebcc4e8666e8442a9 -SIZE (cvsup-without-gui.amd64.tar.bz2) = 335735 +MD5 (cvsup-without-gui.amd64.tar.bz2) = ced3a5ccca76550d239f1ec09e3822d4 +SIZE (cvsup-without-gui.amd64.tar.bz2) = 964594