--- dhis-mx-sendmail-engine-5.0.orig/Makefile +++ dhis-mx-sendmail-engine-5.0/Makefile @@ -25,13 +25,13 @@ # # DHIS(c) Dynamic Host Information System Release 5.0 -CC=gcc -CFLAGS=-Wall +#CC=gcc +#CFLAGS=-Wall -O2 -pipe LFLAGS= LIBS= RM=rm -f -INSTALLDIR=/etc/dhis/bin +INSTALLDIR=$(DESTDIR)/usr/lib/dhis-server MODE=700 OWNER=root MKDIR=mkdir -p --- dhis-mx-sendmail-engine-5.0.orig/debian/changelog +++ dhis-mx-sendmail-engine-5.0/debian/changelog @@ -0,0 +1,20 @@ +dhis-mx-sendmail-engine (5.0-3) unstable; urgency=medium + + * Bump debhelper compat level. Closes: #800186 + * Bump Standards-Version. + * Replace debian/rules with one using dh. + + -- Guus Sliepen Sun, 27 Sep 2015 19:54:42 +0200 + +dhis-mx-sendmail-engine (5.0-2) unstable; urgency=low + + * #include instead of . Closes: #194896 + + -- Guus Sliepen Tue, 27 May 2003 17:19:33 +0200 + +dhis-mx-sendmail-engine (5.0-1) unstable; urgency=low + + * Initial Release. + + -- Guus Sliepen Sat, 22 Jun 2002 12:42:24 +0200 + --- dhis-mx-sendmail-engine-5.0.orig/debian/compat +++ dhis-mx-sendmail-engine-5.0/debian/compat @@ -0,0 +1 @@ +9 --- dhis-mx-sendmail-engine-5.0.orig/debian/control +++ dhis-mx-sendmail-engine-5.0/debian/control @@ -0,0 +1,17 @@ +Source: dhis-mx-sendmail-engine +Section: net +Priority: optional +Maintainer: Guus Sliepen +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.6 + +Package: dhis-mx-sendmail-engine +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dhis-server, sendmail +Description: Dynamic Host Information System - sendmail MX engine + This package contains a mail relaying service module to be used + with dhisd release 5 or above and the dynamic DNS module. + . + While the DHIS server dhisd retrieves dynamic IP addresses + from clients, this module allows the server to deliver messages + that were previously queued for the newly online host. --- dhis-mx-sendmail-engine-5.0.orig/debian/copyright +++ dhis-mx-sendmail-engine-5.0/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Guus Sliepen on +Sat, 22 Jun 2002 11:28:45 +0200. + +It was downloaded from http://www.dhis.org/dhis/r5/ + +Upstream Author: Joao Cabral + +Copyright: + + Copyright (c) 1998-2001 Joao Cabral (jcnc@dhis.org) + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + DHIS(c) Dynamic Host Information System Release 5.1 --- dhis-mx-sendmail-engine-5.0.orig/debian/dirs +++ dhis-mx-sendmail-engine-5.0/debian/dirs @@ -0,0 +1 @@ +usr/lib/dhis-server --- dhis-mx-sendmail-engine-5.0.orig/debian/docs +++ dhis-mx-sendmail-engine-5.0/debian/docs @@ -0,0 +1,2 @@ +README +CONTRIBUTORS --- dhis-mx-sendmail-engine-5.0.orig/debian/rules +++ dhis-mx-sendmail-engine-5.0/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ --parallel --- dhis-mx-sendmail-engine-5.0.orig/dhis-mx-sendmail-engine.c +++ dhis-mx-sendmail-engine-5.0/dhis-mx-sendmail-engine.c @@ -46,10 +46,10 @@ #include #include #include -#include +#include -#define DHISD_DB "/etc/dhis/db/dhis.db" -#define DHISE_LOG "/etc/dhis/log/dhis-mx-sendmail-engine.log" +#define DHISD_DB "/etc/dhis-server/dhis.db" +#define DHISE_LOG "/var/log/dhis-mx-sendmail-engine.log" #define SENDMAIL "/usr/sbin/sendmail" #define MAX_HOSTNAME 64