Commit graph

104 commits

Author SHA1 Message Date
wiz
8292204475 *: recursive bump for perl 5.36 2022-06-28 11:30:51 +00:00
wiz
6eae1297d5 *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
ryoon
633bec58e9 *: Recursive revbump from devel/nss 2021-04-15 11:23:03 +00:00
wiz
14c07cf0ce *: bump PKGREVISION for nss linking fix 2021-04-09 06:54:56 +00:00
wiz
d068b5cbe5 rpm: help it find nss 2021-04-08 08:54:30 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
rillig
56036c29f6 misc/rpm: remove no-op SUBST group for mkdir
If this should ever be necessary, it will be caught by CHECK_WRKREF.
2020-04-25 19:41:55 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
ryoon
76d5de997e Recursive rebvump from devel/nss 2019-05-05 22:49:45 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
jperkin
cce8ad93ef Recursive revision bump for archivers/libarchive. 2017-05-29 11:09:45 +00:00
adam
b3fba444d0 RPM 4.13.0.1
Security fixes
* Fix several out of bounds reads in the OpenPGP parser
* Fix handling of OpenPGP reserved tag (should be rejected)
* Fix various crashes from malformed packages with invalid tags

General bugfixes
* Fix %transfiletriggerpostun nondeterministic behavior
* Fix rpmdb cleanup on signal (regression introduced in 4.13.0)

Package building
* Fix debuginfo GDB index generation (regression introduced in 4.13.0)
* Fix malformed packages being generated around 4GB size boundary (regression introduced in 4.12.0)
* Fix special %doc/%license directory inheriting default file permissions (regression introduced in 4.13.0)

Build process
* Fix API documentation generation with Doxygen >= 1.8.8
2017-04-23 08:18:14 +00:00
wiedi
f261302fe4 wants -lcrypto 2016-09-18 17:02:12 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
jperkin
c43e8d9265 The recent libarchive update changed the library major. Increase the
ABI depends and perform a PKGREVISION bump for dependents.

Noticed by OSX binary package users.
2016-07-01 17:55:22 +00:00
jperkin
88b0b1e703 Use OPSYSVARS. 2016-02-25 15:35:30 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
sevan
c9aedc991c Add patch for CVE-2014-8118 - Integer overflow allows remote attackers to
execute arbitrary code via a crafted CPIO header in the payload section of an
RPM file, which triggers a stack-based buffer overflow.

https://bugzilla.redhat.com/show_bug.cgi?id=1168715

Reviewed by wiz@
2015-03-22 17:32:54 +00:00
ryoon
b9853a21c6 Update tp 4.12.0.1
Changelog:

Summary of changes from RPM 4.12.0
Package building

    Fix RPMTAG_ARCHIVESIZE / RPMTAG_LONGARCHIVESIZE generation (RhBug:1142949)
    Reduce double separator in dependency EVR error into a warning (RhBug:1065563)

Build process

    Add testcase for RhBug:1142949


Summary of changes from RPM 4.11.2
General bugfixes and enhancements

    New --nopretrans and --noposttrans disabler switches (previously tied to --nopre/--nopost)
    New --noplugins switch to disable all plugins
    New --reinstall mode which can handle changing file policies (RhBug:966715)
    New --exportdb and --importdb switches in rpmdb(8)
    New --recommends, --suggests, --supplements and --enhances query aliases for querying weak dependencies
    New optional payload format to support large (> 4GB) files within packages (ticket #41)
    New rpm2archive utility for converting rpm payload to tar archives

    Fix curl globbing being enabled on remote retrieval (RhBug:1076277)
    Fix $1 argument to %pretrans, %posttrans and %verifyscript to behave like all other scripts
    Fix mixed binary + source rpm installation progress (RhBug:984724)
    Fix file actions sometimes carrying state across multiple rpmtsRun() calls (RhBug:1076552)
    Fix duplicate usernames causing false positives on verification (ticket #872)
    Fix ordering to prefer self-provides on ordering when appropriate (RhBug:1111349)
    Fix a double-free on unpadded signature header

    Add support for "new" architectures:
        m68k (again)
        Sparc Niagara (detection)
        ARM v6 and v7 (hardware FPU detection)
    Documentation, translation updates

Package building

    New warnings on invalid / dubious spec constructs:
        Detect multiple %files sections per package
        Detect empty %files -f manifest files
        Detect multiple %changelog sections per spec
        Detect duplicate Group, Summary, Description, Distribution, Vendor, License and Packager tags per package (ticket #27)
    Add support for specifying weak dependencies (Recommends, Suggests, Supplements and Enhances) tags in spec
    Add support for automatic generation of weak dependencies (RhBug:1117912)

    New %{load:<path>} macro to load custom macro files (from eg spec)
    New %_smp_ncpus_max macro to configure CPU limit for parallel builds (related to RhBug:669638)
    New %make_build macro for hiding parallel-build magic from specs (ticket #115)
    New %_rundir macro for referring to /run (formerly /var/run) directory
    New %__gpg_reserved_space macro allows preallocating space for signatures which allows very fast package signing
    Add support for detecting and warning on macro scoping violations (RhBug:552944) when %trace is active
    Add support for %autosetup -S git_am variant (RhBug:???)
    Fix parametrized macros eating newlines (RhBug:1045723)
    Fix around macro scoping problems in %autosetup (RhBug:???)

    Fix ELF soname dependencies getting generated for non-library DSO's too (RhBug:???)
    Fix garbage sonames sometimes getting added as dependencies (ticket #158)
    Fix various issues in dependency generator
    Fix libtool dependency generation with libtool >= 2.4.2 version
    Fix external dependency generator to use the same generators as internal one by default
    Fix crash on missing name-argument to %package (RhBug:1123722)

    Fix non-canonical path usage for matching in debugedit (RhBug:1077148)
    Fix PPC ABI change in default configuration (RhBug:1085127)

Removed features

    Remove support for %_noPayloadPrefix (rpm < 3.0.5 compatibility)
    Remove experimental support for "collections", added in 4.9.0

API changes

    New rpmtxnBegin() and rpmtxnEnd() to permit clients to control transaction locking
    New rpmtsImportHeader() to permit importing "detached" headers into rpmdb
    New rpmtsAddReinstallElement() function for reinstalling packages

    New rpmdbIndexIteratorNextTd() provides a nicer iterator interface to rpmdb indexes

    New file info set iterator functions: rpmfiFLinks(), rpmfiFindFN(), rpmfiStat()...
    New file info set iterator functions for accessing original paths from relocated packages: rpmfiOFN(), rpmfiOBN(), rpmfiODN(), rpmfiFindOFN()
    New archive API on top of file info iterators: (FIXME: describe...)
    New "rpmfiles" object + related API for random access to file info sets
    Many new file info set iteration modes (FIXME: describe...)

    New rpmteFiles() to return transaction element file info set, to be used instead of rpmteFI()
    New rpmdsTagF(), rpmdsTagEVR(), rpmdsD(), rpmdsPutToHeader(), rpmdsTi(), rpmdsTagTi() and rpmdsSinglePoolTix() methods to rpmds objects

Internal improvements and cleanups

    Lots of cleanups all over the codebase
        Former "file state manager" eliminated and rewritten
        "Package state manager" largely eliminated
        File IO subsystem sanity & improvements
        Berkeley DB dependencies isolated to backend code
        File info sets are finally properly opaque
        Handle trigger indexes within rpmds objects
    Partial thread-safety by added locks/mutexes (FIXME: describe...)
        Configuration and macros
        Logging
        Keyrings and keys
        ...
    Fix symlink timestamp on install on systems which support it
    Fix problematic license on internal mergesort() implementation (removed)
    Fix rpm dependency on libselinux (moved to a plugin)
    Fix installation to always use header, not payload metadata
    Fix global macro state side-effects from rpmInstallSourcePackage()

    Fix oversized stack allocation on verify (RhBug:1106594)
    Fix buffer overflows on malformed macro define/undefine (RhBug:1087000)
    Optimize package generation and signing considerably
    Optimize file requires processing
    Optimize installed dependency processing

Plugins

    A new plugin system, internal-only for now (FIXME: describe...)
    Plugins included in this release:
        systemd_inhibit plugin - preventing shutdown while transaction is in progress (RhBug:1109927)
        selinux plugin - basic SELinux support, previously in librpm directly
        syslog - example plugin for logging rpm activity to syslog

Python bindings

    Database index iteration returns proper types for non-strings
    New rpm.fi methods: FLinks(), FindFN(), OFN()...
    New fi.FLinks() method added
    New rpm.files object + related API for random access to file info sets
    New rpm.archive object + related API for manipulating package payloads
    New te.Files() method added
    New addReinstall() method in transaction set objects (related to RhBug:966715, RhBug:1071854...)
    New rpm.strpool object for utilizing shared string pool with eg rpm.fi and rpm.ds objects
    New rpm.header_magic constant exported
    Fix several Python 3 compatibility issues (RhBug:1064758
        Fix build- and sign-module initialization (RhBug:1064758)
        Fix sign-module missing module methods
        Fix incompatible module name usage (foomodule.so vs foo.so)
        Fix misc Python 2 vs 3 API difference issues
    ... FIXME:this list is very incomplete

Lua interface

    New rpm.load() function for loading macro files

Build process

    New test-cases for various issues
    Fix dist tarballs to use PAX format to overcome UID/GID limitations
    Fix in-tree python binding build with setup.py (related to RhBug:531543)
    Fix librpmsign library to follow same versioning as other rpm libraries for consistency's sake


Summary of changes from RPM 4.11.1
General bugfixes and enhancements

    Fix removed symlinks affecting fingerprinting (RhBug:???)
    Fix bogus dependency check errors from installed packages with self-obsoletes and -conflicts
    Fix bogus header growth on export in some circumstances, such as install (RhBug:953719)
    Fix byteorder for 64bit tags on big-endian systems (RhBug:1012946)
    Fix signature generation using RPMSIGTAG_LONGSIZE when not needed (RhBug:1012595)
    Fix segfault executing a -p <lua> scriptlet without a body (RhBug:1004062)
    Fix failure to install relocated package with unowned directories (RhBug:1001553)
    Fix scriptlets in relocatable packages not always executing with $RPM_INSTALL_PREFIX* defined (RhBug:979443)
    Fix RPMTAG_NOSOURCE and RPMTAG_NOPATCH tags defined as non-arrays (RhBug:991329)
    Fix a possible loophole in file triplet sanity-checking
    Fix name service initialization where passwd and group service differs from host (ticket #157)
    Add support for ppc64le architecture

Package building

    Fix double-free on %caps() wildcard %files entry (RhBug:956190)
    Fix sub-package names not getting sanity-checked (RhBug:1039520)
    Fix invalid separators in EVR passing sanity checking
    Fix some invalid characters in dependency range operators passing sanity checking
    Fix autogenerated dependencies bypassing sanity-checking (related to RhBug:503846)
    Fix python libdirs in non-root prefix not getting bytecompiled (RhBug:868332)
    Fix (remove) bogus __find_requires|provides macro definitions in macros.perl (RhBug:1043149)
    Fix (really) debugedit choking on .debug_gdb_scripts section (SuseBug:818502)
    Fix %autosetup git patch application to handle file additions (RhBug:1059285)
    Add automatic generation for appdata() and application() provides
    Add support for (quoted) whitespace in automatically generated dependencies (RhBug:503846)

Python bindings

    Fix mode and flags not honored when reopening a file descriptor as rpm.fd
    Fix RPMFILE_ICON and RPMFILE_SPECFILE constants missing
    Fix rpm.dsSingle() swapped arguments (regession introduced in rpm 4.8.0)
    Fix Python 3 compatibility issues in rpm.TransactionSet class
    Fix module import succeeding on rpm initialization failure
    Add .open() class-method to rpm.fd
    Add open-mode and -flags to rpm.fd as properties
    Add support for reopening an rpm.fd file descriptor
    Add accessor for spec %check section
    Add bindings for rpm stringpool
    Add support for shared stringpool with rpm.fi and rpm.ds objects (optional pool argument to constructor)

Internal improvements and cleanups

    Fix minor memory leak in %files parsing
    Fix rpmstrPoolRehash() missing last id
    Fix string pool artifacts (unreliable rpmstrPoolNumStr(), empty strings showing up on rehash etc) caused by dummy entries
    Fix unnecessary /proc dependency if getauxval(3) is available
    Fix various minor issues in beecrypt crypto backend
    Fix possible mishandling of handing environment open on EACCESS and EROFS returns
    Optimize / cleanup %attr() and %defattr() string storage
    Optimize dependency set management in file classifier
    Optimize MPI length validation
    Optimize beecrypt crypto backend

Build process

    Add upport 7za and 7z as alternatives to 7-zip
    Fix an include portability issue
    Add several new test-cases
2015-03-15 05:34:56 +00:00
joerg
395259c84a Replace rename with l to work with both old and new wrappers. 2014-12-11 22:13:08 +00:00
dholland
53b5a5d74f PR 49066 Kamil Rytarowski: rpm requires libmagic on all platforms.
(not just solaris)
PKGREVISION -> 2
2014-08-08 15:00:54 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
markd
9484821782 Build on Linux. 2013-12-16 09:53:44 +00:00
ryoon
9c6b8d1cdc Fix build failure with "error: possibly undefined macro: AC_MSG_ERROR."
* Add pkg-config to USE_TOOLS.
2013-09-24 13:17:18 +00:00
ryoon
df9eddc79a Fix build on OmniOS.
* Add -fno-stack-protector to CFLAGS to fix link error for SunOS.
* Patch configure.ac and regenerate the related stuff.
* Buildlink sysutils/file for libmagic.
* Detect dirfd, setprogname and htonll in configure script.
* Create PLIST for NetBSD and SunOS.
2013-09-20 17:26:14 +00:00
joerg
239ba82b17 Fix broken #elif on OSX. Fix missing prototypes. Don't conflict with
libc mergesort on *BSD. Use system libtool.
2013-09-15 12:32:22 +00:00
ryoon
6ebbbe3c10 Update to 4.11.1 from 2.5.4
Changelog:
* Many bugfixes and improvements.
* New commands.
2013-09-13 12:41:32 +00:00
sbd
57628a2bf0 Due to gmake bug #30612 rpm needs atleast gmake-3.82nb1 which includes
the bug fix.
2013-05-21 07:57:50 +00:00
asau
9912a3809d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:57:15 +00:00
adam
ad3fef93cf Revbump after db5 update 2012-01-18 14:35:13 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
zafer
518f71625d update master_sites 2011-03-17 21:19:53 +00:00
sbd
7db34beac2 If db4 is selected as the DBD_TYPE then PTHEADS_LDFLAGS is needed for linking. 2010-07-21 22:29:36 +00:00
heinz
f63b157751 Added LICENSE information. 2010-01-21 17:41:06 +00:00
dholland
9f5ec6db56 Give a little help finding db185 libs for configs/machines where db185
isn't in libc, such as Linux or with BDB_DEFAULT=db4 BDB185_DEFAULT=db4.

From Aleksey Cheusov in PR 37293.
2009-12-07 04:06:02 +00:00
sketch
6d0b5e6ddc Revert previous, it breaks NetBSD. Will have to stay broken on Solaris for
a little longer.
2009-09-22 13:16:00 +00:00
sketch
8f9678ead2 Add an hack to get this building on platforms with USE_DB185. 2009-09-22 08:37:15 +00:00
heinz
c05a759fd3 The package supports installation to DESTDIR. 2008-01-12 23:43:53 +00:00
gdt
e310d0d051 add:
MAKE_JOBS_SAFE=		no
2007-05-13 00:55:14 +00:00
tonio
c60903adf7 make sure to include stdlib where alloca() is used, to fix build under freebsd,
to pick the builtin alloca
2007-02-18 11:17:03 +00:00
rillig
26b6a3baf4 Fixed PKGMANDIR. 2006-10-22 06:39:43 +00:00
wiz
776a05be72 Reset maintainer for people who lost their commit bit. 2006-09-03 00:56:28 +00:00
joerg
a9aea9f59e Still set USE_PKGLOCALEDIR for the PLIST magic. 2006-06-16 14:04:11 +00:00
jlam
c0611be9b7 The rpm configure script doesn't check whether libintl.so has any
library dependencies, e.g. libiconv.so.  Set BROKEN_GETTEXT_DETECTION=yes
to force LIBS to include -lintl and the right depenendent libraries
to work around this bug.  This is acceptable since every executable
in misc/rpm is linked to -lintl anyway.  This fixes PR pkg/33708.
2006-06-13 14:43:21 +00:00
jlam
1cf9796f3c BUILD_USE_MSGFMT and USE_MSGFMT_PLURALS are obsolete. Replace with
USE_TOOLS+=msgfmt.
2006-04-13 18:23:29 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
tron
fb3920eecb Invoke "${RANLIB}" manually after installation. This makes this package
usable under Mac OS X. Bump package revision and minimal required of
this package because of this fix.
2006-01-21 20:42:39 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00