FreeBSD Bugzilla – Attachment 77773 Details for
Bug 111923
[PATCH] databases/unixODBC overwrites config file on package install
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
unixODBC.diff
unixODBC.diff (text/plain; charset=us-ascii), 1.37 KB, created by
Ed Maste
on 2007-04-19 23:19:40 UTC
(
hide
)
Description:
unixODBC.diff
Filename:
MIME Type:
Creator:
Ed Maste
Created:
2007-04-19 23:19:40 UTC
Size:
1.37 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /usr/cvs/ports/databases/unixODBC/Makefile,v >retrieving revision 1.50 >diff -u -r1.50 Makefile >--- Makefile 28 Nov 2006 20:01:56 -0000 1.50 >+++ Makefile 19 Apr 2007 22:07:50 -0000 >@@ -56,5 +56,10 @@ > @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > .endif > .endif >+.for conffile in odbc.ini odbcinst.ini >+ @if [ ! -f ${PREFIX}/etc/${conffile} ]; then \ >+ ${CP} -p ${PREFIX}/etc/${conffile}.sample ${PREFIX}/etc/${conffile} ; \ >+ fi >+.endfor > > .include <bsd.port.mk> >Index: pkg-plist >=================================================================== >RCS file: /usr/cvs/ports/databases/unixODBC/pkg-plist,v >retrieving revision 1.26 >diff -u -r1.26 pkg-plist >--- pkg-plist 4 Nov 2006 23:14:18 -0000 1.26 >+++ pkg-plist 19 Apr 2007 22:10:47 -0000 >@@ -7,8 +7,12 @@ > bin/odbc_config > bin/odbcinst > %%GUI:%%bin/odbctest >-etc/odbc.ini >-etc/odbcinst.ini >+@unexec if cmp -s %D/etc/odbc.ini %D/etc/odbc.ini.sample; then rm -f %D/etc/odbc.ini; fi >+etc/odbc.ini.sample >+@exec [ -f %D/etc/odbc.ini] || cp %D/etc/odbc.ini.sample %D/etc/odbc.ini >+@unexec if cmp -s %D/etc/odbcinst.ini %D/etc/odbcinst.ini.sample; then rm -f %D/etc/odbc.ini; fi >+etc/odbcinst.ini.sample >+@exec [ -f %D/etc/odbcinst.ini] || cp %D/etc/odbcinst.ini.sample %D/etc/odbcinst.ini > include/autotest.h > include/odbcinst.h > include/odbcinstext.h
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 111923
: 77773 |
77774
|
77775