summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2016-03-08 15:18:44 +1100
committerDanny Rawlins <monster.romster@gmail.com>2016-03-08 15:18:44 +1100
commit782d8ddc49c9b8141f9b8e2fd82739343128e55d (patch)
treef14675b614f874f5442d299fe48da5f65e43f025
parentad44b1d4bcf5fe514f16c447818bdd8d14d921fc (diff)
downloadcontrib-782d8ddc49c9b8141f9b8e2fd82739343128e55d.tar.gz
contrib-782d8ddc49c9b8141f9b8e2fd82739343128e55d.tar.xz
libsecret: 0.18 -> 0.18.4
-rw-r--r--libsecret/.footprint11
-rw-r--r--libsecret/.md5sum3
-rw-r--r--libsecret/Pkgfile22
-rw-r--r--libsecret/secret-tool.1133
4 files changed, 14 insertions, 155 deletions
diff --git a/libsecret/.footprint b/libsecret/.footprint
index ee0055d6d..19ca8edbc 100644
--- a/libsecret/.footprint
+++ b/libsecret/.footprint
@@ -18,8 +18,6 @@ drwxr-xr-x root/root usr/include/libsecret-1/libsecret/
-rw-r--r-- root/root usr/include/libsecret-1/libsecret/secret-value.h
-rw-r--r-- root/root usr/include/libsecret-1/libsecret/secret.h
drwxr-xr-x root/root usr/lib/
-drwxr-xr-x root/root usr/lib/girepository-1.0/
--rw-r--r-- root/root usr/lib/girepository-1.0/Secret-1.typelib
-rw-r--r-- root/root usr/lib/libsecret-1.a
-rwxr-xr-x root/root usr/lib/libsecret-1.la
lrwxrwxrwx root/root usr/lib/libsecret-1.so -> libsecret-1.so.0.0.0
@@ -28,13 +26,4 @@ lrwxrwxrwx root/root usr/lib/libsecret-1.so.0 -> libsecret-1.so.0.0.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libsecret-1.pc
-rw-r--r-- root/root usr/lib/pkgconfig/libsecret-unstable.pc
-drwxr-xr-x root/root usr/man/
-drwxr-xr-x root/root usr/man/man1/
--rw-r--r-- root/root usr/man/man1/secret-tool.1.gz
drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/gir-1.0/
--rw-r--r-- root/root usr/share/gir-1.0/Secret-1.gir
-drwxr-xr-x root/root usr/share/vala/
-drwxr-xr-x root/root usr/share/vala/vapi/
--rw-r--r-- root/root usr/share/vala/vapi/libsecret-1.deps
--rw-r--r-- root/root usr/share/vala/vapi/libsecret-1.vapi
diff --git a/libsecret/.md5sum b/libsecret/.md5sum
index 05df7ca80..bfc75fe70 100644
--- a/libsecret/.md5sum
+++ b/libsecret/.md5sum
@@ -1,2 +1 @@
-279d723cd005e80d1d304f74a3488acc libsecret-0.18.tar.xz
-8719d969eda4140c92ee32d5db6fd1c9 secret-tool.1
+5190da1ee686437046bc10068f120d1d libsecret-0.18.4.tar.xz
diff --git a/libsecret/Pkgfile b/libsecret/Pkgfile
index 518a84a1b..ed7731e1d 100644
--- a/libsecret/Pkgfile
+++ b/libsecret/Pkgfile
@@ -2,28 +2,32 @@
# URL: https://wiki.gnome.org/Projects/Libsecret
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
-# Depends on: gobject-introspection intltool libgcrypt vala
+# Depends on: glib
+# Optional: gobject-introspection libgcrypt vala docbook-xsl
name=libsecret
-version=0.18
+version=0.18.4
release=1
-source=(http://ftp.gnome.org/pub/gnome/sources/$name/$version/$name-$version.tar.xz
- secret-tool.1)
+source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
cd $name-$version
+ local MAN
+ if [ "$(pkginfo -i | grep '^docbook-xsl ')" ]; then
+ MAN=''
+ else
+ MAN='--disable-manpages'
+ fi
+
+
./configure \
--prefix=/usr \
- --mandir=/usr/man \
- --disable-manpages \
--disable-nls \
- --disable-dependency-tracking
+ --disable-dependency-tracking $MAN
make
make DESTDIR=$PKG install
- install -D -m 0644 $SRC/secret-tool.1 $PKG/usr/man/man1/secret-tool.1
-
rm -r $PKG/usr/share/{gtk-doc,locale}
}
diff --git a/libsecret/secret-tool.1 b/libsecret/secret-tool.1
deleted file mode 100644
index c5c6a4bb9..000000000
--- a/libsecret/secret-tool.1
+++ /dev/null
@@ -1,133 +0,0 @@
-'\" t
-.\" Title: secret-tool
-.\" Author: Stef Walter <stefw@gnome.org>
-.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
-.\" Date: 04/04/2013
-.\" Manual: User Commands
-.\" Source: XDG
-.\" Language: English
-.\"
-.TH "SECRET\-TOOL" "1" "" "XDG" "User Commands"
-.\" -----------------------------------------------------------------
-.\" * Define some portability stuff
-.\" -----------------------------------------------------------------
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" http://bugs.debian.org/507673
-.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.ie \n(.g .ds Aq \(aq
-.el .ds Aq '
-.\" -----------------------------------------------------------------
-.\" * set default formatting
-.\" -----------------------------------------------------------------
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.\" -----------------------------------------------------------------
-.\" * MAIN CONTENT STARTS HERE *
-.\" -----------------------------------------------------------------
-.SH "NAME"
-secret-tool \- Store and retrieve passwords
-.SH "SYNOPSIS"
-.HP \w'\fBsecret\-tool\ store\ \fR\fB\-\-label=\*(AqLabel\*(Aq\fR\fB\ \fR\fB{attribute}\fR\fB\ \fR\fB{value}\fR\fB\ \&.\&.\&.\fR\ 'u
-\fBsecret\-tool store \fR\fB\-\-label=\*(AqLabel\*(Aq\fR\fB \fR\fB{attribute}\fR\fB \fR\fB{value}\fR\fB \&.\&.\&.\fR
-.HP \w'\fBsecret\-tool\ lookup\ \fR\fB{attribute}\fR\fB\ \fR\fB{value}\fR\fB\ \&.\&.\&.\fR\ 'u
-\fBsecret\-tool lookup \fR\fB{attribute}\fR\fB \fR\fB{value}\fR\fB \&.\&.\&.\fR
-.HP \w'\fBsecret\-tool\ clear\ \fR\fB{attribute}\fR\fB\ \fR\fB{value}\fR\fB\ \&.\&.\&.\fR\ 'u
-\fBsecret\-tool clear \fR\fB{attribute}\fR\fB \fR\fB{value}\fR\fB \&.\&.\&.\fR
-.HP \w'\fBsecret\-tool\ search\ \fR\fB[\-\-all]\fR\fB{attribute}\fR\fB\ \fR\fB{value}\fR\fB\ \&.\&.\&.\fR\ 'u
-\fBsecret\-tool search \fR\fB[\-\-all]\fR\fB{attribute}\fR\fB \fR\fB{value}\fR\fB \&.\&.\&.\fR
-.SH "DESCRIPTION"
-.PP
-\fBsecret\-tool\fR
-is a command line tool that can be used to store and retrieve passwords\&.
-.PP
-Each password is stored in an item\&. Items are uniquely identified by a set of attribute keys and values\&. When storing a password you must specify unique pairs of attributes names and values, and when looking up a password you provide the same attribute name and value pairs\&.
-.SH "STORE"
-.PP
-To store a password run
-\fBsecret\-tool\fR
-with the
-store
-argument\&. You must also specify a label for the passward with the
-\-\-label
-argument\&. This label will be displayed in the password manager\&.
-.PP
-Make sure to pass a unique set of attributes names and values when storing a password\&. If the attributes match an already existing item, it will be updated instead of creating a new item\&.
-.PP
-If invoked from a terminal or tty, then the password to store will be prompted for and only one line will be accepted\&.
-.PP
-A password to store can also be piped in via stdin\&. The password will be the contents of stdin until EOF\&. If you provide a newline via stdin it will be stored as part of the password\&.
-.SH "LOOKUP"
-.PP
-To lookup a password run
-\fBsecret\-tool\fR
-with the
-lookup
-argument\&. Specify the same same attribute names and value pairs that you passed when storing the password\&.
-.PP
-If multiple items match the attribute provided, then the first password that is already unlocked will be returned\&. If necessary an item will be unlocked\&.
-.PP
-When printing the password to a terminal or tty, an extra newline will be added after the password\&.
-.SH "CLEAR"
-.PP
-To remove a password run
-\fBsecret\-tool\fR
-with the
-clear
-argument\&. Specify the same attirbute name and value pairs that you passed when storing the password\&.
-.PP
-All unlocked items that match the attributes will be removed\&.
-.SH "SEARCH"
-.PP
-This command searches for and prints details on matching items in secret service\&. Specify the same attribute and value pairs that you passed in when storing the password\&. You can use the following options:
-.PP
-\fB\-\-all\fR
-.RS 4
-Return all matching results, rather than just the one of the matches\&. Without this option, the first unlocked match returned from the service will be printed\&.
-.RE
-.PP
-\fB\-\-unlock\fR
-.RS 4
-Unlock items that are locked and then print out their details\&. Without this option, locked items are skipped\&.
-.RE
-.SH "EXIT STATUS"
-.PP
-On success 0 is returned, a non\-zero failure code otherwise\&.
-.SH "EXAMPLES"
-.PP
-\fBExample\ \&1.\ \&Storing, retrieving, and clearing a password\fR
-.sp
-.if n \{\
-.RS 4
-.\}
-.nf
-$ secret\-tool store \-\-label=\*(AqMy password\*(Aq key1 value1 key2 value2
-Password: My password
-.fi
-.if n \{\
-.RE
-.\}
-.sp
-.if n \{\
-.RS 4
-.\}
-.nf
-$ secret\-tool lookup key1 value1 key2 value2
-My password
-.fi
-.if n \{\
-.RE
-.\}
-.sp
-.if n \{\
-.RS 4
-.\}
-.nf
-$ secret\-tool clear key1 value1 key2 value2
-.fi
-.if n \{\
-.RE
-.\}
-

Generated by cgit