Remove virtualpkg.d plist files, they are dynamically created by xbps-src.

This commit is contained in:
Juan RP 2011-10-26 16:53:50 +02:00
parent 15f01ebf76
commit 1be478b255
24 changed files with 10 additions and 220 deletions

View file

@ -1,13 +0,0 @@
<?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 "chromium-unstable" package to be the default chromium
package, over other alternatives. -->
<key>virtual-pkgver</key>
<string>chromium-0</string>
<key>target-pkgpattern</key>
<string>chromium-unstable>=0</string>
</dict>
</plist>

View file

@ -2,6 +2,7 @@
__pkgname=chromium __pkgname=chromium
pkgname=${__pkgname}-unstable pkgname=${__pkgname}-unstable
version=17.0.916.0 version=17.0.916.0
revision=1
distfiles="http://build.chromium.org/official/${__pkgname}-$version.tar.bz2" distfiles="http://build.chromium.org/official/${__pkgname}-$version.tar.bz2"
short_desc="Google's attempt at creating a safer, faster, and more stable browser" short_desc="Google's attempt at creating a safer, faster, and more stable browser"
maintainer="davehome <davehome@redthumb.info.tm>" maintainer="davehome <davehome@redthumb.info.tm>"
@ -148,11 +149,4 @@ do_install()
done done
vinstall ${FILESDIR}/chromium.sh 755 usr/bin chromium vinstall ${FILESDIR}/chromium.sh 755 usr/bin chromium
vinstall LICENSE 644 usr/share/licenses/${__pkgname} vinstall LICENSE 644 usr/share/licenses/${__pkgname}
vinstall ${FILESDIR}/chromium-unstable.virtualpkgd \
644 etc/xbps/virtualpkg.d chromium-unstable.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/chromium-unstable.plist .
} }

View file

@ -1,13 +0,0 @@
<?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 "cronie" package to be the default cron-daemon
package, over other alternatives. -->
<key>virtual-pkgver</key>
<string>cron-daemon-0</string>
<key>target-pkgpattern</key>
<string>cronie>=0</string>
</dict>
</plist>

View file

@ -1,7 +1,7 @@
# Template file for 'cronie' # Template file for 'cronie'
pkgname=cronie pkgname=cronie
version=1.4.8 version=1.4.8
revision=5 revision=6
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz" distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-inotify --without-selinux --with-pam --disable-anacron configure_args="--with-inotify --without-selinux --with-pam --disable-anacron
@ -40,11 +40,6 @@ post_install()
vinstall ${FILESDIR}/crond.logrotate 644 etc/logrotate.d crond vinstall ${FILESDIR}/crond.logrotate 644 etc/logrotate.d crond
rm -f ${DESTDIR}/etc/pam.d/crond rm -f ${DESTDIR}/etc/pam.d/crond
vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond vinstall ${FILESDIR}/crond.pam 644 etc/pam.d crond
vinstall ${FILESDIR}/cronie.virtualpkgd \
644 etc/xbps/virtualpkg.d cronie.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/cronie.plist .
# Add /etc/cron.deny empty, to allow all users. # Add /etc/cron.deny empty, to allow all users.
touch ${DESTDIR}/etc/cron.deny touch ${DESTDIR}/etc/cron.deny

View file

@ -1,13 +0,0 @@
<?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 "dcron" package to be the default cron-daemon
package, over other alternatives. -->
<key>virtual-pkgver</key>
<string>cron-daemon-0</string>
<key>target-pkgpattern</key>
<string>dcron>=0</string>
</dict>
</plist>

View file

@ -1,7 +1,7 @@
# Template file for 'dcron' # Template file for 'dcron'
pkgname=dcron pkgname=dcron
version=4.5 version=4.5
revision=7 revision=8
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz" distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
short_desc="Dillon's lightweight cron daemon" short_desc="Dillon's lightweight cron daemon"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -42,12 +42,6 @@ do_install()
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
vinstall ${FILESDIR}/dcron.service 644 lib/systemd/system vinstall ${FILESDIR}/dcron.service 644 lib/systemd/system
vinstall ${FILESDIR}/dcron.virtualpkgd \
644 etc/xbps/virtualpkg.d dcron.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/dcron.plist .
# crontab must be setuid for all users to work! # crontab must be setuid for all users to work!
chmod 4755 ${DESTDIR}/usr/bin/crontab chmod 4755 ${DESTDIR}/usr/bin/crontab
} }

View file

@ -1,10 +0,0 @@
<?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>
<key>virtual-pkgver</key>
<string>jpeg-devel-8</string>
<key>target-pkgpattern</key>
<string>libjpeg-turbo-devel>=0</string>
</dict>
</plist>

View file

@ -1,10 +0,0 @@
<?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>
<key>virtual-pkgver</key>
<string>jpeg-tools-8</string>
<key>target-pkgpattern</key>
<string>libjpeg-turbo-tools>=0</string>
</dict>
</plist>

View file

@ -1,10 +0,0 @@
<?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>
<key>virtual-pkgver</key>
<string>jpeg-8</string>
<key>target-pkgpattern</key>
<string>libjpeg-turbo>=0</string>
</dict>
</plist>

View file

@ -11,15 +11,10 @@ Add_dependency run libjpeg-turbo
provides="jpeg-devel-8" provides="jpeg-devel-8"
replaces="jpeg-devel>=0" replaces="jpeg-devel>=0"
revision=3 revision=4
do_install() do_install()
{ {
vmove usr/include usr vmove usr/include usr
vmove "usr/lib/*.a" usr/lib vmove "usr/lib/*.a" usr/lib
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
644 etc/xbps/virtualpkg.d ${pkgname}.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
} }

View file

@ -11,15 +11,10 @@ Add_dependency run libjpeg-turbo ">=${version}"
provides="jpeg-tools-8" provides="jpeg-tools-8"
replaces="jpeg-tools>=0" replaces="jpeg-tools>=0"
revision=3 revision=4
do_install() do_install()
{ {
vmove usr/bin usr vmove usr/bin usr
vmove usr/share/man usr/share vmove usr/share/man usr/share
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
644 etc/xbps/virtualpkg.d ${pkgname}.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
} }

View file

@ -1,7 +1,7 @@
# Template build file for 'libjpeg-turbo'. # Template build file for 'libjpeg-turbo'.
pkgname=libjpeg-turbo pkgname=libjpeg-turbo
version=1.1.1 version=1.1.1
revision=3 revision=4
homepage="http://libjpeg-turbo.virtualgl.org/" homepage="http://libjpeg-turbo.virtualgl.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
build_style=gnu-configure build_style=gnu-configure
@ -27,11 +27,6 @@ Add_dependency build nasm
post_install() { post_install() {
vinstall jpegint.h 644 usr/include vinstall jpegint.h 644 usr/include
vinstall LICENSE.txt 644 usr/share/licenses/${pkgname} vinstall LICENSE.txt 644 usr/share/licenses/${pkgname}
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
644 etc/xbps/virtualpkg.d ${pkgname}.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
rm -f ${DESTDIR}/usr/bin/jpegut rm -f ${DESTDIR}/usr/bin/jpegut
rm -f ${DESTDIR}/usr/bin/jpgtest rm -f ${DESTDIR}/usr/bin/jpgtest

View file

@ -1,13 +0,0 @@
<?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>

View file

@ -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=6 revision=7
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,10 +41,4 @@ 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}.plist
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
} }

View file

@ -1,10 +0,0 @@
<?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>
<key>virtual-pkgver</key>
<string>vim-@@VERSION@@</string>
<key>target-pkgpattern</key>
<string>@@PKGNAME@@>=@@VERSION@@</string>
</dict>
</plist>

View file

@ -6,6 +6,7 @@
. ${XBPS_SRCPKGDIR}/vim/template . ${XBPS_SRCPKGDIR}/vim/template
unset subpackages unset subpackages
pkgname=vim-x11 pkgname=vim-x11
revision=1
configure_args="${configure_args} --enable-gui=no --with-x" configure_args="${configure_args} --enable-gui=no --with-x"
short_desc="${short_desc} (x11)" short_desc="${short_desc} (x11)"
long_desc="${long_desc} long_desc="${long_desc}
@ -23,14 +24,6 @@ Add_dependency run libICE
Add_dependency build pkg-config Add_dependency build pkg-config
Add_dependency build libXt-devel Add_dependency build libXt-devel
post_install() post_install() {
{
vmkdir etc/xbps/virtualpkg.d.wants
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
644 etc/xbps/virtualpkg.d ${pkgname}.plist
sed -i "s|@@PKGNAME@@|${pkgname}|;s|@@VERSION@@|${version}|" \
${DESTDIR}/etc/xbps/virtualpkg.d/${pkgname}.plist
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
rm -rf ${DESTDIR}/usr/share rm -rf ${DESTDIR}/usr/share
} }

View file

@ -1,11 +0,0 @@
<?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>
<!-- Prefer the xbps-devel-static pkg over other alternatices -->
<key>virtual-pkgver</key>
<string>xbps-static-9999</string>
<key>target-pkgpattern</key>
<string>xbps-devel-static>=0</string>
</dict>
</plist>

View file

@ -1,11 +0,0 @@
<?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>
<!-- Prefer the xbps-devel pkg over other alternatices -->
<key>virtual-pkgver</key>
<string>xbps-9999</string>
<key>target-pkgpattern</key>
<string>xbps-devel>=0</string>
</dict>
</plist>

View file

@ -41,11 +41,3 @@ do_fetch() {
msg_normal " Fetching source from $url ...\n" msg_normal " Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version} git clone ${url} ${pkgname}-${version}
} }
post_install() {
vinstall ${FILESDIR}/virtualpkg.d/${pkgname}.plist \
644 etc/xbps/virtualpkg.d
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
}

View file

@ -16,9 +16,4 @@ do_install()
vmove usr/include usr vmove usr/include usr
vmove "sbin/*.static" sbin vmove "sbin/*.static" sbin
vmove "lib/*.a" usr/lib vmove "lib/*.a" usr/lib
vinstall ${FILESDIR}/virtualpkg.d/${pkgname}.plist \
644 etc/xbps/virtualpkg.d
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
} }

View file

@ -1,10 +0,0 @@
<?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>
<key>virtual-pkgver</key>
<string>@@PROVIDES@@</string>
<key>target-pkgpattern</key>
<string>@@REPLACES@@</string>
</dict>
</plist>

View file

@ -40,13 +40,3 @@ do_fetch() {
pre_configure() { pre_configure() {
./autogen.sh ./autogen.sh
} }
post_install() {
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
644 etc/xbps/virtualpkg.d ${pkgname}.plist
sed -i "s|@@PROVIDES@@|${provides}|;s|@@REPLACES@@|${replaces}|" \
${DESTDIR}/etc/xbps/virtualpkg.d/${pkgname}.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
}

View file

@ -1,10 +0,0 @@
<?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>
<key>virtual-pkgver</key>
<string>notification-daemon-0.6</string>
<key>target-pkgpattern</key>
<string>xfce4-notifyd>=0</string>
</dict>
</plist>

View file

@ -1,7 +1,7 @@
# Template file for 'xfce4-notifyd' # Template file for 'xfce4-notifyd'
pkgname=xfce4-notifyd pkgname=xfce4-notifyd
version=0.2.1 version=0.2.1
revision=3 revision=4
distfiles="http://archive.xfce.org/src/apps/$pkgname/0.2/$pkgname-$version.tar.bz2" distfiles="http://archive.xfce.org/src/apps/$pkgname/0.2/$pkgname-$version.tar.bz2"
build_style=gnu-configure build_style=gnu-configure
short_desc="Simple, visually-appealing notification daemon for Xfce" short_desc="Simple, visually-appealing notification daemon for Xfce"
@ -40,11 +40,3 @@ Add_dependency build gtk+-devel
Add_dependency full hicolor-icon-theme Add_dependency full hicolor-icon-theme
Add_dependency full desktop-file-utils Add_dependency full desktop-file-utils
post_install() {
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
644 etc/xbps/virtualpkg.d ${pkgname}.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
}