diff options
author | fredb <fredb@pkgsrc.org> | 2002-08-20 00:39:54 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2002-08-20 00:39:54 +0000 |
commit | 054b6f0fcba5df84f66a237f09b877ff715a6e65 (patch) | |
tree | 20453754f1ac8a06e7f181697365462b3b0f86a2 /www | |
parent | 51465b5effba39b0ec185c72234c9e913ec41f3b (diff) | |
download | pkgsrc-054b6f0fcba5df84f66a237f09b877ff715a6e65.tar.gz |
Initial import of mMosaic-3.7.2. This is a derivative work of NCSA XMosaic
that has some support for tables and frames, builds against openmotif, and
is also IPv6 capable! The name stands for "mbone" Mosaic, but that part
probably doesn't even work (yet).
[For real this time -- previous try misspelled the name of the directory.]
Diffstat (limited to 'www')
-rw-r--r-- | www/mMosaic/DESCR | 5 | ||||
-rw-r--r-- | www/mMosaic/Makefile | 23 | ||||
-rw-r--r-- | www/mMosaic/PLIST | 2 | ||||
-rw-r--r-- | www/mMosaic/distinfo | 8 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-aa | 132 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-ab | 13 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-ac | 13 | ||||
-rw-r--r-- | www/mMosaic/patches/patch-ad | 40 |
8 files changed, 236 insertions, 0 deletions
diff --git a/www/mMosaic/DESCR b/www/mMosaic/DESCR new file mode 100644 index 00000000000..05f67e8b36c --- /dev/null +++ b/www/mMosaic/DESCR @@ -0,0 +1,5 @@ +mMosaic is a derivative work of NCSA XMosaic 2.7b4. You can +use it as a simple browser. Now it supports <TABLE> and other +supplementary tags (like <CENTER>). One level of <FRAME> is supported. +mMosaic can run on an IPv6/IPv4 connected computer. Since release +3.4.16 mMosaic is IPV6 and IPV4 able for both HTTP and FTP protocol. diff --git a/www/mMosaic/Makefile b/www/mMosaic/Makefile new file mode 100644 index 00000000000..ccf8db30f5d --- /dev/null +++ b/www/mMosaic/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/08/20 00:39:54 fredb Exp $ +# + +DISTNAME= mMosaic-3.7.2 +CATEGORIES= www +MASTER_SITES= ftp://ftp.enst.fr/pub/mbone/mMosaic/ + +MAINTAINER= fredb@netbsd.org +HOMEPAGE= http://perso.enst.fr/~dauphin/mMosaic/ +COMMENT= Modern derivative of NCSA XMosaic + +WRKSRC= ${WRKDIR}/mMosaic-src-3.7.2 + +USE_X11= YES + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/mMosaic ${PREFIX}/bin/ + +.include "../../devel/zlib/buildlink.mk" +.include "../../graphics/jpeg/buildlink.mk" +.include "../../graphics/png/buildlink.mk" +.include "../../mk/motif.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/mMosaic/PLIST b/www/mMosaic/PLIST new file mode 100644 index 00000000000..3e7798c4575 --- /dev/null +++ b/www/mMosaic/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/20 00:39:54 fredb Exp $ +bin/mMosaic diff --git a/www/mMosaic/distinfo b/www/mMosaic/distinfo new file mode 100644 index 00000000000..85112f7bc31 --- /dev/null +++ b/www/mMosaic/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/08/20 00:39:54 fredb Exp $ + +SHA1 (mMosaic-3.7.2.tar.gz) = f26d4fd115a0fb7fc09947506b59e1a3790b6ac7 +Size (mMosaic-3.7.2.tar.gz) = 507612 bytes +SHA1 (patch-aa) = 3e6ed2dd31bc4d560cd0d1eca4d118d8ad0438b7 +SHA1 (patch-ab) = 64cb25fda5e4100251072184dec9f50e8de4be97 +SHA1 (patch-ac) = 98479482a48a19b3f64ce4ed7a33cec04c90d070 +SHA1 (patch-ad) = d0da529ed866a9295010419882a004997bba17a7 diff --git a/www/mMosaic/patches/patch-aa b/www/mMosaic/patches/patch-aa new file mode 100644 index 00000000000..e81824df7c4 --- /dev/null +++ b/www/mMosaic/patches/patch-aa @@ -0,0 +1,132 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/08/20 00:39:55 fredb Exp $ + +--- Makefile.orig Thu Feb 1 07:27:30 2001 ++++ Makefile +@@ -45,13 +45,13 @@ + # GCC : Linux Intel optimised + #prereleaseflags = -Wall -pipe -O2 -g -march=pentium -mcpu=pentium + # GCC : Linux, FreeBSD, NetBSD compiler flags (recommended) +-#prereleaseflags = -Wall -g ++prereleaseflags = -Wall -Wno-comment -Wno-parentheses -O2 -g + # Qnx + #prereleaseflags = -Oeax + # SGI Mipspro + #prereleaseflags = -g -n32 -Xcpluscomm -woff 1009,1014,1048,1110,1116,1185,1188,1204,1230,1233 + # Sun Workshop C Compiler +-prereleaseflags = -v -g -xstrconst ++#prereleaseflags = -v -g -xstrconst + # Sun Workshop C++ Compiler + #prereleaseflags = +w -g + +@@ -63,9 +63,9 @@ + ## + + # Linux, NetBSD, FreeBSD, BSDI, OSF1, SunOS4this +-#RANLIB = ranlib ++RANLIB = ranlib + # SVR4, Irix, AIX, Qnx, Solaris 2.x +-RANLIB = /bin/true ++#RANLIB = /bin/true + + ## + ## System configuration flags +@@ -88,11 +88,11 @@ + # FreeBSD + #sysconfigflags = -DFreeBSD + # NetBSD +-#sysconfigflags = -DNETBSD ++sysconfigflags = -DNETBSD + # Irix + #sysconfigflags = -DSVR4 -DIRIX + # Solaris2.5 & 2.5.1 +-sysconfigflags = -DSOLARIS -DSVR4 ++#sysconfigflags = -DSOLARIS -DSVR4 + + # Use Motif 1.2.x + sysconfigflags += -DMOTIF1_2 +@@ -124,7 +124,7 @@ + # Irix + #syslibs = -lPW + # Solaris 2.x, Motorola SVR4 +-syslibs = -lsocket -lnsl -ldl ++#syslibs = -lsocket -lnsl -ldl + + ## + ## X11 includes +@@ -141,7 +141,8 @@ + # Solaris 2.x + #xinc = -I/usr/openwin/include -I/usr/dt/include + #solaris8 +-xinc = -I/usr/openwin/include -I/usr/dt/include -DMOTIF12_HEADERS ++#xinc = -I/usr/openwin/include -I/usr/dt/include -DMOTIF12_HEADERS ++xinc = -I${BUILDLINK_DIR}/include -I${X11BASE}/include + + + ## +@@ -168,9 +169,12 @@ + # Irix + #xlibs = -L/usr/lib32 -lXm -lXmu -lXt -lXext -lX11 -lm + # Solaris 2.x +-xlibs = -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/dt/lib -R/usr/dt/lib ++#xlibs = -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/dt/lib -R/usr/dt/lib + #xlibs += -lXm -lXmu -lXt -lXext -lX11 -lm +-xlibs += -lXm12 -lXmu -lXt -lXext -lX11 -lm ++#xlibs += -lXm12 -lXmu -lXt -lXext -lX11 -lm ++xlibs = -L${X11BASE}/lib -L${BUILDLINK_DIR}/lib ++xlibs += -lXm -lXmu -lXt -lXext -lX11 -lm ++xlibs += -Wl,-rpath,${X11PREFIX}/lib + + # + # private +@@ -190,8 +194,10 @@ + #pnginc = /usr/local/include + #pnglibs = /usr/local/lib/libpng.a /usr/lib/libz.a + # Solaris +-pnginc = /usr/local/include +-pnglibs = /usr/local/lib/libpng.a /usr/local/lib/libz.a ++#pnginc = /usr/local/include ++#pnglibs = /usr/local/lib/libpng.a /usr/local/lib/libz.a ++pnginc = ${BUILDLINK_DIR}/include ++pnglibs = -lpng -lz -Wl,-rpath,${LOCALBASE}/lib + + # To disable PNG support comment this. + +@@ -208,8 +214,10 @@ + #jpeginc = /usr/include + #jpeglibs = /usr/lib32/libjpeg.so + # Solaris FreeBSD +-jpeginc = /usr/local/include +-jpeglibs = /usr/local/lib/libjpeg.a ++#jpeginc = /usr/local/include ++#jpeglibs = /usr/local/lib/libjpeg.a ++jpeginc = ${BUILDLINK_DIR}/include ++jpeglibs = -ljpeg -Wl,-rpath,${LOCALBASE}/lib + + # To disable JPEG support (not recommended) comment this. + +@@ -259,12 +267,12 @@ + INSTALL_PLUG_DIR = /usr/local/mMosaic/plugins + explugdir = $(PWD)/plugins/examples + # for gcc +-#explugccflag = -fpic +-#explugldflag = -shared ++explugccflag = -fpic ++explugldflag = -shared + # + # for Solaris cc workshop +-explugccflag = -I$(plugdir) -KPIC +-explugldflag = -G ++#explugccflag = -I$(plugdir) -KPIC ++#explugldflag = -G + + ## + ## Customization flags +@@ -290,7 +298,7 @@ + # + # Common + +-customflags = ++#customflags = -DIPV6 + + ## + ## ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- diff --git a/www/mMosaic/patches/patch-ab b/www/mMosaic/patches/patch-ab new file mode 100644 index 00000000000..cab49a4c88b --- /dev/null +++ b/www/mMosaic/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/08/20 00:39:55 fredb Exp $ + +--- libnut/mosaic-types.h.orig Thu Oct 12 05:27:35 2000 ++++ libnut/mosaic-types.h +@@ -15,7 +15,7 @@ + #ifndef mosaic_types_h + #define mosaic_types_h + +-#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__) || defined(ultrix) || defined(linux) || defined(netBSD) ++#if defined(sgi) || defined(__bsdi__) || defined(__FreeBSD__) || defined(ultrix) || defined(linux) || defined(NETBSD) + #include <sys/types.h> + #else + typedef unsigned char u_int8_t; diff --git a/www/mMosaic/patches/patch-ac b/www/mMosaic/patches/patch-ac new file mode 100644 index 00000000000..1f9440d8882 --- /dev/null +++ b/www/mMosaic/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/08/20 00:39:55 fredb Exp $ + +--- src/URLParse.c.orig Fri Sep 8 08:29:18 2000 ++++ src/URLParse.c +@@ -8,7 +8,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/param.h> /* MAXPATHLEN is defined here on Solaris */ +-#ifdef linux ++#if defined(linux) || defined(NETBSD) + #include <unistd.h> + #endif + diff --git a/www/mMosaic/patches/patch-ad b/www/mMosaic/patches/patch-ad new file mode 100644 index 00000000000..776ccf7a499 --- /dev/null +++ b/www/mMosaic/patches/patch-ad @@ -0,0 +1,40 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/08/20 00:39:55 fredb Exp $ + +--- src/www-con.c.orig Fri Dec 8 09:20:47 2000 ++++ src/www-con.c +@@ -31,6 +31,7 @@ + + #if defined(NETBSD) || defined(FreeBSD) + #include <sys/filio.h> ++#include <sys/ioctl.h> + #endif + + #ifndef FD_SETSIZE +@@ -225,8 +226,11 @@ + } + /* manage only non numeric adresses for IPV6 */ + /* RFC 2133 */ +-/* phost = gethostbyname2 (host,AF_INET6); */ ++#if defined(NETBSD) ++ phost = gethostbyname2 (host,AF_INET6); ++#else + phost = getipnodebyname( host, AF_INET6, AI_DEFAULT, &err_num); ++#endif + + if (phost) { /* try IPV6 */ + #ifdef DEBUG_IPV6 +@@ -270,9 +274,12 @@ + if (cached4_host && (strcmp (cached4_host, host) == 0)){ + memcpy(&sin4->sin_addr, cached4_phost_h_addr, cached4_phost_h_length); + } else { +-/* phost = gethostbyname2 (host,AF_INET); */ +-/* phost = gethostbyname (host); */ ++#if defined(NETBSD) ++ phost = gethostbyname2 (host,AF_INET); ++ /* phost = gethostbyname (host); */ ++#else + phost = getipnodebyname( host, AF_INET6, AI_DEFAULT, &err_num); ++#endif + if (!phost) { + fprintf (stderr, "Can't find internet node name `%s'.\n",host); + return IN_IPV_UNKNOWN; /* Fail */ |