Browse Source

move common gpg keys to the single package

android-5
Leonid Plyushch 6 years ago
committed by Fredrik Fornwall
parent
commit
33ad5c16e4
  1. 6
      packages/root-repo/build.sh
  2. 11
      packages/termux-keyring/build.sh
  3. 0
      packages/termux-keyring/grimler.gpg
  4. 0
      packages/termux-keyring/xeffyr.gpg
  5. 6
      packages/x11-repo/build.sh

6
packages/root-repo/build.sh

@ -2,13 +2,13 @@ TERMUX_PKG_HOMEPAGE=https://github.com/termux/termux-root-packages
TERMUX_PKG_DESCRIPTION="Package repository containing programs for rooted devices"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=1.2
TERMUX_PKG_VERSION=1.3
TERMUX_PKG_DEPENDS="termux-keyring"
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/etc/apt/{sources.list.d,trusted.gpg.d}
mkdir -p $TERMUX_PREFIX/etc/apt/sources.list.d
echo "deb https://grimler.se root stable" > $TERMUX_PREFIX/etc/apt/sources.list.d/root.list
cp $TERMUX_PKG_BUILDER_DIR/grimler.gpg $TERMUX_PREFIX/etc/apt/trusted.gpg.d/
}
termux_step_create_debscripts () {

11
packages/termux-keyring/build.sh

@ -0,0 +1,11 @@
TERMUX_PKG_HOMEPAGE=https://github.com/termux
TERMUX_PKG_DESCRIPTION="GPG public keys for the official Termux repositories"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=1.0
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/etc/apt/trusted.gpg.d
install -Dm600 $TERMUX_PKG_BUILDER_DIR/grimler.gpg $TERMUX_PREFIX/etc/apt/trusted.gpg.d/
install -Dm600 $TERMUX_PKG_BUILDER_DIR/xeffyr.gpg $TERMUX_PREFIX/etc/apt/trusted.gpg.d/
}

0
packages/root-repo/grimler.gpg → packages/termux-keyring/grimler.gpg

0
packages/x11-repo/xeffyr.gpg → packages/termux-keyring/xeffyr.gpg

6
packages/x11-repo/build.sh

@ -2,13 +2,13 @@ TERMUX_PKG_HOMEPAGE=https://termux-x11.ml
TERMUX_PKG_DESCRIPTION="Package repository containing X11 programs and libraries"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_VERSION=1.2
TERMUX_PKG_VERSION=1.3
TERMUX_PKG_DEPENDS="termux-keyring"
TERMUX_PKG_PLATFORM_INDEPENDENT=yes
termux_step_make_install() {
mkdir -p $TERMUX_PREFIX/etc/apt/{sources.list.d,trusted.gpg.d}
mkdir -p $TERMUX_PREFIX/etc/apt/sources.list.d
echo "deb https://termux-x11.ml x11 main" > $TERMUX_PREFIX/etc/apt/sources.list.d/x11.list
cp $TERMUX_PKG_BUILDER_DIR/xeffyr.gpg $TERMUX_PREFIX/etc/apt/trusted.gpg.d/
}
termux_step_create_debscripts () {

Loading…
Cancel
Save