mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
rsyslog: added a virtualpkg.d plist file.
This commit is contained in:
parent
79368469c7
commit
9b6e518d99
2 changed files with 20 additions and 1 deletions
13
srcpkgs/rsyslog/files/rsyslog.virtualpkgd
Normal file
13
srcpkgs/rsyslog/files/rsyslog.virtualpkgd
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<!-- This dictionary sets that we _always_ want
|
||||||
|
the "rsyslog" package to be the default syslog-daemon
|
||||||
|
package, over other alternatives. -->
|
||||||
|
<key>virtual-pkgver</key>
|
||||||
|
<string>syslog-daemon-0</string>
|
||||||
|
<key>target-pkgpattern</key>
|
||||||
|
<string>rsyslog>=0</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rsyslog'
|
# Template file for 'rsyslog'
|
||||||
pkgname=rsyslog
|
pkgname=rsyslog
|
||||||
version=5.8.5
|
version=5.8.5
|
||||||
revision=4
|
revision=5
|
||||||
homepage="http://www.rsyslog.com"
|
homepage="http://www.rsyslog.com"
|
||||||
distfiles="${homepage}/files/download/rsyslog/$pkgname-$version.tar.gz"
|
distfiles="${homepage}/files/download/rsyslog/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
|
@ -41,4 +41,10 @@ post_install()
|
||||||
install -d ${DESTDIR}/usr/share/doc/rsyslog/html
|
install -d ${DESTDIR}/usr/share/doc/rsyslog/html
|
||||||
install -m644 ${wrksrc}/doc/*.{html,png} \
|
install -m644 ${wrksrc}/doc/*.{html,png} \
|
||||||
${DESTDIR}/usr/share/doc/rsyslog/html
|
${DESTDIR}/usr/share/doc/rsyslog/html
|
||||||
|
|
||||||
|
vmkdir etc/xbps/virtualpkg.d.wants
|
||||||
|
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
||||||
|
644 etc/xbps/virtualpkg.d ${pkgname}
|
||||||
|
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
||||||
|
ln -sf ../virtualpkg.d/${pkgname} .
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue