/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to debian/control

  • Committer: Teddy Hogeborn
  • Date: 2024-11-17 16:53:00 UTC
  • mto: This revision was merged to the branch mainline in revision 412.
  • Revision ID: teddy@recompile.se-20241117165300-02hxm96s8cj9528e
mandos: Avoid closing configured server network socket

If we are passed a pre-created created network socket as a file
descriptor, we must avoid later closing it (when stdin, stdout and
stderr are dup2()ed over with /dev/null) by making sure that the
network file descriptor is not 0, 1, or 2, by creating a new file
descriptor if necessary.

However, when we create a new file descriptor we must check that the
new file descriptor is not 0, 1, or 2 either, and try again until we
get a suitable file descriptor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        libavahi-core-dev, libgpgme-dev | libgpgme11-dev,
9
9
        libglib2.0-dev (>=2.40), libgnutls28-dev (>= 3.3.0),
10
10
        libgnutls28-dev (>= 3.6.6) | libgnutls28-dev (<< 3.6.0),
11
 
        xsltproc, pkg-config, libnl-route-3-dev, systemd
 
11
        xsltproc, pkgconf | pkg-config, libnl-route-3-dev,
 
12
        systemd-dev | systemd (<< 256~rc2-1)
12
13
Build-Depends-Indep: python3 (>= 3), python3-dbus, python3-gi,
13
14
        po-debconf
14
 
Standards-Version: 4.5.0
 
15
Standards-Version: 4.7.0
15
16
Vcs-Bzr: https://ftp.recompile.se/pub/mandos/trunk
16
17
Vcs-Browser: https://bzr.recompile.se/loggerhead/mandos/trunk/files
17
18
Homepage: https://www.recompile.se/mandos
19
20
 
20
21
Package: mandos
21
22
Architecture: all
22
 
Depends: ${misc:Depends}, python3 (>= 3), libgnutls30 (>= 3.3.0),
23
 
        libgnutls30 (>= 3.6.6) | libgnutls30 (<< 3.6.0),
 
23
Depends: ${misc:Depends}, python3 (>= 3),
 
24
        libgnutls30t64 | libgnutls30 (>= 3.3.0),
 
25
        libgnutls30t64 | libgnutls30 (>= 3.6.6) | libgnutls30 (<< 3.6.0),
24
26
        python3-dbus, python3-gi, avahi-daemon, adduser,
25
 
        python3-urwid, gnupg2 | gnupg,
26
 
        systemd-sysv | lsb-base (>= 3.0-6),
 
27
        python3-urwid, gnupg, systemd-sysv | lsb-base (>= 3.0-6),
27
28
        debconf (>= 1.5.5) | debconf-2.0
28
29
Recommends: ssh-client | fping
29
30
Suggests: libc6-dev | libc-dev, c-compiler