DPM-Core/modules/build
Chris Punches 8b7e594d33 adding missing files from previous, and various fixes for PGP signing; path mgmt is a little clunky 2025-03-23 19:51:18 -04:00
..
include adding missing files from previous, and various fixes for PGP signing; path mgmt is a little clunky 2025-03-23 19:51:18 -04:00
src adding missing files from previous, and various fixes for PGP signing; path mgmt is a little clunky 2025-03-23 19:51:18 -04:00
CMakeLists.txt basic signing capabilities - initial implementation, lots of kinks to work out 2025-03-23 14:16:47 -04:00
README.md README.md 2025-03-09 22:36:20 -04:00
build.cpp renamed some files, implemented stage and package sealing, and introduced scaffolding for signing 2025-03-23 05:54:24 -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.