SHA256
1
0
forked from pool/doh

Accepting request 729574 from home:mnhauke

Initial package for doh

OBS-URL: https://build.opensuse.org/request/show/729574
OBS-URL: https://build.opensuse.org/package/show/network:utilities/doh?expand=0&rev=1
This commit is contained in:
Marcus Meissner 2019-09-15 07:03:50 +00:00 committed by Git OBS Bridge
commit 457567ab1a
6 changed files with 98 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

13
_service Normal file
View File

@ -0,0 +1,13 @@
<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>

4
_servicedata Normal file
View File

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

View File

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

4
doh.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Sep 9 20:33:49 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 0.0.0+git.20190908

51
doh.spec Normal file
View File

@ -0,0 +1,51 @@
#
# spec file for package doh
#
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: doh
Version: 0.0.0+git.20190908
Release: 0
Summary: Simple DoH (DNS-over-HTTPS) client
License: MIT
Group: Productivity/Networking/DNS/Utilities
URL: https://github.com/curl/doh
#Git-Clone: https://github.com/curl/doh.git
Source: %{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcurl)
%description
A libcurl-using application that resolves a host name using
DNS-over-HTTPS (DOH).
This code uses POST requests unconditionally for this.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
install -Dm 0755 doh %{buildroot}%{_bindir}/doh
%files
%license LICENSE
%doc README.md
%{_bindir}/doh
%changelog