Age | Commit message (Collapse) | Author |
|
Use sysconf(_SC_ARG_MAX) instead.
Change-Id: I0eb94fbb45d08dee769e47c4aa2266b67013cb5f
|
|
This file isn't upstream (in avahi, that is; obviously it's in FreeBSD),
and can just be removed when we add <glob.h> to bionic. For now, since
avahi actually wants all the functionality, just turn everything on.
Change-Id: I878c61312e955f6813359f93b3d466d317f09968
|
|
Android is using <service>.rc instead of init.<service>.rc.
Bug: 24465893
Change-Id: I5a451c8dcbf3c47ea983727f5cafc86abd0b44cc
|
|
This prevented avahi-daemon from building anything
Change-Id: Icee9c6c55356b1f5d6cfd78f9bcb979af060be17
|
|
This failed some builders which did not have a _SIZE_T_DECLARED
macro but also did not have the __size_t symbol.
Change-Id: Ifa69506afa07272dde64e234497094c1aed6a9a2
|
|
The issetugid function isn't defined in bionic, and we don't need
it for avahi anyway.
Change-Id: I427fd8f0a932618ea9a9672cc71e964ad0710ae4
|
|
Change-Id: I25f9669bb3d2bfd55dc30994b20c0610058c20fb
|
|
Add args to the avahi-daemon:
--syslog: logs to syslog instead of STDERR
--no-drop-root: We're not starting as root, so there's nothing
to drop. Without this option, avahi complains that it wasn't
started as root and exits.
Add ourselves to the inet group so we can internet.
Add a .PHONY target so the rc file is always regenerated.
Otherwise, changes to the makefile that would invalidate previous
build output would be ignored.
Bug: 22827641
Change-Id: I727481f2bcf88908b7e25fbbe37a3421c33c5efe
|
|
Bug: 22827641
Change-Id: Iac854de993b4e23affb50ea1522bcb9ed3b51c9c
|
|
Made the following preprocessor defines optional:
DAVAHI_DAEMON_RUNTIME_DIR
Used as the parent of the the PID file. If left undefined, we just don't make
or clean up a PID file. This will still be required if you're building with
chroot support.
AVAHI_SOCKET
This was used for a simpler-than-dbus IPC mechanism over a domain socket. Now
if left undefined, this simple_protocol code is not compiled in.
AVAHI_CONFIG_DIR
Was used to set up inotify watches to restart on config changes. Our main
config file will be on a read-only partition. The services config file is
still being watched via the AVAHI_SERVICE_DIR macro.
AVAHI_DBUS_INTROSPECTION_DIR
Location of the dbus xml files describing the avahi api. Now if left undefined
we'll fail to respond to an introspection request over dbus.
Change-Id: I509dfa393d6d6f0a4cdaff9fefa01adbf9d4216b
|
|
Bug: 22827641
Change-Id: Ic9b8b62e38cfad9e18313dfadb7d7f2f68084d89
|
|
These components will have to be included in the PRODUCT_PACKAGES
of products that want them.
Switch avahi-common and avahi-core back to shared libs.
Change-Id: I280fc308c71b8b89b0da29dc997852dbe5879c3b
|
|
These files were initially generated by the third party
"androgenizer", but then updated and cleaned up by hand.
The changes to the generated files were:
* Hand edited some Android.mk files to add the lib prefix, changed
build types, fix references to the dbus library.
* Remove Android.mk files for avahi-glib and avahi-gobject since we're
not going to need them.
* Remove outdated LOCAL_PRELINK_MODULE variable.
* Remove LOCAL_MODULE_TAGS from static modules.
* Convert literal tabs to 4 spaces.
* Dump a warning and exit from update_android_mk.sh, since we've
diverged from the generated output.
Change user/group (in config.h) from "avahi" to "system".
Bug: 22827641
Change-Id: I84c3d7a96e091797f4380003045836f8183531ad
|
|
This is to avoid clashing with the system malloc.h, which occurs
in an android build beacause of the order of the generated includes.
This change was generated with the script:
cat > rename_malloc.sh <<EOF
replace() {
local search="$1"
local replace="$2"
FILES=$(grep -l "$search" $(find . -name '*.[ch]'))
for file in $FILES; do
echo $file
sed "s|$search|$replace|" < $file > sed.tmp
mv sed.tmp $file
done
}
replace "include \"malloc.h\"" "include \"avahi-malloc.h\""
replace "include \"avahi-common/malloc.h\"" \
"include \"avahi-common/avahi-malloc.h\""
replace "include <avahi-common/malloc.h>" \
"include \"avahi-common/avahi-malloc.h\""
EOF
Bug: 22827641
Change-Id: I1eeb4a57993650d8aae62f0686942cfac367b9a8
|
|
This applies Apply patch 0001 from http://www.avahi.org/ticket/354
"Add support for building on Android", by "asoliverez_ccu".
This patch is applied without modification.
I used this just as a first step to generate initial Android.mk files.
In the followup "Android.mk tweaks" CL, I hand hacked them into
submission.
The steps are committed as separate CLs in case someone needs to rerun or
retrace them in the future.
Bug: 22827641
Change-Id: Iaefdbd5aa2ea497e06ba25700a326073fbffc018
|
|
Signed-off-by: David Zeuthen <zeuthen@chromium.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
core dump
|
|
|
|
to deactivate it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DefaultDependencies= changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This should allow more clients to query hsot names via the simple
protocol.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412256
|
|
|
|
http://avahi.org/ticket/268
|
|
The old service name describes the service type which can much better be
described on the client side.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=389336
|