mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
avahi: disable compat-libdns_sd, disable autoipd
This commit is contained in:
parent
aa5c857ad5
commit
6441f3afb5
@ -56,7 +56,7 @@ PKG_CONFIGURE_OPTS_TARGET="py_cv_mod_gtk_=yes \
|
|||||||
--enable-python-dbus \
|
--enable-python-dbus \
|
||||||
--disable-mono \
|
--disable-mono \
|
||||||
--disable-monodoc \
|
--disable-monodoc \
|
||||||
--enable-autoipd \
|
--disable-autoipd \
|
||||||
--disable-doxygen-doc \
|
--disable-doxygen-doc \
|
||||||
--disable-doxygen-dot \
|
--disable-doxygen-dot \
|
||||||
--disable-doxygen-man \
|
--disable-doxygen-man \
|
||||||
@ -71,13 +71,11 @@ PKG_CONFIGURE_OPTS_TARGET="py_cv_mod_gtk_=yes \
|
|||||||
--disable-manpages \
|
--disable-manpages \
|
||||||
--disable-xmltoman \
|
--disable-xmltoman \
|
||||||
--disable-tests \
|
--disable-tests \
|
||||||
--enable-compat-libdns_sd \
|
--disable-compat-libdns_sd \
|
||||||
--disable-compat-howl \
|
--disable-compat-howl \
|
||||||
--with-xml=expat \
|
--with-xml=expat \
|
||||||
--with-avahi-user=avahi \
|
--with-avahi-user=avahi \
|
||||||
--with-avahi-group=avahi \
|
--with-avahi-group=avahi \
|
||||||
--with-autoipd-user=avahiautoipd \
|
|
||||||
--with-autoipd-group=avahiautoipd \
|
|
||||||
--disable-nls"
|
--disable-nls"
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
@ -92,7 +90,6 @@ post_makeinstall_target() {
|
|||||||
# browse domains?
|
# browse domains?
|
||||||
sed -e "s,^.*browse-domains=.*$,# browse-domains=,g" -i $INSTALL/etc/avahi/avahi-daemon.conf
|
sed -e "s,^.*browse-domains=.*$,# browse-domains=,g" -i $INSTALL/etc/avahi/avahi-daemon.conf
|
||||||
|
|
||||||
rm -rf $INSTALL/etc/avahi/avahi-autoipd.action
|
|
||||||
rm -rf $INSTALL/etc/avahi/avahi-dnsconfd.action
|
rm -rf $INSTALL/etc/avahi/avahi-dnsconfd.action
|
||||||
rm -rf $INSTALL/etc/avahi/services/ssh.service
|
rm -rf $INSTALL/etc/avahi/services/ssh.service
|
||||||
if [ ! $SFTP_SERVER = "yes" ]; then
|
if [ ! $SFTP_SERVER = "yes" ]; then
|
||||||
@ -100,7 +97,6 @@ post_makeinstall_target() {
|
|||||||
fi
|
fi
|
||||||
rm -rf $INSTALL/lib/systemd
|
rm -rf $INSTALL/lib/systemd
|
||||||
rm -f $INSTALL/usr/share/dbus-1/system-services/org.freedesktop.Avahi.service
|
rm -f $INSTALL/usr/share/dbus-1/system-services/org.freedesktop.Avahi.service
|
||||||
rm -f $INSTALL/usr/sbin/avahi-autoipd
|
|
||||||
rm -f $INSTALL/usr/sbin/avahi-dnsconfd
|
rm -f $INSTALL/usr/sbin/avahi-dnsconfd
|
||||||
rm -f $INSTALL/usr/bin/avahi-bookmarks
|
rm -f $INSTALL/usr/bin/avahi-bookmarks
|
||||||
rm -f $INSTALL/usr/bin/avahi-publish*
|
rm -f $INSTALL/usr/bin/avahi-publish*
|
||||||
@ -110,7 +106,4 @@ post_makeinstall_target() {
|
|||||||
post_install() {
|
post_install() {
|
||||||
add_user avahi x 495 495 "avahi-daemon" "/var/run/avahi-daemon" "/bin/sh"
|
add_user avahi x 495 495 "avahi-daemon" "/var/run/avahi-daemon" "/bin/sh"
|
||||||
add_group avahi 495
|
add_group avahi 495
|
||||||
|
|
||||||
add_user avahiautoipd x 496 496 "avahi-autoipd" "/var/lib/avahi-autoipd" "/bin/sh"
|
|
||||||
add_group avahiautoipd 496
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user