From: Anton Gorlov <Pnz.Stalker@mail.ru> To: community@altlinux.ru Subject: Re[2]: [Comm] pam_mount Date: Tue, 26 Apr 2005 14:14:27 +0400 Message-ID: <792947084.20050426141427@mail.ru> (raw) In-Reply-To: <426E1133.6060309@elan.com.ua> [-- Attachment #1: Type: text/plain, Size: 1665 bytes --] Здравствуйте, Slava. Вы писали 26 апреля 2005 г., 14:00:19: >>${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? А вот и я этого не знаю. Поэтому и решил спросить здесь. Можно было бы попробовать самому с 0 составить спек...но так как до этого с модулями (pam в данном случае) дела не имел - по сему слабо представляю что и куда раскидывать. Попытался посмотреть на pam_mktemp,pam_userpass и в результате каша ещё хуже в голове. > %__mkdir_p %buildroot%_sysconfdir/security > %__mkdir_p %buildroot%_sysconfdir/selinux/strict/src/policy/macros > %__mkdir_p > %buildroot%_sysconfdir/selinux/strict/src/policy/file_context > Хоть строка и обрезана но наверно так должно быть Ну это я поправлю не под обрезанное... -- С уважением, Anton mailto:Pnz.Stalker@mail.ru [-- Attachment #2: pam_mount.spec.bz2 --] [-- Type: application/octet-stream, Size: 2131 bytes --]
prev parent reply other threads:[~2005-04-26 10:14 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 2005-04-26 10:14 ` Anton Gorlov [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=792947084.20050426141427@mail.ru \ --to=pnz.stalker@mail.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