diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-06-17 05:12:54 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-06-17 05:12:54 +0800 |
commit | 06f962de5e8b19b71ba6fb49f973aec21894d696 (patch) | |
tree | bad539386f7eca8d6bfebd4bd4734a1a1eb6714f /x11/gdm2 | |
parent | 1b9f62d09bef9e4fdc50b3ae828ab105ed6e2d8f (diff) | |
download | marcuscom-ports-06f962de5e8b19b71ba6fb49f973aec21894d696.tar marcuscom-ports-06f962de5e8b19b71ba6fb49f973aec21894d696.tar.gz marcuscom-ports-06f962de5e8b19b71ba6fb49f973aec21894d696.tar.bz2 marcuscom-ports-06f962de5e8b19b71ba6fb49f973aec21894d696.tar.lz marcuscom-ports-06f962de5e8b19b71ba6fb49f973aec21894d696.tar.xz marcuscom-ports-06f962de5e8b19b71ba6fb49f973aec21894d696.tar.zst marcuscom-ports-06f962de5e8b19b71ba6fb49f973aec21894d696.zip |
Update to 2.4.2.95.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@895 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm2')
-rw-r--r-- | x11/gdm2/Makefile | 58 | ||||
-rw-r--r-- | x11/gdm2/distinfo | 1 | ||||
-rw-r--r-- | x11/gdm2/files/gdm.sh.sample | 21 | ||||
-rw-r--r-- | x11/gdm2/files/patch-ab | 47 | ||||
-rw-r--r-- | x11/gdm2/files/patch-at | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_PostSession.in | 12 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_PreSession.in | 23 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_locale.alias | 112 | ||||
-rw-r--r-- | x11/gdm2/files/patch-configure | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-daemon_gdm.c | 31 | ||||
-rw-r--r-- | x11/gdm2/files/patch-daemon_slave.c | 12 | ||||
-rw-r--r-- | x11/gdm2/files/patch-gui::gdmsetup.c | 11 | ||||
-rw-r--r-- | x11/gdm2/files/patch-gui_gdmphotosetup.c | 10 | ||||
-rw-r--r-- | x11/gdm2/files/patch-ltmain.sh | 51 | ||||
-rw-r--r-- | x11/gdm2/pkg-descr | 3 | ||||
-rw-r--r-- | x11/gdm2/pkg-install | 46 | ||||
-rw-r--r-- | x11/gdm2/pkg-message | 6 | ||||
-rw-r--r-- | x11/gdm2/pkg-plist | 133 |
18 files changed, 599 insertions, 0 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile new file mode 100644 index 000000000..61ab094c6 --- /dev/null +++ b/x11/gdm2/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: gdm2 +# Date created: 20 May 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/x11/gdm2/Makefile,v 1.64 2003/06/12 09:46:06 adamw Exp $ +# + +PORTNAME= gdm2 +PORTVERSION= 2.4.2.95 +CATEGORIES= x11 gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.4 +DISTNAME= gdm-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2.0 version of xdm display manager + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui librsvg2 +GNU_CONFIGURE= yes +USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GDMDIR?= ${PREFIX}/etc/gdm + +.include <bsd.port.pre.mk> + +.if exists(/usr/include/security/pam_misc.h) +PLIST_SUB= PAM_MISC="" +.else +PLIST_SUB= PAM_MISC="@comment " +.endif + +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) +IS_INTERACTIVE= yes +.endif + +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) +pre-fetch: + ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +.endif + +post-extract: + @${SED} -e "s,%%PREFIX%%,${PREFIX},g" \ + ${FILESDIR}/gdm.sh.sample > ${WRKSRC}/gdm.sh.sample + +post-install: +.if !defined(PACKAGE_BUILDING) + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif + @${INSTALL_SCRIPT} ${WRKSRC}/gdm.sh.sample ${PREFIX}/etc/rc.d + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/x11/gdm2/distinfo b/x11/gdm2/distinfo new file mode 100644 index 000000000..d41b6aac3 --- /dev/null +++ b/x11/gdm2/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/gdm-2.4.2.95.tar.bz2) = 83190cb663db4168a19032a9adf205fc diff --git a/x11/gdm2/files/gdm.sh.sample b/x11/gdm2/files/gdm.sh.sample new file mode 100644 index 000000000..641ec8e67 --- /dev/null +++ b/x11/gdm2/files/gdm.sh.sample @@ -0,0 +1,21 @@ +#!/bin/sh +# +# $FreeBSD: ports/x11/gdm2/files/gdm.sh.sample,v 1.3 2003/02/07 18:42:14 marcus Exp $ + +PREFIX=%%PREFIX%% + +case "$1" in +start) + ${PREFIX}/bin/gdm + ;; +stop) + /usr/bin/killall -m gdm 2>/dev/null + ;; +*) + echo "Usage: `basename $0` start | stop" + exit 64 + ;; + +esac + +exit 0 diff --git a/x11/gdm2/files/patch-ab b/x11/gdm2/files/patch-ab new file mode 100644 index 000000000..b672187b9 --- /dev/null +++ b/x11/gdm2/files/patch-ab @@ -0,0 +1,47 @@ +--- config/gdm.conf.in.orig Mon Jun 9 18:29:06 2003 ++++ config/gdm.conf.in Mon Jun 16 16:32:38 2003 +@@ -62,7 +62,7 @@ + # To try to kill all clients started at greeter time or in the Init script. + # doesn't always work, only if those clients have a window of their own + KillInitClients=true +-LogDir=@EXPANDED_AUTHDIR@ ++LogDir=/var/log + # You should probably never change this value unless you have a weird setup + PidFile=/var/run/gdm.pid + # Note that a post login script is run before a PreSession script. +@@ -81,7 +81,7 @@ + # Reboot, Halt and suspend commands, you can add different commands + # separated by a semicolon and gdm will use the first one it can find + RebootCommand=/sbin/shutdown -r now;/usr/sbin/shutdown -r now +-HaltCommand=/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now ++HaltCommand=/sbin/shutdown -p now;/usr/sbin/shutdown -p now + SuspendCommand= + # Probably should not touch the below this is the standard setup + ServAuthDir=@EXPANDED_AUTHDIR@ +@@ -109,7 +109,7 @@ + # we force X to use specific vts. turn VTAllocation to false if this + # is causing problems. + FirstVT=7 +-VTAllocation=true ++VTAllocation=false + + [security] + # If any distributions ship with this one off, they should be shot +@@ -184,7 +184,7 @@ + # The 'theme'. By default we're using the default gtk theme + # Of course assuming that gtk got installed in the same prefix, + # if not change this. +-GtkRC=@EXPANDED_DATADIR@/themes/Default/gtk/gtkrc ++GtkRC=@EXPANDED_DATADIR@/../themes/Default/gtk-2.0/gtkrc + # Maximum size of an icon, larger icons are scaled down + MaxIconWidth=128 + MaxIconHeight=128 +@@ -357,7 +357,7 @@ + # to the command line + [server-Chooser] + name=Chooser server +-command=@X_SERVER@ ++command=@X_SERVER@ vt9 + # Make this not appear in the flexible servers for now, but if you + # wish to allow a chooser server then make this true. This is the + # only way to make a flexible chooser server that behaves nicely. diff --git a/x11/gdm2/files/patch-at b/x11/gdm2/files/patch-at new file mode 100644 index 000000000..2e73a9b0b --- /dev/null +++ b/x11/gdm2/files/patch-at @@ -0,0 +1,11 @@ +--- utils/Makefile.in.orig Tue May 21 00:01:55 2002 ++++ utils/Makefile.in Tue May 21 00:02:20 2002 +@@ -160,7 +160,7 @@ + gdmmktemp_SOURCES = gdmmktemp.c + + +-gdmaskpass_LDADD = $(INTLLIBS) -lpam -lpam_misc ++gdmaskpass_LDADD = $(INTLLIBS) -lpam + + + gdmopen_LDADD = $(INTLLIBS) diff --git a/x11/gdm2/files/patch-config_PostSession.in b/x11/gdm2/files/patch-config_PostSession.in new file mode 100644 index 000000000..5d6635086 --- /dev/null +++ b/x11/gdm2/files/patch-config_PostSession.in @@ -0,0 +1,12 @@ +--- config/PostSession.in.orig Mon Jun 16 16:42:51 2003 ++++ config/PostSession.in Mon Jun 16 16:43:18 2003 +@@ -2,7 +2,7 @@ + + PATH=@X_PATH@:$PATH + +-if command -v sessreg > /dev/null 2>&1; then +- sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER ++if /usr/bin/which -s sessreg > /dev/null 2>&1; then ++ sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" $USER + fi + exit 0 diff --git a/x11/gdm2/files/patch-config_PreSession.in b/x11/gdm2/files/patch-config_PreSession.in new file mode 100644 index 000000000..8930336dd --- /dev/null +++ b/x11/gdm2/files/patch-config_PreSession.in @@ -0,0 +1,23 @@ +--- config/PreSession.in.orig Mon Jun 16 16:40:28 2003 ++++ config/PreSession.in Mon Jun 16 16:41:15 2003 +@@ -8,16 +8,16 @@ + # + PATH=@X_PATH@:$PATH + +-if command -v xsetroot > /dev/null 2>&1; then ++if /usr/bin/which -s xsetroot > /dev/null 2>&1; then + xsetroot -cursor_name left_ptr -solid "#363047" + fi + +-if command -v sessreg > /dev/null 2>&1; then ++if /usr/bin/which -s sessreg > /dev/null 2>&1; then + # some output for easy debugging + echo "$0: Registering your session with wtmp and utmp" +- echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" -l $DISPLAY $USER" ++ echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" $USER" + +- exec sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER ++ exec sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" $USER + # this is not reached + fi + diff --git a/x11/gdm2/files/patch-config_locale.alias b/x11/gdm2/files/patch-config_locale.alias new file mode 100644 index 000000000..c29dfa7f5 --- /dev/null +++ b/x11/gdm2/files/patch-config_locale.alias @@ -0,0 +1,112 @@ +--- config/locale.alias.orig Sat Mar 15 05:31:02 2003 ++++ config/locale.alias Mon May 5 21:44:02 2003 +@@ -14,76 +14,36 @@ + # + # - George + +-Albanian sq_AL.UTF-8,sq_AL +-Amharic am_ET.UTF-8,am_ET +-Arabic(Egypt) ar_EG.UTF-8,ar_EG +-Arabic(Lebanon) ar_LB.UTF-8,ar_LB +-Azerbaijani az_AZ.UTF-8,az_AZ +-Basque eu_ES.UTF-8,eu_ES +-Belarusian be_BY.UTF-8,be_BY +-Bengali bn_BD.UTF-8,bn_BD +-Bengali(India) bn_IN.UTF-8,bn_IN +-Bosnian bs_BA.UTF-8,bs_BA +-Bulgarian bg_BG.UTF-8,bg_BG +-Catalan ca_ES.UTF-8,ca_ES +-Chinese(simplified) zh_CN.UTF-8,zh_CN +-Chinese(traditional) zh_TW.UTF-8,zh_TW +-Croatian hr_HR.UTF-8,hr_HR +-Czech cs_CZ.UTF-8,cs_CZ +-Danish da_DK.UTF-8,da_DK +-Dutch nl_NL.UTF-8,nl_NL +-English(American) en_US.UTF-8,en_US +-English(Australian) en_AU.UTF-8,en_AU +-English(British) en_GB.UTF-8,en_GB +-English(Ireland) en_IE.UTF-8,en_IE +-Estonian et_EE.UTF-8,et_EE +-Finnish fi_FI.UTF-8,fi_FI +-French fr_FR.UTF-8,fr_FR +-Galician gl_ES.UTF-8,gl_ES +-German de_DE.UTF-8,de_DE +-Greek el_GR.UTF-8,el_GR +-Gujarati gu_IN.UTF-8,gu_IN +-Hebrew he_IL.UTF-8,he_IL +-Hindi hi_IN.UTF-8,hi_IN +-Hungarian hu_HU.UTF-8,hu_HU +-Icelandic is_IS.UTF-8,is_IS +-Indonesian id_ID.UTF-8,id_ID +-Interlingua ia.UTF-8,ia +-Irish ga_IE.UTF-8,ga_IE +-Italian it_IT.UTF-8,it_IT +-Japanese ja_JP.UTF-8,ja_JP +-Kannada kn_IN.UTF-8,kn_IN +-Korean ko_KR.UTF-8,ko_KR +-Latvian lv_LV.UTF-8,lv_LV +-Lithuanian lt_LT.UTF-8,lt_LT +-Macedonian mk_MK.UTF-8,mk_MK +-Malayalam ml_IN.UTF-8,ml_IN +-Malay ms_MY.UTF-8,ms_MY +-Marathi mr_IN.UTF-8,mr_IN +-Mongolian mn_MN.UTF-8,mn_MN +-Norwegian(bokmal) no_NO.UTF-8,no_NO +-Norwegian(nynorsk) nn_NO.UTF-8,nn_NO +-Oriya or_IN.UTF-8,or_IN +-Panjabi pa_IN.UTF-8,pa_IN +-Persian fa_IR.UTF-8,fa_IR +-Polish pl_PL.UTF-8,pl_PL +-Portuguese(Brazilian) pt_BR.UTF-8,pt_BR +-Portuguese pt_PT.UTF-8,pt_PT +-Romanian ro_RO.UTF-8,ro_RO +-Russian ru_RU.UTF-8,ru_RU +-Serbian sr_YU.UTF-8,sr_YU +-Slovak sk_SK.UTF-8,sk_SK +-Slovenian sl_SI.UTF-8,sl_SI +-Spanish es_ES.UTF-8,es_ES +-Spanish(Mexico) es_MX.UTF-8,es_MX +-Swedish(Finland) sv_FI.UTF-8,sv_FI +-Swedish sv_SE.UTF-8,sv_SE +-Tamil ta_IN.UTF-8,ta_IN +-Telugu te_IN.UTF-8,te_IN +-Thai th_TH.UTF-8,th_TH +-Turkish tr_TR.UTF-8,tr_TR +-Ukrainian uk_UA.UTF-8,uk_UA +-Vietnamese vi_VN.UTF-8,vi_VN +-Walloon wa_BE.UTF-8,wa_BE +-Welsh cy_GB.UTF-8,cy_GB +-Yiddish yi.UTF-8,yi ++Bulgarian bg_BG.UTF-8,bg_BG.CP1251 ++Chinese(simplified) zh_CN.UTF-8,zh_CN.EUC ++Chinese(traditional) zh_TW.UTF-8,zh_TW.Big5 ++Croatian hr_HR.UTF-8,hr_HR.ISO_8859-2 ++Czech cs_CZ.UTF-8,cs_CZ.ISO_8859-2 ++Danish da_DK.UTF-8,da_DK.ISO_8859-1 ++Dutch nl_NL.UTF-8,nl_NL.ISO_8859-1 ++Estonian et_EE.UTF-8,et_EE.ISO_8859-15 ++English(American) en_US.UTF-8,en_US.ISO_8859-1 ++English(Australian) en_AU.UTF-8,en_AU.ISO_8859-1 ++English(British) en_GB.UTF-8,en_GB.ISO_8859-1 ++Finnish fi_FI.UTF-8,fi_FI.ISO_8859-1 ++French fr_FR.UTF-8,fr_FR.ISO_8859-1 ++German de_DE.UTF-8,de_DE.ISO_8859-1 ++Greek el_GR.UTF-8,el_GR.ISO_8859-7 ++Hungarian hu_HU.UTF-8,hu_HU.ISO_8859-2 ++Icelandic is_IS.UTF-8,is_IS.ISO_8859-1 ++Italian it_IT.UTF-8,it_IT.ISO_8859-1 ++Japanese ja_JP.UTF-8,ja_JP.EUC ++Korean ko_KR.UTF-8,ko_KR.EUC ++Lithuanian lt_LT.UTF-8,lt_LT.ISO_8859-4 ++Norwegian(bokmal) no_NO.UTF-8,no_NO.ISO_8859-1 ++Polish pl_PL.UTF-8,pl_PL.ISO_8859-2 ++Portuguese pt_PT.UTF-8,pt_PT.ISO_8859-1 ++Portuguese(Brazilian) pt_BR.UTF-8,pt_BR.ISO8859-1 ++Romanian ro_RO.UTF-8,ro_RO.ISO8859-2 ++Russian ru_RU.UTF-8,ru_RU.ISO_8859-5 ++Slovak sk_SK.UTF-8,sk_SK.ISO_8859-2 ++Slovenian sl_SI.UTF-8,sl_SI.ISO_8859-2 ++Spanish es_ES.UTF-8,es_ES.ISO_8859-1 ++Swedish sv_SE.UTF-8,sv_SE.ISO_8859-1 ++Turkish tr_TR.UTF-8,tr_TR.ISO_8859-9 ++Ukrainian uk_UA.UTF-8,uk_UA.ISO8859-5 diff --git a/x11/gdm2/files/patch-configure b/x11/gdm2/files/patch-configure new file mode 100644 index 000000000..e6e122ab8 --- /dev/null +++ b/x11/gdm2/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon May 5 12:32:19 2003 ++++ configure Mon May 5 21:45:38 2003 +@@ -9772,6 +9772,8 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include <sys/types.h> ++#include <sys/socket.h> + $ac_includes_default + int + main () diff --git a/x11/gdm2/files/patch-daemon_gdm.c b/x11/gdm2/files/patch-daemon_gdm.c new file mode 100644 index 000000000..e68005a30 --- /dev/null +++ b/x11/gdm2/files/patch-daemon_gdm.c @@ -0,0 +1,31 @@ +--- daemon/gdm.c.orig Tue Jun 10 19:25:11 2003 ++++ daemon/gdm.c Mon Jun 16 16:48:29 2003 +@@ -38,7 +38,7 @@ + #include <locale.h> + + /* This should be moved to auth.c I suppose */ +-#include <X11/Xauth.h> ++/*#include <X11/Xauth.h>*/ + + #include <vicious.h> + +@@ -1216,7 +1216,9 @@ + gdm_final_cleanup (); + chdir ("/"); + ++#ifdef __linux__ + change_to_first_and_clear (TRUE /* reboot */); ++#endif + + argv = ve_split (GdmRebootReal); + execv (argv[0], argv); +@@ -1234,7 +1236,9 @@ + gdm_final_cleanup (); + chdir ("/"); + ++#ifdef __linux__ + change_to_first_and_clear (FALSE /* reboot */); ++#endif + + argv = ve_split (GdmHaltReal); + execv (argv[0], argv); diff --git a/x11/gdm2/files/patch-daemon_slave.c b/x11/gdm2/files/patch-daemon_slave.c new file mode 100644 index 000000000..27ac0544a --- /dev/null +++ b/x11/gdm2/files/patch-daemon_slave.c @@ -0,0 +1,12 @@ +--- daemon/slave.c.orig Wed Sep 18 02:25:09 2002 ++++ daemon/slave.c Wed Sep 18 02:25:15 2002 +@@ -2327,7 +2327,8 @@ + if (setusercontext (NULL, pwent, pwent->pw_uid, + LOGIN_SETLOGIN | LOGIN_SETPATH | + LOGIN_SETPRIORITY | LOGIN_SETRESOURCES | +- LOGIN_SETUMASK | LOGIN_SETUSER) < 0) ++ LOGIN_SETUMASK | LOGIN_SETUSER | ++ LOGIN_SETENV) < 0) + gdm_child_exit (DISPLAY_REMANAGE, + _("%s: setusercontext() failed for %s. " + "Aborting."), "gdm_slave_session_start", diff --git a/x11/gdm2/files/patch-gui::gdmsetup.c b/x11/gdm2/files/patch-gui::gdmsetup.c new file mode 100644 index 000000000..78fcf4dcb --- /dev/null +++ b/x11/gdm2/files/patch-gui::gdmsetup.c @@ -0,0 +1,11 @@ +--- gui/gdmsetup.c.orig Fri Jun 6 19:34:07 2003 ++++ gui/gdmsetup.c Mon Jun 16 16:45:20 2003 +@@ -1587,7 +1587,7 @@ + success = TRUE; + + /* HACK! */ +- cmd = g_strdup_printf ("/bin/chown -R root.root %s", quoted); ++ cmd = g_strdup_printf ("/usr/sbin/chown -R gdm:gdm %s", quoted); + system (cmd); + g_free (cmd); + diff --git a/x11/gdm2/files/patch-gui_gdmphotosetup.c b/x11/gdm2/files/patch-gui_gdmphotosetup.c new file mode 100644 index 000000000..6121bdf93 --- /dev/null +++ b/x11/gdm2/files/patch-gui_gdmphotosetup.c @@ -0,0 +1,10 @@ +--- gui/gdmphotosetup.c.orig Mon May 5 21:47:14 2003 ++++ gui/gdmphotosetup.c Mon May 5 21:47:39 2003 +@@ -22,6 +22,7 @@ + #include <libgnome/libgnome.h> + #include <libgnomeui/libgnomeui.h> + #include <sys/types.h> ++#include <signal.h> + #include <sys/stat.h> + #include <fcntl.h> + #include <errno.h> diff --git a/x11/gdm2/files/patch-ltmain.sh b/x11/gdm2/files/patch-ltmain.sh new file mode 100644 index 000000000..8afc42e39 --- /dev/null +++ b/x11/gdm2/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig Fri Apr 25 15:18:44 2003 ++++ ltmain.sh Sun May 11 02:27:13 2003 +@@ -1061,7 +1061,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1071,8 +1071,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -2471,6 +2479,9 @@ + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test $build_libtool_need_lc = "yes"; then +@@ -4280,10 +4291,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/x11/gdm2/pkg-descr b/x11/gdm2/pkg-descr new file mode 100644 index 000000000..85c150c4c --- /dev/null +++ b/x11/gdm2/pkg-descr @@ -0,0 +1,3 @@ +The GNOME 2.0 version of the xdm display manager. It has support for +face pixmaps, multiple sessions plus clean shutdowns from the login +menu. diff --git a/x11/gdm2/pkg-install b/x11/gdm2/pkg-install new file mode 100644 index 000000000..e373a44e3 --- /dev/null +++ b/x11/gdm2/pkg-install @@ -0,0 +1,46 @@ +#!/bin/sh + +if [ -n "${PACKAGE_BUILDING}" ]; then + exit 0 +fi + +if [ "$2" = "POST-INSTALL" ]; then + USER=gdm + GROUP=${USER} + UID=92 + GID=${UID} + PW=/usr/sbin/pw + CHMOD=/bin/chmod + CHOWN=/usr/sbin/chown + + if ${PW} group show "${GROUP}" 2>/dev/null; then + echo "You already have a group \"${GROUP}\", so I will use it." + else + if ${PW} groupadd ${GROUP} -g ${GID}; then + echo "Added group \"${GROUP}\"." + else + echo "Adding group \"${GROUP}\" failed..." + exit 1 + fi + fi + + if ${PW} user show "${USER}" 2>/dev/null; then + echo "You already have a user \"${USER}\", so I will use it." + else + if ${PW} useradd ${USER} -u ${UID} -g ${GROUP} -h - \ + -d "/nonexistent" -s /sbin/nologin -c "GNOME Display Manager" + then + echo "Added user \"${USER}\"." + else + echo "Adding user \"${USER}\" failed..." + exit 1 + fi + fi + ${CHOWN} -R ${USER}:${GROUP} ${PKG_PREFIX}/share/gnome/gdm ${PKG_PREFIX}/etc/gdm + ${CHMOD} 0750 ${PKG_PREFIX}/share/gnome/gdm + exit 0 +fi + +if [ -z "${BATCH}" ]; then + /usr/bin/dialog --yesno "GDM may contain vulnerabilities leading local root compromise, and it is reported widely with various security sites and groups. It is not recommended that this port be installed in public environment. Do you wish to accept the security risk and build GDM anyway?" 10 60 || /usr/bin/false +fi diff --git a/x11/gdm2/pkg-message b/x11/gdm2/pkg-message new file mode 100644 index 000000000..2f8526d22 --- /dev/null +++ b/x11/gdm2/pkg-message @@ -0,0 +1,6 @@ +GDM is installed. + +Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm +hanging or restarting constantly. Instead, copy the included gdm.sh.sample +script to gdm.sh, and restart. This script is found, by default, in +/usr/X11R6/etc/rc.d. diff --git a/x11/gdm2/pkg-plist b/x11/gdm2/pkg-plist new file mode 100644 index 000000000..b8817cf42 --- /dev/null +++ b/x11/gdm2/pkg-plist @@ -0,0 +1,133 @@ +bin/gdm +bin/gdm-binary +bin/gdmXnest +bin/gdmXnestchooser +bin/gdmchooser +bin/gdmflexiserver +bin/gdmgreeter +bin/gdmlogin +bin/gdmphotosetup +bin/gdmsetup +bin/gdmthemetester +etc/dm/Sessions/Default.desktop +etc/dm/Sessions/gnome.desktop +etc/gdm/Init/Default +etc/gdm/PostLogin/Default.sample +etc/gdm/PostSession/Default +etc/gdm/PreSession/Default +etc/gdm/XKeepsCrashing +etc/gdm/Xsession +@unexec if cmp -s %D/etc/gdm/gdm.conf %D/etc/gdm/factory-gdm.conf; then rm -f %D/etc/gdm/gdm.conf; fi +etc/gdm/factory-gdm.conf +@exec [ -f %B/gdm.conf ] || cp %B/%f %B/gdm.conf +etc/gdm/locale.alias +@unexec if cmp -s %D/etc/gdm/modules/AccessDwellMouseEvents %D/etc/gdm/modules/factory-AccessDwellMouseEvents; then rm -f %D/etc/gdm/modules/AccessDwellMouseEvents; fi +etc/gdm/modules/factory-AccessDwellMouseEvents +@exec [ -f %B/AccessDwellMouseEvents ] || cp %B/%f %B/AccessDwellMouseEvents +@unexec if cmp -s %D/etc/gdm/modules/AccessKeyMouseEvents %D/etc/gdm/modules/factory-AccessKeyMouseEvents; then rm -f %D/etc/gdm/modules/AccessKeyMouseEvents; fi +etc/gdm/modules/factory-AccessKeyMouseEvents +@exec [ -f %B/AccessKeyMouseEvents ] || cp %B/%f %B/AccessKeyMouseEvents +etc/rc.d/gdm.sh.sample +lib/gtk-2.0/modules/libdwellmouselistener.so +lib/gtk-2.0/modules/libkeymouselistener.so +%%PAM_MISC%%libexec/gdmaskpass +sbin/gdm-restart +sbin/gdm-safe-restart +sbin/gdm-stop +sbin/gdmconfig +share/gnome/applications/gdmflexiserver-xnest.desktop +share/gnome/applications/gdmflexiserver.desktop +share/gnome/applications/gdmsetup.desktop +share/gnome/capplets/gdmphotosetup.desktop +share/gnome/gdm/gdmchooser.glade +share/gnome/gdm/gdmsetup.glade +share/gnome/gdm/themes/happygnome-list/GdmGreeterTheme.desktop +share/gnome/gdm/themes/happygnome-list/background.svg +share/gnome/gdm/themes/happygnome-list/disconnect.png +share/gnome/gdm/themes/happygnome-list/gnome-logo.png +share/gnome/gdm/themes/happygnome-list/happygnome.xml +share/gnome/gdm/themes/happygnome-list/options.png +share/gnome/gdm/themes/happygnome-list/screenshot.png +share/gnome/gdm/themes/happygnome-list/session.png +share/gnome/gdm/themes/happygnome-list/system.png +share/gnome/gdm/themes/happygnome/GdmGreeterTheme.desktop +share/gnome/gdm/themes/happygnome/background.svg +share/gnome/gdm/themes/happygnome/disconnect.png +share/gnome/gdm/themes/happygnome/gnome-logo.png +share/gnome/gdm/themes/happygnome/happygnome.xml +share/gnome/gdm/themes/happygnome/options.png +share/gnome/gdm/themes/happygnome/screenshot.png +share/gnome/gdm/themes/happygnome/session.png +share/gnome/gdm/themes/happygnome/system.png +share/gnome/gdm/themes/circles/GdmGreeterTheme.desktop +share/gnome/gdm/themes/circles/background.svg +share/gnome/gdm/themes/circles/circles.xml +share/gnome/gdm/themes/circles/flower.png +share/gnome/gdm/themes/circles/help.png +share/gnome/gdm/themes/circles/options.png +share/gnome/gdm/themes/circles/screenshot.png +share/gnome/pixmaps/gdm-foot-logo.png +share/gnome/pixmaps/gdm.png +share/gnome/pixmaps/login-photo.png +share/gnome/pixmaps/nobody.png +share/gnome/pixmaps/nohost.png +share/locale/am/LC_MESSAGES/gdm-2.4.mo +share/locale/ar/LC_MESSAGES/gdm-2.4.mo +share/locale/az/LC_MESSAGES/gdm-2.4.mo +share/locale/be/LC_MESSAGES/gdm-2.4.mo +share/locale/bg/LC_MESSAGES/gdm-2.4.mo +share/locale/bn/LC_MESSAGES/gdm-2.4.mo +share/locale/ca/LC_MESSAGES/gdm-2.4.mo +share/locale/cs/LC_MESSAGES/gdm-2.4.mo +share/locale/da/LC_MESSAGES/gdm-2.4.mo +share/locale/de/LC_MESSAGES/gdm-2.4.mo +share/locale/el/LC_MESSAGES/gdm-2.4.mo +share/locale/es/LC_MESSAGES/gdm-2.4.mo +share/locale/et/LC_MESSAGES/gdm-2.4.mo +share/locale/eu/LC_MESSAGES/gdm-2.4.mo +share/locale/fa/LC_MESSAGES/gdm-2.4.mo +share/locale/fi/LC_MESSAGES/gdm-2.4.mo +share/locale/fr/LC_MESSAGES/gdm-2.4.mo +share/locale/ga/LC_MESSAGES/gdm-2.4.mo +share/locale/gl/LC_MESSAGES/gdm-2.4.mo +share/locale/he/LC_MESSAGES/gdm-2.4.mo +share/locale/hi/LC_MESSAGES/gdm-2.4.mo +share/locale/hu/LC_MESSAGES/gdm-2.4.mo +share/locale/it/LC_MESSAGES/gdm-2.4.mo +share/locale/ja/LC_MESSAGES/gdm-2.4.mo +share/locale/ko/LC_MESSAGES/gdm-2.4.mo +share/locale/lt/LC_MESSAGES/gdm-2.4.mo +share/locale/lv/LC_MESSAGES/gdm-2.4.mo +share/locale/mk/LC_MESSAGES/gdm-2.4.mo +share/locale/ml/LC_MESSAGES/gdm-2.4.mo +share/locale/mn/LC_MESSAGES/gdm-2.4.mo +share/locale/ms/LC_MESSAGES/gdm-2.4.mo +share/locale/nl/LC_MESSAGES/gdm-2.4.mo +share/locale/nn/LC_MESSAGES/gdm-2.4.mo +share/locale/no/LC_MESSAGES/gdm-2.4.mo +share/locale/pl/LC_MESSAGES/gdm-2.4.mo +share/locale/pt/LC_MESSAGES/gdm-2.4.mo +share/locale/pt_BR/LC_MESSAGES/gdm-2.4.mo +share/locale/ro/LC_MESSAGES/gdm-2.4.mo +share/locale/ru/LC_MESSAGES/gdm-2.4.mo +share/locale/sk/LC_MESSAGES/gdm-2.4.mo +share/locale/sl/LC_MESSAGES/gdm-2.4.mo +share/locale/sq/LC_MESSAGES/gdm-2.4.mo +share/locale/sr/LC_MESSAGES/gdm-2.4.mo +share/locale/sr@Latn/LC_MESSAGES/gdm-2.4.mo +share/locale/sv/LC_MESSAGES/gdm-2.4.mo +share/locale/ta/LC_MESSAGES/gdm-2.4.mo +share/locale/th/LC_MESSAGES/gdm-2.4.mo +share/locale/tr/LC_MESSAGES/gdm-2.4.mo +share/locale/uk/LC_MESSAGES/gdm-2.4.mo +share/locale/vi/LC_MESSAGES/gdm-2.4.mo +share/locale/wa/LC_MESSAGES/gdm-2.4.mo +share/locale/zh_CN/LC_MESSAGES/gdm-2.4.mo +share/locale/zh_TW/LC_MESSAGES/gdm-2.4.mo +@dirrm share/gnome/gdm/themes/happygnome +@dirrm share/gnome/gdm/themes/happygnome-list +@dirrm share/gnome/gdm/themes/circles +@dirrm share/gnome/gdm/themes +@dirrm etc/pam.d +@dirrm etc/gdm/modules +@unexec /bin/rmdir %D/etc/dm 2>/dev/null || /usr/bin/true |