Commit 60543639 authored by abveritas's avatar abveritas

continued glibc core update findutils, gawk, gen-init-cpio, libtasn1, mlocate

parent aa0387eb
# $Id: PKGBUILD 77807 2010-04-18 04:29:16Z allan $
# Maintainer:
#
# 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>
pkgname=findutils
pkgver=4.4.2
......@@ -12,21 +15,20 @@ depends=('glibc' 'sh')
url="http://www.gnu.org/software/findutils"
source=(ftp://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.gz)
install=findutils.install
md5sums=('351cc4adb07d54877fa15f75fb77d39f')
sha1sums=('e8dd88fa2cc58abffd0bfc1eddab9020231bb024')
build() {
cd $srcdir/$pkgname-$pkgver
cd "${srcdir}/${pkgname}-${pkgver}"
# Don't build or install locate because we use mlocate,
# which is a secure version of locate.
sed -i '/^SUBDIRS/s/locate//' Makefile.in
./configure --prefix=/usr
make || return 1
make
}
package() {
cd $srcdir/$pkgname-$pkgver
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=$pkgdir install
rm -rf $pkgdir/usr/{libexec,var}
# remove locate utils (we use mlocate instead)
rm -f $pkgdir/usr/bin/{locate,updatedb}
rm -f $pkgdir/usr/share/man/man1/{updatedb.1,locate.1}
rm -f $pkgdir/usr/share/man/man5/locatedb.5
}
# $Id: PKGBUILD 80261 2010-05-14 07:26:51Z tpowa $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
#
# 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>
pkgname=gawk
pkgver=3.1.8
pkgrel=1
pkgrel=2
pkgdesc="Gnu version of awk"
arch=(i686 x86_64)
url="http://www.gnu.org/directory/GNU/gawk.html"
......@@ -17,16 +19,21 @@ depends=('sh' 'glibc')
md5sums=('35937a0f83f0efe7a8c2dee635624784')
build() {
cd $srcdir/$pkgname-$pkgver
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install
mv $pkgdir/usr/libexec $pkgdir/usr/lib
install -dm755 $pkgdir/bin
mv $pkgdir/usr/bin/gawk* $pkgdir/bin/
mv $pkgdir/usr/bin/awk $pkgdir/bin/
rm $pkgdir/usr/share/info/dir
gzip -9 $pkgdir/usr/share/info/{gawk,gawkinet}.info
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
mv ${pkgdir}/usr/libexec ${pkgdir}/usr/lib
install -dm755 ${pkgdir}/bin
mv ${pkgdir}/usr/bin/gawk* ${pkgdir}/bin/
mv ${pkgdir}/usr/bin/awk ${pkgdir}/bin/
cd ${pkgdir}/usr/bin/
ln -sf /bin/gawk gawk
}
# $Id: PKGBUILD 60483 2009-12-05 10:21:23Z tpowa $
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
#
# 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>
pkgname=gen-init-cpio
pkgver=2.6.32
pkgver=2.6.36
pkgrel=1
pkgdesc="Program to compress initramfs images"
arch=(i686 x86_64)
......@@ -12,7 +15,7 @@ url="http://www.kernel.org/"
depends=('glibc')
source=(Makefile gen_init_cpio.c)
md5sums=('8e3a142a522d65121c3bead41013be98'
'1e930eb3d6255aca3b91a73e31bf9da6')
'c0c0844d9e2e2c1bfb948201dc7b4c97')
build()
{
......
......@@ -354,7 +354,10 @@ static int cpio_mkfile(const char *name, const char *location,
push_pad();
if (size) {
fwrite(filebuf, size, 1, stdout);
if (fwrite(filebuf, size, 1, stdout) != 1) {
fprintf(stderr, "writing filebuf failed\n");
goto error;
}
offset += size;
push_pad();
}
......
# $Id: PKGBUILD 79844 2010-05-08 11:48:57Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
#
# 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>
pkgname=libtasn1
pkgver=2.6
pkgver=2.9
pkgrel=1
pkgdesc="The ASN.1 library used in GNUTLS"
arch=(i686 x86_64)
......@@ -13,14 +15,23 @@ depends=('glibc' 'texinfo')
options=('!libtool')
install=libtasn1.install
source=(ftp://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz)
md5sums=('d410671e13038324336917ceed7470a5')
md5sums=('f4f4035b84550100ffeb8ad4b261dea9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--with-packager=Archlinux \
--with-packager-bug-reports="http://bugs.archlinux.org/" \
--with-packager-version=${pkgver}-${pkgrel} || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
--with-packager=Chakra \
--with-packager-bug-reports="http://chakra-project.org/bugs/" \
--with-packager-version=${pkgver}-${pkgrel}
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
# $Id: PKGBUILD 73509 2010-03-27 00:27:51Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: lydgate
#
# 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>
pkgname=mlocate
pkgver=0.22.4
pkgver=0.24
pkgrel=1
pkgdesc="Faster merging drop-in for slocate"
arch=('i686' 'x86_64')
......@@ -19,21 +21,30 @@ install=mlocate.install
source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-$pkgver.tar.xz
updatedb.conf
updatedb.cron.daily)
md5sums=('ee79241178e2660bc9edb02ffe90e144'
md5sums=('a9c221e5bc489a2ed710c943990137bd'
'66898efb290eff4efd44a0b94fe3927d'
'cde5da81bebad2de556ef2e43d895e13')
build() {
cd $srcdir/$pkgname-$pkgver
# Build!
sed -i '/^groupname /s/mlocate/locate/' Makefile.in
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make || return 1
make
}
check() {
cd $srcdir/$pkgname-$pkgver
make check
}
package() {
cd $srcdir/$pkgname-$pkgver
# Set up a default updatedb.conf and a daily cronjob
install -Dm644 ../updatedb.conf $pkgdir/etc/updatedb.conf
install -Dm744 ../updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb
install -Dm644 ${srcdir}/updatedb.conf $pkgdir/etc/updatedb.conf
install -Dm744 ${srcdir}/updatedb.cron.daily $pkgdir/etc/cron.daily/updatedb
# Install Mlocate
make DESTDIR=$pkgdir install
......
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