forked from anchore/syft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand deb cataloger to include opkg (anchore#1985)
* Add opkg info directory and status file to deb cataloger opkg uses the same or nearly the same metadata and structure as Debian: **/lib/opkg/status lists status information for all packages **/lib/opkg/info/opkg.conffiles is a list of configuration files **/lib/opkg/info/*.list contains files and directories installed by the package **/lib/opkg/info/*.preinst are scripts to run before installation **/lib/opkg/info/*.postinst are scripts to run after installation **/lib/opkg/info/*.postrm are scripts to run after package removal **/lib/opkg/info/*.control provides package metadata Signed-off-by: Nicholas R. Smith <[email protected]> --------- Signed-off-by: Nicholas R. Smith <[email protected]> Co-authored-by: Nicholas R. Smith <[email protected]>
- Loading branch information
Nicholas R. Smith
and
Nicholas R. Smith
authored
Aug 3, 2023
1 parent
8ba2174
commit 4b87a29
Showing
4 changed files
with
5 additions
and
1 deletion.
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
1 change: 1 addition & 0 deletions
1
syft/pkg/cataloger/deb/test-fixtures/glob-paths/usr/lib/opkg/info/pkg-1.0
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 @@ | ||
bogus package |
1 change: 1 addition & 0 deletions
1
syft/pkg/cataloger/deb/test-fixtures/glob-paths/usr/lib/opkg/status
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 @@ | ||
bogus status |