ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@elan.com.ua>
To: community@altlinux.ru
Subject: Re: [Comm] pam_mount
Date: Tue, 26 Apr 2005 13:00:19 +0300
Message-ID: <426E1133.6060309@elan.com.ua> (raw)
In-Reply-To: <853727797.20050426133306@mail.ru>

Anton Gorlov пишет:

>Решил для тестов опакетить pam_mount. но несколько застрял на создании
>спека.
>разглядывая их спек --непонятно на что заменить
>
>/selinux/strict/src/policy/macros
>
>В том спеке, что есть у них:
>
>%install
>rm -rf $RPM_BUILD_ROOT
>%makeinstall libdir=/%{_lib}
>mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/security
>mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/selinux/strict/src/policy/macros
>mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/selinux/strict/src/policy/file_context
>install --owner=root --group=root --mode=0644 config/pam_mount.conf ${RPM_BUILD_
>  
>
Здесь чего-то не хватает. Обрезана строка?

>install --owner=root --group=root --mode=0644 config/pam_mount_macros.te ${RPM_B
>install --owner=root --group=root --mode=0644 config/pam_mount.fc ${RPM_BUILD_RO
>rm -f ${RPM_BUILD_ROOT}/%{_lib}/security/pam_mount.a
>rm -f ${RPM_BUILD_ROOT}/%{_lib}/security/pam_mount.la
>
>Как всё это привести к альтовскому виду?
>  
>
Примерно так, наверно:

%install
%makeinstall libdir=/%buildroot/%_libexecdir

здесь не понятно, неужели должны создаться /etc/selinux/strict/src/policy/macros?
%__mkdir_p %buildroot%_sysconfdir/security
%__mkdir_p %buildroot%_sysconfdir/selinux/strict/src/policy/macros
%__mkdir_p %buildroot%_sysconfdir/selinux/strict/src/policy/file_context

Хоть строка и обрезана но наверно так должно быть
%__install -p -m 644 config/pam_mount.conf %buildroot%_sysconfdir/pam_mount.conf
%__install -p -m 644 config/pam_mount_macros.te %buildroot%_sysconfdir/pam_mount_macros.te
%__install -p -m 644 config/pam_mount.fc %buildroot%_sysconfdir/pam_mount.fc

-- 
С уважением,
Дубровский Вячеслав.



  reply	other threads:[~2005-04-26 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26  9:33 Anton Gorlov
2005-04-26 10:00 ` Slava Dubrovskiy [this message]
2005-04-26 10:14   ` Re[2]: " Anton Gorlov

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=426E1133.6060309@elan.com.ua \
    --to=slava@elan.com.ua \
    --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