summaryrefslogtreecommitdiff
path: root/sysutils/p5-Unburden-Home-Dir
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2018-04-30 09:45:13 +0000
committerhauke <hauke@pkgsrc.org>2018-04-30 09:45:13 +0000
commitf9a67789e312e111350b7939a4b8c481ed3f8b9c (patch)
tree1be1d43787506cf0046377d6c62a32a915059f3f /sysutils/p5-Unburden-Home-Dir
parentf94c011d3405aa0fc6324d7e13659077a1764afe (diff)
downloadpkgsrc-f9a67789e312e111350b7939a4b8c481ed3f8b9c.tar.gz
Update sysutils-p5-Unburden-Home-Dir to v0.41
Changes mostly cosmetic, see <https://github.com/xtaran/unburden-home-dir/releases>. ruby-ronn has moved to pkgsrc proper, adapt man page generation.
Diffstat (limited to 'sysutils/p5-Unburden-Home-Dir')
-rw-r--r--sysutils/p5-Unburden-Home-Dir/Makefile22
-rw-r--r--sysutils/p5-Unburden-Home-Dir/PLIST3
-rw-r--r--sysutils/p5-Unburden-Home-Dir/distinfo12
-rw-r--r--sysutils/p5-Unburden-Home-Dir/files/unburden-home-dir.14
-rw-r--r--sysutils/p5-Unburden-Home-Dir/patches/patch-bin_unburden-home-dir12
5 files changed, 29 insertions, 24 deletions
diff --git a/sysutils/p5-Unburden-Home-Dir/Makefile b/sysutils/p5-Unburden-Home-Dir/Makefile
index 49eca76d885..f32750cc577 100644
--- a/sysutils/p5-Unburden-Home-Dir/Makefile
+++ b/sysutils/p5-Unburden-Home-Dir/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2017/06/05 14:24:37 ryoon Exp $
+# $NetBSD: Makefile,v 1.6 2018/04/30 09:45:13 hauke Exp $
-VERSION_TAG= 0.4.0.1
+VERSION_TAG= 0.4.1
DISTNAME= Unburden-Home-Dir-${VERSION_TAG}
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
#PKGREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= -https://codeload.github.com/xtaran/unburden-home-dir/tar.gz/${VERSION_TAG}
@@ -22,6 +21,8 @@ DEPENDS+= p5-File-Rsync-[0-9]*:../../net/p5-File-Rsync
DEPENDS+= p5-File-Touch-[0-9]*:../../devel/p5-File-Touch
DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which
DEPENDS+= p5-String-Expand-[0-9]*:../../textproc/p5-String-Expand
+DEPENDS+= p5-IPC-Run3-[0-9]*:../../devel/p5-IPC-Run3
+DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
DEPENDS+= lsof-[0-9]*:../../sysutils/lsof
USE_TOOLS+= perl
@@ -60,23 +61,26 @@ SUBST_SED.comment-cfg= -E -e 's,^([^\#]),\#\1,g'
.include "../../mk/bsd.prefs.mk"
-# Rendering the man page from markdown source requires ronn from
-# wip/ruby-ronn, but we must not depend on a wip package.
+# To keep this package lightweight, leave it to the pkg updater to render
+# the man page.
#
-# Usage: Install wip/ruby-ronn and devel/gmake, then run
+# Usage: Install devel/ruby-ronn and devel/gmake, then run
# `make clean ; make PKG_DEVELOPER=1 unburden-update-manpage`
# and commit the updated man file .
.if defined(PKG_DEVELOPER)
-#DEPENDS+= ruby22-ronn-[0-9]*:../../wip/ruby-ronn
-#USE_TOOLS+= gmake
+DEPENDS+= ${RUBY_PKGPREFIX}-ronn-[0-9]*:../../devel/ruby-ronn
.PHONY: unburden-update-manpage
unburden-update-manpage: patch
- ( cd ${WRKSRC} && gmake manpages )
+ ( cd ${WRKSRC} && \
+ ronn${RUBY_VER} --manual="Unburden Your Home Directory" -r \
+ --pipe < docs/unburden-home-dir.1.md > unburden-home-dir.1 )
cp ${WRKSRC}/unburden-home-dir.1 ${PKGDIR}/files/
+.include "../../lang/ruby/rubyversion.mk"
+
.endif # PKG_DEVELOPER
post-extract:
diff --git a/sysutils/p5-Unburden-Home-Dir/PLIST b/sysutils/p5-Unburden-Home-Dir/PLIST
index ac929a70c7d..41ce6bdc61e 100644
--- a/sysutils/p5-Unburden-Home-Dir/PLIST
+++ b/sysutils/p5-Unburden-Home-Dir/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/02/07 14:34:35 hauke Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/04/30 09:45:13 hauke Exp $
bin/unburden-home-dir
libexec/unburden-home-dir/common.sh
man/man1/unburden-home-dir.1
@@ -10,6 +10,7 @@ share/doc/unburden-home-dir/howto.md
share/doc/unburden-home-dir/index.md
share/doc/unburden-home-dir/installation.md
share/doc/unburden-home-dir/license.md
+share/doc/unburden-home-dir/pgp.md
share/doc/unburden-home-dir/qa.md
share/doc/unburden-home-dir/see-also.md
share/doc/unburden-home-dir/source-code.md
diff --git a/sysutils/p5-Unburden-Home-Dir/distinfo b/sysutils/p5-Unburden-Home-Dir/distinfo
index 6745059825f..8618cec370a 100644
--- a/sysutils/p5-Unburden-Home-Dir/distinfo
+++ b/sysutils/p5-Unburden-Home-Dir/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.4 2017/02/09 10:37:12 hauke Exp $
+$NetBSD: distinfo,v 1.5 2018/04/30 09:45:13 hauke Exp $
-SHA1 (Unburden-Home-Dir-0.4.0.1.tar.gz) = 1692724d7790ccec30fa40b5df3158ea7b648bd0
-RMD160 (Unburden-Home-Dir-0.4.0.1.tar.gz) = 58b0d5c5805770c5f6d1a657f25bafad3a60b07e
-SHA512 (Unburden-Home-Dir-0.4.0.1.tar.gz) = 1496c3db3c05729e074748b8014e65ae5bfbb9636f64cc281749a184f9a771a8938968f6c38aa498107d748e98c1434c0d33554850db678923b9b78d0aab7338
-Size (Unburden-Home-Dir-0.4.0.1.tar.gz) = 50930 bytes
+SHA1 (Unburden-Home-Dir-0.4.1.tar.gz) = 294602ea0208e7262c1d5dc12a74ef993a9daf1f
+RMD160 (Unburden-Home-Dir-0.4.1.tar.gz) = 3b1ebfcd224199cde82b2316e79a74ea38140305
+SHA512 (Unburden-Home-Dir-0.4.1.tar.gz) = b55ae892616fdcdc4aab21b52940b23cd9347a1d26a28f898a27ab0d2cc24a5024296a5f3d8c25ed7ac421d9165934692a4e7408bd7e0c3e92f1e7c897e4db3e
+Size (Unburden-Home-Dir-0.4.1.tar.gz) = 56483 bytes
SHA1 (patch-Xsession.d_25unburden-home-dir-xdg) = 17e35f199b082d96ead8402f53f0c1f3a5116d2e
SHA1 (patch-Xsession.d_95unburden-home-dir) = 745ea2cb3a28c36bd8ab5ed7dd0622160d2916e1
-SHA1 (patch-bin_unburden-home-dir) = 0a043df8f029fe144eb735939ab9d3e2895fba4b
+SHA1 (patch-bin_unburden-home-dir) = 706281b9f4decb27fed593d42b4607ca771ed824
SHA1 (patch-docs_unburden-home-dir.1.md) = 513a1aa840a645931d6c73de78c48213a2dc20e5
SHA1 (patch-share_common.sh) = 9d7ed9273e9fa0b817051753d00a76bcd640f9f4
diff --git a/sysutils/p5-Unburden-Home-Dir/files/unburden-home-dir.1 b/sysutils/p5-Unburden-Home-Dir/files/unburden-home-dir.1
index 88f837a6d8d..c1c659418c1 100644
--- a/sysutils/p5-Unburden-Home-Dir/files/unburden-home-dir.1
+++ b/sysutils/p5-Unburden-Home-Dir/files/unburden-home-dir.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "UNBURDEN\-HOME\-DIR" "1" "February 2017" "" "Unburden Your Home Directory"
+.TH "UNBURDEN\-HOME\-DIR" "1" "April 2018" "" "Unburden Your Home Directory"
.
.SH "NAME"
\fBunburden\-home\-dir\fR \- unburdens home directories from caches and trashes
@@ -80,7 +80,7 @@ corekeeper \fIhttps://packages\.debian\.org/corekeeper\fR, autotrash(1), agedu(1
Of, course, du(1) can help you to find potential files or directories to handle by unburden\-home\-dir, but there are quite some du(1)\-like tools out there which are way more comfortable, e\.g\. ncdu(1) (text\-mode), baobab(1) (GNOME), filelight(1) (KDE), xdiskusage(1) (X tool calling du(1) itself), or xdu(1) (X tool reading du(1) output from STDIN)\.
.
.SH "AUTHOR"
-Unburden Home Dir is written and maintained by Axel Beckert \fIbeckert@phys\.ethz\.ch\fR\.
+Unburden Home Dir is written and maintained by Axel Beckert \fIabe@deuxchevaux\.org\fR\.
.
.SH "LICENSE"
Unburden Home Dir is available under the terms of the GNU General Public License (GPL) version 2 or any later version at your option\.
diff --git a/sysutils/p5-Unburden-Home-Dir/patches/patch-bin_unburden-home-dir b/sysutils/p5-Unburden-Home-Dir/patches/patch-bin_unburden-home-dir
index f84ce8fac97..9a3d8081df7 100644
--- a/sysutils/p5-Unburden-Home-Dir/patches/patch-bin_unburden-home-dir
+++ b/sysutils/p5-Unburden-Home-Dir/patches/patch-bin_unburden-home-dir
@@ -1,11 +1,11 @@
-$NetBSD: patch-bin_unburden-home-dir,v 1.3 2017/02/09 10:37:12 hauke Exp $
+$NetBSD: patch-bin_unburden-home-dir,v 1.4 2018/04/30 09:45:13 hauke Exp $
We depend on sysutils/lsof, so we do not need to hunt for it
Rename the config file, sticking to conventions
---- bin/unburden-home-dir.orig 2016-10-17 14:13:06.000000000 +0000
+--- bin/unburden-home-dir.orig 2017-11-05 23:48:51.000000000 +0000
+++ bin/unburden-home-dir
-@@ -88,7 +88,7 @@ my %OPTIONS = ();
+@@ -90,7 +90,7 @@ my %OPTIONS = ();
my $FILTER = undef;
my $UID = getpwuid($<);
my $USE_LSOF = 1;
@@ -14,7 +14,7 @@ Rename the config file, sticking to conventions
# Some messages for Getopt::Std
sub VERSION_MESSAGE {
-@@ -153,10 +153,10 @@ foreach my $key (keys %OPTIONS) {
+@@ -156,10 +156,10 @@ foreach my $key (keys %OPTIONS) {
}
# By default check for a system wide and a user configuration and list file
@@ -28,7 +28,7 @@ Rename the config file, sticking to conventions
"$ENV{HOME}/.$BASENAME.$LISTSUFFIX",
config_home($BASENAME)."/$LISTSUFFIX");
-@@ -221,20 +221,6 @@ my $rsync = File::Rsync->new(
+@@ -225,20 +225,6 @@ my $rsync = File::Rsync->new(
},
);
@@ -36,7 +36,7 @@ Rename the config file, sticking to conventions
-my $which_lsof = which('lsof');
-# Extra check for crappy distributions which place lsof outside a
-# user's $PATH. Fixes GH#8.
--if (!$which_lsof and -x '/usr/sbin/lsof') {
+-if (not($which_lsof) and -x '/usr/sbin/lsof') {
- $which_lsof = '/usr/sbin/lsof';
-}
-if (!$which_lsof) {