[arch-commits] Commit in e2fsprogs/repos (10 files)

Ronald van Haren ronald at archlinux.org
Wed Feb 29 14:29:13 EST 2012


    Date: Wednesday, February 29, 2012 @ 14:29:13
  Author: ronald
Revision: 151655

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  e2fsprogs/repos/testing-i686/
  e2fsprogs/repos/testing-i686/MIT-LICENSE
    (from rev 151654, e2fsprogs/trunk/MIT-LICENSE)
  e2fsprogs/repos/testing-i686/PKGBUILD
    (from rev 151654, e2fsprogs/trunk/PKGBUILD)
  e2fsprogs/repos/testing-i686/e2fsprogs.install
    (from rev 151654, e2fsprogs/trunk/e2fsprogs.install)
  e2fsprogs/repos/testing-i686/mke2fs.conf
    (from rev 151654, e2fsprogs/trunk/mke2fs.conf)
  e2fsprogs/repos/testing-x86_64/
  e2fsprogs/repos/testing-x86_64/MIT-LICENSE
    (from rev 151654, e2fsprogs/trunk/MIT-LICENSE)
  e2fsprogs/repos/testing-x86_64/PKGBUILD
    (from rev 151654, e2fsprogs/trunk/PKGBUILD)
  e2fsprogs/repos/testing-x86_64/e2fsprogs.install
    (from rev 151654, e2fsprogs/trunk/e2fsprogs.install)
  e2fsprogs/repos/testing-x86_64/mke2fs.conf
    (from rev 151654, e2fsprogs/trunk/mke2fs.conf)

----------------------------------+
 testing-i686/MIT-LICENSE         |   25 +++++++++++++++++++
 testing-i686/PKGBUILD            |   48 +++++++++++++++++++++++++++++++++++++
 testing-i686/e2fsprogs.install   |   20 +++++++++++++++
 testing-i686/mke2fs.conf         |   26 ++++++++++++++++++++
 testing-x86_64/MIT-LICENSE       |   25 +++++++++++++++++++
 testing-x86_64/PKGBUILD          |   48 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/e2fsprogs.install |   20 +++++++++++++++
 testing-x86_64/mke2fs.conf       |   26 ++++++++++++++++++++
 8 files changed, 238 insertions(+)

Copied: e2fsprogs/repos/testing-i686/MIT-LICENSE (from rev 151654, e2fsprogs/trunk/MIT-LICENSE)
===================================================================
--- testing-i686/MIT-LICENSE	                        (rev 0)
+++ testing-i686/MIT-LICENSE	2012-02-29 19:29:13 UTC (rev 151655)
@@ -0,0 +1,25 @@
+Copyright (c) 2003-2007 Theodore Ts'o <tytso at mit.edu>
+Copyright (c) 1997-2003 Yann Dirson <dirson at debian.org>
+Copyright (c) 2001 Alcove <http://www.alcove.com/>
+Copyright (c) 1997 Klee Dienes
+Copyright (c) 1995-1996 Michael Nonweiler <mrn20 at cam.ac.uk>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject
+to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

Copied: e2fsprogs/repos/testing-i686/PKGBUILD (from rev 151654, e2fsprogs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-02-29 19:29:13 UTC (rev 151655)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org> 
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=e2fsprogs
+pkgver=1.42.1
+pkgrel=1
+pkgdesc="Ext2/3/4 filesystem utilities"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'MIT')
+url="http://e2fsprogs.sourceforge.net"
+groups=('base')
+depends=('sh' 'util-linux-ng')
+makedepends=('bc')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'MIT-LICENSE')
+backup=('etc/mke2fs.conf')
+install=${pkgname}.install
+sha1sums=('c25c73de98737b5f6fb9debec36bfb6416b0ac07'
+          'f4a0d5b0cdb980e3fedd6f5e7dde0b0ffb7bbdfb')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # Remove unnecessary init.d directory
+  sed -i '/init\.d/s|^|#|' misc/Makefile.in
+
+  ./configure --prefix=/usr --with-root-prefix="" --enable-elf-shlibs \
+      --disable-fsck --disable-uuidd \
+      --disable-libuuid --disable-libblkid
+
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install install-libs
+
+  sed -i -e 's/^AWK=.*/AWK=awk/' "${pkgdir}/usr/bin/compile_et"
+  
+  # remove references to build directory
+  sed -i -e 's#^SS_DIR=.*#SS_DIR="/usr/share/ss"#' "${pkgdir}/usr/bin/mk_cmds"
+  sed -i -e 's#^ET_DIR=.*#ET_DIR="/usr/share/et"#' "${pkgdir}/usr/bin/compile_et"
+
+  # install MIT license
+  install -Dm644 "${srcdir}/MIT-LICENSE" \
+    "${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE"
+}

Copied: e2fsprogs/repos/testing-i686/e2fsprogs.install (from rev 151654, e2fsprogs/trunk/e2fsprogs.install)
===================================================================
--- testing-i686/e2fsprogs.install	                        (rev 0)
+++ testing-i686/e2fsprogs.install	2012-02-29 19:29:13 UTC (rev 151655)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libext2fs.info.gz)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $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
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}

Copied: e2fsprogs/repos/testing-i686/mke2fs.conf (from rev 151654, e2fsprogs/trunk/mke2fs.conf)
===================================================================
--- testing-i686/mke2fs.conf	                        (rev 0)
+++ testing-i686/mke2fs.conf	2012-02-29 19:29:13 UTC (rev 151655)
@@ -0,0 +1,26 @@
+[defaults]
+	base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
+	blocksize = 4096
+	inode_size = 128
+	inode_ratio = 16384
+
+[fs_types]
+	small = {
+		blocksize = 1024
+		inode_size = 128
+		inode_ratio = 4096
+	}
+	floppy = {
+		blocksize = 1024
+		inode_size = 128
+		inode_ratio = 8192
+	}
+	news = {
+		inode_ratio = 4096
+	}
+	largefile = {
+		inode_ratio = 1048576
+	}
+	largefile4 = {
+		inode_ratio = 4194304
+	}

Copied: e2fsprogs/repos/testing-x86_64/MIT-LICENSE (from rev 151654, e2fsprogs/trunk/MIT-LICENSE)
===================================================================
--- testing-x86_64/MIT-LICENSE	                        (rev 0)
+++ testing-x86_64/MIT-LICENSE	2012-02-29 19:29:13 UTC (rev 151655)
@@ -0,0 +1,25 @@
+Copyright (c) 2003-2007 Theodore Ts'o <tytso at mit.edu>
+Copyright (c) 1997-2003 Yann Dirson <dirson at debian.org>
+Copyright (c) 2001 Alcove <http://www.alcove.com/>
+Copyright (c) 1997 Klee Dienes
+Copyright (c) 1995-1996 Michael Nonweiler <mrn20 at cam.ac.uk>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject
+to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

Copied: e2fsprogs/repos/testing-x86_64/PKGBUILD (from rev 151654, e2fsprogs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-02-29 19:29:13 UTC (rev 151655)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org> 
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=e2fsprogs
+pkgver=1.42.1
+pkgrel=1
+pkgdesc="Ext2/3/4 filesystem utilities"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'MIT')
+url="http://e2fsprogs.sourceforge.net"
+groups=('base')
+depends=('sh' 'util-linux-ng')
+makedepends=('bc')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        'MIT-LICENSE')
+backup=('etc/mke2fs.conf')
+install=${pkgname}.install
+sha1sums=('c25c73de98737b5f6fb9debec36bfb6416b0ac07'
+          'f4a0d5b0cdb980e3fedd6f5e7dde0b0ffb7bbdfb')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # Remove unnecessary init.d directory
+  sed -i '/init\.d/s|^|#|' misc/Makefile.in
+
+  ./configure --prefix=/usr --with-root-prefix="" --enable-elf-shlibs \
+      --disable-fsck --disable-uuidd \
+      --disable-libuuid --disable-libblkid
+
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install install-libs
+
+  sed -i -e 's/^AWK=.*/AWK=awk/' "${pkgdir}/usr/bin/compile_et"
+  
+  # remove references to build directory
+  sed -i -e 's#^SS_DIR=.*#SS_DIR="/usr/share/ss"#' "${pkgdir}/usr/bin/mk_cmds"
+  sed -i -e 's#^ET_DIR=.*#ET_DIR="/usr/share/et"#' "${pkgdir}/usr/bin/compile_et"
+
+  # install MIT license
+  install -Dm644 "${srcdir}/MIT-LICENSE" \
+    "${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE"
+}

Copied: e2fsprogs/repos/testing-x86_64/e2fsprogs.install (from rev 151654, e2fsprogs/trunk/e2fsprogs.install)
===================================================================
--- testing-x86_64/e2fsprogs.install	                        (rev 0)
+++ testing-x86_64/e2fsprogs.install	2012-02-29 19:29:13 UTC (rev 151655)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libext2fs.info.gz)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $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
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}

Copied: e2fsprogs/repos/testing-x86_64/mke2fs.conf (from rev 151654, e2fsprogs/trunk/mke2fs.conf)
===================================================================
--- testing-x86_64/mke2fs.conf	                        (rev 0)
+++ testing-x86_64/mke2fs.conf	2012-02-29 19:29:13 UTC (rev 151655)
@@ -0,0 +1,26 @@
+[defaults]
+	base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
+	blocksize = 4096
+	inode_size = 128
+	inode_ratio = 16384
+
+[fs_types]
+	small = {
+		blocksize = 1024
+		inode_size = 128
+		inode_ratio = 4096
+	}
+	floppy = {
+		blocksize = 1024
+		inode_size = 128
+		inode_ratio = 8192
+	}
+	news = {
+		inode_ratio = 4096
+	}
+	largefile = {
+		inode_ratio = 1048576
+	}
+	largefile4 = {
+		inode_ratio = 4194304
+	}



More information about the arch-commits mailing list