| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| 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 |
| To: | Cygwin List <cygwin AT cygwin DOT com> |
| Subject: | cygport packaging question regading obsoleted packages |
| From: | "Dr. Volker Zell" <dr DOT volker DOT zell AT oracle DOT com> |
| Date: | Thu, 30 Aug 2012 15:20:16 +0200 |
| 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 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |