Commit graph

407 commits

Author SHA1 Message Date
Ariadne Conill
5772a914d9 ifupdown-ng 0.1.1. 2020-07-23 12:02:55 -06:00
Ariadne Conill
aa02e81a9f build: use CPPFLAGS correctly 2020-07-23 11:56:36 -06:00
Ariadne Conill
1824d05bd5 lifecycle: implement support for IF_ env vars based on triples 2020-07-23 11:56:20 -06:00
Ariadne Conill
a19a8e2ccc ifupdown-ng 0.1. 2020-07-23 11:28:54 -06:00
Ariadne Conill
a880654204 build: add 'make install' rule 2020-07-23 11:28:18 -06:00
Ariadne Conill
546e6a5f3a lifecycle: support gateway 2020-07-23 11:15:44 -06:00
Ariadne Conill
95d26df34c lifecycle: refactor address handling a little 2020-07-23 11:08:35 -06:00
Ariadne Conill
de94c2a5a4 ifupdown: update ifstate 2020-07-23 11:01:05 -06:00
Ariadne Conill
5e99e689a8 ifupdown: make --auto work 2020-07-23 10:57:46 -06:00
Ariadne Conill
16dffed37a build: clean: rm ${CMDS} too 2020-07-23 10:46:22 -06:00
Ariadne Conill
6e262ab3ed add ifupdown skeleton 2020-07-23 10:44:45 -06:00
Ariadne Conill
933332a6cb lifecycle: add pre-down/post-up to match debian ifupdown 2020-07-23 10:43:14 -06:00
Ariadne Conill
5013dcf6c9 lifecycle: kill dhcp client when called from ifdown 2020-07-23 09:45:52 -06:00
Ariadne Conill
2c556d8655 environment: fix up memory accesses when building envp 2020-07-23 09:43:09 -06:00
Ariadne Conill
a2f3169716 lifecycle: use /bin/run-parts instead of run-parts 2020-07-23 08:57:52 -06:00
Ariadne Conill
bc9dc32a38 lifecycle: support dhcp 2020-07-23 08:55:46 -06:00
Ariadne Conill
4542c8c32f lifecycle: note dependency resolution todo 2020-07-23 08:52:18 -06:00
Ariadne Conill
da37e87290 add lifecycle management 2020-07-23 08:51:22 -06:00
Ariadne Conill
4006b38ffa execute: add lif_execute_opts structure 2020-07-23 08:22:26 -06:00
Ariadne Conill
a567d5d0f5 libifupdown: add lif_execute_fmt() 2020-07-23 06:12:56 -06:00
Ariadne Conill
7f8f93a29b libifupdown: add environment management routines 2020-07-23 05:30:25 -06:00
Ariadne Conill
c94c66b25c tests: add ifquery state tests 2020-07-20 08:29:14 -06:00
Ariadne Conill
09057aa977 fix up tests 2020-07-20 08:24:31 -06:00
Ariadne Conill
aa1cc0815c add a bunch more of the state stuff 2020-07-20 08:19:23 -06:00
Ariadne Conill
6fe4630f52 state: add interface alias support 2020-07-20 07:45:39 -06:00
Ariadne Conill
d4e1997486 add core state management 2020-07-20 07:42:16 -06:00
Ariadne Conill
6606432600 build: also clean ifquery objects 2020-07-20 07:37:43 -06:00
Ariadne Conill
7360042d51 tests: fix broken test when no /e/n/i file exists 2020-07-19 06:23:12 -06:00
Ariadne Conill
6c0a74eb07 gitignore: add ifquery, ifup and ifdown executables to gitignore 2020-07-19 06:20:43 -06:00
Ariadne Conill
c6ef6d1c03 implement a CI attempt 2020-07-19 06:03:08 -06:00
Ariadne Conill
0c3e4c71cf tests: add some ifquery tests 2020-07-19 04:50:30 -06:00
Ariadne Conill
f8242f6ce5 tests: verify ifquery lo always works 2020-07-19 00:17:42 -06:00
Ariadne Conill
757db993da tests: add initial skeleton for ifquery tests 2020-07-19 00:05:24 -06:00
Ariadne Conill
6904e2ef37 ifquery: usage(): use stderr 2020-07-19 00:05:12 -06:00
Ariadne Conill
a12dea25b1 build: fix up make check target 2020-07-18 20:05:02 -06:00
Ariadne Conill
e108b3c499 tests: add some ATF helpers 2020-07-18 19:52:43 -06:00
Ariadne Conill
ddc878ea20 build: add make check target 2020-07-18 19:46:59 -06:00
Ariadne Conill
bcde9e7717 tests: start working on testing capabilities 2020-07-18 19:46:32 -06:00
Ariadne Conill
1a650a126e ifquery: add --pretty-print 2020-07-18 19:35:02 -06:00
Ariadne Conill
cd2d35c6a2 ifquery: implement --include and --exclude 2020-07-18 19:31:44 -06:00
Ariadne Conill
9eea60986a ifquery: implement --list 2020-07-18 19:26:20 -06:00
Ariadne Conill
c189467707 add ifquery --version 2020-07-18 19:09:08 -06:00
Ariadne Conill
86a83d9e95 implement /e/n/i parsing 2020-07-18 18:48:49 -06:00
Ariadne Conill
26106dff75 add fgetline(3) implementation 2020-07-18 18:13:54 -06:00
Ariadne Conill
32560de5ca add stub lif_interface_file_parse() 2020-07-18 18:02:25 -06:00
Ariadne Conill
a166058b2b makefile: fix cross compilation 2020-07-18 17:57:45 -06:00
Ariadne Conill
7c068e493d ifquery: expand a bit 2020-07-18 17:44:58 -06:00
Ariadne Conill
0c59879fcf add README 2020-07-18 05:15:10 -06:00
Ariadne Conill
b2ad44e03b add code of conduct 2020-07-18 04:51:25 -06:00
Ariadne Conill
817963b586 cmd: start work on an ifquery command 2020-07-18 04:49:22 -06:00