update to ytree-1.89, which includes nothing but all the patches/

ok MAINTAINER (William Yodlowsky), ajacoutot@, steven@
This commit is contained in:
martynas 2007-04-03 18:05:47 +00:00
parent 3a1268d790
commit a7ba4c8734
8 changed files with 10 additions and 96 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2007/04/01 17:15:20 martynas Exp $
# $OpenBSD: Makefile,v 1.8 2007/04/03 18:05:47 martynas Exp $
# $FreeBSD: ports/misc/ytree/Makefile,v 1.10 2000/04/30 20:15:23 steve Exp $
COMMENT= "DOS-XTREE(tm) look-a-like file manager"
DISTNAME= ytree-1.87
DISTNAME= ytree-1.89
CATEGORIES= misc
HOMEPAGE= http://www.han.de/~werner/ytree.html
@ -22,9 +22,9 @@ ALL_TARGET= ytree
NO_REGRESS= Yes
CFLAGS+= -Dopenbsd -DCOLOR_SUPPORT -DHAS_REGEX -DREADLINE_SUPPORT
CFLAGS+= -DCOLOR_SUPPORT -DREADLINE_SUPPORT
LDFLAGS+= -lcompat -lcurses -lreadline
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
MAKE_FLAGS+= CC=${CC} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/ytree ${PREFIX}/bin

View File

@ -1,5 +1,5 @@
MD5 (ytree-1.87.tar.gz) = d789c6e298aacf7db3dfe8f2d367c4de
RMD160 (ytree-1.87.tar.gz) = 7294f34b46756be09121297c94d94543b729e322
SHA1 (ytree-1.87.tar.gz) = b00f4a44467ef4ef13ad5dd9a0c67d320024e30c
SHA256 (ytree-1.87.tar.gz) = dec176f7fa108c5269077cd60a1a185c08b6c54a2c4785ab027f5b77da3382ab
SIZE (ytree-1.87.tar.gz) = 117727
MD5 (ytree-1.89.tar.gz) = c6301bf1f421772937aa55437987d72a
RMD160 (ytree-1.89.tar.gz) = 636a7fd0a6adcb724626e181a3babc329b75581d
SHA1 (ytree-1.89.tar.gz) = a9ad76a8baad014f0571e87d0af5454ccbf51b14
SHA256 (ytree-1.89.tar.gz) = 95308a4da8ea8859c4318df73e2ac13bb2112c52cf553f93325bb626732344ec
SIZE (ytree-1.89.tar.gz) = 116957

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-Makefile,v 1.3 2007/04/01 17:15:20 martynas Exp $
--- Makefile.orig Mon Nov 13 18:52:50 2006
+++ Makefile Fri Mar 30 19:43:02 2007
@@ -6,7 +6,7 @@
#
############################################################################
-CC = cc
+CC ?= cc
#
# ADD_CFLAGS: Add -DVI_KEYS if you want vi-cursor-keys
@@ -32,7 +32,6 @@ MANESDIR = $(DESTDIR)/share/man/es/man1
COLOR = -DCOLOR_SUPPORT
#CLOCK = -DCLOCK_SUPPORT # Experimental!
READLINE = -DREADLINE_SUPPORT
-CFLAGS = -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE)
LIBS = -lncurses -lreadline
###########################
@@ -224,7 +223,7 @@ OBJS = arc.o archive.o chgrp.o chmod.o chown.o clock.o
#
$(MAIN): $(OBJS)
- $(CC) $(LFLAGS) -o $@ $(OBJS) $(LIBS)
+ $(CC) $(LFLAGS) -o $@ $(OBJS) $(LDFLAGS)
install: $(MAIN)
install $(MAIN) $(BINDIR)

View File

@ -1,24 +0,0 @@
$OpenBSD: patch-config_h,v 1.1 2007/04/01 17:15:20 martynas Exp $
--- config.h.orig Fri Mar 30 19:57:57 2007
+++ config.h Fri Mar 30 19:56:52 2007
@@ -46,17 +46,13 @@
#define DEFAULT_RARLIST "unrar l"
#define DEFAULT_RAREXPAND "unrar p -c- -INUL"
-#define DEFAULT_TAPEDEV "/dev/rmt0"
+#define DEFAULT_TAPEDEV "/dev/rst0"
#define DEFAULT_SEARCHCOMMAND "grep {}"
-/* Attention! You must use GNU TAR, because only GNU TAR is able to
- * extract to stdout!
- */
-
-#define DEFAULT_TARLIST "gtar tvf -"
-#define DEFAULT_TAREXPAND "gtar xOPf -"
+#define DEFAULT_TARLIST "tar tvf -"
+#define DEFAULT_TAREXPAND "tar xOPf -"
#define DEFAULT_RPMLIST "rpm -q -l --dump -p"
#define DEFAULT_RPMEXPAND "builtin"
#define DEFAULT_HEXDUMP "hd"

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-group_c,v 1.1 2007/04/01 17:15:20 martynas Exp $
--- group.c.orig Mon Nov 13 18:52:50 2006
+++ group.c Fri Mar 30 19:53:36 2007
@@ -24,7 +24,6 @@ typedef struct
extern struct group *getgrent(void);
#if !defined( __FreeBSD__ ) && !defined( OSF1 ) && !defined( __APPLE__ )
-extern void setgrent(void);
#endif
static GroupEntry *group_array;

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-passwd_c,v 1.1 2007/04/01 17:15:20 martynas Exp $
--- passwd.c.orig Mon Nov 13 18:52:50 2006
+++ passwd.c Fri Mar 30 19:52:37 2007
@@ -25,7 +25,6 @@ typedef struct
extern struct passwd *getpwent(void);
#if !defined( __FreeBSD__ ) && !defined( OSF1 ) && !defined( __APPLE__ )
-extern void setpwent(void);
#endif
static PasswdEntry *passwd_array;

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-ytree_h,v 1.1 2007/04/01 17:15:20 martynas Exp $
--- ytree.h.orig Mon Nov 13 18:52:50 2006
+++ ytree.h Fri Mar 30 18:02:24 2007
@@ -14,6 +14,7 @@
#include <stdio.h>
#include <ctype.h>
#include <math.h>
+#include <locale.h>
#ifdef XCURSES
#include <xcurses.h>

View File

@ -1,4 +1,4 @@
Ytree is a nifty filemanager similar to xtree. With some
Ytree is a nifty filemanager similar to xtree. With some
helper-applications (zip/zoo/tar etc.) you can also browse archive
files. Viewers for "special" files are configurable (*.wav, *.gif
etc.).