Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/ingres/files: sql.patch 9.3-Jamdefs.patch ingres-initd 9.3-bldenv.patch 9.3-sharelib.patch
Date: Sun, 04 Oct 2009 00:08:26
Message-Id: E1MuEeG-0004sp-Jo@stork.gentoo.org
1 patrick 09/10/04 00:08:24
2
3 Added: sql.patch 9.3-Jamdefs.patch ingres-initd
4 9.3-bldenv.patch 9.3-sharelib.patch
5 Log:
6 Initial import of Ingres-9.3. Closes #247895. Ebuild and patches by Alexander Thiem
7 (Portage version: 2.2_rc42/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-db/ingres/files/sql.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/sql.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/sql.patch?rev=1.1&content-type=text/plain
14
15 Index: sql.patch
16 ===================================================================
17 --- src/front/frontcl/shell_unix/sql.sh 2008-10-08 12:03:32.000000000 +0200
18 +++ src/front/frontcl/shell_unix/sql.sh 2008-10-08 12:05:48.000000000 +0200
19 @@ -16,4 +16,4 @@
20 # PROGRAM = (PROG0PRFX)sql
21 # -----------------------------------------------------------------
22
23 -exec (PROG0PRFX)tm -qSQL "$@"
24 +exec (PROG0PRFX)tm -qSQL "$@" -history_recall
25
26
27
28 1.1 dev-db/ingres/files/9.3-Jamdefs.patch
29
30 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/9.3-Jamdefs.patch?rev=1.1&view=markup
31 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/9.3-Jamdefs.patch?rev=1.1&content-type=text/plain
32
33 Index: 9.3-Jamdefs.patch
34 ===================================================================
35 --- src/tools/port/jam/Jamdefs 2008-10-28 14:07:42.000000000 +0100
36 +++ src/tools/port/jam/Jamdefs 2008-10-30 11:23:47.000000000 +0100
37 @@ -2069,7 +2069,7 @@
38 }
39 else
40 {
41 - XERCESCLIB = libxerces-c.$(SLSFX).$(XERCVERS).0 ;
42 + XERCESCLIB ?= libxerces-c.$(SLSFX).$(XERCVERS).0 ;
43 }
44 }
45 else
46
47
48
49 1.1 dev-db/ingres/files/ingres-initd
50
51 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/ingres-initd?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/ingres-initd?rev=1.1&content-type=text/plain
53
54 Index: ingres-initd
55 ===================================================================
56 #!/sbin/runscript
57 # Copyright 1999-2006 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/dev-db/ingres/files/ingres-initd,v 1.1 2009/10/04 00:08:23 patrick Exp $
60
61 depend() {
62 use net
63 }
64
65 II_INSTALLATION=${SVCNAME:6:2}
66 export II_SYSTEM="/var/lib/ingres/Ingres${II_INSTALLATION}"
67
68 checkIngres() {
69
70 if [ ! -d "${II_SYSTEM}" ]; then
71 eerror "Ingres instance ${II_INSTALLATION} not found in ${II_SYSTEM}"
72 return 1
73 fi
74 }
75
76 start() {
77
78 checkIngres || return 1
79
80 ebegin "Starting Ingres Instance ${II_INSTALLATION}"
81
82 su ingres -c "
83 . ${II_SYSTEM}/.ing${II_INSTALLATION}bash
84 ingstart > /dev/null"
85 RET=$?
86 eend $RET
87
88 if [ ! $RET ]; then
89 eerror "Startup failed"
90 eerror "You may find information in ${II_SYSTEM}/ingres/files/errlog.log"
91 return 1
92 fi
93
94 }
95
96 stop() {
97 ebegin "Stopping Ingres Instance ${II_INSTALLATION}"
98
99 checkIngres || return 1
100
101 su ingres -c "
102 . ${II_SYSTEM}/.ing${II_INSTALLATION}bash
103 ingstop > /dev/null"
104
105 RET=$?
106 eend $RET
107
108 if [ ! $RET ]; then
109 eerror "Stopping failed"
110 eerror "You may try to run ingstop -f as user ingres"
111 return 1
112 fi
113
114 }
115
116
117
118
119 1.1 dev-db/ingres/files/9.3-bldenv.patch
120
121 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/9.3-bldenv.patch?rev=1.1&view=markup
122 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/9.3-bldenv.patch?rev=1.1&content-type=text/plain
123
124 Index: 9.3-bldenv.patch
125 ===================================================================
126 --- src/tools/port/jam/bldenv 2009-01-07 06:46:06.000000000 +0100
127 +++ src/tools/port/jam/bldenv 2009-01-07 07:04:25.000000000 +0100
128 @@ -274,6 +274,19 @@
129 gtk_need=false
130 deb=true
131 instcmd="apt-get install"
132 + elif [ -f /etc/gentoo-release ] ; then
133 + export OSVER=GENTOO
134 + gtk_need=false
135 + rpm_need=false
136 + export XERCESCROOT=/usr/include/xercesc
137 + if [ -f /usr/lib/libxerces-c.so ]; then
138 + export XERCESLOC=/usr/lib
139 + fi
140 + XERCESCLIB=`readlink -n ${XERCESLOC}/libxerces-c.so`
141 + if [ -z "$XERCESCLIB" ]; then
142 + XERCESCLIB=libxerces-c.so
143 + fi
144 + export XERCESCLIB
145 elif [ -x /usr/bin/yum ] ; then
146 OSVER=FEDORA
147 if [ -r /etc/redhat-release ] && (grep -q 9 /etc/redhat-release)
148
149
150
151 1.1 dev-db/ingres/files/9.3-sharelib.patch
152
153 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/9.3-sharelib.patch?rev=1.1&view=markup
154 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/ingres/files/9.3-sharelib.patch?rev=1.1&content-type=text/plain
155
156 Index: 9.3-sharelib.patch
157 ===================================================================
158 --- src/front/st/specials_unix_vms/sharelib.ccpp 2008-10-01 15:06:20.000000000 +0200
159 +++ src/front/st/specials_unix_vms/sharelib.ccpp 2008-10-30 11:26:05.000000000 +0100
160 @@ -136,10 +136,9 @@
161 # elif defined(OSX)
162 EXECUTABLE libxerces-c.$XERCVERS.$SLSFX
163 # else
164 - EXECUTABLE libxerces-c.$SLSFX.$XERCVERS.0
165 + EXECUTABLE $XERCESCLIB
166 # endif /* rs4_us5 */
167 - LINK libxerces-c.$SLSFX.$XERCVERS
168 - LINK libxerces-c.$SLSFX
169 + LINK $XERCESCLIB
170 # endif
171 PERMISSION s:re,o:rwed,g:re,w:re
172 }