Fetch the repository succeeded.
TRUSTED-LIST := $(patsubst active-keys/add-%,trusted.gpg/debian-cn-archive-%.gpg,$(wildcard active-keys/add-*))
TMPRING := trusted.gpg/build-area
GPG_OPTIONS := --no-options --no-default-keyring --no-auto-check-trustdb --trustdb-name ./trustdb.gpg
build: verify-indices keyrings/debian-cn-archive-keyring.gpg keyrings/debian-cn-archive-removed-keys.gpg verify-results $(TRUSTED-LIST)
verify-indices: keyrings/team-members.gpg
gpg ${GPG_OPTIONS} \
--keyring keyrings/team-members.gpg \
--verify active-keys/index.gpg active-keys/index
gpg ${GPG_OPTIONS} \
--keyring keyrings/team-members.gpg \
--verify removed-keys/index.gpg removed-keys/index
verify-results: keyrings/team-members.gpg keyrings/debian-cn-archive-keyring.gpg keyrings/debian-cn-archive-removed-keys.gpg
gpg ${GPG_OPTIONS} \
--keyring keyrings/team-members.gpg --verify \
keyrings/debian-cn-archive-keyring.gpg.asc \
keyrings/debian-cn-archive-keyring.gpg
gpg ${GPG_OPTIONS} \
--keyring keyrings/team-members.gpg --verify \
keyrings/debian-cn-archive-removed-keys.gpg.asc \
keyrings/debian-cn-archive-removed-keys.gpg
#FIXME: Do we need to verify the created keyrings in trusted.gpg.d, too?
# Maybe "just" checking that no key is added if we merge, but how…
keyrings/debian-cn-archive-keyring.gpg: active-keys/index
jetring-build -I $@ active-keys
gpg ${GPG_OPTIONS} --no-keyring --import-options import-export --import < $@ > $@.tmp
mv -f $@.tmp $@
keyrings/debian-cn-archive-removed-keys.gpg: removed-keys/index
jetring-build -I $@ removed-keys
gpg ${GPG_OPTIONS} --no-keyring --import-options import-export --import < $@ > $@.tmp
mv -f $@.tmp $@
keyrings/team-members.gpg: team-members/index
jetring-build -I $@ team-members
gpg ${GPG_OPTIONS} --no-keyring --import-options import-export --import < $@ > $@.tmp
mv -f $@.tmp $@
$(TRUSTED-LIST) :: trusted.gpg/debian-cn-archive-%.gpg : active-keys/add-% active-keys/index
mkdir -p $(TMPRING) trusted.gpg
grep -F $(shell basename $<) -- active-keys/index > $(TMPRING)/index
cp $< $(TMPRING)
jetring-build -I $@ $(TMPRING)
rm -rf $(TMPRING)
gpg ${GPG_OPTIONS} --no-keyring --import-options import-export --import < $@ > $@.tmp
mv -f $@.tmp $@
clean:
rm -f keyrings/debian-cn-archive-keyring.gpg \
keyrings/debian-cn-archive-keyring.gpg~ \
keyrings/debian-cn-archive-keyring.gpg.lastchangeset
rm -f keyrings/debian-cn-archive-removed-keys.gpg \
keyrings/debian-cn-archive-removed-keys.gpg~ \
keyrings/debian-cn-archive-removed-keys.gpg.lastchangeset
rm -f keyrings/team-members.gpg \
keyrings/team-members.gpg~ \
keyrings/team-members.gpg.lastchangeset
rm -rf $(TMPRING) trusted.gpg trustdb.gpg
rm -f keyrings/*.cache
install: build
install -d $(DESTDIR)/usr/share/keyrings/
cp trusted.gpg/debian-cn-archive-*.gpg $(DESTDIR)/usr/share/keyrings/
cp keyrings/debian-cn-archive-keyring.gpg $(DESTDIR)/usr/share/keyrings/
cp keyrings/debian-cn-archive-removed-keys.gpg $(DESTDIR)/usr/share/keyrings/
install -d $(DESTDIR)/etc/apt/trusted.gpg.d/
cp $(shell find trusted.gpg/ -name '*.gpg' -type f) $(DESTDIR)/etc/apt/trusted.gpg.d/
.PHONY: verify-indices verify-results clean build install
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。