diff options
Diffstat (limited to 'app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile.patch')
-rw-r--r-- | app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile.patch b/app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile.patch new file mode 100644 index 0000000..87e38fe --- /dev/null +++ b/app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile.patch @@ -0,0 +1,29 @@ +--- makefile.linux 2003-11-16 22:38:20.000000000 -0500 ++++ Makefile 2010-08-09 13:10:59.000000000 -0400 +@@ -1,14 +1,18 @@ ++OBJS = Public.o ChainWalkContext.o ChainWalkSet.o CrackEngine.o HashAlgorithm.o HashSet.o HashRoutine.o MemoryPool.o RainbowCrack.o RainbowTableDump.o RainbowTableGenerate.o RainbowTableSort.o + + all: rtgen rtdump rtsort rcrack + +-rtgen: +- g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableGenerate.cpp -lssl -O3 -o rtgen ++rtgen: $(OBJS) ++ $(CXX) -lssl -lcrypto $(LDFLAGS) Public.o ChainWalkContext.o HashAlgorithm.o HashRoutine.o RainbowTableGenerate.o -o rtgen + +-rtdump: +- g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableDump.cpp -lssl -o rtdump ++rtdump: $(OBJS) ++ $(CXX) -lssl -lcrypto $(LDFLAGS) Public.o ChainWalkContext.o HashAlgorithm.o HashRoutine.o RainbowTableDump.o -o rtdump + +-rtsort: +- g++ Public.cpp RainbowTableSort.cpp -o rtsort ++rtsort: $(OBJS) ++ $(CXX) $(LDFLAGS) Public.o RainbowTableSort.o -o rtsort + +-rcrack: +- g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp HashSet.cpp MemoryPool.cpp ChainWalkSet.cpp CrackEngine.cpp RainbowCrack.cpp -lssl -O3 -o rcrack ++rcrack: $(OBJS) ++ $(CXX) -lssl -lcrypto $(LDFLAGS) Public.o ChainWalkContext.o HashAlgorithm.o HashRoutine.o HashSet.o MemoryPool.o ChainWalkSet.o CrackEngine.o RainbowCrack.o -o rcrack ++ ++clean: ++ rm -f $(OBJS) rtgen rtdump rtsort rcrack |