summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Roth2018-03-20 22:25:03 -0600
committerChris Roth2018-03-20 22:25:03 -0600
commit94c8d7cc63d3f0fc0fcd238089b350dd2f6c2a4e (patch)
tree3179afd803a68437b20bfa08064f231869be73ca
downloadaur-94c8d7cc63d3f0fc0fcd238089b350dd2f6c2a4e.tar.gz
Initial commit of freetds with krb5 support
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD30
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..03e58ce8c41
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = freetds-krb5
+ pkgdesc = Library for accessing Sybase and MS SQL Server databases with kerberos support.
+ pkgver = 1.00.83
+ pkgrel = 1
+ url = http://www.freetds.org
+ arch = x86_64
+ license = LGPL
+ depends = openssl
+ depends = unixodbc
+ depends = krb5
+ provides = freetds
+ conflicts = freetds
+ backup = etc/freetds/freetds.conf
+ backup = etc/freetds/locales.conf
+ backup = etc/freetds/pool.conf
+ source = ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.83.tar.bz2
+ sha256sums = 21505348f58742a2b283338f3c099f071f9d8dee7c450b59abd93478dfd43845
+
+pkgname = freetds-krb5
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9a1386677a2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Chris Roth <(firstname).(lastname) @ usask.ca>
+
+_pkgname=freetds
+pkgname=${_pkgname}-krb5
+pkgver=1.00.83
+pkgrel=1
+pkgdesc='Library for accessing Sybase and MS SQL Server databases with kerberos support.'
+url='http://www.freetds.org'
+arch=('x86_64')
+license=('LGPL')
+depends=('openssl' 'unixodbc' 'krb5')
+conflicts=('freetds')
+provides=('freetds')
+backup=('etc/freetds/freetds.conf'
+ 'etc/freetds/locales.conf'
+ 'etc/freetds/pool.conf')
+source=("ftp://ftp.freetds.org/pub/freetds/stable/${_pkgname}-$pkgver.tar.bz2")
+sha256sums=('21505348f58742a2b283338f3c099f071f9d8dee7c450b59abd93478dfd43845')
+
+build() {
+ cd ${_pkgname}-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc/freetds --enable-msdblib \
+ --with-tdsver=7.0 --with-unixodbc=/usr --with-openssl --enable-krb5
+ make
+}
+
+package() {
+ cd ${_pkgname}-$pkgver
+ make DESTDIR="$pkgdir" install
+}