Making a package obsolete
szgyg
szgyg@ludens.elte.hu
Mon May 15 16:51:00 GMT 2017
On Mon, May 15, 2017 at 12:20:46PM -0400, Ken Brown wrote:
> On 5/15/2017 11:56 AM, Jon Turney wrote:
>> You can always make an empty tarball called
>> texlive-collection-htmlxml-20170515.tar.xz or whatever, and use that for
>> SRC_URI.
>
> Good idea, thanks. But it turns out that there's another problem: cygport
> won't actually create an empty binary tarball in this situation.
>
> The relevant code is in pkg_pkg.cygpart around lines 149--163, especially
> this part:
>
> elif (( pkg_count == 1 ))
> then
> pkg_contents="*"
> else
> pkg_contents=
>
> We get here if PKG_CONTENTS is unset or empty. (There's actually no test to
> see if it's set but empty.) In the situation under discussion, this results
> in pkg_contents="*" followed by a tar error.
>
> Yaakov, shouldn't the user be allowed to explicitly set PKG_CONTENTS empty
> and have cygport honor that, at least for obsolete packages?
I've used the attached files to create an empty, dependencies-only package.
szgyg
-------------- next part --------------
NAME="dependencies"
VERSION="0"
RELEASE="0"
SUMMARY="dependencies (Metapackage)"
CATEGORY="Devel"
REQUIRES="" # put stuff here
####################
SRC_URI="empty.tar.gz"
SRC_DIR="empty"
KEEPDIRS="/usr"
src_compile() { : ; }
src_install() { : ; }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: empty.tar.gz
Type: application/x-tar-gz
Size: 123 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20170515/0d7e623d/attachment.bin>
More information about the Cygwin-apps
mailing list