upload tizen1.0 source
authorKim Kibum <kb0929.kim@samsung.com>
Sun, 29 Apr 2012 08:01:04 +0000 (17:01 +0900)
committerKim Kibum <kb0929.kim@samsung.com>
Sun, 29 Apr 2012 08:01:04 +0000 (17:01 +0900)
m4/.gitignore [deleted file]
packaging/iptables.spec [new file with mode: 0644]
utils/.gitignore [deleted file]

diff --git a/m4/.gitignore b/m4/.gitignore
deleted file mode 100644 (file)
index 64d9bbc..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-/libtool.m4
-/lt*.m4
diff --git a/packaging/iptables.spec b/packaging/iptables.spec
new file mode 100644 (file)
index 0000000..30df5e3
--- /dev/null
@@ -0,0 +1,91 @@
+Name: iptables
+Summary: administration tools for packet filtering and NAT
+Version: 1.4.9.1
+Release: 1
+Source: %{name}-%{version}.tar.gz
+Group: System/Base
+URL: http://www.netfilter.org/
+License: GPLv2
+BuildRequires: kernel-headers
+Conflicts: kernel < 2.4.20
+
+%description
+These are the user-space administration tools for the Linux
+kernel's netfilter and iptables. netfilter and iptables provide
+a framework for stateful and stateless packet filtering, network 
+and port address translation, and other IP packet manipulation.
+The framework is the successor to ipchains.
+netfilter and iptables are used in applications such as Internet
+connection sharing, firewalls, IP accounting, transparent proxying,
+advanced routing and traffic control.
+
+%package ipv6
+Summary: IPv6 support for iptables
+Group: System/Base
+Requires: %{name} = %{version}-%{release}
+
+%description ipv6
+The iptables package contains IPv6 (the next version of the IP
+protocol) support for iptables. Iptables controls the Linux kernel
+network packet filtering code, allowing you to set up firewalls and IP
+masquerading. 
+
+Install iptables-ipv6 if you need to set up firewalling for your
+network and you are using ipv6.
+
+%package devel
+Summary: development files for iptable's libipq
+Group: System/Base
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files, static libs and documentation for libipq, iptables'
+user-space packet queuing library.
+
+%prep
+%setup -q
+
+%build
+%autogen
+%configure --prefix=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%post
+/sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+/usr/bin/iptables-xml
+/usr/lib/libip4tc.so
+/usr/lib/libip4tc.so.*
+/usr/lib/libiptc.so
+/usr/lib/libiptc.so.*
+/usr/lib/libxtables.so
+/usr/lib/libxtables.so.*
+/usr/libexec/xtables/libipt*
+/usr/libexec/xtables/libxt*
+/usr/sbin/iptables*
+
+%files ipv6
+%defattr(-,root,root)
+/usr/sbin/ip6tables*
+/usr/lib/libip6tc.so
+/usr/lib/libip6tc.so.*
+/usr/libexec/xtables/libip6t*
+
+%files devel
+%defattr(-,root,root)
+/usr/include/*
+/usr/lib/*.la
+/usr/lib/pkgconfig/*
+%{_mandir}/man8/iptables*
+%{_mandir}/man8/ip6tables*
diff --git a/utils/.gitignore b/utils/.gitignore
deleted file mode 100644 (file)
index ccfd2ec..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/nfnl_osf