Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18168 - config-files of the wdm-loginmanager placed in wrong directory
Summary: config-files of the wdm-loginmanager placed in wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 14:24 UTC by Michael Gruner
Modified: 2003-04-02 16:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild with change requested by user, including ChangeLog (ebuilds-x11-misc_wdm-wdm-1.22-r1.tar.gz,1.06 KB, application/octet-stream)
2003-03-25 22:55 UTC, Robin Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gruner 2003-03-25 14:24:08 UTC
the config files of the wdm-login-manager are placed somewhere in /usr/etc/wdm.
IMHO a better place storing them might be in /etc/X11/wdm. So I think it might
be a good idea to add the following option to the src_compile()... section:

        econf \
                --exec-prefix=/usr --with-wdmdir=/etc/X11/wdm \
                ${myconf} || die

Reproducible: Always
Steps to Reproduce:
1.emerge wdm
2.
3.
Actual Results:  
config files are stored in wrong place

Expected Results:  
place the config files somwhere to /etc/X11/wdm
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-03-25 22:55:53 UTC
Created attachment 9815 [details]
ebuild with change requested by user, including ChangeLog

ebuild tarball with changelog attached, release number touched

Changes contained inside tarball:

--- wdm-1.22.ebuild	2003-03-25 19:32:02.000000000 -0800
+++ wdm-1.22-r1.ebuild	2003-03-25 19:32:52.000000000 -0800
@@ -27,6 +27,7 @@

	econf \
		--exec-prefix=/usr \
+		--with-wdmdir=/etc/X11/wdm \
		${myconf} || die

	emake || die
--- ChangeLog.old	2003-03-25 19:40:31.000000000 -0800
+++ ChangeLog	2003-03-25 19:37:31.000000000 -0800
@@ -2,6 +2,12 @@
 # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
 # $Header: /home/cvsroot/gentoo-x86/x11-misc/wdm/ChangeLog,v 1.1 2003/02/19
07:14:55 bcowan Exp $

+*wdm-1.22-r1 (25 Mar 2003)
+
+  25 Mar 2003; Robin Johnson <robbat2@orbis-terrarum.net> wdm-1.22-r1.ebuild,
+  ChangeLog, files/digest-wdm-1.22:
+  added '--with-wdmdir=/etc/X11/wdm' to ebuild to put config files in the
right place.
+
 *wdm-1.22 (19 Feb 2003)
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-04-02 16:43:01 UTC
fixed in the ebuild in portage. you'll need to remerge to get the changes.

robbat2,

thanks for the diff, but this was a rather simple change that doesn't really require a whole tarball with the changes. thanks for the attempt though.