gh-131: .txz package suffix for FreeBSD, enable build tgt, bump version

pull/134/head
Vlastimil Holer 6 years ago
parent 26d4cc6419
commit c20cb0a62e
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -3,7 +3,7 @@
set -e
export DATE=$(date +%Y%m%d)
TARGETS='el6 el7 el7_ec2 suse deb deb_ec2 alpine iso'
TARGETS='el6 el7 el7_ec2 suse deb deb_ec2 alpine freebsd iso'
for TARGET in $TARGETS; do
TARGET="${TARGET}" ./generate.sh

@ -39,7 +39,7 @@ fi
###
VERSION=${VERSION:-5.6.0}
VERSION=${VERSION:-5.7.80}
RELEASE=${RELEASE:-1}
MAINTAINER=${MAINTAINER:-OpenNebula Systems <support@opennebula.systems>}
LICENSE=${LICENSE:-Apache 2.0}
@ -73,6 +73,8 @@ elif [ "${TYPE}" = 'apk' ]; then
FILENAME="${NAME}-${VERSION}-${RELEASE_FULL}.${EXT}"
elif [ "${TARGET}" = 'arch' ]; then
FILENAME="${NAME}-${VERSION}-${RELEASE_FULL}-any.${EXT}"
elif [ "${TARGET}" = 'freebsd' ]; then
FILENAME="${NAME}-${VERSION}_${RELEASE_FULL}.${EXT}"
elif [ "${TYPE}" = 'iso' ]; then
LABEL="${NAME}-${VERSION}"
FILENAME="${NAME}-${VERSION}-${RELEASE_FULL}.${EXT}"

@ -3,7 +3,7 @@ case "${TARGET}" in
NAME=${NAME:-one-context}
RELSUFFIX=${RELSUFFIX:-}
TYPE=${TYPE:-freebsd}
EXT=${EXT:-pkg}
EXT=${EXT:-txz}
TAGS=${TAGS:-bsd pfsense_rc one sysv}
DEPENDS=${DEPENDS:-sudo bash curl base64}
PROVIDES=${PROVIDES:-}
@ -20,7 +20,7 @@ case "${TARGET}" in
NAME=${NAME:-one-context}
RELSUFFIX=${RELSUFFIX:-}
TYPE=${TYPE:-freebsd}
EXT=${EXT:-pkg}
EXT=${EXT:-txz}
TAGS=${TAGS:-bsd bsd_rc one sysv}
DEPENDS=${DEPENDS:-sudo bash curl base64}
PROVIDES=${PROVIDES:-}

Loading…
Cancel
Save