Changeset 531


Ignore:
Timestamp:
Dec 15, 2017, 9:54:09 PM (7 years ago)
Author:
katerina
Message:

Fix for ticket #424 (make deb broken).

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/COPYING

    r209 r531  
    1919Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
    2020
     21On Debian-based systems, see /usr/share/common-licenses
    2122
    2223Incorporated code
  • trunk/Makefile.in

    r528 r531  
    846846                maintainer="$(DEFAULT_MAINTAINER)"; \
    847847        fi; \
    848         echo "$(PACKAGE) ($(VERSION)-$(BUILD_NUM)) stable; urgency=low" > debian/changelog; \
     848        codename=`lsb_release -a 2>/dev/null | grep Codename | cut -f 2`; \
     849        if test "x$$codename" = x; then \
     850                codename="stable"; \
     851        fi; \
     852        echo "$(PACKAGE) ($(VERSION)-$(BUILD_NUM)) $$codename; urgency=low" > debian/changelog; \
    849853        echo >> debian/changelog; \
    850854        echo "  * Initial release." >> debian/changelog; \
     
    856860        echo "End:" >> debian/changelog; \
    857861        cp   $(top_srcdir)/COPYING  debian/copyright; \
    858         touch debian/README.debian; \
     862        echo "9" > debian/compat; \
     863        echo "Nothing to see here." > debian/README.debian; \
    859864        echo "Document: @install_name@-manual" > debian/@install_name@.doc-base; \
    860865        echo "Title: @install_name@ Manual" >> debian/@install_name@.doc-base; \
     
    885890        echo "Package: @install_name@" >> debian/control; \
    886891        echo "Architecture: any" >> debian/control; \
    887         echo "Depends: libc6" >> debian/control; \
     892        echo "Depends: \$${shlibs:Depends}, \$${misc:Depends}" >> debian/control; \
    888893        echo "Description: File integrity checker"  >> debian/control; \
    889894        echo " A file integrity checker"  >> debian/control; \
     
    897902          echo "Package $$DEBFILE built."; \
    898903          cp $$DEBFILE ./$(PACKAGE)-$(VERSION)-$(BUILD_NUM).deb; \
    899           ln -s ./$(PACKAGE)-$(VERSION)-$(BUILD_NUM).deb ./$(PACKAGE)-$(VERSION).deb; \
     904          ln --backup=numbered -fs ./$(PACKAGE)-$(VERSION)-$(BUILD_NUM).deb ./$(PACKAGE)-$(VERSION).deb; \
    900905        fi; \
    901906        echo
  • trunk/configure.ac

    r529 r531  
    7272           ;;
    7373        esac
    74         ;;
     74        LDFLAGS="${LDFLAGS} -Wl,--as-needed"
     75        ;;
    7576       
    7677        *osf*)
  • trunk/docs/Changelog

    r530 r531  
    22        * fix 'clobbered by..' compiler warning is src/sh_portcheck.c
    33        * fix compiler warning because of deprecated _BSD_SOURCE macro
     4        * fix 'make deb' for Debian stretch (reported by Alasdair)
    45
    564.2.3:
  • trunk/init/samhain.startLSB.in

    r481 r531  
    33### BEGIN INIT INFO
    44# Provides: @install_name@
    5 # Required-Start: $syslog $network
    6 # Required-Stop: $syslog $network
     5# Required-Start: $syslog $network $remote_fs
     6# Required-Stop: $syslog $network $remote_fs
    77# Default-Start: 2 3 4 5
    88# Default-Stop: 0 1 6
  • trunk/init/samhain.startLinux.in

    r521 r531  
    1212### BEGIN INIT INFO
    1313# Provides: @install_name@
    14 # Required-Start: $syslog $network
    15 # Required-Stop: $syslog $network
     14# Required-Start: $syslog $network $remote_fs
     15# Required-Stop: $syslog $network $remote_fs
    1616# Default-Start: 2 3 4 5
    1717# Default-Stop: 0 1 6
  • trunk/rules.deb-light.in

    r425 r531  
    1212
    1313# This is the debhelper compatability version to use.
    14 export DH_COMPAT=4
     14export DH_COMPAT=9
    1515
    1616package=@install_name@
  • trunk/rules.deb.in

    r481 r531  
    1212
    1313# This is the debhelper compatability version to use.
    14 export DH_COMPAT=4
     14export DH_COMPAT=9
    1515
    1616package=@install_name@
Note: See TracChangeset for help on using the changeset viewer.