* [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/pe-format/files/
@ 2016-02-09 17:13 Michał Górny
0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2016-02-09 17:13 UTC (permalink / raw
To: gentoo-commits
commit: aa2dac40ee028305787faf23e7db65cb8895bbc3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 9 15:45:16 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 9 17:13:15 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2dac40
dev-dotnet/pe-format: Remove obsolete files used by the old ebuild
dev-dotnet/pe-format/files/pe-format.conf | 11 ------
dev-dotnet/pe-format/files/pe-format.init-1 | 53 -----------------------------
2 files changed, 64 deletions(-)
diff --git a/dev-dotnet/pe-format/files/pe-format.conf b/dev-dotnet/pe-format/files/pe-format.conf
deleted file mode 100644
index b432728..0000000
--- a/dev-dotnet/pe-format/files/pe-format.conf
+++ /dev/null
@@ -1,11 +0,0 @@
-# /etc/conf.d/pe-format
-
-# Define what to register with PE binaries so you can avoid running them with
-# "<.NET runtime> program.exe"
-# NOTE: In order to get this working you need to 'chmod +x' your program
-
-# CLR determines the executor for the PE binaries.
-# mono - Use the mono runtime engine 'mono'
-# ilrun - Use the DotGNU Portable .NET runtime engine 'ilrun'
-
-CLR="mono"
diff --git a/dev-dotnet/pe-format/files/pe-format.init-1 b/dev-dotnet/pe-format/files/pe-format.init-1
deleted file mode 100644
index 18420db..0000000
--- a/dev-dotnet/pe-format/files/pe-format.init-1
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-depend() {
- after procfs
-}
-
-start() {
- ebegin "Registering PE binaries with ${CLR}"
-
- if [[ ! -d /proc/sys/fs/binfmt_misc ]] ; then
- eerror "You need support for \"misc binaries\" in your kernel!"
- eend 1
- fi
-
- if [[ $(mount | grep -c binfmt_misc) -eq 0 ]] ; then
- mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc &> /dev/null
- local result=$?
-
- if [[ $result -ne 0 ]] ; then
- eend $result
- fi
- fi
-
- case "${CLR}" in
- mono)
- echo ':PE:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register
- eend 0
- ;;
- ilrun)
- echo ':PE:M::MZ::/usr/bin/ilrun:' > /proc/sys/fs/binfmt_misc/register
- eend 0
- ;;
- *)
- eerror 'Please enter a valid option in /etc/conf.d/pe-format'
- eend 1
- ;;
- esac
-}
-
-stop() {
- ebegin "Unregistering PE binaries"
-
- if [[ -f /proc/sys/fs/binfmt_misc/PE ]] ; then
- echo '-1' > /proc/sys/fs/binfmt_misc/PE
- fi
-
- eend $?
-}
-
-# vim: ts=4 :
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-09 17:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09 17:13 [gentoo-commits] repo/gentoo:master commit in: dev-dotnet/pe-format/files/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox