archivers/rpm4 4.18.2_4 MidnightBSD
Red Hat Package Manager
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
d831a59990- License
- gpl2
- Categories
- archivers
Description
The RPM Package Manager is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages. Each software package consists of an archive of files along with information about the package like its version, a description, and the like. There is also a related API ("Application Program Interface"), permitting advanced developers to bypass 'shelling out' to a command line, and to manage such transactions from within a native coding language.
In the other systems
The newest version among them is 4.18.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | archivers/rpm4 | 4.18.2_4 newest | no data | - | [email protected] | 2026-08-16 |
| FreeBSD | archivers/rpm4 | 4.18.2_3 newest | none known | - | [email protected] | - |
| DragonFly | archivers/rpm4 | 4.18.2_1 newest | none known | - | [email protected] | - |
| GhostBSD | archivers/rpm4 | 4.18.2_3 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install rpm4
From mports:
cd /usr/mports/archivers/rpm4 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rpm4>0:archivers/rpm4
LIB_DEPENDS= librpm.so:archivers/rpm4
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 2
${LOCALBASE}/lib/libelf.so: devel/elfutilsgsed: textproc/gsed
Library 5
libelf.so: devel/elfutilslibgcrypt.so: security/libgcryptlibnss3.so: security/nsslibpopt.so: devel/poptlibzstd.so: archivers/zstd
Runtime 3
${LOCALBASE}/lib/libelf.so: devel/elfutilsbash: shells/bashgxargs: misc/findutils
Build dependencies 6
Run dependencies 7
Required by 1
Configuration
Options name: archivers_rpm
| Option | Default | Description |
|---|---|---|
| NLS | off | |
| PLUGINS | off | |
| PYTHON | on |
- USES
- cpe gmake iconv libarchive libtool lua pathfix pkgconfig readline shebangfix sqlite tar:bzip2
- Service scripts
- none
- Conflicts with
- rpm2cpio rpm4 rpm4-noopenmp
Files
Manual pages 18
- gendiff(1)
- rpm(8)
- rpm-misc(8)
- rpm-plugin-dbus-announce(8)
- rpm-plugin-prioreset(8)
- rpm-plugin-syslog(8)
- rpm-plugin-systemd-inhibit(8)
- rpm-plugins(8)
- rpm2archive(8)
- rpm2cpio(8)
- rpmbuild(8)
- rpmdb(8)
- rpmdeps(8)
- rpmgraph(8)
- rpmkeys(8)
- rpmlua(8)
- rpmsign(8)
- rpmspec(8)
pkg-plist 262
- bin/gendiff
- bin/rpm
- bin/rpm2archive
- bin/rpm2cpio
- bin/rpmbuild
- bin/rpmdb
- bin/rpmgraph
- bin/rpmkeys
- bin/rpmlua
- bin/rpmquery
- bin/rpmsign
- bin/rpmspec
- bin/rpmverify
- etc/dbus-1/system.d/org.rpm.conf
- include/rpm/argv.h
- include/rpm/header.h
- include/rpm/rpmarchive.h
- include/rpm/rpmbase64.h
- include/rpm/rpmbuild.h
- include/rpm/rpmcallback.h
- include/rpm/rpmcli.h
- include/rpm/rpmcrypto.h
- include/rpm/rpmdb.h
- include/rpm/rpmds.h
- include/rpm/rpmfc.h
- include/rpm/rpmfi.h
- include/rpm/rpmfiles.h
- include/rpm/rpmfileutil.h
- include/rpm/rpmio.h
- include/rpm/rpmkeyring.h
- include/rpm/rpmlib.h
- include/rpm/rpmlog.h
- include/rpm/rpmmacro.h
- include/rpm/rpmpgp.h
- include/rpm/rpmpol.h
- include/rpm/rpmprob.h
- include/rpm/rpmps.h
- include/rpm/rpmsign.h
- include/rpm/rpmspec.h
- include/rpm/rpmsq.h
- include/rpm/rpmstring.h
- include/rpm/rpmstrpool.h
- include/rpm/rpmsw.h
- include/rpm/rpmtag.h
- include/rpm/rpmtd.h
- include/rpm/rpmte.h
- include/rpm/rpmts.h
- include/rpm/rpmtypes.h
- include/rpm/rpmurl.h
- include/rpm/rpmutil.h
- include/rpm/rpmver.h
- lib/librpm.so
- lib/librpm.so.9
- lib/librpm.so.9.4.1
- lib/librpmbuild.so
- lib/librpmbuild.so.9
- lib/librpmbuild.so.9.4.1
- lib/librpmio.so
- lib/librpmio.so.9
- lib/librpmio.so.9.4.1
- lib/librpmsign.so
- lib/librpmsign.so.9
- lib/librpmsign.so.9.4.1
- %%PYTHON_SITELIBDIR%%/rpm/__init__.py
- %%PYTHON_SITELIBDIR%%/rpm/_rpm.so
- %%PYTHON_SITELIBDIR%%/rpm/transaction.py
- %%PYTHON_SITELIBDIR%%/rpm--py.egg-info
- lib/rpm-plugins/dbus_announce.so
- lib/rpm-plugins/prioreset.so
- lib/rpm-plugins/syslog.so
- lib/rpm-plugins/systemd_inhibit.so
- lib/rpm/brp-compress
- lib/rpm/brp-elfperms
- lib/rpm/brp-remove-la-files
- lib/rpm/brp-strip
- lib/rpm/brp-strip-comment-note
- lib/rpm/brp-strip-static-archive
- lib/rpm/check-buildroot
- lib/rpm/check-files
- lib/rpm/check-prereqs
- lib/rpm/check-rpaths
- lib/rpm/check-rpaths-worker
- lib/rpm/elfdeps
- lib/rpm/fileattrs/debuginfo.attr
- lib/rpm/fileattrs/desktop.attr
- lib/rpm/fileattrs/elf.attr
- lib/rpm/fileattrs/font.attr
- lib/rpm/fileattrs/metainfo.attr
- lib/rpm/fileattrs/ocaml.attr
- lib/rpm/fileattrs/perl.attr
- lib/rpm/fileattrs/perllib.attr
- lib/rpm/fileattrs/pkgconfig.attr
- lib/rpm/fileattrs/rpm_macro.attr
- lib/rpm/fileattrs/script.attr
- lib/rpm/find-lang.sh
- lib/rpm/find-provides
- lib/rpm/find-requires
- lib/rpm/fontconfig.prov
- lib/rpm/macros
- lib/rpm/mkinstalldirs
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rpm-4.18.2.tar.bz2 | 6.49455e+06 | ba7eee1bc2c6f83be73c0a40d159c625cbaed976b3ac044233404fb25ae1b979 |
Master sites 1
- http://ftp.rpm.org/releases/rpm-${PORTVERSION:R}.x/
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
d831a59990 |
Lucas Holt | archivers/rpm4: derive the platform directory name on every 4.x release rpm names its platform macro directories after the configure host triplet,
which carries the OS major version, so they install as <arch>-midnightbsd4.
RPM_OPSYS only appended the version when OSREL was exactly "4.1", so on any
other 4.x the packing list expanded to <arch>-midnightbsd and all 67 platform
entries were reported missing:
/usr/local/lib/rpm/platform/amd64-midnightbsd4/macros is missing from the plist
... (67 total)
Fake failed.
Drop the version test. ${OSREL:R} yields 4 for any 4.x, which is what rpm
uses. Both flavors build and package here on 4.2, which reproduced the
failure before the change.
AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |
|
6e7fdce730 |
Lucas Holt | archivers/rpm4: fix MidnightBSD platform plist Use the platform suffix generated by each supported MidnightBSD release so fake plist validation matches the installed RPM macro files.
AI-Assisted-by: Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |