mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:03:03 +01:00
HPUX Depot install
This commit is contained in:
parent
7511400e21
commit
d0e4100420
@ -27,7 +27,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: Makefile.in,v 1.2 2008-01-07 12:25:37 paulbeach Exp $
|
||||
# $Id: Makefile.in,v 1.3 2008-01-10 11:26:51 paulbeach Exp $
|
||||
#
|
||||
ROOT=..
|
||||
|
||||
@ -48,8 +48,8 @@ FIREBIRD=$(FirebirdInstallPrefix)
|
||||
export -n FIREBIRD
|
||||
export -n INTERBASE
|
||||
|
||||
.PHONY: install dist packages tarfile
|
||||
.PHONY: buildTarDir buildImageDir buildRoot buildDebugInfo
|
||||
.PHONY: install dist packages depotfile tarfile
|
||||
.PHONY: buildDepot buildTarDir buildImageDir buildRoot buildDebugInfo
|
||||
|
||||
# Some of these targets are run from the root tree of the build.
|
||||
# those need to know where the install subdirectory is kept.
|
||||
@ -77,9 +77,11 @@ Version=$(BuildVersion)-$(PackageVersion)
|
||||
|
||||
TarDir= Firebird$(ArchPrefix)-$(Version).$(CpuType)
|
||||
TarFile=Firebird$(ArchPrefix)-$(Version).$(CpuType).tar
|
||||
DepotFile=Firebird$(ArchPrefix)-$(Version).$(CpuType).depot
|
||||
RPMFile=Firebird$(ArchPrefix)-$(Version).$(CpuType).rpm
|
||||
DebugDir=Firebird$(ArchPrefix)-debuginfo-$(Version).$(CpuType)
|
||||
DebugFile=Firebird$(ArchPrefix)-debuginfo-$(Version).$(CpuType).tar
|
||||
psfFile=firebird$(ArchPrefix).psf
|
||||
|
||||
PkgSrcDir=$(InstallRoot)/$(ArchType)
|
||||
ScriptDir=$(GEN_ROOT)/install/scripts/
|
||||
@ -89,7 +91,11 @@ TarInstallDir=$(GEN_ROOT)/install
|
||||
|
||||
dist : packages
|
||||
|
||||
packages: tarfile debugfile
|
||||
packages: depotfile tarfile debugfile
|
||||
depotfile: $(DepotFile)
|
||||
|
||||
$(DepotFile): buildDepot
|
||||
(cd $(GEN_ROOT); swpackage -d "| gzip -c > $(DepotFile).gz" -x media_type=tape -s $(psfFile))
|
||||
|
||||
tarfile: $(TarFile)
|
||||
|
||||
@ -158,7 +164,8 @@ buildTarDir: buildImageDir
|
||||
chmod a+x $(GEN_ROOT)/$(TarDir)/install.sh $(GEN_ROOT)/$(TarDir)/scripts/*sh
|
||||
(cd $(GEN_ROOT)/buildroot; tar -cvf buildroot.tar usr opt )
|
||||
(cd $(GEN_ROOT)/buildroot; tar -tvf buildroot.tar > manifest.txt )
|
||||
(cd $(GEN_ROOT)/buildroot; cp buildroot.tar ../$(TarDir)/buildroot.tar ) (cd $(GEN_ROOT)/buildroot; cp manifest.txt ../$(TarDir)/manifest.txt )
|
||||
(cd $(GEN_ROOT)/buildroot; cp buildroot.tar ../$(TarDir)/buildroot.tar )
|
||||
(cd $(GEN_ROOT)/buildroot; cp manifest.txt ../$(TarDir)/manifest.txt )
|
||||
|
||||
install: buildTarDir
|
||||
(cd $(GEN_ROOT)/$(TarDir); ./install.sh)
|
||||
|
140
builds/install/arch-specific/hpux/classic/firebirdCS.psf.in
Normal file
140
builds/install/arch-specific/hpux/classic/firebirdCS.psf.in
Normal file
@ -0,0 +1,140 @@
|
||||
depot
|
||||
layout_version 1.0
|
||||
vendor
|
||||
tag Firebird
|
||||
title Firebird Project
|
||||
description "Firebird Database"
|
||||
end
|
||||
|
||||
product
|
||||
tag Firebird
|
||||
title "Firebird Database for HP-UX"
|
||||
description "Firebird Relational Database Classic"
|
||||
revision 2.1.0
|
||||
category database
|
||||
category_title Database
|
||||
preinstall install/scripts/preInstall.sh
|
||||
postinstall install/scripts/postInstall.sh
|
||||
preremove install/scripts/preUninstall.sh
|
||||
postremove install/scripts/postUninstall.sh
|
||||
#
|
||||
architecture HP-UX_B.11_64
|
||||
os_name HP-UX
|
||||
os_release ?.11.*
|
||||
os_version ?
|
||||
#
|
||||
fileset
|
||||
tag main
|
||||
file -u 0666 -g firebird -o firebird firebird/security2.fdb /opt/firebird/security2.fdb
|
||||
file -u 0644 -g firebird -o firebird firebird/misc/firebird.conf /opt/firebird/firebird.conf
|
||||
file -u 0644 -g firebird -o firebird ../builds/install/misc/aliases.conf.in /opt/firebird/aliases.conf
|
||||
file -u 0644 -g firebird -o firebird firebird/misc/fbintl.conf /opt/firebird/fbintl.conf
|
||||
file -u 0644 -g firebird -o firebird ../doc/WhatsNew /opt/firebird/WhatsNew
|
||||
end
|
||||
#
|
||||
fileset
|
||||
tag scripts
|
||||
file -u 0555 -g firebird -o firebird install/bin/changeRunUser.sh /opt/firebird/bin/changeRunUser.sh
|
||||
file -u 0555 -g firebird -o firebird install/bin/restoreRootRunUser.sh /opt/firebird/bin/restoreRootRunUser.sh
|
||||
file -u 0555 -g firebird -o firebird install/bin/changedbaPassword.sh /opt/firebird/bin/changedbaPassword.sh
|
||||
end
|
||||
fileset
|
||||
tag include
|
||||
file -u 0644 -g firebird -o firebird firebird/include/ib_util.h /opt/firebird/include/ib_util.h
|
||||
file -u 0644 -g firebird -o firebird firebird/include/perf.h /opt/firebird/include/perf.h
|
||||
file -u 0644 -g firebird -o firebird firebird/include/iberror.h /opt/firebird/include/iberror.h
|
||||
file -u 0644 -g firebird -o firebird firebird/include/ibase.h /opt/firebird/include/ibase.h
|
||||
end
|
||||
fileset
|
||||
tag intl
|
||||
file -u 0755 -g firebird -o firebird firebird/intl/libfbintl.sl /opt/firebird/intl/libfbintl.sl
|
||||
end
|
||||
fileset
|
||||
tag UDF
|
||||
file -u 0755 -g firebird -o firebird firebird/UDF/ib_udf.sl /opt/firebird/UDF/ib_udf.sl
|
||||
file -u 0755 -g firebird -o firebird firebird/UDF/fbudf.sl /opt/firebird/UDF/fbudf.sl
|
||||
file -u 0644 -g firebird -o firebird ../src/extlib/ib_udf.sql /opt/firebird/UDF/ib_udf.sql
|
||||
file -u 0644 -g firebird -o firebird ../src/extlib/ib_udf2.sql /opt/firebird/UDF/ib_udf2.sql
|
||||
file -u 0644 -g firebird -o firebird ../src/extlib/fbudf/fbudf.sql /opt/firebird/UDF/fbudf.sql
|
||||
end
|
||||
fileset
|
||||
tag bin
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/fb_inet_server /opt/firebird/bin/fb_inet_server
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/gfix /opt/firebird/bin/gfix
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/gbak /opt/firebird/bin/gbak
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/gsplit /opt/firebird/bin/gsplit
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/gsec /opt/firebird/bin/gsec
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/isql /opt/firebird/bin/isql
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/gpre /opt/firebird/bin/gpre
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/gds_drop /opt/firebird/bin/gds_drop
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/gstat /opt/firebird/bin/gstat
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/fb_lock_print /opt/firebird/bin/fb_lock_print
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/fb_lock_mgr /opt/firebird/bin/fb_lock_mgr
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/gdef /opt/firebird/bin/gdef
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/qli /opt/firebird/bin/qli
|
||||
# From 2.0
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/nbackup /opt/firebird/bin/nbackup
|
||||
# From 2.1
|
||||
file -u 0755 -g firebird -o firebird firebird/bin/fbsvcmgr /opt/firebird/bin/fbsvcmgr
|
||||
end
|
||||
fileset
|
||||
tag upgrade
|
||||
file -u 0644 -g firebird -o firebird ../src/misc/upgrade/v2/ib_udf2_params.txt /opt/firebird/upgrade/ib_udf2.params.txt
|
||||
file -u 0644 -g firebird -o firebird ../src/misc/upgrade/v2/ib_udf_params.txt /opt/firebird/upgrade/ib_udf_params.txt
|
||||
file -u 0644 -g firebird -o firebird ../src/misc/upgrade/v2/ib_udf_upgrade.sql /opt/firebird/upgrade/ib_udf_upgrade.sql
|
||||
file -u 0644 -g firebird -o firebird ../src/misc/upgrade/v2/security_database.sql /opt/firebird/upgrade/security_database.sql
|
||||
file -u 0644 -g firebird -o firebird ../src/misc/upgrade/v2/security_database.txt /opt/firebird/upgrade/security_database.txt
|
||||
file -u 0644 -g firebird -o firebird ../src/misc/upgrade/v2.1/metadata_charset.txt /opt/firebird/upgrade/metadata_charset.txt
|
||||
file -u 0644 -g firebird -o firebird ../src/misc/upgrade/v2.1/metadata_charset_create.sql /opt/firebird/upgrade/metadata_charset_create.sql
|
||||
file -u 0644 -g firebird -o firebird ../src/misc/upgrade/v2.1/metadata_charset_drop.sql /opt/firebird/upgrade/metadata_charset_drop.sql
|
||||
end
|
||||
fileset
|
||||
tag examples
|
||||
file -u 0644 -g firebird -o firebird firebird/examples/README /opt/firebird/examples/README
|
||||
file -u 0644 -g firebird -o firebird firebird/examples/functions.c /opt/firebird/examples/functions/functions.c
|
||||
directory firebird/examples/api=/opt/firebird/examples/api
|
||||
file_permissions -u 0644 -g firebird -o firebird
|
||||
file *
|
||||
direcory firebird/examples/dyn=/opt/firebird/examples/dyn
|
||||
file_permissions -u 0644 -g firebird -o firebird
|
||||
file *
|
||||
directory firebird/examples/empbuild=/opt/firebird/examples/empbuild
|
||||
file_permissions -u 0644 -g firebird -o firebird
|
||||
file *
|
||||
directory firebird/examples/include=/opt/firebird/examples/include
|
||||
file_permissions -u 0644 -g firebird -o firebird
|
||||
file *
|
||||
directory firebird/examples/stat=/opt/firebird/examples/stat
|
||||
file_permissions -u 0644 -g firebird -o firebird
|
||||
directory firebird/examples/udf=/opt/firebird/examples/udf
|
||||
file_permissions -u 0644 -g firebird -o firebird
|
||||
file *
|
||||
end
|
||||
fileset
|
||||
tag lib
|
||||
file -u 0755 -g firebird -o firebird firebird/lib/libfbclient.sl.2.1.0 /opt/firebird/lib/libfbclient.sl.2.1.0
|
||||
file -u 0755 -g firebird -o firebird firebird/lib/libfbembed.sl.2.1.0 /opt/firebird/lib/libfbembed.sl.2.1.0
|
||||
file -u 0755 -g firebird -o firebird firebird/lib/libib_util.sl /opt/firebird/lib/libib_util.sl
|
||||
file -u 0755 -g firebird -o firebird firebird/lib/libicudata.sl.30.0 /opt/firebird/lib/libicudata.sl.30.0
|
||||
file -u 0755 -g firebird -o firebird firebird/lib/libicui18n.sl.30.0 /opt/firebird/lib/libicui18n.sl.30.0
|
||||
file -u 0755 -g firebird -o firebird firebird/lib/libicuuc.sl.30.0 /opt/firebird/lib/libicuuc.sl.30.0
|
||||
end
|
||||
fileset
|
||||
tag help
|
||||
file -u 0755 -g firebird -o firebird firebird/help/help.fdb /opt/firebird/help/help.fdb
|
||||
end
|
||||
fileset
|
||||
tag messages
|
||||
file -u 0666 -g firebird -o firebird firebird/firebird.msg /opt/firebird/firebird.msg
|
||||
file -u 0666 -g firebird -o firebird firebird/fr_FR.msg /opt/firebird/fr_FR.msg
|
||||
file -u 0666 -g firebird -o firebird firebird/de_DE.msg /opt/firebird/de_DE.msg
|
||||
end
|
||||
fileset
|
||||
tag docs
|
||||
directory ../doc=/opt/firebird/doc
|
||||
file_permissions -u 0644 -g firebird -o firebird
|
||||
file *
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: postInstall.sh.in,v 1.2 2008-01-07 12:25:43 paulbeach Exp $
|
||||
# $Id: postInstall.sh.in,v 1.3 2008-01-10 11:26:54 paulbeach Exp $
|
||||
#
|
||||
|
||||
# The post install script for Firebird Classic
|
||||
@ -40,6 +40,23 @@
|
||||
if [ -z "$FirebirdInstallPrefix" ]
|
||||
then
|
||||
FirebirdInstallPrefix=@prefix@
|
||||
ln -s @prefix@/lib/libfbembed.sl.@FIREBIRD_VERSION@ @prefix@/lib/libfbembed.sl.2
|
||||
ln -s @prefix@/lib/libfbembed.sl.2 @prefix@/lib/libfbemebed.sl
|
||||
ln -s @prefix@/lib/libfbembed.sl.@FIREBIRD_VERSION@ @libdir@/libfbembed.sl.@FIREBIRD_VERSION@
|
||||
ln -s @prefix@/lib/libfbembed.sl.2 @libdir@/libfbembed.sl.2
|
||||
ln -s @prefix@/lib/libfbembed.sl @libdir@/libfbembed.sl
|
||||
ln -s @prefix@/lib/libfbclient.sl.@FIREBIRD_VERSION@ @prefix@/lib/libfbclient.sl.2
|
||||
ln -s @prefix@/lib/libfbclient.sl.2 @prefix@/lib/libfbclient.sl
|
||||
ln -s @prefix@/lib/libfbclient.sl.@FIREBIRD_VERSION@ @libdir@/libfbclient.sl.@FIREBIRD_VERSION@
|
||||
ln -s @prefix@/lib/libfbclient.sl.2 @libdir@/libfbclient.sl.2
|
||||
ln -s @prefix@/lib/libfbclient.sl @libdir@/libfbclient.sl
|
||||
ln -s @prefix@/lib/libicudata.sl.30.0 @prefix@/lib/libicudata.sl.30
|
||||
ln -s @prefix@/lib/libicudata.sl.30 @prefix@/lib/libicudata.sl
|
||||
ln -s @prefix@/lib/libicui18n.sl.30.0 @prefix@/lib/libicui18n.sl.30
|
||||
ln -s @prefix@/lib/libicuuc.sl.30 @prefix@/lib/libicuuc.sl
|
||||
ln -s @prefix@/lib/libicuuc.sl.30.0 @prefix@/lib/libicuuc.sl.30
|
||||
ln -s @prefix@/lib/libib_util.sl @libdir@/libib_util.sl
|
||||
ln -s @prefix@/lib/libicui18n.sl.30 @prefix@/lib/libicui18n.sl
|
||||
fi
|
||||
|
||||
origDir=`pwd`
|
||||
@ -86,6 +103,9 @@
|
||||
chgrp -R $RunUser $FBRootDir
|
||||
|
||||
fixFilePermissions
|
||||
# Correct a couple of minor issues set via FilePermissions
|
||||
chmod 666 security2.fdb
|
||||
chmod 666 isc_lock1.`hostname`
|
||||
echo "Updating Lock Manager"
|
||||
cd $FBBin
|
||||
for i in fb_lock_mgr
|
||||
|
@ -31,7 +31,7 @@
|
||||
# Contributor(s):
|
||||
#
|
||||
#
|
||||
# $Id: postUninstall.sh.in,v 1.2 2008-01-07 12:25:44 paulbeach Exp $
|
||||
# $Id: postUninstall.sh.in,v 1.3 2008-01-10 11:26:54 paulbeach Exp $
|
||||
#
|
||||
|
||||
# The post uninstall routine for Firebird Classic.
|
||||
@ -40,6 +40,12 @@
|
||||
then
|
||||
removeLinksForBackCompatibility
|
||||
removeInetdServiceEntry
|
||||
fi
|
||||
|
||||
rm -fr /opt/firebird
|
||||
rm /usr/lib/pa20_64/libfbembed.sl
|
||||
rm /usr/lib/pa20_64/libfbembed.sl.2
|
||||
rm /usr/lib/pa20_64/libfbembed.sl.2.1.0
|
||||
rm /usr/lib/pa20_64/libfbclient.sl
|
||||
rm /usr/lib/pa20_64/libfbclient.sl.2
|
||||
rm /usr/lib/pa20_64/libfbclient.sl.2.1.0
|
||||
rm /usr/lib/pa20_64/libib_util.sl
|
||||
fi
|
||||
|
@ -89,3 +89,9 @@ stopSuperServerIfRunning() {
|
||||
fi
|
||||
fi
|
||||
}
|
||||
#-----------------------------------------------------------------------
|
||||
# Blank stub on HPUX - don't use openssl
|
||||
|
||||
generateNewDBAPassword() {
|
||||
echo "generateNewDBAPassword" >/dev/null 2>&1
|
||||
}
|
||||
|
@ -178,7 +178,7 @@ case "$target" in
|
||||
*-*-hpux*)
|
||||
MAKEFILE_PREFIX=hpux
|
||||
PLATFORM=HPUX
|
||||
AC_DEFINE(hpux, 1, [Define this if OS is HP-UX])
|
||||
AC_DEFINE(HPUX, 1, [Define this if OS is HP-UX])
|
||||
LOCK_MANAGER_FLG=Y
|
||||
EDITLINE_FLG=Y
|
||||
SHRLIB_EXT=sl
|
||||
@ -1073,6 +1073,7 @@ case "$PLATFORM" in
|
||||
HP_INSTALL_SRC_DIR=builds/install/arch-specific/hpux/${FIREBIRD_ARCH_TYPE}
|
||||
AC_CONFIG_FILES([
|
||||
gen/install/makeinstallImage.sh:${HP_INSTALL_SRC_DIR}/makeinstallImage.sh.in
|
||||
gen/firebirdCS.psf:${HP_INSTALL_SRC_DIR}/firebirdCS.psf.in
|
||||
gen/firebird/bin/preInstall.sh:${HP_INSTALL_SRC_DIR}/preInstall.sh.in
|
||||
gen/firebird/bin/tarInstall.sh:${HP_INSTALL_SRC_DIR}/tarInstall.sh.in
|
||||
gen/firebird/bin/tarmainInstall.sh:${HP_INSTALL_SRC_DIR}/tarmainInstall.sh.in
|
||||
|
Loading…
Reference in New Issue
Block a user