diff options
Diffstat (limited to 'trinity-base/kcheckpass')
-rw-r--r-- | trinity-base/kcheckpass/Manifest | 1 | ||||
-rw-r--r-- | trinity-base/kcheckpass/files/kcheckpass-strlcpy-14.0.13.patch | 54 | ||||
-rw-r--r-- | trinity-base/kcheckpass/kcheckpass-14.0.13.ebuild | 33 |
3 files changed, 0 insertions, 88 deletions
diff --git a/trinity-base/kcheckpass/Manifest b/trinity-base/kcheckpass/Manifest index 0a2863b1..0c86c08c 100644 --- a/trinity-base/kcheckpass/Manifest +++ b/trinity-base/kcheckpass/Manifest @@ -1,2 +1 @@ -DIST tdebase-trinity-14.0.13.tar.xz 30564196 BLAKE2B 0055a5bc7c3e5abc7df6afaf05da2d3b96cb217d191355b76e9ca19fe32c550a0d25dd281ad0d19fc0e8c074793dcfb4b15a59a53f1ff0c11d3351eb93208dcf SHA512 78328f17acb8372ce6b29d18604329191863003bf8d8b89c0bad55744c78dc3ba3f4ec7593933f5ccef4460c2267de82dff06f42fdcc1a4d8d9276c45dac7502 DIST tdebase-trinity-14.1.0.tar.xz 30722632 BLAKE2B 1f4b87be37730aaa93fc579c130d7af7c408d20512ff8642d8313abaa7ccf6a012c8b52c595641e8ff820f709d68471224f2ceb1f898769b36e386345924b948 SHA512 8fcbb5d4bbaefc9acafa5d1926d6f22b1c087a7af63f0d9e2438c95730e82e6d6e9555afdf336bd01c296adedef5665c571d00c6738d071ed069243d47f30674 diff --git a/trinity-base/kcheckpass/files/kcheckpass-strlcpy-14.0.13.patch b/trinity-base/kcheckpass/files/kcheckpass-strlcpy-14.0.13.patch deleted file mode 100644 index c65d198e..00000000 --- a/trinity-base/kcheckpass/files/kcheckpass-strlcpy-14.0.13.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- a/config.h.cmake 2023-07-04 20:26:16.401274149 +0300 -+++ b/config.h.cmake 2023-07-04 20:29:24.692279031 +0300 -@@ -136,6 +136,33 @@ - // kcontrol/input - #cmakedefine HAVE_LIBUSB 1 - -+// ksysguard, kcheckpass -+#cmakedefine HAVE_STRLCAT 1 -+#cmakedefine HAVE_STRLCAT_PROTO 1 -+#cmakedefine HAVE_STRLCPY 1 -+#cmakedefine HAVE_STRLCPY_PROTO 1 -+ -+#if !defined(HAVE_STRLCAT_PROTO) -+#ifdef __cplusplus -+extern "C" { -+#endif -+unsigned long strlcat(char*, const char*, unsigned long); -+#ifdef __cplusplus -+} -+#endif -+#endif -+ -+#if !defined(HAVE_STRLCPY_PROTO) -+#ifdef __cplusplus -+extern "C" { -+#endif -+unsigned long strlcpy(char*, const char*, unsigned long); -+#ifdef __cplusplus -+} -+#endif -+#endif -+ -+ - // tdeprint - #cmakedefine HAVE_SIGACTION 1 - #cmakedefine HAVE_SIGSET 1 ---- a/ConfigureChecks.cmake 2023-07-04 20:26:16.400274149 +0300 -+++ b/ConfigureChecks.cmake 2023-07-04 20:28:16.349277259 +0300 -@@ -389,6 +389,15 @@ - endif( ) - - -+# strlcat, strlcpy -+if( BUILD_KSYSGUARD OR BUILD_KCHECKPASS ) -+ check_function_exists( strlcat HAVE_STRLCAT ) -+ check_symbol_exists( strlcat "string.h" HAVE_STRLCAT_PROTO ) -+ check_function_exists( strlcpy HAVE_STRLCPY ) -+ check_symbol_exists( strlcpy "string.h" HAVE_STRLCPY_PROTO ) -+endif( ) -+ -+ - # getifaddrs (kcontrol, tdm) - if( BUILD_KCONTROL OR BUILD_TDM ) - check_function_exists( getifaddrs HAVE_GETIFADDRS ) diff --git a/trinity-base/kcheckpass/kcheckpass-14.0.13.ebuild b/trinity-base/kcheckpass/kcheckpass-14.0.13.ebuild deleted file mode 100644 index 16d0b919..00000000 --- a/trinity-base/kcheckpass/kcheckpass-14.0.13.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Copyright 2022 The Trinity Desktop Project -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -TRINITY_MODULE_NAME="tdebase" -TRINITY_MODULE_TYPE="core" -inherit trinity-meta-2 - -DESCRIPTION="A simple password checker, used by any software in need of user authentication." -if [[ ${PV} != *9999* ]] ; then - KEYWORDS="~amd64 ~arm64 ~x86" -fi -IUSE="pam" - -RDEPEND="pam? ( trinity-base/tdebase-pam )" -DEPEND="${RDEPEND}" - -src_prepare() { - eapply "${FILESDIR}/${PN}-strlcpy-${PV}.patch" - trinity-meta-2_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DWITH_SHADOW=ON - -DWITH_PAM="$(usex pam)" - -DKCHECKPASS_PAM_SERVICE=tde - ) - - trinity-meta-2_src_configure -} |