File: php3-oci8.packages

package info (click to toggle)
yada 0.34
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,160 kB
  • ctags: 83
  • sloc: perl: 3,554; makefile: 26; sh: 12
file content (146 lines) | stat: -rw-r--r-- 6,207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
Source: php3-oci8
Section: contrib/web
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.1.0
Description: oci8 module for PHP3 (apache)
Packaged-For: InterNetia
Upstream-Source: <URI:http://www.php.net/>
Copyright: .
 The php bits of the package are free software (dbase.[ch]), Copyright (c)
 The PHP Development Team. They are distributed under 2 licences. You are
 free to choose whichever license suits your requirements best. The first is
 the traditional GNU GPL (General Public License) and the second is the PHP
 License. If you wish to include PHP in a commercial product for resale, the
 PHP license permits it as long as the stated conditions are met.
 .
 On Debian GNU/Linux for the GNU GPL see /usr/share/common-licences/GPL
 .
 The PHP licence follows here:
 .
   -------------------------------------------------------------------- 
    Copyright (c) 1998 The PHP Development Team.  All rights reserved.
   -------------------------------------------------------------------- 
 .
   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions
   are met:
 .
   1. Commercial redistribution of larger works derived from, or 
      works which bundle PHP, requires written permission from the
      PHP Development Team.  You may charge a fee for the physical
      act of transferring a copy, and must make it clear that the
      fee being charged is for the distribution, and not for the
      software itself.  You may, at your option, offer warranty
      protection in exchange for a fee.
 .
   2. Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer. 
 .
   3. Redistributions in binary form must reproduce the above 
      copyright notice, this list of conditions and the following 
      disclaimer in the documentation and/or other materials provided
      with the distribution.
 .
   4. All advertising materials mentioning features or use of this
      software must display the following acknowledgment:
      "This product includes software written by the PHP Development
       Team"
 .
   5. The name "PHP" must not be used to endorse or promote products 
      derived from this software without prior written permission
      from the PHP Development Team.  This does not apply to add-on
      libraries or tools that work in conjunction with PHP.  In such
      a case the PHP name may be used to indicate that the product
      supports PHP.
 .
   6. Redistributions of any form whatsoever must retain the following
      acknowledgment:
      "This product includes software written by the PHP Development
       Team". 
 .
   THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND 
   ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
   PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PHP
   DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   OF THE POSSIBILITY OF SUCH DAMAGE.
 .
   -------------------------------------------------------------------- 
 .
   This software consists of voluntary contributions made by many
   individuals on behalf of the PHP Development Team.
 .
   The PHP Development Team can be contacted via Email at core@php.net.
 . 
   For more information on the PHP Development Team and the PHP 
   project, please see <http://www.php.net>.
 .
 .
 .
 -------------------------------------------------------------------------
Patches: *.dpatch
Major-Changes:
 The module is extracted from upstream PHP3 source.
 [001] compile oci8 as dynamic module
 [002] set default ORACLE_HOME if is unset
Build-Depends: gcc, libc-dev, liboci8-dev, php3-dev, apache-dev
Build: sh
 mkdir apache
 gcc -shared -fPIC \
     -DCOMPILE_DL \
     -I. -I/usr/include/php3 -I/usr/include/php3/functions \
     -I/usr/include/php3/apache -I/usr/include/apache-1.3 \
     -o apache/oci8.so functions/oci8.c \
     -I/usr/include/oci8 \
     -lclntsh -lc
 mkdir cgi
 gcc -shared -fPIC \
     -DCOMPILE_DL \
     -I. -I/usr/include/php3 -I/usr/include/php3/functions \
     -I/usr/include/php3/cgi \
     -o cgi/oci8.so functions/oci8.c \
     -I/usr/include/oci8 \
     -lclntsh -lc
Clean: sh
 rm -rf apache cgi || true

Package: php3-oci8
Architecture: any
Depends: php3 (>= ${Source-Version}), php3 (<< ${Source-Version}.1), ${php3-oci8:Depends}
Provides: php3-database
Description: oci8 module for PHP3 (apache)
 PHP: Hypertext Preprocessor Version 3.0 is an HTML-embedded scripting
 language. Much of its syntax is borrowed from C, Java and Perl with a
 couple of unique PHP-specific features thrown in. The goal of the
 language is to allow web developers to write dynamically generated
 pages quickly.
 .
 This package provides a PHP3 module (apache version) for using Oracle8.
Install: sh
 yada install -lib -subdir php3/apache apache/*.so
 yada install -doc -as README.Debian debian/php3-oci8.README
 yada dpkg-shlibdeps

Package: php3-cgi-oci8
Architecture: any
Depends: php3-cgi (>= ${Source-Version}), php3-cgi (<< ${Source-Version}.1), ${php3-oci8:Depends}
Provides: php3-cgi-database
Description: oci8 module for PHP3 (cgi)
 PHP: Hypertext Preprocessor Version 3.0 is an HTML-embedded scripting
 language. Much of its syntax is borrowed from C, Java and Perl with a
 couple of unique PHP-specific features thrown in. The goal of the
 language is to allow web developers to write dynamically generated
 pages quickly.
 .
 This package provides a PHP3 module (cgi version) for using Oracle8.
Install: sh
 yada install -lib -subdir php3/cgi cgi/*.so
 yada install -doc -as README.Debian debian/php3-oci8.README
 yada dpkg-shlibdeps