SHA256
1
0
forked from pool/doh

Accepting request 732412 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/732412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/doh?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-09-23 10:39:14 +00:00 committed by Git OBS Bridge
commit 6d860dea1e
6 changed files with 21 additions and 23 deletions

View File

@ -1,13 +0,0 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://github.com/curl/doh.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="versionformat">0.0.0+git.%cd</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/curl/doh.git</param>
<param name="changesrevision">9c4a78588ac66c091ddc34816547c346cab10930</param></service></servicedata>

View File

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

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