From patchwork Mon May 6 11:48:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 241623 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 8DDC82C00B6 for ; Mon, 6 May 2013 21:48:58 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3D46F1019EC; Mon, 6 May 2013 11:48:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jjmh2AHaC27B; Mon, 6 May 2013 11:48:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BB77C10182D; Mon, 6 May 2013 11:48:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AA9C78F7A0 for ; Mon, 6 May 2013 11:49:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D01868102C for ; Mon, 6 May 2013 11:48:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j7PRLzM56DYp for ; Mon, 6 May 2013 11:48:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9C2D281029 for ; Mon, 6 May 2013 11:48:52 +0000 (UTC) Received: from asgard (host147.190-138-228.telecom.net.ar [190.138.228.147]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.7/8.14.7) with ESMTP id r46BmjbW002056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 6 May 2013 11:48:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1367840929; bh=vIAvHt4VQSK9ChVOAacPtSq/Kdc9KWjVC2DNYJ7+oC8=; h=From:To:Cc:Subject:Date; b=S37E2eP62Tao2hONQoCZYX74jWUwQYVdpTGDgGHmrATwm1LDPxAgIKfhfUcURd4ID zJECDn9fhiiQfdPZjvvEIg+f7omNDBZmjAiwcKoV8xZX7aA7Q+9lnRo+jchM9ZcxJZ vxe/4f9mmLWoh1VE9No/AeJ8dxU50GGft6SVHgyI= Received: by asgard (sSMTP sendmail emulation); Mon, 06 May 2013 08:48:44 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 6 May 2013 08:48:43 -0300 Message-Id: <1367840923-19121-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 X-Virus-Scanned: clamav-milter 0.97.7 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH] python: remove smtpd.py X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net It's mostly sample code, normally not used, and has a bad shebang line. Signed-off-by: Gustavo Zacarias --- package/python/python.mk | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package/python/python.mk b/package/python/python.mk index 4876dd8..265b7d0 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -108,10 +108,6 @@ else PYTHON_CONF_OPT += --disable-zlib endif -ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y) -PYTHON_DEPENDENCIES += openssl -endif - PYTHON_CONF_ENV += \ PYTHON_FOR_BUILD=$(HOST_PYTHON_DIR)/python \ PGEN_FOR_BUILD=$(HOST_PYTHON_DIR)/Parser/pgen \ @@ -142,6 +138,13 @@ endef PYTHON_POST_INSTALL_STAGING_HOOKS += PYTHON_FIXUP_LIBDIR +# Bad shebang, normally not used +define PYTHON_REMOVE_SMTPD + rm -f $(TARGET_DIR)/usr/bin/smtpd.py +endef + +PYTHON_POST_INSTALL_TARGET_HOOKS += PYTHON_REMOVE_SMTPD + # # Development files removal #