Compare commits
15 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
296b65af2c | ||
|
|
d900da1822 | ||
|
|
2d6dab7b83 | ||
|
|
7716face33 | ||
|
|
42af780724 | ||
|
|
696d558837 | ||
|
|
b90c696929 | ||
|
|
c19a20e0d2 | ||
|
|
5f057ac436 | ||
|
|
2b135856ff | ||
|
|
5b60d71c11 | ||
|
|
baddcc1dad | ||
|
|
214610d603 | ||
|
|
e226f99ab0 | ||
|
|
abc5de5e2f |
10 changed files with 1668 additions and 1462 deletions
|
|
@ -0,0 +1,39 @@
|
|||
From f7eb324f5b0deef285b0eaa0d504af77f06c779f Mon Sep 17 00:00:00 2001
|
||||
From: Stepan Broz <sbroz@redhat.com>
|
||||
Date: Fri, 24 Jan 2025 15:41:41 +0100
|
||||
Subject: [PATCH] Correct declarations of ia_na_[no]match and ia_pd_[no]match
|
||||
in server/dhcpv6.c.
|
||||
|
||||
---
|
||||
server/dhcpv6.c | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/server/dhcpv6.c b/server/dhcpv6.c
|
||||
index 7d61dc5..c1f227c 100644
|
||||
--- a/server/dhcpv6.c
|
||||
+++ b/server/dhcpv6.c
|
||||
@@ -5852,8 +5852,8 @@ iterate_over_ia_na(struct data_string *reply_ret,
|
||||
const struct data_string *client_id,
|
||||
const struct data_string *server_id,
|
||||
const char *packet_type,
|
||||
- void (*ia_na_match)(),
|
||||
- void (*ia_na_nomatch)())
|
||||
+ void (*ia_na_match)(const struct data_string *, const struct data_string *, struct iasubopt *),
|
||||
+ void (*ia_na_nomatch)(const struct data_string *, const struct data_string *, u_int32_t *, struct packet *, char *, int *, int))
|
||||
{
|
||||
struct option_state *opt_state;
|
||||
struct host_decl *packet_host;
|
||||
@@ -6354,8 +6354,8 @@ iterate_over_ia_pd(struct data_string *reply_ret,
|
||||
const struct data_string *client_id,
|
||||
const struct data_string *server_id,
|
||||
const char *packet_type,
|
||||
- void (*ia_pd_match)(),
|
||||
- void (*ia_pd_nomatch)())
|
||||
+ void (*ia_pd_match)(const struct data_string *, const struct data_string *, struct iasubopt *),
|
||||
+ void (*ia_pd_nomatch)(const struct data_string *, const struct data_string *, u_int32_t *, struct packet *, char *, int *, int))
|
||||
{
|
||||
struct data_string reply_new;
|
||||
int reply_len;
|
||||
--
|
||||
2.48.1
|
||||
|
||||
15
gating.yaml
15
gating.yaml
|
|
@ -1,16 +1,25 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts: [bodhi_update_push_testing]
|
||||
decision_context: bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
|
||||
|
||||
#gating rawhide
|
||||
#Rawhide
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts: [bodhi_update_push_stable]
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
|
||||
|
||||
#gating rhel
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
|
||||
|
|
|
|||
35
plans.fmf
Normal file
35
plans.fmf
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/tier1-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/dhcp.git
|
||||
name: /plans/tier1/internal
|
||||
|
||||
/tier1-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/dhcp.git
|
||||
name: /plans/tier1/public
|
||||
|
||||
/tier2-tier3-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/dhcp.git
|
||||
name: /plans/tier2-tier3/internal
|
||||
|
||||
/tier2-tier3-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/dhcp.git
|
||||
name: /plans/tier2-tier3/public
|
||||
|
||||
/others-internal:
|
||||
plan:
|
||||
import:
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/dhcp.git
|
||||
name: /plans/others/internal
|
||||
|
||||
/others-public:
|
||||
plan:
|
||||
import:
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/dhcp.git
|
||||
name: /plans/others/public
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
summary: Test plan with all beakerlib tests
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://src.fedoraproject.org/tests/dhcp.git
|
||||
execute:
|
||||
how: tmt
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
summary: Public (Fedora) Tier1 beakerlib tests
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://src.fedoraproject.org/tests/dhcp.git
|
||||
filter: 'tier: 1'
|
||||
execute:
|
||||
how: tmt
|
||||
22
rpminspect.yaml
Normal file
22
rpminspect.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
badfuncs:
|
||||
# Adding waiver for all these functions to stop rpminspec to complain about them.
|
||||
# The DHCP is EOL software so there is no chance to get them replaced
|
||||
# with alternatives upstream.
|
||||
allowed:
|
||||
/usr/bin/omshell:
|
||||
- gethostbyname
|
||||
- inet_ntoa
|
||||
/usr/sbin/dhcpd:
|
||||
- gethostbyaddr
|
||||
- gethostbyname
|
||||
- inet_ntoa
|
||||
/usr/sbin/dhclient:
|
||||
- gethostbyname
|
||||
- inet_ntoa
|
||||
/usr/sbin/dhcrelay:
|
||||
- gethostbyname
|
||||
- inet_ntoa
|
||||
/usr/sbin/keama:
|
||||
- gethostbyname
|
||||
|
||||
1
systemd-tmpfiles.conf
Normal file
1
systemd-tmpfiles.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
d /var/lib/dhcpd 0755 dhcpd dhcpd -
|
||||
Loading…
Add table
Add a link
Reference in a new issue