瀏覽代碼

build: drop remaining autotools cruft

Alexander von Gluck IV 10 年之前
父節點
當前提交
6dacd92b5c
共有 5 個檔案被更改,包括 0 行新增227 行删除
  1. 0
    21
      src/Makefile.am
  2. 0
    1
      src/conf/Makefile.am
  3. 0
    199
      src/conf/netsukuku.conf.in
  4. 0
    2
      src/man/Makefile.am
  5. 0
    4
      src/scripts/Makefile.am

+ 0
- 21
src/Makefile.am 查看文件

@@ -1,21 +0,0 @@
1
-SUBDIRS = man scripts conf
2
-
3
-AM_CFLAGS= -g -I. @debug_flags@ -I@gmp@
4
-AM_CXXFLAGS = -g -I. @debug_flags@ -I@gmp@
5
-
6
-bin_PROGRAMS = ntkd ntk-resolv
7
-ntkd_SOURCES = accept.c map.c misc.c buffer.c hash.c pkts.c qspn.c   \
8
-	request.c  \
9
-	radar.c gmap.c hook.c rehook.c if.c inet.c ipv6-gmp.c        \
10
-	krnl_route.c andna.c snsd_cache.c andna_cache.c err_errno.c  \
11
-	andns.c andns_lib.c dnslib.c andns_net.c andns_snsd.c	     \
12
-	bmap.c  conf.c crypto.c daemon.c dns_wrapper.c endianness.c  \
13
-	krnl_rule.c iptunnel.c libnetlink.c ll_map.c llist.c log.c   \
14
-	route.c tracer.c igs.c libping.c xmalloc.c netsukuku.c       \
15
-	mark.c libiptc/libip4tc.c
16
-ntkd_LDADD = -lpthread -lgmp -lcrypto -lresolv -lz
17
-
18
-ntk_resolv_SOURCES = andns_lib.c ntkresolv.c andns_net.c crypto.c    \
19
-		  snsd_cache.c inet.c ll_map.c libnetlink.c log.c    \
20
-		  xmalloc.c endianness.c misc.c err_errno.c buffer.c
21
-ntk_resolv_LDADD = -lz -lcrypto

+ 0
- 1
src/conf/Makefile.am 查看文件

@@ -1 +0,0 @@
1
-sysconf_DATA = netsukuku.conf andna_hostnames snsd_nodes

+ 0
- 199
src/conf/netsukuku.conf.in 查看文件

@@ -1,199 +0,0 @@
1
-#
2
-#			NetsukukuD @VERSION@
3
-#
4
-#
5
-# The comments starts with a '#'.
6
-# To use a default option leave its line commented.
7
-# Use always the '=' to assign a value.
8
-#
9
-# Note: the options will be overridden by their command line equivalent.
10
-#
11
-# Options index:
12
-# 
13
-# 	## Restricted mode
14
-#		- ntk_restricted_mode
15
-#		- ntk_restricted_class
16
-#	## Internet connection
17
-#		- internet_connection
18
-#		- internet_gateway
19
-#		- internet_download_rate
20
-#		- internet_upload_rate
21
-#		- internet_ping_hosts
22
-#		- share_internet
23
-#		- shape_internet
24
-#		- use_shared_internet
25
-#	## ANDNA
26
-#		- disable_andna
27
-#		- disable_resolvconf
28
-#	## Limits
29
-#		- ntk_max_connections
30
-#		- ntk_max_accepts_per_host
31
-#		- max_accepts_per_host_time
32
-#	## Files
33
-#		- pid_file
34
-#		- ntk_ext_map_file
35
-#		- ntk_int_map_file
36
-#		- ntk_bnode_map_file
37
-#		- andna_hnames_file
38
-#		- snsd_nodes_file
39
-#		- andna_cache_file
40
-#		- andna_lclkey_file
41
-#		- andna_lcl_file
42
-#		- andna_rhc_file
43
-#		- andna_counter_c_file
44
-#		- ip_masquerade_script
45
-#		- tc_shaper_script
46
-#
47
-
48
-
49
-##
50
-#### Restricted mode
51
-##
52
-
53
-#
54
-# If the `ntk_restricted_mode' option is set to 1, NetsukukuD will be started
55
-# in restricted mode to be compatible with Internet. In the restricted mode, 
56
-# only IPs of the largest private subnet (i.e. 10.x.x.x) are chosen.
57
-#
58
-# If `ntk_restricted_class' is set to 1 the IPs will be chosen from the
59
-# 172.16.0.0-172.31.255.255 range (use this option only if you can't use the 
60
-# 10.x.x.x class).
61
-#
62
-#ntk_restricted_mode	= 0
63
-#ntk_restricted_class	= 0
64
-
65
-
66
-##
67
-#### Internet connection
68
-##
69
-
70
-#
71
-# * * If you have an Internet connection please fill this options. * *
72
-#
73
-# We are assuming that you are running in restricted mode since you want to
74
-# be both in Netsukuku and Internet. So, if you have an internet connection
75
-# set `internet_connection' to 1. Note that ntkd will overwrite any default
76
-# route if this option is set to 0 and the shared Internet connections of 
77
-# other nodes are used.
78
-#
79
-# Set the `internet_gateway' option to the IP of the gateway you use to reach 
80
-# the Internet and specify the network interface too, for example:
81
-# "internet_gateway = 192.168.1.1:eth0". This option is necessary only if you
82
-# don't have the default route set when you run NetsukukuD (i.e. you haven't
83
-# connected yet), otherwise, leave it commented.
84
-#
85
-# You have also to set your upload and download bandwidth in 
86
-# `internet_upload_rate' and `internet_download_rate'. It is expressed in Kb/s,
87
-# so if you have a line which maximum can do: 640 Kb/s in dwload and 30 Kb/s in 
88
-# upload, set them to 640 and 30.
89
-#
90
-# `internet_ping_hosts' is a list of Internet hosts which will be pinged to
91
-# verify if the connection is alive, you can use the default hosts.
92
-#
93
-# If you want to share your Internet connection among other Netsukuku nodes, 
94
-# set `share_internet' to 1.
95
-#
96
-# Set `shape_internet' to 1 if you want to shape your outgoing
97
-# Internet traffic.
98
-#
99
-# `use_shared_internet' specifies if you want to use the Internet connections
100
-# shared by the Netsukuku nodes. Set it to 0, if you want to rely only on your
101
-# connection (if any).
102
-# 
103
-#internet_connection	= 1
104
-#internet_gateway	= 192.168.1.1:eth0
105
-internet_download_rate  = 640
106
-internet_upload_rate	= 30
107
-internet_ping_hosts	= google.com:cisco.com:sourceforge.net:dyne.org
108
-#share_internet		= 1
109
-#shape_internet		= 1
110
-#use_shared_internet	= 1
111
-
112
-
113
-##
114
-#### ANDNA
115
-##
116
-
117
-#
118
-# To disable the start of the ANDNA daemon at the launch of ntkd, set
119
-# this option to 1. Note that when the ANDNA daemon is disabled, the andna
120
-# system will not work at all, so it will be impossible to resolve, register
121
-# or update hostnames.
122
-#
123
-#disable_andna		= 0
124
-
125
-#
126
-# When NetsukukuD starts it modifies /etc/resolv.conf writing in the first
127
-# line "nameserver 127.0.0.1". The old /etc/resolv.conf is copied in
128
-# /etc/resolv.conf.bak. When the daemon is closed /etc/resolv.conf is
129
-# restored. If you want to disable this set disable_resolvconf to 1.
130
-# If it is disabled you won't be able to resolve hostnames!
131
-#
132
-#disable_resolvconf	= 0
133
-
134
-
135
-##
136
-#### Limits
137
-##
138
-
139
-#
140
-# How many connection the netsukuku daemons can simultaneusly handle.
141
-#
142
-#ntk_max_connections		= 512
143
-
144
-# How many simultaneusly connections to the daemons from a single host are
145
-# allowed.
146
-#ntk_max_accepts_per_host	= 16
147
-
148
-# The wait time necessary for a host to reconnect to the daemons after all the
149
-# ntk_max_accepts_per_host were used.
150
-#
151
-#max_accepts_per_host_time	= 4	#in seconds
152
-
153
-
154
-##
155
-#### Files
156
-##
157
-
158
-#
159
-# ntkd will save its process id in this file
160
-#
161
-#pid_file 		= @PID_DIR@/ntkd.pid
162
-
163
-# 
164
-# The paths of the Netsukuku maps saved by the daemon
165
-#
166
-#ntk_ext_map_file	= @DT_DIR@/ext_map_file
167
-#ntk_int_map_file	= @DT_DIR@/int_map_file
168
-#ntk_bnode_map_file	= @DT_DIR@/bnode_map_file
169
-
170
-#
171
-# The hostnames that will be registered in ANDNA are kept, one per line, in
172
-# this file.
173
-#
174
-#andna_hnames_file	= @CONF_DIR@/andna_hostnames
175
-
176
-#
177
-# The snsd_nodes_file keeps the list of the SNSD records which will be
178
-# register in ANDNA.
179
-#
180
-#snsd_nodes_file	= @CONF_DIR@/snsd_nodes
181
-
182
-#
183
-# Caches used by the ANDNA daemon
184
-#
185
-#andna_cache_file	= @DT_DIR@/andna_cache
186
-#andna_lclkey_file	= @DT_DIR@/andna_lcl_keyring
187
-#andna_lcl_file		= @DT_DIR@/andna_lcl_cache
188
-#andna_rhc_file		= @DT_DIR@/andna_rh_cache
189
-#andna_counter_c_file	= @DT_DIR@/andna_counter_cache
190
-
191
-#
192
-# The script launched by NetsukukuD to share the Internet connection
193
-#
194
-#ip_masquerade_script	= @CONF_DIR@/ip_masquerade.sh
195
-
196
-#
197
-# The script launched by NetsukukuD to shape the Internet connection
198
-#
199
-#tc_shaper_script	= @CONF_DIR@/tc_shaper.sh

+ 0
- 2
src/man/Makefile.am 查看文件

@@ -1,2 +0,0 @@
1
-man8_MANS = andna.8 ntkd.8 ntk-wifi.8 ntk-resolv.8 netsukuku.conf.5
2
-man5_MANS = netsukuku.conf.5

+ 0
- 4
src/scripts/Makefile.am 查看文件

@@ -1,4 +0,0 @@
1
-bin_SCRIPTS = ntk-wifi
2
-
3
-scriptconfdir=$(sysconfdir)
4
-scriptconf_SCRIPTS = ip_masquerade.sh tc_shaper.sh rc.ntk

Loading…
取消
儲存