diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-06 23:51:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-06 23:51:44 +0000 |
commit | 43411c2b91c7ffe06905f80f70304db06bffb2a2 (patch) | |
tree | 7141a1bb03d3654634462c43a6c13501de7cfe2f /dev-libs/libaio | |
parent | New version for GNOME 2.24. Rework Invest UI, do not poll sound volumes, move... (diff) | |
download | historical-43411c2b91c7ffe06905f80f70304db06bffb2a2.tar.gz historical-43411c2b91c7ffe06905f80f70304db06bffb2a2.tar.bz2 historical-43411c2b91c7ffe06905f80f70304db06bffb2a2.zip |
Version bump.
Package-Manager: portage-2.2_rc13/cvs/Linux 2.6.27.4 x86_64
Diffstat (limited to 'dev-libs/libaio')
-rw-r--r-- | dev-libs/libaio/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/libaio/Manifest | 16 | ||||
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.107-install-to-slash.patch | 31 | ||||
-rw-r--r-- | dev-libs/libaio/files/libaio-0.3.107-sparc.patch | 151 | ||||
-rw-r--r-- | dev-libs/libaio/libaio-0.3.107.ebuild | 48 |
5 files changed, 253 insertions, 2 deletions
diff --git a/dev-libs/libaio/ChangeLog b/dev-libs/libaio/ChangeLog index 89e88e1241a2..651039141eb7 100644 --- a/dev-libs/libaio/ChangeLog +++ b/dev-libs/libaio/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/libaio # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.32 2008/09/15 02:52:19 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.33 2008/11/06 23:51:44 vapier Exp $ + +*libaio-0.3.107 (06 Nov 2008) + + 06 Nov 2008; Mike Frysinger <vapier@gentoo.org> + +files/libaio-0.3.107-install-to-slash.patch, + +files/libaio-0.3.107-sparc.patch, +libaio-0.3.107.ebuild: + Version bump. *libaio-0.3.106-r2 (15 Sep 2008) diff --git a/dev-libs/libaio/Manifest b/dev-libs/libaio/Manifest index 77e57ce5efb4..d15c870bb7f3 100644 --- a/dev-libs/libaio/Manifest +++ b/dev-libs/libaio/Manifest @@ -1,13 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX libaio-0.3.104-build.patch 507 RMD160 7e5e0ac49d27c3bac6fb96af32d18070bd9d69d9 SHA1 863b92b51d4f420a885bfe8ae2919b85c6e7263a SHA256 c48e65bfd7ada197539e80323e481cfa0b9045360e845ffbeacf6600975957fd AUX libaio-0.3.106-build.patch 897 RMD160 59f63ebec2b753b114dd0a2e600faa55346b53f4 SHA1 b43f7c37de4918f14ea944aaee415fb710a443b9 SHA256 bea61cfeff24fb2fd37dd4dffc3dbe4ce98f32ddccb20f6462cf62ba16eaeee3 +AUX libaio-0.3.107-install-to-slash.patch 1072 RMD160 2dc3e0b19a2a3e925ed02c6ff70cc5a4544a8dbd SHA1 f194309d2e25bc2254cbc6a4e1f5a7ce1b42876a SHA256 9405774a83dec8862002b185837495e96fa1c6753de18a8c0ea732cef525588c +AUX libaio-0.3.107-sparc.patch 5331 RMD160 f265fe93f6c1fee7201a168b21cd3dfb00a33e1d SHA1 5af283341c55f7907b91266703417a1cfa3db296 SHA256 38cc2e213054332ba888cf5e3844e762374dd63f1537fd86ceebccfd516c1c45 AUX libaio-0.3.15-2.5-2-Makefile.patch 430 RMD160 2a3ec525be8d5ee1792cd2d71c9f0c007f63a47c SHA1 cc75aba705e9fb4a6f6c842b0145c2eaff0b5673 SHA256 cec7d9021ca1aff4c4c7014a7be9e82507bf3e051c9a643e2d0cec6cfbe67d46 AUX libaio-0.3.15-CFLAGS.patch 325 RMD160 9078e04806e561ad2130a085127b647c84470022 SHA1 16295600f09baffef4f0557ce62730292833d364 SHA256 c578b213f5c530e0ced95dd0b56b93f024345b9f304b5b6c9171dcf036b4ccfe AUX libaio-0.3.15-more-arches.patch 1649 RMD160 b8cdb436cbc3889698a8828b4055a23b42c68bf4 SHA1 f84ff65c2bac58b8dd3d408155d5df54fc784d3b SHA256 70fcfa6f223573b9c66042f340295f8e912a3163c6b204db55607b2d9c9560f0 AUX libaio-0.3.15-no-exec-stack.patch 316 RMD160 c72e2d3289b2b117fe2ccadabb61e30ef7c422f3 SHA1 99cbf006f46e299ac7b1bf30f0a1707421a17618 SHA256 054dbddb5432284263a62a50d45e7ef121292567b35ba2f940cdd0a605db9cc0 DIST libaio-0.3.106.tar.gz 50659 RMD160 e51f75434df05f1006a5b4a084f7fb6acf6b474d SHA1 cc1ba1a5a1b1a7c6b0567d33b5d44e9e1396a42e SHA256 89f47d77d0f660cef80efeecc1cbd194ebf4afdd3be5ab2c3584bd8a90ac44c0 +DIST libaio-0.3.107.tar.gz 51540 RMD160 b1b09ec4c277a4322917493cfe6a7e532eb66032 SHA1 769a541744448a6dfc3fd3a3e335afe7aa77ca8e SHA256 e6ad9246d7cd615d90fb3d231eec94111a36a85e9ffc759ac6bdab1a03995f27 DIST libaio-0.3.15-2.5-2.tar.bz2 21026 RMD160 a00bc37c778ec535b98b3b0d656a0dcb30d87048 SHA1 6d9afbfa537a4502f680990048fe0d3848242fb3 SHA256 6ae7cdb160811bcb19e6d09555b141dea4c8fc6edf3ad3c87ecd784f6eace795 EBUILD libaio-0.3.106-r1.ebuild 1330 RMD160 a2541dd0f8d73f0245e0754c8f53377f26f36baa SHA1 d304ce2ae0dcd99548c0717a9f95488ae8da1e13 SHA256 3131d4eedfb9f1161e08d4b11a6a3b144ed8a0e8dccbd2b6cc22db0bd5aff7c7 EBUILD libaio-0.3.106-r2.ebuild 1275 RMD160 575b3433f7d6d1144f0f4eddfc8f16504875a590 SHA1 07684e2b8d3b0276ab6bd33980d0b05991c07667 SHA256 b19ee1fd4c40eee361937a7b2275f4c4abee6cae2462b81f9423e5d501acbcb1 +EBUILD libaio-0.3.107.ebuild 1347 RMD160 f0e294255fabfcc4d02f01b908f9bea2a657e2e9 SHA1 795368dc208c43444ce770db09e68288bbcaa98f SHA256 0bec468f90577ab66c73e2746574e37fa89e3181147334c1509812babeee2191 EBUILD libaio-0.3.15-r1.ebuild 981 RMD160 03db5f4175795e74653f878b58d994152b860810 SHA1 972e2e07f408524b396b1833a7756ef1fc9aec03 SHA256 48e6e4d16090b4ca67026956ad5703ca42859a0f5d7b4f71fba196531c9d40e0 -MISC ChangeLog 4445 RMD160 db8842eac1afbfaf342ef048b8b54c524a0aa636 SHA1 eb93a170b0751692e9f8e794eac7743caab80af0 SHA256 5cfaaa6344b0d11eb0cae7ebebadbf648489b810783f262885b5f38c81e831d4 +MISC ChangeLog 4650 RMD160 00d021aae28e0ba66bb6db71da9bd1d4b6326c9c SHA1 feade09bfa96577ebd72b2bea5b33aa86473f2cf SHA256 d00a0b18ac39410d24e5d97bdc2b8e7408c56444fcde92dec5c9346c03ee0f8b MISC metadata.xml 435 RMD160 902bc4ecb946fdd64e3d1cc1ff3b70cfe14ca50c SHA1 5e182a069552e7d74bb2e7aa4fe7b024b1325c88 SHA256 10b3565f0a219e28194ec8ad33b306203310b9a05e56f4e5e20db547ac5a257d +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkkTgxUACgkQ67wieSYcaxdPDgCff8+vj6bIcn8zJqEaGZJLNTOG +J64AnilOV+cSUIL+nQQl0xVzRUZhPT3k +=1peo +-----END PGP SIGNATURE----- diff --git a/dev-libs/libaio/files/libaio-0.3.107-install-to-slash.patch b/dev-libs/libaio/files/libaio-0.3.107-install-to-slash.patch new file mode 100644 index 000000000000..c47273631f05 --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.107-install-to-slash.patch @@ -0,0 +1,31 @@ +based on fedora ptach + +--- libaio-0.3.107/src/Makefile ++++ libaio-0.3.107/src/Makefile +@@ -1,6 +1,7 @@ + prefix=/usr +-includedir=$(prefix)/include +-libdir=$(prefix)/lib ++includedir=/usr/include ++libdir=/usr/lib ++usrlibdir=$(libdir) + + ARCH := $(shell uname -m | sed -e s/i.86/i386/) + CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC +@@ -51,11 +52,11 @@ + $(CC) $(SO_CFLAGS) -Wl,--version-script=libaio.map -Wl,-soname=$(soname) -o $@ $(libaio_sobjs) $(LINK_FLAGS) + + install: $(all_targets) +- install -D -m 644 libaio.h $(includedir)/libaio.h +- install -D -m 644 libaio.a $(libdir)/libaio.a +- install -D -m 755 $(libname) $(libdir)/$(libname) +- ln -sf $(libname) $(libdir)/$(soname) +- ln -sf $(libname) $(libdir)/libaio.so ++ install -D -m 644 libaio.h $(DESTDIR)$(includedir)/libaio.h ++ install -D -m 644 libaio.a $(DESTDIR)$(usrlibdir)/libaio.a ++ install -D -m 755 $(libname) $(DESTDIR)$(libdir)/$(libname) ++ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/$(soname) ++ ln -sf $(libname) $(DESTDIR)$(usrlibdir)/libaio.so + + $(libaio_objs): libaio.h + diff --git a/dev-libs/libaio/files/libaio-0.3.107-sparc.patch b/dev-libs/libaio/files/libaio-0.3.107-sparc.patch new file mode 100644 index 000000000000..92bcd5325e86 --- /dev/null +++ b/dev-libs/libaio/files/libaio-0.3.107-sparc.patch @@ -0,0 +1,151 @@ +ripped from fedora + +--- libaio-0.3.107/src/libaio.h ++++ libaio-0.3.107/src/libaio.h +@@ -73,6 +73,14 @@ + #define PADDED(x, y) unsigned y; x + #define PADDEDptr(x, y) unsigned y; x + #define PADDEDul(x, y) unsigned y; unsigned long x ++#elif defined(__sparc__) && defined(__arch64__) /* big endian, 64 bits */ ++#define PADDED(x, y) unsigned y; x ++#define PADDEDptr(x,y) x ++#define PADDEDul(x, y) unsigned long x ++#elif defined(__sparc__) /* big endian, 32 bits */ ++#define PADDED(x, y) unsigned y; x ++#define PADDEDptr(x, y) unsigned y; x ++#define PADDEDul(x, y) unsigned y; unsigned long x + #else + #error endian? + #endif +--- libaio-0.3.107/src/syscall.h ++++ libaio-0.3.107/src/syscall.h +@@ -22,6 +22,8 @@ + #include "syscall-s390.h" + #elif defined(__alpha__) + #include "syscall-alpha.h" ++#elif defined(__sparc__) ++#include "syscall-sparc.h" + #else + #error "add syscall-arch.h" + #endif +--- libaio-0.3.107/src/syscall-sparc.h ++++ libaio-0.3.107/src/syscall-sparc.h +@@ -0,0 +1,118 @@ ++#include <errno.h> ++ ++#define __NR_io_setup 268 ++#define __NR_io_destroy 269 ++#define __NR_io_submit 270 ++#define __NR_io_cancel 271 ++#define __NR_io_getevents 272 ++ ++#define io_syscall1(type,fname,sname,type1,arg1) \ ++type fname(type1 arg1) \ ++{ \ ++long __res; \ ++register long __g1 __asm__ ("g1") = __NR_##sname; \ ++register long __o0 __asm__ ("o0") = (long)(arg1); \ ++__asm__ __volatile__ ("t 0x10\n\t" \ ++ "bcc 1f\n\t" \ ++ "mov %%o0, %0\n\t" \ ++ "sub %%g0, %%o0, %0\n\t" \ ++ "1:\n\t" \ ++ : "=r" (__res), "=&r" (__o0) \ ++ : "1" (__o0), "r" (__g1) \ ++ : "cc"); \ ++if (__res < -255 || __res >= 0) \ ++ return (type) __res; \ ++errno = -__res; \ ++return -1; \ ++} ++ ++#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ ++type fname(type1 arg1,type2 arg2) \ ++{ \ ++long __res; \ ++register long __g1 __asm__ ("g1") = __NR_##sname; \ ++register long __o0 __asm__ ("o0") = (long)(arg1); \ ++register long __o1 __asm__ ("o1") = (long)(arg2); \ ++__asm__ __volatile__ ("t 0x10\n\t" \ ++ "bcc 1f\n\t" \ ++ "mov %%o0, %0\n\t" \ ++ "sub %%g0, %%o0, %0\n\t" \ ++ "1:\n\t" \ ++ : "=r" (__res), "=&r" (__o0) \ ++ : "1" (__o0), "r" (__o1), "r" (__g1) \ ++ : "cc"); \ ++if (__res < -255 || __res >= 0) \ ++ return (type) __res; \ ++errno = -__res; \ ++return -1; \ ++} ++ ++#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ ++type fname(type1 arg1,type2 arg2,type3 arg3) \ ++{ \ ++long __res; \ ++register long __g1 __asm__ ("g1") = __NR_##sname; \ ++register long __o0 __asm__ ("o0") = (long)(arg1); \ ++register long __o1 __asm__ ("o1") = (long)(arg2); \ ++register long __o2 __asm__ ("o2") = (long)(arg3); \ ++__asm__ __volatile__ ("t 0x10\n\t" \ ++ "bcc 1f\n\t" \ ++ "mov %%o0, %0\n\t" \ ++ "sub %%g0, %%o0, %0\n\t" \ ++ "1:\n\t" \ ++ : "=r" (__res), "=&r" (__o0) \ ++ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1) \ ++ : "cc"); \ ++if (__res < -255 || __res>=0) \ ++ return (type) __res; \ ++errno = -__res; \ ++return -1; \ ++} ++ ++#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ ++type fname (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ ++{ \ ++long __res; \ ++register long __g1 __asm__ ("g1") = __NR_##sname; \ ++register long __o0 __asm__ ("o0") = (long)(arg1); \ ++register long __o1 __asm__ ("o1") = (long)(arg2); \ ++register long __o2 __asm__ ("o2") = (long)(arg3); \ ++register long __o3 __asm__ ("o3") = (long)(arg4); \ ++__asm__ __volatile__ ("t 0x10\n\t" \ ++ "bcc 1f\n\t" \ ++ "mov %%o0, %0\n\t" \ ++ "sub %%g0, %%o0, %0\n\t" \ ++ "1:\n\t" \ ++ : "=r" (__res), "=&r" (__o0) \ ++ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__g1) \ ++ : "cc"); \ ++if (__res < -255 || __res>=0) \ ++ return (type) __res; \ ++errno = -__res; \ ++return -1; \ ++} ++ ++#define io_syscall5(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ ++ type5,arg5) \ ++type fname (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ ++{ \ ++long __res; \ ++register long __g1 __asm__ ("g1") = __NR_##sname; \ ++register long __o0 __asm__ ("o0") = (long)(arg1); \ ++register long __o1 __asm__ ("o1") = (long)(arg2); \ ++register long __o2 __asm__ ("o2") = (long)(arg3); \ ++register long __o3 __asm__ ("o3") = (long)(arg4); \ ++register long __o4 __asm__ ("o4") = (long)(arg5); \ ++__asm__ __volatile__ ("t 0x10\n\t" \ ++ "bcc 1f\n\t" \ ++ "mov %%o0, %0\n\t" \ ++ "sub %%g0, %%o0, %0\n\t" \ ++ "1:\n\t" \ ++ : "=r" (__res), "=&r" (__o0) \ ++ : "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__o4), "r" (__g1) \ ++ : "cc"); \ ++if (__res < -255 || __res>=0) \ ++ return (type) __res; \ ++errno = -__res; \ ++return -1; \ ++} diff --git a/dev-libs/libaio/libaio-0.3.107.ebuild b/dev-libs/libaio/libaio-0.3.107.ebuild new file mode 100644 index 000000000000..d2263b409e74 --- /dev/null +++ b/dev-libs/libaio/libaio-0.3.107.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.107.ebuild,v 1.1 2008/11/06 23:51:44 vapier Exp $ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Asynchronous input/output library that uses the kernels native interface" +HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html" +# Rip out of src rpm that Redhat uses: +# http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/ +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~x86" +IUSE="" +RESTRICT="test" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-sparc.patch + epatch "${FILESDIR}"/${P}-install-to-slash.patch + epatch "${FILESDIR}"/${PN}-0.3.106-build.patch + sed -i "/^libdir=/s:lib$:$(get_libdir):" src/Makefile +} + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_test() { + cd "${S}"/harness + mkdir testdir + emake check prefix="${S}/src" libdir="${S}/src" +} + +src_install() { + emake install DESTDIR="${D}" || die + doman man/* + dodoc ChangeLog TODO + + # remove stuff provided by man-pages now + rm "${D}"usr/share/man/man3/aio_{cancel,error,fsync,read,return,suspend,write}.* +} |