Skip to content

Commit

Permalink
Merge pull request #4866 from johnfosborneiii/patch-2
Browse files Browse the repository at this point in the history
Add xmlsec
  • Loading branch information
kaniini authored Sep 1, 2023
2 parents bfe1244 + fbc3b2b commit b05effb
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions xmlsec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
package:
name: xmlsec
version: 1.3.1
epoch: 0
description: C based implementation for XML Signature Syntax and Processing and XML Encryption Syntax and Processing
copyright:
- license: MIT

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- build-base
- automake
- autoconf
- libxml2
- libxml2-dev
- libxml2-py3
- libxml2-utils
- linux-headers
- wget
- make
- pkgconf
- pkgconf-dev
- binutils
- scanelf
- libtool
- libltdl
- libxslt-dev
- openssl-dev
- libssl3
- nss-db
- libgcrypt-dev
- python3
- python3-dev

var-transforms:
- from: ${{package.version}}
match: \.
replace: '_'
to: mangled-package-version

pipeline:
- uses: git-checkout
with:
repository: https://github.com/lsh123/xmlsec
expected-commit: 3b67fdb38958c8386269d85cc0bbef9a39498ff0
tag: xmlsec_${{vars.mangled-package-version}}

- name: Autogen
runs: |
git clean -fdx . && NOCONFIGURE=1
./autogen.sh \
--prefix=/usr \
--with-openssl=/usr \
--enable-static \
--enable-static-linking \
--without-gnutls \
--without-gcrypt \
--without-nss \
--with-default-crypto=openssl \
&& make \
&& make -k check
- name: Install
runs: |
mkdir -p ${{targets.destdir}}/usr/bin/
make -j$(nproc) DESTDIR="${{targets.destdir}}" install
- uses: strip

subpackages:
- name: xmlsec-openssl
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libxmlsec1-openssl.so* ${{targets.subpkgdir}}/usr/lib
description: xmlsec openssl plugin

- name: xmlsec-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
description: xmlsec dev

- name: xmlsec-doc
pipeline:
- uses: split/manpages
description: xmlsec manpages

update:
enabled: true
version-separator: _
github:
identifier: lsh123/xmlsec
strip-prefix: xmlsec_
use-tag: true
tag-filter: xmlsec_

0 comments on commit b05effb

Please sign in to comment.