mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
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:
parent
cde2b1a76e
commit
2aaff2f376
2 changed files with 4 additions and 5 deletions
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue