You are not logged in.

#1 2009-06-22 21:03:22

ziarkaen
Member
Registered: 2009-06-21
Posts: 20

[SOLVED] Binary files in package

Having used the AUR for a while, I have seen that nearly all wget source from external site, then make it.  I see the advantages in this.

Now, however, I wish to submit a package, but there is no source available.  Is there a rule against putting wget "server.com/binary.file" in build section of PKGBUILD, or is it considered bad practice.  I'm sure that some of the drivers and kernel modules do this.

All guides are specific to compiling source, yet never explicitly state a rule against precompiled executables.

The file is from a trusted source, so am I OK to submit.

Thanks
Ben

Last edited by ziarkaen (2009-06-22 22:48:25)


ziarkaen

Offline

#2 2009-06-22 22:11:28

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [SOLVED] Binary files in package

There is a rule against putting binaries directly into the AUR tarball. It's ok to use a binary archive as a source file in a PKGBUILD, though. Look at practically any lib32-* PKGBUILD. Most of them use the Arch 32-bit package as their source, tearing it apart and repacking it. Some use debs or rpms and then convert them to tar, extract them, and repack them.

Offline

#3 2009-06-22 22:29:53

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] Binary files in package

AUR_User_Guidelines wrote:

Submitting Packages to UNSUPPORTED

After logging in to the AUR web interface, a user can submit a gzipped tarball (tar.gz) of a directory containing build files for a package. The directory inside the tarball should contain a PKGBUILD, any .install files, patches, etc (ABSOLUTELY no binaries). Examples of what such a directory should look like can be seen inside /var/abs.

... so ixnay on the inbays.

What package do you want to upload? If it's something that you've created, you should find a (free) host to distribute your sources. If it's something that you've found somewhere else, pull what you need from there.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2009-06-22 22:48:01

ziarkaen
Member
Registered: 2009-06-21
Posts: 20

Re: [SOLVED] Binary files in package

No, not my own creation.
And yes, I will pull binary from http server, not including it in tarball.

Thanks for clarification


ziarkaen

Offline

Board footer

Powered by FluxBB