- resurrect libelf with Elf64, prelink verify should work everywhere.
autostuff fiddles. CVS patchset: 5517 CVS date: 2002/06/20 21:53:31
This commit is contained in:
parent
e96eefbe68
commit
f96fc8d894
1
CHANGES
1
CHANGES
|
@ -139,6 +139,7 @@
|
|||
- 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.
|
||||
- resurrect libelf with Elf64, prelink verify should work everywhere.
|
||||
|
||||
4.0.3 -> 4.0.4:
|
||||
- solaris: translate i86pc to i386 (#57182).
|
||||
|
|
|
@ -368,19 +368,13 @@ AC_CHECK_HEADER([libelf/gelf.h], [
|
|||
AC_CHECK_LIB(elf, gelf_getdyn)
|
||||
)
|
||||
], [
|
||||
case `uname -m` in
|
||||
i[[3456]]86)
|
||||
if test -d libelf ; then
|
||||
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
|
||||
WITH_LIBELF_INCLUDE="-I\${top_srcdir}/${WITH_LIBELF_SUBDIR}/lib"
|
||||
WITH_LIBELF_LIB="\${top_builddir}/${WITH_LIBELF_SUBDIR}/lib/libelf.la"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
])
|
||||
AC_SUBST(WITH_LIBELF_SUBDIR)
|
||||
AC_SUBST(WITH_LIBELF_INCLUDE)
|
|
@ -0,0 +1,689 @@
|
|||
# Makefile.in generated by automake 1.6.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
||||
# Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
# Makefile for rpm library.
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
|
||||
EXEEXT = @EXEEXT@
|
||||
OBJEXT = @OBJEXT@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
AMTAR = @AMTAR@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
AWK = @AWK@
|
||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||
BZIP2BIN = @BZIP2BIN@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
CSCOPE = @CSCOPE@
|
||||
CTAGS = @CTAGS@
|
||||
CXX = @CXX@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
DBLIBOBJS = @DBLIBOBJS@
|
||||
DBLIBSRCS = @DBLIBSRCS@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
ECHO = @ECHO@
|
||||
FINDPROVIDES = @FINDPROVIDES@
|
||||
FINDREQUIRES = @FINDREQUIRES@
|
||||
FIXPERMS = @FIXPERMS@
|
||||
GENCAT = @GENCAT@
|
||||
GLIBC21 = @GLIBC21@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GZIPBIN = @GZIPBIN@
|
||||
HAVE_LIB = @HAVE_LIB@
|
||||
INCPATH = @INCPATH@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLBISON = @INTLBISON@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||
LDFLAGS_STATIC = @LDFLAGS_STATIC@
|
||||
LIB = @LIB@
|
||||
LIBDIR = @LIBDIR@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBINTL = @LIBINTL@
|
||||
LIBMISC = @LIBMISC@
|
||||
LIBRPMALIAS_FILENAME = @LIBRPMALIAS_FILENAME@
|
||||
LIBRPMRC_FILENAME = @LIBRPMRC_FILENAME@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LOCALEDIR = @LOCALEDIR@
|
||||
LTLIB = @LTLIB@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
MACROFILES = @MACROFILES@
|
||||
MKDIR = @MKDIR@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
PACKAGE = @PACKAGE@
|
||||
PGPBIN = @PGPBIN@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
ROOT_GROUP = @ROOT_GROUP@
|
||||
RPM = @RPM@
|
||||
RPMCANONARCH = @RPMCANONARCH@
|
||||
RPMCANONOS = @RPMCANONOS@
|
||||
RPMCANONVENDOR = @RPMCANONVENDOR@
|
||||
RPMCONFIGDIR = @RPMCONFIGDIR@
|
||||
RPMGID = @RPMGID@
|
||||
RPMGROUP = @RPMGROUP@
|
||||
RPMUID = @RPMUID@
|
||||
RPMUSER = @RPMUSER@
|
||||
STRIP = @STRIP@
|
||||
SYSCONFIGDIR = @SYSCONFIGDIR@
|
||||
U = @U@
|
||||
UNZIPBIN = @UNZIPBIN@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VENDORRPMRC_FILENAME = @VENDORRPMRC_FILENAME@
|
||||
VERSION = @VERSION@
|
||||
WITH_APIDOCS = @WITH_APIDOCS@
|
||||
WITH_APIDOCS_TARGET = @WITH_APIDOCS_TARGET@
|
||||
WITH_BZIP2 = @WITH_BZIP2@
|
||||
WITH_DB_SUBDIR = @WITH_DB_SUBDIR@
|
||||
WITH_INTERNAL_DB = @WITH_INTERNAL_DB@
|
||||
WITH_LIBELF_INCLUDE = @WITH_LIBELF_INCLUDE@
|
||||
WITH_LIBELF_LIB = @WITH_LIBELF_LIB@
|
||||
WITH_LIBELF_SUBDIR = @WITH_LIBELF_SUBDIR@
|
||||
WITH_PYTHON_SUBDIR = @WITH_PYTHON_SUBDIR@
|
||||
WITH_PYTHON_SUBPACKAGE = @WITH_PYTHON_SUBPACKAGE@
|
||||
WITH_PYTHON_VERSION = @WITH_PYTHON_VERSION@
|
||||
WITH_ZLIB_INCLUDE = @WITH_ZLIB_INCLUDE@
|
||||
WITH_ZLIB_LIB = @WITH_ZLIB_LIB@
|
||||
WITH_ZLIB_SUBDIR = @WITH_ZLIB_SUBDIR@
|
||||
__CAT = @__CAT@
|
||||
__CHGRP = @__CHGRP@
|
||||
__CHGRP_RHF = @__CHGRP_RHF@
|
||||
__CHMOD = @__CHMOD@
|
||||
__CHOWN = @__CHOWN@
|
||||
__CHOWN_RHF = @__CHOWN_RHF@
|
||||
__CP = @__CP@
|
||||
__CPIO = @__CPIO@
|
||||
__DOXYGEN = @__DOXYGEN@
|
||||
__FILE = @__FILE@
|
||||
__GPG = @__GPG@
|
||||
__GREP = @__GREP@
|
||||
__ID = @__ID@
|
||||
__ID_U = @__ID_U@
|
||||
__INSTALL = @__INSTALL@
|
||||
__LD = @__LD@
|
||||
__MAKE = @__MAKE@
|
||||
__MKDIR = @__MKDIR@
|
||||
__MV = @__MV@
|
||||
__NM = @__NM@
|
||||
__OBJCOPY = @__OBJCOPY@
|
||||
__OBJDUMP = @__OBJDUMP@
|
||||
__PATCH = @__PATCH@
|
||||
__PERL = @__PERL@
|
||||
__PYTHON = @__PYTHON@
|
||||
__RM = @__RM@
|
||||
__RSH = @__RSH@
|
||||
__SED = @__SED@
|
||||
__SSH = @__SSH@
|
||||
__STRIP = @__STRIP@
|
||||
__TAR = @__TAR@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
libdb3 = @libdb3@
|
||||
libdb3a = @libdb3a@
|
||||
testdir = @testdir@
|
||||
tmpdir = @tmpdir@
|
||||
varprefix = @varprefix@
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.4 foreign
|
||||
|
||||
PYVER = @WITH_PYTHON_VERSION@
|
||||
|
||||
SUBDIRS = rpmdb test
|
||||
|
||||
INCLUDES = -I. \
|
||||
-I$(top_srcdir)/lib \
|
||||
-I$(top_srcdir)/rpmdb \
|
||||
-I$(top_srcdir)/rpmio \
|
||||
-I$(top_srcdir)/beecrypt \
|
||||
-I$(top_srcdir)/popt \
|
||||
-I/usr/include/python${PYVER} \
|
||||
@INCPATH@
|
||||
|
||||
|
||||
noinst_HEADERS = hash.h header-py.h \
|
||||
rpmal-py.h rpmds-py.h rpmdb-py.h rpmfd-py.h rpmfi-py.h rpmmi-py.h \
|
||||
rpmrc-py.h rpmte-py.h rpmts-py.h \
|
||||
upgrade.h
|
||||
|
||||
|
||||
mylibs = \
|
||||
$(top_builddir)/lib/.libs/librpm.so \
|
||||
$(top_builddir)/rpmdb/.libs/librpmdb.so \
|
||||
$(top_builddir)/rpmio/.libs/librpmio.so \
|
||||
$(top_builddir)/popt/.libs/libpopt.so
|
||||
|
||||
|
||||
LDADD =
|
||||
|
||||
pythondir = $(prefix)/lib/python${PYVER}/site-packages
|
||||
python_PROGRAMS = rpmmodule.so
|
||||
|
||||
rpmdbdir = $(prefix)/lib/python${PYVER}/site-packages/rpmdb
|
||||
rpmdb_PROGRAMS = _rpmdb.so
|
||||
|
||||
noinst_PROGRAMS = poptmodule.so
|
||||
|
||||
rpmmodule_so_SOURCES =
|
||||
rpmmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,rpmmodule.so
|
||||
|
||||
_rpmdb_so_SOURCES = _rpmdb.c
|
||||
_rpmdb_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,_rpmdb.so
|
||||
|
||||
poptmodule_so_SOURCES = poptmodule.c
|
||||
poptmodule_so_LDFLAGS = $(mylibs) $(LIBS) -shared -Wl,-soname,poptmodule.so
|
||||
|
||||
noinst_LTLIBRARIES = librpmmodule.la
|
||||
librpmmodule_la_SOURCES = rpmmodule.c hash.c upgrade.c header-py.c \
|
||||
rpmal-py.c rpmds-py.c rpmdb-py.c rpmfd-py.c rpmfi-py.c rpmmi-py.c \
|
||||
rpmrc-py.c rpmte-py.c rpmts-py.c
|
||||
|
||||
subdir = python
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||
|
||||
librpmmodule_la_LDFLAGS =
|
||||
librpmmodule_la_LIBADD =
|
||||
am_librpmmodule_la_OBJECTS = rpmmodule.lo hash.lo upgrade.lo \
|
||||
header-py.lo rpmal-py.lo rpmds-py.lo rpmdb-py.lo rpmfd-py.lo \
|
||||
rpmfi-py.lo rpmmi-py.lo rpmrc-py.lo rpmte-py.lo rpmts-py.lo
|
||||
librpmmodule_la_OBJECTS = $(am_librpmmodule_la_OBJECTS)
|
||||
noinst_PROGRAMS = poptmodule.so$(EXEEXT)
|
||||
python_PROGRAMS = rpmmodule.so$(EXEEXT)
|
||||
rpmdb_PROGRAMS = _rpmdb.so$(EXEEXT)
|
||||
PROGRAMS = $(noinst_PROGRAMS) $(python_PROGRAMS) $(rpmdb_PROGRAMS)
|
||||
|
||||
am__rpmdb_so_OBJECTS = _rpmdb.$(OBJEXT)
|
||||
_rpmdb_so_OBJECTS = $(am__rpmdb_so_OBJECTS)
|
||||
_rpmdb_so_LDADD = $(LDADD)
|
||||
_rpmdb_so_DEPENDENCIES =
|
||||
am_poptmodule_so_OBJECTS = poptmodule.$(OBJEXT)
|
||||
poptmodule_so_OBJECTS = $(am_poptmodule_so_OBJECTS)
|
||||
poptmodule_so_LDADD = $(LDADD)
|
||||
poptmodule_so_DEPENDENCIES =
|
||||
am_rpmmodule_so_OBJECTS =
|
||||
rpmmodule_so_OBJECTS = $(am_rpmmodule_so_OBJECTS)
|
||||
rpmmodule_so_LDADD = $(LDADD)
|
||||
rpmmodule_so_DEPENDENCIES =
|
||||
|
||||
DEFS = @DEFS@
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/_rpmdb.Po ./$(DEPDIR)/hash.Plo \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/header-py.Plo ./$(DEPDIR)/poptmodule.Po \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/rpmal-py.Plo ./$(DEPDIR)/rpmdb-py.Plo \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/rpmds-py.Plo ./$(DEPDIR)/rpmfd-py.Plo \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/rpmfi-py.Plo ./$(DEPDIR)/rpmmi-py.Plo \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/rpmmodule.Plo ./$(DEPDIR)/rpmrc-py.Plo \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/rpmte-py.Plo ./$(DEPDIR)/rpmts-py.Plo \
|
||||
@AMDEP_TRUE@ ./$(DEPDIR)/upgrade.Plo
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
CFLAGS = @CFLAGS@
|
||||
DIST_SOURCES = $(librpmmodule_la_SOURCES) $(_rpmdb_so_SOURCES) \
|
||||
$(poptmodule_so_SOURCES) $(rpmmodule_so_SOURCES)
|
||||
HEADERS = $(noinst_HEADERS)
|
||||
|
||||
|
||||
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||
uninstall-info-recursive all-recursive install-data-recursive \
|
||||
install-exec-recursive installdirs-recursive install-recursive \
|
||||
uninstall-recursive check-recursive installcheck-recursive
|
||||
DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
SOURCES = $(librpmmodule_la_SOURCES) $(_rpmdb_so_SOURCES) $(poptmodule_so_SOURCES) $(rpmmodule_so_SOURCES)
|
||||
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .lo .o .obj
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign python/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||
|
||||
clean-noinstLTLIBRARIES:
|
||||
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||
librpmmodule.la: $(librpmmodule_la_OBJECTS) $(librpmmodule_la_DEPENDENCIES)
|
||||
$(LINK) $(librpmmodule_la_LDFLAGS) $(librpmmodule_la_OBJECTS) $(librpmmodule_la_LIBADD) $(LIBS)
|
||||
|
||||
clean-noinstPROGRAMS:
|
||||
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
||||
pythonPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
install-pythonPROGRAMS: $(python_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(pythondir)
|
||||
@list='$(python_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then \
|
||||
p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(pythonPROGRAMS_INSTALL) $$p $(DESTDIR)$(pythondir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(pythonPROGRAMS_INSTALL) $$p $(DESTDIR)$(pythondir)/$$f; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-pythonPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(python_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
|
||||
echo " rm -f $(DESTDIR)$(pythondir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(pythondir)/$$f; \
|
||||
done
|
||||
|
||||
clean-pythonPROGRAMS:
|
||||
-test -z "$(python_PROGRAMS)" || rm -f $(python_PROGRAMS)
|
||||
rpmdbPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
||||
install-rpmdbPROGRAMS: $(rpmdb_PROGRAMS)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(DESTDIR)$(rpmdbdir)
|
||||
@list='$(rpmdb_PROGRAMS)'; for p in $$list; do \
|
||||
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
|
||||
if test -f $$p \
|
||||
|| test -f $$p1 \
|
||||
; then \
|
||||
p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
|
||||
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(rpmdbPROGRAMS_INSTALL) $$p $(DESTDIR)$(rpmdbdir)/$$f"; \
|
||||
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(rpmdbPROGRAMS_INSTALL) $$p $(DESTDIR)$(rpmdbdir)/$$f; \
|
||||
else :; fi; \
|
||||
done
|
||||
|
||||
uninstall-rpmdbPROGRAMS:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(rpmdb_PROGRAMS)'; for p in $$list; do \
|
||||
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
|
||||
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
|
||||
echo " rm -f $(DESTDIR)$(rpmdbdir)/$$f"; \
|
||||
rm -f $(DESTDIR)$(rpmdbdir)/$$f; \
|
||||
done
|
||||
|
||||
clean-rpmdbPROGRAMS:
|
||||
-test -z "$(rpmdb_PROGRAMS)" || rm -f $(rpmdb_PROGRAMS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT) core *.core
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_rpmdb.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/header-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poptmodule.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmal-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmdb-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmds-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmfd-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmfi-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmmi-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmmodule.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmrc-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmte-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rpmts-py.Plo@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/upgrade.Plo@am__quote@
|
||||
|
||||
distclean-depend:
|
||||
-rm -rf ./$(DEPDIR)
|
||||
|
||||
.c.o:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
||||
|
||||
.c.obj:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(COMPILE) -c `cygpath -w $<`
|
||||
|
||||
.c.lo:
|
||||
@AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
uninstall-info-am:
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
|
||||
ETAGS = etags
|
||||
ETAGSFLAGS =
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
||||
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
top_distdir = ..
|
||||
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkinstalldirs) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" \
|
||||
distdir=../$(distdir)/$$subdir \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
$(mkinstalldirs) $(DESTDIR)$(pythondir) $(DESTDIR)$(rpmdbdir)
|
||||
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||
clean-noinstPROGRAMS clean-pythonPROGRAMS clean-rpmdbPROGRAMS \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
|
||||
distclean-am: clean-am distclean-compile distclean-depend \
|
||||
distclean-generic distclean-libtool distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-pythonPROGRAMS install-rpmdbPROGRAMS
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-pythonPROGRAMS \
|
||||
uninstall-rpmdbPROGRAMS
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
||||
clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||
clean-noinstPROGRAMS clean-pythonPROGRAMS clean-recursive \
|
||||
clean-rpmdbPROGRAMS distclean distclean-compile \
|
||||
distclean-depend distclean-generic distclean-libtool \
|
||||
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||
dvi-recursive info info-am info-recursive install install-am \
|
||||
install-data install-data-am install-data-recursive \
|
||||
install-exec install-exec-am install-exec-recursive \
|
||||
install-info install-info-am install-info-recursive install-man \
|
||||
install-pythonPROGRAMS install-recursive install-rpmdbPROGRAMS \
|
||||
install-strip installcheck installcheck-am installdirs \
|
||||
installdirs-am installdirs-recursive maintainer-clean \
|
||||
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
||||
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
||||
mostlyclean-recursive tags tags-recursive uninstall \
|
||||
uninstall-am uninstall-info-am uninstall-info-recursive \
|
||||
uninstall-pythonPROGRAMS uninstall-recursive \
|
||||
uninstall-rpmdbPROGRAMS
|
||||
|
||||
|
||||
rpmmodule.so$(EXEEXT): $(librpmmodule_la_OBJECTS)
|
||||
$(CC) -o $@ $(librpmmodule_la_OBJECTS) $(rpmmodule_so_LDFLAGS)
|
||||
|
||||
_rpmdb.so$(EXEEXT): $(_rpmdb_so_OBJECTS)
|
||||
$(CC) -o $@ $(_rpmdb_so_OBJECTS) $(_rpmdb_so_LDFLAGS)
|
||||
|
||||
poptmodule.so$(EXEEXT): $(poptmodule_so_OBJECTS)
|
||||
$(CC) -o $@ $(poptmodule_so_OBJECTS) $(poptmodule_so_LDFLAGS)
|
||||
|
||||
.PHONY: lclint
|
||||
lclint:
|
||||
lclint $(DEFS) $(INCLUDES) $(librpmmodule_la_SOURCES)
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
|
@ -17,7 +17,7 @@ Name: rpm
|
|||
%define version @VERSION@
|
||||
Version: %{version}
|
||||
%{expand: %%define rpm_version %{version}}
|
||||
Release: 0.29
|
||||
Release: 0.30
|
||||
Group: System Environment/Base
|
||||
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-%{rpm_version}.tar.gz
|
||||
Copyright: GPL
|
||||
|
@ -402,7 +402,7 @@ fi
|
|||
%{__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(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]*
|
||||
|
@ -524,6 +524,7 @@ fi
|
|||
%changelog
|
||||
* Thu Jun 20 2002 Jeff Johnson <jbj@redhat.com>
|
||||
- add translated man pages from PLD.
|
||||
- resurrect libelf with Elf64, prelink verify should work everywhere.
|
||||
|
||||
* Wed Jun 19 2002 Jeff Johnson <jbj@redhat.com> 4.1-0.28
|
||||
- ix86: make sure that rpm can verify prelinked shared libraries.
|
||||
|
|
|
@ -8,8 +8,16 @@
|
|||
#define __LIBELF_INTERNAL__ 1
|
||||
# undef __P
|
||||
# define __P(protos) protos
|
||||
|
||||
#include <gelf.h>
|
||||
|
||||
#if !defined(DT_GNU_PRELINKED)
|
||||
#define DT_GNU_PRELINKED 0x6ffffdf5
|
||||
#endif
|
||||
#if !defined(DT_GNU_LIBLIST)
|
||||
#define DT_GNU_LIBLIST 0x6ffffef9
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#include "rpmio_internal.h"
|
||||
|
@ -90,7 +98,7 @@ static int open_dso(const char * path, /*@null@*/ pid_t * pidp, /*@null@*/ size_
|
|||
|
||||
for (ndx = 0; ndx < maxndx; ++ndx) {
|
||||
(void) gelf_getdyn (data, ndx, &dyn);
|
||||
if (dyn.d_tag != DT_GNU_PRELINKED)
|
||||
if (!(dyn.d_tag == DT_GNU_PRELINKED || dyn.d_tag == DT_GNU_LIBLIST))
|
||||
/*@innercontinue@*/ continue;
|
||||
bingo = 1;
|
||||
/*@innerbreak@*/ break;
|
||||
|
|
Loading…
Reference in New Issue