- beecrypt: merge changes from beecrypt-2.3.0.
- beecrypt: merge doxygen markup with rpmapi doco.
- beecrypt: revert cpu/arch compile option mixup (#66752).
- - make sure that rpm can verify prelinked shared libraries.
+ - ix86: make sure that rpm can verify prelinked shared libraries.
- don't install /usr/lib/rpm/redhat per-vendor configuration anymore.
+ - add translated man pages from PLD.
4.0.3 -> 4.0.4:
- solaris: translate i86pc to i386 (#57182).
.PHONY: lclint
lclint:
- lclint $(DEFS) $(INCLUDES) rpmqv.c $(rpmb_SOURCES) \
+ lclint -Dlint $(DEFS) $(INCLUDES) rpmqv.c $(rpmb_SOURCES) \
`make -s sources -C build` \
`make -s sources -C lib` \
`make -s sources -C rpmdb` \
`make -s sources -C rpmio` \
`make -s sources -C beecrypt` \
+ `make -s sources -C libelf` \
`make -s sources -C popt`
CVSTAG = r$(subst .,-,$(VERSION))
AC_CHECK_HEADER([libelf/gelf.h], [
AC_DEFINE(HAVE_LIBELF_GELF_H, 1, [Define to 1 if you have the <libelf/gelf.h> header file.])
WITH_LIBELF_INCLUDE="-I/usr/include/libelf"
- INCPATH="$INCPATH -I/usr/include/libelf"
AC_CHECK_FUNC(gelf_getdyn, [],
AC_CHECK_LIB(elf, gelf_getdyn)
)
], [
- if test -d libelf ; then
+ case `uname -m` in
+ i[[3456]]86)
+ if test -d libelf ; then
AC_DEFINE(HAVE_LIBELF_GELF_H, 1, [Define to 1 if you have the <libelf/gelf.h> header file.])
AC_DEFINE(HAVE_LIBELF, 1, [Define to 1 if you have the `elf' library (-lelf).])
WITH_LIBELF_SUBDIR=libelf
- addlib \${top_builddir}/libelf
WITH_LIBELF_INCLUDE="-I\${top_srcdir}/${WITH_LIBELF_SUBDIR}/lib"
- INCPATH="$INCPATH -I\${top_srcdir}/${WITH_LIBELF_SUBDIR}/lib"
WITH_LIBELF_LIB="\${top_builddir}/${WITH_LIBELF_SUBDIR}/lib/libelf.la"
- fi
+ fi
+ ;;
+ *)
+ ;;
+ esac
])
AC_SUBST(WITH_LIBELF_SUBDIR)
AC_SUBST(WITH_LIBELF_INCLUDE)
scripts/Makefile scripts/brp-redhat tools/Makefile
tests/Makefile tests/rpmrc tests/macros tests/hello-test/Makefile
misc/Makefile intl/Makefile po/Makefile.in
- doc/Makefile doc/manual/Makefile
- doc/ja/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile
- python/Makefile python/rpmdb/Makefile python/test/Makefile ],
- [ echo timestamp > popt/stamp-h.in
+ doc/Makefile
+ doc/manual/Makefile
+ doc/fr/Makefile
+ doc/ja/Makefile
+ doc/ko/Makefile
+ doc/pl/Makefile
+ doc/ru/Makefile
+ doc/sk/Makefile
+ python/Makefile
+ python/rpmdb/Makefile
+ python/test/Makefile
+ ], [ echo timestamp > popt/stamp-h.in
echo timestamp > beecrypt/stamp-h.in
echo timestamp > stamp-h.in
]
--- /dev/null
+Makefile
+Makefile.in
--- /dev/null
+Makefile
+Makefile.in
case RPMSIGTAG_MD5:
pktlen = 16;
pkt = xcalloc(1, pktlen);
- if (domd5(file, pkt, 1, NULL)
+ if (domd5(file, pkt, 0, NULL)
|| !headerAddEntry(sig, sigTag, RPM_BIN_TYPE, pkt, pktlen))
break;
ret = 0;
aclocal.m4 ChangeLog config.guess config.h.in \
config.sub configure configure.in COPYING.LIB INSTALL install-sh \
Makefile.in mkinstalldirs README stamp-h.in VERSION \
- po/*.in po/*.po po/@PACKAGE@.pot
+ libelf.spec po/*.in po/*.po po/@PACKAGE@.pot
+
+.PHONY: sources
+sources:
+ make -C lib sources
+
+.PHONY: lclint
+lclint:
+ make -C lib lclint
EXTRA_DIST = sys_elf.h.in
-INCLUDES = -I$(topdir) -I. -I$(srcdir)
+INCLUDES = -I$(top_srcdir) -I. -I$(srcdir)
# generic sources
SRCS1 = begin.c cntl.c end.c errmsg.c errno.c fill.c flag.c getarhdr.c \
.PHONY: sources
sources:
- @echo $(libelf_la_SOURCES:%=libelf/%)
+ @echo $(libelf_la_SOURCES:%=libelf/lib/%)
.PHONY: lclint
lclint:
- lclint -Dlint $(DEFS) $(INCLUDES) $(SRCS)
+ lclint -Dlint $(DEFS) $(INCLUDES) $(libelf_la_SOURCES)
t1: libelf.a t1.o
$(CC) -o $@ $@.o libelf.a
extern "C" {
#endif /* __cplusplus */
-#ifndef __P
+#if !defined(__P)
# if __STDC__ || defined(__cplusplus)
# define __P(args) args
# else /* __STDC__ || defined(__cplusplus) */
/*@modifies *dst @*/;
/*@null@*/
-extern GElf_Ehdr *gelf_getehdr __P((Elf *elf, /*@returned@*/ GElf_Ehdr *dst))
+extern GElf_Ehdr *gelf_getehdr __P((Elf *elf, /*@returned@*/ /*@out@*/ GElf_Ehdr *dst))
/*@modifies *elf, dst @*/;
extern int gelf_update_ehdr __P((Elf *elf, GElf_Ehdr *src))
/*@modifies *elf @*/;
/*@modifies *elf @*/;
/*@null@*/
-extern GElf_Phdr *gelf_getphdr __P((Elf *elf, int ndx, /*@returned@*/ GElf_Phdr *dst))
+extern GElf_Phdr *gelf_getphdr __P((Elf *elf, int ndx, /*@returned@*/ /*@out@*/ GElf_Phdr *dst))
/*@modifies *elf, dst @*/;
extern int gelf_update_phdr __P((Elf *elf, int ndx, GElf_Phdr *src))
/*@modifies *elf @*/;
/*@modifies *elf @*/;
/*@null@*/
-extern GElf_Shdr *gelf_getshdr __P((Elf_Scn *scn, /*@returned@*/ GElf_Shdr *dst))
+extern GElf_Shdr *gelf_getshdr __P((Elf_Scn *scn, /*@returned@*/ /*@out@*/ GElf_Shdr *dst))
/*@modifies dst @*/;
extern int gelf_update_shdr __P((Elf_Scn *scn, GElf_Shdr *src))
/*@modifies scn @*/;
/*@null@*/
-extern GElf_Dyn *gelf_getdyn __P((Elf_Data *src, int ndx, /*@returned@*/ GElf_Dyn *dst))
+extern GElf_Dyn *gelf_getdyn __P((Elf_Data *src, int ndx, /*@returned@*/ /*@out@*/ GElf_Dyn *dst))
/*@modifies *dst @*/;
extern int gelf_update_dyn __P((Elf_Data *dst, int ndx, GElf_Dyn *src))
/*@modifies *dst @*/;
/*@null@*/
-extern GElf_Rel *gelf_getrel __P((Elf_Data *src, int ndx, /*@returned@*/ GElf_Rel *dst))
+extern GElf_Rel *gelf_getrel __P((Elf_Data *src, int ndx, /*@returned@*/ /*@out@*/ GElf_Rel *dst))
/*@modifies *dst @*/;
extern int gelf_update_rel __P((Elf_Data *dst, int ndx, GElf_Rel *src))
/*@modifies *dst @*/;
/*@null@*/
-extern GElf_Rela *gelf_getrela __P((Elf_Data *src, int ndx, /*@returned@*/ GElf_Rela *dst))
+extern GElf_Rela *gelf_getrela __P((Elf_Data *src, int ndx, /*@returned@*/ /*@out@*/ GElf_Rela *dst))
/*@modifies *dst @*/;
extern int gelf_update_rela __P((Elf_Data *dst, int ndx, GElf_Rela *src))
/*@modifies *dst @*/;
/*@null@*/
-extern GElf_Sym *gelf_getsym __P((Elf_Data *src, int ndx, /*@returned@*/ GElf_Sym *dst))
+extern GElf_Sym *gelf_getsym __P((Elf_Data *src, int ndx, /*@returned@*/ /*@out@*/ GElf_Sym *dst))
/*@modifies *dst @*/;
extern int gelf_update_sym __P((Elf_Data *dst, int ndx, GElf_Sym *src))
/*@modifies *dst @*/;
*
*/
#if 0
-extern GElf_Move *gelf_getmove __P((Elf_Data *src, int ndx, GElf_Move *src))
+extern GElf_Move *gelf_getmove __P((Elf_Data *src, int ndx, /*@returned@*/ /*@out@*/ GElf_Move *src))
/*@*/;
extern int gelf_update_move __P((Elf_Data *dst, int ndx, GElf_Move *src))
/*@modifies *dst @*/;
-extern GElf_Syminfo* gelf_getsyminfo __P((Elf_Data *src, int ndx, GElf_Syminfo *dst))
+extern GElf_Syminfo* gelf_getsyminfo __P((Elf_Data *src, int ndx, /*@returned@*/ /*@null@*/ GElf_Syminfo *dst))
/*@modifies *dst @*/;
extern int gelf_update_syminfo __P((Elf_Data *dst, int ndx, GElf_Syminfo *src))
/*@modifies *dst @*/;
extern int elf_end __P((/*@only@*/ /*@null@*/ Elf *elf))
/*@globals fileSystem @*/
/*@modifies elf, fileSystem @*/;
-/*@null@*/
+/*@observer@*/ /*@null@*/
extern const char *elf_errmsg __P((int err))
/*@*/;
extern int elf_errno __P((void))
/*@null@*/
extern Elf64_Shdr *elf64_getshdr __P((Elf_Scn *scn))
/*@*/;
-extern size_t elf64_fsize __P((Elf_Type type, size_t count,
- unsigned ver))
+extern size_t elf64_fsize __P((Elf_Type type, size_t count, unsigned ver))
/*@*/;
/*@null@*/
extern Elf_Data *elf64_xlatetof __P((/*@returned@*/ Elf_Data *dst, const Elf_Data *src,
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2001-07-24 10:02+0100\n"
"Last-Translator: Milan Kerslager <kerslage@linux.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2001-04-05 23:03GMT\n"
"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
"Language-Team: Danish <dansk@klid.dk>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 1998-08-03 18:02+02:00\n"
"Last-Translator: Karl Eichwalder <ke@SuSE.DE>\n"
"Language-Team: German <de@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"Last-Translator: Raimo Koski <rkoski@pp.weppi.fi>\n"
"Language-Team: Finnish <linux@sot.com>\n"
"Content-Type: text/plain; charset=\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.1\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2001-01-13 22:31+0100\n"
"Last-Translator: Jesús Bravo Álvarez <jba@pobox.com>\n"
"Language-Team: Galician <trasno@ceu.fi.udc.es>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2001-07-12 13:25+0000\n"
"Last-Translator: Richard Allen <ra@hp.is>\n"
"Language-Team: is <kde-isl@mmedia.is>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 1999-12-01 22:49 +JST\n"
"Last-Translator: Kanda Mitsuru <kanda@nn.iij4u.or.jp>\n"
"Language-Team: JRPM <jrpm@linux.or.jp>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.4\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2002-03-04 17:17+0900\n"
"Last-Translator: Jong-Hoon Ryu <redhat4u@netian.com>\n"
"Language-Team: GNU Translation project <ko@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2001-06-27 12:24+0200\n"
"Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n"
"Language-Team: Norwegian <no@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 1999-05-25 17:00+0100\n"
"Last-Translator: Pawe³ Dziekoñski <pdziekonski@mml.ch.pwr.wroc.pl>\n"
"Language-Team: Polish <pl@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2002-02-14 10:51+0000\n"
"Last-Translator: José Nuno Coelho Sanarra Pires <jncp@rnl.ist.utl.pt>\n"
"Language-Team: pt <morais@kde.org\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
#: build.c:40
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 1999-04-10 12:00+EST\n"
"Last-Translator: Cristian Gafton <gafton@redhat.com>\n"
"Language-Team: Romanian <ro@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2002-04-09 16:44-0400\n"
"Last-Translator: Eugene Kanter, <eugene@bcl.bz>\n"
"Language-Team: Black Cat Linux Team <blackcat-support@blackcatlinux.com>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 1999-04-08 21:37+02:00\n"
"Last-Translator: Stanislav Meduna <stano@eunet.sk>\n"
"Language-Team: Slovak <sk-i18n@rak.isternet.sk>\n"
# -*- mode:po; coding:iso-latin-2; -*- Slovenian messages for Redhat pkg. mngr.
# Copyright (C) 2000 Free Software Foundation, Inc.
# Primo¾ Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>, 2000.
-# $Id: sl.po,v 1.258 2002/06/20 02:19:56 jbj Exp $
+# $Id: sl.po,v 1.259 2002/06/20 17:18:07 jbj Exp $
#
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2000-10-08 19:05+0200\n"
"Last-Translator: Grega Fajdiga <gregor.fajdiga@telemach.net>\n"
"Language-Team: Slovenian <sl@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"Content-Type: text/plain; charset=\n"
"Date: 1998-05-02 21:41:47-0400\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2002-02-18 21:13+0100\n"
"Last-Translator: Göran Uddeborg <goeran@uddeborg.pp.se>\n"
"Language-Team: Swedish <sv@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: 2001-07-05 08:02+300\n"
"Last-Translator: Nilgun Belma Buguner <nilgun@technologist.com>\n"
"Language-Team: Turkish <tr@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgid ""
msgstr ""
"Project-Id-Version: rpm 4.0.3\n"
-"POT-Creation-Date: 2002-06-19 19:58-0400\n"
+"POT-Creation-Date: 2002-06-20 13:05-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
%define version @VERSION@
Version: %{version}
%{expand: %%define rpm_version %{version}}
-Release: 0.28
+Release: 0.29
Group: System Environment/Base
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
Copyright: GPL
%{__prefix}%{__share}/man/man1/gendiff.1*
%{__prefix}%{__share}/man/man8/rpm.8*
%{__prefix}%{__share}/man/man8/rpm2cpio.8*
+%lang(fr) %{__prefix}%{__share}/man/fr/man[18]/*.[18]*
+%lang(ja) %{__prefix}%{__share}/man/ja/man[18]/*.[18]*
+%lang(ko) %{__prefix}%{__share}/man/ko/man[18]/*.[18]*
%lang(pl) %{__prefix}%{__share}/man/pl/man[18]/*.[18]*
%lang(ru) %{__prefix}%{__share}/man/ru/man[18]/*.[18]*
%lang(sk) %{__prefix}%{__share}/man/sk/man[18]/*.[18]*
%{__prefix}/include/popt.h
%changelog
+* Thu Jun 20 2002 Jeff Johnson <jbj@redhat.com>
+- add translated man pages from PLD.
+
* Wed Jun 19 2002 Jeff Johnson <jbj@redhat.com> 4.1-0.28
-- make sure that rpm can verify prelinked shared libraries.
+- ix86: make sure that rpm can verify prelinked shared libraries.
- don't install /usr/lib/rpm/redhat per-vendor configuration anymore.
* Sat Jun 15 2002 Jeff Johnson <jbj@redhat.com> 4.1-0.27
#include "system.h"
#if HAVE_LIBELF_GELF_H
+#define __LIBELF_INTERNAL__ 1
+# undef __P
+# define __P(protos) protos
#include <gelf.h>
#define DT_GNU_PRELINKED 0x6ffffdf5
#endif
* @param path file path
* @retval pidp prelink helper pid or 0
* @retval fsizep file size
- * @return -1 on error, otherwise open file descriptor
+ * @return -1 on error, otherwise, an open file descriptor
*/
static int open_dso(const char * path, /*@null@*/ pid_t * pidp, /*@null@*/ size_t *fsizep)
- /*@globals rpmGlobalMacroContext, fileSystem @*/
- /*@modifies *pidp, *fsizep, rpmGlobalMacroContext, fileSystem @*/
+ /*@globals rpmGlobalMacroContext,
+ fileSystem, internalState @*/
+ /*@modifies *pidp, *fsizep, rpmGlobalMacroContext,
+ fileSystem, internalState @*/
{
+/*@only@*/
static const char * cmd = NULL;
static int initted = 0;
pid_t pid;
GElf_Dyn dyn;
int bingo;
- elf_version(EV_CURRENT);
+ (void) elf_version(EV_CURRENT);
if ((elf = elf_begin (fdno, ELF_C_READ, NULL)) == NULL
|| elf_kind(elf) != ELF_K_ELF
goto exit;
bingo = 0;
+ /*@-branchstate -uniondef @*/
while (!bingo && (scn = elf_nextscn(elf, scn)) != NULL) {
- gelf_getshdr(scn, &shdr);
+ (void) gelf_getshdr(scn, &shdr);
if (shdr.sh_type != SHT_DYNAMIC)
continue;
while (!bingo && (data = elf_getdata (scn, data)) != NULL) {
int ndx;
for (ndx = 0; ndx < maxndx; ++ndx) {
- gelf_getdyn (data, ndx, &dyn);
+ (void) gelf_getdyn (data, ndx, &dyn);
if (dyn.d_tag != DT_GNU_PRELINKED)
- continue;
+ /*@innercontinue@*/ continue;
bingo = 1;
- break;
+ /*@innerbreak@*/ break;
}
}
}
+ /*@=branchstate =uniondef @*/
- if (bingo) {
+ if (pidp != NULL && bingo) {
int pipes[2];
int xx;
int fdno;
int xx;
+/*@-globs -internalglobs -mods @*/
fdno = open_dso(path, &pid, &fsize);
+/*@=globs =internalglobs =mods @*/
if (fdno < 0) {
rc = 1;
goto exit;
*/
int domd5(const char * fn, /*@out@*/ unsigned char * digest, int asAscii,
/*@null@*/ /*@out@*/ size_t *fsizep)
- /*@globals fileSystem@*/
- /*@modifies digest, fileSystem @*/;
+ /*@globals fileSystem @*/
+ /*@modifies digest, *fsizep, fileSystem @*/;
/**
* Convert absolute path tag to (dirname,basename,dirindex) tags.
--- /dev/null
+# Perl specific macro definitions.
+# To make use of these macros insert the following line into your spec file:
+# %include @RPMCONFIGDIR@/macros.perl
+
+%define __find_requires @RPMCONFIGDIR@/find-perl-requires
+%define __find_provides @RPMCONFIGDIR@/find-perl-provides
+
+%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib)
+%define perl_sitearch %(eval "`perl -V:installsitearch`"; echo $installsitearch)
+%define perl_archlib %(eval "`perl -V:installarchlib`"; echo $installarchlib)
+%define perl_privlib %(eval "`perl -V:installprivlib`"; echo $installprivlib)
+
--- /dev/null
+# Python specific macro definitions.
+# To make use of these macros insert the following line into your spec file:
+# %include @RPMCONFIGDIR@/macros.python
+
+# python main version
+%define py_ver %(echo `python -c "import sys; print sys.version[:3]"`)
+
+# directories
+%define py_prefix %(echo `python -c "import sys; print sys.prefix"`)
+%define py_libdir %{py_prefix}/lib/python%{py_ver}
+%define py_incdir /usr/include/python%{py_ver}
+%define py_sitedir %{py_libdir}/site-packages
+%define py_dyndir %{py_libdir}/lib-dynload
+
+# pure python modules compilation
+%define py_comp python -c "import compileall; import sys; compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])"
+
+%define py_ocomp python -O -c "import compileall; import sys; compileall.compile_dir(sys.argv[1], ddir=sys.argv[1][len('$RPM_BUILD_ROOT'):])"
#endif
#include <sys/types.h>
+
#if defined(__LCLINT__)
/*@-redef@*/
typedef unsigned int u_int32_t;