-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TACACS+] Add plugin support to bash. #8660
Merged
liuh-80
merged 29 commits into
sonic-net:master
from
liuh-80:dev/liuh/bash_plugin_support
Oct 11, 2021
Merged
Changes from 13 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
cda3fa8
[TACACS] Add plugin support to bash.
liuh-80 cadfc8f
Build bash from source code
79b5004
Change diff file to based on 5.0-4 version
liuh-80 bea3b28
Change make file to apply plugin support diff.
liuh-80 2a167f5
Fix whitespace issue.
liuh-80 6b57fe2
Improve build config
6dc2564
Improve build config
1904a40
Improve build config
f1b55e8
Improve PR code
liuh-80 de63753
Merge branch 'dev/liuh/bash_plugin_support' of https://github.com/liu…
liuh-80 da9d484
Add files.
liuh-80 c6cef30
Improve PR.
liuh-80 ff0af03
Install patched bash package.
liuh-80 1b46066
Use quilt to manage patches.
liuh-80 3cfd4ce
Fix PR comments
liuh-80 e85a16b
Integrate UT.
liuh-80 112a656
Fix UT build issue.
liuh-80 84e57cc
Fix build issue.
liuh-80 a0593bc
Merge branch 'dev/liuh/bash_plugin_support' of https://github.com/liu…
liuh-80 9fa560c
Improve code.
liuh-80 989c52c
Fix CUnit missing issue
614c2ce
Fix CUnit missing issue
317619d
Merge branch 'dev/liuh/bash_plugin_support' of https://github.com/liu…
liuh-80 c8a7734
Fix UT build issue.
liuh-80 d4d1846
Fix UT build break issue.
liuh-80 fa97701
Improve code by PR comments.
liuh-80 849a9a8
Merge branch 'dev/liuh/bash_plugin_support' of https://github.com/liu…
liuh-80 a1c51f9
Merge remote-tracking branch 'origin/master' into dev/liuh/bash_plugi…
liuh-80 ec852b4
Change to use 5.1-2 for debian-11 bullseye.
liuh-80 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
* | ||
!.gitignore | ||
!Makefile | ||
!Files/ | ||
!Files/* | ||
!patches/ | ||
!patches/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#disable some warning because UT need test functions not in header file. | ||
CFLAGS = -Wno-parentheses -Wno-format-security -Wno-implicit-function-declaration -c | ||
IFLAGS = -I.. -I../include -I../lib | ||
MFLAG = -DDEBUG -DBASH_PLUGIN_UT | ||
|
||
all: | ||
gcc plugin_test.c $(IFLAGS) $(CFLAGS) -o plugin_test.o | ||
gcc mock_helper.c $(IFLAGS) $(CFLAGS) -o mock_helper.o | ||
gcc ../plugin.c $(IFLAGS) $(CFLAGS) $(MFLAG) -o plugin.o | ||
gcc plugin_test.o mock_helper.o plugin.o -o plugin_test -lc -lcunit | ||
|
||
clean: | ||
rm *.o | ||
rm plugin_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bullseye is using even newer version. It is not a good idea to build an old version for it. #Closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bullseye using 5.1-2+b3 version: https://packages.debian.org/stable/shells/bash
will change to this version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.