Index: head/sysutils/fileprune/Makefile =================================================================== --- head/sysutils/fileprune/Makefile (revision 455095) +++ head/sysutils/fileprune/Makefile (revision 455096) @@ -1,15 +1,17 @@ # Created by: dds # $FreeBSD$ PORTNAME= fileprune PORTVERSION= 1.9 CATEGORIES= sysutils -MASTER_SITES= http://www.spinellis.gr/sw/unix/fileprune/ \ - http://www.dmst.aueb.gr/dds/sw/unix/fileprune/ +MASTER_SITES= https://www.spinellis.gr/sw/unix/fileprune/ \ + https://www2.dmst.aueb.gr/dds/sw/unix/fileprune/ MAINTAINER= dds@FreeBSD.org COMMENT= Prune a file set according to a given age distribution + +LICENSE= MIT PLIST_FILES= bin/fileprune man/man1/fileprune.1.gz .include Index: head/sysutils/fileprune/files/patch-Makefile =================================================================== --- head/sysutils/fileprune/files/patch-Makefile (revision 455095) +++ head/sysutils/fileprune/files/patch-Makefile (revision 455096) @@ -1,13 +1,13 @@ --- Makefile.orig 2014-06-27 00:40:28.370101738 +0800 +++ Makefile 2014-06-27 00:40:53.285115312 +0800 @@ -8,8 +8,8 @@ $(NAME): $(NAME).c $(CC) $(CFLAGS) -o $@ $? -lm install: $(NAME) - $(INSTALL) -s $(NAME) $(PREFIX)/bin - gzip -c $(NAME).1 >$(PREFIX)/man/man1/$(NAME).1.gz -+ $(INSTALL) -s $(NAME) $(DESTDIR)$(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) $(NAME) $(DESTDIR)$(PREFIX)/bin + gzip -c $(NAME).1 > $(DESTDIR)$(PREFIX)/man/man1/$(NAME).1.gz clean: rm -f $(NAME) $(NAME).o Index: head/sysutils/fileprune/pkg-descr =================================================================== --- head/sysutils/fileprune/pkg-descr (revision 455095) +++ head/sysutils/fileprune/pkg-descr (revision 455096) @@ -1,21 +1,21 @@ Fileprune 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/fileprune/ +WWW: https://www.spinellis.gr/sw/unix/fileprune/