mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:47:20 +08:00
continued glibc update, large group of db & e2fsprogs
This commit is contained in:
parent
899f7817d3
commit
31ba4f6f0f
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|||||||
|
|
||||||
pkgname=apr-util
|
pkgname=apr-util
|
||||||
pkgver=1.3.11
|
pkgver=1.3.11
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="The Apache Portable Runtime"
|
pkgdesc="The Apache Portable Runtime"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://apr.apache.org/"
|
url="http://apr.apache.org/"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
pkgname=cvs
|
pkgname=cvs
|
||||||
pkgver=1.11.23
|
pkgver=1.11.23
|
||||||
pkgrel=1
|
pkgrel=6
|
||||||
pkgdesc="Concurrent Versions System - a source control system"
|
pkgdesc="Concurrent Versions System - a source control system"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
url="http://cvs.nongnu.org"
|
url="http://cvs.nongnu.org"
|
||||||
|
25
db/PKGBUILD
25
db/PKGBUILD
@ -1,27 +1,32 @@
|
|||||||
# $Id: PKGBUILD 76949 2010-04-09 08:14:30Z allan $
|
#
|
||||||
# Maintainer: Allan McRae <allan@archlinux.org>
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=db
|
pkgname=db
|
||||||
pkgver=4.8.26
|
pkgver=4.8.30
|
||||||
_basever=4.8.26
|
_basever=4.8.30
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="The Berkeley DB embedded database system"
|
pkgdesc="The Berkeley DB embedded database system"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
depends=('gcc-libs' 'sh')
|
depends=('gcc-libs' 'sh')
|
||||||
conflicts=('db4')
|
conflicts=('db4')
|
||||||
options=('!libtool' 'force')
|
options=('!libtool')
|
||||||
install=db.install
|
install=db.install
|
||||||
source=(http://download-uk.oracle.com/berkeley-db/db-${_basever}.tar.gz)
|
source=(http://download-uk.oracle.com/berkeley-db/db-${_basever}.tar.gz)
|
||||||
md5sums=('3476bac9ec0f3c40729c8a404151d5e3')
|
md5sums=('f80022099c5742cd179343556179aa8c')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/$pkgname-${_basever}/build_unix
|
cd ${srcdir}/$pkgname-${_basever}/build_unix
|
||||||
../dist/configure --prefix=/usr --enable-compat185 \
|
../dist/configure --prefix=/usr --enable-compat185 \
|
||||||
--enable-shared --enable-static --enable-cxx
|
--enable-shared --enable-static --enable-cxx --enable-dbm
|
||||||
make LIBSO_LIBS=-lpthread || return 1
|
make LIBSO_LIBS=-lpthread
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
if [ "$(vercmp $2 4.8)" -lt 0 ]; then
|
if [ "$(vercmp $2 5.1)" -lt 0 ]; then
|
||||||
echo " >> Major version update. Consider running db_upgrade on Berkeley DB databases."
|
echo " >> Major version update. Consider running db_upgrade on Berkeley DB databases."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -1,23 +1,28 @@
|
|||||||
# $Id: PKGBUILD 73063 2010-03-22 08:28:27Z ronald $
|
#
|
||||||
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
# Contributor: judd <jvinet@zeroflux.org>
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=e2fsprogs
|
pkgname=e2fsprogs
|
||||||
pkgver=1.41.11
|
pkgver=1.41.14
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Ext2/3/4 filesystem utilities"
|
pkgdesc="Ext2/3/4 filesystem utilities"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('GPL' 'LGPL' 'MIT')
|
license=('GPL' 'LGPL' 'MIT')
|
||||||
url="http://e2fsprogs.sourceforge.net"
|
url="http://e2fsprogs.sourceforge.net"
|
||||||
groups=('base')
|
groups=('base')
|
||||||
depends=('sh' 'util-linux-ng>=2.16')
|
depends=('sh' 'util-linux-ng')
|
||||||
makedepends=('bc')
|
makedepends=('bc')
|
||||||
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
|
||||||
'MIT-LICENSE')
|
'MIT-LICENSE')
|
||||||
backup=('etc/mke2fs.conf')
|
backup=('etc/mke2fs.conf')
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
md5sums=('fb507a40c2706bc38306f150d069e345'
|
sha1sums=('24f9364fa3d4c0d7d00cb627b819d0e51055d6c5'
|
||||||
'035b7c69b7a2cecf996a4708c262245e')
|
'f4a0d5b0cdb980e3fedd6f5e7dde0b0ffb7bbdfb')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
@ -35,6 +40,10 @@ build() {
|
|||||||
|
|
||||||
sed -i -e 's/^AWK=.*/AWK=awk/' "${pkgdir}/usr/bin/compile_et" || return 1
|
sed -i -e 's/^AWK=.*/AWK=awk/' "${pkgdir}/usr/bin/compile_et" || return 1
|
||||||
|
|
||||||
|
# remove references to build directory
|
||||||
|
sed -i -e 's#^SS_DIR=.*#SS_DIR="/usr/share/ss"#' "${pkgdir}/usr/bin/mk_cmds"
|
||||||
|
sed -i -e 's#^ET_DIR=.*#ET_DIR="/usr/share/et"#' "${pkgdir}/usr/bin/compile_et"
|
||||||
|
|
||||||
# install MIT license
|
# install MIT license
|
||||||
install -Dm644 "${srcdir}/MIT-LICENSE" \
|
install -Dm644 "${srcdir}/MIT-LICENSE" \
|
||||||
"${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE" || return 1
|
"${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE" || return 1
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
# $Id: PKGBUILD 62836 2010-01-12 23:27:10Z allan $
|
#
|
||||||
# Maintainer: dorphell <dorphell@archlinux.org>
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
# Committer: Judd Vinet <jvinet@zeroflux.org>
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=expat
|
pkgname=expat
|
||||||
pkgver=2.0.1
|
pkgver=2.0.1
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
pkgdesc="An XML Parser library written in C"
|
pkgdesc="An XML Parser library written in C"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://expat.sourceforge.net/"
|
url="http://expat.sourceforge.net/"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
pkgname=heimdal
|
pkgname=heimdal
|
||||||
pkgver=1.3.3
|
pkgver=1.3.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Implementation of Kerberos V5 libraries"
|
pkgdesc="Implementation of Kerberos V5 libraries"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.h5l.org/"
|
url="http://www.h5l.org/"
|
||||||
|
31
keyutils/PKGBUILD
Normal file
31
keyutils/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#
|
||||||
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
|
pkgname=keyutils
|
||||||
|
pkgver=1.4
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Linux Key Management Utilities"
|
||||||
|
arch=(i686 x86_64)
|
||||||
|
url="http://www.kernel.org"
|
||||||
|
license=('GPL2' 'LGPL2.1')
|
||||||
|
depends=('glibc' 'sh')
|
||||||
|
backup=(etc/request-key.conf)
|
||||||
|
source=(http://people.redhat.com/~dhowells/$pkgname/$pkgname-$pkgver.tar.bz2)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
sed -i -e '/CFLAGS/s|:= -g -O2|+=|' Makefile
|
||||||
|
make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
md5sums=('e168c1bdaf5aa93c2cbf8a5e7f8ef27b')
|
69
krb5/PKGBUILD
Normal file
69
krb5/PKGBUILD
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
#
|
||||||
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
|
pkgname=krb5
|
||||||
|
pkgver=1.9.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="The Kerberos network authentication system"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://web.mit.edu/kerberos/"
|
||||||
|
license=('custom')
|
||||||
|
depends=('e2fsprogs' 'libldap' 'keyutils')
|
||||||
|
makedepends=('perl')
|
||||||
|
provides=('heimdal')
|
||||||
|
replaces=('heimdal')
|
||||||
|
backup=('etc/krb5/krb5.conf' 'etc/krb5/kdc.conf')
|
||||||
|
source=(http://web.mit.edu/kerberos/dist/${pkgname}/1.9/${pkgname}-${pkgver}-signed.tar
|
||||||
|
kadmind.rc
|
||||||
|
krb5-kdc.rc)
|
||||||
|
sha1sums=('e23a1795a237521493da9cf3443ac8b98a90c066'
|
||||||
|
'640e3046c6558313d2be81cf2252afc8622892b0'
|
||||||
|
'77d2312ecd8bf12a6e72cc8fd871a8ac93b23393')
|
||||||
|
options=('!emptydirs')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
tar zxvf ${pkgname}-${pkgver}.tar.gz
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}/src"
|
||||||
|
|
||||||
|
export CFLAGS+=" -fPIC -fno-strict-aliasing -fstack-protector-all"
|
||||||
|
export CPPFLAGS+=" -I/usr/include/et"
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--sysconfdir=/etc/krb5 \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--localstatedir=/var/lib \
|
||||||
|
--enable-shared \
|
||||||
|
--with-system-et \
|
||||||
|
--with-system-ss \
|
||||||
|
--disable-rpath \
|
||||||
|
--without-tcl \
|
||||||
|
--enable-dns-for-realm \
|
||||||
|
--with-ldap
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
# We can't do this in the build directory.
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
make -C src check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}/src"
|
||||||
|
make DESTDIR="${pkgdir}" EXAMPLEDIR="/usr/share/doc/${pkgname}/examples" install
|
||||||
|
|
||||||
|
install -D -m 644 config-files/kdc.conf "${pkgdir}"/etc/krb5/kdc.conf
|
||||||
|
install -D -m 644 config-files/krb5.conf "${pkgdir}"/etc/krb5/krb5.conf
|
||||||
|
|
||||||
|
install -d -m 755 "${pkgdir}"/etc/rc.d
|
||||||
|
install -m 755 ../../krb5-kdc.rc "${pkgdir}"/etc/rc.d
|
||||||
|
install -m 755 ../../kadmind.rc "${pkgdir}"/etc/rc.d
|
||||||
|
|
||||||
|
install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/NOTICE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||||
|
}
|
40
krb5/kadmind.rc
Normal file
40
krb5/kadmind.rc
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# general config
|
||||||
|
. /etc/rc.conf
|
||||||
|
. /etc/rc.d/functions
|
||||||
|
|
||||||
|
PID=`pidof -o %PPID /usr/sbin/kadmind`
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
stat_busy "Starting Kerberos Admin Daemon"
|
||||||
|
if [ -z "$PID" ]; then
|
||||||
|
/usr/sbin/kadmind
|
||||||
|
fi
|
||||||
|
if [ ! -z "$PID" -o $? -gt 0 ]; then
|
||||||
|
stat_fail
|
||||||
|
else
|
||||||
|
add_daemon kadmind
|
||||||
|
stat_done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
stat_busy "Stopping Kerberos Admin Daemon"
|
||||||
|
[ ! -z "$PID" ] && kill $PID &> /dev/null
|
||||||
|
if [ $? -gt 0 ]; then
|
||||||
|
stat_fail
|
||||||
|
else
|
||||||
|
rm_daemon kadmind
|
||||||
|
stat_done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
$0 stop
|
||||||
|
sleep 1
|
||||||
|
$0 start
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "usage: $0 {start|stop|restart}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
40
krb5/krb5-kdc.rc
Normal file
40
krb5/krb5-kdc.rc
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# general config
|
||||||
|
. /etc/rc.conf
|
||||||
|
. /etc/rc.d/functions
|
||||||
|
|
||||||
|
PID=`pidof -o %PPID /usr/sbin/krb5kdc`
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
stat_busy "Starting Kerberos Authentication"
|
||||||
|
if [ -z "$PID" ]; then
|
||||||
|
/usr/sbin/krb5kdc
|
||||||
|
fi
|
||||||
|
if [ ! -z "$PID" -o $? -gt 0 ]; then
|
||||||
|
stat_fail
|
||||||
|
else
|
||||||
|
add_daemon krb5-kdc
|
||||||
|
stat_done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
stat_busy "Stopping Kerberos Authentication"
|
||||||
|
[ ! -z "$PID" ] && kill $PID &> /dev/null
|
||||||
|
if [ $? -gt 0 ]; then
|
||||||
|
stat_fail
|
||||||
|
else
|
||||||
|
rm_daemon krb5-kdc
|
||||||
|
stat_done
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
$0 stop
|
||||||
|
sleep 1
|
||||||
|
$0 start
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "usage: $0 {start|stop|restart}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
@ -1,9 +1,14 @@
|
|||||||
# $Id: PKGBUILD 75196 2010-04-01 02:08:56Z pierre $
|
#
|
||||||
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
# Contributor: Judd Vinet <jvinet@zeroflux.org>
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=libldap
|
pkgname=libldap
|
||||||
pkgver=2.4.23
|
pkgver=2.4.24
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries"
|
pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -15,7 +20,7 @@ makedepends=('tcp_wrappers')
|
|||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-${pkgver}.tgz
|
source=(ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-${pkgver}.tgz
|
||||||
ntlm.patch)
|
ntlm.patch)
|
||||||
md5sums=('90150b8c0d0192e10b30157e68844ddf'
|
md5sums=('116fe1e23a7b67686d5e62274367e6c0'
|
||||||
'dfa9eb6f2fd9d0a3dab0e1860923489e')
|
'dfa9eb6f2fd9d0a3dab0e1860923489e')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -1,9 +1,15 @@
|
|||||||
# $Id: PKGBUILD 78109 2010-04-19 11:02:50Z allan $
|
#
|
||||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
# include global config
|
||||||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||||
|
|
||||||
pkgname=libsasl
|
pkgname=libsasl
|
||||||
pkgver=2.1.23
|
pkgver=2.1.23
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library"
|
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
|
url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
|
||||||
@ -12,16 +18,16 @@ depends=('db>=4.8')
|
|||||||
optdepends=('cyrus-sasl: saslauthd'
|
optdepends=('cyrus-sasl: saslauthd'
|
||||||
'cyrus-sasl-plugins: authentication plugins other than sasldb')
|
'cyrus-sasl-plugins: authentication plugins other than sasldb')
|
||||||
source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${pkgver}.tar.gz
|
source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${pkgver}.tar.gz
|
||||||
cyrus-sasl-2.1.19-checkpw.c.patch db-4.7.patch)
|
cyrus-sasl-2.1.19-checkpw.c.patch cyrus-sasl-db.patch)
|
||||||
options=('!makeflags')
|
options=('!makeflags')
|
||||||
md5sums=('2eb0e48106f0e9cd8001e654f267ecbc'
|
md5sums=('2eb0e48106f0e9cd8001e654f267ecbc'
|
||||||
'e27ddff076342e7a3041c4759817d04b'
|
'e27ddff076342e7a3041c4759817d04b'
|
||||||
'71a3b7454f4d7cc2966b347bdf03f2fc')
|
'0658201497aad359c0d66b0ab8032859')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/cyrus-sasl-${pkgver}"
|
cd "${srcdir}/cyrus-sasl-${pkgver}"
|
||||||
patch -Np0 -i ${srcdir}/cyrus-sasl-2.1.19-checkpw.c.patch || return 1
|
patch -Np0 -i ${srcdir}/cyrus-sasl-2.1.19-checkpw.c.patch || return 1
|
||||||
patch -Np0 -i ${srcdir}/db-4.7.patch || return 1
|
patch -Np0 -i ${srcdir}/cyrus-sasl-db.patch || return 1
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|
34
libsasl/cyrus-sasl-db.patch
Normal file
34
libsasl/cyrus-sasl-db.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
diff -urN aaa/cyrus-sasl-2.1.22/cmulocal/berkdb.m4 cyrus-sasl-2.1.22/cmulocal/berkdb.m4
|
||||||
|
--- aaa/cyrus-sasl-2.1.22/cmulocal/berkdb.m4 2005-04-26 21:14:07.000000000 +0200
|
||||||
|
+++ cyrus-sasl-2.1.22/cmulocal/berkdb.m4 2006-10-02 20:36:17.137852392 +0200
|
||||||
|
@@ -213,7 +213,7 @@
|
||||||
|
fi
|
||||||
|
|
||||||
|
saved_LIBS=$LIBS
|
||||||
|
- for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
|
||||||
|
+ for dbname in db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db-3.3 db3.3 db33 db-3.2 db3.2 db32 db-3.1 db3.1 db31 db-3 db30 db3 db
|
||||||
|
do
|
||||||
|
LIBS="$saved_LIBS -l$dbname"
|
||||||
|
AC_TRY_LINK([#include <db.h>],
|
||||||
|
--- cyrus-sasl-2.1.23/sasldb/db_berkeley.c.orig 2009-04-28 17:09:18.000000000 +0200
|
||||||
|
+++ cyrus-sasl-2.1.23/sasldb/db_berkeley.c 2010-05-18 21:02:20.418940098 +0200
|
||||||
|
@@ -100,7 +100,7 @@
|
||||||
|
ret = db_create(mbdb, NULL, 0);
|
||||||
|
if (ret == 0 && *mbdb != NULL)
|
||||||
|
{
|
||||||
|
-#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
|
||||||
|
+#if (DB_VERSION_MAJOR > 4) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
|
||||||
|
ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, flags, 0660);
|
||||||
|
#else
|
||||||
|
ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, flags, 0660);
|
||||||
|
--- cyrus-sasl-2.1.23/utils/dbconverter-2.c.orig 2003-02-13 20:56:17.000000000 +0100
|
||||||
|
+++ cyrus-sasl-2.1.23/utils/dbconverter-2.c 2010-05-18 21:11:09.982932556 +0200
|
||||||
|
@@ -214,7 +214,7 @@
|
||||||
|
ret = db_create(mbdb, NULL, 0);
|
||||||
|
if (ret == 0 && *mbdb != NULL)
|
||||||
|
{
|
||||||
|
-#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
|
||||||
|
+#if (DB_VERSION_MAJOR > 4) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
|
||||||
|
ret = (*mbdb)->open(*mbdb, NULL, path, NULL, DB_HASH, DB_CREATE, 0664);
|
||||||
|
#else
|
||||||
|
ret = (*mbdb)->open(*mbdb, path, NULL, DB_HASH, DB_CREATE, 0664);
|
@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|||||||
|
|
||||||
pkgname=pam
|
pkgname=pam
|
||||||
pkgver=1.1.3
|
pkgver=1.1.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="PAM (Pluggable Authentication Modules) library"
|
pkgdesc="PAM (Pluggable Authentication Modules) library"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
pkgname=perl
|
pkgname=perl
|
||||||
pkgver=5.12.3
|
pkgver=5.12.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A highly capable, feature-rich programming language"
|
pkgdesc="A highly capable, feature-rich programming language"
|
||||||
arch=(i686 x86_64)
|
arch=(i686 x86_64)
|
||||||
license=('GPL' 'PerlArtistic')
|
license=('GPL' 'PerlArtistic')
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
pkgname=python
|
pkgname=python
|
||||||
pkgver=2.7.1
|
pkgver=2.7.1
|
||||||
pkgrel=5
|
pkgrel=6
|
||||||
_pybasever=2.7
|
_pybasever=2.7
|
||||||
pkgdesc="A high-level scripting language"
|
pkgdesc="A high-level scripting language"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('PSF')
|
license=('PSF')
|
||||||
url="http://www.python.org"
|
url="http://www.python.org"
|
||||||
depends=('db>=4.8' 'bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite3')
|
depends=('db>=4.8' 'bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite3' 'libffi')
|
||||||
makedepends=('tk')
|
makedepends=('tk')
|
||||||
provides=('python2' 'python-elementtree' 'python-ctypes')
|
provides=('python2' 'python-elementtree' 'python-ctypes')
|
||||||
replaces=('python-elementtree' 'python-ctypes')
|
replaces=('python-elementtree' 'python-ctypes')
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
pkgname=('ruby' 'ruby-docs')
|
pkgname=('ruby' 'ruby-docs')
|
||||||
pkgver=1.9.2_p180
|
pkgver=1.9.2_p180
|
||||||
_pkgver=1.9.2-p180
|
_pkgver=1.9.2-p180
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="An object-oriented language for quick and easy programming"
|
pkgdesc="An object-oriented language for quick and easy programming"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://www.ruby-lang.org/en/"
|
url="http://www.ruby-lang.org/en/"
|
||||||
|
Loading…
Reference in New Issue
Block a user