From patchwork Thu Apr 23 13:28:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Lautrbach X-Patchwork-Id: 11505691 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 812F992C for ; Thu, 23 Apr 2020 13:28:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 69E5D2084D for ; Thu, 23 Apr 2020 13:28:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JdysnAWe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726429AbgDWN26 (ORCPT ); Thu, 23 Apr 2020 09:28:58 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:35763 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726224AbgDWN25 (ORCPT ); Thu, 23 Apr 2020 09:28:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587648536; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TSmzrFwNeNmyRG2axEI9QSw/J7fYMPsr2C9Q4MhIvo4=; b=JdysnAWeFuNbVwMZnW5zRlJZjcDRHrXwChIKVl2q7F7/yYi0OSMwX4hZ7PX9TUscCz2Is0 KU4v+WmdVkmBfAgi3jTKbQq/yjKNa2NE8rGbnN2nbOgd2q/qHzcmxe6rc0YIbzSpC7J2qw 4aNapxvLx+9SU17L5qCB03hiFc5AUPE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-151-Q5ZX0cgBNEahtNcr4eIzNQ-1; Thu, 23 Apr 2020 09:28:41 -0400 X-MC-Unique: Q5ZX0cgBNEahtNcr4eIzNQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9D0F8100A8F1 for ; Thu, 23 Apr 2020 13:28:40 +0000 (UTC) Received: from workstation.redhat.com (unknown [10.40.192.166]) by smtp.corp.redhat.com (Postfix) with ESMTP id 96825600E5; Thu, 23 Apr 2020 13:28:39 +0000 (UTC) From: Petr Lautrbach To: selinux@vger.kernel.org Cc: Petr Lautrbach Subject: [PATCH] Convert README to README.md Date: Thu, 23 Apr 2020 15:28:33 +0200 Message-Id: <20200423132833.211294-1-plautrba@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org It should make the document readable for github users. Fixes: https://github.com/SELinuxProject/selinux/issues/225 Signed-off-by: Petr Lautrbach --- README | 25 ------------------------- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 25 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index e4423ca23b58..000000000000 --- a/README +++ /dev/null @@ -1,25 +0,0 @@ -Please submit all bug reports and patches to selinux@vger.kernel.org. -Subscribe by sending "subscribe selinux" in the body of an email -to majordomo@vger.kernel.org. - -Build dependencies on Fedora: -yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python3-devel python3-setools swig xmlto redhat-rpm-config - -To build and install everything under a private directory, run: -make DESTDIR=~/obj install install-pywrap - -To install as the default system libraries and binaries -(overwriting any previously installed ones - dangerous!), -on x86_64, run: -make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel -or on x86 (32-bit), run: -make install install-pywrap relabel - -This may render your system unusable if the upstream SELinux userspace -lacks library functions or other dependencies relied upon by your -distribution. If it breaks, you get to keep both pieces. - -To install libsepol on macOS (mainly for policy analysis): -cd libsepol; make PREFIX=/usr/local install - -This requires GNU coreutils (brew install coreutils). diff --git a/README.md b/README.md new file mode 100644 index 000000000000..b05f1c74f279 --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +SELinux Userspace +================= + +Please submit all bug reports and patches to . + +Subscribe by sending "subscribe selinux" in the body of an email +to . + +Installation +------------ + +Build dependencies on Fedora: + + yum install audit-libs-devel bison bzip2-devel dbus-devel dbus-glib-devel flex flex-devel flex-static glib2-devel libcap-devel libcap-ng-devel pam-devel pcre-devel python3-devel python3-setools swig xmlto redhat-rpm-config + + +To build and install everything under a private directory, run: + + make DESTDIR=~/obj install install-pywrap + +To install as the default system libraries and binaries +(overwriting any previously installed ones - dangerous!), +on x86_64, run: + + make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel + +or on x86 (32-bit), run: + + make install install-pywrap relabel + +This may render your system unusable if the upstream SELinux userspace +lacks library functions or other dependencies relied upon by your +distribution. If it breaks, you get to keep both pieces. + +To install libsepol on macOS (mainly for policy analysis): + + cd libsepol; make PREFIX=/usr/local install + +This requires GNU coreutils: + + brew install coreutils