From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: sys-apps/hidesvn/
Date: Wed, 16 Feb 2011 20:37:57 +0000 (UTC) [thread overview]
Message-ID: <85823a91c97ac8c89d72bb179843fec5f42fc30d.sping@gentoo> (raw)
commit: 85823a91c97ac8c89d72bb179843fec5f42fc30d
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Wed Feb 16 20:36:25 2011 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Feb 16 20:36:25 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=85823a91
sys-apps/hidesvn: 1.1
---
sys-apps/hidesvn/hidesvn-1.1.ebuild | 34 ++++++++++++++++++++++++++++++++++
sys-apps/hidesvn/metadata.xml | 9 +++++++++
2 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/sys-apps/hidesvn/hidesvn-1.1.ebuild b/sys-apps/hidesvn/hidesvn-1.1.ebuild
new file mode 100644
index 0000000..7091342
--- /dev/null
+++ b/sys-apps/hidesvn/hidesvn-1.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit flag-o-matic
+
+DESCRIPTION="Uses LD_PRELOAD to hide .svn directories from readdir() and readdir_r()"
+HOMEPAGE="http://80386.nl/projects/hidesvn/"
+SRC_URI="http://80386.nl/projects/${PN}/distfiles/${P}.tar.xz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+RDEPEND=""
+
+pkg_setup() {
+ append-cflags -fPIC || die
+ append-ldflags -Wl,-soname=0:0:0 || die
+}
+
+src_install() {
+ cat <<-EOF > hidesvn
+ #!/bin/sh
+ LD_PRELOAD=/usr/$(get_libdir)/libhidesvn.so exec \$@
+ EOF
+ dobin hidesvn || die
+
+ dolib libhidesvn.so || die
+}
diff --git a/sys-apps/hidesvn/metadata.xml b/sys-apps/hidesvn/metadata.xml
new file mode 100644
index 0000000..328fbd1
--- /dev/null
+++ b/sys-apps/hidesvn/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2011-02-16 20:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 20:37 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-02-16 21:32 [gentoo-commits] proj/betagarden:master commit in: sys-apps/hidesvn/ Sebastian Pipping
2011-07-28 12:53 Sebastian Pipping
2011-10-27 18:02 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85823a91c97ac8c89d72bb179843fec5f42fc30d.sping@gentoo \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox