diff --git a/srcpkgs/linux3.19-dbg b/srcpkgs/linux3.19-dbg new file mode 120000 index 0000000000..2582fb763f --- /dev/null +++ b/srcpkgs/linux3.19-dbg @@ -0,0 +1 @@ +linux3.19 \ No newline at end of file diff --git a/srcpkgs/linux3.19/files/i386-dotconfig b/srcpkgs/linux3.19/files/i386-dotconfig index ef6b454ee0..8f4a057a30 100644 --- a/srcpkgs/linux3.19/files/i386-dotconfig +++ b/srcpkgs/linux3.19/files/i386-dotconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 3.19.0-rc6 Kernel Configuration +# Linux/x86 3.19.0 Kernel Configuration # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -200,6 +200,7 @@ CONFIG_SGETMASK_SYSCALL=y CONFIG_SYSFS_SYSCALL=y # CONFIG_SYSCTL_SYSCALL is not set CONFIG_KALLSYMS=y +# CONFIG_KALLSYMS_ALL is not set CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y @@ -222,6 +223,7 @@ CONFIG_HAVE_PERF_EVENTS=y # Kernel Performance Events And Counters # CONFIG_PERF_EVENTS=y +# CONFIG_DEBUG_PERF_USE_VMALLOC is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLUB_DEBUG=y # CONFIG_COMPAT_BRK is not set @@ -234,12 +236,13 @@ CONFIG_OPROFILE=m CONFIG_OPROFILE_EVENT_MULTIPLEX=y CONFIG_HAVE_OPROFILE=y CONFIG_OPROFILE_NMI_TIMER=y -# CONFIG_KPROBES is not set +CONFIG_KPROBES=y # CONFIG_JUMP_LABEL is not set # CONFIG_UPROBES is not set # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_KRETPROBES=y CONFIG_USER_RETURN_NOTIFIER=y CONFIG_HAVE_IOREMAP_PROT=y CONFIG_HAVE_KPROBES=y @@ -303,9 +306,7 @@ CONFIG_MODULE_SIG_ALL=y # CONFIG_MODULE_SIG_SHA384 is not set CONFIG_MODULE_SIG_SHA512=y CONFIG_MODULE_SIG_HASH="sha512" -CONFIG_MODULE_COMPRESS=y -CONFIG_MODULE_COMPRESS_GZIP=y -# CONFIG_MODULE_COMPRESS_XZ is not set +# CONFIG_MODULE_COMPRESS is not set CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_LBDAF=y @@ -378,6 +379,7 @@ CONFIG_IOSF_MBI=m CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y +# CONFIG_PARAVIRT_DEBUG is not set # CONFIG_PARAVIRT_SPINLOCKS is not set CONFIG_XEN=y CONFIG_XEN_DOM0=y @@ -514,6 +516,7 @@ CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y CONFIG_CLEANCACHE=y CONFIG_FRONTSWAP=y CONFIG_CMA=y +# CONFIG_CMA_DEBUG is not set CONFIG_CMA_AREAS=7 CONFIG_ZSWAP=y CONFIG_ZPOOL=y @@ -695,6 +698,7 @@ CONFIG_PCIEASPM=y CONFIG_PCIEASPM_PERFORMANCE=y CONFIG_PCIE_PME=y CONFIG_PCI_MSI=y +# CONFIG_PCI_DEBUG is not set CONFIG_PCI_REALLOC_ENABLE_AUTO=y CONFIG_PCI_STUB=m CONFIG_XEN_PCIDEV_FRONTEND=m @@ -1189,7 +1193,14 @@ CONFIG_INET_DCCP_DIAG=m CONFIG_IP_DCCP_CCID3=y # CONFIG_IP_DCCP_CCID3_DEBUG is not set CONFIG_IP_DCCP_TFRC_LIB=y + +# +# DCCP Kernel Hacking +# +# CONFIG_IP_DCCP_DEBUG is not set +CONFIG_NET_DCCPPROBE=m CONFIG_IP_SCTP=m +CONFIG_NET_SCTPPROBE=m # CONFIG_SCTP_DBG_OBJCNT is not set # CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y @@ -1340,6 +1351,7 @@ CONFIG_NET_FLOW_LIMIT=y # Network testing # # CONFIG_NET_PKTGEN is not set +CONFIG_NET_TCPPROBE=y # CONFIG_HAMRADIO is not set # CONFIG_CAN is not set CONFIG_IRDA=m @@ -1527,6 +1539,8 @@ CONFIG_FW_LOADER_USER_HELPER=y CONFIG_WANT_DEV_COREDUMP=y CONFIG_ALLOW_DEV_COREDUMP=y CONFIG_DEV_COREDUMP=y +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set CONFIG_SYS_HYPERVISOR=y # CONFIG_GENERIC_CPU_DEVICES is not set CONFIG_GENERIC_CPU_AUTOPROBE=y @@ -1558,7 +1572,7 @@ CONFIG_MTD_AR7_PARTS=m # User Modules And Translation Layers # CONFIG_MTD_BLKDEVS=m -# CONFIG_MTD_BLOCK is not set +CONFIG_MTD_BLOCK=m # CONFIG_MTD_BLOCK_RO is not set # CONFIG_FTL is not set # CONFIG_NFTL is not set @@ -1602,7 +1616,7 @@ CONFIG_MTD_CFI_I2=y # CONFIG_MTD_DATAFLASH is not set # CONFIG_MTD_SST25L is not set # CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_PHRAM is not set +CONFIG_MTD_PHRAM=m # CONFIG_MTD_MTDRAM is not set # CONFIG_MTD_BLOCK2MTD is not set @@ -3154,6 +3168,7 @@ CONFIG_I2C_VIPERBOARD=m # CONFIG_I2C_DEBUG_ALGO is not set # CONFIG_I2C_DEBUG_BUS is not set CONFIG_SPI=y +# CONFIG_SPI_DEBUG is not set CONFIG_SPI_MASTER=y # @@ -3230,6 +3245,7 @@ CONFIG_PINCTRL=y CONFIG_PINMUX=y CONFIG_PINCONF=y CONFIG_GENERIC_PINCONF=y +# CONFIG_DEBUG_PINCTRL is not set CONFIG_PINCTRL_BAYTRAIL=y CONFIG_PINCTRL_CHERRYVIEW=m CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y @@ -3237,6 +3253,7 @@ CONFIG_GPIOLIB=y CONFIG_GPIO_DEVRES=y CONFIG_GPIO_ACPI=y CONFIG_GPIOLIB_IRQCHIP=y +# CONFIG_DEBUG_GPIO is not set CONFIG_GPIO_SYSFS=y CONFIG_GPIO_GENERIC=m CONFIG_GPIO_DA9052=m @@ -5244,6 +5261,7 @@ CONFIG_TAHVO_USB=m # CONFIG_TAHVO_USB_HOST_BY_DEFAULT is not set CONFIG_USB_ISP1301=m CONFIG_USB_GADGET=m +# CONFIG_USB_GADGET_DEBUG is not set # CONFIG_USB_GADGET_DEBUG_FILES is not set # CONFIG_USB_GADGET_DEBUG_FS is not set CONFIG_USB_GADGET_VBUS_DRAW=2 @@ -5997,11 +6015,6 @@ CONFIG_PVPANIC=m CONFIG_CHROME_PLATFORMS=y CONFIG_CHROMEOS_LAPTOP=m CONFIG_CHROMEOS_PSTORE=m - -# -# SOC (System On Chip) specific Drivers -# -# CONFIG_SOC_TI is not set CONFIG_CLKDEV_LOOKUP=y CONFIG_HAVE_CLK_PREPARE=y CONFIG_COMMON_CLK=y @@ -6051,6 +6064,7 @@ CONFIG_STE_MODEM_RPROC=m # # SOC (System On Chip) specific Drivers # +# CONFIG_SOC_TI is not set CONFIG_PM_DEVFREQ=y # @@ -6523,6 +6537,7 @@ CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3=y CONFIG_NFSD_V3_ACL=y CONFIG_NFSD_V4=y +# CONFIG_NFSD_FAULT_INJECTION is not set CONFIG_GRACE_PERIOD=m CONFIG_LOCKD=m CONFIG_LOCKD_V4=y @@ -6632,56 +6647,106 @@ CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_PRINTK_TIME=y CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 +# CONFIG_BOOT_PRINTK_DELAY is not set CONFIG_DYNAMIC_DEBUG=y # # Compile-time checks and compiler options # +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO_REDUCED is not set +# CONFIG_DEBUG_INFO_SPLIT is not set +# CONFIG_DEBUG_INFO_DWARF4 is not set # CONFIG_ENABLE_WARN_DEPRECATED is not set # CONFIG_ENABLE_MUST_CHECK is not set CONFIG_FRAME_WARN=1024 CONFIG_STRIP_ASM_SYMS=y +# CONFIG_READABLE_ASM is not set # CONFIG_UNUSED_SYMBOLS is not set +# CONFIG_PAGE_OWNER is not set CONFIG_DEBUG_FS=y # CONFIG_HEADERS_CHECK is not set # CONFIG_DEBUG_SECTION_MISMATCH is not set CONFIG_ARCH_WANT_FRAME_POINTERS=y # CONFIG_FRAME_POINTER is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set CONFIG_MAGIC_SYSRQ=y CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1 -# CONFIG_DEBUG_KERNEL is not set +CONFIG_DEBUG_KERNEL=y # # Memory Debugging # # CONFIG_PAGE_EXTENSION is not set +# CONFIG_DEBUG_PAGEALLOC is not set +# CONFIG_DEBUG_OBJECTS is not set # CONFIG_SLUB_DEBUG_ON is not set # CONFIG_SLUB_STATS is not set CONFIG_HAVE_DEBUG_KMEMLEAK=y +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_VIRTUAL is not set CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_DEBUG_PER_CPU_MAPS is not set +# CONFIG_DEBUG_HIGHMEM is not set CONFIG_HAVE_DEBUG_STACKOVERFLOW=y +# CONFIG_DEBUG_STACKOVERFLOW is not set CONFIG_HAVE_ARCH_KMEMCHECK=y +# CONFIG_KMEMCHECK is not set +# CONFIG_DEBUG_SHIRQ is not set # # Debug Lockups and Hangs # +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_DETECT_HUNG_TASK is not set # CONFIG_PANIC_ON_OOPS is not set CONFIG_PANIC_ON_OOPS_VALUE=0 CONFIG_PANIC_TIMEOUT=0 +# CONFIG_SCHED_DEBUG is not set +# CONFIG_SCHEDSTATS is not set +# CONFIG_SCHED_STACK_END_CHECK is not set +# CONFIG_TIMER_STATS is not set +# CONFIG_DEBUG_PREEMPT is not set # # Lock Debugging (spinlocks, mutexes, etc...) # -# CONFIG_STACKTRACE is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_LOCK_TORTURE_TEST is not set +CONFIG_STACKTRACE=y +# CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y +# CONFIG_DEBUG_LIST is not set +# CONFIG_DEBUG_PI_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set # # RCU Debugging # # CONFIG_SPARSE_RCU_POINTER is not set # CONFIG_TORTURE_TEST is not set +# CONFIG_RCU_TORTURE_TEST is not set CONFIG_RCU_CPU_STALL_TIMEOUT=60 +# CONFIG_RCU_CPU_STALL_INFO is not set +# CONFIG_RCU_TRACE is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_NOTIFIER_ERROR_INJECTION is not set +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y +# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set CONFIG_USER_STACKTRACE_SUPPORT=y CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y @@ -6701,6 +6766,12 @@ CONFIG_TRACING_SUPPORT=y # Runtime Testing # CONFIG_LKDTM=m +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_KPROBES_SANITY_TEST is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_RBTREE_TEST is not set +# CONFIG_INTERVAL_TREE_TEST is not set +# CONFIG_PERCPU_TEST is not set # CONFIG_ATOMIC64_SELFTEST is not set CONFIG_ASYNC_RAID6_TEST=m CONFIG_TEST_STRING_HELPERS=m @@ -6715,15 +6786,21 @@ CONFIG_TEST_KSTRTOX=m # CONFIG_TEST_UDELAY is not set # CONFIG_SAMPLES is not set CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set CONFIG_STRICT_DEVMEM=y CONFIG_X86_VERBOSE_BOOTUP=y CONFIG_EARLY_PRINTK=y # CONFIG_EARLY_PRINTK_DBGP is not set CONFIG_EARLY_PRINTK_EFI=y +# CONFIG_X86_PTDUMP is not set +# CONFIG_DEBUG_RODATA is not set CONFIG_DEBUG_SET_MODULE_RONX=y +# CONFIG_DEBUG_NX_TEST is not set CONFIG_DOUBLEFAULT=y +# CONFIG_DEBUG_TLBFLUSH is not set # CONFIG_IOMMU_STRESS is not set CONFIG_HAVE_MMIOTRACE_SUPPORT=y +# CONFIG_X86_DECODER_SELFTEST is not set CONFIG_IO_DELAY_TYPE_0X80=0 CONFIG_IO_DELAY_TYPE_0XED=1 CONFIG_IO_DELAY_TYPE_UDELAY=2 @@ -6733,7 +6810,11 @@ CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_UDELAY is not set # CONFIG_IO_DELAY_NONE is not set CONFIG_DEFAULT_IO_DELAY_TYPE=0 +# CONFIG_DEBUG_BOOT_PARAMS is not set +# CONFIG_CPA_DEBUG is not set # CONFIG_OPTIMIZE_INLINING is not set +# CONFIG_DEBUG_NMI_SELFTEST is not set +# CONFIG_X86_DEBUG_STATIC_CPU_HAS is not set # # Security options diff --git a/srcpkgs/linux3.19/files/mv-debug b/srcpkgs/linux3.19/files/mv-debug new file mode 100755 index 0000000000..542bab5d88 --- /dev/null +++ b/srcpkgs/linux3.19/files/mv-debug @@ -0,0 +1,7 @@ +#!/bin/sh +mod=$1 +mkdir -p usr/lib/debug/${mod%/*} +$OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod +$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod +$STRIP --strip-debug $mod +gzip -9 $mod diff --git a/srcpkgs/linux3.19/files/x86_64-dotconfig b/srcpkgs/linux3.19/files/x86_64-dotconfig index 153613327f..c48ebf9427 100644 --- a/srcpkgs/linux3.19/files/x86_64-dotconfig +++ b/srcpkgs/linux3.19/files/x86_64-dotconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 3.19.0-rc6 Kernel Configuration +# Linux/x86 3.19.0 Kernel Configuration # CONFIG_64BIT=y CONFIG_X86_64=y @@ -322,9 +322,7 @@ CONFIG_MODULE_SIG_ALL=y # CONFIG_MODULE_SIG_SHA384 is not set CONFIG_MODULE_SIG_SHA512=y CONFIG_MODULE_SIG_HASH="sha512" -CONFIG_MODULE_COMPRESS=y -CONFIG_MODULE_COMPRESS_GZIP=y -# CONFIG_MODULE_COMPRESS_XZ is not set +# CONFIG_MODULE_COMPRESS is not set CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y CONFIG_BLK_DEV_BSG=y @@ -1199,9 +1197,9 @@ CONFIG_IP_DCCP_TFRC_LIB=y # DCCP Kernel Hacking # # CONFIG_IP_DCCP_DEBUG is not set -# CONFIG_NET_DCCPPROBE is not set +CONFIG_NET_DCCPPROBE=m CONFIG_IP_SCTP=m -# CONFIG_NET_SCTPPROBE is not set +CONFIG_NET_SCTPPROBE=m # CONFIG_SCTP_DBG_OBJCNT is not set # CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1=y @@ -1353,7 +1351,7 @@ CONFIG_NET_FLOW_LIMIT=y # Network testing # # CONFIG_NET_PKTGEN is not set -# CONFIG_NET_TCPPROBE is not set +CONFIG_NET_TCPPROBE=m # CONFIG_NET_DROP_MONITOR is not set # CONFIG_HAMRADIO is not set # CONFIG_CAN is not set @@ -1575,7 +1573,7 @@ CONFIG_MTD_AR7_PARTS=m # User Modules And Translation Layers # CONFIG_MTD_BLKDEVS=m -# CONFIG_MTD_BLOCK is not set +CONFIG_MTD_BLOCK=m # CONFIG_MTD_BLOCK_RO is not set # CONFIG_FTL is not set # CONFIG_NFTL is not set @@ -1619,7 +1617,7 @@ CONFIG_MTD_CFI_I2=y # CONFIG_MTD_DATAFLASH is not set # CONFIG_MTD_SST25L is not set # CONFIG_MTD_SLRAM is not set -# CONFIG_MTD_PHRAM is not set +CONFIG_MTD_PHRAM=m # CONFIG_MTD_MTDRAM is not set # CONFIG_MTD_BLOCK2MTD is not set @@ -3141,7 +3139,7 @@ CONFIG_I2C_SIMTEC=m # External I2C/SMBus adapter drivers # CONFIG_I2C_DIOLAN_U2C=m -CONFIG_I2C_DLN2=m +# CONFIG_I2C_DLN2 is not set CONFIG_I2C_PARPORT=m CONFIG_I2C_PARPORT_LIGHT=m CONFIG_I2C_ROBOTFUZZ_OSIF=m @@ -5979,11 +5977,6 @@ CONFIG_PVPANIC=m CONFIG_CHROME_PLATFORMS=y CONFIG_CHROMEOS_LAPTOP=m CONFIG_CHROMEOS_PSTORE=m - -# -# SOC (System On Chip) specific Drivers -# -# CONFIG_SOC_TI is not set CONFIG_CLKDEV_LOOKUP=y CONFIG_HAVE_CLK_PREPARE=y CONFIG_COMMON_CLK=y @@ -6036,6 +6029,7 @@ CONFIG_STE_MODEM_RPROC=m # # SOC (System On Chip) specific Drivers # +# CONFIG_SOC_TI is not set CONFIG_PM_DEVFREQ=y # @@ -6626,7 +6620,10 @@ CONFIG_DYNAMIC_DEBUG=y # # Compile-time checks and compiler options # -# CONFIG_DEBUG_INFO is not set +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO_REDUCED is not set +# CONFIG_DEBUG_INFO_SPLIT is not set +# CONFIG_DEBUG_INFO_DWARF4 is not set # CONFIG_ENABLE_WARN_DEPRECATED is not set # CONFIG_ENABLE_MUST_CHECK is not set CONFIG_FRAME_WARN=1024 diff --git a/srcpkgs/linux3.19/template b/srcpkgs/linux3.19/template index d65ff84196..8bd456bb8f 100644 --- a/srcpkgs/linux3.19/template +++ b/srcpkgs/linux3.19/template @@ -1,23 +1,24 @@ # Template file for 'linux3.19' # pkgname=linux3.19 -_distver=3.19.0 -_patchver=rc7 -version=${_distver}${_patchver} +version=3.19.0 revision=1 -wrksrc="linux-${_distver%.*}-${_patchver}" +wrksrc="linux-${version%.*}" maintainer="Juan RP " homepage="http://www.kernel.org" license="GPL-2" short_desc="The Linux kernel and modules (${version%.*} series)" -distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-${_distver%.*}-${_patchver}.tar.xz" -checksum=3de13b01c7f0421e4949a9a9ff48f982b33e87d0fde7998f08bd6dbf9e95fd00 +distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/linux-${version%.*}.tar.xz" +checksum=be42511fe5321012bb4a2009167ce56a9e5fe362b4af43e8c371b3666859806c +nodebug=yes nostrip=yes noverifyrdeps=yes +noshlibprovides=yes preserve=yes + only_for_archs="i686 i686-musl x86_64 x86_64-musl" -makedepends="bc perl kmod>=11_2 libressl-openssl" +makedepends="bc perl kmod libressl-openssl" triggers="kernel-hooks" _kernver="${version}_${revision}" @@ -57,14 +58,6 @@ do_configure() { fi # Always use our revision to CONFIG_LOCALVERSION to match our pkg version. sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config - - # XXX disable -fstack-protector-strong with musl; remove this if gcc>=4.9 - # is supported with musl. - case "$XBPS_TARGET_MACHINE" in - *-musl) - sed -i -e 's|\(CONFIG_CC_STACKPROTECTOR_STRONG\).*|# \1 is not set|' .config - ;; - esac } do_build() { # Override EXTRAVERSION because we can't have dashes in kernel name @@ -204,6 +197,15 @@ do_install() { rm -rf ${hdrdest}/arch/${arch} done + # Extract debugging symbols + msg_normal "$pkgver: extracting debug info, please wait...\n" + install -Dm644 vmlinux ${DESTDIR}/usr/lib/debug/boot/vmlinux-${_kernver} + ( + cd ${DESTDIR} + export DESTDIR + find ./ -name '*.ko' -print0 | \ + xargs -0r -n1 -P ${XBPS_MAKEJOBS} ${FILESDIR}/mv-debug + ) # ... and run depmod again. depmod -b ${DESTDIR}/usr -F System.map ${_kernver} } @@ -212,9 +214,21 @@ linux3.19-headers_package() { preserve=yes nostrip=yes noverifyrdeps=yes + noshlibprovides=yes short_desc+=" - source headers for 3rd party modules" pkg_install() { vmove usr/src vmove usr/lib/modules/${_kernver}/build } } +linux3.19-dbg_package() { + preserve=yes + nostrip=yes + noverifyrdeps=yes + noshlibprovides=yes + repository=debug + short_dest+=" - debugging symbols" + pkg_install() { + vmove usr/lib/debug + } +} diff --git a/srcpkgs/ngetty/files/Conf b/srcpkgs/ngetty/files/Conf new file mode 100644 index 0000000000..1e13e86dd5 --- /dev/null +++ b/srcpkgs/ngetty/files/Conf @@ -0,0 +1,5 @@ +# options format: +# [ttyX]=option[=value] +#=debug +=environ=,TERM=linux +tty1=noclear-first=/run/.ngetty-noclear-tty1 diff --git a/srcpkgs/ngetty/files/ngetty/run b/srcpkgs/ngetty/files/ngetty/run new file mode 100755 index 0000000000..58e4338c34 --- /dev/null +++ b/srcpkgs/ngetty/files/ngetty/run @@ -0,0 +1,3 @@ +#!/bin/sh +export TERM=linux +exec ngetty tty1 tty2 tty3 tty4 tty5 tty6 diff --git a/srcpkgs/ngetty/template b/srcpkgs/ngetty/template new file mode 100644 index 0000000000..02ad50b7b8 --- /dev/null +++ b/srcpkgs/ngetty/template @@ -0,0 +1,39 @@ +# Template file for 'ngetty' +pkgname=ngetty +version=1.1 +revision=2 +short_desc="Daemon for virtual console terminals" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://riemann.fmi.uni-sofia.bg/ngetty/" +distfiles="http://riemann.fmi.uni-sofia.bg/ngetty/${pkgname}-${version}.tar.gz" +checksum=15a0649b552aa47eeb80c7cc57ec6f562a89e271b14386838fbdb90244c546b0 + +build_options="static" + +do_build() { + make CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" opts_defs.h + cp opts_defs.h opts_defs.h.save + cp opts__defs.h opts__defs.h.save + make clean + cp opts_defs.h.save opts_defs.h + cp opts__defs.h.save opts__defs.h + sed -i 's/opts_defs.h: opts_make/opts_defs.h:/' Makefile + + sed -i '/NGETTY_HELPER/s/sbin/bin/' lib.h + + cp ${FILESDIR}/Conf . + + if [ "$build_option_static" ]; then + LDFLAGS+=" -static" + fi + + make CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" STR=: +} + +do_install() { + make install sbin_prefix=${DESTDIR}/usr/bin DESTDIR=${DESTDIR} + vsconf sample.Conf + rm ${DESTDIR}/etc/ngetty/sample.Conf + vsv ngetty +} diff --git a/srcpkgs/qt5/patches/kdebug-329174.patch b/srcpkgs/qt5/patches/kdebug-329174.patch new file mode 100644 index 0000000000..5c19c4b5be --- /dev/null +++ b/srcpkgs/qt5/patches/kdebug-329174.patch @@ -0,0 +1,39 @@ +From 6a7ee92b3958e3a3ebc16be15f8bd34217ec7bd2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= +Date: Wed, 10 Dec 2014 07:27:23 +0100 +Subject: [PATCH] Handle SelectionClientClose in QXcbClipboard +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +QXcbClipboard listens for subtype SelectionClientClose of Xfixes +SelectionNotify event, but doesn't handle it. When the client holding +the clipboard selection closes the Clipboard becomes empty and thus the +change should be emitted. + +This fixes downstream KDE Bug #329174. + +Change-Id: I19fb8cfd7bd3b249c0bc6ca2a724a9aeeb05ac7e +Reviewed-by: Jørgen Lind +Reviewed-by: Aleix Pol Gonzalez +--- + src/plugins/platforms/xcb/qxcbclipboard.cpp | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/src/plugins/platforms/xcb/qxcbclipboard.cpp b/src/plugins/platforms/xcb/qxcbclipboard.cpp +index 8b3893e..f56a29d 100644 +--- qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp ++++ qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp +@@ -742,7 +742,8 @@ void QXcbClipboard::handleXFixesSelectionRequest(xcb_xfixes_selection_notify_eve + m_xClipboard[mode]->reset(); + } + emitChanged(mode); +- } ++ } else if (event->subtype == XCB_XFIXES_SELECTION_EVENT_SELECTION_CLIENT_CLOSE) ++ emitChanged(mode); + } + + +-- +1.7.1 + diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template index 30b42a678a..376ee65abc 100644 --- a/srcpkgs/qt5/template +++ b/srcpkgs/qt5/template @@ -1,7 +1,7 @@ # Template file for 'qt5' pkgname=qt5 version=5.4.0 -revision=2 +revision=3 wrksrc="qt-everywhere-opensource-src-${version}" homepage="http://qt-project.com/" short_desc="A cross-platform application and UI framework (QT5)"