0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-12 09:41:18 +02:00

More debian-like folder structure

This commit is contained in:
boltgolt 2018-04-07 16:22:13 +02:00
parent aed1f69b53
commit 50f36f2b90
18 changed files with 15 additions and 15 deletions

8
.gitignore vendored
View file

@ -101,4 +101,10 @@ ENV/
.mypy_cache/
# generated models
/models
/src/models
# build files
debian/howdy.substvars
debian/files
debian/debhelper-build-stamp
debian/howdy

View file

@ -4,11 +4,11 @@ sudo: required
before_install:
- git clone https://github.com/Boltgolt/howdy.git /tmp/howdy_build
- cd /tmp/howdy_build
- dpkg-buildpackage -rfakeroot -d -us -uc -S
- debuild -i -us -uc -b
install: sudo apt-get install ./build.deb
install: sudo apt install ../*.deb
script: howdy help
script: sudo howdy help
notifications:
email: false

0
autocomplete.sh → autocomplete/howdy Normal file → Executable file
View file

3
debian/control vendored
View file

@ -11,4 +11,5 @@ Homepage: https://github.com/Boltgolt/howdy
Architecture: all
Depends: git, python3, python3-pip, python3-dev, python3-setuptools, build-essential, libpam-python, fswebcam, libopencv-dev, python-opencv, cmake
Description: Windows Hello™ style authentication for Ubuntu.
Use your built-in IR emitters and camera in combination with face recognition to prove who you are.
Use your built-in IR emitters and camera in combination with face recognition
to prove who you are.

2
debian/install vendored Normal file
View file

@ -0,0 +1,2 @@
src/. lib/security/howdy
autocomplete/. usr/share/bash-completion/completions

2
debian/postinst vendored
View file

@ -137,7 +137,7 @@ for line in fileinput.input(["/lib/security/howdy/config.ini"], inplace = 1):
handleStatus(subprocess.call(["chmod 600 -R /lib/security/howdy/"], shell=True))
# Install the command autocomplete, don't error on failure
subprocess.call(["sudo cp /lib/security/howdy/autocomplete.sh /etc/bash_completion.d/howdy"], shell=True)
# subprocess.call(["sudo cp /lib/security/howdy/autocomplete.sh /etc/bash_completion.d/howdy"], shell=True)
log("Adding howdy as PAM module")

9
debian/rules vendored
View file

@ -7,14 +7,5 @@ include /usr/share/dpkg/default.mk
%:
dh $@
clean:
echo "ok"
build:
echo "ok"
binary:
dh binary
mkdir ./debian/howdy/lib
mkdir ./debian/howdy/lib/security
cp -R bin ./debian/howdy/lib/security/howdy/

View file

View file