forked from corrad1nho/qomui
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from samicrusader/develop
pull develop into master
- Loading branch information
Showing
7 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
upcoming_changes.txt | ||
arch_temppackage/ | ||
arch_temppackage/ | ||
debian/python3-qomui* | ||
debian/*.deb | ||
debian/qomui-build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: python3-qomui | ||
Version: xversion | ||
Architecture: all | ||
Maintainer: samicrusader <[email protected]> | ||
Depends: python3, python3-bs4, python3-pexpect, python3-psutil, python3-requests, python3-lxml, python3-pyqt5, python3-dbus, openvpn, stunnel4, dnsutils, python3-cryptography, wireguard, iptables, geoip-bin, dnsmasq, libcgroup1, python3-netifaces, python3-dbus.mainloop.pyqt5 | ||
Installed-Size: in_kb | ||
Homepage: https://github.com/samicrusader/qomui | ||
Description: Qomui (Qt OpenVPN Management UI) | ||
Qomui (Qt OpenVPN Management UI) is an easy-to-use OpenVPN/WireGuard gui for GNU/Linux with some unique features such as provider-independent support for double-hop connections. Qomui supports multiple providers with added convenience when using AirVPN, PIA, ProtonVPN, Windscribe or Mullvad. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
rm ./*.deb | ||
|
||
/usr/bin/env git clone https://github.com/samicrusader/qomui.git qomui-build | ||
cd qomui-build | ||
version="$(git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')" | ||
pkgdir=python3-qomui_"$version"_all | ||
mkdir -p "../$pkgdir/DEBIAN" | ||
/usr/bin/env python3 setup.py build | ||
/usr/bin/env python3 setup.py test | ||
/usr/bin/env python3 setup.py install --root="../$pkgdir" --optimize=1 --skip-build | ||
cd ./.. | ||
mkdir -p "$pkgdir/usr/lib/python3/dist-packages" | ||
mv "$pkgdir"/usr/lib/python3.*/site-packages/qomui* "$pkgdir/usr/lib/python3/dist-packages" | ||
rm -r "$pkgdir"/usr/lib/python3.* | ||
size="$(du --apparent-size --block-size=K --summarize "$pkgdir/usr/" | cut -f -1)" | ||
|
||
cp {control,postinst,prerm} "$pkgdir/DEBIAN" | ||
/usr/bin/env sed -i "s/xversion/$version/g" "$pkgdir/DEBIAN/control" | ||
/usr/bin/env sed -i "s/in_kb/$size/g" "$pkgdir/DEBIAN/control" | ||
/usr/bin/env dpkg-deb --build --root-owner-group "$pkgdir" | ||
rm -rf qomui-build "$pkgdir" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
systemctl enable --now qomui.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
systemctl disable --now qomui.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters