diff options
author | Eric Hameleers <alien@slackware.com> | 2010-05-27 10:12:40 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2010-05-27 10:12:40 +0000 |
commit | b0ff7aefe738cfb2ba1c5a7e883297427c1573a0 (patch) | |
tree | 5984539e670181c0b30cf3971408ca67aa12b281 /ckermit | |
parent | 9f40214cd7570c270dc3fc97a869cfebc68e68a2 (diff) | |
download | asb-b0ff7aefe738cfb2ba1c5a7e883297427c1573a0.tar.gz asb-b0ff7aefe738cfb2ba1c5a7e883297427c1573a0.tar.xz |
Fix SSL support
Diffstat (limited to 'ckermit')
-rwxr-xr-x | ckermit/build/ckermit.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ckermit/build/ckermit.SlackBuild b/ckermit/build/ckermit.SlackBuild index 8a9e37cb..0f627370 100755 --- a/ckermit/build/ckermit.SlackBuild +++ b/ckermit/build/ckermit.SlackBuild @@ -33,7 +33,8 @@ # 8.0.211-1: 20/Jan/2008 by Eric Hameleers <alien@slackware.com> # * Initial build. # 8.0.211-2: 27/may/2010 by Eric Hameleers <alien@slackware.com> -# * Updated the SlackBuild for Slackware 13.1 (64-bit too) +# * Updated the SlackBuild for Slackware 13.1 (64-bit too) and +# fixed the broken SSL support # # Run 'sh ckermit.SlackBuild' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -159,6 +160,9 @@ elif $(file ${SOURCE} | grep -q ": gzip"); then fi patch -p0 < $SRCDIR/${PRGNAM}_destdir.patch \ 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log +# c-kermit is incompatible with OpenSSL > 0.9.7 unless we patch it: +patch -p1 < $SRCDIR/${PRGNAM}_openssl.patch \ + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log if [ "$ARCH" == "x86_64" ]; then patch -p0 < $SRCDIR/${PRGNAM}_lib64.patch \ 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log @@ -167,12 +171,11 @@ chown -R root:root . chmod -R u+w,go+r-w,a+X-s . echo Building ... -export LDFLAGS="$SLKLDFLAGS" +export LDFLAGS="$SLKLDFLAGS -ld" export CXXFLAGS="$SLKCFLAGS" export CFLAGS="$SLKCFLAGS" -# Unfortunately, c-kermit is incompatible with OpenSSL > 0.9.7 -#make linux+openssl+shadow prefix=/usr KFLAGS="-DOPENSSL_097" \ -make linux prefix=/usr \ +#make linux prefix=/usr \ +make linux+openssl+shadow prefix=/usr KFLAGS="-DOPENSSL_097" \ 2>&1 | tee $OUTPUT/make-${PRGNAM}.log # Install all the needed stuff to the package dir |