--- freem-mk-debian-package/mk-debian-package 2025/03/13 23:42:41 1.1.1.1 +++ freem-mk-debian-package/mk-debian-package 2025/03/14 00:13:41 1.2 @@ -1,7 +1,7 @@ #!/usr/bin/env bash # -# $Id: mk-debian-package,v 1.1.1.1 2025/03/13 23:42:41 snw Exp $ +# $Id: mk-debian-package,v 1.2 2025/03/14 00:13:41 snw Exp $ # Creates a Debian package for a specific FreeM version # # @@ -26,6 +26,9 @@ # along with FreeM. If not, see . # # $Log: mk-debian-package,v $ +# Revision 1.2 2025/03/14 00:13:41 snw +# Add copyright file +# # Revision 1.1.1.1 2025/03/13 23:42:41 snw # Initial commit # @@ -51,7 +54,7 @@ FREEM_VERSION=$1 SRCDIR=$(pwd) TMPDIR=$(mktemp -d) INFILE="freem-${FREEM_VERSION}.tar.gz" -OUTFILE="${TMPDIR}/freem_${FREEM_VERSION}.tar.gz" +OUTFILE="${TMPDIR}/freem_${FREEM_VERSION}.orig.tar.gz" TARDIR="${TMPDIR}/freem-${FREEM_VERSION}" URL="https://freem.coherent-logic.com/downloads/freem-${FREEM_VERSION}.tar.gz" @@ -89,4 +92,5 @@ fi echo "${PGM}: building the package..." cd "${TARDIR}" +export DEB_BUILD_MAINT_OPTIONS=hardening=-fortify,-format,-stackprotector,-stackprotectorstrong debuild -us -uc