aboutsummaryrefslogtreecommitdiff
path: root/network/opendmarc
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-08 18:29:13 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-09 17:21:06 +0700
commit2aaff2f3768a0f0bbea43b48c98da51d89f35787 (patch)
tree9d444992303b46b1f6393848858f607cb3aa4b58 /network/opendmarc
parentcde2b1a76e2a94b18aa792136d2f312b44233bb8 (diff)
network/opendmarc: Fix github tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/opendmarc')
-rw-r--r--network/opendmarc/opendmarc.SlackBuild7
-rw-r--r--network/opendmarc/opendmarc.info2
2 files changed, 4 insertions, 5 deletions
diff --git a/network/opendmarc/opendmarc.SlackBuild b/network/opendmarc/opendmarc.SlackBuild
index 5ef68fe806d00..ace7bc9b8d773 100644
--- a/network/opendmarc/opendmarc.SlackBuild
+++ b/network/opendmarc/opendmarc.SlackBuild
@@ -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 \
diff --git a/network/opendmarc/opendmarc.info b/network/opendmarc/opendmarc.info
index aa640887dbf20..5b345d1f0973a 100644
--- a/network/opendmarc/opendmarc.info
+++ b/network/opendmarc/opendmarc.info
@@ -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=""