Package Details: linux-wifi-hotspot 2.0.0+4+g61ac43a-2

Git Clone URL: https://aur.archlinux.org/linux-wifi-hotspot.git (read-only, click to copy)
Package Base: linux-wifi-hotspot
Description: Create virtual wifi hotspot using same wifi card which is connected to an AP + many features (a GUI tool)
Upstream URL: https://github.com/lakinduakash/linux-wifi-hotspot
Keywords: gtk3 linux network shell-script ubuntu wifi wifi-hotspot
Licenses: BSD
Conflicts: create_ap, wihotspot
Provides: wihotspot
Submitter: ragouel
Maintainer: ragouel (yochananmarqos)
Last Packager: yochananmarqos
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-05 23:26
Last Updated: 2020-08-08 16:01

Latest Comments

ragouel commented on 2020-08-12 10:43

@js_f I cannot reproduce your issue. Try a clean build. Remove pkgbuild cache of linux-wifi-hotspot before updating.

js_f commented on 2020-08-12 07:48

I can't build the AUR package, here is the error:

Building linux-wifi-hotspot...
==> Making package: linux-wifi-hotspot 2.0.0+4+g61ac43a-2 (Wed 12 Aug 2020 17:41:19 AEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating linux-wifi-hotspot git repo...
Fetching origin
==> Validating source files with sha256sums...
    linux-wifi-hotspot ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of linux-wifi-hotspot git repo...
Cloning into 'linux-wifi-hotspot'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Run 'make install' for installation.
Run 'make uninstall' for uninstallation.
mkdir -p build
cd build && cmake -G "CodeBlocks - Unix Makefiles" ../src
-- The C compiler identification is GNU 10.1.0
-- The CXX compiler identification is GNU 10.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.21
-- Checking for module 'x11'
--   Found x11, version 1.6.9
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/pamac-build-jsf/linux-wifi-hotspot/src/linux-wifi-hotspot/build
==> Entering fakeroot environment...
==> Starting package()...
Installing
cd build && cmake -DCMAKE_INSTALL_PREFIX=/var/tmp/pamac-build-jsf/linux-wifi-hotspot/pkg/linux-wifi-hotspot -G "CodeBlocks - Unix Makefiles" ../src
-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/pamac-build-jsf/linux-wifi-hotspot/src/linux-wifi-hotspot/build
make -C src/scripts install
make[1]: Entering directory '/var/tmp/pamac-build-jsf/linux-wifi-hotspot/src/linux-wifi-hotspot/src/scripts'
install -Dm755 create_ap /var/tmp/pamac-build-jsf/linux-wifi-hotspot/pkg/linux-wifi-hotspot/usr/bin/create_ap
install -Dm644 create_ap.conf /var/tmp/pamac-build-jsf/linux-wifi-hotspot/pkg/linux-wifi-hotspot/etc/create_ap.conf
[ ! -d /lib/systemd/system ] || install -Dm644 create_ap.service /var/tmp/pamac-build-jsf/linux-wifi-hotspot/pkg/linux-wifi-hotspot/usr/lib/systemd/system/create_ap.service
install -Dm644 bash_completion /var/tmp/pamac-build-jsf/linux-wifi-hotspot/pkg/linux-wifi-hotspot/usr/share/bash-completion/completions/create_ap
install -Dm644 README.md /var/tmp/pamac-build-jsf/linux-wifi-hotspot/pkg/linux-wifi-hotspot/usr/share/doc/create_ap/README.md
echo 'ALL ALL=NOPASSWD: /usr/bin/create_ap' | sudo EDITOR='tee -a' visudo -f /etc/sudoers.d/create_ap
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
make[1]: *** [Makefile:15: install] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-jsf/linux-wifi-hotspot/src/linux-wifi-hotspot/src/scripts'
make: *** [Makefile:10: install] Error 2
==> ERROR: A failure occurred in package().
    Aborting...

ragouel commented on 2020-05-27 02:41

ok, pkgbuild updated

yochananmarqos commented on 2020-05-26 21:06

I fixed the command in the install file.

ragouel commented on 2020-05-26 17:18

Thanks, sorted.

Some of create_ap's dependencies are already satisfied, including them in the depends array would be redundant.

yochananmarqos commented on 2020-05-26 14:44

The desktop file and icon are now included in the release tarball, FYI.

gksu is no longer needed and all create_ap's dependencies should be included.

See my PKGBUILD.

ragouel commented on 2020-05-06 15:07

Desktop file is not broken.

This will ask you for your root password (not sure if this is what you wanted?) instead of your user password. Make sure your username is in the wheel group and wheel group is in sudoers file.

yochananmarqos commented on 2020-05-06 14:29

The desktop file is broken, the Exec line should be:

Exec=sh -c 'gksu -g wihotspot'

ragouel commented on 2020-05-06 03:19

Thanks, sorted.

yochananmarqos commented on 2020-05-06 01:25

TLDR: This program is not ready for anyone to use. I give up for now.

This fails to build as you're missing cmake as a build dependency. The main dependency is create_ap which pulls in hostapd and iw. Please read the Command line help and documentation.

EDIT: Ugh, I tried to add create_ap as a dependency and it conflicts:

error: failed to commit transaction (conflicting files)
linux-wifi-hotspot-git: /etc/create_ap.conf exists in filesystem (owned by create_ap)
linux-wifi-hotspot-git: /usr/bin/create_ap exists in filesystem (owned by create_ap)
linux-wifi-hotspot-git: /usr/lib/systemd/system/create_ap.service exists in filesystem (owned by create_ap)
linux-wifi-hotspot-git: /usr/share/bash-completion/completions/create_ap exists in filesystem (owned by create_ap)
linux-wifi-hotspot-git: /usr/share/doc/create_ap/README.md exists in filesystem (owned by create_ap)

This also requires libx11:

-- Checking for module 'x11'
--   Found x11, version 1.6.9

gendesk is not required since you seem to have forgotten to use it to make a desktop file. There is now a desktop file included in the recent commits, FYI.