diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-07 01:33:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-07 01:33:16 +0100 |
commit | c8fd0d84af0bfd1949542adc2cbb735b1d28f9ed (patch) | |
tree | 3ee550255947da075650f1a551dcc278f9a1b7f8 /net-wireless/bss | |
parent | a978c074e4272bb901fbe4a10de0a7b2af574f17 (diff) |
gentoo resync : 07.05.2021
Diffstat (limited to 'net-wireless/bss')
-rw-r--r-- | net-wireless/bss/Manifest | 5 | ||||
-rw-r--r-- | net-wireless/bss/bss-0.8-r2.ebuild (renamed from net-wireless/bss/bss-0.8-r1.ebuild) | 18 | ||||
-rw-r--r-- | net-wireless/bss/files/bss-0.8-Makefile.patch | 34 | ||||
-rw-r--r-- | net-wireless/bss/metadata.xml | 7 |
4 files changed, 48 insertions, 16 deletions
diff --git a/net-wireless/bss/Manifest b/net-wireless/bss/Manifest index d8c531b08737..bf0c98a5c9ca 100644 --- a/net-wireless/bss/Manifest +++ b/net-wireless/bss/Manifest @@ -1,3 +1,4 @@ +AUX bss-0.8-Makefile.patch 855 BLAKE2B 0fa4bf57397212cc5749d06ebcabd062cb8de1d583d07a262820b323fe6b35a92659931120ad70fbf230a6a705040533ec2ef1a0c68d5f60baaf028cecc43665 SHA512 dc35c94eb4d9b2d84acd91ce98a51563bb54291d46714e1928dad84b3a9624d632d303f80189f9802bd35a5a7d9de57e21e119e3dc2fd6f097603975e42785b8 DIST bss-0.8.tar.gz 25128 BLAKE2B 3d62b48c796e0f820f6f607dcb49d52210545334f9d0066e2e5d3cbf4f86fbf04dbbf44e0cceca706c49109fd3e1cbf5eb26506a59255add818f4ac0a55d3d83 SHA512 274b7184837502f1f861dede5ee3a992006054e56704bace894b1eaa44b1a7449e188014e1675e3e5126a7bef8bcaf3799043537ce3b80967f15cb239bb6e894 -EBUILD bss-0.8-r1.ebuild 676 BLAKE2B f93d860be85f99b2d78e03c84fcde82fe829c916a01036624e9880fdbf520a1bdac469de37d6e3c8a8dac8d7e8bd1d69f83ded191141645f59bb31a078519344 SHA512 43d6ff62472a306fec0bd2729cd1be8aca8e832d20b7c6ac4e6fc6522c72859368211f91393498322564fdf217121be7171a05937743d87f10fd3091b2d3bed0 -MISC metadata.xml 216 BLAKE2B 20531789dc11e43feee7ec315a0c1c7249fdf73764e29cb7d6db439826e9ff72f24a5cdb8eb7f1ab99bbb41fb6e4226874a1d1fa4185de52598602bb3b0479a3 SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd +EBUILD bss-0.8-r2.ebuild 603 BLAKE2B ed25752add50c128ace1f27f1fd30f823602edaee68970dd0e9194f1d4862535f05aa8d0c6edf60d6bfa927fd5fd1cb3c6427ce466011b3f1e7134175d022b7d SHA512 ec406b9f7542509845bb7c4320a707c9993fd6d2e1372e4b6565c89256e284cea7496c809e29aafa16eb61164282b3bda9dba8f2b01ca46b58df65d0b6c2990c +MISC metadata.xml 250 BLAKE2B fe89695d5dcb55e3a59fe901cba061e1b73e5d09cc72d362bb3ec127aecdba741ba23920096bfad7a39c43e35ffbc006fe84f3e50a34c91097a32deceeb91e84 SHA512 c599b09b9aaf744dfe13d0707adde7d3dfd1a8a411e937fcba25e65c6045792cdcf6ceb9004e3dd38b014c486c9f1334bfc898419f59806ec6abebfc71bca382 diff --git a/net-wireless/bss/bss-0.8-r1.ebuild b/net-wireless/bss/bss-0.8-r2.ebuild index 8747d82157c1..c60a277a7b0a 100644 --- a/net-wireless/bss/bss-0.8-r1.ebuild +++ b/net-wireless/bss/bss-0.8-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,20 +12,16 @@ SRC_URI="http://securitech.homeunix.org/blue/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" DEPEND="net-wireless/bluez" +RDEPEND="${DEPEND}" -src_prepare() { - default - sed -i -e 's:/local::' Makefile || die -} +PATCHES=( + "${FILESDIR}"/${P}-Makefile.patch +) -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" \ - BSS_FLAGS="${LDFLAGS}" +src_configure() { + tc-export CC } src_install() { diff --git a/net-wireless/bss/files/bss-0.8-Makefile.patch b/net-wireless/bss/files/bss-0.8-Makefile.patch new file mode 100644 index 000000000000..6238ea6ae912 --- /dev/null +++ b/net-wireless/bss/files/bss-0.8-Makefile.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/725228 +--- a/Makefile ++++ b/Makefile +@@ -2,12 +2,10 @@ + # Pierre BETOUIN <pierre.betouin@security-labs.org> + # Modification Ollie Whitehouse <ol at uncon dot org> + +-CC=gcc +-MAKE=make +-CFLAGS=-Wall ++CFLAGS += -Wall + +-BINDIR=/usr/local/bin +-ETCDIR=/usr/local/etc ++BINDIR=/usr/bin ++ETCDIR=/usr/etc + + BSS_OBJ=bss + BSS_SRC=bss.c +@@ -22,10 +20,10 @@ BSS_LIBS=-lbluetooth + all: $(BSS_OBJ) + + $(BSS_OBJ): $(BSS_SRC) $(BSS_INC) +- $(CC) -c $(BSS_SRC) +- $(CC) -c $(L2P_SRC) +- $(CC) -c $(REP_SRC) +- $(CC) $(BSS_TMP) $(L2P_TMP) $(REP_TMP) -o $(BSS_OBJ) $(CFLAGS) $(BSS_FLAGS) $(BSS_LIBS) ++ $(CC) $(CFLAGS) $(CPPFLAGS) -c $(BSS_SRC) ++ $(CC) $(CFLAGS) $(CPPFLAGS) -c $(L2P_SRC) ++ $(CC) $(CFLAGS) $(CPPFLAGS) -c $(REP_SRC) ++ $(CC) $(LDFLAGS) $(BSS_TMP) $(L2P_TMP) $(REP_TMP) -o $(BSS_OBJ) $(CFLAGS) $(BSS_LIBS) + + install: + strip $(BSS_OBJ) diff --git a/net-wireless/bss/metadata.xml b/net-wireless/bss/metadata.xml index 79d462e85571..4073267daf2a 100644 --- a/net-wireless/bss/metadata.xml +++ b/net-wireless/bss/metadata.xml @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="person"> - <email>robbat2@gentoo.org</email> -</maintainer> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + </maintainer> </pkgmetadata> |