Projects
Eulaceura:Factory
iodine
_service:obs_scm:iodine.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:iodine.spec of Package iodine
Name: iodine Version: 0.8.0 Release: 1 Summary: Solution to tunnel IPv4 data through a DNS server License: ISC URL: http://code.kryo.se/iodine/ Source0: https://github.com/yarrick/%{name}/archive/refs/tags/v%{version}.tar.gz Source1: %{name}-client.conf Source2: %{name}-server.conf Source5: %{name}.logrotate.client Source6: %{name}.logrotate.server Source7: %{name}-client.service Source8: %{name}-server.service # Split man pages into client and server Patch1: iodine-0.8.0-split-man.patch BuildRequires: make BuildRequires: gcc BuildRequires: zlib-devel BuildRequires: systemd Requires: %{name}-client Requires: %{name}-server %description iodine lets you tunnel IPv4 data through a DNS server. This can be usable in different situations where internet access is firewalled, but DNS queries are allowed. It runs on Linux, Mac OS X, FreeBSD, NetBSD, OpenBSD and Windows and needs a TUN/TAP device. The bandwidth is asymmetrical with limited upstream and up to 1 Mbit/s downstream. This is meta-package to install both client and server. It also contain three documantation files: CHANGELOG, README, TODO. %package client Summary: Client part of solution to tunnel IPv4 data through a DNS server %{?systemd_requires} Provides: bundled(md5-deutsch) %description client This is the client part of iodine. %package server Summary: Server part of solution to tunnel IPv4 data through a DNS server Requires(post): systemd Requires(preun): systemd Requires(postun): systemd # This is actually needed for the %%triggerun script but Requires(triggerun) # is not valid. We can use %%post because this particular %%triggerun script # should fire just after this package is installed. Requires(post): systemd-sysv Requires: net-tools Provides: bundled(md5-deutsch) %description server This is the server part of iodine. %prep %setup -q -n %{name}-%{version}%{?prerel} %patch1 -p1 -b .split-man %build make %{?_smp_mflags} prefix=%{_prefix} CFLAGS="-c %{optflags} -DLINUX -D_GNU_SOURCE" %install make install prefix=%{buildroot}%{_prefix} install -Dp -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}-client install -Dp -m 0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/sysconfig/%{name}-server install -Dp -m 0644 %{SOURCE5} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name}-client install -Dp -m 0644 %{SOURCE6} %{buildroot}/%{_sysconfdir}/logrotate.d/%{name}-server install -Dp -m 0644 %{SOURCE7} %{buildroot}/%{_unitdir}/%{name}-client.service install -Dp -m 0644 %{SOURCE8} %{buildroot}/%{_unitdir}/%{name}-server.service %post client %systemd_post %{name}-client.service %preun client %systemd_preun %{name}-client.service %postun client %systemd_postun_with_restart %{name}-client.service %post server %systemd_post %{name}-server.service %preun server %systemd_preun %{name}-server.service %postun server %systemd_postun_with_restart %{name}-server.service %files %doc CHANGELOG LICENSE README.md %files client %{_sbindir}/%{name} %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-client %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}-client %{_mandir}/man8/%{name}.8.gz %{_unitdir}/%{name}-client.service %files server %{_sbindir}/%{name}d %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-server %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}-server %{_mandir}/man8/%{name}d.8.gz %{_unitdir}/%{name}-server.service %changelog * Thu May 11 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.8.0-1 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2