From: Rob H. <for...@us...> - 2003-01-12 11:15:03
|
Update of /cvsroot/sandweb/sandweb/debian In directory sc8-pr-cvs1:/tmp/cvs-serv28798 Added Files: changelog control copyright dirs install.cfg rules sandweb-doc.files sandweb.cfg Log Message: we can now make a working debian package out of sandweb, with the addition of this sandweb/ dir. note - this could be made better with some improvements to sandweb's build system. it's not a huge deal, but there's some redundancy ( i put a seperate copy of install.cfg and sandweb.cfg in here, these need to be kept up to date which is kind of a pain ). --- NEW FILE --- sandweb (1.0b1-1) unstable; urgency=low * Initial release. -- root <ro...@mo...> Sun, 12 Jan 2003 01:33:31 -0800 --- NEW FILE --- Source: sandweb Section: net Priority: optional Maintainer: Robert Helmer <ro...@na...>, Nick Jennings <ni...@na...> Standards-Version: 3.5.8 Build-Depends: perl Package: sandweb Architecture: all Depends: perl (>= 5.6), libxml-simple-perl, cvs, expect, file, apache, libhtml-template-perl, libdigest-md5-perl Description: Web-based CVS ( and more ) client SandWeb is a Web-based client for CVS and other version control systems. --- NEW FILE --- This package was debianized by root ro...@mo... on Sun, 12 Jan 2003 01:33:31 -0800. It was downloaded from <fill in ftp site> Copyright: <Must follow here> --- NEW FILE --- etc/sandweb usr/bin usr/sbin var/www var/www/images usr/lib/cgi-bin usr/lib/sandweb usr/lib/sandweb/templates usr/share/sandweb/data usr/share/sandweb/users --- NEW FILE --- # Installation configuration variables. package config; $cfgdir = './debian/tmp/etc/sandweb'; $cgidir = './debian/tmp/usr/lib/cgi-bin'; $imgdir = './debian/tmp/var/www/images'; $tmpldir = './debian/tmp/usr/lib/sandweb/templates'; $cachedir = './debian/tmp/usr/share/sandweb'; $logdir = './debian/tmp/var/log'; $httpuser = 'www-data'; $expectbin = '/usr/bin/expect'; $bindir = './debian/tmp/usr/bin'; $ssh_bin = '/usr/bin/ssh'; $cvs_bin = '/usr/bin/cvs'; 1; --- NEW FILE --- #!/usr/bin/make -f # Made with the aid of debmake, by Christoph Lameter, # based on the sample debian/rules file for GNU hello by Ian Jackson. package=sandweb build: $(checkdir) perl Makefile.PL $(MAKE) touch build clean: $(checkdir) rm -f build -$(MAKE) clean rm -f `find . -name "*~"` rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core rm -f debian/*substvars binary-indep: checkroot build $(checkdir) rm -rf debian/tmp `find debian/* -type d ! -name CVS` install -d debian/tmp cd debian/tmp && install -d `cat ../dirs` cp debian/install.cfg ./ perl Makefile.PL $(MAKE) install DESTDIR=`pwd`/debian/tmp cd debian/tmp && cp ../sandweb.cfg etc/sandweb/ # updating config path in executables sed s%./debian/tmp/etc/sandweb%/etc/sandweb% debian/tmp/usr/lib/cgi-bin/sandweb.cgi > debian/tmp/usr/lib/cgi-bin/sandweb.cgi.tmp mv debian/tmp/usr/lib/cgi-bin/sandweb.cgi.tmp debian/tmp/usr/lib/cgi-bin/sandweb.cgi sed s%./debian/tmp/etc/sandweb%/etc/sandweb% debian/tmp/usr/bin/sandweb-admin > debian/tmp/usr/bin/sandweb-admin.tmp mv debian/tmp/usr/bin/sandweb-admin.tmp debian/tmp/usr/bin/sandweb-admin sed s%./debian/tmp/etc/sandweb%/etc/sandweb% debian/tmp/usr/bin/sandweb-expect > debian/tmp/usr/bin/sandweb-expect.tmp mv debian/tmp/usr/bin/sandweb-expect.tmp debian/tmp/usr/bin/sandweb-expect debstd ChangeLog NEWS README dpkg-gencontrol -isp -psandweb chown -R root.root debian/tmp chmod -R go=rX debian/tmp chown root:www-data debian/tmp/usr/bin/sandweb-expect chmod g+x debian/tmp/usr/bin/sandweb-expect chown root:www-data debian/tmp/usr/share/sandweb/data chmod g+w,o= debian/tmp/usr/share/sandweb/data chown root:www-data debian/tmp/usr/share/sandweb/users chmod g+rwsx,o= debian/tmp/usr/share/sandweb/users chown www-data debian/tmp/usr/lib/cgi-bin/sandweb.cgi chmod u+x debian/tmp/usr/lib/cgi-bin/sandweb.cgi debian/tmp/usr/bin/sandweb-admin debian/tmp/usr/bin/sandweb-expect dpkg --build debian/tmp .. binary-arch: checkroot build $(checkdir) define checkdir test -f debian/rules endef binary: binary-indep binary-arch checkroot: $(checkdir) test root = "`whoami`" .PHONY: binary binary-arch binary-indep clean checkroot --- NEW FILE --- usr/share/doc --- NEW FILE --- <!-- SandWeb XML Config File --> <config> <!-- config tree for logging behavior --> <logging debug="0" log="1" /> <!-- config for paths to sandweb data files --> <paths template_dir="/usr/lib/sandweb/templates" data_dir="/usr/share/sandweb/data" log_dir="/var/log" users_dir="/usr/share/sandweb/users" /> <!-- config for cgi related information --> <cgi-bin cgi_path="/cgi-bin" cgi_domain="" /> <!-- cookie related settings (default values should work) --> <cookie cookie_path="" cookie_domain="" /> <display bgcolor="blue" text="black" border="green" /> <webserver mime-types_location="/etc/apache" mime-types_file="mime.types" image_dir="/images" /> <!-- System paths for SSH, CVS and SandWeb scripts --> <system ssh_bin="/usr/bin/ssh" cvs_bin="/usr/bin/cvs" bindir="/usr/bin" /> </config> |