Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583582 - net-misc/gnurl: a reliable small footprint version of Curl based on gnutls only
Summary: net-misc/gnurl: a reliable small footprint version of Curl based on gnutls only
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://gnunet.org/gnurl
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 579580
  Show dependency tree
 
Reported: 2016-05-20 15:41 UTC by ng0
Modified: 2016-10-22 22:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
=net-misc/gnurl-7.45.0 (gnurl-7.45.0.ebuild,2.34 KB, text/plain)
2016-05-20 15:42 UTC, ng0
Details
=net-misc/gnurl-9999 (gnurl-9999.ebuild,2.34 KB, text/plain)
2016-05-20 15:42 UTC, ng0
Details
metadata.xml (metadata.xml,591 bytes, text/xml)
2016-05-20 15:43 UTC, ng0
Details
=net-misc/gnurl-7.45.0 (gnurl-7.45.0.ebuild,2.34 KB, text/plain)
2016-06-17 23:58 UTC, ng0
Details
=net-misc/gnurl-9999 (gnurl-9999.ebuild,2.34 KB, text/plain)
2016-06-17 23:58 UTC, ng0
Details
metadata.xml (metadata.xml,554 bytes, text/xml)
2016-06-17 23:58 UTC, ng0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ng0 2016-05-20 15:41:14 UTC
New ebuild,Build and tested on ~amd64.

Split off from https://bugs.gentoo.org/show_bug.cgi?id=579580 as net-misc/gnurl can be released before gnunet and gnunet-gtk

As put into the metadata.xml, I will be the maintainer via proxy-maint.

Reproducible: Always
Comment 1 ng0 2016-05-20 15:42:07 UTC
Created attachment 434774 [details]
=net-misc/gnurl-7.45.0
Comment 2 ng0 2016-05-20 15:42:40 UTC
Created attachment 434776 [details]
=net-misc/gnurl-9999
Comment 3 ng0 2016-05-20 15:43:06 UTC
Created attachment 434778 [details]
metadata.xml
Comment 4 ng0 2016-05-20 15:45:02 UTC
One possible fix remains:

HOMEPAGE currently has 2 values, the gnunet.org/gnurl and the git page displaying the description.

Should it be reduced to gnunet.org/gnurl? I initially went with 2 for the verbosity of information.
Comment 5 ng0 2016-05-21 14:47:57 UTC
Additional comment: both versions additionally compiled and running successfully (so far) on gentoo-hardened base system (gcc).
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2016-05-22 08:31:28 UTC
g-p-m has been added in CC however, has proxy-maint@gentoo.org yet declared he wishes to be set as the proxied maintainer?
Comment 7 ng0 2016-05-22 12:53:32 UTC
(In reply to Ian Delaney from comment #6)
> g-p-m has been added in CC however, has proxy-maint@gentoo.org yet declared
> he wishes to be set as the proxied maintainer?

I hope I read this right and you are asking me if I have declared to become proxied maintainer.
This is an ebuild directly depending on bug 579580, where I declared to become proxied maintainer of all packages included in it, which also included gnurl before I split it off.
Long sentence, explicit answer: Yes, I want to become the proxied maintainer.
In case I did not understand it and answered wrong, please explain the parts I did not understand.
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2016-05-26 06:13:45 UTC
ok thanks for the contribution. This ebuild is close but will need 'shoring up'.


1. in metadata.xml  <description> tag has been decided within g-p-m as a waste of space. I can just take it out otherwise fine.

2. ebuild.

a) LICENSE="MIT" can you double check this? Recent submissions have been found to have either or an actual license of similar name.
b) DEPEND="${RDEPEND}" is almost a clichee.  Are all deps of runtime really required for the build? Yes there are only two.
b) The running of eautoreconf normally takes place after application of patches and sed statements, not before.
c) There are 4 distinct sed statements.  This many edits questions the state of the build system. Are all of these gentoo specific?  Any that are generic require submission to upstream for consideration to incorporate into the source of the package. It also beckons prompt for use of a classical patch; short sharp and clean.
d) # FIX: Skip examples and man3
Why? I generally include the IUSE flag examples and install them upon use of the flag.  If a man page is made available, why hold it back. I'd be looking at its installation as default.
e) The P.M.S. has a function to install docs einstalldocs. An option for the rather extended DOCS var is to perform this installation, then any missed top up with "   dodoc the rest"
Comment 9 ng0 2016-05-26 09:02:41 UTC
(In reply to Ian Delaney from comment #8)
> ok thanks for the contribution. This ebuild is close but will need 'shoring
> up'.
> 
> 
> 1. in metadata.xml  <description> tag has been decided within g-p-m as a
> waste of space. I can just take it out otherwise fine.
> 
> 2. ebuild.
> 
> a) LICENSE="MIT" can you double check this? Recent submissions have been
> found to have either or an actual license of similar name.
> b) DEPEND="${RDEPEND}" is almost a clichee.  Are all deps of runtime really
> required for the build? Yes there are only two.
> b) The running of eautoreconf normally takes place after application of
> patches and sed statements, not before.
> c) There are 4 distinct sed statements.  This many edits questions the state
> of the build system. Are all of these gentoo specific?  Any that are generic
> require submission to upstream for consideration to incorporate into the
> source of the package. It also beckons prompt for use of a classical patch;
> short sharp and clean.
> d) # FIX: Skip examples and man3
> Why? I generally include the IUSE flag examples and install them upon use of
> the flag.  If a man page is made available, why hold it back. I'd be looking
> at its installation as default.
> e) The P.M.S. has a function to install docs einstalldocs. An option for the
> rather extended DOCS var is to perform this installation, then any missed
> top up with "   dodoc the rest"

Thanks for looking into it.

To a): it is the same license as net-misc/curl, which is "MIT" in portage.
http://www.git.taler.net/?p=gnurl.git;a=blob_plain;f=COPYING;h=a98663e944f2081605d3a0d5445d08eb5c439e88;hb=HEAD
vs
https://curl.haxx.se/docs/copyright.html

I will adjust the rest.
Comment 10 ng0 2016-05-26 15:30:56 UTC
(In reply to Ian Delaney from comment #8)
....
> c) There are 4 distinct sed statements.  This many edits questions the state
> of the build system. Are all of these gentoo specific?  Any that are generic
> require submission to upstream for consideration to incorporate into the
> source of the package. It also beckons prompt for use of a classical patch;
> short sharp and clean.
> d) # FIX: Skip examples and man3
> Why? I generally include the IUSE flag examples and install them upon use of
> the flag.  If a man page is made available, why hold it back. I'd be looking
> at its installation as default.

I am in discussion with the developers to figure out the best way to deal with this, see what's generic and what's distro specific.
At its core, gnurl is a reduced curl for gnunet, build against libgcrypt and leaving out many config options (dnssec breaks for example).
That's reason enough to have 2 packages, however gnurl is never intended to be run by users from the commandline, so some parts are really not needed.
The discussion has been moved to the mailinglist, what happened before can be read here: https://gnunet.org/bot/log/gnunet/2016-05-26

I will adjust the gnurl ebuild, and wait for how the discussion develops with upstream.
Comment 11 ng0 2016-05-27 10:46:31 UTC
(In reply to Ian Delaney from comment #8)

> b) DEPEND="${RDEPEND}" is almost a clichee.  Are all deps of runtime really
> required for the build? Yes there are only two.

Extract from https://www.git.taler.net/?p=gnurl.git;a=blob;f=README;h=28e8cd89956d9b8f6fa0736b407fa52e42e02f27;hb=HEAD :

Note that the compilation requirements were not hard-coded, but
are rather socially enforced: if you compile libgnurl, please
use the following options to configure:

./configure --enable-ipv6 --with-gnutls --without-libssh2 --without-libmetalink --without-winidn --without-librtmp --without-nghttp2 --without-nss --without-cyassl --without-polarssl --without-ssl --without-winssl --without-darwinssl --disable-sspi --disable-ntlm-wb --disable-ldap --disable-rtsp --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smtp --disable-gopher --disable-file --disable-ftp --disable-smb

Naturally, you're free to specify additional options, such as
"--prefix".  The result should have support only for HTTP, HTTPS (via
GnuTLS), IDN, zlib and TLS-SRP.

/End Extract

This leads me to think that zlib and gnutls are runtime and build dependencies,
though if you know that zlib is not required at runtime but at buildtime only for curl, then I'll fix the ebuild DEPEND and RDEPEND.
Comment 12 ng0 2016-06-17 23:30:25 UTC
I hereby pull back my request to become maintainer as I can't maintain works (and most importantly, double work sometimes) on two OS.

Whoever likes to pick it up, feel free to do so.


Adding to this package for the record: it will probably be maintained for a longer time at the overlay at http://youbroketheinternet.org/#overlay
If other people in the overlay feel like fixing it, I have already fixed it in the other OS and package manager, volunteered double effort is energy draining for me.
Comment 13 ng0 2016-06-17 23:58:01 UTC
Created attachment 437896 [details]
=net-misc/gnurl-7.45.0

adding last fixes before i leave this to the overlay.
Comment 14 ng0 2016-06-17 23:58:36 UTC
Created attachment 437898 [details]
=net-misc/gnurl-9999
Comment 15 ng0 2016-06-17 23:58:59 UTC
Created attachment 437900 [details]
metadata.xml
Comment 16 ng0 2016-09-22 11:22:07 UTC
See bug https://bugs.gentoo.org/show_bug.cgi?id=579580
Comment 17 ng0 2016-10-22 22:13:53 UTC
Update: I continue working on this and apply as gentoo developer in 2017 when I think this is ready to move from gnunet.org repository to portage.