Commit Graph

80 Commits

Author SHA1 Message Date
Jindrich Novy 12d3a07710 Fix find-requires (rhbz#443015), thanks to Bill Nottingham 2008-04-20 21:49:51 +02:00
Panu Matilainen 8e64df0e83 Don't process objdump sections after "Version References"
autodeps/linux.req expects the 'Version References' section to be
the very last section in objdump -p output and nothing else to follow
it, but at least on Linux/ARM, you can get output a la:

        Version References:
          required from ld-linux.so.3:
            0x0d696914 0x00 06 GLIBC_2.4
          required from libacl.so.1:
            0x05822450 0x00 05 ACL_1.0
          required from libgcc_s.so.1:
            0x0b792655 0x00 04 GCC_3.5
          required from librt.so.1:
            0x0d696914 0x00 03 GLIBC_2.4
          required from libc.so.6:
            0x0d696914 0x00 02 GLIBC_2.4
        private flags = 4000002: [Version4 EABI] [has entry point]

This causes the built package (if the external dep generator is
used) to end up with bogus dependencies.

Issue found by Rabeeh Khoury <rabeeh@marvell.com>

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
2008-03-13 09:20:24 +02:00
Panu Matilainen c68860f056 OS X Leopard fixes from Giulio Eulisse 2007-12-11 08:51:54 +02:00
jbj 6da6f7fc0a - mac os x patches (#131943,#131944,#132924,#132926).
CVS patchset: 7671
CVS date: 2005/01/04 17:46:10
2005-01-04 17:46:10 +00:00
sopwith 62d158f87b Patch from #77849
CVS patchset: 5862
CVS date: 2002/11/14 12:53:11
2002-11-14 12:53:11 +00:00
jbj f5fc8957b4 New fangled head syntax.
CVS patchset: 5531
CVS date: 2002/06/28 14:55:04
2002-06-28 14:55:04 +00:00
jbj ca60c30e3a - fix: un-resurrect "()(64bit)" markings using objdump on i386.
CVS patchset: 5449
CVS date: 2002/05/26 18:40:25
2002-05-26 18:40:25 +00:00
jbj 3067a2c91d - re-enable rpm-python sub-package.
- fix: resurrect "()(64bit)" markings using objdump.

CVS patchset: 5448
CVS date: 2002/05/25 17:15:20
2002-05-25 17:15:20 +00:00
jbj 46bbc20b32 - use rpmdb-redhat to suggest dependency resolution(s).
CVS patchset: 5401
CVS date: 2002/04/13 01:28:20
2002-04-13 01:28:20 +00:00
jbj fa1361480f Use NEEDED from objdump, not ldd, to auto-generate Requires:.
CVS patchset: 5385
CVS date: 2002/04/09 21:36:47
2002-04-09 21:36:47 +00:00
jbj b5f320dfac Check rpm-4.0.4 for orpahns.
CVS patchset: 5380
CVS date: 2002/04/08 19:13:35
2002-04-08 19:13:35 +00:00
jbj b45c27e2ab doxygen cleanup.
CVS patchset: 5379
CVS date: 2002/04/08 18:56:01
2002-04-08 18:56:01 +00:00
jbj 0bbb7bb94e - turn on auto-generated perl requirements (#58519, #58536, #58537).
Sanity.

CVS patchset: 5265
CVS date: 2002/01/23 00:58:47
2002-01-23 00:58:47 +00:00
jbj a3b362c466 - solaris: translate i86pc to i386 (#57182).
- fix: %GNUconfigure breaks with single quotes (#57264).
- fix: typo in find-requires.
- tru64 compiler message cleanup.
- add buildarch lines for hppa (#57728).

CVS patchset: 5228
CVS date: 2001/12/20 16:28:46
2001-12-20 16:28:46 +00:00
jbj da9b21485c Sync with rpm-4_0 branch.
CVS patchset: 5048
CVS date: 2001/09/15 13:49:11
2001-09-15 13:49:11 +00:00
jbj e699b8fab3 - portability: some compilers squawk at return ((void) foo()) (#50419).
- remove fdFileno() from librpmio, use inline version instead (#50420).
- fix: linux find-requires needs quotes around [:blank:].
- remove /var/lib/rpm/__db* cache files if %__dbi_cdb is not configured.
- python: add hiesenbug patch.

CVS patchset: 5005
CVS date: 2001/08/06 11:27:27
2001-08-06 11:27:27 +00:00
jbj efc5280a47 Remove, changes now merged into linux.{prov,req}.
CVS patchset: 4885
CVS date: 2001/06/19 23:33:35
2001-06-19 23:33:35 +00:00
jbj 1ed6bde25a linux.req now verified functional on ia64-linux.
CVS patchset: 4870
CVS date: 2001/06/16 01:49:10
2001-06-16 01:49:10 +00:00
jbj c0ef3c810f - linux.req needs exit 0
CVS patchset: 4868
CVS date: 2001/06/15 21:52:47
2001-06-15 21:52:47 +00:00
jbj 6afa016e86 - ia64/sparc: <arch>.{req,prov} identical to linux.{req,prov}.
- add "rpmlib(ScriptletInterpreterArgs)" to track
	%post -p "/sbin/ldconfig -n /usr/lib"
  incompatibilities.

CVS patchset: 4866
CVS date: 2001/06/15 18:53:06
2001-06-15 18:53:06 +00:00
jbj 58b120d878 - alpha: don't add "()(64bit)" dependency markers.
CVS patchset: 4863
CVS date: 2001/06/15 16:01:10
2001-06-15 16:01:10 +00:00
jbj 4ae69250a2 - fix typos in linux.{req,prov}.
CVS patchset: 4834
CVS date: 2001/06/05 19:26:22
2001-06-05 19:26:22 +00:00
jbj 25f341822c - merge sparc64/ia64 fiddles back into linux.{req,prov}.
- automagically generate perl module dependencies always.

CVS patchset: 4825
CVS date: 2001/06/01 19:27:33
2001-06-01 19:27:33 +00:00
jbj 597bf30f9f find-{provies,requires} with AIX5 support.
CVS patchset: 4601
CVS date: 2001/03/03 18:49:09
2001-03-03 18:49:09 +00:00
jbj db32ab6bea Sync with rpm-4_0 branch.
CVS patchset: 4338
CVS date: 2000/12/12 20:03:45
2000-12-12 20:03:45 +00:00
jbj d7a40e754d - improved find-{requires,provides} for aix4/hpux/irix6/osf.
Tim Mooney<mooney@dogbert.cc.ndsu.NoDak.edu>

CVS patchset: 4300
CVS date: 2000/12/02 16:52:14
2000-12-02 16:52:14 +00:00
notting 81cf1461aa fix 64bit lib stuff
CVS patchset: 4166
CVS date: 2000/09/14 23:05:30
2000-09-14 23:05:30 +00:00
notting 1466d06e74 add (lib64) stuff on ia64 as well
CVS patchset: 4151
CVS date: 2000/09/07 20:47:18
2000-09-07 20:47:18 +00:00
jbj 46fe7a531a Orphans.
CVS patchset: 3722
CVS date: 2000/05/08 13:00:41
2000-05-08 13:00:41 +00:00
jbj cf68a32ca6 - fix: noLibio = 0 on Red Hat 4.x and 5.x.
- fix: typo in autodeps/linux.req.

CVS patchset: 3630
CVS date: 2000/03/15 19:50:57
2000-03-15 19:50:57 +00:00
jbj 3af1f7d94e fix: better filter in linux.req to avoid ARM specific objdump output.
CVS patchset: 3614
CVS date: 2000/03/10 16:53:08
2000-03-10 16:53:08 +00:00
jbj 5c1b6d0ba6 simpler hpux.prov script (Tim Mooney).
CVS patchset: 3606
CVS date: 2000/03/02 20:21:10
2000-03-02 20:21:10 +00:00
jbj 9126b5c2c0 sparc: 64bit find-{provides,requires}.
CVS patchset: 3577
CVS date: 2000/02/22 13:08:35
2000-02-22 13:08:35 +00:00
jbj 3a092572e8 Use better RE and grep for exelist and liblist.
CVS patchset: 3566
CVS date: 2000/02/17 16:26:52
2000-02-17 16:26:52 +00:00
jbj f7b7154b57 (From suzukis@file.phys.tohoku.ac.jp)
It seems that current rpm can work on FreeBSD, on OpenBSD,
and possibly on NetBSD (myself have not checked yet), but
find-provides and find-requires scripts are not provided
in rpm tarball. And, taking a glance on the "port"ed version
of rpm by FreeBSD people, they didn't write their own scripts.
Here's find-provides and find-requires for FreeBSD & OpenBSD.
I checked on FreeBSD-2.2.8 and OpenBSD-2.5 (possibly works on 2.6 too)
both a.out executable format. One of the known problem is
that following script cannot check the inter-library dependency.
On both systems, objdump is not bundled in default installation,
and even if you install objdump of GNU binutils,
it cannot check the inter-library dependency.
The recent FreeBSD and NetBSD are in ELF format, so should
be modified... I will send a version for FreeBSD-3.4 sooner
or later, but if anybody is interested in, please write.
I wish these scripts will be included in future version of rpm.
suzuki

CVS patchset: 3543
CVS date: 2000/02/06 19:05:36
2000-02-06 19:05:36 +00:00
jbj 87c7c2f8d7 Add quotes to check for file list existence (nigel@pobox.com).
CVS patchset: 3380
CVS date: 1999/10/11 15:47:27
1999-10-11 15:47:27 +00:00
jbj be45257fd9 dumb cpp's want white space around lclint annotations (Tim Mooney).
aix: aix.req broken by cut-and-paste (Tim Mooney).

CVS patchset: 3367
CVS date: 1999/10/04 20:18:48
1999-10-04 20:18:48 +00:00
jbj 960b028778 new find req/prov scripts for non-linux platforms (Tim Mooney).
CVS patchset: 3351
CVS date: 1999/09/30 00:22:15
1999-09-30 00:22:15 +00:00
jbj 719984e096 Tru64: avoid find-requires variable size limit (Tim Mooney).
CVS patchset: 3265
CVS date: 1999/09/07 19:53:10
1999-09-07 19:53:10 +00:00
jbj b5b29dd7a3 Clarify licensing: "GNU General Public License" not s/General //.
CVS patchset: 3214
CVS date: 1999/08/04 18:07:18
1999-08-04 18:07:18 +00:00
jbj 419325db06 *** empty log message ***
CVS patchset: 3130
CVS date: 1999/07/07 14:28:07
1999-07-07 14:28:07 +00:00
jbj 2d040b54c4 Don't let executables depend on libNoVersion.so
CVS patchset: 3103
CVS date: 1999/06/18 17:47:59
1999-06-18 17:47:59 +00:00
jbj bafb62fbb0 MiNT port (Guido Flohr <gufl0000@stud.uni-sb.de>).
CVS patchset: 3096
CVS date: 1999/06/17 21:35:34
1999-06-17 21:35:34 +00:00
jbj 8fa7181fa3 eliminate find-requirements on libNoVersion (Red Hat linux only).
add new-fangled requires on "libc.so.6(GLIBC_2.1)" (sparc-linux only).

CVS patchset: 3095
CVS date: 1999/06/17 20:18:08
1999-06-17 20:18:08 +00:00
jbj 5336a6f5e4 augment linux provides/requires for glibc 2.1 backward compatibility.
CVS patchset: 2790
CVS date: 1999/02/15 18:26:09
1999-02-15 18:26:09 +00:00
jbj ba66f05796 irix6 autodeps were dup'd (Shing-Gene Yung <shing@cz3.nus.edu.sg>).
CVS patchset: 2733
CVS date: 1999/01/22 00:25:25
1999-01-22 00:25:25 +00:00
jbj 0c25412902 ultrapenguin 1.1.9 sparc64 changes.
CVS patchset: 2605
CVS date: 1998/12/17 16:45:22
1998-12-17 16:45:22 +00:00
jbj c76756479e caldera patches (ray@Caldera.DE)
CVS patchset: 2584
CVS date: 1998/12/03 19:36:01
1998-12-03 19:36:01 +00:00
jbj 4514c7600f solaris: don't attempt static link. (Tim Mooney)
fix: timeCheck in rpm.c should be unsigned long. (Tim Mooney)
osf: prov searches only shared libraries. (Tim Mooney)
solaris: set PATH in prov/req scripts. (Tim Mooney)
fix: ignore modes on symlinks. (Tim Mooney)

CVS patchset: 2517
CVS date: 1998/11/06 19:55:55
1998-11-06 19:55:55 +00:00
ewt 835ae99566 more updates from Tim Mooney
CVS patchset: 2149
CVS date: 1998/06/14 16:03:14
1998-06-14 16:03:14 +00:00