Hello community,
here is the log from the commit of package man
checked in at Fri Feb 9 16:58:13 CET 2007.
--------
--- man/man.changes 2007-01-29 16:10:05.000000000 +0100
+++ /mounts/work_src_done/STABLE/man/man.changes 2007-02-09 13:18:38.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Feb 9 13:16:35 CET 2007 - werner@suse.de
+
+- Make it build without root privileges, loosing time for texlive
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ man.spec ++++++
--- /var/tmp/diff_new_pack.ce1522/_old 2007-02-09 16:57:56.000000000 +0100
+++ /var/tmp/diff_new_pack.ce1522/_new 2007-02-09 16:57:56.000000000 +0100
@@ -8,11 +8,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+# norootforbuild
Name: man
BuildRequires: flex groff libzio util-linux
Version: 2.4.3
-Release: 33
+Release: 35
Summary: A Program for Displaying man Pages
License: GNU General Public License (GPL)
Group: System/Base
@@ -75,7 +76,7 @@
install -m 0644 %{SOURCE1} ${RPM_BUILD_ROOT}/var/adm/fillup-templates
install -m 0744 %{SOURCE2} ${RPM_BUILD_ROOT}/etc/cron.daily/suse-do_mandb
install -m 0744 %{SOURCE3} ${RPM_BUILD_ROOT}/etc/cron.daily/suse-clean_catman
- Check
+ /usr/sbin/Check
#touch /tmp/estamp; sleep 3; sync
#(
# find / -xdev \( -newer /tmp/bstamp -a \( -not -newer /tmp/estamp \) \) -a \( \
@@ -91,6 +92,7 @@
%{fillup_only -an cron}
%files
+%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
@@ -145,6 +147,8 @@
/var/adm/fillup-templates/sysconfig.cron-man
%changelog -n man
+* 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
++++++ man-db-2.4.3.dif ++++++
--- /var/tmp/diff_new_pack.ce1522/_old 2007-02-09 16:57:57.000000000 +0100
+++ /var/tmp/diff_new_pack.ce1522/_new 2007-02-09 16:57:57.000000000 +0100
@@ -1,6 +1,4 @@
-Index: .pkgextract
-===================================================================
---- /dev/null
+--- .pkgextract
+++ .pkgextract
@@ -0,0 +1,6 @@
+bzcat ../man-db-2.4.3-3.diff.bz2 | patch -p1 -s --suffix=.debian
@@ -9,9 +7,7 @@
+patch -p0 -s --suffix=.sect < ../man-db-2.4.3-section.dif
+patch -p0 -s --suffix=.secu2 < ../man-db-2.4.1-security2.dif
+patch -p0 -s --suffix=.secu4 < ../man-db-2.4.1-security4.dif
-Index: GNUmakefile.in
-===================================================================
---- GNUmakefile.in.orig
+--- GNUmakefile.in
+++ GNUmakefile.in
@@ -35,7 +35,7 @@
# Make targets are: #
@@ -52,11 +48,9 @@
# Maintainers may wish to run 'make -C po update-po' beforehand.
# This is not done automatically, since the .po files are stored
# in revision control.
-Index: Makefile.Linux
-===================================================================
---- /dev/null
+--- Makefile.Linux
+++ Makefile.Linux
-@@ -0,0 +1,71 @@
+@@ -0,0 +1,75 @@
+#
+#
+#
@@ -69,6 +63,7 @@
+#
+
+ARCH = $(shell uname -m | sed 's@\(i\)[34567]\(86\)@\13\2@')
++ID = $(shell id -u)
+CFLAGS = $(RPM_OPT_FLAGS) -funroll-loops -pipe \
+ -D_GNU_SOURCE -D_SVID_SOURCE -Wall
+MANDIR = /usr/share/man
@@ -98,6 +93,7 @@
+install:
+ mkdir -p $(DESTDIR)/usr/lib/man-db
+ mkdir -p $(DESTDIR)/usr/bin
++ mkdir -p $(DESTDIR)/etc
+ make nls=all install $(flags) DESTDIR=$(DESTDIR)
+ { \
+ if test -x $(DESTDIR)/usr/bin/wrapper ; then \
@@ -106,10 +102,12 @@
+ mv $(DESTDIR)/usr/bin/wrapper $(DESTDIR)/usr/bin/mandb; \
+ ln -sf mandb $(DESTDIR)/usr/bin/man; \
+ fi; \
-+ chown root.root $(DESTDIR)/usr/bin/mandb $(DESTDIR)/usr/bin/man; \
-+ chmod 4711 $(DESTDIR)/usr/bin/mandb $(DESTDIR)/usr/bin/man; \
-+ chown root.root $(DESTDIR)/usr/lib/man-db/*; \
-+ chmod 0711 $(DESTDIR)/usr/lib/man-db/*; \
++ if test $(ID) -eq 0 ; then \
++ chown root.root $(DESTDIR)/usr/bin/mandb $(DESTDIR)/usr/bin/man; \
++ chmod 4711 $(DESTDIR)/usr/bin/mandb $(DESTDIR)/usr/bin/man; \
++ chown root.root $(DESTDIR)/usr/lib/man-db/*; \
++ chmod 0711 $(DESTDIR)/usr/lib/man-db/*; \
++ fi; \
+ }
+ { \
+ mkdir -p $(DESTDIR)/usr/share/man ; \
@@ -128,9 +126,7 @@
+ install -m 644 src/man_db.conf $(DESTDIR)/etc/manpath.config
+ sh ./mk_catdirs $(DESTDIR)
+
-Index: config.h.in
-===================================================================
---- config.h.in.orig
+--- config.h.in
+++ config.h.in
@@ -380,6 +380,9 @@
/* Define to 1 if `vfork' works. */
@@ -142,9 +138,7 @@
/* Define to 1 if you have the `__argz_count' function. */
#undef HAVE___ARGZ_COUNT
-Index: configure.in
-===================================================================
---- configure.in.orig
+--- configure.in
+++ configure.in
@@ -10,6 +10,18 @@ AC_CONFIG_HEADER(config.h)
AC_CANONICAL_HOST
@@ -289,9 +283,7 @@
po/Makefile.in)
AC_OUTPUT
-Index: mk_catdirs
-===================================================================
---- /dev/null
+--- mk_catdirs
+++ mk_catdirs
@@ -0,0 +1,24 @@
+#!/bin/sh
@@ -316,11 +308,23 @@
+sync
+cd ${OLDPWD}
+
-+chown man:root -R ${CACHE}
++test "$(id -u)" -ne 0 || chown man:daemon -R ${CACHE}
+
-Index: include/comp_src.h.in
-===================================================================
---- include/comp_src.h.in.orig
+--- include/Defines.in
++++ include/Defines.in 2007-02-09 12:58:18.000000000 +0100
+@@ -97,7 +97,11 @@ DEFAULT_TARGETS = TAGS all install unins
+ debug = @debug@
+ date = @date@
+ version = @VERSION@
++ifeq ($(shell id -u),0)
+ man_install_flags = @man_install_flags@
++else
++man_install_flags = -m 0755
++endif
+
+ # some path definitions required by the manpage Makefile...
+ pager="@pager@"
+--- include/comp_src.h.in
+++ include/comp_src.h.in
@@ -53,7 +53,7 @@ struct compression comp_list[] = {
#endif /* HAVE_GZIP */
@@ -331,9 +335,7 @@
{UNCOMPRESS, "Z", NULL},
#endif /* HAVE_COMPRESS */
-Index: include/manconfig.h.in
-===================================================================
---- include/manconfig.h.in.orig
+--- include/manconfig.h.in
+++ include/manconfig.h.in
@@ -68,7 +68,7 @@
MAN_DB_UPDATES - to allow man to update databases
@@ -415,9 +417,7 @@
#define NOT_FOUND 16 /* No action was taken */
/* System or user catpaths? Allow bitwise disjunctions of these. */
-Index: intl/Makefile.in
-===================================================================
---- intl/Makefile.in.orig
+--- intl/Makefile.in
+++ intl/Makefile.in
@@ -133,7 +133,7 @@ COPYING.LIB-2 gettext.h libgettext.h plu
@@ -428,9 +428,7 @@
all-no-yes: libgnuintl.$la
all-no-no:
-Index: lib/basename.c
-===================================================================
---- lib/basename.c.orig
+--- lib/basename.c
+++ lib/basename.c
@@ -37,11 +37,13 @@
extern char *strrchr();
@@ -447,9 +445,7 @@
return base ? base + 1 : filename;
}
+#endif
-Index: lib/cleanup.c
-===================================================================
---- lib/cleanup.c.orig
+--- lib/cleanup.c
+++ lib/cleanup.c
@@ -101,7 +101,7 @@ trap_signal (int signo, struct sigaction
@@ -460,9 +456,7 @@
return sigaction (signo, &act, oldact);
}
-Index: lib/xmalloc.c
-===================================================================
---- lib/xmalloc.c.orig
+--- lib/xmalloc.c
+++ lib/xmalloc.c
@@ -43,6 +43,8 @@ extern void error (int, int, const char
extern void error ();
@@ -473,9 +467,7 @@
static void *
fixup_null_alloc (size_t n)
{
-Index: libdb/Makefile.in
-===================================================================
---- libdb/Makefile.in.orig
+--- libdb/Makefile.in
+++ libdb/Makefile.in
@@ -34,10 +34,7 @@ include $(top_srcdir)/include/Defines
.PHONY: $(DEFAULT_TARGETS)
@@ -489,9 +481,7 @@
# The default programs to build
ALL = db_store.o db_delete.o db_lookup.o \
-Index: libdb/mydbm.h
-===================================================================
---- libdb/mydbm.h.orig
+--- libdb/mydbm.h
+++ libdb/mydbm.h
@@ -144,7 +144,7 @@ extern __inline__ int btree_nextkeydata(
# define DB_EXT ".bt"
@@ -502,9 +492,7 @@
# define MYDBM_RWOPEN(file) btree_flopen(file, O_RDWR, DBMODE)
# define MYDBM_RDOPEN(file) btree_flopen(file, O_RDONLY, DBMODE)
# define MYDBM_INSERT(dbf, key, cont) btree_insert(dbf, key, cont)
-Index: man/de_DE.88591/man1/man.man1
-===================================================================
---- man/de_DE.88591/man1/man.man1.orig
+--- man/de_DE.88591/man1/man.man1
+++ man/de_DE.88591/man1/man.man1
@@ -98,6 +98,7 @@ der Manualseiten gefolgt vom Typ der dor
.TS
@@ -514,9 +502,7 @@
1@Ausf�hrbare Programme oder Shellbefehle
2@Systemaufrufe (Kernelfunktionen)
3@Bibliotheksaufrufe (Funktionen in System-Bibliotheken)
-Index: man/es_ES.88591/man1/man.man1
-===================================================================
---- man/es_ES.88591/man1/man.man1.orig
+--- man/es_ES.88591/man1/man.man1
+++ man/es_ES.88591/man1/man.man1
@@ -101,6 +101,7 @@ del manual y los tipos de p�ginas que co
.TS
@@ -526,9 +512,7 @@
1@Programas ejecutables y guiones del int�rprete de
@�rdenes
2@Llamadas del sistema (funciones servidas por el n�cleo)
-Index: man/it_IT.88591/man1/man.man1
-===================================================================
---- man/it_IT.88591/man1/man.man1.orig
+--- man/it_IT.88591/man1/man.man1
+++ man/it_IT.88591/man1/man.man1
@@ -104,6 +104,7 @@ del manuale seguiti dai tipi di pagine c
.TS
@@ -538,9 +522,7 @@
1@Programmi eseguibili e comandi della shell
2@Chiamate al sistema (funzioni fornite dal kernel)
3@Chiamate alle librerie (funzioni all'interno delle
-Index: man/ja_JP.eucJP/man1/man.man1
-===================================================================
---- man/ja_JP.eucJP/man1/man.man1.orig
+--- man/ja_JP.eucJP/man1/man.man1
+++ man/ja_JP.eucJP/man1/man.man1
@@ -104,6 +104,7 @@
.TS
@@ -550,9 +532,7 @@
1@�¹ԥץ������ޤ��ϥ�����Υ��ޥ��
2@�����ƥॳ���� (�����ͥ뤬����ؿ�)
3@�饤�֥�ꥳ���� (�����ƥ�饤�֥��˴ޤޤ��ؿ�)
-Index: man/man1/man.man1
-===================================================================
---- man/man1/man.man1.orig
+--- man/man1/man.man1
+++ man/man1/man.man1
@@ -110,6 +110,7 @@ numbers of the manual followed by the ty
.TS
@@ -562,15 +542,7 @@
1@Executable programs or shell commands
2@System calls (functions provided by the kernel)
3@Library calls (functions within program libraries)
-Index: po/stamp-cat-id
-===================================================================
---- /dev/null
-+++ po/stamp-cat-id
-@@ -0,0 +1 @@
-+timestamp
-Index: src/Makefile.in
-===================================================================
---- src/Makefile.in.orig
+--- src/Makefile.in
+++ src/Makefile.in
@@ -40,7 +40,7 @@ include ../include/Defines
@@ -603,9 +575,7 @@
$(INSTALL_PROGRAM) manpath $(DESTDIR)$(bindir)/$(manpath)
$(INSTALL_PROGRAM) catman $(DESTDIR)$(bindir)/$(catman)
$(INSTALL_PROGRAM) whatis $(DESTDIR)$(bindir)/$(whatis)
-Index: src/check_mandirs.c
-===================================================================
---- src/check_mandirs.c.orig
+--- src/check_mandirs.c
+++ src/check_mandirs.c
@@ -161,7 +161,7 @@ void test_manfile (const char *file, con
}
@@ -741,9 +711,7 @@
content = MYDBM_FETCH (dbf, key);
if (!content.dptr)
return count;
-Index: src/compression.c
-===================================================================
---- src/compression.c.orig
+--- src/compression.c
+++ src/compression.c
@@ -60,26 +60,30 @@ extern int errno;
#ifdef COMP_SRC /* must come after manconfig.h */
@@ -818,9 +786,7 @@
+}
+
#endif /* COMP_SRC */
-Index: src/encodings.c
-===================================================================
---- src/encodings.c.orig
+--- src/encodings.c
+++ src/encodings.c
@@ -112,7 +112,7 @@ static struct directory_entry directory_
{ "ru", "KOI8-R", "KOI8-R" }, /* Russian */
@@ -831,9 +797,7 @@
{ NULL, NULL, "NULL" }
};
-Index: src/fake_security.c
-===================================================================
---- src/fake_security.c.orig
+--- src/fake_security.c
+++ src/fake_security.c
@@ -45,6 +45,7 @@ extern int errno;
#include "security.h"
@@ -843,9 +807,7 @@
#ifdef SECURE_MAN_UID
static struct passwd *man_owner;
-Index: src/lexgrog.l
-===================================================================
---- src/lexgrog.l.orig
+--- src/lexgrog.l
+++ src/lexgrog.l
@@ -45,6 +45,10 @@ extern int errno;
# include