summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2014-05-23 17:08:52 +0200
committerAndreas Beckmann <anbe@debian.org>2014-05-23 17:11:45 +0200
commit8049005dc6d9ec3ffec9b2b25b611de0b71ac9e2 (patch)
tree41708f579ec589650ab2d71c9fa8891eaa8a3306
parentc662d993380e1f0c6b78f3a027a0088979c9fc0a (diff)
downloadsendmail-8049005dc6d9ec3ffec9b2b25b611de0b71ac9e2.tar.gz
no longer install directly to PKG_DIR
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules25
2 files changed, 2 insertions, 25 deletions
diff --git a/debian/changelog b/debian/changelog
index 1afd37a..d48aeb6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ sendmail (8.14.4-6) UNRELEASED; urgency=medium
* Don't re-generate d/changelog during build.
* Abort build if debian/control got regenerated and differs.
* Create directories during 'd/rules install' instead of using .dirs.
+ * Patch sendmail build system to install libraries.
+ * Install files via debian/tmp and use dh_install/dh_installman.
-- Andreas Beckmann <anbe@debian.org> Tue, 22 Apr 2014 17:01:07 +0200
diff --git a/debian/rules b/debian/rules
index eed85ff..99b92ca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -352,31 +352,6 @@ common-install-arch::
$(MAKE) -C ${DEB_SRCDIR}/mail.local force-install DESTDIR="$(DEB_DESTDIR)"
# Debian stuff
$(MAKE) -C debian/sensible_mda install-arch DESTDIR="$(DEB_DESTDIR)"
- # Finally, install the whole enchilada
- for subdir in ${SM_SUBDIRS}; do \
- if [ -d ${DEB_SRCDIR}/$${subdir} ]; then \
- if [ "$${subdir}" = 'libmilter' ]; then \
- : ; \
- elif [ "$${subdir}" = 'mail.local' ] \
- || [ "$${subdir}" = 'rmail' ]; then \
- (cd ${DEB_SRCDIR}/obj*/$${subdir} && \
- $(MAKE) force-install \
- DESTDIR="../../../../${PKG_DIR}";); \
- else \
- (cd ${DEB_SRCDIR}/obj*/$${subdir} && \
- $(MAKE) install \
- DESTDIR="../../../../${PKG_DIR}";); \
- fi; \
- fi; \
- done;
- # Sendmail alias handling...
- # NOTE: whilst smptd is a valid alias for sendmail, we don't create
- # one so that we can co-exists with smtpd (a firewall frontend)
- # NOTE: newscache package also contains ${sbindir}/hoststat
- # NOTE: newalias, purgestat, etc. aren't for the general user..
- # yeah, yeah, I know... these can be done with -b<flag>!
- (cd ${PKG_DIR}${bindir} && \
- $(RM) hoststat mailq newaliases purgestat smtpd;)
# Handle man pages for the sendmail aliases
mv ${PKG_TMP}${mandir}/man5/aliases.5 \
${PKG_TMP}${mandir}/man5/aliases.sendmail.5