diff options
author | ache <ache@FreeBSD.org> | 1995-12-14 05:38:46 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-12-14 05:38:46 +0800 |
commit | 6a0327d79010725b2e1ad094752e00b461a4b5b6 (patch) | |
tree | e26e5d46b333e34d590e6e2a61ee158fb1166531 | |
parent | fbeccbd557245c6bae6f9160fc222baf1a356b3a (diff) | |
download | freebsd-ports-gnome-6a0327d79010725b2e1ad094752e00b461a4b5b6.tar.gz freebsd-ports-gnome-6a0327d79010725b2e1ad094752e00b461a4b5b6.tar.zst freebsd-ports-gnome-6a0327d79010725b2e1ad094752e00b461a4b5b6.zip |
Upgrade to next FM snapshot, author apply my patches
-rw-r--r-- | www/lynx-current/Makefile | 11 | ||||
-rw-r--r-- | www/lynx-current/distinfo | 2 | ||||
-rw-r--r-- | www/lynx/Makefile | 11 | ||||
-rw-r--r-- | www/lynx/distinfo | 2 | ||||
-rw-r--r-- | www/lynx/files/patch-aa | 224 |
5 files changed, 18 insertions, 232 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile index 38b5dfe85535..e17c494eea94 100644 --- a/www/lynx-current/Makefile +++ b/www/lynx-current/Makefile @@ -9,16 +9,19 @@ DISTNAME= lynx2-4-FM PKGNAME= lynx-2.4fm CATEGORIES+= www -MASTER_SITES= http://www.wfbr.edu/lynx/ + +#MASTER_SITES= http://www.wfbr.edu/lynx/ +#NCFTP= w3c +#NCFTPFLAGS= -v -to multipart/x-zip -timeout 240 -o ${DISTFILES} +#FETCH_DEPENDS= ${NCFTP}:${PORTSDIR}/www/comline + +MASTER_SITES= ftp://ftp.kiae.su/unix/tcpip/nidr/www/ DISTFILES= lynx2-4-fm.zip -NCFTP= w3c -NCFTPFLAGS= -to multipart/x-zip -timeout 60 -o ${DISTFILES} EXTRACT_CMD= unzip EXTRACT_ARGS= -q MAINTAINER= ache@FreeBSD.ORG -FETCH_DEPENDS= ${NCFTP}:${PORTSDIR}/www/comline BUILD_DEPENDS= ${EXTRACT_CMD}:${PORTSDIR}/archivers/unzip ALL_TARGET= freebsd-ncurses diff --git a/www/lynx-current/distinfo b/www/lynx-current/distinfo index ca0e4a1668df..274ce9be39ec 100644 --- a/www/lynx-current/distinfo +++ b/www/lynx-current/distinfo @@ -1 +1 @@ -MD5 (lynx2-4-fm.zip) = d7b5d314e5741180af42a99dfea16564 +MD5 (lynx2-4-fm.zip) = 57514b37debb97840b8c0c9815a465eb diff --git a/www/lynx/Makefile b/www/lynx/Makefile index 38b5dfe85535..e17c494eea94 100644 --- a/www/lynx/Makefile +++ b/www/lynx/Makefile @@ -9,16 +9,19 @@ DISTNAME= lynx2-4-FM PKGNAME= lynx-2.4fm CATEGORIES+= www -MASTER_SITES= http://www.wfbr.edu/lynx/ + +#MASTER_SITES= http://www.wfbr.edu/lynx/ +#NCFTP= w3c +#NCFTPFLAGS= -v -to multipart/x-zip -timeout 240 -o ${DISTFILES} +#FETCH_DEPENDS= ${NCFTP}:${PORTSDIR}/www/comline + +MASTER_SITES= ftp://ftp.kiae.su/unix/tcpip/nidr/www/ DISTFILES= lynx2-4-fm.zip -NCFTP= w3c -NCFTPFLAGS= -to multipart/x-zip -timeout 60 -o ${DISTFILES} EXTRACT_CMD= unzip EXTRACT_ARGS= -q MAINTAINER= ache@FreeBSD.ORG -FETCH_DEPENDS= ${NCFTP}:${PORTSDIR}/www/comline BUILD_DEPENDS= ${EXTRACT_CMD}:${PORTSDIR}/archivers/unzip ALL_TARGET= freebsd-ncurses diff --git a/www/lynx/distinfo b/www/lynx/distinfo index ca0e4a1668df..274ce9be39ec 100644 --- a/www/lynx/distinfo +++ b/www/lynx/distinfo @@ -1 +1 @@ -MD5 (lynx2-4-fm.zip) = d7b5d314e5741180af42a99dfea16564 +MD5 (lynx2-4-fm.zip) = 57514b37debb97840b8c0c9815a465eb diff --git a/www/lynx/files/patch-aa b/www/lynx/files/patch-aa index 0fd7e039310b..4ab4bdfe451f 100644 --- a/www/lynx/files/patch-aa +++ b/www/lynx/files/patch-aa @@ -1,144 +1,5 @@ -*** ./WWW/Library/freebsd/Makefile.orig Sat Sep 30 14:06:52 1995 ---- ./WWW/Library/freebsd/Makefile Sun Dec 10 23:54:03 1995 -*************** -*** 8,16 **** - ASIS_MACH = i386/FreeBSD - - -! CFLAGS = -O -DDEBUG -DUSE_DIRENT - LFLAGS = -- CC = cc - - # Directory for installed binary: - BINDIR = /usr/local/bin ---- 8,15 ---- - ASIS_MACH = i386/FreeBSD - - -! CFLAGS += -DDEBUG - LFLAGS = - - # Directory for installed binary: - BINDIR = /usr/local/bin -*** ./src/LYJump.c.orig Sat Nov 25 20:08:38 1995 ---- ./src/LYJump.c Sun Dec 10 23:54:03 1995 -*************** -*** 10,15 **** ---- 10,18 ---- - #include "GridText.h" - - #include "LYLeaks.h" -+ #ifndef VMS -+ #include <unistd.h> -+ #endif - - #ifdef VMS - #include <fab.h> -*** ./src/LYMain.c.orig Sat Nov 25 20:08:22 1995 ---- ./src/LYMain.c Sun Dec 10 23:54:04 1995 -*************** -*** 26,31 **** ---- 26,32 ---- - #ifdef SYSLOG_REQUESTED_URLS - #include <syslog.h> - #endif /* SYSLOG_REQUESTED_URLS */ -+ #include <unistd.h> - #endif /* !VMS */ - - #ifdef LOCALE -*** ./src/LYStrings.h.orig Sat Nov 11 14:37:48 1995 ---- ./src/LYStrings.h Sun Dec 10 23:54:05 1995 -*************** -*** 23,43 **** - #define printable(c) (((c)>31 && (c)<=255) || (c)==9 || (c)==10 || (c)<0 ) - - /* values for LYgetch */ -! #define UPARROW 128 -! #define DNARROW 129 -! #define RTARROW 130 -! #define LTARROW 131 -! #define PGDOWN 132 -! #define PGUP 133 -! #define HOME 134 -! #define END 135 -! #define F1 136 -! #define DO_KEY 137 -! #define FIND_KEY 138 -! #define SELECT_KEY 139 -! #define INSERT_KEY 140 -! #define REMOVE_KEY 141 -! #define DO_NOTHING 142 - - #define VISIBLE 0 - #define HIDDEN 1 ---- 23,43 ---- - #define printable(c) (((c)>31 && (c)<=255) || (c)==9 || (c)==10 || (c)<0 ) - - /* values for LYgetch */ -! #define UPARROW 256 -! #define DNARROW 257 -! #define RTARROW 258 -! #define LTARROW 259 -! #define PGDOWN 260 -! #define PGUP 261 -! #define HOME 262 -! #define END 263 -! #define F1 264 -! #define DO_KEY 265 -! #define FIND_KEY 266 -! #define SELECT_KEY 267 -! #define INSERT_KEY 268 -! #define REMOVE_KEY 269 -! #define DO_NOTHING 270 - - #define VISIBLE 0 - #define HIDDEN 1 -*** ./src/LYKeymap.c.orig Fri Nov 24 19:22:50 1995 ---- ./src/LYKeymap.c Sun Dec 10 23:54:06 1995 -*************** -*** 165,170 **** ---- 165,203 ---- - LYK_PIPE, 0, 0, LYK_HISTORY, - /* | */ /* } */ /* ~ */ /* del */ - -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ 0, 0, 0, 0, -+ - LYK_PREV_LINK, LYK_NEXT_LINK, LYK_ACTIVATE, LYK_PREV_DOC, - /* UPARROW */ /* DNARROW */ /* RTARROW */ /* LTARROW */ - -*** ./Makefile.orig Wed Nov 8 20:16:22 1995 ---- ./Makefile Sun Dec 10 23:54:06 1995 +*** Makefile.orig Wed Dec 13 23:21:13 1995 +--- Makefile Wed Dec 13 23:53:06 1995 *************** *** 15,29 **** ##change the next line if you want the lynx man file installed somewhere @@ -195,84 +56,3 @@ # if you are compiling on a previously unsupported system, modify # this generic entry!! -*************** -*** 257,266 **** - # FreeBSD doesn't have or need ranlib. (ignore the error message about that :) - freebsd-ncurses: - cd WWW/Library/freebsd; make LYFLAGS="$(SITE_LYDEFS)" -! cd src; make all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DNCURSES -DUNIX \ -! -DNO_KEYPAD -DNO_CUSERID -I../$(WWWINC) $(SITE_DEFS) \ -! -I/usr/include/ncurses" LIBS="-lncurses -lcompat \ -! -ltermcap $(WAISLIB) $(SOCKSLIB)" \ - WWWLIB="../WWW/Library/freebsd/libwww.a" - - # NetBSD doesn't have or need ranlib. (ignore the error message about that :) ---- 257,265 ---- - # FreeBSD doesn't have or need ranlib. (ignore the error message about that :) - freebsd-ncurses: - cd WWW/Library/freebsd; make LYFLAGS="$(SITE_LYDEFS)" -! cd src; make all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DUNIX \ -! -DNO_TTYTYPE -DNO_CUSERID -DLOCALE -I../$(WWWINC) $(SITE_DEFS)" \ -! LIBS="-lncurses -lmytinfo $(WAISLIB) $(SOCKSLIB)" \ - WWWLIB="../WWW/Library/freebsd/libwww.a" - - # NetBSD doesn't have or need ranlib. (ignore the error message about that :) -*** ./userdefs.h.orig Thu Nov 30 16:41:00 1995 ---- ./userdefs.h Sun Dec 10 23:54:07 1995 -*************** -*** 257,263 **** ---- 257,267 ---- - #ifdef MMDF - #define SYSTEM_MAIL "/usr/mmdf/bin/submit" - #else -+ #ifdef __FreeBSD__ -+ #define SYSTEM_MAIL "/usr/sbin/sendmail" -+ #else - #define SYSTEM_MAIL "/usr/lib/sendmail" -+ #endif - #endif /* MMDF */ - - /************************** -*************** -*** 865,871 **** ---- 869,880 ---- - #define LYNX_NAME "Lynx" - #define LYNX_VERSION "2.4-FM" - #ifndef MAXINT -+ #ifdef __FreeBSD__ -+ #include <limits.h> -+ #define MAXINT INT_MAX -+ #else - #define MAXINT 2147483647 -+ #endif - #endif /* !MAXINT */ - - /* text strings for certain actions */ -*** src/LYCurses.c.bak Sat Nov 18 19:28:54 1995 ---- src/LYCurses.c Mon Dec 11 00:45:36 1995 -*************** -*** 183,191 **** - - /* query the terminal type */ - if(dumbterm(getenv("TERM"))) { - printf("\n\n Your Terminal type is unknown!\n\n"); - printf(" Enter a terminal type: [vt100] "); -! gets(buffer); - - if(strlen(buffer) == 0) - strcpy(buffer,"vt100"); ---- 183,196 ---- - - /* query the terminal type */ - if(dumbterm(getenv("TERM"))) { -+ char *s; -+ - printf("\n\n Your Terminal type is unknown!\n\n"); - printf(" Enter a terminal type: [vt100] "); -! *buffer = '\0'; -! fgets(buffer, sizeof(buffer), stdin); -! if ((s = strchr(buffer, '\n')) != NULL) -! *s = '\0'; - - if(strlen(buffer) == 0) - strcpy(buffer,"vt100"); |