Package Details: libtins 4.5-1

Git Clone URL: https://aur.archlinux.org/libtins.git (read-only, click to copy)
Package Base: libtins
Description: A high-level, multiplatform C++ network packet sniffing and crafting library
Upstream URL: http://libtins.github.io/
Keywords: c++ library networking package
Licenses: BSD
Submitter: kusakata
Maintainer: 2bluesc
Last Packager: 2bluesc
Votes: 9
Popularity: 0.005031
First Submitted: 2014-02-12 02:21 (UTC)
Last Updated: 2023-10-22 02:41 (UTC)

Latest Comments

<deleted-account> commented on 2023-06-02 01:00 (UTC)

Bumped to "git" version due to GCC issues.

Rolling to gcc10 should be able to build a stable version, but to keep things nice upstream we'll go to pulling from the master branch on git.

Relevant link: https://stackoverflow.com/questions/11069108/uint32-t-does-not-name-a-type

Thank you@paulieg for the comment below.

paulieg commented on 2023-05-31 06:19 (UTC)

Won't build because of missing include <cstdint> under GCC11+.

Here's a temporary PKGBUILD for a libtins-git:

pkgname=libtins-git
pkgver=VERSION
pkgrel=1
pkgdesc="A high-level, multiplatform C++ network packet sniffing and crafting library"
arch=('i686' 'x86_64')
url="http://libtins.github.io/"
license=('BSD')
depends=('libpcap' 'openssl' 'boost')
provides=('libtins')
conflicts=('libtins')
makedepends=('cmake' 'git')
options=('!libtool')
source=("libtins-git::git+https://github.com/mfontanini/libtins.git")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

build() {
  cd "${srcdir}/libtins-git"
  mkdir build
  cd build
  cmake -D CMAKE_INSTALL_PREFIX=/usr ../
  make
}

package() {
  cd "${srcdir}/libtins-git/build"
  make DESTDIR="${pkgdir}" install
  install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

<deleted-account> commented on 2022-04-08 21:48 (UTC)

Version bumped to 4.4

DDoSolitary commented on 2017-11-25 15:48 (UTC) (edited on 2017-11-25 16:51 (UTC) by DDoSolitary)

Could you please add boost to the build dependencies. Without it some features will be disabled. -- Could NOT find Boost CMake Warning at CMakeLists.txt:164 (MESSAGE): Disabling ACK tracking support as boost.icl was not found CMake Warning at CMakeLists.txt:180 (MESSAGE): Disabling TCP stream custom data support as boost.any was not found -- SETTING TO sniffer.cpp;packet_writer.cpp;pktap.cpp;tcp_stream.cpp;offline_packet_filter.cpp;ppi.cpp CMake Warning at /usr/share/cmake-3.9/Modules/FindBoost.cmake:552 (message): Imported targets and dependency information not available for Boost version (all versions older than 1.33) Call Stack (most recent call first): /usr/share/cmake-3.9/Modules/FindBoost.cmake:892 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake-3.9/Modules/FindBoost.cmake:1523 (_Boost_MISSING_DEPENDENCIES) examples/CMakeLists.txt:2 (FIND_PACKAGE) -- Could NOT find Boost CMake Warning at examples/CMakeLists.txt:27 (MESSAGE): Disabling HTTP requests example since boost.regex was not found

jetm commented on 2015-03-21 13:08 (UTC)

Updated to libtins v3.2