Skip to content

Commit 9315e1a

Browse files
committed
fix warnings and errors on debian packaging
1 parent 24df4c3 commit 9315e1a

File tree

6 files changed

+8
-12
lines changed

6 files changed

+8
-12
lines changed

debian/compat

Lines changed: 0 additions & 1 deletion
This file was deleted.

debian/control

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ Source: patchman
22
Section: python
33
Priority: optional
44
Maintainer: Marcus Furlong <furlongm@gmail.com>
5-
Uploaders: Marcus Furlong <furlongm@gmail.com>
6-
Build-Depends: debhelper (>=13), python3 (>= 3.11), dh-python, dh-exec
5+
Build-Depends: debhelper-compat (= 13), python3 (>= 3.11), dh-python, dh-exec
76
Standards-Version: 4.6.2
87
Homepage: https://github.com/furlongm/patchman
98
Vcs-Git: git://github.com/furlongm/patchman
@@ -22,10 +21,9 @@ Depends: ${misc:Depends}, python3 (>= 3.11), python3-django (>= 4.2),
2221
python3-yaml, libapache2-mod-wsgi-py3, apache2, sqlite3,
2322
celery, python3-celery, python3-django-celery-beat, redis-server,
2423
python3-redis, python3-git, python3-django-taggit, python3-zstandard,
25-
python3-django-tables2, python3-django-select2
24+
python3-django-tables2, python3-django-select2, adduser
2625
Suggests: python3-mysqldb, python3-psycopg2, python3-pymemcache, memcached
2726
Description: Django-based patch status monitoring tool for linux systems.
28-
.
2927
Patchman provides a web interface for monitoring host package updates.
3028
.
3129
Patchman clients send a list of installed packages and enabled repositories to
@@ -45,8 +43,7 @@ Description: Django-based patch status monitoring tool for linux systems.
4543
Package: patchman-client
4644
Architecture: all
4745
Homepage: https://github.com/furlongm/patchman
48-
Depends: ${misc:Depends}, curl, debianutils, util-linux, coreutils, mawk, jq
46+
Depends: ${misc:Depends}, curl, mawk, jq
4947
Description: Client for the patchman monitoring system.
50-
.
5148
The client will send a list of packages and repositories to the upstream
5249
patchman server.

debian/python3-patchman.install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/dh-exec
22
etc/patchman/apache.conf.example => etc/apache2/conf-available/patchman.conf
33
etc/patchman/local_settings.py etc/patchman
4-
etc/systemd/system/patchman-celery-worker.service => lib/systemd/system/patchman-celery-worker@.service
5-
etc/systemd/system/patchman-celery-beat.service => lib/systemd/system/patchman-celery-beat.service
4+
etc/systemd/system/patchman-celery-worker@.service usr/lib/systemd/system
5+
etc/systemd/system/patchman-celery-beat.service => usr/lib/systemd/system/patchman-celery-beat.service

debian/python3-patchman.postinst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ if [ "$1" = "configure" ] ; then
2121
patchman-manage migrate --run-syncdb --fake-initial
2222
sqlite3 /var/lib/patchman/db/patchman.db 'PRAGMA journal_mode=WAL;'
2323

24-
adduser --quiet --system --group patchman
24+
adduser --quiet --system --group --home /var/lib/patchman patchman
2525
adduser --quiet www-data patchman
2626
chown root:patchman /etc/patchman/celery.conf
2727
chmod 640 /etc/patchman/celery.conf
2828
chmod g+w /var/lib/patchman /var/lib/patchman/db /var/lib/patchman/db/patchman.db
29-
chown -R patchman:patchman /var/lib/patchman
29+
chown patchman:patchman /var/lib/patchman /var/lib/patchman/db /var/lib/patchman/db/patchman.db
3030

3131
WORKER_COUNT=1
3232
if [ -f /etc/patchman/celery.conf ]; then

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ clean::
99
export PYBUILD_NAME=patchman
1010

1111
%:
12-
dh $@ --with=python3 --buildsystem=pybuild --with=systemd
12+
dh $@ --with=python3 --buildsystem=pybuild
1313

1414
override_dh_auto_test:
1515
true
File renamed without changes.

0 commit comments

Comments
 (0)