From patchwork Thu Nov 17 21:50:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9435355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B338160469 for ; Thu, 17 Nov 2016 21:50:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A36A5296EA for ; Thu, 17 Nov 2016 21:50:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84F49296EC; Thu, 17 Nov 2016 21:50:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6BE69296EB for ; Thu, 17 Nov 2016 21:50:34 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,655,1473120000"; d="scan'208";a="875449" IronPort-PHdr: =?us-ascii?q?9a23=3Ale4/xBF/0ayc6YYFXsubjJ1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ79pMSzbnLW6fgltlLVR4KTs6sC0LuN9fm+EjVcv96oizMrSNR0TRgLiM?= =?us-ascii?q?EbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVr?= =?us-ascii?q?O+/7BpDdj9it1+C15pbffxhEiCCzbL52Ihi6txjdu8gZjYd/Jas8ywbCr2dVde?= =?us-ascii?q?hR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/Y?= =?us-ascii?q?TQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhS?= =?us-ascii?q?EaPDE36mHXjtF7grxdrhyvuhdzx5fYbJyJOPZ7eK7WYNEUSndbXstJVyJPHJ6y?= =?us-ascii?q?YYUMAeQGJeZVrZTxqlUBohSiCgejGvjvxyRUhnL0x6A2z/4sHR3Y0AEmAtkAsG?= =?us-ascii?q?7UrNLwNKoKSe61zbXHzTLHb/xMwjf29YvGchcmofGXRrJ7bM3cyU8uFwzZiVWQ?= =?us-ascii?q?rZbqPyiP2uQMtGib6PFgVfm0hm4ipAxwrSKjxsA2ionGn48YzE3P+yt+wIYwP9?= =?us-ascii?q?K4SUh7bMa8EJpQryGbN5J6T8w/T21yoyY6zbsLsoO4cigS0Jkr2hHSZvOdf4WI?= =?us-ascii?q?/x7vTvidLDhmiH5/Zb6znxW//VW6xuD9V8S4yktGojRZntXWqHwByx7e586aQf?= =?us-ascii?q?Vn5EihwyyA1wXL5+FBJkA7iLTUJoY6wr41ipoTqUPDHjLqmEnujK+ZaEEk+u+w?= =?us-ascii?q?5uT7eLrmvJ6cN5Jvig3kLqQvmtCwAeQ/MgQUWWiU5f+826H58U38QbVKiuU6kq?= =?us-ascii?q?jfsJ/EOcQWvrO1DgBa34o56xuzEi2q3MoXkHUZNl5JZQqLj43zNFHPJPD4A+2/?= =?us-ascii?q?g1OpkDpz3PDJILnhApTLLnjen7btZK1y60lByAo10d9Q+YlUB6odIPPzRkDxtN?= =?us-ascii?q?vYAgU/Mwyv2enrEtp91oQAWW6XGK+WLLvSsUOU5uIoO+SMapUVtyz7K/c55v7u?= =?us-ascii?q?lmQ0mVoFfamoxJcXc365Hu98L0Wee3rsjc8LEX0WsQomUOzqlFqCXCZQZ3moXK?= =?us-ascii?q?I84Sw7BZmlDYjZRYCth6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gNAcR0ildAspmwWj5UbhwahU?= =?us-ascii?q?urh/I3PUQUdScCj8N3tiXbeotrqef85P74slsTtRUOuhel2aVLj9rAYa0y/5GW?= =?us-ascii?q?tR2iw7fSmwuprlhxx6lH6dLHFroXrBY85w2BPf6cfASv5QwjoHRDB0iTfNCVi6?= =?us-ascii?q?JdWp+s+Ul5jbuOCkS22hToFTcTXszY6Yriu0+HBlDAawn/C2ldzrCw463jHn19?= =?us-ascii?q?NyTyXHsA78YpX316S9Ke9nZlNnBEL468VkAoFxiI0whI0O1ngAnZiV4GEHnnnp?= =?us-ascii?q?MdVAw67+d30NRSMRw9HJ/gfl1kpjLmiGx43nTHmdxNVuZ8WiaGMMxi0999xKCL?= =?us-ascii?q?uT7LFckyt6uFy4rR7WYfh4hTodx+Uh52Mdg+ETogUt1j+dArcQHUZGISPsiw6E?= =?us-ascii?q?79ekrKVYfGyva6S/1FJindC9C7GPug5cWHbldZc4HS5w9tl/MFXX3X319I7kZM?= =?us-ascii?q?LQYs4JuR2MjRjMle5VJ4wtlvASnypoJXr9vWE5y+48lRFu2Iu1vIyDK2pz4KK5?= =?us-ascii?q?HgRXOSfuasMV5D7tkb1ekdqM0IC3AJptADMLU4X0TfiwCjIdqeznNxqSED07sn?= =?us-ascii?q?qbA6DTHAGF5EdjtX3PF5erNnGMKXYD0dpiQQORJEtFgAAbRD86hII2Fhi2xMz9?= =?us-ascii?q?d0d0/jYR5kTipRtU0uJlLBf/UmbFpAezdjc0RpmfLBxM4QFE+0jVMNaR7uZpEy?= =?us-ascii?q?Ff5J2hoxSHKnaHaARQEWEJRkuECkj7Praw/tbP7e6YBuuiL/vJeriOqPJRWOmW?= =?us-ascii?q?yp611Ytm5TmMPN2VPnZ+F/07xlZDXXdhFsvEgDUAVTYYly3Xb8GBuhex4TZ3od?= =?us-ascii?q?q88PT2QgLg/5GDC79PMdVp4R+2m76PN/KXhCZ6KTdY0YkAxXnWx7gDxFQSkT1h?= =?us-ascii?q?dyGxEbQcsi7AVLnQlbVJDxEBZCN8KtBI4rkn3gZXJ87UkNz12aBjjvIvDVdKS0?= =?us-ascii?q?DhkNmzZcMWO2G9KE/HBEGTObudJD3LzMb3YaWnRLJNkupbrBywtiydE0P5OTSD?= =?us-ascii?q?jTbpXQi1Me5QlCGbIABeuIalfxl3BmjsVszmZQOgPd9wlT0537s0hnbQOm4dNT?= =?us-ascii?q?hzaERNr7KK4SNfmPV/FHRL7mB5IumchyaZ8+7YJ44KsftsByR4jfha4HM7yrRL?= =?us-ascii?q?6iFLX+Z1mCzMod5tuFypju6Pyj97XxVUsTZLmJiHvUN8NqXF7pNAQ2rL/AoR7W?= =?us-ascii?q?WMDBQHv9hlC93ru69O0dXPkaXzKDlM893K4cscG8jUKMWCMHU/KxbpHiDbDBcd?= =?us-ascii?q?Rz6xKW7fn1BdkO2V9nCNr5g6rITsl4QKSrBFUVw6CO8aCl5lHdEZJ5d3Ri0rkb?= =?us-ascii?q?iejMES5Hq+qALeRMJVv5zdUfKSG/rvIi6DjbZYfxsI3a/4LYMLO439xUNtcF16?= =?us-ascii?q?kZ/JG0rXRtBNvjdubgkvoEVO8XhyVGsz1Fz5agm1+n8cCea0ngIqigt5eekt7i?= =?us-ascii?q?nj40wpKVXQvis/jEkxlM7+jjCQaj7+MaCwXY9OCyruqUcwMon3QwBrYg2uhUZk?= =?us-ascii?q?LivLR6pNj7t8cmBmkBLTuZxJGf5aUKJLfhsQxfCMavoyz1tcsCKnyVVA5evfBp?= =?us-ascii?q?tojBEqfoK0r3JcxwJja8Y4KrHKK6pXz1hfm7mOszSy2eAr2g8eIEgM8HiMdyEU?= =?us-ascii?q?pUwILLgmJzao/+B27wyNhSdDcnAWV/U2uvJq6l89O+OYwiLuyb5MNF2+N/eFIK?= =?us-ascii?q?Ofp2jAktWIT0gq2UwUkklJ57920d0sc0CMTUAg0KORFwgVNcrFMQxVa81S9GLN?= =?us-ascii?q?ciaIsOTNxol4P4q7FuD1V+OOs7wUgk28FgYzA4sM9tgBHoWr0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DeX3FR9rkLSYodKvko847XOK?= =?us-ascii?q?0LzfYmxjJmvTI6vDuHD19HiAKK7bbQFrpmxrJe/Wk44+12XkaXTjPEfGjHz5ap?= =?us-ascii?q?BsNMyCp1v3DrydDUvuFsNbtdoYF1GlEKDjxqJtrF5zBOTXn02Beuvxa8BDmeIj?= =?us-ascii?q?UZ4DAPJSEec+Z60fJ0sBjPdtbb9UyfqbgtqE21BgaXWfKI38lQB8Xo0xioQTVa?= =?us-ascii?q?ejWsUZZto7BCk8hBT7kgYN2YAlvGKgHlRiOfvDsXvEzso7+sCcNRhGQZlb43AN?= =?us-ascii?q?S1T88NF9aPj2Iw+GpB2JdalT7ZOdjYfJCsrpUgCA=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2HkBgCbJS5Y/wHyM5BeHQEFAQsBGAYMgw0BAQEBAR9YgQC?= =?us-ascii?q?mUwGUYCQDgXiGJ1MBAQEBAQEBAQIBAl8ogjMagQVbQwI3FCAOAwkCFykICAMBL?= =?us-ascii?q?RUfCwUYBIhLBAGvMioCg2aHc4Y8himCTBEBhX0FjmGLYoFyhE6DD4cTgkqHWoY?= =?us-ascii?q?NkVtVXRE6hR9xhUyCLQEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 17 Nov 2016 21:50:32 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAHLoUBf015326; Thu, 17 Nov 2016 16:50:31 -0500 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id uAHLoSYe205436 for ; Thu, 17 Nov 2016 16:50:28 -0500 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id uAHLoSEP015324 for ; Thu, 17 Nov 2016 16:50:28 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1DtAADkJC5YhyIeaIFeHQEFAQsBgzcBAQEBAXeBALcmhC0IiB9TAQIBAQEBAQITAQEBCgsJCR2HaYhsBAGdCpIlhBKHc4Y8himIWwWOYYtigXKEToMPhxOCSo1nkVuBQ4MNAQsBgj9xh3kBAQE X-IPAS-Result: A1DtAADkJC5YhyIeaIFeHQEFAQsBgzcBAQEBAXeBALcmhC0IiB9TAQIBAQEBAQITAQEBCgsJCR2HaYhsBAGdCpIlhBKHc4Y8himIWwWOYYtigXKEToMPhxOCSo1nkVuBQ4MNAQsBgj9xh3kBAQE X-IronPort-AV: E=Sophos;i="5.31,655,1473134400"; d="scan'208";a="5830973" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 17 Nov 2016 16:50:27 -0500 IronPort-PHdr: =?us-ascii?q?9a23=3AzwJxSRF2wwC4QIu6MH5a051GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ7zpcuwAkXT6L1XgUPTWs2DsrQf2rGQ6v6rADBeqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmssAnct8YajZZtJ6sw1xDEvmZGd+?= =?us-ascii?q?NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLD?= =?us-ascii?q?TRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljj?= =?us-ascii?q?oMOjgk+2/Vl8NwlrpWrhK/qRJizYDaY4abOeFicq/BZ94WWXBMUtpNWyFHH4iy?= =?us-ascii?q?b5EPD+0EPetAt4f9pkcBrRy6BQa2H+Pk1zxGhnjx3a0hyOQqDAbL3AohH90St3?= =?us-ascii?q?TUqM/6NLwIXeC0y6nIyi7Db+hN1Df454XJfQotofaWXbJ/aMfcz1QkGQ3CjlWV?= =?us-ascii?q?s4PlPjWV2/wVs2mb9+phVfujhmE6pw1ruTivwcEhgZTKiIIN0l3I6Dt1zYIvKd?= =?us-ascii?q?GlVEJ2bsSoHZVMuy2AOYZ7TdsuTmJ1tCogy7ALuIS3cDUUxJg73RLTdeCLfoqO?= =?us-ascii?q?7xn+TuieOy14i2hgeL+nhxa970ygyurkW8mx31dGszBJksHLtnAJ1x3T9taIRe?= =?us-ascii?q?d9/ken2DaPzh3T5f9eLUAzj6rbJIYtwr82lpUNrUTOBjL6lFvygaOMa0ko5uel?= =?us-ascii?q?5/7pb7n6vJOROYB5hhn7Mqs0m8y/Beo4MhIJX2ie4emyyaHt81DlTLhSkPM3kq?= =?us-ascii?q?bUvpfCKMsauKO0GwpV34ks6hqlCDemytsYkGEBLFJEZB2HiIzpNEvVIPziDPe/?= =?us-ascii?q?hFOskCxwx/3dJbLhBYjNLn7fn7j/ZrZx8UtcxQU8zNxF4JJUEL4BLOrpWkDtrN?= =?us-ascii?q?zYEgM5Mwuszub8Ftp90oIeWWSSAq6WK67SrV+J6f4vI+mLfoMVvi39JOI/6/7h?= =?us-ascii?q?in85hwxVQa78xpYTaXalDtx6Mk6ZZjzqmd5HHmAU7SQkS+m/rlyJVjpafD6TWK?= =?us-ascii?q?Un/XlvDoOtCoPKXcash7uaxw++Qo0QYXpJXAPfWUz0fpmJDq9fIBmZJdVsx2QJ?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EGAQCbJS5YhyIeaIFeHgYMGAEFAQsBg?= =?us-ascii?q?wwBAQEBAXeBAKZUkFKELQiBeIYnUwEBAQEBAQEBAgECEAEBAQoLCQkdMIIzGIE?= =?us-ascii?q?HW4MMiGwEAZ0NkiWEEodzhjyGKYhbBY5hi2KBcoROgw+HE4JKjWeRW4FDgw0BC?= =?us-ascii?q?wGCP3GHeQEBAQ?= X-IPAS-Result: =?us-ascii?q?A0EGAQCbJS5YhyIeaIFeHgYMGAEFAQsBgwwBAQEBAXeBAKZ?= =?us-ascii?q?UkFKELQiBeIYnUwEBAQEBAQEBAgECEAEBAQoLCQkdMIIzGIEHW4MMiGwEAZ0Nk?= =?us-ascii?q?iWEEodzhjyGKYhbBY5hi2KBcoROgw+HE4JKjWeRW4FDgw0BCwGCP3GHeQEBAQ?= X-IronPort-AV: E=Sophos;i="5.31,655,1473120000"; d="scan'208";a="875443" Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Nov 2016 21:50:25 +0000 Received: from localhost.localdomain (81-66-120-207.rev.numericable.fr [81.66.120.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 1220D564766 for ; Thu, 17 Nov 2016 22:50:25 +0100 (CET) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 1/1] libselinux, libsemanage: use Python-specific .so extension Date: Thu, 17 Nov 2016 22:50:18 +0100 Message-Id: <20161117215018.23118-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.10.2 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Thu Nov 17 22:50:25 2016 +0100 (CET)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP The Makefiles currently install the Python wrapper libraries using .so suffix (_selinux.so, audit2why.so and _semanage.so). Even though this works well with CPython 2 and 3, PyPy fails to find these files because it is looking for files with a specific version token in the suffix (eg. _selinux.pypy-41.so). This suffix is advertised by the imp module. Here is the result of 'import imp;print([s for s, m, t in imp.get_suffixes() if t == imp.C_EXTENSION])' for several Python versions: Python 2.7.12: ['.so', 'module.so'] Python 3.5.2: ['.cpython-35m-x86_64-linux-gnu.so', '.abi3.so', '.so'] PyPy 5.4.1 (Python 2.7.10): ['.pypy-41.so'] PyPy3 5.5.0-alpha0 (Python 3.3.5): ['.pypy3-55.so', '.pypy3-55.so'] Define the name of the installed Python-C extension using the first extension of these lists, in order to make the Python extensions compatible with pypy. When building the Python wrappers for PyPy and PyPy3 on Linux, the following environment variables need to be set (PyPy does not provide a pkg-config file nor a platform-agnostic way to build the string "-lpypy-c"): PYTHON=pypy (or PYTHON=pypy3) PYINC=-I$($PYTHON -c 'import sys;print(sys.prefix)')/include PYLIBS=-lpypy-c (or PYLIBS= if LDFLAGS does not have -Wl,-no-undefined) Signed-off-by: Nicolas Iooss --- libselinux/src/Makefile | 5 +++-- libsemanage/src/Makefile | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile index 928cc049cedb..d17792c13350 100644 --- a/libselinux/src/Makefile +++ b/libselinux/src/Makefile @@ -15,6 +15,7 @@ INCLUDEDIR ?= $(PREFIX)/include PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) PYLIBS ?= $(shell $(PKG_CONFIG) --libs $(PYPREFIX)) PYSITEDIR ?= $(DESTDIR)$(shell $(PYTHON) -c 'import site; print(site.getsitepackages()[0])') +PYCEXT ?= $(shell $(PYTHON) -c 'import imp;print([s for s,m,t in imp.get_suffixes() if t == imp.C_EXTENSION][0])') RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -lruby"') RUBYINSTALL ?= $(DESTDIR)$(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') @@ -185,8 +186,8 @@ install: all install-pywrap: pywrap test -d $(PYSITEDIR)/selinux || install -m 755 -d $(PYSITEDIR)/selinux - install -m 755 $(SWIGSO) $(PYSITEDIR)/_selinux.so - install -m 755 $(AUDIT2WHYSO) $(PYSITEDIR)/selinux/audit2why.so + install -m 755 $(SWIGSO) $(PYSITEDIR)/_selinux$(PYCEXT) + install -m 755 $(AUDIT2WHYSO) $(PYSITEDIR)/selinux/audit2why$(PYCEXT) install -m 644 $(SWIGPYOUT) $(PYSITEDIR)/selinux/__init__.py install-rubywrap: rubywrap diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile index 5176582f654d..ef25902bb019 100644 --- a/libsemanage/src/Makefile +++ b/libsemanage/src/Makefile @@ -15,6 +15,7 @@ INCLUDEDIR ?= $(PREFIX)/include PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) PYLIBS ?= $(shell $(PKG_CONFIG) --libs $(PYPREFIX)) PYSITEDIR ?= $(DESTDIR)$(shell $(PYTHON) -c 'import site; print(site.getsitepackages()[0])') +PYCEXT ?= $(shell $(PYTHON) -c 'import imp;print([s for s,m,t in imp.get_suffixes() if t == imp.C_EXTENSION][0])') RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -lruby"') RUBYINSTALL ?= $(DESTDIR)$(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') @@ -145,7 +146,7 @@ install: all install-pywrap: pywrap test -d $(PYSITEDIR) || install -m 755 -d $(PYSITEDIR) - install -m 755 $(SWIGSO) $(PYSITEDIR)/_semanage.so + install -m 755 $(SWIGSO) $(PYSITEDIR)/_semanage$(PYCEXT) install -m 644 semanage.py $(PYSITEDIR)