sys-kernel/tirdad: new package

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-12-26 12:10:01 +01:00
parent 62e7da4eeb
commit 0661995560
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST tirdad-0_p20200926.zip 16985 BLAKE2B c0b8e289e6731ca86d1c29dce256468d634167bde9196f620a037cccb4737788b54dd6544c79ecff6c61dd4f4c62920a541e1dbe8db301c948b7923ae82be393 SHA512 4bff32fd61712bb48cb9f723193f3f7f9a35c7cd537ff2b0736f7b0169e74016d69479e24464084e19a749ce67b33278421b9b2a80c007cf53f6836e3126427d

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription>
tirdad (pronounce /tērdäd/) is a kernel module to hot-patch the Linux
kernel to generate random TCP Initial Sequence Numbers for IPv4 TCP connections. You can
refer to this bog post to get familiar with the original issue:
https://bitguard.wordpress.com/?p=982
</longdescription>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">0xsirus/tirdad</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-mod
COMMIT="9a0e137ae05dd1aa05c20750975598e4dac77dbf"
DESCRIPTION="kernel module for random ISN generation"
HOMEPAGE="https://github.com/0xsirus/tirdad"
SRC_URI="https://github.com/0xsirus/tirdad/archive/${COMMIT}.zip -> ${P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="app-arch/unzip"
S="${WORKDIR}/${PN}-${COMMIT}"
MODULE_NAMES="tirdad(misc:${S}:${S}/module)"
BUILD_TARGETS="all"
src_compile() {
linux-mod_src_compile || die
}
src_install() {
einstalldocs
linux-mod_src_install || die
}