[Tizen-submit] 20115: New package Tizen:IVI:Genivi/libpcap

noreply at tizen.org noreply at tizen.org
Fri Jan 31 02:32:50 GMT 2014


Hi,
Adding new package libpcap in project Tizen:IVI:Genivi. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.023331
Git project: platform/upstream/libpcap
Tag: submit/tizen_ivi_genivi/20140131.023331
Commit: b6bd8652859189c9d4eba710871cd700b0dd98de resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #20115

  submit:       Tizen:IVI:Genivi:build/libpcap(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.023331
Git project: platform/upstream/libpcap
Tag: submit/tizen_ivi_genivi/20140131.023331
Commit: b6bd8652859189c9d4eba710871cd700b0dd98de resetting manifest requested domain to floor

State:   new        2014-01-31T02:34:48 tizenrobot
Comment: <no comment>
new:
----
  0001-ocloexec.patch
  0002-bpf.patch
  0003-filter-fix.patch
  baselibs.conf
  libpcap-1.3.0.tar.gz
  libpcap.manifest
  libpcap.spec

spec files:
-----------

++++++ new spec file:
--- libpcap.spec
+++ libpcap.spec
@@ -0,0 +1,80 @@
+%define keepstatic 1
+Name:           libpcap
+VCS:            platform/upstream/libpcap#b6bd8652859189c9d4eba710871cd700b0dd98de
+Version:        1.3.0
+Release:        0
+License:        BSD-3-Clause
+Summary:        A Library for Network Sniffers
+Url:            http://www.tcpdump.org/
+Group:          System/Libraries
+Source:         %{name}-%{version}.tar.gz
+Source2:        baselibs.conf
+Source1001: 	libpcap.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0:         0001-ocloexec.patch
+Patch1:         0002-bpf.patch
+Patch2:         0003-filter-fix.patch
+BuildRequires:  automake
+BuildRequires:  bison
+BuildRequires:  flex
+BuildRequires:  libusb-devel
+
+%description
+libpcap is a library used by packet sniffer programs. It provides an
+interface for them to capture and analyze packets from network devices.
+This package is only needed if you plan to compile or write such a
+program yourself.
+
+%package devel
+Summary:        A Library for Network Sniffers
+Group:          Development/Libraries/C and C++
+Requires:       libpcap = %{version}
+
+%description devel
+libpcap is a library used by packet sniffer programs. It provides an
+interface for them to capture and analyze packets from network devices.
+This package is only needed if you plan to compile or write such a
+program yourself.
+
+%prep
+%setup -q
+# 0001-ocloexec.patch
+%patch0 -p1
+# 0002-bpf.patch
+%patch1 -p1
+# 0003-filter-fix.patch
+%patch2 -p1
+cp %{SOURCE1001} .
+
+%build
+pic="pic"
+autoreconf -fiv
+export CFLAGS="%{optflags} -f$pic" CXXFLAGS="%{optflags} -f$pic"
+%configure \
+  --enable-ipv6
+make %{?_smp_mflags} all shared
+
+%install
+%make_install
+
+%docs_package
+
+%post  -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%doc LICENSE

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list