Commit 1021387e authored by AlmAck's avatar AlmAck

chakra-keyring first implementation

parent 1171ebf7
V=20170401
PREFIX = /usr/local
install:
install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
install -m0644 chakra{.gpg,-trusted,-revoked} $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
uninstall:
rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/chakra{.gpg,-trusted,-revoked}
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
# Based on the file created for Arch Linux by:
# Pierre Schmitz <pierre@archlinux.de>
# Maintainer: Luca Giambonini <almack@chakralinux.org>
pkgname=chakra-keyring
pkgver=20170401
pkgrel=1
pkgdesc='Chakra PGP keyring'
arch=('any')
groups=('base')
url='https://chakralinux.org'
license=('GPL')
install="${pkgname}.install"
source=('Makefile'
'chakra.gpg'
'chakra-revoked'
'chakra-trusted')
sha256sums=('0331469dc8044758801d3b56bb1bfc1a69396a39fe42ee1d0f3d94b080c69d0e'
'066702708f6cb52947d4afee9c6cc5b00c120d764c9333477776faab0b865f43'
'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
'0bf484981bfacddd177f839372c891a717ddcdd203cb3fde81e6e74006a7bbef')
package() {
cd ${srcdir}
make PREFIX=/usr DESTDIR=${pkgdir} install
}
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate chakra
else
echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
echo " >>> Then run \`pacman-key --populate chakra\` to install the Chakra keyring."
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}
# -*- mode: bash;-*-
A43C30CD981D4B7467B1FDF7334A79DB26C56140:4:
2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9:4:
0099260AC07AE71E0DB6A346BFD6ACBE02238B03:4:
5076CA6B47A352DECDDE23ABC4F76A333DB6614F:4:
A9D40D9885046F71A2BDF5805A526467B6611E8A:4:
C1E446BFAC0D68828EDD98D19985DAD9D417608D:4:
8A2A2C7C87F2F0B2F76EFD8533AED7F6F906E3F4:4:
93B4F0693A9B1167D7D4CF7782139B8A82AC496A:4:
0A1E9C2CA3EEDDCC211FC7C77E0B8AF94CA5A1FF:4:
8CDCF01CD62948FC3E3FED0634592E24C51B9BC2:4:
6FDD13C22218279D564D560BA54DA6C646B51A79:4:
This diff is collapsed.
#!/bin/bash
# This is a simple script which import all Chakra keys
# this script is licensed under the GPL
#
# Copyrignt (c) 2017 - Luca Giambonini <almack@chakralinux.org>
import_trusted() {
gpg --with-colons --fingerprint $1 | sed -E -n -e 's/^fpr:::::::::([0-9A-F]+):$/\1:4:/p' | head -n 1
}
# some cleanup
rm chakra.gpg
touch chakra.gpg
rm chakra-trusted
touch chakra-trusted
# Giuseppe's key
gpg --recv-keys --keyserver keys.gnupg.net 0x26C56140
gpg --armor --export jiveaxe@gmail.com >> chakra.gpg
import_trusted "0x26C56140" >> chakra-trusted
# Weng Xuetian's key
gpg --recv-keys --keyserver keys.gnupg.net 0xBF2412F9
gpg --armor --export wengxt@gmail.com >> chakra.gpg
import_trusted "0xBF2412F9" >> chakra-trusted
# Neo's key
gpg --recv-keys --keyserver keys.gnupg.net 0x02238B03
gpg --armor --export tetris4@gmail.com >> chakra.gpg
import_trusted "0x02238B03" >> chakra-trusted
# Luca's key
gpg --recv-keys --keyserver keys.gnupg.net 0x3DB6614F
gpg --armor --export gluca86@gmail.com >> chakra.gpg
import_trusted "0x3DB6614F" >> chakra-trusted
# Jeff's keys
gpg --recv-keys --keyserver keys.gnupg.net 0xB6611E8A
gpg --armor --export s8321414@gmail.com >> chakra.gpg
import_trusted "0xB6611E8A" >> chakra-trusted
# Ryan's key
gpg --recv-keys --keyserver keys.gnupg.net 0xD417608D
gpg --armor --export ryan@rshipp.com >> chakra.gpg
import_trusted "0xD417608D" >> chakra-trusted
# Inkane's key
gpg --recv-keys --keyserver keys.gnupg.net 0xF906E3F4
gpg --armor --export 0inkane@googlemail.com >> chakra.gpg
import_trusted "0xF906E3F4" >> chakra-trusted
# Gallaecio's key
gpg --recv-keys --keyserver keys.gnupg.net 0x82AC496A
gpg --armor --export adriyetichaves@gmail.com >> chakra.gpg
import_trusted "0x82AC496A" >> chakra-trusted
# FranzMari's key
gpg --recv-keys --keyserver keys.gnupg.net 0x4CA5A1FF
gpg --armor --export framari@openmailbox.org >> chakra.gpg
import_trusted "0x4CA5A1FF" >> chakra-trusted
# BrLi's key
gpg --recv-keys --keyserver keys.gnupg.net 0xC51B9BC2
gpg --armor --export brli@chakralinux.org >> chakra.gpg
import_trusted "0xC51B9BC2" >> chakra-trusted
# gnastyle's key
gpg --recv-keys --keyserver keys.gnupg.net 0x46B51A79
gpg --armor --export gnastyle >> chakra.gpg
import_trusted "0x46B51A79" >> chakra-trusted
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