mirror of
https://abf.rosa.ru/djam/pam.git
synced 2025-02-23 16:32:51 +00:00
regenerate mans; use html2text instead of w3m
This commit is contained in:
parent
2920bf9f9d
commit
020707d1d5
2 changed files with 25 additions and 8 deletions
14
pam-1.1.8-browser.patch
Normal file
14
pam-1.1.8-browser.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- a/configure.in.old 2013-09-18 16:30:13.000000000 +0400
|
||||||
|
+++ b/configure.in 2015-01-21 19:36:59.000000000 +0300
|
||||||
|
@@ -552,9 +552,9 @@
|
||||||
|
JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
|
||||||
|
[DocBook XSL Stylesheets], [], enable_docu=no)
|
||||||
|
|
||||||
|
-AC_PATH_PROG([BROWSER], [w3m])
|
||||||
|
+AC_PATH_PROG([BROWSER], [html2text])
|
||||||
|
if test ! -z "$BROWSER"; then
|
||||||
|
- BROWSER="$BROWSER -T text/html -dump"
|
||||||
|
+ BROWSER="$BROWSER"
|
||||||
|
else
|
||||||
|
enable_docu=no
|
||||||
|
fi
|
17
pam.spec
17
pam.spec
|
@ -83,12 +83,14 @@ Patch701: pam-1.1.0-console-nopermsd.patch
|
||||||
# (proyvind): add missing constant that went with rpc removal from glibc 2.14
|
# (proyvind): add missing constant that went with rpc removal from glibc 2.14
|
||||||
Patch702: Linux-PAM-1.1.4-add-now-missing-nis-constant.patch
|
Patch702: Linux-PAM-1.1.4-add-now-missing-nis-constant.patch
|
||||||
|
|
||||||
# (akdengi> add user to default group users which need for Samba
|
# (akdengi) add user to default group users which need for Samba
|
||||||
Patch801: Linux-PAM-1.1.4-group_add_users.patch
|
Patch801: Linux-PAM-1.1.4-group_add_users.patch
|
||||||
Patch802: pam-CVE-2014-2583.patch
|
Patch802: pam-CVE-2014-2583.patch
|
||||||
Patch803: pam-CVE-2013-7041.patch
|
Patch803: pam-CVE-2013-7041.patch
|
||||||
|
|
||||||
Patch804: pam-1.1.8-pbuild.patch
|
Patch804: pam-1.1.8-pbuild.patch
|
||||||
|
# (din) use html2text instead of w3m
|
||||||
|
Patch805: pam-1.1.8-browser.patch
|
||||||
|
|
||||||
BuildRequires: selinux-devel >= 2.1.6-7
|
BuildRequires: selinux-devel >= 2.1.6-7
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
@ -104,6 +106,8 @@ BuildRequires: libaudit-devel
|
||||||
BuildRequires: glibc-crypt_blowfish-devel
|
BuildRequires: glibc-crypt_blowfish-devel
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: pkgconfig(libtirpc)
|
BuildRequires: pkgconfig(libtirpc)
|
||||||
|
BuildRequires: db-devel
|
||||||
|
BuildRequires: html2text
|
||||||
%if %with_prelude
|
%if %with_prelude
|
||||||
BuildRequires: prelude-devel >= 0.9.0
|
BuildRequires: prelude-devel >= 0.9.0
|
||||||
%else
|
%else
|
||||||
|
@ -181,12 +185,6 @@ mv pam-redhat-%{pam_redhat_version}/* modules
|
||||||
|
|
||||||
install -m644 %{SOURCE501} %{SOURCE502} modules/pam_tty_audit/
|
install -m644 %{SOURCE501} %{SOURCE502} modules/pam_tty_audit/
|
||||||
|
|
||||||
#mkdir -p doc/txts
|
|
||||||
#for readme in modules/pam_*/README ; do
|
|
||||||
# cp -f ${readme} doc/txts/README.`dirname ${readme} | sed -e 's|^modules/||'`
|
|
||||||
#done
|
|
||||||
|
|
||||||
#libtoolize -cf
|
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -203,6 +201,11 @@ autoreconf -i
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
mkdir -p doc/txts
|
||||||
|
for readme in modules/pam_*/README ; do
|
||||||
|
cp -f ${readme} doc/txts/README.`dirname ${readme} | sed -e 's|^modules/||'`
|
||||||
|
done
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_includedir}/security
|
mkdir -p %{buildroot}%{_includedir}/security
|
||||||
mkdir -p %{buildroot}/%{_lib}/security
|
mkdir -p %{buildroot}/%{_lib}/security
|
||||||
%makeinstall_std LDCONFIG=:
|
%makeinstall_std LDCONFIG=:
|
||||||
|
|
Loading…
Add table
Reference in a new issue