diff options
Diffstat (limited to 'abs')
58 files changed, 1149 insertions, 396 deletions
diff --git a/abs/core/b43-fwcutter/PKGBUILD b/abs/core/b43-fwcutter/PKGBUILD index a1f73b8..c4a9cf4 100644 --- a/abs/core/b43-fwcutter/PKGBUILD +++ b/abs/core/b43-fwcutter/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Thomas Baechler <thomas@archlinux.org> pkgname=b43-fwcutter -pkgver=011 +pkgver=013 pkgrel=1 pkgdesc="firmware extractor for the bcm43xx kernel module" url="http://linuxwireless.org/en/users/Drivers/b43" @@ -10,12 +10,16 @@ depends=('glibc') license=('GPL') arch=('i686' 'x86_64') source=(http://bu3sch.de/b43/fwcutter/${pkgname}-${pkgver}.tar.bz2) -md5sums=('3db2f4de85a459451f5b391cf67a8d44') +md5sums=('3547ec6c474ac1bc2c4a5bb765b791a4') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver make || return 1 - install -D -m755 b43-fwcutter $startdir/pkg/usr/bin/b43-fwcutter || return 1 - install -D -m644 b43-fwcutter.1 $startdir/pkg/usr/share/man/man1/b43-fwcutter.1 || return 1 } +package() { + cd $srcdir/$pkgname-$pkgver + install -D -m755 b43-fwcutter $pkgdir/usr/bin/b43-fwcutter || return 1 + install -D -m644 b43-fwcutter.1 $pkgdir/usr/share/man/man1/b43-fwcutter.1 || return 1 +} + diff --git a/abs/core/coreutils/PKGBUILD b/abs/core/coreutils/PKGBUILD index 2c6fab9..a9b20da 100644 --- a/abs/core/coreutils/PKGBUILD +++ b/abs/core/coreutils/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 82551 2010-06-13 12:07:11Z allan $ +# $Id: PKGBUILD 99303 2010-11-14 01:28:25Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=coreutils -pkgver=8.5 -pkgrel=2 +pkgver=8.7 +pkgrel=1 pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system" arch=('i686' 'x86_64') license=('GPL3') url="http://www.gnu.org/software/coreutils" groups=('base') -depends=('glibc' 'shadow' 'pam' 'acl' 'gmp>=5.0' 'libcap') +depends=('glibc' 'shadow' 'pam' 'acl' 'gmp' 'libcap') replaces=('mktemp') backup=('etc/pam.d/su') install=${pkgname}.install @@ -19,7 +19,7 @@ source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz coreutils-uname.patch coreutils-pam.patch su.pam) -md5sums=('55170ed640e300f5b81640c6f4641513' +md5sums=('6e21df02e7f5c5d86372de4c6d873275' 'c4fcca138b6abf6d443d48a6f0cd8833' 'aad79a2aa6d566c375d7bdd1b0767278' 'fa85e5cce5d723275b14365ba71a8aad') @@ -38,7 +38,7 @@ build() { --enable-install-program=su \ --enable-no-install-program=groups,hostname,kill,uptime \ --enable-pam ac_cv_func_openat=no - make + make || return 1 make check } diff --git a/abs/core/directfb/PKGBUILD b/abs/core/directfb/PKGBUILD index 89d322a..c24a17d 100644 --- a/abs/core/directfb/PKGBUILD +++ b/abs/core/directfb/PKGBUILD @@ -1,26 +1,32 @@ -# $Id: PKGBUILD,v 1.7 2008/08/02 19:48:28 Snowman Exp $ +# $Id: PKGBUILD 24882 2010-08-29 14:24:38Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Maintainer: Eric Belanger <eric@archlinux.org> # Contributor: Eric Belanger <eric@archlinux.org> pkgname=directfb -pkgver=1.2.0 -pkgrel=2 +pkgver=1.4.5 +pkgrel=1 pkgdesc="A thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system on top of the Linux Framebuffer Device" arch=('i686' 'x86_64') url="http://www.directfb.org" license=('LGPL') depends=('libjpeg' 'libxext' 'sdl' 'sysfsutils' 'libpng' 'freetype2') options=('!libtool') -source=(http://www.directfb.org/downloads/Old/DirectFB-${pkgver}.tar.gz dfb_serial.diff) -md5sums=('231f2247c9d0a2b8a51f415571105ecb' - '5993ae20546b80d0e5fa4f7b367e2f82') +changelog=$pkgname.changelog +source=(http://www.directfb.org/downloads/Core/DirectFB-${pkgver%.*}/DirectFB-${pkgver}.tar.gz) +md5sums=('7cfd568a1267c4c2c97ba00c29cb4f7d') build() { cd ${srcdir}/DirectFB-${pkgver} -# patch -p0 < ../dfb_serial.diff + ./configure --prefix=/usr --sysconfdir=/etc --enable-static --enable-zlib \ --enable-x11 --enable-sdl --disable-vnc --disable-osx \ --enable-video4linux2 --enable-voodoo || return 1 make || return 1 - make DESTDIR=${pkgdir} install || return 1 } + +package() { + cd ${srcdir}/DirectFB-${pkgver} + + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/abs/core/directfb/directfb.changelog b/abs/core/directfb/directfb.changelog new file mode 100644 index 0000000..e7e4dc6 --- /dev/null +++ b/abs/core/directfb/directfb.changelog @@ -0,0 +1,35 @@ +2010-08-29 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + + * directfb 1.4.5-1 + * Upstream update + +2010-01-20 Eric Belanger <eric@archlinux.org> + + * directfb 1.4.3-1 + * Upstream update + +2009-11-08 Eric Belanger <eric@archlinux.org> + + * directfb 1.4.2-1 + * Upstream update + +2009-07-13 Eric Belanger <eric@archlinux.org> + + * directfb 1.4.1-1 + * Upstream update + +2009-05-03 Eric Belanger <eric@archlinux.org> + + * directfb 1.2.8-1 + * Upstream update + +2009-03-06 Eric Belanger <eric@archlinux.org> + + * directfb 1.2.7-1 + * Upstream update + +2008-07-29 Eric Belanger <eric@archlinux.org> + + * directfb 1.2.0-1 + * Upstream update + * Added ChangeLog diff --git a/abs/core/dmxproto/PKGBUILD b/abs/core/dmxproto/PKGBUILD index 1ccffd6..42ee7fa 100644 --- a/abs/core/dmxproto/PKGBUILD +++ b/abs/core/dmxproto/PKGBUILD @@ -2,18 +2,23 @@ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=dmxproto -pkgver=2.2.2 +pkgver=2.3 pkgrel=1 pkgdesc="X11 Distributed Multihead X extension wire protocol" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://xorg.freedesktop.org/" source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2) -md5sums=('d80acad88411e7944b9b085463d53302') -sha1sums=('80c573166ec3b9f17893e2fff84ce0107045faac') build() { cd ${startdir}/src/${pkgname}-${pkgver} - ./configure --prefix=/usr + ./configure --prefix=/usr || return 1 make || return 1 +} +package() { + cd ${startdir}/src/${pkgname}-${pkgver} make DESTDIR=${startdir}/pkg install || return 1 + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 } +md5sums=('880a41720b2937e2660dcdc0d34a8791') diff --git a/abs/core/fuse/PKGBUILD b/abs/core/fuse/PKGBUILD index 62d8f81..f386396 100644 --- a/abs/core/fuse/PKGBUILD +++ b/abs/core/fuse/PKGBUILD @@ -1,38 +1,55 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Mark Rosenstand <mark@archlinux.org> +# $Id: PKGBUILD 94450 2010-10-07 10:30:45Z ronald $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Mark Rosenstand <mark@archlinux.org> + pkgname=fuse -pkgver=2.7.3 +pkgver=2.8.5 pkgrel=1 pkgdesc="A library that makes it possible to implement a filesystem in a userspace program." -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://fuse.sourceforge.net/" license="GPL2" depends=('glibc') -makedepends=('pkgconfig') +makedepends=('pkg-config') +backup=(etc/fuse.conf) install=fuse.install -source=(http://mesh.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + 'fuse.conf') options=(!libtool) -md5sums=('98563fc7b265b7479a3178181cbcf59a') +sha1sums=('862320b56d6bc4ad5e7be2b1e0b5029166aae09b' + '3b42e37a741d4651099225987dc40e7f02a716ad') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr --disable-kernel-module --enable-lib \ + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --enable-lib \ --enable-util --bindir=/bin make || return 1 - make DESTDIR=$startdir/pkg install || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install || return 1 # static device nodes will cause collision. - rm -rf $startdir/pkg/dev + rm -rf ${pkgdir}/dev + # Remove init script in wrong path # Don't add our own for now, as fusectl fs oopses on 2.6.18 - rm -rf $startdir/pkg/etc/init.d - #install -D -m755 $startdir/src/fuse.rc.d $startdir/pkg/etc/rc.d/fuse + rm -rf ${pkgdir}/etc/init.d + #install -D -m755 ${srcdir}/fuse.rc.d ${pkgdir}/etc/rc.d/fuse + + install -d ${pkgdir}/lib + mv ${pkgdir}/usr/lib/libfuse.so.${pkgver} ${pkgdir}/lib/ || return 1 + ln -s ../../lib/libfuse.so.${pkgver} ${pkgdir}/usr/lib/libfuse.so.${pkgver} || return 1 + ln -s libfuse.so.${pkgver} ${pkgdir}/lib/libfuse.so.2 || return 1 + mv ${pkgdir}/usr/lib/libulockmgr.so.1.0.1 ${pkgdir}/lib/ || return 1 + ln -s ../../lib/libulockmgr.so.1.0.1 ${pkgdir}/usr/lib/libulockmgr.so.1.0.1 || return 1 + ln -s libulockmgr.so.1.0.1 ${pkgdir}/lib/libulockmgr.so.1 || return 1 - mkdir -p $startdir/pkg/lib - mv $startdir/pkg/usr/lib/libfuse.so.${pkgver} $startdir/pkg/lib/ || return 1 - ln -s ../../lib/libfuse.so.${pkgver} $startdir/pkg/usr/lib/libfuse.so.${pkgver} || return 1 - ln -s libfuse.so.${pkgver} $startdir/pkg/lib/libfuse.so.2 || return 1 - mv $startdir/pkg/usr/lib/libulockmgr.so.1.0.1 $startdir/pkg/lib/ || return 1 - ln -s ../../lib/libulockmgr.so.1.0.1 $startdir/pkg/usr/lib/libulockmgr.so.1.0.1 || return 1 - ln -s libulockmgr.so.1.0.1 $startdir/pkg/lib/libulockmgr.so.1 || return 1 + # install sample config file + install -Dm644 ${srcdir}/fuse.conf ${pkgdir}/etc/fuse.conf || return 1 + # Fix udev rule location + install -d -m755 "${pkgdir}/lib" + mv "${pkgdir}/etc/udev" "${pkgdir}/lib/" } diff --git a/abs/core/fuse/fuse.conf b/abs/core/fuse/fuse.conf new file mode 100644 index 0000000..cb6c631 --- /dev/null +++ b/abs/core/fuse/fuse.conf @@ -0,0 +1,9 @@ +# Set the maximum number of FUSE mounts allowed to non-root users. +# The default is 1000. +# +#mount_max = 1000 + +# Allow non-root users to specify the 'allow_other' or 'allow_root' +# mount options. +# +#user_allow_other diff --git a/abs/core/gen-init-cpio/PKGBUILD b/abs/core/gen-init-cpio/PKGBUILD index ca1fa2e..cad7221 100644 --- a/abs/core/gen-init-cpio/PKGBUILD +++ b/abs/core/gen-init-cpio/PKGBUILD @@ -1,21 +1,26 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 60483 2009-12-05 10:21:23Z tpowa $ # Maintainer : Tobias Powalowski <tpowa@archlinux.org> pkgname=gen-init-cpio -pkgver=2.6.17 -pkgrel=12 +pkgver=2.6.32 +pkgrel=1 pkgdesc="Program to compress initramfs images" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('custom:none') groups=('base') url="http://www.kernel.org/" depends=('glibc') source=(Makefile gen_init_cpio.c) -md5sums=('8e3a142a522d65121c3bead41013be98' 'fe53a05f5fcfca9e4dd8d67d29190f6e') +md5sums=('8e3a142a522d65121c3bead41013be98' + '1e930eb3d6255aca3b91a73e31bf9da6') build() { - cd $startdir/src/ + cd $srcdir/ make || return 1 - make DESTDIR=$startdir/pkg install +} + +package() { + cd $srcdir/ + make DESTDIR=$pkgdir install } diff --git a/abs/core/gen-init-cpio/gen_init_cpio.c b/abs/core/gen-init-cpio/gen_init_cpio.c index 83acd6c..83b3dde 100644 --- a/abs/core/gen-init-cpio/gen_init_cpio.c +++ b/abs/core/gen-init-cpio/gen_init_cpio.c @@ -14,6 +14,7 @@ * Original work by Jeff Garzik * * External file lists, symlink, pipe and fifo support by Thayne Harbaugh + * Hard link support by Luciano Rocha */ #define xstr(s) #s @@ -286,16 +287,19 @@ static int cpio_mknod_line(const char *line) return rc; } -/* Not marked static to keep the compiler quiet, as no one uses this yet... */ static int cpio_mkfile(const char *name, const char *location, - unsigned int mode, uid_t uid, gid_t gid) + unsigned int mode, uid_t uid, gid_t gid, + unsigned int nlinks) { char s[256]; char *filebuf = NULL; struct stat buf; + long size; int file = -1; int retval; int rc = -1; + int namesize; + int i; mode |= S_IFREG; @@ -323,29 +327,41 @@ static int cpio_mkfile(const char *name, const char *location, goto error; } - sprintf(s,"%s%08X%08X%08lX%08lX%08X%08lX" - "%08X%08X%08X%08X%08X%08X%08X", - "070701", /* magic */ - ino++, /* ino */ - mode, /* mode */ - (long) uid, /* uid */ - (long) gid, /* gid */ - 1, /* nlink */ - (long) buf.st_mtime, /* mtime */ - (int) buf.st_size, /* filesize */ - 3, /* major */ - 1, /* minor */ - 0, /* rmajor */ - 0, /* rminor */ - (unsigned)strlen(name) + 1,/* namesize */ - 0); /* chksum */ - push_hdr(s); - push_string(name); - push_pad(); + size = 0; + for (i = 1; i <= nlinks; i++) { + /* data goes on last link */ + if (i == nlinks) size = buf.st_size; + + namesize = strlen(name) + 1; + sprintf(s,"%s%08X%08X%08lX%08lX%08X%08lX" + "%08lX%08X%08X%08X%08X%08X%08X", + "070701", /* magic */ + ino, /* ino */ + mode, /* mode */ + (long) uid, /* uid */ + (long) gid, /* gid */ + nlinks, /* nlink */ + (long) buf.st_mtime, /* mtime */ + size, /* filesize */ + 3, /* major */ + 1, /* minor */ + 0, /* rmajor */ + 0, /* rminor */ + namesize, /* namesize */ + 0); /* chksum */ + push_hdr(s); + push_string(name); + push_pad(); + + if (size) { + fwrite(filebuf, size, 1, stdout); + offset += size; + push_pad(); + } - fwrite(filebuf, buf.st_size, 1, stdout); - offset += buf.st_size; - push_pad(); + name += namesize; + } + ino++; rc = 0; error: @@ -354,25 +370,83 @@ error: return rc; } +static char *cpio_replace_env(char *new_location) +{ + char expanded[PATH_MAX + 1]; + char env_var[PATH_MAX + 1]; + char *start; + char *end; + + for (start = NULL; (start = strstr(new_location, "${")); ) { + end = strchr(start, '}'); + if (start < end) { + *env_var = *expanded = '\0'; + strncat(env_var, start + 2, end - start - 2); + strncat(expanded, new_location, start - new_location); + strncat(expanded, getenv(env_var), PATH_MAX); + strncat(expanded, end + 1, PATH_MAX); + strncpy(new_location, expanded, PATH_MAX); + } else + break; + } + + return new_location; +} + + static int cpio_mkfile_line(const char *line) { char name[PATH_MAX + 1]; + char *dname = NULL; /* malloc'ed buffer for hard links */ char location[PATH_MAX + 1]; unsigned int mode; int uid; int gid; + int nlinks = 1; + int end = 0, dname_len = 0; int rc = -1; - if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, location, &mode, &uid, &gid)) { + if (5 > sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) + "s %o %d %d %n", + name, location, &mode, &uid, &gid, &end)) { fprintf(stderr, "Unrecognized file format '%s'", line); goto fail; } - rc = cpio_mkfile(name, location, mode, uid, gid); + if (end && isgraph(line[end])) { + int len; + int nend; + + dname = malloc(strlen(line)); + if (!dname) { + fprintf (stderr, "out of memory (%d)\n", dname_len); + goto fail; + } + + dname_len = strlen(name) + 1; + memcpy(dname, name, dname_len); + + do { + nend = 0; + if (sscanf(line + end, "%" str(PATH_MAX) "s %n", + name, &nend) < 1) + break; + len = strlen(name) + 1; + memcpy(dname + dname_len, name, len); + dname_len += len; + nlinks++; + end += nend; + } while (isgraph(line[end])); + } else { + dname = name; + } + rc = cpio_mkfile(dname, cpio_replace_env(location), + mode, uid, gid, nlinks); fail: + if (dname_len) free(dname); return rc; } -void usage(const char *prog) +static void usage(const char *prog) { fprintf(stderr, "Usage:\n" "\t%s <cpio_list>\n" @@ -381,22 +455,24 @@ void usage(const char *prog) "describe the files to be included in the initramfs archive:\n" "\n" "# a comment\n" - "file <name> <location> <mode> <uid> <gid>\n" + "file <name> <location> <mode> <uid> <gid> [<hard links>]\n" "dir <name> <mode> <uid> <gid>\n" "nod <name> <mode> <uid> <gid> <dev_type> <maj> <min>\n" "slink <name> <target> <mode> <uid> <gid>\n" "pipe <name> <mode> <uid> <gid>\n" "sock <name> <mode> <uid> <gid>\n" "\n" - "<name> name of the file/dir/nod/etc in the archive\n" - "<location> location of the file in the current filesystem\n" - "<target> link target\n" - "<mode> mode/permissions of the file\n" - "<uid> user id (0=root)\n" - "<gid> group id (0=root)\n" - "<dev_type> device type (b=block, c=character)\n" - "<maj> major number of nod\n" - "<min> minor number of nod\n" + "<name> name of the file/dir/nod/etc in the archive\n" + "<location> location of the file in the current filesystem\n" + " expands shell variables quoted with ${}\n" + "<target> link target\n" + "<mode> mode/permissions of the file\n" + "<uid> user id (0=root)\n" + "<gid> group id (0=root)\n" + "<dev_type> device type (b=block, c=character)\n" + "<maj> major number of nod\n" + "<min> minor number of nod\n" + "<hard links> space separated list of other links to file\n" "\n" "example:\n" "# A simple initramfs\n" @@ -448,7 +524,9 @@ int main (int argc, char *argv[]) exit(1); } - if (! (cpio_list = fopen(argv[1], "r"))) { + if (!strcmp(argv[1], "-")) + cpio_list = stdin; + else if (! (cpio_list = fopen(argv[1], "r"))) { fprintf(stderr, "ERROR: unable to open '%s': %s\n\n", argv[1], strerror(errno)); usage(argv[0]); diff --git a/abs/core/gzip/PKGBUILD b/abs/core/gzip/PKGBUILD index dea881c..96e6695 100644 --- a/abs/core/gzip/PKGBUILD +++ b/abs/core/gzip/PKGBUILD @@ -1,31 +1,34 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 64609 2010-01-21 11:31:50Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=gzip -pkgver=1.3.12 -pkgrel=13 +pkgver=1.4 +pkgrel=1 pkgdesc="GNU compression utility" -arch=(i686 x86_64) -url="http://www.gzip.org" -license=('GPL') +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gzip/" +license=('GPL3') groups=('base') depends=('glibc' 'bash') makedepends=('patch') -source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz - gzip-fixutimens.patch) +install=gzip.install +source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz) +md5sums=('e381b8506210c794278f5527cba0e765') build() { - cd $startdir/src/$pkgname-$pkgver - patch -Np1 -i ${startdir}/src/gzip-fixutimens.patch || return 1 + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 - mkdir -p $startdir/pkg/bin $startdir/pkg/usr/bin - make prefix=$startdir/pkg/usr install - cd $startdir/pkg/usr/bin - mv $pkgname $startdir/pkg/bin - mv gunzip zcat uncompress $startdir/pkg/bin - cd $startdir/pkg/bin +} +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + + install -dm755 $pkgdir/bin + cd $pkgdir/usr/bin + mv gzip gunzip zcat uncompress $pkgdir/bin + cd $pkgdir/bin ln -sf $pkgname compress } -md5sums=('b5bac2d21840ae077e0217bc5e4845b1' - 'cb592761476921018386031d91625153') diff --git a/abs/core/gzip/gzip.install b/abs/core/gzip/gzip.install new file mode 100644 index 0000000..f25897b --- /dev/null +++ b/abs/core/gzip/gzip.install @@ -0,0 +1,21 @@ +infodir=/usr/share/info +filelist=(gzip.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + usr/bin/install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + usr/bin/install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + diff --git a/abs/core/java-sun/PKGBUILD b/abs/core/java-sun/PKGBUILD new file mode 100644 index 0000000..327bfb7 --- /dev/null +++ b/abs/core/java-sun/PKGBUILD @@ -0,0 +1,142 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org> +# Contributor: Jason Chu <jason@archlinux.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Guillaume ALAUX <Guillaume at alaux dot net> + +pkgname=('jre' 'jdk') +pkgbase=java-sun +pkgver=6u22 +pkgrel=4 +pkgdesc="Sun/Oracle's implementation of tha Java 6 specification" +arch=('i686' 'x86_64') + [ "${CARCH}" = 'i686' ] && _arch=i586 + [ "${CARCH}" = 'x86_64' ] && _arch=amd64 +url='http://java.sun.com' +license=('custom') +makedepends=('java-runtime') +source=("http://download.java.net/dlj/binaries/jdk-${pkgver}-dlj-linux-${_arch}.bin" + 'https://jdk-distros.dev.java.net/source/browse/*checkout*/jdk-distros/trunk/utils/construct.sh' + 'jdk.profile' + 'java-control-panel.desktop' + 'java-monitoring-and-management-console.desktop' + 'java-policy-settings.desktop' + 'java-visualvm.desktop' + 'java-web-start.desktop' + 'jre.profile' + 'jre.profile.csh' + 'jdk.profile.csh' + 'derby-network-server' + 'derby-network-server.conf') + +[ "$CARCH" = "i686" ] && md5sums=('2204fea1b2593f3cc196a0a92b80b18f') +[ "$CARCH" = "x86_64" ] && md5sums=('e5e102ef16d8938f547fe2a73e659608') +md5sums+=('94065b612df0046d9ae758943f9f6a75' + 'b83ab5742651b4234b7d2e20785c6693' + 'e4d814c0f310d77ed6990c731bccd0fb' + '4bc2b0be93f76ed07b471e3c89eb5a8a' + '8e3cec7ab641ec449cabd068be583f5c' + '9ba148ebabce8ed3351b813a9a66b6e5' + '568451cf45fc8c7adb83a222a61ca2c6' + '50b4f5ac4129097461d246645d73a622' + '3d3fe0a598a53df1d6bec6b416e3b9d0' + '6f4cbf332816d2c4e9578ecd1d0dce7f' + 'a279e195e249000646895d93e199860d' + '4bdff6982c66d24a879c424aaac3d04d') + +build() { + mkdir unbundle-jdk + cd unbundle-jdk + sh ../jdk-${pkgver}-dlj-linux-$_arch.bin --accept-license + cd .. + sh construct.sh unbundle-jdk linux-jdk linux-jre +} + +package_jre() { + pkgdesc="Sun/Oracle's Java Runtime Environment" + depends=('glibc' 'libxtst') + provides=('j2re' 'java-runtime=6') + conflicts=('j2re' 'java-runtime') + replaces=('j2re') + install='jre.install' + + # main files + mkdir -p ${pkgdir}/opt/java + cp -R linux-jdk/jre ${pkgdir}/opt/java + + # profiles + install -D ${srcdir}/jre.profile \ + ${pkgdir}/etc/profile.d/jre.sh + install -D ${srcdir}/jre.profile.csh \ + ${pkgdir}/etc/profile.d/jre.csh + + mkdir -p ${pkgdir}/usr/lib/mozilla/plugins + + if [ "$CARCH" = "i686" ]; then + ln -s /opt/java/jre/lib/i386/libnpjp2.so ${pkgdir}/usr/lib/mozilla/plugins + else ln -s /opt/java/jre/lib/amd64/libnpjp2.so ${pkgdir}/usr/lib/mozilla/plugins + fi + + # licenses + install -d ${pkgdir}/usr/share/licenses/jre + install -m644 ${pkgdir}/opt/java/jre/COPYRIGHT \ + ${pkgdir}/usr/share/licenses/jre + install -m644 ${pkgdir}/opt/java/jre/LICENSE \ + ${pkgdir}/usr/share/licenses/jre + install -m644 ${pkgdir}/opt/java/jre/THIRDPARTYLICENSEREADME.txt \ + ${pkgdir}/usr/share/licenses/jre + + # Fix system prefs folder (FS#18872) + install -d ${pkgdir}/etc/.java/.systemPrefs +} + +package_jdk() { + pkgdesc="Sun/Oracle's Java Development Kit" + depends=('glibc' 'jre') + provides=('java-environment=6' 'j2sdk') + conflicts=('java-environment' 'j2sdk') + replaces=('j2sdk') + install='jdk.install' + + #copy icon + install -D -m644 ${srcdir}/linux-jdk/jre/lib/desktop/icons/hicolor/48x48/apps/sun-java.png \ + ${pkgdir}/usr/share/pixmaps/java.png + + # main files + rm -rf linux-jdk/jre + install -d ${pkgdir}/opt + mv linux-jdk ${pkgdir}/opt/java + + # profiles + install -D ${srcdir}/jdk.profile \ + ${pkgdir}/etc/profile.d/jdk.sh + install -D ${srcdir}/jdk.profile.csh \ + ${pkgdir}/etc/profile.d/jdk.csh + + # licenses + install -d ${pkgdir}/usr/share/licenses/jdk + install -m644 ${pkgdir}/opt/java/COPYRIGHT \ + ${pkgdir}/usr/share/licenses/jdk + install -m644 ${pkgdir}/opt/java/LICENSE \ + ${pkgdir}/usr/share/licenses/jdk + install -m644 ${pkgdir}/opt/java/THIRDPARTYLICENSEREADME.txt \ + ${pkgdir}/usr/share/licenses/jdk + + # desktop entries + install -Dm644 ${srcdir}/java-control-panel.desktop \ + ${pkgdir}/usr/share/applications/java-control-panel.desktop + install -Dm644 ${srcdir}/java-monitoring-and-management-console.desktop \ + ${pkgdir}/usr/share/applications/java-monitoring-and-management-console.desktop + install -Dm644 ${srcdir}/java-policy-settings.desktop \ + ${pkgdir}/usr/share/applications/java-policy-settings.desktop + install -Dm644 ${srcdir}/java-visualvm.desktop \ + ${pkgdir}/usr/share/applications/java-visualvm.desktop + install -Dm644 ${srcdir}/java-web-start.desktop \ + ${pkgdir}/usr/share/applications/java-web-start.desktop + + # javadb (apache derby) daemon files + install -D ${srcdir}/derby-network-server \ + ${pkgdir}/etc/rc.d/derby-network-server + install -D -m644 ${srcdir}/derby-network-server.conf \ + ${pkgdir}/etc/conf.d/derby-network-server +} diff --git a/abs/core/java-sun/derby-network-server b/abs/core/java-sun/derby-network-server new file mode 100644 index 0000000..f2b36ea --- /dev/null +++ b/abs/core/java-sun/derby-network-server @@ -0,0 +1,64 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/profile.d/jdk.sh +. $DERBY_HOME/bin/derby_common.sh + +DAEMON_NAME="derby-network-server" +DAEMON_CONF="/etc/conf.d/$DAEMON_NAME" +DAEMON_PID="/var/run/$DAEMON_NAME.pid" + +[ -f $DAEMON_CONF ] && . $DAEMON_CONF + +DERBY_START_CMD="$JAVACMD $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl start" +DERBY_STOP_CMD="$JAVACMD $DERBY_OPTS -classpath \"$LOCALCLASSPATH\" org.apache.derby.drda.NetworkServerControl shutdown" + +case "$1" in + start) + stat_busy "Starting Derby Network Server" + + if ck_daemon $DAEMON_NAME; then + $DERBY_START_CMD > /dev/null & + + PID=`ps ax | grep -v grep | grep derby | grep org.apache.derby.drda.NetworkServerControl | awk '{print $1}'` + + if [ -z "$PID" ]; then + stat_fail + else + echo $PID > $DAEMON_PID + add_daemon $DAEMON_NAME + sleep 2 + stat_done + fi + else + stat_fail + fi + ;; + stop) + stat_busy "Stopping Derby Network Server" + + if ck_daemon $DAEMON_NAME; then + stat_fail + else + $DERBY_STOP_CMD > /dev/null & + + if [ $? -gt 0 ]; then + stat_fail + else + rm -f $DAEMON_PID + rm_daemon $DAEMON_NAME + stat_done + fi + fi + ;; + restart) + $0 stop + sleep 5 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 + diff --git a/abs/core/java-sun/derby-network-server.conf b/abs/core/java-sun/derby-network-server.conf new file mode 100644 index 0000000..ef74782 --- /dev/null +++ b/abs/core/java-sun/derby-network-server.conf @@ -0,0 +1,2 @@ +DERBY_OPTS="-Dderby.stream.error.file=/var/log/derby.log" + diff --git a/abs/core/java-sun/java-control-panel.desktop b/abs/core/java-sun/java-control-panel.desktop new file mode 100644 index 0000000..476e04a --- /dev/null +++ b/abs/core/java-sun/java-control-panel.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Exec=/opt/java/bin/jcontrol +GenericName[cs]=Nastavení prostředí Java +GenericName=Java Environment Settings +Icon=java +Name[cs]=Nastavení Javy +Name=Java Control Panel +Path= +StartupNotify=true +Terminal=false +Type=Application +Categories=Settings;Java; diff --git a/abs/core/java-sun/java-monitoring-and-management-console.desktop b/abs/core/java-sun/java-monitoring-and-management-console.desktop new file mode 100644 index 0000000..c0e1e59 --- /dev/null +++ b/abs/core/java-sun/java-monitoring-and-management-console.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Exec=/opt/java/bin/jconsole +Icon=java +Name[cs]=Konzole monitorování a správy prostředí Java +Name=Java Monitoring and Management Console +StartupNotify=true +Terminal=false +Type=Application +Categories=Development;Java; diff --git a/abs/core/java-sun/java-policy-settings.desktop b/abs/core/java-sun/java-policy-settings.desktop new file mode 100644 index 0000000..1009301 --- /dev/null +++ b/abs/core/java-sun/java-policy-settings.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Exec=/opt/java/bin/policytool +Icon=java +Name[cs]=Nastavení politiky Java aplikací +Name=Java Policy Settings +Path= +StartupNotify=true +Terminal=false +Type=Application +Categories=Settings;Java; diff --git a/abs/core/java-sun/java-visualvm.desktop b/abs/core/java-sun/java-visualvm.desktop new file mode 100644 index 0000000..8aa9527 --- /dev/null +++ b/abs/core/java-sun/java-visualvm.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Exec=/opt/java/bin/jvisualvm +GenericName[cs]=Nástroj pro monitorování a sledování výkonu Java aplikací +GenericName=Java Monitoring and Performance Monitoring Tool +Icon=java +Name=Java VisualVM +Path= +StartupNotify=true +Terminal=false +Type=Application +Categories=Development;Java; diff --git a/abs/core/java-sun/java-web-start.desktop b/abs/core/java-sun/java-web-start.desktop new file mode 100644 index 0000000..573ddc0 --- /dev/null +++ b/abs/core/java-sun/java-web-start.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Exec=/opt/java/bin/javaws -viewer +GenericName[cs]=Spravovat a spouštět aplikace Java Web Start +GenericName=Manage and run Java Web Start Applications +Icon=java +MimeType=application/x-java-jnlp-file; +Name[cs]=Java Web Start +Name=Java Web Start +Path= +StartupNotify=true +Terminal=false +Type=Application +Categories=Network;Java; diff --git a/abs/core/java-sun/jdk.install b/abs/core/java-sun/jdk.install new file mode 100644 index 0000000..1f1e483 --- /dev/null +++ b/abs/core/java-sun/jdk.install @@ -0,0 +1,12 @@ +post_upgrade() { + post_install $1 +} + +post_install() { + echo "The jdk package is licensed software." + echo "You MUST read and agree to the license stored in" + echo "/opt/java/LICENSE before using it." + + echo 'Please relogin to include jdk in your PATH' +} + diff --git a/abs/core/java-sun/jdk.profile b/abs/core/java-sun/jdk.profile new file mode 100644 index 0000000..f9d5deb --- /dev/null +++ b/abs/core/java-sun/jdk.profile @@ -0,0 +1,4 @@ +export J2SDKDIR=/opt/java +export PATH=$PATH:/opt/java/bin:/opt/java/db/bin +export JAVA_HOME=/opt/java +export DERBY_HOME=/opt/java/db diff --git a/abs/core/java-sun/jdk.profile.csh b/abs/core/java-sun/jdk.profile.csh new file mode 100644 index 0000000..3626e72 --- /dev/null +++ b/abs/core/java-sun/jdk.profile.csh @@ -0,0 +1,4 @@ +setenv J2SDKDIR /opt/java +setenv PATH ${PATH}:/opt/java/bin:/opt/java/db/bin +setenv JAVA_HOME /opt/java +setenv DERBY_HOME /opt/java/db diff --git a/abs/core/java-sun/jre.install b/abs/core/java-sun/jre.install new file mode 100644 index 0000000..7dfc547 --- /dev/null +++ b/abs/core/java-sun/jre.install @@ -0,0 +1,24 @@ +post_upgrade() { + post_install $1 +} + +post_install() { + echo "The jre package is licensed software." + echo "You MUST read and agree to the license stored in" + echo "/opt/java/jre/LICENSE before using it." + if [ -f /etc/mailcap ] ; then + sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap + fi + echo 'application/x-java-jnlp-file;/opt/java/jre/bin/javaws %s' >>/etc/mailcap + + echo 'Please relogin to include jre in your PATH.' +} + +post_remove() { + mailcap=$(grep -v 'application/x-java-jnlp-file' /etc/mailcap) + if [ "$mailcap" != "" ] ; then + sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap + else + rm /etc/mailcap + fi +} diff --git a/abs/core/java-sun/jre.profile b/abs/core/java-sun/jre.profile new file mode 100644 index 0000000..af3e373 --- /dev/null +++ b/abs/core/java-sun/jre.profile @@ -0,0 +1,4 @@ +export PATH=$PATH:/opt/java/jre/bin +if [ ! -f /etc/profile.d/jdk.sh ]; then + export JAVA_HOME=/opt/java/jre +fi diff --git a/abs/core/java-sun/jre.profile.csh b/abs/core/java-sun/jre.profile.csh new file mode 100644 index 0000000..8f58896 --- /dev/null +++ b/abs/core/java-sun/jre.profile.csh @@ -0,0 +1,4 @@ +setenv PATH ${PATH}:/opt/java/jre/bin +if (! -e /etc/profile.d/jdk.sh ) then + setenv JAVA_HOME /opt/java/jre +endif diff --git a/abs/core/less/PKGBUILD b/abs/core/less/PKGBUILD index 28cbe39..a83ec60 100644 --- a/abs/core/less/PKGBUILD +++ b/abs/core/less/PKGBUILD @@ -1,23 +1,27 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: judd <jvinet@zeroflux.org> +# $Id: PKGBUILD 47851 2009-07-28 09:48:01Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + pkgname=less -pkgver=418 -pkgrel=12 +pkgver=436 +pkgrel=1 pkgdesc="A terminal based program for viewing text files" license=('GPL3') arch=('i686' 'x86_64') url="http://www.greenwoodsoftware.com/less" groups=('base') -depends=('ncurses' 'file') +depends=('ncurses') source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('b5864d76c54ddf4627fd57ab333c88b4') +md5sums=('817bf051953ad2dea825a1cdf460caa4') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make || return 1 - make prefix=$startdir/pkg/usr install - cd $startdir/pkg/usr/bin/ - mkdir -p ../../bin - mv $pkgname ../../bin/ +} +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + install -dm755 $pkgdir/bin + mv $pkgdir/usr/bin/$pkgname $pkgdir/bin/ } diff --git a/abs/core/libdmx/PKGBUILD b/abs/core/libdmx/PKGBUILD index 335d4a1..a189b3d 100644 --- a/abs/core/libdmx/PKGBUILD +++ b/abs/core/libdmx/PKGBUILD @@ -1,22 +1,28 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 97777 2010-11-01 22:06:48Z jgc $ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libdmx -pkgver=1.0.2 +pkgver=1.1.1 pkgrel=1 pkgdesc="X11 Distributed Multihead extension library" +arch=('x86_64' 'i686') url="http://xorg.freedesktop.org/" -depends=(dmxproto libxext) -makedepends=(pkgconfig) -arch=('i686' 'x86_64') +license=('custom') +depends=('dmxproto' 'libxext') +makedepends=('xorg-util-macros') +options=('!libtool') source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2) -md5sums=(4d866967210d06098fc9f302ed4c79b1) +sha1sums=('49aeab743cb8b667829efda140487b69a7148676') build() { - cd ${startdir}/src/${pkgname}-${pkgver} - ./configure --prefix=/usr \ - --build=${CHOST} --host=${CHOST} + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-static make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} diff --git a/abs/core/libpcap/PKGBUILD b/abs/core/libpcap/PKGBUILD index e5c11e2..d471be1 100644 --- a/abs/core/libpcap/PKGBUILD +++ b/abs/core/libpcap/PKGBUILD @@ -1,29 +1,31 @@ -# $Id: PKGBUILD 20200 2008-12-01 17:56:56Z thomas $ +# $Id: PKGBUILD 77149 2010-04-11 11:02:48Z thomas $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=libpcap -pkgver=1.0.0 +pkgver=1.1.1 pkgrel=1 pkgdesc="A system-independent interface for user-level packet capture" arch=('i686' 'x86_64') url="http://www.tcpdump.org/" license=('BSD') -groups=('base') -depends=('glibc') +depends=('glibc' 'libnl') makedepends=('flex') source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz) -md5sums=('9ad1358c5dec48456405eac197a46d3d') +sha256sums=('508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --enable-ipv6 make || return 1 make shared || return 1 +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} install -d -m755 ${pkgdir}/usr/bin make DESTDIR=${pkgdir} install install-shared || return 1 - ln -s libpcap.so.1.0.0 ${pkgdir}/usr/lib/libpcap.so.1 - ln -s libpcap.so.1.0.0 ${pkgdir}/usr/lib/libpcap.so +# ln -s libpcap.so.${pkgver} ${pkgdir}/usr/lib/libpcap.so.1 +# ln -s libpcap.so.${pkgver} ${pkgdir}/usr/lib/libpcap.so # backwards compatibility, programs often look for net/bpf.h mkdir -p ${pkgdir}/usr/include/net cd ${pkgdir}/usr/include/net diff --git a/abs/core/libpcap/__changelog b/abs/core/libpcap/__changelog new file mode 100644 index 0000000..381637b --- /dev/null +++ b/abs/core/libpcap/__changelog @@ -0,0 +1 @@ +PKGBUILD: comment out calls to create symlinks to libpcap.so...they already exist diff --git a/abs/core/libxmu/PKGBUILD b/abs/core/libxmu/PKGBUILD index 2f01b71..b6c556c 100644 --- a/abs/core/libxmu/PKGBUILD +++ b/abs/core/libxmu/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 97601 2010-10-31 16:17:53Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + pkgname=libxmu -pkgver=1.0.4 +pkgver=1.1.0 pkgrel=1 pkgdesc="X11 miscellaneous micro-utility library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://xorg.freedesktop.org/" depends=('libxext' 'libxt') -makedepends=('pkgconfig') +makedepends=('xorg-util-macros') +license=('custom') options=('!libtool') source=(${url}/releases/individual/lib/libXmu-${pkgver}.tar.bz2) +sha1sums=('81876a0848070bfc4476a2538fc16898eb6d96cd') build() { - cd ${startdir}/src/libXmu-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc \ - --host=${CHOST} --build=${CHOST} + cd "${srcdir}/libXmu-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --disable-static make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } -md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb') -md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb') +package() { + cd "${srcdir}/libXmu-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} diff --git a/abs/core/lsof/PKGBUILD b/abs/core/lsof/PKGBUILD index 1fdedc0..89c737b 100644 --- a/abs/core/lsof/PKGBUILD +++ b/abs/core/lsof/PKGBUILD @@ -1,30 +1,36 @@ -# $Id: PKGBUILD 2105 2008-05-25 02:46:46Z eric $ -# Maintainer: Aaron Griffin <aaron@archlinux.org> +# $Id: PKGBUILD 94246 2010-10-05 21:44:43Z dgriffiths $ +# Contributor: Aaron Griffin <aaron@archlinux.org> # Contributor: Jochem Kossen <j.kossen@home.nl> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=lsof -pkgver=4.80 +pkgver=4.84 pkgrel=1 -pkgdesc="lsof (LiSt Open Files) lists information about files that are open by the running processes" -arch=(i686 x86_64) -license=(custom) -depends=('glibc') +pkgdesc="Lists open files for running Unix processes" +arch=('i686' 'x86_64') url="http://people.freebsd.org/~abe/" -#source=(ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/${pkgname}_${pkgver}.tar.bz2 license.txt) +license=('custom') +depends=('glibc') source=(ftp://sunsite.ualberta.ca/pub/Mirror/lsof/${pkgname}_${pkgver}.tar.bz2 license.txt) -md5sums=('18d124d063619eeee147a8d638e2b8fd' '1b63c76bd10437cabf890508c8e58d36') +md5sums=('a09326df500ef7e4550af546868338d6' + '1b63c76bd10437cabf890508c8e58d36') build() { - cd $startdir/src/${pkgname}_${pkgver} - tar xf ${pkgname}_${pkgver}_src.tar - cd ${pkgname}_${pkgver}_src - sed "s|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|" -i dialects/linux/machine.h + cd ${srcdir}/${pkgname}_${pkgver} + tar xf ${pkgname}_${pkgver}_src.tar + cd ${pkgname}_${pkgver}_src + sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' dialects/linux/machine.h + + ./Configure -n linux + make || return 1 +} + +package() { + cd ${srcdir}/${pkgname}_${pkgver}/${pkgname}_${pkgver}_src - ./Configure -n linux - make || return 1 - install -D -m0755 -o root -g root lsof $startdir/pkg/usr/sbin/lsof - install -D -m0644 -o root -g root lsof.8 $startdir/pkg/usr/share/man/man8/lsof.8 + install -Dm0755 -o root -g root lsof ${pkgdir}/usr/sbin/lsof || return 1 + install -Dm0644 -o root -g root lsof.8 ${pkgdir}/usr/share/man/man8/lsof.8 || return 1 - install -D -m0644 -o root -g root $startdir/src/license.txt \ - $startdir/pkg/usr/share/licenses/lsof/license.txt + install -D -m0644 -o root -g root ${srcdir}/license.txt \ + ${pkgdir}/usr/share/licenses/lsof/LICENSE || return 1 } diff --git a/abs/core/mkinitcpio-busybox/PKGBUILD b/abs/core/mkinitcpio-busybox/PKGBUILD index 3d2beaf..6f0de2d 100644 --- a/abs/core/mkinitcpio-busybox/PKGBUILD +++ b/abs/core/mkinitcpio-busybox/PKGBUILD @@ -1,7 +1,7 @@ -# $Id: PKGBUILD 84550 2010-06-30 21:45:04Z thomas $ +# $Id: PKGBUILD 90030 2010-09-06 17:22:38Z thomas $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=mkinitcpio-busybox -pkgver=1.16.2 +pkgver=1.17.2 pkgrel=1 pkgdesc="base initramfs tools" arch=('i686' 'x86_64') @@ -9,19 +9,13 @@ url="http://www.busybox.net/" license=('GPL') depends=('glibc') source=(http://busybox.net/downloads/busybox-${pkgver}.tar.bz2 - config - loadfont-setfont-optional-psf2-font-support.patch) -sha256sums=('3bf1b1a41294d25335abdd10c65cffdb01c36337ca011f1b38c6ad89590115ba' - 'd629e936941c854e7aa5e1b564d74bde3a1d328f1e0dd30c86a958d2724685ce' - '624d21345cd869c174a3ae1b9cfe23a461ce8b463c7ac4c052726430890c4eb1') + config) +sha256sums=('7a4c9d59098734c86c3bfef421719c3239ca213bba071e284e2352ff4a01cac6' + 'd2131815c28b987b0f7bf9065e7cf567c656438fbe0d44b685dc7dba387a1ca9') build() { cd "${srcdir}/busybox-${pkgver}" - # Backport http://git.busybox.net/busybox/commit/?id=8ce1dc03c1b2b61e51527b987579c09c991cc4b2 - # to busybox 1.16 to fix https://bugs.archlinux.org/task/19109 - patch -p1 -i ../loadfont-setfont-optional-psf2-font-support.patch || return 1 - unset CFLAGS CXXFLAGS if [ ${CARCH} = "x86_64" ]; then sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=x86-64 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config @@ -32,6 +26,7 @@ build() { } package() { + cd "${srcdir}/busybox-${pkgver}" install -D -m755 "${srcdir}/busybox-${pkgver}"/busybox "${pkgdir}/lib/initcpio/busybox" } # vim:set ts=2 sw=2 et: diff --git a/abs/core/mkinitcpio-busybox/config b/abs/core/mkinitcpio-busybox/config index a67ca33..6efeb93 100644 --- a/abs/core/mkinitcpio-busybox/config +++ b/abs/core/mkinitcpio-busybox/config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Busybox version: 1.16.1 -# Sun Apr 11 13:13:36 2010 +# Busybox version: 1.17.2 +# Mon Sep 6 19:17:13 2010 # CONFIG_HAVE_DOT_CONFIG=y @@ -24,11 +24,21 @@ CONFIG_SHOW_USAGE=y # CONFIG_FEATURE_COMPRESS_USAGE is not set CONFIG_FEATURE_INSTALLER=y # CONFIG_LOCALE_SUPPORT is not set -# CONFIG_FEATURE_ASSUME_UNICODE is not set +CONFIG_UNICODE_SUPPORT=y +# CONFIG_UNICODE_USING_LOCALE is not set # CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set +CONFIG_SUBST_WCHAR=63 +CONFIG_LAST_SUPPORTED_WCHAR=767 +# CONFIG_UNICODE_COMBINING_WCHARS is not set +# CONFIG_UNICODE_WIDE_WCHARS is not set +# CONFIG_UNICODE_BIDI_SUPPORT is not set +# CONFIG_UNICODE_NEUTRAL_TABLE is not set +# CONFIG_UNICODE_PRESERVE_BROKEN is not set CONFIG_LONG_OPTS=y CONFIG_FEATURE_DEVPTS=y # CONFIG_FEATURE_CLEAN_UP is not set +# CONFIG_FEATURE_UTMP is not set +# CONFIG_FEATURE_WTMP is not set # CONFIG_FEATURE_PIDFILE is not set CONFIG_FEATURE_SUID=y # CONFIG_FEATURE_SUID_CONFIG is not set @@ -105,12 +115,14 @@ CONFIG_IOCTL_HEX2STR_ERROR=y # # Archival Utilities # +# CONFIG_FEATURE_SEAMLESS_XZ is not set # CONFIG_FEATURE_SEAMLESS_LZMA is not set # CONFIG_FEATURE_SEAMLESS_BZ2 is not set # CONFIG_FEATURE_SEAMLESS_GZ is not set # CONFIG_FEATURE_SEAMLESS_Z is not set # CONFIG_AR is not set # CONFIG_FEATURE_AR_LONG_FILENAMES is not set +# CONFIG_FEATURE_AR_CREATE is not set # CONFIG_BUNZIP2 is not set # CONFIG_BZIP2 is not set # CONFIG_CPIO is not set @@ -134,19 +146,33 @@ CONFIG_IOCTL_HEX2STR_ERROR=y # CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set # CONFIG_FEATURE_TAR_GNU_EXTENSIONS is not set # CONFIG_FEATURE_TAR_LONG_OPTIONS is not set +# CONFIG_FEATURE_TAR_TO_COMMAND is not set # CONFIG_FEATURE_TAR_UNAME_GNAME is not set # CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +# CONFIG_FEATURE_TAR_SELINUX is not set # CONFIG_UNCOMPRESS is not set # CONFIG_UNLZMA is not set # CONFIG_FEATURE_LZMA_FAST is not set +# CONFIG_LZMA is not set +# CONFIG_UNXZ is not set +# CONFIG_XZ is not set # CONFIG_UNZIP is not set # # Coreutils # CONFIG_BASENAME=y -# CONFIG_CAL is not set CONFIG_CAT=y +# CONFIG_DATE is not set +# CONFIG_FEATURE_DATE_ISOFMT is not set +# CONFIG_FEATURE_DATE_NANO is not set +# CONFIG_FEATURE_DATE_COMPAT is not set +CONFIG_TEST=y +CONFIG_FEATURE_TEST_64=y +# CONFIG_TR is not set +# CONFIG_FEATURE_TR_CLASSES is not set +# CONFIG_FEATURE_TR_EQUIV is not set +# CONFIG_CAL is not set # CONFIG_CATV is not set CONFIG_CHGRP=y CONFIG_CHMOD=y @@ -158,9 +184,6 @@ CONFIG_CHROOT=y CONFIG_CP=y # CONFIG_FEATURE_CP_LONG_OPTIONS is not set CONFIG_CUT=y -# CONFIG_DATE is not set -# CONFIG_FEATURE_DATE_ISOFMT is not set -# CONFIG_FEATURE_DATE_COMPAT is not set CONFIG_DD=y # CONFIG_FEATURE_DD_SIGNAL_HANDLING is not set # CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set @@ -241,12 +264,7 @@ CONFIG_TAIL=y CONFIG_FEATURE_FANCY_TAIL=y # CONFIG_TEE is not set # CONFIG_FEATURE_TEE_USE_BLOCK_IO is not set -CONFIG_TEST=y -CONFIG_FEATURE_TEST_64=y CONFIG_TOUCH=y -# CONFIG_TR is not set -# CONFIG_FEATURE_TR_CLASSES is not set -# CONFIG_FEATURE_TR_EQUIV is not set CONFIG_TRUE=y # CONFIG_TTY is not set CONFIG_UNAME=y @@ -282,6 +300,7 @@ CONFIG_FEATURE_HUMAN_READABLE=y # Console Utilities # # CONFIG_CHVT is not set +# CONFIG_FGCONSOLE is not set # CONFIG_CLEAR is not set # CONFIG_DEALLOCVT is not set # CONFIG_DUMPKMAP is not set @@ -344,6 +363,7 @@ CONFIG_FEATURE_VI_READONLY=y CONFIG_FEATURE_VI_SETOPTS=y CONFIG_FEATURE_VI_SET=y CONFIG_FEATURE_VI_WIN_RESIZE=y +CONFIG_FEATURE_VI_ASK_TERMINAL=y CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y # CONFIG_FEATURE_ALLOW_EXEC is not set @@ -386,6 +406,9 @@ CONFIG_FEATURE_GREP_EGREP_ALIAS=y # # Init Utilities # +# CONFIG_BOOTCHARTD is not set +# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set +# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set # CONFIG_INIT is not set # CONFIG_FEATURE_USE_INITTAB is not set # CONFIG_FEATURE_KILL_REMOVED is not set @@ -420,8 +443,6 @@ CONFIG_FIRST_SYSTEM_ID=0 CONFIG_LAST_SYSTEM_ID=0 # CONFIG_DELUSER is not set # CONFIG_GETTY is not set -# CONFIG_FEATURE_UTMP is not set -# CONFIG_FEATURE_WTMP is not set # CONFIG_LOGIN is not set # CONFIG_PAM is not set # CONFIG_LOGIN_SCRIPTS is not set @@ -443,10 +464,12 @@ CONFIG_LAST_SYSTEM_ID=0 # CONFIG_CHATTR is not set # CONFIG_FSCK is not set # CONFIG_LSATTR is not set +# CONFIG_TUNE2FS is not set # # Linux Module Utilities # +CONFIG_MODINFO=y # CONFIG_MODPROBE_SMALL is not set # CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is not set # CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set @@ -477,6 +500,7 @@ CONFIG_DEFAULT_DEPMOD_FILE="" # # Linux System Utilities # +# CONFIG_REV is not set # CONFIG_ACPID is not set # CONFIG_FEATURE_ACPID_COMPAT is not set # CONFIG_BLKID is not set @@ -496,6 +520,7 @@ CONFIG_FDISK_SUPPORT_LARGE_DISKS=y # CONFIG_FEATURE_OSF_LABEL is not set # CONFIG_FEATURE_FDISK_ADVANCED is not set # CONFIG_FINDFS is not set +# CONFIG_FLOCK is not set # CONFIG_FREERAMDISK is not set # CONFIG_FSCK_MINIX is not set # CONFIG_MKFS_EXT2 is not set @@ -526,24 +551,6 @@ CONFIG_LOSETUP=y # CONFIG_FEATURE_MKSWAP_UUID is not set # CONFIG_MORE is not set # CONFIG_FEATURE_USE_TERMIOS is not set -CONFIG_VOLUMEID=y -# CONFIG_FEATURE_VOLUMEID_EXT is not set -# CONFIG_FEATURE_VOLUMEID_BTRFS is not set -# CONFIG_FEATURE_VOLUMEID_REISERFS is not set -# CONFIG_FEATURE_VOLUMEID_FAT is not set -# CONFIG_FEATURE_VOLUMEID_HFS is not set -# CONFIG_FEATURE_VOLUMEID_JFS is not set -# CONFIG_FEATURE_VOLUMEID_XFS is not set -# CONFIG_FEATURE_VOLUMEID_NTFS is not set -# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set -# CONFIG_FEATURE_VOLUMEID_UDF is not set -# CONFIG_FEATURE_VOLUMEID_LUKS is not set -# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set -# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set -# CONFIG_FEATURE_VOLUMEID_ROMFS is not set -# CONFIG_FEATURE_VOLUMEID_SYSV is not set -# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set -# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set CONFIG_MOUNT=y CONFIG_FEATURE_MOUNT_FAKE=y CONFIG_FEATURE_MOUNT_VERBOSE=y @@ -571,11 +578,37 @@ CONFIG_FEATURE_UMOUNT_ALL=y # Common options for mount/umount # CONFIG_FEATURE_MOUNT_LOOP=y +CONFIG_FEATURE_MOUNT_LOOP_CREATE=y # CONFIG_FEATURE_MTAB_SUPPORT is not set +CONFIG_VOLUMEID=y + +# +# Filesystem/Volume identification +# +# CONFIG_FEATURE_VOLUMEID_EXT is not set +# CONFIG_FEATURE_VOLUMEID_BTRFS is not set +# CONFIG_FEATURE_VOLUMEID_REISERFS is not set +# CONFIG_FEATURE_VOLUMEID_FAT is not set +# CONFIG_FEATURE_VOLUMEID_HFS is not set +# CONFIG_FEATURE_VOLUMEID_JFS is not set +# CONFIG_FEATURE_VOLUMEID_XFS is not set +# CONFIG_FEATURE_VOLUMEID_NTFS is not set +# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set +# CONFIG_FEATURE_VOLUMEID_UDF is not set +# CONFIG_FEATURE_VOLUMEID_LUKS is not set +# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set +# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set +# CONFIG_FEATURE_VOLUMEID_ROMFS is not set +# CONFIG_FEATURE_VOLUMEID_SYSV is not set +# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set +# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set # # Miscellaneous Utilities # +# CONFIG_CONSPY is not set +# CONFIG_UBIATTACH is not set +# CONFIG_UBIDETACH is not set # CONFIG_ADJTIMEX is not set # CONFIG_BBCONFIG is not set # CONFIG_BEEP is not set @@ -640,6 +673,7 @@ CONFIG_FEATURE_LESS_FLAGS=y # CONFIG_MT is not set # CONFIG_RAIDAUTORUN is not set # CONFIG_READAHEAD is not set +# CONFIG_RFKILL is not set # CONFIG_RUNLEVEL is not set # CONFIG_RX is not set # CONFIG_SETSID is not set @@ -656,6 +690,10 @@ CONFIG_STRINGS=y # # Networking Utilities # +CONFIG_NC=y +CONFIG_NC_SERVER=y +CONFIG_NC_EXTRA=y +# CONFIG_NC_110_COMPAT is not set CONFIG_FEATURE_IPV6=y # CONFIG_FEATURE_UNIX_LOCAL is not set CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y @@ -729,9 +767,6 @@ CONFIG_IPRULE=y # CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set # CONFIG_NAMEIF is not set # CONFIG_FEATURE_NAMEIF_EXTENDED is not set -CONFIG_NC=y -CONFIG_NC_SERVER=y -CONFIG_NC_EXTRA=y CONFIG_NETSTAT=y CONFIG_FEATURE_NETSTAT_WIDE=y CONFIG_FEATURE_NETSTAT_PRG=y @@ -744,6 +779,7 @@ CONFIG_FEATURE_FANCY_PING=y # CONFIG_PSCAN is not set CONFIG_ROUTE=y # CONFIG_SLATTACH is not set +# CONFIG_TCPSVD is not set CONFIG_TELNET=y # CONFIG_FEATURE_TELNET_TTYPE is not set # CONFIG_FEATURE_TELNET_AUTOLOGIN is not set @@ -752,6 +788,10 @@ CONFIG_TELNET=y # CONFIG_FEATURE_TELNETD_INETD_WAIT is not set CONFIG_TFTP=y # CONFIG_TFTPD is not set + +# +# Common options for tftp/tftpd +# CONFIG_FEATURE_TFTP_GET=y # CONFIG_FEATURE_TFTP_PUT is not set # CONFIG_FEATURE_TFTP_BLOCKSIZE is not set @@ -762,6 +802,8 @@ CONFIG_FEATURE_TFTP_GET=y # CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set # CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set # CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +# CONFIG_TUNCTL is not set +# CONFIG_FEATURE_TUNCTL_UG is not set # CONFIG_UDHCPD is not set # CONFIG_DHCPRELAY is not set # CONFIG_DUMPLEASES is not set @@ -775,16 +817,13 @@ CONFIG_UDHCP_DEBUG=0 CONFIG_UDHCPC_DEFAULT_SCRIPT="" CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0 CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="" +# CONFIG_UDPSVD is not set # CONFIG_VCONFIG is not set CONFIG_WGET=y CONFIG_FEATURE_WGET_STATUSBAR=y CONFIG_FEATURE_WGET_AUTHENTICATION=y CONFIG_FEATURE_WGET_LONG_OPTIONS=y # CONFIG_ZCIP is not set -# CONFIG_TCPSVD is not set -# CONFIG_TUNCTL is not set -# CONFIG_FEATURE_TUNCTL_UG is not set -# CONFIG_UDPSVD is not set # # Print Utilities @@ -807,6 +846,7 @@ CONFIG_FEATURE_MIME_CHARSET="" # # Process Utilities # +# CONFIG_SMEMCAP is not set CONFIG_FREE=y # CONFIG_FUSER is not set CONFIG_KILL=y @@ -869,9 +909,6 @@ CONFIG_SV_DEFAULT_SERVICE_DIR="" # # Shells # -CONFIG_FEATURE_SH_IS_ASH=y -# CONFIG_FEATURE_SH_IS_HUSH is not set -# CONFIG_FEATURE_SH_IS_NONE is not set CONFIG_ASH=y CONFIG_ASH_BASH_COMPAT=y CONFIG_ASH_JOB_CONTROL=y @@ -898,6 +935,12 @@ CONFIG_ASH_EXPAND_PRMT=y # CONFIG_HUSH_LOCAL is not set # CONFIG_HUSH_EXPORT_N is not set # CONFIG_HUSH_RANDOM_SUPPORT is not set +CONFIG_FEATURE_SH_IS_ASH=y +# CONFIG_FEATURE_SH_IS_HUSH is not set +# CONFIG_FEATURE_SH_IS_NONE is not set +# CONFIG_FEATURE_BASH_IS_ASH is not set +# CONFIG_FEATURE_BASH_IS_HUSH is not set +CONFIG_FEATURE_BASH_IS_NONE=y # CONFIG_LASH is not set # CONFIG_MSH is not set CONFIG_SH_MATH_SUPPORT=y @@ -914,6 +957,7 @@ CONFIG_CTTYHACK=y # CONFIG_FEATURE_ROTATE_LOGFILE is not set # CONFIG_FEATURE_REMOTE_LOG is not set # CONFIG_FEATURE_SYSLOGD_DUP is not set +CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0 # CONFIG_FEATURE_IPC_SYSLOG is not set CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 # CONFIG_LOGREAD is not set diff --git a/abs/core/pciutils/PKGBUILD b/abs/core/pciutils/PKGBUILD index 838f800..2529e07 100644 --- a/abs/core/pciutils/PKGBUILD +++ b/abs/core/pciutils/PKGBUILD @@ -1,29 +1,32 @@ -# $Id: PKGBUILD 7903 2008-08-05 06:38:41Z tpowa $ +# $Id: PKGBUILD 69314 2010-02-20 10:20:37Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=pciutils -pkgver=3.1.5 +pkgver=3.1.7 pkgrel=1 pkgdesc="PCI bus configuration space access library and tools" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL2') groups=('base') -url="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html" +url="http://mj.ucw.cz/pciutils.html" +optdepends=('sh: required by update-pciids') makedepends=('wget') depends=('glibc') source=(ftp://ftp.kernel.org/pub/software/utils/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('35222edb86b50a6641352c66fe829b2e') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver} CFLAGS="${CFLAGS} -fPIC -DPIC" sed -i -e 's/^OPT=.*/OPT=-O2 -pipe -fPIC -DPIC/g' Makefile ./update-pciids.sh - +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} make ZLIB=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all || return 1 - make PREFIX=${startdir}/pkg/usr SHAREDIR=${startdir}/pkg/usr/share/hwdata MANDIR=${startdir}/pkg/usr/share/man install - install -d ${startdir}/pkg/usr/lib - install -m644 lib/libpci.a ${startdir}/pkg/usr/lib + make PREFIX=${pkgdir}/usr SHAREDIR=${pkgdir}/usr/share/hwdata MANDIR=${pkgdir}/usr/share/man install + install -d ${pkgdir}/usr/lib + install -m644 lib/libpci.a ${pkgdir}/usr/lib for i in config.h header.h pci.h types.h; do - install -D -m 644 lib/${i} ${startdir}/pkg/usr/include/pci/${i} + install -D -m 644 lib/${i} ${pkgdir}/usr/include/pci/${i} done } -md5sums=('7ccf8ae2353033158652bdca4e4aad0a') diff --git a/abs/core/projectm/PKGBUILD b/abs/core/projectm/PKGBUILD index 4baced2..74bbe88 100644 --- a/abs/core/projectm/PKGBUILD +++ b/abs/core/projectm/PKGBUILD @@ -1,21 +1,32 @@ -# $Id: PKGBUILD 8766 2008-08-16 05:30:47Z eric $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# $Id: PKGBUILD 78581 2010-04-26 20:01:05Z andrea $ +# Maintainer: +# Contributor: Alexander Baldeck <alexander@archlinux.org> + pkgname=projectm -pkgver=0.99 +pkgver=2.0.1 pkgrel=2 pkgdesc="A music visualizer which uses 3D accelerated iterative image based rendering" -arch=(i686 x86_64) -url="http://xmms-projectm.sourceforge.net" -license="GPL" -depends=('ftgl' 'glut') -makedepends=('pkgconfig' 'xproto') -install=projectm.install -source=(http://downloads.sourceforge.net/sourceforge/projectm/libprojectM-$pkgver.tar.bz2) -md5sums=('20dc0aa2af96340c3209c9795cc3217d') +arch=('i686' 'x86_64') +url="http://projectm.sourceforge.net/" +license=('LGPL') +depends=('gcc-libs' 'ftgl' 'glew' 'gtkglext') +makedepends=('pkgconfig' 'cmake') +source=(http://downloads.sourceforge.net/${pkgname}/projectM-${pkgver}-Source.tar.gz) +md5sums=('f8bf795878cdbbef54784cf2390b4c89') build() { - cd $startdir/src/libprojectM - ./configure --prefix=/usr - make || return - make DESTDIR=$startdir/pkg install + cd ${srcdir} +# sed -i 's|FTGL/FTGL.h|FTGL/ftgl.h|' Renderer.hpp || return 1 +# sed -i "s|#include <iostream>|#include <cstdio>\n#include <iostream>|" BuiltinParams.cpp || return 1 + mkdir build + cd build + cmake ../projectM-${pkgver}-Source \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install || return 1 } diff --git a/abs/core/shadow/PKGBUILD b/abs/core/shadow/PKGBUILD index 89fba13..f8afc52 100644 --- a/abs/core/shadow/PKGBUILD +++ b/abs/core/shadow/PKGBUILD @@ -1,14 +1,15 @@ -# $Id: PKGBUILD 10738 2008-08-31 05:33:35Z aaron $ +# $Id: PKGBUILD 81313 2010-05-28 01:29:23Z ibiru $ # Maintainer: Aaron Griffin <aaron@archlinux.org> pkgname=shadow -pkgver=4.1.2.1 -pkgrel=2 +pkgver=4.1.4.2 +pkgrel=3 pkgdesc="Shadow password file utilities" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url='http://pkg-shadow.alioth.debian.org/' license=('custom') groups=('base') +depends=('bash') backup=(etc/login.defs etc/pam.d/{chage,login,passwd,shadow,useradd,usermod,userdel} etc/pam.d/{chpasswd,newusers,groupadd,groupdel,groupmod} @@ -16,22 +17,26 @@ backup=(etc/login.defs etc/default/useradd) depends=('pam') source=(ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-$pkgver.tar.bz2 - useradd.defaults login passwd defaults.pam login.defs adduser shadow.cron.daily - xstrdup.patch) + useradd.defaults login passwd chgpasswd chpasswd newusers defaults.pam + login.defs adduser shadow.cron.daily xstrdup.patch shadow-4.1.4.2-groupmod-pam-check.patch) options=(!libtool) -install='shadow.install' -md5sums=('c178e49c45495e296dabbe4ae01a0fbe' +install=shadow.install +md5sums=('d593a9cab93c48ee0a6ba056db8c1997' 'beb64d09256ea46a4d96a783f096447f' - '0aa429de6773ebcdf89db80165379cc6' + 'a7597cb2f60d7544d8d0ba6e49f6d937' 'b84204ab731bd02dca49d0637d44ebec' + '65e9ebce249a5b9ed021e2790452b9e1' + '453a98456b297d2a69ca7e9b5f40d10b' + '453a98456b297d2a69ca7e9b5f40d10b' 'a31374fef2cba0ca34dfc7078e2969e4' - '3699bed31154051c0508a890d6d95027' + 'fad9a7116366f7775b1099290be840da' '6ce67e423ee19c87ae64f661310b2408' '1d64b4113e1d402746d9dd65f28a2c6f' - '0eebe9d13065bec4b5d7ccf3bf46c509') + '0eebe9d13065bec4b5d7ccf3bf46c509' + '7b747f7dca38b0b6e8ee56434378baae') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver #Ugh, force this to build shared libraries, for god's sake sed -i "s/noinst_LTLIBRARIES/lib_LTLIBRARIES/g" lib/Makefile.am @@ -39,48 +44,54 @@ build() { autoreconf export LDFLAGS="$LDFLAGS -lcrypt" - patch -Np1 -i $startdir/src/xstrdup.patch || return 1 + patch -Np1 -i $srcdir/xstrdup.patch || return 1 + patch -Np1 -i $srcdir/shadow-4.1.4.2-groupmod-pam-check.patch || return 1 # supress etc/pam.d/*, we provide our own sed -i '/^SUBDIRS/s/pam.d//' etc/Makefile.in ./configure \ - --prefix=/usr --libdir=/lib \ - --mandir=/usr/share/man --sysconfdir=/etc \ + --prefix=/usr --libdir=/lib \ + --mandir=/usr/share/man --sysconfdir=/etc \ --enable-shared --disable-static \ --with-libpam --without-selinux make || return 1 - make DESTDIR=$startdir/pkg install +} +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install # license - install -D -m644 COPYING $startdir/pkg/usr/share/licenses/shadow/COPYING + install -Dm644 COPYING $pkgdir/usr/share/licenses/shadow/COPYING # interactive useradd - install -D -m755 $startdir/src/adduser $startdir/pkg/usr/sbin/adduser + install -Dm755 $srcdir/adduser $pkgdir/usr/sbin/adduser # useradd defaults - install -D -m644 $startdir/src/useradd.defaults $startdir/pkg/etc/default/useradd + install -Dm644 $srcdir/useradd.defaults $pkgdir/etc/default/useradd # cron job - install -D -m744 $startdir/src/shadow.cron.daily $startdir/pkg/etc/cron.daily/shadow + install -Dm744 $srcdir/shadow.cron.daily $pkgdir/etc/cron.daily/shadow # login.defs - install -D -m644 $startdir/src/login.defs $startdir/pkg/etc/login.defs + install -Dm644 $srcdir/login.defs $pkgdir/etc/login.defs # PAM config - cutsom - install -D -m644 $startdir/src/login $startdir/pkg/etc/pam.d/login - install -D -m644 $startdir/src/passwd $startdir/pkg/etc/pam.d/passwd + install -Dm644 $srcdir/login $pkgdir/etc/pam.d/login + install -Dm644 $srcdir/passwd $pkgdir/etc/pam.d/passwd + install -Dm644 $srcdir/chgpasswd $pkgdir/etc/pam.d/chgpasswd + install -Dm644 $srcdir/chpasswd $pkgdir/etc/pam.d/chpasswd + install -Dm644 $srcdir/newusers $pkgdir/etc/pam.d/newusers # PAM config - from tarball - install -D -m644 etc/pam.d/chgpasswd $startdir/pkg/etc/pam.d/chgpasswd - install -D -m644 etc/pam.d/groupmems $startdir/pkg/etc/pam.d/groupmems + install -Dm644 etc/pam.d/groupmems $pkgdir/etc/pam.d/groupmems # we use the 'useradd' PAM file for other similar utilities - for file in chage chpasswd chfn chsh groupadd groupdel groupmod \ - newusers shadow useradd usermod userdel; do - install -D -m644 $startdir/src/defaults.pam $startdir/pkg/etc/pam.d/$file + for file in chage chfn chsh groupadd groupdel groupmod shadow \ + useradd usermod userdel; do + install -Dm644 $srcdir/defaults.pam $pkgdir/etc/pam.d/$file done # Remove su - using su from coreutils instead - rm -v $startdir/pkg/bin/su - find $startdir/pkg/usr/share/man -name 'su.1' -exec rm -v {} \; + rm -v $pkgdir/bin/su + find $pkgdir/usr/share/man -name 'su.1' -exec rm -v {} \; } diff --git a/abs/core/shadow/chgpasswd b/abs/core/shadow/chgpasswd new file mode 100644 index 0000000..8f49f5c --- /dev/null +++ b/abs/core/shadow/chgpasswd @@ -0,0 +1,4 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +account required pam_permit.so +password include system-auth diff --git a/abs/core/shadow/chpasswd b/abs/core/shadow/chpasswd new file mode 100644 index 0000000..bc14857 --- /dev/null +++ b/abs/core/shadow/chpasswd @@ -0,0 +1,6 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +auth required pam_unix.so +account required pam_unix.so +session required pam_unix.so +password required pam_unix.so md5 shadow diff --git a/abs/core/shadow/login b/abs/core/shadow/login index 5d4ceeb..2230dd0 100644 --- a/abs/core/shadow/login +++ b/abs/core/shadow/login @@ -16,3 +16,6 @@ session required pam_motd.so session required pam_limits.so session optional pam_mail.so dir=/var/spool/mail standard session optional pam_lastlog.so +# install consolekit and uncomment the line below +# to have ACL handle non-standard udev permissions +#session optional pam_ck_connector.so diff --git a/abs/core/shadow/login.defs b/abs/core/shadow/login.defs index 9b1fab0..653e14e 100644 --- a/abs/core/shadow/login.defs +++ b/abs/core/shadow/login.defs @@ -131,12 +131,18 @@ PASS_WARN_AGE 7 # UID_MIN 1000 UID_MAX 60000 +# System accounts +SYS_UID_MIN 500 +SYS_UID_MAX 999 # # Min/max values for automatic gid selection in groupadd # -GID_MIN 100 +GID_MIN 1000 GID_MAX 60000 +# System accounts +SYS_GID_MIN 500 +SYS_GID_MAX 999 # # Max number of login retries if password is bad diff --git a/abs/core/shadow/newusers b/abs/core/shadow/newusers new file mode 100644 index 0000000..bc14857 --- /dev/null +++ b/abs/core/shadow/newusers @@ -0,0 +1,6 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +auth required pam_unix.so +account required pam_unix.so +session required pam_unix.so +password required pam_unix.so md5 shadow diff --git a/abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch b/abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch new file mode 100644 index 0000000..f25c4e1 --- /dev/null +++ b/abs/core/shadow/shadow-4.1.4.2-groupmod-pam-check.patch @@ -0,0 +1,21 @@ +http://bugs.gentoo.org/300790 +http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/2009-November/007850.html + +2009-11-05 Nicolas François <nicolas.francois@centraliens.net> + + * NEWS, src/groupmod.c: Fixed groupmod when configured with + --enable-account-tools-setuid. + +diff --git a/src/groupmod.c b/src/groupmod.c +index 4205df2..da6d77f 100644 +--- a/src/groupmod.c ++++ b/src/groupmod.c +@@ -724,7 +724,7 @@ int main (int argc, char **argv) + { + struct passwd *pampw; + pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */ +- if (NULL == pamh) { ++ if (NULL == pampw) { + fprintf (stderr, + _("%s: Cannot determine your user name.\n"), + Prog); diff --git a/abs/core/shadow/shadow.install b/abs/core/shadow/shadow.install index 881a67b..c1bd106 100644 --- a/abs/core/shadow/shadow.install +++ b/abs/core/shadow/shadow.install @@ -1,11 +1,8 @@ post_upgrade() { - # fix gshadow - if [ "$(grpck -r)" ]; then - echo "Fixing gshadow file ..." - while :; do echo "y"; done | grpck + grpck -r &>/dev/null + if [ $? -eq 2 ]; then + echo "Fixing gshadow file ..." + while :; do echo "y"; done | grpck &>/dev/null fi + return 0 } - -op=$1 -shift -$op $* diff --git a/abs/core/shared-mime-info/PKGBUILD b/abs/core/shared-mime-info/PKGBUILD index 4850139..45f7ba1 100644 --- a/abs/core/shared-mime-info/PKGBUILD +++ b/abs/core/shared-mime-info/PKGBUILD @@ -1,22 +1,29 @@ -# $Id: PKGBUILD 15025 2008-10-12 10:43:09Z jgc $ +# $Id: PKGBUILD 95306 2010-10-18 14:49:19Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=shared-mime-info -pkgver=0.51 +pkgver=0.80 pkgrel=1 pkgdesc="Freedesktop.org Shared MIME Info" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL') -depends=('libxml2>=2.6.32' 'glib2>=2.18.1') -makedepends=('perlxml' 'pkgconfig') +depends=('libxml2>=2.7.7' 'glib2>=2.26.0') +makedepends=('intltool' 'pkgconfig') install=shared-mime-info.install url="http://freedesktop.org/Software/shared-mime-info" -source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2) -md5sums=('01d72161f7d88123fbccd378871f02f0') +source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2 + pbm.patch) +md5sums=('eb8d24a6a80888849c9db7f30232ba6a' + '39fcc08fbd33145684ba97f1f64644c2') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --disable-update-mimedb || return 1 + patch -p1 -i "${srcdir}/pbm.patch" + ./configure --prefix=/usr --disable-update-mimedb make || return 1 - make DESTDIR="${pkgdir}" install || return 1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/shared-mime-info/pbm.patch b/abs/core/shared-mime-info/pbm.patch new file mode 100644 index 0000000..040900e --- /dev/null +++ b/abs/core/shared-mime-info/pbm.patch @@ -0,0 +1,49 @@ +diff -Naur shared-mime-info-0.70-orig/freedesktop.org.xml shared-mime-info-0.70/freedesktop.org.xml +--- shared-mime-info-0.70-orig/freedesktop.org.xml 2010-02-06 02:39:24.000000000 -0500 ++++ shared-mime-info-0.70/freedesktop.org.xml 2010-02-06 02:48:01.000000000 -0500 +@@ -17025,12 +17025,10 @@ + <magic priority="50"> + <match value="P1" type="string" offset="0"> + <match value="0x0a" type="byte" offset="2"> +- <match value="#" type="string" offset="3"/> + </match> + </match> + <match value="P4" type="string" offset="0"> + <match value="0x0a" type="byte" offset="2"> +- <match value="#" type="string" offset="3"/> + </match> + </match> + </magic> +@@ -17074,12 +17072,10 @@ + <magic priority="50"> + <match value="P2" type="string" offset="0"> + <match value="0x0a" type="byte" offset="2"> +- <match value="#" type="string" offset="3"/> + </match> + </match> + <match value="P5" type="string" offset="0"> + <match value="0x0a" type="byte" offset="2"> +- <match value="#" type="string" offset="3"/> + </match> + </match> + </magic> +@@ -17123,12 +17119,10 @@ + <magic priority="50"> + <match value="P3" type="string" offset="0"> + <match value="0x0a" type="byte" offset="2"> +- <match value="#" type="string" offset="3"/> + </match> + </match> + <match value="P6" type="string" offset="0"> + <match value="0x0a" type="byte" offset="2"> +- <match value="#" type="string" offset="3"/> + </match> + </match> + </magic> +@@ -23926,4 +23920,4 @@ + </treemagic> + </mime-type> + +-</mime-info> +\ No newline at end of file ++</mime-info> diff --git a/abs/core/shared-mime-info/shared-mime-info.install b/abs/core/shared-mime-info/shared-mime-info.install index 6b06094..fac0c1c 100644 --- a/abs/core/shared-mime-info/shared-mime-info.install +++ b/abs/core/shared-mime-info/shared-mime-info.install @@ -1,12 +1,15 @@ post_install() { - update-mime-database /usr/share/mime > /dev/null 2>&1 + update-mime-database usr/share/mime > /dev/null 2>&1 } post_upgrade() { - post_install $1 + post_install } -op=$1 -shift - -$op $* +post_remove() { + if [ -d usr/share/mime ]; then + rm -f usr/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache} + rm -rf usr/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc} + rmdir --ignore-fail-on-non-empty usr/share/mime + fi +} diff --git a/abs/core/sqlite3/PKGBUILD b/abs/core/sqlite3/PKGBUILD index 0a6fc93..1f60697 100644 --- a/abs/core/sqlite3/PKGBUILD +++ b/abs/core/sqlite3/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 86812 2010-08-04 21:15:20Z andyrtr $ +# $Id: PKGBUILD 94606 2010-10-08 18:17:20Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=sqlite3 -pkgver=3.7.0.1 +pkgver=3.7.3 pkgrel=1 pkgdesc="A C library that implements an SQL database engine" arch=('i686' 'x86_64') @@ -16,26 +16,30 @@ replaces=('sqlite') source=(http://www.sqlite.org/sqlite-$pkgver.tar.gz license.txt) options=(!libtool) -md5sums=('d25d7551ba6bb310362cb0e7d4906f25' +md5sums=('5437978aae90350cf984993091e0d695' 'c1cdbc5544034d9012e421e75a5e4890') build() { cd ${srcdir}/sqlite-${pkgver} export LTLINK_EXTRAS="-ldl" - export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1" + export CFLAGS="$CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY" ./configure --prefix=/usr \ --enable-threadsafe \ --enable-threads-override-locks \ --enable-cross-thread-connections \ --disable-static \ - --enable-load-extension || return 1 + --enable-load-extension # rpath removal sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make || return 1 - make DESTDIR=${pkgdir} install || return 1 +} + +package() { + cd ${srcdir}/sqlite-${pkgver} + make DESTDIR=${pkgdir} install install -Dm0644 sqlite3.1 ${pkgdir}/usr/share/man/man1/sqlite3.1 # license diff --git a/abs/core/squashfs-tools/PKGBUILD b/abs/core/squashfs-tools/PKGBUILD index fb99564..87a60db 100644 --- a/abs/core/squashfs-tools/PKGBUILD +++ b/abs/core/squashfs-tools/PKGBUILD @@ -1,25 +1,28 @@ -# $Id: PKGBUILD 70339 2010-02-26 03:50:39Z dgriffiths $ +# $Id: PKGBUILD 96914 2010-10-25 15:28:14Z pierre $ # Maintainer: Aaron Griffin <aaron@archlinux.org> # Original TU: Jeff Mickey <j@codemac.net> # Contributor: ciccio.a pkgname=squashfs-tools -pkgver=4.0 -pkgrel=3 +pkgver=4.1 +pkgrel=2 pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux." url="http://squashfs.sourceforge.net" license=("GPL") arch=('i686' 'x86_64') -depends=('zlib' 'glibc') -source=(http://downloads.sourceforge.net/sourceforge/squashfs/squashfs${pkgver}.tar.gz mksquashfs-fix-race.patch) +depends=('zlib' 'glibc' 'lzo2' 'xz') +source=("http://downloads.sourceforge.net/sourceforge/squashfs/squashfs${pkgver}.tar.gz") +md5sums=('8e1b2b96f5d5f3fe48fef226ae8cd341') -build() -{ +build() { cd ${srcdir}/squashfs${pkgver}/${pkgname} - patch < ${srcdir}/mksquashfs-fix-race.patch || return 1 + sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile + sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile make || return 1 - install -Dm755 mksquashfs ${pkgdir}/sbin/mksquashfs || return 1 - install -m755 unsquashfs ${pkgdir}/sbin/unsquashfs || return 1 } -md5sums=('a3c23391da4ebab0ac4a75021ddabf96' - '116b8a285ff8d61d59c48eb80c0ff564') + +package() { + cd ${srcdir}/squashfs${pkgver}/${pkgname} + install -Dm755 mksquashfs ${pkgdir}/sbin/mksquashfs + install -m755 unsquashfs ${pkgdir}/sbin/unsquashfs +} diff --git a/abs/core/vbetool/PKGBUILD b/abs/core/vbetool/PKGBUILD index 9b279e6..244babc 100644 --- a/abs/core/vbetool/PKGBUILD +++ b/abs/core/vbetool/PKGBUILD @@ -1,32 +1,31 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: James Rayner <james@archlinux.org> +# $Id: PKGBUILD 19227 2008-11-17 22:22:42Z thayer $ # Contributor: Christian Storm <Christian.Storm@gmx.DE> +# Contributor: James Rayner <james@archlinux.org> +# Maintainer: Thayer Williams <thayer@archlinux.org> + pkgname=vbetool -pkgver=1.0 -pkgrel=2 +pkgver=1.1 +pkgrel=1 pkgdesc="vbetool uses lrmi in order to run code from the video BIOS" -arch=('i686' 'x86_64') url="http://www.srcf.ucam.org/~mjg59/vbetool/" license=('GPL2') +arch=('i686' 'x86_64') depends=('zlib' 'libx86') makedepends=('pciutils') source=(http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-${pkgver}.tar.gz) - +md5sums=('ffb03b118867a02296d7449019ad8846') build() { - cd $startdir/src/vbetool-$pkgver + cd $srcdir/$pkgname-$pkgver if [ "${CARCH}" = "x86_64" ]; then - ./configure --prefix=/usr --without-x86emu + ./configure --prefix=/usr --without-x86emu || return 1 else - ./configure --prefix=/usr + ./configure --prefix=/usr || return 1 fi make LIBS=-lpci || return 1 - make DESTDIR=$startdir/pkg install +} +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install || return 1 } - - - - - -md5sums=('e57b5475b8200e3c44df7f53f0fbdc72') diff --git a/abs/core/xmlrpc-c/PKGBUILD b/abs/core/xmlrpc-c/PKGBUILD index 4a1057e..02a386c 100644 --- a/abs/core/xmlrpc-c/PKGBUILD +++ b/abs/core/xmlrpc-c/PKGBUILD @@ -1,23 +1,25 @@ -# Maintainer: Pierre Schmitz <pierre@archlinux.de> +# $Id: $ +# Contributor: Pierre Schmitz <pierre@archlinux.de> # Contributor: Vitaliy Berdinskikh <skipper13@root.ua> +# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com> pkgname=xmlrpc-c -pkgver=1.06.32 +pkgver=1858 pkgrel=1 pkgdesc='This library provides a modular implementation of XML-RPC for C and C++' arch=('i686' 'x86_64') url='http://xmlrpc-c.sourceforge.net/' -license=('custom') -depends=('curl' 'libxml2') +license=('custom:xmlrpc-c') +depends=('curl' 'libxml2' 'gcc-libs' 'zlib') makedepends=('libtool') options=('!makeflags' '!libtool') -source=("http://downloads.sourceforge.net/xmlrpc-c/xmlrpc-c-${pkgver}.tgz") -md5sums=('1a5a0771a22e75819d90e7fab38ef377') +source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('2bd41d1827ebd12ca8f0b9ef0b015228') build() { [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC" - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname ./configure --prefix=/usr \ --enable-libxml2-backend \ --disable-cgi-server \ @@ -26,7 +28,12 @@ build() { --disable-wininet-client make CFLAGS_PERSONAL="${CFLAGS}" || return 1 +} +package() { + cd $srcdir/$pkgname make DESTDIR=$pkgdir install install -m 644 -D doc/COPYING $pkgdir/usr/share/licenses/${pkgname}/COPYING + mv $pkgdir/usr/man $pkgdir/usr/share/man } +# vim:set ts=2 sw=2 et: diff --git a/abs/core/xorg-luit/PKGBUILD b/abs/core/xorg-luit/PKGBUILD new file mode 100644 index 0000000..fd210c8 --- /dev/null +++ b/abs/core/xorg-luit/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=xorg-luit +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Filter that can be run between an arbitrary application and +a UTF-8 terminal emulator" +arch=('i686' 'x86_64') +url="http://xorg.freedesktop.org/" +license=('custom') +depends=('libfontenc') +makedepends=('xorg-util-macros') +source=(http://xorg.freedesktop.org/archive/individual/app/luit-${pkgver}.tar.bz2) +sha1sums=('fa974b417f6b65c241398d8d011207c6facb0766') + +build() { + cd "${srcdir}/luit-${pkgver}" + ./configure --prefix=/usr + make || return 1 +} +package() { + cd "${srcdir}/luit-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} diff --git a/abs/core/xorg-xauth/PKGBUILD b/abs/core/xorg-xauth/PKGBUILD index 5f42377..bd2b8f7 100644 --- a/abs/core/xorg-xauth/PKGBUILD +++ b/abs/core/xorg-xauth/PKGBUILD @@ -1,23 +1,25 @@ -# $Id: PKGBUILD 4401 2008-07-06 20:28:57Z jgc $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 57490 2009-10-31 18:31:09Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=xorg-xauth -pkgver=1.0.3 +pkgver=1.0.4 pkgrel=1 pkgdesc="X.Org authorization settings program" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('custom') url="http://xorg.freedesktop.org/" depends=('libxmu') makedepends=('pkgconfig') source=(${url}/releases/individual/app/xauth-${pkgver}.tar.bz2) -md5sums=('e91e10ace1df0d5f2cbc74ead256407a') +md5sums=('fa00078c414c4a57cab7a6d89a0c8734') build() { - cd ${startdir}/src/xauth-${pkgver} + cd "${srcdir}/xauth-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 - install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname} - install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 +} +package() { + cd "${srcdir}/xauth-${pkgver}" + make DESTDIR="${pkgdir}" install || return 1 + install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 } diff --git a/abs/core/xorg-xinit/06_move_serverauthfile_into_tmp.diff b/abs/core/xorg-xinit/06_move_serverauthfile_into_tmp.diff new file mode 100644 index 0000000..99e8a67 --- /dev/null +++ b/abs/core/xorg-xinit/06_move_serverauthfile_into_tmp.diff @@ -0,0 +1,20 @@ +Move startx auth files in /tmp so they are removed on reboot. +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357736 +The trap patch didn't seem to work on reboot. +--- + startx.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: xinit/startx.cpp +=================================================================== +--- xinit.orig/startx.cpp ++++ xinit/startx.cpp +@@ -273,7 +273,7 @@ + dummy=0 + + XCOMM create a file with auth information for the server. ':0' is a dummy. +- xserverauthfile=$HOME/.serverauth.$$ ++ xserverauthfile=`mktemp -p /tmp serverauth.XXXXXXXXXX` + trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM + xauth -q -f "$xserverauthfile" << EOF + add :$dummy . $mcookie diff --git a/abs/core/xorg-xinit/PKGBUILD b/abs/core/xorg-xinit/PKGBUILD index d66a5cb..6705c49 100644 --- a/abs/core/xorg-xinit/PKGBUILD +++ b/abs/core/xorg-xinit/PKGBUILD @@ -1,39 +1,47 @@ -# $Id: PKGBUILD 3232 2008-06-21 15:51:37Z jgc $ +# $Id: PKGBUILD 99539 2010-11-15 11:06:22Z jgc $ # Maintainer: Alexander Baldeck <alexander@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=xorg-xinit -pkgver=1.1.0 -pkgrel=2 +pkgver=1.3.0 +pkgrel=1 pkgdesc="X.Org initialisation program " -arch=(i686 x86_64) -license=('GPL') +arch=('i686' 'x86_64') +license=('custom') url="http://xorg.freedesktop.org/" depends=('libx11' 'xorg-xauth') -makedepends=('pkgconfig') +makedepends=('xorg-util-macros') +optdepends=('xorg-twm' 'xterm') backup=('etc/skel/.xinitrc' - 'etc/skel/.xsession' - 'etc/X11/xinit/xserverrc' - 'etc/X11/xinit/xinitrc') + 'etc/skel/.xsession' + 'etc/X11/xinit/xserverrc' + 'etc/X11/xinit/xinitrc') groups=('xorg') source=(${url}/releases/individual/app/xinit-${pkgver}.tar.bz2 - xinitrc - xsession - xserverrc) + 06_move_serverauthfile_into_tmp.diff + xinitrc + xsession + xserverrc) options=(!emptydirs) -md5sums=('9144097186c3d2454beffe8ac3b53c6e' - 'f165d9a52284ef8cd4c8a129463a2b49' +md5sums=('bc4e8b7d1919597cc37a0d24aa149dda' + 'abd072ec435ce084cf4e89c58f83d45c' + 'cee2d70748a089fbc7db64a4a6e8fdb1' '7873d97db30d6c279ed37e3559e7c59d' - '7a9d2659689a3d64b68758772cff4688') + 'bb550d3b9a2d2b6cbe6e2667a3a7cd03') build() { - cd ${startdir}/src/xinit-${pkgver} - ./configure --prefix=/usr - make XINITDIR=/etc/X11/xinit || return 1 - make XINITDIR=/etc/X11/xinit DESTDIR=${startdir}/pkg install || return 1 + cd "${srcdir}/xinit-${pkgver}" + patch -Np1 -i "${srcdir}/06_move_serverauthfile_into_tmp.diff" + ./configure --prefix=/usr --with-xinitdir=/etc/X11/xinit + make || return 1 +} +package() { + cd "${srcdir}/xinit-${pkgver}" + make DESTDIR="${pkgdir}" install - install -m755 -d ${pkgdir}/etc/skel - install -m755 -d ${pkgdir}/etc/X11/xinit - install -m755 ${srcdir}/xinitrc ${pkgdir}/etc/skel/.xinitrc || return 1 - install -m755 ${srcdir}/xsession ${pkgdir}/etc/skel/.xsession || return 1 - install -m755 ${srcdir}/xserverrc ${pkgdir}/etc/X11/xinit/xserverrc + install -m755 -d "${pkgdir}/etc/skel" + install -m644 "${srcdir}/xinitrc" "${pkgdir}/etc/skel/.xinitrc" + install -m644 "${srcdir}/xsession" "${pkgdir}/etc/skel/.xsession" + install -m644 "${srcdir}/xserverrc" "${pkgdir}/etc/X11/xinit/xserverrc" + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } diff --git a/abs/core/xorg-xinit/xinitrc b/abs/core/xorg-xinit/xinitrc index 7af398d..a5a3527 100644 --- a/abs/core/xorg-xinit/xinitrc +++ b/abs/core/xorg-xinit/xinitrc @@ -1,18 +1,10 @@ #!/bin/sh - # # ~/.xinitrc # # Executed by startx (run your window manager from here) -# # exec gnome-session # exec startkde # exec startxfce4 -# exec icewm -# exec openbox -# exec blackbox -# exec fluxbox -# exec ratpoison -# exec dwm -# ... or any other WM of your choosing ... +# ...or the Window Manager of your choice diff --git a/abs/core/xorg-xinit/xserverrc b/abs/core/xorg-xinit/xserverrc index c880000..6a636c1 100644 --- a/abs/core/xorg-xinit/xserverrc +++ b/abs/core/xorg-xinit/xserverrc @@ -1 +1 @@ -exec /usr/bin/X -nolisten tcp -logverbose 6 +exec /usr/bin/X -nolisten tcp diff --git a/abs/core/xterm/PKGBUILD b/abs/core/xterm/PKGBUILD index a034ef9..f65898e 100644 --- a/abs/core/xterm/PKGBUILD +++ b/abs/core/xterm/PKGBUILD @@ -1,18 +1,18 @@ -# $Id: PKGBUILD 88416 2010-08-23 09:47:31Z jgc $ +# $Id: PKGBUILD 96985 2010-10-25 20:41:05Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=xterm -pkgver=261 +pkgver=266 pkgrel=1 pkgdesc="X Terminal Emulator" arch=('i686' 'x86_64') url="http://invisible-island.net/xterm/" license=('custom') -depends=('libxft' 'libxaw' 'ncurses' 'xorg-apps') +depends=('libxft' 'libxaw' 'ncurses' 'xorg-luit' 'xbitmaps') groups=('xorg') source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz LICENSE) -md5sums=('10d211f6986c4b279cfa9530b2361457' +md5sums=('bb53ddd4933736a50e6391cef3472c12' '10ecc3f8ee91e3189863a172f68282d2') build() { diff --git a/abs/core/xvidcore/PKGBUILD b/abs/core/xvidcore/PKGBUILD index 82e87b5..2685393 100644 --- a/abs/core/xvidcore/PKGBUILD +++ b/abs/core/xvidcore/PKGBUILD @@ -1,27 +1,30 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 60177 2009-12-01 17:36:38Z giovanni $ # Maintainer: tobias <tobias@archlinux.org> # Contributor: Sarah Hay <sarah@archlinux.org> pkgname=xvidcore -pkgver=1.1.3 +pkgver=1.2.2 pkgrel=1 pkgdesc="XviD is an open source MPEG-4 video codec" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('GPL') url="http://www.xvid.org/" depends=('glibc') makedepends=('nasm') source=(http://downloads.xvid.org/downloads/${pkgname}-${pkgver}.tar.bz2) -md5sums=('29c60d4d991ac18f687a8fd13cfe64b7') +md5sums=('6a3473a12c8a1fa7bdc2b5cb829fab58') build() { - cd ${startdir}/src/${pkgname}-${pkgver}/build/generic + cd ${srcdir}/${pkgname}/build/generic ./configure --prefix=/usr make || return 1 - make DESTDIR=${startdir}/pkg install +} +package() { + cd ${srcdir}/${pkgname}/build/generic + make DESTDIR=${pkgdir} install || return 1 #Fix dynamic libraries - cd ${startdir}/pkg/usr/lib + cd ${pkgdir}/usr/lib mylib=$(basename libxvidcore.so.*) ln -sf ${mylib} libxvidcore.so.4 ln -sf ${mylib} libxvidcore.so |