Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 15:13:19 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@mj.0038.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35811: Update port: sysutils/tree (chase the new distfile)
Message-ID:  <200203120613.g2C6DJS08839@ns.test>

next in thread | raw e-mail | index | archive | help

>Number:         35811
>Category:       ports
>Synopsis:       Update port: sysutils/tree (chase the new distfile)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 11 22:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.5-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD ns.test 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #7: Fri Mar 8 10:57:51 JST 2002 root@ns.test:/sack/obj/usr/src/sys/NS i386



>Description:
Some fixes for the new distfile

(Sorry, I don't know what changes have taken place...)

>How-To-Repeat:

>Fix:
cvs server: Diffing .
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/sysutils/tree/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	24 Dec 2001 21:50:53 -0000	1.1
+++ distinfo	12 Mar 2002 06:10:27 -0000
@@ -1 +1 @@
-MD5 (tree-1.3.tgz) = cd595dc2eb53760ce32d978fd52fe93c
+MD5 (tree-1.3.tgz) = 610dff913f65c1d4743f1a7e1adc0ae4
cvs server: Diffing files
Index: files/patch-Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/tree/files/patch-Makefile,v
retrieving revision 1.1
diff -u -r1.1 patch-Makefile
--- files/patch-Makefile	24 Dec 2001 21:50:53 -0000	1.1
+++ files/patch-Makefile	12 Mar 2002 06:10:27 -0000
@@ -24,13 +24,12 @@

  all:	tree

-@@ -28,18 +29,15 @@
- 	if [ -f tree.o ]; then rm *.o; fi
+@@ -28,12 +29,11 @@
+ 	if [ -e tree.o ]; then rm *.o; fi
  	rm -f *~

 -install:
--	install -d $(BINDIR)
--	install -d $(MANDIR)
+-	install -d $(BINDIR) $(MANDIR)
 -	if [ -e $(TREE_DEST) ]; then \
 -		install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
 -	fi
@@ -42,9 +41,4 @@
 +	${BSD_INSTALL_MAN} $(MAN) $(MANDIR)

  distclean:
- 	if [ -f tree.o ]; then rm *.o; fi
- 	rm -f *~
--
-
- dist:	distclean
- 	tar zcf ../tree-$(VERSION).tgz -C .. tree-$(VERSION)/
+ 	if [ -e tree.o ]; then rm *.o; fi
Index: files/patch-tree.c
===================================================================
RCS file: /home/ncvs/ports/sysutils/tree/files/patch-tree.c,v
retrieving revision 1.1
diff -u -r1.1 patch-tree.c
--- files/patch-tree.c	24 Dec 2001 21:50:53 -0000	1.1
+++ files/patch-tree.c	12 Mar 2002 06:10:27 -0000
@@ -2,12 +2,12 @@

 --- tree.c.orig	Mon Jan 29 22:38:30 2001
 +++ tree.c	Mon Dec 24 08:09:39 2001
-@@ -422,7 +422,7 @@
-       if (!noindent) indent();
-
-       if (inodeflag || devflag || pflag || sflag || uflag || gflag || Dflag) fprintf(outfile,"[");
--      if (inodeflag) fprintf(outfile,"%7ld",(*dir)->inode);
-+      if (inodeflag) fprintf(outfile,"%7ld",(long)(*dir)->inode);
-       if (inodeflag && (devflag || pflag || uflag || gflag || sflag || Dflag)) fprintf(outfile,"%s",sp);
-       if (devflag) fprintf(outfile,"%3d",(*dir)->dev);
-       if (devflag && (pflag || uflag || gflag || sflag || Dflag)) fprintf(outfile,"%s",sp);
+@@ -417,7 +417,7 @@
+       if (uflag && (gflag || sflag || Dflag)) fprintf(outfile,"%s",sp);
+       if (gflag) fprintf(outfile,"%-8.8s",gidtoname((*dir)->gid));
+       if (gflag && (sflag || Dflag)) fprintf(outfile,"%s",sp);
+-      if (sflag) fprintf(outfile,"%9ld",(*dir)->size);
++      if (sflag) fprintf(outfile,"%9ld",(long)(*dir)->size);
+       if (sflag && Dflag) fprintf(outfile,"%s",sp);
+       if (Dflag) fprintf(outfile,"%s",do_date((*dir)->mtime));
+       if (pflag || sflag || uflag || gflag || Dflag) fprintf(outfile,"]%s%s",sp,sp);

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203120613.g2C6DJS08839>