693 lines
25 KiB
RPMSpec
693 lines
25 KiB
RPMSpec
#
|
|
# spec file for package man (Version 2.5.1)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: man
|
|
BuildRequires: flex groff
|
|
%if %suse_version > 1020
|
|
BuildRequires: gdbm-devel less libbz2-devel libzio-devel zlib-devel
|
|
%else
|
|
BuildRequires: libzio util-linux
|
|
%endif
|
|
%if %suse_version > 1030
|
|
BuildRequires: gettext-runtime gettext-tools
|
|
%else
|
|
BuildRequires: gettext gettext-devel
|
|
%endif
|
|
Version: 2.5.1
|
|
Release: 9
|
|
Summary: A Program for Displaying man Pages
|
|
License: GPL v2 or later
|
|
Url: https://savannah.nongnu.org/projects/man-db
|
|
Group: System/Base
|
|
PreReq: coreutils fillup
|
|
Provides: man_db
|
|
Requires: groff >= 1.18 less
|
|
AutoReqProv: on
|
|
Source: man-db-%{version}.tar.bz2
|
|
Source1: sysconfig.cron-man
|
|
Source2: cron.daily.do_mandb
|
|
Source3: cron.daily.clean_catman
|
|
Source4: mancoding
|
|
Patch0: man-db-%{version}.dif
|
|
Patch1: man-db_%{version}-3.diff.bz2
|
|
Patch2: man-db-2.3.19deb4.0-groff.dif
|
|
Patch4: man-db-2.4.3-section.dif
|
|
Patch5: man-db-%{version}-security4.dif
|
|
Patch6: man-db-2.4.3-firefox.dif
|
|
Patch7: man-db-%{version}-chinese.dif
|
|
Patch8: man-db-%{version}-globbing.dif
|
|
Patch9: man-db-%{version}-zio.dif
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%global _sysconfdir /etc
|
|
|
|
%description
|
|
A program for displaying man pages on the screen or sending them to a
|
|
printer (using groff).
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
G. Wilford <G.Wilford@ee.surrey.ac.uk>
|
|
Fabrizio Polacco <fpolacco@debian.org>
|
|
Colin Watson <cjwatson@debian.org>
|
|
|
|
%prep
|
|
%setup -n man-db-%{version}
|
|
%patch1 -p1 -b .debian
|
|
%patch2 -p0 -b .groff
|
|
%patch4 -p0 -b .sect
|
|
%patch5 -p0 -b .secu4
|
|
%patch6 -p0 -b .firefox
|
|
%patch7 -p0 -b .chinese
|
|
%patch8 -p0 -b .globbing
|
|
%patch9 -p0 -b .zio
|
|
%patch -p0
|
|
|
|
%build
|
|
%{?suse_update_config:%{suse_update_config -f tools }}
|
|
%if %suse_version > 1030
|
|
gettextize --force --copy --no-changelog
|
|
%endif
|
|
SEC=(0 1 n l 8 3 2 5 4 9 6 7
|
|
1x 3x 4x 5x 6x 8x
|
|
1bind 3bind 5bind 7bind 8bind
|
|
1cn 8cn
|
|
1m 1mh 5mh 8mh
|
|
1netpbm 3netpbm 5netpbm
|
|
0p 1p 3p 3posix
|
|
1pgsql 3pgsql 5pgsql
|
|
3C++ 8C++
|
|
3blt
|
|
3curses 3ncurses 3form 3menu
|
|
3db 3gdbm 3f 3gk 3paper
|
|
3mm 5mm
|
|
3perl 3pm 3pq
|
|
3qt 3pub 3readline
|
|
1ssl 3ssl 5ssl 7ssl
|
|
3t 3tk 3tcl 3tclx 3tix
|
|
7l 7nr
|
|
8c
|
|
Cg g s m)
|
|
SEC="${SEC[@]}"
|
|
rm -f configure
|
|
CFLAGS="${RPM_OPT_FLAGS} -funroll-loops -pipe -D_GNU_SOURCE -D_SVID_SOURCE -Wall"
|
|
LDFLAGS=
|
|
LIBS=
|
|
export CFLAGS LDFLAGS LIBS
|
|
%if %suse_version > 1030
|
|
aclocal -I ${PWD}/m4 -I ${PWD}/gnulib/m4
|
|
autoconf -B ${PWD}/m4 -B ${PWD}/gnulib/m4
|
|
%else
|
|
sed -ri 's/(m4_PACKAGE_VERSION,[[:blank:]]*\[)2.61(\])/\12.60\2/' aclocal.m4
|
|
sed -ri 's/(AM_INIT_AUTOMAKE\(\[)1.10/\11.9.6/' configure.ac
|
|
sed -ri 's/intl//' Makefile.am
|
|
aclocal -I ${PWD}/m4 -I ${PWD}/gnulib/m4
|
|
autoconf -B ${PWD}/m4 -B ${PWD}/gnulib/m4
|
|
mkdir -p tools
|
|
touch tools/compile
|
|
export MKDIR_P="mkdir -p"
|
|
%endif
|
|
./configure \
|
|
--enable-dups \
|
|
--enable-setuid=man \
|
|
--with-device=utf8 \
|
|
--prefix=%{_prefix} \
|
|
--mandir=%{_mandir} \
|
|
--localstatedir=%{_localstatedir} \
|
|
--libexecdir=%{_prefix}/lib \
|
|
--with-zio \
|
|
--with-gnu-ld \
|
|
--disable-rpath \
|
|
--enable-mb-groff \
|
|
--with-db=gdbm \
|
|
--enable-nls \
|
|
--with-config-file=%{_sysconfdir}/manpath.config \
|
|
--without-included-gettext \
|
|
--with-sections="${SEC}"
|
|
make nls=all
|
|
for man in $(find man/ -type f -a -name '*.man[0-9]'); do
|
|
pp="$(head -n 1 $man)"
|
|
case "$pp" in
|
|
\'\\\"*\ -\*-\ coding:\ *\ -\*-)
|
|
continue
|
|
;;
|
|
\'\\\"*)
|
|
sed -ri "1{ s/('\\\\\".*)/\\1 -\*- coding: UTF-8 -\*-/ }" $man
|
|
;;
|
|
*)
|
|
sed -ri "1 i\
|
|
'\\\\\" -\*- coding: UTF-8 -\*-\
|
|
" $man
|
|
esac
|
|
done
|
|
|
|
%install
|
|
%if %suse_version <= 1030
|
|
export MKDIR_P="mkdir -p"
|
|
%endif
|
|
rm -rf %{buildroot}%{_localstatedir}/cache/man
|
|
mkdir -p %{buildroot}%{_prefix}/lib/man-db
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
mkdir -p %{buildroot}/etc
|
|
make nls=all install DESTDIR=%{buildroot}
|
|
if test -x %{buildroot}%{_bindir}/wrapper ; then
|
|
rm -f %{buildroot}%{_bindir}/mandb
|
|
rm -f %{buildroot}%{_bindir}/man
|
|
mv %{buildroot}%{_bindir}/wrapper %{buildroot}%{_bindir}/mandb
|
|
ln -sf mandb %{buildroot}%{_bindir}/man
|
|
fi
|
|
mkdir -p %{buildroot}%{_mandir}
|
|
pushd %{buildroot}%{_mandir}/
|
|
rm -rf *.ascii/
|
|
for d in *.UTF-8 ; do
|
|
find -name '*.[1-9nlop]' | xargs gzip -9f
|
|
done
|
|
for d in `find -name manpath.5.gz -printf '%%h '` ; do
|
|
ln -sf manpath.5.gz $d/manpath.config.5.gz
|
|
done
|
|
popd
|
|
install -m 644 src/man_db.conf %{buildroot}%{_sysconfdir}/manpath.config
|
|
sh ./mk_catdirs %{buildroot}
|
|
mkdir -p %{buildroot}%{_datadir}/groff/site-tmac
|
|
install -m 0644 groff/tmac.andb %{buildroot}%{_datadir}/groff/site-tmac/
|
|
install -m 0644 groff/tmac.andocdb %{buildroot}%{_datadir}/groff/site-tmac/
|
|
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
|
|
mkdir -p %{buildroot}/etc/cron.daily
|
|
install -m 0644 %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates
|
|
install -m 0744 %{SOURCE2} %{buildroot}/etc/cron.daily/suse-do_mandb
|
|
install -m 0744 %{SOURCE3} %{buildroot}/etc/cron.daily/suse-clean_catman
|
|
%find_lang man-db --all-name
|
|
|
|
%pre
|
|
test -d var/catman/ && rm -rf var/catman/ || true
|
|
|
|
%post
|
|
%{fillup_only -an cron}
|
|
|
|
%files -f man-db.lang
|
|
%defattr(-,root,root)
|
|
%config /etc/manpath.config
|
|
%attr(0744,root,root) /etc/cron.daily/suse-clean_catman
|
|
%attr(0744,root,root) /etc/cron.daily/suse-do_mandb
|
|
%{_bindir}/apropos
|
|
%{_bindir}/catman
|
|
%{_bindir}/lexgrog
|
|
%if %suse_version > 1030
|
|
%attr(0755,root,root) %{_bindir}/man
|
|
%attr(0755,root,root) %{_bindir}/mandb
|
|
%else
|
|
%attr(4755,root,root) %{_bindir}/man
|
|
%attr(4755,root,root) %{_bindir}/mandb
|
|
%endif
|
|
%{_bindir}/manpath
|
|
%{_bindir}/whatis
|
|
%{_bindir}/zsoelim
|
|
%if %suse_version > 1030
|
|
%dir %attr(0755,root,root) %{_prefix}/lib/man-db
|
|
%attr(0755,root,root) %{_prefix}/lib/man-db/man
|
|
%attr(0755,root,root) %{_prefix}/lib/man-db/mandb
|
|
%attr(0755,man,man) %{_prefix}/lib/man-db/manconv
|
|
%attr(0755,man,man) %{_prefix}/lib/man-db/globbing
|
|
%else
|
|
%dir %attr(0711,root,root) %{_prefix}/lib/man-db
|
|
%attr(0711,root,root) %{_prefix}/lib/man-db/man
|
|
%attr(0711,root,root) %{_prefix}/lib/man-db/mandb
|
|
%attr(0711,man,man) %{_prefix}/lib/man-db/manconv
|
|
%attr(0711,man,man) %{_prefix}/lib/man-db/globbing
|
|
%endif
|
|
%{_sbindir}/accessdb
|
|
%{_datadir}/groff/site-tmac/tmac.andb
|
|
%{_datadir}/groff/site-tmac/tmac.andocdb
|
|
%dir %{_mandir}/de
|
|
%dir %{_mandir}/de/man1
|
|
%doc %{_mandir}/de/man1/*.1.gz
|
|
%dir %{_mandir}/de/man5
|
|
%doc %{_mandir}/de/man5/*.5.gz
|
|
%dir %{_mandir}/de/man8
|
|
%doc %{_mandir}/de/man8/*.8.gz
|
|
%dir %{_mandir}/es
|
|
%dir %{_mandir}/es/man1
|
|
%doc %{_mandir}/es/man1/*.1.gz
|
|
%dir %{_mandir}/es/man5
|
|
%doc %{_mandir}/es/man5/*.5.gz
|
|
%dir %{_mandir}/es/man8
|
|
%doc %{_mandir}/es/man8/*.8.gz
|
|
%dir %{_mandir}/fr
|
|
%dir %{_mandir}/fr/man1
|
|
%doc %{_mandir}/fr/man1/*.1.gz
|
|
%dir %{_mandir}/fr/man5
|
|
%doc %{_mandir}/fr/man5/*.5.gz
|
|
%dir %{_mandir}/fr/man8
|
|
%doc %{_mandir}/fr/man8/*.8.gz
|
|
%dir %{_mandir}/it
|
|
%dir %{_mandir}/it/man1
|
|
%doc %{_mandir}/it/man1/*.1.gz
|
|
%dir %{_mandir}/it/man5
|
|
%doc %{_mandir}/it/man5/*.5.gz
|
|
%dir %{_mandir}/it/man8
|
|
%doc %{_mandir}/it/man8/*.8.gz
|
|
%dir %{_mandir}/ja
|
|
%dir %{_mandir}/ja/man1
|
|
%doc %{_mandir}/ja/man1/*.1.gz
|
|
%dir %{_mandir}/ja/man5
|
|
%doc %{_mandir}/ja/man5/*.5.gz
|
|
%dir %{_mandir}/ja/man8
|
|
%doc %{_mandir}/ja/man8/*.8.gz
|
|
%doc %{_mandir}/man1/*.1.gz
|
|
%doc %{_mandir}/man5/*.5.gz
|
|
%doc %{_mandir}/man8/*.8.gz
|
|
%defattr(-,man,man)
|
|
%{_localstatedir}/cache/man/*
|
|
%{_localstatedir}/adm/fillup-templates/sysconfig.cron-man
|
|
|
|
%changelog
|
|
* Tue May 13 2008 werner@suse.de
|
|
- Avoid tab stops in section names
|
|
* Wed Apr 23 2008 werner@suse.de
|
|
- Use speedup for bnc#381830 only in mandb as man would be break
|
|
- Avoid trouble with -Wl,--as-needed therefore fore -lbz2 and -lz
|
|
* Tue Apr 22 2008 werner@suse.de
|
|
- Make libzio interface smarter, that is if used only for simple
|
|
decompression do not use a pipe (saves 30%% mandb run time)
|
|
(bnc#381830)
|
|
- Make cron.daily.do_mandb smarter, that is check if anything
|
|
has changes in the global manual paths that needs to run mandb
|
|
(bnc#381830)
|
|
- Update to bug fix version 2.5.1
|
|
* The manual is now built automatically, avoiding some ordering
|
|
problems on 'make distclean'.
|
|
* Manual pages are converted to the proper input encoding for troff
|
|
output as well as nroff output.
|
|
* The -t, -T, -X, and -Z options to man work again; in 2.5.0, they
|
|
read input from stdin rather than from the manual page.
|
|
* apropos and whatis no longer segfault when given an explicit
|
|
locale using -L.
|
|
* man now understands that groff's ascii device takes ASCII input,
|
|
not ISO-8859-1.
|
|
* man no longer discards stderr when writing to a file or a pipe;
|
|
this was broken by an overenthusiastic change in 2.5.0.
|
|
* manconv now falls back to the next encoding in its list if any
|
|
characters in an entire 64KB block fail to decode using the
|
|
current encoding, as was originally intended.
|
|
* manconv is more careful about extracting coding: directives from
|
|
manual pages.
|
|
* Ctrl-C and Ctrl-\ now work again at the prompt issued by 'man -a'.
|
|
* There is a new --with-sections configure option to change the
|
|
default value of SECTION in the configuration file.
|
|
* Automake is now used to generate Makefiles. Among other things,
|
|
this fixes VPATH builds and some bugs in dependency generation,
|
|
and should allow building with non-GNU versions of make.
|
|
* man-db now uses the Gnulib portability library, allowing the
|
|
removal of earlier haphazard portability code. While this results
|
|
in a somewhat larger source distribution, it makes man-db easier
|
|
to maintain and should make it easier to build on systems to which
|
|
the maintainer does not have access.
|
|
* In the process of switching to Gnulib, the last vestiges of
|
|
pre-C89 support have been removed; they were documented to be
|
|
broken anyway.
|
|
* If the MANROFFOPT environment variable is set, man now appends its
|
|
value to the *roff command line.
|
|
* man now accepts a --recode option to output a source manual page
|
|
converted to a specified encoding.
|
|
* For compatibility with System V, man accepts -s as an alias for
|
|
-S, and permits sections to be comma-separated as well as
|
|
colon-separated.
|
|
* man now accepts a --warnings option to enable groff warnings.
|
|
* Tue Feb 26 2008 werner@suse.de
|
|
- Ensure to find local manual pages even in sub directories
|
|
* Wed Jan 30 2008 werner@suse.de
|
|
- Make mandb cron job ionice bnc#356792
|
|
- Avoid assert on wrong locale man path
|
|
- Do mix bits of get_catpath() with hash tags in man db files
|
|
* Fri Jan 18 2008 mkoenig@suse.de
|
|
- Fix path in sysconfig.cron-man [#350542]
|
|
* Mon Jan 07 2008 werner@suse.de
|
|
- Remove suid root from wrapper as we do not cache manual page
|
|
anymore (bug #351988)
|
|
* Thu Dec 13 2007 werner@suse.de
|
|
- Add workaround for gettext 0.17
|
|
* Mon Dec 10 2007 werner@suse.de
|
|
- Update to man-db 2.5.0-4
|
|
* No temporary files anymore due usage of pipes
|
|
* Our libzio patch is simply to add due this new API
|
|
* Better UTF-8 support
|
|
* Disable straycats for now
|
|
- Add sample script mancoding to show how to use encoding tag
|
|
* Wed Sep 19 2007 werner@suse.de
|
|
- Be sure that e.g. /usr/share/man/man3p/open.3p.gz is found before
|
|
/usr/share/man/man3/open.3pm.gz by "man 3p open" (bug #310498)
|
|
* Fri Jul 27 2007 mfabian@suse.de
|
|
- change BuildRequires to make it build in the openSUSE build
|
|
service for versions <= 10.2 as well.
|
|
* Thu Jul 26 2007 mfabian@suse.de
|
|
- Bugzilla #292412 comment #47: accept both UTF-8 an legacy
|
|
encodings in the man-page sources for Japanese and Chinese
|
|
as well.
|
|
* Wed Jul 25 2007 mfabian@suse.de
|
|
- Bugzilla #292412 comment #30 and #39: improve Chinese patch.
|
|
- use %%find_lang macro
|
|
* Thu Jul 19 2007 werner@suse.de
|
|
- Add Chinese support to man (bug #292412)
|
|
* Wed Jul 18 2007 werner@suse.de
|
|
- Add workaround for html browsers which do their job in
|
|
background: do not remove the temporary files to fast (#280613)
|
|
- Update to debain patch level 6 which
|
|
* includes bug fix for CVE-2006-4250 (bug #262747)
|
|
* includes french manual pages
|
|
* Tue Apr 17 2007 werner@suse.de
|
|
- Fix heap buffer overflow (CVE-2006-4250, bug #262747)
|
|
* Mon Mar 26 2007 rguenther@suse.de
|
|
- Add libbz2-devel and libzio-devel BuildRequires
|
|
* Wed Mar 21 2007 rguenther@suse.de
|
|
- Remove unused util-linux BuildRequires, added less, zlib-devel
|
|
and gdbm-devel BuildRequires
|
|
* Thu Feb 15 2007 werner@suse.de
|
|
- Remove not used path elements (X11R6, openwin, allman) (#245692)
|
|
* Fri Feb 09 2007 werner@suse.de
|
|
- Make it build without root privileges, loosing time for texlive
|
|
* Mon Jan 29 2007 sbrabec@suse.cz
|
|
- Removed references to /opt/gnome.
|
|
* Mon Sep 04 2006 rguenther@suse.de
|
|
- Remove unused sharutils dependency.
|
|
* Mon Sep 04 2006 rguenther@suse.de
|
|
- Remove lynx build dependency. Set default for AC_PATH_PROG for
|
|
lynx to /usr/bin/lynx.
|
|
* Mon Aug 07 2006 werner@suse.de
|
|
- Make it work even with new gettext package
|
|
* Thu Aug 03 2006 sndirsch@suse.de
|
|
- read also manual pages in man4x subdirectories; required for
|
|
conflicting 'mouse' manual page and i810 driver manual page,
|
|
which has been moved to man4x directory
|
|
* Wed Jun 14 2006 werner@suse.de
|
|
- Update to man-db 2.4.3 patchlevel 3 to get the first part of bug
|
|
[#183796] fixed.
|
|
- Change lex scanner to set sperator ony onece per whatis/apropos
|
|
line to get second part of bug #183796 fixed
|
|
- Support several language types/locations
|
|
- Do not fail on verbatim macro of perl man pages on whatis/apropos
|
|
- Do not fail on DOS formated manual pages on whatis/apropos
|
|
* Fri Apr 07 2006 werner@suse.de
|
|
- Do not reset terminal if stdout is not a tty (bug #152793)
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Fri Jan 13 2006 schwab@suse.de
|
|
- Don't strip binaries.
|
|
* Wed Dec 14 2005 werner@suse.de
|
|
- Make cron job files word readable (bug #138549)
|
|
* Tue Dec 13 2005 werner@suse.de
|
|
- Add section 0 for header files
|
|
* Wed Jun 01 2005 kukuk@suse.de
|
|
- Make cron.daily script names LSB conform
|
|
* Thu Feb 10 2005 mfabian@suse.de
|
|
- Bugzilla #50694: add another request to tmac.andocdb:
|
|
". char ` \N'96'"
|
|
makes sure U+0060 (GRAVE ACCENT) doesn't get replaced by
|
|
U+2018 (LEFT SINGLE QUOTATION MARK)
|
|
* Wed Sep 22 2004 werner@suse.de
|
|
- Use safe-rm for deleting straycats (bug #45612, comment #14)
|
|
* Thu Sep 09 2004 werner@suse.de
|
|
- Be ready for flex-2.5.31
|
|
* Wed Apr 21 2004 werner@suse.de
|
|
- Use libzio together with zlib and libbz2 to support bz2 manual
|
|
pages to avoids pipe()/fork()/execve() calls in mandb/man.
|
|
* Tue Mar 16 2004 werner@suse.de
|
|
- Activate path for bug #35821 due its fixed now.
|
|
* Fri Mar 12 2004 werner@suse.de
|
|
- Be prepared for bug #35821
|
|
* Thu Sep 04 2003 werner@suse.de
|
|
- It seems that basename(3) results shouldn't be freed even if
|
|
the manual page says they should. (bug #30093)
|
|
* Fri Aug 29 2003 werner@suse.de
|
|
- Add workaround for less using xselection even if no -A is
|
|
specified for bug #29612. Nevertheless less has to be fixed.
|
|
* Wed Aug 20 2003 werner@suse.de
|
|
- Update to 2.4.1-13 security only, due missed fixes in previous
|
|
patches.
|
|
* Fri Aug 15 2003 kukuk@suse.de
|
|
- Use same permissions for man/mandb as in permissions package
|
|
* Thu Aug 07 2003 werner@suse.de
|
|
- YaSP: Added more security
|
|
- Ensure that no version conflict happens during db purge (#28414)
|
|
* Fri Jul 11 2003 werner@suse.de
|
|
- Update to 2.4.1-10
|
|
- Security fix: create the temporary database exclusive
|
|
* Mon Jul 07 2003 werner@suse.de
|
|
- Security fix (bug #27474)
|
|
* Fri Jun 20 2003 ro@suse.de
|
|
- fix build with current gettext
|
|
* Thu Jun 12 2003 olh@suse.de
|
|
- disable sync call in install section
|
|
* Thu Jun 12 2003 kukuk@suse.de
|
|
- /var/cache/man is part of filesystem
|
|
* Fri Jan 17 2003 mfabian@suse.de
|
|
- add another request to tmac.andocdb: ". char ' \N'39'"
|
|
makes sure U+0027 (APOSTROPHE) doesn't get replaced by
|
|
U+2019 (RIGHT SINGLE QUOTATION MARK)
|
|
* Sun Jan 12 2003 mfabian@suse.de
|
|
- fix header of de.po to enable gettext to convert to locale
|
|
encoding
|
|
- fix and update some translations in de.po
|
|
* Wed Jan 08 2003 werner@suse.de
|
|
- bug #22628 -- add missed meta data within sysconfig file
|
|
* Mon Dec 02 2002 werner@suse.de
|
|
- Make compress local manuals work if placed in a writable dir for
|
|
the user man (bug #22215).
|
|
* Fri Oct 11 2002 mfabian@suse.de
|
|
- add another request to tmac.andocdb similar to the one
|
|
in the last changelog entry to make the regular minus '-'
|
|
(without backslash) get rendered as U+002D (HYPHEN-MINUS)
|
|
in man-pages as well.
|
|
* Fri Sep 06 2002 mfabian@suse.de
|
|
- add the two lines
|
|
.if '\*[.T]'utf8' \
|
|
. char \- \N'45'
|
|
to /usr/share/groff/site-tmac/tmac.andocdb in order to get
|
|
U+002D (HYPHEN-MINUS) instead of U+2212 (MINUS SIGN) as the
|
|
minus sign in front of options in man-pages rendered in UTF-8
|
|
locales. U+2212 (MINUS SIGN) makes searching in man-pages for
|
|
options unnecessarily difficult.
|
|
* Fri Aug 23 2002 werner@suse.de
|
|
- Use LESSCHARSET=japanese-euc for japanese to support even konsole
|
|
(bug #18222)
|
|
* Fri Aug 16 2002 werner@suse.de
|
|
- Add PreReq (bug #17927)
|
|
* Wed Jul 31 2002 poeml@suse.de
|
|
- add ssl to the list of man sections (bug #17239)
|
|
* Sat Jul 27 2002 adrian@suse.de
|
|
- fix neededforbuild
|
|
* Wed Jun 05 2002 ro@suse.de
|
|
- run suse_update_config for subdir tools
|
|
* Fri May 10 2002 werner@suse.de
|
|
- Use buildroot (fix bug #12158)
|
|
- Don't cache utf8 formatted man pages (fix bug #16067)
|
|
* Thu Apr 04 2002 ro@suse.de
|
|
- fix for autoconf LIBOBJS vs AC_LIBOBJ
|
|
* Wed Mar 27 2002 werner@suse.de
|
|
- Add space between grep command and its options for whatis
|
|
text file fallback.
|
|
* Thu Mar 14 2002 werner@suse.de
|
|
- Use nroff asci8 character set for korean (nippon does not work).
|
|
* Wed Feb 06 2002 ro@suse.de
|
|
- sysconfig/cron_daily -> sysconfig/cron
|
|
* Thu Jan 31 2002 werner@suse.de
|
|
- Add security patch from Olaf Kirch
|
|
* Thu Jan 31 2002 ro@suse.de
|
|
- moved cron.daily scripts do_mandb and clean_catman to this pkg
|
|
* Fri Jan 11 2002 werner@suse.de
|
|
- Add security patch from Thomas Biege
|
|
* Thu Dec 20 2001 werner@suse.de
|
|
- Check existence of user man
|
|
* Tue Sep 25 2001 werner@suse.de
|
|
- Close nonsens bug report #9419
|
|
* Tue Sep 18 2001 werner@suse.de
|
|
- Avoid possible crash in mandb
|
|
* Fri Aug 31 2001 werner@suse.de
|
|
- I vote to remove strtok() from ANSI-C: Use strsep() within
|
|
pathappend() because thew calling function add_nls_manpath()
|
|
uses strtok().
|
|
* Wed Aug 29 2001 werner@suse.de
|
|
- More work on the whatis data base storage
|
|
* Tue Aug 28 2001 werner@suse.de
|
|
- Whatis: Avoid error messages caused by buggy manual pages
|
|
to see the wrong man pages one may use -v for verbose
|
|
* Thu Aug 16 2001 werner@suse.de
|
|
- Global UTF-8 handling instead of two different ways
|
|
* Wed Aug 15 2001 werner@suse.de
|
|
- Better UTF-8 man page handling: use curent locale even if we
|
|
overwrite man page locale.
|
|
- Sometime there is no man page path for local man page files,
|
|
therefore force language if not found.
|
|
* Mon Aug 13 2001 werner@suse.de
|
|
- Initialize variable used in lexgrog.l
|
|
* Mon Jul 30 2001 werner@suse.de
|
|
- Update to vesion 2.3.19deb4.0
|
|
- Port libz patch to this version
|
|
- Map UTF-8 man pages to appropiate groff command
|
|
- Make it work
|
|
* Mon Jun 18 2001 bk@suse.de
|
|
- new location of tmac files is /usr/share/groff/site-tmac,
|
|
needed for groff 1.17 and does not work with older versions
|
|
* Thu Jun 07 2001 werner@suse.de
|
|
- Fix autoconf trouble
|
|
* Wed May 16 2001 werner@suse.de
|
|
- Make xcopy more handy (bug#8499)
|
|
* Tue May 15 2001 werner@suse.de
|
|
- Fix segfault on option -S parser
|
|
* Sat Apr 21 2001 schwab@suse.de
|
|
- Fix inapproriate mixing of pointer and integers.
|
|
* Mon Apr 09 2001 werner@suse.de
|
|
- Make it work
|
|
* Fri Apr 06 2001 werner@suse.de
|
|
- Use own tmac groff files to avoid page headers and footers
|
|
on ttys only
|
|
* Tue Mar 20 2001 werner@suse.de
|
|
- Avoid deleting of data bases if we've newer version around
|
|
* Mon Mar 19 2001 werner@suse.de
|
|
- Remove data bases at install time
|
|
* Mon Mar 19 2001 werner@suse.de
|
|
- Update to 2.3.17-3.2
|
|
* Port our patches and bugfixes to this new version
|
|
* Change the wrapper to use setre(r|g)id and use
|
|
this wrapper suid root
|
|
* Thu Feb 08 2001 werner@suse.de
|
|
- Avoid error() call without format
|
|
* Mon Dec 11 2000 werner@suse.de
|
|
- Correct depth level of patch
|
|
* Mon Dec 11 2000 werner@suse.de
|
|
- Make `setlocale'zing more reliable accordingly to Andreas
|
|
Jaeger.
|
|
* Sat Dec 09 2000 mfabian@suse.de
|
|
- replaced all setlocale(LC_MESSAGES,"") with
|
|
setlocale(LC_MESSAGES,"") *and* setlocale(LC_CTYPE,"").
|
|
After the upgrade to Glibc 2.2, 8 bit characters in the
|
|
French, Czech, and Japanese messages were displayed as "?".
|
|
Changing the setlocale calls in the above way fixed it.
|
|
Messages in all languages now display correctly again.
|
|
First I replaced all setlocale(LC_MESSAGES,"") by
|
|
setlocale(LC_ALL,""), but this causes problems. In that case,
|
|
the messages display correctly, but "LANG=ja_JP man man"
|
|
incorrectly displays the English manpage. Strange.
|
|
When using both setlocale(LC_MESSAGES,"") *and*
|
|
setlocale(LC_CTYPE,"") but not setlocale(LC_ALL,""),
|
|
everything seems to work correctly.
|
|
* Wed Dec 06 2000 bk@suse.de
|
|
- added %%dir /usr/share/man/{de,es,it,ja}+man[158] to file list
|
|
* Fri Sep 15 2000 pthomas@suse.de
|
|
- Add 3C++, 3C++std and 8C++ to the list of man sections, the
|
|
Compaq man pages for C++ use these.
|
|
* Thu May 25 2000 werner@suse.de
|
|
- Fix the man path problem (hint from Michael Reichardt
|
|
<mrabuse@adlatus.muc.de>)
|
|
- Make mandir depending on the RPM macro %%_mandir
|
|
- Make zsoemlin zlib interface functions more compatible to cookie
|
|
I/O functions (type changed in new glibc 2.1 and higher)
|
|
* Fri Mar 17 2000 werner@suse.de
|
|
- Make lexgrog knowing the japanese multibyte string of section NAME
|
|
- Make flex use memory aligned tables.
|
|
* Thu Mar 09 2000 werner@suse.de
|
|
- Security fix in straycats: Check if we got a temporary file!
|
|
* Thu Mar 02 2000 ro@suse.de
|
|
- added usr/share/man/allman
|
|
* Tue Dec 14 1999 werner@suse.de
|
|
- New version 2.3.10-69s
|
|
* better NLS support
|
|
- Add all languages to /etc/manpatch.config before english default
|
|
- Make mandb usable only for root (avoid DOS attacks)
|
|
* Fri Nov 26 1999 ro@suse.de
|
|
- printout full path-name on check
|
|
* Fri Nov 26 1999 ro@suse.de
|
|
- patched configure.in to prefer gdbm
|
|
* Mon Sep 13 1999 bs@suse.de
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
|
* Tue Sep 07 1999 ro@suse.de
|
|
- removed (now) conflicting redeclarations from zsoelim.l
|
|
* Thu Sep 02 1999 werner@suse.de
|
|
- Make man.c work again
|
|
- Use RPM_OPT_FLAGS
|
|
* Tue Aug 31 1999 werner@suse.de
|
|
- Few simple changes
|
|
* drop privileges before chdir back into current directory
|
|
* do not search for local man page if not given `-l'
|
|
* Mon Jul 19 1999 bs@suse.de
|
|
- fixed file list (/var/cache/man)
|
|
* Thu Jul 15 1999 werner@suse.de
|
|
- Don't use carriage return but newline in messages.
|
|
* Wed Jul 14 1999 kukuk@suse.de
|
|
- Fix %%pre section (use rm -rf)
|
|
* Mon Jul 12 1999 werner@suse.de
|
|
- Add allman sub tree to fsstnd tree
|
|
* Fri Jul 09 1999 ro@suse.de
|
|
- fixed filelist
|
|
* Wed Jul 07 1999 werner@suse.de
|
|
- Update to debian version 2.3.10-69i
|
|
* Change from /var/catman/ to /var/cache/man/
|
|
* Make /usr/share/man/ possible
|
|
* Buildin NLS support
|
|
- Fix some debian bugs (sig handlers!)
|
|
- Add SuSE bug fixes (sig handler) and zlib feature
|
|
* Thu Jul 01 1999 werner@suse.de
|
|
- First changes for SuSE 6.2
|
|
* Use fopencookie in zsoelim if glibc 2.1 or higher to avoid any
|
|
possible link attack in /tmp/
|
|
* Kill all possible childs (e.g. gunzip) of zsoelim for glibc 2.0
|
|
to be able to unlink the temporary files during signal handling.
|
|
* Use better sig and exit handling
|
|
* Fri Jun 04 1999 werner@suse.de
|
|
- Fix security leak in zsoelim
|
|
- Set sig and exit handler for removing temporary files
|
|
- ToDo: use libz instead of gzip
|
|
* Mon May 03 1999 ro@suse.de
|
|
- removed forgotten debug message
|
|
* Thu Mar 11 1999 werner@suse.de
|
|
- Use -Tlatin1 if eqn is geqn
|
|
- Remove the index.bt's in /var/catman before being installed
|
|
- Support stupid manual pages using .\" instead of '\" for
|
|
preprocessor cockies
|
|
* Thu Mar 11 1999 werner@suse.de
|
|
- Use db2 if available
|
|
* Wed Mar 10 1999 werner@suse.de
|
|
- Work around of a buffer/pointer cludge of strncat and strncpy
|
|
(glibc/axp)
|
|
- Make CAT_FILE work
|
|
- ToDo: libdb1 is broken on axp
|
|
* Wed Feb 10 1999 werner@suse.de
|
|
- Fix the SIGHUP/SIGTERM bug
|
|
- Use seteuid for LINUX_VERSION_CODE >= ((1<<16)+(1<<8)+37)
|
|
- Remove temp files for man -l even if signaled
|
|
- Fix some more possible SIGSEGV's
|
|
* Tue Sep 29 1998 ro@suse.de
|
|
- restarted from stable-man:
|
|
use usr/include/db1 and libdb1 for db lib
|
|
added HAVE_STRSEP to include/config.h.in (this file is broken)
|
|
libdb/Makefile.in, src/Makefile.in : removed -I- from CFLAGS
|
|
* Fri Aug 07 1998 bs@suse.de
|
|
- added catman dirs for es, fr & it to file list.
|
|
* Thu Aug 06 1998 bs@suse.de
|
|
- added es, fr & it.
|
|
* Wed Jul 15 1998 bs@suse.de
|
|
- fixed /usr/man/allman/de
|
|
* Thu Apr 23 1998 werner@suse.de
|
|
- Fix preprocessor handling:
|
|
was missed since libz was used instead of gzip -dc
|
|
* Thu Mar 19 1998 werner@suse.de
|
|
- Use lib(g)z for mandb
|
|
* no temporary nroff files for parsing of the manual pages
|
|
* handle only the first 4096 bytes from the first .SH down
|
|
* now zsoelim gets the gezipped man page without extension
|
|
instead a temporary nroff file
|
|
* extend lexgrog.l-2.4a to catch most pages as possible
|
|
* add -funroll-loop to the compile options, use -O2
|
|
* Fri Jun 06 1997 bs@suse.e
|
|
- added allman stuff
|