diff options
43 files changed, 590 insertions, 191 deletions
diff --git a/kmod/.footprint.i686 b/kmod/.footprint.i686 new file mode 100644 index 000000000..cfd1900ca --- /dev/null +++ b/kmod/.footprint.i686 @@ -0,0 +1,44 @@ +drwxr-xr-x root/root bin/ +lrwxrwxrwx root/root bin/lsmod -> /usr/bin/kmod +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/depmod.d/ +drwxr-xr-x root/root etc/modprobe.d/ +-rw-r--r-- root/root etc/modprobe.d/blacklist-fb.conf +-rw-r--r-- root/root etc/modprobe.d/nouveau.conf +-rw-r--r-- root/root etc/modprobe.d/usb.conf +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/depmod.d/ +-rw-r--r-- root/root lib/depmod.d/search.conf +drwxr-xr-x root/root lib/modprobe.d/ +drwxr-xr-x root/root sbin/ +lrwxrwxrwx root/root sbin/depmod -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/insmod -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/modinfo -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/modprobe -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/rmmod -> ../usr/bin/kmod +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/kmod +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libkmod.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libkmod.la +lrwxrwxrwx root/root usr/lib/libkmod.so -> libkmod.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libkmod.so.2 -> libkmod.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libkmod.so.2.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libkmod.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/depmod.d.5.gz +-rw-r--r-- root/root usr/share/man/man5/modprobe.d.5.gz +-rw-r--r-- root/root usr/share/man/man5/modules.dep.5.gz +-rw-r--r-- root/root usr/share/man/man5/modules.dep.bin.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/depmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/insmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/lsmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/modinfo.8.gz +-rw-r--r-- root/root usr/share/man/man8/modprobe.8.gz +-rw-r--r-- root/root usr/share/man/man8/rmmod.8.gz diff --git a/kmod/.footprint.x86_64 b/kmod/.footprint.x86_64 new file mode 100644 index 000000000..cfd1900ca --- /dev/null +++ b/kmod/.footprint.x86_64 @@ -0,0 +1,44 @@ +drwxr-xr-x root/root bin/ +lrwxrwxrwx root/root bin/lsmod -> /usr/bin/kmod +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/depmod.d/ +drwxr-xr-x root/root etc/modprobe.d/ +-rw-r--r-- root/root etc/modprobe.d/blacklist-fb.conf +-rw-r--r-- root/root etc/modprobe.d/nouveau.conf +-rw-r--r-- root/root etc/modprobe.d/usb.conf +drwxr-xr-x root/root lib/ +drwxr-xr-x root/root lib/depmod.d/ +-rw-r--r-- root/root lib/depmod.d/search.conf +drwxr-xr-x root/root lib/modprobe.d/ +drwxr-xr-x root/root sbin/ +lrwxrwxrwx root/root sbin/depmod -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/insmod -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/modinfo -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/modprobe -> ../usr/bin/kmod +lrwxrwxrwx root/root sbin/rmmod -> ../usr/bin/kmod +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/kmod +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libkmod.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libkmod.la +lrwxrwxrwx root/root usr/lib/libkmod.so -> libkmod.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libkmod.so.2 -> libkmod.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libkmod.so.2.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libkmod.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/depmod.d.5.gz +-rw-r--r-- root/root usr/share/man/man5/modprobe.d.5.gz +-rw-r--r-- root/root usr/share/man/man5/modules.dep.5.gz +-rw-r--r-- root/root usr/share/man/man5/modules.dep.bin.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/depmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/insmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/lsmod.8.gz +-rw-r--r-- root/root usr/share/man/man8/modinfo.8.gz +-rw-r--r-- root/root usr/share/man/man8/modprobe.8.gz +-rw-r--r-- root/root usr/share/man/man8/rmmod.8.gz diff --git a/module-init-tools/.md5sum.i686 b/kmod/.md5sum.i686 index 78597b9c1..8dbf3f244 100644 --- a/module-init-tools/.md5sum.i686 +++ b/kmod/.md5sum.i686 @@ -1,5 +1,5 @@ 7eac77556a1edc257b128e257f9aae57 blacklist-fb.conf -9b4b6f3a50e9d352bba107488c053cd2 modprobe.conf -dc575e7df00d9f745bf23b32f927b7a6 module-init-tools-3.13.tar.bz2 +4b8cbcbc54b9029c99fd730e257d4436 depmod-search.conf +b271c2ec54aba1c67bda63c8579d8c15 kmod-5.tar.xz cddff2da6f6e96b8a48943c8ce62a238 nouveau.conf 2249d7af8f86efc097c30b788667a4bd usb.conf diff --git a/module-init-tools/.md5sum.x86_64 b/kmod/.md5sum.x86_64 index 78597b9c1..8dbf3f244 100644 --- a/module-init-tools/.md5sum.x86_64 +++ b/kmod/.md5sum.x86_64 @@ -1,5 +1,5 @@ 7eac77556a1edc257b128e257f9aae57 blacklist-fb.conf -9b4b6f3a50e9d352bba107488c053cd2 modprobe.conf -dc575e7df00d9f745bf23b32f927b7a6 module-init-tools-3.13.tar.bz2 +4b8cbcbc54b9029c99fd730e257d4436 depmod-search.conf +b271c2ec54aba1c67bda63c8579d8c15 kmod-5.tar.xz cddff2da6f6e96b8a48943c8ce62a238 nouveau.conf 2249d7af8f86efc097c30b788667a4bd usb.conf diff --git a/kmod/Pkgfile b/kmod/Pkgfile new file mode 100755 index 000000000..d28055758 --- /dev/null +++ b/kmod/Pkgfile @@ -0,0 +1,39 @@ +# Description: Gestion des module du kernel Linux +# URL: http://git.profusion.mobi/cgit.cgi/kmod.git +# Maintainer: Lucas De Marchi +# Packager: piernov <piernov@piernov.org> + +name=kmod +version=5 +release=1 +source=(http://packages.profusion.mobi/$name/$name-$version.tar.xz + depmod-search.conf + nouveau.conf + blacklist-fb.conf + usb.conf) + +build() { + cd $name-$version + ./configure --sysconfdir=/etc \ + --with-rootprefix= \ + --with-zlib \ + --with-xz + make + make check + make DESTDIR=$PKG install + + install -dm755 $PKG/{,s}bin + install -dm755 $PKG/{etc,lib}/{depmod,modprobe}.d + + ln -s /usr/bin/kmod $PKG/bin/lsmod + for tool in {ins,rm,dep}mod mod{info,probe}; do + ln -s ../usr/bin/kmod $PKG/sbin/$tool + done + + install -Dm644 ../depmod-search.conf $PKG/lib/depmod.d/search.conf + + for i in blacklist-fb.conf usb.conf nouveau.conf + do + install -m 644 ../$i $PKG/etc/modprobe.d/$i + done +} diff --git a/module-init-tools/blacklist-fb.conf b/kmod/blacklist-fb.conf index 4b0c0508e..4b0c0508e 100644 --- a/module-init-tools/blacklist-fb.conf +++ b/kmod/blacklist-fb.conf diff --git a/kmod/depmod-search.conf b/kmod/depmod-search.conf new file mode 100644 index 000000000..3feb67b05 --- /dev/null +++ b/kmod/depmod-search.conf @@ -0,0 +1,5 @@ +# +# /etc/depmod.d/depmod.conf +# + +search updates extramodules built-in diff --git a/module-init-tools/nouveau.conf b/kmod/nouveau.conf index 31075c0dd..31075c0dd 100644 --- a/module-init-tools/nouveau.conf +++ b/kmod/nouveau.conf diff --git a/module-init-tools/usb.conf b/kmod/usb.conf index 0d597e12a..0d597e12a 100644 --- a/module-init-tools/usb.conf +++ b/kmod/usb.conf diff --git a/libgl/.footprint.i686 b/libgl/.footprint.i686 index d72d31ab2..40dcdf347 100644 --- a/libgl/.footprint.i686 +++ b/libgl/.footprint.i686 @@ -5,5 +5,5 @@ drwxr-xr-x root/root usr/lib/X11/modules/ drwxr-xr-x root/root usr/lib/X11/modules/extensions/ lrwxrwxrwx root/root usr/lib/X11/modules/extensions/libglx.so -> libglx.xorg lrwxrwxrwx root/root usr/lib/libGL.so -> libGL.so.1 -lrwxrwxrwx root/root usr/lib/libGL.so.1 -> libGL.so.1.5.071100 --rwxr-xr-x root/root usr/lib/libGL.so.1.5.071100 +lrwxrwxrwx root/root usr/lib/libGL.so.1 -> libGL.so.1.2 +-rwxr-xr-x root/root usr/lib/libGL.so.1.2 diff --git a/libgl/.footprint.x86_64 b/libgl/.footprint.x86_64 index d72d31ab2..40dcdf347 100644 --- a/libgl/.footprint.x86_64 +++ b/libgl/.footprint.x86_64 @@ -5,5 +5,5 @@ drwxr-xr-x root/root usr/lib/X11/modules/ drwxr-xr-x root/root usr/lib/X11/modules/extensions/ lrwxrwxrwx root/root usr/lib/X11/modules/extensions/libglx.so -> libglx.xorg lrwxrwxrwx root/root usr/lib/libGL.so -> libGL.so.1 -lrwxrwxrwx root/root usr/lib/libGL.so.1 -> libGL.so.1.5.071100 --rwxr-xr-x root/root usr/lib/libGL.so.1.5.071100 +lrwxrwxrwx root/root usr/lib/libGL.so.1 -> libGL.so.1.2 +-rwxr-xr-x root/root usr/lib/libGL.so.1.2 diff --git a/libgl/.md5sum.i686 b/libgl/.md5sum.i686 index 4c6a96c2f..2b3937ced 100644 --- a/libgl/.md5sum.i686 +++ b/libgl/.md5sum.i686 @@ -1 +1,2 @@ -ff03aca82d0560009a076a87c888cf13 MesaLib-7.11.tar.bz2 +0837c52698fe3252369c3fdb5195afcc MesaLib-7.11.2.tar.bz2 +0c0b99f744547cd9ed72d5846dc3a7d9 llvm3.0.patch diff --git a/libgl/.md5sum.x86_64 b/libgl/.md5sum.x86_64 index 4c6a96c2f..2b3937ced 100644 --- a/libgl/.md5sum.x86_64 +++ b/libgl/.md5sum.x86_64 @@ -1 +1,2 @@ -ff03aca82d0560009a076a87c888cf13 MesaLib-7.11.tar.bz2 +0837c52698fe3252369c3fdb5195afcc MesaLib-7.11.2.tar.bz2 +0c0b99f744547cd9ed72d5846dc3a7d9 llvm3.0.patch diff --git a/libgl/Pkgfile b/libgl/Pkgfile index 8c9413898..ef2401a8c 100644 --- a/libgl/Pkgfile +++ b/libgl/Pkgfile @@ -1,27 +1,47 @@ -# Description: Librairie libre 3D de Mesa -# URL: http://mesa3d.sourceforge.net +# Description: Bibliothèque graphique 3D Mesa +# URL: http://www.mesa3d.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: talloc, llvm, expat, libdrm, xorg-makedepend, xorg-libx11, xorg-libxext, xorg-libxxf86vm, xorg-libxt, xorg-libxdamage -# Run on: expat,libdrm,xorg-makedepend,xorg-libx11,xorg-libxext,xorg-libxxf86vm,xorg-libxt,xorg-libxdamage +# Depends on: talloc, expat, libdrm, xorg-makedepend, xorg-glproto, xorg-xextproto, xorg-dri2proto, xorg-libx11, xorg-libxext, xorg-libxxf86vm, xorg-libxt, xorg-libxdamage, xorg-libxmu, xorg-libxi, llvm +# Run on: talloc,expat,libdrm,xorg-makedepend,xorg-libx11,xorg-libxext,xorg-libxxf86vm,xorg-libxt,xorg-libxdamage,xorg-libxmu,xorg-libxi name=libgl -version=7.11 +version=7.11.2 release=1 -source=(ftp://ftp.freedesktop.org/pub/mesa/7.11/MesaLib-$version.tar.bz2) -build() -{ +source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2 + llvm3.0.patch) + +build() { cd Mesa-$version + + patch -p1 < ../llvm3.0.patch + + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $SRC -name '*.py') + sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" $SRC/Mesa-$version/configs/{default,autoconf.in} + sed -i -e "s|python|python2|" $SRC/Mesa-$version/src/gallium/auxiliary/Makefile + ./configure $XORG_CONFIG \ - --with-driver=xlib \ - --disable-egl \ - --disable-gallium \ - --disable-glu \ - --disable-glw \ - --without-demos + --with-driver=dri \ + --with-dri-driverdir=$XORG_PREFIX/lib/dri \ + --with-dri-drivers="i810,i915,i965,mga,mach64,nouveau,r128,r200,r300,r600,radeon,savage,sis,unichrome,tdfx,swrast" \ + --with-gallium-drivers="r300,r600,nouveau,swrast" \ + --enable-egl \ + --enable-gles1 \ + --enable-gles2 \ + --enable-openvg \ + --enable-gallium-egl \ + --enable-gallium-llvm \ + --enable-texture-float \ + --enable-glut \ + --enable-shared-glapi \ + --enable-glx-tls \ + --enable-xcb \ + --enable-shared-dricore + + # La compilation multithread casse le dricore partagé. make + install -m755 -d $PKG/$XORG_PREFIX/lib{,/X11/modules/extensions} bin/minstall lib/libGL.so* $PKG/$XORG_PREFIX/lib/ - ln -s libglx.xorg \ - $PKG/$XORG_PREFIX/lib/X11/modules/extensions/libglx.so + ln -s libglx.xorg $PKG/$XORG_PREFIX/lib/X11/modules/extensions/libglx.so } diff --git a/libgl/llvm3.0.patch b/libgl/llvm3.0.patch new file mode 100644 index 000000000..ff3e7d521 --- /dev/null +++ b/libgl/llvm3.0.patch @@ -0,0 +1,328 @@ +--- a/src/gallium/auxiliary/gallivm/lp_bld_type.c ++++ b/src/gallium/auxiliary/gallivm/lp_bld_type.c +@@ -325,8 +325,10 @@ lp_typekind_name(LLVMTypeKind t) + return "LLVMArrayTypeKind"; + case LLVMPointerTypeKind: + return "LLVMPointerTypeKind"; ++#if HAVE_LLVM < 0x0300 + case LLVMOpaqueTypeKind: + return "LLVMOpaqueTypeKind"; ++#endif + case LLVMVectorTypeKind: + return "LLVMVectorTypeKind"; + case LLVMMetadataTypeKind: +--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp 2011-10-15 08:43:58.000000000 +0800 ++++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp 2011-12-05 17:19:25.000000000 +0800 +@@ -25,19 +25,27 @@ + * + **************************************************************************/ + ++#include <stddef.h> ++ + #include <llvm-c/Core.h> + #include <llvm/Target/TargetMachine.h> +-#include <llvm/Target/TargetRegistry.h> +-#include <llvm/Target/TargetSelect.h> + #include <llvm/Target/TargetInstrInfo.h> + #include <llvm/Support/raw_ostream.h> + #include <llvm/Support/MemoryObject.h> + ++#if HAVE_LLVM >= 0x0300 ++#include <llvm/Support/TargetRegistry.h> ++#include <llvm/Support/TargetSelect.h> ++#else /* HAVE_LLVM < 0x0300 */ ++#include <llvm/Target/TargetRegistry.h> ++#include <llvm/Target/TargetSelect.h> ++#endif /* HAVE_LLVM < 0x0300 */ ++ + #if HAVE_LLVM >= 0x0209 + #include <llvm/Support/Host.h> +-#else ++#else /* HAVE_LLVM < 0x0209 */ + #include <llvm/System/Host.h> +-#endif ++#endif /* HAVE_LLVM < 0x0209 */ + + #if HAVE_LLVM >= 0x0207 + #include <llvm/MC/MCDisassembler.h> +@@ -180,7 +188,11 @@ + * Initialize all used objects. + */ + ++#if HAVE_LLVM >= 0x0301 ++ std::string Triple = sys::getDefaultTargetTriple(); ++#else + std::string Triple = sys::getHostTriple(); ++#endif + + std::string Error; + const Target *T = TargetRegistry::lookupTarget(Triple, Error); +@@ -193,14 +205,23 @@ + + InitializeAllDisassemblers(); + ++#if HAVE_LLVM >= 0x0300 ++ OwningPtr<const MCAsmInfo> AsmInfo(T->createMCAsmInfo(Triple)); ++#else + OwningPtr<const MCAsmInfo> AsmInfo(T->createAsmInfo(Triple)); ++#endif + + if (!AsmInfo) { + debug_printf("error: no assembly info for target %s\n", Triple.c_str()); + return; + } + ++#if HAVE_LLVM >= 0x0300 ++ const MCSubtargetInfo *STI = T->createMCSubtargetInfo(Triple, sys::getHostCPUName(), ""); ++ OwningPtr<const MCDisassembler> DisAsm(T->createMCDisassembler(*STI)); ++#else + OwningPtr<const MCDisassembler> DisAsm(T->createMCDisassembler()); ++#endif + if (!DisAsm) { + debug_printf("error: no disassembler for target %s\n", Triple.c_str()); + return; +@@ -213,7 +234,11 @@ + #else + int AsmPrinterVariant = AsmInfo->getAssemblerDialect(); + #endif +-#if HAVE_LLVM >= 0x0208 ++ ++#if HAVE_LLVM >= 0x0300 ++ OwningPtr<MCInstPrinter> Printer( ++ T->createMCInstPrinter(AsmPrinterVariant, *AsmInfo, *STI)); ++#elif HAVE_LLVM >= 0x0208 + OwningPtr<MCInstPrinter> Printer( + T->createMCInstPrinter(AsmPrinterVariant, *AsmInfo)); + #else +@@ -253,7 +278,11 @@ + + if (!DisAsm->getInstruction(Inst, Size, memoryObject, + pc, +- nulls())) { ++#if HAVE_LLVM >= 0x0300 ++ nulls(), nulls())) { ++#else ++ nulls())) { ++#endif + debug_printf("invalid\n"); + pc += 1; + } +@@ -276,7 +305,9 @@ + * Print the instruction. + */ + +-#if HAVE_LLVM >= 0x208 ++#if HAVE_LLVM >= 0x0300 ++ Printer->printInst(&Inst, Out, ""); ++#elif HAVE_LLVM >= 0x208 + Printer->printInst(&Inst, Out); + #else + Printer->printInst(&Inst); +@@ -289,7 +320,11 @@ + + pc += Size; + ++#if HAVE_LLVM >= 0x0300 ++ const MCInstrDesc &TID = TII->get(Inst.getOpcode()); ++#else + const TargetInstrDesc &TID = TII->get(Inst.getOpcode()); ++#endif + + /* + * Keep track of forward jumps to a nearby address. +--- a/src/gallium/auxiliary/draw/draw_llvm.c ++++ b/src/gallium/auxiliary/draw/draw_llvm.c +@@ -96,7 +96,7 @@ draw_llvm_generate_elts(struct draw_llvm *llvm, struct draw_llvm_variant *var); + * Create LLVM type for struct draw_jit_texture + */ + static LLVMTypeRef +-create_jit_texture_type(struct gallivm_state *gallivm) ++create_jit_texture_type(struct gallivm_state *gallivm, const char *struct_name) + { + LLVMTargetDataRef target = gallivm->target; + LLVMTypeRef texture_type; +@@ -120,13 +120,21 @@ create_jit_texture_type(struct gallivm_state *gallivm) + elem_types[DRAW_JIT_TEXTURE_BORDER_COLOR] = + LLVMArrayType(LLVMFloatTypeInContext(gallivm->context), 4); + ++#if HAVE_LLVM >= 0x0300 ++ texture_type = LLVMStructCreateNamed(gallivm->context, struct_name); ++ LLVMStructSetBody(texture_type, elem_types, ++ Elements(elem_types), 0); ++#else + texture_type = LLVMStructTypeInContext(gallivm->context, elem_types, + Elements(elem_types), 0); + ++ LLVMAddTypeName(gallivm->module, struct_name, texture_type); ++ + /* Make sure the target's struct layout cache doesn't return + * stale/invalid data. + */ + LLVMInvalidateStructLayout(gallivm->target, texture_type); ++#endif + + LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, width, + target, texture_type, +@@ -176,7 +184,7 @@ create_jit_texture_type(struct gallivm_state *gallivm) + */ + static LLVMTypeRef + create_jit_context_type(struct gallivm_state *gallivm, +- LLVMTypeRef texture_type) ++ LLVMTypeRef texture_type, const char *struct_name) + { + LLVMTargetDataRef target = gallivm->target; + LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); +@@ -189,11 +197,17 @@ create_jit_context_type(struct gallivm_state *gallivm, + elem_types[3] = LLVMPointerType(float_type, 0); /* viewport */ + elem_types[4] = LLVMArrayType(texture_type, + PIPE_MAX_VERTEX_SAMPLERS); /* textures */ +- ++#if HAVE_LLVM >= 0x0300 ++ context_type = LLVMStructCreateNamed(gallivm->context, struct_name); ++ LLVMStructSetBody(context_type, elem_types, ++ Elements(elem_types), 0); ++#else + context_type = LLVMStructTypeInContext(gallivm->context, elem_types, + Elements(elem_types), 0); ++ LLVMAddTypeName(gallivm->module, struct_name, context_type); + + LLVMInvalidateStructLayout(gallivm->target, context_type); ++#endif + + LP_CHECK_MEMBER_OFFSET(struct draw_jit_context, vs_constants, + target, context_type, 0); +@@ -215,7 +229,7 @@ create_jit_context_type(struct gallivm_state *gallivm, + * Create LLVM type for struct pipe_vertex_buffer + */ + static LLVMTypeRef +-create_jit_vertex_buffer_type(struct gallivm_state *gallivm) ++create_jit_vertex_buffer_type(struct gallivm_state *gallivm, const char *struct_name) + { + LLVMTargetDataRef target = gallivm->target; + LLVMTypeRef elem_types[3]; +@@ -225,10 +239,17 @@ create_jit_vertex_buffer_type(struct gallivm_state *gallivm) + elem_types[1] = LLVMInt32TypeInContext(gallivm->context); + elem_types[2] = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); /* vs_constants */ + ++#if HAVE_LLVM >= 0x0300 ++ vb_type = LLVMStructCreateNamed(gallivm->context, struct_name); ++ LLVMStructSetBody(vb_type, elem_types, ++ Elements(elem_types), 0); ++#else + vb_type = LLVMStructTypeInContext(gallivm->context, elem_types, + Elements(elem_types), 0); ++ LLVMAddTypeName(gallivm->module, struct_name, vb_type); + + LLVMInvalidateStructLayout(gallivm->target, vb_type); ++#endif + + LP_CHECK_MEMBER_OFFSET(struct pipe_vertex_buffer, stride, + target, vb_type, 0); +@@ -258,10 +279,17 @@ create_jit_vertex_header(struct gallivm_state *gallivm, int data_elems) + elem_types[1] = LLVMArrayType(LLVMFloatTypeInContext(gallivm->context), 4); + elem_types[2] = LLVMArrayType(elem_types[1], data_elems); + ++#if HAVE_LLVM >= 0x0300 ++ vertex_header = LLVMStructCreateNamed(gallivm->context, struct_name); ++ LLVMStructSetBody(vertex_header, elem_types, ++ Elements(elem_types), 0); ++#else + vertex_header = LLVMStructTypeInContext(gallivm->context, elem_types, + Elements(elem_types), 0); ++ LLVMAddTypeName(gallivm->module, struct_name, vertex_header); + + LLVMInvalidateStructLayout(gallivm->target, vertex_header); ++#endif + + /* these are bit-fields and we can't take address of them + LP_CHECK_MEMBER_OFFSET(struct vertex_header, clipmask, +@@ -284,8 +312,6 @@ create_jit_vertex_header(struct gallivm_state *gallivm, int data_elems) + target, vertex_header, + DRAW_JIT_VERTEX_DATA); + +- LLVMAddTypeName(gallivm->module, struct_name, vertex_header); +- + return vertex_header; + } + +@@ -299,19 +325,15 @@ create_jit_types(struct draw_llvm *llvm) + struct gallivm_state *gallivm = llvm->gallivm; + LLVMTypeRef texture_type, context_type, buffer_type, vb_type; + +- texture_type = create_jit_texture_type(gallivm); +- LLVMAddTypeName(gallivm->module, "texture", texture_type); ++ texture_type = create_jit_texture_type(gallivm, "texture"); + +- context_type = create_jit_context_type(gallivm, texture_type); +- LLVMAddTypeName(gallivm->module, "draw_jit_context", context_type); ++ context_type = create_jit_context_type(gallivm, texture_type, "draw_jit_context"); + llvm->context_ptr_type = LLVMPointerType(context_type, 0); + + buffer_type = LLVMPointerType(LLVMIntTypeInContext(gallivm->context, 8), 0); +- LLVMAddTypeName(gallivm->module, "buffer", buffer_type); + llvm->buffer_ptr_type = LLVMPointerType(buffer_type, 0); + +- vb_type = create_jit_vertex_buffer_type(gallivm); +- LLVMAddTypeName(gallivm->module, "pipe_vertex_buffer", vb_type); ++ vb_type = create_jit_vertex_buffer_type(gallivm, "pipe_vertex_buffer"); + llvm->vb_ptr_type = LLVMPointerType(vb_type, 0); + } + +--- a/src/gallium/drivers/llvmpipe/lp_jit.c ++++ b/src/gallium/drivers/llvmpipe/lp_jit.c +@@ -68,10 +68,17 @@ lp_jit_create_types(struct llvmpipe_context *lp) + elem_types[LP_JIT_TEXTURE_BORDER_COLOR] = + LLVMArrayType(LLVMFloatTypeInContext(lc), 4); + ++#if HAVE_LLVM >= 0x0300 ++ texture_type = LLVMStructCreateNamed(gallivm->context, "texture"); ++ LLVMStructSetBody(texture_type, elem_types, ++ Elements(elem_types), 0); ++#else + texture_type = LLVMStructTypeInContext(lc, elem_types, + Elements(elem_types), 0); ++ LLVMAddTypeName(gallivm->module, "texture", texture_type); + + LLVMInvalidateStructLayout(gallivm->target, texture_type); ++#endif + + LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, width, + gallivm->target, texture_type, +@@ -112,8 +119,6 @@ lp_jit_create_types(struct llvmpipe_context *lp) + + LP_CHECK_STRUCT_SIZE(struct lp_jit_texture, + gallivm->target, texture_type); +- +- LLVMAddTypeName(gallivm->module, "texture", texture_type); + } + + /* struct lp_jit_context */ +@@ -129,11 +134,19 @@ lp_jit_create_types(struct llvmpipe_context *lp) + elem_types[LP_JIT_CTX_TEXTURES] = LLVMArrayType(texture_type, + PIPE_MAX_SAMPLERS); + ++#if HAVE_LLVM >= 0x0300 ++ context_type = LLVMStructCreateNamed(gallivm->context, "context"); ++ LLVMStructSetBody(context_type, elem_types, ++ Elements(elem_types), 0); ++#else + context_type = LLVMStructTypeInContext(lc, elem_types, + Elements(elem_types), 0); + + LLVMInvalidateStructLayout(gallivm->target, context_type); + ++ LLVMAddTypeName(gallivm->module, "context", context_type); ++#endif ++ + LP_CHECK_MEMBER_OFFSET(struct lp_jit_context, constants, + gallivm->target, context_type, + LP_JIT_CTX_CONSTANTS); +@@ -155,8 +168,6 @@ lp_jit_create_types(struct llvmpipe_context *lp) + LP_CHECK_STRUCT_SIZE(struct lp_jit_context, + gallivm->target, context_type); + +- LLVMAddTypeName(gallivm->module, "context", context_type); +- + lp->jit_context_ptr_type = LLVMPointerType(context_type, 0); + } + diff --git a/libjpeg/.footprint.i686 b/libjpeg/.footprint.i686 index e36f8f529..d4111ab35 100644 --- a/libjpeg/.footprint.i686 +++ b/libjpeg/.footprint.i686 @@ -13,9 +13,9 @@ drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libjpeg.a -rwxr-xr-x root/root usr/lib/libjpeg.la -lrwxrwxrwx root/root usr/lib/libjpeg.so -> libjpeg.so.8.3.0 -lrwxrwxrwx root/root usr/lib/libjpeg.so.8 -> libjpeg.so.8.3.0 --rwxr-xr-x root/root usr/lib/libjpeg.so.8.3.0 +lrwxrwxrwx root/root usr/lib/libjpeg.so -> libjpeg.so.8.4.0 +lrwxrwxrwx root/root usr/lib/libjpeg.so.8 -> libjpeg.so.8.4.0 +-rwxr-xr-x root/root usr/lib/libjpeg.so.8.4.0 drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ diff --git a/libjpeg/.footprint.x86_64 b/libjpeg/.footprint.x86_64 index e36f8f529..d4111ab35 100644 --- a/libjpeg/.footprint.x86_64 +++ b/libjpeg/.footprint.x86_64 @@ -13,9 +13,9 @@ drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/lib/ -rw-r--r-- root/root usr/lib/libjpeg.a -rwxr-xr-x root/root usr/lib/libjpeg.la -lrwxrwxrwx root/root usr/lib/libjpeg.so -> libjpeg.so.8.3.0 -lrwxrwxrwx root/root usr/lib/libjpeg.so.8 -> libjpeg.so.8.3.0 --rwxr-xr-x root/root usr/lib/libjpeg.so.8.3.0 +lrwxrwxrwx root/root usr/lib/libjpeg.so -> libjpeg.so.8.4.0 +lrwxrwxrwx root/root usr/lib/libjpeg.so.8 -> libjpeg.so.8.4.0 +-rwxr-xr-x root/root usr/lib/libjpeg.so.8.4.0 drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ diff --git a/libjpeg/.md5sum.i686 b/libjpeg/.md5sum.i686 index 26a018932..07e883dca 100644 --- a/libjpeg/.md5sum.i686 +++ b/libjpeg/.md5sum.i686 @@ -1 +1 @@ -a2c10c04f396a9ce72894beb18b4e1f9 jpegsrc.v8c.tar.gz +52654eb3b2e60c35731ea8fc87f1bd29 jpegsrc.v8d.tar.gz diff --git a/libjpeg/.md5sum.x86_64 b/libjpeg/.md5sum.x86_64 index 26a018932..07e883dca 100644 --- a/libjpeg/.md5sum.x86_64 +++ b/libjpeg/.md5sum.x86_64 @@ -1 +1 @@ -a2c10c04f396a9ce72894beb18b4e1f9 jpegsrc.v8c.tar.gz +52654eb3b2e60c35731ea8fc87f1bd29 jpegsrc.v8d.tar.gz diff --git a/libjpeg/Pkgfile b/libjpeg/Pkgfile index ebae8c0a0..b7d865fd2 100755 --- a/libjpeg/Pkgfile +++ b/libjpeg/Pkgfile @@ -4,7 +4,7 @@ # Packager: thierryn1 at hispeed dot ch name=libjpeg -version=8c +version=8d release=1 source=( http://www.ijg.org/files/jpegsrc.v${version}.tar.gz) diff --git a/libpng/.footprint.i686 b/libpng/.footprint.i686 index fd4959cbe..24d5e671c 100644 --- a/libpng/.footprint.i686 +++ b/libpng/.footprint.i686 @@ -16,9 +16,9 @@ lrwxrwxrwx root/root usr/lib/libpng.la -> libpng15.la lrwxrwxrwx root/root usr/lib/libpng.so -> libpng15.so -rw-r--r-- root/root usr/lib/libpng15.a -rwxr-xr-x root/root usr/lib/libpng15.la -lrwxrwxrwx root/root usr/lib/libpng15.so -> libpng15.so.15.1.0 -lrwxrwxrwx root/root usr/lib/libpng15.so.15 -> libpng15.so.15.1.0 --rwxr-xr-x root/root usr/lib/libpng15.so.15.1.0 +lrwxrwxrwx root/root usr/lib/libpng15.so -> libpng15.so.15.9.0 +lrwxrwxrwx root/root usr/lib/libpng15.so.15 -> libpng15.so.15.9.0 +-rwxr-xr-x root/root usr/lib/libpng15.so.15.9.0 drwxr-xr-x root/root usr/lib/pkgconfig/ lrwxrwxrwx root/root usr/lib/pkgconfig/libpng.pc -> libpng15.pc -rw-r--r-- root/root usr/lib/pkgconfig/libpng15.pc diff --git a/libpng/.footprint.x86_64 b/libpng/.footprint.x86_64 index fd4959cbe..24d5e671c 100644 --- a/libpng/.footprint.x86_64 +++ b/libpng/.footprint.x86_64 @@ -16,9 +16,9 @@ lrwxrwxrwx root/root usr/lib/libpng.la -> libpng15.la lrwxrwxrwx root/root usr/lib/libpng.so -> libpng15.so -rw-r--r-- root/root usr/lib/libpng15.a -rwxr-xr-x root/root usr/lib/libpng15.la -lrwxrwxrwx root/root usr/lib/libpng15.so -> libpng15.so.15.1.0 -lrwxrwxrwx root/root usr/lib/libpng15.so.15 -> libpng15.so.15.1.0 --rwxr-xr-x root/root usr/lib/libpng15.so.15.1.0 +lrwxrwxrwx root/root usr/lib/libpng15.so -> libpng15.so.15.9.0 +lrwxrwxrwx root/root usr/lib/libpng15.so.15 -> libpng15.so.15.9.0 +-rwxr-xr-x root/root usr/lib/libpng15.so.15.9.0 drwxr-xr-x root/root usr/lib/pkgconfig/ lrwxrwxrwx root/root usr/lib/pkgconfig/libpng.pc -> libpng15.pc -rw-r--r-- root/root usr/lib/pkgconfig/libpng15.pc diff --git a/libpng/.md5sum.i686 b/libpng/.md5sum.i686 index 636253c52..6b066e6ad 100644 --- a/libpng/.md5sum.i686 +++ b/libpng/.md5sum.i686 @@ -1,2 +1,2 @@ -d425da50c9425b31e8061b146e5df32f libpng-1.5.1-apng.patch.gz -8fdcb7c0e78d54ff0362a800cbe3bc31 libpng-1.5.1.tar.bz2 +268f7db97b292d5f14a24ea7940f6f1c libpng-1.5.9-apng.patch.gz +05d9ab3705c34954c0032b71318b678a libpng-1.5.9.tar.xz diff --git a/libpng/.md5sum.x86_64 b/libpng/.md5sum.x86_64 index 636253c52..6b066e6ad 100644 --- a/libpng/.md5sum.x86_64 +++ b/libpng/.md5sum.x86_64 @@ -1,2 +1,2 @@ -d425da50c9425b31e8061b146e5df32f libpng-1.5.1-apng.patch.gz -8fdcb7c0e78d54ff0362a800cbe3bc31 libpng-1.5.1.tar.bz2 +268f7db97b292d5f14a24ea7940f6f1c libpng-1.5.9-apng.patch.gz +05d9ab3705c34954c0032b71318b678a libpng-1.5.9.tar.xz diff --git a/libpng/Pkgfile b/libpng/Pkgfile index 2c6e86082..854b99d60 100755 --- a/libpng/Pkgfile +++ b/libpng/Pkgfile @@ -4,9 +4,9 @@ # Packager: thierryn1 at hispeed dot ch name=libpng -version=1.5.1 -release=2 -source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2 \ +version=1.5.9 +release=1 +source=(http://downloads.sourceforge.net/$name/$name-$version.tar.xz http://downloads.sourceforge.net/sourceforge/libpng-apng/$name-$version-apng.patch.gz) build() { diff --git a/module-init-tools/.footprint.i686 b/module-init-tools/.footprint.i686 deleted file mode 100644 index 732bde7c7..000000000 --- a/module-init-tools/.footprint.i686 +++ /dev/null @@ -1,31 +0,0 @@ -drwxr-xr-x root/root bin/ --rwxr-xr-x root/root bin/lsmod -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/depmod.d/ -drwxr-xr-x root/root etc/modprobe.d/ --rw-r--r-- root/root etc/modprobe.d/blacklist-fb.conf --rw-r--r-- root/root etc/modprobe.d/modprobe.conf --rw-r--r-- root/root etc/modprobe.d/nouveau.conf --rw-r--r-- root/root etc/modprobe.d/usb.conf -drwxr-xr-x root/root sbin/ --rwxr-xr-x root/root sbin/depmod --rwxr-xr-x root/root sbin/insmod --rwxr-xr-x root/root sbin/insmod.static --rwxr-xr-x root/root sbin/modinfo --rwxr-xr-x root/root sbin/modprobe --rwxr-xr-x root/root sbin/rmmod -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/man/ -drwxr-xr-x root/root usr/share/man/man5/ --rw-r--r-- root/root usr/share/man/man5/depmod.conf.5.gz --rw-r--r-- root/root usr/share/man/man5/modprobe.conf.5.gz --rw-r--r-- root/root usr/share/man/man5/modprobe.d.5.gz --rw-r--r-- root/root usr/share/man/man5/modules.dep.5.gz -drwxr-xr-x root/root usr/share/man/man8/ --rw-r--r-- root/root usr/share/man/man8/depmod.8.gz --rw-r--r-- root/root usr/share/man/man8/insmod.8.gz --rw-r--r-- root/root usr/share/man/man8/lsmod.8.gz --rw-r--r-- root/root usr/share/man/man8/modinfo.8.gz --rw-r--r-- root/root usr/share/man/man8/modprobe.8.gz --rw-r--r-- root/root usr/share/man/man8/rmmod.8.gz diff --git a/module-init-tools/.footprint.x86_64 b/module-init-tools/.footprint.x86_64 deleted file mode 100644 index 732bde7c7..000000000 --- a/module-init-tools/.footprint.x86_64 +++ /dev/null @@ -1,31 +0,0 @@ -drwxr-xr-x root/root bin/ --rwxr-xr-x root/root bin/lsmod -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/depmod.d/ -drwxr-xr-x root/root etc/modprobe.d/ --rw-r--r-- root/root etc/modprobe.d/blacklist-fb.conf --rw-r--r-- root/root etc/modprobe.d/modprobe.conf --rw-r--r-- root/root etc/modprobe.d/nouveau.conf --rw-r--r-- root/root etc/modprobe.d/usb.conf -drwxr-xr-x root/root sbin/ --rwxr-xr-x root/root sbin/depmod --rwxr-xr-x root/root sbin/insmod --rwxr-xr-x root/root sbin/insmod.static --rwxr-xr-x root/root sbin/modinfo --rwxr-xr-x root/root sbin/modprobe --rwxr-xr-x root/root sbin/rmmod -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/man/ -drwxr-xr-x root/root usr/share/man/man5/ --rw-r--r-- root/root usr/share/man/man5/depmod.conf.5.gz --rw-r--r-- root/root usr/share/man/man5/modprobe.conf.5.gz --rw-r--r-- root/root usr/share/man/man5/modprobe.d.5.gz --rw-r--r-- root/root usr/share/man/man5/modules.dep.5.gz -drwxr-xr-x root/root usr/share/man/man8/ --rw-r--r-- root/root usr/share/man/man8/depmod.8.gz --rw-r--r-- root/root usr/share/man/man8/insmod.8.gz --rw-r--r-- root/root usr/share/man/man8/lsmod.8.gz --rw-r--r-- root/root usr/share/man/man8/modinfo.8.gz --rw-r--r-- root/root usr/share/man/man8/modprobe.8.gz --rw-r--r-- root/root usr/share/man/man8/rmmod.8.gz diff --git a/module-init-tools/Pkgfile b/module-init-tools/Pkgfile deleted file mode 100755 index 298daa085..000000000 --- a/module-init-tools/Pkgfile +++ /dev/null @@ -1,31 +0,0 @@ -# Description: Modules utilitaires pour le noyau -# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules -# Maintainer: NuTyX core team -# Packager: thierryn1 at hispeed dot ch - -name=module-init-tools -version=3.13 -release=1 -source=(http://www.kernel.org/pub/linux/utils/kernel/$name/$name-$version.tar.bz2\ - nouveau.conf modprobe.conf blacklist-fb.conf usb.conf) - -build() { -cd $name-$version -echo '.so man5/modprobe.conf.5' > modprobe.d.5 -./configure -make check -make clean - -./configure --prefix=/ --enable-zlib-dynamic \ - --mandir=/usr/share/man - -make -install -d $PKG/usr/share/man -install -d $PKG/etc/{modprobe.d,depmod.d} -make DESTDIR=$PKG mandir=/usr/share/man install -rm -f $PKG/sbin/generate-modprobe.conf -for i in modprobe.conf blacklist-fb.conf usb.conf nouveau.conf -do - install -m 644 ../$i $PKG/etc/modprobe.d/$i -done -} diff --git a/module-init-tools/modprobe.conf b/module-init-tools/modprobe.conf deleted file mode 100644 index c4b610ed5..000000000 --- a/module-init-tools/modprobe.conf +++ /dev/null @@ -1,5 +0,0 @@ -# $Id: modprobe.conf,v 1.1 2007/09/27 08:34:02 install Exp $ -# Begin of /etc/modprobe.conf -options snd-intel8x0 enable=1 index=0 -install snd-pcm /sbin/modprobe -i snd-pcm; /sbin/modprobe snd-pcm-oss -alias snd-card-0 snd-intel8x0 diff --git a/sudo/.footprint.i686 b/sudo/.footprint.i686 index e3bafc13e..a9e89a216 100755 --- a/sudo/.footprint.i686 +++ b/sudo/.footprint.i686 @@ -1,4 +1,6 @@ drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/pam.d/ +-rw-r--r-- root/root etc/pam.d/sudo -r--r----- root/root etc/sudoers drwxr-x--- root/root etc/sudoers.d/ drwxr-xr-x root/root usr/ diff --git a/sudo/.footprint.x86_64 b/sudo/.footprint.x86_64 index e3bafc13e..a9e89a216 100755 --- a/sudo/.footprint.x86_64 +++ b/sudo/.footprint.x86_64 @@ -1,4 +1,6 @@ drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/pam.d/ +-rw-r--r-- root/root etc/pam.d/sudo -r--r----- root/root etc/sudoers drwxr-x--- root/root etc/sudoers.d/ drwxr-xr-x root/root usr/ diff --git a/sudo/.md5sum.i686 b/sudo/.md5sum.i686 index ecff11a77..67854831f 100644 --- a/sudo/.md5sum.i686 +++ b/sudo/.md5sum.i686 @@ -1 +1,2 @@ 6d4282a1530c541f7900fa8dfcf2a882 sudo-1.8.3p2.tar.gz +4e7ad4ec8f2fe6a40e12bcb2c0b256e3 sudo.pam diff --git a/sudo/.md5sum.x86_64 b/sudo/.md5sum.x86_64 index ecff11a77..67854831f 100644 --- a/sudo/.md5sum.x86_64 +++ b/sudo/.md5sum.x86_64 @@ -1 +1,2 @@ 6d4282a1530c541f7900fa8dfcf2a882 sudo-1.8.3p2.tar.gz +4e7ad4ec8f2fe6a40e12bcb2c0b256e3 sudo.pam diff --git a/sudo/Pkgfile b/sudo/Pkgfile index da90fed6d..c13f2e16c 100755..100644 --- a/sudo/Pkgfile +++ b/sudo/Pkgfile @@ -2,26 +2,27 @@ # URL: http://www.gratisoft.us/sudo/ # Maintainer: Todd dot Miller at courtesan dot com # Packager: tnut at nutyx dot com +# Depends on: linux-pam +# Run on: linux-pam name=sudo version=1.8.3p2 release=1 -source=(ftp://ftp.sudo.ws/pub/sudo/$name-$version.tar.gz) +source=(ftp://ftp.sudo.ws/pub/sudo/$name-$version.tar.gz + sudo.pam) build() { -cd $name-$version + cd $name-$version ./configure --prefix=/usr \ - --sbindir=/usr/sbin \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --libexecdir=/usr/lib \ - --enable-noargs-shell \ - --without-pam \ - --with-ignore-dot \ - --with-all-insults \ - --enable-shell-sets-home + --libexecdir=/usr/lib \ + --enable-noargs-shell \ + --with-env-editor \ + --with-pam \ + --with-ignore-dot \ + --with-all-insults \ + --enable-shell-sets-home make make DESTDIR=$PKG install + install -Dm644 ../sudo.pam $PKG/etc/pam.d/sudo echo "%admin ALL =(ALL) ALL" >> $PKG/etc/sudoers } - diff --git a/sudo/sudo.pam b/sudo/sudo.pam new file mode 100644 index 000000000..4e586cd22 --- /dev/null +++ b/sudo/sudo.pam @@ -0,0 +1,3 @@ +#%PAM-1.0 +auth required pam_unix.so +auth required pam_nologin.so diff --git a/sysvinit/.footprint.i686 b/sysvinit/.footprint.i686 index beb6e6f72..2e687a55b 100644 --- a/sysvinit/.footprint.i686 +++ b/sysvinit/.footprint.i686 @@ -1,5 +1,4 @@ drwxr-xr-x root/root bin/ --rwxr-xr-x root/root bin/mountpoint lrwxrwxrwx root/root bin/pidof -> /sbin/killall5 drwxr-xr-x root/root sbin/ -rwxr-xr-x root/root sbin/bootlogd @@ -27,8 +26,8 @@ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/last.1.gz -rw-r--r-- root/root usr/share/man/man1/lastb.1.gz -rw-r--r-- root/root usr/share/man/man1/mesg.1.gz --rw-r--r-- root/root usr/share/man/man1/mountpoint.1.gz -rw-r--r-- root/root usr/share/man/man1/utmpdump.1.gz +-rw-r--r-- root/root usr/share/man/man1/wall.1.gz drwxr-xr-x root/root usr/share/man/man5/ -rw-r--r-- root/root usr/share/man/man5/initscript.5.gz -rw-r--r-- root/root usr/share/man/man5/inittab.5.gz diff --git a/sysvinit/.footprint.x86_64 b/sysvinit/.footprint.x86_64 index beb6e6f72..2e687a55b 100644 --- a/sysvinit/.footprint.x86_64 +++ b/sysvinit/.footprint.x86_64 @@ -1,5 +1,4 @@ drwxr-xr-x root/root bin/ --rwxr-xr-x root/root bin/mountpoint lrwxrwxrwx root/root bin/pidof -> /sbin/killall5 drwxr-xr-x root/root sbin/ -rwxr-xr-x root/root sbin/bootlogd @@ -27,8 +26,8 @@ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/last.1.gz -rw-r--r-- root/root usr/share/man/man1/lastb.1.gz -rw-r--r-- root/root usr/share/man/man1/mesg.1.gz --rw-r--r-- root/root usr/share/man/man1/mountpoint.1.gz -rw-r--r-- root/root usr/share/man/man1/utmpdump.1.gz +-rw-r--r-- root/root usr/share/man/man1/wall.1.gz drwxr-xr-x root/root usr/share/man/man5/ -rw-r--r-- root/root usr/share/man/man5/initscript.5.gz -rw-r--r-- root/root usr/share/man/man5/inittab.5.gz diff --git a/sysvinit/Pkgfile b/sysvinit/Pkgfile index 232a4d4cc..6c9070a2a 100755 --- a/sysvinit/Pkgfile +++ b/sysvinit/Pkgfile @@ -6,17 +6,18 @@ name=sysvinit version=2.88dsf -release=1 +release=2 source=(http://ftp.twaren.net/Unix/NonGNU/sysvinit/sysvinit-$version.tar.bz2) build() { cd $name-$version -sed -i 's@Sending processes@& configured via /etc/inittab@g' \ - src/init.c -sed -i -e 's/utmpdump wall/utmpdump/' \ - -e 's/mountpoint.1 wall.1/mountpoint.1/' src/Makefile -make -C src -mkdir -p $PKG/{sbin,bin,usr/{bin,include,share/man/man{1,5,8}}} -make -C src ROOT=$PKG install + sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c + sed -i -e 's/utmpdump wall/utmpdump/' src/Makefile + make + make ROOT=$PKG install + + # mountpoint fournis par util-linux + rm $PKG/bin/mountpoint + rm $PKG/usr/share/man/man1/mountpoint.1 } diff --git a/util-linux/.footprint.i686 b/util-linux/.footprint.i686 index a983296a3..55373c575 100644 --- a/util-linux/.footprint.i686 +++ b/util-linux/.footprint.i686 @@ -5,6 +5,7 @@ drwxr-xr-x root/root bin/ -rwxr-xr-x root/root bin/lsblk -rwxr-xr-x root/root bin/more -rwsr-xr-x root/root bin/mount +-rwxr-xr-x root/root bin/mountpoint -rwsr-xr-x root/root bin/umount drwxr-xr-x root/root etc/ drwxr-xr-x root/root lib/ @@ -121,8 +122,6 @@ drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/getopt/ -rwxr-xr-x root/root usr/share/getopt/getopt-parse.bash -rwxr-xr-x root/root usr/share/getopt/getopt-parse.tcsh --rwxr-xr-x root/root usr/share/getopt/getopt-test.bash --rwxr-xr-x root/root usr/share/getopt/getopt-test.tcsh drwxr-xr-x root/root usr/share/locale/ drwxr-xr-x root/root usr/share/locale/fr/ drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ @@ -153,6 +152,7 @@ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/lscpu.1.gz -rw-r--r-- root/root usr/share/man/man1/mcookie.1.gz -rw-r--r-- root/root usr/share/man/man1/more.1.gz +-rw-r--r-- root/root usr/share/man/man1/mountpoint.1.gz -rw-r--r-- root/root usr/share/man/man1/namei.1.gz -rw-r--r-- root/root usr/share/man/man1/pg.1.gz -rw-r--r-- root/root usr/share/man/man1/readprofile.1.gz @@ -179,6 +179,7 @@ drwxr-xr-x root/root usr/share/man/man3/ -rw-r--r-- root/root usr/share/man/man3/uuid_generate.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_generate_random.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_generate_time.3.gz +-rw-r--r-- root/root usr/share/man/man3/uuid_generate_time_safe.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_is_null.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_parse.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_time.3.gz diff --git a/util-linux/.footprint.x86_64 b/util-linux/.footprint.x86_64 index 13bd97f41..e0cceaebd 100644 --- a/util-linux/.footprint.x86_64 +++ b/util-linux/.footprint.x86_64 @@ -5,6 +5,7 @@ drwxr-xr-x root/root bin/ -rwxr-xr-x root/root bin/lsblk -rwxr-xr-x root/root bin/more -rwsr-xr-x root/root bin/mount +-rwxr-xr-x root/root bin/mountpoint -rwsr-xr-x root/root bin/umount drwxr-xr-x root/root etc/ drwxr-xr-x root/root lib/ @@ -122,8 +123,6 @@ drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/getopt/ -rwxr-xr-x root/root usr/share/getopt/getopt-parse.bash -rwxr-xr-x root/root usr/share/getopt/getopt-parse.tcsh --rwxr-xr-x root/root usr/share/getopt/getopt-test.bash --rwxr-xr-x root/root usr/share/getopt/getopt-test.tcsh drwxr-xr-x root/root usr/share/locale/ drwxr-xr-x root/root usr/share/locale/fr/ drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ @@ -154,6 +153,7 @@ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/lscpu.1.gz -rw-r--r-- root/root usr/share/man/man1/mcookie.1.gz -rw-r--r-- root/root usr/share/man/man1/more.1.gz +-rw-r--r-- root/root usr/share/man/man1/mountpoint.1.gz -rw-r--r-- root/root usr/share/man/man1/namei.1.gz -rw-r--r-- root/root usr/share/man/man1/pg.1.gz -rw-r--r-- root/root usr/share/man/man1/readprofile.1.gz @@ -180,6 +180,7 @@ drwxr-xr-x root/root usr/share/man/man3/ -rw-r--r-- root/root usr/share/man/man3/uuid_generate.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_generate_random.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_generate_time.3.gz +-rw-r--r-- root/root usr/share/man/man3/uuid_generate_time_safe.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_is_null.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_parse.3.gz -rw-r--r-- root/root usr/share/man/man3/uuid_time.3.gz diff --git a/util-linux/.md5sum.i686 b/util-linux/.md5sum.i686 index d6dee7bae..a601baaca 100644 --- a/util-linux/.md5sum.i686 +++ b/util-linux/.md5sum.i686 @@ -1 +1 @@ -3eab06f05163dfa65479c44e5231932c util-linux-2.19.1.tar.bz2 +dd87a15e8d410b447e493a6f407f38c8 util-linux-2.20.1.tar.xz diff --git a/util-linux/.md5sum.x86_64 b/util-linux/.md5sum.x86_64 index d6dee7bae..a601baaca 100644 --- a/util-linux/.md5sum.x86_64 +++ b/util-linux/.md5sum.x86_64 @@ -1 +1 @@ -3eab06f05163dfa65479c44e5231932c util-linux-2.19.1.tar.bz2 +dd87a15e8d410b447e493a6f407f38c8 util-linux-2.20.1.tar.xz diff --git a/util-linux/Pkgfile b/util-linux/Pkgfile index 32fa3f7cf..c38afc10a 100755 --- a/util-linux/Pkgfile +++ b/util-linux/Pkgfile @@ -4,25 +4,29 @@ # Packager: thierryn1 at hispeed dot ch name=util-linux -version=2.19.1 +version=2.20.1 release=1 -source=(http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.19/$name-$version.tar.bz2) +source=(http://www.kernel.org/pub/linux/utils/util-linux/v${version%.*}/util-linux-$version.tar.xz) build() { -cd $name-$version -sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ - -i $(grep -rl '/etc/adjtime' .) + cd $name-$version + sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ + -i $(grep -rl '/etc/adjtime' .) -mkdir -pv $PKG/var/lib/hwclock + mkdir -pv $PKG/var/lib/hwclock -./configure --enable-arch --enable-partx --enable-write + ./configure --enable-arch \ + --enable-partx \ + --enable-write \ + --enable-ddate \ + --enable-line -make -make DESTDIR=$PKG install -rm $PKG/usr/bin/wall -rm $PKG/usr/share/man/man1/wall.1 -mkdir -p $PKG/etc -if [ -f $PKG/usr/share/info/dir ]; then - rm $PKG/usr/share/info/dir -fi + make + make DESTDIR=$PKG install + rm $PKG/usr/bin/wall + rm $PKG/usr/share/man/man1/wall.1 + mkdir -p $PKG/etc + if [ -f $PKG/usr/share/info/dir ]; then + rm $PKG/usr/share/info/dir + fi } |