Browse Source

gnunet: adapt uci-defaults to renamed namestore-flat -> -heap

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 6 years ago
parent
commit
0b548cb73d
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      net/gnunet/Makefile
  2. +4
    -4
      net/gnunet/files/gnunet-gns-flat.defaults

+ 1
- 1
net/gnunet/Makefile View File

@ -5,7 +5,7 @@ PKG_SOURCE_VERSION:=e0785bb1b2af91a38d161bda7a4075338579441a
PKG_MIRROR_HASH:=4cbb9cf48f18fa87aa7c81bcff2372fc9c04c3688fb8dd4b2b57da258050179b PKG_MIRROR_HASH:=4cbb9cf48f18fa87aa7c81bcff2372fc9c04c3688fb8dd4b2b57da258050179b
PKG_VERSION:=0.10.2-git-20181021-$(PKG_SOURCE_VERSION) PKG_VERSION:=0.10.2-git-20181021-$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)


+ 4
- 4
net/gnunet/files/gnunet-gns-flat.defaults View File

@ -4,10 +4,10 @@ uci -q get gnunet.namestore || uci set gnunet.namestore=gnunet-config
uci -q get gnunet.namecache || uci set gnunet.namecache=gnunet-config uci -q get gnunet.namecache || uci set gnunet.namecache=gnunet-config
uci -q batch <<EOF uci -q batch <<EOF
del gnunet.namestore_flat
set gnunet.namestore_flat=gnunet-config
set gnunet.namestore_flat.FILENAME=/etc/gnunet/namestore.flat
set gnunet.namestore.DATABASE=flat
del gnunet.namestore_heap
set gnunet.namestore_heap=gnunet-config
set gnunet.namestore_heap.FILENAME=/etc/gnunet/namestore.flat
set gnunet.namestore.DATABASE=heap
del gnunet.namecache_flat del gnunet.namecache_flat
set gnunet.namecache_flat=gnunet-config set gnunet.namecache_flat=gnunet-config
set gnunet.namecache_flat.FILENAME=/var/run/gnunet/namecache.flat set gnunet.namecache_flat.FILENAME=/var/run/gnunet/namecache.flat


Loading…
Cancel
Save