summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasufell <julian.ospald@googlemail.com>2012-04-16 19:08:15 +0200
committerhasufell <julian.ospald@googlemail.com>2012-04-16 19:08:15 +0200
commit8e34edb443e691b049295e5c4bc943084bc6a26d (patch)
tree530e26bf45c993836df9b550b1032aa8674b7ddc
parentdev-util/nvidia-texture-tools: correct static to static-libs (diff)
downloadsunrise-8e34edb443e691b049295e5c4bc943084bc6a26d.tar.gz
sunrise-8e34edb443e691b049295e5c4bc943084bc6a26d.tar.bz2
sunrise-8e34edb443e691b049295e5c4bc943084bc6a26d.zip
net-libs/http-parser: removed obsolete version; SONAME removed (this is a simple lib)
-rw-r--r--net-libs/http-parser/ChangeLog5
-rw-r--r--net-libs/http-parser/Manifest9
-rw-r--r--net-libs/http-parser/files/20120331-makefile.patch17
-rw-r--r--net-libs/http-parser/files/20120413-makefile.patch3
-rw-r--r--net-libs/http-parser/http-parser-1.0_pre20120331.ebuild36
-rw-r--r--net-libs/http-parser/http-parser-1.0_pre20120413.ebuild8
6 files changed, 11 insertions, 67 deletions
diff --git a/net-libs/http-parser/ChangeLog b/net-libs/http-parser/ChangeLog
index 63ca47bf9..6cf232236 100644
--- a/net-libs/http-parser/ChangeLog
+++ b/net-libs/http-parser/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 16 Apr 2012; hasufell <julian.ospald@googlemail.com>
+ -files/20120331-makefile.patch, files/20120413-makefile.patch,
+ -http-parser-1.0_pre20120331.ebuild, http-parser-1.0_pre20120413.ebuild:
+ removed obsolete version; SONAME removed (this is a simple lib)
+
*http-parser-1.0_pre20120413 (13 Apr 2012)
13 Apr 2012; hasufell <julian.ospald@googlemail.com>
diff --git a/net-libs/http-parser/Manifest b/net-libs/http-parser/Manifest
index e76b635c6..19e9b396e 100644
--- a/net-libs/http-parser/Manifest
+++ b/net-libs/http-parser/Manifest
@@ -1,8 +1,5 @@
-AUX 20120331-makefile.patch 534 RMD160 7bbb812a1207e074ea381ef7fecd393ee9893be5 SHA1 e9ad8c8ab8259a99baa741f53324c17ad570315e SHA256 a1c15c1b317eaa673b1847afa30e40dbce239a80aff63df9edb55389580c9ed2
-AUX 20120413-makefile.patch 554 RMD160 fd334ec3483cdfbf3ff8a297cb0c1b22756cfd8d SHA1 b34cf27890e916ab1c1bdc21f26cba486a40701a SHA256 f09560fbdcd5ae53d4377f6a421a319f3c21110658d21c60c8474fcdc5d25a6a
-DIST http-parser-1.0_pre20120331.tar.gz 36251 RMD160 35de87e00ea6d09546c6a73a2f2207d6a1a3beeb SHA1 b9d1351359328be3bc80e2dc3ae0a54ece330519 SHA256 a5601109269c1540d769011d502e6e68c5c963be0265539f229c9ec2a43a73fa
+AUX 20120413-makefile.patch 462 RMD160 a09d27fbe1315da6739ea189b5d5f66924ee356c SHA1 1e944e925c145279d1981fb0beb1bd89944da30f SHA256 a27403cc5f2056b169dd514d2981eedba3df4e6eaeee0f088f7502550bdee3f9
DIST http-parser-1.0_pre20120413.tar.gz 36327 RMD160 216d6be85bbcab707906c72c30a478814de66798 SHA1 c25232e42e16b9931d1c9dea4dc7ec3e342e32b0 SHA256 07551398f3bdf2d00dfff99b978f24cb2712898ec1b4a61eef131493c5f3528d
-EBUILD http-parser-1.0_pre20120331.ebuild 851 RMD160 e4994317605286da5bb8bc4f6fe693239ad5b53f SHA1 a3d1a10b100384d6f20945c2d2e4741715a63747 SHA256 9028ee40b627fcd68f2cf25caa1393b3ed0f27e58fffc0bfbbfb6a437f4ceaa3
-EBUILD http-parser-1.0_pre20120413.ebuild 851 RMD160 3fcb91fec610001c29cbf1eedba2a2dbd5776e68 SHA1 390a0533d1503c0336c7c859bc228edb75547da4 SHA256 357c9285a842c00b6f199550870549f9d177c8d56eaf8f756991547764b7f398
-MISC ChangeLog 571 RMD160 ada80ca8b14ac11f1626b37ad197ab2b3181d5e4 SHA1 20ea4e806dde2fd9aabe361e65504f2562b62780 SHA256 4131b0ac8a0c04467c98fa9cfcea26e67ebdddbcb2a5b79c8e5efdb0fb6a6fc2
+EBUILD http-parser-1.0_pre20120413.ebuild 658 RMD160 4bcebc6c68a04835faef1c8d2bc00799f6ee6a46 SHA1 1e2972346f8b0fe7d7715b9988de547d61fecc18 SHA256 1cb16605a78bebaad0f98e60cd044c908b74a7cf482cfcb21b1cd28e53bb9557
+MISC ChangeLog 833 RMD160 63d0c38483eca0ad38ed68d03765a9324dcaece5 SHA1 7604b8d7fbb56fedd5218ec13799cc1217f7a29f SHA256 9f6b9e0a329715d10ab4d671da75d3aa702c13337229bf81b7e163f55ace3193
MISC metadata.xml 214 RMD160 efd8175069efb91061298ff4584218b633e44678 SHA1 d372fdbfcb7fd07a4082961d3f3527be4fca1d60 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154
diff --git a/net-libs/http-parser/files/20120331-makefile.patch b/net-libs/http-parser/files/20120331-makefile.patch
deleted file mode 100644
index 14f948a29..000000000
--- a/net-libs/http-parser/files/20120331-makefile.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-From: Julian Ospald <julian.ospald@googlemail.com>
-Date: Sat Mar 31 01:11:44 CEST 2012
-
-fix "QA Notice: The following shared libraries lack a SONAME"
-respect LDFLAGS
-
---- Makefile
-+++ Makefile
-@@ -44,7 +44,7 @@
- $(CC) $(CPPFLAGS_FAST) $(CFLAGS_LIB) -c http_parser.c -o libhttp_parser.o
-
- library: libhttp_parser.o
-- $(CC) -shared -o libhttp_parser.so libhttp_parser.o
-+ $(CC) $(LDFLAGS) -Wl,-soname,libhttp_parser.so -shared -o libhttp_parser.so libhttp_parser.o
-
- package: http_parser.o
- $(AR) rcs libhttp_parser.a http_parser.o
diff --git a/net-libs/http-parser/files/20120413-makefile.patch b/net-libs/http-parser/files/20120413-makefile.patch
index f140cd2d5..f4ebe2708 100644
--- a/net-libs/http-parser/files/20120413-makefile.patch
+++ b/net-libs/http-parser/files/20120413-makefile.patch
@@ -1,7 +1,6 @@
From: Julian Ospald <julian.ospald@googlemail.com>
Date: Fri Apr 13 18:44:35 UTC 2012
-fix "QA Notice: The following shared libraries lack a SONAME"
respect LDFLAGS and CFLAGS
--- Makefile
@@ -11,7 +10,7 @@ respect LDFLAGS and CFLAGS
library: libhttp_parser.o
- $(CC) -shared -o libhttp_parser.so libhttp_parser.o
-+ $(CC) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libhttp_parser.so -shared -o libhttp_parser.so libhttp_parser.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o libhttp_parser.so libhttp_parser.o
package: http_parser.o
$(AR) rcs libhttp_parser.a http_parser.o
diff --git a/net-libs/http-parser/http-parser-1.0_pre20120331.ebuild b/net-libs/http-parser/http-parser-1.0_pre20120331.ebuild
deleted file mode 100644
index 0dc6e1f69..000000000
--- a/net-libs/http-parser/http-parser-1.0_pre20120331.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="A parser for HTTP messages written in C. It parses both requests and responses"
-HOMEPAGE="https://github.com/joyent/http-parser"
-SRC_URI="https://github.com/downloads/hasufell/tinkerbox/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-src_prepare() {
- # fix SONAME/LDFLAGS
- epatch "${FILESDIR}"/20120331-makefile.patch
-}
-
-src_compile() {
- tc-export CC
- emake library
-}
-
-src_install() {
- insinto /usr/include/${PN}
- doins http_parser.h
- newlib.so libhttp_parser.so libhttp_parser.so.1.0
- dosym libhttp_parser.so.1.0 /usr/$(get_libdir)/libhttp_parser.so.1
- dosym libhttp_parser.so.1.0 /usr/$(get_libdir)/libhttp_parser.so
-
- newdoc README.md README
-}
diff --git a/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild b/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild
index 1d77d872a..1b282dd0b 100644
--- a/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild
+++ b/net-libs/http-parser/http-parser-1.0_pre20120413.ebuild
@@ -8,7 +8,7 @@ inherit eutils multilib toolchain-funcs
DESCRIPTION="A parser for HTTP messages written in C. It parses both requests and responses"
HOMEPAGE="https://github.com/joyent/http-parser"
-SRC_URI="https://github.com/downloads/hasufell/tinkerbox/${P}.tar.gz"
+SRC_URI="mirror://github/hasufell/tinkerbox/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -16,7 +16,6 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
- # fix SONAME/LDFLAGS
epatch "${FILESDIR}"/20120413-makefile.patch
}
@@ -28,9 +27,6 @@ src_compile() {
src_install() {
insinto /usr/include/${PN}
doins http_parser.h
- newlib.so libhttp_parser.so libhttp_parser.so.1.0
- dosym libhttp_parser.so.1.0 /usr/$(get_libdir)/libhttp_parser.so.1
- dosym libhttp_parser.so.1.0 /usr/$(get_libdir)/libhttp_parser.so
-
+ dolib.so libhttp_parser.so
newdoc README.md README
}