debian/0000755000000000000000000000000011525606434007174 5ustar debian/control0000644000000000000000000000123411525604376010602 0ustar Source: jailtool Section: admin Priority: optional Maintainer: Alexandre De Dommelin Build-Depends: debhelper (>= 7) Build-Depends-Indep: docbook-to-man Standards-Version: 3.9.1 Homepage: http://www.westfalen.de/~gb/ Package: jailtool Architecture: all Depends: rsync, ${misc:Depends}, ${perl:Depends} Description: tool to build chroot-jails for daemons Jailtool provides an easy way to build chroot-jails for daemons. It can make use Debian package information. The jail is copied from the base system, the amount of copied data can be configured. . New init.d-scripts for daemons can be generated to automagically start in the jail. debian/copyright0000644000000000000000000000137211525604746011136 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Source: http://www.westfalen.de/~gb/ Name: jailtool Files: * Copyright: 2002, Georg Bauer License: GPL-2 Files: debian/* Copyright: 2002-2010, Alexander Neumann 2011, Alexandre De Dommelin License: GPL-2 License: GPL-2 This program 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. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/jailtool.docs0000644000000000000000000000000711525566606011666 0ustar README debian/jailtool.sgml0000644000000000000000000001045511525566606011710 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Georg"> Bauer"> August 27, 2002"> 1"> alexander@debian.org"> JAILTOOL"> Debian"> GNU"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2002 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; Tool to build chroot-jails for daemons. &dhpackage; .jail-file DESCRIPTION This manual page documents briefly the &dhpackage; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. Instead, it has documentation in the README file. &dhpackage; is a program that... OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. Show summary of options. Show version of program. SEE ALSO bar (1), baz (1). The programs are documented fully by The Rise and Fall of a Fooish Bar available via the Info system. AUTHOR This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
debian/watch0000644000000000000000000000010211525606377010224 0ustar version=3 http://www.westfalen.de/~gb/ jailtool-([\d.]+)\.tar\.gz debian/patches/0000755000000000000000000000000011525605731010622 5ustar debian/patches/01-hidden_files.patch0000644000000000000000000000064611525567615014514 0ustar Author: Alexandre De Dommelin Description: Fix issue regarding hidden files --- a/update-jail +++ b/update-jail @@ -27,7 +27,7 @@ my @files = readdir DIR; closedir DIR; foreach my $f (@files) { - next if substr($f, 0, 1) eq '.'; + next if ($f == '.' || $f == '..'); push @$collection, $dir.'/'.$f; &collectDirs($collection, $dir.'/'.$f) if -d $dir.'/'.$f; } debian/patches/02-symlinks.patch0000644000000000000000000000071011525605731013731 0ustar Author: Frank Lichtenheld patch by Brad Barnett Bug-Debian: http://bugs.debian.org/408622 Description: Handle symlinks to directories correctly --- a/update-jail +++ b/update-jail @@ -169,7 +169,7 @@ FILES: foreach my $file (@files) { next FILES if !$graft; } } - if (-d $file) { + if (!-l $file && -d $file) { next if -d $target . $file; my ($mode, $uid, $gid) = (stat($file))[2,4,5]; $mode = $mode & 07777; debian/patches/series0000644000000000000000000000005011525603663012034 0ustar 01-hidden_files.patch 02-symlinks.patch debian/compat0000644000000000000000000000000211525566606010400 0ustar 5 debian/changelog0000644000000000000000000000302411525602014011033 0ustar jailtool (1.1-5) unstable; urgency=low * New maintainer upload (Closes: #465905) * Bump to Standards-Version 3.9.1 (no changes needed) * Cleanup in debian/* + debian/rules + debian/copyright updated to DEP5 format + added debian/source/format 3.0 (quilt) + added debian/watch * Fix broken symlink (Closes: #587939) * Fix hidden file issue (Closes: #508529) -- Alexandre De Dommelin Sat, 12 Feb 2011 19:47:25 +0100 jailtool (1.1-4) unstable; urgency=low * QA Upload + change maintainer to QA group * Increase debhelper compat level to 5 * Move debhelper to Build-Depends * Clean-up debian/rules + add binary-arch target (closes: #395638) * Handle symlinks to directories correctly. Patch by Brad Barnett (closes: #408622) * Correct copyright holder in debian/copyright -- Frank Lichtenheld Thu, 24 Apr 2008 20:48:57 +0200 jailtool (1.1-3) unstable; urgency=low * fixed several lintian warnings and upgraded Standards to 3.5.8 -- Alexander Neumann Wed, 4 Feb 2004 12:53:08 +0100 jailtool (1.1-2) unstable; urgency=low * Installs examples to /usr/share/doc/jailtool/examples (closes: Bug#164141) -- Alexander Neumann Thu, 10 Oct 2002 16:56:18 +0200 jailtool (1.1-1) unstable; urgency=low * Initial Release (closes: Bug#156051) -- Alexander Neumann Sun, 18 Aug 2002 18:31:02 +0200 debian/source/0000755000000000000000000000000011525566606010502 5ustar debian/source/format0000644000000000000000000000001411525566606011710 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000145211525604544010256 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 INSTALLB := install -o0 -g0 -m 0755 TARGET := debian/jailtool clean: dh_testdir dh_testroot dh_clean [ ! -f jailtool.1 ] || rm -f jailtool.1 build: install: dh_testdir dh_testroot dh_clean dh_installdirs /usr/bin/docbook-to-man debian/jailtool.sgml > jailtool.1 $(INSTALLB) update-jail $(TARGET)/usr/sbin/update-jail binary-arch: binary-indep binary-indep: install dh_testdir dh_testroot dh_installdocs dh_installchangelogs CHANGELOG dh_installexamples examples/* dh_installman jailtool.1 dh_link usr/share/man/man1/jailtool.1.gz usr/share/man/man1/update-jail.1.gz dh_compress dh_fixperms dh_installdeb dh_perl dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: clean binary-arch binary-indep binary install debian/jailtool.dirs0000644000000000000000000000001111525566606011672 0ustar usr/sbin