diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-12-13 21:12:42 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-01-08 20:28:50 +0000 |
commit | 0352dfc203864632f558977b4c5a618917d7bfd7 (patch) | |
tree | 7d2f04201f04c43e0a7d5de6e0974c8c57e49f34 | |
parent | b8c7f05759ed07fcc08111948e45dbfa39ac53f8 (diff) | |
download | aports-0352dfc203864632f558977b4c5a618917d7bfd7.tar.bz2 aports-0352dfc203864632f558977b4c5a618917d7bfd7.tar.xz |
testing/sslscan: patch added
-rw-r--r-- | testing/sslscan/sslscan-makefile.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/sslscan/sslscan-makefile.patch b/testing/sslscan/sslscan-makefile.patch new file mode 100644 index 0000000000..c41eb230b1 --- /dev/null +++ b/testing/sslscan/sslscan-makefile.patch @@ -0,0 +1,28 @@ +diff -ru sslscan-1.8.2/Makefile sslscan-1.8.2.fc12/Makefile +--- sslscan-1.8.2/Makefile 2010-01-16 20:33:16.000000000 +0100 ++++ sslscan-1.8.2.fc12/Makefile 2010-01-16 20:41:10.000000000 +0100 +@@ -1,17 +1,17 @@ + SRCS = sslscan.c +-BINPATH = /usr/bin/ +-MANPATH = /usr/share/man/ ++BINPATH ?= /usr/bin/ ++MANPATH ?= /usr/share/man/ + + all: +- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) ++ gcc -g -Wall -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) + + install: +- cp sslscan $(BINPATH) +- cp sslscan.1 $(MANPATH)man1 ++ install -D -m 755 sslscan $(DESTDIR)$(BINPATH)sslscan ++ install -D -m 644 sslscan.1 $(DESTDIR)$(MANPATH)man1/sslscan.1 + + uninstall: +- rm -f $(BINPATH)sslscan +- rm -f $(MANPATH)man1/sslscan.1 ++ rm -f $(DESTDIR)$(BINPATH)sslscan ++ rm -f $(DESTDIR)$(MANPATH)man1/sslscan.1 + + clean: + rm -f sslscan |