summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-09 13:47:00 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-09 13:47:29 +0900
commit4604f3dd754093ce4a7e8b25280b410450f5663e (patch)
treea76825597129eebcaa2865bff2eef17fd984c469
parentf06fb91e0373c52ed04740f8136bc7cfcc3c8766 (diff)
downloadwget-tizen.tar.gz
wget-tizen.tar.bz2
wget-tizen.zip
Change-Id: I56e40acbc5564e96f9980e8a9e4f69d331891ea6 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rwxr-xr-xconfigure16
-rw-r--r--packaging/wget.manifest5
-rw-r--r--packaging/wget.spec44
3 files changed, 57 insertions, 8 deletions
diff --git a/configure b/configure
index 96a8bb0..fa7ae9a 100755
--- a/configure
+++ b/configure
@@ -52428,12 +52428,12 @@ if test -n "$OPENSSL_CFLAGS"; then
pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
- ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl1.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "openssl1.1") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
+ pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl1.1" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -52445,12 +52445,12 @@ if test -n "$OPENSSL_LIBS"; then
pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
- ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl1.1\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "openssl1.1") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
+ pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl1.1" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -52471,9 +52471,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
+ OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl1.1" 2>&1`
else
- OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
+ OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl1.1" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$OPENSSL_PKG_ERRORS" >&5
diff --git a/packaging/wget.manifest b/packaging/wget.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/wget.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/wget.spec b/packaging/wget.spec
new file mode 100644
index 0000000..46cf907
--- /dev/null
+++ b/packaging/wget.spec
@@ -0,0 +1,44 @@
+Name: wget
+Version: 1.21.1
+Release: 0
+Summary: A Tool for Mirroring FTP and HTTP Servers
+License: GPL-3.0+
+Group: Productivity/Networking/Web/Utilities
+Url: http://www.gnu.org/software/wget/
+Source: %name-%version.tar.bz2
+Source1001: wget.manifest
+BuildRequires: automake
+BuildRequires: libidn-devel
+BuildRequires: makeinfo
+BuildRequires: pkgconfig(openssl1.1)
+
+%description
+Wget enables you to retrieve WWW documents or FTP files from a server.
+This can be done in script files or via the command line.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%configure --with-ssl=openssl
+make %{?_smp_mflags}
+
+%install
+%make_install
+%find_lang %{name}
+
+%lang_package
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license COPYING
+%doc doc/sample.wgetrc util/rmold.pl
+%{_mandir}/*/wget*
+%{_infodir}/wget*
+%config(noreplace) %{_sysconfdir}/wgetrc
+%{_bindir}/*
+%{_datadir}/locale/*/LC_MESSAGES/wget-gnulib.mo
+
+%changelog