vsftpd build script
Hola mi amigos,
I am trying to create a Slackware package from vsftpd 2.0.3 source and would like a little help on modifying the build script in the current tree of Slackware. I have been using Slackware for a while now, but have just recently started to learn scripting and how to correctly use build scripts to create my own packages. The current build script for vsftpd 2.0.1: Code:
#!/bin/sh Do I only need to change the version/build, or what? And maybe a good explanation of what is going on in that code. :D |
You need the vsftpd.builddefs.diff.gz, vsftpd.conf.diff.gz, slack-desc
and doinst.sh.gz files, then change the version number and all should go well. For the explanation, as the script does a bunch of stuff, could you ask for a particular part ? |
first thing you'd wanna do is just replace the source tarball in the directory and then change the "VERSION=2.0.1" to "VERSION=2.0.3"... then run it like that and take note of any errors you get... i see there's a couple patches in the build directory so you'd probably have to make a couple adjustments, although that's not always the case... if the new version is just a bugfix release you might be just fine, but i haven't looked at the vsftpd changelog and also i haven't looked at those slackware patches so i'm not sure...
|
It seems as though the patches are nothing more than a way to enable different features of vsftpd. The links to the files are:
http://slackware.mirrors.pair.com/sl...lddefs.diff.gz http://slackware.mirrors.pair.com/sl...d.conf.diff.gz So i should be able to download them and modify it to my specifications and all will be well. The part of the script i wasn't sure of was: Code:
zcat $CWD/vsftpd.builddefs.diff.gz | patch -p1 --verbose |
zcat is like cat except it gunzips the file before cating it...
it's the same as doing a "gunzip -c"... |
All times are GMT -5. The time now is 07:45 AM. |