1 |
jokey 07/11/01 21:28:59 |
2 |
|
3 |
Added: 0.17-jumpstart.patch |
4 |
digest-netkit-bootparamd-0.17-r1 |
5 |
digest-netkit-bootparamd-0.17-r2 |
6 |
Log: |
7 |
Add this from netkit-bootp, keeping keywords |
8 |
(Portage version: 2.1.3.16, RepoMan options: --force) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 net-misc/netkit-bootparamd/files/0.17-jumpstart.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-bootparamd/files/0.17-jumpstart.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-bootparamd/files/0.17-jumpstart.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: 0.17-jumpstart.patch |
17 |
=================================================================== |
18 |
diff -urN netkit-bootparamd-0.17.old/rpc.bootparamd/rpc.bootparamd.c netkit-bootparamd-0.17/rpc.bootparamd/rpc.bootparamd.c |
19 |
--- netkit-bootparamd-0.17.old/rpc.bootparamd/rpc.bootparamd.c 2000-07-22 12:23:56.000000000 -0400 |
20 |
+++ netkit-bootparamd-0.17/rpc.bootparamd/rpc.bootparamd.c 2004-09-13 17:42:43.000000000 -0400 |
21 |
@@ -136,11 +136,16 @@ |
22 |
strncpy(path, where, sizeof(path)); |
23 |
path[sizeof(path)-1] = 0; |
24 |
he = gethostbyname(hostname); |
25 |
- if (!he) goto failed; |
26 |
- bcopy( he->h_addr, &res.server_address.bp_address_u.ip_addr, 4); |
27 |
- res.server_name = hostname; |
28 |
- res.server_path = path; |
29 |
- res.server_address.address_type = IP_ADDR_TYPE; |
30 |
+ if (!he) { /* jumpstart parameters are not valid hosts */ |
31 |
+ res.server_name = hostname; |
32 |
+ res.server_path = path; |
33 |
+ bzero(&res.server_address.bp_address_u.ip_addr,4); |
34 |
+ } else { |
35 |
+ bcopy( he->h_addr, &res.server_address.bp_address_u.ip_addr, 4); |
36 |
+ res.server_name = hostname; |
37 |
+ res.server_path = path; |
38 |
+ res.server_address.address_type = IP_ADDR_TYPE; |
39 |
+ } |
40 |
} |
41 |
else { /* special for dump, answer with null strings */ |
42 |
if (!strcmp(getfile->file_id, "dump")) { |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-misc/netkit-bootparamd/files/digest-netkit-bootparamd-0.17-r1 |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-bootparamd/files/digest-netkit-bootparamd-0.17-r1?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-bootparamd/files/digest-netkit-bootparamd-0.17-r1?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: digest-netkit-bootparamd-0.17-r1 |
52 |
=================================================================== |
53 |
MD5 00d211115b11aec2e214b701fe72f397 netkit-bootparamd_0.17.orig.tar.gz 13934 |
54 |
RMD160 f71e5449823b87c4f188be0ef63575ee58cdb241 netkit-bootparamd_0.17.orig.tar.gz 13934 |
55 |
SHA256 7fd44b14f7ee5bf930bdd03b0c3a15bdb6efb60a862af47269b05361c4ed395c netkit-bootparamd_0.17.orig.tar.gz 13934 |
56 |
|
57 |
|
58 |
|
59 |
1.1 net-misc/netkit-bootparamd/files/digest-netkit-bootparamd-0.17-r2 |
60 |
|
61 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-bootparamd/files/digest-netkit-bootparamd-0.17-r2?rev=1.1&view=markup |
62 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-bootparamd/files/digest-netkit-bootparamd-0.17-r2?rev=1.1&content-type=text/plain |
63 |
|
64 |
Index: digest-netkit-bootparamd-0.17-r2 |
65 |
=================================================================== |
66 |
MD5 00d211115b11aec2e214b701fe72f397 netkit-bootparamd_0.17.orig.tar.gz 13934 |
67 |
RMD160 f71e5449823b87c4f188be0ef63575ee58cdb241 netkit-bootparamd_0.17.orig.tar.gz 13934 |
68 |
SHA256 7fd44b14f7ee5bf930bdd03b0c3a15bdb6efb60a862af47269b05361c4ed395c netkit-bootparamd_0.17.orig.tar.gz 13934 |
69 |
|
70 |
|
71 |
|
72 |
-- |
73 |
gentoo-commits@g.o mailing list |