mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2025-02-16 07:30:09 +00:00
Merge branch 'master' into dev
This commit is contained in:
commit
6283e4cd33
17
.github/.stale.yml
vendored
Normal file
17
.github/.stale.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# Number of days of inactivity before an issue becomes stale
|
||||
daysUntilStale: 30
|
||||
# Number of days of inactivity before a stale issue is closed
|
||||
daysUntilClose: 7
|
||||
# Issues with these labels will never be considered stale
|
||||
exemptLabels:
|
||||
- pinned
|
||||
- security
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: wontfix
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: true
|
@ -1,3 +1,16 @@
|
||||
## Contributing
|
||||
# Contributing
|
||||
|
||||
This project is still new. So you can simply open a issue and send a PR. Also there are some existing issues. Pick one and start contributing.
|
||||
When contributing to this repository, please first discuss the change you wish to make via issue,
|
||||
gitter channel or any other method with the owners of this repository before making a change.
|
||||
|
||||
Please note we have a code of conduct, please follow it in all your interactions with the project.
|
||||
|
||||
## Pull Request Process
|
||||
|
||||
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
|
||||
build.
|
||||
2. Update the README.md with details of changes to the interface, this includes new environment
|
||||
variables, exposed ports, useful file locations and container parameters.
|
||||
3. Increase the version numbers in any examples files and the README.md to the new version that this
|
||||
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
|
||||
4. Once code will be reviewed and tested PR will be merged. Also make sure to fix any automated build and test errors if any.
|
||||
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
linux-wifi-hotspot (3.1.1) UNRELEASED; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Scott Hardin <snhardin@users.noreply.github.com> Wed, 21 Oct 2020 19:21:49 -0700
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
11
|
13
debian/control
vendored
Normal file
13
debian/control
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Source: linux-wifi-hotspot
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Maintainer: Lakindu Akash <lakinduakash@users.noreply.github.com>
|
||||
Build-Depends: debhelper (>=11~), pkg-config, libgtk-3-dev
|
||||
Standards-Version: 4.1.4
|
||||
Homepage: https://github.com/lakinduakash/linux-wifi-hotspot
|
||||
|
||||
Package: linux-wifi-hotspot
|
||||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: GUI tool for creating virtual hotspots using the same wi-fi card that is already connected to an access point.
|
24
debian/copyright
vendored
Normal file
24
debian/copyright
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
Files: *
|
||||
Copyright: 2013 oblique
|
||||
2019 lakinduaksh
|
||||
License: BSD-2-Clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
.
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
5
debian/rules
vendored
Executable file
5
debian/rules
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/make -f
|
||||
export DH_VERBOSE = 1
|
||||
|
||||
%:
|
||||
dh $@
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
@ -9,7 +9,7 @@ all:
|
||||
install:
|
||||
install -CDm755 create_ap $(DESTDIR)$(BINDIR)/create_ap
|
||||
install -CDm644 create_ap.conf $(DESTDIR)/etc/create_ap.conf
|
||||
[ ! -d /lib/systemd/system ] || install -CDm644 create_ap.service $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service
|
||||
[ ! -d $(DESTDIR)/lib/systemd/system ] || install -CDm644 create_ap.service $(DESTDIR)/lib/systemd/system/create_ap.service
|
||||
install -CDm644 bash_completion $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap
|
||||
install -CDm644 README.md $(DESTDIR)$(PREFIX)/share/doc/create_ap/README.md
|
||||
install -CDm755 wihotspot $(DESTDIR)$(BINDIR)/wihotspot
|
||||
@ -17,7 +17,7 @@ install:
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(BINDIR)/create_ap
|
||||
rm -f $(DESTDIR)/etc/create_ap.conf
|
||||
[ ! -f /lib/systemd/system/create_ap.service ] || rm -f $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service
|
||||
[ ! -f $(DESTDIR)/lib/systemd/system/create_ap.service ] || rm -f $(DESTDIR)/lib/systemd/system/create_ap.service
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/doc/create_ap/README.md
|
||||
rm -f /etc/sudoers.d/create_ap # For older versions
|
||||
|
17
util/debian/Dockerfile
Normal file
17
util/debian/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM ubuntu:20.04
|
||||
|
||||
ARG GIT_TAG=master
|
||||
ARG GIT_URL=https://github.com/lakinduakash/linux-wifi-hotspot/archive/${GIT_TAG}.tar.gz
|
||||
|
||||
# Retrieve dependencies
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y debhelper devscripts build-essential pkg-config libgtk-3-dev
|
||||
|
||||
# Clone source code
|
||||
WORKDIR /root
|
||||
RUN curl -L --output linux-wifi-hotspot.tar.gz --silent ${GIT_URL}
|
||||
RUN tar -xzf linux-wifi-hotspot.tar.gz
|
||||
|
||||
WORKDIR /root/linux-wifi-hotspot-${GIT_TAG}
|
||||
RUN debuild -uc -us
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
11
util/debian/README.md
Normal file
11
util/debian/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
# Debian Build Docker Image
|
||||
|
||||
The Dockerfile in this directory can be used to build the debian package for this project.
|
||||
|
||||
1. `docker build . -t linux-wifi-hotspot-deb`
|
||||
2. `docker run -it linux-wifi-hotspot-deb`
|
||||
3. `cd /root`
|
||||
|
||||
All build artifacts will be located in the `/root` directory.
|
||||
|
||||
4. Use `docker cp` to copy the desired artifacts out of the container.
|
Loading…
Reference in New Issue
Block a user