head	1.3;
access;
symbols
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2008.12.27.03.38.23;	author pgollucci;	state dead;
branches;
next	1.2;

1.2
date	2004.10.23.07.29.33;	author clsung;	state Exp;
branches;
next	1.1;

1.1
date	2003.05.08.15.15.06;	author demon;	state Exp;
branches;
next	;


desc
@@


1.3
log
@               PLEASE WELCOME www/rt38

o www/rt3 has marked been IGNORE for at least one year, so has been removed.
o All www/rt* ports are now deprecated and will be removed 2008-02-01
  except www/rt36.
o GID 180 has been registered officially for rt's use.
o exactly one of www/rt36 or www/rt38 may be installed at any one time

www/p5-RT* and www/p5-RTx* will be updated shortly to depend on www/rt38.

www/rt38 is now packageable.  This means that you have to run some scripts
BY HAND after the port installation is done.

PR:             ports/125745, ports/125785
Requested by:   several on ports@@
Approved by:    vivek@@khera.org (previous rt maintainer)
@
text
@#!/bin/sh
# $FreeBSD: ports/www/rt3/pkg-install,v 1.2 2004/10/23 07:29:33 clsung Exp $
#

if [ x"$2" = xPRE-INSTALL ]; then

GROUP=rt

if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
	if pw groupadd ${GROUP}; then
		echo "Added group \"${GROUP}\"."
	else
		echo "Adding group \"${GROUP}\" failed..."
		exit 1
	fi
fi

fi

if [ x"$2" = xPOST-INSTALL ]; then
	if [ x"${RT_PATH}" = x ]; then
		RT_PATH="${PKG_PREFIX}/rt3"
	fi

	if [ x"${INITIAL_INSTALL}" = x ]; then
		echo "Upgrade of RT3 complete."
		echo ""
		echo "If this is actually your first installation, please run:"
		echo "    " perl ${RT_PATH}/sbin/rt-setup-database --action init --dba DB_DBA_USER --prompt-for-dba-password 
		echo ""
		echo "Substitute DB_DBA_USER with database administrator's name."
	else
		perl ${RT_PATH}/sbin/rt-setup-database --force --action drop --dba ${DB_DBA_USER} --dba-password ${DB_DBA_PASSWORD}
		perl ${RT_PATH}/sbin/rt-setup-database --force --action init --dba ${DB_DBA_USER} --dba-password ${DB_DBA_PASSWORD}
		sed s!%%RT_PATH%%!${RT_PATH}!g ${PKGMESSAGE}
	fi
fi

exit 0
@


1.2
log
@- update 3.0.12
- add two patch files for SQLite

PR:		ports/73029
Submitted by:	clsung
Approved by:	maintainer (Autrijus Tang), co-mentor (vanilla)
@
text
@d2 1
a2 1
# $FreeBSD: ports/www/rt3/pkg-install,v 1.1 2003/05/08 15:15:06 demon Exp $
@


1.1
log
@Create group 'rt' in pre-install phase, rather than post-extract.

Approved by:	maintainer
@
text
@d2 1
a2 1
# $FreeBSD$
d5 1
a5 3
if [ "$2" != "PRE-INSTALL" ]; then
    exit 0
fi
d15 21
@

