ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Lebedev <linux@vlink.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Пересборка pam
Date: Sat, 14 May 2005 18:22:57 +0400
Message-ID: <20050514142257.GA10464@vgg.ru> (raw)
In-Reply-To: <20050513212649.GA5037@basalt.office.altlinux.org>

On 14 May, Dmitry V. Levin wrote:
> Hi,
> 
> On Fri, May 13, 2005 at 10:49:17AM +0400, Sergey Lebedev wrote:

[skip]

> Придётся вам покопаться в исходном коде, я _так_ Linux-PAM собирать не
> пробовал, надобности не было.  Скорее всего, какой-то из патчей "забыл"
> скорректировать одно из отладочных сообщений.

Оказалось достаточно двух патчей

diff -k.orig -Naur Linux-PAM-0.75.orig/libpam/pam_handlers.c Linux-PAM-0.75/libpam/pam_handlers.c
--- Linux-PAM-0.75.orig/libpam/pam_handlers.c   2005-05-13 12:47:08 +0400
+++ Linux-PAM-0.75/libpam/pam_handlers.c        2005-05-13 12:48:25 +0400
@@ -292,7 +292,7 @@
                            "_pam_load_conf_file: error reading %s: %s",
                            config_name, pam_strerror(pamh, retval));
     } else {
-       D(("unable to open %s", filename));
+       D(("unable to open %s", config_name));
        _pam_system_log(LOG_ERR,
                        "_pam_load_conf_file: unable to open %s",
                        config_name);

И

diff -k.orig -Naur Linux-PAM-0.75.orig/libpam_misc/Makefile Linux-PAM-0.75/libpam_misc/Makefile
--- Linux-PAM-0.75.orig/libpam_misc/Makefile    2005-05-13 13:07:12 +0400
+++ Linux-PAM-0.75/libpam_misc/Makefile 2005-05-13 13:07:45 +0400
@@ -42,7 +42,12 @@
 SLIBOBJECTS = $(addprefix static/,$(LIBOBJECTS))
 endif
 
+ifeq ($(WITH_LIBDEBUG),yes)
+LINKLIBS += -L../libpam -lpamd
+else
 LINKLIBS += -L../libpam -lpam
+endif
+
 
 # ---------------------------------------------
 ## rules

Все собралось.
Всем спасибо. 


      reply	other threads:[~2005-05-14 14:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13  6:49 Sergey Lebedev
2005-05-13 13:15 ` php-coder
2005-05-13 21:26 ` Dmitry V. Levin
2005-05-14 14:22   ` Sergey Lebedev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050514142257.GA10464@vgg.ru \
    --to=linux@vlink.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git