add LICENSE requirements.txt and build-deb
This commit is contained in:
17
build-deb/Makefile
Normal file
17
build-deb/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
all: man deb
|
||||
|
||||
man: man/luser.1.md
|
||||
pandoc man/luser.1.md -f markdown+hard_line_breaks -s -t man -o man/luser.1
|
||||
cp man/luser.1 luser/usr/share/man/man1/
|
||||
gzip -f luser/usr/share/man/man1/luser.1
|
||||
deb: man ../requirments.txt ../run.py ../luser ../LICENSE
|
||||
cp -r ../luser/* luser/var/luser/luser/
|
||||
cp ../run.py luser/var/luser/
|
||||
cp ../LICENSE luser/var/luser/
|
||||
dpkg-deb --build luser
|
||||
clean:
|
||||
rm -f luser.deb
|
||||
rm -f man/luser.1
|
||||
rm -rf luser/var
|
||||
mkdir -p luser/var/luser/luser
|
||||
mkdir -p luser/usr/share/man/man1/
|
11
build-deb/luser/DEBIAN/control
Normal file
11
build-deb/luser/DEBIAN/control
Normal file
@@ -0,0 +1,11 @@
|
||||
Package: luser
|
||||
Section: net
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Essential: no
|
||||
Installed-Size: 2000
|
||||
Depends: python3-flask, python3-ldap3
|
||||
Homepage: https://gitea.dmz.rs/fram3d/luser
|
||||
Maintainer: fram3d <fram3d@dmz.rs>
|
||||
Description: Web app that allows users to add,remove and change passwords in LDAP system
|
||||
Version: 1.0.0
|
BIN
build-deb/luser/usr/share/man/man1/luser.1.gz
Normal file
BIN
build-deb/luser/usr/share/man/man1/luser.1.gz
Normal file
Binary file not shown.
21
build-deb/man/luser.1.md
Normal file
21
build-deb/man/luser.1.md
Normal file
@@ -0,0 +1,21 @@
|
||||
% LUSER(1) luser 1.0.0
|
||||
% fram3d
|
||||
% Jun 2023
|
||||
|
||||
# NAME
|
||||
luser - Web app that allows users to add,remove and change passwords in LDAP system
|
||||
|
||||
# SYNOPSIS
|
||||
**python3 run.py**
|
||||
|
||||
# DESCRIPTION
|
||||
Web app that allows users to add,remove and change passwords in LDAP system
|
||||
|
||||
# AUTHORS
|
||||
fram3d
|
||||
|
||||
# COPYRIGHT
|
||||
**AGPLv3+**: GNU AGPL version 3 or later <https://gnu.org/licenses/agpl.html>
|
||||
This is *free* software: you are free to change and redistribute it.
|
||||
There is **NO WARRANTY**, to the extent permitted by law.
|
||||
|
Reference in New Issue
Block a user