summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-10-23 10:57:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-10-23 10:57:34 +0000
commitd5c6eeef07e173e7fcbbccee808c77fe4b4c9689 (patch)
treea9d5a5effb670d4bfc9ef6c69e0b0a6352ad344f /net-misc/memcached
parentRevbump to RDEPEND on pyopenssl (diff)
downloadhistorical-d5c6eeef07e173e7fcbbccee808c77fe4b4c9689.tar.gz
historical-d5c6eeef07e173e7fcbbccee808c77fe4b4c9689.tar.bz2
historical-d5c6eeef07e173e7fcbbccee808c77fe4b4c9689.zip
Add patch to build on Gentoo/FreeBSD.
Package-Manager: portage-2.1.3.15
Diffstat (limited to 'net-misc/memcached')
-rw-r--r--net-misc/memcached/ChangeLog6
-rw-r--r--net-misc/memcached/Manifest30
-rw-r--r--net-misc/memcached/files/memcached-1.2.2-fbsd.patch12
-rw-r--r--net-misc/memcached/memcached-1.2.2.ebuild9
4 files changed, 47 insertions, 10 deletions
diff --git a/net-misc/memcached/ChangeLog b/net-misc/memcached/ChangeLog
index 0aa32c61432d..d8eed8f98362 100644
--- a/net-misc/memcached/ChangeLog
+++ b/net-misc/memcached/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/memcached
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.49 2007/10/15 14:45:59 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.50 2007/10/23 10:57:34 flameeyes Exp $
+
+ 23 Oct 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/memcached-1.2.2-fbsd.patch, memcached-1.2.2.ebuild:
+ Add patch to build on Gentoo/FreeBSD.
15 Oct 2007; Markus Rothe <corsair@gentoo.org> memcached-1.2.1-r1.ebuild:
Stable on ppc64
diff --git a/net-misc/memcached/Manifest b/net-misc/memcached/Manifest
index 0ea07c14df84..c1c3a98fc989 100644
--- a/net-misc/memcached/Manifest
+++ b/net-misc/memcached/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 1.1.12/conf 636 RMD160 4bae6b67ae0941e74f6f494568ae026949ebd6fa SHA1 5d78a2ff7709510c9b6920bd1bf7e044708063b4 SHA256 0a5b83267788e429c2be0c4af1ef6a30320e96becab78aaba5af8d7eb8ff3ee2
MD5 f838206eac3e3420d7ad751024f64eea files/1.1.12/conf 636
RMD160 4bae6b67ae0941e74f6f494568ae026949ebd6fa files/1.1.12/conf 636
@@ -22,6 +25,10 @@ AUX init 571 RMD160 ddaa6e2e9464618920cc3b6cb02d7ded1d164bdb SHA1 db92dc23707f26
MD5 3ff0941d3904bd7d5584fd21e22f256e files/init 571
RMD160 ddaa6e2e9464618920cc3b6cb02d7ded1d164bdb files/init 571
SHA256 8ae8fa692c9dec80403840205cfb16295b843392f446bd8dc7715607bc43d31f files/init 571
+AUX memcached-1.2.2-fbsd.patch 328 RMD160 669542854d9cbca5495db2ac2fe280502dbe96e6 SHA1 c783c1f1b89da8f61f170641dcf4d0987b9c3b08 SHA256 a0e91bd63a01a1a3361b0465fb9c63d091627d8714f3f64c853723b31da54b2f
+MD5 320c513528f46c122fbb2de5991c1819 files/memcached-1.2.2-fbsd.patch 328
+RMD160 669542854d9cbca5495db2ac2fe280502dbe96e6 files/memcached-1.2.2-fbsd.patch 328
+SHA256 a0e91bd63a01a1a3361b0465fb9c63d091627d8714f3f64c853723b31da54b2f files/memcached-1.2.2-fbsd.patch 328
DIST memcached-1.1.11.tar.gz 112954 RMD160 368029eb8751a8483846bb0a66d3bf12f157634d SHA1 2aae771cfa79db39e797c8fa5ee0ebff3ddfed56 SHA256 e6ffd9e9a80b0abda3a6e08d25e6624af0e837f1f058bb9c96d8bb16d33385c8
DIST memcached-1.1.12.tar.gz 114103 RMD160 4a1914d157cdd0d73102733f32dd835a494585c4 SHA1 431bfc095c777948073e38436c6cf176acb6b5de SHA256 6a8e63b02d8576a937dc154232357dbb9c236890be53e9ce0d44e2dba21ca79a
DIST memcached-1.1.13-pre.tar.gz 138500 RMD160 7b914d97a3722d7f057e0f0113fd7ebc99b53a66 SHA1 c7b20f9578d77146f850ce928f392679170348d0 SHA256 ef75062f280a72a59473a109524fd1ddd74fc17c38a08ff7c53c230bddafc4fe
@@ -68,14 +75,14 @@ EBUILD memcached-1.2.1.ebuild 1617 RMD160 8cb56cefada50e45b679d77351f2621a92be99
MD5 d9eca909478b851bbf93ba47f8f9654e memcached-1.2.1.ebuild 1617
RMD160 8cb56cefada50e45b679d77351f2621a92be9955 memcached-1.2.1.ebuild 1617
SHA256 e54e8118de906b2dfd0a30c6e7ad63c2520cb1e7909b024ea64409127bc9e74f memcached-1.2.1.ebuild 1617
-EBUILD memcached-1.2.2.ebuild 1423 RMD160 59162790cf89ab6cdacd0db09d9451c31ac06b2d SHA1 6a1702042a48daeac1e7b9213401b4654a9035c5 SHA256 ca26e407d78adee2dd3a8203b56a1bd174df5e80953fac25f4f0446406c1872d
-MD5 9193f3f4d39a6dd876384900c45c21c4 memcached-1.2.2.ebuild 1423
-RMD160 59162790cf89ab6cdacd0db09d9451c31ac06b2d memcached-1.2.2.ebuild 1423
-SHA256 ca26e407d78adee2dd3a8203b56a1bd174df5e80953fac25f4f0446406c1872d memcached-1.2.2.ebuild 1423
-MISC ChangeLog 9237 RMD160 fed4e471bf29929ad4cca7da4638138c986fa1d6 SHA1 1d9db926ce09c8d858c7f1f927fda992fcbf4ea8 SHA256 edd576a0442e0720e79bda23622fb4b0db93342f35b757b7f5d1187b263abc85
-MD5 cf9fb039c98d6c3c05d6bb72abdc53c0 ChangeLog 9237
-RMD160 fed4e471bf29929ad4cca7da4638138c986fa1d6 ChangeLog 9237
-SHA256 edd576a0442e0720e79bda23622fb4b0db93342f35b757b7f5d1187b263abc85 ChangeLog 9237
+EBUILD memcached-1.2.2.ebuild 1509 RMD160 8dad264d33b4f140386f6728a549b6e3e57ab9e9 SHA1 470d2ef733568ca1436f817f1a181edfbf8aa6b9 SHA256 9f556a35e48ba7f60e283bb79793eadc745342359db321ed723de98c8207f69c
+MD5 0688ab09edb7ead0e0471116bb617543 memcached-1.2.2.ebuild 1509
+RMD160 8dad264d33b4f140386f6728a549b6e3e57ab9e9 memcached-1.2.2.ebuild 1509
+SHA256 9f556a35e48ba7f60e283bb79793eadc745342359db321ed723de98c8207f69c memcached-1.2.2.ebuild 1509
+MISC ChangeLog 9394 RMD160 1864826013379eb7e2d8af5f19ccbd6c22c07a5f SHA1 91cdc8ef63e62c065a8f524762687c571af2983f SHA256 3fe5465b867cc5ec75e84c7cd4137e44ba92486084d91245014ba427ac887111
+MD5 231bbb8ed13166df1f8e058d2e2d8a04 ChangeLog 9394
+RMD160 1864826013379eb7e2d8af5f19ccbd6c22c07a5f ChangeLog 9394
+SHA256 3fe5465b867cc5ec75e84c7cd4137e44ba92486084d91245014ba427ac887111 ChangeLog 9394
MISC metadata.xml 220 RMD160 adeee6d24269e2c36fa264eb0f5d3105cbcf0c5f SHA1 6bede79555a57b50e9b78c8869866db9d3c76366 SHA256 6d5549afe8cd878ebb18c6e97ad3b486283e14e0fb5ad2e5e0ea413e17e36fbb
MD5 0f18e4c1a9a4b09570cfc7719b927e83 metadata.xml 220
RMD160 adeee6d24269e2c36fa264eb0f5d3105cbcf0c5f metadata.xml 220
@@ -113,3 +120,10 @@ SHA256 421b6f7d5281d150930d0841cb467ddfeb6374768815147e6c675009fac587aa files/di
MD5 8de9675f77e1d0a81b0200eaa8689140 files/digest-memcached-1.2.2 247
RMD160 5370d99ce47279fc56a78263d34f748f0286a725 files/digest-memcached-1.2.2 247
SHA256 3e2057753b27a6e078ddfbe52d78c484c8aa0f3885904647d5e8f640832bfa15 files/digest-memcached-1.2.2 247
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHHdMXAiZjviIA2XgRAkXeAKCxL7R8Kq+kkwtYFCESii5Gx0+fOQCg9Oau
+Gv8uAUNHbVd50Fk+XiY3iEY=
+=EOo8
+-----END PGP SIGNATURE-----
diff --git a/net-misc/memcached/files/memcached-1.2.2-fbsd.patch b/net-misc/memcached/files/memcached-1.2.2-fbsd.patch
new file mode 100644
index 000000000000..76f237698cf7
--- /dev/null
+++ b/net-misc/memcached/files/memcached-1.2.2-fbsd.patch
@@ -0,0 +1,12 @@
+Index: memcached-1.2.2/memcached.h
+===================================================================
+--- memcached-1.2.2.orig/memcached.h
++++ memcached-1.2.2/memcached.h
+@@ -4,6 +4,7 @@
+ #include "config.h"
+ #include <sys/types.h>
+ #include <sys/time.h>
++#include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <event.h>
+
diff --git a/net-misc/memcached/memcached-1.2.2.ebuild b/net-misc/memcached/memcached-1.2.2.ebuild
index aaad0f92b154..688cb5b5dbea 100644
--- a/net-misc/memcached/memcached-1.2.2.ebuild
+++ b/net-misc/memcached/memcached-1.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/memcached-1.2.2.ebuild,v 1.1 2007/09/24 13:53:08 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/memcached-1.2.2.ebuild,v 1.2 2007/10/23 10:57:34 flameeyes Exp $
inherit eutils
@@ -17,6 +17,13 @@ RDEPEND=">=dev-libs/libevent-0.6
dev-perl/Cache-Memcached"
DEPEND="${RDEPEND}"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-fbsd.patch"
+}
+
src_compile() {
econf $(use_enable nptl threads)
emake || die "emake failed."