|
@@ -1,7 +1,7 @@
|
|
|
#!/bin/bash
|
|
|
# Maintainer: Olivier Medoc <o_medoc@yahoo.fr>
|
|
|
# shellcheck disable=SC2034
|
|
|
-pkgname=qubes-vm-core
|
|
|
+pkgname=(qubes-vm-core qubes-vm-networking)
|
|
|
pkgver=$(cat version)
|
|
|
pkgrel=13
|
|
|
epoch=
|
|
@@ -10,16 +10,13 @@ arch=("x86_64")
|
|
|
url="http://qubes-os.org/"
|
|
|
license=('GPL')
|
|
|
groups=()
|
|
|
-depends=("qubes-vm-utils>=3.1.3" python2 python2-xdg ethtool ntp net-tools gnome-packagekit imagemagick fakeroot notification-daemon dconf zenity qubes-libvchan "qubes-db-vm>=3.2.1" haveged python2-gobject python2-dbus xdg-utils notification-daemon gawk sed procps-ng librsvg)
|
|
|
makedepends=(gcc make pkg-config "qubes-vm-utils>=3.1.3" qubes-libvchan qubes-db-vm qubes-vm-xen libx11 python2 python3 lsb-release pandoc)
|
|
|
checkdepends=()
|
|
|
-optdepends=(gnome-keyring gnome-settings-daemon networkmanager iptables tinyproxy python2-nautilus gpk-update-viewer)
|
|
|
provides=()
|
|
|
conflicts=()
|
|
|
replaces=()
|
|
|
backup=()
|
|
|
options=()
|
|
|
-install=PKGBUILD.install
|
|
|
changelog=
|
|
|
|
|
|
source=(
|
|
@@ -60,15 +57,25 @@ build() {
|
|
|
done
|
|
|
}
|
|
|
|
|
|
-package() {
|
|
|
+package_qubes-vm-core() {
|
|
|
+ depends=("qubes-vm-utils>=3.1.3" python2 python2-xdg ethtool ntp net-tools
|
|
|
+ gnome-packagekit imagemagick fakeroot notification-daemon dconf
|
|
|
+ zenity qubes-libvchan "qubes-db-vm>=3.2.1" haveged python2-gobject
|
|
|
+ python2-dbus xdg-utils notification-daemon gawk sed procps-ng librsvg
|
|
|
+ socat
|
|
|
+ )
|
|
|
+ optdepends=(gnome-keyring gnome-settings-daemon python2-nautilus gpk-update-viewer)
|
|
|
+ install=PKGBUILD.install
|
|
|
+
|
|
|
# Note: Archlinux removed use of directory such as /sbin /bin /usr/sbin (https://mailman.archlinux.org/pipermail/arch-dev-public/2012-March/022625.html)
|
|
|
# shellcheck disable=SC2154
|
|
|
make -C qrexec install DESTDIR="$pkgdir" SBINDIR=/usr/bin LIBDIR=/usr/lib SYSLIBDIR=/usr/lib
|
|
|
|
|
|
- PYTHON=python2 make install-vm DESTDIR="$pkgdir" SBINDIR=/usr/bin LIBDIR=/usr/lib SYSLIBDIR=/usr/lib SYSTEM_DROPIN_DIR=/usr/lib/systemd/system USER_DROPIN_DIR=/usr/lib/systemd/user DIST=archlinux
|
|
|
+ PYTHON=python2 make install-corevm DESTDIR="$pkgdir" SBINDIR=/usr/bin LIBDIR=/usr/lib SYSLIBDIR=/usr/lib SYSTEM_DROPIN_DIR=/usr/lib/systemd/system USER_DROPIN_DIR=/usr/lib/systemd/user DIST=archlinux
|
|
|
|
|
|
# Remove things non wanted in archlinux
|
|
|
rm -r "$pkgdir/etc/yum"*
|
|
|
+ rm -r "$pkgdir/etc/dnf"*
|
|
|
rm -r "$pkgdir/etc/init.d"
|
|
|
# Remove fedora specific scripts
|
|
|
rm "$pkgdir/etc/fstab"
|
|
@@ -101,4 +108,25 @@ EOF
|
|
|
rm -r "$pkgdir/var/run"
|
|
|
}
|
|
|
|
|
|
+#This package provides:
|
|
|
+# * basic network functionality (setting IP address, DNS, default gateway)
|
|
|
+# * proxy service used by TemplateVMs to download updates
|
|
|
+# * qubes-firewall service (FirewallVM)
|
|
|
+#
|
|
|
+#Integration of NetworkManager for Qubes VM:
|
|
|
+# * make connections config persistent
|
|
|
+# * adjust DNS redirections when needed
|
|
|
+# * show/hide NetworkManager applet icon
|
|
|
+#
|
|
|
+package_qubes-vm-networking() {
|
|
|
+ depends=(qubes-vm-core "qubes-vm-utils>=3.1.3" python2 ethtool net-tools
|
|
|
+ "qubes-db-vm>=3.2.1" networkmanager iptables tinyproxy nftables
|
|
|
+ )
|
|
|
+ install=PKGBUILD-networking.install
|
|
|
+
|
|
|
+ # shellcheck disable=SC2154
|
|
|
+ PYTHON=python2 make install-netvm DESTDIR="$pkgdir" SBINDIR=/usr/bin LIBDIR=/usr/lib SYSLIBDIR=/usr/lib SYSTEM_DROPIN_DIR=/usr/lib/systemd/system USER_DROPIN_DIR=/usr/lib/systemd/user DIST=archlinux
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
# vim:set ts=2 sw=2 et:
|