summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-05-24 22:11:14 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-05-24 22:11:14 +0000
commit4e734d347b7030ab9e567a3f96b45b88104763c6 (patch)
tree1bce59b3677ab726731257e32e40c763089a23b9 /app-misc
parentinitial import, useful utility for checking symlinks (diff)
downloadhistorical-4e734d347b7030ab9e567a3f96b45b88104763c6.tar.gz
historical-4e734d347b7030ab9e567a3f96b45b88104763c6.tar.bz2
historical-4e734d347b7030ab9e567a3f96b45b88104763c6.zip
initial import, useful utility for checking symlinks
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/symlinks/Manifest3
-rw-r--r--app-misc/symlinks/files/digest-symlinks-1.22
-rw-r--r--app-misc/symlinks/symlinks-1.2.ebuild41
3 files changed, 45 insertions, 1 deletions
diff --git a/app-misc/symlinks/Manifest b/app-misc/symlinks/Manifest
index e0f405c2f0b1..46bc9881a8c5 100644
--- a/app-misc/symlinks/Manifest
+++ b/app-misc/symlinks/Manifest
@@ -1,2 +1,3 @@
-MD5 98a2b565719585b5e9461367329e5fd3 symlinks-1.2.ebuild 882
+MD5 817dc5fbca186be2b39463a582290e3b symlinks-1.2.ebuild 982
+MD5 f341008b0d6de919411c262171f19d1c ChangeLog 286
MD5 666d1377e011bc239345c67bf9f6f274 files/digest-symlinks-1.2 129
diff --git a/app-misc/symlinks/files/digest-symlinks-1.2 b/app-misc/symlinks/files/digest-symlinks-1.2
new file mode 100644
index 000000000000..232c4fe37933
--- /dev/null
+++ b/app-misc/symlinks/files/digest-symlinks-1.2
@@ -0,0 +1,2 @@
+MD5 b4bab0a5140e977c020d96e7811cec61 symlinks-1.2.tar.gz 4650
+MD5 0fc9a9798e0869915937c7fb74b143c4 symlinks_1.2-4.1.diff.gz 2596
diff --git a/app-misc/symlinks/symlinks-1.2.ebuild b/app-misc/symlinks/symlinks-1.2.ebuild
new file mode 100644
index 000000000000..48f6a14b1294
--- /dev/null
+++ b/app-misc/symlinks/symlinks-1.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/symlinks/symlinks-1.2.ebuild,v 1.1 2003/05/24 22:10:56 taviso Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Symlinks scans for and fixes broken or messy symlinks"
+HOMEPAGE="http://www.ibiblio.org/pub/linux/utils/file/"
+SRC_URI="http://www.ibiblio.org/pub/linux/utils/file/${P}.tar.gz
+ http://ftp.debian.org/debian/pool/main/s/symlinks/symlinks_1.2-4.1.diff.gz"
+
+LICENSE="freedist"
+SLOT="0"
+
+KEYWORDS="~x86 ~alpha"
+
+IUSE="static"
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+ epatch ${DISTDIR}/symlinks_1.2-4.1.diff.gz || die "patching failed"
+
+ # could be useful if being used to repair
+ # symlinks that are preventing shared libraries from
+ # functioning.
+ #
+
+ use static && append-flags -static
+
+ emake || die
+}
+
+src_install() {
+ dobin symlinks
+ doman symlinks.8
+ dodoc symlinks.lsm
+}