summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-12-20 12:32:36 +0000
committerRoy Marples <uberlord@gentoo.org>2006-12-20 12:32:36 +0000
commit392e965b62ac1419144da19213cf8a5d7095a452 (patch)
treec761ebcb3c8538054b00f30a87e0be52d0e30a49 /net-misc/dhcp/files
parentAdding patch to fix dep-compile bug #151308 (diff)
downloadgentoo-2-392e965b62ac1419144da19213cf8a5d7095a452.tar.gz
gentoo-2-392e965b62ac1419144da19213cf8a5d7095a452.tar.bz2
gentoo-2-392e965b62ac1419144da19213cf8a5d7095a452.zip
Punt old versions
(Portage version: 2.1.2_rc3-r8)
Diffstat (limited to 'net-misc/dhcp/files')
-rw-r--r--net-misc/dhcp/files/dhcp-3.0.4-64bit.patch82
-rw-r--r--net-misc/dhcp/files/digest-dhcp-3.0.4-r23
-rw-r--r--net-misc/dhcp/files/digest-dhcp-3.0.5_rc23
-rw-r--r--net-misc/dhcp/files/digest-dhcp-3.1.0_alpha13
4 files changed, 0 insertions, 91 deletions
diff --git a/net-misc/dhcp/files/dhcp-3.0.4-64bit.patch b/net-misc/dhcp/files/dhcp-3.0.4-64bit.patch
deleted file mode 100644
index 1f19e909b3a9..000000000000
--- a/net-misc/dhcp/files/dhcp-3.0.4-64bit.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-# Fix 64 bit machines, Gentoo bug #133905
-
---- dhcp-3.0.4/includes/dhcpd.h
-+++ dhcp-3.0.4/includes/dhcpd.h
-@@ -339,7 +339,7 @@
- struct option_state *options;
- struct data_string parameter_request_list;
- int max_message_size;
-- TIME expiry, renewal, rebind;
-+ unsigned char expiry[4], renewal[4], rebind[4];
- struct data_string filename, server_name;
- int got_requested_address;
- int got_server_identifier;
---- dhcp-3.0.4/server/dhcp.c
-+++ dhcp-3.0.4/server/dhcp.c
-@@ -2442,18 +2442,15 @@
- offered_lease_time =
- state -> offered_expiry - cur_time;
-
-- putULong ((unsigned char *)&state -> expiry,
-- (unsigned long)offered_lease_time);
-+ putULong(state->expiry, (u_int32_t)offered_lease_time);
- i = DHO_DHCP_LEASE_TIME;
- if (lookup_option (&dhcp_universe, state -> options, i))
- log_error ("dhcp-lease-time option for %s overridden.",
- inet_ntoa (state -> ciaddr));
- oc = (struct option_cache *)0;
- if (option_cache_allocate (&oc, MDL)) {
-- if (make_const_data (&oc -> expression,
-- (unsigned char *)&state -> expiry,
-- sizeof state -> expiry,
-- 0, 0, MDL)) {
-+ if (make_const_data(&oc->expression, state->expiry,
-+ 4, 0, 0, MDL)) {
- oc -> option = dhcp_universe.options [i];
- save_option (&dhcp_universe,
- state -> options, oc);
-@@ -2463,19 +2460,15 @@
-
- /* Renewal time is lease time * 0.5. */
- offered_lease_time /= 2;
-- putULong ((unsigned char *)&state -> renewal,
-- (unsigned long)offered_lease_time);
-+ putULong(state->renewal, (u_int32_t)offered_lease_time);
- i = DHO_DHCP_RENEWAL_TIME;
- if (lookup_option (&dhcp_universe, state -> options, i))
- log_error ("overriding dhcp-renewal-time for %s.",
- inet_ntoa (state -> ciaddr));
- oc = (struct option_cache *)0;
- if (option_cache_allocate (&oc, MDL)) {
-- if (make_const_data (&oc -> expression,
-- (unsigned char *)
-- &state -> renewal,
-- sizeof state -> renewal,
-- 0, 0, MDL)) {
-+ if (make_const_data(&oc->expression, state->renewal,
-+ 4, 0, 0, MDL)) {
- oc -> option = dhcp_universe.options [i];
- save_option (&dhcp_universe,
- state -> options, oc);
-@@ -2486,18 +2479,15 @@
- /* Rebinding time is lease time * 0.875. */
- offered_lease_time += (offered_lease_time / 2
- + offered_lease_time / 4);
-- putULong ((unsigned char *)&state -> rebind,
-- (unsigned)offered_lease_time);
-+ putULong(state->rebind, (u_int32_t)offered_lease_time);
- i = DHO_DHCP_REBINDING_TIME;
- if (lookup_option (&dhcp_universe, state -> options, i))
- log_error ("overriding dhcp-rebinding-time for %s.",
- inet_ntoa (state -> ciaddr));
- oc = (struct option_cache *)0;
- if (option_cache_allocate (&oc, MDL)) {
-- if (make_const_data (&oc -> expression,
-- (unsigned char *)&state -> rebind,
-- sizeof state -> rebind,
-- 0, 0, MDL)) {
-+ if (make_const_data(&oc->expression, state->rebind,
-+ 4, 0, 0, MDL)) {
- oc -> option = dhcp_universe.options [i];
- save_option (&dhcp_universe,
- state -> options, oc);
diff --git a/net-misc/dhcp/files/digest-dhcp-3.0.4-r2 b/net-misc/dhcp/files/digest-dhcp-3.0.4-r2
deleted file mode 100644
index 03ec8dae9fa3..000000000000
--- a/net-misc/dhcp/files/digest-dhcp-3.0.4-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 004ef935fd54b8046b16bdde31a9e151 dhcp-3.0.4.tar.gz 883245
-RMD160 f5636d87e1e2138bd239157f54d8f73c73af73ac dhcp-3.0.4.tar.gz 883245
-SHA256 89171155b7a9225f5eb81c83ff63f071168b87eacab05fb859b8397d36809bf7 dhcp-3.0.4.tar.gz 883245
diff --git a/net-misc/dhcp/files/digest-dhcp-3.0.5_rc2 b/net-misc/dhcp/files/digest-dhcp-3.0.5_rc2
deleted file mode 100644
index b08ce8f4a8ed..000000000000
--- a/net-misc/dhcp/files/digest-dhcp-3.0.5_rc2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 f14122e6b414f5881e6926aa5d88c56a dhcp-3.0.5rc2.tar.gz 876507
-RMD160 6f0f776c550d00528ab77f8585a3bc93408a2372 dhcp-3.0.5rc2.tar.gz 876507
-SHA256 01f66158315489084e349d92fbb390e0754eb9a094926d4a500b2d5804b1fad4 dhcp-3.0.5rc2.tar.gz 876507
diff --git a/net-misc/dhcp/files/digest-dhcp-3.1.0_alpha1 b/net-misc/dhcp/files/digest-dhcp-3.1.0_alpha1
deleted file mode 100644
index 3b3d805f94ee..000000000000
--- a/net-misc/dhcp/files/digest-dhcp-3.1.0_alpha1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 a326c6f135b9fa3ad24988312c784be5 dhcp-3.1.0a1.tar.gz 773828
-RMD160 4ededc197e668219d404a054816cd48e71ac8a39 dhcp-3.1.0a1.tar.gz 773828
-SHA256 80f610a6bdfe2ac2d2dd50886d903217141c2983c1a22af23fb223998769651b dhcp-3.1.0a1.tar.gz 773828