Browse Source

lftp-4.9.2-2

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
8c5aa9d45d
1 changed files with 9 additions and 3 deletions
  1. 9 3
      l/lftp/lftp-vl.spec

+ 9 - 3
l/lftp/lftp-vl.spec

@@ -2,7 +2,7 @@ Summary: A sophisticated file transfer program
 Summary(ja): 洗練された ftp/http クライアント
 Name: lftp
 Version: 4.9.2
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Group: internet
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -15,7 +15,7 @@ Source: http://lftp.yar.ru/ftp/lftp-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: expat-devel
 BuildRequires: ncurses-devel
-BuildRequires: openssl-devel
+BuildRequires: gnutls-devel
 BuildRequires: pkgconfig
 BuildRequires: readline-devel
 BuildRequires: zlib-devel
@@ -63,18 +63,20 @@ CFLAGS="%{optflags}"
 CXXFLAGS="%{optflags}"
 LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"
 
+%if 0
 if pkg-config openssl ; then
     OPENSSL_CPPFLAGS=`pkg-config --cflags openssl`;
     OPENSSL_LDFLAGS=`pkg-config --libs-only-L openssl`;
     CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS"
     LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
 fi
+%endif
 
 export CFLAGS
 export CXXFLAGS
 export LDFLAGS
 
-%configure --with-modules --disable-static --with-openssl
+%configure --with-modules --disable-static --with-gnutls
 export tagname=CC
 make %{?_smp_mflags}
 
@@ -119,6 +121,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 
 %changelog
+* Sat Oct 16 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.2-2
+- disabled openssl.
+- built with gnutls.
+
 * Fri Mar 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.9.2-1
 - new upstream release.