From b0ff7aefe738cfb2ba1c5a7e883297427c1573a0 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 27 May 2010 10:12:40 +0000 Subject: Fix SSL support --- ckermit/build/ckermit.SlackBuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'ckermit') 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 # * Initial build. # 8.0.211-2: 27/may/2010 by Eric Hameleers -# * 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 -- cgit v1.2.3-65-gdbad