forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
frr-10.2.yaml
115 lines (103 loc) · 2.61 KB
/
frr-10.2.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
package:
name: frr-10.2
version: "10.2"
epoch: 1
description: The FRRouting Protocol Suite
copyright:
- license: GPL-2.0-only
dependencies:
provides:
- frr=${{package.full-version}}
runtime:
- bash
- iproute2
- python-3.11
environment:
contents:
packages:
- autoconf
- automake
- bison
- build-base
- busybox
- c-ares-dev
- elfutils-dev
- flex
- json-c-dev
- libcap-dev
- libtool
- libyang-dev
- linenoise-dev
- lua5.3
- lua5.3-dev
- m4
- openssf-compiler-options
- openssl-dev
- patch
- pcre2-dev
- protobuf-c-dev
- python3-dev
- readline-dev
- rtrlib-dev
pipeline:
- uses: git-checkout
with:
expected-commit: 22746b8d59e6e6cb77ced61bc9e0cff2ead227b5
repository: https://github.com/FRRouting/frr
tag: frr-${{package.version}}
- runs: autoreconf -vif
- uses: autoconf/configure
with:
opts: |
--sbindir=/usr/lib/frr \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-rpki \
--enable-vtysh \
--enable-multipath=64 \
--enable-vty-group=frrvty \
--enable-user=frr \
--enable-group=frr \
--enable-pcre2posix \
--enable-scripting \
--with-crypto=openssl
- uses: autoconf/make
- uses: autoconf/make-install
- runs: |
cp docker/alpine/docker-start ${{targets.destdir}}/usr/lib/frr/docker-start
install -d ${{targets.destdir}}/etc/frr
install -m 0644 tools/etc/frr/daemons ${{targets.destdir}}/etc/frr/daemons
install -d ${{targets.destdir}}/etc/init.d
ln -s /usr/lib/frr ${{targets.destdir}}/etc/init.d/frr
- uses: strip
subpackages:
- name: ${{package.name}}-dev
description: dev library for ${{package.name}}
dependencies:
provides:
- frr-dev=${{package.full-version}}
runtime:
- frr=${{package.full-version}}
pipeline:
- uses: split/dev
- name: ${{package.name}}-debug
dependencies:
provides:
- frr-debug=${{package.full-version}}
pipeline:
- uses: split/debug
description: ${{package.name}} debug
update:
enabled: true
git:
strip-prefix: frr-
tag-filter-prefix: frr-10.2
test:
pipeline:
- name: "version tests"
runs: |
/usr/lib/frr/zebra --version | grep ${{package.version}}
/usr/lib/frr/bgpd --version | grep ${{package.version}}
/usr/lib/frr/bfdd --version | grep ${{package.version}}