Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 113082 Details for
Bug 170581
sys-auth/libnss-pgsql - getgrent_r group database query deadlocks if database is not available
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for setgrent_fixed patch
libnss-pgsql-1.4.0.ebuild (text/plain), 1.62 KB, created by
Claudinei Matos
on 2007-03-12 15:48:27 UTC
(
hide
)
Description:
ebuild for setgrent_fixed patch
Filename:
MIME Type:
Creator:
Claudinei Matos
Created:
2007-03-12 15:48:27 UTC
Size:
1.62 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-auth/libnss-pgsql/libnss-pgsql-1.4.0.ebuild,v 1.2 2006/11/11 21:24:39 dev-zero Exp $ > >inherit autotools eutils multilib > >KEYWORDS="~x86" > >DESCRIPTION="Name Service Switch module for use with PostgreSQL" >HOMEPAGE="http://pgfoundry.org/projects/sysauth/" >SRC_URI="http://pgfoundry.org/frs/download.php/605/${P}.tgz" >LICENSE="GPL-2" >SLOT="0" >IUSE="" > >DEPEND="dev-db/libpq > app-text/xmlto" >RDEPEND="${DEPEND}" > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}/${P}-gentoo.patch" > epatch "${FILESDIR}/${P}-schema.patch" > epatch "${FILESDIR}/${P}-setgrent_fixed.patch" > eautoreconf >} > >src_compile() { > econf \ > --libdir=/lib \ > --with-docdir=/usr/share/doc/${PF}/html || die "econf failed" > emake || die "emake failed" >} > >src_install() { > insinto /$(get_libdir) > doins src/.libs/libnss_pgsql.so.2.0.0 > dosym libnss_pgsql.so.2.0.0 /lib/libnss_pgsql.so.2 > dosym libnss_pgsql.so.2.0.0 /lib/libnss_pgsql.so > > dodoc AUTHORS ChangeLog NEWS README > dohtml doc/*.{png,html} > insinto /usr/share/doc/${PF}/examples > doins conf/* >} > >pkg_postinst() { > elog "Next steps:" > elog "1. Create the required tables in the database:" > elog " $ psql a_database -f ${ROOT}usr/share/${PN}/conf/dbschema.sql" > elog "2. Create the configuration file '/etc/nss-pgsql.conf'" > elog " You can copy the example from ${ROOT}usr/share/doc/${PF}/examples/nss-pgsql.conf" > elog "3. Edit /etc/nsswitch.conf to use the NSS service 'pgsql'" > elog " An example is available here: ${ROOT}usr/share/doc/${PF}/examples/nsswitch.conf" >}
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 170581
:
113081
| 113082