8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

Putted SolX86 install files from 1.5.1 to HEAD

This commit is contained in:
kkuznetsov 2004-08-19 13:51:15 +00:00
parent 3bb78b67aa
commit 5f27a6a541
9 changed files with 433 additions and 1 deletions

View File

@ -1,4 +1,4 @@
dnl $Id: configure.in,v 1.201 2004-06-29 15:16:12 kkuznetsov Exp $
dnl $Id: configure.in,v 1.202 2004-08-19 13:50:50 kkuznetsov Exp $
dnl ############################# INITIALISATION ###############################
@ -881,6 +881,19 @@ case "$PLATFORM" in
gen/install/postremove:builds/install/arch-specific/sinixz/postremove.in
],[chmod a+x gen/install/pre* gen/install/post* 2>/dev/null])
;;
solx86)
AC_CONFIG_FILES([gen/install/Pkginfo:src/install/arch-specific/solx86gcc/CS/pkginfo.in
gen/install/Prototype:src/install/arch-specific/solx86gcc/CS/prototype.in
gen/install/Preinstall:src/install/arch-specific/solx86gcc/CS/preinstall.in
gen/install/Postinstall:src/install/arch-specific/solx86gcc/CS/postinstall.in
gen/install/Postremove:src/install/arch-specific/solx86gcc/CS/postremove.in
gen/install/prototypelg:src/install/arch-specific/solx86gcc/LIBGCC/prototypelg.in
gen/install/pkginfolg:src/install/arch-specific/solx86gcc/LIBGCC/pkginfolg.in
],[chmod a+x gen/install/Pre* gen/install/Post* 2>/dev/null])
;;
esac

View File

@ -0,0 +1,9 @@
PKG="FB2SI"
NAME="Firebird2 Relational Database Server"
ARCH="i386"
VERSION="@FIREBIRD_VERSION@"
LOAD="@FIREBIRD_PACKAGE_VERSION@"
CATEGORY="application"
VENDOR="WWW.FireBirdSQL.org"
BASEDIR=/usr/local
EMAIL=kkuznetsov@users.sf.net

View File

@ -0,0 +1,65 @@
#!/bin/sh
#
# $Header: /home/job/firebird/cvs-backup/firebird2/src/install/arch-specific/solx86gcc/CS/postinstall.in,v 1.2 2004-08-19 13:50:59 kkuznetsov Exp $
#------------------------------------------------------------------------------
# $Copyright:
# Copyright (C) Siemens Nixdorf Informationssysteme AG 1994 - 1998
# Copyright (C) Siemens AG 1998 1999
# Copyright (C) Fujitsu Siemens Computers GmbH 1999 - 2002
# All rights reserved
# $
#------------------------------------------------------------------------------
FIREBIRD=@prefix@
cd $FIREBIRD
# Create lock files
HOSTNAME=`uname -n`
for i in isc_init1 isc_lock1 isc_event1
do
file=${i}.${HOSTNAME}
touch ${file}
chmod 666 ${file}
done
# Create log
touch firebird.log
chmod 666 firebird.log
#
# If TCP is installed, update both services and servers databases
#
if [ -f /etc/inet/services ]; then
grep -s @FB_SERVICE_NAME@ /etc/inet/services >/dev/null 2>&1
if [ $? -ne 0 ] ; then
echo "Patching /etc/inet/services..."
echo "@FB_SERVICE_NAME@ @FB_SERVICE_PORT@/tcp # Firebird2 Database Remote Protocol" >>/etc/inet/services
fi
fi
if [ -f /etc/inet/inetd.conf ]; then
grep -s @FB_SERVICE_NAME@ /etc/inet/inetd.conf >/dev/null 2>&1
if [ $? -ne 0 ] ; then
echo "Patching /etc/inet/inetd.conf..."
echo "" >> /etc/inet/inetd.conf
echo "# Firebird2 Database Remote Server" >> /etc/inet/inetd.conf
echo "@FB_SERVICE_NAME@ stream tcp nowait.30000 root $FIREBIRD/bin/fb_inet_server fb_inet_server" >>/etc/inet/inetd.conf
echo "Restarting inetd..."
kill -HUP `ps -e | grep inetd | awk '{print $1}'`
fi
fi
if [ -f /etc/profile ]; then
grep -s "# Enhance PATH for Firebird2" /etc/profile >/dev/null 2>&1
if [ $? -ne 0 ] ; then
echo "Patching /etc/profile..."
echo "# Enhance PATH for Firebird2" >>/etc/profile
echo "PATH=\$PATH:$FIREBIRD/bin" >>/etc/profile
echo "export PATH" >>/etc/profile
echo "LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$FIREBIRD/lib:$FIREBIRD/intl" >>/etc/profile
echo "export LD_LIBRARY_PATH" >>/etc/profile
echo "INTERBASE=$FIREBIRD" >>/etc/profile
echo "export INTERBASE" >>/etc/profile
fi
fi
# EOF

View File

@ -0,0 +1,48 @@
#!/bin/sh
#
# $Header: /home/job/firebird/cvs-backup/firebird2/src/install/arch-specific/solx86gcc/CS/postremove.in,v 1.2 2004-08-19 13:50:59 kkuznetsov Exp $
#------------------------------------------------------------------------------
# $Copyright:
# Copyright (C) Siemens Nixdorf Informationssysteme AG 1994 - 1998
# Copyright (C) Siemens AG 1998 1999
# Copyright (C) Fujitsu Siemens Computers GmbH 1999 2000
# All rights reserved
# $
#------------------------------------------------------------------------------
# Remove lock and log files
FIREBIRD=@prefix@
rm -rf $FIREBIRD
# restore old modules
case "$LANG" in
De*) echo "Wiederherstellen des Status vor $PKGINST ...";;
*) echo "restoring state before $PKGINST ..."
esac
cd ${PKGSAV}
find . -type f -exec /usr/bin/uncompress {} \;
ERROR_UNCOMPRESS=`find . -type f -name '*.Z' -print`
if [ -n "$ERROR_UNCOMPRESS" ]
then
echo "uncompress of \"${ERROR_UNCOMPRESS}\" failed, \nrun uncompress in ${PKGSAV} manually, \nand rest
ore the uncompressed files in the correct pathes.\n\n"
exit 1
fi
find . -type f -depth -print | cpio -pdum /
if [ $? -ne 0 ]
then
echo "restoring of saved files failed, \n please restore files in ${PKGSAV} manually!\n\n"
exit 1
fi
if [ -f /etc/inet/inetd.conf ]; then
echo "Restarting inetd..."
kill -HUP `ps -e | grep inetd | awk '{print $1}'`
fi
# EOF

View File

@ -0,0 +1,53 @@
#!/bin/sh
# $Header: /home/job/firebird/cvs-backup/firebird2/src/install/arch-specific/solx86gcc/CS/preinstall.in,v 1.2 2004-08-19 13:50:59 kkuznetsov Exp $
#------------------------------------------------------------------------------
# $Copyright:
# Copyright (C) Siemens Nixdorf Informationssysteme AG 1994 - 1998
# Copyright (C) Siemens AG 1998 1999
# Copyright (C) Fujitsu Siemens Computers GmbH 1999 2000
# All rights reserved
# $
#------------------------------------------------------------------------------
# save files which will be replaced
# don't save shell, will not be removed
FILELIST="
/etc/inet/services
/etc/inet/inetd.conf
/etc/profile
"
echo "saving the original modules $FILELIST ..."
if [ -f /tmp/ERROR.${PKGINST} ]
then
rm /tmp/ERROR.${PKGINST}
fi
for file in ${FILELIST};do
if [ ! -f ${PKGSAV}${file}.Z -a -f ${file} ];then
echo ${file} | tr '\040' '\012' | cpio -pvdum ${PKGSAV}
/usr/bin/compress ${PKGSAV}${file}
fi
done >/tmp/ERROR.${PKGINST} 2>&1
# check for successful saved modules
ERR=0
for file in ${FILELIST}; do
[ ! -s ${file} ] && continue
if [ ! -f ${PKGSAV}${file}.Z ]; then
if [ "$ERR" = '0' ];then
echo "\nAn error occured when saving original modules. \ntmp/ERROR.${PKGINST} contains the reported errors.\n\n"
echo "/tmp/ERROR.${PKGINST}:"
cat /tmp/ERROR.${PKGINST}
ERR=1
fi
ls -l $file ${PKGSAV}${file}.Z
fi
done
[ "$ERR" = '0' ] && rm -f /tmp/ERROR.${PKGINST}
exit 0

View File

@ -0,0 +1,148 @@
#-------------------------------------------------------------------------------
!SRCDIR=@NEW_FIREBIRD_DIR@
i pkginfo=Pkginfo
i preinstall=Preinstall
i postinstall=Postinstall
i postremove=Postremove
i prototype=Prototype
!default 755 root root
d none /usr ? ? ?
d none /usr/lib ? ? ?
d none @prefix@ 0755 root root
v CONFIG.prsv @prefix@/security.fdb=$SRCDIR/security.fdb 0666 root root
f none @prefix@/firebird.msg=$SRCDIR/firebird.msg 0644 root root
f none @prefix@/de_DE.msg=$SRCDIR/de_DE.msg 0644 root root
f none @prefix@/fr_FR.msg=$SRCDIR/fr_FR.msg 0644 root root
f none @prefix@/ja_JP.msg=$SRCDIR/ja_JP.msg 0644 root root
v CONFIG.prsv @prefix@/firebird.conf=$SRCDIR/misc/firebird.conf 0644 root root
d none @prefix@/bin 0755 root root
#f none @prefix@/bin/CSchangeRunUser.sh=$SRCDIR/bin/CSchangeRunUser.sh 0555 root root
#f none @prefix@/bin/CSrestoreRootRunUser.sh=$SRCDIR/bin/CSrestoreRootRunUser.sh 0555 root root
#f none @prefix@/bin/build_file=$SRCDIR/bin/build_file 0755 root root
#f none @prefix@/bin/changeDBAPassword.sh=$SRCDIR/bin/changeDBAPassword.sh 0555 root root
#f none @prefix@/bin/change_messages=$SRCDIR/bin/change_messages 0755 root root
#f none @prefix@/bin/check_messages=$SRCDIR/bin/check_messages 0755 root root
#f none @prefix@/bin/create_db=$SRCDIR/bin/create_db 0755 root root
#f none @prefix@/bin/enter_messages=$SRCDIR/bin/enter_messages 0755 root root
f none @prefix@/bin/fb_inet_server=$SRCDIR/bin/fb_inet_server 0755 root root
f none @prefix@/bin/gbak=$SRCDIR/bin/gbak 0755 root root
#f none @prefix@/bin/gbak_static=$SRCDIR/bin/gbak_static 0755 root root
f none @prefix@/bin/gdef=$SRCDIR/bin/gdef 0755 root root
f none @prefix@/bin/gds_drop=$SRCDIR/bin/gds_drop 0755 root root
#f none @prefix@/bin/gds_lock_mgr=$SRCDIR/bin/gds_lock_mgr 0755 root root
f none @prefix@/bin/gds_relay=$SRCDIR/bin/gds_relay 0755 root root
f none @prefix@/bin/gfix=$SRCDIR/bin/gfix 0755 root root
f none @prefix@/bin/gpre=$SRCDIR/bin/gpre 0755 root root
#f none @prefix@/bin/gpre_boot=$SRCDIR/bin/gpre_boot 0755 root root
#s none @prefix@/bin/gpre_current=gpre_static
#f none @prefix@/bin/gpre_static=$SRCDIR/bin/gpre_static 0755 root root
f none @prefix@/bin/gsec=$SRCDIR/bin/gsec 0755 root root
f none @prefix@/bin/gstat=$SRCDIR/bin/gstat 0755 root root
f none @prefix@/bin/isql=$SRCDIR/bin/isql 0755 root root
#f none @prefix@/bin/isql_static=$SRCDIR/bin/isql_static 0755 root root
#f none @prefix@/bin/modify_messages=$SRCDIR/bin/modify_messages 0755 root root
f none @prefix@/bin/qli=$SRCDIR/bin/qli 0755 root root
f none @prefix@/bin/fb_lock_print=$SRCDIR/bin/fb_lock_print 0755 root root
d none @prefix@/examples 0755 root root
d none @prefix@/examples/v5 0755 root root
f none @prefix@/examples/v5/employee.gbk=$SRCDIR/examples/v5/employee.gbk 0644 root root
f none @prefix@/examples/v5/employee.fdb=$SRCDIR/examples/v5/employee.fdb 0644 root root
f none @prefix@/examples/v5/readme=$SRCDIR/examples/v5/readme 0644 root root
f none @prefix@/examples/v5/align.h=$SRCDIR/examples/v5/align.h 0644 root root
f none @prefix@/examples/v5/api1.c=$SRCDIR/examples/v5/api1.c 0644 root root
f none @prefix@/examples/v5/api10.c=$SRCDIR/examples/v5/api10.c 0644 root root
f none @prefix@/examples/v5/api11.c=$SRCDIR/examples/v5/api11.c 0644 root root
f none @prefix@/examples/v5/api12.c=$SRCDIR/examples/v5/api12.c 0644 root root
f none @prefix@/examples/v5/api13.c=$SRCDIR/examples/v5/api13.c 0644 root root
f none @prefix@/examples/v5/api14.e=$SRCDIR/examples/v5/api14.e 0644 root root
f none @prefix@/examples/v5/api15.c=$SRCDIR/examples/v5/api15.c 0644 root root
f none @prefix@/examples/v5/api16.c=$SRCDIR/examples/v5/api16.c 0644 root root
f none @prefix@/examples/v5/api16t.c=$SRCDIR/examples/v5/api16t.c 0644 root root
f none @prefix@/examples/v5/api2.c=$SRCDIR/examples/v5/api2.c 0644 root root
f none @prefix@/examples/v5/api3.c=$SRCDIR/examples/v5/api3.c 0644 root root
f none @prefix@/examples/v5/api4.c=$SRCDIR/examples/v5/api4.c 0644 root root
f none @prefix@/examples/v5/api5.c=$SRCDIR/examples/v5/api5.c 0644 root root
f none @prefix@/examples/v5/api6.c=$SRCDIR/examples/v5/api6.c 0644 root root
f none @prefix@/examples/v5/api7.c=$SRCDIR/examples/v5/api7.c 0644 root root
f none @prefix@/examples/v5/api8.c=$SRCDIR/examples/v5/api8.c 0644 root root
f none @prefix@/examples/v5/api9.c=$SRCDIR/examples/v5/api9.c 0644 root root
f none @prefix@/examples/v5/api9f.c=$SRCDIR/examples/v5/api9f.c 0644 root root
f none @prefix@/examples/v5/apifull.c=$SRCDIR/examples/v5/apifull.c 0644 root root
f none @prefix@/examples/v5/employe2.sql=$SRCDIR/examples/v5/employe2.sql 0644 root root
f none @prefix@/examples/v5/dyn1.e=$SRCDIR/examples/v5/dyn1.e 0644 root root
f none @prefix@/examples/v5/dyn2.e=$SRCDIR/examples/v5/dyn2.e 0644 root root
f none @prefix@/examples/v5/dyn3.e=$SRCDIR/examples/v5/dyn3.e 0644 root root
f none @prefix@/examples/v5/dyn4.e=$SRCDIR/examples/v5/dyn4.e 0644 root root
f none @prefix@/examples/v5/dyn5.e=$SRCDIR/examples/v5/dyn5.e 0644 root root
f none @prefix@/examples/v5/dynfull.e=$SRCDIR/examples/v5/dynfull.e 0644 root root
f none @prefix@/examples/v5/example.h=$SRCDIR/examples/v5/example.h 0644 root root
f none @prefix@/examples/v5/api9f.sql=$SRCDIR/examples/v5/api9f.sql 0644 root root
f none @prefix@/examples/v5/stat1.e=$SRCDIR/examples/v5/stat1.e 0644 root root
f none @prefix@/examples/v5/stat10.e=$SRCDIR/examples/v5/stat10.e 0644 root root
f none @prefix@/examples/v5/stat11.e=$SRCDIR/examples/v5/stat11.e 0644 root root
f none @prefix@/examples/v5/stat12.e=$SRCDIR/examples/v5/stat12.e 0644 root root
f none @prefix@/examples/v5/stat12t.e=$SRCDIR/examples/v5/stat12t.e 0644 root root
f none @prefix@/examples/v5/stat2.e=$SRCDIR/examples/v5/stat2.e 0644 root root
f none @prefix@/examples/v5/stat3.e=$SRCDIR/examples/v5/stat3.e 0644 root root
f none @prefix@/examples/v5/stat4.e=$SRCDIR/examples/v5/stat4.e 0644 root root
f none @prefix@/examples/v5/stat5.e=$SRCDIR/examples/v5/stat5.e 0644 root root
f none @prefix@/examples/v5/stat6.e=$SRCDIR/examples/v5/stat6.e 0644 root root
f none @prefix@/examples/v5/stat7.e=$SRCDIR/examples/v5/stat7.e 0644 root root
f none @prefix@/examples/v5/stat8.e=$SRCDIR/examples/v5/stat8.e 0644 root root
f none @prefix@/examples/v5/stat9.e=$SRCDIR/examples/v5/stat9.e 0644 root root
f none @prefix@/examples/v5/udf.sql=$SRCDIR/examples/v5/udf.sql 0644 root root
f none @prefix@/examples/v5/udflib.c=$SRCDIR/examples/v5/udflib.c 0644 root root
d none @prefix@/help 0755 root root
f none @prefix@/help/help.fdb=$SRCDIR/help/help.fdb 0444 root root
d none @prefix@/include 0755 root root
f none @prefix@/include/blr.h=$SRCDIR/include/blr.h 0644 root root
f none @prefix@/include/gds.h=$SRCDIR/include/gds.h 0644 root root
f none @prefix@/include/ib_util.h=$SRCDIR/include/ib_util.h 0644 root root
f none @prefix@/include/ibase.h=$SRCDIR/include/ibase.h 0644 root root
f none @prefix@/include/iberror.h=$SRCDIR/include/iberror.h 0644 root root
f none @prefix@/include/perf.h=$SRCDIR/include/perf.h 0644 root root
d none @prefix@/intl 0755 root root
f none @prefix@/intl/libfbintl.so=$SRCDIR/intl/libfbintl.so 0755 root root
d none @prefix@/lib 0755 root root
f none @prefix@/lib/libib_util.so=$SRCDIR/lib/libib_util.so 0755 root root
#f none @prefix@/lib/libfbcommon.a=$SRCDIR/lib/libfbcommon.a 0644 root root
f none @prefix@/lib/libfbembed.so.1.5.1=$SRCDIR/lib/libfbembed.so.1.5.1 0755 root root
s none @prefix@/lib/libfbembed.so.1=@prefix@/lib/libfbembed.so.1.5.1
s none @prefix@/lib/libfbembed.so=@prefix@/lib/libfbembed.so.1
#f none @prefix@/lib/libfbstatic.a=$SRCDIR/lib/libfbstatic.a 0644 root root
s none @prefix@/lib/libgds.so.1=@prefix@/lib/libfbembed.so.1
s none @prefix@/lib/libgds.so=@prefix@/lib/libfbembed.so
f none @prefix@/lib/libfbclient.so.1.5.1=$SRCDIR/lib/libfbclient.so.1.5.1 0755 root root
s none @prefix@/lib/libfbclient.so.1=@prefix@/lib/libfbclient.so.1.5.1
s none @prefix@/lib/libfbclient.so=@prefix@/lib/libfbclient.so.1
#/usr/lib synlinks for compability with external tools
s none /usr/lib/libgds.so=@prefix@/lib/libfbembed.so
s none /usr/lib/libfbembed.so=@prefix@/lib/libfbembed.so
#s none /usr/lib/libgds.so.1=@prefix@/lib/libfbembed.so.1
s none /usr/lib/libfbclient.so=@prefix@/lib/libfbclient.so
d none @prefix@/UDF 0755 root root
f none @prefix@/UDF/fbudf.so=$SRCDIR/UDF/fbudf.so 0755 root root
f none @prefix@/UDF/ib_udf.so=$SRCDIR/UDF/ib_udf.so 0755 root root
s none @prefix@/UDF/fb_udf.so=@prefix@/UDF/fbudf.so
# EOF

View File

@ -0,0 +1,8 @@
PKG="FBLIBGCC"
NAME="GNU C/C+ runtime for Firebird 2 IA"
ARCH="i386"
VERSION="3.3.3"
CATEGORY="library"
VENDOR="WWW.FireBirdSQL.org"
BASEDIR=/usr/local/firebird/lib
EMAIL=kkuznetsov@users.sf.net

View File

@ -0,0 +1,24 @@
#-------------------------------------------------------------------------------
!SRCDIR=/usr/local/gcc/lib
i pkginfo=pkginfolg
#i preinstall=Preinstall
#i postinstall=Postinstall
#i postremove=Postremove
i prototype=prototypelg
!default 755 root root
d none /usr ? ? ?
d none /usr/lib ? ? ?
d none @prefix@ ? ? ?
d none @prefix@/lib ? ? ?
f none @prefix@/lib/libstdc++.so.5.0.5=$SRCDIR/libstdc++.so.5.0.5 0755 root root
f none @prefix@/lib/libgcc_s.so.1=$SRCDIR/libgcc_s.so.1 0755 root root
s none @prefix@/lib/libstdc++.so.5=@prefix@/lib/libstdc++.so.5.0.5
s none @prefix@/lib/libstdc++.so=@prefix@/lib/libstdc++.so.5
s none @prefix@/lib/libgcc_s.so=@prefix@/lib/libgcc_s.so.1
# EOF

View File

@ -0,0 +1,64 @@
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
# You may obtain a copy of the Licence at
# http://www.gnu.org/licences/lgpl.html
#
# As a special exception this file can also be included in modules
# with other source code as long as that source code has been
# released under an Open Source Initiative certificed licence.
# More information about OSI certification can be found at:
# http://www.opensource.org
#
# This module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public Licence for more details.
#
# This module was created by members of the firebird development
# team. All individual contributions remain the Copyright (C) of
# those individuals and all rights are reserved. Contributors to
# this file are either listed below or can be obtained from a CVS
# history command.
#
# Created by: Erik Kunze <kunze@philosys.de>
#
# Contributor(s):
#
#
# $Id: Makefile.in,v 1.2 2004-08-19 13:50:55 kkuznetsov Exp $
#
ROOT=..
include $(ROOT)/gen/make.defaults
include $(ROOT)/gen/make.platform
include $(ROOT)/gen/make.rules
include $(ROOT)/gen/make.shared.variables
@SET_MAKE@
PGK_FILES=pkginfo prototype preinstall postinstall postremove
PKG_DIR=$(RealFirebirdPath)/../install
PKG_NAME=Firebird-@ARCH_TYPE_SUFFIX@-$(FirebirdVersion).$(BuildNum)-$(PackageVersion)-SolX86.pkg
LGCC_PKG_NAME=LibGCC-3.x.FB-runtime-SolX86.pkg
install package packages dist:
@echo Making Solaris x86 package...
rm -rf $(PKG_DIR)/FB2SI
-mkdir -p $(PKG_DIR)
(cd $(PKG_DIR); pkgmk -o -d $(PKG_DIR))
pkgtrans -s $(PKG_DIR) $(PKG_DIR)/$(PKG_NAME) FB2SI
libs:
@echo Making Solaris x86 LIBGCC package...
rm -rf $(PKG_DIR)/FBLIBGCC
-mkdir -p $(PKG_DIR)
(cd $(PKG_DIR); pkgmk -o -f prototypelg -d $(PKG_DIR))
pkgtrans -s $(PKG_DIR) $(PKG_DIR)/$(LGCC_PKG_NAME) FBLIBGCC
clean clobber:
rm -rf $(PKG_DIR)/FB2SI
rm -rf $(PKG_DIR)/FBLIBGCC
rm -f $(PKG_DIR)/$(PKG_NAME)