summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Jäger <pascal.jaeger@leimstift.de>2023-09-07 09:07:55 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2025-01-10 09:17:02 +0200
commit83a118af7792286170dbabb66ffcbe2505c42fc5 (patch)
tree9454644062f6882fb1e27ad16d1172af26d5910a /app-misc/symlinks
parentdev-ruby/logger: add 1.6.5 (diff)
downloadgentoo-83a118af7792286170dbabb66ffcbe2505c42fc5.tar.gz
gentoo-83a118af7792286170dbabb66ffcbe2505c42fc5.tar.bz2
gentoo-83a118af7792286170dbabb66ffcbe2505c42fc5.zip
app-misc/symlinks: add 1.4.3
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/32666 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-misc/symlinks')
-rw-r--r--app-misc/symlinks/Manifest1
-rw-r--r--app-misc/symlinks/metadata.xml5
-rw-r--r--app-misc/symlinks/symlinks-1.4.3.ebuild36
3 files changed, 41 insertions, 1 deletions
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
+}