aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2016-04-27 18:16:59 +0000
committerJuan RP <xtraeme@voidlinux.eu>2016-04-27 18:16:59 +0000
commitd2bac19750507c10fcb4c3a92017cdec03184885 (patch)
treef28dbee41feb83a8ce75a36694cf6d8c9c6566aa /etc
parent78c601e18ef00aa7dbe8e191b56e8992f0eadf72 (diff)
downloadvoid-packages-d2bac19750507c10fcb4c3a92017cdec03184885.tar
void-packages-d2bac19750507c10fcb4c3a92017cdec03184885.tar.gz
void-packages-d2bac19750507c10fcb4c3a92017cdec03184885.tar.bz2
void-packages-d2bac19750507c10fcb4c3a92017cdec03184885.tar.lz
void-packages-d2bac19750507c10fcb4c3a92017cdec03184885.tar.xz
void-packages-d2bac19750507c10fcb4c3a92017cdec03184885.tar.zst
void-packages-d2bac19750507c10fcb4c3a92017cdec03184885.zip
xbps-src: re-introduce etc/virtual.
The `etc/virtual` file declares the default package to be built for virtual dependencies declared as "virtual?foo" in $depends. Before this change, the run-time dependency was added as is to the final binary package but no pkg providing this virtual pkg was built. With this file we declare the *default* pkg to be built. NOTE: "virtual?foo" is only applicable to *run* time dependencies, i.e only those declared in $depends.
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults.virtual27
1 files changed, 27 insertions, 0 deletions
diff --git a/etc/defaults.virtual b/etc/defaults.virtual
new file mode 100644
index 00000000000..1a980002b3f
--- /dev/null
+++ b/etc/defaults.virtual
@@ -0,0 +1,27 @@
+# --*-- shell --*--
+#
+# etc/defaults.virtual
+# default configuration of etc/virtual
+#
+# DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING UPDATES,
+# EDIT etc/virtual INSTEAD.
+#
+# This file specifies a mapping between virtual packages and real packages
+# available in the source packages collection (srcpkgs).
+#
+# The format uses 2 arguments delimited by a blank: <vpkgname> <realpkgname>
+#
+# When building a package with "xbps-src", those dependencies declared like
+# "virtual?foo" will use the replacement package defined in `etc/virtual`.
+#
+# NOTE: this mapping is only there to be able to build a default package
+# to resolve the virtual package dependency later on with xbps-install(1).
+#
+# NOTE: Create your own etc/virtual file to override these defaults.
+
+awk gawk
+java-environment openjdk
+java-runtime openjdk-jre
+ntp-daemon chrony
+xserver-abi-input xorg-server
+xserver-abi-video xorg-server