Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28316 Details for
Bug 45873
sys-libs/libnss-mysql configuration..
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libnss-mysql-1.1.ebuild.diff
libnss-mysql-1.1.ebuild.diff (text/plain), 1.46 KB, created by
Christian Skarby
on 2004-03-29 13:48:40 UTC
(
hide
)
Description:
libnss-mysql-1.1.ebuild.diff
Filename:
MIME Type:
Creator:
Christian Skarby
Created:
2004-03-29 13:48:40 UTC
Size:
1.46 KB
patch
obsolete
>--- libnss-mysql-1.1.ebuild 2004-03-10 05:50:20.000000000 +0100 >+++ ../../../local/portage/sys-libs/libnss-mysql/libnss-mysql-1.1.ebuild 2004-03-29 23:39:09.000000000 +0200 >@@ -14,9 +14,28 @@ > >=dev-db/mysql-3.2 > !sys-libs/nss-mysql" > >+src_compile() { >+ econf --sysconfdir=/etc/libnss-mysql >+ emake >+} >+ > src_install() { > einstall libdir="${D}/lib" > >+ mkdir -p ${D}/etc/libnss-mysql >+ chmod 755 ${D}/etc/libnss-mysql >+ configfile='libnss-mysql.cfg' >+ mv ${D}/etc/${configfile} ${D}/etc/libnss-mysql/${configfile}.dist >+ if [ -f "${ROOT}/etc/${configfile}" ]; then >+ ln -s ../${configfile} ${D}/etc/libnss-mysql/${configfile} >+ fi >+ configfile='libnss-mysql-root.cfg' >+ mv ${D}/etc/${configfile} ${D}/etc/libnss-mysql/${configfile}.dist >+ if [ -f "${ROOT}/etc/${configfile}" ]; then >+ ln -s ../${configfile} ${D}/etc/libnss-mysql/${configfile} >+ fi >+ >+ > newdoc sample/README README.sample > dodoc AUTHORS COPYING DEBUGGING FAQ INSTALL NEWS README THANKS \ > TODO UPGRADING ChangeLog >@@ -26,3 +45,14 @@ > dodoc "${subdir}/"{*.sql,*.cfg} > done > } >+ >+pkg_postinst() { >+ configfile='libnss-mysql.cfg' >+ if [ -f "${ROOT}/etc/${configfile}" ]; then >+ einfo "Configfile ${ROOT}/etc/${configfile} should be moved to ${ROOT}/etc/libnss-mysql/${configfile}"; >+ fi >+ configfile='libnss-mysql-root.cfg' >+ if [ -f "${ROOT}/etc/${configfile}" ]; then >+ einfo "Configfile ${ROOT}/etc/${configfile} should be moved to ${ROOT}/etc/libnss-mysql/${configfile}"; >+ fi >+}
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 45873
: 28316