ports/189100: Updating to 1.7.0 version
Guy Brand
gb at unistra.fr
Tue Apr 29 09:00:01 UTC 2014
>Number: 189100
>Category: ports
>Synopsis: Updating to 1.7.0 version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 29 09:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Guy Brand
>Release: FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD ben.u-strasbg.fr 9.2-STABLE FreeBSD 9.2-STABLE #6: Tue Apr 8 10:00:29 CET 2013 root at ben.u-strasbg.fr:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Bumping port to match available upstream 1.6.0 version
>How-To-Repeat:
N/A
>Fix:
--- tree-1.7.0-port.patch begins here ---
diff -ur /usr/ports/sysutils/tree/Makefile tree/Makefile
--- /usr/ports/sysutils/tree/Makefile 2014-01-09 16:17:56.000000000 +0100
+++ tree/Makefile 2014-04-29 10:21:46.000000000 +0200
@@ -2,7 +2,7 @@
# $FreeBSD: head/sysutils/tree/Makefile 339252 2014-01-09 15:17:56Z bapt $
PORTNAME= tree
-PORTVERSION= 1.6.0
+PORTVERSION= 1.7.0
CATEGORIES= sysutils
MASTER_SITES= ftp://mama.indstate.edu/linux/tree/ \
CENKES
diff -ur /usr/ports/sysutils/tree/distinfo tree/distinfo
--- /usr/ports/sysutils/tree/distinfo 2014-01-22 16:30:13.000000000 +0100
+++ tree/distinfo 2014-04-29 10:23:58.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (tree-1.6.0.tgz) = 4dc470a74880338b01da41701d8db90d0fb178877e526d385931a007d68d7591
-SIZE (tree-1.6.0.tgz) = 42706
+SHA256 (tree-1.7.0.tgz) = 6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
+SIZE (tree-1.7.0.tgz) = 47082
diff -ur /usr/ports/sysutils/tree/files/patch-Makefile tree/files/patch-Makefile
--- /usr/ports/sysutils/tree/files/patch-Makefile 2014-01-22 18:40:44.000000000 +0100
+++ tree/files/patch-Makefile 2014-04-29 10:34:21.000000000 +0200
@@ -1,6 +1,6 @@
---- ./Makefile.orig 2011-06-24 16:25:27.000000000 +0200
-+++ ./Makefile 2012-09-17 13:38:44.926563330 +0200
-@@ -16,14 +16,14 @@
+--- ./Makefile.orig 2014-04-18 19:35:39.000000000 +0200
++++ ./Makefile 2014-04-29 10:29:41.000000000 +0200
+@@ -16,28 +16,28 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -10,34 +10,33 @@
-CC=gcc
+CC?=gcc
- VERSION=1.6.0
+ VERSION=1.7.0
TREE_DEST=tree
BINDIR=${prefix}/bin
-MAN=tree.1
+MAN=doc/tree.1
MANDIR=${prefix}/man/man1
- OBJS=tree.o unix.o html.o xml.o hash.o color.o
+ OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o
-@@ -31,13 +31,13 @@
+ # Uncomment options below for your particular OS:
# Linux defaults:
- #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
-+#CFLAGS=-O4 -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-+#LDFLAGS=-s
+-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
# Uncomment for FreeBSD:
-#CFLAGS=-O2 -Wall -fomit-frame-pointer
-#LDFLAGS=-s
-#OBJS+=strverscmp.o
-+CFLAGS?=-O2 -Wall -fomit-frame-pointer
-+LDFLAGS?=-s
++CFLAGS=-O2 -Wall -fomit-frame-pointer
++LDFLAGS=-s
+OBJS+=strverscmp.o
# Uncomment for Solaris:
#CC=cc
-@@ -93,13 +93,11 @@
+@@ -94,13 +94,11 @@
if [ -f tree.o ]; then rm *.o; fi
rm -f *~
@@ -45,7 +44,7 @@
- install -d $(BINDIR)
- install -d $(MANDIR)
- if [ -e $(TREE_DEST) ]; then \
-- install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
+- install $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
- fi
- install doc/$(MAN) $(MANDIR)/$(MAN)
+install: $(TREE_DEST)
--- tree-1.7.0-port.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list