Package Details: linux-wifi-hotspot 4.7.2-2

Git Clone URL: https://aur.archlinux.org/linux-wifi-hotspot.git (read-only, click to copy)
Package Base: linux-wifi-hotspot
Description: Feature-rich wifi hotspot creator
Upstream URL: https://github.com/lakinduakash/linux-wifi-hotspot
Keywords: create_ap wihotspot
Licenses: BSD-2-Clause
Conflicts: create_ap, wihotspot
Provides: create_ap, wihotspot
Submitter: ragouel
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 59
Popularity: 0.32
First Submitted: 2020-05-05 23:26 (UTC)
Last Updated: 2025-05-01 18:26 (UTC)

Dependencies (10)

Required by (2)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

yochananmarqos commented on 2021-01-17 16:52 (UTC)

@CcydtN: Good catch, thanks.

CcydtN commented on 2021-01-17 10:30 (UTC)

Can't enable the "create_ap" service.

The service file is not copied while makepkg because the Makefile under /scr/scrpit/ do a check before copying the file while installing.

I add two lines to the PKGBUILD to solve it. one line creating the directory. Another line moves the folder according to the symbolic link in the root directory to prevent the error while installing.

My solution:

package() {
  cd "${pkgname}-${pkgver}"
  [ -d ${pkgdir}/lib/systemd/system ] || mkdir -p ${pkgdir}/lib/systemd/system
  make DESTDIR="${pkgdir}" install
  mv ${pkgdir}/lib ${pkgdir}/usr/lib

  install -Dm644 LICENSE -t \
   "${pkgdir}/usr/share/licenses/${pkgname}"
  install -Dm644 src/desktop/hotspot.png \
    "$pkgdir/usr/share/pixmaps/wihotspot.png"
}

pedorcas commented on 2020-11-12 14:53 (UTC) (edited on 2020-11-12 14:53 (UTC) by pedorcas)

Hi, just to add here the issue #75 on git, "Hotspot cannot be discovered despite the application is running". I'm also facing this issue (5.8.18-1-MANJARO; linux-wifi-hotspot 3.2.0-1) and currently, alternatively, using the create_ap directly.

yochananmarqos commented on 2020-10-29 16:00 (UTC)

@alium: Updated.

alium commented on 2020-10-29 08:10 (UTC)

sha256sums is wrong

iloverepublic commented on 2020-08-13 07:48 (UTC)

@ragouel Thanks for the reply. I have cleared pkgbuild cache. I'm on the latest Manjaro. I'm not sure it's a Manjaro-specific issue.

ragouel commented on 2020-08-12 10:43 (UTC)

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

iloverepublic commented on 2020-08-12 07:48 (UTC) (edited on 2020-08-12 07:49 (UTC) by iloverepublic)

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 (UTC)

ok, pkgbuild updated