diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2003-09-01 11:28:17 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2003-09-01 11:28:17 +0000 |
commit | 729d39335209927a6dc04dc4829f4ef8b2969d74 (patch) | |
tree | 8c7e39839a18205f1d39d9cef97eb6973f568b10 /sysutils/prune | |
parent | Socketpipe connects over a TCP/IP socket a remote command to a local (diff) |
Prune will delete files from the specified set targeting a given
distribution of the files within time as well as size, number, and
age constraints. Its main purpose is to keep a set of daily-created
backup files in manageable size, while still providing reasonable
access to older versions. Specifying a size, file number, or age
constraint will simply remove files starting from the oldest, until
the constraint is met. The distribution specification (exponential,
Gaussian (normal), or Fibonacci) provides finer control of the files
to delete, allowing the retention of recent copies and the increasingly
aggressive pruning of the older files. The retention schedule
specifies the age intervals for which files will be retained.
Submitted by: dds
Notes
Notes:
svn path=/head/; revision=88264
Diffstat (limited to 'sysutils/prune')
-rw-r--r-- | sysutils/prune/Makefile | 20 | ||||
-rw-r--r-- | sysutils/prune/distinfo | 1 | ||||
-rw-r--r-- | sysutils/prune/pkg-descr | 24 | ||||
-rw-r--r-- | sysutils/prune/pkg-plist | 1 |
4 files changed, 46 insertions, 0 deletions
diff --git a/sysutils/prune/Makefile b/sysutils/prune/Makefile new file mode 100644 index 000000000000..ca559f599c7c --- /dev/null +++ b/sysutils/prune/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: prune +# Date created: 29 August 2003 +# Whom: dds +# +# $FreeBSD$ +# + +PORTNAME= prune +PORTVERSION= 1.7 +CATEGORIES= sysutils +MASTER_SITES= http://www.spinellis.gr/sw/unix/prune/ \ + http://www.dmst.aueb.gr/dds/sw/unix/prune/ + +MAINTAINER= dds@FreeBSD.org +COMMENT= Prune a file set according to a given age distribution + +MAN1= prune.1 +MANCOMPRESSED= yes + +.include <bsd.port.mk> diff --git a/sysutils/prune/distinfo b/sysutils/prune/distinfo new file mode 100644 index 000000000000..d3739fd6a0f4 --- /dev/null +++ b/sysutils/prune/distinfo @@ -0,0 +1 @@ +MD5 (prune-1.7.tar.gz) = 1d61f4bee4e4d41e7f667d7854ceb52b diff --git a/sysutils/prune/pkg-descr b/sysutils/prune/pkg-descr new file mode 100644 index 000000000000..1ef9c1ea9145 --- /dev/null +++ b/sysutils/prune/pkg-descr @@ -0,0 +1,24 @@ +Prune will delete files from the specified set targeting a given +distribution of the files within time as well as size, number, and +age constraints. Its main purpose is to keep a set of daily-created +backup files in manageable size, while still providing reasonable +access to older versions. Specifying a size, file number, or age +constraint will simply remove files starting from the oldest, until +the constraint is met. The distribution specification (exponential, +Gaussian (normal), or Fibonacci) provides finer control of the files +to delete, allowing the retention of recent copies and the increasingly +aggressive pruning of the older files. The retention schedule +specifies the age intervals for which files will be retained. As +an example, an exponential retention schedule for 10 files with a +base of 2 will be + +1 2 4 8 16 32 64 128 256 512 1024 + +The above schedule specifies that for the interval of 65 to 128 +days there should be (at least) one retained file (unless constraints +and options override this setting). + + +WWW: http://www.spinellis.gr/sw/unix/prune + +- Diomidis Spinellis dds@aueb.gr diff --git a/sysutils/prune/pkg-plist b/sysutils/prune/pkg-plist new file mode 100644 index 000000000000..7f8f8104e61c --- /dev/null +++ b/sysutils/prune/pkg-plist @@ -0,0 +1 @@ +bin/prune |