Skip to content

Commit

Permalink
Applied updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Jun 25, 2024
1 parent cd3d120 commit 3628220
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get -y install autoconf automake autopoint build-essential git libssl-dev libtool pkg-config
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libssl-dev libtool pkg-config
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
Expand All @@ -63,7 +63,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get -y install autoconf automake autopoint build-essential git libssl-dev libtool pkg-config
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libssl-dev libtool pkg-config
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
Expand All @@ -87,7 +87,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get -y install autoconf automake autopoint build-essential git libssl-dev libtool pkg-config libfuse-dev
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libssl-dev libtool pkg-config libfuse-dev
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
Expand All @@ -111,7 +111,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get -y install autoconf automake autopoint build-essential git libssl-dev libtool pkg-config libfuse3-dev
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libssl-dev libtool pkg-config libfuse3-dev
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
Expand All @@ -138,7 +138,7 @@ jobs:
run: |
sudo add-apt-repository universe &&
sudo apt-get update &&
sudo apt-get -y install autoconf automake autopoint build-essential git libssl-dev libtool pkg-config python3-dev python-dev-is-python3
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libssl-dev libtool pkg-config python3-dev python-dev-is-python3
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
Expand All @@ -164,14 +164,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install build dependencies
run: |
sudo add-apt-repository universe &&
sudo apt-get update &&
sudo apt-get -y install autoconf automake autopoint build-essential git libssl-dev libtool pkg-config python3-dev python-dev-is-python3
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libssl-dev libtool pkg-config python3-dev python-dev-is-python3
- name: Building from source
env:
CC: ${{ matrix.compiler }}
Expand All @@ -195,7 +195,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get -y install autoconf automake autopoint build-essential git libssl-dev libtool pkg-config
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libssl-dev libtool pkg-config
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/build_ossfuzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Build OSSFuzz fuzz targets from source.
name: build_ossfuzz
on:
push:
branches: [main]
permissions: read-all
jobs:
build_ossfuzz:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- architecture: 'x64'
compiler: 'gcc'
configure_options: ''
steps:
- name: Install build dependencies
run: |
sudo apt-get -y install git
- uses: actions/checkout@v4
with:
repository: google/oss-fuzz
path: oss-fuzz
- name: Build OSSFuzz fuzz targets
working-directory: oss-fuzz
run: |
mkdir -p projects/libbde
cp projects/libyal/build.sh projects/libbde/
cp projects/libyal/project.yaml projects/libbde/
head -n 20 projects/libyal/Dockerfile > projects/libbde/Dockerfile
echo "RUN git clone --depth 1 https://github.com/libyal/libbde.git libbde" >> projects/libbde/Dockerfile
tail -n 3 projects/libyal/Dockerfile >> projects/libbde/Dockerfile
python3 infra/helper.py build_image --pull libbde
python3 infra/helper.py build_fuzzers --sanitizer address libbde
python3 infra/helper.py check_build libbde
5 changes: 1 addition & 4 deletions .github/workflows/build_shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ jobs:
strategy:
matrix:
include:
- architecture: 'x64'
compiler: 'gcc'
configure_options: ''
- architecture: 'x64'
compiler: 'gcc'
configure_options: '--enable-wide-character-type'
steps:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get -y install autoconf automake autopoint build-essential git libssl-dev libtool pkg-config
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libssl-dev libtool pkg-config
- name: Download test data
run: |
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ AC_PREREQ([2.71])

AC_INIT(
[libbde],
[20240520],
[20240625],
[joachim.metz@gmail.com])

AC_CONFIG_SRCDIR(
Expand Down
3 changes: 2 additions & 1 deletion libbde.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ status: "alpha"
year_of_creation: "2011"
data_format: "BitLocker Drive Encryption (BDE) volume"
documentation_url: "https://github.com/libyal/libbde/tree/main/documentation"
features: ["debug_output", "nuget"]
features: ["debug_output", "nuget", "ossfuzz", "python_bindings", "tools"]

[library]
build_dependencies: ["crypto"]
description: "Library to access the BitLocker Drive Encryption (BDE) format"
features: ["pthread", "wide_character_type"]
public_types: ["key_protector", "volume"]

[tools]
Expand Down
4 changes: 2 additions & 2 deletions libbde.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package >
<metadata>
<id>libbde</id>
<version>20240520</version>
<version>20240625</version>
<authors>Joachim Metz</authors>
<owners>joachimmetz</owners>
<license type="expression">LGPL-3.0-or-later</license>
<projectUrl>https://github.com/libyal/libbde</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<title>libbde</title>
<description>Library to access the BitLocker Drive Encryption (BDE) format</description>
<releaseNotes>Release of libbde 20240520</releaseNotes>
<releaseNotes>Release of libbde 20240625</releaseNotes>
<copyright>Copyright (C) 2011-2024</copyright>
<tags>native</tags>
</metadata>
Expand Down

0 comments on commit 3628220

Please sign in to comment.