head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	old_RELEASE_5_EOL:1.1
	old_RELEASE_7_0_0:1.1
	old_RELEASE_6_3_0:1.1
	old_PRE_XORG_7:1.1
	old_RELEASE_4_EOL:1.1
	old_RELEASE_6_2_0:1.1
	old_RELEASE_6_1_0:1.1
	old_RELEASE_5_5_0:1.1
	old_RELEASE_6_0_0:1.1
	old_RELEASE_5_4_0:1.1
	old_RELEASE_4_11_0:1.1
	old_RELEASE_5_3_0:1.1
	old_RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.05.54.23;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2010.11.30.14.14.36;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2008.07.07.13.19.15;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2008.07.07.11.59.01;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2004.03.05.02.26.10;	author glewis;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@#!/bin/sh
# $FreeBSD: head/archivers/rpm5/pkg-install 300895 2012-07-14 12:56:14Z beat $

# The RPM database directory
RPM_DATABASE_DIR=/var/local/lib/rpm

# Provide instructions for initialising the RPM database.
if [ "$2" = "POST-INSTALL" ]; then
	if [ -d "${RPM_DATABASE_DIR}" ]; then
		echo ""
		echo "Old RPM database found. If you are upgrading RPM from a"
		echo "different version of Berkeley DB, you might need to rebuild"
		echo "with the command:"
		echo ""
		echo "	${PKG_PREFIX}/bin/rpm --rebuilddb"
		echo ""
	fi
fi
@


1.4
log
@- Update to 5.2.1

PR:		ports/152701
Submitted by:	Anders F Bjorklund <afb@@rpm5.org> (maintainer)
@
text
@d2 1
a2 1
# $FreeBSD: ports/archivers/rpm5/pkg-install,v 1.3 2008/07/07 13:19:15 edwin Exp $
@


1.3
log
@New port: archivers/rpm5

	New major version of RPM, based upon rpm5.org release.

	Major new features are sqlite, xar and lzma support as
	well as lots of cleanup and better support for FreeBSD.

	See http://rpm5.org/pressrelease.php for more details.

	The new rpm5 port is based on the old rpm4 port, with
	new knobs added for Python and Lua scripting support.

PR:		ports/123022
Submitted by:	Anders F Bjrklund <afb@@rpm5.org>
@
text
@d2 1
a2 1
# $FreeBSD: ports/archivers/rpm4/pkg-install,v 1.1 2004/03/05 02:26:10 glewis Exp $
d9 8
a16 9
	if [ ! -d "${RPM_DATABASE_DIR}" ]; then
#		echo ""
#		echo "No RPM database found.  If you wish to use RPM to install"
#		echo "RPM packages the you will need to initialise the database"
#		echo "with the commands:"
#		echo ""
#		echo "	mkdir -p ${RPM_DATABASE_DIR}"
#		echo "	${PKG_PREFIX}/bin/rpm --initdb"
#		echo ""
@


1.2
log
@Welcome archivers/rpm5

PR:		ports/123022
@
text
@d2 1
a2 1
# $FreeBSD: ports/archivers/rpm5/pkg-install,v 1.1 2004/03/05 02:26:10 glewis Exp $
d5 1
a5 1
RPM_DATABASE_DIR=/var/lib/rpm
d10 8
a17 8
		echo ""
		echo "No RPM database found.  If you wish to use RPM to install"
		echo "RPM packages the you will need to initialise the database"
		echo "with the commands:"
		echo ""
		echo "	mkdir -p ${RPM_DATABASE_DIR}"
		echo "	${PKG_PREFIX}/bin/rpm --initdb"
		echo ""
@


1.1
log
@Add a port of rpm 4.0.4:

"The Red Hat Package Manager (RPM) 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.

 WWW: http://www.rpm.org/"

4.0.4 was chosen because:
. The only newer version available as a tarball (4.1) is buggy.
. This version closely corresponds to our current default linux_base.
. This version uses the version of popt we have in the tree (unfortunately
  it uses an earlier version of beecrypt).
. This version is a lot less work to port than 4.2 (elfutils).

However, I am considering how best this port could be updated to a more
recent version (e.g. 4.1.1 or 4.2, probably the latter).

This wasn't an update to the current rpm port as I haven't done enough
testing of other ports that use rpm with it.

Tested on 4.9/i386, 5.2/sparc64 and 5.2/alpha.
@
text
@d2 1
a2 1
# $FreeBSD$
@

