Add packaging files accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170105.025153 accepted/tizen/3.0.m2/tv/20170105.025300 accepted/tizen/3.0.m2/wearable/20170105.025356 accepted/tizen/3.0/common/20161114.111416 accepted/tizen/3.0/ivi/20161011.055354 accepted/tizen/3.0/mobile/20161015.033945 accepted/tizen/3.0/tv/20161016.005316 accepted/tizen/3.0/wearable/20161015.083600 accepted/tizen/ivi/20160304.110432 accepted/tizen/mobile/20160217.011529 accepted/tizen/mobile/20160217.080042 accepted/tizen/tv/20160217.011549 accepted/tizen/tv/20160217.080100 accepted/tizen/unified/20170309.040241 accepted/tizen/wearable/20160217.011616 accepted/tizen/wearable/20160217.080119 submit/tizen/20160211.020959 submit/tizen/20160212.065902 submit/tizen/20160216.235435 submit/tizen/20160217.021341 submit/tizen_3.0.m2/20170104.093754 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000005 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160304.083552 submit/tizen_unified/20170308.100415
authorZhang zhengguang <zhengguang.zhang@intel.com>
Tue, 8 Apr 2014 05:48:50 +0000 (13:48 +0800)
committerZhang zhengguang <zhengguang.zhang@intel.com>
Wed, 23 Apr 2014 01:14:20 +0000 (09:14 +0800)
packaging/openvpn.manifest [new file with mode: 0644]
packaging/openvpn.spec [new file with mode: 0644]

diff --git a/packaging/openvpn.manifest b/packaging/openvpn.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/openvpn.spec b/packaging/openvpn.spec
new file mode 100644 (file)
index 0000000..797b6e8
--- /dev/null
@@ -0,0 +1,68 @@
+Name:       openvpn
+Summary:    A full-featured SSL VPN solution
+Version:    2.3.2
+Release:    0
+Group:      Security/Network
+License:    GPL-2.0
+URL:        http://openvpn.net/
+Source0:    http://swupdate.openvpn.org/community/releases/%{name}-%{version}.tar.gz
+Source1001:    openvpn.manifest
+BuildRequires:  lzo-devel
+BuildRequires:  openssl-devel
+BuildRequires:  pam-devel
+BuildRequires:  iproute2
+Requires:      iproute2
+
+%description
+OpenVPN is a robust and highly flexible tunneling application that uses all
+of the encryption, authentication, and certification features of the
+OpenSSL library to securely tunnel IP networks over a single UDP or TCP
+port.  It can use the Marcus Franz Xaver Johannes Oberhumer's LZO library
+for compression.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+export CFLAGS
+export LDFLAGS
+%configure --disable-static \
+    --enable-pthread \
+    --enable-password-save \
+    --enable-iproute2 \
+    --with-ifconfig-path=/sbin/ifconfig \
+    --with-iproute-path=/sbin/ip \
+    --with-route-path=/sbin/route \
+    CFLAGS="$CFLAGS -fPIE" \
+    LDFLAGS="$LDFLAGS -pie"
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
+
+chmod -x sample/sample-scripts/*
+chmod -x sample/sample-config-files/*
+chmod -x contrib/openvpn-fwmarkroute-1.00/*
+
+%post   -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%license COPYING
+%doc AUTHORS ChangeLog PORTS
+%doc contrib sample/sample-keys sample/sample-scripts sample/sample-config-files
+%{_mandir}/man8/%{name}.8*
+%{_datadir}/doc/%{name}/
+%{_sbindir}/%{name}
+%{_libdir}/%{name}/
+%config %dir %{_sysconfdir}/%{name}/
+%{_includedir}/%{name}-plugin.h
+%exclude %{_datadir}/doc/%{name}/COPYING
+
+%changelog