do no configuration as part of the install process - this breaks debian packaging tools
@@ -3,7 +3,7 @@ CC ?= gcc
CFLAGS ?= -Os -Wall -Wwrite-strings -pedantic
CFLAGS += -std=gnu99 -I/usr/local/include
LFLAGS += -L/usr/local/lib -lc
-FEATURES ?= dns lpd tls bob #cmd debug nss natpmp upnp
+FEATURES ?= dns lpd tls bob cmd debug #nss natpmp upnp
OBJS = build/main.o build/searches.o build/kad.o build/log.o \
build/conf.o build/net.o build/utils.o \
@@ -117,10 +117,10 @@ install:
cp build/kadnode $(DESTDIR)/usr/bin/
-cp build/kadnode-ctl $(DESTDIR)/usr/bin/
-cp build/libnss_kadnode.so.2 $(DESTDIR)/lib/
- -sed -i -e '/kadnode/!s/^\(hosts:.*\)\s\{1,\}dns\(.*\)/\1 kadnode dns\2/' $(DESTDIR)/etc/nsswitch.conf 2> /dev/null
+ #-sed -i -e '/kadnode/!s/^\(hosts:.*\)\s\{1,\}dns\(.*\)/\1 kadnode dns\2/' $(DESTDIR)/etc/nsswitch.conf 2> /dev/null
uninstall:
rm $(DESTDIR)/usr/bin/kadnode
-rm $(DESTDIR)/usr/bin/kadnode-ctl
-rm $(DESTDIR)/lib/libnss_kadnode.so.2
- -sed -i -e 's/^\(hosts:.*\)kadnode \(.*\)/\1\2/' $(DESTDIR)/etc/nsswitch.conf 2> /dev/null
+ #-sed -i -e 's/^\(hosts:.*\)kadnode \(.*\)/\1\2/' $(DESTDIR)/etc/nsswitch.conf 2> /dev/null
