summaryrefslogtreecommitdiff
path: root/sys-auth/libnss-mysql
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/libnss-mysql
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/libnss-mysql')
-rw-r--r--sys-auth/libnss-mysql/Manifest7
-rw-r--r--sys-auth/libnss-mysql/files/libnss-mysql-1.5_p20060915-no-automagic-debug.diff14
-rw-r--r--sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r2.ebuild49
-rw-r--r--sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r3.ebuild51
-rw-r--r--sys-auth/libnss-mysql/metadata.xml14
5 files changed, 135 insertions, 0 deletions
diff --git a/sys-auth/libnss-mysql/Manifest b/sys-auth/libnss-mysql/Manifest
new file mode 100644
index 000000000000..551ffa99619f
--- /dev/null
+++ b/sys-auth/libnss-mysql/Manifest
@@ -0,0 +1,7 @@
+AUX libnss-mysql-1.5_p20060915-no-automagic-debug.diff 610 SHA256 db5a4f5ad01f34db17c1f755ccbd20a8861c00674be2d8ab7b8481afa1d32ecd SHA512 f8e33bd221dd1662933510ccf9648a152e78c38e6b0d155ae82c3eff49f0f621b3661aa07bf8d8d84b53e14a048ea6765561c16c38e07286cb93bee6a51a91e7 WHIRLPOOL 37412fd1ee609d9a977b22aca49d95b04d81e1387a87b027179a7a93a012875d3de0a6c60ec867ed2cdc46a6706ad2d7aa45459ce05c5ca771ec8470a90dc72f
+DIST libnss-mysql-20060915.tgz 689970 SHA256 d0705ab7a185146d050a9ef486c4af03d66fb61fb511c4e0d29714b4c3e5848f SHA512 fc92438b413b175b9bcead222013eab3bf63088a33ece0c4b6cc69edbefb9cc9145138ce786059acf502c2378a2af45588a5a506e45928b9ac600fe05e62e0c7 WHIRLPOOL ca817d9ce10394455cee6ba5790d02ce658c184700706fbb9ccc90cdf67a57003bb47795c63023e18a0e79b4bfcdeaf1b001ba45f2242d0a664e3705a57040d0
+EBUILD libnss-mysql-1.5_p20060915-r2.ebuild 1220 SHA256 bc6e5954b38dead133d9c1ca74fd0ab51ad780ad37fa5aac4be57037e6e0e607 SHA512 6001953dfc5233d31fdbc84f60f63ce6103814157335f7d70c84ef22a47f6ef63c147718d1961414cc00f1252451e3e3848797a396672e39dd757c4340f52e38 WHIRLPOOL 54a06628ccd219abaf16b97f0942816231b82f7c5fb7bc41ce10b5244f6ed78c55266ef7ca232752cb749b9e78006b936252555755051745b6e47b0d03384aa7
+EBUILD libnss-mysql-1.5_p20060915-r3.ebuild 1195 SHA256 fad7549f810dea34a9b73faf1a918878cc56410bb5ca88b7c7cc505fcd7bd479 SHA512 f88a76eb69ab1c94b5bc32ed07e486e81ffda2935aa0071a374ea4408a13d2114aad9fc75caddb05d96f096ff42c2031b43bc8e3f8212bc74b1f2091a5ce5efe WHIRLPOOL 85a68d457ee5eb0050178ac82d392bde2fbe295e5209c8f459fa757f80d020e34115aa8c9be47f56f41b0d96eeb92d51bc2ae18b0ccea4d648f91ed862d7b460
+MISC ChangeLog 3157 SHA256 f7e709df386ca1219d79e854f8e88feafe83699863a201178fe00684f3005948 SHA512 9ef0d6371075e22fe30008e9f5f6a9c86b6f0fcfa5be92637d4d012f314eabcc424310a4fe9bdeb543874b502474111268794f259777340cc480ecc49c32ea62 WHIRLPOOL 15ae7ef9b28b0ed2852257049547d7298ba64e84655ef9a54ffd59472bae7a44f99801fc52055ec33e0fdabc3665d9fb002daedc774db95ca95eae243c76f5c4
+MISC ChangeLog-2015 6273 SHA256 3f440d9e20b2f867799db2ae03d89a86a07117f3cd594d928258b222eff61afd SHA512 38462ea21a37bbef4d064f276ffbda36525af498d6acc069b5837e26affa1baee1608db07c4f3dfc3665ff3eb6ebbf7760dbb654501e7116cb0de86eccac3454 WHIRLPOOL b09ed997b87bfac0777c826fae64169f58460b009bb76e0f442fe91ba9336b481716bab0ad75cced8f649b83b5c55bd1bd8f8e9d3b6f0a95af324c72bbfa96b5
+MISC metadata.xml 402 SHA256 6f07d44e79709341b380a1b7f5a52622506559fba502de6e9e0c93dc9e63104c SHA512 aa5fef79114433f7b68a3b4d67d60edc5012a874f5dc59166634abb1d10298f7d5b2c27ead34d7df2d8dd9b603aee2d8a5e75697dcd861e2da94183b4b17723e WHIRLPOOL 79ba92b2fe16344bd7fb76a985dd396b262e2402b28fff42cf94d6901c919acfbc46df2c754d43e273fd53c7665e30380c438419e03f3f5e4972eadbc5513125
diff --git a/sys-auth/libnss-mysql/files/libnss-mysql-1.5_p20060915-no-automagic-debug.diff b/sys-auth/libnss-mysql/files/libnss-mysql-1.5_p20060915-no-automagic-debug.diff
new file mode 100644
index 000000000000..292ae9e19476
--- /dev/null
+++ b/sys-auth/libnss-mysql/files/libnss-mysql-1.5_p20060915-no-automagic-debug.diff
@@ -0,0 +1,14 @@
+diff -NuarwPbB libnss-mysql.orig/configure.in libnss-mysql/configure.in
+--- libnss-mysql.orig/configure.in 2005-09-04 03:34:00.000000000 +0000
++++ libnss-mysql/configure.in 2010-09-08 18:12:24.577317098 +0000
+@@ -38,7 +38,9 @@
+ AC_ARG_WITH(mysql,
+ [ --with-mysql=DIR Location of your MySQL installation])
+ AC_ARG_ENABLE(debug,
+- [ --enable-debug Enable debug (see DEBUGGING)],
++ [ --enable-debug Enable debug (see DEBUGGING)])
++
++AS_IF([test "x$enable_debug" = "xyes"],
+ [AC_DEFINE([DEBUG], 1, [Enable debug])])
+
+ case "$target_os" in
diff --git a/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r2.ebuild b/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r2.ebuild
new file mode 100644
index 000000000000..aa1ec7dbf985
--- /dev/null
+++ b/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit eutils multilib autotools
+
+KEYWORDS="amd64 ppc ~sparc x86"
+
+DESCRIPTION="NSS MySQL Library"
+HOMEPAGE="http://libnss-mysql.sourceforge.net/"
+SRC_URI="http://libnss-mysql.sourceforge.net/snapshot/${PN}-${PV/1.5_p/}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug"
+
+DEPEND="virtual/mysql"
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-automagic-debug.diff
+ eautoconf
+}
+
+src_configure() {
+ # Usually, authentication libraries don't belong into usr.
+ # But here, it's required that the lib is in the same dir
+ # as libmysql, because else failures may occur on boot if
+ # udev tries to access a user / group that doesn't exist
+ # on the system before /usr is mounted.
+ econf --libdir="/usr/$(get_libdir)" \
+ $(use_enable debug)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ find "${D}" -name '*.la' -delete
+
+ newdoc sample/README README.sample
+ dodoc AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS \
+ TODO UPGRADING ChangeLog
+
+ for subdir in sample/{linux,freebsd,complex,minimal} ; do
+ docinto "${subdir}"
+ dodoc "${subdir}/"{*.sql,*.cfg}
+ done
+}
diff --git a/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r3.ebuild b/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r3.ebuild
new file mode 100644
index 000000000000..5be867817484
--- /dev/null
+++ b/sys-auth/libnss-mysql/libnss-mysql-1.5_p20060915-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib autotools
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DESCRIPTION="NSS MySQL Library"
+HOMEPAGE="http://libnss-mysql.sourceforge.net/"
+SRC_URI="http://libnss-mysql.sourceforge.net/snapshot/${PN}-${PV/1.5_p/}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug"
+
+DEPEND="virtual/mysql"
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${PN}"
+
+DOCS=( AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS
+ TODO UPGRADING ChangeLog
+)
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-automagic-debug.diff
+ eautoconf
+}
+
+src_configure() {
+ # Usually, authentication libraries don't belong into usr.
+ # But here, it's required that the lib is in the same dir
+ # as libmysql, because else failures may occur on boot if
+ # udev tries to access a user / group that doesn't exist
+ # on the system before /usr is mounted.
+ econf --libdir="/usr/$(get_libdir)" \
+ $(use_enable debug)
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete
+
+ newdoc sample/README README.sample
+
+ for subdir in sample/{linux,freebsd,complex,minimal} ; do
+ docinto "${subdir}"
+ dodoc "${subdir}/"{*.sql,*.cfg}
+ done
+}
diff --git a/sys-auth/libnss-mysql/metadata.xml b/sys-auth/libnss-mysql/metadata.xml
new file mode 100644
index 000000000000..7061f94bfe60
--- /dev/null
+++ b/sys-auth/libnss-mysql/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hanno@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>mysql-bugs@gentoo.org</email>
+ <name>MySQL</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">libnss-mysql</remote-id>
+ </upstream>
+</pkgmetadata>