pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/tree



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon May 18 10:20:13 UTC 2020

Modified Files:
        pkgsrc/sysutils/tree: Makefile distinfo
        pkgsrc/sysutils/tree/patches: patch-Makefile
Removed Files:
        pkgsrc/sysutils/tree/patches: patch-tree.c

Log Message:
tree: Update to 1.8.0

Version 1.8.0 (11/16/2018)
  - Added an experimental --fromfile option (suggested by several people.)
    This may eventually be replaced or supplimented by a --fromjson option.
  - Added support for BSD's CLICOLOR and CLICOLOR_FORCE environment variables.
    (Suggested by Alyssa Ross)
  - Use strftime() exclusively when formatting date/time to respect locale.
  - Some man page fixes and cleanups curtsey of Kirill Kolyshkin
  - Update BINDIR in Makefile for MacOS X -- It is not allowed to install
    programs to /usr/bin on MacOS X any longer due to System Integrity
    Protection (SIP) (Shawn Mehan)
  - Misc patches from Jacob Wahlgren:
    - Improved command line switch error reporting.
    - Symbolic links not displayed if a -P pattern is active
    - Missing argument error reporting fixes on long format switches.
  - Fixed JSON output hanging commas (John Lane, Tad, others)
  - JSON size output ignored -h/--si flags (Wagner Camarao)
  - Fixed issue with malformed multibyte string handling. (Mantas
    Mikulėnas)
  - Fixed issue where mbstowcs() fails to null terminate the string due to
    improper UTF-8 encoding leading to garbage being printed. (Nick Craig-Wood)
  - Found a bug where the wrong inode (and device) information would be printed
    for symbolic links. (Stephan Gabert)


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/tree/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/tree/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/tree/patches/patch-Makefile
cvs rdiff -u -r1.3 -r0 pkgsrc/sysutils/tree/patches/patch-tree.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/tree/Makefile
diff -u pkgsrc/sysutils/tree/Makefile:1.11 pkgsrc/sysutils/tree/Makefile:1.12
--- pkgsrc/sysutils/tree/Makefile:1.11  Tue Apr 29 07:07:26 2014
+++ pkgsrc/sysutils/tree/Makefile       Mon May 18 10:20:13 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2014/04/29 07:07:26 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2020/05/18 10:20:13 nia Exp $
 
-DISTNAME=      tree-1.7.0
+DISTNAME=      tree-1.8.0
 CATEGORIES=    sysutils
-MASTER_SITES=  ftp://mama.indstate.edu/linux/tree/
+MASTER_SITES=  http://mama.indstate.edu/users/ice/tree/src/
 EXTRACT_SUFX=  .tgz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -13,16 +13,18 @@ LICENSE=    gnu-gpl-v2
 USE_TOOLS+=    gmake
 NO_CONFIGURE=  yes
 
-CFLAGS+=       -Wall -fomit-frame-pointer
-CFLAGS.linux+= -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+CFLAGS.Linux+= -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 
-MAKE_FLAGS+=           prefix=${PREFIX:Q}
-MAKE_FLAGS+=           CFLAGS=${CFLAGS:Q}
-MAKE_FLAGS+=           LDFLAGS=${LDFLAGS:Q}
-MAKE_FLAGS+=           MANSUBDIR=${PKGMANDIR:Q}
-MAKE_FLAGS+=           INSTALL_PROGRAM_DIR=${INSTALL_PROGRAM_DIR:Q}
-MAKE_FLAGS+=           INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
-MAKE_FLAGS+=           INSTALL_MAN_DIR=${INSTALL_MAN_DIR:Q}
-MAKE_FLAGS+=           INSTALL_MAN=${INSTALL_MAN:Q}
+MAKE_FLAGS+=   prefix=${PREFIX}
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+=   MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/tree ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/doc/tree.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/tree/distinfo
diff -u pkgsrc/sysutils/tree/distinfo:1.13 pkgsrc/sysutils/tree/distinfo:1.14
--- pkgsrc/sysutils/tree/distinfo:1.13  Wed Nov  4 01:32:34 2015
+++ pkgsrc/sysutils/tree/distinfo       Mon May 18 10:20:13 2020
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.13 2015/11/04 01:32:34 agc Exp $
+$NetBSD: distinfo,v 1.14 2020/05/18 10:20:13 nia Exp $
 
-SHA1 (tree-1.7.0.tgz) = 35bd212606e6c5d60f4d5062f4a59bb7b7b25949
-RMD160 (tree-1.7.0.tgz) = 238a8d89b3a993679dad68fef871b3d7d0011354
-SHA512 (tree-1.7.0.tgz) = b234fb1428ba75da72d7e4aeb24bf961e123332342593e441b29a0baa2270d12bb187d889c179d6463c940c8dce9fe9dffeb4ad3f06cf11f057b83234d7b4b4a
-Size (tree-1.7.0.tgz) = 47082 bytes
-SHA1 (patch-Makefile) = b2b3fd1538b524989ea7e1938091977df8b518b8
-SHA1 (patch-tree.c) = 4c33a0105c8ab08edf5da7ea62ed9332d3f97725
+SHA1 (tree-1.8.0.tgz) = 06934bf1f6a92af4eaec6bc61e568cec5e068ba1
+RMD160 (tree-1.8.0.tgz) = 7a8e488213e41729a21b1f455bafd09a1e2d0eea
+SHA512 (tree-1.8.0.tgz) = 3f657a6278ec5eab2fccab39dfd69bf9376811189a368b5e3213dc900b90a4e7a4961fc58eb80ad2efd5b40d2fbd0146ec59f30fe0bba576f93519214f240695
+Size (tree-1.8.0.tgz) = 50286 bytes
+SHA1 (patch-Makefile) = e2fd10a3bb843dfd9795a9b97fdacff8800d7300

Index: pkgsrc/sysutils/tree/patches/patch-Makefile
diff -u pkgsrc/sysutils/tree/patches/patch-Makefile:1.5 pkgsrc/sysutils/tree/patches/patch-Makefile:1.6
--- pkgsrc/sysutils/tree/patches/patch-Makefile:1.5     Tue Nov  3 10:48:55 2015
+++ pkgsrc/sysutils/tree/patches/patch-Makefile Mon May 18 10:20:13 2020
@@ -1,50 +1,15 @@
-$NetBSD: patch-Makefile,v 1.5 2015/11/03 10:48:55 jperkin Exp $
+$NetBSD: patch-Makefile,v 1.6 2020/05/18 10:20:13 nia Exp $
 
 * Fix build on systems lacking strverscmp.
-* Use CFLAGS that were passed in
-* Fix DESTDIR.
-* Fix PKGMANDIR.
 
---- Makefile.orig      2014-04-18 17:35:39.000000000 +0000
+--- Makefile.orig      2018-01-18 20:02:20.000000000 +0000
 +++ Makefile
-@@ -24,20 +24,20 @@ VERSION=1.7.0
- TREE_DEST=tree
- BINDIR=${prefix}/bin
- MAN=tree.1
--MANDIR=${prefix}/man/man1
-+MANDIR=${prefix}/${MANSUBDIR}/man1
- OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o
- 
- # Uncomment options below for your particular OS:
- 
- # Linux defaults:
--CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-+#CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
- #CFLAGS=-O4 -Wall  -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
- #LDFLAGS=-s
- 
+@@ -37,7 +37,7 @@ CFLAGS=-ggdb -pedantic -Wall -DLINUX -D_
  # Uncomment for FreeBSD:
  #CFLAGS=-O2 -Wall -fomit-frame-pointer
  #LDFLAGS=-s
 -#OBJS+=strverscmp.o
 +OBJS+=strverscmp.o
  
- # Uncomment for Solaris:
- #CC=cc
-@@ -95,12 +95,12 @@ clean:
-       rm -f *~
- 
- install: tree
--      install -d $(BINDIR)
--      install -d $(MANDIR)
-+      install -d $(DESTDIR)$(BINDIR)
-+      install -d $(DESTDIR)$(MANDIR)
-       if [ -e $(TREE_DEST) ]; then \
--              install $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
-+              install $(TREE_DEST) $(DESTDIR)$(BINDIR)/$(TREE_DEST); \
-       fi
--      install doc/$(MAN) $(MANDIR)/$(MAN)
-+      install doc/$(MAN) $(DESTDIR)$(MANDIR)/$(MAN)
- 
- distclean:
-       if [ -f tree.o ]; then rm *.o; fi
+ # Uncomment for OpenBSD:
+ #TREE_DEST=colortree



Home | Main Index | Thread Index | Old Index