DPM-Core/modules/build
Chris Punches f750c22faa README.md 2025-03-09 22:36:20 -04:00
..
include groundwork for standalone elfs of modules for debugging purposes 2025-03-09 19:02:39 -04:00
src groundwork for standalone elfs of modules for debugging purposes 2025-03-09 19:02:39 -04:00
CMakeLists.txt groundwork for standalone elfs of modules for debugging purposes 2025-03-09 19:02:39 -04:00
README.md README.md 2025-03-09 22:36:20 -04:00
build.cpp groundwork for standalone elfs of modules for debugging purposes 2025-03-09 19:02:39 -04:00

README.md

DPM Package Module

The package module provides functionality for creating, inspecting, and verifying DPM packages.

Features

  • Create DPM packages from source directories
  • Extract and inspect DPM package contents and metadata
  • Verify package integrity through checksums
  • Support for package signing (future enhancement)

Usage

dpm package <command> [options]

Commands

  • create - Create a new DPM package
  • info - Display information about a DPM package
  • verify - Verify the integrity of a DPM package
  • help - Display help information

Examples

Create a package:

dpm package create -s /path/to/source/dir -o my-package-1.0.x86_64.dpm -n "my-package" -v "1.0" -a "x86_64" -d "Example package" -u "Your Name <your.email@example.com>"

Display package information:

dpm package info -p my-package-1.0.x86_64.dpm

Verify package integrity:

dpm package verify -p my-package-1.0.x86_64.dpm

Dependencies

  • OpenSSL (for SHA-256 checksumming)
  • Standard Unix utilities (tar, gzip)

Building

mkdir build && cd build
cmake ../
make

This will build the package module and place it in the modules directory.

Installation

The module will be installed automatically as part of the DPM build process.