Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 634978 Details for
Bug 871007
RFE: freetds should provide user-friendly ODBC driver registration
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
suggested patch
freetds-odbc-driver.patch (text/plain), 1.51 KB, created by
Martin Wilck
on 2012-10-29 11:52:08 UTC
(
hide
)
Description:
suggested patch
Filename:
MIME Type:
Creator:
Martin Wilck
Created:
2012-10-29 11:52:08 UTC
Size:
1.51 KB
patch
obsolete
>--- freetds.spec.orig 2012-10-29 11:32:59.000000000 +0100 >+++ freetds.spec 2012-10-29 12:43:37.000000000 +0100 >@@ -46,6 +45,14 @@ > If you like to develop programs using %{name}, you will need to install > %{name}-doc. > >+%package odbc-driver >+Summary: FreeTDS ODBC driver >+Requires: unixODBC >+Requires: %{name} >+ >+%description odbc-driver >+This package registers the FreeTDS odbc driver in the system, so that >+applications using ODBC can start using FreeTDS data sources. > > %prep > %setup -q >@@ -94,12 +101,24 @@ > > mv -f samples/unixodbc.freetds.driver.template \ > samples/unixodbc.freetds.driver.template-%{bits} >- >+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} >+install -m 644 samples/unixodbc.freetds.driver.template-%{bits} $RPM_BUILD_ROOT/%{_datadir}/%{name} > > %post -p /sbin/ldconfig > > %postun -p /sbin/ldconfig > >+%post odbc-driver >+if [ $1 -eq 1 ]; then >+ /usr/bin/odbcinst -i -d -f /%{_datadir}/%{name}/unixodbc.freetds.driver.template-%{bits} >/dev/null 2>&1 >+ : >+fi >+ >+%postun odbc-driver >+if [ $1 -eq 0 ]; then >+ /usr/bin/odbcinst -u -d -n FreeTDS >/dev/null 2>&1 >+ : >+fi > > %clean > rm -rf $RPM_BUILD_ROOT >@@ -126,9 +145,15 @@ > %files doc > %defattr (-, root, root, -) > %doc doc/doc/freetds-%{version}/reference >- >+ >+%files odbc-driver >+%defattr (-, root, root, -) >+%{_datadir}/%{name}/* > > %changelog >+* Mon Oct 29 2012 Martin Wilck <Martin.Wilck@ts.fujitsu.com> - 0.91-3.2fts >+- Add odbc-inst utility package >+ > * Mon Feb 27 2012 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-3 > - Enable Kerberos support (#797276) >
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 871007
: 634978