# HG changeset patch # User Da Risk # Date 1283948488 -7200 # Node ID e4040658b2586bb214bdf941313f817e49fca065 # Parent c4579bc8b66914a45b1dbb499faa0bba755a9f0a Add mercurial-server from science overlay diff -r c4579bc8b669 -r e4040658b258 dev-vcs/mercurial-server/ChangeLog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-vcs/mercurial-server/ChangeLog Wed Sep 08 14:21:28 2010 +0200 @@ -0,0 +1,53 @@ +# ChangeLog for dev-vcs/mercurial-server +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 27 Jun 2010; Justin Lecher + mercurial-server-1.0.1.ebuild: + Python ABI fixes + + 11 Mar 2010; Christoph Junghans + mercurial-server-1.0.1.ebuild: + fixed bug #286695#c8 (tnx to Domen Kozar) + + 06 Mar 2010; Christoph Junghans + mercurial-server-1.0.1.ebuild: + updates due to dev-util -> dev-vcs + + 06 Mar 2010; Christoph Junghans + -mercurial-server-0.9.ebuild, -mercurial-server-1.0.ebuild: + clean up + + 15 Jan 2010; Christoph Junghans + mercurial-server-1.0.1.ebuild: + Added ~amd64 keyword + +*mercurial-server-1.0.1 (03 Jan 2010) + + 03 Jan 2010; Christoph Junghans + +mercurial-server-1.0.1.ebuild: + Version bump + +*mercurial-server-1.0 (13 Dec 2009) + + 13 Dec 2009; Christoph Junghans + +mercurial-server-1.0.ebuild: + version bump to 1.0 + +*mercurial-server-0.9 (14 Nov 2009) + + 14 Nov 2009; Christoph Junghans + -mercurial-server-0.6.ebuild, +mercurial-server-0.9.ebuild, + +files/mercurial-server-0.9-docbook-path.patch: + version bump to 0.9 + + 28 Sep 2009; Christoph Junghans + mercurial-server-0.6.ebuild: + Homepage updated, bug 286695 + +*mercurial-server-0.6 (27 Sep 2009) + + 27 Sep 2009; Christoph Junghans + +mercurial-server-0.6.ebuild, +metadata.xml: + Initial commit + diff -r c4579bc8b669 -r e4040658b258 dev-vcs/mercurial-server/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-vcs/mercurial-server/Manifest Wed Sep 08 14:21:28 2010 +0200 @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX mercurial-server-0.9-docbook-path.patch 1038 RMD160 41262720f38576b47bdbb8a22097f54ddaa57c25 SHA1 52bc6cfd6fb1ff125b65f1a4a58e4b672ab3895e SHA256 7f443fe6f54fd62db06c93ae8340cda2e1e39052f0121cdf13fa68aa11630c7e +DIST mercurial-server_1.0.1.tar.gz 20302 RMD160 e6ba21bca38f4b9cb48229fe000779dcf9b39072 SHA1 9f9b5b4a6f2a0cbbae8374db744350561618ff8d SHA256 6d67b8584730883c83972d35cf77bd1b45e7d2222458c5c3ac4ae94b3ec8f1ee +EBUILD mercurial-server-1.0.1.ebuild 2333 RMD160 bf8d9463239e38d3d3012979458034817352cae4 SHA1 cf7d74fac9737d1a7166b9fcbeceda769511baa1 SHA256 90e5a9bff96e65bc3136d156d11290efa473494c1592a05345ae068a219504f9 +MISC ChangeLog 1527 RMD160 b6e5b207408f32ae09cd6cae9fd3be2015ccf9cc SHA1 04e0f5252694ed5a685901c59f4af2cbd216b63c SHA256 35d8bd707a9eb39cb7072d6563b072f38fc5f5c4d2324bfd0b6d653aa9eb0e9d +MISC metadata.xml 220 RMD160 fd3dba7eeac39bb91e6658be7d4d846249c1c329 SHA1 0aafe188f55c4c22697755bea33de012cccf3f49 SHA256 0b5c322d93461039b700509ae2671b429f0637f66596c61e48ebba9e365c9f92 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.15 (GNU/Linux) + +iEYEARECAAYFAkwnjEUACgkQgAnW8HDreRbI0QCg0d/neVHR+cXuUmYpneSd0lYS +EuIAoI2QvQ6Mq57WT9NngIU8VOsCz8l0 +=jNzi +-----END PGP SIGNATURE----- diff -r c4579bc8b669 -r e4040658b258 dev-vcs/mercurial-server/files/mercurial-server-0.9-docbook-path.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-vcs/mercurial-server/files/mercurial-server-0.9-docbook-path.patch Wed Sep 08 14:21:28 2010 +0200 @@ -0,0 +1,32 @@ +# HG changeset patch +# User Christoph Junghans +# Date 1258219410 -3600 +# Node ID ddd0f0d12e128a4f90f5a5faf577239e6e2aedd9 +# Parent 31e862df1884641a650e907909e247e1d9afb4a4 +make docbook stylesheet path changeable + +diff -r 31e862df1884 -r ddd0f0d12e12 Makefile +--- a/Makefile Thu Nov 12 11:19:36 2009 +0000 ++++ b/Makefile Sat Nov 14 18:23:30 2009 +0100 +@@ -5,6 +5,7 @@ + DOCDIR=$(PREFIX)/doc/mercurial-server + ETCDIR=/etc/mercurial-server + NEWUSER=hg ++XSL=/usr/share/xml/docbook/stylesheet/nwalsh + + INSTALL=install + +@@ -29,11 +30,11 @@ + $(INSTALL) -m 644 -t $(DESTDIR)$(DOCDIR)/html build/html/index.html + + build/html/index.html: doc/manual.docbook +- xsltproc --nonet -o $@ /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl $^ ++ xsltproc --nonet -o $@ $(XSL)/html/docbook.xsl $^ + + build/pdf/manual.pdf: doc/manual.docbook + mkdir -p build/pdf +- fop -xml $^ -xsl /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl $@ ++ fop -xml $^ -xsl $(XSL)/fo/docbook.xsl $@ + + pythonbuild: + python setup.py build diff -r c4579bc8b669 -r e4040658b258 dev-vcs/mercurial-server/mercurial-server-1.0.1.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-vcs/mercurial-server/mercurial-server-1.0.1.ebuild Wed Sep 08 14:21:28 2010 +0200 @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +PYTHON_DEPEND="2" + +inherit eutils python + +DESCRIPTION="Mercurial authentication and authorization tools" +HOMEPAGE="http://www.lshift.net/mercurial-server.html" +SRC_URI="http://dev.lshift.net/paul/mercurial-server/mercurial-server_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND="dev-vcs/mercurial" +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt" + +S="${WORKDIR}/${PN}_${PV}.orig" + +pkg_setup() { + enewgroup hg + enewuser hg -1 /bin/sh /home/hg hg + chmod 700 /home/hg + python_set_active_version 2 +} + +src_compile() { + emake DOCBOOK_XSL="${EPREFIX}"/usr/share/sgml/docbook/xsl-stylesheets || die "emake failed" +} + +src_install() { + emake installfiles PREFIX="${EPREFIX}"/usr/share DOCDIR="${EPREFIX}/usr/share/doc/${PF}" DESTDIR="${D}" || die +} + +pkg_postinst() { + #skip the comments if there is already a hgadmin repo + if [ ! -d "${EPREFIX}"/home/hg/repos/hgadmin/.hg ]; then + #Parts could be done automatically, but maybe there is a user hg + elog "This seem to be a first time install, things you may want to do" + elog "-Add your public ssh key to root key folder" + elog " sudo cp ~/.ssh/id_rsa.pub ${EROOT}etc/mercurial-server/keys/root/\${USER}" + elog "-Create hgadmin repo" + elog " sudo -H -u hg ${EROOT}usr/share/mercurial-server/init/hginit ${EROOT}usr/share/mercurial-server" + elog "-Init hg's ssh authorized_keys file" + elog " sudo -H -u hg ${EROOT}usr/share/mercurial-server/refresh-auth" + elog "-Clone hgadmin repo" + elog " hg clone ssh://hg@localhost/hgadmin hgadmin" + elog "-Start administration" + elog " cd hgadmin" + elog " mkdir -p keys/root" + elog " cp ${ROOT}etc/mercurial-server/keys/root/\${USER} keys/root" + elog " cp ${ROOT}etc/mercurial-server/access.conf ." + elog " hg add" + elog " hg commit -m 'initial commit'" + elog " hg push ssh://hg@localhost/hgadmin" + elog "-Remove the key in ${EROOT}etc/mercurial-server/keys/root" + elog " rm ${EROOT}etc/mercurial-server/keys/root/\${USER}" + fi + ewarn "If you are upgrading from an older version of ${PN}, please take a look at" + ewarn "${EROOT}usr/share/mercurial-server/init/dot-mercurial-server" + ewarn "and add missing lines to ~hg/.mercurial-server" +} diff -r c4579bc8b669 -r e4040658b258 dev-vcs/mercurial-server/metadata.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-vcs/mercurial-server/metadata.xml Wed Sep 08 14:21:28 2010 +0200 @@ -0,0 +1,8 @@ + + + +sci + + kleiner_otti@gmx.de + +