| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Building without succeeds but doesn't yield a full-featured package.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
|
|
|
|
|
|
|
| |
Since the introduction of AC_CONFIG_HEADERS in automake 1.7
AM_CONFIG_HEADER has been deprecated and it has finally been removed
in automake 1.12. So this change also generates a dependency on
automake 1.7 or newer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In http://www.linux-ax25.org/cvsweb/libax25/ChangeLog we read:
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Sep 10 16:53:28 2009 UTC (2 years, 4 months ago) by ralf
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -0 lines
ax25_ntoa: Don't emit SSID suffix if the SSID is zero.
From: Matti Aarnio OH2MQK <matti.aarnio@zmailer.org>
In http://www.linux-ax25.org/cvsweb/libax25/axutils.c.diff?r1=1.4;r2=1.5
funtion char *ax25_ntoa(const ax25_address *a):
- *s++ = '-';
+ /* Convention is: -0 suffixes are NOT printed */
+ if (a->ax25_call[6] & 0x1E) {
+ *s++ = '-';
- if ((n = ((a->ax25_call[6] >> 1) & 0x0F)) > 9) {
- *s++ = '1';
- n -= 10;
+ if ((n = ((a->ax25_call[6] >> 1) & 0x0F)) > 9) {
+ *s++ = '1';
+ n -= 10;
+ }
+ *s++ = n + '0';
}
-
- *s++ = n + '0';
+
*s++ = '\0';
This is diametral to the previous situation, where ax25_ntoa always returned
a call with SSID.
Unfortunately, that patch broke a fixe introduced in April 2009; that patch
fixed the same issue introduced by a patch in April 2008:
http://www.linux-ax25.org/cvsweb/libax25/axconfig.c
This is a fix for a bug introduced 2008-04-02, which caused interfaces
containing CALL without SSID not being found anymore (user had to
address CALL-0 instead of just CALL).
http://www.linux-ax25.org/cvsweb/libax25/axconfig.c.diff?r1=1.7;r2=1.8
[..]
+ /* user may have configured "DL9SAU". But we compare to *ifcalls,
+ * which comes from ifr_hwaddr.sa_data and it always contains a SSID;
+ * in this case, "DL9SAU-0". This fixes a bug introduced 2008-04-02,
+ * which caused interfaces without SSID not being found anymore. :(
+ */
[..]
It has been overseen that libax25 internaly uses ax25_ntoa, not just for
user-presentation.
The fix today resolves the problem, and cleans up helper routines like
strip_zero_ssid() that are no longer needed.
Affected files: axconfig.c, nrconfig.c and procutils.c.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Stored only 7 of max 8 (AX25_MAX_DIGIS) digipeaters from ascii string
to the struct full_sockaddr_ax25 *fsap.
Why?
int n = 0;
do { ... } while (n < AX25_MAX_DIGIS && *bp);
Everyone should say "oh yes, n = 0; -> do ... while n < MAX_DIGIS".
But: in the loop n is increased by one. Thus only 7 of 8 arguments
hav been copied.
do { ... } while (n <= AX25_MAX_DIGIS && *bp);
fixes this issue.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
He noticed that in libax25 the routine used to read /proc/net/nr_nodes
only initialized local NetRom node name, alias and n parameters.
Quality and Obs parameters were not initialized.
He suggest to patch patched read_proc_nr_nodes() in order to initialize
local node
quality = 255
obs (persist) = 6
w = 1
With the above local node initialized parameters, adjacent NetRom
nodes can now modify and broadcast Quality and other link parameters.
And we don't see NetRom node with zero quality in NetRom tables over
the net.
|
|
|
|
|
|
|
|
|
| |
- in proc_ax25 structure timers members size declared in
procutils.h. Since in kernel 2.6 the timers are now in milliseconds,
they need more place to be saved (unsigned short --> unsigned long).
- in procutils.h and procutils.c
in structure proc_rs_neigh field "use" was missing,
in function read_proc_rs_neigh proc_rs_neigh use was not read
|
|
|
|
| |
From: Matti Aarnio OH2MQK <matti.aarnio@zmailer.org>
|
|
|
|
| |
Now just a rpmbuild -ta <foo.tar.gz> will do.
|
| |
|
| |
|
| |
|
|
|
|
| |
And only to the correct path.
|
| |
|
|
|
|
|
| |
kernel_ax25.h, kernel_netrom.h and kernel_rose.h are outdated copies
from libc; upgrade them from glibc 2.10.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is recommended by autoreconf by the following warning:
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
For some reason I don't have the time to track down right now it results
in a configure script with a syntax error being generated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keeping generated files in CVS doesn't only tend to produce large and
cluttered files it also may result in build problems due to timestamps
in the wrong order. So dump everything, update .cvsignore to ignore
these files and resolve all warnings generated by autoreconf.
From now on users of a CVS checkout should run the command
autoreconf --install --force
after having done a CVS checkout. For this to succeed automake, autoconf
and libtool will have to be installed.
|
|
|
|
|
| |
Any modern C compiler will just ignore register so it's just cluttering
the screen.
|
| |
|
|
|
|
|
| |
axconfig.c, nrconfig.c and rsconfig.c:
assurances against null pointer deferences.
|
| |
|
|
|
|
|
| |
containing CALL without SSID not being found anymore (user had to
address CALL-0 instead of just CALL).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* axconfig.c:
Find all running network ports, and compare them against
the /etc/ax25/axports file.
* nrconfig.c:
Find all running network ports, and compare them against
the /etc/ax25/nrports file.
* rsconfig.c:
Find all running network ports, and compare them against
the /etc/ax25/rsports file.
* Update man pages
|
|
|
|
| |
like a real buglet for some architectures.
|
|
|
|
| |
because it was pointless anyway.
|
| |
|
| |
|
|
|
|
|
|
| |
would have failed on some modern systems. Sole exception is the old
INSTALL file, libax25 had its own. Maybe we should drop for
simplicity; it doesn't provide alot of information.
|
| |
|
|
|
|
|
|
| |
name of the corresponding axports line to axif, i compared axif->Name
with the device name. This matched only interfaces which are
configured as "ax0 ....." in axports, and was, indeed, not intended.
|
|
|
|
|
|
| |
update libtool: see http://people.debian.org/~keybuk/libtool-missing_so.html
-> we temporary force it:
libtoolize --copy --force
|
| |
|
|
|
|
|
|
|
|
|
| |
no IP-Address assigned:
Because ifc.ifc_req does not show interfaces without
IP-Address assigned, we use the device list via /proc.
This concept was inspired by net-tools / ifconfig
This feature will be enabled soon. We just need to trace down a kernel
error.
|
| |
|
|
|
|
| |
Useful for different versions of autoconf, libtool, automake
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
of missing files etc.
|
| |
|
| |
|
| |
|
| |
|