Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 338594 Details for
Bug 447288
=dev-db/sqlncli-11.0.1790.0 - New package. - Microsoft® SQL Server® ODBC Driver 1.0 for Linux
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch install.sh in order to respect ${DESTDIR}
sqlncli-11.0.1790.0-use-destdir-tempdir.patch (text/plain), 2.38 KB, created by
Hugo Mildenberger
on 2013-02-11 14:10:20 UTC
(
hide
)
Description:
Patch install.sh in order to respect ${DESTDIR}
Filename:
MIME Type:
Creator:
Hugo Mildenberger
Created:
2013-02-11 14:10:20 UTC
Size:
2.38 KB
patch
obsolete
>diff -ur a/sqlncli-11.0.1790.0/install.sh b/sqlncli-11.0.1790.0/install.sh >--- a/sqlncli-11.0.1790.0/install.sh 2012-02-27 20:39:00.000000000 +0100 >+++ b/sqlncli-11.0.1790.0/install.sh 2013-02-03 12:10:54.467994484 +0100 >@@ -15,9 +15,9 @@ > # Requirements listed here > req_os="Linux"; > req_proc="x86_64"; >-req_dm_ver="2.3.0"; >+req_dm_ver="2.3.1"; > dm_name="unixODBC $req_dm_ver"; >-req_libs=( glibc e2fsprogs krb5-libs openssl ) >+req_libs=( ) > > #language of the install > lang_id="en_US"; >@@ -107,7 +107,7 @@ > # directories to hold the file categories > bin_dir=""; > lib_dir=""; >-sup_dir="/opt/microsoft/$driver_short_name/$driver_version"; >+sup_dir="${DESTDIR}opt/microsoft/$driver_short_name/$driver_version"; > rll_dir=""; > doc_dir=""; > inc_dir=""; >@@ -119,7 +119,7 @@ > license_accepted=0 > > # Log file in the temp directory >-tmp=${TMPDIR-/tmp} >+tmp=${TEMPDIR} > tmp="$tmp/$driver_short_name.$RANDOM.$RANDOM.$RANDOM" > (umask 077 && mkdir $tmp) || { > echo "Could not create temporary directory for the log file." 2>&1 >@@ -206,7 +206,7 @@ > function check_for_Linux_x86_64 () > { > log "Verifying on a 64 bit Linux compatible OS" >- local proc=$(uname -p); >+ local proc=$(uname -m); > if [ $proc != $req_proc ]; then > log "This installation of the $driver_name may only be installed" > log "on a 64 bit Linux compatible operating system." >@@ -499,7 +499,7 @@ > fi > > # install the driver using odbcinst >- odbcinst -i -d -f "$template_ini" 2>&1 >> $log_file >+ echo odbcinst -i -d -f "$template_ini" 2>&1 >> $log_file > > if [ $? -ne 0 ]; then > log "Failed installing driver $driver_name with $dm_name" >@@ -716,16 +716,16 @@ > if [ $verified -eq 0 ] || [ $force -eq 1 ]; then > > if [ "$lib_dir" == "" ]; then >- lib_dir="/opt/microsoft/$driver_short_name/lib64" >+ lib_dir="${DESTDIR}opt/microsoft/$driver_short_name/lib64" > fi > >- bin_dir="/opt/microsoft/$driver_short_name/bin" >+ bin_dir="${DESTDIR}opt/microsoft/$driver_short_name/bin" > > if [ "$bin_sym_dir" == "" ]; then >- bin_sym_dir="/usr/bin"; >+ bin_sym_dir="${DESTDIR}usr/bin"; > fi > >- sup_dir="/opt/microsoft/$driver_short_name/$driver_version" >+ sup_dir="${DESTDIR}opt/microsoft/$driver_short_name/$driver_version" > mkdir -p $sup_dir > if [ -d $sup_dir ]; then > log "$sup_dir exists"
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 447288
:
332322
|
332324
|
332326
|
338588
|
338590
| 338594 |
338596
|
338598
|
338600
|
338642
|
338684