From owner-freebsd-hubs@FreeBSD.ORG Tue Oct 18 19:32:28 2005 Return-Path: X-Original-To: hubs@freebsd.org Delivered-To: freebsd-hubs@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AD6D16A421; Tue, 18 Oct 2005 19:32:28 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46E8043D48; Tue, 18 Oct 2005 19:32:27 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id C9551EB7CA7; Wed, 19 Oct 2005 03:32:24 +0800 (CST) Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 85200-18; Wed, 19 Oct 2005 03:32:19 +0800 (CST) Received: from beastie.frontfree.net (unknown [211.71.95.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id CBF8CEB68BC; Wed, 19 Oct 2005 03:32:17 +0800 (CST) Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id AB13C131E89; Wed, 19 Oct 2005 03:32:11 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65798-14; Wed, 19 Oct 2005 03:32:11 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 3C821130E75; Wed, 19 Oct 2005 03:32:10 +0800 (CST) Date: Wed, 19 Oct 2005 03:32:10 +0800 From: Xin LI To: Juraj Lutter Message-ID: <20051018193210.GA66280@frontfree.net> References: <200510172237.j9HMbh4a023712@bright.research.att.com> <20051018182457.GA64117@frontfree.net> <43554611.6010800@sk.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <43554611.6010800@sk.FreeBSD.org> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #4: Thu Jul 28 10:59:26 CST 2005 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: amavisd-new at frontfree.net X-Virus-Scanned: amavisd-new at geekcn.org Cc: delphij@FreeBSD.org, hubs@freebsd.org, cperciva@FreeBSD.org Subject: Re: cn.freebsd.org nameserver down? X-BeenThere: freebsd-hubs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: delphij@delphij.net List-Id: "FreeBSD Distributions Hubs: mail sup ftp" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 19:32:28 -0000 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 18, 2005 at 08:59:29PM +0200, Juraj Lutter wrote: > Xin LI wrote: > > added the Simplified Chinese Project website and a local > > portsnap mirror). >=20 > This is what I'm interested in; how-to setup a local portsnap mirror, > as there is quite a lot of machines running in Slovakia/Czechia/Central > Europe and it would be nice to have European portsnap mirror :-) I can > provide the space and bandwidth needed. You need some scripts from Colin. The version I have is a bit stale accord= ing to him but I'm too busy to get an update from him :-) To set up your own site, first set up a directory that is designated for the mirror (which should be exposed through a Web server, e.g. lighttpd or Apac= he, etc), and a temp directory. You need to run "portsnap-initwww.sh" in the mirror directory, which will create directories that is necessary for the mirror; Then, hack the "portsnap-mirror.sh" to teach it about the directories. Set up a crontab item for it, like this: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Update portsnap 29,59 * * * * www lockf -t 0 /hosting/portsna= p.geekcn.org/mirrortmp/lockfile /hosting/portsnap.geekcn.org/scripts/portsn= ap-mirror.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Also you will want to run portsnap-cleanup.sh periodically. I can send the old scripts to you, though please ask Colin for the new ones before trying the last resort :-) > Also I would like to kindly ask you to modify sk.FreeBSD.org mirror on > mirrors-ftp.html and add FTPv6 and also http access to ftp.sk.FreeBSD.org. Committed, thanks. Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDVU26/cVsHxFZiIoRAm1rAKCCD0qIBqwV6O/iF23PxwDrvQWdfwCfUUdH 6gErpbYGqKVjJnEeo5h2Zeg= =VkWo -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs--