Commit 5588b783 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: use https only

parent 3821980a
...@@ -18,8 +18,8 @@ esac ...@@ -18,8 +18,8 @@ esac
case $(epm print info -s) in case $(epm print info -s) in
alt) alt)
epm repo add "rpm http://akvis-alt.sfo2.cdn.digitaloceanspaces.com x86_64 akvis" epm repo add "rpm https://akvis-alt.sfo2.cdn.digitaloceanspaces.com x86_64 akvis"
epm repo add "rpm http://akvis-alt.sfo2.cdn.digitaloceanspaces.com noarch akvis" epm repo add "rpm https://akvis-alt.sfo2.cdn.digitaloceanspaces.com noarch akvis"
epm update epm update
epm install $PKGNAME epm install $PKGNAME
echo "Run alivecolors:" echo "Run alivecolors:"
...@@ -29,7 +29,7 @@ case $(epm print info -s) in ...@@ -29,7 +29,7 @@ case $(epm print info -s) in
suse) suse)
# TODO: check and remove, the same as for dnf-part # TODO: check and remove, the same as for dnf-part
#a= rpm --import http://akvis.com/akvis.asc #a= rpm --import http://akvis.com/akvis.asc
epm repo addkey http://akvis.com/akvis.asc epm repo addkey https://akvis.com/akvis.asc
# zypper ar -r https://akvis.com/akvis.repo akvis # zypper ar -r https://akvis.com/akvis.repo akvis
epm repo add https://akvis.com/akvis.repo epm repo add https://akvis.com/akvis.repo
# zypper ref # zypper ref
...@@ -46,7 +46,7 @@ esac ...@@ -46,7 +46,7 @@ esac
case $(epm print info -g) in case $(epm print info -g) in
dnf-rpm|yum-rpm) dnf-rpm|yum-rpm)
#sudo rpm --import https://akvis.com/akvis.asc #sudo rpm --import https://akvis.com/akvis.asc
epm repo addkey http://akvis.com/akvis.asc epm repo addkey https://akvis.com/akvis.asc
#sudo wget -O /etc/yum.repos.d/akvis.repo https://akvis.com/akvis.repo #sudo wget -O /etc/yum.repos.d/akvis.repo https://akvis.com/akvis.repo
epm repo add https://akvis.com/akvis.repo epm repo add https://akvis.com/akvis.repo
epm update epm update
......
...@@ -14,12 +14,11 @@ version=$(epm print info --base-version) ...@@ -14,12 +14,11 @@ version=$(epm print info --base-version)
# Strict supported list # Strict supported list
case $(epm print info -e) in case $(epm print info -e) in
Alpine/3.14|Alpine/3.15|Alpine/3.16|Alpine/3.17) Alpine/3.14|Alpine/3.15|Alpine/3.16|Alpine/3.17)
epm install --skip-installed curl ca-certificates epm install --skip-installed ca-certificates
epm repo addkey angie "https://angie.software/keys/angie-signing.rsa" epm repo addkey angie "https://angie.software/keys/angie-signing.rsa"
epm repo add "https://download.angie.software/angie/alpine/v$version/main" epm repo add "https://download.angie.software/angie/alpine/v$version/main"
;; ;;
ALTLinux/p10|ALTServer/10|MOS/10|ALTLinux/Sisyphus) ALTLinux/p10|ALTServer/10|MOS/10|ALTLinux/Sisyphus)
epm install --skip-installed curl apt-https
epm repo addkey angie "https://angie.software/keys/angie-signing.gpg" "EB8EAF3D4EF1B1ECF34865A2617AB978CB849A76" "Angie (Signing Key) <devops@tech.wbsrv.ru>" epm repo addkey angie "https://angie.software/keys/angie-signing.gpg" "EB8EAF3D4EF1B1ECF34865A2617AB978CB849A76" "Angie (Signing Key) <devops@tech.wbsrv.ru>"
epm repo add "rpm [angie] https://download.angie.software/angie/altlinux/10/ x86_64 main" epm repo add "rpm [angie] https://download.angie.software/angie/altlinux/10/ x86_64 main"
;; ;;
...@@ -28,7 +27,7 @@ case $(epm print info -e) in ...@@ -28,7 +27,7 @@ case $(epm print info -e) in
#epm repo add 'https://download.angie.software/angie/centos/$releasever/' #epm repo add 'https://download.angie.software/angie/centos/$releasever/'
;; ;;
Debian/10|Debian/11) Debian/10|Debian/11)
epm install --skip-installed ca-certificates curl lsb-release epm install --skip-installed ca-certificates lsb-release
epm repo addkey angie "https://angie.software/keys/angie-signing.gpg" epm repo addkey angie "https://angie.software/keys/angie-signing.gpg"
epm repo add "deb [angie] https://download.angie.software/angie/debian/ $reponame main" epm repo add "deb [angie] https://download.angie.software/angie/debian/ $reponame main"
;; ;;
...@@ -45,7 +44,7 @@ case $(epm print info -e) in ...@@ -45,7 +44,7 @@ case $(epm print info -e) in
#epm repo add 'https://download.angie.software/angie/rocky/$releasever/' #epm repo add 'https://download.angie.software/angie/rocky/$releasever/'
;; ;;
Ubuntu/20.04|Ubuntu/22.04) Ubuntu/20.04|Ubuntu/22.04)
epm install --skip-installed ca-certificates curl lsb-release epm install --skip-installed ca-certificates lsb-release
epm repo addkey angie "https://angie.software/keys/angie-signing.gpg" epm repo addkey angie "https://angie.software/keys/angie-signing.gpg"
epm repo add "deb [angie] https://download.angie.software/angie/ubuntu/ $reponame main" epm repo add "deb [angie] https://download.angie.software/angie/ubuntu/ $reponame main"
;; ;;
......
...@@ -19,7 +19,7 @@ cd $PKGDIR || fatal ...@@ -19,7 +19,7 @@ cd $PKGDIR || fatal
if ! epm tool eget $PKGURL ; then if ! epm tool eget $PKGURL ; then
echo "It is possible you are blocked from USA, trying get from IPFS ..." echo "It is possible you are blocked from USA, trying get from IPFS ..."
pkgname=$(basename $PKGURL) pkgname=$(basename $PKGURL)
epm tool eget -O $pkgname http://dhash.ru/ipfs/$IPFSHASH || fatal "Can't get $pkgname from IPFS." epm tool eget -O $pkgname https://dhash.ru/ipfs/$IPFSHASH || fatal "Can't get $pkgname from IPFS."
fi fi
epm install --repack *.tar.gz || exit epm install --repack *.tar.gz || exit
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
PKGNAME=flashplayer PKGNAME=flashplayer
SUPPORTEDARCHES="x86_64" SUPPORTEDARCHES="x86_64"
DESCRIPTION="Adobe Flash Player from the official site" DESCRIPTION="Adobe Flash Player from the official site"
URL="http://www.adobe.com/support/flashplayer/downloads.html" URL="https://www.adobe.com/support/flashplayer/downloads.html"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
VERSION=32.0.0.465 VERSION=32.0.0.465
PKGURL=https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz PKGURL="https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz"
epm pack --install $PKGNAME $PKGURL "$VERSION" epm pack --install $PKGNAME $PKGURL "$VERSION"
...@@ -24,10 +24,10 @@ repack='' ...@@ -24,10 +24,10 @@ repack=''
case $pkgtype in case $pkgtype in
deb) deb)
epm install "http://www.geogebra.net/linux/pool/main/g/geogebra-classic/$(epm print constructname $PKGNAME "$VERSION" $arch)" epm install "https://www.geogebra.net/linux/pool/main/g/geogebra-classic/$(epm print constructname $PKGNAME "$VERSION" $arch)"
;; ;;
rpm) rpm)
epm $repack install "http://www.geogebra.net/linux/rpm/$arch/$(epm print constructname $PKGNAME "$VERSION" $arch)" epm $repack install "https://www.geogebra.net/linux/rpm/$arch/$(epm print constructname $PKGNAME "$VERSION" $arch)"
;; ;;
*) *)
fatal "Unsupported $pkgtype" fatal "Unsupported $pkgtype"
......
...@@ -8,7 +8,7 @@ DESCRIPTION="" ...@@ -8,7 +8,7 @@ DESCRIPTION=""
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
if [ "$(epm print info -s)" = "alt" ] ; then if [ "$(epm print info -s)" = "alt" ] ; then
PKGURL="http://ftp.basealt.ru/pub/distributions/archive/p8/date/2018/01/04/x86_64/RPMS.classic/libicu56-5.6.1-alt1.1.x86_64.rpm" PKGURL="https://ftp.basealt.ru/pub/distributions/archive/p8/date/2018/01/04/x86_64/RPMS.classic/libicu56-5.6.1-alt1.1.x86_64.rpm"
epm install $PKGURL epm install $PKGURL
else else
epm install libicu56 epm install libicu56
......
...@@ -8,6 +8,6 @@ DOWNURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop" ...@@ -8,6 +8,6 @@ DOWNURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
URL=$(epm tool eget --list --latest http://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/ "${PKGNAME}_${VERSION}_amd64.deb") URL=$(epm tool eget --list --latest https://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/ "${PKGNAME}_${VERSION}_amd64.deb")
URL=$(echo "$URL" | sed -e "s|\(.*/\)|$DOWNURL/|") URL=$(echo "$URL" | sed -e "s|\(.*/\)|$DOWNURL/|")
epm install "$URL" epm install "$URL"
...@@ -27,6 +27,6 @@ esac ...@@ -27,6 +27,6 @@ esac
# http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.1/SweetHome3D-7.1-linux-x86.tgz/download # http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.1/SweetHome3D-7.1-linux-x86.tgz/download
URL="$(eget -4 --list --latest https://www.sweethome3d.com/download.jsp SweetHome3D-$VERSION-linux-$arch.tgz/download)" URL="$(eget -4 --list --latest https://www.sweethome3d.com/download.jsp SweetHome3D-$VERSION-linux-$arch.tgz/download)"
PKGURL="$(echo "$URL" | sed -e "s|http://sourceforge.net/projects/sweethome3d/files|http://download.sourceforge.net/project/sweethome3d|" -e 's|/download$||' )" PKGURL="$(echo "$URL" | sed -e "s|https*://sourceforge.net/projects/sweethome3d/files|https://download.sourceforge.net/project/sweethome3d|" -e 's|/download$||' )"
epm install "$PKGURL" epm install "$PKGURL"
...@@ -7,12 +7,12 @@ DESCRIPTION="Yandex Disk from the official site" ...@@ -7,12 +7,12 @@ DESCRIPTION="Yandex Disk from the official site"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
# http://repo.yandex.ru/yandex-disk/yandex-disk_latest_amd64.deb # https://repo.yandex.ru/yandex-disk/yandex-disk_latest_amd64.deb
# http://repo.yandex.ru/yandex-disk/yandex-disk-latest.x86_64.rpm # https://repo.yandex.ru/yandex-disk/yandex-disk-latest.x86_64.rpm
# http://repo.yandex.ru/yandex-disk/yandex-disk_latest_i386.deb # https://repo.yandex.ru/yandex-disk/yandex-disk_latest_i386.deb
# http://repo.yandex.ru/yandex-disk/yandex-disk-latest.i386.rpm # https://repo.yandex.ru/yandex-disk/yandex-disk-latest.i386.rpm
# epm uses eget to download * names # epm uses eget to download * names
epm install "http://repo.yandex.ru/yandex-disk/$(epm print constructname $PKGNAME "latest")" || exit epm install "https://repo.yandex.ru/yandex-disk/$(epm print constructname $PKGNAME "latest")" || exit
# Install also tray indicator # Install also tray indicator
if [ "$(epm print info -s)" = "alt" ] ; then if [ "$(epm print info -s)" = "alt" ] ; then
......
...@@ -43,7 +43,7 @@ dv=$distr/$repo ...@@ -43,7 +43,7 @@ dv=$distr/$repo
if [ "$VERSION" = "*" ] ; then if [ "$VERSION" = "*" ] ; then
# hack with --compressed due broken answer from the server # hack with --compressed due broken answer from the server
RELEASEURL=$(eget --compressed --list --latest http://download.zerotier.com/RELEASES/*) || fatal RELEASEURL=$(eget --compressed --list --latest https://download.zerotier.com/RELEASES/*) || fatal
VERSION="$(basename $RELEASEURL)" VERSION="$(basename $RELEASEURL)"
fi fi
......
...@@ -16,7 +16,7 @@ PREINSTALL_PACKAGES="coreutils glib2 libalsa libatk libcairo libcairo-gobject fo ...@@ -16,7 +16,7 @@ PREINSTALL_PACKAGES="coreutils glib2 libalsa libatk libcairo libcairo-gobject fo
subst '1iConflicts:sweethome3d' $SPEC subst '1iConflicts:sweethome3d' $SPEC
subst "s|^License: unknown$|License: GPLv2|" $SPEC subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst "s|^URL:.*|URL: http://www.sweethome3d.com|" $SPEC subst "s|^URL:.*|URL: https://www.sweethome3d.com|" $SPEC
subst "s|^Summary:.*|Summary: An interior design application to draw house plans & arrange furniture|" $SPEC subst "s|^Summary:.*|Summary: An interior design application to draw house plans & arrange furniture|" $SPEC
ROOTDIR=$(basename $(find $BUILDROOT -mindepth 1 -maxdepth 1 -type d)) ROOTDIR=$(basename $(find $BUILDROOT -mindepth 1 -maxdepth 1 -type d))
......
...@@ -14,7 +14,7 @@ PREINSTALL_PACKAGES="glibc-core glibc-pthread libgcc1 libstdc++6 libX11 libXau l ...@@ -14,7 +14,7 @@ PREINSTALL_PACKAGES="glibc-core glibc-pthread libgcc1 libstdc++6 libX11 libXau l
subst "s|^Group:.*|Group: Graphics|" $SPEC subst "s|^Group:.*|Group: Graphics|" $SPEC
subst "s|^License: unknown$|License: GPLv2|" $SPEC subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst "s|^URL:.*|URL: http://cuda-z.sourceforge.net/|" $SPEC subst "s|^URL:.*|URL: https://cuda-z.sourceforge.net/|" $SPEC
subst "s|^Summary:.*|Summary: CUDA-Z|" $SPEC subst "s|^Summary:.*|Summary: CUDA-Z|" $SPEC
add_bin_link_command add_bin_link_command
...@@ -37,5 +37,5 @@ install_file "https://cuda-z.sourceforge.net/img/web-download-detect.png" /usr/s ...@@ -37,5 +37,5 @@ install_file "https://cuda-z.sourceforge.net/img/web-download-detect.png" /usr/s
# Running 32 bit cuda-z on Ubuntu # Running 32 bit cuda-z on Ubuntu
# libc6:i386 libstdc++6:i386 zlib1g:i386 libx11-6:i386 libxext6:i386 libxrender1:i386 # libc6:i386 libstdc++6:i386 zlib1g:i386 libx11-6:i386 libxext6:i386 libxrender1:i386
# http://blog.redscorp.net/?p=94 # https://blog.redscorp.net/?p=94
...@@ -13,7 +13,7 @@ subst '1iConflicts: liteidex' $SPEC ...@@ -13,7 +13,7 @@ subst '1iConflicts: liteidex' $SPEC
subst "s|^Group:.*|Group: Development/Tools|" $SPEC subst "s|^Group:.*|Group: Development/Tools|" $SPEC
subst "s|^License: unknown$|License: LGPLv2|" $SPEC subst "s|^License: unknown$|License: LGPLv2|" $SPEC
subst "s|^URL:.*|URL: http://liteide.org/en/|" $SPEC subst "s|^URL:.*|URL: https://liteide.org/en/|" $SPEC
subst "s|^Summary:.*|Summary: LiteIDE is a simple, open source, cross-platform Go IDE|" $SPEC subst "s|^Summary:.*|Summary: LiteIDE is a simple, open source, cross-platform Go IDE|" $SPEC
move_to_opt /liteide move_to_opt /liteide
......
...@@ -12,7 +12,7 @@ PRODUCTDIR=/opt/$PRODUCT ...@@ -12,7 +12,7 @@ PRODUCTDIR=/opt/$PRODUCT
subst "s|^Group:.*|Group: Development/Other|" $SPEC subst "s|^Group:.*|Group: Development/Other|" $SPEC
subst "s|^License: unknown$|License: AGPL-3.0|" $SPEC subst "s|^License: unknown$|License: AGPL-3.0|" $SPEC
subst "s|^URL:.*|URL: http://snap4arduino.rocks/|" $SPEC subst "s|^URL:.*|URL: https://snap4arduino.rocks/|" $SPEC
subst "s|^Summary:.*|Summary: A modification of the Snap! visual programming language that lets you seamlessly interact with almost all versions of the Arduino board.|" $SPEC subst "s|^Summary:.*|Summary: A modification of the Snap! visual programming language that lets you seamlessly interact with almost all versions of the Arduino board.|" $SPEC
# move package to /opt # move package to /opt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment