Skip to content

Commit

Permalink
avahi: Disable by default
Browse files Browse the repository at this point in the history
**Summary**
Disable by default in favour of systemd-resolved.
  • Loading branch information
silkeh committed Sep 8, 2024
1 parent 155e6f5 commit 0590bc1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
9 changes: 1 addition & 8 deletions packages/a/avahi/package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name : avahi
version : '0.8'
release : 27
release : 28
source :
# - https://github.com/avahi/avahi/archive/refs/tags/v0.8.tar.gz : c15e750ef7c6df595fb5f2ce10cac0fee2353649600e6919ad08ae8871e4945f
# Use git source until v0.9 releases:
Expand Down Expand Up @@ -53,13 +53,6 @@ install : |
install -D -m 00644 $pkgfiles/avahi.sysusers $installdir%libdir%/sysusers.d/avahi.conf
install -D -m 00644 $pkgfiles/avahi.tmpfiles $installdir%libdir%/tmpfiles.d/avahi.conf
# Pre-enable
install -D -d -m 00755 $installdir/%libdir%/systemd/system/sockets.target.wants
install -D -d -m 00755 $installdir/%libdir%/systemd/system/multi-user.target.wants
ln -sv ../avahi-daemon.socket -t $installdir/%libdir%/systemd/system/sockets.target.wants
ln -sv avahi-daemon.service $installdir/%libdir%/systemd/system/dbus-org.freedesktop.Avahi.service
ln -sv ../avahi-daemon.service $installdir/%libdir%/systemd/system/multi-user.target.wants/avahi-daemon.service
else
rm -rfv $installdir/%libdir%/systemd
fi
Expand Down
23 changes: 10 additions & 13 deletions packages/a/avahi/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<Name>avahi</Name>
<Homepage>https://www.avahi.org/</Homepage>
<Packager>
<Name>Reilly Brogan</Name>
<Email>[email protected]</Email>
<Name>Silke Hofstra</Name>
<Email>[email protected]</Email>
</Packager>
<License>LGPL-2.1-or-later</License>
<PartOf>desktop.core</PartOf>
Expand Down Expand Up @@ -52,9 +52,6 @@
<Path fileType="library">/usr/lib64/systemd/system/avahi-daemon.service</Path>
<Path fileType="library">/usr/lib64/systemd/system/avahi-daemon.socket</Path>
<Path fileType="library">/usr/lib64/systemd/system/avahi-dnsconfd.service</Path>
<Path fileType="library">/usr/lib64/systemd/system/dbus-org.freedesktop.Avahi.service</Path>
<Path fileType="library">/usr/lib64/systemd/system/multi-user.target.wants/avahi-daemon.service</Path>
<Path fileType="library">/usr/lib64/systemd/system/sockets.target.wants/avahi-daemon.socket</Path>
<Path fileType="library">/usr/lib64/sysusers.d/avahi.conf</Path>
<Path fileType="library">/usr/lib64/tmpfiles.d/avahi.conf</Path>
<Path fileType="executable">/usr/sbin/avahi-autoipd</Path>
Expand Down Expand Up @@ -157,7 +154,7 @@
</Description>
<PartOf>emul32</PartOf>
<RuntimeDependencies>
<Dependency release="27">avahi</Dependency>
<Dependency release="28">avahi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32/girepository-1.0/Avahi-0.6.typelib</Path>
Expand Down Expand Up @@ -189,8 +186,8 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="27">avahi-devel</Dependency>
<Dependency release="27">avahi-32bit</Dependency>
<Dependency release="28">avahi-devel</Dependency>
<Dependency release="28">avahi-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/lib32/pkgconfig/avahi-client.pc</Path>
Expand All @@ -207,7 +204,7 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="27">avahi</Dependency>
<Dependency release="28">avahi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/avahi-client/client.h</Path>
Expand Down Expand Up @@ -252,12 +249,12 @@
</Files>
</Package>
<History>
<Update release="27">
<Date>2024-07-20</Date>
<Update release="28">
<Date>2024-09-08</Date>
<Version>0.8</Version>
<Comment>Packaging update</Comment>
<Name>Reilly Brogan</Name>
<Email>[email protected]</Email>
<Name>Silke Hofstra</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>

0 comments on commit 0590bc1

Please sign in to comment.