# # # add_dir "debian" # # add_file "debian/README.Debian" # content [08c5c46a8186dbeae8b47c643374c5674970b055] # # add_file "debian/changelog" # content [947c4c4adbda093b081e3b01d8410a3940798eab] # # add_file "debian/compat" # content [9c6b057a2b9d96a4067a749ee3b3b0158d390cf1] # # add_file "debian/control" # content [69b120ada5874203b48d33faa0f66e98d85ca8f3] # # add_file "debian/copyright" # content [4bbf8c77c90fe1e481371909415dc56817c63323] # # add_file "debian/docs" # content [7fb70c4b896b5c6deb05e73333ae5386b7db1135] # # add_file "debian/rules" # content [fe72fe2cb65bfb118258945b73978e05c506a700] # # patch "server.cc" # from [dc8713e8c772cd307cecafb7d3c47a63bd92a4e2] # to [94026912b83c636e5d30d2421c5a2c666802b773] # # set "debian/rules" # attr "mtn:execute" # value "true" # ============================================================ --- debian/README.Debian 08c5c46a8186dbeae8b47c643374c5674970b055 +++ debian/README.Debian 08c5c46a8186dbeae8b47c643374c5674970b055 @@ -0,0 +1,6 @@ +README for Debian +================= + +Not much to say yet, this is experimental. + + -- Richard Levitte Mon, 20 Nov 2006 00:26:00 +0100 ============================================================ --- debian/changelog 947c4c4adbda093b081e3b01d8410a3940798eab +++ debian/changelog 947c4c4adbda093b081e3b01d8410a3940798eab @@ -0,0 +1,5 @@ +monotone-usher (0.1-0.1) unstable; urgency=low + + * Initial release. + + -- Richard Levitte Mon, 20 Nov 2006 00:28:50 +0100 ============================================================ --- debian/compat 9c6b057a2b9d96a4067a749ee3b3b0158d390cf1 +++ debian/compat 9c6b057a2b9d96a4067a749ee3b3b0158d390cf1 @@ -0,0 +1 @@ +4 ============================================================ --- debian/control 69b120ada5874203b48d33faa0f66e98d85ca8f3 +++ debian/control 69b120ada5874203b48d33faa0f66e98d85ca8f3 @@ -0,0 +1,17 @@ +Source: monotone-usher +Section: devel +Priority: optional +Maintainer: Richard Levitte +Build-Depends: cdbs (>= 0.4.28), debhelper (>= 4.0.0), autotools-dev, + libboost-dev, libz-dev, +Standards-Version: 3.7.2.2 + +Package: monotone-usher +Architecture: any +Depends: ${shlibs:Depends}, monotone (>= 0.23) +Description: A multiplexer on top of the monotone revision control system + Monotone-usher allows multiple monotone servers to work from the same + network port. It asks the client what it wants to sync, and then looks + up the matching server in a table. It then forwards the connection to the + specific instance belonging to that server. + ============================================================ --- debian/copyright 4bbf8c77c90fe1e481371909415dc56817c63323 +++ debian/copyright 4bbf8c77c90fe1e481371909415dc56817c63323 @@ -0,0 +1,27 @@ +This package was debianized by Richard Levitte on +2006-11-20. + +The upstream author is Timothy Brownawell + +Copyright holders can be found in /usr/share/doc/monotone-usher/AUTHORS + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +See /usr/share/doc/monotone/COPYING for more information. ============================================================ --- debian/docs 7fb70c4b896b5c6deb05e73333ae5386b7db1135 +++ debian/docs 7fb70c4b896b5c6deb05e73333ae5386b7db1135 @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README ============================================================ --- debian/rules fe72fe2cb65bfb118258945b73978e05c506a700 +++ debian/rules fe72fe2cb65bfb118258945b73978e05c506a700 @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/buildcore.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +#include /usr/share/cdbs/1/rules/simple-patchsys.mk ============================================================ --- server.cc dc8713e8c772cd307cecafb7d3c47a63bd92a4e2 +++ server.cc 94026912b83c636e5d30d2421c5a2c666802b773 @@ -17,10 +17,15 @@ using boost::lexical_cast; // keep local servers around for this many seconds after the last // client disconnects from them (only accurate to ~10 seconds) -int const server_idle_timeout = 60; +// XARAYA: changed to one day, does it matter for cache? +// TODO: read from config file +int const server_idle_timeout = 86400; // ranges that dynamic (local) servers can be put on -int const minport = 15000; +// XARAYA: minport changed from 15000 to 20000 to avoid confusion with the +// ports we used earlier +// TODO: read from config file +int const minport = 20000; int const maxport = 65000; int const minaddr[] = {127, 0, 1, 1}; int const maxaddr[] = {127, 254, 254, 254};