Source: sipcrack
Version: 0.2-3
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap
sipcrack's upstream Makefile has a call to strip. This call breaks a
number of use cases:
* Cross building (because it uses the wrong strip).
* Generation of a -dbgsym package.
* DEB_BUILD_OPTIONS=nostrip.
Simply removing the call fixes all of these problems. Please consider
applying the attached patch.
Helmut
--- sipcrack-0.2.orig/Makefile
+++ sipcrack-0.2/Makefile
@@ -16,13 +16,11 @@
default: ${SIPCRACK} ${SIPDUMP} ${OBJS}
${CC} ${FLAGS} -o sipcrack ${OBJS} ${SIPCRACK} ${LIBS} ${LIBSSL}
${CC} ${FLAGS} -o sipdump ${OBJS} ${SIPDUMP} ${LIBS} ${LIBPCAP}
- strip sipcrack sipdump
@echo \* All done
no-openssl: ${SIPCRACK} ${SIPDUMP} ${OBJS} ${MD5}
${CC} ${FLAGS} -o sipcrack -DNO_OPENSSL ${OBJS} ${MD5} ${SIPCRACK} ${LIBS}
${CC} ${FLAGS} -o sipdump ${OBJS} ${SIPDUMP} ${LIBS} ${LIBPCAP}
- strip sipcrack sipdump
@echo \* All done
clean: