From: Igor Vlasenko <vlasenko@imath.kiev.ua> To: devel@lists.altlinux.org Subject: [devel] I: автоматическая проверка подписи при скачивании пакета - пример. Date: Tue, 10 Jun 2014 21:21:45 +0300 Message-ID: <20140610182143.GA8908@dad.imath.kiev.ua> (raw) Господа, уже есть готовый пример - hplip-3.14.3-alt2 на примере hplip можно у себя посмотреть, как работает автоматическая проверка подписи обновления. src.rpm (4 в 1): Проверка, есть ли обновление, скачивание, проверка подписи, генерация нового пакета: $ srpmtool --uupdate /ALT/Sisyphus/files/SRPMS/hplip-3.14.3-alt2.src.rpm gpgv: Подпись создана Вт 03 июн 2014 10:38:03 MSK ключом DSA с ID A59047B9 gpgv: Действительная подпись от "HPLIP (HP Linux Imaging and Printing) <hplip@hp.com>" Successfully downloaded updated package hplip-3.14.6.tar.gz INFO: archive format changed, adjusting Source0: http://dl.sourceforge.net/hplip/%{name}-%{version}.tar.gz uupdate: new version 3.14.6 Записан: ./hplip-3.14.6-alt1.src.rpm для второго примера клонируем $ girar-clone-build-commit hplip; cd hplip.git gear репозиторий (3 в 1): hplip.git $ rpm-uscan --any-archive hplip: Newer version (3.14.6) available on remote site: http://qa.debian.org/watch/sf.php/hplip/hplip-3.14.6.tar.gz (local version is 3.14.3) ^[[1;3Dgpgv: Подпись создана Втр 03 Июн 2014 09:38:03 EEST ключом DSA с ID A59047B9 gpgv: Действительная подпись от "HPLIP (HP Linux Imaging and Printing) <hplip@hp.com>" Successfully downloaded updated package hplip-3.14.6.tar.gz gear репозиторий (4 в 1): вместо rpm-uscan запустить gear-cronbuild-apply-hooks. Спешите, пока я не обновил hplip до 3.14.6. -- I V
next reply other threads:[~2014-06-10 18:21 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-06-10 18:21 Igor Vlasenko [this message] 2014-06-10 21:50 ` Michael Shigorin 2014-06-10 22:32 ` Igor Vlasenko 2014-06-10 22:50 ` Igor Vlasenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20140610182143.GA8908@dad.imath.kiev.ua \ --to=vlasenko@imath.kiev.ua \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git