[arch-commits] Commit in dosfstools/trunk (2 files)

Tobias Powalowski tpowa at nymeria.archlinux.org
Wed Jun 12 07:09:49 UTC 2013


    Date: Wednesday, June 12, 2013 @ 09:09:49
  Author: tpowa
Revision: 188187

upgpkg: dosfstools 3.0.19-1

bump to latest version

Modified:
  dosfstools/trunk/PKGBUILD
Deleted:
  dosfstools/trunk/3.0.18-use-memcpy-instead-of-strcpy.patch

-------------------------------------------+
 3.0.18-use-memcpy-instead-of-strcpy.patch |   15 ---------------
 PKGBUILD                                  |   16 +++++-----------
 2 files changed, 5 insertions(+), 26 deletions(-)

Deleted: 3.0.18-use-memcpy-instead-of-strcpy.patch
===================================================================
--- 3.0.18-use-memcpy-instead-of-strcpy.patch	2013-06-11 22:00:54 UTC (rev 188186)
+++ 3.0.18-use-memcpy-instead-of-strcpy.patch	2013-06-12 07:09:49 UTC (rev 188187)
@@ -1,15 +0,0 @@
---- src/mkfs.fat.c.old	2013-06-09 12:30:43.626408604 -0400
-+++ src/mkfs.fat.c	2013-06-09 12:30:28.306756934 -0400
-@@ -743,10 +743,10 @@
- 	 * differently: The jump code is only 2 bytes (and m68k machine code
- 	 * :-), then 6 bytes filler (ignored), then 3 byte serial number. */
- 	bs.boot_jump[2] = 'm';
--	strcpy((char *)bs.system_id, "kdosf");
-+	memcpy((char *)bs.system_id, "kdosf", strlen("kdosf"));
-     }
-     else
--	strcpy((char *)bs.system_id, "mkfs.fat");
-+	memcpy((char *)bs.system_id, "mkfs.fat", strlen("mkfs.fat"));
-     if (sectors_per_cluster)
- 	bs.cluster_size = (char)sectors_per_cluster;
-     if (size_fat == 32) {

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-06-11 22:00:54 UTC (rev 188186)
+++ PKGBUILD	2013-06-12 07:09:49 UTC (rev 188187)
@@ -2,20 +2,17 @@
 # Maintainer: dorphell <dorphell at archlinux.org>
 # Committer: Judd Vinet <jvinet at zeroflux.org>
 pkgname=dosfstools
-pkgver=3.0.18
-pkgrel=2
+pkgver=3.0.19
+pkgrel=1
 pkgdesc="DOS filesystem utilities"
 arch=(i686 x86_64)
 depends=('glibc')
-source=(http://www.daniel-baumann.ch/files/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
-        3.0.18-use-memcpy-instead-of-strcpy.patch)
+source=(http://www.daniel-baumann.ch/files/software/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
 url="http://www.daniel-baumann.ch/software/dosfstools/"
 license=('GPL2')
+md5sums=('a083ca4a2a937c8cec07c63176fb125f'
+         'SKIP')
 
-prepare() {
-   cd $srcdir/$pkgname-$pkgver
-   patch -Np0 -i ../3.0.18-use-memcpy-instead-of-strcpy.patch
-}
 build() {
    cd $srcdir/$pkgname-$pkgver
    make
@@ -25,6 +22,3 @@
    cd $srcdir/$pkgname-$pkgver
    make DESTDIR=$pkgdir PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man DOCDIR=/usr/share/doc install
 }
-md5sums=('a80aab6aac9e56e937b0392a85bfadb9'
-         'SKIP'
-         '771cf771aadce6ab0b1c9944bf535011')




More information about the arch-commits mailing list