Changes between Initial Version and Version 1 of npl/overig/libvmime


Ignore:
Timestamp:
05/25/09 18:03:42 (15 years ago)
Author:
rick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • npl/overig/libvmime

    v1 v1  
     1= Automatisch pakketje creeren via newpackage =
     2
     3Hierin beschrijven we hoe je een pakketje maakt met behulp van het ./newpackage script.
     4
     5We gaan libvmime maken.
     6
     7Eerst zoeken we de url naar het source pakketje op en dan geven we het volgende commando:
     8
     9{{{
     10r3m0t3h0st npl # ./newpackage overig libvmime "http://mesh.dl.sourceforge.net/sourceforge/vmime/libvmime-0.8.1.tar.bz2"
     11/home/psy/syn3/npl/overig/libvmime /home/psy/syn3/npl
     12--2008-09-19 15:50:42--  http://mesh.dl.sourceforge.net/sourceforge/vmime/libvmime-0.8.1.tar.bz2
     13Resolving mesh.dl.sourceforge.net... 213.203.218.122
     14Connecting to mesh.dl.sourceforge.net|213.203.218.122|:80... connected.
     15HTTP request sent, awaiting response... 200 OK
     16Length: 478197 (467K) [application/x-bzip2]
     17Saving to: `libvmime-0.8.1.tar.bz2'
     18
     19100%[====================================================================================>] 478,197     1.28M/s   in 0.4s
     20
     212008-09-19 15:50:42 (1.28 MB/s) - `libvmime-0.8.1.tar.bz2' saved [478197/478197]
     22
     23/home/psy/syn3/npl
     24REBUILD REQUIRED: ./libvmime.SlackBuild has changed!
     25REBUILDING /home/psy/syn3/npl/overig/libvmime/libvmime.SlackBuild:
     26Buildroot up-to-date check: (nopkgcheck to skip)........................................................................................................DONE
     27Buildroot /tmp/buildroot0._home_psy_syn3_builder repareren/syncen...OK
     28/home/psy/syn3/npl/overig/libvmime word gekopieerd naar werkdirectory /tmp/buildroot0._home_psy_syn3_builder/tmp/build
     29*** Chroot naar /tmp/buildroot0._home_psy_syn3_builder en starten van libvmime.SlackBuild in /tmp/build:
     30/dev/pts/10: No such file or directory
     311 /tmp/build > basename ./libvmime.SlackBuild
     321 /tmp/build > sed s/.SlackBuild//
     33...
     34checking gsasl.h usability... no
     35checking gsasl.h presence... no
     36checking for gsasl.h... no
     37configure: error: can't find an usable version of GNU SASL library
     3819 /tmp/build/libvmime-0.8.1 > exit 1
     3961 /tmp/build > exit 1
     40*** Er ging iets mis tijdens het bakken in de buildroot!
     41Om verder te testen/onderzoeken, tik:
     42chroot /tmp/buildroot0._home_psy_syn3_builder
     43Error while rebuilding /home/psy/syn3/npl/overig/libvmime/libvmime.SlackBuild!
     44}}}
     45
     46Zoals je ziet gaat alles automatisch, maar stopt de configure omdat hij blijkbaar de GNU sasl library nodig is.
     47
     48We zouden dit pakketje ook kunnen maken en als dependency instellen, maar we willen toch geen SASL support.
     49
     50Om te kijken of deze optie uitkan gaan we de buildroot in en voeren we ./configure --help uit:
     51{{{
     52r3m0t3h0st npl # chroot /tmp/buildroot0._home_psy_syn3_builder
     53stderr is not a tty - where are you?
     54[Syn-3] root@darkstar.example.net /# cd /tmp/build/libvmime-0.8.1
     55[Syn-3] root@darkstar.example.net /tmp/build/libvmime-0.8.1# ./configure --help
     56`configure' configures VMime Library 0.8.1 to adapt to many kinds of systems.
     57...
     58  --enable-sasl           Enable SASL support with GNU SASL, default: enabled
     59  --enable-tls            Enable TLS/SSL support with GNU TLS, default:
     60                          enabled
     61...
     62}}}
     63
     64We zien dat sasl en tls uitkunnen, dit zijn dingen die we niet nodig denken te zijn. (en anders komen we er wel achter tijdens het builden van andere pakketjes)
     65
     66We wijzigen de zojuist automatisch gecreerde slackbuild:
     67{{{
     68
     69r3m0t3h0st npl # mcedit overig/libvmime/libvmime.SlackBuild
     70(we voegen --disable-tls en --disable-sasl toe aan de CONFIGURE_OPTS variabelle)
     71}}}
     72
     73We proberen hem nogmaals te builden:
     74{{{
     75r3m0t3h0st npl # ./rebuildcheck libvmime
     76REBUILD REQUIRED: ./libvmime.SlackBuild has changed!
     77...
     78(duurt lang)
     79All rebuilds completed.
     80}}}
     81
     82Woei gelukt!
     83
     84Nu nog kijken of de inhoud van de .pkg er goed uitziet, en dan toevoegen aan svn/testen.
     85
     86
     87= update 1 =
     88
     89Dit pakketje had ik nodig voor zarafa:
     90
     91Het bleek dat je persee 0.7.1 moest hebben, en nog een aantal patches nodig bent van de zarafa site op http://drupal.zarafa.com/wiki/index.php/Libvmime_patches
     92
     93