/usr/bin/surserver is in subtle 0.10.3008nu-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #!/usr/bin/ruby1.9.1
#
# @package sur - surserver
#
# @file SUR - Subtle User Repository
# @author Christoph Kappel <unexist@dorfelite.net>
# @version $Id: sur.rb,v 7 2009/09/07 21:25:11 unexist $
#
# This program can be distributed under the terms of the GNU GPLv2.
# See the file COPYING for details.
#
begin
require "subtle/sur/version"
require "subtle/sur/server"
Subtle::Sur::Server.new.run
rescue LoadError => error
missing = error.to_s.split(" ").last
# Check missing files
if("archive/tar/minitar" == missing)
missing = "archive-tar-minitar"
end
puts <<EOF
>>> ERROR: Couldn't find the gem #{missing}
>>> Please install it with following command:
>>> gem install #{missing}
EOF
rescue => error
puts ">>> ERROR: #{error}"
unless(error.is_a?(RuntimeError))
puts error.backtrace
end
end
# vim:ts=2:bs=2:sw=2:et:fdm=marker:ft=ruby
|