This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygport packaging question regading obsoleted packages
- From: "Dr. Volker Zell" <dr dot volker dot zell at oracle dot com>
- To: Cygwin List <cygwin at cygwin dot com>
- Date: Thu, 30 Aug 2012 15:20:16 +0200
- Subject: cygport packaging question regading obsoleted packages
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