* [gentoo-commits] gentoo-x86 commit in net-wireless/reaver/files: reaver-1.4_cflags.patch reaver-1.4_var_db.patch reaver-1.4_parallel-make.patch
@ 2014-10-07 18:06 Jeroen Roovers (jer)
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2014-10-07 18:06 UTC (permalink / raw
To: gentoo-commits
jer 14/10/07 18:06:01
Modified: reaver-1.4_var_db.patch
Added: reaver-1.4_cflags.patch
reaver-1.4_parallel-make.patch
Log:
Make parallel. Respect CC/CFLAGS. Build verbosely.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path
1.2 net-wireless/reaver/files/reaver-1.4_var_db.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/reaver/files/reaver-1.4_var_db.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/reaver/files/reaver-1.4_var_db.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/reaver/files/reaver-1.4_var_db.patch?r1=1.1&r2=1.2
Index: reaver-1.4_var_db.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-wireless/reaver/files/reaver-1.4_var_db.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- reaver-1.4_var_db.patch 16 Oct 2013 17:36:22 -0000 1.1
+++ reaver-1.4_var_db.patch 7 Oct 2014 18:06:01 -0000 1.2
@@ -1,6 +1,5 @@
-diff -rupN a/src/Makefile.in b/src/Makefile.in
---- a/src/Makefile.in 2012-01-18 11:02:40.000000000 +0200
-+++ b/src/Makefile.in 2013-10-13 19:21:19.248837817 +0300
+--- a/src/Makefile.in
++++ b/src/Makefile.in
@@ -3,7 +3,7 @@ LIBWPS_DIR=libwps
INC=-I$(LIBWPS_DIR)
prefix=@prefix@
1.1 net-wireless/reaver/files/reaver-1.4_cflags.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/reaver/files/reaver-1.4_cflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/reaver/files/reaver-1.4_cflags.patch?rev=1.1&content-type=text/plain
Index: reaver-1.4_cflags.patch
===================================================================
--- a/src/wps/Makefile
+++ b/src/wps/Makefile
@@ -1,34 +1,34 @@
-CC=gcc
+CC?=gcc
INC=-I../utils -I ../
all: wps_attr_build.o wps_attr_parse.o wps_attr_process.o wps.o wps_common.o wps_dev_attr.o wps_enrollee.o wps_registrar.o wps_ufd.o
wps_attr_build.o:
- $(CC) $(INC) wps_attr_build.c -c
+ $(CC) $(CFLAGS) $(INC) wps_attr_build.c -c
wps_attr_parse.o:
- $(CC) $(INC) wps_attr_parse.c -c
+ $(CC) $(CFLAGS) $(INC) wps_attr_parse.c -c
wps_attr_process.o:
- $(CC) $(INC) wps_attr_process.c -c
+ $(CC) $(CFLAGS) $(INC) wps_attr_process.c -c
wps.o:
- $(CC) $(INC) wps.c -c
+ $(CC) $(CFLAGS) $(INC) wps.c -c
wps_common.o:
- $(CC) $(INC) wps_common.c -c
+ $(CC) $(CFLAGS) $(INC) wps_common.c -c
wps_dev_attr.o:
- $(CC) $(INC) wps_dev_attr.c -c
+ $(CC) $(CFLAGS) $(INC) wps_dev_attr.c -c
wps_enrollee.o:
- $(CC) $(INC) wps_enrollee.c -c
+ $(CC) $(CFLAGS) $(INC) wps_enrollee.c -c
wps_registrar.o:
- $(CC) $(INC) wps_registrar.c -c
+ $(CC) $(CFLAGS) $(INC) wps_registrar.c -c
wps_ufd.o:
- $(CC) $(INC) wps_ufd.c -c
+ $(CC) $(CFLAGS) $(INC) wps_ufd.c -c
clean:
rm -f *.o
1.1 net-wireless/reaver/files/reaver-1.4_parallel-make.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/reaver/files/reaver-1.4_parallel-make.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/reaver/files/reaver-1.4_parallel-make.patch?rev=1.1&content-type=text/plain
Index: reaver-1.4_parallel-make.patch
===================================================================
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -16,22 +16,22 @@
$(CC) $(CFLAGS) $(INC) wpscrack.c *.o $(LDFLAGS) -o reaver
libwps.o:
- (cd $(LIBWPS_DIR) && make)
+ (cd $(LIBWPS_DIR) && $(MAKE))
wps: libutils libcrypto
- (cd wps && make)
+ (cd wps && $(MAKE))
libutils:
- (cd utils && make)
+ (cd utils && $(MAKE))
libcrypto: libtls
- (cd crypto && make)
+ (cd crypto && $(MAKE))
libtls:
- (cd tls && make)
+ (cd tls && $(MAKE))
libiw:
- (cd lwe && make BUILD_STATIC=y libiw.a)
+ (cd lwe && $(MAKE) BUILD_STATIC=y libiw.a)
init.o:
$(CC) $(CFLAGS) init.c -c
@@ -93,12 +93,12 @@
clean:
rm -f *~ *.o reaver wash
rm -rf *.cache config.status config.log
- (cd utils && make clean)
- (cd tls && make clean)
- (cd crypto && make clean)
- (cd wps && make clean)
- (cd lwe && make realclean)
- (cd $(LIBWPS_DIR) && make clean)
+ (cd utils && $(MAKE) clean)
+ (cd tls && $(MAKE) clean)
+ (cd crypto && $(MAKE) clean)
+ (cd wps && $(MAKE) clean)
+ (cd lwe && $(MAKE) realclean)
+ (cd $(LIBWPS_DIR) && $(MAKE) clean)
rm -f Makefile config.h
cleanbin:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-07 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-07 18:06 [gentoo-commits] gentoo-x86 commit in net-wireless/reaver/files: reaver-1.4_cflags.patch reaver-1.4_var_db.patch reaver-1.4_parallel-make.patch Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox