Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2003 23:11:25 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53108: Update port: x11/wdm to 1.25 (fix ports/52865)
Message-ID:  <20030609231125.4237f4ed.tkato@prontomail.com>
Resent-Message-ID: <200306091420.h59EKJQ1071118@freefall.freebsd.org>

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

>Number:         53108
>Category:       ports
>Synopsis:       Update port: x11/wdm to 1.25 (fix ports/52865)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 09 07:20:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.25

New file:
files/patch-configs::wdm-config.in
files/patch-src::wdm::loghelpers.c

Remove file:
files/patch-Login.c
files/patch-ab
files/patch-ad
files/patch-ag
files/patch-ai
files/patch-al
files/patch-am
files/patch-an

Following PRs should be superseded by this one:
[2003/06/02] ports/52865  kris        Update port: x11/wdm to 1.24 (fix ports/48150)

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11/wdm/Makefile x11/wdm/Makefile
--- /usr/ports/x11/wdm/Makefile	Mon Apr 14 04:06:17 2003
+++ x11/wdm/Makefile	Sat Jun  7 10:30:33 2003
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	wdm
-PORTVERSION=	1.20
-PORTREVISION=	3
+PORTVERSION=	1.25
 CATEGORIES=	x11 windowmaker
 MASTER_SITES=	http://voins.program.ru/wdm/ \
 		http://www.de.freebsd.org/de/gif/bsd/ \
@@ -15,93 +14,106 @@
 MASTER_SITE_SUBDIR=	tg
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DAEMONPICS}
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+DIST_SUBDIR=	wdm
 
 MAINTAINER=	kris@FreeBSD.org
 COMMENT=	WINGs Display Manager; an xdm replacement
 
-LIB_DEPENDS=	wraster.4:${PORTSDIR}/x11-wm/windowmaker \
-		PropList.2:${PORTSDIR}/devel/libPropList
+LIB_DEPENDS=	wraster.4:${PORTSDIR}/x11-wm/windowmaker
 
-DIST_SUBDIR=	wdm
-USE_REINPLACE=	yes
+USE_BZIP2=	yes
 USE_X_PREFIX=	yes
-USE_AUTOMAKE_VER=14
-AUTOMAKE_ARGS=	--include-deps
-DEF_SERVER?=	${X11BASE}/bin/X
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include \
-			-DCSRG_BASED -DHAS_SETUSERCONTEXT" \
-		LIBS="-L${LOCALBASE}/lib ${LIBPAM}" \
+USE_REINPLACE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
 		DEF_SERVER="${DEF_SERVER}"
 CONFIGURE_ARGS=	--with-logdir=/var/log \
 		--with-runlockdir=/var/run \
-		--with-wdmdir=${PREFIX}/lib/X11/wdm \
+		--with-wdmdir=${WDMDIR} \
+		--with-gfxdir=${WDMDIR}/pixmaps \
+		--with-nlsdir=${PREFIX}/share/locale \
 		--with-Logo=beastie.xpm \
-		--with-gfx-incs=${X11BASE}/include/WINGs \
-		--with-gfx-libs=${X11BASE}/lib \
+		--with-gfx-incs=${LOCALBASE}/include \
+		--with-gfx-libs=${LOCALBASE}/lib \
 		--with-defuserpath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin:${LOCALBASE}/bin \
 		--with-defsystempath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin \
 		--with-wmlist=wmaker:afterstep:blackbox:ctwm:enlightenment:fvwm:fvwm2:fvwm95:olvwm:qvwm:tvtwm
 
-.include <bsd.port.pre.mk>
+MAN1=	wdm.1 wdmLogin.1
 
-.if ${XFREE86_VERSION} == 4
-CFLAGS+=	-DHAVE_XINERAMA
-CONFIGURE_ENV+=	LIBS="-Wl,-export-dynamic ${X11BASE}/lib/libXinerama.a"
-.endif
+CPPFLAGS=	-I${LOCALBASE}/include -DCSRG_BASED -DHAS_SETUSERCONTEXT
+LDFLAGS=	-L${LOCALBASE}/lib
 
-MAN1=	wdm.1 wdmLogin.1
+DEF_SERVER?=	${X11BASE}/bin/X
+
+WDMDIR=		${PREFIX}/lib/X11/wdm
 
 DAEMONPICS=	beastie.xpm daemon1-HQ-1280x960.jpg
 
+.include <bsd.port.pre.mk>
+
 .if ( ${OSVERSION} >= 500028 ) && !defined(WITHOUT_PAM)
 WITH_PAM=	yes
-.endif
-
-.if defined(WITH_PAM)
-CONFIGURE_ARGS+=	--enable-pam --with-pamdir=${LOCALBASE}/etc/pam.d/
-LIBPAM=		-lpam
+CONFIGURE_ARGS+=	--with-pamdir=${LOCALBASE}/etc/pam.d/
 PLIST_SUB+=	PAM=""
 .else
 PLIST_SUB+=	PAM="@comment "
+.endif
+
+.if !defined(WITH_PAM)
+CONFIGURE_ARGS+=	--disable-pam
+.endif
 
 pre-everything::
-	@${ECHO_MSG} "To build this port with PAM support, define \"WITH_PAM\"."
+.if !defined(WITH_PAM)
+	@${ECHO_MSG}
+	@${ECHO_MSG} "If you want to compile with PAM support,"
+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_PAM=yes\""
+	@${ECHO_MSG}
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/*.man
+	@${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(PAMDIR)/wdm||g ; \
+		 s| -D | |g' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|-ldl||g ; \
+		 s|/authdir||g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		's|@FAILSAFE@|@FAILSAFE_PATH@|g' ${WRKSRC}/configs/Xsession.in
+	@${REINPLACE_CMD} -e \
+		's|#configdir#|${WDMDIR}|g' ${WRKSRC}/doc/wdm.man.in
+	@${REINPLACE_CMD} -e \
+		's|/etc/X11/wdm|${WDMDIR}|g' ${WRKSRC}/doc/wdmLogin.man
+	@${REINPLACE_CMD} -e \
+		's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/src/TestLogin/TestLogin.c
 
 pre-install:
-	@if [ -e ${PREFIX}/lib/X11/wdm/wdm-config ]; then \
-		${MV} ${PREFIX}/lib/X11/wdm/wdm-config \
-			${PREFIX}/lib/X11/wdm/wdm-config.preserve; \
-	fi
-	@if [ -e ${PREFIX}/lib/X11/wdm/Xsetup_0 ]; then \
-		${MV} ${PREFIX}/lib/X11/wdm/Xsetup_0 \
-			${PREFIX}/lib/X11/wdm/Xsetup_0.preserve; \
-	fi
+	@${MKDIR} ${WDMDIR}/pixmaps
+.if exists(${WDMDIR}/wdm-config)
+	${MV} ${WDMDIR}/wdm-config ${WDMDIR}/wdm-config.preserve
+.endif
+.if exists(${WDMDIR}/Xsetup_0)
+	${MV} ${WDMDIR}/Xsetup_0 ${WDMDIR}/Xsetup_0.preserve
+.endif
 
 post-install:
-	@${CP} ${PREFIX}/lib/X11/wdm/wdm-config \
-		${PREFIX}/lib/X11/wdm/wdm-config.dist
-	@if [ -e ${PREFIX}/lib/X11/wdm/wdm-config.preserve ]; then \
-		${MV} ${PREFIX}/lib/X11/wdm/wdm-config.preserve \
-			${PREFIX}/lib/X11/wdm/wdm-config; \
-	fi
-	@${CP} ${PREFIX}/lib/X11/wdm/Xsetup_0 \
-		${PREFIX}/lib/X11/wdm/Xsetup_0.dist
-	@if [ -e ${PREFIX}/lib/X11/wdm/Xsetup_0.preserve ]; then \
-		${MV} ${PREFIX}/lib/X11/wdm/Xsetup_0.preserve \
-			${PREFIX}/lib/X11/wdm/Xsetup_0; \
-	fi
+	@${CP} ${WDMDIR}/wdm-config ${WDMDIR}/wdm-config.dist
+.if exists(${WDMDIR}/wdm-config.preserve)
+	${MV} ${WDMDIR}/wdm-config.preserve ${WDMDIR}/wdm-config
+.endif
+	@${CP} ${WDMDIR}/Xsetup_0 ${WDMDIR}/Xsetup_0.dist
+.if exists(${WDMDIR}/Xsetup_0.preserve)
+	${MV} ${WDMDIR}/Xsetup_0.preserve ${WDMDIR}/Xsetup_0
+.endif
 .for file in ${DAEMONPICS}
-	@${INSTALL_DATA} ${_DISTDIR}/${file} ${PREFIX}/lib/X11/wdm/pixmaps
+	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${file} ${WDMDIR}/pixmaps
 .endfor
 .if defined(WITH_PAM)
 .if ( ${OSVERSION} >= 500028 )
 	${INSTALL_DATA} ${FILESDIR}/wdm.pam ${LOCALBASE}/etc/pam.d/wdm
 .else
-	@${ECHO_CMD} "To finish installing this port, append the contents of ${FILESDIR}/wdm.pam to your /etc/pam.conf file"
+	@${ECHO_MSG} "To finish installing this port, append the contents of"
+	@${ECHO_MSG} "${FILESDIR}/wdm.pam to your /etc/pam.conf file"
 .endif
 .endif
 
diff -urN /usr/ports/x11/wdm/distinfo x11/wdm/distinfo
--- /usr/ports/x11/wdm/distinfo	Mon Apr 14 04:06:17 2003
+++ x11/wdm/distinfo	Sat Jun  7 10:34:01 2003
@@ -1,3 +1,3 @@
-MD5 (wdm/wdm-1.20.tar.gz) = 7d3a5debe5005ee481e821951d4c9194
+MD5 (wdm/wdm-1.25.tar.bz2) = 7e9c6f1a9755529d4336b9212fb1b7de
 MD5 (wdm/beastie.xpm) = 0891d7d8ac81514f10aafeb8f8a89ca2
 MD5 (wdm/daemon1-HQ-1280x960.jpg) = b38f175cf6b7167484afac423837ed1a
diff -urN /usr/ports/x11/wdm/files/patch-Login.c x11/wdm/files/patch-Login.c
--- /usr/ports/x11/wdm/files/patch-Login.c	Thu Apr  4 23:02:12 2002
+++ x11/wdm/files/patch-Login.c	Thu Jan  1 09:00:00 1970
@@ -1,54 +0,0 @@
---- src/Login.c	Tue Feb 29 06:17:01 2000
-+++ src/Login.c.new	Wed Apr  3 22:36:34 2002
-@@ -24,6 +24,9 @@
- #include <X11/xpm.h>
- #include <X11/keysym.h>
- #include <X11/cursorfont.h>
-+#ifdef HAVE_XINERAMA
-+#include <X11/extensions/Xinerama.h>
-+#endif
- #ifdef HAVE_X11_WINGS_H
- #include <X11/WINGs.h>
- #else
-@@ -1195,6 +1198,10 @@
- int main(int argc, char **argv)
- {
-     WMScreen   *scr;
-+    int xine_count; int c;
-+#ifdef HAVE_XINERAMA
-+    XineramaScreenInfo *xine;
-+#endif
- 
-     ProgName = argv[0];
- 
-@@ -1210,8 +1217,28 @@
-     }
- 
-     screen_number = DefaultScreen(dpy);
--    screen_width = DisplayWidth(dpy,screen_number);
--    screen_heigth = DisplayHeight(dpy,screen_number);
-+#ifdef HAVE_XINERAMA
-+    if (XineramaIsActive(dpy)) {
-+	xine = XineramaQueryScreens(dpy, &xine_count);
-+		
-+	if (xine != NULL) {
-+		for (c = 0;c < xine_count;c++) {
-+			if (xine[c].screen_number == 0) {
-+    				screen_width = xine[c].width;
-+				screen_heigth = xine[c].height;
-+			}
-+		}
-+	} else {
-+		screen_width = DisplayWidth(dpy, screen_number);
-+		screen_heigth = DisplayHeight(dpy, screen_number);
-+	}
-+    } else {
-+#endif
-+	screen_width = DisplayWidth(dpy,screen_number);
-+	screen_heigth = DisplayHeight(dpy,screen_number);
-+#ifdef HAVE_XINERAMA
-+    }
-+#endif
-     panel_X = (screen_width  - panel_width)/2;
-     panel_Y = (screen_heigth - panel_heigth)/2;
- 
diff -urN /usr/ports/x11/wdm/files/patch-ab x11/wdm/files/patch-ab
--- /usr/ports/x11/wdm/files/patch-ab	Wed Dec 22 21:59:30 1999
+++ x11/wdm/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,25 +0,0 @@
---- src/config/wdm-config.in.orig	Thu Sep 16 09:27:58 1999
-+++ src/config/wdm-config.in	Mon Dec 20 16:29:51 1999
-@@ -3,7 +3,7 @@
- ! wdm configuration file input (sed in Makefile)
- !
- DisplayManager.errorLogFile:    #logdir#/xdm-errors.log
--DisplayManager.pidFile:         #rundir#/xdm-pid
-+DisplayManager.pidFile:         #rundir#/xdm.pid
- DisplayManager.keyFile:         #configdir#/xdm-keys
- DisplayManager.servers:         #configdir#/Xservers
- DisplayManager.accessFile:      #configdir#/Xaccess
-@@ -25,11 +25,11 @@
- ! display screen background--if not set or set to none, then the
- !                            background is not set by wdm.
- ! DisplayManager*wdmBg:         none
--DisplayManager*wdmBg:           solid:RoyalBlue
-+! DisplayManager*wdmBg:         solid:RoyalBlue
- ! DisplayManager*wdmBg:         dgradient:RoyalBlue,FireBrick,Black
- ! DisplayManager*wdmBg:         hgradient:RoyalBlue,FireBrick,Black
- ! DisplayManager*wdmBg:         vgradient:RoyalBlue,FireBrick,Black
--! DisplayManager*wdmBg:         pixmap:#configdir#/pixmaps/Stars.jpg
-+DisplayManager*wdmBg:           pixmap:#configdir#/pixmaps/daemon1-HQ-1280x960.jpg
- !
- ! optional pixmap for logo
- #pixmapcomment#DisplayManager*wdmLogo:  #configdir#/pixmaps/#pixmapfile#
diff -urN /usr/ports/x11/wdm/files/patch-ad x11/wdm/files/patch-ad
--- /usr/ports/x11/wdm/files/patch-ad	Sat Jan 15 04:32:42 2000
+++ x11/wdm/files/patch-ad	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- doc/wdmLogin.man.orig	Fri May 21 20:49:56 1999
-+++ doc/wdmLogin.man	Sat Jan  8 03:33:27 2000
-@@ -49,7 +49,7 @@
- to an image file (tiff, png, jpeg and xpm allowed) and it will be
- scaled to use the full screen.
- .SH FILES
--\fBwdmLogin\fP can be customized by modifying \fI/etc/X11/wdm/wdm-config\fP.
-+\fBwdmLogin\fP can be customized by modifying \fI%%PREFIX%%/lib/X11/wdm/wdm-config\fP.
- .SH SEE ALSO
- .BR wdm (1x)
- .SH AUTHOR
diff -urN /usr/ports/x11/wdm/files/patch-ag x11/wdm/files/patch-ag
--- /usr/ports/x11/wdm/files/patch-ag	Thu Apr 11 03:51:25 2002
+++ x11/wdm/files/patch-ag	Thu Jan  1 09:00:00 1970
@@ -1,44 +0,0 @@
---- configure.in.orig	Tue Feb 29 18:40:50 2000
-+++ configure.in	Thu Apr 11 03:33:45 2002
-@@ -50,9 +50,10 @@
- AM_CONDITIONAL(INSTALLPAM, test x$enable_pam = xyes)
- 
- if test "$enable_pam" = yes; then
--	AC_CHECK_LIB(pam, main, [PASSWDLIB="-lpam -ldl"
-+	AC_CHECK_LIB(pam, main, [PASSWDLIB="-lpam"
- 		AC_DEFINE_UNQUOTED(HAVE_PAM_LIB)],
--		[],-ldl)
-+		[AC_CHECK_LIB(pam, main, [PASSWDLIB="-lpam -ldl"
-+		AC_DEFINE_UNQUOTED(HAVE_PAM_LIB)],[],-ldl)])
- fi
- 
- AC_ARG_WITH(pamdir,
-@@ -66,6 +67,10 @@
-     AC_MSG_CHECKING(for pam directory $PAM_DIR_PATH)
-     if test -d "$PAM_DIR_PATH"; then
- 	AC_MSG_RESULT(exists)
-+    elif test -f "/etc/pam.conf"; then
-+	AC_MSG_RESULT(using /etc/pam.conf)
-+	PAMDIR=none
-+	PAM_DIR_PATH=none
-     else
- 	AC_MSG_RESULT(does not exist)
- 	AC_MSG_WARN([this may not be a pam system <<--------------])
-@@ -183,7 +188,7 @@
- 
- XLFLAGS="$X_LIBS"
- 
--XLIBS="$X_EXTRA_LIBS -lXext -lXt -lX11 -lm"
-+XLIBS="$X_PRE_LIBS $X_EXTRA_LIBS -lXext -lXt -lX11 -lm"
- 
- XDM_EXTRA_LIBS="-lXmu -lXau -lXdmcp"
- 
-@@ -504,7 +509,7 @@
- AC_DEFINE_UNQUOTED(WDMDIR,"$DMDIR")
- AC_DEFINE_UNQUOTED(DEF_XDM_CONFIG,"$DMDIR/wdm-config")
- AC_DEFINE_UNQUOTED(DEF_CHOOSER,"$DMDIR/chooser")
--AC_DEFINE_UNQUOTED(DEF_AUTH_DIR,"$DMDIR/authdir")
-+AC_DEFINE_UNQUOTED(DEF_AUTH_DIR,"$DMDIR")
- 
- AC_SUBST(DMDIR)
- 
diff -urN /usr/ports/x11/wdm/files/patch-ai x11/wdm/files/patch-ai
--- /usr/ports/x11/wdm/files/patch-ai	Tue Nov  9 21:45:59 1999
+++ x11/wdm/files/patch-ai	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- src/Greet.c.orig	Tue Sep 21 23:16:21 1999
-+++ src/Greet.c	Wed Nov  3 08:03:00 1999
-@@ -260,7 +260,7 @@
-         }
-         
-         execle(wdmLogin, tmp, DisplayName, 
--			 Wm, Logo, HelpFile, DefaultUser, Bg, Animate,
-+			 Wm, Logo, Bg, Animate, HelpFile, DefaultUser,
-                          NULL, env);
-         
-         LogError ("Greet cannot exec %s\n", wdmLogin);
-@@ -405,7 +405,7 @@
-                                 "%s exit(%s) by %s\n", 
-                                 PACKAGE, exitArg, name);
- #endif
--#if 0
-+#if 1
-                         SessionExit (d, UNMANAGE_DISPLAY, FALSE);
- #else
-                         Debug ("Killing parent process %d\n", getppid());
diff -urN /usr/ports/x11/wdm/files/patch-al x11/wdm/files/patch-al
--- /usr/ports/x11/wdm/files/patch-al	Tue Mar  7 20:52:41 2000
+++ x11/wdm/files/patch-al	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- src/config/Makefile.am.orig	Tue Sep 21 23:16:21 1999
-+++ src/config/Makefile.am	Thu Feb 24 01:44:12 2000
-@@ -118,8 +118,8 @@
- 
- install-data-local:
- if INSTALLPAM
--	$(INSTALL) -d $(DESTDIR)$(PAMDIR)
--	$(INSTALL) -m 644 $(srcdir)/wdm.pamd $(DESTDIR)$(PAMDIR)/wdm
-+	[ x$(PAMDIR) = xnone ] || $(INSTALL) -d $(DESTDIR)$(PAMDIR)
-+	[ x$(PAMDIR) = xnone ] || $(INSTALL) -m 644 $(srcdir)/wdm.pamd $(DESTDIR)$(PAMDIR)/wdm
- else
- 	
- endif
diff -urN /usr/ports/x11/wdm/files/patch-am x11/wdm/files/patch-am
--- /usr/ports/x11/wdm/files/patch-am	Thu Jun 22 14:26:51 2000
+++ x11/wdm/files/patch-am	Thu Jan  1 09:00:00 1970
@@ -1,12 +0,0 @@
---- src/TestLogin.c.orig	Thu Jul  1 21:51:28 1999
-+++ src/TestLogin.c	Tue Mar  7 22:05:04 2000
-@@ -67,7 +67,9 @@
- #include <stdlib.h>
- #include <string.h>
- #include <signal.h>
-+#ifndef __STDC__
- #include <malloc.h>
-+#endif
- 
- 
- #define forever 1
diff -urN /usr/ports/x11/wdm/files/patch-an x11/wdm/files/patch-an
--- /usr/ports/x11/wdm/files/patch-an	Sun Oct  6 17:12:06 2002
+++ x11/wdm/files/patch-an	Thu Jan  1 09:00:00 1970
@@ -1,21 +0,0 @@
---- ./src/config/Makefile.in.orig	Sun Oct  6 00:26:45 2002
-+++ ./src/config/Makefile.in	Sun Oct  6 00:25:36 2002
-@@ -138,7 +138,6 @@
- CLEANFILES = wdm-config Xsetup_0 Xservers Xservers.ws Xsession Xclients
- 
- EXTRA_DIST = \
--	wdm.pamd \
- 	$(configfiles_DATA) \
- 	$(bin_SCRIPTS)
- 
-@@ -382,10 +381,6 @@
- 	$(INSTALL) -m 600 $(srcdir)/wdm-config $(DESTDIR)$(configfilesdir)
- 	$(INSTALL) -m 644 $(srcdir)/Xsession.in $(DESTDIR)$(configfilesdir)
- 	$(INSTALL) -m 644 $(srcdir)/Xclients.in $(DESTDIR)$(configfilesdir)
--
--install-data-local:
--@INSTALLPAM_TRUE@	$(INSTALL) -d $(DESTDIR)$(PAMDIR)
--@INSTALLPAM_TRUE@	$(INSTALL) -m 644 $(srcdir)/wdm.pamd $(DESTDIR)$(PAMDIR)/wdm
- 
- uninstall-hook:
- 	rm -fr $(DESTDIR)$(configfilesdir)/authdir
diff -urN /usr/ports/x11/wdm/files/patch-configs::wdm-config.in x11/wdm/files/patch-configs::wdm-config.in
--- /usr/ports/x11/wdm/files/patch-configs::wdm-config.in	Thu Jan  1 09:00:00 1970
+++ x11/wdm/files/patch-configs::wdm-config.in	Sun Jun  1 22:45:42 2003
@@ -0,0 +1,25 @@
+--- configs/wdm-config.in.orig	Sun Jun  1 17:00:09 2003
++++ configs/wdm-config.in	Sun Jun  1 22:45:23 2003
+@@ -3,7 +3,7 @@
+ ! wdm configuration file input (sed in Makefile)
+ !
+ DisplayManager.errorLogFile:    @LOGDIR@/xdm-errors.log
+-DisplayManager.pidFile:         @RUNDIR@/xdm-pid
++DisplayManager.pidFile:         @RUNDIR@/xdm.pid
+ DisplayManager.keyFile:         @DMDIR@/xdm-keys
+ DisplayManager.servers:         @DMDIR@/Xservers
+ DisplayManager.accessFile:      @DMDIR@/Xaccess
+@@ -25,11 +25,11 @@
+ ! display screen background--if not set or set to none, then the
+ !                            background is not set by wdm.
+ ! DisplayManager*wdmBg:         none
+-DisplayManager*wdmBg:           solid:RoyalBlue
++! DisplayManager*wdmBg:         solid:RoyalBlue
+ ! DisplayManager*wdmBg:         dgradient:RoyalBlue,FireBrick,Black
+ ! DisplayManager*wdmBg:         hgradient:RoyalBlue,FireBrick,Black
+ ! DisplayManager*wdmBg:         vgradient:RoyalBlue,FireBrick,Black
+-! DisplayManager*wdmBg:         pixmap:@GFXDIR@/Stars.jpg
++DisplayManager*wdmBg:           pixmap:@GFXDIR@/daemon1-HQ-1280x960.jpg
+ !
+ ! optional pixmap for logo
+ @PIXMAPCOMMENT@DisplayManager*wdmLogo:  @GFXDIR@/@PIXMAPFILE@
diff -urN /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c x11/wdm/files/patch-src::wdm::loghelpers.c
--- /usr/ports/x11/wdm/files/patch-src::wdm::loghelpers.c	Thu Jan  1 09:00:00 1970
+++ x11/wdm/files/patch-src::wdm::loghelpers.c	Mon Jun  2 00:10:03 2003
@@ -0,0 +1,24 @@
+--- src/wdm/loghelpers.c.orig	Sun Jun  1 17:00:09 2003
++++ src/wdm/loghelpers.c	Sun Jun  1 23:30:40 2003
+@@ -26,6 +26,21 @@
+ #include <sys/wait.h>
+ #include <unistd.h>
+ 
++#ifdef __FreeBSD__
++static char *
++wstrndup(const char *src, size_t size)
++{
++	char *dst;
++
++	dst = malloc(size + 1);
++	if (dst == NULL)
++		return (NULL);
++	dst[size] = '\0';
++	strncpy(dst, src, size);
++	return (dst);
++}
++#endif
++
+ /*
+  * Function that treats buffer as set of lines separated with '\n'
+  * These lines will be directed to WDMLogMessage function with
diff -urN /usr/ports/x11/wdm/pkg-plist x11/wdm/pkg-plist
--- /usr/ports/x11/wdm/pkg-plist	Mon Oct  7 20:21:34 2002
+++ x11/wdm/pkg-plist	Sun Jun  1 20:15:43 2003
@@ -11,7 +11,7 @@
 lib/X11/wdm/Xservers.ws
 lib/X11/wdm/Xsession
 lib/X11/wdm/Xsession.XFree86
-lib/X11/wdm/Xsession.in
+lib/X11/wdm/Xsession.orig
 @unexec if cmp -s %D/lib/X11/wdm/Xsetup_0.dist %D/lib/X11/wdm/Xsetup_0; then rm -f %D/lib/X11/wdm/Xsetup_0; fi
 lib/X11/wdm/Xsetup_0.dist
 @exec [ -f %D/lib/X11/wdm/Xsetup_0 ] || (cp %D/lib/X11/wdm/Xsetup_0.dist %D/lib/X11/wdm/Xsetup_0)
@@ -19,7 +19,6 @@
 lib/X11/wdm/pixmaps/Earth.jpg
 lib/X11/wdm/pixmaps/Earth200x130.xpm
 lib/X11/wdm/pixmaps/GnuLinux-logo.jpg
-lib/X11/wdm/pixmaps/README
 lib/X11/wdm/pixmaps/Stars.jpg
 lib/X11/wdm/pixmaps/StarsLogo.jpg
 lib/X11/wdm/pixmaps/beastie.xpm
@@ -30,6 +29,9 @@
 @exec [ -f %D/lib/X11/wdm/wdm-config ] || (cp %D/lib/X11/wdm/wdm-config.dist %D/lib/X11/wdm/wdm-config)
 lib/X11/wdm/wdm-config.in
 lib/X11/wdm/wdmReconfig
+share/locale/de/LC_MESSAGES/wdm.mo
+share/locale/ja/LC_MESSAGES/wdm.mo
+share/locale/ru/LC_MESSAGES/wdm.mo
 @unexec rmdir %D/lib/X11/wdm/pixmaps 2>/dev/null || true
 @exec mkdir -p %D/lib/X11/wdm/authdir
 @unexec rmdir %D/lib/X11/wdm/authdir/authfiles 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:



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