--- libaio-0.3.106.orig/src/libaio.h +++ libaio-0.3.106/src/libaio.h @@ -56,11 +56,13 @@ #define PADDED(x, y) x, y #define PADDEDptr(x, y) x #define PADDEDul(x, y) unsigned long x -#elif defined(__powerpc64__) /* big endian, 64 bits */ +#elif defined(__powerpc64__) || \ + (defined(__sparc__) && defined(__arch64__)) || \ + (defined(__hppa__) && 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(__PPC__) /* big endian, 32 bits */ +#elif defined(__PPC__) || defined(__sparc__) || defined(__hppa__) /* 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 --- libaio-0.3.106.orig/src/syscall-ppc.h +++ libaio-0.3.106/src/syscall-ppc.h @@ -10,7 +10,7 @@ * an error return status). */ -#define __syscall_nr(nr, type, name, args...) \ +#define __aio_syscall_nr(nr, type, name, args...) \ unsigned long __sc_ret, __sc_err; \ { \ register unsigned long __sc_0 __asm__ ("r0"); \ @@ -66,29 +66,29 @@ #define io_syscall1(type,fname,sname,type1,arg1) \ type fname(type1 arg1) \ { \ - __syscall_nr(1, type, sname, arg1); \ + __aio_syscall_nr(1, type, sname, arg1); \ } #define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ type fname(type1 arg1, type2 arg2) \ { \ - __syscall_nr(2, type, sname, arg1, arg2); \ + __aio_syscall_nr(2, type, sname, arg1, arg2); \ } #define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ type fname(type1 arg1, type2 arg2, type3 arg3) \ { \ - __syscall_nr(3, type, sname, arg1, arg2, arg3); \ + __aio_syscall_nr(3, type, sname, arg1, arg2, arg3); \ } #define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ { \ - __syscall_nr(4, type, sname, arg1, arg2, arg3, arg4); \ + __aio_syscall_nr(4, type, sname, arg1, arg2, arg3, arg4); \ } #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) \ { \ - __syscall_nr(5, type, sname, arg1, arg2, arg3, arg4, arg5); \ + __aio_syscall_nr(5, type, sname, arg1, arg2, arg3, arg4, arg5); \ } --- libaio-0.3.106.orig/src/syscall.h +++ libaio-0.3.106/src/syscall.h @@ -22,6 +22,12 @@ #include "syscall-s390.h" #elif defined(__alpha__) #include "syscall-alpha.h" +#elif defined(__sparc__) && defined(__arch64__) +#include "syscall-sparc64.h" +#elif defined(__sparc__) +#include "syscall-sparc.h" +#elif defined(__hppa__) +#include "syscall-parisc.h" #else #error "add syscall-arch.h" #endif --- libaio-0.3.106.orig/src/Makefile +++ libaio-0.3.106/src/Makefile @@ -3,7 +3,7 @@ libdir=$(prefix)/lib ARCH := $(shell uname -m | sed -e s/i.86/i386/) -CFLAGS := -nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 -fPIC +CFLAGS := -Wall -I. -g -fomit-frame-pointer -O2 -fPIC SO_CFLAGS=-shared $(CFLAGS) L_CFLAGS=$(CFLAGS) LINK_FLAGS= --- libaio-0.3.106.orig/src/syscall-parisc.h +++ libaio-0.3.106/src/syscall-parisc.h @@ -0,0 +1,146 @@ +/* + * Linux system call numbers. + * + * Cary Coutant says that we should just use another syscall gateway + * page to avoid clashing with the HPUX space, and I think he's right: + * it will would keep a branch out of our syscall entry path, at the + * very least. If we decide to change it later, we can ``just'' tweak + * the LINUX_GATEWAY_ADDR define at the bottom and make __NR_Linux be + * 1024 or something. Oh, and recompile libc. =) + * + * 64-bit HPUX binaries get the syscall gateway address passed in a register + * from the kernel at startup, which seems a sane strategy. + */ + +#define __NR_Linux 0 +#define __NR_io_setup (__NR_Linux + 215) +#define __NR_io_destroy (__NR_Linux + 216) +#define __NR_io_getevents (__NR_Linux + 217) +#define __NR_io_submit (__NR_Linux + 218) +#define __NR_io_cancel (__NR_Linux + 219) + +#define SYS_ify(syscall_name) __NR_##syscall_name + +/* Assume all syscalls are done from PIC code just to be + * safe. The worst case scenario is that you lose a register + * and save/restore r19 across the syscall. */ +#define PIC + +/* Definition taken from glibc 2.3.3 + * sysdeps/unix/sysv/linux/hppa/sysdep.h + */ + +#ifdef PIC +/* WARNING: CANNOT BE USED IN A NOP! */ +# define K_STW_ASM_PIC " copy %%r19, %%r4\n" +# define K_LDW_ASM_PIC " copy %%r4, %%r19\n" +# define K_USING_GR4 "%r4", +#else +# define K_STW_ASM_PIC " \n" +# define K_LDW_ASM_PIC " \n" +# define K_USING_GR4 +#endif + +/* GCC has to be warned that a syscall may clobber all the ABI + registers listed as "caller-saves", see page 8, Table 2 + in section 2.2.6 of the PA-RISC RUN-TIME architecture + document. However! r28 is the result and will conflict with + the clobber list so it is left out. Also the input arguments + registers r20 -> r26 will conflict with the list so they + are treated specially. Although r19 is clobbered by the syscall + we cannot say this because it would violate ABI, thus we say + r4 is clobbered and use that register to save/restore r19 + across the syscall. */ + +#define K_CALL_CLOB_REGS "%r1", "%r2", K_USING_GR4 \ + "%r20", "%r29", "%r31" + +#undef K_INLINE_SYSCALL +#define K_INLINE_SYSCALL(name, nr, args...) ({ \ + long __sys_res; \ + { \ + register unsigned long __res __asm__("r28"); \ + K_LOAD_ARGS_##nr(args) \ + /* FIXME: HACK stw/ldw r19 around syscall */ \ + __asm__ volatile( \ + K_STW_ASM_PIC \ + " ble 0x100(%%sr2, %%r0)\n" \ + " ldi %1, %%r20\n" \ + K_LDW_ASM_PIC \ + : "=r" (__res) \ + : "i" (SYS_ify(name)) K_ASM_ARGS_##nr \ + : "memory", K_CALL_CLOB_REGS K_CLOB_ARGS_##nr \ + ); \ + __sys_res = (long)__res; \ + } \ + __sys_res; \ +}) + +#define K_LOAD_ARGS_0() +#define K_LOAD_ARGS_1(r26) \ + register unsigned long __r26 __asm__("r26") = (unsigned long)(r26); \ + K_LOAD_ARGS_0() +#define K_LOAD_ARGS_2(r26,r25) \ + register unsigned long __r25 __asm__("r25") = (unsigned long)(r25); \ + K_LOAD_ARGS_1(r26) +#define K_LOAD_ARGS_3(r26,r25,r24) \ + register unsigned long __r24 __asm__("r24") = (unsigned long)(r24); \ + K_LOAD_ARGS_2(r26,r25) +#define K_LOAD_ARGS_4(r26,r25,r24,r23) \ + register unsigned long __r23 __asm__("r23") = (unsigned long)(r23); \ + K_LOAD_ARGS_3(r26,r25,r24) +#define K_LOAD_ARGS_5(r26,r25,r24,r23,r22) \ + register unsigned long __r22 __asm__("r22") = (unsigned long)(r22); \ + K_LOAD_ARGS_4(r26,r25,r24,r23) +#define K_LOAD_ARGS_6(r26,r25,r24,r23,r22,r21) \ + register unsigned long __r21 __asm__("r21") = (unsigned long)(r21); \ + K_LOAD_ARGS_5(r26,r25,r24,r23,r22) + +/* Even with zero args we use r20 for the syscall number */ +#define K_ASM_ARGS_0 +#define K_ASM_ARGS_1 K_ASM_ARGS_0, "r" (__r26) +#define K_ASM_ARGS_2 K_ASM_ARGS_1, "r" (__r25) +#define K_ASM_ARGS_3 K_ASM_ARGS_2, "r" (__r24) +#define K_ASM_ARGS_4 K_ASM_ARGS_3, "r" (__r23) +#define K_ASM_ARGS_5 K_ASM_ARGS_4, "r" (__r22) +#define K_ASM_ARGS_6 K_ASM_ARGS_5, "r" (__r21) + +/* The registers not listed as inputs but clobbered */ +#define K_CLOB_ARGS_6 +#define K_CLOB_ARGS_5 K_CLOB_ARGS_6, "%r21" +#define K_CLOB_ARGS_4 K_CLOB_ARGS_5, "%r22" +#define K_CLOB_ARGS_3 K_CLOB_ARGS_4, "%r23" +#define K_CLOB_ARGS_2 K_CLOB_ARGS_3, "%r24" +#define K_CLOB_ARGS_1 K_CLOB_ARGS_2, "%r25" +#define K_CLOB_ARGS_0 K_CLOB_ARGS_1, "%r26" + +#define io_syscall1(type,fname,sname,type1,arg1) \ +type fname(type1 arg1) \ +{ \ + return K_INLINE_SYSCALL(sname, 1, arg1); \ +} + +#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ +type fname(type1 arg1, type2 arg2) \ +{ \ + return K_INLINE_SYSCALL(sname, 2, arg1, arg2); \ +} + +#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ +type fname(type1 arg1, type2 arg2, type3 arg3) \ +{ \ + return K_INLINE_SYSCALL(sname, 3, arg1, arg2, arg3); \ +} + +#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ +type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ +{ \ + return K_INLINE_SYSCALL(sname, 4, arg1, arg2, arg3, arg4); \ +} + +#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) \ +{ \ + return K_INLINE_SYSCALL(sname, 5, arg1, arg2, arg3, arg4, arg5); \ +} + --- libaio-0.3.106.orig/src/syscall-sparc.h +++ libaio-0.3.106/src/syscall-sparc.h @@ -0,0 +1,130 @@ +/* $Id: unistd.h,v 1.74 2002/02/08 03:57:18 davem Exp $ */ + +/* + * System calls under the Sparc. + * + * Don't be scared by the ugly clobbers, it is the only way I can + * think of right now to force the arguments into fixed registers + * before the trap into the system call with gcc 'asm' statements. + * + * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) + * + * SunOS compatibility based upon preliminary work which is: + * + * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu) + */ + + +#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; \ +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; \ +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; \ +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; \ +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; \ +return -1; \ +} + --- libaio-0.3.106.orig/src/syscall-sparc64.h +++ libaio-0.3.106/src/syscall-sparc64.h @@ -0,0 +1,98 @@ +#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) \ +{ \ + unsigned long __res; \ + register unsigned long __g1 __asm__("g1") = __NR_##sname; \ + register unsigned long __o0 __asm__("o0") = (unsigned long) arg1; \ + __asm__ __volatile__("t 0x6d\n\t" \ + "sub %%g0, %%o0, %0\n\t" \ + "movcc %%xcc, %%o0, %0\n" \ + "1:" \ + : "=r" (__res), "=&r" (__o0) \ + : "1" (__o0), "r" (__g1) \ + : "cc"); \ + return (type) __res; \ +} + +#define io_syscall2(type,fname,sname,type1,arg1,type2,arg2) \ +type fname(type1 arg1, type2 arg2) \ +{ \ + unsigned long __res; \ + register unsigned long __g1 __asm__("g1") = __NR_##sname; \ + register unsigned long __o0 __asm__("o0") = (unsigned long) arg1; \ + register unsigned long __o1 __asm__("o1") = (unsigned long) arg2; \ + __asm__ __volatile__("t 0x6d\n\t" \ + "sub %%g0, %%o0, %0\n\t" \ + "movcc %%xcc, %%o0, %0\n" \ + "1:" \ + : "=r" (__res), "=&r" (__o0) \ + : "1" (__o0), "r" (__o1), "r" (__g1) \ + : "cc"); \ + return (type) __res; \ +} + +#define io_syscall3(type,fname,sname,type1,arg1,type2,arg2,type3,arg3) \ +type fname(type1 arg1, type2 arg2, type3 arg3) \ +{ \ + unsigned long __res; \ + register unsigned long __g1 __asm__("g1") = __NR_##sname; \ + register unsigned long __o0 __asm__("o0") = (unsigned long) arg1; \ + register unsigned long __o1 __asm__("o1") = (unsigned long) arg2; \ + register unsigned long __o2 __asm__("o2") = (unsigned long) arg3; \ + __asm__ __volatile__("t 0x6d\n\t" \ + "sub %%g0, %%o0, %0\n\t" \ + "movcc %%xcc, %%o0, %0\n" \ + "1:" \ + : "=r" (__res), "=&r" (__o0) \ + : "1" (__o0), "r" (__o1), "r" (__o2), \ + "r" (__g1) \ + : "cc"); \ + return (type) __res; \ +} + +#define io_syscall4(type,fname,sname,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ +type fname(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ +{ \ + unsigned long __res; \ + register unsigned long __g1 __asm__("g1") = __NR_##sname; \ + register unsigned long __o0 __asm__("o0") = (unsigned long) arg1; \ + register unsigned long __o1 __asm__("o1") = (unsigned long) arg2; \ + register unsigned long __o2 __asm__("o2") = (unsigned long) arg3; \ + register unsigned long __o3 __asm__("o3") = (unsigned long) arg4; \ + __asm__ __volatile__("t 0x6d\n\t" \ + "sub %%g0, %%o0, %0\n\t" \ + "movcc %%xcc, %%o0, %0\n" \ + "1:" \ + : "=r" (__res), "=&r" (__o0) \ + : "1" (__o0), "r" (__o1), "r" (__o2), \ + "r" (__o3), "r" (__g1) \ + : "cc"); \ + return (type) __res; \ +} + +#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) \ +{ \ + unsigned long __res; \ + register unsigned long __g1 __asm__("g1") = __NR_##sname; \ + register unsigned long __o0 __asm__("o0") = (unsigned long) arg1; \ + register unsigned long __o1 __asm__("o1") = (unsigned long) arg2; \ + register unsigned long __o2 __asm__("o2") = (unsigned long) arg3; \ + register unsigned long __o3 __asm__("o3") = (unsigned long) arg4; \ + register unsigned long __o4 __asm__("o4") = (unsigned long) arg5; \ + __asm__ __volatile__("t 0x6d\n\t" \ + "sub %%g0, %%o0, %0\n\t" \ + "movcc %%xcc, %%o0, %0\n" \ + "1:" \ + : "=r" (__res), "=&r" (__o0) \ + : "1" (__o0), "r" (__o1), "r" (__o2), \ + "r" (__o3), "r" (__o4), "r" (__g1) \ + : "cc"); \ + return (type) __res; \ +} --- libaio-0.3.106.orig/debian/libaio-dev.links +++ libaio-0.3.106/debian/libaio-dev.links @@ -0,0 +1 @@ +usr/lib/libaio.so.1 usr/lib/libaio.so --- libaio-0.3.106.orig/debian/libaio1.shlibs +++ libaio-0.3.106/debian/libaio1.shlibs @@ -0,0 +1 @@ +libaio 1 libaio1 (>= 0.3.104-1) --- libaio-0.3.106.orig/debian/changelog +++ libaio-0.3.106/debian/changelog @@ -0,0 +1,78 @@ +libaio (0.3.106-3ubuntu2) feisty; urgency=low + + * Rebuild for changes in the amd64 toolchain. + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 5 Mar 2007 01:19:47 +0000 + +libaio (0.3.106-3ubuntu1) feisty; urgency=low + + * Merge parisc support from debian sid. + * Drop all the other debian changes. + + -- Fabio M. Di Nitto Tue, 14 Nov 2006 17:33:32 -0800 + +libaio (0.3.106-0ubuntu1) edgy; urgency=low + + * New upstream release. + + -- Fabio M. Di Nitto Wed, 12 Jul 2006 10:48:45 +0200 + +libaio (0.3.104-1ubuntu6) dapper; urgency=low + + The "MOMMY MOMMY! David scares the hell out of me!" release. + + * Add support for sparc and sparc64. + + Thanks to David S. Miller for an 11KB asm patch that he + wrote/tested/smashed in LESS than 8 minutes! (including + the MTA times to deliver to my inbox.. go figure). + + -- Fabio M. Di Nitto Thu, 02 Mar 2006 09:40:20 +0100 + +libaio (0.3.104-1ubuntu5) dapper; urgency=low + + * Ship libaio1.shlibs. Thanks Kyle for noticing it! + + -- Fabio M. Di Nitto Wed, 04 Jan 2006 07:25:25 +0100 + +libaio (0.3.104-1ubuntu4) breezy; urgency=low + + * Apply patch from upstream CVS to fix FTBFS on ia64. + + -- Fabio M. Di Nitto Tue, 16 Aug 2005 13:27:56 +0200 + +libaio (0.3.104-1ubuntu3) breezy; urgency=low + + * Apply patch to syscall-ppc.h to avoid name clashing. + (Thanks to Christoph Hellwig) + + -- Fabio M. Di Nitto Tue, 16 Aug 2005 11:35:27 +0200 + +libaio (0.3.104-1ubuntu2) breezy; urgency=low + + * Switch to Architecture: any. + + -- Fabio M. Di Nitto Tue, 26 Jul 2005 05:59:06 +0200 + +libaio (0.3.104-1ubuntu1) breezy; urgency=low + + * Package cleanup: + - Bump compat to version 4. + - Split libaio in libaio1 and libaio-dev (Policy compliant). + - Make libaio1 C/R/P with libaio (Due to package renaming). + - Make libaio1 Depends: ${shlibs:Depends} + - Remove unneeded debian/debianize.patch. + - Update debian/* to reflect package split up. + - Remove debian/ leftovers. + - Do not install lintian overrides (package is lintian clean). + - Patch src/Makefile to make the library shared. + + -- Fabio M. Di Nitto Mon, 25 Jul 2005 15:10:11 +0200 + +libaio (0.3.104-1) unstable; urgency=low + + * Initial Release. + + -- William Lee Irwin III Fri, 22 Apr 2005 14:49:28 -0700 + --- libaio-0.3.106.orig/debian/rules +++ libaio-0.3.106/debian/rules @@ -0,0 +1,85 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -rf debian/tmp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs TODO + dh_installexamples + dh_install --sourcedir=debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_shlibdeps + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libaio-0.3.106.orig/debian/control +++ libaio-0.3.106/debian/control @@ -0,0 +1,32 @@ +Source: libaio +Priority: optional +Section: libs +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: William Lee Irwin III +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1 + +Package: libaio1 +Priority: optional +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libaio +Replaces: libaio +Provides: libaio +Description: kernel aio access library + This library enables userspace to use kernel asynchronous I/O system + calls, important for the performance of databases and other advanced + applications. + +Package: libaio-dev +Priority: optional +Section: libdevel +Architecture: any +Depends: libaio1 (= ${Source-Version}) +Description: kernel aio access library - development files + This library enables userspace to use kernel asynchronous I/O system + calls, important for the performance of databases and other advanced + applications. + . + This package contains the files needed for developing applications. --- libaio-0.3.106.orig/debian/libaio-dev.dirs +++ libaio-0.3.106/debian/libaio-dev.dirs @@ -0,0 +1,2 @@ +usr/include +usr/lib --- libaio-0.3.106.orig/debian/libaio1.links +++ libaio-0.3.106/debian/libaio1.links @@ -0,0 +1 @@ +usr/lib/libaio.so.1.0.1 usr/lib/libaio.so.1 --- libaio-0.3.106.orig/debian/compat +++ libaio-0.3.106/debian/compat @@ -0,0 +1 @@ +4 --- libaio-0.3.106.orig/debian/libaio-dev.install +++ libaio-0.3.106/debian/libaio-dev.install @@ -0,0 +1,2 @@ +usr/include/libaio.h +usr/lib/libaio.a --- libaio-0.3.106.orig/debian/libaio1.install +++ libaio-0.3.106/debian/libaio1.install @@ -0,0 +1 @@ +usr/lib/libaio.so.1.0.1 --- libaio-0.3.106.orig/debian/libaio1.dirs +++ libaio-0.3.106/debian/libaio1.dirs @@ -0,0 +1 @@ +usr/lib --- libaio-0.3.106.orig/debian/copyright +++ libaio-0.3.106/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by William Lee Irwin III on +Fri, 22 Apr 2005 14:49:28 -0700. + +It was downloaded from ftp://195.220.108.108/linux/fedora/core/development/SRPMS/libaio-0.3.104-2.src.rpm + +Copyright Holder: Benjamin LaHaise + +License: + +/usr/share/common-licenses/LGPL-2.1