From owner-cvs-all@FreeBSD.ORG Sat Nov 27 02:07:50 2010 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7B6B106566B; Sat, 27 Nov 2010 02:07:50 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3BE8FC16; Sat, 27 Nov 2010 02:07:50 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAR27ol2044084; Sat, 27 Nov 2010 02:07:50 GMT (envelope-from pgollucci@repoman.freebsd.org) Received: (from pgollucci@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAR27oJw044083; Sat, 27 Nov 2010 02:07:50 GMT (envelope-from pgollucci) Message-Id: <201011270207.oAR27oJw044083@repoman.freebsd.org> From: "Philip M. Gollucci" Date: Sat, 27 Nov 2010 02:07:50 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/py-mercurialserver Makefile distinfo pkg-descr pkg-install pkg-plist ports/devel/py-mercurialserver/files patch-setup.py X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2010 02:07:50 -0000 pgollucci 2010-11-27 02:07:50 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/py-mercurialserver Makefile distinfo pkg-descr pkg-install pkg-plist devel/py-mercurialserver/files patch-setup.py Log: mercurial-server gives your developers remote read/write access to centralized Mercurial repositories using SSH public key authentication; it provides convenient and fine-grained key management and access control. All of the repositories controlled by mercurial-server are owned by a single user (the "hg" user in what follows), but many remote users can act on them, and different users can have different permissions. We don't use file permissions to achieve that - instead, developers log in as the "hg" user when they connect to the repository host using SSH, using SSH URLs of the form "ssh://hg@repository-host/repository-name". A restricted shell prevents them from using this access for unauthorized purposes. Developers are authenticated only using SSH keys; no other form of authentication is supported. To give a user access to the repository, place their key in an appropriately-named subdirectory of "/usr/lcoal/etc/mercurialserver/keys" and run "refresh-auth". You can then control what access they have to what repositories by editing the control file "/usr/local/etc/mercurialserver/access.conf", which can match the names of these keys against a glob pattern. For convenient remote control of access, you can instead (if you have the privileges) make changes to a special repository called "hgadmin", which contains its own "access.conf" file and "keys" directory. Changes pushed to this repository take effect immediately. The two "access.conf" files are concatenated, and the keys directories merged. WWW: http://www.lshift.net/mercurial-server.html PR: ports/151993 Submitted by: Aldis Berjoza Revision Changes Path 1.4146 +1 -0 ports/devel/Makefile 1.1 +62 -0 ports/devel/py-mercurialserver/Makefile (new) 1.1 +2 -0 ports/devel/py-mercurialserver/distinfo (new) 1.1 +11 -0 ports/devel/py-mercurialserver/files/patch-setup.py (new) 1.1 +28 -0 ports/devel/py-mercurialserver/pkg-descr (new) 1.1 +43 -0 ports/devel/py-mercurialserver/pkg-install (new) 1.1 +39 -0 ports/devel/py-mercurialserver/pkg-plist (new)