Date: Wednesday, March 29, 2017 @ 19:52:16 Author: bisson Revision: 291809
db-move: moved ntfs-3g from [testing] to [extra] (i686, x86_64) Added: ntfs-3g/repos/extra-i686/PKGBUILD (from rev 291808, ntfs-3g/repos/testing-i686/PKGBUILD) ntfs-3g/repos/extra-x86_64/PKGBUILD (from rev 291808, ntfs-3g/repos/testing-x86_64/PKGBUILD) Deleted: ntfs-3g/repos/extra-i686/CVE-2017-0358.patch ntfs-3g/repos/extra-i686/PKGBUILD ntfs-3g/repos/extra-x86_64/CVE-2017-0358.patch ntfs-3g/repos/extra-x86_64/PKGBUILD ntfs-3g/repos/testing-i686/ ntfs-3g/repos/testing-x86_64/ ----------------------------------+ /PKGBUILD | 94 +++++++++++++++++++++++++++++++++++++ extra-i686/CVE-2017-0358.patch | 36 -------------- extra-i686/PKGBUILD | 50 ------------------- extra-x86_64/CVE-2017-0358.patch | 36 -------------- extra-x86_64/PKGBUILD | 50 ------------------- 5 files changed, 94 insertions(+), 172 deletions(-) Deleted: extra-i686/CVE-2017-0358.patch =================================================================== --- extra-i686/CVE-2017-0358.patch 2017-03-29 19:52:14 UTC (rev 291808) +++ extra-i686/CVE-2017-0358.patch 2017-03-29 19:52:16 UTC (rev 291809) @@ -1,36 +0,0 @@ ---- ntfs-3g/src/lowntfs-3g.c 2016-12-31 08:56:59.011749600 +0100 -+++ ntfs-3g/src/lowntfs-3g.c 2017-01-05 14:41:52.041473700 +0100 -@@ -3827,13 +3827,14 @@ - struct stat st; - pid_t pid; - const char *cmd = "/sbin/modprobe"; -+ char *env = (char*)NULL; - struct timespec req = { 0, 100000000 }; /* 100 msec */ - fuse_fstype fstype; - - if (!stat(cmd, &st) && !geteuid()) { - pid = fork(); - if (!pid) { -- execl(cmd, cmd, "fuse", NULL); -+ execle(cmd, cmd, "fuse", NULL, &env); - _exit(1); - } else if (pid != -1) - waitpid(pid, NULL, 0); ---- ntfs-3g/src/ntfs-3g.c 2017-02-04 23:30:23.825889593 +0100 -+++ ntfs-3g/src/nfts-3g.c 2017-02-04 23:30:42.572542756 +0100 -@@ -3612,13 +3612,14 @@ - struct stat st; - pid_t pid; - const char *cmd = "/sbin/modprobe"; -+ char *env = (char*)NULL; - struct timespec req = { 0, 100000000 }; /* 100 msec */ - fuse_fstype fstype; - - if (!stat(cmd, &st) && !geteuid()) { - pid = fork(); - if (!pid) { -- execl(cmd, cmd, "fuse", NULL); -+ execle(cmd, cmd, "fuse", NULL, &env); - _exit(1); - } else if (pid != -1) - waitpid(pid, NULL, 0); Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2017-03-29 19:52:14 UTC (rev 291808) +++ extra-i686/PKGBUILD 2017-03-29 19:52:16 UTC (rev 291809) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Gaetan Bisson <bis...@archlinux.org> -# Contributor: Tom Gundersen <t...@jklm.no> -# Contributor: Ronald van Haren <ronald.archlinux.org> -# Contributor: Thomas B�chler <thomas.archlinux.org> - -pkgname=ntfs-3g -_pkgname=ntfs-3g_ntfsprogs -pkgver=2016.2.22 -pkgrel=2 -pkgdesc='NTFS filesystem driver and utilities' -url='https://www.tuxera.com/community/open-source-ntfs-3g/' -arch=('i686' 'x86_64') -license=('GPL2') -depends=('util-linux' 'fuse2') -source=("https://tuxera.com/opensource/${_pkgname}-${pkgver}.tgz" - CVE-2017-0358.patch) -sha1sums=('382df40c366711003cf24d2342033c23e2580b42' - '1949f21fc8115b3ea7e1197cf3d562ea6f97f1db') - -conflicts=('ntfsprogs') -provides=('ntfsprogs') -replaces=('ntfsprogs') - -prepare() { - cd "${srcdir}/${_pkgname}-${pkgver}" - sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in - patch -p1 < "${srcdir}/CVE-2017-0358.patch" -} - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - ./configure \ - --prefix=/usr \ - --sbin=/usr/bin \ - --mandir=/usr/share/man \ - --disable-ldconfig \ - --disable-static \ - --with-fuse=external \ - --enable-posix-acls \ - --enable-extras \ - - make -} - -package_ntfs-3g() { - cd "${srcdir}/${_pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" rootbindir=/usr/bin rootsbindir=/usr/bin rootlibdir=/usr/lib install - ln -s /usr/bin/ntfs-3g "${pkgdir}/usr/bin/mount.ntfs" -} Copied: ntfs-3g/repos/extra-i686/PKGBUILD (from rev 291808, ntfs-3g/repos/testing-i686/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2017-03-29 19:52:16 UTC (rev 291809) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Tom Gundersen <t...@jklm.no> +# Contributor: Ronald van Haren <ronald.archlinux.org> +# Contributor: Thomas B�chler <thomas.archlinux.org> + +pkgname=ntfs-3g +_pkgname=ntfs-3g_ntfsprogs +pkgver=2017.3.23 +pkgrel=1 +pkgdesc='NTFS filesystem driver and utilities' +url='https://www.tuxera.com/community/open-source-ntfs-3g/' +arch=('i686' 'x86_64') +license=('GPL2') +depends=('util-linux' 'fuse2') +source=("https://tuxera.com/opensource/${_pkgname}-${pkgver}.tgz") +sha256sums=('3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5') + +conflicts=('ntfsprogs') +provides=('ntfsprogs') +replaces=('ntfsprogs') + +prepare() { + cd "${srcdir}/${_pkgname}-${pkgver}" + sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in +} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --sbin=/usr/bin \ + --mandir=/usr/share/man \ + --disable-ldconfig \ + --disable-static \ + --with-fuse=external \ + --enable-posix-acls \ + --enable-extras \ + + make +} + +package_ntfs-3g() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" rootbindir=/usr/bin rootsbindir=/usr/bin rootlibdir=/usr/lib install + ln -s /usr/bin/ntfs-3g "${pkgdir}/usr/bin/mount.ntfs" +} Deleted: extra-x86_64/CVE-2017-0358.patch =================================================================== --- extra-x86_64/CVE-2017-0358.patch 2017-03-29 19:52:14 UTC (rev 291808) +++ extra-x86_64/CVE-2017-0358.patch 2017-03-29 19:52:16 UTC (rev 291809) @@ -1,36 +0,0 @@ ---- ntfs-3g/src/lowntfs-3g.c 2016-12-31 08:56:59.011749600 +0100 -+++ ntfs-3g/src/lowntfs-3g.c 2017-01-05 14:41:52.041473700 +0100 -@@ -3827,13 +3827,14 @@ - struct stat st; - pid_t pid; - const char *cmd = "/sbin/modprobe"; -+ char *env = (char*)NULL; - struct timespec req = { 0, 100000000 }; /* 100 msec */ - fuse_fstype fstype; - - if (!stat(cmd, &st) && !geteuid()) { - pid = fork(); - if (!pid) { -- execl(cmd, cmd, "fuse", NULL); -+ execle(cmd, cmd, "fuse", NULL, &env); - _exit(1); - } else if (pid != -1) - waitpid(pid, NULL, 0); ---- ntfs-3g/src/ntfs-3g.c 2017-02-04 23:30:23.825889593 +0100 -+++ ntfs-3g/src/nfts-3g.c 2017-02-04 23:30:42.572542756 +0100 -@@ -3612,13 +3612,14 @@ - struct stat st; - pid_t pid; - const char *cmd = "/sbin/modprobe"; -+ char *env = (char*)NULL; - struct timespec req = { 0, 100000000 }; /* 100 msec */ - fuse_fstype fstype; - - if (!stat(cmd, &st) && !geteuid()) { - pid = fork(); - if (!pid) { -- execl(cmd, cmd, "fuse", NULL); -+ execle(cmd, cmd, "fuse", NULL, &env); - _exit(1); - } else if (pid != -1) - waitpid(pid, NULL, 0); Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2017-03-29 19:52:14 UTC (rev 291808) +++ extra-x86_64/PKGBUILD 2017-03-29 19:52:16 UTC (rev 291809) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Gaetan Bisson <bis...@archlinux.org> -# Contributor: Tom Gundersen <t...@jklm.no> -# Contributor: Ronald van Haren <ronald.archlinux.org> -# Contributor: Thomas B�chler <thomas.archlinux.org> - -pkgname=ntfs-3g -_pkgname=ntfs-3g_ntfsprogs -pkgver=2016.2.22 -pkgrel=2 -pkgdesc='NTFS filesystem driver and utilities' -url='https://www.tuxera.com/community/open-source-ntfs-3g/' -arch=('i686' 'x86_64') -license=('GPL2') -depends=('util-linux' 'fuse2') -source=("https://tuxera.com/opensource/${_pkgname}-${pkgver}.tgz" - CVE-2017-0358.patch) -sha1sums=('382df40c366711003cf24d2342033c23e2580b42' - '1949f21fc8115b3ea7e1197cf3d562ea6f97f1db') - -conflicts=('ntfsprogs') -provides=('ntfsprogs') -replaces=('ntfsprogs') - -prepare() { - cd "${srcdir}/${_pkgname}-${pkgver}" - sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in - patch -p1 < "${srcdir}/CVE-2017-0358.patch" -} - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - ./configure \ - --prefix=/usr \ - --sbin=/usr/bin \ - --mandir=/usr/share/man \ - --disable-ldconfig \ - --disable-static \ - --with-fuse=external \ - --enable-posix-acls \ - --enable-extras \ - - make -} - -package_ntfs-3g() { - cd "${srcdir}/${_pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" rootbindir=/usr/bin rootsbindir=/usr/bin rootlibdir=/usr/lib install - ln -s /usr/bin/ntfs-3g "${pkgdir}/usr/bin/mount.ntfs" -} Copied: ntfs-3g/repos/extra-x86_64/PKGBUILD (from rev 291808, ntfs-3g/repos/testing-x86_64/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2017-03-29 19:52:16 UTC (rev 291809) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Tom Gundersen <t...@jklm.no> +# Contributor: Ronald van Haren <ronald.archlinux.org> +# Contributor: Thomas B�chler <thomas.archlinux.org> + +pkgname=ntfs-3g +_pkgname=ntfs-3g_ntfsprogs +pkgver=2017.3.23 +pkgrel=1 +pkgdesc='NTFS filesystem driver and utilities' +url='https://www.tuxera.com/community/open-source-ntfs-3g/' +arch=('i686' 'x86_64') +license=('GPL2') +depends=('util-linux' 'fuse2') +source=("https://tuxera.com/opensource/${_pkgname}-${pkgver}.tgz") +sha256sums=('3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5') + +conflicts=('ntfsprogs') +provides=('ntfsprogs') +replaces=('ntfsprogs') + +prepare() { + cd "${srcdir}/${_pkgname}-${pkgver}" + sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in +} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --sbin=/usr/bin \ + --mandir=/usr/share/man \ + --disable-ldconfig \ + --disable-static \ + --with-fuse=external \ + --enable-posix-acls \ + --enable-extras \ + + make +} + +package_ntfs-3g() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" rootbindir=/usr/bin rootsbindir=/usr/bin rootlibdir=/usr/lib install + ln -s /usr/bin/ntfs-3g "${pkgdir}/usr/bin/mount.ntfs" +}