Update package version to 2.6.12
This commit is contained in:
@@ -1,9 +1,20 @@
|
|||||||
name: openldap
|
name: openldap
|
||||||
description: Open source implementation of the Lightweight Directory Access Protocol
|
description: Open source implementation of the Lightweight Directory Access Protocol
|
||||||
version: 2.6.10
|
version: 2.6.12
|
||||||
|
revision: 1
|
||||||
url: https://www.openldap.org/
|
url: https://www.openldap.org/
|
||||||
license: custom
|
license: custom
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["libtool","perl"]
|
|
||||||
make_depends: ["util-linux"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- libtool
|
||||||
|
- perl
|
||||||
|
make_depends:
|
||||||
|
- util-linux
|
||||||
|
downloads:
|
||||||
|
- url: https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${BPM_PKG_VERSION}.tgz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 1716ad779e85d743694c3e3b05277fb71b6a5eadca43c7a958aa62683b22208e
|
||||||
|
|||||||
@@ -2,15 +2,9 @@
|
|||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# 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
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${BPM_PKG_VERSION}.tgz"
|
|
||||||
FILENAME="${DOWNLOAD##*/}"
|
|
||||||
|
|
||||||
# The prepare function is executed in the root of the temp directory
|
# 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
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
|
||||||
|
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
@@ -28,5 +22,6 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/openldap/LICENSE
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/openldap/LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user