aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstefson <herrtimson@yahoo.de>2017-09-05 11:09:53 +0200
committerAnthony G. Basile <blueness@gentoo.org>2017-09-05 09:39:29 -0400
commit436f7ed36d14629a77fa0b8549f81d1ca71ae71f (patch)
treee4a93ad34a42489c7d39a94c079284195f69d040 /sys-auth
parentgnome-base/gnome-session: revbump, untested due to systemd dependencies (diff)
downloadmusl-436f7ed36d14629a77fa0b8549f81d1ca71ae71f.tar.gz
musl-436f7ed36d14629a77fa0b8549f81d1ca71ae71f.tar.bz2
musl-436f7ed36d14629a77fa0b8549f81d1ca71ae71f.zip
sys-auth/skey: in tree version works
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/skey/Manifest6
-rw-r--r--sys-auth/skey/files/skey-1.1.5-add-include-paths_h.patch11
-rw-r--r--sys-auth/skey/files/skey-1.1.5-ifndef__P.patch14
-rw-r--r--sys-auth/skey/metadata.xml29
-rw-r--r--sys-auth/skey/skey-1.1.5-r99.ebuild83
5 files changed, 0 insertions, 143 deletions
diff --git a/sys-auth/skey/Manifest b/sys-auth/skey/Manifest
deleted file mode 100644
index ca595c51..00000000
--- a/sys-auth/skey/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX skey-1.1.5-add-include-paths_h.patch 337 SHA256 23dd768cd9459a7f5f316925942c2dee62d4b2c72308a3280d32ed126ed69c44 SHA512 3a9f1d3c28015916828daa4324f67b50bcea8ca753da2c3bea5bb075d978f12e73174975cd0e31ba6ce4e57e10b24ae5d5d5c1a1f4f50e4e175edf7a4de64d1b WHIRLPOOL 86ef0b6af441158ce7b6de7464ed14b50f383064594ff4c382c8e8556f1447c47e7bac3a53d156ec5775ec67b1efca7c540de3ac5bd14f2110b05f886e551ad6
-AUX skey-1.1.5-ifndef__P.patch 441 SHA256 dfd20f625fd6c520cb4dffcbcd4e8c88fdbece1db76385803dca3e5f0e913152 SHA512 146ff7fb3024e870586d68ec93645862f519d32843dd1d829da7f5aedac8c48cb66d2ababf02a6881d724552d7d3e83e4edd116eedca863bda47234ad8cef7e0 WHIRLPOOL df44615618071d55c164f59a41e1eb6cb881ddf86d97aecc2aab8e7a5ca240002b1be0bcec079fe994e787a41f5947a358c737ad533b13d555ee17f95fabe86e
-DIST skey-1.1.5-patches-3.tar.xz 33604 SHA256 adabe7b286f586d2cbe1a4b15f71310b7d8e25fc3187f8a89071359d7975badf SHA512 dcef6837e563ce3f68fe4eed35f16db1636e1798219dba95c86db505b5f67034b44bc6d02e0125faa95db8a5c39e9615bfed2dc3105905e576d96cf32016bc2f WHIRLPOOL bff241ecf0f59dae810db300bd858f76e18153f1958f2154c538f42040cc1040f049442d697767cfa7346996931d81370c2551d752c52810c9b18fe9e351c212
-DIST skey-1.1.5.tar.bz2 61911 SHA256 e21bcb7c618c0bc87a72d8f0f097d7517fffa4e881a0f295ee1ce2a7dccf4aef SHA512 4cbddc7e31134d5e23801a9b07de0d05c8357aaa8dddfb8426fceead3f54e539f77204f78a08b2a93890ef2f4f807a2208080f58f80818afa1b8cd4884b1fb37 WHIRLPOOL abf141fd679deeaee3f3883cd3076620c84e8775ecacc8f87d561c1812beae55299989f37ec331633bac29e25b4b8d145dc590ef119c73a137d8790815bb13f2
-EBUILD skey-1.1.5-r99.ebuild 2010 SHA256 670a7ff0835d5ef61252f554fef5085568c0bb5a422996e76d0d999de1570c5f SHA512 439aa1f124d250c5ffbb03edbec59508d3bd20bdfd64e428ee5b2bbd171e1a546c36fe8becbc8d9c851a6f364356deaebcc6fa8d0e5f12bb01237452eb0ad307 WHIRLPOOL d8f9179beb09b102b041ee9b29577f3c7d9e41de69c86d12c62a89003939ca34d8dea0b2722b56f74a0d783e3b68c0b0a067ebdc0b3e120aa4b873e02d6be8ae
-MISC metadata.xml 1432 SHA256 a291b68f13eda0fce9f8ae67619877c1e66b750fd61f38dbb8fbc1e4abe2176d SHA512 8fe776255ff049ae9c16ee0ff157761114ca4fcc777d103e707557ef5f18fba9d65e63a77f24219e27d267cd76839abf128210969dc4330d66920a2ee574aabf WHIRLPOOL 174360e0598007cb5399e8135f646f547b7df603d2548d897e386d732e1a742288a80dd2717e27bf1f608ec1e3d56428b5db15ddc2ae78e3afcb282b34d886fd
diff --git a/sys-auth/skey/files/skey-1.1.5-add-include-paths_h.patch b/sys-auth/skey/files/skey-1.1.5-add-include-paths_h.patch
deleted file mode 100644
index a0e103c8..00000000
--- a/sys-auth/skey/files/skey-1.1.5-add-include-paths_h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur skey-1.1.5.orig/skeyinit.c skey-1.1.5/skeyinit.c
---- skey-1.1.5.orig/skeyinit.c 2015-07-16 21:23:26.325880927 +0000
-+++ skey-1.1.5/skeyinit.c 2015-07-16 21:26:13.129874652 +0000
-@@ -36,6 +36,7 @@
- #include <syslog.h>
- #include <time.h>
- #include <unistd.h>
-+#include <paths.h>
- #ifdef HAVE_CRYPT_H
- #include <crypt.h>
- #endif
diff --git a/sys-auth/skey/files/skey-1.1.5-ifndef__P.patch b/sys-auth/skey/files/skey-1.1.5-ifndef__P.patch
deleted file mode 100644
index 1c52102c..00000000
--- a/sys-auth/skey/files/skey-1.1.5-ifndef__P.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur skey-1.1.5.orig/skey.h skey-1.1.5/skey.h
---- skey-1.1.5.orig/skey.h 2015-07-16 21:23:26.097880936 +0000
-+++ skey-1.1.5/skey.h 2015-07-16 21:45:00.553832237 +0000
-@@ -67,6 +67,10 @@
- /* Location of random file for bogus challenges */
- #define _SKEY_RAND_FILE_PATH_ "/var/db/host.random"
-
-+#ifndef __P
-+#define __P(x) x
-+#endif
-+
- /* Prototypes */
- void f __P ((char *));
- int keycrunch __P ((char *, const char *, const char *));
diff --git a/sys-auth/skey/metadata.xml b/sys-auth/skey/metadata.xml
deleted file mode 100644
index 93a24205..00000000
--- a/sys-auth/skey/metadata.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>ulm@gentoo.org</email>
-</maintainer>
-<longdescription lang="en">
- From RFC2289:
- One form of attack on networked computing systems is eavesdropping on
- network connections to obtain authentication information such as the
- login IDs and passwords of legitimate users. Once this information is
- captured, it can be used at a later time to gain access to the system.
- One-time password systems are designed to counter this type of attack,
- called a "replay attack."
-
- The authentication system described in this document uses a secret
- pass-phrase to generate a sequence of one-time (single use) passwords.
- With this system, the user's secret pass-phrase never needs to cross the
- network at any time such as during authentication or during pass-phrase
- changes. Thus, it is not vulnerable to replay attacks. Added security
- is provided by the property that no secret information need be stored on
- any system, including the server being protected.
-
- The OTP system protects against external passive attacks against the
- authentication subsystem. It does not prevent a network eavesdropper from
- gaining access to private information and does not provide protection
- against either "social engineering" or active attacks.
-</longdescription>
-</pkgmetadata>
diff --git a/sys-auth/skey/skey-1.1.5-r99.ebuild b/sys-auth/skey/skey-1.1.5-r99.ebuild
deleted file mode 100644
index e537fc75..00000000
--- a/sys-auth/skey/skey-1.1.5-r99.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit flag-o-matic eutils toolchain-funcs
-
-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
- http://dev.gentoo.org/~ulm/distfiles/${P}-patches-3.tar.xz"
-
-LICENSE="BSD MIT RSA BEER-WARE"
-SLOT="0"
-KEYWORDS="amd64 arm ~mips ppc x86"
-IUSE="static-libs"
-
-DEPEND="dev-lang/perl
- app-arch/xz-utils"
-RDEPEND="dev-lang/perl
- virtual/perl-Time-Local
- sys-libs/cracklib"
-
-src_prepare() {
- EPATCH_SUFFIX=patch epatch
- epatch "${FILESDIR}"/${PN}-1.1.5-add-include-paths_h.patch
- epatch "${FILESDIR}"/${PN}-1.1.5-ifndef__P.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
-}
-
-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
-
- elog "For an introduction into using s/key authentication, take"
- elog "a look at the EXAMPLES section from the skey(1) manpage."
-}