From owner-freebsd-ports@FreeBSD.ORG Sat Jul 29 13:35:51 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 A297616A4DA for ; Sat, 29 Jul 2006 13:35:51 +0000 (UTC) (envelope-from ssedov@mbsd.msk.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF37043D60 for ; Sat, 29 Jul 2006 13:35:48 +0000 (GMT) (envelope-from ssedov@mbsd.msk.ru) Received: from [217.118.83.1] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1G6p6W-0001GT-20 for freebsd-ports@freebsd.org; Sat, 29 Jul 2006 17:43:47 +0400 Received: from localhost (localhost [127.0.0.1]) by fonon.realnet (Postfix) with ESMTP id 707F711B6A for ; Sat, 29 Jul 2006 17:35:22 +0400 (MSD) Date: Sat, 29 Jul 2006 17:35:16 +0400 From: Stanislav Sedov To: freebsd-ports@freebsd.org Message-ID: <20060729173516.0556bb64@localhost> In-Reply-To: <44CB5A04.40209@darq.net> References: <44CB5A04.40209@darq.net> Organization: MBSD labs, Inc. X-Operating-System: FreeBSD X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_Jj_wRM35+xUJ_8D_MvD8XP_; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.5.2 Subject: Re: Using darcs to retrieve source in ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jul 2006 13:35:51 -0000 --Sig_Jj_wRM35+xUJ_8D_MvD8XP_ Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On Sat, 29 Jul 2006 13:52:20 +0100 Ian Morrison mentioned: > Hi there, >=20 > I'm trying to build a port of PacketForth, (https://packets.goto10.org/)= =20 > and it's going pretty well. However, as it's still in the early stages=20 > of development, there are no tarfiles available online, and the=20 > preferred method of fetching the source is by using the darcs version=20 > control system. The single command I ran to get the source was "darcs=20 > get http://url" and I was wondering it's possible for a port to retrieve= =20 > files in this way. I've been following the porters handbook, but it=20 > assumes use fetch(1) for everything. Should I tar up the sources=20 > periodically and host them on a webserver somewhere? Is that the=20 > preferred way of doing things? >=20 > Thanks for any help guys, It would be better to create a snapshot and upload it somewhere. Although it is impossible to redefine do-fetch target and get files from CVS/darcs it would be hard to check files consistency, since their sizes will vary depending on snapshot date/time/revision, so you should provide tag/date switch to repository checkout program. Additionally, you should issue own checksum checking code or add every file in distinfo/DISTFILES. --=20 Stanislav Sedov MBSD labs, Inc. =F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1 http://mbsd.msk.ru -------------------------------------------------------------------- If the facts don't fit the theory, change the facts. -- A. Einstein -------------------------------------------------------------------- PGP fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 --Sig_Jj_wRM35+xUJ_8D_MvD8XP_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEy2QZK/VZk+smlYERAjRqAJ421qlufZnDjeRPj0gZjNanBYsSbACggrUt gzNp22nhB3SL/8lcmo9yvkI= =nNZG -----END PGP SIGNATURE----- --Sig_Jj_wRM35+xUJ_8D_MvD8XP_--