gnutls4win and Debian

Simon Josefsson simon at josefsson.org
Mon May 26 10:15:58 CEST 2008


Hi Enrico!

Many thanks for this, I have added your script to the gnutls4win
repository and hooked it into the build path.  So future release will be
distributed as debian packages from the gnutls4win site too.  I created
*.deb's for 2.2.5 and 2.3.11.

May I ask that you release the script under GPLv2 or later?  I can add
the license template to the file.

Let me know if you want CVS write access so you can maintain the script
and make improvements.  For example, is it possible to sign the *.deb
file?

Thanks,
/Simon

Enrico Tassi <gareuselesinge at debian.org> writes:

> Hi, I'm a croos-compiling addicted and I like your gnutls4win stuff.
> Since I'm using Debian too, I made a simple script to take one of your
> .zip files and create a .deb package that installs files in
> /usr/i586-mingw32msvc. This eases the task of having a clean buid env.
>
> In case you are interested in it, I attach it. Is is very simple and
> uses the equivs tool, and sould be possible to integrate it in your
> Makefile.
>
> Cheers
> -- 
> Enrico Tassi
>
> #!/bin/sh
>
> VERSION=2.2.5
> DEBIAN_REVISION=-1
> FILE=gnutls-$VERSION.zip
> TMP=tmp
>
> rm -rf $TMP
> mkdir $TMP
> cp $FILE $TMP/
> cd $TMP/
> unzip $FILE
> rm $FILE
> echo Section: libs >> control
> echo Priority: optional >> control
> echo Standards-Version: 3.6.2 >> control
> echo >> control
> echo Package: mingw32-gnutls >> control
> echo Version: $VERSION$DEBIAN_REVISION >> control
> echo Maintainer: "${DEBFULLNAME:-'foo'} <${DEBEMAIL:-'foo <foo at foo>'}>" >> control
> echo Architecture: all >> control
> echo Files: >> control
> for F in `find . -type f | grep -v ^./control$ | sed s/..//`; do
> 	echo "	$F /usr/i586-mingw32msvc/$F" >> control
> done
> echo Description: gnutls library for mingw32 >> control
> echo ' This package includes both dlls and .h files' >> control
> equivs-build control
> mv mingw32-gnutls_$VERSION${DEBIAN_REVISION}_all.deb ..
> cd ..
> rm -rf $TMP/





More information about the Gnutls-devel mailing list