Sha256: 5e62b9e4161002045d95d4e7ce96895b231d073a85d060916f48371553da64ca
Contents?: true
Size: 1.61 KB
Versions: 99
Compression:
Stored size: 1.61 KB
Contents
# Copyright 2006-2008 by Mike Bailey. All rights reserved. Capistrano::Configuration.instance(:must_exist).load do namespace :deprec do namespace :utils do SRC_PACKAGES[:daemonize] = { :filename => 'daemonize-1.5.6.tar.gz', :md5sum => "2f5fbb8788ebe803ccaff3cd4b5c3188 daemonize-1.5.6.tar.gz", :dir => 'daemonize-1.5.6', :url => "http://www.clapper.org/software/daemonize/daemonize-1.5.6.tar.gz", :unpack => "tar zxf daemonize-1.5.6.tar.gz;", :configure => %w( ./configure ; ).reject{|arg| arg.match '#'}.join(' '), :make => 'make;', :install => 'make install;' } namespace :daemonize do desc "Install daemonize" task :install do deprec2.download_src(SRC_PACKAGES[:daemonize], src_dir) deprec2.install_from_src(SRC_PACKAGES[:daemonize], src_dir) end end desc "Install some useful network utils" task :net do apps = %w(lynx nmap netcat telnet dnsutils rsync curl wget) apt.install( {:base => apps}, :stable ) end desc "Install some useful mail utils" task :mail do apps = %w(mailx mutt) apt.install( {:base => apps}, :stable ) end desc "Install some useful utils" task :other do apps = %w(lsof vim tree psmisc screen) apt.install( {:base => apps}, :stable ) end desc "Install handy utils" task :handy do net mail other end end end end
Version data entries
99 entries across 99 versions & 3 rubygems