Actually, it needs to return the prefix in network byte order... htonl() and ntohl() tend to be identical.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26898 3c298f89-4303-0410-b956-a3cf2f4a3e73
Adds libfti - a C-library to interface FTDI USB-serial-chips.
Package may need improvement, source libftdi also provides a C++ binding
which is not getting installed with this package yet.
Signed-off-by: Michael Markstaller <mm@elabnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26867 3c298f89-4303-0410-b956-a3cf2f4a3e73
Add to CUnit to /libs/
CUnit is a lightweight system for writing, administering, and running unit
tests in C. It provides C programmers a basic testing functionality with a
flexible variety of user interfaces.
Signed-off-by: Florian Sesser <sesser@in.tum.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26790 3c298f89-4303-0410-b956-a3cf2f4a3e73
conf_to_src.c uses C++ functions so we should use g++ for compiling.
The CFLAGS, CPPFLAGS and LDFLAGS for host build should be used and not the for target builds.
This closes#8342
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26540 3c298f89-4303-0410-b956-a3cf2f4a3e73
This updates the avahi package to the latest version, 0.6.30.
>From the avahi release notes:
"This is a bugfix release.
Make IPv6 work again
i18n updates
Minor other updates"
It may be relevant to ticket 7424.
(A few typos in the OpenWrt Makefile are also fixed.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26502 3c298f89-4303-0410-b956-a3cf2f4a3e73
Also:
remove the dependency on imagemagick and libfreetype to keep the library small
use --disable-debug and --disable-gtk-doc
add a patch to fix --tag=CXX issue; autotools is being stubborn about compiling as C++
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26420 3c298f89-4303-0410-b956-a3cf2f4a3e73
Apparently people are already using libmodbus on OpenWrt, but there is no package.
(see http://zagrodzki.net/~sebek/openwrt/packages/libmodbus.so )
So I made a Makefile for it, I'd be happy to be the package maintainer for that.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26345 3c298f89-4303-0410-b956-a3cf2f4a3e73
This updates the avahi package as follows:
1. The libavahi-client library can be selected.
2. The following avahi utilities can be selected:
avahi-browse, aka: avahi-browse-domains
avahi-publish, aka: avahi-publish-address, avahi-publish-service
avahi-resolve, aka: avahi-resolve-address, avahi-resolve-host-name
avahi-set-host-name.
Notes:
(a) This patch applies to avahi 0.6.29 -- I sent in the previous version
for 0.6.28 just after 0.6.29 came out, duh. :(
(b) The libavahi-client library and the avahi utilities require avahi to
be compiled with D-Bus support, and D-Bus must be included in
the build. If they are not selected, avahi is compiled without D-Bus
support, as it is at present.
(c) The init.d start priority of avahi-daemon is changed from 50 to 61
so that it loads after D-Bus.
The patch in Ticket #8929 has two problems, IMHO:
1. It makes the D-Bus package a compulsory requirement for avahi, even
though it's only really needed if you select the libavahi-client library.
(This patch makes D-Bus compulsory only if you select the
libavahi-client library or the avahi utilities which depend on them.)
2. The avahi-daemon will fail to start because the D-Bus daemon is set
to start up _after_ avahi-daemon starts looking for it.
(This patch adjusts the init.d start priority of the avahi-daemon to
later than that of D-Bus.)
Signed-off-by: Mike Brady <mikebrady@eircom.net>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26338 3c298f89-4303-0410-b956-a3cf2f4a3e73