diff options
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/Manifest.gz | bin | 14131 -> 13961 bytes | |||
-rw-r--r-- | dev-vcs/monotone/Manifest | 9 | ||||
-rw-r--r-- | dev-vcs/monotone/files/hooks.lua | 4 | ||||
-rw-r--r-- | dev-vcs/monotone/files/monotone-0.36.initd | 84 | ||||
-rw-r--r-- | dev-vcs/monotone/files/monotone.confd | 25 | ||||
-rw-r--r-- | dev-vcs/monotone/files/read-permissions | 7 | ||||
-rw-r--r-- | dev-vcs/monotone/files/write-permissions | 2 | ||||
-rw-r--r-- | dev-vcs/monotone/metadata.xml | 15 | ||||
-rw-r--r-- | dev-vcs/monotone/monotone-1.0-r4.ebuild | 117 |
9 files changed, 0 insertions, 263 deletions
diff --git a/dev-vcs/Manifest.gz b/dev-vcs/Manifest.gz Binary files differindex aa97fdd39774..d2c04c6bbe3a 100644 --- a/dev-vcs/Manifest.gz +++ b/dev-vcs/Manifest.gz diff --git a/dev-vcs/monotone/Manifest b/dev-vcs/monotone/Manifest deleted file mode 100644 index a0a94383453b..000000000000 --- a/dev-vcs/monotone/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX hooks.lua 154 BLAKE2B 865ecdc9e0aa8a2408881de4b4c7ca59efd5ac515f1b42dd1c04594c146d87859e31dfc794d1586cf4cd0b66482ec525e969acfc7376c187a42d5224395c0abc SHA512 1244786898087edfe5c11493081c38d498c5ed275449b040caf4b9fbd1b3c15d238246c3d9c62cbfb5d0dd5f9a9ebac12a50ce6471fc245ede5c5e944bdb88e2 -AUX monotone-0.36.initd 2349 BLAKE2B 6a7530c174aa34cd07bb2285aa195ca2be65b9735f7f7f436540ae14bde86933c0f5e79f6a456a8675c6873193b60691432e6bd33cf06f631624353458e1232b SHA512 3988aaebfe374bd07728cc2f2b3b01db30b4ca2d873ecc2f746fed6c662c6dd48fad1c6200dec6254f1aa580ebe7dc38eebdd8c98f17d173aedde9a68098a058 -AUX monotone.confd 692 BLAKE2B 7fbc393a9d8ba0c7af50b1a4730b14d53110c27c996f3c2da3d73e70dd9f0cf617eb6ba2856a42c4e869337a4d28a7b2fd3631eb62f47dcf98fce80866d194bc SHA512 60cdc88a404a05a0a5be7c9d2ddd6020d502e98fe56462aca67c646d48bdf643989e32040ee2c8aa71f8742be2b3481d6c3b2757dc390ad4207d6437c3de5ed0 -AUX read-permissions 192 BLAKE2B c9ad504d161a07330638020f13c939edeed533dd16ee55c4da3dc6a6401ecaedb1e3db2c779a1d6eba29126f0f161597741be9558be3029200aa92ecee0d2ef1 SHA512 a86c6d7963e41f471de5c3c8538e0464364dffdaf8aee9890b833042c20b0a3a692e2262106f63fc7a669e2a9003d2a01aecb1d9a7632b432fdb828d1a42cdbd -AUX write-permissions 32 BLAKE2B e4e17b38b4df16cacca12338524abbfcabf4de4b138abef270176b0d3e9d61c5051dd2c61e4abb89fca7133681b4936d942cad2e0610a8ba2c680be53cc9d673 SHA512 7348c621149d2911db11eb078ad39eb02ed3b51f4e1dd7ebc58dc863cfc0839e115c26d707c496138767f64e3987a4cc7dffb5eb711872a5d40fd8d084b9c08e -DIST monotone-1.0-gentoo-patchset.tar.bz2 14029 BLAKE2B 2a75b0339f1b82836b34235ff66e90c8640d1a6eaf978c4882112e603e1123c82cb941efc06dd246c929c18018b1bcfa78f0cf0cf695aa9a293007eaf3abd7bf SHA512 70c5c885afca10ac3ab1c8ba855302333d2d137697f8f2c0cefdf0c57c466e0b03535ebd5cf936df273004646aeaa4bc55bd4b9f006285f8a825b8a665c77e60 -DIST monotone-1.0.tar.bz2 3588074 BLAKE2B 973789ba12a02f73932cd7fbc51a0570d43ea53f5b04d2ab361d445c2b1774e8603ce03b5751c06c312901484c398d82c02c34c0f127ff99e6400ace755a407b SHA512 85f5a015ee3f7a924e16b7f20974cadd18bd6aaf2815eca0da42689373fc654c661051ce6981ec473f9eac7f9796cfed3431f0cfe16d1cbe0b0b625302ef3e77 -EBUILD monotone-1.0-r4.ebuild 3653 BLAKE2B f3eddaad4c8901d899298e9f54b21d13eb7afb2833d1c624246d515b088dd648f98487091f585ee82de60d6b940db6b8329f5a2f84a644771faff203263a6aeb SHA512 3d1c81e0956fba9c49a75f3586d1c544ea299b69bd4b0bbcbb006b18ee907588924fe43b3d6e2549c17886a4d87d9cdd7c66a548426af1987bc4e63ebcb45b97 -MISC metadata.xml 744 BLAKE2B 7d2a7c57dd4fdeb0ef33840b9110e084dd31309087f74c8dc647c0053569281da7920764a198e90ae709f5f15365740ece419d5532b4758254c0bcf3e2272111 SHA512 98df2fa2eaa8cfd42f3de02082c815e37d69d05ddddd00f79ecd7a2c1c85f948663924ab6f4712903c103d2d4a525e121318e22bb0b2882c49218bd695b9de0e diff --git a/dev-vcs/monotone/files/hooks.lua b/dev-vcs/monotone/files/hooks.lua deleted file mode 100644 index bbdb0042a5f6..000000000000 --- a/dev-vcs/monotone/files/hooks.lua +++ /dev/null @@ -1,4 +0,0 @@ --- Add custom hooks after the following line. It includes the identification --- needed to start the server. - -include(get_confdir() .. "/passphrase.lua") diff --git a/dev-vcs/monotone/files/monotone-0.36.initd b/dev-vcs/monotone/files/monotone-0.36.initd deleted file mode 100644 index 286264c5f772..000000000000 --- a/dev-vcs/monotone/files/monotone-0.36.initd +++ /dev/null @@ -1,84 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2006-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -extra_commands="import" - -depend() { - need net -} - -# Substitute common default values -MTN_USER=${MTN_USER:-monotone} -MTN_GROUP=${MTN_GROUP:-monotone} -MTN_KEY=${MTN_KEY:-monotone@`hostname --fqdn`} -MTN_CONFDIR=${MTN_CONFDIR:-/etc/monotone} -MTN_COMMON="--norc --confdir=${MTN_CONFDIR} \ - --keydir=${MTN_KEYDIR:-/var/lib/monotone/keys} \ - --db=${MTN_DB:-/var/lib/monotone/default.mtn} \ - --rcfile=${MTN_CONFDIR}/hooks.lua --log=/var/log/monotone/monotone.log" - #--dump=$ERRORLOG -MTN_PIDFILE="/var/run/monotone/monotone.pid" -MTN_HOME=$(awk -F: -vuid=$MTN_USER -vuser=$MTN_USER '$3 == uid || $1 == user { print $6 }' < /etc/passwd) - -dbexists() { - # Create the database if it doesn't exist - if [ ! -e ${MTN_DB:-/var/lib/monotone/default.mtn} ]; then - ebegin "Creating monotone database" - start-stop-daemon --start \ - --user ${MTN_USER} --group ${MTN_GROUP} \ - --exec /usr/bin/mtn -- ${MTN_COMMON} db init - eend $? - fi - if [ ! -e ${MTN_KEYDIR:-/var/lib/monotone/keys}/${MTN_KEY} ]; then - ebegin "Creating monotone server keypair" - export MTN_PWD=${RANDOM} - yes "${MTN_PWD}" | \ - start-stop-daemon --start \ - --user ${MTN_USER} --group ${MTN_GROUP} \ - --exec /usr/bin/mtn -- ${MTN_COMMON} genkey ${MTN_KEY} - - eend $? - # Update the password lua hook - cat > ${MTN_CONFDIR}/passphrase.lua <<EOF --- This file is automaticaly generated by the init scripts. --- If you want to add custom hooks, edit ${MTN_CONFDIR}/hooks.lua --- If you want to change the settings, please edit /etc/conf.d/monotone - -function get_passphrase(identity) - if (identity == "${MTN_KEY}") then - return "${MTN_PWD}" - end - return false -end -EOF - fi -} - -start() { - cd ${MTN_HOME} - dbexists - - ebegin "Starting monotone server" - start-stop-daemon --start --background \ - --user ${MTN_USER} --group ${MTN_GROUP} \ - --exec /usr/bin/mtn -- ${MTN_COMMON} --pid-file=${MTN_PIDFILE} \ - --key=${MTN_KEY} --bind=${MTN_ADDRESS:-0.0.0.0} serve - eend $? -} - -stop() { - ebegin "Stopping monotone server" - start-stop-daemon --stop --quiet --pidfile ${MTN_PIDFILE} - eend $? -} - -import() { - cd ${MTN_HOME} - dbexists - - # Read packets into the database - einfo "Importing packets to monotone database" - cat | /usr/bin/mtn ${MTN_COMMON} read - eend $? -} diff --git a/dev-vcs/monotone/files/monotone.confd b/dev-vcs/monotone/files/monotone.confd deleted file mode 100644 index 717725431717..000000000000 --- a/dev-vcs/monotone/files/monotone.confd +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# The commented variables in this file are the defaults that are used - -# in the init-script. You don't need to uncomment them except to -# customize them to different values. - -# Location of the served database -#MTN_DB="/var/lib/monotone/default.mtn" - -# Server identification -#MTN_KEY="monotone@`hostname --fqdn`" -#MTN_PWD="" - -# User and group as which to run monotone -#MTN_USER="monotone" -#MTN_GROUP="monotone" - -# The address and or port (ADDRESS[:PORT]) monotone should listen on -#MTN_ADDRESS=0.0.0.0 - -# Advanced options -#MTN_CONFDIR=/etc/monotone -#MTN_KEYDIR=/var/lib/monotone/keys diff --git a/dev-vcs/monotone/files/read-permissions b/dev-vcs/monotone/files/read-permissions deleted file mode 100644 index d08200aa0059..000000000000 --- a/dev-vcs/monotone/files/read-permissions +++ /dev/null @@ -1,7 +0,0 @@ -pattern "net.example.project.{private,security}*" -allow "joe@example.net" -allow "jim@example.net" - -comment "everyone can read these branches" -pattern "net.example.{public,project}*" -allow "*" diff --git a/dev-vcs/monotone/files/write-permissions b/dev-vcs/monotone/files/write-permissions deleted file mode 100644 index 1b138c7fc6c0..000000000000 --- a/dev-vcs/monotone/files/write-permissions +++ /dev/null @@ -1,2 +0,0 @@ -joe@example.net -jim@example.net diff --git a/dev-vcs/monotone/metadata.xml b/dev-vcs/monotone/metadata.xml deleted file mode 100644 index fd524bde49c9..000000000000 --- a/dev-vcs/monotone/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> - <longdescription>A free distributed version control system. It provides a simple, -single-file transactional version store, with fully disconnected -operation and an efficient peer-to-peer synchronization -protocol. It understands history-sensitive merging, lightweight -branches, integrated code review and 3rd party testing. It uses -cryptographic version naming and client-side RSA certificates. It -has good internationalization support, has no external -dependencies, runs on linux, solaris, OSX, windows, and other -unixes, and is licensed under the GNU GPL. - </longdescription> -</pkgmetadata> diff --git a/dev-vcs/monotone/monotone-1.0-r4.ebuild b/dev-vcs/monotone/monotone-1.0-r4.ebuild deleted file mode 100644 index 2b4a541b8a1a..000000000000 --- a/dev-vcs/monotone/monotone-1.0-r4.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# QA failiures reported in https://code.monotone.ca/p/monotone/issues/181/ -EAPI="4" -inherit bash-completion-r1 elisp-common eutils toolchain-funcs user - -DESCRIPTION="Monotone Distributed Version Control System" -HOMEPAGE="http://monotone.ca" -SRC_URI="http://monotone.ca/downloads/${PV}/${P}.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/${P}-gentoo-patchset.tar.bz2" - -LICENSE="GPL-2" -SLOT="1" -KEYWORDS="amd64 ~ia64 x86" -IUSE="doc ipv6 nls test" - -RDEPEND="sys-libs/zlib - >=dev-libs/libpcre-7.6 - >=dev-libs/botan-1.8.0:0 - >=dev-db/sqlite-3.3.8 - >=dev-lang/lua-5.1 - net-dns/libidn" -DEPEND="${RDEPEND} - >=dev-libs/boost-1.33.1 - nls? ( >=sys-devel/gettext-0.11.5 ) - doc? ( sys-apps/texinfo ) - test? ( dev-tcltk/expect - app-shells/bash-completion )" - -pkg_setup() { - enewgroup monotone - enewuser monotone -1 -1 /var/lib/monotone monotone -} - -src_prepare() { - if [[ $(gcc-major-version) -lt "3" || - ( $(gcc-major-version) -eq "3" && $(gcc-minor-version) -le 3 ) ]]; then - die 'requires >=gcc-3.4' - fi - epatch "${WORKDIR}/${P}-gentoo-patchset/monotone-1.0-bash-completion-tests.patch" - epatch "${WORKDIR}/${P}-gentoo-patchset/monotone-1.0-botan-1.10-v2.patch" - epatch "${WORKDIR}/${P}-gentoo-patchset/monotone-1.0-glibc-2.14-file-handle.patch" - epatch "${WORKDIR}/${P}-gentoo-patchset/monotone-1.0-boost-1.53.patch" - epatch "${WORKDIR}/${P}-gentoo-patchset/monotone-1.0-pcre3.patch" - epatch "${WORKDIR}/${P}-gentoo-patchset/monotone-1.0-texinfo-5.1.patch" - epatch "${WORKDIR}/${P}-gentoo-patchset/monotone-1.0-gcc6.patch" -} - -src_configure() { - econf \ - $(use_enable nls) \ - $(use_enable ipv6) -} - -src_compile() { - emake - use doc && emake html -} - -src_test() { - # Disables netsync_bind_opt test - # https://code.monotone.ca/p/monotone/issues/179/ - export DISABLE_NETWORK_TESTS=true - if [[ ${UID} != 0 ]]; then - emake check - else - ewarn "Tests will fail if ran as root, skipping." - fi -} - -src_install() { - emake DESTDIR="${D}" install - - mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die - - rm "${ED}"/etc/bash_completion.d/monotone.bash_completion || die - newbashcomp extra/shell/monotone.bash_completion ${PN} - - if use doc; then - dohtml -r doc/html/* - dohtml -r doc/figures - fi - - dodoc AUTHORS NEWS README* UPGRADE - docinto contrib - docompress -x /usr/share/doc/${PF}/contrib - dodoc -r contrib - newconfd "${FILESDIR}"/monotone.confd monotone - newinitd "${FILESDIR}"/${PN}-0.36.initd monotone - - insinto /etc/monotone - newins "${FILESDIR}"/hooks.lua hooks.lua - newins "${FILESDIR}"/read-permissions read-permissions - newins "${FILESDIR}"/write-permissions write-permissions - - keepdir /var/lib/monotone/keys/ /var/{log,run}/monotone - fowners monotone:monotone /var/lib/monotone{,/keys} /var/{log,run}/monotone -} - -pkg_postinst() { - elog - elog "For details and instructions to upgrade from previous versions," - elog "please read /usr/share/doc/${PF}/UPGRADE.bz2" - elog - elog " 1. edit /etc/conf.d/monotone" - elog " 2. import the first keys to enable access with" - elog " env HOME=\${homedir} mtn pubkey me@example.net | /etc/init.d/monotone import" - elog " Thereafter, those with write permission can add other keys via" - elog " netsync with 'monotone push --key-to-push=IDENT' and then IDENT" - elog " can be used in the read-permission and write-permission files." - elog " 3. adjust permisions in /etc/monotone/read-permissions" - elog " and /etc/monotone/write-permissions" - elog " 4. start the daemon: /etc/init.d/monotone start" - elog " 5. make persistent: rc-update add monotone default" - elog -} |