diff --git a/pkg.info b/pkg.info index 6bc7c28..705646c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,27 @@ name: shadow description: Password and account management tool suite -version: 4.18.0 +version: 4.19.0 +revision: 1 url: https://github.com/shadow-maint/shadow/ license: BSD-3-Clause architecture: any -depends: ["acl","attr","glibc","libbsd","libxcrypt","pam"] -make_depends: ["docbook-xsl-nons","itstool","libcap","libxslt"] type: source -keep: ["etc/login.defs"] +keep: + - etc/login.defs +depends: + - acl + - attr + - glibc + - libbsd + - libxcrypt + - pam +make_depends: + - docbook-xsl-nons + - itstool + - libcap + - libxslt +downloads: + - url: https://github.com/shadow-maint/shadow/releases/download/${BPM_PKG_VERSION}/shadow-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 9cb28ec40f19ee0a5ae8f4fd55539fed88ec41e336663d468cdeab739b632b33 diff --git a/source.sh b/source.sh index d3af709..ad320e7 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/shadow-maint/shadow/releases/download/${BPM_PKG_VERSION}/shadow-${BPM_PKG_VERSION}.tar.xz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() { @@ -27,7 +17,8 @@ build() { --disable-static \ --with-{b,yes}crypt \ --with-libbsd \ - --with-group-name-max-length=32 + --with-group-name-max-length=32 \ + --disable-logind make }