Bug 151993 - [NEW PORT] devel/py-mercurialserver
Summary: [NEW PORT] devel/py-mercurialserver
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-06 19:20 UTC by Aldis Berjoza
Modified: 2010-11-27 02:10 UTC (History)
0 users

See Also:


Attachments
file.shar (8.01 KB, text/plain)
2010-11-06 19:20 UTC, Aldis Berjoza
no flags Details
UIDs.patch (557 bytes, patch)
2010-11-06 19:55 UTC, Aldis Berjoza
no flags Details | Diff
GIDs.patch (207 bytes, patch)
2010-11-06 19:55 UTC, Aldis Berjoza
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aldis Berjoza 2010-11-06 19:20:08 UTC
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.

http://www.lshift.net/mercurial-server.html

Fix: Patch attached with submission follows:
Comment 1 Aldis Berjoza 2010-11-06 19:55:13 UTC
Forgot to send UIDs and GIDs patches....
Port will create hg user and group with id 212
I picked 212 because it's next to git user :D


-- 
Aldis Berjoza
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2010-11-27 01:21:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pgollucci

I will take it.
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-11-27 02:07:59 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-11-27 02:07:59 UTC
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 <aldis at bsdroot.lv>
  
  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)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"