--- e2tools-0.0.16.orig/rm.c +++ e2tools-0.0.16/rm.c @@ -62,6 +62,8 @@ static int rm_regex_proc(ext2_ino_t dir, int entry, struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *private); +regex_t * +make_regexp(char *shell); /* Name: e2rm() * --- e2tools-0.0.16.orig/ls.c +++ e2tools-0.0.16/ls.c @@ -112,6 +112,8 @@ int entry, int type, struct list_dir_struct *ls); elist_t * remove_ls_dups(elist_t *list); +regex_t * +make_regexp(char *shell); /* Name: list_dir_proc() * --- e2tools-0.0.16.orig/debian/e2ln.1 +++ e2tools-0.0.16/debian/e2ln.1 @@ -0,0 +1,39 @@ +.TH E2LN 1 "March 2, 2005" +.\" +.SH NAME +e2ln \- create hard links on an ext2 filesystem +.\" +.SH SYNOPSIS +.B e2ln +.RI [ options ] " source destination" +.\" +.SH DESCRIPTION +The \fBe2ln\fP command is used to create hard links on an ext2 filesystem. +.\" +.SH OPTIONS +.TP +.B \-f +Force the operation to remove any existing files. +.TP +.B \-s +Create a symlink. +.TP +.B \-v +Be verbose. +.PP +Note: creating symlinks is not operational at this time. +.\" +.SH SEE ALSO +.BR e2tools (7), +.BR e2mv (1), +.BR e2ls (1), +.BR e2mkdir (1), +.BR e2cp (1), +.BR e2rm (1), +.BR e2tail (1). +.\" +.SH AUTHOR +The \fBe2tools\fP were written by Keith Sheffield . +.PP +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- e2tools-0.0.16.orig/debian/watch +++ e2tools-0.0.16/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://home.earthlink.net/~k_sheff/sw/e2tools/index.html e2tools-(.*)\.tar\.gz --- e2tools-0.0.16.orig/debian/copyright +++ e2tools-0.0.16/debian/copyright @@ -0,0 +1,32 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Keith Sheffield +Upstream-Source: http://home.earthlink.net/~k_sheff/sw/e2tools/index.html +Upstream-Name: e2tools + +Files: * +Copyright: 2002 Keith W. Sheffield + 1997 Theodore Ts'o +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. + + This program is distributed in the hope that it will be useful + but WITHOUT ANY WARRANTY; without even the implied warranty o + 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 with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; + if not, write to the Free Software Foundation, Inc., 51 Franklin St, + Fifth Floor, Boston, MA 02110-1301, USA. + +Files: debian/* +Copyright: 2003-2005 Robert Millan + 2005 Lucas Wall + 2009 Iulian Udrea +License: GPL-2+ + See above. --- e2tools-0.0.16.orig/debian/control +++ e2tools-0.0.16/debian/control @@ -0,0 +1,20 @@ +Source: e2tools +Section: misc +Priority: extra +Maintainer: William Vera +Build-Depends: debhelper (>= 7), e2fslibs-dev, uuid-dev, ss-dev +Standards-Version: 3.8.3 +Homepage: http://home.earthlink.net/~k_sheff/sw/e2tools/index.html + +Package: e2tools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: utilities for manipulating files in an ext2/ext3 filesystem + E2tools is a simple set of utilities to read, write, and manipulate + files in an ext2/ext3 filesystem. + . + The purpose of these utilities is manipulating ext2/ext3 filesystems + from userspace without the need for mounting them, so that they can be + used directly by normal users. + . + Included utilities are e2cp, e2mv, e2rm, e2mkdir, e2ln, e2ls and e2tail. --- e2tools-0.0.16.orig/debian/e2tail.1 +++ e2tools-0.0.16/debian/e2tail.1 @@ -0,0 +1,46 @@ +.TH E2TAIL 1 "March 2, 2005" +.\" +.SH NAME +e2tail \- a basic version of the tail command for an ext2 filesystem +.\" +.SH SYNOPSIS +.B e2tail +.RI [ options ] " file" +.\" +.SH DESCRIPTION +The \fBe2tail\fP command implements a basic version of the tail command. +.\" +.SH OPTIONS +.TP +.B \-n \fInum_lines\fP +The number of lines to display +.TP +.B \-f +Output appended data as the file grows. This is inode dependent, so if the +file is renamed, it will keep checking it. +.TP +.B \-F +Output appended data as the file grows. This is file name dependent, so if +the file is renamed, it will check on any new files with the same name as the +original. This is useful for watching log files that may be rotated out +occasionally. This was requested by a person in the computer security field +for monitoring 'honeypot' type machines. +.TP +.B \-s \fIsleep_interval\fP +The number of seconds to sleep before checking if the file has grown while +in 'follow' mode. The default is 1. +.\" +.SH SEE ALSO +.BR e2tools (7), +.BR e2ln (1), +.BR e2ls (1), +.BR e2mkdir (1), +.BR e2cp (1), +.BR e2rm (1), +.BR e2mv (1). +.\" +.SH AUTHOR +The \fBe2tools\fP were written by Keith Sheffield . +.PP +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- e2tools-0.0.16.orig/debian/e2ls.1 +++ e2tools-0.0.16/debian/e2ls.1 @@ -0,0 +1,59 @@ +.TH E2LS 1 "March 2, 2005" +.\" +.SH NAME +e2ls \- list files and directories on an ext2 filesystem +.\" +.SH SYNOPSIS +.B e2ls +.RI [ options ] " file_specification" +.\" +.SH DESCRIPTION +The \fBe2ls\fP command is used to list files and directories on an ext2 +filesystem. +.PP +Note: Files deleted via e2rm sometimes will show up even without the \-D +option. It is being investigated. +.\" +.SH OPTIONS +.TP +.B \-a +Show hidden directories. +.TP +.B \-c +Sort by creation time (must include \-t when using \-l). +.TP +.B \-d \fIdir\fP +Open the ext2 filesystem specified by dir. +.TP +.B \-D +Show deleted files bracketed with ><. +.TP +.B \-f +No sorting of the file list. +.TP +.B \-i +Show the inodes (very useful for the \-l option). +.TP +.B \-l +Long listing. +.TP +.B \-r +Reverse the sort order. +.TP +.B \-t +Sort by time. +.\" +.SH SEE ALSO +.BR e2tools (7), +.BR e2ln (1), +.BR e2mv (1), +.BR e2mkdir (1), +.BR e2cp (1), +.BR e2rm (1), +.BR e2tail (1). +.\" +.SH AUTHOR +The \fBe2tools\fP were written by Keith Sheffield . +.PP +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- e2tools-0.0.16.orig/debian/changelog +++ e2tools-0.0.16/debian/changelog @@ -0,0 +1,100 @@ +e2tools (0.0.16-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove type-handling from Build-Depends. (Closes: #639117) + + -- Robert Millan Wed, 16 Nov 2011 17:09:02 +0000 + +e2tools (0.0.16-6) unstable; urgency=low + + * New maintainer (Closes: #540918). + * Bump Standards-Version to 3.8.3 + + -- William Vera Mon, 16 Nov 2009 19:52:22 -0600 + +e2tools (0.0.16-5) unstable; urgency=low + + * QA upload. + * Set maintainer to Debian QA Group . + * Use debhelper instead of cdbs. + * debian/control: + - Remove unneeded build-essential meta-package from + Build-Depends (Closes: #454223). + - Remove cdbs from Build-Depends (not needed anymore since we switched + to debhelper). + - Bump debhelper compatibility to 7. + - Bump Standards-Version to 3.8.2 + + Move Homepage field to Source stanza. + * debian/rules: + - Switch to short format. + * debian/copyright: + - Switch to new DEP-5 Machine-readable format + (http://dep.debian.net/deps/dep5/). + - Don't use the old FSF address. + * Remove unneeded debian/dirs file. + * debian/watch: + - Bump version to 3. + * debian/e2{ls,mkdir}.1: + - Fix hyphen-used-as-minus-sign lintian I. + + -- Iulian Udrea Tue, 11 Aug 2009 10:53:57 +0100 + +e2tools (0.0.16-4) unstable; urgency=low + + * Fixed "implicitly converted pointers" warning. (closes: #323829) + Thanks Dann Frazier! + + -- Lucas Wall Thu, 18 Aug 2005 22:39:38 -0300 + +e2tools (0.0.16-3) unstable; urgency=low + + * New maintainer. (closes: #289617) + * Added man pages for all tools. + + -- Lucas Wall Thu, 3 Mar 2005 01:53:58 -0300 + +e2tools (0.0.16-2) unstable; urgency=low + + * Use cdbs debian/control autogeneration. + - Set DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes. + - Move control to control.in. + - Add a @cdbs@ tag and replace Architecture with Cpu/System. + + -- Robert Millan Fri, 4 Feb 2005 01:27:13 +0100 + +e2tools (0.0.16-1) unstable; urgency=low + + * New upstream release. + - Fix bad handling of 2nd-level dirs. (Closes: #242316) + - README: Add some user documentation. (Closes: #202551) + + -- Robert Millan Wed, 7 Apr 2004 12:07:54 +0200 + +e2tools (0.0.15-1.1) unstable; urgency=low + + * debian/control: debhelper depends >= 4.1.0 (Closes: #211035). + * debian/control: added comma (Closes: #211582). + + -- Steven R. Baker Sat, 20 Sep 2003 02:48:17 -0300 + +e2tools (0.0.15-1) unstable; urgency=low + + * New upstream release. + - Fixed e2tail segfaults (Closes: #201824). + * debian/rules: rewrite for cdbs. + * debian/control: add cdbs to build-depends. + + -- Robert Millan Thu, 14 Aug 2003 16:09:09 +0000 + +e2tools (0.0.14-1) unstable; urgency=low + + * New upstream release. + + -- Robert Millan Sat, 12 Jul 2003 15:22:14 +0200 + +e2tools (0.0.13-1) unstable; urgency=low + + * Initial Release. (Closes: #200153) + + -- Robert Millan Mon, 7 Jul 2003 01:04:49 +0200 + --- e2tools-0.0.16.orig/debian/e2cp.1 +++ e2tools-0.0.16/debian/e2cp.1 @@ -0,0 +1,61 @@ +.TH E2CP 1 "March 2, 2005" +.\" +.SH NAME +e2cp \- copies files from/to an e2fs filesystem +.\" +.SH SYNOPSIS +.B e2cp +.RI [ options ] " files... dest" +.\" +.SH DESCRIPTION +The \fBe2cp\fP command copies files to/from an e2fs filesystem from/to the +machine's filesystem. +.\" +.SH OPTIONS +A single `-' (dash) can be used instead of a file name to indicate standard +input/output. +.TP +.B \-0 +Input lines terminated by a null character. +.TP +.B \-a +Absolute directory names - create directories instead of just copying +into the destination. Only valid for copying into an ext2fs filesystem. +.TP +.B \-d \fIdest_dir\fP +Destination of files to be copied. May be in the ext2fs filesystem or +the host filesystem. +.TP +.B \-G \fIgid\fP +Set the default group to gid. +.TP +.B \-O \fIuid\fP +Set the default file owner to uid. +.TP +.B \-p +Preserve host file attributes (permissions, times, etc.) when copying +files. +.TP +.B \-P \fImode\fP +Set the file permissions (ie 755, 666). +.TP +.B \-s \fIsrc_dir\fP +The source of the files to be copied. +.TP +.B \-v +Be verbose. +.\" +.SH SEE ALSO +.BR e2tools (7), +.BR e2ln (1), +.BR e2ls (1), +.BR e2mkdir (1), +.BR e2mv (1), +.BR e2rm (1), +.BR e2tail (1). +.\" +.SH AUTHOR +The \fBe2tools\fP were written by Keith Sheffield . +.PP +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- e2tools-0.0.16.orig/debian/rules +++ e2tools-0.0.16/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --- e2tools-0.0.16.orig/debian/e2tools.7 +++ e2tools-0.0.16/debian/e2tools.7 @@ -0,0 +1,72 @@ +.TH E2TOOLS 7 "March 2, 2005" +.\" +.SH NAME +e2tools \- utilities to manipulate files in an ext2/ext3 filesystem +.\" +.SH DESCRIPTION +E2tools is a simple set of GPL'ed utilities to read, write, and +manipulate files in an ext2/ext3 filesystem. These utilities access a +filesystem directly using the ext2fs library. I wrote these tools in order +to copy files into a linux filesystem on a machine that does not have ext2 +support. Of course, they can also be used on a linux machine to read/write +to disk images or floppies without having to mount them or have root +access. +.PP +Supported functionality: +.TP +.B e2cp +copy files +.TP +.B e2mv +move files +.TP +.B e2rm +remove files +.TP +.B e2mkdir +create directory +.TP +.B e2ln +create hard links +.TP +.B e2ls +list files/directories +.TP +.B e2tail +output the last part of a file +.PP +In general, to specify a directory or file on an ext2 filesystem for the +e2tools utilities, use the following form: +.IP +filesystem:directory_path +.PP +The filesystem can be an unmounted partition or a regular file that's been +formatted to contain an ext2 filesystem. In general, if a command takes +multiple file names on the command line, if the first one contains an ext2 +file specification, the rest of the files are assumed to be on the same +filesystem until another one is explicitly stated: +.IP +/tmp/boot.img:/tmp/file1 +.IP +/tmp/file2 +.IP +/tmp/file3 +.IP +/tmp/boot2.img:/tmp/file4 +.PP +Files 1-3 are on /tmp/boot.img and the last file is on /tmp/boot2.img +.\" +.SH SEE ALSO +.BR e2cp (1), +.BR e2ln (1), +.BR e2ls (1), +.BR e2mkdir (1), +.BR e2mv (1), +.BR e2rm (1), +.BR e2tail (1). +.\" +.SH AUTHOR +The \fBe2tools\fP were written by Keith Sheffield . +.PP +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- e2tools-0.0.16.orig/debian/manpages +++ e2tools-0.0.16/debian/manpages @@ -0,0 +1,8 @@ +debian/e2tools.7 +debian/e2cp.1 +debian/e2ln.1 +debian/e2ls.1 +debian/e2mkdir.1 +debian/e2mv.1 +debian/e2rm.1 +debian/e2tail.1 --- e2tools-0.0.16.orig/debian/e2mv.1 +++ e2tools-0.0.16/debian/e2mv.1 @@ -0,0 +1,39 @@ +.TH E2MV 1 "March 2, 2005" +.\" +.SH NAME +e2mv \- moves or renames files on an ext2fs filesystem +.\" +.SH SYNOPSIS +.B e2mv +.RI [ options ] " files... dest" +.\" +.SH DESCRIPTION +The \fBe2mv\fP command moves or renames files on an ext2fs filesystem. The +source files must be explicitly stated. It does not use regular expressions, +yet. +.\" +.SH OPTIONS +.TP +.B \-f +Force the operation to remove any existing files. +.TP +.B \-s +Swap names of the two files. +.TP +.B \-v +Be verbose. +.\" +.SH SEE ALSO +.BR e2tools (7), +.BR e2ln (1), +.BR e2ls (1), +.BR e2mkdir (1), +.BR e2cp (1), +.BR e2rm (1), +.BR e2tail (1). +.\" +.SH AUTHOR +The \fBe2tools\fP were written by Keith Sheffield . +.PP +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- e2tools-0.0.16.orig/debian/e2rm.1 +++ e2tools-0.0.16/debian/e2rm.1 @@ -0,0 +1,34 @@ +.TH E2RM 1 "March 2, 2005" +.\" +.SH NAME +e2rm \- removes files and directories on an ext2 filesystem +.\" +.SH SYNOPSIS +.B e2rm +.RI [ options ] " files..." +.\" +.SH DESCRIPTION +The \fBe2rm\fP command removes files and directories on an ext2 filesystem. +.\" +.SH OPTIONS +.TP +.B \-r +Recursively delete files if a directory name is given. +.TP +.B \-v +Be verbose. +.\" +.SH SEE ALSO +.BR e2tools (7), +.BR e2ln (1), +.BR e2ls (1), +.BR e2mkdir (1), +.BR e2cp (1), +.BR e2mv (1), +.BR e2tail (1). +.\" +.SH AUTHOR +The \fBe2tools\fP were written by Keith Sheffield . +.PP +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others). --- e2tools-0.0.16.orig/debian/compat +++ e2tools-0.0.16/debian/compat @@ -0,0 +1 @@ +7 --- e2tools-0.0.16.orig/debian/docs +++ e2tools-0.0.16/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- e2tools-0.0.16.orig/debian/e2mkdir.1 +++ e2tools-0.0.16/debian/e2mkdir.1 @@ -0,0 +1,41 @@ +.TH E2MKDIR 1 "March 2, 2005" +.\" +.SH NAME +e2mkdir \- creates a directory on an ext2 filesystem +.\" +.SH SYNOPSIS +.B e2mkdir +.RI [ options ] " directory..." +.\" +.SH DESCRIPTION +The \fBe2mkdir\fP command creates directories on an ext2 filesystem. It +behaves similar to `mkdir \-p'. +.\" +.SH OPTIONS +.TP +.B \-G \fIgid\fP +Set the default group to gid. +.TP +.B \-O \fIuid\fP +Set the default file owner to uid. +.TP +.B \-P \fImode\fP +Set the file permissions (ie 755, 666). +.TP +.B \-v +Be verbose. +.\" +.SH SEE ALSO +.BR e2tools (7), +.BR e2ln (1), +.BR e2ls (1), +.BR e2mv (1), +.BR e2cp (1), +.BR e2rm (1), +.BR e2tail (1). +.\" +.SH AUTHOR +The \fBe2tools\fP were written by Keith Sheffield . +.PP +This manual page was written by Lucas Wall , +for the Debian project (but may be used by others).