Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61544 - hylafax: added pam and ldap support
Summary: hylafax: added pam and ldap support
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-24 11:15 UTC by Christian Zoffoli (RETIRED)
Modified: 2004-11-15 15:47 UTC (History)
0 users

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


Attachments
improved ebuild (hylafax-ldap-pam.chris.patch,1.73 KB, patch)
2004-08-24 11:17 UTC, Christian Zoffoli (RETIRED)
Details | Diff
ldap patch (hylafax-ldap.patch,10.48 KB, patch)
2004-08-24 11:17 UTC, Christian Zoffoli (RETIRED)
Details | Diff
ldap patch part #2 (hylafax-ldap.chris.patch,687 bytes, patch)
2004-08-24 11:17 UTC, Christian Zoffoli (RETIRED)
Details | Diff
pam patch part #1 (hylafax-pam.patch,11.38 KB, patch)
2004-08-24 11:18 UTC, Christian Zoffoli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Zoffoli (RETIRED) gentoo-dev 2004-08-24 11:15:48 UTC
Here is a modified ebuild + some patches to support pam and ldap

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
hylafax 4.1.xx doesn't have pam and ldap support

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.6.7-uml1)
=================================================================
System uname: 2.6.7-uml1 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="X aalib acl apache2 apm arts avi berkdb cdr crypt cups dvd encode esd fbcon
foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg kde kerberos ldap
libg++ libwww lzw mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis
opendlm opengl oss pam pdflib perl png postgres ppds python qmail qt quicktime
readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff tinydyndns truetype
vhosts virus-scan x86 xml xml2 xmms xv zlib"
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-24 11:17:18 UTC
Created attachment 38110 [details, diff]
improved ebuild
Comment 2 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-24 11:17:38 UTC
Created attachment 38111 [details, diff]
ldap patch
Comment 3 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-24 11:17:58 UTC
Created attachment 38112 [details, diff]
ldap patch part #2
Comment 4 Christian Zoffoli (RETIRED) gentoo-dev 2004-08-24 11:18:16 UTC
Created attachment 38113 [details, diff]
pam patch part #1
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2004-11-13 16:58:49 UTC
your patches are pretty big. did you tried to send them upstream first?
I'd feel much more comfortable if these babies are accepted by the upstream, otherwise maintenance would be a hell!
Comment 6 Christian Zoffoli (RETIRED) gentoo-dev 2004-11-14 16:43:28 UTC
these are already integrated in the 4.2.x version
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2004-11-14 22:20:52 UTC
So all I need to do is add ldap & pam flags to IUSE, right?
Comment 8 Christian Zoffoli (RETIRED) gentoo-dev 2004-11-15 06:31:11 UTC
Yes ...it's all "explained" in the diffs.

Essentially, I've backported two functionalities from the 4.2.x brach.

Comment 9 Alin Năstac (RETIRED) gentoo-dev 2004-11-15 08:32:37 UTC
I don't see anywhere in the last version (4.2.0) sources, anything about ldap.
Is it a feature backported from CVS?
Comment 10 Christian Zoffoli (RETIRED) gentoo-dev 2004-11-15 13:26:36 UTC
You can find pam support in the 4.2.0 release.

Some months ago, the same author of the pam patch, Marcin Giedz, published the ldap patch on the hylafax-user mailing. It will be probabily integrated in the next release. 

IMHO the ldap patch is not so intrusive and many users can benefit from it. From my point of view it's unuseful to have an enterprise class fax server without a good authentication mechanism (like ldap).

Comment 11 Christian Zoffoli (RETIRED) gentoo-dev 2004-11-15 15:26:51 UTC
In other words, pam is absolutely necessary, ldap is "optional" (alias we can also use it with pam_ldap and nss_ldap).

Comment 12 Alin Năstac (RETIRED) gentoo-dev 2004-11-15 15:47:41 UTC
Support for pam is already included in 4.2.0, so I will close this bug.
Maybe future versions will have direct ldap support.