diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-libs/system-config-base |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-libs/system-config-base')
5 files changed, 69 insertions, 0 deletions
diff --git a/sys-libs/system-config-base/Manifest b/sys-libs/system-config-base/Manifest new file mode 100644 index 000000000000..832ab9bba7ad --- /dev/null +++ b/sys-libs/system-config-base/Manifest @@ -0,0 +1,6 @@ +AUX 1-r1-pam-0.99.8.0-r2-compat.patch 365 SHA256 0f59607fcea7767b344fc49c94875c7f89f1b80a6fe7c71faa2e6a6e6654c326 SHA512 810d36519db977c3d43f17d7e8f744ce67b160e6e5465b3da1d298f3f793be9325befc1943176f0260979e16bed52d92ab428b3b7c177dbcb08e5ec873b8ed27 WHIRLPOOL dc79f15d258f86beb279811fad47f58cf0bfeda021f57539daf8a0008475ab7f3975a9297e28e3bdf775edd7634c70667d6ea2756c6b0a79f1aa5be02a3594b3 +AUX config-util 232 SHA256 4f10f27a970924ba9f636f2d5fdb4267c3ada93f7b4eee1bc3ad05c33406e76c SHA512 ff1ff0f0d64a31ca4f792c3d3155c8e0c0439f0afc36a4734d3cf7ab3256561455e4964b1d96aa4c6695e4fb4e556bda6ccfd8ff8938cbeb13c888221b58fda9 WHIRLPOOL 2c88ab81c3a265dfa1dcf79e9671b788300a21eb3954c6baa4c3e5f3f349a8b487aa9d2f818f2e51ac90b753ead870687102bf1b2885ebd3b2b3429a961c8a75 +EBUILD system-config-base-1-r1.ebuild 869 SHA256 e42ec18942bc1130811c2a1c4e5e4f55ecbc3392d01efc1e7382d4ed14e064b8 SHA512 1bf3d2b5efaff5745ae141aace92bb731214f4173f22144de360428abaab4aa5fc01b3b039eb000513262acfe4fddd2d70a3f00c2d1ed1ebe971d563b0385838 WHIRLPOOL 775f9fa307fdef203062de4ad47ec66ce4a514806a00dc9baa24391fc837d3faca930aeccde9f59621d2af479cf1a051a81dd4c1a23b47b799a65f66d2a4f8ad +MISC ChangeLog 2651 SHA256 ac7ca1733f15da91778f764c1870ef575ecccd9c86ea251a27c4c88f84aab4c5 SHA512 d171c87b8b3758404d8666e63155a6b43a4b33dba830bb22914c0bd7d03614ccca05cbde821545d656990354813de5507017e1411536b6a1062bb293458fbf9e WHIRLPOOL 3d1c393938213c702e153877707185ca7b0f06fcb59bba9ceb6c8f82d55324de8f63119d7016b89cfd785b76055f21534362cef421fbf87b70c008c9c29cbf94 +MISC ChangeLog-2015 1451 SHA256 1e568ee00f987c87485ad164b8f7417e0455515541f2aa316906d029220f68a8 SHA512 f865626ac4b7e8045679c8f8db98201617d3a953d74978eb5439feb3abc58f5e554fcb30e695d272f64f2879d27457879db9fc1087842e91cd84f0692559044c WHIRLPOOL 467691c16c697409d7ee04f4a5c954d9ce00b500318d4f29c9363837c2b9c25fad53a861511dc59d888107c241705c034fcaa57687d4cbe0e5e2f78e09a9467c +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/sys-libs/system-config-base/files/1-r1-pam-0.99.8.0-r2-compat.patch b/sys-libs/system-config-base/files/1-r1-pam-0.99.8.0-r2-compat.patch new file mode 100644 index 000000000000..821bc7e29f5e --- /dev/null +++ b/sys-libs/system-config-base/files/1-r1-pam-0.99.8.0-r2-compat.patch @@ -0,0 +1,11 @@ +--- config-util.orig 2007-07-14 12:56:13.000000000 -0700 ++++ config-util 2007-07-14 12:56:18.000000000 -0700 +@@ -1,8 +1,6 @@ + #%PAM-1.0 + auth sufficient pam_rootok.so +-auth sufficient pam_timestamp.so + auth include system-auth + account required pam_permit.so + session required pam_permit.so + session optional pam_xauth.so +-session optional pam_timestamp.so diff --git a/sys-libs/system-config-base/files/config-util b/sys-libs/system-config-base/files/config-util new file mode 100644 index 000000000000..8e70d9aba1da --- /dev/null +++ b/sys-libs/system-config-base/files/config-util @@ -0,0 +1,8 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +auth sufficient pam_timestamp.so +auth include system-auth +account required pam_permit.so +session required pam_permit.so +session optional pam_xauth.so +session optional pam_timestamp.so diff --git a/sys-libs/system-config-base/metadata.xml b/sys-libs/system-config-base/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/sys-libs/system-config-base/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/sys-libs/system-config-base/system-config-base-1-r1.ebuild b/sys-libs/system-config-base/system-config-base-1-r1.ebuild new file mode 100644 index 000000000000..e495de7519d3 --- /dev/null +++ b/sys-libs/system-config-base/system-config-base-1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils pam + +DESCRIPTION="system-config-* layout package" +SRC_URI="" +HOMEPAGE="https://www.gentoo.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="virtual/pam" + +S=${WORKDIR} + +src_unpack() { + cp "${FILESDIR}"/config-util . || die "failed to copy config-util" + epatch "${FILESDIR}"/${PVR}-pam-0.99.8.0-r2-compat.patch +} + +src_install() { + dopamd config-util +} + +pkg_postinst() { + if [ "$(stat -c%a ${ROOT}etc/default/useradd)" != "644" ] ; then + echo + ewarn + ewarn "Your ${ROOT}etc/default/useradd file must be world-readable" + ewarn "for the system-config-* utilities to work properly." + ewarn "If you did not change them on purpose, consider running:" + ewarn + ewarn " chmod 0644 ${ROOT}etc/default/useradd" + echo + fi +} |