Skip to content

Commit

Permalink
* packaging/deb/amanda-backup-client.dirs,
Browse files Browse the repository at this point in the history
  packaging/deb/amanda-backup-client.install,
  packaging/deb/amanda-backup-server.install:
  s#usr/libexec/amanda#usr/lib/x86_64-linux-gnu/amanda#
* packaging/deb/rules:
  Set LIBDIR to $(PREFIX)/lib/$(triplet) on x86_64-linux-gnu
  Set LIBEXECDIR to $(LIBDIR)


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@7039 a8d146d6-cc15-0410-8900-af154a0219e0
  • Loading branch information
Jean-Louis Martineau committed Jan 18, 2017
1 parent 6e0c1e4 commit 0f78866
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2017-01-18 Jean-Louis Martineau <[email protected]>
* packaging/deb/amanda-backup-client.dirs,
packaging/deb/amanda-backup-client.install,
packaging/deb/amanda-backup-server.install:
s#usr/libexec/amanda#usr/lib/x86_64-linux-gnu/amanda#
* packaging/deb/rules:
Set LIBDIR to $(PREFIX)/lib/$(triplet) on x86_64-linux-gnu
Set LIBEXECDIR to $(LIBDIR)

2017-01-17 Jean-Louis Martineau <[email protected]>
* device-src/s3.c: Fix for '/' in prefix, fix for port in S3-HOST

Expand Down
2 changes: 1 addition & 1 deletion packaging/deb/amanda-backup-client.dirs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
etc/amanda
usr/lib/amanda
usr/libexec/amanda
usr/lib/x86_64-linux-gnu/amanda
usr/share/lintian/overrides
usr/share/man/man5
usr/share/man/man8
Expand Down
4 changes: 2 additions & 2 deletions packaging/deb/amanda-backup-client.install
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
etc/amanda/*
usr/lib/amanda/*
usr/lib/amanda/application/*
usr/libexec/amanda/*
usr/libexec/amanda/application/*
usr/lib/x86_64-linux-gnu/amanda/*
usr/lib/x86_64-linux-gnu/amanda/application/*
usr/sbin/amaespipe
usr/sbin/amcryp*
usr/sbin/amgpgcrypt
Expand Down
4 changes: 2 additions & 2 deletions packaging/deb/amanda-backup-server.install
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
etc/amanda/*
usr/lib/amanda/*
usr/lib/amanda/application/*
usr/libexec/amanda/*
usr/libexec/amanda/application/*
usr/lib/x86_64-linux-gnu/amanda/application/*
usr/lib/x86_64-linux-gnu/amanda/*
usr/sbin/*
usr/share/man/man5/*
usr/share/man/man7/*
Expand Down
13 changes: 10 additions & 3 deletions packaging/deb/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,21 @@
# confused... some sort of race condition in the makefiles?

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_VERBOSE=1
AMVER=`cat FULL_VERSION`

# These are variables that the user can override. They get used in various
# places during configure, build, and install.
PREFIX=/usr
BINDIR=$(PREFIX)/bin
triplet := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
ifeq ($(triplet),x86_64-linux-gnu)
LIBDIR=$(PREFIX)/lib/$(triplet)
else
LIBDIR=$(PREFIX)/lib
endif
AMLIBDIR=$(LIBDIR)/amanda
LIBEXECDIR=$(PREFIX)/libexec
LIBEXECDIR=$(LIBDIR)
AMLIBEXECDIR=$(LIBEXECDIR)/amanda
MANDIR=$(PREFIX)/share/man
DOCDIR=$(PREFIX)/share/doc
Expand All @@ -42,6 +47,7 @@ log=$(shell pwd)/debian/dpkg.log
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_BUILD_ARCH_BITS ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_BITS)

WD=$(shell pwd)

Expand All @@ -57,6 +63,7 @@ build-stamp: /sbin/dump /usr/bin/smbclient
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=$(PREFIX) \
--libdir=$(LIBDIR) \
--bindir=$(BINDIR) \
--mandir=$(MANDIR) \
--libexecdir=$(LIBEXECDIR) \
Expand Down Expand Up @@ -182,7 +189,7 @@ binary-arch: build
$(server)/usr/share/lintian/overrides/amanda-backup-server
dh_makeshlibs >> $(log) 2>&1
dh_perl >> $(log) 2>&1
dh_shlibdeps -l"$(r)/usr/lib:$(client)/usr/lib:$(server)/usr/lib" >> $(log) 2>&1
dh_shlibdeps -l"$(r)$(LIBDIR):$(client)$(LIBDIR):$(server)$(LIBDIR)" >> $(log) 2>&1
dh_installdeb >> $(log) 2>&1
dh_gencontrol >> $(log) 2>&1
dh_md5sums >> $(log) 2>&1
Expand Down

0 comments on commit 0f78866

Please sign in to comment.