Code Monkey home page Code Monkey logo

openwrt / packages Goto Github PK

View Code? Open in Web Editor NEW
3.9K 215.0 3.4K 66.32 MB

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md

License: GNU General Public License v2.0

Makefile 55.35% C 8.15% Shell 30.48% Lua 1.36% Ruby 0.14% CSS 0.01% CMake 0.09% Perl 0.14% JavaScript 0.16% Vala 0.98% Awk 0.10% M4 0.02% C++ 1.91% Go 0.04% Python 0.04% Pawn 0.01% UnrealScript 0.99% Vim Script 0.01% Smarty 0.03%
hacktoberfest

packages's Introduction

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot – Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

packages's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

packages's Issues

unzip 6.0 fails to compile for sunxi

reported by: http://buildbot.openwrt.org:8010/broken_packages/sunxi/unzip/compile.txt

replicated locally on Debian Sid Host with Target Allwinner//Cubieboard2

maybe related:

unrelated:

Introducing libattr makes samba36-client build fail

Introducing libattr here requires a patch in main packages to samba36
because of automagic dependency

make[4]: Leaving directory '/git/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/samba-3.6.23/source3'
Package samba36-client is missing dependencies for the following libraries:
libattr.so.1

nginx naxsi fail to build

hi @heil

install: cannot stat '/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/nginx-1.4.7/nginx-naxsi/naxsi_config/naxsi_core.rules': No such file or directory
make[3]: *** [/tmp/openwrt/bin/ar71xx/packages/nginx-naxsi_1.4.7-1_ar71xx.ipk] Error 1

Zabbix wifi.ifdiscovery not working?

Hello guys,

I have a little problem with the wifi.ifdiscovery userparameter.

When doing it on my AP, it works fine :
root@test-ap01:~# zabbix_agentd -t wifi.ifdiscovery
wifi.ifdiscovery [t|{"data":[{"{#IF}":"wlan0", "{#MODE}":"ap", "{#SSID}":"ens-invites", "{#NET}":"pfinline", "{#DEV}":"radio0", "{#ENC}":"none", "{#TYPE}":"mac80211", "{#HWMODE}":"11ng", "{#CHANNEL}":"11", "{#BSSID}":"DC:9F:DB:06:DA:CD"},{"{#IF}":"wlan0-1", "{#MODE}":"ap", "{#SSID}":"eduspot", "{#NET}":"eduspot", "{#DEV}":"radio0", "{#ENC}":"none", "{#TYPE}":"mac80211", "{#HWMODE}":"11ng", "{#CHANNEL}":"11", "{#BSSID}":"DE:9F:DB:06:DA:CD"},{"{#IF}":"wlan0-2", "{#MODE}":"ap", "{#SSID}":"eduroam", "{#NET}":"eduroam", "{#DEV}":"radio0", "{#ENC}":"wpa2", "{#TYPE}":"mac80211", "{#HWMODE}":"11ng", "{#CHANNEL}":"11", "{#BSSID}":"DA:9F:DB:06:DA:CD"}]}]

But when doing it on zabbix server ...
zabbix ~ #zabbix_get -s test-ap01.spv.ens-cachan.fr -p 10050 -k "wifi.ifdiscovery"

zabbix ~ #

Nothing !?
I didn't find any "verbose" options for zabbix_get, so, I don't know what's wrong.

Hope you can help me.

aiccu - patch for adding default route

Reworked aiccu does not add the default IPv6 route, even if it is set in network config file.
Here's a patch for the init script.

Change the line:
echo "defaultroute false" >> "$CFGFILE"
to
[ "$defaultroute" == 1 ] && echo "defaultroute true" >> "$CFGFILE"

irssi needs glib2 (oldpackages)

hi @tripolar

No package 'glib-2.0' found
Package gmodule-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gmodule-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gmodule-2.0' found
no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
*** trying without -lgmodule
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.6.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.

*** If you don't have GLIB, you can get it from ftp://ftp.gtk.org/pub/glib/
*** We recommend you get the latest stable GLIB 2 version.
*** Compile and install it, and make sure pkg-config finds it,
*** by adding the path where the .pc file is located to PKG_CONFIG_PATH

configure: error: GLIB is required to build irssi.
make[3]: *** [/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/irssi-nossl/irssi-0.8.16/.configured_] Error 1

Please read README

Hi

find -name Makefile | xargs grep -L MAINTAINER

this command give me:

@tripolar : 12 packages without MAINTAINER
./libs/alsa-lib/Makefile
./libs/glib2/Makefile
./libs/libffi/Makefile
./libs/libsndfile/Makefile
./libs/libtorrent/Makefile
./libs/speex/Makefile
./libs/tcp_wrappers/Makefile
./net/etherwake/Makefile
./net/git/Makefile
./net/nfs-kernel-server/Makefile
./net/portmap/Makefile
./net/rtorrent/Makefile

@nmav : 4 packages without MAINTAINER
./libs/libtasn1/Makefile
./net/ddns-scripts/Makefile
./net/openconnect/Makefile
./utils/cryptodev-linux/Makefile

@tripolar (and maybe other) please also don't forget the signed-off-by line (--signoff)

to finish:

* Package Guidelines *

Please make sure that all packages you commit or request to pull:
    * Package a version which is still maintained by the upstream author.
    * Have yourself or another person listed in the (PKG_)MAINTAINER field.
    * Will be updated regularly to maintained and supported versions. 
    * Have no dependencies outside the openwrt core packages or this feed.

Please sign-off your commits / pull requests to this repository. See:
https://dev.openwrt.org/wiki/SubmittingPatches#a10.Signyourwork

Remove me as maintainer from giflib & tiff packages

Please remove me from maintainer as discussed on IRC. As long as I don't have direct commit writes to my maintained packages I will not commit!! Creating a pull request for further commits is just stupid.

Every user should get direct commit writes to the packages they are maintaining.

Thanks.

ncdu Makefile needs tabs

make[2]: Entering directory `/exports/pub/OpenWRT/trunk/feeds/packages/utils/ncdu'
Makefile:46: *** missing separator. Stop.

diff --git a/utils/ncdu/Makefile b/utils/ncdu/Makefile
index 425d30e..edd8527 100644
--- a/utils/ncdu/Makefile
+++ b/utils/ncdu/Makefile
@@ -39,8 +39,8 @@ define Package/ncdu/description
 endef

 define Package/ncdu/install
-  $(INSTALL_DIR) $(1)/usr/bin
-  $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
 endef

 $(eval $(call BuildPackage,ncdu))

gsm: URL and PKG_SOURCE_URL variables points to nonexisting sites

hi @thess,

the URL and PKG_SOURCE_URL variables for gsm package points to non-existing sites and source archive (the upstream for that package is dead, it is not maintained anymore). The source archive is mirrored at downloads.openwrt.org, so it does not break anything. The package Makefile should count with that, even if it would be mirrored sites.

protobuf not building on ar71xx

hi @jsiverskog

it's talking about x86 stuff,
if think you should not use $(make) for host build

libtool: compile:  mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I.. -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/tmp/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -MT atomicops_internals_x86_gcc.lo -MD -MP -MF .deps/atomicops_internals_x86_gcc.Tpo -c google/protobuf/stubs/atomicops_internals_x86_gcc.cc  -fPIC -DPIC -o .libs/atomicops_internals_x86_gcc.o
In file included from ./google/protobuf/stubs/atomicops.h:59:0,
                 from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/platform_macros.h:61:2: error: #error Host architecture was not detected as supported by protobuf
 #error Host architecture was not detected as supported by protobuf
  ^
In file included from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:0:
./google/protobuf/stubs/atomicops.h:161:1: error: stray '#' in program
 #error "Atomic operations are not supported on your platform"
 ^
./google/protobuf/stubs/atomicops.h:188:1: note: in expansion of macro 'GOOGLE_PROTOBUF_ATOMICOPS_ERROR'
 GOOGLE_PROTOBUF_ATOMICOPS_ERROR
 ^
./google/protobuf/stubs/atomicops.h:161:2: error: 'error' does not name a type
 #error "Atomic operations are not supported on your platform"
  ^
./google/protobuf/stubs/atomicops.h:188:1: note: in expansion of macro 'GOOGLE_PROTOBUF_ATOMICOPS_ERROR'
 GOOGLE_PROTOBUF_ATOMICOPS_ERROR
 ^
make[7]: *** [atomicops_internals_x86_gcc.lo] Error 1
make[7]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0'
make[3]: *** [/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/protobuf-2.5.0/.built] Error 2

glib2 not compiling

hi @tripolar

libtool: link: gcc -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -O2 -I/tmp/openwrt/staging_dir/host/include -g -o .libs/gio-querymodules gio-querymodules.o  -L/tmp/openwrt/staging_dir/host/lib ./.libs/libgio-2.0.so /tmp/openwrt/build_dir/host/glib-2.41.1/gobject/.libs/libgobject-2.0.so /tmp/openwrt/build_dir/host/glib-2.41.1/gmodule/.libs/libgmodule-2.0.so -lz -lselinux -lresolv ../gobject/.libs/libgobject-2.0.so /tmp/openwrt/staging_dir/host/lib/../lib64/libffi.so ../gmodule/.libs/libgmodule-2.0.so -ldl /tmp/openwrt/build_dir/host/glib-2.41.1/glib/.libs/libglib-2.0.so ../glib/.libs/libglib-2.0.so -lpthread -Wl,-rpath -Wl,/tmp/openwrt/staging_dir/host/lib -Wl,-rpath -Wl,/tmp/openwrt/staging_dir/host/lib/../lib64
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libselinux.so: undefined reference to `lzma_stream_decoder@XZ_5.0'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libselinux.so: undefined reference to `lzma_end@XZ_5.0'
/usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../lib64/libselinux.so: undefined reference to `lzma_code@XZ_5.0'
collect2: error: ld returned 1 exit status
make[8]: *** [gio-querymodules] Error 1
make[8]: Leaving directory `/tmp/openwrt/build_dir/host/glib-2.41.1/gio'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/tmp/openwrt/build_dir/host/glib-2.41.1/gio'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/tmp/openwrt/build_dir/host/glib-2.41.1/gio'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/tmp/openwrt/build_dir/host/glib-2.41.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/openwrt/build_dir/host/glib-2.41.1'
make[3]: *** [/tmp/openwrt/build_dir/host/glib-2.41.1/.built] Error 2
make[3]: Leaving directory `/tmp/openwrt/feeds/packages/libs/glib2'
make[2]: *** [package/feeds/packages/glib2/host/compile] Error 2
make[2]: Leaving directory `/tmp/openwrt'
make[1]: *** [/tmp/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/tmp/openwrt'
make: *** [world] Erreur 2

freeradius2 need libladp (oldpackages)

hi @danwrt

checking for ldap_init in -lldap_r... no
checking for ldap.h... no
configure: error: set --without-rlm_ldap to disable it explicitly.
configure: error: ./configure failed for ./src/modules/rlm_ldap
make[3]: *** [/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/freeradius-server-2.2.5/.configured_nn] Error 1

utils/flashrom doesn't build on mips due to undefined variables

mipsel-openwrt-linux-uclibc-gcc -MMD -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -I/home/openwrt/src/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -I/home/openwrt/src/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/include -I/home/openwrt/src/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/openwrt/src/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include  -Werror   -D'CONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_INVALID' -D'CONFIG_INTERNAL=1' -D'CONFIG_SERPROG=1' -D'CONFIG_PONY_SPI=1' -D'CONFIG_BITBANG_SPI=1' -D'CONFIG_GFXNVIDIA=1' -D'CONFIG_SATASII=1' -D'CONFIG_FT2232_SPI=1' -D'CONFIG_USBBLASTER_SPI=1' -D'HAVE_FT232H=1' -D'CONFIG_DUMMY=1' -D'CONFIG_DRKAISER=1' -D'CONFIG_NICINTEL=1' -D'CONFIG_NICINTEL_SPI=1' -D'CONFIG_OGP_SPI=1' -D'CONFIG_BUSPIRATE_SPI=1' -D'CONFIG_LINUX_SPI=1' -D'NEED_PCI=1' -D'HAVE_UTSNAME=1' -D'FLASHROM_VERSION="0.9.7-r1711"' -o internal.o -c internal.c
internal.c: In function 'internal_init':
internal.c:340:52: error: 'cb_vendor' undeclared (first use in this function)
  if (board_flash_enable(board_vendor, board_model, cb_vendor, cb_model)) {
                                                    ^
internal.c:340:52: note: each undeclared identifier is reported only once for each function it appears in
internal.c:340:63: error: 'cb_model' undeclared (first use in this function)
  if (board_flash_enable(board_vendor, board_model, cb_vendor, cb_model)) {
                                                               ^
make[3]: *** [internal.o] Error 1

The cb_vendor and cb_model declarations are ifdef'd to specific architectures, not including mips/mipsel.

#if defined (__i386__) || defined (__x86_64__) || defined (__arm__)
        const char *cb_vendor = NULL;
        const char *cb_model = NULL;
#endif

I have no idea whether flashrom is useful on mips platforms, but it offended me by not building.

ibrdtn: missing dependency

hi @eJonny,

ibrdtn is missing dependency on glib2. See output below (can be seen also on buildbots or if you compile openwrt by youself):

Package ibrdtn is missing dependencies for the following libraries:
libglib-2.0.so.0

Jiri

collectd depends on many oldpackages

hi @jow-

configure.in:522: the top level
:$
    network . . . . . . . yes
    nfs . . . . . . . . . no (disabled on command line)
    nginx . . . . . . . . yes
    notify_desktop  . . . no (disabled on command line)
    notify_email  . . . . no (disabled on command line)
    ntpd  . . . . . . . . yes
    nut . . . . . . . . . no (dependency error)
    olsrd . . . . . . . . yes
    onewire . . . . . . . no (disabled on command line)
    openvpn . . . . . . . yes
    oracle  . . . . . . . no (disabled on command line)
    perl  . . . . . . . . no (needs libperl)
    pinba . . . . . . . . no (disabled on command line)
    ping  . . . . . . . . no (dependency error)
    postgresql  . . . . . no (dependency error)
    powerdns  . . . . . . yes
    processes . . . . . . yes
    protocols . . . . . . yes
    python  . . . . . . . no (disabled on command line)
    routeros  . . . . . . no (disabled on command line)
    rrdcached . . . . . . no (disabled on command line)
    rrdtool . . . . . . . yes
    sensors . . . . . . . no (disabled on command line)
    serial  . . . . . . . no (disabled on command line)
    snmp  . . . . . . . . no (dependency error)
    swap  . . . . . . . . no (disabled on command line)
    syslog  . . . . . . . yes
    table . . . . . . . . yes
    tail  . . . . . . . . yes
    tape  . . . . . . . . no (disabled on command line)
    target_notification . yes
    target_replace  . . . yes
    target_scale  . . . . yes
    target_set  . . . . . yes
    tcpconns  . . . . . . yes
    teamspeak2  . . . . . yes
    ted . . . . . . . . . yes
    thermal . . . . . . . yes
    tokyotyrant . . . . . no (disabled on command line)
    unixsock  . . . . . . yes
    uptime  . . . . . . . yes
    users . . . . . . . . yes
    uuid  . . . . . . . . no (disabled on command line)
    vmem  . . . . . . . . yes
    vserver . . . . . . . no (disabled on command line)
    wireless  . . . . . . yes
    write_http  . . . . . yes
    xmms  . . . . . . . . no (disabled on command line)
    zfs_arc . . . . . . . no (disabled on command line)

configure: error: "Some plugins are missing dependencies - see the summary above for details"
make[3]: *** [/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/collectd-4.10.8/.configured_yyyyyyyyyyyyyyyyyyyyyyyyynynyyyyynyyyyyyynyyyyyyyyyyyyyy] Error 1

Question about PKG_RELEASE

I think I understand the "rules" for changing the PKG_RELEASE var in the package Makefile. Here is what I am using as of now:

  • Increment PKG_RELEASE if the OpenWRT package Makefile is modified (build/install changes) but the upstream (PKG_VERSION) is not.
  • Do not increment PKG_RELEASE if only changing non-build related stuff (Copyright, license, etc.)
  • Reset PKG_RELEASE to 1 when upgrading the component version (PKG_VERSION).

My question is - Is there any other package changes that should cause the PKG_VERSION to be incremented? For example: Changes to additional "files" or patches?

Treating unmaintained packages / stepping down as a maintainer

This is mostly a discussion topic for everyone. Currently we have quite clear rules on how to become a maintainer, but what's missing is how does one stop being one, and what should happen with the package.

For now we just removed the package instantly, but maybe we want to keep it a while - having no maintainer does not instantly make a package bad. Leaving it in for a while will also prevent tickets about packages going missing from snapshot builds.

My first Idea would be:

As the maintainer stepping down:

  1. remove yourself as maintainer (pull request/commit)
  2. open an issue about $pkg having no maintainer/requiring one (probably a "help wanted" ticket).

Then after some time (e.g. one month, or latest before the next release), if until then nobody wanted to take over, we actually remove it.

binary packages

Will any binary packages be provided? e.g. for use with opkg

Some of these packages were really useful, especially in a pre-packaged form...

mwan3: error running 'mwan3 policies'

Hi @Adze1502 ,

Running 'mwan3 policies' returns the following error with certain interface names, e.g. 'wan' and 'wwan'

root@OpenWrt:~# mwan3 policies
Policy balanced:
 wwan (40%)
/etc/rc.common: line 138: arithmetic syntax error

I went through the code and found a way to fix it. Hope it helps.

diff --git a/net/mwan3/files/usr/sbin/mwan3 b/net/mwan3/files/usr/sbin/mwan3
index 3102728..a59213e 100755
--- a/net/mwan3/files/usr/sbin/mwan3
+++ b/net/mwan3/files/usr/sbin/mwan3
@@ -129,7 +129,7 @@ policies()

                if [ ! -z "${total_weight##*[!0-9]*}" ]; then
                        for iface in $($IPT -S $policy | cut -s -d'"' -f2 | awk '{print $1}'); do
-                               weight=$($IPT -S $policy | grep "$iface " | cut -s -d'"' -f2 | awk '{print $2}')
+                               weight=$($IPT -S $policy | grep "\"$iface " | cut -s -d'"' -f2 | awk '{print $2}')
                                percent=$(($weight*100/$total_weight))
                                echo " $iface ($percent%)"
                        done

Best regards,
João

pulseaudio needs libsndfile (oldpackages)

hi @tripolar

    ERROR: package/feeds/packages/pulseaudio failed to build.
checking for LIBSNDFILE... no
configure: error: Package requirements ( sndfile >= 1.0.20 ) were not met:

No package 'sndfile' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSNDFILE_CFLAGS
and LIBSNDFILE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make[3]: *** [/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/pulseaudio-noavahi/pulseaudio-5.0/.configured_] Error 1

utils/hamlib build failure on ramips

A make package/hamlib/{clean,compile} on a build of commit 9322b39 results in:

[...]
OpenWrt-libtool: link: rm -f ".libs/rpc.rotdS.c" ".libs/rpc.rotd.nm" ".libs/rpc.rotd.nmS" ".libs/rpc.rotd.nmT"
OpenWrt-libtool: link: mipsel-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -pthread -DPORTMA
P -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -pthread .libs/rpc.rotdS.o -o .libs/rpc.rotd rpcrotd.o rpcrot_proc.o r
pcrot_svc.o rpcrot_xdr.o -Wl,--export-dynamic  -L/home/openwrt/src/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/lib -L/home/openwrt/src/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.3
3.2/lib -L/home/openwrt/src/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/openwrt/src/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2
/lib ../src/.libs/libhamlib.so -lltdl -lm ../lib/.libs/libmisc.a -pthread
rpcrotd.o: In function `main':
rpcrotd.c:(.text.startup+0x1f8): undefined reference to `getrpcbyname'
rpcrotd.c:(.text.startup+0x350): undefined reference to `pmap_unset'
rpcrotd.c:(.text.startup+0x358): undefined reference to `svcudp_create'
rpcrotd.c:(.text.startup+0x388): undefined reference to `svc_register'
rpcrotd.c:(.text.startup+0x3ac): undefined reference to `svctcp_create'
rpcrotd.c:(.text.startup+0x3d8): undefined reference to `svc_register'
rpcrotd.c:(.text.startup+0x404): undefined reference to `svc_run'
rpcrot_svc.o: In function `rotprog_1':
rpcrot_svc.c:(.text+0x24): undefined reference to `_rpcsvcdirty'
rpcrot_svc.c:(.text+0x28): undefined reference to `_rpcsvcdirty'
rpcrot_svc.c:(.text+0x5c): undefined reference to `xdr_void'
rpcrot_svc.c:(.text+0x60): undefined reference to `xdr_void'
rpcrot_svc.c:(.text+0x64): undefined reference to `svc_sendreply'
rpcrot_svc.c:(.text+0x78): undefined reference to `xdr_int'
rpcrot_svc.c:(.text+0x84): undefined reference to `xdr_int'
rpcrot_svc.c:(.text+0xb4): undefined reference to `xdr_int'
rpcrot_svc.c:(.text+0xc0): undefined reference to `xdr_int'
rpcrot_svc.c:(.text+0xd4): undefined reference to `xdr_int'
rpcrot_svc.o:rpcrot_svc.c:(.text+0xdc): more undefined references to `xdr_int' follow
rpcrot_svc.o: In function `rotprog_1':
rpcrot_svc.c:(.text+0xfc): undefined reference to `svcerr_noproc'
rpcrot_svc.c:(.text+0x130): undefined reference to `xdr_void'
rpcrot_svc.c:(.text+0x134): undefined reference to `xdr_void'
rpcrot_svc.c:(.text+0x160): undefined reference to `svcerr_decode'
rpcrot_svc.c:(.text+0x188): undefined reference to `svc_sendreply'
rpcrot_svc.c:(.text+0x198): undefined reference to `svcerr_systemerr'
rpcrot_svc.c:(.text+0x1f4): undefined reference to `_rpcsvcdirty'
rpcrot_xdr.o: In function `xdr_model_x':
rpcrot_xdr.c:(.text+0x8): undefined reference to `xdr_u_int'
rpcrot_xdr.o: In function `xdr_azimuth_x':
rpcrot_xdr.c:(.text+0x28): undefined reference to `xdr_float'
rpcrot_xdr.o: In function `xdr_elevation_x':
rpcrot_xdr.c:(.text+0x48): undefined reference to `xdr_float'
rpcrot_xdr.o: In function `xdr_rot_reset_x':
rpcrot_xdr.c:(.text+0x68): undefined reference to `xdr_u_int'
rpcrot_xdr.o: In function `xdr_move_s':
rpcrot_xdr.c:(.text+0xdc): undefined reference to `xdr_int'
rpcrot_xdr.c:(.text+0xf0): undefined reference to `xdr_int'
rpcrot_xdr.o: In function `xdr_position_res':
rpcrot_xdr.c:(.text+0x16c): undefined reference to `xdr_int'
rpcrot_xdr.o: In function `xdr_rotstate_res':
rpcrot_xdr.c:(.text+0x238): undefined reference to `xdr_int'
collect2: error: ld returned 1 exit status
make[5]: *** [rpc.rotd] Error 1
make[5]: Leaving directory `/home/openwrt/src/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/hamlib-1.2.15.3/rpcrot'
make[4]: *** [all] Error 2
[...]

minidlna needs ffmpeg

make[2]: *** No rule to make target package/feeds/oldpackages/ffmpeg/compile', needed bypackage/feeds/packages/minidlna/compile'. Stop.

libowfat not building

hi @danwrt

socket/socket_remote4.c:11:23: fatal error: havescope.h: No such file or directory
 #include "havescope.h"
                       ^
compilation terminated.
make[4]: *** [socket_remote4.o] Error 1
make[4]: Leaving directory `/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/libowfat-0.28'
make[3]: *** [/tmp/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/libowfat-0.28/.built] Error 2

https://aur.archlinux.org/packages/libowfat/?comments=all

also last version is 0.29

ps: i'm using a mock to build (http://fedoraproject.org/wiki/Projects/Mock), so it's maybe just a missing dependency/host dependency

pulseaudio: dependencies

pulseaudio depends on oldpackages:

  • libspeexdsp (speex)
  • libsndfile
  • alsa-lib
  • avahi-daemon & libavahi-client

cryptodev-linux: compilation fails on INIT_COMPLETION macro

Hi @nmav,

cryptodev-linux should use on newer kernels (>3.13) reinit_completion function instead of INIT_COMPLETION macro. The absence of INIT_COMPLETION macro can be seen in the log of atheros target for cryptodev-package (on buildbot site). More details can be found in the patch below.

Since I have not fully tested the patch, I am not pushing any pull request. Here is the patch to try it out:
http://suzelly.opf.slu.cz/~sla463/0001-cryptodev-replace-INIT_COMPLETION-with-reinit-completion.patch

Jiri

Branching for 14.07?

Are we going to branch for the upcoming 14.07 release? How is that going to be handled?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.