[arch-commits] Commit in file/repos/testing-x86_64 (5 files)

2020-01-24 Thread Sébastien Luttringer via arch-commits
Date: Friday, January 24, 2020 @ 16:15:02
  Author: seblu
Revision: 373879

archrelease: copy trunk to testing-x86_64

Added:
  
file/repos/testing-x86_64/0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch
(from rev 373878, 
file/trunk/0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch)
  file/repos/testing-x86_64/PKGBUILD
(from rev 373878, file/trunk/PKGBUILD)
  file/repos/testing-x86_64/file-5.38-seccomp-tcgets.patch
(from rev 373878, file/trunk/file-5.38-seccomp-tcgets.patch)
Deleted:
  file/repos/testing-x86_64/PKGBUILD
  file/repos/testing-x86_64/file-5.38-seccomp-tcgets.patch

-+
 0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch |   30 ++
 PKGBUILD|  124 
+-
 file-5.38-seccomp-tcgets.patch  |   56 ++--
 3 files changed, 121 insertions(+), 89 deletions(-)

Copied: 
file/repos/testing-x86_64/0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch
 (from rev 373878, 
file/trunk/0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch)
===
--- 0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch 
(rev 0)
+++ 0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch 
2020-01-24 16:15:02 UTC (rev 373879)
@@ -0,0 +1,30 @@
+From 84221b0370a8b49e0fa2dbd88c89fb6e87ec95bd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= 
+Date: Fri, 24 Jan 2020 17:07:11 +0100
+Subject: [PATCH] Revert "Don't depend on the execute bit to determine pie
+ executable or shared object."
+
+This reverts commit d653309de04ed10fdeda79f2c6ca7a7e96e122f1.
+---
+ magic/Magdir/elf | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/magic/Magdir/elf b/magic/Magdir/elf
+index b5a2e00b..a35b615d 100644
+--- a/magic/Magdir/elf
 b/magic/Magdir/elf
+@@ -50,8 +50,9 @@
+ !:mimeapplication/x-object
+ >16   leshort 2   executable,
+ !:mimeapplication/x-executable
+->16   leshort 3   shared object,
+-!:mimeapplication/x-sharedlib
++>16   leshort 3   ${x?pie executable:shared object},
++
++!:mimeapplication/x-${x?pie-executable:sharedlib}
+ >16   leshort 4   core file,
+ !:mimeapplication/x-coredump
+ # OS-specific
+-- 
+2.25.0
+

Deleted: PKGBUILD
===
--- PKGBUILD2020-01-24 16:14:54 UTC (rev 373878)
+++ PKGBUILD2020-01-24 16:15:02 UTC (rev 373879)
@@ -1,61 +0,0 @@
-# Maintainer: Sébastien Luttringer 
-# Contributor: Allan McRae 
-# Contributor: Andreas Radke 
-
-pkgname=file
-pkgver=5.38
-pkgrel=2
-pkgdesc='File type identification utility'
-arch=('x86_64')
-license=('custom')
-groups=('base-devel')
-url='https://www.darwinsys.com/file/'
-depends=('glibc' 'zlib' 'xz' 'bzip2' 'libseccomp' 'libseccomp.so')
-provides=('libmagic.so')
-source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}
-file-5.38-seccomp-tcgets.patch)
-validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
-sha256sums=('593c2ffc2ab349c5aea0f55fedfe4d681737b6b62376a9b3ad1e77b2cc19fa34'
-'SKIP'
-'da6197e89ca53bd4f0d9009fa3a18c6fdb66dc07eb92e6bd77207eadb4548cfe')
-
-prepare() {
-  cd $pkgname-$pkgver
-  # apply patch from the source array (should be a pacman feature)
-  local src
-  for src in "${source[@]}"; do
-src="${src%%::*}"
-src="${src##*/}"
-[[ $src = *.patch ]] || continue
-msg2 "Applying patch $src..."
-patch -Np1 < "../$src"
-  done
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  # Fix linking libmagic (vfork needs libpthread)
-  CFLAGS+=" -pthread"
-
-  ./configure \
---prefix=/usr \
---datadir=/usr/share/file \
---enable-fsect-man5 \
---enable-libseccomp
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 373878, 
file/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-01-24 16:15:02 UTC (rev 373879)
@@ -0,0 +1,63 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.38
+pkgrel=3
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib' 'xz' 'bzip2' 'libseccomp' 'libseccomp.so')
+provides=('libmagic.so')

[arch-commits] Commit in file/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2019-10-06 Thread Sébastien Luttringer via arch-commits
Date: Sunday, October 6, 2019 @ 15:45:14
  Author: seblu
Revision: 363947

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/
  file/repos/testing-x86_64/PKGBUILD
(from rev 363946, file/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 363946, 
file/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-10-06 15:45:14 UTC (rev 363947)
@@ -0,0 +1,62 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.37
+pkgrel=3
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('80c29aca745466c6c24d11f059329075'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # Fix linking libmagic (vfork needs libpthread)
+  CFLAGS+=" -pthread"
+
+  # seccomp breaks file -z foo.xz
+  # does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix
+  # this breaks makepkg, specifically on the linux PKGBUILD's patch-*.xz
+
+  ./configure \
+--prefix=/usr \
+--datadir=/usr/share/file \
+--enable-fsect-man5 \
+--disable-libseccomp
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2019-05-28 Thread Jan Steffens via arch-commits
Date: Tuesday, May 28, 2019 @ 20:28:04
  Author: heftig
Revision: 354462

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/
  file/repos/testing-x86_64/PKGBUILD
(from rev 354461, file/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 354461, 
file/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-05-28 20:28:04 UTC (rev 354462)
@@ -0,0 +1,62 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.37
+pkgrel=2
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base' 'base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('80c29aca745466c6c24d11f059329075'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # Fix linking libmagic (vfork needs libpthread)
+  CFLAGS+=" -pthread"
+
+  # seccomp breaks file -z foo.xz
+  # does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix
+  # this breaks makepkg, specifically on the linux PKGBUILD's patch-*.xz
+
+  ./configure \
+--prefix=/usr \
+--datadir=/usr/share/file \
+--enable-fsect-man5 \
+--disable-libseccomp
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2019-05-17 Thread Sébastien Luttringer via arch-commits
Date: Friday, May 17, 2019 @ 08:38:09
  Author: seblu
Revision: 353537

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/
  file/repos/testing-x86_64/PKGBUILD
(from rev 353536, file/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 353536, 
file/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-05-17 08:38:09 UTC (rev 353537)
@@ -0,0 +1,59 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.37
+pkgrel=1
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base' 'base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('80c29aca745466c6c24d11f059329075'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # seccomp breaks file -z foo.xz
+  # does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix
+  # this breaks makepkg, specifically on the linux PKGBUILD's patch-*.xz
+
+  ./configure \
+--prefix=/usr \
+--datadir=/usr/share/file \
+--enable-fsect-man5 \
+--disable-libseccomp
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2019-02-25 Thread Sébastien Luttringer via arch-commits
Date: Monday, February 25, 2019 @ 19:18:08
  Author: seblu
Revision: 346808

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/
  file/repos/testing-x86_64/PKGBUILD
(from rev 346807, file/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 346807, 
file/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-02-25 19:18:08 UTC (rev 346808)
@@ -0,0 +1,59 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.36
+pkgrel=1
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base' 'base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('9af0eb3f5db4ae00fffc37f7b861575c'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # seccomp breaks file -z foo.xz
+  # does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix
+  # this breaks makepkg, specifically on the linux PKGBUILD's patch-*.xz
+
+  ./configure \
+--prefix=/usr \
+--datadir=/usr/share/file \
+--enable-fsect-man5 \
+--disable-libseccomp
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2018-10-20 Thread Sébastien Luttringer via arch-commits
Date: Saturday, October 20, 2018 @ 14:15:32
  Author: seblu
Revision: 336907

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/
  file/repos/testing-x86_64/PKGBUILD
(from rev 336906, file/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 336906, 
file/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-10-20 14:15:32 UTC (rev 336907)
@@ -0,0 +1,59 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.35
+pkgrel=1
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base' 'base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('5f10fb45bdaffd729a572e563783b78e'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # seccomp breaks file -z foo.xz
+  # does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix
+  # this breaks makepkg, specifically on the linux PKGBUILD's patch-*.xz
+
+  ./configure \
+--prefix=/usr \
+--datadir=/usr/share/file \
+--enable-fsect-man5 \
+--disable-libseccomp
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2018-08-19 Thread Sébastien Luttringer via arch-commits
Date: Sunday, August 19, 2018 @ 10:02:46
  Author: seblu
Revision: 332644

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/
  file/repos/testing-x86_64/PKGBUILD
(from rev 332643, file/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 332643, 
file/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-08-19 10:02:46 UTC (rev 332644)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.34
+pkgrel=1
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base' 'base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('44b0b6983462b18f96403d4d3ad80254'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # seccomp breaks file -z foo.xz
+  # does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix
+  # this breaks makepkg, specifically on the linux PKGBUILD's patch-*.xz
+
+  ./configure \
+--prefix=/usr \
+--datadir=/usr/share/file \
+--enable-fsect-man5 \
+--disable-libseccomp
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos/testing-x86_64 (PKGBUILD PKGBUILD)

2018-05-16 Thread Jan Steffens via arch-commits
Date: Thursday, May 17, 2018 @ 02:09:20
  Author: heftig
Revision: 324405

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/PKGBUILD
(from rev 324404, file/trunk/PKGBUILD)
Deleted:
  file/repos/testing-x86_64/PKGBUILD

--+
 PKGBUILD |  110 +
 1 file changed, 60 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-17 02:08:47 UTC (rev 324404)
+++ PKGBUILD2018-05-17 02:09:20 UTC (rev 324405)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer 
-# Contributor: Allan McRae 
-# Contributor: Andreas Radke 
-
-pkgname=file
-pkgver=5.33
-pkgrel=2
-pkgdesc='File type identification utility'
-arch=('x86_64')
-license=('custom')
-groups=('base' 'base-devel')
-url='https://www.darwinsys.com/file/'
-depends=('glibc' 'zlib' 'libseccomp')
-source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
-validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
-md5sums=('bbe6db96e3a9ca9554dce647390540ef'
- 'SKIP')
-
-prepare() {
-  cd $pkgname-$pkgver
-  # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-if [[ "$filename" =~ \.patch$ ]]; then
-  msg2 "Applying patch ${filename##*/}"
-  patch -p1 -N -i "$srcdir/${filename##*/}"
-fi
-  done
-  :
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --datadir=/usr/share/file --enable-fsect-man5
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 324404, 
file/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-17 02:09:20 UTC (rev 324405)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.33
+pkgrel=3
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base' 'base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('bbe6db96e3a9ca9554dce647390540ef'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # seccomp breaks file -z foo.xz
+  # does a whole pipe-fork-exec dance with /bin/xz, so difficult to fix
+  # this breaks makepkg, specifically on the linux PKGBUILD's patch-*.xz
+
+  ./configure \
+--prefix=/usr \
+--datadir=/usr/share/file \
+--enable-fsect-man5 \
+--disable-libseccomp
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2018-05-16 Thread Sébastien Luttringer via arch-commits
Date: Wednesday, May 16, 2018 @ 22:39:02
  Author: seblu
Revision: 324384

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/
  file/repos/testing-x86_64/PKGBUILD
(from rev 324383, file/trunk/PKGBUILD)

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 324383, 
file/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-05-16 22:39:02 UTC (rev 324384)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.33
+pkgrel=2
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base' 'base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib' 'libseccomp')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('bbe6db96e3a9ca9554dce647390540ef'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --datadir=/usr/share/file --enable-fsect-man5
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2018-04-17 Thread Sébastien Luttringer via arch-commits
Date: Tuesday, April 17, 2018 @ 22:40:22
  Author: seblu
Revision: 322028

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/
  file/repos/testing-x86_64/PKGBUILD
(from rev 322027, file/trunk/PKGBUILD)

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: file/repos/testing-x86_64/PKGBUILD (from rev 322027, 
file/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-04-17 22:40:22 UTC (rev 322028)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Sébastien Luttringer 
+# Contributor: Allan McRae 
+# Contributor: Andreas Radke 
+
+pkgname=file
+pkgver=5.33
+pkgrel=1
+pkgdesc='File type identification utility'
+arch=('x86_64')
+license=('custom')
+groups=('base' 'base-devel')
+url='https://www.darwinsys.com/file/'
+depends=('glibc' 'zlib')
+source=("ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('BE04995BA8F90ED0C0C176C471112AB16CB33B3A') # Christos Zoulas
+md5sums=('bbe6db96e3a9ca9554dce647390540ef'
+ 'SKIP')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --datadir=/usr/share/file --enable-fsect-man5
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in file/repos (testing-x86_64)

2013-01-03 Thread Allan McRae
Date: Thursday, January 3, 2013 @ 23:29:45
  Author: allan
Revision: 174298

db-remove: file removed by allan

Deleted:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-08-04 Thread Allan McRae
Date: Thursday, August 4, 2011 @ 06:00:00
  Author: allan
Revision: 134481

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-07-13 Thread Allan McRae
Date: Wednesday, July 13, 2011 @ 21:56:39
  Author: allan
Revision: 131729

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-05-15 Thread Tobias Powalowski
Date: Sunday, May 15, 2011 @ 04:19:48
  Author: tpowa
Revision: 123966

archrelease: remove testing-x86_64

Deleted:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-05-15 Thread Tobias Powalowski
Date: Sunday, May 15, 2011 @ 04:20:01
  Author: tpowa
Revision: 123967

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-05-14 Thread Tobias Powalowski
Date: Saturday, May 14, 2011 @ 05:19:01
  Author: tpowa
Revision: 123902

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-05-11 Thread Allan McRae
Date: Wednesday, May 11, 2011 @ 07:08:57
  Author: allan
Revision: 123431

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-04-15 Thread Allan McRae
Date: Friday, April 15, 2011 @ 08:50:18
  Author: allan
Revision: 119821

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-02-24 Thread Stéphane Gaudreault
Date: Thursday, February 24, 2011 @ 10:26:03
  Author: stephane
Revision: 71

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2011-01-18 Thread Allan McRae
Date: Tuesday, January 18, 2011 @ 23:38:54
  Author: allan
Revision: 106781

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2010-11-19 Thread Stéphane Gaudreault
Date: Friday, November 19, 2010 @ 12:08:22
  Author: stephane
Revision: 6

archrelease: copy trunk to testing-x86_64

Added:
  file/repos/testing-x86_64/



[arch-commits] Commit in file/repos (testing-x86_64)

2010-01-23 Thread Allan McRae
Date: Saturday, January 23, 2010 @ 20:10:36
  Author: allan
Revision: 65005

archrelease: new repo testing-x86_64

Added:
  file/repos/testing-x86_64/