Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Marcus Furlong <furlongm@gmail.com>
Uploaders: Marcus Furlong <furlongm@gmail.com>
Build-Depends: debhelper (>=13), python3 (>= 3.11), dh-python, dh-exec
Build-Depends: debhelper (>=13), python3 (>= 3.11), dh-python, dh-exec, dh-systemd
Standards-Version: 4.6.2
Homepage: https://github.com/furlongm/patchman
Vcs-Git: git://github.com/furlongm/patchman
Expand All @@ -18,10 +18,10 @@ Depends: ${misc:Depends}, python3 (>= 3.11), python3-django (>= 4.2),
python3-djangorestframework, python3-django-filters, python3-debian,
python3-rpm, python3-tqdm, python3-defusedxml, python3-pip, python3-tenacity,
python3-requests, python3-colorama, python3-magic, python3-humanize,
python3-pymemcache, python3-yaml, memcached, libapache2-mod-wsgi-py3,
apache2, python3-django-taggit, python3-celery, python3-django-celery-beat,
python3-redis, python3-git
Suggests: python3-mysqldb, python3-psycopg2
python3-yaml, libapache2-mod-wsgi-py3, apache2,
celery, python3-celery, python3-django-celery-beat, redis-server,
python3-redis, python3-git, python3-django-taggit
Suggests: python3-mysqldb, python3-psycopg2, python3-pymemcache, memcached
Description: Django-based patch status monitoring tool for linux systems.
.
Patchman provides a web interface for monitoring host package updates.
Expand Down
2 changes: 2 additions & 0 deletions debian/python3-patchman.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ if [ "$1" = "configure" ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enconf patchman.conf

adduser --system --group patchman-celery

patchman-set-secret-key
chown www-data /etc/patchman/local_settings.py

Expand Down
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ clean::
export PYBUILD_NAME=patchman

%:
dh $@ --with python3 --buildsystem=pybuild
dh $@ --with=python3 --buildsystem=pybuild --with=systemd

override_dh_auto_test:
true
Empty file added errata/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions etc/patchman/celery.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
2 changes: 1 addition & 1 deletion etc/systemd/system/patchman-celery.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ After=network-onlne.target
Type=simple
User=patchman-celery
Group=patchman-celery
EnvironmentFile=/etc/patchman/celery
EnvironmentFile=/etc/patchman/celery.conf
ExecStart=/usr/bin/celery --broker redis://${REDIS_HOST}:${REDIS_PORT}/0 --app patchman worker --loglevel info --beat --scheduler django_celery_beat.schedulers:DatabaseScheduler --task-events --pool threads

[Install]
Expand Down
Empty file added security/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ requires = /usr/bin/python3
python3-importlib-metadata
python3-cvss
python3-redis
redis-server
celery
python3-django-celery-beat
python3-GitPython
policycoreutils-python-utils
httpd
Expand Down