[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnutls4win and Debian

From: Simon Josefsson
Subject: Re: gnutls4win and Debian
Date: Mon, 26 May 2008 10:15:58 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

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


Enrico Tassi <address@hidden> 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
> FILE=gnutls-$
> 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 
> <address@hidden>'}>" >> 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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]