Installed config file for NAT64 60/122760/1
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 3 Apr 2017 09:22:14 +0000 (18:22 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 3 Apr 2017 09:23:13 +0000 (18:23 +0900)
Change-Id: Iffc1161b9feda490d6f378a25db9fa30a3bf8ac0
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/tayga.spec
tayga.conf [new file with mode: 0644]

index fa4153c..c86f0de 100644 (file)
@@ -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 (file)
index 0000000..400ce19
--- /dev/null
@@ -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