diff options
author | sf <sf@FreeBSD.org> | 2001-06-12 15:01:11 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-06-12 15:01:11 +0000 |
commit | e6aba9d427ee7606696027af81c99b14294569cc (patch) | |
tree | 848f16e312f6b958af15d620dc71325a23896644 /x11-servers | |
parent | 4a4275e50dbb6487b175821ee99948ca7d83b5b4 (diff) | |
download | FreeBSD-ports-e6aba9d427ee7606696027af81c99b14294569cc.zip FreeBSD-ports-e6aba9d427ee7606696027af81c99b14294569cc.tar.gz |
update to 4.1.0.
get rid of version number from comments in Makefile, pkg-comment and pkg-descr.
note: DRI modules would not build. They are borken for FreeBSD.
Reviewed by: maintainer
Diffstat (limited to 'x11-servers')
30 files changed, 130 insertions, 124 deletions
diff --git a/x11-servers/XFree86-4-FontServer/Makefile b/x11-servers/XFree86-4-FontServer/Makefile index 7058667..bc27d45 100644 --- a/x11-servers/XFree86-4-FontServer/Makefile +++ b/x11-servers/XFree86-4-FontServer/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: XFree86XFontServer-4.0.1 +# New ports collection makefile for: XFree86-FontServer # Date created: 10 Oct 1999 # Whom: taguchi@tohoku.iij.ad.jp # @@ -6,16 +6,12 @@ # PORTNAME= FontServer -PORTVERSION= 4.0.3 +PORTVERSION= 4.1.0 CATEGORIES= x11-servers x11-fonts MASTER_SITES= ${MASTER_SITE_XFREE} -MASTER_SITE_SUBDIR= 4.0.2 +MASTER_SITE_SUBDIR= 4.1.0 PKGNAMEPREFIX= XFree86- -DISTFILES= X402src-1.tgz - -PATCH_SITES= ${MASTER_SITE_XFREE:S,%SUBDIR%/source,4.0.3/patches,g} -PATCHFILES= 4.0.2-4.0.3.diff.gz -PATCH_DIST_STRIP= -p1 +DISTFILES= X410src-1.tgz MAINTAINER= taguchi@tohoku.iij.ad.jp @@ -26,7 +22,7 @@ WRKSRC= ${WRKDIR}/xc PATCHDIR= ${.CURDIR}/../../x11/XFree86-4-libraries/files MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man ALL_TARGET= FreeBSDPortsBuild -INSTALL_TARGET= FreeBSDPortsInstall installXserver.man +INSTALL_TARGET= FreeBSDPortsInstall installXserver.man MAN1= Xserver.1 xfs.1 do-configure: diff --git a/x11-servers/XFree86-4-FontServer/distinfo b/x11-servers/XFree86-4-FontServer/distinfo index 073d548..e4b5e84 100644 --- a/x11-servers/XFree86-4-FontServer/distinfo +++ b/x11-servers/XFree86-4-FontServer/distinfo @@ -1,2 +1 @@ -MD5 (xc/X402src-1.tgz) = d314c311aa4a29d74695b0e39b6d80c4 -MD5 (xc/4.0.2-4.0.3.diff.gz) = c8bb56df966dd0a51d2291bca36e0ea4 +MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32 diff --git a/x11-servers/XFree86-4-FontServer/pkg-comment b/x11-servers/XFree86-4-FontServer/pkg-comment index bfbbb29..e68e454 100644 --- a/x11-servers/XFree86-4-FontServer/pkg-comment +++ b/x11-servers/XFree86-4-FontServer/pkg-comment @@ -1 +1 @@ -X11R6.4/XFree86-4.0 Font Server +X11R6.4/XFree86-4 Font Server diff --git a/x11-servers/XFree86-4-FontServer/scripts/configure b/x11-servers/XFree86-4-FontServer/scripts/configure index 48541ec..5001698 100644 --- a/x11-servers/XFree86-4-FontServer/scripts/configure +++ b/x11-servers/XFree86-4-FontServer/scripts/configure @@ -85,5 +85,6 @@ configure () { cp -f $LOCALDEF $HOSTDEF } +cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf configure exit 0 diff --git a/x11-servers/XFree86-4-NestServer/Makefile b/x11-servers/XFree86-4-NestServer/Makefile index a97e28e..69935c4 100644 --- a/x11-servers/XFree86-4-NestServer/Makefile +++ b/x11-servers/XFree86-4-NestServer/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: XFree86XNestServer-4.0.1 +# New ports collection makefile for: XFree86-NestServer # Date created: 10 Oct 1999 # Whom: taguchi@tohoku.iij.ad.jp # @@ -6,16 +6,12 @@ # PORTNAME= NestServer -PORTVERSION= 4.0.3 +PORTVERSION= 4.1.0 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} -MASTER_SITE_SUBDIR= 4.0.2 +MASTER_SITE_SUBDIR= 4.1.0 PKGNAMEPREFIX= XFree86- -DISTFILES= X402src-1.tgz - -PATCH_SITES= ${MASTER_SITE_XFREE:S,%SUBDIR%/source,4.0.3/patches,g} -PATCHFILES= 4.0.2-4.0.3.diff.gz -PATCH_DIST_STRIP= -p1 +DISTFILES= X410src-1.tgz MAINTAINER= taguchi@tohoku.iij.ad.jp @@ -26,7 +22,7 @@ WRKSRC= ${WRKDIR}/xc PATCHDIR= ${.CURDIR}/../../x11/XFree86-4-libraries/files MAKE_ENV= MAN_INSTALL_TARGET=installXnest.man ALL_TARGET= FreeBSDPortsBuild -INSTALL_TARGET= installXnest installXserver.man +INSTALL_TARGET= installXnest installXserver.man MANCOMPRESSED= yes MAN1= Xnest.1 Xserver.1 diff --git a/x11-servers/XFree86-4-NestServer/distinfo b/x11-servers/XFree86-4-NestServer/distinfo index 073d548..e4b5e84 100644 --- a/x11-servers/XFree86-4-NestServer/distinfo +++ b/x11-servers/XFree86-4-NestServer/distinfo @@ -1,2 +1 @@ -MD5 (xc/X402src-1.tgz) = d314c311aa4a29d74695b0e39b6d80c4 -MD5 (xc/4.0.2-4.0.3.diff.gz) = c8bb56df966dd0a51d2291bca36e0ea4 +MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32 diff --git a/x11-servers/XFree86-4-NestServer/pkg-comment b/x11-servers/XFree86-4-NestServer/pkg-comment index e68ec06..759dd4f 100644 --- a/x11-servers/XFree86-4-NestServer/pkg-comment +++ b/x11-servers/XFree86-4-NestServer/pkg-comment @@ -1 +1 @@ -X11R6.4/XFree86-4.0 Xnest server +X11R6.4/XFree86-4 Xnest server diff --git a/x11-servers/XFree86-4-NestServer/scripts/configure b/x11-servers/XFree86-4-NestServer/scripts/configure index 5f5c821..a26747a 100644 --- a/x11-servers/XFree86-4-NestServer/scripts/configure +++ b/x11-servers/XFree86-4-NestServer/scripts/configure @@ -76,5 +76,6 @@ configure () { cp -f $LOCALDEF $HOSTDEF } +cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf configure exit 0 diff --git a/x11-servers/XFree86-4-PrintServer/Makefile b/x11-servers/XFree86-4-PrintServer/Makefile index 7788612..f9e5b8e 100644 --- a/x11-servers/XFree86-4-PrintServer/Makefile +++ b/x11-servers/XFree86-4-PrintServer/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: XFree86XPrintServer-4.0.1 +# New ports collection makefile for: XFree86-PrintServer # Date created: 10 Oct 1999 # Whom: taguchi@tohoku.iij.ad.jp # @@ -6,16 +6,12 @@ # PORTNAME= PrintServer -PORTVERSION= 4.0.3 +PORTVERSION= 4.1.0 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} -MASTER_SITE_SUBDIR= 4.0.2 +MASTER_SITE_SUBDIR= 4.1.0 PKGNAMEPREFIX= XFree86- -DISTFILES= X402src-1.tgz - -PATCH_SITES= ${MASTER_SITE_XFREE:S,%SUBDIR%/source,4.0.3/patches,g} -PATCHFILES= 4.0.2-4.0.3.diff.gz -PATCH_DIST_STRIP= -p1 +DISTFILES= X410src-1.tgz MAINTAINER= taguchi@tohoku.iij.ad.jp @@ -26,7 +22,7 @@ WRKSRC= ${WRKDIR}/xc PATCHDIR= ${.CURDIR}/../../x11/XFree86-4-libraries/files MAKE_ENV= MAN_INSTALL_TARGET=NOOP ALL_TARGET= FreeBSDPortsBuild -INSTALL_TARGET= installXprt +INSTALL_TARGET= installXprt do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure diff --git a/x11-servers/XFree86-4-PrintServer/distinfo b/x11-servers/XFree86-4-PrintServer/distinfo index 073d548..e4b5e84 100644 --- a/x11-servers/XFree86-4-PrintServer/distinfo +++ b/x11-servers/XFree86-4-PrintServer/distinfo @@ -1,2 +1 @@ -MD5 (xc/X402src-1.tgz) = d314c311aa4a29d74695b0e39b6d80c4 -MD5 (xc/4.0.2-4.0.3.diff.gz) = c8bb56df966dd0a51d2291bca36e0ea4 +MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32 diff --git a/x11-servers/XFree86-4-PrintServer/pkg-comment b/x11-servers/XFree86-4-PrintServer/pkg-comment index 0e776fb..034b37d 100644 --- a/x11-servers/XFree86-4-PrintServer/pkg-comment +++ b/x11-servers/XFree86-4-PrintServer/pkg-comment @@ -1 +1 @@ -X11R6.4/XFree86 X print Server +X11R6.4/XFree86-4 print Server diff --git a/x11-servers/XFree86-4-PrintServer/scripts/configure b/x11-servers/XFree86-4-PrintServer/scripts/configure index 593801e..3b0033a 100644 --- a/x11-servers/XFree86-4-PrintServer/scripts/configure +++ b/x11-servers/XFree86-4-PrintServer/scripts/configure @@ -76,5 +76,6 @@ configure () { cp -f $LOCALDEF $HOSTDEF } +cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf configure exit 0 diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index a71b3af..12751f7 100644 --- a/x11-servers/XFree86-4-Server-snap/Makefile +++ b/x11-servers/XFree86-4-Server-snap/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: XFree86XServer-4.0.1 +# New ports collection makefile for: XFree86-Server # Date created: 10 Oct 1999 # Whom: taguchi@tohoku.iij.ad.jp # @@ -6,17 +6,12 @@ # PORTNAME= Server -PORTVERSION= 4.0.3 -PORTREVISION= 1 +PORTVERSION= 4.1.0 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} -MASTER_SITE_SUBDIR= 4.0.2 +MASTER_SITE_SUBDIR= 4.1.0 PKGNAMEPREFIX= XFree86- -DISTFILES= X402src-1.tgz - -PATCH_SITES= ${MASTER_SITE_XFREE:S,%SUBDIR%/source,4.0.3/patches,g} -PATCHFILES= 4.0.2-4.0.3.diff.gz -PATCH_DIST_STRIP= -p1 +DISTFILES= X410src-1.tgz MAINTAINER= taguchi@tohoku.iij.ad.jp @@ -33,15 +28,16 @@ SCRIPTS_ENV= OSVERSION=${OSVERSION} \ BuildXF86DRI=${BuildXF86DRI} \ BuildXF86DRM=${BuildXF86DRM} \ HaveMatroxHal=${HaveMatroxHal} -MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man +MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man WORLDOPTS= +MAKE_ARGS= WORLDOPTS= ALL_TARGET= FreeBSDPortsBuild INSTALL_TARGET= FreeBSDPortsInstall FreeBSDPortsInstall.man -MAN1= SuperProbe.1 \ - XFree86.1 \ +MAN1= XFree86.1 \ Xserver.1 \ kbd_mode.1 \ pcitweak.1 \ scanpci.1 \ + xf86cfg.1 \ xf86config.1 MAN3= XF86VidMode.3 \ XF86VidModeDeleteModeLine.3 \ @@ -65,9 +61,11 @@ MAN4= mga.4 \ nv.4 \ siliconmotion.4 \ vga.4 \ + vmware.4 \ keyboard.4 \ mouse.4 MAN5= XF86Config.5 +PKGMESSAGE= ${WRKDIR}/.pkg-message .include <bsd.port.pre.mk> @@ -83,23 +81,28 @@ HasXdmAuth?= DEFAULT HasSecureRPC?= DEFAULT HasPam?= DEFAULT ExtendedInputDevices?= DEFAULT -.if (exists(/sys) || exists(/usr/src/sys)) && ${OSVERSION} < 500013 +.if !defined(I_WANT_TO_FIX_BUILDING_DRI_MODULES) +BuildXF86DRI= NO +BuildXF86DRM= NO +PLIST_SUB+= DRI="@comment " +.else +.if ${OSVERSION} < 500013 && ${MACHINE} != alpha +.if (exists(/sys) || exists(/usr/src/sys)) BuildXF86DRI= YES BuildXF86DRM= YES PLIST_SUB+= DRI="" -PKGMESSAGE= ${.CURDIR}/pkg-message-drm +.else +_pre-fetch:: + @${ECHO_MSG} "DRI would not build: kernel source required in /sys." +.endif # have /sys .else BuildXF86DRI= NO BuildXF86DRM= NO PLIST_SUB+= DRI="@comment " -.if ${OSVERSION} < 500013 -pre-fetch:: - @${ECHO_MSG} "DRI would not build: kernel source required in /sys." -.else -pre-fetch:: - @${ECHO_MSG} "DRI would not build: incompatible with SMPng." -.endif -.endif +_pre-fetch:: + @${ECHO_MSG} "DRI would not build: incompatible with SMPng and alpha" +.endif # PRE_SMPNG && !alpha +.endif # DRI is totally broken .if ${ARCH} == i386 PLIST_SUB+= I386:="" @@ -135,10 +138,11 @@ MAN4+= citron.4 \ PLIST_SUB+= XIE:="@comment " .endif +.if !defined(INCOMPATIBLE_WITH_4_1_0) .if !defined(WITH_MATROX_GXX_DRIVER) HaveMatroxHal= NO PLIST_SUB+= MATROX="@comment " -pre-fetch:: +_pre-fetch:: @${ECHO_MSG} "Define WITH_MATROX_GXX_DRIVER to enable the official Matrox drivers for" @${ECHO_MSG} "the G200, G400 and G450 graphic adapters." .else @@ -146,7 +150,7 @@ HaveMatroxHal= YES MGA_DRIVER_VERSION= 1_2_0beta MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2001/beta_${MGA_DRIVER_VERSION:S/beta//}/ DISTFILES+= mga-${MGA_DRIVER_VERSION}.tgz -EXTRACT_ONLY= X402src-1.tgz +EXTRACT_ONLY= X410src-1.tgz PLIST_SUB+= MATROX="" post-patch:: @${MV} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga \ @@ -154,6 +158,7 @@ post-patch:: @${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/mga-${MGA_DRIVER_VERSION}.tgz \ -C ${WRKSRC}/programs/Xserver/hw/xfree86/drivers .endif # !WITH_MATROX_GXX_DRIVER +.endif # INCOMPATIBLE_WITH_4_1_0 do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure @@ -166,6 +171,7 @@ pre-install: post-install: strip ${PREFIX}/bin/XFree86 .if ${BuildXF86DRM} == "YES" + @(cd ${.CURDIR}; ${CAT} pkg-message pkg-message-drm > ${PKGMESSAGE}) @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE} .endif diff --git a/x11-servers/XFree86-4-Server-snap/distinfo b/x11-servers/XFree86-4-Server-snap/distinfo index d78dc40..e4b5e84 100644 --- a/x11-servers/XFree86-4-Server-snap/distinfo +++ b/x11-servers/XFree86-4-Server-snap/distinfo @@ -1,3 +1 @@ -MD5 (xc/X402src-1.tgz) = d314c311aa4a29d74695b0e39b6d80c4 -MD5 (xc/mga-1_2_0beta.tgz) = ef6e33551a2fad0a58d41c1bca2325f4 -MD5 (xc/4.0.2-4.0.3.diff.gz) = c8bb56df966dd0a51d2291bca36e0ea4 +MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32 diff --git a/x11-servers/XFree86-4-Server-snap/pkg-comment b/x11-servers/XFree86-4-Server-snap/pkg-comment index 523b914..95c4248 100644 --- a/x11-servers/XFree86-4-Server-snap/pkg-comment +++ b/x11-servers/XFree86-4-Server-snap/pkg-comment @@ -1 +1 @@ -X11R6.4/XFree86-4.0 X server and related programs +X11R6.4/XFree86-4 X server and related programs diff --git a/x11-servers/XFree86-4-Server-snap/pkg-install b/x11-servers/XFree86-4-Server-snap/pkg-install deleted file mode 100644 index a48c228..0000000 --- a/x11-servers/XFree86-4-Server-snap/pkg-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/usr/bin/dialog --yesno "XFree86 4.0 may contain vulnerabilities yielding root privileges to local users, due to insecure coding of the setuid root X server. It is not recommended that this port be installed on multi-user systems. Do you wish to accept the security risk and build XFree86 4.0 anyway?" 10 60 || /usr/bin/false diff --git a/x11-servers/XFree86-4-Server-snap/pkg-message b/x11-servers/XFree86-4-Server-snap/pkg-message new file mode 100644 index 0000000..ea2e246 --- /dev/null +++ b/x11-servers/XFree86-4-Server-snap/pkg-message @@ -0,0 +1,5 @@ +************************************************************************ +* To improve security, the X server is installed without an SUID bit. * +* This is suitable for use with xdm, but not with a startx script. * +* If you need to use a startx script, install the x11/wrapper package. * +************************************************************************ diff --git a/x11-servers/XFree86-4-Server-snap/pkg-plist b/x11-servers/XFree86-4-Server-snap/pkg-plist index 06de591..1fe8887 100644 --- a/x11-servers/XFree86-4-Server-snap/pkg-plist +++ b/x11-servers/XFree86-4-Server-snap/pkg-plist @@ -1,12 +1,14 @@ -bin/SuperProbe bin/X bin/XFree86 %%XIE:%%bin/joycal bin/kbd_mode bin/pcitweak bin/scanpci +bin/xf86cfg bin/xf86config +lib/X11/app-defaults/XF86Cfg lib/X11/Cards +lib/X11/Options lib/X11/XF86Config.98 lib/X11/XF86Config.eg lib/X11/doc/BugReport @@ -24,15 +26,16 @@ lib/X11/doc/README.DRIcomp %%I386:%%lib/X11/doc/README.ati %%I386:%%lib/X11/doc/README.chips %%I386:%%lib/X11/doc/README.cyrix +lib/X11/doc/README.dps lib/X11/doc/README.fonts %%I386:%%lib/X11/doc/README.i740 %%I386:%%lib/X11/doc/README.i810 lib/X11/doc/README.mouse %%I386:%%lib/X11/doc/README.newport %%I386:%%lib/X11/doc/README.r128 +lib/X11/doc/README.rapidaccess lib/X11/doc/README.rendition lib/X11/doc/README.s3virge -lib/X11/doc/RELNOTES lib/X11/doc/ServersOnly lib/X11/doc/Status lib/X11/doc/Versions @@ -41,19 +44,19 @@ lib/X11/etc/Xinstall.sh lib/X11/etc/sun.termcap lib/X11/etc/sun.terminfo lib/X11/etc/xmodmap.std -lib/X11/etc/xterm.termcap -lib/X11/etc/xterm.terminfo %%DRI%%lib/X11/kernel/drm.ko %%DRI%%lib/X11/kernel/gamma.ko %%DRI%%lib/X11/kernel/mga.ko %%DRI%%lib/X11/kernel/tdfx.ko -@dirrm lib/X11/kernel +%%DRI%%@dirrm lib/X11/kernel lib/X11/xserver/SecurityPolicy lib/modules/codeconv/libARABIC.a lib/modules/codeconv/libARMSCII8.a lib/modules/codeconv/libBIG5.a +lib/modules/codeconv/libBIG5HKSCS.a lib/modules/codeconv/libDOSENCODING.a lib/modules/codeconv/libGB2312.a +lib/modules/codeconv/libGBK.a lib/modules/codeconv/libGEORGIAN.a lib/modules/codeconv/libISO8859_1.a lib/modules/codeconv/libISO8859_10.a @@ -113,6 +116,7 @@ lib/modules/drivers/tga_drv.o %%I386:%%lib/modules/drivers/tseng_drv.o %%I386:%%lib/modules/drivers/vesa_drv.o lib/modules/drivers/vga_drv.o +%%I386:%%lib/modules/drivers/vmware_drv.o lib/modules/extensions/libGLcore.a lib/modules/extensions/libdbe.a %%DRI%%lib/modules/extensions/libdri.a diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure index 5ddde0a4..ab0e0c1 100644 --- a/x11-servers/XFree86-4-Server-snap/scripts/configure +++ b/x11-servers/XFree86-4-Server-snap/scripts/configure @@ -60,7 +60,6 @@ configure () { BuildType1Fonts \ BuildCIDFonts \ BuildCyrillicFonts \ - BuildLatin2Fonts \ XnestServer \ BuildFontServer \ XVirtualFramebufferServer \ @@ -77,12 +76,13 @@ configure () { echo "#define ModInstall YES" >> $LOCALDEF echo "#define XF86Server YES" >> $LOCALDEF echo "#define BuildServersOnly YES" >> $LOCALDEF + echo "#define BuildXFree86ConfigTools YES" >> $LOCALDEF cat >> $LOCALDEF <<END #ifndef XF86CardDrivers #ifdef i386Architecture #define XF86CardDrivers mga glint nv tga s3virge sis rendition \ neomagic i740 tdfx savage \ - cirrus tseng trident chips apm \ + cirrus vmware tseng trident chips apm \ GlideDriver fbdev i128 \ ati AgpGartDrivers DevelDrivers ark cyrix \ siliconmotion \ @@ -129,5 +129,6 @@ END cp -f $LOCALDEF $HOSTDEF } +cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf configure exit 0 diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index a71b3af..12751f7 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: XFree86XServer-4.0.1 +# New ports collection makefile for: XFree86-Server # Date created: 10 Oct 1999 # Whom: taguchi@tohoku.iij.ad.jp # @@ -6,17 +6,12 @@ # PORTNAME= Server -PORTVERSION= 4.0.3 -PORTREVISION= 1 +PORTVERSION= 4.1.0 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} -MASTER_SITE_SUBDIR= 4.0.2 +MASTER_SITE_SUBDIR= 4.1.0 PKGNAMEPREFIX= XFree86- -DISTFILES= X402src-1.tgz - -PATCH_SITES= ${MASTER_SITE_XFREE:S,%SUBDIR%/source,4.0.3/patches,g} -PATCHFILES= 4.0.2-4.0.3.diff.gz -PATCH_DIST_STRIP= -p1 +DISTFILES= X410src-1.tgz MAINTAINER= taguchi@tohoku.iij.ad.jp @@ -33,15 +28,16 @@ SCRIPTS_ENV= OSVERSION=${OSVERSION} \ BuildXF86DRI=${BuildXF86DRI} \ BuildXF86DRM=${BuildXF86DRM} \ HaveMatroxHal=${HaveMatroxHal} -MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man +MAKE_ENV= MAN_INSTALL_TARGET=FreeBSDPortsInstall.man WORLDOPTS= +MAKE_ARGS= WORLDOPTS= ALL_TARGET= FreeBSDPortsBuild INSTALL_TARGET= FreeBSDPortsInstall FreeBSDPortsInstall.man -MAN1= SuperProbe.1 \ - XFree86.1 \ +MAN1= XFree86.1 \ Xserver.1 \ kbd_mode.1 \ pcitweak.1 \ scanpci.1 \ + xf86cfg.1 \ xf86config.1 MAN3= XF86VidMode.3 \ XF86VidModeDeleteModeLine.3 \ @@ -65,9 +61,11 @@ MAN4= mga.4 \ nv.4 \ siliconmotion.4 \ vga.4 \ + vmware.4 \ keyboard.4 \ mouse.4 MAN5= XF86Config.5 +PKGMESSAGE= ${WRKDIR}/.pkg-message .include <bsd.port.pre.mk> @@ -83,23 +81,28 @@ HasXdmAuth?= DEFAULT HasSecureRPC?= DEFAULT HasPam?= DEFAULT ExtendedInputDevices?= DEFAULT -.if (exists(/sys) || exists(/usr/src/sys)) && ${OSVERSION} < 500013 +.if !defined(I_WANT_TO_FIX_BUILDING_DRI_MODULES) +BuildXF86DRI= NO +BuildXF86DRM= NO +PLIST_SUB+= DRI="@comment " +.else +.if ${OSVERSION} < 500013 && ${MACHINE} != alpha +.if (exists(/sys) || exists(/usr/src/sys)) BuildXF86DRI= YES BuildXF86DRM= YES PLIST_SUB+= DRI="" -PKGMESSAGE= ${.CURDIR}/pkg-message-drm +.else +_pre-fetch:: + @${ECHO_MSG} "DRI would not build: kernel source required in /sys." +.endif # have /sys .else BuildXF86DRI= NO BuildXF86DRM= NO PLIST_SUB+= DRI="@comment " -.if ${OSVERSION} < 500013 -pre-fetch:: - @${ECHO_MSG} "DRI would not build: kernel source required in /sys." -.else -pre-fetch:: - @${ECHO_MSG} "DRI would not build: incompatible with SMPng." -.endif -.endif +_pre-fetch:: + @${ECHO_MSG} "DRI would not build: incompatible with SMPng and alpha" +.endif # PRE_SMPNG && !alpha +.endif # DRI is totally broken .if ${ARCH} == i386 PLIST_SUB+= I386:="" @@ -135,10 +138,11 @@ MAN4+= citron.4 \ PLIST_SUB+= XIE:="@comment " .endif +.if !defined(INCOMPATIBLE_WITH_4_1_0) .if !defined(WITH_MATROX_GXX_DRIVER) HaveMatroxHal= NO PLIST_SUB+= MATROX="@comment " -pre-fetch:: +_pre-fetch:: @${ECHO_MSG} "Define WITH_MATROX_GXX_DRIVER to enable the official Matrox drivers for" @${ECHO_MSG} "the G200, G400 and G450 graphic adapters." .else @@ -146,7 +150,7 @@ HaveMatroxHal= YES MGA_DRIVER_VERSION= 1_2_0beta MASTER_SITES+= ftp://ftp.matrox.com/pub/mga/archive/linux/2001/beta_${MGA_DRIVER_VERSION:S/beta//}/ DISTFILES+= mga-${MGA_DRIVER_VERSION}.tgz -EXTRACT_ONLY= X402src-1.tgz +EXTRACT_ONLY= X410src-1.tgz PLIST_SUB+= MATROX="" post-patch:: @${MV} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga \ @@ -154,6 +158,7 @@ post-patch:: @${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/mga-${MGA_DRIVER_VERSION}.tgz \ -C ${WRKSRC}/programs/Xserver/hw/xfree86/drivers .endif # !WITH_MATROX_GXX_DRIVER +.endif # INCOMPATIBLE_WITH_4_1_0 do-configure: cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure @@ -166,6 +171,7 @@ pre-install: post-install: strip ${PREFIX}/bin/XFree86 .if ${BuildXF86DRM} == "YES" + @(cd ${.CURDIR}; ${CAT} pkg-message pkg-message-drm > ${PKGMESSAGE}) @${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE} .endif diff --git a/x11-servers/XFree86-4-Server/distinfo b/x11-servers/XFree86-4-Server/distinfo index d78dc40..e4b5e84 100644 --- a/x11-servers/XFree86-4-Server/distinfo +++ b/x11-servers/XFree86-4-Server/distinfo @@ -1,3 +1 @@ -MD5 (xc/X402src-1.tgz) = d314c311aa4a29d74695b0e39b6d80c4 -MD5 (xc/mga-1_2_0beta.tgz) = ef6e33551a2fad0a58d41c1bca2325f4 -MD5 (xc/4.0.2-4.0.3.diff.gz) = c8bb56df966dd0a51d2291bca36e0ea4 +MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32 diff --git a/x11-servers/XFree86-4-Server/pkg-comment b/x11-servers/XFree86-4-Server/pkg-comment index 523b914..95c4248 100644 --- a/x11-servers/XFree86-4-Server/pkg-comment +++ b/x11-servers/XFree86-4-Server/pkg-comment @@ -1 +1 @@ -X11R6.4/XFree86-4.0 X server and related programs +X11R6.4/XFree86-4 X server and related programs diff --git a/x11-servers/XFree86-4-Server/pkg-install b/x11-servers/XFree86-4-Server/pkg-install deleted file mode 100644 index a48c228..0000000 --- a/x11-servers/XFree86-4-Server/pkg-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/usr/bin/dialog --yesno "XFree86 4.0 may contain vulnerabilities yielding root privileges to local users, due to insecure coding of the setuid root X server. It is not recommended that this port be installed on multi-user systems. Do you wish to accept the security risk and build XFree86 4.0 anyway?" 10 60 || /usr/bin/false diff --git a/x11-servers/XFree86-4-Server/pkg-message b/x11-servers/XFree86-4-Server/pkg-message new file mode 100644 index 0000000..ea2e246 --- /dev/null +++ b/x11-servers/XFree86-4-Server/pkg-message @@ -0,0 +1,5 @@ +************************************************************************ +* To improve security, the X server is installed without an SUID bit. * +* This is suitable for use with xdm, but not with a startx script. * +* If you need to use a startx script, install the x11/wrapper package. * +************************************************************************ diff --git a/x11-servers/XFree86-4-Server/pkg-plist b/x11-servers/XFree86-4-Server/pkg-plist index 06de591..1fe8887 100644 --- a/x11-servers/XFree86-4-Server/pkg-plist +++ b/x11-servers/XFree86-4-Server/pkg-plist @@ -1,12 +1,14 @@ -bin/SuperProbe bin/X bin/XFree86 %%XIE:%%bin/joycal bin/kbd_mode bin/pcitweak bin/scanpci +bin/xf86cfg bin/xf86config +lib/X11/app-defaults/XF86Cfg lib/X11/Cards +lib/X11/Options lib/X11/XF86Config.98 lib/X11/XF86Config.eg lib/X11/doc/BugReport @@ -24,15 +26,16 @@ lib/X11/doc/README.DRIcomp %%I386:%%lib/X11/doc/README.ati %%I386:%%lib/X11/doc/README.chips %%I386:%%lib/X11/doc/README.cyrix +lib/X11/doc/README.dps lib/X11/doc/README.fonts %%I386:%%lib/X11/doc/README.i740 %%I386:%%lib/X11/doc/README.i810 lib/X11/doc/README.mouse %%I386:%%lib/X11/doc/README.newport %%I386:%%lib/X11/doc/README.r128 +lib/X11/doc/README.rapidaccess lib/X11/doc/README.rendition lib/X11/doc/README.s3virge -lib/X11/doc/RELNOTES lib/X11/doc/ServersOnly lib/X11/doc/Status lib/X11/doc/Versions @@ -41,19 +44,19 @@ lib/X11/etc/Xinstall.sh lib/X11/etc/sun.termcap lib/X11/etc/sun.terminfo lib/X11/etc/xmodmap.std -lib/X11/etc/xterm.termcap -lib/X11/etc/xterm.terminfo %%DRI%%lib/X11/kernel/drm.ko %%DRI%%lib/X11/kernel/gamma.ko %%DRI%%lib/X11/kernel/mga.ko %%DRI%%lib/X11/kernel/tdfx.ko -@dirrm lib/X11/kernel +%%DRI%%@dirrm lib/X11/kernel lib/X11/xserver/SecurityPolicy lib/modules/codeconv/libARABIC.a lib/modules/codeconv/libARMSCII8.a lib/modules/codeconv/libBIG5.a +lib/modules/codeconv/libBIG5HKSCS.a lib/modules/codeconv/libDOSENCODING.a lib/modules/codeconv/libGB2312.a +lib/modules/codeconv/libGBK.a lib/modules/codeconv/libGEORGIAN.a lib/modules/codeconv/libISO8859_1.a lib/modules/codeconv/libISO8859_10.a @@ -113,6 +116,7 @@ lib/modules/drivers/tga_drv.o %%I386:%%lib/modules/drivers/tseng_drv.o %%I386:%%lib/modules/drivers/vesa_drv.o lib/modules/drivers/vga_drv.o +%%I386:%%lib/modules/drivers/vmware_drv.o lib/modules/extensions/libGLcore.a lib/modules/extensions/libdbe.a %%DRI%%lib/modules/extensions/libdri.a diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure index 5ddde0a4..ab0e0c1 100644 --- a/x11-servers/XFree86-4-Server/scripts/configure +++ b/x11-servers/XFree86-4-Server/scripts/configure @@ -60,7 +60,6 @@ configure () { BuildType1Fonts \ BuildCIDFonts \ BuildCyrillicFonts \ - BuildLatin2Fonts \ XnestServer \ BuildFontServer \ XVirtualFramebufferServer \ @@ -77,12 +76,13 @@ configure () { echo "#define ModInstall YES" >> $LOCALDEF echo "#define XF86Server YES" >> $LOCALDEF echo "#define BuildServersOnly YES" >> $LOCALDEF + echo "#define BuildXFree86ConfigTools YES" >> $LOCALDEF cat >> $LOCALDEF <<END #ifndef XF86CardDrivers #ifdef i386Architecture #define XF86CardDrivers mga glint nv tga s3virge sis rendition \ neomagic i740 tdfx savage \ - cirrus tseng trident chips apm \ + cirrus vmware tseng trident chips apm \ GlideDriver fbdev i128 \ ati AgpGartDrivers DevelDrivers ark cyrix \ siliconmotion \ @@ -129,5 +129,6 @@ END cp -f $LOCALDEF $HOSTDEF } +cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf configure exit 0 diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile index 995829a..90c2c09 100644 --- a/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile +++ b/x11-servers/XFree86-4-VirtualFramebufferServer/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: XFree86XVirtualFramebufferServer-4.0.1 +# New ports collection makefile for: XFree86-VirtualFramebufferServer # Date created: 10 Oct 1999 # Whom: taguchi@tohoku.iij.ad.jp # @@ -6,16 +6,12 @@ # PORTNAME= VirtualFramebufferServer -PORTVERSION= 4.0.3 +PORTVERSION= 4.1.0 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XFREE} -MASTER_SITE_SUBDIR= 4.0.2 +MASTER_SITE_SUBDIR= 4.1.0 PKGNAMEPREFIX= XFree86- -DISTFILES= X402src-1.tgz - -PATCH_SITES= ${MASTER_SITE_XFREE:S,%SUBDIR%/source,4.0.3/patches,g} -PATCHFILES= 4.0.2-4.0.3.diff.gz -PATCH_DIST_STRIP= -p1 +DISTFILES= X410src-1.tgz MAINTAINER= taguchi@tohoku.iij.ad.jp @@ -25,7 +21,7 @@ DIST_SUBDIR= xc WRKSRC= ${WRKDIR}/xc PATCHDIR= ${.CURDIR}/../../x11/XFree86-4-libraries/files ALL_TARGET= FreeBSDPortsBuild -INSTALL_TARGET= installXvfb installXserver.man +INSTALL_TARGET= installXvfb installXserver.man MAKE_ENV= MAN_INSTALL_TARGET=installXvfb.man MAN1= Xserver.1 Xvfb.1 diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo b/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo index 073d548..e4b5e84 100644 --- a/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo +++ b/x11-servers/XFree86-4-VirtualFramebufferServer/distinfo @@ -1,2 +1 @@ -MD5 (xc/X402src-1.tgz) = d314c311aa4a29d74695b0e39b6d80c4 -MD5 (xc/4.0.2-4.0.3.diff.gz) = c8bb56df966dd0a51d2291bca36e0ea4 +MD5 (xc/X410src-1.tgz) = 2d4709f7106a1d65c175be445a3d3c32 diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-comment b/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-comment index 7932ea1..8ba7e31 100644 --- a/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-comment +++ b/x11-servers/XFree86-4-VirtualFramebufferServer/pkg-comment @@ -1 +1 @@ -X11R6.4/XFree86 X Virtual Framebuffer Server +X11R6.4/XFree86-4 Virtual Framebuffer Server diff --git a/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure b/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure index 44de1d6..d057918 100644 --- a/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure +++ b/x11-servers/XFree86-4-VirtualFramebufferServer/scripts/configure @@ -76,5 +76,6 @@ configure () { cp -f $LOCALDEF $HOSTDEF } +cp ${X11BASE}/lib/X11/config/version.def ${WRKSRC}/config/cf configure exit 0 |