Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87599 Details for
Bug 134168
dev-db/postgresql: SQL injection
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
libpq-8.1.4 ebuild
libpq-8.1.4.ebuild (text/plain), 3.13 KB, created by
John Jay
on 2006-05-26 15:32:59 UTC
(
hide
)
Description:
libpq-8.1.4 ebuild
Filename:
MIME Type:
Creator:
John Jay
Created:
2006-05-26 15:32:59 UTC
Size:
3.13 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >inherit eutils gnuconfig flag-o-matic toolchain-funcs > >DESCRIPTION="Libraries of postgresql" >HOMEPAGE="http://www.postgresql.org/" >MY_P="postgresql-${PV}" >SRC_URI="ftp://ftp2.us.postgresql.org/postgresql/source/v8.1.4/postgresql-base-8.1.4.tar.bz2" >#SRC_URI="mirror://postgresql/source/v${PV}/postgresql-base-${PV}.tar.bz2 ># mirror://postgresql/source/v${PV}/postgresql-opt-${PV}.tar.bz2" > >LICENSE="POSTGRESQL" >SLOT="4" >KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" >IUSE="ssl nls pam readline zlib kerberos threads" > >S=${WORKDIR}/${MY_P} >DEPEND="virtual/libc > sys-devel/autoconf > >=sys-libs/ncurses-5.2 > >=sys-devel/bison-1.875 > zlib? ( >=sys-libs/zlib-1.1.3 ) > readline? ( >=sys-libs/readline-4.1 ) > ssl? ( >=dev-libs/openssl-0.9.6-r1 ) > nls? ( sys-devel/gettext ) > kerberos? ( virtual/krb5 )" >RDEPEND="virtual/libc > zlib? ( >=sys-libs/zlib-1.1.3 ) > ssl? ( >=dev-libs/openssl-0.9.6-r1 ) > kerberos? ( virtual/krb5 )" > >MAKEOPTS="${MAKEOPTS} -j1" > >pkg_preinst() { > # removing wrong symlink which is created by previous ebuild. > if [ -L ${ROOT}/usr/include/libpq ]; then > rm ${ROOT}/usr/include/libpq > fi >} > >src_unpack() { > unpack ${A} > epatch ${FILESDIR}/${P}-gentoo.patch >} > >src_compile() { > filter-flags -ffast-math -feliminate-dwarf2-dups > > local myconf > use ssl && myconf="$myconf --with-openssl" > use nls && myconf="$myconf --enable-nls" > use pam && myconf="$myconf --with-pam" > use readline || myconf="$myconf --without-readline" > use zlib || myconf="$myconf --without-zlib" > use kerberos && myconf="$myconf --with-krb5" > use threads && myconf="$myconf --enable-thread-safety" > > # these are the only working CFLAGS I could get on ppc, so locking them > # down, anything more aggressive fails (i.e. -mcpu or -Ox) > # Gerk - Nov 26, 2002 > use ppc && CFLAGS="-pipe -fsigned-char" > > # Detect mips systems properly > gnuconfig_update > > ./configure --prefix=/usr \ > --include=/usr/include/postgresql/libpq-${SLOT} \ > --mandir=/usr/share/man \ > --host=${CHOST} \ > --with-docdir=/usr/share/doc/${PF} \ > --libdir=/usr/$(get_libdir) \ > --enable-depend \ > $myconf || die > > cd ${S}/src/interfaces/libpq > emake LD="$(tc-getLD) $(get_abi_LDFLAGS)" || die >} > >src_install() { > cd ${S}/src/interfaces/libpq > make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || die > > cd ${S}/src/include > make DESTDIR=${D} install || die > > cd ${S} > dodoc README HISTORY COPYRIGHT INSTALL > > dosym libpq-${SLOT}.a /usr/$(get_libdir)/libpq.a > > for f in ${D}/usr/include/postgresql/libpq-${SLOT}/*.h > do > dosym postgresql/libpq-${SLOT}/$(basename $f) /usr/include/ > done > > dodir /usr/include/libpq > for f in ${D}/usr/include/postgresql/libpq-${SLOT}/libpq/*.h > do > dosym ../postgresql/libpq-${SLOT}/libpq/$(basename $f) /usr/include/libpq/ > done > > cd ${D}/usr/include/postgresql/libpq-${SLOT} > for f in $(find * -name '*.h' -print) ; do > destdir=$(dirname $f) > if [ ! -d "${D}/usr/include/postgresql/${destdir}" ]; then > dodir /usr/include/postgresql/${destdir} > fi > dosym /usr/include/postgresql/libpq-${SLOT}/${f} /usr/include/postgresql/${destdir}/ > done >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 134168
:
87591
|
87594
|
87595
|
87596
|
87597
|
87598
| 87599 |
87600