privoxy: correctly format /etc/services additions
authorJosh Powers <powersj@fastmail.com>
Wed, 26 Oct 2022 01:54:43 +0000 (19:54 -0600)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sat, 3 Dec 2022 11:53:09 +0000 (12:53 +0100)
commit7c1b94bb13e390ac2124ad4d26976cf8fd36f312
tree490d605de1b4ba6d79b0ce1bf1b1c74ae32c08c5
parenta505d6f26a57072ab2c53651d3b530e5ec2d9b71
privoxy: correctly format /etc/services additions

This adds the missing protocol (e.g. /tcp and /udp) to the entry in
/etc/services. If the entry already exists, it will add the /tcp to it.
Otherwise, it will look and add the tcp and udp entries if either is
missing.

fixes: openwrt#19665

Signed-off-by: Josh Powers <powersj@fastmail.com>
(cherry picked from commit 95edfa723c9e7b1b99361a86022b9b20ac6f8ead)
net/privoxy/Makefile