summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2012-02-12 11:56:50 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2012-02-12 11:56:50 +0000
commita876a30a1ebbaf44b019c928ebd8b71c16867298 (patch)
tree856adc2b7b7859e227ed3fa658d5c2d1141bab41
parentVersion bump simplejson to 2.3.2. (diff)
downloadgentoo-2-a876a30a1ebbaf44b019c928ebd8b71c16867298.tar.gz
gentoo-2-a876a30a1ebbaf44b019c928ebd8b71c16867298.tar.bz2
gentoo-2-a876a30a1ebbaf44b019c928ebd8b71c16867298.zip
Add locale patches, bug 302633
(Portage version: 2.1.10.45/cvs/Linux x86_64)
-rw-r--r--app-backup/tsm/ChangeLog6
-rw-r--r--app-backup/tsm/files/dsmc.init.d8
-rw-r--r--app-backup/tsm/tsm-6.2.2.0-r1.ebuild13
3 files changed, 21 insertions, 6 deletions
diff --git a/app-backup/tsm/ChangeLog b/app-backup/tsm/ChangeLog
index 1d13288825bd..c1a367116f7c 100644
--- a/app-backup/tsm/ChangeLog
+++ b/app-backup/tsm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-backup/tsm
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/ChangeLog,v 1.9 2012/02/09 10:19:48 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/ChangeLog,v 1.10 2012/02/12 11:56:50 dilfridge Exp $
+
+ 12 Feb 2012; Andreas K. Huettel <dilfridge@gentoo.org> tsm-6.2.2.0-r1.ebuild,
+ files/dsmc.init.d:
+ Add locale patches, bug 302633
09 Feb 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Drop maintainer due retirement, bug #85926
diff --git a/app-backup/tsm/files/dsmc.init.d b/app-backup/tsm/files/dsmc.init.d
index 6f4397594738..9ed84be87167 100644
--- a/app-backup/tsm/files/dsmc.init.d
+++ b/app-backup/tsm/files/dsmc.init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.init.d,v 1.2 2010/01/27 16:47:11 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/files/dsmc.init.d,v 1.3 2012/02/12 11:56:50 dilfridge Exp $
depend() {
use net
@@ -10,6 +10,10 @@ depend() {
start() {
ebegin "Starting dsmc"
+ # dsmc supports only these locale settings
+ export LANG=en_US
+ export LC_ALL=en_US
+
start-stop-daemon --start --background --nicelevel 15 \
--make-pidfile --pidfile /var/run/dsmc.pid \
--exec /opt/tivoli/tsm/client/ba/bin/dsmc sched ${DSMC_OPTS}
diff --git a/app-backup/tsm/tsm-6.2.2.0-r1.ebuild b/app-backup/tsm/tsm-6.2.2.0-r1.ebuild
index 087010b460d9..8692fa3a7197 100644
--- a/app-backup/tsm/tsm-6.2.2.0-r1.ebuild
+++ b/app-backup/tsm/tsm-6.2.2.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/tsm-6.2.2.0-r1.ebuild,v 1.2 2011/04/20 13:19:05 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/tsm-6.2.2.0-r1.ebuild,v 1.3 2012/02/12 11:56:50 dilfridge Exp $
EAPI=3
-inherit versionator multilib eutils rpm
+inherit versionator multilib eutils rpm pax-utils
DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
HOMEPAGE="http://www.tivoli.com/"
@@ -210,3 +210,10 @@ pkg_postinst() {
fi
done
}
+
+pkg_postinst()
+{
+ pax-mark psme /opt/tivoli/tsm/client/ba/bin/dsmc
+ # most likely some of the other executables (e.g. dsm) need this as well, but I
+ # cannot test it at the moment. - dilfridge
+}