summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 23:02:25 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 23:02:25 +0200
commitefaa2a47e0c7b512bde9371ac72920a0058e0ceb (patch)
tree3696ab6727108333e7f4f4482f241d51b6048734
parent052b59cff628c9e544121aa5d31c25d1443f2e67 (diff)
downloadnutyx-extra-efaa2a47e0c7b512bde9371ac72920a0058e0ceb.tar.gz
nutyx-extra-efaa2a47e0c7b512bde9371ac72920a0058e0ceb.tar.bz2
nutyx-extra-efaa2a47e0c7b512bde9371ac72920a0058e0ceb.tar.xz
nutyx-extra-efaa2a47e0c7b512bde9371ac72920a0058e0ceb.zip
pinentry#0.7.5-1
-rw-r--r--extra/pinentry/.footprint8
-rw-r--r--extra/pinentry/.md5sum2
-rw-r--r--extra/pinentry/Pkgfile22
-rw-r--r--extra/pinentry/pinentry-0.7.5.patch33
4 files changed, 65 insertions, 0 deletions
diff --git a/extra/pinentry/.footprint b/extra/pinentry/.footprint
new file mode 100644
index 000000000..099433843
--- /dev/null
+++ b/extra/pinentry/.footprint
@@ -0,0 +1,8 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/pinentry -> pinentry-gtk-2
+-rwxr-xr-x root/root usr/bin/pinentry-curses
+-rwxr-xr-x root/root usr/bin/pinentry-gtk-2
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/pinentry.info.gz
diff --git a/extra/pinentry/.md5sum b/extra/pinentry/.md5sum
new file mode 100644
index 000000000..808006bef
--- /dev/null
+++ b/extra/pinentry/.md5sum
@@ -0,0 +1,2 @@
+2fa89c1c32b504ad2c53223cebc057a4 pinentry-0.7.5.patch
+ca492afbbb59cd19f1c875533f18b269 pinentry-0.7.5.tar.gz
diff --git a/extra/pinentry/Pkgfile b/extra/pinentry/Pkgfile
new file mode 100644
index 000000000..76864c44d
--- /dev/null
+++ b/extra/pinentry/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Dialogue pour entrer un code pin
+# URL: http://www.gnupg.org/
+# Maintainer: NuTyX
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gtk
+
+name=pinentry
+version=0.7.5
+release=1
+source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.gz\
+ $name-$version.patch)
+
+build() {
+ cd $name-$version
+ patch -p1 < $SRC/$name-$version.patch
+ ./configure --prefix=/usr \
+ --enable-fallback-curses \
+ --libexecdir=/usr/lib
+ make
+ make DESTDIR=$PKG install
+ rm $PKG/usr/share/info/dir
+}
diff --git a/extra/pinentry/pinentry-0.7.5.patch b/extra/pinentry/pinentry-0.7.5.patch
new file mode 100644
index 000000000..9b055ec23
--- /dev/null
+++ b/extra/pinentry/pinentry-0.7.5.patch
@@ -0,0 +1,33 @@
+diff -Nru pinentry-0.7.5/gtk+-2/gtksecentry.c
+pinentry-0.7.5-new/gtk+-2/gtksecentry.c
+--- pinentry-0.7.5/gtk+-2/gtksecentry.c 2007-11-19 12:20:50.000000000
++0100
++++ pinentry-0.7.5-new/gtk+-2/gtksecentry.c 2008-04-02
+17:49:43.000000000 +0200
+@@ -270,7 +270,7 @@
+
+
+ gpointer
+-g_malloc(gulong size)
++g_malloc(gsize size)
+ {
+ gpointer p;
+
+@@ -288,7 +288,7 @@
+ }
+
+ gpointer
+-g_malloc0(gulong size)
++g_malloc0(gsize size)
+ {
+ gpointer p;
+
+@@ -308,7 +308,7 @@
+ }
+
+ gpointer
+-g_realloc(gpointer mem, gulong size)
++g_realloc(gpointer mem, gsize size)
+ {
+ gpointer p;
+