Browse Source

gnunet: update to SVN r37179 and fix SUID permissions (again)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 8 years ago
parent
commit
03711e5b06
2 changed files with 6 additions and 2 deletions
  1. +1
    -1
      net/gnunet/Makefile
  2. +5
    -1
      net/gnunet/files/gnunet.init

+ 1
- 1
net/gnunet/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gnunet
PKG_SOURCE_VERSION:=37164
PKG_SOURCE_VERSION:=37179
PKG_VERSION:=0.10.1-svn$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1


+ 5
- 1
net/gnunet/files/gnunet.init View File

@ -15,7 +15,11 @@ SUID_ROOT_HELPERS="exit nat-server nat-client transport-bluetooth transport-wlan
chmodown_execbin() {
execname=/usr/lib/gnunet/libexec/gnunet-$1
if [ -x $execname ]; then
[ "$3" ] && chown $3 $execname 2>/dev/null && chmod $2 $execname
if [ "$3" ]; then
chown $3 $execname 2>/dev/null && chmod $2 $execname
else
chmod $2 $execname
fi
fi
}


Loading…
Cancel
Save