aboutsummaryrefslogtreecommitdiff
path: root/system/passwordsafe
diff options
context:
space:
mode:
authorrfmae <rf.mae.git@gmail.com>2017-01-07 13:20:15 +0700
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-09 20:18:25 +0000
commitb7cfb951031e4bf57b2fcd430c64224df0652711 (patch)
tree97ecb6aea946609feefe9b836569496d8f20a279 /system/passwordsafe
parent7e083894936d121318397ed737c275146df5ba34 (diff)
system/passwordsafe: Updated for version 1.01BETA.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/passwordsafe')
-rw-r--r--system/passwordsafe/01_help-xml.patch16
-rw-r--r--system/passwordsafe/passwordsafe.SlackBuild6
-rw-r--r--system/passwordsafe/passwordsafe.info6
3 files changed, 22 insertions, 6 deletions
diff --git a/system/passwordsafe/01_help-xml.patch b/system/passwordsafe/01_help-xml.patch
new file mode 100644
index 0000000000000..3c6721b513f9a
--- /dev/null
+++ b/system/passwordsafe/01_help-xml.patch
@@ -0,0 +1,16 @@
+diff -Naur pwsafe-1.01BETA.orig/src/os/unix/dir.cpp pwsafe-1.01BETA/src/os/unix/dir.cpp
+--- pwsafe-1.01BETA.orig/src/os/unix/dir.cpp 2016-12-21 21:10:25.000000000 +0100
++++ pwsafe-1.01BETA/src/os/unix/dir.cpp 2017-01-07 04:05:12.837349604 +0100
+@@ -173,10 +173,10 @@
+
+ stringT pws_os::getxmldir(void)
+ {
+- return _S("/usr/share/pwsafe/xml/");
++ return _S("/usr/share/passwordsafe/xml/");
+ }
+
+ stringT pws_os::gethelpdir(void)
+ {
+- return _S("/usr/share/doc/passwordsafe/help/");
++ return _S("/usr/share/passwordsafe/help/");
+ }
diff --git a/system/passwordsafe/passwordsafe.SlackBuild b/system/passwordsafe/passwordsafe.SlackBuild
index f47d371d1069b..9396734f6e7ab 100644
--- a/system/passwordsafe/passwordsafe.SlackBuild
+++ b/system/passwordsafe/passwordsafe.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=passwordsafe
-VERSION=${VERSION:-1.00BETA}
+VERSION=${VERSION:-1.01BETA}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=pwsafe
@@ -82,8 +82,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Change path to help files to the proper directory.
-sed -i 's/\/usr\/share\/doc\/passwordsafe\/help\//\/usr\/share\/passwordsafe\/help\//' src/os/unix/dir.cpp
+# Change path to help and xml files to the proper directory.
+patch -p1 < $CWD/01_help-xml.patch
CFLAGS="$SLKCFLAGS"
CXXFLAGS="$SLKCFLAGS"
diff --git a/system/passwordsafe/passwordsafe.info b/system/passwordsafe/passwordsafe.info
index 6cf351a52c280..3d99be992d3f7 100644
--- a/system/passwordsafe/passwordsafe.info
+++ b/system/passwordsafe/passwordsafe.info
@@ -1,8 +1,8 @@
PRGNAM="passwordsafe"
-VERSION="1.00BETA"
+VERSION="1.01BETA"
HOMEPAGE="https://pwsafe.org"
-DOWNLOAD="https://github.com/pwsafe/pwsafe/archive/1.00BETA/pwsafe-1.00BETA.tar.gz"
-MD5SUM="15530c19f2b0df6e716fd2affe018970"
+DOWNLOAD="https://github.com/pwsafe/pwsafe/archive/1.01BETA/pwsafe-1.01BETA.tar.gz"
+MD5SUM="6dc65021ca1899c4dc912515be48c43d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ykpers xerces-c wxGTK3 xvkbd"