From: "Anton D. Kachalov" <mouse@altlinux.org>
To: boldin.pavel@gmail.com,
ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] PAM_MOUNT
Date: Tue, 26 Apr 2005 14:29:44 +0400
Message-ID: <20050426102943.GA22747@lrn.ru> (raw)
In-Reply-To: <426E12E0.4050602@gmail.com>
On Tue, Apr 26, 2005 at 03:07:28PM +0500, Boldin Pavel wrote:
> Anton Gorlov aka stalker пишет:
>
> >Здравствуйте, ALT.
> >
> >Судя по всему всё же никто не пробовал. По сему попробую сам. Только
> >вот никак не могу спек написать.
> >
> >разглядывая их спек --непонятно на что заменить
> >
> >/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=/%_lib
%__mkdir_p %buildroot%_sysconfdir/security
%__install -m644 config/pam_mount.conf %buildroot/...
...
%__rm -f %buildroot/%_lib/security/pam_mount.a
удалять .la не обязательно.
Rgds,
Anton
prev parent reply other threads:[~2005-04-26 10:29 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-26 9:00 Anton Gorlov aka stalker
2005-04-26 10:07 ` Boldin Pavel
2005-04-26 10:17 ` Re[2]: " Anton Gorlov aka stalker
2005-04-26 10:23 ` Eugene Ostapets
2005-04-26 10:28 ` Re[4]: " Anton Gorlov aka stalker
2005-04-26 10:30 ` Re[2]: " Anton D. Kachalov
2005-04-26 10:34 ` Eugene Ostapets
2005-04-29 12:34 ` [sisyphus] PAM_MOUNT Michael Shigorin
2005-04-26 17:37 ` [JT][sisyphus] PAM_MOUNT Boldin Pavel
2005-04-26 18:53 ` Eugene Ostapets
2005-04-26 19:00 ` Konstantin A. Lepikhov
2005-04-27 7:54 ` Eugene Ostapets
2005-04-27 9:03 ` Dmitry V. Levin
2005-04-27 10:01 ` Eugene Ostapets
2005-04-27 20:51 ` [sisyphus] Re: [JT] SELinux Dmitry V. Levin
2005-05-03 13:46 ` [JT][sisyphus] PAM_MOUNT Alexander Bokovoy
2005-05-10 18:10 ` Eugene Ostapets
2005-05-10 18:34 ` Michael Shigorin
2005-05-10 19:55 ` Eugene Ostapets
2005-05-11 9:51 ` [sisyphus] 3.0, UTF и другие (was: [JT] PAM_MOUNT) Michael Shigorin
2005-05-11 10:01 ` Eugene Ostapets
2005-05-11 10:22 ` [JT][sisyphus] PAM_MOUNT Led
2005-05-11 11:17 ` Andrei Bulava
2005-05-11 11:29 ` Sviataslau Svirydau
2005-05-11 11:45 ` Michael Shigorin
2005-05-11 11:46 ` Sviataslau Svirydau
2005-05-11 11:58 ` Led
2005-05-11 11:57 ` Led
2005-05-12 11:55 ` Alexander Bokovoy
2005-05-12 12:31 ` Led
2005-05-12 12:37 ` Alexander Bokovoy
2005-05-12 11:53 ` Alexander Bokovoy
2005-05-12 12:22 ` cifsmount (was: Re: [sisyphus] PAM_MOUNT) Andrei Bulava
2005-05-12 12:36 ` Alexander Bokovoy
2005-05-15 8:37 ` [JT][sisyphus] PAM_MOUNT Денис Смирнов
2005-05-12 11:46 ` Alexander Bokovoy
2005-05-12 18:54 ` Eugene Ostapets
2005-04-27 18:29 ` [JT][sisyphus] SELinux (was PAM_MOUNT) Konstantin A. Lepikhov
2005-04-27 18:44 ` [JT][sisyphus] SELinux Eugene Ostapets
2005-04-26 10:29 ` Anton D. Kachalov [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=20050426102943.GA22747@lrn.ru \
--to=mouse@altlinux.org \
--cc=boldin.pavel@gmail.com \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git