/trunk/debian/oidentd@.service |
---|
File deleted |
/trunk/debian/oidentd.socket |
---|
File deleted |
/trunk/debian/oidentd.service |
---|
File deleted |
/trunk/debian/changelog |
---|
4,11 → 4,8 |
* Drop build dependency on libcap-ng-dev, which is no longer needed. |
* Change connection limit in default /etc/default/oidentd to 10 (Closes: |
#697030, LP: #1094773). |
* Add systemd service and socket units (like upstream's, but with |
support for the same options as the init script). Depend on iproute2 |
to let scripts be short. |
-- Magnus Holmgren <holmgren@debian.org> Mon, 09 Sep 2019 23:34:32 +0200 |
-- Magnus Holmgren <holmgren@debian.org> Mon, 09 Sep 2019 23:17:33 +0200 |
oidentd (2.3.2-1) unstable; urgency=low |
/trunk/debian/control |
---|
12,7 → 12,7 |
Package: oidentd |
Architecture: any |
Depends: ${shlibs:Depends}, ${misc:Depends}, netbase, adduser, |
iproute2, lsb-base (>= 3.0-6) |
iproute2 | net-tools, lsb-base (>= 3.0-6) |
Provides: ident-server |
Replaces: ident-server |
Conflicts: ident-server, logcheck-database (<= 1.3.3) |
/trunk/debian/init |
---|
26,8 → 26,16 |
. /lib/lsb/init-functions |
if [ "${OIDENT_BEHIND_PROXY}" = "yes" ]; then |
OIDENT_OPTIONS="${OIDENT_OPTIONS} -P `ip route show to exact 0/0 | awk '{print $3}'`" |
# If we have a default router, then allow it to proxy auth requests to us |
if [ -x /bin/netstat ] && [ -x /usr/bin/awk ]; then |
GATEWAY=`netstat -nr | awk '/^0.0.0.0/{print $2;}'` |
elif [ -x /bin/ip ] && [ -x /usr/bin/awk ]; then |
GATEWAY=`ip route show 0.0.0.0/0 | awk '/^default via /{print $3}'` |
fi |
if [ -n "${GATEWAY}" ]; then |
OIDENT_OPTIONS="${OIDENT_OPTIONS} -P ${GATEWAY}" |
fi |
fi |
OPTIONS="${OIDENT_OPTIONS} -u ${OIDENT_USER} -g ${OIDENT_GROUP}" |