Opened 15 years ago

Closed 14 years ago

#5658 closed enhancement (fixed)

RFE: gdm should build with PAM

Reported by: phil_sidler@… Owned by: gnome-darwinports@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: danchr@…
Port:

Description

gdm builds without PAM because configure is looking for the PAM headers in /usr/include/security instead of /usr/include/pam. Creating a symlink gets around the problem, but there should be a better way.

gdm 2.6.0.6

$ sudo port -vd configure gdm DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/gnome/gdm DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/gnome/gdm DEBUG: Requested variant powerpc is not provided by port gdm. DEBUG: Requested variant darwin is not provided by port gdm. DEBUG: Requested variant macosx is not provided by port gdm. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/gnome/gnome-session DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/gnome/gnome-session DEBUG: Searching for dependency: gnome-session DEBUG: Found Dependency: receipt exists for gnome-session DEBUG: Executing com.apple.main (gdm) ---> Fetching gdm DEBUG: Executing com.apple.fetch (gdm) ---> gdm-2.6.0.6.tar.bz2 doesn't seem to exist in /opt/local/var/db/dports/distfiles/gdm ---> Attempting to fetch gdm-2.6.0.6.tar.bz2 from http://www.gtlib.cc.gatech.edu/pub/gnome/sources/gdm/2.6/

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 3140k 100 3140k 0 0 40038 0 0:01:20 0:01:20 --:--:-- 51818 ---> Verifying checksum(s) for gdm DEBUG: Executing com.apple.checksum (gdm) ---> Checksumming gdm-2.6.0.6.tar.bz2 DEBUG: Correct (md5) checksum for gdm-2.6.0.6.tar.bz2 DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 ---> Extracting gdm DEBUG: Executing com.apple.extract (gdm) ---> Extracting gdm-2.6.0.6.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/gdm/gdm-2.6.0.6.tar.bz2 DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_gdm/work" && /opt/local/bin/bzip2 -dc /opt/local/var/db/dports/distfiles/gdm/gdm-2.6.0.6.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing com.apple.patch (gdm) ---> Applying patches to gdm ---> Applying /private/opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/gnome/gdm/files/patch_config.h.in DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_gdm/work/gdm-2.6.0.6" && patch -p0' patching file config.h.in Hunk #1 succeeded at 191 (offset 4 lines). ---> Configuring gdm DEBUG: Executing com.apple.configure (gdm) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_gdm/work/gdm-2.6.0.6" && CPPFLAGS="-I/opt/local/include -L/opt/local/lib" LDFLAGS="-lresolv -L/opt/local/lib" ./configure --prefix=/opt/local --mandir=/opt/local/share/man' checking for a BSD-compatible install... /usr/bin/install -c

...

checking security/pam_appl.h usability... no checking security/pam_appl.h presence... no checking for security/pam_appl.h... no

...

GDM2 configuration summary: ===========================

CFLAGS : -g -O2 -Wall -Wmissing-prototypes LDFLAGS : -lresolv -L/opt/local/lib

prefix : /opt/local sysconf dir : /opt/local/etc bin dir : /opt/local/bin sbin dir : /opt/local/sbin PAM prefix : /opt/local/etc data dir : /opt/local/share X server : /usr/X11R6/bin/X

TCP Wrappers support : NO Xinerama support : YES XDMCP (remote login) support : YES Console helper : NO SELinux support : NO Authentication scheme : verify-crypt Extra utilities built :

$ sudo ln -s /usr/include/pam /usr/include/security

$ sudo port clean gdm

$ sudo port -vd configure gdm

...

checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking security/pam_misc.h usability... yes checking security/pam_misc.h presence... yes checking for security/pam_misc.h... yes

...

GDM2 configuration summary: ===========================

CFLAGS : -g -O2 -Wall -Wmissing-prototypes LDFLAGS : -lresolv -L/opt/local/lib

prefix : /opt/local sysconf dir : /opt/local/etc bin dir : /opt/local/bin sbin dir : /opt/local/sbin PAM prefix : /opt/local/etc data dir : /opt/local/share X server : /usr/X11R6/bin/X

TCP Wrappers support : NO Xinerama support : YES XDMCP (remote login) support : YES Console helper : NO SELinux support : NO Authentication scheme : verify-pam Extra utilities built : gdmaskpass

Change History (5)

comment:1 Changed 15 years ago by mww@…

Owner: changed from darwinports-bugs@… to danchr@…
Summary: gdm builds without PAMRFE: gdm should build with PAM

comment:2 Changed 15 years ago by danchr@…

Owner: changed from danchr@… to darwinports-bugs@…

Unassigning since I no longer use DarwinPorts.

comment:3 Changed 14 years ago by rhwood@…

severity: normalenhancement

Make the list of bugs easier to scan.

comment:4 Changed 14 years ago by rhwood@…

Owner: changed from darwinports-bugs@… to gnome-darwinports@…

comment:5 Changed 14 years ago by rhwood@…

Resolution: fixed
Status: newclosed

Fix is in CVS.

Note: See TracTickets for help on using tickets.