Skip to content

Commit

Permalink
build bebug package
Browse files Browse the repository at this point in the history
Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
joergsteffens authored and Marco van Wieringen committed Feb 17, 2015
1 parent 10d5cff commit d383768
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions debian/control
Expand Up @@ -264,3 +264,12 @@ Description: Backup Archiving Recovery Open Sourced - tray monitor
GNOME.
.
The monitor constantly displays Bareos's status.

Package: bareos-dbg
Architecture: any
Section: debug
Priority: extra
Depends:
bareos (= ${binary:Version}),
${misc:Depends}
Description: Backup Archiving Recovery Open Sourced - debugging symbols
7 changes: 7 additions & 0 deletions debian/rules
Expand Up @@ -16,6 +16,11 @@ export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS=-v

#export DEB_BUILD_OPTIONS=noopt
#export DEB_CFLAGS_MAINT_APPEND=-O0
export CFLAGS=-g -O0
export CXXFLAGS=-g -O0

export daemon_user=bareos
export daemon_group=bareos
export director_daemon_user=${daemon_user}
Expand Down Expand Up @@ -79,6 +84,8 @@ override_dh_fixperms:
--exclude etc/bareos/ \
--exclude var/lib/bareos/

override_dh_strip:
dh_strip --dbg-package=bareos-dbg

%:
dh $@
2 changes: 1 addition & 1 deletion platforms/deb/bareos-xUbuntu_12.04.dsc
@@ -1,6 +1,6 @@
Format: 3.0 (native)
Source: bareos
Binary: bareos, bareos-bat, bareos-bconsole, bareos-client, bareos-common, bareos-database-common, bareos-database-postgresql, bareos-database-mysql, bareos-database-sqlite3, bareos-database-tools, bareos-devel, bareos-director, bareos-doc, bareos-filedaemon, bareos-storage, bareos-tools, bareos-traymonitor
Binary: bareos, bareos-bat, bareos-bconsole, bareos-client, bareos-common, bareos-database-common, bareos-database-postgresql, bareos-database-mysql, bareos-database-sqlite3, bareos-database-tools, bareos-devel, bareos-director, bareos-doc, bareos-filedaemon, bareos-storage, bareos-tools, bareos-traymonitor, bareos-debug
Architecture: any
Version: 12.4.1
Maintainer: Joerg Steffens <joerg.steffens@bareos.com>
Expand Down

0 comments on commit d383768

Please sign in to comment.