From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11266 invoked by alias); 30 Aug 2012 13:20:33 -0000 Received: (qmail 11254 invoked by uid 22791); 30 Aug 2012 13:20:30 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,TW_VZ,TW_YG,T_HK_NAME_DR,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from rcsinet15.oracle.com (HELO rcsinet15.oracle.com) (148.87.113.117) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Aug 2012 13:20:17 +0000 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q7UDKFHw012691 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 30 Aug 2012 13:20:16 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q7UDKFaI023416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 30 Aug 2012 13:20:15 GMT Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q7UDKFPx015518 for ; Thu, 30 Aug 2012 08:20:15 -0500 Received: from vzell-de.de.oracle.com (/10.175.12.2) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 30 Aug 2012 06:20:14 -0700 To: Cygwin List Subject: cygport packaging question regading obsoleted packages From: "Dr. Volker Zell" Date: Thu, 30 Aug 2012 20:38:00 -0000 Message-ID: <7zligwqzxr.fsf@vzell-de.de.oracle.com> User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00660.txt.bz2 Hi Yaakov Is the following the "official" cygport method to create obsoleted packages ? For example I want to obsolete from the nettle-2.4 package the runtime parts by providing new empty tarballs so that users who will upgrade to nettle-2.5 will get rid of unsued dll's related to nettle-2.4. nettle-2.4-2.cygport ==================== CATEGORY="_obsolete" SUMMARY="Removed package" DESCRIPTION="Removed package" HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/" SRC_URI="http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz.sig" abi=4_3 hogweed_abi=2_1 # Only the runtime packages should be obsoleted" PKG_NAMES="lib${PN}${abi} libhogweed${hogweed_abi}" libnettle4_3_CONTENTS= #empty libhogweed2_1_CONTENTS= #empty 03:08 PM [507]> cygport nettle-2.4-2.cygport prep pkg >>> Preparing nettle-2.4-2 *** Info: SOURCE 1 signature follows: gpg: WARNING: using insecure memory! gpg: please see http://www.gnupg.org/faq.html for more information gpg: Signature made Sat, Sep 03, 2011 3:04:13 PM CEST using DSA key ID A8F4C2FD gpg: Can't check signature: public key not found >>> Unpacking source nettle-2.4.tar.gz >>> Preparing working source directory *** Info: applying patch nettle-2.4-2.cygwin.patch: patching file CYGWIN-PATCHES/README *** Info: applying patch nettle-2.4-2.src.patch: patching file Makefile.in patching file configure.ac patching file testsuite/Makefile.in >>> Packaging nettle-2.4-2 >>> Creating binary package(s) >>> libnettle4_3-2.4-2.tar.bz2 *** Info: Creating empty package >>> libhogweed2_1-2.4-2.tar.bz2 *** Info: Creating empty package *** Info: No debug files, skipping debuginfo subpackage >>> Checking packages for missing or duplicate files find: `*': No such file or directory >>> Creating source patches CYGWIN-PATCHES/README | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.in | 16 +++------ configure.ac | 6 +-- testsuite/Makefile.in | 2 - 4 files changed, 92 insertions(+), 15 deletions(-) >>> Creating source package nettle-2.4-2.cygport nettle-2.4-2.cygwin.patch nettle-2.4-2.src.patch nettle-2.4.tar.gz nettle-2.4.tar.gz.sig >>> libnettle4_3 requires: >>> libhogweed2_1 requires: This is what I get. -rw-r--r--+ 1 vzell None 1085342 Aug 30 14:49 nettle-2.4-2-src.tar.bz2 -rw-r--r--+ 1 vzell None 14 Aug 30 14:49 libhogweed2_1-2.4-2.tar.bz2 -rw-r--r--+ 1 vzell None 14 Aug 30 14:49 libnettle4_3-2.4-2.tar.bz2 What about the "find: `*': No such file or directory" error ? And should I put in the nettle-2.5-1.cygport an explicit REQUIRES="libnettle4_3 libhogweed2_1" so that these will be pulled in when somebody installs nettle-2.5 ? (effectively it should delete the old dll's) Thanks Volker -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple