commit: 83a118af7792286170dbabb66ffcbe2505c42fc5 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> AuthorDate: Thu Sep 7 07:07:55 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Jan 10 07:17:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a118af
app-misc/symlinks: add 1.4.3 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/32666 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> app-misc/symlinks/Manifest | 1 + app-misc/symlinks/metadata.xml | 5 ++++- app-misc/symlinks/symlinks-1.4.3.ebuild | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/app-misc/symlinks/Manifest b/app-misc/symlinks/Manifest index 29c4d4b49c92..cdb93ec0ffa4 100644 --- a/app-misc/symlinks/Manifest +++ b/app-misc/symlinks/Manifest @@ -1 +1,2 @@ +DIST symlinks-1.4.3.tar.gz 5888 BLAKE2B 9a75c4f82d93abe2b996fe75c265885a40d8a2966b77659a09e9beb0eeb703b01e0c0dcb1bfc802457f1a1b6e8b681b2e987b10349b2fd48203ea07ea03e79ce SHA512 90437e9114ad18b4137a490111be672d613c141ea8ee43cbf3c3a4ee3f80c620150926a91ec3f52467ed8efce989b1035f72d02a013d335cca5a052b6c0733f8 DIST symlinks-1.4.tar.gz 4942 BLAKE2B 983c16bd5dedbca3f3544756a1e5de4939eb31e871c72110224f7e63821cec69289d9a1e152081d9895230670b96ed813ef0692ea0922d9a52d5050ade723893 SHA512 d1efb1ca553cc9eb95f1d113e453acd22c9f0964eacec985c85c125de23ae9d636b9ced182c2673f455e5d897ad15a978a424170fce767ccc492443eac7f972f diff --git a/app-misc/symlinks/metadata.xml b/app-misc/symlinks/metadata.xml index aaacc80666ac..73cfa7004817 100644 --- a/app-misc/symlinks/metadata.xml +++ b/app-misc/symlinks/metadata.xml @@ -10,6 +10,9 @@ Each link is prefixed with a classification of relative, absolute, dangling, messy, lengthy or other_fs. Symlinks can also convert absolute links (within the same filesystem) to relative links and can - delete messy and dangling links. + delete messy and dangling links. </longdescription> + <upstream> + <remote-id type="github">brandt/symlinks</remote-id> + </upstream> </pkgmetadata> diff --git a/app-misc/symlinks/symlinks-1.4.3.ebuild b/app-misc/symlinks/symlinks-1.4.3.ebuild new file mode 100644 index 000000000000..f2e10f471879 --- /dev/null +++ b/app-misc/symlinks/symlinks-1.4.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Scans for and fixes broken or messy symlinks" +HOMEPAGE="https://github.com/brandt/symlinks" +SRC_URI="https://github.com/brandt/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="symlinks" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="static" + +DOCS=( Readme.md ) + +src_prepare() { + default + # could be useful if being used to repair + # symlinks that are preventing shared libraries from + # functioning. + use static && append-flags -static + append-lfs-flags +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" +} + +src_install() { + dobin "${PN}" + doman "${PN}.8" + einstalldocs +}
