summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfenuks2016-11-08 20:00:45 +0100
committerfenuks2016-11-08 20:00:45 +0100
commit74e7db983703c0cde811bcbaf85e76ae6a472149 (patch)
treeab06e8c353755269f8c33a2831ab302c4582ac7a
parent9ce7d0be76ebff7e38370c7b33a9b810f7ff895f (diff)
downloadaur-74e7db983703c0cde811bcbaf85e76ae6a472149.tar.gz
First release
-rw-r--r--.SRCINFO36
-rwxr-xr-xMakefile.in.patch10
-rwxr-xr-xPKGBUILD56
-rwxr-xr-xconfigure.patch12
-rw-r--r--gnomint.changelog2
-rw-r--r--gnutls3.patch31
6 files changed, 43 insertions, 104 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14ee05db06f..ba35604f961 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,27 +1,21 @@
+# Generated by mksrcinfo v8
+# Tue Nov 8 18:58:20 UTC 2016
pkgbase = gnomint
- pkgdesc = A x509 Certification Authority management tool for GTK/Gnome
- pkgver = 1.2.1
- pkgrel = 3
- url = http://gnomint.sourceforge.net
+ pkgdesc = Certification Authority management made easy.
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = htt://gnomint.sf.net
arch = i686
arch = x86_64
- license = GPLv3
- makedepends = patch
- makedepends = gnutls>=3
- depends = intltool>=0.23
- depends = sqlite3
- depends = libgnomeui
- depends = gnutls>=3
- depends = libtasn1
- depends = libgcrypt
- source = http://downloads.sourceforge.net/project/gnomint/gnomint/1.2.1/gnomint-1.2.1.tar.gz
- source = gnutls3.patch
- source = configure.patch
- source = Makefile.in.patch
- md5sums = f09f55abe094232fbea2a2d13ef600e6
- md5sums = 4871f56b52bcaa732183c2989d74e362
- md5sums = 2121d32289a051f9305e4ce938230dbf
- md5sums = a3daedfd564b282f07bb473e100a09b0
+ license = GPL3
+ makedepends = autoconf
+ depends = gconf
+ depends = gtk2
+ depends = sqlite
+ conflicts = gnomint
+ options = !buildflags
+ source = https://github.com/davefx/gnoMint/archive/1.3.0.tar.gz
+ md5sums = a02c57c0bcc2d714b8034d264bc46afc
pkgname = gnomint
diff --git a/Makefile.in.patch b/Makefile.in.patch
deleted file mode 100755
index cb38a927b5e..00000000000
--- a/Makefile.in.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.in 2010-08-11 11:12:26.000000000 +0200
-+++ Makefile.in.new 2011-11-09 15:30:21.888971350 +0100
-@@ -348,6 +348,7 @@
- gnomint_cli_LDADD = \
- $(GNOMINTCLI_LIBS) \
- $(LIBGNUTLS_LIBS) \
-+ $(LIBGCRYPT_LIBS) \
- $(SQLITE_LIBS) \
- $(READLINE_LIBS) \
- $(LTLIBINTL)
diff --git a/PKGBUILD b/PKGBUILD
index ec24667b4c6..0278ab9c728 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,35 @@
-# Maintainer : Jamin Collins <jamin.collins@gmail.com>
+# Maintainer: fenuks
+_pkgname=gnoMint
pkgname=gnomint
-pkgver=1.2.1
-pkgrel=3
-pkgdesc='A x509 Certification Authority management tool for GTK/Gnome'
-arch=('i686' 'x86_64')
-url="http://gnomint.sourceforge.net"
-license=('GPLv3')
-depends=('intltool>=0.23' 'sqlite3' 'libgnomeui' 'gnutls>=3' 'libtasn1' 'libgcrypt')
-makedepends=('patch' 'gnutls>=3')
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Certification Authority management made easy."
+arch=("i686" "x86_64")
+url="htt://gnomint.sf.net"
+license=("GPL3")
+depends=("gconf" "gtk2" "sqlite")
+optdepends=()
+makedepends=("autoconf")
+conflicts=("${pkgname}")
+options=("!buildflags")
+# install=$pkgname.install
+source=("https://github.com/davefx/gnoMint/archive/1.3.0.tar.gz")
+md5sums=('a02c57c0bcc2d714b8034d264bc46afc')
-source=("http://downloads.sourceforge.net/project/gnomint/gnomint/${pkgver}/gnomint-${pkgver}.tar.gz"
- "gnutls3.patch"
- "configure.patch"
- "Makefile.in.patch")
-
-md5sums=('f09f55abe094232fbea2a2d13ef600e6'
- '4871f56b52bcaa732183c2989d74e362'
- '2121d32289a051f9305e4ce938230dbf'
- 'a3daedfd564b282f07bb473e100a09b0')
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./autogen.sh --prefix=/usr
+}
-package() {
- cd $srcdir/$pkgname-$pkgver
- patch ./configure < $startdir/configure.patch || return 1
- CFLAGS="-I/usr/gnutls2/include" LDFLAGS="-L/usr/gnutls2/lib" ./configure --prefix=/usr --sysconfdir=/etc
- patch src/Makefile.in < $startdir/Makefile.in.patch || return 1
- make || return 1
- make DESTDIR=$pkgdir install
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make
}
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i $srcdir/gnutls3.patch
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make install DESTDIR="$pkgdir"
+ cd "${pkgdir}"
+ mv usr/etc .
}
diff --git a/configure.patch b/configure.patch
deleted file mode 100755
index f9bf4d5e972..00000000000
--- a/configure.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- configure 2010-08-11 11:12:26.000000000 +0200
-+++ configure.new 2011-11-09 15:28:25.196270198 +0100
-@@ -14338,7 +14338,8 @@
-
-
- if test "x$GCC" = "xyes"; then
-- CFLAGS="-Wall -Werror"
-+# CFLAGS="-Wall -Werror"
-+ CFLAGS="${CFLAGS:--Wall}"
- if test "x$use_debug" = "xYes"; then
- CFLAGS="$CFLAGS -g -O0"
- fi
diff --git a/gnomint.changelog b/gnomint.changelog
deleted file mode 100644
index c324b7ed730..00000000000
--- a/gnomint.changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-1.2.1-3 (Mon Oct 19 07:54:02 PDT 2015)
-- initial packaged version
diff --git a/gnutls3.patch b/gnutls3.patch
deleted file mode 100644
index 8ee3371884e..00000000000
--- a/gnutls3.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -aur a/src/import.c b/src/import.c
---- a/src/import.c 2010-05-31 23:01:37.000000000 +0200
-+++ b/src/import.c 2012-06-27 17:50:06.993671796 +0200
-@@ -695,7 +695,7 @@
-
- // After having all the parts unencrypted, we import all certificates first.
- for (i=0; i<n_bags; i++) {
-- gnutls_pkcs12_bag * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
-+ gnutls_pkcs12_bag_t * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
- guint num_elements_in_bag = gnutls_pkcs12_bag_get_count (*pkcs12_bag);
-
- for (i=0; i < num_elements_in_bag; i++) {
-@@ -722,7 +722,7 @@
-
- // Then, we import all PKCS8 private keys.
- for (i=0; i<n_bags; i++) {
-- gnutls_pkcs12_bag * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
-+ gnutls_pkcs12_bag_t * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
- guint num_elements_in_bag = gnutls_pkcs12_bag_get_count (*pkcs12_bag);
-
- for (i=0; i < num_elements_in_bag; i++) {
-@@ -796,7 +796,7 @@
- // Then we import the CRLs
-
- for (i=0; i<n_bags; i++) {
-- gnutls_pkcs12_bag * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
-+ gnutls_pkcs12_bag_t * pkcs12_bag = g_array_index (pkcs_bag_array, gnutls_pkcs12_bag_t *, i);
- guint num_elements_in_bag = gnutls_pkcs12_bag_get_count (*pkcs12_bag);
-
- for (i=0; i < num_elements_in_bag; i++) {
-Nur in b/src: import.c~.