]> saetta.ns0.it Git - msys2/commitdiff
lilbzakauthesmbldap: aggiornata a 0.5.99.
authorAndrea Zagli <andrea.zagli@email.it>
Thu, 22 Sep 2016 14:55:24 +0000 (16:55 +0200)
committerAndrea Zagli <andrea.zagli@email.it>
Thu, 22 Sep 2016 14:55:24 +0000 (16:55 +0200)
packages/mingw-w64-libzakauthesmbldap/001-win.patch [new file with mode: 0644]
packages/mingw-w64-libzakauthesmbldap/PKGBUILD

diff --git a/packages/mingw-w64-libzakauthesmbldap/001-win.patch b/packages/mingw-w64-libzakauthesmbldap/001-win.patch
new file mode 100644 (file)
index 0000000..6b06bb8
--- /dev/null
@@ -0,0 +1,25 @@
+--- ./configure.ac.orig        2016-09-22 15:34:51.105719900 +0200
++++ ./configure.ac     2016-09-22 15:34:51.744877100 +0200
+@@ -55,6 +55,11 @@
+ AC_SUBST(LIBZAKCONFI_CFLAGS)
+ AC_SUBST(LIBZAKCONFI_LIBS)
++
++AUTHE_PLUGDIR=`pkg-config --variable=pluginsdir libzakauthe`
++AUTHE_PLUGDIR=`cygpath -u $AUTHE_PLUGDIR`
++AC_SUBST(AUTHE_PLUGDIR)
++
+ # Checks for header files.
+ # Checks for typedefs, structures, and compiler characteristics.
+--- ./src/Makefile.am.orig     2016-09-22 15:34:51.783175200 +0200
++++ ./src/Makefile.am  2016-09-22 15:35:23.733634200 +0200
+@@ -6,7 +6,7 @@
+               $(LIBZAKCONFI_CFLAGS) \
+               -DGUIDIR=\""$(guidir)"\"
+-libzakauthe_pluginsdir = `pkg-config --variable=pluginsdir libzakauthe`
++libzakauthe_pluginsdir = $(AUTHE_PLUGDIR)
+ libzakauthe_plugins_LTLIBRARIES = libzakauthesmbldap.la
+ libzakauthe_plugins_DATA = zakauthesmbldap.plugin
index 2fb2ea51a5c71e632ff0f6475e9636ee2517517a..bc957404bae2b39fe26ab0893fe0eeacc532b5b4 100644 (file)
@@ -1,10 +1,10 @@
 # Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
 
 _realname=libzakauthesmbldap
-_base_ver=0.5.0
+_base_ver=0.5.99
 pkgbase=mingw-w64-${_realname}
 pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
-pkgver=0.5.0.25.cb270ff
+pkgver=0.5.99.26.288481a
 pkgrel=1
 arch=('any')
 pkgdesc="Library to manage authorizations (mingw-w64)"
@@ -19,8 +19,10 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
 options=('!strip' 'debug' 'staticlibs')
 license=("LGPL 2.1")
 url="http://saetta.ns0.it/"
-source=("libzakauthesmbldap"::"git+http://saetta.ns0.it/git/solipa/aute/plugins/smbldap/#branch=develop")
-sha256sums=('SKIP')
+source=("libzakauthesmbldap"::"git+http://saetta.ns0.it/git/solipa/aute/plugins/smbldap/#branch=develop"
+        001-win.patch)
+sha256sums=('SKIP'
+            '9ec70dce38c22c8b1503405f29acafd770a9a816f5421965e67cd72238bd44d6')
 
 pkgver() {
   cd "$srcdir/$_realname"
@@ -29,6 +31,8 @@ pkgver() {
 
 prepare() {
   cd ${_realname}
+
+  patch -b -V simple -p1 -i ${srcdir}/001-win.patch
 }
 
 build() {
@@ -48,7 +52,5 @@ package() {
   cd "$srcdir/build-${MINGW_CHOST}"
   make DESTDIR=$pkgdir install
 
-  mv -f $pkgdir/${MINGW_PREFIX}/lib/libzakauthe/bin $pkgdir/${MINGW_PREFIX}
-
   install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
 }