Update package version to 2.6.10
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
URL="https://www.openldap.org/software/download/"
|
||||
|
||||
# Get version number from tag name
|
||||
VERSION=$(curl -s -L "$URL" | grep -o -E 'OpenLDAP-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}')
|
||||
|
||||
# Trim prefix
|
||||
VERSION=${VERSION//OpenLDAP-/}
|
||||
|
||||
echo "$VERSION"
|
||||
@@ -1,6 +1,6 @@
|
||||
name: openldap
|
||||
description: Open source implementation of the Lightweight Directory Access Protocol
|
||||
version: 2.6.7
|
||||
version: 2.6.10
|
||||
url: https://www.openldap.org/
|
||||
license: custom
|
||||
architecture: any
|
||||
|
||||
@@ -10,12 +10,14 @@ FILENAME="${DOWNLOAD##*/}"
|
||||
prepare() {
|
||||
wget "$DOWNLOAD"
|
||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||
|
||||
cd "$BPM_SOURCE"
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
autoconf
|
||||
./configure --prefix=/usr --sysconfdir=/etc --disable-static --enable-dynamic --disable-debug --disable-slapd
|
||||
make depend
|
||||
make
|
||||
|
||||
Reference in New Issue
Block a user