mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-12-22 17:01:46 +00:00
build: drop remaining autotools cruft
This commit is contained in:
parent
c5352bb134
commit
6dacd92b5c
@ -1,21 +0,0 @@
|
||||
SUBDIRS = man scripts conf
|
||||
|
||||
AM_CFLAGS= -g -I. @debug_flags@ -I@gmp@
|
||||
AM_CXXFLAGS = -g -I. @debug_flags@ -I@gmp@
|
||||
|
||||
bin_PROGRAMS = ntkd ntk-resolv
|
||||
ntkd_SOURCES = accept.c map.c misc.c buffer.c hash.c pkts.c qspn.c \
|
||||
request.c \
|
||||
radar.c gmap.c hook.c rehook.c if.c inet.c ipv6-gmp.c \
|
||||
krnl_route.c andna.c snsd_cache.c andna_cache.c err_errno.c \
|
||||
andns.c andns_lib.c dnslib.c andns_net.c andns_snsd.c \
|
||||
bmap.c conf.c crypto.c daemon.c dns_wrapper.c endianness.c \
|
||||
krnl_rule.c iptunnel.c libnetlink.c ll_map.c llist.c log.c \
|
||||
route.c tracer.c igs.c libping.c xmalloc.c netsukuku.c \
|
||||
mark.c libiptc/libip4tc.c
|
||||
ntkd_LDADD = -lpthread -lgmp -lcrypto -lresolv -lz
|
||||
|
||||
ntk_resolv_SOURCES = andns_lib.c ntkresolv.c andns_net.c crypto.c \
|
||||
snsd_cache.c inet.c ll_map.c libnetlink.c log.c \
|
||||
xmalloc.c endianness.c misc.c err_errno.c buffer.c
|
||||
ntk_resolv_LDADD = -lz -lcrypto
|
@ -1 +0,0 @@
|
||||
sysconf_DATA = netsukuku.conf andna_hostnames snsd_nodes
|
@ -1,199 +0,0 @@
|
||||
#
|
||||
# NetsukukuD @VERSION@
|
||||
#
|
||||
#
|
||||
# The comments starts with a '#'.
|
||||
# To use a default option leave its line commented.
|
||||
# Use always the '=' to assign a value.
|
||||
#
|
||||
# Note: the options will be overridden by their command line equivalent.
|
||||
#
|
||||
# Options index:
|
||||
#
|
||||
# ## Restricted mode
|
||||
# - ntk_restricted_mode
|
||||
# - ntk_restricted_class
|
||||
# ## Internet connection
|
||||
# - internet_connection
|
||||
# - internet_gateway
|
||||
# - internet_download_rate
|
||||
# - internet_upload_rate
|
||||
# - internet_ping_hosts
|
||||
# - share_internet
|
||||
# - shape_internet
|
||||
# - use_shared_internet
|
||||
# ## ANDNA
|
||||
# - disable_andna
|
||||
# - disable_resolvconf
|
||||
# ## Limits
|
||||
# - ntk_max_connections
|
||||
# - ntk_max_accepts_per_host
|
||||
# - max_accepts_per_host_time
|
||||
# ## Files
|
||||
# - pid_file
|
||||
# - ntk_ext_map_file
|
||||
# - ntk_int_map_file
|
||||
# - ntk_bnode_map_file
|
||||
# - andna_hnames_file
|
||||
# - snsd_nodes_file
|
||||
# - andna_cache_file
|
||||
# - andna_lclkey_file
|
||||
# - andna_lcl_file
|
||||
# - andna_rhc_file
|
||||
# - andna_counter_c_file
|
||||
# - ip_masquerade_script
|
||||
# - tc_shaper_script
|
||||
#
|
||||
|
||||
|
||||
##
|
||||
#### Restricted mode
|
||||
##
|
||||
|
||||
#
|
||||
# If the `ntk_restricted_mode' option is set to 1, NetsukukuD will be started
|
||||
# in restricted mode to be compatible with Internet. In the restricted mode,
|
||||
# only IPs of the largest private subnet (i.e. 10.x.x.x) are chosen.
|
||||
#
|
||||
# If `ntk_restricted_class' is set to 1 the IPs will be chosen from the
|
||||
# 172.16.0.0-172.31.255.255 range (use this option only if you can't use the
|
||||
# 10.x.x.x class).
|
||||
#
|
||||
#ntk_restricted_mode = 0
|
||||
#ntk_restricted_class = 0
|
||||
|
||||
|
||||
##
|
||||
#### Internet connection
|
||||
##
|
||||
|
||||
#
|
||||
# * * If you have an Internet connection please fill this options. * *
|
||||
#
|
||||
# We are assuming that you are running in restricted mode since you want to
|
||||
# be both in Netsukuku and Internet. So, if you have an internet connection
|
||||
# set `internet_connection' to 1. Note that ntkd will overwrite any default
|
||||
# route if this option is set to 0 and the shared Internet connections of
|
||||
# other nodes are used.
|
||||
#
|
||||
# Set the `internet_gateway' option to the IP of the gateway you use to reach
|
||||
# the Internet and specify the network interface too, for example:
|
||||
# "internet_gateway = 192.168.1.1:eth0". This option is necessary only if you
|
||||
# don't have the default route set when you run NetsukukuD (i.e. you haven't
|
||||
# connected yet), otherwise, leave it commented.
|
||||
#
|
||||
# You have also to set your upload and download bandwidth in
|
||||
# `internet_upload_rate' and `internet_download_rate'. It is expressed in Kb/s,
|
||||
# so if you have a line which maximum can do: 640 Kb/s in dwload and 30 Kb/s in
|
||||
# upload, set them to 640 and 30.
|
||||
#
|
||||
# `internet_ping_hosts' is a list of Internet hosts which will be pinged to
|
||||
# verify if the connection is alive, you can use the default hosts.
|
||||
#
|
||||
# If you want to share your Internet connection among other Netsukuku nodes,
|
||||
# set `share_internet' to 1.
|
||||
#
|
||||
# Set `shape_internet' to 1 if you want to shape your outgoing
|
||||
# Internet traffic.
|
||||
#
|
||||
# `use_shared_internet' specifies if you want to use the Internet connections
|
||||
# shared by the Netsukuku nodes. Set it to 0, if you want to rely only on your
|
||||
# connection (if any).
|
||||
#
|
||||
#internet_connection = 1
|
||||
#internet_gateway = 192.168.1.1:eth0
|
||||
internet_download_rate = 640
|
||||
internet_upload_rate = 30
|
||||
internet_ping_hosts = google.com:cisco.com:sourceforge.net:dyne.org
|
||||
#share_internet = 1
|
||||
#shape_internet = 1
|
||||
#use_shared_internet = 1
|
||||
|
||||
|
||||
##
|
||||
#### ANDNA
|
||||
##
|
||||
|
||||
#
|
||||
# To disable the start of the ANDNA daemon at the launch of ntkd, set
|
||||
# this option to 1. Note that when the ANDNA daemon is disabled, the andna
|
||||
# system will not work at all, so it will be impossible to resolve, register
|
||||
# or update hostnames.
|
||||
#
|
||||
#disable_andna = 0
|
||||
|
||||
#
|
||||
# When NetsukukuD starts it modifies /etc/resolv.conf writing in the first
|
||||
# line "nameserver 127.0.0.1". The old /etc/resolv.conf is copied in
|
||||
# /etc/resolv.conf.bak. When the daemon is closed /etc/resolv.conf is
|
||||
# restored. If you want to disable this set disable_resolvconf to 1.
|
||||
# If it is disabled you won't be able to resolve hostnames!
|
||||
#
|
||||
#disable_resolvconf = 0
|
||||
|
||||
|
||||
##
|
||||
#### Limits
|
||||
##
|
||||
|
||||
#
|
||||
# How many connection the netsukuku daemons can simultaneusly handle.
|
||||
#
|
||||
#ntk_max_connections = 512
|
||||
|
||||
# How many simultaneusly connections to the daemons from a single host are
|
||||
# allowed.
|
||||
#ntk_max_accepts_per_host = 16
|
||||
|
||||
# The wait time necessary for a host to reconnect to the daemons after all the
|
||||
# ntk_max_accepts_per_host were used.
|
||||
#
|
||||
#max_accepts_per_host_time = 4 #in seconds
|
||||
|
||||
|
||||
##
|
||||
#### Files
|
||||
##
|
||||
|
||||
#
|
||||
# ntkd will save its process id in this file
|
||||
#
|
||||
#pid_file = @PID_DIR@/ntkd.pid
|
||||
|
||||
#
|
||||
# The paths of the Netsukuku maps saved by the daemon
|
||||
#
|
||||
#ntk_ext_map_file = @DT_DIR@/ext_map_file
|
||||
#ntk_int_map_file = @DT_DIR@/int_map_file
|
||||
#ntk_bnode_map_file = @DT_DIR@/bnode_map_file
|
||||
|
||||
#
|
||||
# The hostnames that will be registered in ANDNA are kept, one per line, in
|
||||
# this file.
|
||||
#
|
||||
#andna_hnames_file = @CONF_DIR@/andna_hostnames
|
||||
|
||||
#
|
||||
# The snsd_nodes_file keeps the list of the SNSD records which will be
|
||||
# register in ANDNA.
|
||||
#
|
||||
#snsd_nodes_file = @CONF_DIR@/snsd_nodes
|
||||
|
||||
#
|
||||
# Caches used by the ANDNA daemon
|
||||
#
|
||||
#andna_cache_file = @DT_DIR@/andna_cache
|
||||
#andna_lclkey_file = @DT_DIR@/andna_lcl_keyring
|
||||
#andna_lcl_file = @DT_DIR@/andna_lcl_cache
|
||||
#andna_rhc_file = @DT_DIR@/andna_rh_cache
|
||||
#andna_counter_c_file = @DT_DIR@/andna_counter_cache
|
||||
|
||||
#
|
||||
# The script launched by NetsukukuD to share the Internet connection
|
||||
#
|
||||
#ip_masquerade_script = @CONF_DIR@/ip_masquerade.sh
|
||||
|
||||
#
|
||||
# The script launched by NetsukukuD to shape the Internet connection
|
||||
#
|
||||
#tc_shaper_script = @CONF_DIR@/tc_shaper.sh
|
@ -1,2 +0,0 @@
|
||||
man8_MANS = andna.8 ntkd.8 ntk-wifi.8 ntk-resolv.8 netsukuku.conf.5
|
||||
man5_MANS = netsukuku.conf.5
|
@ -1,4 +0,0 @@
|
||||
bin_SCRIPTS = ntk-wifi
|
||||
|
||||
scriptconfdir=$(sysconfdir)
|
||||
scriptconf_SCRIPTS = ip_masquerade.sh tc_shaper.sh rc.ntk
|
Loading…
Reference in New Issue
Block a user