network/opendmarc: Fix github tarball handling.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-03-08 18:29:13 +13:00 committed by Willy Sudiarto Raharjo
parent cde2b1a76e
commit 2aaff2f376
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 4 additions and 5 deletions

View file

@ -30,8 +30,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=rel-$PRGNAM-${VERSION//./-}
DIRNAM=OpenDMARC-$SRCNAM
SRCNAM=OpenDMARC-rel-$PRGNAM-${VERSION//./-}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -100,9 +99,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $DIRNAM
rm -rf $SRCNAM
tar xvf $CWD/$SRCNAM.tar.gz
cd $DIRNAM
cd $SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View file

@ -1,7 +1,7 @@
PRGNAM="opendmarc"
VERSION="1.4.1.1"
HOMEPAGE="http://www.trusteddomain.org/opendmarc/"
DOWNLOAD="https://github.com/trusteddomainproject/OpenDMARC/archive/refs/tags/rel-opendmarc-1-4-1-1.tar.gz"
DOWNLOAD="https://github.com/trusteddomainproject/OpenDMARC/archive/rel-opendmarc-1-4-1-1/OpenDMARC-rel-opendmarc-1-4-1-1.tar.gz"
MD5SUM="18fe4c7bedbc6f893e96b0b47dfcc280"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""