From b4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Jun 2021 14:47:38 +0100 Subject: gentoo resync : 24.06.2021 --- sys-auth/skey/Manifest | 2 +- sys-auth/skey/skey-1.1.5-r11.ebuild | 82 ----------------------------------- sys-auth/skey/skey-1.1.5-r12.ebuild | 86 +++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 83 deletions(-) delete mode 100644 sys-auth/skey/skey-1.1.5-r11.ebuild create mode 100644 sys-auth/skey/skey-1.1.5-r12.ebuild (limited to 'sys-auth/skey') diff --git a/sys-auth/skey/Manifest b/sys-auth/skey/Manifest index b18cf544ffbe..ecc8bda2fa0b 100644 --- a/sys-auth/skey/Manifest +++ b/sys-auth/skey/Manifest @@ -1,4 +1,4 @@ DIST skey-1.1.5-patches-6.tar.xz 34108 BLAKE2B 410dbe673e0a32a4c3fd0610f898057e7b3afcc0d0fd124683033790f9c518bf89486f13e8d87825c0959ff34e91eae82df6ba3b79c1dcb99a34d5657036d5a6 SHA512 2c807675cdd6b800f03427d79d616f59ac9d4d438221913328ec92e5dd13af185f74a24e17d36af8d49a51c4ecc5b24ef198489acce416d829e8aacf5d3c208a DIST skey-1.1.5.tar.bz2 61911 BLAKE2B 6226a91f4018bee5796bf60339dc8554324a044eef18a69ea176d060cb4af90779cafaee58f42ad7a6e433b94da8de6e5e4d1ee9362904966fd0872d5ac3ccce SHA512 4cbddc7e31134d5e23801a9b07de0d05c8357aaa8dddfb8426fceead3f54e539f77204f78a08b2a93890ef2f4f807a2208080f58f80818afa1b8cd4884b1fb37 -EBUILD skey-1.1.5-r11.ebuild 2002 BLAKE2B 356a583eeab5736fd38e1b1dcd80636ce03bc8f6a65ceec819641580a3b9ebd888cfc161216f36862e63eb477e1b74bb160d272ed60ed5b2e89d07598287392a SHA512 7f91073530de394c2224fb1cbac82194ad603430a8788a5c9e5100bdfb612edaf12a030780f0ab81beca5603a254165285ed13cea6ce5efe47f30dce8658b217 +EBUILD skey-1.1.5-r12.ebuild 2039 BLAKE2B 88c4626332d2d88537de7daee467f127029713c437b98eebb6e3a6ed0f783af4e757046657cb59967d160c7e0906eb61b63d8ea8991bcddb9a6f7a58701b5c46 SHA512 629a40a2aac2e552fdcc02e7cdb8b431a8e564998cfe0dedb86c1b6794b0347d104b4bcde259c91ec1256cdf338764f3f9ad2fd19a27b8a1080dfa8cd7583cad MISC metadata.xml 1432 BLAKE2B efd6ff43e309d55d511d6bf4527a8565df2da6815bafb9079d465be95f128b9f17eb8019dd58a1230c41cb75eda4eba412231ec7028e9d67a05b18e33d78827b SHA512 8fe776255ff049ae9c16ee0ff157761114ca4fcc777d103e707557ef5f18fba9d65e63a77f24219e27d267cd76839abf128210969dc4330d66920a2ee574aabf diff --git a/sys-auth/skey/skey-1.1.5-r11.ebuild b/sys-auth/skey/skey-1.1.5-r11.ebuild deleted file mode 100644 index 835cde8edc67..000000000000 --- a/sys-auth/skey/skey-1.1.5-r11.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs readme.gentoo-r1 usr-ldscript - -DESCRIPTION="Linux Port of OpenBSD Single-key Password System" -HOMEPAGE="http://www.openbsd.org/faq/faq8.html#SKey" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - https://dev.gentoo.org/~ulm/distfiles/${P}-patches-6.tar.xz" - -LICENSE="BSD MIT RSA BEER-WARE" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="static-libs" - -DEPEND="dev-lang/perl - app-arch/xz-utils" -RDEPEND="dev-lang/perl - virtual/perl-Time-Local - sys-libs/cracklib" - -PATCHES=("${WORKDIR}/patch") - -src_configure() { - tc-export CC - econf --sysconfdir=/etc/skey -} - -src_install() { - into / - dolib.so libskey.so{.${PV},.${PV%.*},.${PV%%.*},} - - into /usr - dobin skey skeyinit skeyinfo - newbin skeyaudit.sh skeyaudit - newsbin skeyprune.pl skeyprune - - dosym skey /usr/bin/otp-md4 - dosym skey /usr/bin/otp-md5 - dosym skey /usr/bin/otp-sha1 - - if use static-libs; then - dolib.a libskey.a - gen_usr_ldscript libskey.so - fi - - doman skey.1 skeyaudit.1 skeyinfo.1 skeyinit.1 skey.3 skeyprune.8 - - insinto /usr/include - doins skey.h - - keepdir /etc/skey - - # only root needs to have access to these files. - fperms go-rx /etc/skey - - # skeyinit and skeyinfo must be suid root so users - # can generate their passwords. - fperms u+s,go-r /usr/bin/skeyinit /usr/bin/skeyinfo - - dodoc README CHANGES - - DOC_CONTENTS="For an introduction into using s/key authentication, - take a look at the EXAMPLES section from the skey(1) manpage." - readme.gentoo_create_doc -} - -pkg_postinst() { - # do not include /etc/skey/skeykeys in the package, as quickpkg - # may package sensitive information. - # This also fixes the etc-update issue with #64974. - - # skeyinit will not function if this file is not present. - touch /etc/skey/skeykeys - - # these permissions are applied by the skey system if missing. - chmod 0600 /etc/skey/skeykeys - - readme.gentoo_print_elog -} diff --git a/sys-auth/skey/skey-1.1.5-r12.ebuild b/sys-auth/skey/skey-1.1.5-r12.ebuild new file mode 100644 index 000000000000..1db9f6f4afd0 --- /dev/null +++ b/sys-auth/skey/skey-1.1.5-r12.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs readme.gentoo-r1 usr-ldscript + +DESCRIPTION="Linux Port of OpenBSD Single-key Password System" +HOMEPAGE="http://www.openbsd.org/faq/faq8.html#SKey" +SRC_URI="mirror://gentoo/${P}.tar.bz2 + https://dev.gentoo.org/~ulm/distfiles/${P}-patches-6.tar.xz" + +LICENSE="BSD MIT RSA BEER-WARE" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="static-libs" + +DEPEND="dev-lang/perl + sys-libs/cracklib + virtual/libcrypt:=" + +RDEPEND="${DEPEND} + virtual/perl-Time-Local" + +DEPEND="${DEPEND} + app-arch/xz-utils" + +PATCHES=("${WORKDIR}/patch") + +src_configure() { + tc-export CC + econf --sysconfdir=/etc/skey +} + +src_install() { + into / + dolib.so libskey.so{.${PV},.${PV%.*},.${PV%%.*},} + + into /usr + dobin skey skeyinit skeyinfo + newbin skeyaudit.sh skeyaudit + newsbin skeyprune.pl skeyprune + + dosym skey /usr/bin/otp-md4 + dosym skey /usr/bin/otp-md5 + dosym skey /usr/bin/otp-sha1 + + if use static-libs; then + dolib.a libskey.a + gen_usr_ldscript libskey.so + fi + + doman skey.1 skeyaudit.1 skeyinfo.1 skeyinit.1 skey.3 skeyprune.8 + + insinto /usr/include + doins skey.h + + keepdir /etc/skey + + # only root needs to have access to these files. + fperms go-rx /etc/skey + + # skeyinit and skeyinfo must be suid root so users + # can generate their passwords. + fperms u+s,go-r /usr/bin/skeyinit /usr/bin/skeyinfo + + dodoc README CHANGES + + DOC_CONTENTS="For an introduction into using s/key authentication, + take a look at the EXAMPLES section from the skey(1) manpage." + readme.gentoo_create_doc +} + +pkg_postinst() { + # do not include /etc/skey/skeykeys in the package, as quickpkg + # may package sensitive information. + # This also fixes the etc-update issue with #64974. + + # skeyinit will not function if this file is not present. + touch /etc/skey/skeykeys + + # these permissions are applied by the skey system if missing. + chmod 0600 /etc/skey/skeykeys + + readme.gentoo_print_elog +} -- cgit v1.2.3