aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-23Move the hacked-up glob.h off bionic internals.android-wear-7.1.1_r1android-n-mr2-preview-2android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-wear-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-dr1-releaseElliott Hughes
am: 20e0898b96 Change-Id: I5f9c7f5e0abef86dc32265906611748ddf2cd331
2016-06-23Move the hacked-up glob.h off bionic internals.android-n-preview-5android-n-mr2-preview-1android-n-mr1-preview-2android-n-mr1-preview-1android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7android-n-iot-release-ihome-igv1android-n-iot-preview-4android-n-iot-preview-2android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr0.5-releasenougat-iot-releasenougat-devnougat-cts-releasenougat-bugfix-releasen-mr2-preview-1n-mr1-preview-1n-iot-preview-4n-iot-preview-2Elliott Hughes
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 (cherry picked from commit cff8f53637a857a54c099bd63ad12d49b9a4d1e2) BUG: 29571769
2015-09-28Fix init filename.android-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1n-preview-2brillo-m9-releasebrillo-m9-devbrillo-m8-releasebrillo-m8-devbrillo-m7-releasebrillo-m7-mr-devbrillo-m7-devbrillo-m10-releasebrillo-m10-devJorge Lucangeli Obes
Android is using <service>.rc instead of init.<service>.rc. Bug: 24465893 Change-Id: I5a451c8dcbf3c47ea983727f5cafc86abd0b44cc
2015-08-21Fix spelling of avahi-daemon targetAlex Vakulenko
This prevented avahi-daemon from building anything Change-Id: Icee9c6c55356b1f5d6cfd78f9bcb979af060be17
2015-08-21Fix LOCAL_EXPORT_C_INCLUDE_DIRS variable name.Robert Ginda
Change-Id: I662b8923190239856d025acf9458589ca69697ba
2015-08-21Assume size_t is defined everywhere __BIONIC__ is defined.Robert Ginda
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
2015-08-20Disable tilde expansion on BIONICRobert Ginda
The issetugid function isn't defined in bionic, and we don't need it for avahi anyway. Change-Id: I427fd8f0a932618ea9a9672cc71e964ad0710ae4
2015-08-20Add LOCAL_EXPORT_C_INCLUDESRobert Ginda
Change-Id: Ieec3fcbaa17ef3f29a9b81cc5ba80e1746862698
2015-08-20Stop using LOCAL_INIT_SERVICE variable.Robert Ginda
Change-Id: I25f9669bb3d2bfd55dc30994b20c0610058c20fb
2015-08-14Add args, inet group, and a .PHONY target for our rc fileRobert Ginda
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
2015-08-14Install avahi-daemon.confRobert Ginda
Bug: 22827641 Change-Id: Iac854de993b4e23affb50ea1522bcb9ed3b51c9c
2015-08-14Relax required definesRobert Ginda
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
2015-08-13Generate init.avahi-daemon.rc file.Robert Ginda
Bug: 22827641 Change-Id: Ic9b8b62e38cfad9e18313dfadb7d7f2f68084d89
2015-08-13Remove LOCAL_MODULE_TAGS vars, switch to SHARED libs.Robert Ginda
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
2015-08-12Initial add of Android.mk files.Robert Ginda
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
2015-08-12Merge "rename avahi-common/malloc.[ch] to avahi-malloc."Robert Ginda
2015-08-12Merge "Remove ifdef __BIONIC__ from socket.c"Robert Ginda
2015-08-12Merge "Apply patch 0001 from http://www.avahi.org/ticket/354"Robert Ginda
2015-08-11rename avahi-common/malloc.[ch] to avahi-malloc.Robert Ginda
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
2015-08-11Remove ifdef __BIONIC__ from socket.cRobert Ginda
As described in http://stackoverflow.com/questions/12618829/cant-compile-avahi-on-android Bug: 22827641 Change-Id: Ib7080f3d3e31d9bb8e371444a4286f651c95ee5c
2015-08-11Apply patch 0001 from http://www.avahi.org/ticket/354Robert Ginda
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
2015-08-07Import avahi into the Android tree.Robert Ginda
Import Avahi mDNS library from git://git.0pointer.net/avahi.git. At the time of the import, the avahi HEAD was 147cdce70b22ae7cee9fb4fe123db40952f31c9e Committed on 2013-03-11. Bug: 22827641
2015-08-06Initial empty repositoryBill Yi
2015-08-04Add MODULE_LICENSE_GPL and NOTICERobert Ginda
Bug: 22827642
2013-03-11avahi-daemon: add option "host-name-from-machine-id="David Zeuthen
Signed-off-by: David Zeuthen <zeuthen@chromium.org>
2012-09-07avahi-common: typo fixLennart Poettering
2012-06-19build-sys: fix previous commit for recent automakeMarc-Antoine Perennou
2012-06-19build-sys: fix parallel install in avahi-utilsDiego Elio Pettenò
The moment install-exec-local is called, we might still not have created ${DESTDIR}/${bindir} so we should make sure to create it first, and then try to chdir into it.
2012-06-19build-sys: fix MKDIR_P for recent automakeMarc-Antoine Perennou
2012-04-02core: don't leak hinfo/workstation even if the configuration file doesn't existLennart Poettering
2012-04-02avahi-daemon: don't leak host info by defaultLennart Poettering
2012-04-02avahi-daemon: don't add 0pointer.de and zeroconf.org to default browse listLennart Poettering
2012-02-14build-sys: actually, we need to place the service type database in lib64, ↵Lennart Poettering
not unconditionally in lib/ gdbm creates word width dependent files, hence this needs to be included in the multi-arch logic.
2012-02-14update NEWSLennart Poettering
2012-02-14build-sys: prepare releaseLennart Poettering
2012-02-14build-sys: compatibility with newer automakeLennart Poettering
Place the service type database in $(prefix)/lib/avahi instead of $(libdir)/avahi.
2011-09-01systemd: syslog.target is not longer usefulLennart Poettering
2011-05-10database: add Mumble to service type databaseLudwig Nussel
http://mumble.sourceforge.net/
2011-04-04doc,build-sys: prepare new releaseLennart Poettering
2011-04-04socket: minor beautificationLennart Poettering
2011-04-02iface: use interface values only when validLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=690416
2011-04-02i18n: run make update-poLennart Poettering
2011-04-02Merge remote-tracking branch 'origin/master-tx'Lennart Poettering
2011-04-02avahi-discover: Fix type being inserted into tree model (Bug #332)Robert Ancell
2011-04-02iface: look for both IFA_ADDRESS and IFA_LOCALLennart Poettering
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617948 http://avahi.org/ticket/333
2011-04-02systemd: fix sd_is_socket() invocationLennart Poettering
2011-04-02general: various smaller fixesLennart Poettering
2011-03-11systemd: drop ExecReload= line since avahi-dnsconfd -r is not actually a ↵Lennart Poettering
config reload
2011-03-09update READMELennart Poettering
2011-03-09build-sys: update package version and sonameLennart Poettering