Re: [ITP] Inetutils 1.9.4

2015-11-02 Thread Corinna Vinschen
On Nov  2 10:57, Corinna Vinschen wrote:
> {Forgot to CC Gernot, sorry]
> 
> On Nov  2 10:56, Corinna Vinschen wrote:
> > On Nov  2 08:02, D. Boland wrote:
> > > Marco Atzeri wrote:
> > > >On 01/11/2015 15:19, D. Boland wrote:
> > > >>Marco Atzeri wrote:
> > > >>Arghh! I also forgot I had to install (copy) some missing include files.
> > > >>Thanks for checking this.
> > > >>
> > > >>I got these from the glibc-2.21 source code:
> > 
> > Please use BSD files, not glibc, for licensing reasons.
> > 
> > > >>/usr/include/arpa/tftp.h
> > > >
> > > >tftp has this
> > > >https://cygwin.com/packages/x86_64/tftp/tftp-5.2-1
> > > >
> > > >>/usr/include/netinet/icmp6.h
> > > >
> > > >not yet included
> > > >https://cygwin.com/cgi-bin2/package-grep.cgi?grep=icmp6.h=x86_64
> > > >
> > > >>
> > > >>The MAX_IPOPTLEN constant is in ip_var.h. I got that from OpenBSD 
> > > >>source:

I applied ther matching patch to the Cygwin repository.


HTH,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


pgpFJfdgHb5wj.pgp
Description: PGP signature


Re: Questions on package adoption conventions

2015-11-02 Thread Corinna Vinschen
On Oct 31 21:15, Mark Geisert wrote:
> On Sat, 31 Oct 2015, Corinna Vinschen wrote:
> >On Oct 31 00:18, Jon Turney wrote:
> >>On 30/10/2015 23:25, Mark Geisert wrote:
> >>>I was confused by the SRC_URI= line in cygutils.cygport.  Does that
> >>>merely indicate where this package came from at the time the .cygport
> >>>file was written, or does it denote a commitment by the maintainer to
> >>>continue hosting the package from that URI?  If the latter, that's why I
> >>>was asking about access methods.  Is SRC_URI required?
> >>
> >>SRC_URI is the URI for the upstream source.
> >>
> >>cygport's fetch (aka download) subcommand will fetch the upstream source
> >>from the specified SRC_URI
> >>
> >>cygutils is somewhat a special case as cygwin is the upstream :)
> >>
> >>The sources are in CVS at pserver:anon...@sourceware.org:/cvs/cygwin-apps,
> >>but the tarballs seem to be hosted on fruitbat.org at the moment.
> >>
> >>I think the best thing to do is to ask for that CVS to be migrated to git,
> >
> >Done:
> >
> > git clone git://sourceware.org/git/cygwin-cygutils.git
> >
> > Gitweb: https://sourceware.org/git/?p=cygwin-cygutils.git
> >
> >Mark, if you're going to maintain the project, you probably want to
> >make changes to the git repo.  For that you need ssh access to
> >sourceware.org AKA cygwin.com.  Pleae use the form at
> >
> > https://sourceware.org/cgi-bin/pdw/ps_form.cgi
> >
> >to request SSH access to sware.  Project is "cygwin-apps", Use my
> >email address for the approver field.
> >
> >>then the cygport can be written to fetch the source directly from a
> >>specified tag in git, since this will avoid the need for you to make
> >>tarballs and work out where to host them.
> >
> >E.g.
> >
I forgot one line here:

> > GIT_URI="git://cygwin.com/git/newlib-cygwin.git"
> > GIT_TAG="..."
inherit git

> This does seems like the best way to go, for several reasons.  I've sent in
> the SSH access request form.
> Thanks much!

Approved.  You should get a mail from sware overseers shorty.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat


pgpvANbh8WO7L.pgp
Description: PGP signature


Re: [ITP] Inetutils 1.9.4

2015-11-02 Thread Corinna Vinschen
{Forgot to CC Gernot, sorry]

On Nov  2 10:56, Corinna Vinschen wrote:
> On Nov  2 08:02, D. Boland wrote:
> > Marco Atzeri wrote:
> > >On 01/11/2015 15:19, D. Boland wrote:
> > >>Marco Atzeri wrote:
> > >>Arghh! I also forgot I had to install (copy) some missing include files.
> > >>Thanks for checking this.
> > >>
> > >>I got these from the glibc-2.21 source code:
> 
> Please use BSD files, not glibc, for licensing reasons.
> 
> > >>/usr/include/arpa/tftp.h
> > >
> > >tftp has this
> > >https://cygwin.com/packages/x86_64/tftp/tftp-5.2-1
> > >
> > >>/usr/include/netinet/icmp6.h
> > >
> > >not yet included
> > >https://cygwin.com/cgi-bin2/package-grep.cgi?grep=icmp6.h=x86_64
> > >
> > >>
> > >>The MAX_IPOPTLEN constant is in ip_var.h. I got that from OpenBSD source:
> > >>
> > >>/usr/include/netinet/ip_var.h
> > >>
> > >>The latter I also needed for my Sendmail package.
> 
> We can add the definition of MAX_IPOPTLEN to /usr/include/netinet/ip.h
> for Cygwin 2.3.0, as on Linux.
> 
> > Also, the following
> > >>Cygwin packages are required to compile the source code:
> > >>
> > >>help2man
> > >>perl-Locale-gettext
> > >>
> > >>After this, it should compile. Are these files included in any Cygwin
> > >>package? Is there an elegant way to include these in my source package?
> > >>
> > 
> > So how do I do this? I could include icmp6.h and ip_var.h in the source
> > package and conditionally install it to /usr/include in the 'src_compile'
> > handler, previous to the 'make' command.
> > 
> > I'll leave tftp out of the distribution. That subpackage of inetutils is
> > maintained by Gernot Hiller.
> > 
> > On the other hand, I'd be happy to adopt it...
> 
> Let's see if Gernot is still available.  There was no update to tftp
> since early 2012.  Gernot, you're still with us?  Care to chime in
> here?  Thanks.
> 
> Whatever the outcome, the tftp.h header should stay with the inetutils
> or tftp package, otherwise we need to manage a smooth handover to the
> Cygwin package.  As for icmp6.h, we could include the FreeBSD version
> with Cygwin 2.3.0.
> 
> 
> Corinna
> 
> -- 
> Corinna Vinschen  Please, send mails regarding Cygwin to
> Cygwin Maintainer cygwin AT cygwin DOT com
> Red Hat


pgpjOZ6QLnnnO.pgp
Description: PGP signature


[ITP] fzf 0.10.8

2015-11-02 Thread Adam Dinwoodie
Folks,

I'm looking at packaging fzf[0], which is a "fuzzy finder" with shell
and Vim integration.  It's not nearly so fast on Cygwin as it is on my
Linux and Mac boxes, sadly (I suspect a combination of it needing to
fall back to Ruby due to Cygwin's lack of Go compiler, plus the standard
Cygwin overheads), but it's still pretty fast, and I've been using it
myself on Cygwin for a couple of weeks, and on my CentOS box for a fair
bit longer.

The upstream package has an MIT license and is already included by Arch
Linux[1].  The main setup.hint is below, and it's ready to upload as
soon as it's declared GTG; I've uploaded the entire package tree[2] and
Cygport packaging code[3] for reference, too.

[0]: https://github.com/junegunn/fzf
[1]: https://aur.archlinux.org/packages/fzf/
[2]: https://tastycake.net/~adam/cygwin/fzf/
[3]: https://github.com/me-and/Cygwin-fzf/

Adam

category: Shells
requires: ruby ruby-curses 
sdesc: "Command line fuzzy finder"
ldesc: "fzf is a general-purpose command-line fuzzy finder"