diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/crackle |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/crackle')
-rw-r--r-- | net-wireless/crackle/Manifest | 7 | ||||
-rw-r--r-- | net-wireless/crackle/crackle-0.1.ebuild | 28 | ||||
-rw-r--r-- | net-wireless/crackle/crackle-9999.ebuild | 30 | ||||
-rw-r--r-- | net-wireless/crackle/files/flags.patch | 20 | ||||
-rw-r--r-- | net-wireless/crackle/metadata.xml | 8 |
5 files changed, 93 insertions, 0 deletions
diff --git a/net-wireless/crackle/Manifest b/net-wireless/crackle/Manifest new file mode 100644 index 000000000000..9c07c29ea444 --- /dev/null +++ b/net-wireless/crackle/Manifest @@ -0,0 +1,7 @@ +AUX flags.patch 545 SHA256 0b41b26f95062ca9c996cb93cdf6e205e81daca395fce6425df25a69ccf51de7 SHA512 b229062f011559fce843bb5c47ae3b0cf03f30467ff51c3015d2ef39d61dc3625233625a869084f3e8bad8310332335817609fefb6cbcfcd78767158c50d158b WHIRLPOOL db27efd87ea65d7087cd218f8007e98098258084a4f471a2a9232bbc2fb20cd218b1010da1c2b867776f2d87ed01269c2e1bb97111287236ecb0f3cff57e0f13 +DIST crackle-0.1.tgz 27015 SHA256 07e31b5a67451b1d3baa3cde81cf5c945fd258df5b3df84fb12f01aaead4d5d6 SHA512 e60341e1fae6a3212028714a7bdba2c8f65d4b92d3d670194954df0e11e1f69a1bb6a5bcbdd5c4db54774cfe60955d50fbd2bfaff5fa615bf253f57283cfa17b WHIRLPOOL 837e3526d438b58473190e9e6f23e42e7f2d1b8d372b4aa3eeb47b245ac305e9e1f3fb49e03c648b802ecd128a5c88079026271dd8d07fdf50542040b19169e6 +EBUILD crackle-0.1.ebuild 513 SHA256 ce30c425858ef3e4e418320c3c2d4cfd21b668af88a8056263ee843830953ff7 SHA512 bd7539b307e8a5202c46313733b6b506df79fc484d8f587e362913d6d10815c85148c087ed91342b74beeca0e5f3a78f1583f0fb387b643d3ccd50cc19091023 WHIRLPOOL c123d57933384603f1fdf0ec8b785f303251e014fd4efe381e22a5d80fea6edc422641fa5e81106d5b289b8712e6df510dc1717d70a9ba94d637b37538a97b0a +EBUILD crackle-9999.ebuild 631 SHA256 8da1987d4d387905b6f735693209173b29b889ebd0584789a7fa0c7e443c8645 SHA512 d392dab65e531313efc14d5c52ba39e8ca08813b59ef4f2796969828339d9807e1939e2fab061e3038de597f4a0c03a37d1684e33a1ae4b8008aad1322b60574 WHIRLPOOL c199c8c2184e67e227360e8d37f36fbf7afa8e8e70a5f7874fe353df724bb20931cc38fb1c506dd5bf15716e0bcaaea458be8a7a6d8e7e16436542316a2dd03c +MISC ChangeLog 2374 SHA256 cc10126c443d3d7e03825a0941f3e8852da602c5bce21cdae5321beba02d6802 SHA512 7f04c7943da1e5dfb954b54b467b45b77406dafb3d11512f8b7af7fcbf22a4358318c4c2be26670d6a4ea094838018e390ae0cb88b0e9e927250e898053174ab WHIRLPOOL 1820ff060d61a337fec7a72909bea8595a6a623cebc411bc19d7772137d3b15d022d8a9918d853897d3f1fd7a5f94027cb34e04827f93065faf4615163790d58 +MISC ChangeLog-2015 808 SHA256 36b66e8d4a9d271139e53e8387b59b7f67310756b4537d9370f716f1fb32903a SHA512 9d44be5e284bfc6a7811a42d8cbd639693755bfee5b5d89321897019b9deb34d91e977da68b6b9e26d0f48f51adfbf542b6ef1ba0985082440ea3b7b0a39c048 WHIRLPOOL a8f3e733c165e68f0d8733ffb6ba5cf783089b6c5abec7d3bf1459ebdb5271fe5804d2c7060d16ebac6bc816488abd4a19c884fda17c057a1b62ecb9ac9e7b7a +MISC metadata.xml 241 SHA256 50b9f6c8946f5d421e8feb8ffbf48238d8b8b018e315f322548b47a89d80b32c SHA512 d308ccef737c1776c2d77c0761996ef272a5866f5d9ceeda4dd4ceede851a145f76281a29b4c4b154e5b10f1d57c9344010bfcf75ba52fb3f1b34a58e3c2053f WHIRLPOOL 5436d62e0cda11ff7a49a8bc1b2c7400a58ad347709d48be3f462530bac689e9e9e6340580b5ccec717498a010c4d2f16ecd5f35ab04356858e7c540ac3b1da3 diff --git a/net-wireless/crackle/crackle-0.1.ebuild b/net-wireless/crackle/crackle-0.1.ebuild new file mode 100644 index 000000000000..40b1f8f6a427 --- /dev/null +++ b/net-wireless/crackle/crackle-0.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Crackle cracks BLE Encryption (AKA Bluetooth Smart)" +HOMEPAGE="http://lacklustre.net/projects/crackle/" +SRC_URI="http://lacklustre.net/projects/crackle/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="net-libs/libpcap" +RDEPEND="${DEPEND}" + +RESTRICT="test" + +src_prepare() { + epatch "${FILESDIR}"/flags.patch +} + +src_install() { + dobin crackle +} diff --git a/net-wireless/crackle/crackle-9999.ebuild b/net-wireless/crackle/crackle-9999.ebuild new file mode 100644 index 000000000000..429a9ca3700e --- /dev/null +++ b/net-wireless/crackle/crackle-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Crackle cracks BLE Encryption (AKA Bluetooth Smart)" +HOMEPAGE="http://lacklustre.net/projects/crackle/" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/mikeryan/crackle.git" + inherit git-r3 + KEYWORDS="" +else + SRC_URI="http://lacklustre.net/projects/crackle/${P}.tgz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="test" + +RDEPEND="net-libs/libpcap" +DEPEND="${RDEPEND} + test? ( dev-lang/perl )" + +src_install() { + DESTDIR="${ED}" PREFIX=/usr emake install +} diff --git a/net-wireless/crackle/files/flags.patch b/net-wireless/crackle/files/flags.patch new file mode 100644 index 000000000000..c1c0bd570d36 --- /dev/null +++ b/net-wireless/crackle/files/flags.patch @@ -0,0 +1,20 @@ +diff -Naur crackle-0.1/Makefile crackle-0.1-patched/Makefile +--- crackle-0.1/Makefile 2013-02-15 01:04:24.000000000 -0500 ++++ crackle-0.1-patched/Makefile 2014-03-05 11:30:20.907003818 -0500 +@@ -4,13 +4,13 @@ + + OBJS = crackle.o aes.o aes-ccm.o aes-enc.o test.o + +-CFLAGS = -Wall -Werror -g +-LDFLAGS = -lpcap ++CFLAGS ?= -Wall -Werror -g ++LDFLAGS ?= + + all: crackle + + crackle: $(OBJS) +- $(CC) -o crackle $(OBJS) $(LDFLAGS) ++ $(CC) $(CFLAGS) -o crackle $(OBJS) -lpcap $(LDFLAGS) + + install: crackle + $(INSTALL) -m 0755 crackle $(INSTALL_DIR) diff --git a/net-wireless/crackle/metadata.xml b/net-wireless/crackle/metadata.xml new file mode 100644 index 000000000000..0bd171786a1f --- /dev/null +++ b/net-wireless/crackle/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>zerochaos@gentoo.org</email> +<name>Rick Farina</name> +</maintainer> +</pkgmetadata> |