Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Man pages #11

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
885ce70
Include <string.h>
Traace Feb 12, 2019
f617564
Initial support for compiling from source.
hackerb9 Oct 10, 2019
7fef439
Don't include binaries in standard source code. (Should be in releases).
hackerb9 Oct 10, 2019
87f66f0
Fix recursive make to be conditional on cd
hackerb9 Oct 10, 2019
6619412
Fix up recursive make properly use $(MAKE), -k, and -C
hackerb9 Oct 10, 2019
f1ce18e
Fix 'make clean' to clean the right directory
hackerb9 Oct 10, 2019
5ad7c2e
make clean shouldn't return an error if .o files don't exist
hackerb9 Oct 10, 2019
1f8773b
make clean shouldn't return an error if .o files don't exist
hackerb9 Oct 10, 2019
b417a97
Don't include binaries in source code
hackerb9 Oct 10, 2019
5d299e9
.h files should not be executable.
hackerb9 Oct 10, 2019
5f51dc4
.c files should not be executable
hackerb9 Oct 10, 2019
f37ccc3
Don't call binary binhack32 (or 64). Just binhack.
hackerb9 Oct 10, 2019
b33e64d
Don't include upx binary in source.
hackerb9 Oct 10, 2019
60ed897
Use system upx if available. Ignore upx, if not.
hackerb9 Oct 10, 2019
1d757bf
Ignore upx in "all" target as well as "linux".
hackerb9 Oct 10, 2019
62ca7d3
"linux" target shouldn't duplicate code from "all"
hackerb9 Oct 10, 2019
c8a1b57
Add -Wno-narrowing to ignore C++ narrowing errors
hackerb9 Oct 10, 2019
585ff1c
Ignore BLOCKSIZE in du if user set it
hackerb9 Oct 10, 2019
de6b850
Upx is way to garrulous. Make it quieter with -qq.
hackerb9 Oct 11, 2019
8bcc403
Remove -Wno-narrowing ugliness. Fix C++ error by using UNSIGNED char …
hackerb9 Oct 11, 2019
465ddd7
Use cleaner sed syntax. No need to ignore errors from mkdir -p.
hackerb9 Oct 11, 2019
48bc65b
Add back in removing the build directory upon 'make clean'
hackerb9 Oct 11, 2019
2e2a559
Install binaries recursively
hackerb9 Oct 11, 2019
4545ce7
Use leading dash syntax instead of "|| true"
hackerb9 Oct 11, 2019
5fabf10
Rename 'build' target to 'compile'
hackerb9 Oct 11, 2019
3e6e7bb
Replace gets() with fgets()
hackerb9 Oct 11, 2019
b314209
#include common.h to define fwrite_as_big()
hackerb9 Oct 11, 2019
1d8b262
Add #include unistd.h for chdir()
hackerb9 Oct 11, 2019
686fea8
#include <stdio.h> for fgets
hackerb9 Oct 11, 2019
7a44779
Remove vestigal "compile_res" target
hackerb9 Oct 11, 2019
657e952
Don't recompile if the source files haven't changed.
hackerb9 Oct 11, 2019
6d3b49c
MacOS and Linux compiling are equivalent
hackerb9 Oct 11, 2019
b4790bb
Don't recompile if source hasn't changed.
hackerb9 Oct 11, 2019
7a57d9e
Don't recompile if source code hasn't changed
hackerb9 Oct 11, 2019
ba7011e
Ignore binary files in git
hackerb9 Oct 11, 2019
6d9bb5f
Use binhack, not binhack32
hackerb9 Oct 13, 2019
6981436
Use binhack, not binhack32
hackerb9 Oct 13, 2019
682c190
Don't wait for user to hit ENTER before exiting
hackerb9 Oct 13, 2019
72226a5
Don't wait for user to hit ENTER before exiting
hackerb9 Oct 13, 2019
ac2dc03
add 'make test' target to run the test script
hackerb9 Oct 13, 2019
45549d1
Don't wait for user to hit ENTER before exiting
hackerb9 Oct 13, 2019
f510dab
Don't wait for user to hit ENTER before exiting
hackerb9 Oct 13, 2019
c86e669
Make the build_linux and clean_linux scripts executable
hackerb9 Oct 13, 2019
c9708eb
Fixed debian package build to include binaries
hackerb9 Oct 13, 2019
82b8eac
Create new man page for cdirip.
hackerb9 Oct 13, 2019
5919fd9
cdirip was written by Nold, right?
hackerb9 Oct 14, 2019
c246a3d
Created man page for burncdi
hackerb9 Oct 14, 2019
bdd3cfc
fix double quotes within double quotes
hackerb9 Oct 14, 2019
ec971bc
Use a search path for the IP.BIN files
hackerb9 Oct 14, 2019
ec412fe
Add fallback if no directory with IP.BIN exists
hackerb9 Oct 14, 2019
ca85dde
Typos
hackerb9 Oct 14, 2019
2a6b3d7
Do not edit mksdiso script using sed from Makefile
hackerb9 Oct 14, 2019
c5c69f7
Created man page for mksdiso
hackerb9 Oct 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use system upx if available. Ignore upx, if not.
  • Loading branch information
hackerb9 committed Oct 10, 2019
commit 60ed897eeceaaa18d267651b1d1606db1e4406fc
8 changes: 4 additions & 4 deletions src/binhack/makefile
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
CC = g++
STRIP = strip
WINDRES = windres
PACKER = res/upx
PACKER = upx
RM = rm

# flags
@@ -31,7 +31,7 @@ all : $(OBJS)
linux : $(OBJS)
$(CC) -o $(TARGET) $(OBJS) $(CPPFLAGS) $(LIBS)
$(STRIP) $(TARGET)
./$(PACKER) $(PACKEROPT) $(TARGET)
-$(PACKER) $(PACKEROPT) $(TARGET)

# Mac OSX compiling, thanks to darcagn
osx : $(OBJS)
@@ -51,7 +51,7 @@ install: linux
cp $(TARGET) /usr/local/bin/

clean:
$(RM) -f $(OBJS)
-$(RM) $(OBJS)

clean-all: clean
$(RM) -f $(OBJS) $(TARGET)
-$(RM) $(OBJS) $(TARGET)