mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
commit
28cd1ed30a
@ -365,6 +365,10 @@ config BR2_DEPRECATED_SINCE_2016_02
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_DEPRECATED_SINCE_2016_05
|
||||
bool
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
config BR2_ENABLE_DEBUG
|
||||
|
@ -142,6 +142,58 @@ comment "build, or run, in unpredictable ways. "
|
||||
comment "----------------------------------------------------"
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2016.05"
|
||||
|
||||
config BR2_PACKAGE_KODI_WAVPACK
|
||||
bool "wavpack"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
wavpack support was removed in favour of ffmpeg:
|
||||
https://github.com/xbmc/xbmc/commit/7916902c9e6f7a523265594f3ad7f921f93f1cd4
|
||||
|
||||
config BR2_PACKAGE_KODI_RSXS
|
||||
bool "rsxs support in Kodi was moved to an addon"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_KODI_SCREENSAVER_RSXS
|
||||
help
|
||||
rsxs support in Kodi was moved to an addon
|
||||
|
||||
config BR2_PACKAGE_KODI_GOOM
|
||||
bool "Goom support in Kodi was moved to an addon"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_KODI_VISUALISATION_GOOM
|
||||
help
|
||||
Goom support in Kodi was moved to an addon
|
||||
|
||||
config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS
|
||||
bool "systemd all extras option has been removed"
|
||||
select BR2_LEGACY
|
||||
select BR2_PACKAGE_XZ
|
||||
select BR2_PACKAGE_LIBGCRYPT
|
||||
help
|
||||
The systemd option to enable "all extras" has been
|
||||
removed. To get the same features, the libgcrypt and xz
|
||||
package should now be enabled.
|
||||
|
||||
config BR2_GCC_VERSION_4_5_X
|
||||
bool "gcc 4.5.x has been removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
The 4.5.x version of gcc has been removed. Use a newer
|
||||
version instead.
|
||||
|
||||
config BR2_PACKAGE_SQLITE_READLINE
|
||||
bool "command-line editing support was updated"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_READLINE
|
||||
select BR2_LEGACY
|
||||
help
|
||||
This option was removed in favour of the sqlite package
|
||||
deciding itself depending on the enabled packages whether
|
||||
command-line editing should be enabled, it also also takes
|
||||
libedit into account.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2016.02"
|
||||
|
||||
|
@ -159,6 +159,14 @@ config BR2_cortex_a15
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_a17
|
||||
bool "cortex-A17"
|
||||
select BR2_ARM_CPU_HAS_ARM
|
||||
select BR2_ARM_CPU_HAS_NEON
|
||||
select BR2_ARM_CPU_HAS_VFPV4
|
||||
select BR2_ARM_CPU_HAS_THUMB2
|
||||
select BR2_ARM_CPU_ARMV7A
|
||||
select BR2_ARCH_HAS_MMU_OPTIONAL
|
||||
config BR2_cortex_m3
|
||||
bool "cortex-M3"
|
||||
select BR2_ARM_CPU_HAS_THUMB
|
||||
@ -442,6 +450,7 @@ config BR2_GCC_TARGET_CPU
|
||||
default "cortex-a9" if BR2_cortex_a9
|
||||
default "cortex-a12" if BR2_cortex_a12
|
||||
default "cortex-a15" if BR2_cortex_a15
|
||||
default "cortex-a17" if BR2_cortex_a17
|
||||
default "cortex-m3" if BR2_cortex_m3
|
||||
default "fa526" if BR2_fa526
|
||||
default "marvell-pj4" if BR2_pj4
|
||||
|
@ -3,14 +3,14 @@ ARM software simulator of the AArch64 architecture.
|
||||
|
||||
First, one has to download the AArch64 software simulator from:
|
||||
|
||||
https://silver.arm.com/download/download.tm?pv=2482590
|
||||
https://silver.arm.com/download/download.tm?pv=2663527
|
||||
|
||||
Then, use the arm_foundationv8_defconfig configuration to build your
|
||||
Buildroot system.
|
||||
|
||||
Finally, boot your system with:
|
||||
|
||||
${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-4.1/Foundation_Platform \
|
||||
${LOCATION_OF_FOUNDATIONV8_SIMULATOR}/models/Linux64_GCC-4.7/Foundation_Platform \
|
||||
--image output/images/linux-system.axf \
|
||||
--block-device output/images/rootfs.ext2 \
|
||||
--network=nat
|
||||
|
6
board/firefly/firefly-rk3288/extlinux.conf
Normal file
6
board/firefly/firefly-rk3288/extlinux.conf
Normal file
@ -0,0 +1,6 @@
|
||||
default firefly-rk3288
|
||||
|
||||
label firefly-rk3288
|
||||
kernel /boot/uImage
|
||||
devicetree /boot/rk3288-firefly.dtb
|
||||
append console=ttyS2,115200n8 root=/dev/mmcblk0p1 rootwait
|
3
board/firefly/firefly-rk3288/post-build.sh
Executable file
3
board/firefly/firefly-rk3288/post-build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
|
||||
install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
|
20
board/firefly/firefly-rk3288/post-image.sh
Executable file
20
board/firefly/firefly-rk3288/post-image.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
MKIMAGE=$HOST_DIR/usr/bin/mkimage
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/sd-image.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
$MKIMAGE -n rk3288 -T rksd -d $BINARIES_DIR/u-boot-spl-dtb.bin $BINARIES_DIR/u-boot-spl-dtb.img
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
exit $?
|
40
board/firefly/firefly-rk3288/readme.txt
Normal file
40
board/firefly/firefly-rk3288/readme.txt
Normal file
@ -0,0 +1,40 @@
|
||||
Firefly RK3288
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
$ make firefly_rk3288_defconfig
|
||||
|
||||
Then you can edit the build options using
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
Compile all and build rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
Result of the build
|
||||
-------------------
|
||||
|
||||
After building, you should get a tree like this:
|
||||
|
||||
output/images/
|
||||
├── rk3288-firefly.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── sdcard.img
|
||||
├── u-boot-dtb.img
|
||||
├── u-boot-spl-dtb.bin
|
||||
├── u-boot-spl-dtb.img
|
||||
└── uImage
|
||||
|
||||
Prepare your SDCard
|
||||
===================
|
||||
|
||||
Buildroot generates a ready-to-use SD card image that you can flash directly to
|
||||
the card. The image will be in output/images/sdcard.img.
|
||||
You can write this image directly to an SD card device (i.e. /dev/xxx):
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/xxx
|
||||
|
||||
Finally, you can insert the SD card to the Firefly RK3288 board and boot it.
|
22
board/firefly/firefly-rk3288/sd-image.cfg
Normal file
22
board/firefly/firefly-rk3288/sd-image.cfg
Normal file
@ -0,0 +1,22 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-spl-dtb.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-dtb.img"
|
||||
offset = 128K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
16
board/olimex/a20_olinuxino/genimage.cfg
Normal file
16
board/olimex/a20_olinuxino/genimage.cfg
Normal file
@ -0,0 +1,16 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8192
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
16
board/olimex/a20_olinuxino/post-image.sh
Executable file
16
board/olimex/a20_olinuxino/post-image.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
exit $?
|
@ -3,12 +3,13 @@ A20-OLinuXino-LIME and A20-OLinuXino-MICRO
|
||||
Intro
|
||||
=====
|
||||
|
||||
These are open hardware boards, both based an the AllWinners A20 SoC.
|
||||
These are open hardware boards, all based on the Allwinner A20 SoC.
|
||||
|
||||
for more details about the boards see the following pages:
|
||||
- https://www.olimex.com/Products/OLinuXino/open-source-hardware
|
||||
- https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO/
|
||||
- https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME/
|
||||
- https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2/
|
||||
|
||||
The following defconfigs are available:
|
||||
- olimex_a20_olinuxino_micro_defconfig
|
||||
@ -51,6 +52,7 @@ After building, you should get a tree like this:
|
||||
+-- rootfs.ext2
|
||||
+-- rootfs.ext4 -> rootfs.ext2
|
||||
+-- script.bin (lime_mali)
|
||||
+-- sdcard.img
|
||||
+-- sun7i-a20-olinuxino-lime.dtb (lime, mainline)
|
||||
+-- sun7i-a20-olinuxino-lime2.dtb (lime2, mainline)
|
||||
+-- sun7i-a20-olinuxino-micro.dtb (micro, mainline)
|
||||
@ -62,55 +64,13 @@ After building, you should get a tree like this:
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
The sdcard.img file is a complete bootable image ready to be written
|
||||
on the boot medium. To install it, simply copy the image to a uSD
|
||||
card:
|
||||
|
||||
Prepare the SD card
|
||||
-------------------
|
||||
# dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Erase existing stuff, and create an unique Linux partition with `fdisk`.
|
||||
|
||||
# fdisk /dev/sdX
|
||||
Command (m for help): o
|
||||
Building a new DOS disklabel with disk identifier 0xf9e1616a.
|
||||
Changes will remain in memory only, until you decide to write them.
|
||||
After that, of course, the previous content won't be recoverable.
|
||||
|
||||
Command (m for help): n
|
||||
Partition type:
|
||||
p primary (0 primary, 0 extended, 4 free)
|
||||
e extended
|
||||
Select (default p): p
|
||||
Partition number (1-4, default 1): 1
|
||||
First sector (2048-7626751, default 2048): 2048
|
||||
Last sector, +sectors or +size{K,M,G} (2048-7626751, default 7626751):
|
||||
Using default value 7626751
|
||||
|
||||
Command (m for help): p
|
||||
|
||||
Disk /dev/sdX: 3904 MB, 3904897024 bytes
|
||||
4 heads, 16 sectors/track, 119168 cylinders, total 7626752 sectors
|
||||
Units = sectors of 1 * 512 = 512 bytes
|
||||
Sector size (logical/physical): 512 bytes / 512 bytes
|
||||
I/O size (minimum/optimal): 512 bytes / 512 bytes
|
||||
Disk identifier: 0xf9e1616a
|
||||
|
||||
Device Boot Start End Blocks Id System
|
||||
/dev/sdX1 2048 7626751 3812352 83 Linux
|
||||
|
||||
Command (m for help): w
|
||||
The partition table has been altered!
|
||||
|
||||
Calling ioctl() to re-read partition table.
|
||||
Syncing disks.
|
||||
|
||||
Copy images on the SD card
|
||||
--------------------------
|
||||
|
||||
# dd if=output/images/rootfs.ext2 of=/dev/sdX1
|
||||
# dd if=output/images/u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8
|
||||
|
||||
|
||||
Finish
|
||||
======
|
||||
Where 'sdX' is the device node of the uSD.
|
||||
|
||||
Eject the SD card, insert it in the A20-OLinuXino board, and power it up.
|
||||
|
||||
|
26
board/pandaboard/genimage.cfg
Normal file
26
board/pandaboard/genimage.cfg
Normal file
@ -0,0 +1,26 @@
|
||||
image boot.vfat {
|
||||
vfat {
|
||||
files = {
|
||||
"MLO",
|
||||
"u-boot.img"
|
||||
}
|
||||
}
|
||||
size = 8M
|
||||
}
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition boot {
|
||||
partition-type = 0xC
|
||||
bootable = "true"
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 512M
|
||||
}
|
||||
}
|
16
board/pandaboard/post-image.sh
Executable file
16
board/pandaboard/post-image.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname $0)"
|
||||
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
exit $?
|
46
board/pandaboard/readme.txt
Normal file
46
board/pandaboard/readme.txt
Normal file
@ -0,0 +1,46 @@
|
||||
Pandaboard
|
||||
==========
|
||||
|
||||
This file documents the Buildroot support for the Pandaboard, a
|
||||
low-power, low-cost single-board computer development platform based
|
||||
on the Texas Instruments OMAP4 system on a chip (SoC).
|
||||
|
||||
Configuring and building Buildroot
|
||||
----------------------------------
|
||||
|
||||
Start from the defconfig:
|
||||
|
||||
$ make pandaboard_defconfig
|
||||
|
||||
You can edit build options the usual way:
|
||||
|
||||
$ make menuconfig
|
||||
|
||||
When you are happy with the setup, run:
|
||||
|
||||
$ make
|
||||
|
||||
The result of the build with the default settings should be these files:
|
||||
|
||||
output/images
|
||||
├── MLO
|
||||
├── omap4-panda-a4.dtb
|
||||
├── omap4-panda.dtb
|
||||
├── omap4-panda-es.dtb
|
||||
├── rootfs.ext4
|
||||
├── sdcard.img
|
||||
├── u-boot.img
|
||||
└── zImage
|
||||
|
||||
How to write the SD card
|
||||
------------------------
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Where /dev/sdX is the device node of your SD card (may be /dev/mmcblkX
|
||||
instead depending on setup).
|
@ -1,5 +1,6 @@
|
||||
menu "Bootloaders"
|
||||
|
||||
source "boot/afboot-stm32/Config.in"
|
||||
source "boot/at91bootstrap/Config.in"
|
||||
source "boot/at91bootstrap3/Config.in"
|
||||
source "boot/at91dataflashboot/Config.in"
|
||||
|
7
boot/afboot-stm32/Config.in
Normal file
7
boot/afboot-stm32/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_TARGET_AFBOOT_STM32
|
||||
bool "afboot-stm32"
|
||||
depends on BR2_arm
|
||||
help
|
||||
afboot-stm32 is a very small bootloader for STM32 platforms
|
||||
|
||||
https://github.com/mcoquelin-stm32/afboot-stm32
|
2
boot/afboot-stm32/afboot-stm32.hash
Normal file
2
boot/afboot-stm32/afboot-stm32.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 dbd715c8b99f7d266f74a04707a4dac76b75b31321f24dee5256a6348260530c afboot-stm32-v0.1.tar.gz
|
18
boot/afboot-stm32/afboot-stm32.mk
Normal file
18
boot/afboot-stm32/afboot-stm32.mk
Normal file
@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# afboot-stm32
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AFBOOT_STM32_VERSION = v0.1
|
||||
AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,$(AFBOOT_STM32_VERSION))
|
||||
|
||||
define AFBOOT_STM32_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all
|
||||
endef
|
||||
|
||||
define AFBOOT_STM32_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/stm32*.bin $(BINARIES_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
@ -12,7 +12,7 @@ choice
|
||||
Select the specific Barebox version you want to use
|
||||
|
||||
config BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
bool "2016.01.0"
|
||||
bool "2016.02.0"
|
||||
|
||||
config BR2_TARGET_BAREBOX_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
@ -40,7 +40,7 @@ endif
|
||||
|
||||
config BR2_TARGET_BAREBOX_VERSION
|
||||
string
|
||||
default "2016.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
default "2016.02.0" if BR2_TARGET_BAREBOX_LATEST_VERSION
|
||||
default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION
|
||||
default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL
|
||||
default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT
|
||||
|
@ -1,5 +1,5 @@
|
||||
# http://www.barebox.org/download/barebox-2015.12.0.tar.bz2.md5
|
||||
md5 99f8c1252e3085e4b3a4e365ff36e9bd barebox-2016.01.0.tar.bz2
|
||||
# http://www.barebox.org/download/barebox-2016.02.0.tar.bz2.md5
|
||||
md5 451cf8d025af6acbe7aaa2596541550f barebox-2016.02.0.tar.bz2
|
||||
|
||||
# Locally calculated
|
||||
sha256 f0bb34b745b9c8c626186e22b0154f57c15d0eec5de1e3654f740665b2136d91 barebox-2016.01.0.tar.bz2
|
||||
sha256 1b4760e535994f950c10ef407ff59cf5c0ed97ab30476b9054e1f65d3e372eff barebox-2016.02.0.tar.bz2
|
||||
|
@ -1,16 +1,16 @@
|
||||
BR2_aarch64=y
|
||||
# Linux headers same as kernel, a 3.13 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
|
||||
# Linux headers same as kernel, a 4.4 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.13.6"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.3"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(LINUX_DIR)/arch/arm64/configs/defconfig"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="foundation-v8"
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8"
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_BOOT_WRAPPER_AARCH64=y
|
||||
BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS="foundation-v8"
|
||||
BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS="arm/foundation-v8"
|
||||
BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS="root=/dev/vda consolelog=9 console=ttyAMA0 rw"
|
||||
|
31
configs/firefly_rk3288_defconfig
Normal file
31
configs/firefly_rk3288_defconfig
Normal file
@ -0,0 +1,31 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_a17=y
|
||||
BR2_ARM_FPU_NEON_VFPV4=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
|
||||
BR2_TARGET_GENERIC_HOSTNAME="firefly-rk3288"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to FIREFLY RK3288!"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/firefly/firefly-rk3288/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/firefly/firefly-rk3288/post-image.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/mmind/linux-rockchip.git"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ccb89e9b5657b4911c16d08e1581121222ee12c4"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="rk3288_veyron"
|
||||
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-firefly"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="firefly-rk3288"
|
||||
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||
BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin"
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
39
configs/firefly_rk3288_demo_defconfig
Normal file
39
configs/firefly_rk3288_demo_defconfig
Normal file
@ -0,0 +1,39 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_a17=y
|
||||
BR2_ARM_FPU_NEON_VFPV4=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
BR2_TARGET_GENERIC_HOSTNAME="firefly-rk3288"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to FIREFLY RK3288!"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/firefly/firefly-rk3288/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/firefly/firefly-rk3288/post-image.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/mmind/linux-rockchip.git"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ccb89e9b5657b4911c16d08e1581121222ee12c4"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="rk3288_veyron"
|
||||
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-firefly"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_PACKAGE_QT5=y
|
||||
BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
|
||||
BR2_PACKAGE_QT5BASE_EXAMPLES=y
|
||||
BR2_PACKAGE_QT5BASE_GUI=y
|
||||
BR2_PACKAGE_QT5BASE_EGLFS=y
|
||||
BR2_PACKAGE_MALI_T76X=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="firefly-rk3288"
|
||||
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||
BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin"
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
36
configs/nitrogen7_defconfig
Normal file
36
configs/nitrogen7_defconfig
Normal file
@ -0,0 +1,36 @@
|
||||
# architecture
|
||||
BR2_arm=y
|
||||
BR2_cortex_a7=y
|
||||
|
||||
# system
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/nitrogen6x/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/nitrogen6x/post-image.sh"
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
|
||||
# filesystem
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
|
||||
# Linux headers same as kernel, a 3.14 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y
|
||||
|
||||
# bootloader
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="nitrogen7"
|
||||
BR2_TARGET_UBOOT_FORMAT_IMX=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="http://github.com/boundarydevices/u-boot-imx6/tarball/b2e1315/u-boot-b2e1315.tar.gz"
|
||||
|
||||
# kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/tarball/20cee23/linux-imx6-20cee23.tar.gz"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="boundary"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-nitrogen7"
|
@ -7,6 +7,7 @@ BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!"
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/olimex/a20_olinuxino/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino/boot.cmd $(TARGET_DIR)/boot"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
@ -28,4 +29,5 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.01"
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
|
@ -12,6 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!"
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/olimex/a20_olinuxino/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino/boot.cmd $(TARGET_DIR)/boot"
|
||||
|
||||
# Kernel
|
||||
@ -41,4 +42,5 @@ BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
|
||||
|
||||
# Additional tools
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
|
@ -12,6 +12,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!"
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/olimex/a20_olinuxino/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino/boot-mali.cmd $(TARGET_DIR)/boot"
|
||||
|
||||
# Kernel
|
||||
@ -45,4 +46,5 @@ BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
|
||||
|
||||
# Additional tools
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
|
@ -1,25 +1,24 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_cortex_a7=y
|
||||
BR2_ARM_EABIHF=y
|
||||
BR2_ARM_FPU_NEON_VFPV4=y
|
||||
|
||||
# Linux headers same as kernel, a 4.0 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0=y
|
||||
# Linux headers same as kernel, a 4.4 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
|
||||
|
||||
# System configuration
|
||||
BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!"
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/olimex/a20_olinuxino/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="board/olimex/a20_olinuxino/boot.cmd $(TARGET_DIR)/boot"
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.0.5"
|
||||
BR2_LINUX_KERNEL_USE_DEFCONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.2"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
@ -35,10 +34,11 @@ BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="A20-OLinuXino_MICRO"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2015.04"
|
||||
BR2_TARGET_UBOOT_FORMAT_BIN=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.01"
|
||||
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
|
||||
|
||||
# Additional tools
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
|
@ -1,37 +1,28 @@
|
||||
# Architecture
|
||||
BR2_arm=y
|
||||
BR2_cortex_a9=y
|
||||
|
||||
# system
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_ARM_ENABLE_NEON=y
|
||||
BR2_ARM_ENABLE_VFP=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyO2"
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
|
||||
|
||||
# filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
# Linux headers same as kernel, a 3.12 series
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12=y
|
||||
|
||||
# Kernel
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pandaboard/post-image.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.12.2"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.3"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
|
||||
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x80008000"
|
||||
BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
|
||||
BR2_LINUX_KERNEL_APPENDED_DTB=y
|
||||
BR2_LINUX_KERNEL_USE_INTREE_DTS=y
|
||||
# might need omap4-panda or omap4-panda-a4 instead
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="omap4-panda-es"
|
||||
|
||||
# Bootloaders
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="omap4-panda-es omap4-panda omap4-panda-a4"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="omap4_panda"
|
||||
BR2_TARGET_UBOOT_FORMAT_IMG=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="omap4_panda"
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="MLO"
|
||||
BR2_TARGET_UBOOT_LATEST_VERSION=n
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2012.07"
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
|
@ -160,3 +160,43 @@ possible to customize what is done in any particular step:
|
||||
+PYTHON_FOO_BUILD_CMDS+ variable, it will be used instead of the
|
||||
default Python one. However, using this method should be restricted
|
||||
to very specific cases. Do not use it in the general case.
|
||||
|
||||
[[python-package-cffi-backend]]
|
||||
|
||||
==== +python-package+ CFFI backend
|
||||
|
||||
C Foreign Function Interface for Python (CFFI) provides a convenient
|
||||
and reliable way to call compiled C code from Python using interface
|
||||
declarations written in C. Python packages relying on this backend can
|
||||
be identified by the appearance of a +cffi+ dependency in the
|
||||
+install_requires+ field of their +setup.py+ file.
|
||||
|
||||
Such a package should:
|
||||
|
||||
* add +python-cffi+ as a runtime dependency in order to install the
|
||||
compiled C library wrapper on the target. This is achieved by adding
|
||||
+select BR2_PACKAGE_PYTHON_CFFI+ to the package +Config.in+.
|
||||
|
||||
------------------------
|
||||
config BR2_PACKAGE_PYTHON_FOO
|
||||
bool "python-foo"
|
||||
select BR2_PACKAGE_PYTHON_CFFI # runtime
|
||||
------------------------
|
||||
|
||||
* add +host-python-cffi+ as a build-time dependency in order to
|
||||
cross-compile the C wrapper. This is achieved by adding
|
||||
+host-python-cffi+ to the +PYTHON_FOO_DEPENDENCIES+ variable.
|
||||
|
||||
------------------------
|
||||
################################################################################
|
||||
#
|
||||
# python-foo
|
||||
#
|
||||
################################################################################
|
||||
|
||||
...
|
||||
|
||||
PYTHON_FOO_DEPENDENCIES = host-python-cffi
|
||||
|
||||
$(eval $(python-package))
|
||||
------------------------
|
||||
|
@ -28,6 +28,7 @@ menu "Audio and video applications"
|
||||
source "package/mpd-mpc/Config.in"
|
||||
source "package/mpg123/Config.in"
|
||||
source "package/mplayer/Config.in"
|
||||
source "package/multicat/Config.in"
|
||||
source "package/musepack/Config.in"
|
||||
source "package/ncmpc/Config.in"
|
||||
source "package/on2-8170-libs/Config.in"
|
||||
@ -72,6 +73,7 @@ menu "Debugging, profiling and benchmark"
|
||||
source "package/dmalloc/Config.in"
|
||||
source "package/dropwatch/Config.in"
|
||||
source "package/dstat/Config.in"
|
||||
source "package/dt/Config.in"
|
||||
source "package/duma/Config.in"
|
||||
source "package/fio/Config.in"
|
||||
source "package/gdb/Config.in"
|
||||
@ -199,6 +201,7 @@ comment "Fonts"
|
||||
source "package/bitstream-vera/Config.in"
|
||||
source "package/cantarell/Config.in"
|
||||
source "package/dejavu/Config.in"
|
||||
source "package/font-awesome/Config.in"
|
||||
source "package/ghostscript-fonts/Config.in"
|
||||
source "package/inconsolata/Config.in"
|
||||
source "package/liberation/Config.in"
|
||||
@ -399,14 +402,17 @@ endif
|
||||
source "package/lshw/Config.in"
|
||||
source "package/lsuio/Config.in"
|
||||
source "package/lvm2/Config.in"
|
||||
source "package/mali-t76x/Config.in"
|
||||
source "package/mdadm/Config.in"
|
||||
source "package/memtest86/Config.in"
|
||||
source "package/memtester/Config.in"
|
||||
source "package/minicom/Config.in"
|
||||
source "package/msr-tools/Config.in"
|
||||
source "package/nanocom/Config.in"
|
||||
source "package/neard/Config.in"
|
||||
source "package/nvidia-driver/Config.in"
|
||||
source "package/nvidia-tegra23/Config.in"
|
||||
source "package/nvme/Config.in"
|
||||
source "package/ofono/Config.in"
|
||||
source "package/ola/Config.in"
|
||||
source "package/on2-8170-modules/Config.in"
|
||||
@ -618,6 +624,7 @@ endif
|
||||
if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
menu "External python modules"
|
||||
source "package/python-alsaaudio/Config.in"
|
||||
source "package/python-autobahn/Config.in"
|
||||
source "package/python-backports-abc/Config.in"
|
||||
source "package/python-beautifulsoup4/Config.in"
|
||||
source "package/python-bottle/Config.in"
|
||||
@ -625,6 +632,7 @@ menu "External python modules"
|
||||
source "package/python-cbor/Config.in"
|
||||
source "package/python-certifi/Config.in"
|
||||
source "package/python-cffi/Config.in"
|
||||
source "package/python-characteristic/Config.in"
|
||||
source "package/python-cheetah/Config.in"
|
||||
source "package/python-cherrypy/Config.in"
|
||||
source "package/python-click/Config.in"
|
||||
@ -632,6 +640,8 @@ menu "External python modules"
|
||||
source "package/python-configobj/Config.in"
|
||||
source "package/python-configshell-fb/Config.in"
|
||||
source "package/python-crc16/Config.in"
|
||||
source "package/python-crossbar/Config.in"
|
||||
source "package/python-cryptography/Config.in"
|
||||
source "package/python-cssselect/Config.in"
|
||||
source "package/python-daemon/Config.in"
|
||||
source "package/python-dialog/Config.in"
|
||||
@ -648,6 +658,7 @@ menu "External python modules"
|
||||
source "package/python-httplib2/Config.in"
|
||||
source "package/python-id3/Config.in"
|
||||
source "package/python-idna/Config.in"
|
||||
source "package/python-iniparse/Config.in"
|
||||
source "package/python-ipaddr/Config.in"
|
||||
source "package/python-ipaddress/Config.in"
|
||||
source "package/python-ipy/Config.in"
|
||||
@ -657,6 +668,7 @@ menu "External python modules"
|
||||
source "package/python-json-schema-validator/Config.in"
|
||||
source "package/python-keyring/Config.in"
|
||||
source "package/python-libconfig/Config.in"
|
||||
source "package/python-lmdb/Config.in"
|
||||
source "package/python-lxml/Config.in"
|
||||
source "package/python-mad/Config.in"
|
||||
source "package/python-mako/Config.in"
|
||||
@ -677,12 +689,17 @@ menu "External python modules"
|
||||
source "package/python-protobuf/Config.in"
|
||||
source "package/python-psutil/Config.in"
|
||||
source "package/python-pyasn/Config.in"
|
||||
source "package/python-pyasn-modules/Config.in"
|
||||
source "package/python-pycli/Config.in"
|
||||
source "package/python-pycparser/Config.in"
|
||||
source "package/python-pycrypto/Config.in"
|
||||
source "package/python-pydal/Config.in"
|
||||
source "package/python-pyftpdlib/Config.in"
|
||||
source "package/python-pygame/Config.in"
|
||||
source "package/python-pygments/Config.in"
|
||||
source "package/python-pyinotify/Config.in"
|
||||
source "package/python-pynacl/Config.in"
|
||||
source "package/python-pyopenssl/Config.in"
|
||||
source "package/python-pyparsing/Config.in"
|
||||
source "package/python-pyparted/Config.in"
|
||||
source "package/python-pypcap/Config.in"
|
||||
@ -695,15 +712,20 @@ menu "External python modules"
|
||||
source "package/python-pysnmp/Config.in"
|
||||
source "package/python-pysnmp-apps/Config.in"
|
||||
source "package/python-pysnmp-mibs/Config.in"
|
||||
source "package/python-pytrie/Config.in"
|
||||
source "package/python-pyudev/Config.in"
|
||||
source "package/python-pyusb/Config.in"
|
||||
source "package/python-pyxb/Config.in"
|
||||
source "package/python-pyyaml/Config.in"
|
||||
source "package/python-pyzmq/Config.in"
|
||||
source "package/python-requests/Config.in"
|
||||
source "package/python-rpi-gpio/Config.in"
|
||||
source "package/python-rtslib-fb/Config.in"
|
||||
source "package/python-serial/Config.in"
|
||||
source "package/python-service-identity/Config.in"
|
||||
source "package/python-setproctitle/Config.in"
|
||||
source "package/python-setuptools/Config.in"
|
||||
source "package/python-shutilwhich/Config.in"
|
||||
source "package/python-simplejson/Config.in"
|
||||
source "package/python-singledispatch/Config.in"
|
||||
source "package/python-sip/Config.in"
|
||||
@ -712,7 +734,10 @@ menu "External python modules"
|
||||
source "package/python-spidev/Config.in"
|
||||
source "package/python-thrift/Config.in"
|
||||
source "package/python-tornado/Config.in"
|
||||
source "package/python-treq/Config.in"
|
||||
source "package/python-twisted/Config.in"
|
||||
source "package/python-txaio/Config.in"
|
||||
source "package/python-ujson/Config.in"
|
||||
source "package/python-urllib3/Config.in"
|
||||
source "package/python-urwid/Config.in"
|
||||
source "package/python-versiontools/Config.in"
|
||||
@ -720,6 +745,7 @@ menu "External python modules"
|
||||
source "package/python-webpy/Config.in"
|
||||
source "package/python-werkzeug/Config.in"
|
||||
source "package/python-ws4py/Config.in"
|
||||
source "package/python-wsaccel/Config.in"
|
||||
source "package/python-zope-interface/Config.in"
|
||||
endmenu
|
||||
endif
|
||||
@ -1040,6 +1066,7 @@ menu "Multimedia"
|
||||
source "package/libfslparser/Config.in"
|
||||
source "package/libfslvpuwrap/Config.in"
|
||||
source "package/libhdhomerun/Config.in"
|
||||
source "package/libimxvpuapi/Config.in"
|
||||
source "package/libmatroska/Config.in"
|
||||
source "package/libmms/Config.in"
|
||||
source "package/libmpeg2/Config.in"
|
||||
@ -1276,6 +1303,7 @@ menu "Miscellaneous"
|
||||
source "package/empty/Config.in"
|
||||
source "package/gnuradio/Config.in"
|
||||
source "package/googlefontdirectory/Config.in"
|
||||
source "package/gr-osmosdr/Config.in"
|
||||
source "package/haveged/Config.in"
|
||||
source "package/mcrypt/Config.in"
|
||||
source "package/mobile-broadband-provider-info/Config.in"
|
||||
@ -1424,8 +1452,10 @@ endif
|
||||
source "package/p910nd/Config.in"
|
||||
source "package/phidgetwebservice/Config.in"
|
||||
source "package/portmap/Config.in"
|
||||
source "package/pound/Config.in"
|
||||
source "package/pppd/Config.in"
|
||||
source "package/pptp-linux/Config.in"
|
||||
source "package/privoxy/Config.in"
|
||||
source "package/proftpd/Config.in"
|
||||
source "package/proxychains-ng/Config.in"
|
||||
source "package/ptpd/Config.in"
|
||||
@ -1485,6 +1515,7 @@ endif
|
||||
source "package/wireless_tools/Config.in"
|
||||
source "package/wireshark/Config.in"
|
||||
source "package/wpa_supplicant/Config.in"
|
||||
source "package/wpan-tools/Config.in"
|
||||
source "package/wvdial/Config.in"
|
||||
source "package/xinetd/Config.in"
|
||||
source "package/xl2tp/Config.in"
|
||||
@ -1531,6 +1562,7 @@ endif
|
||||
comment "Utilities"
|
||||
source "package/at/Config.in"
|
||||
source "package/ccrypt/Config.in"
|
||||
source "package/crudini/Config.in"
|
||||
source "package/dialog/Config.in"
|
||||
source "package/dtach/Config.in"
|
||||
source "package/file/Config.in"
|
||||
|
@ -32,5 +32,6 @@ menu "Host utilities"
|
||||
source "package/uboot-tools/Config.in.host"
|
||||
source "package/util-linux/Config.in.host"
|
||||
source "package/vboot-utils/Config.in.host"
|
||||
source "package/zip/Config.in.host"
|
||||
|
||||
endmenu
|
||||
|
@ -16,15 +16,15 @@ ACL_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
|
||||
# While the configuration system uses autoconf, the Makefiles are
|
||||
# hand-written and do not use automake. Therefore, we have to hack
|
||||
# around their deficiencies by passing installation paths.
|
||||
ACL_INSTALL_STAGING_OPTS = \
|
||||
prefix=$(STAGING_DIR)/usr \
|
||||
exec_prefix=$(STAGING_DIR)/usr \
|
||||
PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib \
|
||||
ACL_INSTALL_STAGING_OPTS = \
|
||||
prefix=$(STAGING_DIR)/usr \
|
||||
exec_prefix=$(STAGING_DIR)/usr \
|
||||
PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib \
|
||||
install-dev install-lib
|
||||
|
||||
ACL_INSTALL_TARGET_OPTS = \
|
||||
prefix=$(TARGET_DIR)/usr \
|
||||
exec_prefix=$(TARGET_DIR)/usr \
|
||||
ACL_INSTALL_TARGET_OPTS = \
|
||||
prefix=$(TARGET_DIR)/usr \
|
||||
exec_prefix=$(TARGET_DIR)/usr \
|
||||
install install-lib
|
||||
|
||||
# The libdir variable in libacl.la is empty, so let's fix it. This is
|
||||
|
@ -15,17 +15,22 @@ ATTR_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL
|
||||
# While the configuration system uses autoconf, the Makefiles are
|
||||
# hand-written and do not use automake. Therefore, we have to hack
|
||||
# around their deficiencies by passing installation paths.
|
||||
ATTR_INSTALL_STAGING_OPTS = \
|
||||
prefix=$(STAGING_DIR)/usr \
|
||||
exec_prefix=$(STAGING_DIR)/usr \
|
||||
PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib \
|
||||
ATTR_INSTALL_STAGING_OPTS = \
|
||||
prefix=$(STAGING_DIR)/usr \
|
||||
exec_prefix=$(STAGING_DIR)/usr \
|
||||
PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib \
|
||||
install-dev install-lib
|
||||
|
||||
ATTR_INSTALL_TARGET_OPTS = \
|
||||
prefix=$(TARGET_DIR)/usr \
|
||||
exec_prefix=$(TARGET_DIR)/usr \
|
||||
ATTR_INSTALL_TARGET_OPTS = \
|
||||
prefix=$(TARGET_DIR)/usr \
|
||||
exec_prefix=$(TARGET_DIR)/usr \
|
||||
install install-lib
|
||||
|
||||
HOST_ATTR_INSTALL_OPTS = \
|
||||
prefix=$(HOST_DIR)/usr \
|
||||
exec_prefix=$(HOST_DIR)/usr \
|
||||
install-dev install-lib
|
||||
|
||||
# The libdir variable in libattr.la is empty, so let's fix it. This is
|
||||
# probably due to attr not using automake, and not doing fully the
|
||||
# right thing with libtool.
|
||||
@ -37,3 +42,4 @@ endef
|
||||
ATTR_POST_INSTALL_STAGING_HOOKS += ATTR_FIX_LIBTOOL_LA_LIBDIR
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
@ -1,30 +0,0 @@
|
||||
Patch from http://pkgs.fedoraproject.org/cgit/avahi.git/plain/avahi-0.6.31-no-deprecations.patch?id=b3f4de05e331258c5123e3acc144e452595c2112
|
||||
|
||||
Don't disable deprecated GTK support, as that breaks builds with modern GTK3
|
||||
versions.
|
||||
|
||||
For more details, see the Fedora bugzilla:
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1001676
|
||||
|
||||
[Peter: patch Makefile.in so we don't need autoreconf]
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
avahi-ui/Makefile.am | 2 +-
|
||||
avahi-ui/Makefile.in | 3 +--
|
||||
configure.ac | 2 +-
|
||||
3 files changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
Index: avahi-0.6.31/avahi-ui/Makefile.in
|
||||
===================================================================
|
||||
--- avahi-0.6.31.orig/avahi-ui/Makefile.in
|
||||
+++ avahi-0.6.31/avahi-ui/Makefile.in
|
||||
@@ -464,8 +464,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
# This cool debug trap works on i386/gcc only
|
||||
-AM_CFLAGS = -I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 \
|
||||
- -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1 \
|
||||
+AM_CFLAGS = -I$(top_srcdir) \
|
||||
'-DDEBUG_TRAP=__asm__("int $$3")' $(am__append_1)
|
||||
pkglibdatadir = $(libdir)/avahi
|
||||
desktopdir = $(datadir)/applications
|
@ -1,2 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 avahi-0.6.31.tar.gz
|
||||
sha256 d54991185d514a0aba54ebeb408d7575b60f5818a772e28fa0e18b98bc1db454 avahi-0.6.32.tar.gz
|
||||
|
@ -11,8 +11,8 @@
|
||||
# either version 2.1 of the License, or (at your option) any
|
||||
# later version.
|
||||
|
||||
AVAHI_VERSION = 0.6.31
|
||||
AVAHI_SITE = http://www.avahi.org/download
|
||||
AVAHI_VERSION = 0.6.32
|
||||
AVAHI_SITE = https://github.com/lathiat/avahi/releases/download/v$(AVAHI_VERSION)
|
||||
AVAHI_LICENSE = LGPLv2.1+
|
||||
AVAHI_LICENSE_FILES = LICENSE
|
||||
AVAHI_INSTALL_STAGING = YES
|
||||
@ -220,13 +220,13 @@ define AVAHI_INSTALL_INIT_SYSV
|
||||
$(AVAHI_INSTALL_DAEMON_INIT_SYSV)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y)
|
||||
# applications expects to be able to #include <dns_sd.h>
|
||||
define AVAHI_STAGING_INSTALL_LIBDNSSD_LINK
|
||||
ln -sf avahi-compat-libdns_sd/dns_sd.h \
|
||||
$(STAGING_DIR)/usr/include/dns_sd.h
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y)
|
||||
AVAHI_POST_INSTALL_STAGING_HOOKS += AVAHI_STAGING_INSTALL_LIBDNSSD_LINK
|
||||
endif
|
||||
|
||||
|
@ -12,6 +12,8 @@ choice
|
||||
!BR2_powerpc64le && !BR2_nios2
|
||||
# Unsupported for MIPS R6
|
||||
depends on !BR2_mips_32r6 && !BR2_mips_64r6
|
||||
# Unsupported ARM cores
|
||||
depends on !BR2_cortex_a17
|
||||
bool "binutils 2.23.2"
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_24_X
|
||||
@ -19,6 +21,8 @@ choice
|
||||
depends on !BR2_nios2 && !BR2_powerpc64le
|
||||
# Unsupported for MIPS R6
|
||||
depends on !BR2_mips_32r6 && !BR2_mips_64r6
|
||||
# Unsupported ARM cores
|
||||
depends on !BR2_cortex_a17
|
||||
bool "binutils 2.24"
|
||||
|
||||
config BR2_BINUTILS_VERSION_2_25_X
|
||||
|
@ -1,3 +1,3 @@
|
||||
# hashes from: $(CA_CERTIFICATES_SITE)/ca-certificates_$(CA_CERTIFICATES_VERSION).dsc :
|
||||
sha1 c2d7ae81e28ff1f8a6b9ef7602c4e756ff08503c ca-certificates_20150426.tar.xz
|
||||
sha256 37dbaa93ed64cc4ae93ac295f9248fbc741bd51376438cfb1257f17efab5494f ca-certificates_20150426.tar.xz
|
||||
sha1 4525a194736c6691dbd59fa87281b722837b4768 ca-certificates_20160104.tar.xz
|
||||
sha256 09eb770122e23260316120c0cbbddc8a1d33e7147210ce44e146084d5d5abcdd ca-certificates_20160104.tar.xz
|
||||
|
@ -4,9 +4,9 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CA_CERTIFICATES_VERSION = 20150426
|
||||
CA_CERTIFICATES_VERSION = 20160104
|
||||
CA_CERTIFICATES_SOURCE = ca-certificates_$(CA_CERTIFICATES_VERSION).tar.xz
|
||||
CA_CERTIFICATES_SITE = http://snapshot.debian.org/archive/debian/20150528T221654Z/pool/main/c/ca-certificates
|
||||
CA_CERTIFICATES_SITE = http://snapshot.debian.org/archive/debian/20160104T220912Z/pool/main/c/ca-certificates
|
||||
CA_CERTIFICATES_DEPENDENCIES = host-openssl host-python
|
||||
CA_CERTIFICATES_LICENSE = GPLv2+ (script), MPLv2.0 (data)
|
||||
CA_CERTIFICATES_LICENSE_FILES = debian/copyright
|
||||
|
@ -1,2 +1,2 @@
|
||||
# From http://ftp.acc.umu.se/pub/gnome/sources/cantarell-fonts/0.0/cantarell-fonts-0.0.20.1.sha256sum
|
||||
sha256 0f933516f3270fb7307d9c2e26e4703b403608c5cc9da3127cba4395bcd4ec91 cantarell-fonts-0.0.20.1.tar.xz
|
||||
# From http://ftp.acc.umu.se/pub/gnome/sources/cantarell-fonts/0.0/cantarell-fonts-0.0.23.sha256sum
|
||||
sha256 d85e165ac5d676d6b21c7870d8243cb612a2dc766d91fda788d56d5f5ad5db4e cantarell-fonts-0.0.23.tar.xz
|
||||
|
@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
CANTARELL_VERSION_MAJOR = 0.0
|
||||
CANTARELL_VERSION = $(CANTARELL_VERSION_MAJOR).20.1
|
||||
CANTARELL_VERSION = $(CANTARELL_VERSION_MAJOR).23
|
||||
CANTARELL_SITE = http://ftp.gnome.org/pub/gnome/sources/cantarell-fonts/$(CANTARELL_VERSION_MAJOR)
|
||||
CANTARELL_SOURCE = cantarell-fonts-$(CANTARELL_VERSION).tar.xz
|
||||
CANTARELL_DEPENDENCIES = host-pkgconf
|
||||
|
@ -16,7 +16,7 @@ COLLECTD_LICENSE_FILES = COPYING
|
||||
COLLECTD_PLUGINS_DISABLE = \
|
||||
amqp apple_sensors aquaero ascent barometer dbi email \
|
||||
gmond hddtemp ipmi java libvirt lpar lvm madwifi mbmon \
|
||||
mic multimeter netapp notify_desktop notify_email numa \
|
||||
mic multimeter netapp notify_desktop notify_email numa \
|
||||
nut onewire oracle perl pf pinba powerdns python redis routeros \
|
||||
rrdcached sigrok tape target_v5upgrade teamspeak2 ted \
|
||||
tokyotyrant turbostat uuid varnish virt vserver write_kafka \
|
||||
@ -185,4 +185,12 @@ define COLLECTD_INSTALL_TARGET_CMDS
|
||||
rm -f $(TARGET_DIR)/usr/share/collectd/postgresql_default.conf
|
||||
endef
|
||||
|
||||
define COLLECTD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/collectd/collectd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/collectd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/collectd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/collectd.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
17
package/collectd/collectd.service
Normal file
17
package/collectd/collectd.service
Normal file
@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Statistics collection and monitoring daemon
|
||||
After=local-fs.target network.target
|
||||
Requires=local-fs.target network.target
|
||||
ConditionPathExists=/etc/collectd.conf
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
NotifyAccess=main
|
||||
EnvironmentFile=-/etc/default/collectd
|
||||
ExecStartPre=/usr/sbin/collectd -t
|
||||
ExecStart=/usr/sbin/collectd
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CPPZMQ_VERSION = 1f05e0d111197c64be32ad5aecd59f4d1b05a819
|
||||
CPPZMQ_VERSION = 68a7b09cfce01c4c279fba2cf91686fcfc566848
|
||||
CPPZMQ_SITE = $(call github,zeromq,cppzmq,$(CPPZMQ_VERSION))
|
||||
CPPZMQ_INSTALL_STAGING = YES
|
||||
CPPZMQ_DEPENDENCIES = zeromq
|
||||
|
9
package/crudini/Config.in
Normal file
9
package/crudini/Config.in
Normal file
@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_CRUDINI
|
||||
bool "crudini"
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
select BR2_PACKAGE_PYTHON_INIPARSE # runtime
|
||||
help
|
||||
A utility for handling ini files from the command line and
|
||||
shell scripts
|
||||
|
||||
https://pypi.python.org/pypi/crudini
|
3
package/crudini/crudini.hash
Normal file
3
package/crudini/crudini.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=7d1313f1bb9800db9cbceaa518bcf212, sha256 locally computed
|
||||
md5 7d1313f1bb9800db9cbceaa518bcf212 crudini-0.7.tar.gz
|
||||
sha256 5d493ae6600e54f9e0296b12d3adba99b88a439d8c4b2ebf9bc6f9c0613a03d7 crudini-0.7.tar.gz
|
14
package/crudini/crudini.mk
Normal file
14
package/crudini/crudini.mk
Normal file
@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# crudini
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CRUDINI_VERSION = 0.7
|
||||
CRUDINI_SOURCE = crudini-$(CRUDINI_VERSION).tar.gz
|
||||
CRUDINI_SITE = https://pypi.python.org/packages/source/c/crudini
|
||||
CRUDINI_SETUP_TYPE = setuptools
|
||||
CRUDINI_LICENSE = GPLv2
|
||||
CRUDINI_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(python-package))
|
@ -1,2 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/utils/cryptsetup/v1.7/sha256sums.asc
|
||||
sha256 075524a7cc0db36d12119fa79116750accb1c6c8825d5faa2534b74b8ce3d148 cryptsetup-1.7.0.tar.xz
|
||||
sha256 73dc8a63cc984b56aa6a3c99f355262471bcfe78b3240b8b9d0caa8002911fec cryptsetup-1.7.1.tar.xz
|
||||
|
@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
CRYPTSETUP_VERSION_MAJOR = 1.7
|
||||
CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).0
|
||||
CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).1
|
||||
CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.xz
|
||||
CRYPTSETUP_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/cryptsetup/v$(CRYPTSETUP_VERSION_MAJOR)
|
||||
CRYPTSETUP_DEPENDENCIES = lvm2 popt util-linux host-pkgconf \
|
||||
|
@ -1,2 +1,2 @@
|
||||
# From http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_4.5.1.dsc
|
||||
sha256 a531c23e0105fe01cfa928457a8343a1e947e2621b3cd4d05f4e9656020c63b7 debianutils_4.5.1.tar.xz
|
||||
# From http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_4.7.dsc
|
||||
sha256 a269cacd40f52f2fa5d5636357714a49e8538459c16d77772efaa23711fe53d9 debianutils_4.7.tar.xz
|
||||
|
@ -4,9 +4,9 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DEBIANUTILS_VERSION = 4.5.1
|
||||
DEBIANUTILS_VERSION = 4.7
|
||||
DEBIANUTILS_SOURCE = debianutils_$(DEBIANUTILS_VERSION).tar.xz
|
||||
DEBIANUTILS_SITE = http://snapshot.debian.org/archive/debian/20150526T034723Z/pool/main/d/debianutils
|
||||
DEBIANUTILS_SITE = http://snapshot.debian.org/archive/debian/20160126T220153Z/pool/main/d/debianutils
|
||||
DEBIANUTILS_CONF_OPTS = --exec-prefix=/
|
||||
# Make sure we override the busybox tools, such as which
|
||||
DEBIANUTILS_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
||||
|
34
package/dhcp/0001-dhcp-cross-compile.patch
Normal file
34
package/dhcp/0001-dhcp-cross-compile.patch
Normal file
@ -0,0 +1,34 @@
|
||||
dhcp cross compile support integration
|
||||
|
||||
Allow BINDCONFIG to be initialized in environment passed to configure.
|
||||
|
||||
Allow archiver to be determined during configure.
|
||||
|
||||
This patch is submitted upstream as part of a cross compiling enhancement
|
||||
suggestion to dhcp-suggest@isc.org. Reference ISC-Bugs #41502.
|
||||
|
||||
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
||||
|
||||
Index: dhcp-4.3.3-P1/configure.ac
|
||||
===================================================================
|
||||
--- dhcp-4.3.3-P1.orig/configure.ac
|
||||
+++ dhcp-4.3.3-P1/configure.ac
|
||||
@@ -33,7 +33,7 @@ if test "$GCC" = "yes"; then
|
||||
fi
|
||||
|
||||
# We can have some flags to pass to bind configure
|
||||
-BINDCONFIG=
|
||||
+BINDCONFIG="$BINDCONFIG"
|
||||
AC_SUBST(BINDCONFIG)
|
||||
|
||||
# POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
|
||||
@@ -43,6 +43,9 @@ AC_SUBST(BINDCONFIG)
|
||||
# Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
+AC_CHECK_TOOL(AR,ar)
|
||||
+AC_SUBST(AR)
|
||||
+
|
||||
AC_PROG_RANLIB
|
||||
AC_CONFIG_HEADERS([includes/config.h])
|
||||
|
24
package/dhcp/0002-bind-cross-compile.patch
Normal file
24
package/dhcp/0002-bind-cross-compile.patch
Normal file
@ -0,0 +1,24 @@
|
||||
bind cross compile support integration
|
||||
|
||||
Pass system types from dhcp configure to bind configure.
|
||||
|
||||
This patch is submitted upstream as part of a cross compiling enhancement
|
||||
suggestion to dhcp-suggest@isc.org. Reference ISC-Bugs #41502.
|
||||
|
||||
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
||||
|
||||
Index: dhcp-4.3.3-P1/bind/Makefile.in
|
||||
===================================================================
|
||||
--- dhcp-4.3.3-P1.orig/bind/Makefile.in
|
||||
+++ dhcp-4.3.3-P1/bind/Makefile.in
|
||||
@@ -30,7 +30,9 @@ bindconfig = --disable-kqueue --disable-
|
||||
--without-openssl --without-libxml2 --enable-exportlib \
|
||||
--with-gssapi=no --enable-threads=no @BINDCONFIG@ \
|
||||
--with-export-includedir=${binddir}/include \
|
||||
- --with-export-libdir=${binddir}/lib
|
||||
+ --with-export-libdir=${binddir}/lib \
|
||||
+ --target=@target_alias@ --host=@host_alias@ \
|
||||
+ --build=@build_alias@
|
||||
|
||||
@BIND_ATF_FALSE@cleandirs = ./lib ./include
|
||||
@BIND_ATF_TRUE@cleandirs = ./lib ./include ./atf
|
40
package/dhcp/0003-bind-host-cc.patch
Normal file
40
package/dhcp/0003-bind-host-cc.patch
Normal file
@ -0,0 +1,40 @@
|
||||
ensure host compiler is used
|
||||
|
||||
dns/Makefile.in patch is derived from:
|
||||
http://wiki.beyondlogic.org/patches/dhcp-4.3.0b1.bind_arm-linux-gnueabi.patch
|
||||
|
||||
This patch is already accepted upstream and will be included in the next
|
||||
release:
|
||||
--[snip]--
|
||||
From Francis Dupont via RT <dhcp-suggest@isc.org>
|
||||
To rdkehn@yahoo.com
|
||||
|
||||
Message body
|
||||
It was fixed on the master branch sometimes ago.
|
||||
Quoting master RELNOTES:
|
||||
|
||||
- Made the embedded bind libraries able to be cross compiled
|
||||
(please refer to the bind9 documentation to learn how to cross
|
||||
compile DHCP and its bind library dependency).
|
||||
[ISC-Bugs #38836]
|
||||
|
||||
This is in the Changes since 4.3.3 so for the next release.
|
||||
--[snip]--
|
||||
|
||||
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
|
||||
|
||||
Index: dhcp-4.3.3-P1/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in
|
||||
===================================================================
|
||||
--- dhcp-4.3.3-P1.orig/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in
|
||||
+++ dhcp-4.3.3-P1/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in
|
||||
@@ -168,7 +168,9 @@ code.h: gen
|
||||
./gen -s ${srcdir} > code.h
|
||||
|
||||
gen: ${srcdir}/gen.c
|
||||
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
|
||||
+ ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
|
||||
+ ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \
|
||||
+ ${BUILD_LIBS}
|
||||
|
||||
#We don't need rbtdb64 for this library
|
||||
#rbtdb64.@O@: rbtdb.c
|
@ -1,2 +1,2 @@
|
||||
# Verified from ftp://ftp.isc.org/isc/dhcp/4.1-ESV-R12/dhcp-4.1-ESV-R12.tar.gz.sha256.asc
|
||||
sha256 53265d1bf5e2073379df03c73a1a34d38a904307609c0f9cb77223912e753e5f dhcp-4.1-ESV-R12.tar.gz
|
||||
# Verified from https://ftp.isc.org/isc/dhcp/4.3.3-P1/dhcp-4.3.3-P1.tar.gz.sha256.asc
|
||||
sha256 c11e896dffa1bfbc49462965d3f6dec45534e34068603546d9a236f2aa669921 dhcp-4.3.3-P1.tar.gz
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DHCP_VERSION = 4.1-ESV-R12
|
||||
DHCP_VERSION = 4.3.3-P1
|
||||
DHCP_SITE = http://ftp.isc.org/isc/dhcp/$(DHCP_VERSION)
|
||||
DHCP_INSTALL_STAGING = YES
|
||||
DHCP_LICENSE = ISC
|
||||
@ -12,7 +12,8 @@ DHCP_LICENSE_FILES = LICENSE
|
||||
DHCP_CONF_ENV = \
|
||||
CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \
|
||||
-D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \
|
||||
ac_cv_file__dev_random=yes
|
||||
ac_cv_file__dev_random=yes \
|
||||
BINDCONFIG='--with-randomdev=/dev/random'
|
||||
DHCP_CONF_OPTS = \
|
||||
--with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \
|
||||
--with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \
|
||||
@ -25,6 +26,29 @@ DHCP_CONF_OPTS = \
|
||||
--with-relay-pid-file=/var/run/dhcrelay.pid \
|
||||
--with-relay6-pid-file=/var/run/dhcrelay6.pid
|
||||
|
||||
# The source for the bind libraries used by dhcp are embedded in the dhcp source
|
||||
# as a tar-ball. Extract the bind source to allow any patches to be applied
|
||||
# during the patch phase.
|
||||
define DHCP_EXTRACT_BIND
|
||||
cd $(@D)/bind; tar -xvf bind.tar.gz
|
||||
endef
|
||||
DHCP_POST_EXTRACT_HOOKS += DHCP_EXTRACT_BIND
|
||||
|
||||
# The patchset requires configure et.al. to be regenerated.
|
||||
DHCP_AUTORECONF = YES
|
||||
|
||||
# bind does not support parallel builds.
|
||||
DHCP_MAKE = $(MAKE1)
|
||||
|
||||
# bind configure is called via dhcp make instead of dhcp configure. The make env
|
||||
# needs extra values for bind configure.
|
||||
DHCP_MAKE_ENV = \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
BUILD_CC="$(HOSTCC)" \
|
||||
BUILD_CFLAGS="$(HOST_CFLAGS)" \
|
||||
BUILD_CPPFLAGS="$(HOST_CPPFLAGS)" \
|
||||
BUILD_LDFLAGS="$(HOST_LDFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y)
|
||||
DHCP_CONF_OPTS += --enable-delayed-ack
|
||||
endif
|
||||
|
2
package/dsp-tools/dsp-tools.hash
Normal file
2
package/dsp-tools/dsp-tools.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 734a1d5f21fb388bdbe64f7b599fef52357c3c72ff860f38456a352e7c1c3e78 dsp-tools-v2.0.tar.gz
|
@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DSP_TOOLS_VERSION = 2.0
|
||||
DSP_TOOLS_SITE = http://gst-dsp.googlecode.com/files
|
||||
DSP_TOOLS_VERSION = v2.0
|
||||
DSP_TOOLS_SITE = $(call github,felipec,dsp-tools,$(DSP_TOOLS_VERSION))
|
||||
DSP_TOOLS_DEPENDENCIES = tidsp-binaries
|
||||
DSP_TOOLS_LICENSE = LGPLv2.1
|
||||
DSP_TOOLS_LICENSE_FILES = LICENSE
|
||||
|
19
package/dt/0001-adjust-os-symlink.patch
Normal file
19
package/dt/0001-adjust-os-symlink.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Don't force build-dir-in-build-dir logic, symlink the os-specific SCSI
|
||||
support file in place.
|
||||
|
||||
Status: not suitable for upstream.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
|
||||
|
||||
diff -Nura Makefile.linux Makefile.linux
|
||||
--- a/Makefile.linux 2016-01-26 09:10:03.939963780 -0300
|
||||
+++ b/Makefile.linux 2016-01-26 09:10:27.140763863 -0300
|
||||
@@ -129,7 +129,7 @@
|
||||
echo "Please specify OS={aix,linux,hpux,solaris,windows}"; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
- ln -sf ../scsilib-$(OS).c scsilib.c
|
||||
+ ln -sf scsilib-$(OS).c scsilib.c
|
||||
|
||||
print:;
|
||||
@$(PRINTER) $(PRINTFLAGS) $(ALL_CFILES)
|
21
package/dt/Config.in
Normal file
21
package/dt/Config.in
Normal file
@ -0,0 +1,21 @@
|
||||
comment "dt needs a (e)glibc or uclibc toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
config BR2_PACKAGE_DT
|
||||
bool "dt"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
# Build fails because of several BSDisms
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
help
|
||||
dt is a generic data test program used to verify proper
|
||||
operation of peripherals, file systems, device drivers,
|
||||
or any data stream supported by the operating system.
|
||||
In its' simplest mode of operation, dt writes and then
|
||||
verifys its' default data pattern, then displays
|
||||
performance statisics and other test parameters
|
||||
before exiting. Since verification of data is performed,
|
||||
dt can be thought of as a generic diagnostic tool.
|
||||
|
||||
http://www.scsifaq.org/RMiller_Tools/dt.html
|
5
package/dt/dt.hash
Normal file
5
package/dt/dt.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# From http://pkgs.fedoraproject.org/repo/pkgs/dt/dt-source-v18.32.tar.gz
|
||||
# (directory name is md5 hash)
|
||||
md5 3054aeaaba047a1dbe90c2132a382ee2 dt-source-v18.32.tar.gz
|
||||
# Calculated based on the hash above
|
||||
sha256 10d164676e918a4d07f233bcd11e4cb6bfd1052c996182cd1827ccd0c063fcc6 dt-source-v18.32.tar.gz
|
39
package/dt/dt.mk
Normal file
39
package/dt/dt.mk
Normal file
@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# dt
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DT_VERSION = v18.32
|
||||
DT_SITE = http://pkgs.fedoraproject.org/repo/pkgs/dt/$(DT_SOURCE)/3054aeaaba047a1dbe90c2132a382ee2
|
||||
DT_SOURCE = dt-source-$(DT_VERSION).tar.gz
|
||||
DT_STRIP_COMPONENTS = 2
|
||||
DT_LICENSE = ISC-like
|
||||
DT_LICENSE_FILES = LICENSE
|
||||
|
||||
DT_CFLAGS = \
|
||||
-std=c99 \
|
||||
-DMMAP \
|
||||
-D__linux__ \
|
||||
-D_GNU_SOURCE \
|
||||
-D_FILE_OFFSET_BITS=64 \
|
||||
-DTHREADS \
|
||||
-DSCSI
|
||||
|
||||
# uClibc doesn't provide POSIX AIO
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
|
||||
DT_CFLAGS += -DAIO
|
||||
endif
|
||||
|
||||
define DT_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f Makefile.linux \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(DT_CFLAGS)" \
|
||||
OS=linux
|
||||
endef
|
||||
|
||||
define DT_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/dt $(TARGET_DIR)/usr/bin/dt
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
@ -1,22 +0,0 @@
|
||||
Description: remove make targets for deps
|
||||
Without this patch, dependencies would be downloaded and compiled
|
||||
using rebar at build time.
|
||||
Author: Philipp Huebner <debalance@debian.org>
|
||||
|
||||
Index: ejabberd/rebar.config.script
|
||||
===================================================================
|
||||
diff --git a/rebar.config.script b/rebar.config.script
|
||||
index 633433c..646a15a 100644
|
||||
--- a/rebar.config.script
|
||||
+++ b/rebar.config.script
|
||||
@@ -187,9 +187,7 @@ Config = [{erl_opts, Macros ++ HiPE ++ DebugInfo ++
|
||||
{xref_checks, []},
|
||||
{xref_queries,
|
||||
[{"(XC - UC) || (XU - X - B - "
|
||||
- ++ string:join(CfgXrefs, " - ") ++ ")", []}]},
|
||||
- {post_hooks, PostHooks ++ CfgPostHooks},
|
||||
- {deps, AllDeps}] ++ ElixirConfig,
|
||||
+ ++ string:join(CfgXrefs, " - ") ++ ")", []}]}],
|
||||
%%io:format("ejabberd configuration:~n ~p~n", [Config]),
|
||||
Config.
|
||||
|
76
package/ejabberd/0001-remove-make-targets-for-deps.patch
Normal file
76
package/ejabberd/0001-remove-make-targets-for-deps.patch
Normal file
@ -0,0 +1,76 @@
|
||||
From 21d1f05a8882657c151397d0e4723535402f1757 Mon Sep 17 00:00:00 2001
|
||||
From: Philipp Huebner <debalance@debian.org>
|
||||
Date: Wed, 20 Jan 2016 10:22:57 -0500
|
||||
Subject: [PATCH] remove make targets for deps
|
||||
|
||||
Without this patch, dependencies would be downloaded and compiled
|
||||
using rebar at build time.
|
||||
|
||||
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
|
||||
---
|
||||
Makefile.in | 26 +++-----------------------
|
||||
1 file changed, 3 insertions(+), 23 deletions(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 08cd837..2a6457c 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -77,26 +77,11 @@ else
|
||||
INIT_USER=$(INSTALLUSER)
|
||||
endif
|
||||
|
||||
-all: deps src
|
||||
+all: src
|
||||
|
||||
-deps: deps/.got
|
||||
-
|
||||
-deps/.got:
|
||||
- rm -rf deps/.got
|
||||
- rm -rf deps/.built
|
||||
- $(REBAR) get-deps && :> deps/.got
|
||||
-
|
||||
-deps/.built: deps/.got
|
||||
- $(REBAR) compile && :> deps/.built
|
||||
-
|
||||
-src: deps/.built
|
||||
+src:
|
||||
$(REBAR) skip_deps=true compile
|
||||
|
||||
-update:
|
||||
- rm -rf deps/.got
|
||||
- rm -rf deps/.built
|
||||
- $(REBAR) update-deps && :> deps/.got
|
||||
-
|
||||
xref: all
|
||||
$(REBAR) skip_deps=true xref
|
||||
|
||||
@@ -152,16 +137,13 @@ $(foreach file,$(DEPS_FILES_FILTERED) $(MAIN_FILES),$(eval $(call COPY_template,
|
||||
$(sort $(call TO_DEST,$(MAIN_DIRS) $(DEPS_DIRS))):
|
||||
$(INSTALL) -d $@
|
||||
|
||||
-$(call TO_DEST,deps/p1_pam/priv/bin/epam): $(LIBDIR)/%: deps/p1_pam/priv/bin/epam $(call TO_DEST,deps/p1_pam/priv/bin/)
|
||||
- $(INSTALL) -m 750 $(O_USER) $< $@
|
||||
-
|
||||
$(call TO_DEST,priv/sql/lite.sql): sql/lite.sql $(call TO_DEST,priv/sql)
|
||||
$(INSTALL) -m 644 $< $@
|
||||
|
||||
$(call TO_DEST,priv/bin/captcha.sh): tools/captcha.sh $(call TO_DEST,priv/bin)
|
||||
$(INSTALL) -m 750 $(O_USER) $< $@
|
||||
|
||||
-copy-files-sub2: $(call TO_DEST,$(DEPS_FILES) $(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql)
|
||||
+copy-files-sub2: $(call TO_DEST,$(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql)
|
||||
|
||||
endif
|
||||
|
||||
@@ -287,8 +269,6 @@ TAGS:
|
||||
|
||||
Makefile: Makefile.in
|
||||
|
||||
-deps := $(wildcard deps/*/ebin)
|
||||
-
|
||||
dialyzer/erlang.plt:
|
||||
@mkdir -p dialyzer
|
||||
@dialyzer --build_plt --output_plt dialyzer/erlang.plt \
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,76 +0,0 @@
|
||||
Description: remove make targets for deps
|
||||
Without this patch, dependencies would be downloaded and compiled
|
||||
using rebar at build time.
|
||||
Author: Philipp Huebner <debalance@debian.org>
|
||||
|
||||
Index: ejabberd/Makefile.in
|
||||
===================================================================
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 8dd6bf5..b9d783a 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -77,26 +77,11 @@ else
|
||||
INIT_USER=$(INSTALLUSER)
|
||||
endif
|
||||
|
||||
-all: deps src
|
||||
+all: src
|
||||
|
||||
-deps: deps/.got
|
||||
-
|
||||
-deps/.got:
|
||||
- rm -rf deps/.got
|
||||
- rm -rf deps/.built
|
||||
- $(REBAR) get-deps && :> deps/.got
|
||||
-
|
||||
-deps/.built: deps/.got
|
||||
- $(REBAR) compile && :> deps/.built
|
||||
-
|
||||
-src: deps/.built
|
||||
+src:
|
||||
$(REBAR) skip_deps=true compile
|
||||
|
||||
-update:
|
||||
- rm -rf deps/.got
|
||||
- rm -rf deps/.built
|
||||
- $(REBAR) update-deps && :> deps/.got
|
||||
-
|
||||
xref: all
|
||||
$(REBAR) skip_deps=true xref
|
||||
|
||||
@@ -129,13 +114,10 @@ endef
|
||||
|
||||
$(foreach file,$(DEPS_FILES_FILTERED) $(MAIN_FILES),$(eval $(call COPY_template,$(file))))
|
||||
|
||||
-$(call TO_DEST,$(MAIN_DIRS) $(DEPS_DIRS)):
|
||||
+$(call TO_DEST,$(MAIN_DIRS)):
|
||||
$(INSTALL) -d $@
|
||||
|
||||
-$(call TO_DEST,deps/p1_pam/priv/bin/epam): $(LIBDIR)/%: deps/% $(call TO_DEST,deps/p1_pam/priv/bin/)
|
||||
- $(INSTALL) -m 750 $(O_USER) $< $@
|
||||
-
|
||||
-copy-files: $(call TO_DEST,$(DEPS_FILES) $(MAIN_FILES))
|
||||
+copy-files: $(call TO_DEST,$(MAIN_FILES))
|
||||
|
||||
install: all copy-files
|
||||
#
|
||||
@@ -172,10 +154,6 @@ install: all copy-files
|
||||
-e "s*@installuser@*$(INIT_USER)*" ejabberd.init.template \
|
||||
> ejabberd.init
|
||||
chmod 755 ejabberd.init
|
||||
- # Install Elixir and Elixir dependancies
|
||||
- -$(INSTALL) -m 644 deps/*/lib/*/ebin/*.app $(BEAMDIR)
|
||||
- -$(INSTALL) -m 644 deps/*/lib/*/ebin/*.beam $(BEAMDIR)
|
||||
- rm -f $(BEAMDIR)/configure.beam
|
||||
#
|
||||
# Binary C programs
|
||||
$(INSTALL) -d $(PBINDIR)
|
||||
@@ -266,8 +244,6 @@ TAGS:
|
||||
|
||||
Makefile: Makefile.in
|
||||
|
||||
-deps := $(wildcard deps/*/ebin)
|
||||
-
|
||||
dialyzer/erlang.plt:
|
||||
@mkdir -p dialyzer
|
||||
@dialyzer --build_plt --output_plt dialyzer/erlang.plt \
|
@ -0,0 +1,85 @@
|
||||
From d399ecdd99e62b5554210a3b5c733e738e4d54be Mon Sep 17 00:00:00 2001
|
||||
From: Philipp Huebner <debalance@debian.org>
|
||||
Date: Wed, 20 Jan 2016 08:08:42 -0500
|
||||
Subject: [PATCH] remove dependencies from rebar config
|
||||
|
||||
Without this patch, dependencies would be downloaded and compiled
|
||||
by rebar at build time.
|
||||
|
||||
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
|
||||
---
|
||||
rebar.config | 51 ---------------------------------------------------
|
||||
1 file changed, 51 deletions(-)
|
||||
|
||||
diff --git a/rebar.config b/rebar.config
|
||||
index 30c0360..d6a5b4d 100644
|
||||
--- a/rebar.config
|
||||
+++ b/rebar.config
|
||||
@@ -7,48 +7,6 @@
|
||||
%%% Created : 1 May 2013 by Evgeniy Khramtsov <ekhramtsov@process-one.net>
|
||||
%%%-------------------------------------------------------------------
|
||||
|
||||
-{deps, [{if_var_true, lager, {lager, ".*", {git, "https://github.com/basho/lager", {tag, "3.0.2"}}}},
|
||||
- {if_var_false, lager, {p1_logger, ".*", {git, "https://github.com/processone/p1_logger", {tag, "1.0.0"}}}},
|
||||
- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.2"}}},
|
||||
- {cache_tab, ".*", {git, "https://github.com/processone/cache_tab", {tag, "1.0.1"}}},
|
||||
- {p1_tls, ".*", {git, "https://github.com/processone/tls", {tag, "1.0.0"}}},
|
||||
- {p1_stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.0"}}},
|
||||
- {p1_xml, ".*", {git, "https://github.com/processone/xml", {tag, "1.1.1"}}},
|
||||
- {p1_stun, ".*", {git, "https://github.com/processone/stun", "0.9.0"}},
|
||||
- {esip, ".*", {git, "https://github.com/processone/p1_sip", "1.0.0"}},
|
||||
- {p1_yaml, ".*", {git, "https://github.com/processone/p1_yaml", {tag, "1.0.0"}}},
|
||||
- {jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "0.14.5"}}},
|
||||
- {oauth2, ".*", {git, "https://github.com/kivra/oauth2", "8d129fbf8866930b4ffa6dd84e65bd2b32b9acb8"}},
|
||||
- {xmlrpc, ".*", {git, "https://github.com/rds13/xmlrpc", {tag, "1.15"}}},
|
||||
- {if_var_true, mysql, {p1_mysql, ".*", {git, "https://github.com/processone/mysql", {tag, "1.0.0"}}}},
|
||||
- {if_var_true, pgsql, {p1_pgsql, ".*", {git, "https://github.com/processone/pgsql", {tag, "1.0.0"}}}},
|
||||
- {if_var_true, sqlite, {sqlite3, ".*", {git, "https://github.com/alexeyr/erlang-sqlite3", "cbc3505f7a131254265d3ef56191b2581b8cc172"}}},
|
||||
- {if_var_true, pam, {p1_pam, ".*", {git, "https://github.com/processone/epam", {tag, "1.0.0"}}}},
|
||||
- {if_var_true, zlib, {p1_zlib, ".*", {git, "https://github.com/processone/zlib", {tag, "1.0.0"}}}},
|
||||
- {if_var_true, riak, {hamcrest, ".*", {git, "https://github.com/hyperthunk/hamcrest-erlang", "908a24fda4a46776a5135db60ca071e3d783f9f6"}}}, % for riak_pb-2.1.0.7
|
||||
- {if_var_true, riak, {riakc, ".*", {git, "https://github.com/basho/riak-erlang-client", "527722d12d0433b837cdb92a60900c2cb5df8942"}}},
|
||||
- {if_var_true, elixir, {elixir, ".*", {git, "https://github.com/elixir-lang/elixir", {tag, "v1.1.0"}}}},
|
||||
- {if_var_true, elixir, {rebar_elixir_plugin, ".*", {git, "https://github.com/processone/rebar_elixir_plugin", "0.1.0"}}},
|
||||
- {if_var_true, iconv, {p1_iconv, ".*", {git, "https://github.com/processone/eiconv", {tag, "0.9.0"}}}},
|
||||
- {if_var_true, tools, {meck, "0.8.2", {git, "https://github.com/eproxus/meck", {tag, "0.8.2"}}}},
|
||||
- {if_var_true, redis, {eredis, ".*", {git, "https://github.com/wooga/eredis", {tag, "v1.0.8"}}}}]}.
|
||||
-
|
||||
-{if_var_true, latest_deps,
|
||||
- {floating_deps, [p1_logger,
|
||||
- cache_tab,
|
||||
- p1_tls,
|
||||
- p1_stringprep,
|
||||
- p1_xml,
|
||||
- esip,
|
||||
- p1_stun,
|
||||
- p1_yaml,
|
||||
- p1_utils,
|
||||
- p1_mysql,
|
||||
- p1_pgsql,
|
||||
- p1_pam,
|
||||
- p1_zlib,
|
||||
- p1_iconv]}}.
|
||||
-
|
||||
{erl_opts, [nowarn_deprecated_function,
|
||||
{if_var_true, roster_gateway_workaround, {d, 'ROSTER_GATWAY_WORKAROUND'}},
|
||||
{if_var_match, db_type, mssql, {d, 'mssql'}},
|
||||
@@ -92,15 +50,6 @@
|
||||
|
||||
{eunit_compile_opts, [{i, "tools"}]}.
|
||||
|
||||
-{post_hook_configure, [{"p1_tls", []},
|
||||
- {"p1_stringprep", []},
|
||||
- {"p1_yaml", []},
|
||||
- {"esip", []},
|
||||
- {"p1_xml", [{if_var_true, full_xml, "--enable-full-xml"}]},
|
||||
- {if_var_true, pam, {"p1_pam", []}},
|
||||
- {if_var_true, zlib, {"p1_zlib", []}},
|
||||
- {if_var_true, iconv, {"p1_iconv", []}}]}.
|
||||
-
|
||||
{port_env, [{"CFLAGS", "-g -O2 -Wall"}]}.
|
||||
|
||||
{port_specs, [{"priv/lib/jid.so", ["c_src/jid.c"]}]}.
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,27 +0,0 @@
|
||||
Description: remove testing with MySQL and PostgreSQL
|
||||
Without this patch a test would be initiated after building ejabberd that
|
||||
requires specially configured instances of MySQL and PostgreSQL to be up
|
||||
and running.
|
||||
Author: Philipp Huebner <debalance@debian.org>
|
||||
|
||||
Index: ejabberd/Makefile.in
|
||||
===================================================================
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index ffd1d30..835d611 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -306,14 +306,8 @@ dialyzer: erlang_plt deps_plt ejabberd_plt
|
||||
status=$$? ; if [ $$status -ne 2 ]; then exit $$status; else exit 0; fi
|
||||
|
||||
test:
|
||||
- @echo "************************** NOTICE ***************************************"
|
||||
- @cat test/README
|
||||
- @echo "*************************************************************************"
|
||||
- @cd priv && ln -sf ../sql
|
||||
- $(REBAR) skip_deps=true ct
|
||||
|
||||
quicktest:
|
||||
- $(REBAR) skip_deps=true ct suites=elixir
|
||||
|
||||
.PHONY: src edoc dialyzer Makefile TAGS clean clean-rel distclean rel \
|
||||
install uninstall uninstall-binary uninstall-all translations deps test spec \
|
30
package/ejabberd/0003-remove-checking-erlang-version.patch
Normal file
30
package/ejabberd/0003-remove-checking-erlang-version.patch
Normal file
@ -0,0 +1,30 @@
|
||||
From f384518dedec4ad657ad69d55754076c13c22d96 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
Date: Wed, 20 Jan 2016 08:11:32 -0500
|
||||
Subject: [PATCH] remove checking erlang version
|
||||
|
||||
Without this patch, the configure will try to run erlang to simply check
|
||||
if the version is supported by ejabberd. Instead, we do this test
|
||||
statically.
|
||||
---
|
||||
configure.ac | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 97e89a2..cd1ab08 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -39,10 +39,8 @@ AC_ARG_ENABLE(erlang-version-check,
|
||||
[Check Erlang/OTP version @<:@default=yes@:>@])])
|
||||
case "$enable_erlang_version_check" in
|
||||
yes|'')
|
||||
- ERLANG_VERSION_CHECK([$REQUIRE_ERLANG_MIN],[$REQUIRE_ERLANG_MAX])
|
||||
;;
|
||||
no)
|
||||
- ERLANG_VERSION_CHECK([$REQUIRE_ERLANG_MIN],[$REQUIRE_ERLANG_MAX],[warn])
|
||||
;;
|
||||
esac
|
||||
|
||||
--
|
||||
2.5.0
|
||||
|
56
package/ejabberd/0004-correct-include.patch
Normal file
56
package/ejabberd/0004-correct-include.patch
Normal file
@ -0,0 +1,56 @@
|
||||
From 705a9ad229de49cd9cce226a2025716902455663 Mon Sep 17 00:00:00 2001
|
||||
From: Philipp Huebner <debalance@debian.org>
|
||||
Date: Wed, 20 Jan 2016 08:13:21 -0500
|
||||
Subject: [PATCH] correct include
|
||||
|
||||
This part of the code was moved into it's own project and was packaged
|
||||
separately by me. To make the build process work, this small fix is
|
||||
necessary.
|
||||
---
|
||||
src/mod_sip.erl | 2 +-
|
||||
src/mod_sip_proxy.erl | 2 +-
|
||||
src/mod_sip_registrar.erl | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/mod_sip.erl b/src/mod_sip.erl
|
||||
index c8c9533..7f188a0 100644
|
||||
--- a/src/mod_sip.erl
|
||||
+++ b/src/mod_sip.erl
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
-include("ejabberd.hrl").
|
||||
-include("logger.hrl").
|
||||
--include_lib("esip/include/esip.hrl").
|
||||
+-include_lib("p1_sip/include/esip.hrl").
|
||||
|
||||
%%%===================================================================
|
||||
%%% API
|
||||
diff --git a/src/mod_sip_proxy.erl b/src/mod_sip_proxy.erl
|
||||
index bf297bc..d8b65cd 100644
|
||||
--- a/src/mod_sip_proxy.erl
|
||||
+++ b/src/mod_sip_proxy.erl
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
-include("ejabberd.hrl").
|
||||
-include("logger.hrl").
|
||||
--include_lib("esip/include/esip.hrl").
|
||||
+-include_lib("p1_sip/include/esip.hrl").
|
||||
|
||||
-define(SIGN_LIFETIME, 300). %% in seconds.
|
||||
|
||||
diff --git a/src/mod_sip_registrar.erl b/src/mod_sip_registrar.erl
|
||||
index 44091ed..4d2ec82 100644
|
||||
--- a/src/mod_sip_registrar.erl
|
||||
+++ b/src/mod_sip_registrar.erl
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
-include("ejabberd.hrl").
|
||||
-include("logger.hrl").
|
||||
--include_lib("esip/include/esip.hrl").
|
||||
+-include_lib("p1_sip/include/esip.hrl").
|
||||
|
||||
-define(CALL_TIMEOUT, timer:seconds(30)).
|
||||
-define(DEFAULT_EXPIRES, 3600).
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,20 +0,0 @@
|
||||
Description: remove checking erlang version
|
||||
Without this patch, the configure will try to run erlang to simply check if
|
||||
the version is supported by ejabberd. Instead, we do this test statically.
|
||||
Author: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
|
||||
Index: ejabberd/configure.ac
|
||||
===================================================================
|
||||
--- ejabberd.orig/configure.ac 2014-10-20 11:04:14.751256865 +0200
|
||||
+++ ejabberd/configure.ac 2014-10-20 11:03:47.983578623 +0200
|
||||
@@ -37,10 +37,8 @@ AC_ARG_ENABLE(erlang-version-check,
|
||||
[Check Erlang/OTP version @<:@default=yes@:>@])])
|
||||
case "$enable_erlang_version_check" in
|
||||
yes|'')
|
||||
- ERLANG_VERSION_CHECK([$REQUIRE_ERLANG_MIN],[$REQUIRE_ERLANG_MAX])
|
||||
;;
|
||||
no)
|
||||
- ERLANG_VERSION_CHECK([$REQUIRE_ERLANG_MIN],[$REQUIRE_ERLANG_MAX],[warn])
|
||||
;;
|
||||
esac
|
||||
|
27
package/ejabberd/0005-disable-ERLANG_DEPRECATED_CHECK.patch
Normal file
27
package/ejabberd/0005-disable-ERLANG_DEPRECATED_CHECK.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From d43a65b112ec995a5ee52aca2a16e5cf9699d7c1 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
Date: Wed, 20 Jan 2016 08:16:26 -0500
|
||||
Subject: [PATCH] disable ERLANG_DEPRECATED_CHECK
|
||||
|
||||
Without this patch, the configure will try to execute erlang to check
|
||||
if it uses deprecated types. Assume the answer is false.
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index cd1ab08..a4f1533 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -235,7 +235,7 @@ if test "$ENABLEUSER" != ""; then
|
||||
AC_SUBST([INSTALLUSER], [$ENABLEUSER])
|
||||
fi
|
||||
|
||||
-ERLANG_DEPRECATED_TYPES_CHECK
|
||||
+AC_SUBST(erlang_deprecated_types, false)
|
||||
|
||||
if test "$sqlite" = "true"; then
|
||||
AX_LIB_SQLITE3([3.6.19])
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,45 +0,0 @@
|
||||
Description: correct include
|
||||
This part of the code was moved into it's own project and was packaged
|
||||
separately by me. To make the build process work, this small fix is
|
||||
necessary.
|
||||
Author: Philipp Huebner <debalance@debian.org>
|
||||
|
||||
Index: ejabberd/src/mod_sip_proxy.erl
|
||||
===================================================================
|
||||
--- ejabberd.orig/src/mod_sip_proxy.erl
|
||||
+++ ejabberd/src/mod_sip_proxy.erl
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
-include("ejabberd.hrl").
|
||||
-include("logger.hrl").
|
||||
--include_lib("esip/include/esip.hrl").
|
||||
+-include_lib("p1_sip/include/esip.hrl").
|
||||
|
||||
-define(SIGN_LIFETIME, 300). %% in seconds.
|
||||
|
||||
Index: ejabberd/src/mod_sip.erl
|
||||
===================================================================
|
||||
--- ejabberd.orig/src/mod_sip.erl
|
||||
+++ ejabberd/src/mod_sip.erl
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
-include("ejabberd.hrl").
|
||||
-include("logger.hrl").
|
||||
--include_lib("esip/include/esip.hrl").
|
||||
+-include_lib("p1_sip/include/esip.hrl").
|
||||
|
||||
%%%===================================================================
|
||||
%%% API
|
||||
Index: ejabberd/src/mod_sip_registrar.erl
|
||||
===================================================================
|
||||
--- ejabberd.orig/src/mod_sip_registrar.erl
|
||||
+++ ejabberd/src/mod_sip_registrar.erl
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
-include("ejabberd.hrl").
|
||||
-include("logger.hrl").
|
||||
--include_lib("esip/include/esip.hrl").
|
||||
+-include_lib("p1_sip/include/esip.hrl").
|
||||
|
||||
-define(CALL_TIMEOUT, timer:seconds(30)).
|
||||
-define(DEFAULT_EXPIRES, 3600).
|
@ -1,20 +0,0 @@
|
||||
Description: disable ERLANG_DEPRECATED_CHECK
|
||||
Without this patch, the configure will try to execute erlang to check
|
||||
if it uses deprecated types. Assume the answer is false.
|
||||
Author: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
|
||||
Index: ejabberd/configure.ac
|
||||
====================================================================
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6ae0a24..e5498df 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -252,7 +252,7 @@ if test "$ENABLEUSER" != ""; then
|
||||
AC_SUBST([INSTALLUSER], [$ENABLEUSER])
|
||||
fi
|
||||
|
||||
-ERLANG_DEPRECATED_TYPES_CHECK
|
||||
+AC_SUBST(erlang_deprecated_types, false)
|
||||
|
||||
if test "$sqlite" = "true"; then
|
||||
AX_LIB_SQLITE3([3.6.19])
|
@ -1,16 +1,22 @@
|
||||
Description: fix install permissions
|
||||
Without this patch, the makefile will try to install directories and
|
||||
files with incompatible permissions for ejabberd, which run as an
|
||||
ejabberd user.
|
||||
Author: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
From ef847479778cc58818e066b87aa1789ba1c4148b Mon Sep 17 00:00:00 2001
|
||||
From: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
Date: Wed, 20 Jan 2016 09:34:07 -0500
|
||||
Subject: [PATCH] fix install permissions
|
||||
|
||||
Without this patch, the makefile will try to install directories and
|
||||
files with incompatible permissions for ejabberd, which run as an
|
||||
ejabberd user.
|
||||
|
||||
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
|
||||
---
|
||||
Makefile.in | 38 +++++---------------------------------
|
||||
1 file changed, 5 insertions(+), 33 deletions(-)
|
||||
|
||||
Index: ejabberd/Makefile.in
|
||||
===================================================================
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index b9d783a..6ec805a 100644
|
||||
index 2a6457c..0be4c50 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -122,10 +122,8 @@ copy-files: $(call TO_DEST,$(MAIN_FILES))
|
||||
@@ -155,10 +155,8 @@ copy-files-sub: copy-files-sub2
|
||||
install: all copy-files
|
||||
#
|
||||
# Configuration files
|
||||
@ -23,7 +29,7 @@ index b9d783a..6ec805a 100644
|
||||
$(SED) -e "s*{{rootdir}}*@prefix@*" \
|
||||
-e "s*{{installuser}}*@INSTALLUSER@*" \
|
||||
-e "s*{{bindir}}*@bindir@*" \
|
||||
@@ -135,14 +133,11 @@ install: all copy-files
|
||||
@@ -168,14 +166,11 @@ install: all copy-files
|
||||
-e "s*{{docdir}}*@docdir@*" \
|
||||
-e "s*{{erl}}*@ERL@*" ejabberdctl.template \
|
||||
> ejabberdctl.example
|
||||
@ -41,16 +47,10 @@ index b9d783a..6ec805a 100644
|
||||
# Elixir binaries
|
||||
[ -d $(BINDIR) ] || $(INSTALL) -d -m 755 $(BINDIR)
|
||||
[ -f deps/elixir/bin/iex ] && $(INSTALL) -m 550 $(G_USER) deps/elixir/bin/iex $(BINDIR)/iex || true
|
||||
@@ -157,34 +152,11 @@ install: all copy-files
|
||||
#
|
||||
# Binary C programs
|
||||
$(INSTALL) -d $(PBINDIR)
|
||||
- $(INSTALL) -m 750 $(O_USER) tools/captcha.sh $(PBINDIR)
|
||||
+ $(INSTALL) tools/captcha.sh $(PBINDIR)
|
||||
#
|
||||
# Copy lite.sql
|
||||
[ -d deps/sqlite3 ] && $(INSTALL) -d $(SQLDIR) || true
|
||||
[ -d deps/sqlite3 ] && $(INSTALL) -m 644 sql/lite.sql $(SQLDIR) || true
|
||||
@@ -187,29 +182,6 @@ install: all copy-files
|
||||
-e "s*@installuser@*$(INIT_USER)*" ejabberd.init.template \
|
||||
> ejabberd.init
|
||||
chmod 755 ejabberd.init
|
||||
- #
|
||||
- # Spool directory
|
||||
- $(INSTALL) -d -m 750 $(O_USER) $(SPOOLDIR)
|
||||
@ -77,3 +77,6 @@ index b9d783a..6ec805a 100644
|
||||
|
||||
uninstall: uninstall-binary
|
||||
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,12 +1,18 @@
|
||||
Description: fix ejabberdctl
|
||||
Change default values so ejabberdctl run commands as ejabberd user
|
||||
Also add a way for the user to change default values.
|
||||
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
From 53d7d654026afa163a55b860e33c6901129e8dc1 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
Date: Wed, 20 Jan 2016 09:35:07 -0500
|
||||
Subject: [PATCH] fix ejabberdctl
|
||||
|
||||
Change default values so ejabberdctl run commands as ejabberd user
|
||||
Also add a way for the user to change default values.
|
||||
|
||||
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
---
|
||||
ejabberdctl.template | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: ejabberd/ejabberdctl.template
|
||||
===================================================================
|
||||
diff --git a/ejabberdctl.template b/ejabberdctl.template
|
||||
index c7d76ef..a7afce1 100755
|
||||
index f65c21f..ff9225f 100755
|
||||
--- a/ejabberdctl.template
|
||||
+++ b/ejabberdctl.template
|
||||
@@ -14,9 +14,12 @@ SCRIPT_DIR=`cd ${0%/*} && pwd`
|
||||
@ -23,3 +29,6 @@ index c7d76ef..a7afce1 100755
|
||||
# check the proper system user is used if defined
|
||||
if [ "$INSTALLUSER" != "" ] ; then
|
||||
EXEC_CMD="false"
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_EJABBERD
|
||||
bool "ejabberd"
|
||||
depends on BR2_PACKAGE_ERLANG
|
||||
depends on BR2_INSTALL_LIBSTDCPP # stringprep
|
||||
select BR2_PACKAGE_ERLANG_LAGER
|
||||
select BR2_PACKAGE_ERLANG_P1_CACHE_TAB
|
||||
select BR2_PACKAGE_ERLANG_P1_ICONV
|
||||
@ -18,5 +19,5 @@ config BR2_PACKAGE_EJABBERD
|
||||
|
||||
http://www.ejabberd.im
|
||||
|
||||
comment "ejabberd needs erlang"
|
||||
depends on !BR2_PACKAGE_ERLANG
|
||||
comment "ejabberd needs erlang, toolchain w/ C++"
|
||||
depends on !BR2_PACKAGE_ERLANG || !BR2_INSTALL_LIBSTDCPP
|
||||
|
@ -1,4 +1,4 @@
|
||||
# From https://www.process-one.net/downloads/ejabberd/15.11/ejabberd-15.11.tgz.md5
|
||||
md5 a6997b88d44c5a5acff45bb1d938d0f3 ejabberd-15.11.tgz
|
||||
# From https://www.process-one.net/downloads/ejabberd/15.11/ejabberd-16.01.tgz.md5
|
||||
md5 5e525c25c8f04287217b8a9522d7c942 ejabberd-16.01.tgz
|
||||
# Locally computed
|
||||
sha256 01044b5a25f9f8dda8c60726698bd27d650751b810e5bfa23f9bb49ba20e946a ejabberd-15.11.tgz
|
||||
sha256 e2cc479d5870539b2e6756690b227969c88a541d464d1fc6e1cbf7270ad7d681 ejabberd-16.01.tgz
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EJABBERD_VERSION = 15.11
|
||||
EJABBERD_VERSION = 16.01
|
||||
EJABBERD_SOURCE = ejabberd-$(EJABBERD_VERSION).tgz
|
||||
EJABBERD_SITE = https://www.process-one.net/downloads/ejabberd/$(EJABBERD_VERSION)
|
||||
EJABBERD_LICENSE = GPLv2+ with OpenSSL exception
|
||||
@ -13,6 +13,7 @@ EJABBERD_DEPENDENCIES = getent openssl host-erlang-lager erlang-lager \
|
||||
erlang-p1-cache-tab erlang-p1-iconv erlang-p1-sip \
|
||||
erlang-p1-stringprep erlang-p1-xml erlang-p1-yaml erlang-p1-zlib
|
||||
|
||||
# 0001-remove-make-targets-for-deps.patch updates Makefile.in
|
||||
EJABBERD_USE_AUTOCONF = YES
|
||||
EJABBERD_AUTORECONF = YES
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_GOLDRUSH_VERSION = 0.1.6
|
||||
ERLANG_GOLDRUSH_VERSION = 0.1.8
|
||||
ERLANG_GOLDRUSH_SITE = $(call github,DeadZen,goldrush,$(ERLANG_GOLDRUSH_VERSION))
|
||||
ERLANG_GOLDRUSH_LICENSE = ISC
|
||||
ERLANG_GOLDRUSH_LICENSE_FILES = LICENSE
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_LAGER_VERSION = 2.0.3
|
||||
ERLANG_LAGER_VERSION = 2.2.0
|
||||
ERLANG_LAGER_SITE = $(call github,basho,lager,$(ERLANG_LAGER_VERSION))
|
||||
ERLANG_LAGER_LICENSE = Apache-2.0
|
||||
ERLANG_LAGER_LICENSE_FILES = LICENSE
|
||||
|
@ -4,10 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_CACHE_TAB_VERSION = f7ea12b
|
||||
ERLANG_P1_CACHE_TAB_VERSION = 1.0.1
|
||||
ERLANG_P1_CACHE_TAB_SITE = $(call github,processone,cache_tab,$(ERLANG_P1_CACHE_TAB_VERSION))
|
||||
ERLANG_P1_CACHE_TAB_LICENSE = GPLv2+
|
||||
ERLANG_P1_CACHE_TAB_LICENSE_FILES = COPYING
|
||||
ERLANG_P1_CACHE_TAB_LICENSE = Apache-2.0
|
||||
ERLANG_P1_CACHE_TAB_LICENSE_FILES = LICENSE.txt
|
||||
ERLANG_P1_CACHE_TAB_DEPENDENCIES = erlang-p1-utils
|
||||
|
||||
$(eval $(rebar-package))
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_ICONV_VERSION = dff5ee5
|
||||
ERLANG_P1_ICONV_VERSION = 0.9.0
|
||||
ERLANG_P1_ICONV_SITE = $(call github,processone,eiconv,$(ERLANG_P1_ICONV_VERSION))
|
||||
ERLANG_P1_ICONV_LICENSE = GPLv2+
|
||||
ERLANG_P1_ICONV_LICENSE_FILES = COPYING
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_SIP_VERSION = fd3e461
|
||||
ERLANG_P1_SIP_VERSION = 1.0.0
|
||||
ERLANG_P1_SIP_SITE = $(call github,processone,p1_sip,$(ERLANG_P1_SIP_VERSION))
|
||||
ERLANG_P1_SIP_LICENSE = GPLv2 with OpenSSL exception
|
||||
ERLANG_P1_SIP_LICENSE_FILES = COPYING
|
||||
|
@ -1,5 +1,9 @@
|
||||
comment "erlang-p1-stringprep needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_ERLANG_P1_STRINGPREP
|
||||
bool "erlang-p1-stringprep"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Erlang interface to stringprep
|
||||
|
||||
|
@ -4,9 +4,9 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_STRINGPREP_VERSION = 3c64023
|
||||
ERLANG_P1_STRINGPREP_VERSION = 1.0.0
|
||||
ERLANG_P1_STRINGPREP_SITE = $(call github,processone,stringprep,$(ERLANG_P1_STRINGPREP_VERSION))
|
||||
ERLANG_P1_STRINGPREP_LICENSE = TCL
|
||||
ERLANG_P1_STRINGPREP_LICENSE_FILES = LICENSE.TCL
|
||||
ERLANG_P1_STRINGPREP_LICENSE = TCL (tools/*.tcl), Apache-2.0 (rest)
|
||||
ERLANG_P1_STRINGPREP_LICENSE_FILES = LICENSE.ALL LICENSE.TCL LICENSE.txt
|
||||
|
||||
$(eval $(rebar-package))
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_STUN_VERSION = a3dce07
|
||||
ERLANG_P1_STUN_VERSION = 0.9.0
|
||||
ERLANG_P1_STUN_SITE = $(call github,processone,stun,$(ERLANG_P1_STUN_VERSION))
|
||||
ERLANG_P1_STUN_LICENSE = GPLv2+
|
||||
ERLANG_P1_STUN_LICENSE_FILES = COPYING
|
||||
|
@ -4,9 +4,9 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_TLS_VERSION = b070004
|
||||
ERLANG_P1_TLS_VERSION = 1.0.0
|
||||
ERLANG_P1_TLS_SITE = $(call github,processone,tls,$(ERLANG_P1_TLS_VERSION))
|
||||
ERLANG_P1_TLS_LICENSE = GPLv2+
|
||||
ERLANG_P1_TLS_LICENSE = GPLv2+ with OpenSSL exception
|
||||
ERLANG_P1_TLS_LICENSE_FILES = COPYING
|
||||
ERLANG_P1_TLS_INSTALL_STAGING = YES
|
||||
ERLANG_P1_TLS_DEPENDENCIES = openssl
|
||||
|
@ -4,10 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_UTILS_VERSION = 1bf99f9
|
||||
ERLANG_P1_UTILS_VERSION = 1.0.3
|
||||
ERLANG_P1_UTILS_SITE = $(call github,processone,p1_utils,$(ERLANG_P1_UTILS_VERSION))
|
||||
ERLANG_P1_UTILS_LICENSE = GPLv2+
|
||||
ERLANG_P1_UTILS_LICENSE_FILES = COPYING
|
||||
ERLANG_P1_UTILS_LICENSE_FILES = LICENSE.txt
|
||||
ERLANG_P1_UTILS_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(rebar-package))
|
||||
|
@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_ERLANG_P1_XML
|
||||
bool "erlang-p1-xml"
|
||||
select BR2_PACKAGE_ERLANG_P1_UTILS
|
||||
select BR2_PACKAGE_EXPAT
|
||||
help
|
||||
XML utilities for Erlang
|
||||
|
@ -4,11 +4,11 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_XML_VERSION = 2c61083
|
||||
ERLANG_P1_XML_VERSION = 1.1.1
|
||||
ERLANG_P1_XML_SITE = $(call github,processone,xml,$(ERLANG_P1_XML_VERSION))
|
||||
ERLANG_P1_XML_LICENSE = GPLv2+
|
||||
ERLANG_P1_XML_LICENSE_FILES = COPYING
|
||||
ERLANG_P1_XML_DEPENDENCIES = expat
|
||||
ERLANG_P1_XML_LICENSE = Apache-2.0
|
||||
ERLANG_P1_XML_LICENSE_FILES = LICENSE.txt
|
||||
ERLANG_P1_XML_DEPENDENCIES = expat erlang-p1-utils
|
||||
ERLANG_P1_XML_INSTALL_STAGING = YES
|
||||
|
||||
ERLANG_P1_XML_USE_AUTOCONF = YES
|
||||
|
@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_ERLANG_P1_YAML
|
||||
bool "erlang-p1-yaml"
|
||||
select BR2_PACKAGE_ERLANG_P1_UTILS
|
||||
select BR2_PACKAGE_LIBYAML
|
||||
help
|
||||
Erlang wrapper for libyaml C library
|
||||
|
@ -4,10 +4,10 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_YAML_VERSION = e1f081e
|
||||
ERLANG_P1_YAML_VERSION = 1.0.0
|
||||
ERLANG_P1_YAML_SITE = $(call github,processone,p1_yaml,$(ERLANG_P1_YAML_VERSION))
|
||||
ERLANG_P1_YAML_LICENSE = Apache-2.0
|
||||
ERLANG_P1_YAML_LICENSE_FILES = COPYING
|
||||
ERLANG_P1_YAML_DEPENDENCIES = libyaml
|
||||
ERLANG_P1_YAML_DEPENDENCIES = libyaml erlang-p1-utils
|
||||
|
||||
$(eval $(rebar-package))
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_ZLIB_VERSION = 52e82bb
|
||||
ERLANG_P1_ZLIB_VERSION = 1.0.0
|
||||
ERLANG_P1_ZLIB_SITE = $(call github,processone,zlib,$(ERLANG_P1_ZLIB_VERSION))
|
||||
ERLANG_P1_ZLIB_LICENSE = GPLv2+
|
||||
ERLANG_P1_ZLIB_LICENSE_FILES = COPYING
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_REBAR_VERSION = 2.5.1
|
||||
ERLANG_REBAR_VERSION = 2.6.1
|
||||
|
||||
# Upstream publishes a release, but we can not use it as it is a release of
|
||||
# a generated rebar script, when we want the sources. So we have to use the
|
||||
|
@ -1,79 +0,0 @@
|
||||
Status: upstream
|
||||
https://github.com/erlang/otp/pull/658
|
||||
|
||||
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
|
||||
From 73392fcb6f8fddba57de6fb7ae6eeafa0e444686 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Oudinet <johan.oudinet@gmail.com>
|
||||
Date: Tue, 24 Mar 2015 15:54:31 +0100
|
||||
Subject: [PATCH] erts: Fix incorrect use of AC_EGREP_CPP
|
||||
|
||||
Using 'AC_EGREP_CPP(yes' without restraining the pattern always return
|
||||
true if it runs from a path containing the string 'yes'.
|
||||
---
|
||||
erts/aclocal.m4 | 2 +-
|
||||
erts/configure.in | 17 +++++++++--------
|
||||
2 files changed, 10 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/erts/aclocal.m4 b/erts/aclocal.m4
|
||||
index 5735cde..70a5b40 100644
|
||||
--- a/erts/aclocal.m4
|
||||
+++ b/erts/aclocal.m4
|
||||
@@ -559,7 +559,7 @@ dnl
|
||||
|
||||
AC_DEFUN(LM_SYS_MULTICAST,
|
||||
[AC_CACHE_CHECK([for multicast support], ac_cv_sys_multicast_support,
|
||||
-[AC_EGREP_CPP(yes,
|
||||
+[AC_EGREP_CPP(^yes$,
|
||||
[#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
diff --git a/erts/configure.in b/erts/configure.in
|
||||
index b3fe48d..9e19e33 100644
|
||||
--- a/erts/configure.in
|
||||
+++ b/erts/configure.in
|
||||
@@ -1555,10 +1555,11 @@ if test "$have_gethostbyname_r" = yes; then
|
||||
[Define to flavour of gethostbyname_r]))
|
||||
;;
|
||||
*)
|
||||
- AC_EGREP_CPP(yes,[#include <stdio.h>
|
||||
- #ifdef __GLIBC__
|
||||
- yes
|
||||
- #endif
|
||||
+ AC_EGREP_CPP(^yes$,[
|
||||
+#include <stdio.h>
|
||||
+#ifdef __GLIBC__
|
||||
+yes
|
||||
+#endif
|
||||
], AC_DEFINE(HAVE_GETHOSTBYNAME_R, GHBN_R_GLIBC,
|
||||
[Define to flavour of gethostbyname_r]))
|
||||
;;
|
||||
@@ -4303,10 +4304,10 @@ case "$erl_xcomp_without_sysroot-$with_ssl" in
|
||||
SSL_INCLUDE="-I$dir/include"
|
||||
old_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS=$SSL_INCLUDE
|
||||
- AC_EGREP_CPP(yes,[
|
||||
+ AC_EGREP_CPP(^yes$,[
|
||||
#include <openssl/opensslv.h>
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x0090700fL
|
||||
- yes
|
||||
+yes
|
||||
#endif
|
||||
],[
|
||||
ssl_found=yes
|
||||
@@ -4501,10 +4502,10 @@ if test "x$SSL_APP" != "x" ; then
|
||||
AC_MSG_CHECKING(for OpenSSL kerberos 5 support)
|
||||
old_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS=$SSL_INCLUDE
|
||||
- AC_EGREP_CPP(yes,[
|
||||
+ AC_EGREP_CPP(^yes$,[
|
||||
#include <openssl/opensslconf.h>
|
||||
#ifndef OPENSSL_NO_KRB5
|
||||
- yes
|
||||
+yes
|
||||
#endif
|
||||
],[
|
||||
AC_MSG_RESULT([yes])
|
||||
--
|
||||
2.1.0
|
||||
|
@ -1,2 +1,3 @@
|
||||
# From http://www.erlang.org/download/MD5
|
||||
md5 346dd0136bf1cc28cebc140e505206bb otp_src_17.5.tar.gz
|
||||
# md5 from http://www.erlang.org/download/MD5, sha256 locally computed
|
||||
md5 ebb226d51f89ec54cc83ce5d417ce55e otp_src_18.2.1.tar.gz
|
||||
sha256 82d76ebfeeda5db64ea5b0f1a04aa0e9ac63380b278722e0e6052249bd3fe39a otp_src_18.2.1.tar.gz
|
||||
|
10
package/erlang/erlang.mk
vendored
10
package/erlang/erlang.mk
vendored
@ -5,21 +5,21 @@
|
||||
################################################################################
|
||||
|
||||
# See note below when updating Erlang
|
||||
ERLANG_VERSION = 17.5
|
||||
ERLANG_VERSION = 18.2.1
|
||||
ERLANG_SITE = http://www.erlang.org/download
|
||||
ERLANG_SOURCE = otp_src_$(ERLANG_VERSION).tar.gz
|
||||
ERLANG_DEPENDENCIES = host-erlang
|
||||
|
||||
ERLANG_LICENSE = EPL
|
||||
ERLANG_LICENSE_FILES = EPLICENCE
|
||||
ERLANG_LICENSE = Apache-2.0
|
||||
ERLANG_LICENSE_FILES = LICENSE.txt
|
||||
ERLANG_INSTALL_STAGING = YES
|
||||
|
||||
# Touching erts/configure.in
|
||||
# Patched erts/aclocal.m4
|
||||
ERLANG_AUTORECONF = YES
|
||||
|
||||
# Whenever updating Erlang, this value should be updated as well, to the
|
||||
# value of EI_VSN in the file lib/erl_interface/vsn.mk
|
||||
ERLANG_EI_VSN = 3.7.20
|
||||
ERLANG_EI_VSN = 3.8.1
|
||||
|
||||
# The configure checks for these functions fail incorrectly
|
||||
ERLANG_CONF_ENV = ac_cv_func_isnan=yes ac_cv_func_isinf=yes
|
||||
|
@ -1,53 +0,0 @@
|
||||
From 7d7ce18ff0d24b586634fa6e631fa0eec7865aae Mon Sep 17 00:00:00 2001
|
||||
From: elupus <elupus@xbmc.org>
|
||||
Date: Tue, 1 Nov 2011 20:18:35 +0100
|
||||
Subject: [PATCH 13/13] add public version of ff_read_frame_flush
|
||||
|
||||
We need this since we sometimes seek on the
|
||||
input stream behind ffmpeg's back. After this
|
||||
all data need to be flushed completely.
|
||||
|
||||
Patch part of the XBMC patch set for ffmpeg, downloaded from
|
||||
https://github.com/xbmc/FFmpeg/.
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
libavformat/avformat.h | 5 +++++
|
||||
libavformat/utils.c | 5 +++++
|
||||
2 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
|
||||
index 2e54ed1..3a9f292 100644
|
||||
--- a/libavformat/avformat.h
|
||||
+++ b/libavformat/avformat.h
|
||||
@@ -2121,6 +2121,11 @@ int av_find_best_stream(AVFormatContext *ic,
|
||||
int av_read_frame(AVFormatContext *s, AVPacket *pkt);
|
||||
|
||||
/**
|
||||
+ * Clear out any buffered data in context
|
||||
+ */
|
||||
+void av_read_frame_flush(AVFormatContext *s);
|
||||
+
|
||||
+/**
|
||||
* Seek to the keyframe at timestamp.
|
||||
* 'timestamp' in 'stream_index'.
|
||||
*
|
||||
diff --git a/libavformat/utils.c b/libavformat/utils.c
|
||||
index f4fb172..10dda18 100644
|
||||
--- a/libavformat/utils.c
|
||||
+++ b/libavformat/utils.c
|
||||
@@ -1624,6 +1624,11 @@ void ff_read_frame_flush(AVFormatContext *s)
|
||||
}
|
||||
}
|
||||
|
||||
+void av_read_frame_flush(AVFormatContext *s)
|
||||
+{
|
||||
+ ff_read_frame_flush(s);
|
||||
+}
|
||||
+
|
||||
void ff_update_cur_dts(AVFormatContext *s, AVStream *ref_st, int64_t timestamp)
|
||||
{
|
||||
int i;
|
||||
--
|
||||
2.1.0
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user