Skip site navigation (1)Skip section navigation (2)
Date:      19 Jan 2003 17:51:49 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Mark Hannon <markhannon@optusnet.com.au>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: ports/37136: Gdm package sets wrong permissions
Message-ID:  <1043016708.14743.9.camel@shumai.marcuscom.com>
In-Reply-To: <3E2B2946.6070401@optusnet.com.au>
References:  <200301161200.h0GC0R2N016040@freefall.freebsd.org> <1042740239.324.49.camel@gyros>  <3E293028.40002@optusnet.com.au> <1042931850.7820.45.camel@shumai.marcuscom.com> <3E2B2946.6070401@optusnet.com.au>

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

--=-TuetsTQqCHibUJ3MOH5/
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2003-01-19 at 17:40, Mark Hannon wrote:
> >
> >
> >I think I see the problem.  It looks to be a limitation in the package
> >building system regarding directories.  All the files retain the correct
> >version, but the directories do not.  Attached is a patch that should
> >fix the problem.  If you would like to test, please do the following:
> >
> ># pkg_delete -f gdm2\*
> ># cd /usr/ports/x11
> ># patch -p < /path/to/gdm2.diff
> ># cd /usr/ports/x11/gdm2
> ># make package
> ># make deinstall
> ># rm -rf /usr/X11R6/share/gnome/gdm
> ># pkg_add gdm2-2.4.0.12
> >
> >The resulting /usr/X11R6/share/gnome/gdm should have the correct
> >permissions.
> >
>=20
> Hi,
>=20
> I made a fresh 5.0-RELEASE install today and have made some more notes=20
> about the
> problem.
>=20
> a) After install of all of the gnome packages on the CD I noticed that=20
> the gdm uid/gid had
>     not been created and added to /etc/{passwd,group}.

This is strange.  I tested this a while ago, and the user was added.=20
I'll take a look again.

> b) The gdm2 package from the CD had been installed.
> c) In order to get gdm running I needed to chown and chmod the relevant=20
> directories.

The package on the 5.0-RELEASE CDs does not contain my recent patches.=20
The latter part of your report is expected.

>=20
> Subsequently, I patched up a gdm2 port directory and followed your=20
> testing instructions.
> Your patch isn't quite right however, the ${PKG_PREFIX} variable is not=20
> defined when the
> chmod/chown commands are executed (I could see on the console that make=20
> tried to chown
> /etc/gdm for instance).

Thanks for spotting this.  Yes, PKG_PREFIX is only set by pkg_add, thus
the port has no knowledge of this.  It should be corrected now.

Joe

>=20
> rgds/mark
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-TuetsTQqCHibUJ3MOH5/
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+KywEb2iPiv4Uz4cRAp3tAKChY6qy/8x3E6lWHyMFBayaYE/F+gCffx5U
tTA0mv2JePy/ottdOGi1+GM=
=m+8N
-----END PGP SIGNATURE-----

--=-TuetsTQqCHibUJ3MOH5/--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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