diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /net-misc/netsed | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'net-misc/netsed')
-rw-r--r-- | net-misc/netsed/Manifest | 7 | ||||
-rw-r--r-- | net-misc/netsed/files/netsed-0.01c-man.patch | 79 | ||||
-rw-r--r-- | net-misc/netsed/metadata.xml | 3 | ||||
-rw-r--r-- | net-misc/netsed/netsed-1.3.ebuild (renamed from net-misc/netsed/netsed-0.01c.ebuild) | 16 |
4 files changed, 7 insertions, 98 deletions
diff --git a/net-misc/netsed/Manifest b/net-misc/netsed/Manifest index b93bffdd4ebf..0708343f9931 100644 --- a/net-misc/netsed/Manifest +++ b/net-misc/netsed/Manifest @@ -1,7 +1,6 @@ -AUX netsed-0.01c-man.patch 2507 BLAKE2B 72c39f82972dc41124d2f91727db00ab08453ef93a5f7121e11e95bccc16c3ae329856e94225be4eed4a8d96b58c8c317fa368d40722047b1521bc9c5632448e SHA512 c418ffe795019054fe114189a4af7f3c05355645140c61b91739b3801025a273d9b20c8ccbeaeecf1285d3e1591a8f1af8b32982bcd772ee4ba09a5989e332ac DIST netsed-0.01b.tgz 6352 BLAKE2B 0aa8ed9f282f32d139e50af1a1c8d1aae118ff6e892475774125b45c229707c40544199ea70708827636a50e43b8f652138b244cb2f3857c854d49018b996fb7 SHA512 edef6ef6e39a17a46a3b4d8019ba2e742b2b5852f804df5e952461a792e3ba7a49fcc33353abf7e532e51586927f28f4b7c6da4f4fbd34a32cdf093f26163dd7 -DIST netsed-0.01c.tgz 12987 BLAKE2B 9d31a2cde79adc944f69cc2bf522a615201fd48dd1b46152b39368f36657ebebbfa5dbdecd91c965fb63d6e06a2a37317e005483a0c60be30a3ad178157418c2 SHA512 de1a1f38698cdcfa3b39975eb7b701abb97fd5035e306b63a6d5a459e4180cf8bb49dc2430acf4767e6d9f9c673f3e1e83040edfb8f331b9b1e10b0036058c57 +DIST netsed-1.3.tar.gz 28850 BLAKE2B 3349f9266f96bc397a85f52cf8515f0c0cb047496704ab1c1605cd479016a411662b0e7b08f3b14aa53bac250ea801b88ffcbd3ecd2609eecb1596cd41fec24a SHA512 5ffed86b462c6f89dac9d19184917b5b0759b49862ba0b34701ff2d3aa8cfe55502abb0b09594eb993c50a18962f0ca30c8e9cb96d2445f8c2877189b9a9ac79 DIST netsed_0.01c-2.diff.gz 3140 BLAKE2B 211c7f71a76b74fc47cc32dbd5e9ad05a2c7c67bd95de73b0bdb09249f245ab8b0190ee79b51cf1d2f2bc99cc0b7fdf8d358851fddafb2815adc640260122c77 SHA512 5a729e9800051449f7f52989cb65232e262ac6023f21b8ec688f3ce33ed4be79f9d00993aed7773d83dbe109927a5fc6c64e4775d4958136e5c891b6b82e6b83 EBUILD netsed-0.01b-r1.ebuild 529 BLAKE2B f69588f4e5a4a476be30f7ec5d24e632ab3c94d46c078f4cfab3a3fe22d459d92e0f99c17d1b0c988c87c8c51098cd9991b7e7bf2590c1eabece3adbab920cc6 SHA512 c0f2c24b074ab4117a605ba5e033fc0b5c3abef37b2a4666dab17e8bc78e7cef45579baf8e33141e4ee9e916317eeb27fc67647dfd42844c690e3692451c5151 -EBUILD netsed-0.01c.ebuild 549 BLAKE2B fd573f0fd565d719248187556c8ef66e889cd149e538e06382ce9e00cef14e4ddc39d663bafb6cc357c5a00ca2286bc5a3ba7790179fd88c9ac45e8335448437 SHA512 4c3e88592e6efda6ecf904961b86994478d3d0e87617d36be22fe4d87204d1320dc752babfd113aa307f32f8180d3002a4582488052bee746192b197fd633802 -MISC metadata.xml 246 BLAKE2B 51e0781372b853df95595d4124ba0f81cb5fab4dfb78745aeeebcc0728617634384d5f9a90f02b50c13330b29651450eb18dd782e1c485bea5bdcb5017fd1d63 SHA512 68010e77c1c73aa0f8b81bd63ec9734de511e7b3fef0edd156df2584f25b6d485656a4d11f200af89e53a1b3ece9d6d15e93a2d1ba63f83adf944841183cdf00 +EBUILD netsed-1.3.ebuild 459 BLAKE2B 3cee6f7685a4d57429a265d9a45cfa5d945df1e0a6d4648bbc4e8602d3d2fd5fe4f04db5120ca15736e2009161da0157767d290b21e2367dc9777cec32a95f7a SHA512 602306f98ae3822d49ef1178e226bc6c1923ee8cb3b52e9bc0aca55093f46d19b02ee57bf6d3bcefd813e8dbe71a1d7cdcd601c1a01470e90762175318b9e888 +MISC metadata.xml 168 BLAKE2B 5f277cc66dbafa7e7985433f84b0f9a656a176a9b901862e2a8353ca2d4526797dded9696e835b9696c7f72324e94959cfb5a22de49a7e3e61604153886037ab SHA512 00eec08786156434460f5ed77b647579546cf1a86341a4f2c9c9c84326468c2c21dc5101c4277103b19266bb6f788823f4ddf3b9d044da26326d79bf2ac9a274 diff --git a/net-misc/netsed/files/netsed-0.01c-man.patch b/net-misc/netsed/files/netsed-0.01c-man.patch deleted file mode 100644 index a35a88b87b02..000000000000 --- a/net-misc/netsed/files/netsed-0.01c-man.patch +++ /dev/null @@ -1,79 +0,0 @@ ---- netsed-0.01c.orig/debian/netsed.1 -+++ netsed-0.01c/debian/netsed.1 -@@ -0,0 +1,76 @@ -+.TH NETSED 1 "June 23, 2001" NETSED -+.SH NAME -+netsed \- network packet stream editor -+.SH SYNOPSIS -+.B netsed -+.I proto lport rhost rport rule1 -+.RI [ rule2 ] " " ... -+.SH DESCRIPTION -+NetSED is small and handful utility designed to alter the contents of -+packets forwarded thru your network in real time. It is really useful -+for network hackers in following applications: -+.TP -+.B black\-box protocol auditing -+whenever there are two or more propertiary boxes communicating over -+undocumented protocol (by enforcing changes in ongoing transmissions, -+you will be able to test if tested application is secure) -+.TP -+.B fuzz\-alike experiments, integrity tests -+whenever you want to test stability of the application and see how it -+ensures data integrity, -+.TP -+.B other common applications -+fooling other people, content filtering, etc etc \- choose whatever -+you want to. -+.LP -+It perfectly fits netgrep, netcat and tcpdump tools suite :P -+.SH OPTIONS -+.TP -+.B proto -+protocol specification (tcp or udp) -+.TP -+.B lport -+local port to listen on (see README for transparent traffic intercepting -+on some systems) -+.TP -+.B rhost -+where connection should be forwarded (0 = use destination address of -+incoming connection, see README) -+.TP -+.B rport -+destination port (0 = dst port of incoming connection) -+.TP -+.B rule\fIN\fR -+replacement rules (see below) -+.LP -+General replacement rules syntax: s/\fBpat1\fR/\fBpat2\fR\fI[/expire]\fR -+ -+This will replace all occurences of \fBpat1\fR with \fBpat2\fR in matching -+packets. Additional parameter (count) can be used to expire rule after 'count' -+succesful substitutions. Eight\-bit characters, including NULL and '/', can -+be passed using HTTP\-alike hex escape sequences (eg. %0a%0d). Single '%' -+can be reached by using '%%'. Examples: -+.TP -+.B 's/andrew/mike/1' -+replace 'andrew' with 'mike' (once) -+.TP -+.B 's/andrew/mike' -+replace all occurences of 'andrew' with 'mike' -+.TP -+.B 's/andrew/mike%00' -+replace 'andrew' with 'mike\\x00\\x00' (to keep orig. size) -+.TP -+.B 's/%%/%2f/20' -+replace '%' with '/' in first 20 packets -+.LP -+Rules are not working on cross\-packet boundaries and are evaluated from -+first to last not expired rule. -+.SH SEE ALSO -+.BR ngrep (8), -+.BR nc (1), -+ -+.BR /usr/share/doc/netsed/README.gz -+.SH AUTHOR -+\fBnetsed\fR was written by Michal Zalewski <lcamtuf@ids.pl>. -+ -+This manual page was written by Gergely Nagy <algernon@debian.org>. diff --git a/net-misc/netsed/metadata.xml b/net-misc/netsed/metadata.xml index 40f04073415b..1b2becffa26c 100644 --- a/net-misc/netsed/metadata.xml +++ b/net-misc/netsed/metadata.xml @@ -2,7 +2,4 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> - <upstream> - <remote-id type="freshmeat">netsed</remote-id> - </upstream> </pkgmetadata> diff --git a/net-misc/netsed/netsed-0.01c.ebuild b/net-misc/netsed/netsed-1.3.ebuild index 979b23a2ae47..ff0fe3ff7439 100644 --- a/net-misc/netsed/netsed-0.01c.ebuild +++ b/net-misc/netsed/netsed-1.3.ebuild @@ -1,22 +1,15 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Small tool for altering forwarded network data in real time" -HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" -SRC_URI="http://lcamtuf.coredump.cx/soft/obsolete/netsed.tgz -> ${P}.tgz" +HOMEPAGE="http://silicone.homelinux.org/projects/netsed/" +SRC_URI="http://silicone.homelinux.org/release/netsed/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" - -S=${WORKDIR}/${PN} - -PATCHES=( - "${FILESDIR}/${P}-man.patch" -) src_compile() { emake CFLAGS="${CFLAGS}" @@ -24,6 +17,5 @@ src_compile() { src_install() { dobin netsed - doman debian/netsed.1 - dodoc README + dodoc NEWS README } |