From 13a3ce4d6b2caf301089b3092acb0b46def7ee0f Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 25 Jun 2009 16:29:36 +0000 Subject: libnet: adding libnet; libnids: adding libnids git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@485 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- net/libs/libnet/Manifest | 24 +++++ net/libs/libnet/libnet.mkbuild | 185 +++++++++++++++++++++++++++++++++++++ net/libs/libnids/Manifest | 24 +++++ net/libs/libnids/libnids-1.23.diff | 27 ++++++ net/libs/libnids/libnids.mkbuild | 185 +++++++++++++++++++++++++++++++++++++ 5 files changed, 445 insertions(+) create mode 100644 net/libs/libnet/Manifest create mode 100644 net/libs/libnet/libnet.mkbuild create mode 100644 net/libs/libnids/Manifest create mode 100644 net/libs/libnids/libnids-1.23.diff create mode 100644 net/libs/libnids/libnids.mkbuild (limited to 'net') diff --git a/net/libs/libnet/Manifest b/net/libs/libnet/Manifest new file mode 100644 index 0000000..e939670 --- /dev/null +++ b/net/libs/libnet/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST libnet_1.1.2.1.orig.tar.gz 1021236 MD5 be845c41170d72c7db524f3411b50256 RMD160 2d8d87930d09a74ab369bd7c240af4b5426ae380 SHA1 760783a2adbd845b731e2000aafa3cd9c3b028d5 SHA256 ab01882a3d0556176018c09342cd0731f7cbc8e687795009894c3326942c76ff SHA512 07ad785427ca9c608a2150095f0623edaefe99a09d06d208f5ee6c0de62b03635685eecfaa4872a63b4e66197aaea9ed4358c3308070102b8a6b63a9286dcb47 +MKBUILD libnet.mkbuild 5121 MD5 f46dd6aa0939cc9a35d197c2b5a1bcf0 RMD160 b04c1b5ddc06d2b453d23268bb607891ff226331 SHA1 e352e5763fbd334527cb573a11fab3e320072d8f SHA256 b6072065bbfae80749ec53114f2effeb59029793449ab9f415d737499347719c SHA512 b2f6d5a40856a149a50010fb575a37020a774a971c2f643dd991ea83cdf313e657f00137c68ec85a0b85b450ed437b694b5ffde1a465ba0c8519babf804c8e67 +PATCH libnet_1.1.2.1-2.diff.gz 250734 MD5 5d0019ed3751057497af425396ad02fd RMD160 acd43d4eb5e02b27791f3653f43434a62b7f58da SHA1 28b326c1996e6ba57bcfaa9c385c98392f180bb0 SHA256 7c68656c7059c336bba71fe9663f29fa4bf504edfb72aaacae0d70e78d762788 SHA512 2f10cb85475f2b6ae523194a7e484418604844aa1ef733c40e9f78fbf31b30ca93eb84b41949f3aa1af8b84732c93cd01ebec99ea20c9b8293ab8a82a4b2dee5 +SLACKBUILD libnet.SlackBuild 8020 MD5 7aa96203321e5958b62f1b1ccc7af367 RMD160 90c7a06ccb01dcad5007a54cd4143453888622f8 SHA1 35c02d3a9e0492198e1ed29591f64ec741651fc6 SHA256 e5711b7f4eda0178ab55d8856f78bfdc92a4d1b854eb0b6ecbb3c3365c8d1b76 SHA512 7894e266094dc322850d1f8f9a3d5db79e6b237ddcba5861d8a7a35f24cbfe2588ecc2ebe21eff29d1d2d2c709729224c86bf4e87c18936b00efcdcad25f6cb8 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBCAAGBQJKQ4/IAAoJEEHL93ESzgei5c4QAJ1UoAFiGFM+M85ynhb9U3pN +qzzBOHREEeyils2M2MmtuoLU/IZJlntHu47OVmOpERbGAlrsQwnnW9MK6QI/ayVx +9DIa7Dip/4jMIqfmPt+kIFaykdpIG6RnNb53ciQpZFw4uGnPNfVNgnYFxX4Yf60N +IgGlazN6PDir/+Lxv0ybs2HNho8xgNfjxGzCZMkef/fawGE7NYPxi5P+MEJWel42 +OJ4XXj1Hc1qi1zGPmCSOZxPLomb1PqP695CIW5OX0Z8NhjkOgReUDctpwTHLaP1h +Pt4VcPoQxwLREX6iKJ37fPC+BFSW6xIndSO8DZdmoS0KV0mmoQCrQNloYnD063LV +CpDQj+zLWUKqDopOjxk52AWz2LqxVOQ2KMOdIAe4Qk2NcyyqXNnXDm80+SugAStb +4GoSzBMR1E1AAhSfQTg+iBoxXWCFzGSdRuLWwNnlViePnvUyK7wB+bOyHJ8J4AUS +9xx1fqMRfUZ8pfM8x8AGXO+UKTuO+2XKxzsIgKZnp5MevRaDczLlFkxmJch4hQA8 +mR+B0dpPBTG+xsypeIacsiRCRWDIe7RF6Omr7Op8sjlte2c2RUDggc5b2m8zpzZd +Pk+AyspT+R9xzrqcyFJNoZP5IyGlQummCji/duCup84YBY0z/5vwJrelufJ+STtT +pn7XZdNk5fvcu5XlY8WO +=x7WI +-----END PGP SIGNATURE----- diff --git a/net/libs/libnet/libnet.mkbuild b/net/libs/libnet/libnet.mkbuild new file mode 100644 index 0000000..b4daaf2 --- /dev/null +++ b/net/libs/libnet/libnet.mkbuild @@ -0,0 +1,185 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# +# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +# Version $Rev: 803 $ - $Author: rhatto $ + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://ftp.de.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1.orig.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="libnet" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="1.1.2.1" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME"_"$VERSION.orig.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="README VERSION doc/BUGS doc/CHANGELOG doc/CONTRIB doc/COPYING doc/CVS doc/DESIGN_NOTES doc/MIGRATION doc/PACKET_BUILDING doc/PORTED doc/RAWSOCKET_NON_SEQUITUR doc/TODO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +[[PATCH URLS]]="http://ftp.de.debian.org/debian/pool/main/libn/libnet/libnet_1.1.2.1-2.diff.gz" +#[[REST OF DOINST.SH]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/$PKG_NAME" +[[SLACKBUILD PATH]]="net/libs/libnet" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libnet: libnet +libnet: +libnet: libnet provides a portable framework for low-level +libnet: network packet writing and handling. +libnet: +libnet: +libnet: +libnet: +libnet: +libnet: +libnet: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: manifest_check + on: untar_source + on: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries + on: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libnids: libnids +libnids: +libnids: Libnids is a library that provides the functionality of one +libnids: of the NIDS (Network Intrusion Detection System) components, +libnids: namely E-component. Libnids code watches all local network +libnids: traffic, cooks received datagrams a bit, and provides convenient +libnids: information about them to the NIDS analyzing modules. Libnids +libnids: performs assembly of TCP segments into TCP streams, IP +libnids: defragmentation, and TCP port scan detection. +libnids: +libnids: +#