From 14ca533807fb80739b678876801d1989df1040b1 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Mon, 3 Apr 2017 18:22:14 +0900 Subject: [PATCH] Installed config file for NAT64 Change-Id: Iffc1161b9feda490d6f378a25db9fa30a3bf8ac0 Signed-off-by: Seonah Moon --- packaging/tayga.spec | 5 +++++ tayga.conf | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 tayga.conf diff --git a/packaging/tayga.spec b/packaging/tayga.spec index fa4153c..c86f0de 100644 --- a/packaging/tayga.spec +++ b/packaging/tayga.spec @@ -6,6 +6,7 @@ Group: System/Tools License: GPL-2.0+ URL: http://www.litech.org/tayga/ Source0: %{name}-%{version}.tar.gz +BuildRequires: pkgconfig(libtzplatform-config) %description @@ -25,8 +26,12 @@ make %{?_smp_mflags} mkdir -p %{buildroot}%{_sbindir} cp tayga %{buildroot}%{_sbindir}/tayga +mkdir -p %{buildroot}%{TZ_SYS_ETC}/tayga/ +cp tayga.conf %{buildroot}%{TZ_SYS_ETC}/tayga/tayga.conf + %files %manifest tayga.manifest %defattr(-,root,root,-) %license COPYING %{_sbindir}/tayga +%attr(644,-,-) %{TZ_SYS_ETC}/tayga/tayga.conf diff --git a/tayga.conf b/tayga.conf new file mode 100644 index 0000000..400ce19 --- /dev/null +++ b/tayga.conf @@ -0,0 +1,5 @@ +tun-device nat64 +ipv4-addr 192.168.255.1 +prefix 2001:db8:1:ffff::/96 +dynamic-pool 192.168.255.0/24 +data-dir /var/db/tayga -- 2.7.4