mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
Added wget and e2fs with fix for heimdal conflict and more depends for wget
This commit is contained in:
parent
bcc1031e97
commit
861d6f1c25
6 changed files with 172 additions and 0 deletions
25
core/e2fsprogs/MIT-LICENSE
Executable file
25
core/e2fsprogs/MIT-LICENSE
Executable file
|
@ -0,0 +1,25 @@
|
||||||
|
Copyright (c) 2003-2007 Theodore Ts'o <tytso@mit.edu>
|
||||||
|
Copyright (c) 1997-2003 Yann Dirson <dirson@debian.org>
|
||||||
|
Copyright (c) 2001 Alcove <http://www.alcove.com/>
|
||||||
|
Copyright (c) 1997 Klee Dienes
|
||||||
|
Copyright (c) 1995-1996 Michael Nonweiler <mrn20@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.
|
51
core/e2fsprogs/PKGBUILD
Executable file
51
core/e2fsprogs/PKGBUILD
Executable file
|
@ -0,0 +1,51 @@
|
||||||
|
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
||||||
|
# Contributor: judd <jvinet@zeroflux.org>
|
||||||
|
|
||||||
|
# Plugbox Linux changes: Due to conflicts with heimdal, removed some files
|
||||||
|
# There are no other (e.g. configure, make) changes
|
||||||
|
|
||||||
|
pkgname=e2fsprogs
|
||||||
|
pkgver=1.41.12
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="Ext2/3/4 filesystem utilities"
|
||||||
|
arch=('arm')
|
||||||
|
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=('62b002fe507b2ddafc24b89532e472fe4b55a14f'
|
||||||
|
'f4a0d5b0cdb980e3fedd6f5e7dde0b0ffb7bbdfb')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
|
# Remove unnecessary init.d directory
|
||||||
|
sed -i '/init\.d/s|^|#|' misc/Makefile.in || return 1
|
||||||
|
|
||||||
|
./configure --prefix=/usr --with-root-prefix="" --enable-elf-shlibs \
|
||||||
|
--disable-fsck --disable-uuidd \
|
||||||
|
--disable-libuuid --disable-libblkid || return 1
|
||||||
|
|
||||||
|
make || return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
make DESTDIR="${pkgdir}" install install-libs || return 1
|
||||||
|
|
||||||
|
sed -i -e 's/^AWK=.*/AWK=awk/' "${pkgdir}/usr/bin/compile_et" || return 1
|
||||||
|
|
||||||
|
# install MIT license
|
||||||
|
install -Dm644 "${srcdir}/MIT-LICENSE" \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE" || return 1
|
||||||
|
|
||||||
|
# Remove heimdal conflicts (Plugbox modification)
|
||||||
|
rm $pkgdir/usr/bin/compile_et
|
||||||
|
rm $pkgdir/usr/lib/libcom_err.a
|
||||||
|
rm $pkgdir/usr/lib/libcom_err.so
|
||||||
|
}
|
20
core/e2fsprogs/e2fsprogs.install
Executable file
20
core/e2fsprogs/e2fsprogs.install
Executable file
|
@ -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
|
||||||
|
}
|
26
core/e2fsprogs/mke2fs.conf
Executable file
26
core/e2fsprogs/mke2fs.conf
Executable file
|
@ -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
|
||||||
|
}
|
30
core/wget/PKGBUILD
Executable file
30
core/wget/PKGBUILD
Executable file
|
@ -0,0 +1,30 @@
|
||||||
|
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
||||||
|
# Contributor: Judd Vinet <jvinet@zeroflux.org>
|
||||||
|
|
||||||
|
# Plugbox changes: ONLY added libidn and libsigsegv to depends
|
||||||
|
|
||||||
|
pkgname=wget
|
||||||
|
pkgver=1.12
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="A network utility to retrieve files from the Web"
|
||||||
|
arch=('arm')
|
||||||
|
url="http://www.gnu.org/software/wget/wget.html"
|
||||||
|
license=('GPL3')
|
||||||
|
groups=('base')
|
||||||
|
depends=('glibc' 'openssl' 'libidn' 'libsigsegv')
|
||||||
|
optdepends=('ca-certificates: HTTPS downloads')
|
||||||
|
backup=('etc/wgetrc')
|
||||||
|
install=wget.install
|
||||||
|
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||||
|
md5sums=('141461b9c04e454dc8933c9d1f2abf83')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${srcdir}/$pkgname-$pkgver
|
||||||
|
./configure --prefix=/usr --sysconfdir=/etc
|
||||||
|
make || return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${srcdir}/$pkgname-$pkgver
|
||||||
|
make DESTDIR=${pkgdir} install
|
||||||
|
}
|
20
core/wget/wget.install
Executable file
20
core/wget/wget.install
Executable file
|
@ -0,0 +1,20 @@
|
||||||
|
infodir=/usr/share/info
|
||||||
|
filelist=(wget.info)
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue