[arch-commits] Commit in e2fsprogs/repos (10 files)
Ronald van Haren
ronald at nymeria.archlinux.org
Mon Jan 27 19:45:10 UTC 2014
Date: Monday, January 27, 2014 @ 20:45:10
Author: ronald
Revision: 204811
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
e2fsprogs/repos/testing-i686/
e2fsprogs/repos/testing-i686/MIT-LICENSE
(from rev 204810, e2fsprogs/trunk/MIT-LICENSE)
e2fsprogs/repos/testing-i686/PKGBUILD
(from rev 204810, e2fsprogs/trunk/PKGBUILD)
e2fsprogs/repos/testing-i686/e2fsprogs.install
(from rev 204810, e2fsprogs/trunk/e2fsprogs.install)
e2fsprogs/repos/testing-i686/mke2fs.conf
(from rev 204810, e2fsprogs/trunk/mke2fs.conf)
e2fsprogs/repos/testing-x86_64/
e2fsprogs/repos/testing-x86_64/MIT-LICENSE
(from rev 204810, e2fsprogs/trunk/MIT-LICENSE)
e2fsprogs/repos/testing-x86_64/PKGBUILD
(from rev 204810, e2fsprogs/trunk/PKGBUILD)
e2fsprogs/repos/testing-x86_64/e2fsprogs.install
(from rev 204810, e2fsprogs/trunk/e2fsprogs.install)
e2fsprogs/repos/testing-x86_64/mke2fs.conf
(from rev 204810, e2fsprogs/trunk/mke2fs.conf)
----------------------------------+
testing-i686/MIT-LICENSE | 25 +++++++++++++++++
testing-i686/PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++
testing-i686/e2fsprogs.install | 20 ++++++++++++++
testing-i686/mke2fs.conf | 26 ++++++++++++++++++
testing-x86_64/MIT-LICENSE | 25 +++++++++++++++++
testing-x86_64/PKGBUILD | 52 +++++++++++++++++++++++++++++++++++++
testing-x86_64/e2fsprogs.install | 20 ++++++++++++++
testing-x86_64/mke2fs.conf | 26 ++++++++++++++++++
8 files changed, 246 insertions(+)
Copied: e2fsprogs/repos/testing-i686/MIT-LICENSE (from rev 204810, e2fsprogs/trunk/MIT-LICENSE)
===================================================================
--- testing-i686/MIT-LICENSE (rev 0)
+++ testing-i686/MIT-LICENSE 2014-01-27 19:45:10 UTC (rev 204811)
@@ -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 204810, e2fsprogs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-01-27 19:45:10 UTC (rev 204811)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=e2fsprogs
+pkgver=1.42.9
+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')
+makedepends=('bc')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'MIT-LICENSE')
+backup=('etc/mke2fs.conf')
+options=('staticlibs')
+install=${pkgname}.install
+sha1sums=('fb8e3662302bcab1682d567d6ee0ff051faa1bbd'
+ '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="" --libdir=/usr/lib \
+ --sbindir=/usr/bin --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"
+
+ # remove static libraries with a shared counterpart
+ rm "${pkgdir}"/usr/lib/lib{com_err,e2p,ext2fs,ss}.a
+
+ # install MIT license
+ install -Dm644 "${srcdir}/MIT-LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE"
+}
Copied: e2fsprogs/repos/testing-i686/e2fsprogs.install (from rev 204810, e2fsprogs/trunk/e2fsprogs.install)
===================================================================
--- testing-i686/e2fsprogs.install (rev 0)
+++ testing-i686/e2fsprogs.install 2014-01-27 19:45:10 UTC (rev 204811)
@@ -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 204810, e2fsprogs/trunk/mke2fs.conf)
===================================================================
--- testing-i686/mke2fs.conf (rev 0)
+++ testing-i686/mke2fs.conf 2014-01-27 19:45:10 UTC (rev 204811)
@@ -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 204810, e2fsprogs/trunk/MIT-LICENSE)
===================================================================
--- testing-x86_64/MIT-LICENSE (rev 0)
+++ testing-x86_64/MIT-LICENSE 2014-01-27 19:45:10 UTC (rev 204811)
@@ -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 204810, e2fsprogs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-01-27 19:45:10 UTC (rev 204811)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=e2fsprogs
+pkgver=1.42.9
+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')
+makedepends=('bc')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'MIT-LICENSE')
+backup=('etc/mke2fs.conf')
+options=('staticlibs')
+install=${pkgname}.install
+sha1sums=('fb8e3662302bcab1682d567d6ee0ff051faa1bbd'
+ '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="" --libdir=/usr/lib \
+ --sbindir=/usr/bin --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"
+
+ # remove static libraries with a shared counterpart
+ rm "${pkgdir}"/usr/lib/lib{com_err,e2p,ext2fs,ss}.a
+
+ # 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 204810, e2fsprogs/trunk/e2fsprogs.install)
===================================================================
--- testing-x86_64/e2fsprogs.install (rev 0)
+++ testing-x86_64/e2fsprogs.install 2014-01-27 19:45:10 UTC (rev 204811)
@@ -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 204810, e2fsprogs/trunk/mke2fs.conf)
===================================================================
--- testing-x86_64/mke2fs.conf (rev 0)
+++ testing-x86_64/mke2fs.conf 2014-01-27 19:45:10 UTC (rev 204811)
@@ -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