[ITP] git-crypt 0.6.0

Nick Nauwelaerts nick.nauwelaerts@aquafin.be
Sat Aug 10 01:48:00 GMT 2019

> -----Original Message-----
> From: cygwin-apps-owner@cygwin.com [mailto:cygwin-apps-
> owner@cygwin.com] On Behalf Of Brian Inglis
> Sent: Friday, August 9, 2019 08:15
> To: cygwin-apps@cygwin.com
> Subject: Re: [ITP] git-crypt 0.6.0
> On 2019-08-08 22:17, Nick Nauwelaerts wrote:
> > git-crypt is a git plugin that transparently handles encryption/decryption
> > of files in combination with git. i've used it on and off again when i need
> > to place sensitive info on a location that could be public (or as most ppl
> > seem to use it: to save dotfiles on github without all your private stuff
> > being world readable). i've been using it sporadicly in cygwin for 2 months
> > as well without any issues.
> >
> > as such i made a cygport of it, but i'm not quite clear on how the process
> > works to submit it.
> See also:
> https://cygwin.com/packaging-contributors-guide.html
> https://cygwin.com/packaging-hint-files.html
> https://cygwin.com/packaging-package-files.html

i actually did go through all those to try and get everything right on the first go, seems i missed some things :)

> https://cygwin.com/package-server.html

since this seemed to be such a simple package i must admit i did not set up a mirror, i did however follow https://cygwin.com/packaging-contributors-guide.html (Installing your package for testing), extracting everything in my root dir as explained there. i assumed this would suffice since the package only contains 1 binary & 1 man page and no scripts or anything special that needs to be run.

> https://cygwin.com/package-upload.html

i figured if i made the cygport file and patches available you would import them in a build system like suse's openbuild to verify that no shortcuts were taken or my system was otherwise not comparable to normal install. come to think of it, kinda like what is proposed here: https://cygwin.com/ml/cygwin-apps/2019-08/msg00012.html :)

> but ignore anything that does not jive with cygport doing most of the grunt
> work
> for you:
> $ cygport package.cygport download all test upload announce

since i didn't bother with requesting access upload ofcourse fails, also making announce irrelevant. i'll will send an email with a key in the requested mail format asap.

> but you might want to run the latter two separately after manually installing
> and using the packages under Cygwin on your system.
> > cygport file & patches are here: https://github.com/inphobia/git-
> crypt.cygport
> >
> > cygport file was written by me, windows patches came from the issue
> tracker,
> > a link to the original patch is included as a comment in each patch file.
> >
> > it completes all cygport steps (compile, package, etc, ...) just fine and the
> > resulting package seems to be compliant.
> >
> > major distro references as requested for new packages:
> > https://software.opensuse.org/package/git-crypt
> > https://packages.debian.org/sid/git-crypt
> You can also check package availability easily on https://pkgs.org/:
> $ cygstart https://pkgs.org/download/git-crypt
> shows Alt Linux, Arch Linux, Debian, Fedora, FreeBSD, OpenSuSE, Ubuntu.
> > license: gpl v3
> >
> > tested on windows 10 x64 - 1903, cygwin 3.0.7
> You also have to build on x86 and provide public links to the
> package.cygport,
> source package-ver-1-src.tar.xz, x86 and x86_64 binary package-ver-1.hint,
> package-ver-1.tar.xz, x86 and x86_64 debuginfo package-debuginfo-ver-1.hint
> and
> package-debuginfo-ver-1.tar.xz files, from the build package-ver-1.arch/dist
> subdirectories.

uploaded them all here (x64 only):

because, for some reason the 32bit versions fails to build.

the first try i didn't have the required packages:
*** ERROR: Compiling this package requires i686-pc-cygwin binutils and gcc

so i installed all cygwin32* packages. seems i also has some mingw64-i686 packages left over which i uninstalled so the wouldn't get in the way.

and then my build broke with a missing ssl header for some reason:

crypto-openssl-10.cpp:31:33: fatal error: openssl/opensslconf.h: No such file or directory
 #include <openssl/opensslconf.h>

am i missing something obvious here like the i686 toolchain having different include paths or compiler arguments? or does openssl actually have different headers depending on arch, which is what quite a lot of google answers seem to point to.


// nick


Volg Aquafin op Facebook<https://www.facebook.com/AquafinNV> | Twitter<https://twitter.com/aquafinnv> | YouTube<http://www.youtube.com/channel/UCk_4P5BJ-MtEEDCkCsR_KqQ?feature=mhee> | LinkedIN<http://www.linkedin.com/company/aquafin/products> | Instagram<https://www.instagram.com/aquafin_nv/>

In het kader van de uitoefening van onze taken verzamelen we bij Aquafin persoonsgegevens. Hoe we omgaan met deze gegevens en wat de rechten van de betrokkenen zijn, kan je nalezen in onze privacy policy<https://www.aquafin.be/nl-be/privacy-policy>.

  P Denk aan het milieu. Druk deze mail niet onnodig af.

More information about the Cygwin-apps mailing list