Commit 3b285816 authored by abveritas's avatar abveritas

openssl pf, samba, cyrus-sasl packages, wvstreams, autofs, avahi, cifs-utils,...

openssl pf, samba, cyrus-sasl packages, wvstreams, autofs, avahi, cifs-utils, cups, nss_ldap, testdisk, yaz, tls
parent cf9d4447
......@@ -5,24 +5,21 @@
pkgname=autofs
pkgver=5.0.7
pkgrel=1
pkgrel=2
pkgdesc='A kernel-based automounter for Linux.'
arch=('i686' 'x86_64')
arch=('x86_64')
url='http://freshmeat.net/projects/autofs'
license=('GPL2')
depends=('libldap' 'libxml2' 'krb5')
backup=('etc/autofs/auto.master'
'etc/autofs/auto.misc'
'etc/conf.d/autofs')
'etc/autofs/auto.misc')
options=(!makeflags)
install='autofs.install'
source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.bz2"
'autofs'
'autofs.conf.d'
'auto.master'
'auto.misc')
md5sums=('bc46838dece83c02d800ff144ed9f431'
'e307bf6d2638e46eeb916cf42fe029b2'
'47f597c870410055e0fdb66103daf928'
'a6cefb591e77b31b79dbb7243646c96b'
'd8a15ec9186c5c0b36e5cea1e2739e8a')
......@@ -45,7 +42,6 @@ package() {
install -Dm0644 "${srcdir}/auto.master" "${pkgdir}/etc/autofs/auto.master"
install -Dm0644 "${srcdir}/auto.misc" "${pkgdir}/etc/autofs/auto.misc"
install -Dm0755 "${srcdir}/autofs" "${pkgdir}/etc/rc.d/autofs"
install -Dm0644 "${srcdir}/autofs.conf.d" "${pkgdir}/etc/conf.d/autofs"
install -Dm0644 "samples/autofs.service" "${pkgdir}/usr/lib/systemd/system/autofs.service"
}
#!/bin/bash
daemon_name=autofs
. /etc/rc.conf
. /etc/rc.d/functions
# source application-specific settings
[ -f /etc/conf.d/autofs ] && . /etc/conf.d/autofs
if [ ! -z "$TIMEOUT" ]; then
daemonoptions="--timeout=$TIMEOUT $daemonoptions"
fi
PID=`cat /var/run/autofs-running 2> /dev/null`
case "$1" in
start)
stat_busy "Starting $daemon_name daemon"
[ -z "$PID" ] && /usr/sbin/automount $daemonoptions &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon $daemon_name
stat_done
fi
;;
stop)
stat_busy "Stopping $daemon_name daemon"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon $daemon_name
stat_done
fi
;;
restart)
stat_busy "Restarting $daemon_name daemon"
$0 stop
sleep 1
$0 start
;;
status)
stat_busy "Checking $daemon_name status";
ck_status $daemon_name
;;
*)
echo "usage: $0 {start|stop|restart|status}"
esac
exit 0
......@@ -5,24 +5,22 @@
pkgname=avahi
pkgver=0.6.31
pkgrel=3
pkgrel=4
pkgdesc="A multicast/unicast DNS-SD framework"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.avahi.org/"
license=('LGPL')
depends=('dbus>=1.1.20-1' 'libcap>=2.16' 'libdaemon>=0.11' 'gdbm' 'glib2' 'expat')
optdepends=('qt: qt bindings'
'nss-mdns: NSS support for mDNS'
'dbus-python: avahi-discover'
'twisted: avahi-bookmarks')
'nss-mdns: NSS support for mDNS'
'dbus-python: avahi-discover'
'twisted: avahi-bookmarks')
makedepends=('qt' 'dbus-python' 'gobject-introspection' 'pygtk' 'intltool')
backup=(etc/avahi/avahi-daemon.conf etc/avahi/services/{sftp-,}ssh.service)
install=avahi.install
conflicts=('howl' 'mdnsresponder')
provides=('howl' 'mdnsresponder')
replaces=('howl' 'mdnsresponder')
options=('!libtool')
source=(http://www.avahi.org/download/avahi-${pkgver}.tar.gz gnome-nettool.png avahi-daemon-dbus.patch)
source=("http://www.avahi.org/download/avahi-${pkgver}.tar.gz"
'gnome-nettool.png' 'avahi-daemon-dbus.patch')
sha1sums=('7e05bd78572c9088b03b1207a0ad5aba38490684'
'cf56387c88aed246b9f435efc182ef44de4d52f3'
'd81f472ebb5b6635f5b2621933e7eae45878ca14')
......
post_install() {
echo -n "adding avahi system group... "
groupadd -g 84 avahi && echo "done."
echo -n "adding avahi system user... "
useradd -c "Avahi daemon" -u 84 -d / -g avahi -s /bin/false avahi \
&& echo "done."
passwd -l avahi &>/dev/null
post_upgrade
cat << 'EOM'
==> The following daemons may be added to DAEMONS in /etc/rc.conf:
-> avahi-daemon - the mdns responder, you probably want this.
dbus needs to be running when you start it.
-> avahi-dnsconfd - daemon used for peer-to-peer automatic dns
configuration on dhcp-less networks.
==> To use some of the client applications you will have to install python.
-> In addition, pygtk is required for the graphical ones and
twisted-web for avahi-bookmarks.
EOM
}
post_upgrade() {
true
}
pre_remove() {
# pre_remove gets called whenever post_remove is defined.
true
getent group avahi &>/dev/null || groupadd -r -g 84 avahi >/dev/null
getent passwd avahi &>/dev/null || useradd -r -u 84 -g avahi -d / -s /bin/false -c avahi avahi >/dev/null
}
post_remove() {
# post_remove doesn't start at a newline like the other post_* functions,
# so we'll have to make one for ourselves.
echo -n -e "\nremoving avahi system user... "
userdel avahi && echo "done."
getent passwd avahi &>/dev/null && userdel avahi >/dev/null
getent group avahi &>/dev/null && groupdel avahi >/dev/null
}
op=$1
shift
$op $*
#
# Platform Packages for Chakra, part of chakra-project.org
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Contributor: Phil Miller <philm[at]chakra-project[dog]org>
#
# maintainer abveritas[at]chakra-project[dog]org>
pkgname=cifs-utils
pkgver=5.7
pkgrel=1
pkgrel=2
pkgdesc="CIFS filesystem user-space tools"
arch=(x86_64)
arch=('x86_64')
url="http://wiki.samba.org/index.php/LinuxCIFS_utils"
license=('GPL')
depends=('libcap' 'keyutils' 'krb5' 'talloc')
source=(ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2)
source=("ftp://ftp.samba.org/pub/linux-cifs/cifs-utils/$pkgname-$pkgver.tar.bz2")
md5sums=('4215f12be8663f65d2c21dbbbafbc7f8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# systemd support is broken in mount.cifs: https://bugs.archlinux.org/task/30958
# systemd support is broken in mount.cifs
./configure --prefix=/usr --disable-systemd
make
}
......@@ -23,7 +24,6 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir" ROOTSBINDIR=/usr/bin install
msg 'if you want to enable user mounting and unmounting you need to set the suid flag'
msg 'chmod +s /sbin/mount.cifs'
msg 'and put the mount in the fstab. use the nosuid option in fstab for remote execution prevention'
# mount.cifs uid, for root mounting fstab
chmod +s $pkgdir/usr/bin/mount.cifs
}
......@@ -5,7 +5,7 @@
pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=1.6.1
pkgrel=4
pkgrel=5
arch=('x86_64')
license=('GPL')
url="http://www.cups.org/"
......@@ -16,7 +16,7 @@ source=(ftp://ftp.easysw.com/pub/cups/${pkgver}/cups-${pkgver}-source.tar.bz2
cups-no-gcrypt.patch
cups-no-gzip-man.patch
cups-systemd-socket.patch
cups cups.logrotate cups.pam
cups.logrotate cups.pam
cupsd-conf-remove-obsolete-browse-directives.patch
avahi-missing-in-conditionals.patch
recognize-remote-cups-queue-via-dnssd-uri.patch
......@@ -27,7 +27,6 @@ md5sums=('87ade07e3d1efd03c9c3add949cf9c00'
'3733c23e77eb503bd94cc368e02830dc'
'90c30380d4c8cd48a908cfdadae1ea24'
'b4868b83f7f2d6ec24a1be76509379f0'
'9657daa21760bb0b5fa3d8b51d5e01a1'
'f861b18f4446c43918c8643dcbbd7f6d'
'96f82c38f3f540b53f3e5144900acf17'
'6bef262b5081051e88cd2ae94fed1867'
......@@ -124,7 +123,8 @@ backup=(etc/cups/cupsd.conf
etc/logrotate.d/cups
etc/pam.d/cups
etc/xinetd.d/cups-lpd)
depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters' 'bc' 'libusb' 'dbus-core' 'systemd' 'hicolor-icon-theme' 'colord')
depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters' 'bc' 'libusb' 'dbus-core'
'systemd' 'hicolor-icon-theme' 'colord')
optdepends=('xdg-utils: xdg .desktop file support')
cd ${srcdir}/${pkgbase}-${pkgver}
......@@ -134,9 +134,9 @@ optdepends=('xdg-utils: xdg .desktop file support')
rm -f ${pkgdir}/usr/bin/cups-config
# kill the sysv stuff
rm -rf ${pkgdir}/etc/rc*.d
#rm -rf ${pkgdir}/etc/rc*.d
rm -rf ${pkgdir}/etc/init.d
install -D -m755 ../cups ${pkgdir}/etc/rc.d/cupsd
#install -D -m755 ../cups ${pkgdir}/etc/rc.d/cupsd
install -D -m644 ../cups.logrotate ${pkgdir}/etc/logrotate.d/cups
install -D -m644 ../cups.pam ${pkgdir}/etc/pam.d/cups
......@@ -147,7 +147,7 @@ optdepends=('xdg-utils: xdg .desktop file support')
# install ssl directory where to store the certs, solves some samba issues
install -dm700 -g lp ${pkgdir}/etc/cups/ssl
# remove directory from package, we create it in cups rc.d file
rm -rf ${pkgdir}/var/run
#rm -rf ${pkgdir}/var/run
# install some more configuration files that will get filled by cupsd
touch ${pkgdir}/etc/cups/printers.conf
......
#
# 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>
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=cyrus-sasl-plugins
pkgver=2.1.23
pkgrel=9
pkgrel=10
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://cyrusimap.web.cmu.edu/"
license=('custom')
depends=('postgresql-libs>=8.4.1' 'krb5' 'libldap>2.4' 'libmysqlclient')
source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${pkgver}.tar.gz
cyrus-sasl-2.1.22-gcc44.patch)
source=("ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${pkgver}.tar.gz"
'cyrus-sasl-2.1.22-gcc44.patch')
md5sums=('2eb0e48106f0e9cd8001e654f267ecbc'
'5deb4d67b53ecba20c7887fc8fdebee1')
build() {
cd ${srcdir}/cyrus-sasl-${pkgver}
patch -Np1 -i $srcdir/cyrus-sasl-2.1.22-gcc44.patch
patch -p1 -i $srcdir/cyrus-sasl-2.1.22-gcc44.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
......
#
# 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>
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=cyrus-sasl
pkgver=2.1.23
pkgrel=10
pkgrel=11
pkgdesc="SASL authentication daemon"
arch=('i686' 'x86_64')
arch=('x86_64')
license=('custom')
url="http://asg.web.cmu.edu/cyrus/download/"
depends=('pam>=1.0.1-2' 'krb5' 'libldap' 'cyrus-sasl-plugins>=2.1.22-7' 'db>=4.7')
replaces=(cyrus-sasl-mysql cyrus-sasl-pgsql)
conflicts=(cyrus-sasl-mysql cyrus-sasl-pgsql)
backup=(etc/conf.d/saslauthd)
source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${pkgname}-${pkgver}.tar.gz
saslauthd
saslauthd.conf.d)
source=("ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${pkgname}-${pkgver}.tar.gz"
'saslauthd.service'
'saslauthd.conf.d'
'tmpfiles.conf')
md5sums=('2eb0e48106f0e9cd8001e654f267ecbc'
'697dfb51206c398bc976ce9f4cffe72d'
'96d8a2f6189501f8044838e04d5cae7f')
'3499dcd610ad1ad58e0faffde2aa7a23'
'96d8a2f6189501f8044838e04d5cae7f'
'45bb0192d2f188066240b9a66ee6365f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man \
--with-ldap=/usr --with-saslauthd=/var/run/saslauthd
cd saslauthd
......@@ -33,8 +33,9 @@ build() {
install -m755 testsaslauthd "${pkgdir}/usr/sbin"
install -dm766 "${pkgdir}/var/run/saslauthd"
install -Dm755 "${srcdir}/saslauthd" "${pkgdir}/etc/rc.d/saslauthd"
install -Dm644 "${srcdir}/saslauthd.conf.d" "${pkgdir}/etc/conf.d/saslauthd"
install -Dm644 "${srcdir}/saslauthd.service" "${pkgdir}/usr/lib/systemd/system/saslauthd.service"
install -Dm644 "${srcdir}/tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/saslauthd.conf"
install -Dm644 ../COPYING "${pkgdir}/usr/share/licenses/cyrus-sasl/COPYING"
}
#!/bin/bash
# source application-specific settings
[ -f /etc/conf.d/saslauthd ] && . /etc/conf.d/saslauthd
. /etc/rc.conf
. /etc/rc.d/functions
DAEMON_NAME="saslauthd"
SASLAUTHD_BIN=/usr/sbin/saslauthd
SASLAUTHD_PID=`pidof -o %PPID $SASLAUTHD_BIN`
case "$1" in
start)
stat_busy "Starting $DAEMON_NAME"
[ -z "$SASLAUTHD_PID" ] && $SASLAUTHD_BIN $SASLAUTHD_OPTS
if [ $? -gt 0 ]; then
stat_fail
exit 1
else
echo `pidof -o %PPID $SASLAUTHD_BIN` > /var/run/$DAEMON_NAME.pid
fi
add_daemon $DAEMON_NAME
stat_done
;;
stop)
stat_busy "Stopping $DAEMON_NAME"
[ ! -z "$SASLAUTHD_PID" ] && kill $SASLAUTHD_PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
exit 1
else
rm /var/run/$DAEMON_NAME.pid &> /dev/null
fi
rm_daemon $DAEMON_NAME
stat_done
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0
# vim: ts=2 sw=2 et ft=sh
[Unit]
Description=Cyrus SASL authentication daemon
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/saslauthd
ExecStart=/usr/sbin/saslauthd $SASLAUTHD_OPTS
PIDFile=/var/run/saslauthd/saslauthd.pid
[Install]
WantedBy=multi-user.target
d /run/saslauthd 0755 root root - -
#
# Chakra 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>
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=nss_ldap
pkgver=265
pkgrel=1
pkgrel=2
pkgdesc="The nss_ldap module provides the means for Linux and Solaris workstations to resolve the entities defined in RFC 2307 from LDAP directories."
arch=(i686 x86_64)
arch=('x86_64')
url="http://www.padl.com/OSS/nss_ldap.html"
license=('LGPL')
depends=('libldap>=2.4.18' 'krb5')
backup=("etc/nss_ldap.conf")
source=(http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz)
source=("http://www.padl.com/download/${pkgname}-${pkgver}.tar.gz")
md5sums=('c1cb02d1a85538cf16bca6f6a562abe4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--with-prefix=/usr \
--with-ldap-conf-file=/etc/nss_ldap.conf \
--with-ldap=openldap \
--libdir=/lib \
--mandir=/usr/share/man \
--enable-schema-mapping \
--enable-rfc2307bis \
......@@ -32,4 +31,6 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# issue with /usr/lib move
rm -rf "${pkgdir}/usr/usr"
}
......@@ -4,10 +4,10 @@
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=samba
pkgver=3.6.9
pkgver=3.6.10
#In case version contains a or b
_realver=3.6.9
pkgrel=2
_realver=3.6.10
pkgrel=1
arch=('x86_64')
url="http://www.samba.org"
license=('GPL3')
......@@ -29,7 +29,7 @@ source=("http://us1.samba.org/samba/ftp/stable/${pkgname}-${_realver}.tar.gz"
'nmbd.service'
'winbindd.service'
'samba.conf')
md5sums=('0c48bbeb9549fcda37f108aa3c2a817f'
md5sums=('b5f0560c216122529b1c3b7f41c62567'
'5697da77590ec092cc8a883bae06093c'
'a4bbfa39fee95bba2e7ad6b535fae7e6'
'96f82c38f3f540b53f3e5144900acf17'
......
#
# Chakra 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>
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=testdisk
pkgver=6.13
pkgrel=2
pkgrel=3
pkgdesc="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.cgsecurity.org/index.html?testdisk.html"
license=('GPL')
depends=('libjpeg>=8' 'openssl' 'progsreiserfs' 'ntfs-3g')
......
# $Id: PKGBUILD 14340 2010-04-02 23:21:39Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s@gmail.com>
# Contributor: Mario Vazquez <mariovazq@gmail.com>
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=tls
pkgver=1.6
pkgrel=1
pkgrel=2
pkgdesc="OpenSSL extension to Tcl"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://tls.sourceforge.net/"
license=('GPL')
depends=('tcl' 'openssl' 'awk')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname$pkgver-src.tar.gz)
source=("http://downloads.sourceforge.net/$pkgname/$pkgname$pkgver-src.tar.gz")
md5sums=('eb326ff9e6fc3b9885aa5c72fb8df3bf')
build() {
cd $startdir/src/tls$pkgver
./configure --prefix=/usr --with-ssl-dir=/usr
make || return 1
make test | awk '{print}/FAILED/{F=1}END{if(F)exit 1}'
make DESTDIR=$startdir/pkg install || return 1
# sed -i 's|ifneeded tls 1.5|ifneeded tls 1.50|' $startdir/pkg/usr/lib/tls1.50/pkgIndex.tcl
make
}
package() {
cd $startdir/src/tls$pkgver
make DESTDIR=$startdir/pkg install
ln -s tls1.6/libtls1.6.so $pkgdir/usr/lib/libtls1.6.so
}
#
# Chakra 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>
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=wvstreams
pkgver=4.6.1
pkgrel=1
pkgrel=2
pkgdesc="A network programming library written in C++"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://alumnit.ca/wiki/?page=WvStreams"
license=('LGPL')
depends=('zlib' 'pam' 'xplc' "openssl" 'readline')
source=(http://wvstreams.googlecode.com/files/${pkgname}-${pkgver}.tar.gz
gcc-4.5.1.patch)
source=("http://wvstreams.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
'wvstreams-4.6.1-glibc212.patch'
'wvstreams-4.6.1-gcc47.patch'
'openssl-buildfix.patch')
md5sums=('2760dac31a43d452a19a3147bfde571c'
'ce642b80f787e61038c2dea04d2f0635')
'5f6e24864209055239cb4e7c9bbd4a41'
'217e5dedd7f1d50588a5a67d637fc8a1'
'df423c68134a09439b3961c34635e0b4')
options=('!makeflags')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np0 -i $startdir/gcc-4.5.1.patch
patch -p0 -i "$srcdir/wvstreams-4.6.1-glibc212.patch"
patch -p0 -i "$srcdir/wvstreams-4.6.1-gcc47.patch"
patch -p1 -i "$srcdir/openssl-buildfix.patch"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
......@@ -28,15 +34,14 @@ build() {
--with-pam \
--with-openssl \
--without-tcl \
--without-qt || return 1
make COPTS="$CFLAGS -fPIC" CXXOPTS="$CXXFLAGS -fPIC -fpermissive" VERBOSE=1 || return 1
--without-qt
make COPTS="$CFLAGS -fPIC" CXXOPTS="$CXXFLAGS -fPIC -fpermissive -fno-tree-dce -fno-optimize-sibling-calls" VERBOSE=1
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
# FS#15974
make DESTDIR=${pkgdir} install
# --without-dbus still installs the pkg-config file
rm ${pkgdir}/usr/lib/pkgconfig/libwvdbus.pc
# --without-qt still installs the pkg-config file
......
--- wvstreams-4.6.1/crypto/wvx509.cc 2008-10-23 22:23:49.000000000 +0200
+++ wvstreams-4.6.1-1/crypto/wvx509.cc 2010-01-27 11:09:06.000000000 +0100
@@ -1157,7 +1157,11 @@
if (ext)
{
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
+#else
X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
+#endif
if (!method)
{
WvDynBuf buf;
\ No newline at end of file
http://bugs.gentoo.org/419563
http://bugs.gentoo.org/419971
See -gcc47-patch and -magic.patch in Fedora git:
http://pkgs.fedoraproject.org/gitweb/?p=libwvstreams.git;a=tree
--- include/wvtask.h
+++ include/wvtask.h
@@ -45,7 +45,8 @@
typedef void TaskFunc(void *userdata);
static int taskcount, numtasks, numrunning;
- int magic_number, *stack_magic;
+ int volatile magic_number;
+ int *stack_magic;
WvString name;
int tid;
@@ -84,7 +85,7 @@
static WvTaskMan *singleton;
static int links;
- static int magic_number;
+ static int volatile magic_number;
static WvTaskList all_tasks, free_tasks;
static void get_stack(WvTask &task, size_t size);
--- include/wvuid.h
+++ include/wvuid.h
@@ -7,6 +7,7 @@
#ifndef __WVUID_H
#define __WVUID_H
+#include <unistd.h>
#include "wvstring.h"
#if WIN32
--- utils/wvtask.cc
+++ utils/wvtask.cc
@@ -58,7 +58,8 @@
int WvTask::taskcount, WvTask::numtasks, WvTask::numrunning;
WvTaskMan *WvTaskMan::singleton;
-int WvTaskMan::links, WvTaskMan::magic_number;
+int WvTaskMan::links;
+int volatile WvTaskMan::magic_number;
WvTaskList WvTaskMan::all_tasks, WvTaskMan::free_tasks;
ucontext_t WvTaskMan::stackmaster_task, WvTaskMan::get_stack_return,
WvTaskMan::toplevel;
http://bugs.gentoo.org/333301
https://bugs.archlinux.org/task/27188
--- ipstreams/wvunixdgsocket.cc
+++ ipstreams/wvunixdgsocket.cc
......@@ -20,3 +21,4 @@ http://bugs.gentoo.org/333301
+#include <sys/types.h>
#include <sys/stat.h>
#endif
......@@ -4,16 +4,16 @@
# maintainer abveritas@chakra-project.org
pkgname=yaz
pkgver=4.2.29
pkgver=4.2.47
pkgrel=1
pkgdesc="A toolkit supporting the development of Z39.50/SRW/SRU clients and servers"
arch=('i686' 'x86_64')
arch=('x86_64')
license=('custom')
url="http://www.indexdata.dk/yaz"
depends=('openssl' 'libxslt' 'icu')
options=('!libtool')
source=(http://ftp.indexdata.dk/pub/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('584bcf12401f182a42091616c6cf7e0a')
source=("http://ftp.indexdata.dk/pub/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('cc9f80fc775d284d8ac142663e17a4d8')
build() {
cd "$srcdir/$pkgname-$pkgver"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment