Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions package-lists/build/main.pkgs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ challenge-response
cloud-init
crash-python
crypt-blowfish
cyclonedx-cli
delphix-go
delphix-platform
delphix-rust
Expand All @@ -28,6 +29,8 @@ ptools
python-rtslib-fb
savedump
sdb
# see the cyclonedx-cli comment above -- same build-host-only rule applies here.
syft
targetcli-fb
virtualization
windows-connector
34 changes: 34 additions & 0 deletions packages/cyclonedx-cli/config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
#
# Copyright 2026 Delphix
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# shellcheck disable=SC2034

DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/cyclonedx-cli.git"

function build() {
logmust mkdir -p "$WORKDIR/repo"

#
# Instead of relying on linux-pkg to assign a default version like 1.0.0, set the
# version of the delphix-cyclonedx-cli package to the pinned cyclonedx-cli version.
# This is done so that "apt-cache policy delphix-cyclonedx-cli" on a build host can
# tell you which cyclonedx-cli actually validated a given CycloneDX SBOM.
#
PACKAGE_VERSION="$(tr -d '\n' <"$WORKDIR/repo/CYCLONEDX_VERSION")"
[[ -n "$PACKAGE_VERSION" ]] || die "Failed to retrieve package version"

logmust dpkg_buildpackage_default
}
34 changes: 34 additions & 0 deletions packages/syft/config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
#
# Copyright 2026 Delphix
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# shellcheck disable=SC2034

DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/syft.git"

function build() {
logmust mkdir -p "$WORKDIR/repo"

#
# Instead of relying on linux-pkg to assign a default version like 1.0.0, set the
# version of the delphix-syft package to the pinned Syft version. This is done so
# that "dpkg -l delphix-syft" on a build host can tell you which Syft actually
# produced a given CycloneDX SBOM.
#
PACKAGE_VERSION="$(tr -d '\n' <"$WORKDIR/repo/SYFT_VERSION")"
[[ -n "$PACKAGE_VERSION" ]] || die "Failed to retrieve package version"

logmust dpkg_buildpackage_default
}