From 002c0189ab5f217a49d74e0f40e3e9f337ff58b0 Mon Sep 17 00:00:00 2001 From: Daniel Santana Date: Mon, 10 Dec 2018 11:51:55 -0200 Subject: [PATCH] New package: e2tools-0.0.16 --- srcpkgs/e2tools/files/e2cp.1 | 61 ++++++++++++++++++++++++++++ srcpkgs/e2tools/files/e2ln.1 | 39 ++++++++++++++++++ srcpkgs/e2tools/files/e2ls.1 | 59 +++++++++++++++++++++++++++ srcpkgs/e2tools/files/e2mkdir.1 | 41 +++++++++++++++++++ srcpkgs/e2tools/files/e2mv.1 | 39 ++++++++++++++++++ srcpkgs/e2tools/files/e2rm.1 | 34 ++++++++++++++++ srcpkgs/e2tools/files/e2tail.1 | 46 +++++++++++++++++++++ srcpkgs/e2tools/files/e2tools.7 | 72 +++++++++++++++++++++++++++++++++ srcpkgs/e2tools/template | 18 +++++++++ 9 files changed, 409 insertions(+) create mode 100644 srcpkgs/e2tools/files/e2cp.1 create mode 100644 srcpkgs/e2tools/files/e2ln.1 create mode 100644 srcpkgs/e2tools/files/e2ls.1 create mode 100644 srcpkgs/e2tools/files/e2mkdir.1 create mode 100644 srcpkgs/e2tools/files/e2mv.1 create mode 100644 srcpkgs/e2tools/files/e2rm.1 create mode 100644 srcpkgs/e2tools/files/e2tail.1 create mode 100644 srcpkgs/e2tools/files/e2tools.7 create mode 100644 srcpkgs/e2tools/template diff --git a/srcpkgs/e2tools/files/e2cp.1 b/srcpkgs/e2tools/files/e2cp.1 new file mode 100644 index 00000000000..1842c9c35a8 --- /dev/null +++ b/srcpkgs/e2tools/files/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). diff --git a/srcpkgs/e2tools/files/e2ln.1 b/srcpkgs/e2tools/files/e2ln.1 new file mode 100644 index 00000000000..8755c7c3c22 --- /dev/null +++ b/srcpkgs/e2tools/files/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). diff --git a/srcpkgs/e2tools/files/e2ls.1 b/srcpkgs/e2tools/files/e2ls.1 new file mode 100644 index 00000000000..cc763f92020 --- /dev/null +++ b/srcpkgs/e2tools/files/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). diff --git a/srcpkgs/e2tools/files/e2mkdir.1 b/srcpkgs/e2tools/files/e2mkdir.1 new file mode 100644 index 00000000000..1c230ec3bc2 --- /dev/null +++ b/srcpkgs/e2tools/files/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). diff --git a/srcpkgs/e2tools/files/e2mv.1 b/srcpkgs/e2tools/files/e2mv.1 new file mode 100644 index 00000000000..604226679c8 --- /dev/null +++ b/srcpkgs/e2tools/files/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). diff --git a/srcpkgs/e2tools/files/e2rm.1 b/srcpkgs/e2tools/files/e2rm.1 new file mode 100644 index 00000000000..1a6417283e9 --- /dev/null +++ b/srcpkgs/e2tools/files/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). diff --git a/srcpkgs/e2tools/files/e2tail.1 b/srcpkgs/e2tools/files/e2tail.1 new file mode 100644 index 00000000000..bd48600fd4e --- /dev/null +++ b/srcpkgs/e2tools/files/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). diff --git a/srcpkgs/e2tools/files/e2tools.7 b/srcpkgs/e2tools/files/e2tools.7 new file mode 100644 index 00000000000..c4bb9f51245 --- /dev/null +++ b/srcpkgs/e2tools/files/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). diff --git a/srcpkgs/e2tools/template b/srcpkgs/e2tools/template new file mode 100644 index 00000000000..65175f139a9 --- /dev/null +++ b/srcpkgs/e2tools/template @@ -0,0 +1,18 @@ +# Template file for 'e2tools' +pkgname=e2tools +version=0.0.16 +revision=1 +build_style=gnu-configure +makedepends="e2fsprogs-devel" +short_desc="Utilities for manipulating files in an ext2/ext3 filesystem" +maintainer="Daniel Santana " +license="GPL-2.0-only" +homepage="http://home.earthlink.net/~k_sheff/sw/e2tools/" +distfiles="http://home.earthlink.net/~k_sheff/sw/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=4e3c8e17786ccc03fc9fb4145724edf332bb50e1b3c91b6f33e0e3a54861949b + +post_install() { + for man in e2cp.1 e2ln.1 e2ls.1 e2mkdir.1 e2mv.1 e2rm.1 e2tail.1 e2tools.7; do + vman "$FILESDIR/$man" + done +}