Path to this page:
./
misc/rpm,
The Red Hat Package Manager
Branch: pkgsrc-2016Q4,
Version: 4.12.0.1nb4,
Package name: rpm-4.12.0.1nb4,
Maintainer: pkgsrc-usersThis is the Red Hat Package Manager. It is used to manipulate Red Hat
packages, much in the same way as the pkg_* tools are used in FreeBSD
and NetBSD. rpm's come in their own format, and are typically used in
the Linux community for binary package administration.
DEINSTALL [+/-]# $NetBSD: DEINSTALL,v 1.3 2003/08/30 19:45:00 jlam Exp $
RPMDIR="@RPMDIR@"
case ${STAGE} in
POST-DEINSTALL)
for db in ${RPMDIR}/*.rpm; do
if [ ${RPMDIR}/.pre-timestamp -ot $db ] && \
[ ${RPMDIR}/.post-timestamp -nt $db ]; then
${RM} -f $db
fi
done
${RM} -f ${RPMDIR}/.pre-timestamp
${RM} -f ${RPMDIR}/.post-timestamp
${RMDIR} -p ${RPMDIR} 2>/dev/null || ${TRUE}
if [ -d ${RPMDIR} ]; then
${CAT} << EOF
===========================================================================
If you won't be using ${PKGNAME} any longer, you may want to remove:
${RPMDIR}
where the RPM database is stored.
Caution: you will lose any data ${PKGNAME} has about any installed
packages!
===========================================================================
EOF
fi
;;
esac
Required to run:[
shells/bash] [
lang/perl5] [
devel/popt] [
devel/nss] [
devel/nspr] [
databases/db4] [
archivers/libarchive]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: d416bdb249b246b00b2d5d34c66e7f5a68a62524
RMD160: c57a676d467d0984b13bdca7df803e26609055fd
Filesize: 4032.317 KB
Version history: (Expand)
- (2017-01-05) Package added to pkgsrc.se, version rpm-4.12.0.1nb4 (created)