Jesse Smith
6b50bb0c08
Merge pull request #135 from Neved4/readme
...
Update `README.md` to use markdown more consistently
2024-08-26 09:02:53 -03:00
Jesse Smith
7190e2bb81
Merge pull request #131 from slicer69/dependabot/github_actions/actions/checkout-4.1.7
...
Actions(deps): Bump actions/checkout from 4.1.4 to 4.1.7
2024-08-24 22:21:44 -03:00
Jesse Smith
c428939c57
Merge pull request #134 from Neved4/doc
...
Improve macOS build instructions in `README.md`
2024-08-24 22:20:56 -03:00
Neveda
84038221af
Refactor README.md
to render consistently
2024-08-24 17:39:26 +02:00
Neveda
90b7c5cde2
Use built-in bison
instead of yacc
for macOS in README.md
2024-08-24 17:01:11 +02:00
Neveda
50e0c99d35
Place macOS instructions together in README.md
2024-08-24 16:38:47 +02:00
Neveda
ae354a8024
Update macOS version in README.md
2024-08-24 16:30:37 +02:00
Neveda
612a7cea13
Improve macOS build instructions in README.md
2024-08-24 16:17:15 +02:00
Jesse Smith
395e38feac
Update README.md
...
Update macOS instructions to include yacc dependency
2024-08-23 19:41:21 -03:00
dependabot[bot]
4012d4bb7f
Actions(deps): Bump actions/checkout from 4.1.4 to 4.1.7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.4 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](0ad4b8fada...692973e3d9
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 03:38:05 +00:00
Jesse Smith
23818b138e
Make sure doasedit can work when target file to edit has a leading slash
...
character. ie A full path name is used.
Update doas.1 manual page to indicate problems with piping input
on Linux when processes are launched by doas.
2024-05-10 14:16:18 -03:00
Jesse
7c3981ce28
Cleaned up error checking for temporary files, removed redundant check.
...
Fixed status check for copy and editor launch.
2024-05-02 09:33:09 -03:00
Jesse
2f1843bb41
Display a proper error when we cannot create a temporary file.
2024-05-01 11:22:55 -03:00
Jesse
a7b3534b20
Merge branch 'master' of https://github.com/slicer69/doas
2024-05-01 11:16:33 -03:00
Jesse
e595a0d397
Fixed doasedit to properly handle files which start with a dash
...
character, such as "-bar.txt".
2024-05-01 11:15:33 -03:00
Jesse Smith
577621afdc
Merge pull request #126 from slicer69/dependabot/github_actions/actions/checkout-4.1.4
...
Actions(deps): Bump actions/checkout from 4.1.3 to 4.1.4
2024-04-29 10:55:07 -03:00
dependabot[bot]
6931e89eb3
Actions(deps): Bump actions/checkout from 4.1.3 to 4.1.4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](1d96c772d1...0ad4b8fada
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 03:07:30 +00:00
Jesse Smith
0ab4e2a23d
Merge pull request #125 from slicer69/dependabot/github_actions/actions/checkout-4.1.3
...
Actions(deps): Bump actions/checkout from 4.1.2 to 4.1.3
2024-04-22 09:08:47 -03:00
dependabot[bot]
30f50f4e9f
Actions(deps): Bump actions/checkout from 4.1.2 to 4.1.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](9bb56186c3...1d96c772d1
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 03:23:27 +00:00
Jesse Smith
faeba6c4c7
Merge pull request #124 from slicer69/dependabot/github_actions/actions/checkout-4.1.2
...
Actions(deps): Bump actions/checkout from 4.1.1 to 4.1.2
2024-03-18 07:27:45 -03:00
dependabot[bot]
523f324de8
Actions(deps): Bump actions/checkout from 4.1.1 to 4.1.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](b4ffde65f4...9bb56186c3
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 03:52:20 +00:00
Jesse Smith
e9bee5f172
Merge pull request #121 from slicer69/dependabot/github_actions/actions/checkout-4.1.1
...
Actions(deps): Bump actions/checkout from 4.1.0 to 4.1.1
2023-10-23 09:23:31 -03:00
dependabot[bot]
43e90e78b6
Actions(deps): Bump actions/checkout from 4.1.0 to 4.1.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](8ade135a41...b4ffde65f4
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 03:08:33 +00:00
Jesse Smith
e77fb77752
Merge pull request #120 from slicer69/dependabot/github_actions/actions/checkout-4.1.0
...
Actions(deps): Bump actions/checkout from 4.0.0 to 4.1.0
2023-09-25 11:05:08 -03:00
dependabot[bot]
c64e82f55b
Actions(deps): Bump actions/checkout from 4.0.0 to 4.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](3df4ab11eb...8ade135a41
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 04:03:39 +00:00
Jesse Smith
313883d0d4
Merge pull request #119 from slicer69/dependabot/github_actions/actions/checkout-4.0.0
...
Actions(deps): Bump actions/checkout from 3.6.0 to 4.0.0
2023-09-11 10:15:55 -03:00
dependabot[bot]
a5ff82739c
Actions(deps): Bump actions/checkout from 3.6.0 to 4.0.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](f43a0e5ff2...3df4ab11eb
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 03:27:17 +00:00
Jesse Smith
5c71a20fd2
Merge pull request #118 from slicer69/dependabot/github_actions/actions/checkout-3.6.0
...
Actions(deps): Bump actions/checkout from 3.5.3 to 3.6.0
2023-08-28 11:14:12 -03:00
dependabot[bot]
465b8261ac
Actions(deps): Bump actions/checkout from 3.5.3 to 3.6.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](c85c95e3d7...f43a0e5ff2
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 03:53:00 +00:00
Jesse Smith
9a11c94277
Merge pull request #116 from slicer69/dependabot/github_actions/actions/checkout-3.5.3
...
Actions(deps): Bump actions/checkout from 3.5.2 to 3.5.3
2023-06-12 09:53:50 -03:00
dependabot[bot]
257866651e
Actions(deps): Bump actions/checkout from 3.5.2 to 3.5.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](8e5e7e5ab8...c85c95e3d7
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 04:06:12 +00:00
Jesse Smith
1749b5e8fb
Merge pull request #114 from hartwork/pin-github-actions-at-commit-level
...
Pin GitHub Actions to specific commits for security
2023-04-17 21:14:58 -03:00
Sebastian Pipping
4b53513aab
Pin GitHub Actions to specific commits for security
2023-04-18 01:19:07 +02:00
Jesse Smith
10ca176f40
Merge pull request #113 from ElectricPulse/typo
...
Fixed typo in doas.conf.sample and added nopass example
2023-03-28 16:14:06 -03:00
Adam Labus
df0e4223c9
Fixed typo in doas.conf.sample and added nopass example
2023-03-28 20:49:22 +02:00
Jesse Smith
4bba105ec0
Merge pull request #112 from hartwork/github-actions-linux-ci
...
Make GitHub Actions build and smoke test on Linux
2023-03-17 12:24:07 -03:00
Sebastian Pipping
fd92e05e12
Make GitHub Dependabot keep our GitHub Actions up to date
2023-03-16 22:13:18 +01:00
Sebastian Pipping
a639819950
Make GitHub Actions build and smoke test on Linux
2023-03-16 22:13:18 +01:00
Sebastian Pipping
b884d88626
Fix compilation on Linux
...
Symptom with GCC 11:
> gcc-11 -std=c99 -Wextra -pedantic -Wall -O2 -DUSE_PAM -DDOAS_CONF=\"/etc/doas.conf\" -D_GNU_SOURCE -include compat/compat.h -Icompat -c -o env.o env.c
> env.c: In function ‘createenv’:
> env.c:139:37: error: conflicting types for ‘environ’; have ‘const char **’
> 139 | extern const char **environ;
> | ^~~~~~~
Symptom with Clang 17:
> clang-17 -std=c99 -Wextra -pedantic -Wall -O2 -DUSE_PAM -DDOAS_CONF=\"/etc/doas.conf\" -D_GNU_SOURCE -include compat/compat.h -Icompat -c -o env.o env.c
> env.c:139:23: error: redeclaration of 'environ' with a different type: 'const char **' vs 'char **'
> extern const char **environ;
> ^
Related:
https://sourceforge.net/p/predef/wiki/OperatingSystems/#linux-kernel
2023-03-16 22:06:49 +01:00
Jesse Smith
d9f415c740
Merge pull request #106 from helmat/patch-2
...
remove obsolete initialization
2022-09-21 09:54:50 -03:00
helmat
ad8690ae38
remove obsolete initialization
...
This initializer is obsolete as targetname is initialized just prior the while loop and not touched elsewhere within the loop.
2022-09-21 07:30:04 +02:00
Jesse
421af927d1
Merge branch 'master' of https://github.com/slicer69/doas
2022-09-14 10:09:45 -03:00
Jesse
065bafc49d
Merge branch 'master' of https://github.com/slicer69/doas
2022-09-14 10:07:00 -03:00
Jesse Smith
57b547cb44
Merge pull request #105 from helmat/patch-1
...
Correct initializer
2022-09-14 09:58:51 -03:00
helmat
f121a2e063
Correct initializer - targetname[0] is access even when no 'u' option is given
2022-09-14 10:00:06 +02:00
Jesse
9a4eb403de
Updated manual pages to address situations where multiple usernames
...
resolve to the same UID and how the "as" syntax in the doas.conf
file is affected.
2022-09-12 17:33:17 -03:00
Jesse
5d84815124
Adjust doas to look up target shell information basedon
...
on username instead of numeric UID. This makes using
doas smoother on systems like FreeBSD where it's common
to have multiple usernames for UID 0 (zero).
Thanks to helmat for the patch.
2022-09-12 17:15:40 -03:00
Jesse Smith
37c6de1e60
Merge pull request #104 from helmat/master
...
Handle multiple users with same UID correctly
2022-09-09 12:33:53 -03:00
helmat
09570c7044
Update doas.c
2022-09-09 12:55:29 +02:00
Jesse Smith
147b621ecc
Update README.md
...
Fix hidden text in example.
2022-06-06 22:50:43 -03:00