# # # add_file "debian/monotone-doc.dirs" # content [f6173411af16a69abba3fe7572866591c6121b23] # # add_file "debian/monotone-doc.doc-base" # content [a81a27bb143eb4cfa924c533854758ffd0c932c2] # # add_file "debian/monotone-doc.docs" # content [befa0a5aa8814a3a456423e6fa384348e9660721] # # add_file "debian/monotone-doc.info" # content [a9819b431d8d972835382dcd0ec843c5c9a89123] # # add_file "debian/monotone-doc.postinst" # content [42173087f1dc1dadf9365e37d71b02121f6f03b8] # # add_file "debian/monotone-server.README.Debian" # content [c7a792f4af48c9a4081117095d2fdac227d51e89] # # add_file "debian/monotone-server.TODO.Debian" # content [9563c8283f6cc159c73b79605dff5b036a420986] # # add_file "debian/monotone-server.config" # content [5cd3762e06ce71153bcfc7c9a79f7b886c5983e0] # # add_file "debian/monotone-server.dirs" # content [5830a3e0a1f30faa3ebb0e40074a2b4e138b7bed] # # add_file "debian/monotone-server.monotone.default" # content [9e76b3d5b7f68c4ac992cb3eddf5350582a77bc6] # # add_file "debian/monotone-server.monotone.init" # content [4dc41609aa63584d798ff32e8cddb5d0328c457d] # # add_file "debian/monotone-server.postinst" # content [5396d39108fee8da7e6c45f4adc7f97a69b5ed5c] # # add_file "debian/monotone-server.postrm" # content [8bd9ca557becb519bc67515dfafead77b97120e2] # # add_file "debian/monotone-server.templates" # content [81b54e05c8042bb136e4092a955b6af0047f8346] # # add_file "debian/monotone.README.Debian" # content [e8b2663eb6e97f64381b647dba9f151d25724f33] # # add_file "debian/monotone.TODO.Debian" # content [df3606d141c3033f9a1e244c0d78f0489d0bcd6c] # # add_file "debian/monotone.dirs" # content [c0bced501ce4731522e5b728dd34db871ba54b17] # # add_file "debian/monotone.docs" # content [acbe6763ec74c6f43841414c82df93c6eddd8f73] # # add_file "debian/monotone.examples" # content [e9df0269ff17651bbf6cde7a2aa8c63fda11877c] # # add_file "debian/monotone.manpages" # content [ed6d7f2b05011f1acc5a83164edd7c024b40a61a] # # add_file "debian/po/es.po" # content [4164b24472955cac19ad9f39a2132a67b50e566b] # ============================================================ --- debian/monotone-doc.dirs f6173411af16a69abba3fe7572866591c6121b23 +++ debian/monotone-doc.dirs f6173411af16a69abba3fe7572866591c6121b23 @@ -0,0 +1 @@ +usr/share/doc/monotone/html/figures ============================================================ --- debian/monotone-doc.doc-base a81a27bb143eb4cfa924c533854758ffd0c932c2 +++ debian/monotone-doc.doc-base a81a27bb143eb4cfa924c533854758ffd0c932c2 @@ -0,0 +1,20 @@ +Document: monotone-manual +Title: Monotone version control system manual +Author: Graydon Hoare et al +Abstract: This manual documents the Monotone distributed version control + system. It includes a basic tutorial, several use examples, and + a detailed reference. +Section: Programming + +Format: HTML +Index: /usr/share/doc/monotone/html/index.html +Files: /usr/share/doc/monotone/html/*.html + /usr/share/doc/monotone/html/*.css + /usr/share/doc/monotone/html/figures/*.png + +Format: PDF +Files: /usr/share/doc/monotone/monotone.pdf + +Format: Info +Index: /usr/share/info/monotone.info.gz +Files: /usr/share/info/monotone.info*.gz ============================================================ --- debian/monotone-doc.docs befa0a5aa8814a3a456423e6fa384348e9660721 +++ debian/monotone-doc.docs befa0a5aa8814a3a456423e6fa384348e9660721 @@ -0,0 +1 @@ +monotone.pdf ============================================================ --- debian/monotone-doc.info a9819b431d8d972835382dcd0ec843c5c9a89123 +++ debian/monotone-doc.info a9819b431d8d972835382dcd0ec843c5c9a89123 @@ -0,0 +1,2 @@ +monotone.info +monotone.info-* ============================================================ --- debian/monotone-doc.postinst 42173087f1dc1dadf9365e37d71b02121f6f03b8 +++ debian/monotone-doc.postinst 42173087f1dc1dadf9365e37d71b02121f6f03b8 @@ -0,0 +1,13 @@ +#! /bin/sh + +case "$1" in + configure) + # directory turned into symlink; give dpkg a hand + if [ ! -L /usr/share/doc/monotone-doc ] && \ + [ -e /usr/share/doc/monotone-doc ]; then + rmdir /usr/share/doc/monotone-doc + ln -sf monotone /usr/share/doc/monotone-doc + fi +esac + +#DEBHELPER# ============================================================ --- debian/monotone-server.README.Debian c7a792f4af48c9a4081117095d2fdac227d51e89 +++ debian/monotone-server.README.Debian c7a792f4af48c9a4081117095d2fdac227d51e89 @@ -0,0 +1,18 @@ +monotone for Debian +------------------- + +In order to use the monotone-server package, the server should first be +configured in the /etc/monotone/write-permissions, +/etc/monotone/read-permissions, and /etc/default/monotone files. The server +will not start until this is done. + +The read-permissions and write-permissions files are in the standard format as +specified in the monotone manual. The /etc/default/monotone file contains +options such as what interface the server should listen on and what branches it +should serve. + +The /var/lib/monotone/default.mtn database will only be removed if the +monotone-server package is purged (it is left intact upon normal package +removal). + + -- Matthew A. Nicholson Tue, 6 Dec 2005 7:38:00 -0600 ============================================================ --- debian/monotone-server.TODO.Debian 9563c8283f6cc159c73b79605dff5b036a420986 +++ debian/monotone-server.TODO.Debian 9563c8283f6cc159c73b79605dff5b036a420986 @@ -0,0 +1,6 @@ +TODO for Debian +=============== + +* Add logrotate hooks. + + -- Matthew A. Nicholson Sun, 2 Apr 2006 23:55:00 -0600 ============================================================ --- debian/monotone-server.config 5cd3762e06ce71153bcfc7c9a79f7b886c5983e0 +++ debian/monotone-server.config 5cd3762e06ce71153bcfc7c9a79f7b886c5983e0 @@ -0,0 +1,88 @@ +#! /bin/sh +# vim: set ft=sh sw=4 et: +# postinst script for monotone-server +# +# see: dh_installdeb(1) + +set -e + +# source debconf stuff +. /usr/share/debconf/confmodule + +# we only want to change these values on the initial configuration + +gen_pass () +{ + # this used to use $RANDOM, but dash doesn't have that + # also, the perl version is clearer + + MATRIX="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" + LENGTH="$1" + if [ -z "$LENGTH" ]; then + LENGTH=8 + fi + + PASS=`perl -e ' + @matrix = split //, $ARGV[0]; + $length = $ARGV[1]; + print $matrix[int(rand($#matrix + 1))] for 1..$length; + print "\n"; + ' "$MATRIX" "$LENGTH"` +} + +case "$1" in + configure) + # set the default monotone keyname + db_set monotone-server/key "address@hidden --fqdn`" + + db_input medium monotone-server/manage-db || true + db_go || true + + # make sure we should manage things + db_get monotone-server/manage-db + if [ "$RET" = "true" ]; then + + db_input low monotone-server/key || true + db_input low monotone-server/passphrase || true + db_go || true + + # no passphrase was entered, generate one + # make sure this is the initial configuration + db_get monotone-server/passphrase + if [ -z "$RET" ] && [ -z "$2" ]; then + gen_pass + db_set monotone-server/passphrase "$PASS" + fi + fi + ;; + reconfigure) + db_input medium monotone-server/manage-db || true + db_go || true + + # make sure we should manage things + db_get monotone-server/manage-db + if [ "$RET" = "true" ]; then + db_input low monotone-server/key || true + db_input low monotone-server/passphrase || true + db_go || true + + # Now let's store the passphrase and key in a file. We only do + # this on reconfigure, postinst handles this in all other cases. + MTN_CONFDIR=/etc/monotone + + db_get monotone-server/key + MTN_KEY="$RET" + + db_get monotone-server/passphrase + MTN_KEY_PASSWD="$RET" + + echo "$MTN_KEY \"$MTN_KEY_PASSWD\"" > $MTN_CONFDIR/passphrases + db_set monotone-server/passphrase "" + fi + ;; + *) + echo "config called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + ============================================================ --- debian/monotone-server.dirs 5830a3e0a1f30faa3ebb0e40074a2b4e138b7bed +++ debian/monotone-server.dirs 5830a3e0a1f30faa3ebb0e40074a2b4e138b7bed @@ -0,0 +1,7 @@ +var/lib/monotone +var/lib/monotone/keys +etc/monotone +var/log/monotone +var/run/monotone +usr/share/doc +usr/share/monotone ============================================================ --- debian/monotone-server.monotone.default 9e76b3d5b7f68c4ac992cb3eddf5350582a77bc6 +++ debian/monotone-server.monotone.default 9e76b3d5b7f68c4ac992cb3eddf5350582a77bc6 @@ -0,0 +1,16 @@ +# init.d config file for monotone + +# this must be set to 1 for monotone to start +START=0 + +# the address and or port (ADDRESS[:PORT]) monotone should listen on +#ADDRESS=0.0.0.0 + +# the database to use +#MTN_DB=/var/lib/monotone/default.mtn + +# Various other options, don't touch unless you know what you are doing. +#MTN_HOME=/var/lib/monotone +#MTN_CONFDIR=/etc/monotone +#MTN_KEYDIR=$MTN_HOME/keys + ============================================================ --- debian/monotone-server.monotone.init 4dc41609aa63584d798ff32e8cddb5d0328c457d +++ debian/monotone-server.monotone.init 4dc41609aa63584d798ff32e8cddb5d0328c457d @@ -0,0 +1,111 @@ +#! /bin/sh +# +# monotone Monotone server init script. +# +# Author: Matthew A. Nicholson . +# +### BEGIN INIT INFO +# Provides: monotone +# Required-Start: $network $local_fs +# Required-Stop: $network $local_fs +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Monotone server. +### END INIT INFO + +set -e + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DESC="Monotone Server" +NAME=monotone +EXECNAME=mtn +DAEMON=/usr/bin/$EXECNAME +PIDDIR=/var/run/$NAME +SCRIPTNAME=/etc/init.d/$NAME +MAINLOG=/var/log/$NAME/$EXECNAME.log +ERRORLOG=/var/log/$NAME/error.log + +# defaults for /etc/default/monotone +START=1 +ADDRESS=0.0.0.0 +MTN_HOME=/var/lib/monotone +MTN_CONFDIR=/etc/monotone +MTN_KEYDIR=$MTN_HOME/keys +MTN_DB=$MTN_HOME/default.mtn + +# Gracefully exit if the package has been removed. +test -x $DAEMON || exit 0 + +# Get the logging helpers. +. /lib/lsb/init-functions + +# Read config file +if [ -r /etc/default/$NAME ]; then + . /etc/default/$NAME +fi + +PIDFILE=$PIDDIR/$EXECNAME.pid + +# Function that starts the daemon. +d_start() +{ + if [ "$START" -ne 1 ]; then + log_action_msg "$NAME configured in /etc/default/$NAME not to start" + return 0 + fi + + log_daemon_msg "Starting $DESC" "$NAME" + + # If /var/run is created in tmpfs, it will be wiped of previous data + if [ ! -d "$PIDDIR" ]; then + mkdir -p "$PIDDIR" && chown monotone:monotone "$PIDDIR" + fi + + if start-stop-daemon --start --quiet --oknodo --background \ + --pidfile $PIDFILE --exec $DAEMON --chuid monotone --chdir $MTN_HOME \ + -- \ + --confdir=$MTN_CONFDIR --db=$MTN_DB --norc --pid-file=$PIDFILE \ + --log=$MAINLOG --dump=$ERRORLOG \ + --rcfile=$MTN_CONFDIR/hooks.lua --keydir=$MTN_KEYDIR --quiet \ + --bind=$ADDRESS serve + + then log_end_msg 0 + else log_end_msg 1 + fi +} + +# Function that stops the daemon. +d_stop() +{ + if [ "$START" -ne 1 ]; then + return 0 + fi + + log_daemon_msg "Stopping $DESC" "$NAME" + if start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE \ + --name $EXECNAME --user monotone + + then + rm -f $PIDFILE + log_end_msg 0 + else + log_end_msg 1 + fi +} + +case "$1" in + start) + d_start + ;; + stop) + d_stop + ;; + restart|force-reload) + d_stop + d_start + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac ============================================================ --- debian/monotone-server.postinst 5396d39108fee8da7e6c45f4adc7f97a69b5ed5c +++ debian/monotone-server.postinst 5396d39108fee8da7e6c45f4adc7f97a69b5ed5c @@ -0,0 +1,234 @@ +#! /bin/sh +# postinst script for monotone-server +# +# This script attempts to perform any db migrations neccessary during an +# upgrade. +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +# source debconf stuff +. /usr/share/debconf/confmodule + +MTN=/usr/bin/mtn + +monotone_check_minimum_previous_version () +{ + if dpkg --compare-versions "$MTN_VERSION" lt "0.17"; then + # monotone version to old to automatically upgrade + echo "Cannot automatically upgrade from monotone version $2." >&2 + echo "Please see UPGRADE and README.changesets in /usr/share/doc/monotone for" >&2 + echo "information on manually upgrading your database." >&2 + false + else + true + fi +} + +monotone_migrate () +{ + if dpkg --compare-versions "$MTN_VERSION" lt "0.39-90"; then + # upgradable version of monotone + echo "Attempting to migrate monotone database. This may take a while..." >&2 + echo "A backup named '`basename $MTN_DB~`' will be created in $MTN_HOME." >&2 + + cp $MTN_DB $MTN_DB~ + + if $MTN --db=$MTN_DB db migrate --rcfile=$MTN_CONFDIR/hooks.lua \ + --norc --keydir=$MTN_KEYDIR --confdir=$MTN_CONFDIR >&2; then + echo "Database successfully migrated." >&2 + true + else + echo "*** Error migrating database. ***" >&2 + echo "Please see UPGRADE and README.changesets in /usr/share/doc/monotone for" >&2 + echo "information on manually upgrading your database." >&2 + false + fi + else + true + fi +} + +monotone_rosterify () +{ + if dpkg --compare-versions "$MTN_VERSION" lt "0.26"; then + # now we need to rosterify + echo "Attempting to rosterify monotone database..." >&2 + + if $MTN --db=$MTN_DB db rosterify --rcfile=$MTN_CONFDIR/hooks.lua \ + --norc --keydir=$MTN_KEYDIR --confdir=$MTN_CONFDIR >&2; then + echo "Database successfully rosterified." >&2 + true + else + echo "*** Error rosterifying database. ***" >&2 + echo "Please see UPGRADE and README.changesets in /usr/share/doc/monotone for" >&2 + echo "information on manually upgrading your database." >&2 + false + fi + else + true + fi +} + +monotone_regenerate_caches () +{ + if dpkg --compare-versions "$MTN_VERSION" lt "0.31-90.1"; then + # now we need to regenerate caches + echo "Attempting to regenerate caches..." >&2 + + if $MTN --db=$MTN_DB db regenerate_caches --rcfile=$MTN_CONFDIR/hooks.lua \ + --norc --keydir=$MTN_KEYDIR --confdir=$MTN_CONFDIR >&2; then + echo "Caches successfully regenerated." >&2 + true + else + echo "*** Error regenerating roster. ***" >&2 + echo "Please see UPGRADE and README.changesets in /usr/share/doc/monotone for" >&2 + echo "information on manually upgrading your database." >&2 + false + fi + else + true + fi +} + +case "$1" in + configure) + + # directory turned into symlink; give dpkg a hand + if [ ! -L /usr/share/doc/monotone-server ] && \ + [ -e /usr/share/doc/monotone-server ]; then + rmdir /usr/share/doc/monotone-server + ln -sf monotone /usr/share/doc/monotone-server + fi + + MTN_HOME=/var/lib/monotone + MTN_DB=$MTN_HOME/default.mtn + MTN_CONFDIR=/etc/monotone + MTN_KEYDIR=$MTN_HOME/keys + + ucf --debconf-ok /usr/share/monotone/write-permissions.base /etc/monotone/write-permissions + ucf --debconf-ok /usr/share/monotone/read-permissions.base /etc/monotone/read-permissions + ucf --debconf-ok /usr/share/monotone/hooks.lua.base /etc/monotone/hooks.lua + + ucfr monotone-server /etc/monotone/write-permissions + ucfr monotone-server /etc/monotone/read-permissions + ucfr monotone-server /etc/monotone/hooks.lua + + # if this is our first install give config files correct permissions + if [ -z "$2" ]; then + # create monotone user and fix permissions of files + if [ -z "`id -u monotone 2>/dev/null`" ]; then + adduser --system --group --home $MTN_HOME \ + --no-create-home --disabled-password --quiet \ + --gecos "Monotone" monotone + fi + + chown monotone:monotone $MTN_HOME + chown monotone:monotone $MTN_CONFDIR + chown monotone:monotone $MTN_KEYDIR + chown monotone:monotone /var/log/monotone + chown monotone:monotone /var/run/monotone + + chmod 0750 $MTN_HOME + chmod 0750 $MTN_CONFDIR + chmod 0750 $MTN_KEYDIR + + chown monotone:monotone /etc/monotone/write-permissions + chown monotone:monotone /etc/monotone/read-permissions + chown monotone:monotone /etc/monotone/hooks.lua + chmod 0640 /etc/monotone/write-permissions + chmod 0640 /etc/monotone/read-permissions + chmod 0640 /etc/monotone/hooks.lua + fi + + db_get monotone-server/manage-db + if [ "$RET" = "true" ]; then + db_get monotone-server/key + MTN_KEY=$RET + + # read our passphrase from a file + if [ -e "$MTN_CONFDIR/passphrases" ]; then + db_set monotone-server/passphrase "`grep "$MTN_KEY" $MTN_CONFDIR/passphrases | awk -F ' "|" "|" |"' '{print $2}'`" + fi + + db_get monotone-server/passphrase + MTN_KEY_PASSWD=$RET + + MTN_VERSION="$2" + + # Since we are configuring, we should check if we are upgrading. If we are + # upgrading, we should run the proper db migrate commands if necessary. + + if [ -z "$2" ]; then + # not upgrading, fresh install + + # if there is no database, create one + if [ ! -e $MTN_DB ]; then + echo "Creating Monotone database..." >&2 + $MTN --db=$MTN_DB db init \ + --norc --keydir=$MTN_KEYDIR --confdir=$MTN_CONFDIR + + chmod 0600 $MTN_DB + chown monotone:monotone $MTN_DB + + echo "Creating Monotone server keypair..." >&2 + + yes "$MTN_KEY_PASSWD" | + $MTN --db=$MTN_DB genkey $MTN_KEY --quiet \ + --norc --keydir=$MTN_KEYDIR --confdir=$MTN_CONFDIR + + chown monotone:monotone $MTN_HOME/keys/* + + echo "Monotone database created successfully." >&2 + fi + else + set +e + monotone_check_minimum_previous_version && \ + monotone_migrate && \ + monotone_rosterify && \ + monotone_regenerate_caches + set -e + fi + + echo "$MTN_KEY \"$MTN_KEY_PASSWD\"" > $MTN_CONFDIR/passphrases + chown monotone:monotone $MTN_CONFDIR/passphrases + chmod 0400 $MTN_CONFDIR/passphrases + db_set monotone-server/passphrase "" + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# stop debconf +db_stop + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + ============================================================ --- debian/monotone-server.postrm 8bd9ca557becb519bc67515dfafead77b97120e2 +++ debian/monotone-server.postrm 8bd9ca557becb519bc67515dfafead77b97120e2 @@ -0,0 +1,115 @@ +#! /bin/sh +# vim: set ft=sh sw=4 et: +# postrm script for #PACKAGE# +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +case "$1" in + purge) + # note: when executing in this mode, this script cannot assume + # the existence of _any_ of the package dependencies. it must + # work using only Essential packages. hence, in several cases + # below we do cleanups only if the relevant program exists. + + # remove config files from ucf database and filesystem + for conf in write-permissions read-permissions hooks.lua; do + + # mimic dpkg and remove backups too + for ext in '' '~' '%' .bak .ucf-new .ucf-old .ucf-dist; do + rm -f /etc/monotone/$conf$ext || true + done + + # clear entries in ucf database + # note: we cannot assume ucf is still installed at this point + # (if it isn't, we don't need to worry about its database) + if which ucf > /dev/null; then + ucf --purge /etc/monotone/$conf + fi + if which ucfr > /dev/null; then + ucfr --purge monotone-server /etc/monotone/$conf + fi + done + + # if debconf still exists and we were asked to auto-manage the + # database, delete the auto-generated key and database. don't + # delete anything else in /var/lib/monotone - there might be + # hand-created databases and keys that the admin wants to keep. + # in any case remove /var/lib/monotone(/keys) if empty. + + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + + db_get monotone-server/manage-db + if [ "$RET" = true ]; then + db_get monotone-server/key + rm -f /var/lib/monotone/keys/"$RET" + + rm -f /var/lib/monotone/default.mtn + rm -f /var/lib/monotone/default.mtn~ + rm -f /var/lib/monotone/default.mtn-journal + + grep -v "$RET" /etc/monotone/passphrases \ + > /etc/monotone/passphrases.dpkg-new || true + if [ -s /etc/monotone/passphrases.dpkg-new ]; then + mv -f /etc/monotone/passphrases.dpkg-new \ + /etc/monotone/passphrases + else + rm -f /etc/monotone/passphrases.dpkg-new \ + /etc/monotone/passphrases + fi + + fi + # do not stop debconf, the debhelper additions will need it. + fi + rmdir --ignore-fail-on-non-empty /var/lib/monotone/keys + rmdir --ignore-fail-on-non-empty /var/lib/monotone + + # if deluser/delgroup exist, remove the server user and group. + # do not do this if /var/lib/monotone still exists (so that it + # will still have a named user owning it). + if which deluser > /dev/null && [ ! -e /var/lib/monotone ]; then + if [ -n "`id -u monotone 2>/dev/null`" ]; then + deluser --quiet monotone 2>/dev/null >/dev/null + fi + + if [ -n "`id -g monotone 2>/dev/null`" ]; then + delgroup --quiet monotone 2>/dev/null >/dev/null + fi + else + if [ -e /var/lib/monotone ]; then + reason="/var/lib/monotone still exists" + else + reason="deluser is not available" + fi + echo "warning: not deleting monotone user or group because $reason" >&2 + fi + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 ============================================================ --- debian/monotone-server.templates 81b54e05c8042bb136e4092a955b6af0047f8346 +++ debian/monotone-server.templates 81b54e05c8042bb136e4092a955b6af0047f8346 @@ -0,0 +1,20 @@ +Template: monotone-server/manage-db +Type: boolean +Default: true +_Description: Automatically manage monotone database? + Select this option to automatically manage the monotone database. If + selected, the database will automatically be created. Also when upgrading, + the database will be automatically migrated if necessary. + +Template: monotone-server/key +Type: string +_Description: Monotone key id: + Enter the id of the key your monotone server will use. The key id + is typically an email address. + +Template: monotone-server/passphrase +Type: password +_Description: Monotone key passphrase: + Please choose a passphrase for your monotone key. If left blank, one will + be generated for you. + ============================================================ --- debian/monotone.README.Debian e8b2663eb6e97f64381b647dba9f151d25724f33 +++ debian/monotone.README.Debian e8b2663eb6e97f64381b647dba9f151d25724f33 @@ -0,0 +1,17 @@ +README for Debian +================= + +By recommendation from upstream authors, monotone is currently linked +statically with versions of sqlite3, lua and popt libraries compiled +from patched source code shipped together with monotone. + +This has implications on the security support in Debian. + +Work has been initiated to make monotone work with an unpatched sqlite3 +library. If this work is sucessful, monotone in Debian can start to link +dynamically with sqlite3 as provided in the Debian archive. + +From Debian's point of view, lua and popt should also be used as shared +libraries in Debian, but that is less likely according to upstream. + + -- Tomas Fasth Fri, 29 Jul 2005 13:44:35 +0000 ============================================================ --- debian/monotone.TODO.Debian df3606d141c3033f9a1e244c0d78f0489d0bcd6c +++ debian/monotone.TODO.Debian df3606d141c3033f9a1e244c0d78f0489d0bcd6c @@ -0,0 +1,6 @@ +TODO for Debian +=============== + +* Link monotone dynamically with the sqlite3 shared library. + + -- Tomas Fasth Fri, 29 Jul 2005 13:44:35 +0000 ============================================================ --- debian/monotone.dirs c0bced501ce4731522e5b728dd34db871ba54b17 +++ debian/monotone.dirs c0bced501ce4731522e5b728dd34db871ba54b17 @@ -0,0 +1 @@ +etc/bash_completion.d ============================================================ --- debian/monotone.docs acbe6763ec74c6f43841414c82df93c6eddd8f73 +++ debian/monotone.docs acbe6763ec74c6f43841414c82df93c6eddd8f73 @@ -0,0 +1,6 @@ +AUTHORS +NEWS +README +README.changesets +UPGRADE +contrib ============================================================ --- debian/monotone.examples e9df0269ff17651bbf6cde7a2aa8c63fda11877c +++ debian/monotone.examples e9df0269ff17651bbf6cde7a2aa8c63fda11877c @@ -0,0 +1 @@ +examples/* ============================================================ --- debian/monotone.manpages ed6d7f2b05011f1acc5a83164edd7c024b40a61a +++ debian/monotone.manpages ed6d7f2b05011f1acc5a83164edd7c024b40a61a @@ -0,0 +1 @@ +debian/mtn.1 ============================================================ --- debian/po/es.po 4164b24472955cac19ad9f39a2132a67b50e566b +++ debian/po/es.po 4164b24472955cac19ad9f39a2132a67b50e566b @@ -0,0 +1,88 @@ +# monotone po-debconf translation to Spanish. +# Copyright (C) 2007. +# This file is distributed under the same license as the monotone package. +# +# Changes: +# - Initial translation +# Elías A.M. +# +# - Last revision: +# Fernando González de Requena , 2009. +# +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/ +# especialmente las notas y normas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Si tiene dudas o consultas sobre esta traducción consulte con el último +# traductor (campo Last-Translator) y ponga en copia a la lista de +# traducción de Debian al español () +# +msgid "" +msgstr "" +"Project-Id-Version: monotone 0.40-7\n" +"Report-Msgid-Bugs-To: \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../monotone-server.templates:1001 +msgid "Automatically manage monotone database?" +msgstr "¿Desea gestionar automáticamente la base de datos de monotone?" + +#. Type: boolean +#. Description +#: ../monotone-server.templates:1001 +msgid "" +"Select this option to automatically manage the monotone database. If " +"selected, the database will automatically be created. Also when upgrading, " +"the database will be automatically migrated if necessary." +msgstr "Seleccione esta opción para gestionar automáticamente la base de datos de monotone. Si la selecciona, se creará la base de datos automáticamente. En una actualización, si fuera necesario, la base de datos se migrará automáticamente." + +#. Type: string +#. Description +#: ../monotone-server.templates:2001 +msgid "Monotone key id:" +msgstr "Identificador de la clave de monotone:" + +#. Type: string +#. Description +#: ../monotone-server.templates:2001 +msgid "" +"Enter the id of the key your monotone server will use. The key id is " +"typically an email address." +msgstr "Introduzca el identificador de la clave que usará el servidor monotone. El identificador de la clave normalmente es una dirección de correo electrónico." + +#. Type: password +#. Description +#: ../monotone-server.templates:3001 +msgid "Monotone key passphrase:" +msgstr "Frase de paso (contraseña) de monotone:" + +#. Type: password +#. Description +#: ../monotone-server.templates:3001 +msgid "" +"Please choose a passphrase for your monotone key. If left blank, one will be " +"generated for you." +msgstr "Por favor, escoja una frase de paso (contraseña) para la identificación de clave. Si la deja en blanco, se generará una. "