diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-08-13 10:49:15 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-08-13 10:49:15 +0000 |
commit | 5f0783779b1821d04440998aa612814cc068f1bc (patch) | |
tree | 5df15b2641a5dcdc466108e8b99fc614f023f700 /net-misc/tokyotyrant | |
parent | Imported prefix keywords (diff) | |
download | historical-5f0783779b1821d04440998aa612814cc068f1bc.tar.gz historical-5f0783779b1821d04440998aa612814cc068f1bc.tar.bz2 historical-5f0783779b1821d04440998aa612814cc068f1bc.zip |
Bump, fixes thanks to Johan Bergstroem. Fixes #331559
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-misc/tokyotyrant')
-rw-r--r-- | net-misc/tokyotyrant/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/tokyotyrant/Manifest | 5 | ||||
-rw-r--r-- | net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch | 85 | ||||
-rw-r--r-- | net-misc/tokyotyrant/tokyotyrant-1.1.41.ebuild | 65 |
4 files changed, 161 insertions, 2 deletions
diff --git a/net-misc/tokyotyrant/ChangeLog b/net-misc/tokyotyrant/ChangeLog index 788e703b7af3..2026ef032e3e 100644 --- a/net-misc/tokyotyrant/ChangeLog +++ b/net-misc/tokyotyrant/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/tokyotyrant # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/ChangeLog,v 1.8 2010/06/18 07:44:54 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/ChangeLog,v 1.9 2010/08/13 10:49:15 patrick Exp $ + +*tokyotyrant-1.1.41 (13 Aug 2010) + + 13 Aug 2010; Patrick Lauer <patrick@gentoo.org> + +tokyotyrant-1.1.41.ebuild, +files/fix_makefiles-1.4.41.patch: + Bump, fixes thanks to Johan Bergstroem. Fixes #331559 18 Jun 2010; Patrick Lauer <patrick@gentoo.org> -tokyotyrant-1.1.37.ebuild, -tokyotyrant-1.1.39.ebuild: diff --git a/net-misc/tokyotyrant/Manifest b/net-misc/tokyotyrant/Manifest index 038d4c46dd57..267625b52712 100644 --- a/net-misc/tokyotyrant/Manifest +++ b/net-misc/tokyotyrant/Manifest @@ -1,8 +1,11 @@ +AUX fix_makefiles-1.4.41.patch 3247 RMD160 c09830f28a899c6580aa46db4794a362a39bf301 SHA1 fc9de33b3cec5263aa6566a7bf386acd8a648351 SHA256 253d02436a3f8cb9f0826ec9380ee89ab9b1ff7451de33095b283f717e5880ee AUX fix_makefiles.patch 2829 RMD160 41ae95523eeeb053000c4ee1cf827b05061fdd3b SHA1 f1588db0b792226e456bfbf81c0d1da3a9836aa5 SHA256 4b2dd51d3f4e9ae727591c87fd16e9aac9b26f3ff4d2b24473e5aac9e986884b AUX fix_testsuite.patch 6590 RMD160 65230b80df8b4fb3aa0dfe6df0f660eb52af3639 SHA1 cbc78e3fb7687593cd9178031b93769466c03e66 SHA256 c7d031aa0588ab77d0e37742a0001def4e6671860ae7368df7a8229b68427d92 AUX tokyotyrant.confd 361 RMD160 0bc790ffd4f26d1626172dccef8d92d37c162c50 SHA1 2c9dfc77953df30b7c36bd2c0c00f63e73ad990f SHA256 cc40f58e8de8cb4b17d7e065ee605f0c558fdbe10ca370ca511498a9005bfe90 AUX tokyotyrant.initd 796 RMD160 932f65b9e273051fb5347dcb1dffe5f2f844ee83 SHA1 786c98d394fa1aec2860d607de7c79e1b9499361 SHA256 247400c0c54892c71e300f2e43cdd1691aa64838997bd60a0dfc84beaedd5db7 DIST tokyotyrant-1.1.40.tar.gz 195536 RMD160 3f6396b6fcc689c590a70043001e92b526984a8f SHA1 2e318b311af18fb255dc902bf1d00e64173eecc9 SHA256 177551ef7611d0a0153a027b8d0eb5aed73cb7860cc5161c74f1d40616d93a85 +DIST tokyotyrant-1.1.41.tar.gz 196196 RMD160 679122c30104213991c640e4c9d4d0203308190a SHA1 060ac946a9ac902c1d244ffafd444f0e5840c0ce SHA256 42af70fb9f2795d4e05c3e37941ce392a9eaafc991e230c48115370f6d64b88f EBUILD tokyotyrant-1.1.40.ebuild 1291 RMD160 5da55f0447e3bbd7859252b5efd419152dae33d5 SHA1 778c25bf8c6d29496a041f96d2a62a8762cb144b SHA256 a14a6c87da251b258660f90ec289cefbfe324912778935f3d8750858b99c615d -MISC ChangeLog 1579 RMD160 7e88d9fc9b8bd05f4768380b2fd75f4ff4b78125 SHA1 8bb76b804f3d6323162b9e6b832500b1e2db06dc SHA256 a1f8a58ac046dc81c8fd0bf39f9444f798ba1027ff3fd0e2a0482a80b266c8db +EBUILD tokyotyrant-1.1.41.ebuild 1435 RMD160 f4ca6682356b32654575ec00cef2993e7933570f SHA1 cfd98f9ffdf3f965ae359c2997e415893a5c14e4 SHA256 b0b644aa3bf61baffc8d81e5e57288db7530daab8a305aeea1c9d97c166c2649 +MISC ChangeLog 1786 RMD160 fc738a3b37d1ffd96427e4e542bd9131925979e1 SHA1 d0e7b867b99f78306b062f45ae989005365ed0ff SHA256 d97f7d51f66edbea5110da730e1dbc435ce2654094276737330b8f6899ccad33 MISC metadata.xml 255 RMD160 dbe77cd804a4411e8445c05f6e632fdc2f72d082 SHA1 94e7a8d2d43907279488b984c3dcd9fd1888ce25 SHA256 28c7b0445a5f2eb0d524ff3afcef712ecbf345592d26142f71a3ef9bca653d4b diff --git a/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch b/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch new file mode 100644 index 000000000000..40d26cc5f93a --- /dev/null +++ b/net-misc/tokyotyrant/files/fix_makefiles-1.4.41.patch @@ -0,0 +1,85 @@ +diff --git a/Makefile.in b/Makefile.in +index b388455..52d3bc3 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -58,8 +58,8 @@ CFLAGS = @MYCFLAGS@ + LDFLAGS = @MYLDFLAGS@ + CMDLDFLAGS = @MYCMDLDFLAGS@ + LIBS = @LIBS@ +-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@:. +-RUNENV = @MYLDLIBPATHENV@=.:/lib:/usr/lib:$(LIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@ ++LDENV = ++RUNENV = @MYLDLIBPATHENV@=.:$(LIBDIR) + POSTCMD = @MYPOSTCMD@ + + +@@ -120,10 +120,6 @@ install : + cp -Rf $(LIBRARYFILES) $(DESTDIR)$(LIBDIR) + mkdir -p $(DESTDIR)$(BINDIR) + cp -Rf $(COMMANDFILES) $(DESTDIR)$(BINDIR) +- mkdir -p $(DESTDIR)$(SBINDIR) +- cp -Rf $(INITFILES) $(DESTDIR)$(SBINDIR) +- mkdir -p $(DESTDIR)$(DATADIR) +- cp -Rf $(SCREXTFILES) $(DOCUMENTFILES) $(DESTDIR)$(DATADIR) + mkdir -p $(DESTDIR)$(MAN1DIR) + cd man && cp -Rf $(MAN1FILES) $(DESTDIR)$(MAN1DIR) + mkdir -p $(DESTDIR)$(MAN3DIR) +@@ -132,7 +128,6 @@ install : + cd man && cp -Rf $(MAN8FILES) $(DESTDIR)$(MAN8DIR) + mkdir -p $(DESTDIR)$(PCDIR) + cp -Rf $(PCFILES) $(DESTDIR)$(PCDIR) +- [ "$$UID" == 0 ] && ldconfig || true + @printf '\n' + @printf '#================================================================\n' + @printf '# Thanks for using Tokyo Tyrant.\n' +diff --git a/configure.in b/configure.in +index fbe0c71..809a839 100644 +--- a/configure.in ++++ b/configure.in +@@ -28,33 +28,15 @@ MYDOCUMENTFILES="COPYING ChangeLog THANKS doc tokyotyrant.idl" + MYPCFILES="tokyotyrant.pc" + + # Building flags +-MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char -O2" ++MYCFLAGS="-std=c99 -Wall -fPIC -fsigned-char" + MYCPPFLAGS="-I. -I\$(INCLUDEDIR) -I$HOME/include -I/usr/local/include" + MYCPPFLAGS="$MYCPPFLAGS -DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__" +-MYLDFLAGS="-L. -L\$(LIBDIR) -L$HOME/lib -L/usr/local/lib" ++MYLDFLAGS="-L. -L\$(LIBDIR)" + MYCMDLDFLAGS="" + MYRUNPATH="\$(LIBDIR)" + MYLDLIBPATHENV="LD_LIBRARY_PATH" + MYPOSTCMD="true" + +-# Building paths +-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" +-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb" +-CPATH="$HOME/include:/usr/local/include:$CPATH" +-LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH" +-LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" +-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" +-export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH +-if type pkg-config > /dev/null 2>&1 +-then +- PATH="$PATH:`pkg-config --variable=bindir tokyocabinet`" +- CPATH="$CPATH:`pkg-config --variable=includedir tokyocabinet`" +- LIBRARY_PATH="$LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`" +- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pkg-config --variable=libdir tokyocabinet`" +-fi +- +- +- + #================================================================ + # Options + #================================================================ +diff --git a/tokyotyrant.pc.in b/tokyotyrant.pc.in +index efb3749..efec1f6 100644 +--- a/tokyotyrant.pc.in ++++ b/tokyotyrant.pc.in +@@ -10,5 +10,5 @@ datadir=@datadir@ + Name: Tokyo Tyrant + Description: network interface of Tokyo Cabinet + Version: @PACKAGE_VERSION@ +-Libs: -L${libdir} -ltokyotyrant @LIBS@ ++Libs: -L${libdir} -ltokyotyrant + Cflags: -I${includedir} diff --git a/net-misc/tokyotyrant/tokyotyrant-1.1.41.ebuild b/net-misc/tokyotyrant/tokyotyrant-1.1.41.ebuild new file mode 100644 index 000000000000..279139642098 --- /dev/null +++ b/net-misc/tokyotyrant/tokyotyrant-1.1.41.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/tokyotyrant-1.1.41.ebuild,v 1.1 2010/08/13 10:49:15 patrick Exp $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="A network interface to Tokyo Cabinet" +HOMEPAGE="http://fallabs.com/tokyotyrant/" +SRC_URI="${HOMEPAGE}${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-macos" +IUSE="debug examples lua" + +DEPEND="dev-db/tokyocabinet + sys-libs/zlib + app-arch/bzip2 + lua? ( dev-lang/lua )" +RDEPEND="${DEPEND}" + +pkg_setup() { + if use !prefix ; then + enewgroup tyrant + enewuser tyrant -1 -1 /var/lib/${PN} tyrant + fi +} + +src_prepare() { + epatch "${FILESDIR}"/fix_makefiles-1.4.41.patch + epatch "${FILESDIR}"/fix_testsuite.patch +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable lua) +} + +src_install() { + rm ttservctl || die "Install failed" + emake DESTDIR="${D}" install || die "Install failed" + + for x in /var/{lib,run,log}/${PN}; do + dodir "${x}" || die "Install failed" + use prefix || fowners tyrant:tyrant "${x}" + done + + if use examples; then + insinto /usr/share/${PF}/example + doins example/* || die "Install failed" + fi + + dohtml doc/* || die + + newinitd "${FILESDIR}/${PN}.initd" ${PN} || die "Install failed" + newconfd "${FILESDIR}/${PN}.confd" ${PN} || die "Install failed" + +} + +src_test() { + emake -j1 check || die "Tests failed" +} |