SHA256
1
0
forked from pool/doh

Accepting request 731594 from home:mnhauke

- Update to initial upstream release 0.1:
  * doh.1: initial man page
  * doh: sort the -h options alphabetically
  * version: add header file, support -V and call it version 0.1 now
  * README: show the current cloudflare URL in the example output
  * Update Google Public DNS DoH endpoint in example
  * doh_encode: fix the comparison for long host names
  * doh: added -k for insecure mode - skips server cert validation

OBS-URL: https://build.opensuse.org/request/show/731594
OBS-URL: https://build.opensuse.org/package/show/network:utilities/doh?expand=0&rev=3
This commit is contained in:
Martin Hauke 2019-09-21 20:33:42 +00:00 committed by Git OBS Bridge
parent 2e10af72e1
commit 486c64f6bc
3 changed files with 21 additions and 3 deletions

3
doh-0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b36c4b4a27fabb508d5d3bb0fb58bd9cfadcef30d22e552bbe5c4442ae81e742
size 9041

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Sep 17 21:08:59 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to initial upstream release 0.1:
* doh.1: initial man page
* doh: sort the -h options alphabetically
* version: add header file, support -V and call it version 0.1 now
* README: show the current cloudflare URL in the example output
* Update Google Public DNS DoH endpoint in example
* doh_encode: fix the comparison for long host names
* doh: added -k for insecure mode - skips server cert validation
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 9 20:33:49 UTC 2019 - Martin Hauke <mardnh@gmx.de> Mon Sep 9 20:33:49 UTC 2019 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,6 +1,7 @@
# #
# spec file for package doh # spec file for package doh
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de> # Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -17,14 +18,14 @@
Name: doh Name: doh
Version: 0.0.0+git.20190908 Version: 0.1
Release: 0 Release: 0
Summary: Simple DoH (DNS-over-HTTPS) client Summary: Simple DoH (DNS-over-HTTPS) client
License: MIT License: MIT
Group: Productivity/Networking/DNS/Utilities Group: Productivity/Networking/DNS/Utilities
URL: https://github.com/curl/doh URL: https://github.com/curl/doh
#Git-Clone: https://github.com/curl/doh.git #Git-Clone: https://github.com/curl/doh.git
Source: %{name}-%{version}.tar.xz Source: https://github.com/curl/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libcurl)
@ -34,7 +35,7 @@ DNS-over-HTTPS (DOH).
This code uses POST requests unconditionally for this. This code uses POST requests unconditionally for this.
%prep %prep
%setup -q %setup -q -n doh-doh-%{version}
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
@ -42,10 +43,12 @@ make %{?_smp_mflags}
%install %install
install -Dm 0755 doh %{buildroot}%{_bindir}/doh install -Dm 0755 doh %{buildroot}%{_bindir}/doh
install -Dm 0644 doh.1 %{buildroot}%{_mandir}/man1/%{name}.1
%files %files
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{_bindir}/doh %{_bindir}/doh
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog %changelog