summaryrefslogtreecommitdiff
path: root/kernels/aufs3-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-02-05 14:36:40 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-02-05 14:36:40 -0200
commit6e908d609e363953311b029122bf9226b67aeec5 (patch)
tree8f940aea1751bf88f0002fce0b4e721fd74224a9 /kernels/aufs3-libre
parentcc7404cf7713d1b318aa2a464f9a36c573744653 (diff)
downloadabslibre-6e908d609e363953311b029122bf9226b67aeec5.tar.gz
abslibre-6e908d609e363953311b029122bf9226b67aeec5.tar.bz2
abslibre-6e908d609e363953311b029122bf9226b67aeec5.zip
removing deprecated and unnecessaries folders's packages on [kernels] repo
Diffstat (limited to 'kernels/aufs3-libre')
-rw-r--r--kernels/aufs3-libre/PKGBUILD71
-rw-r--r--kernels/aufs3-libre/aufs3-libre.install12
2 files changed, 0 insertions, 83 deletions
diff --git a/kernels/aufs3-libre/PKGBUILD b/kernels/aufs3-libre/PKGBUILD
deleted file mode 100644
index 456b84e51..000000000
--- a/kernels/aufs3-libre/PKGBUILD
+++ /dev/null
@@ -1,71 +0,0 @@
-# Contributor: Paul Mattal <pjmattal@elys.com>
-# Maintainer: Calimero <calimeroteknik@free.fr>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=aufs3-libre
-pkgver=3.3_20120430
-pkgrel=1.1
-
-# Set to whatever the tree of your aufs-libre-friendly kernel is, and set the right dependency.
-#_kernver=${pkgver%_*}-LIBRE
-#depends=('aufs_friendly')
-
-_kernver=3.3-LIBRE-AUFS_FRIENDLY
-depends=('linux-libre-aufs_friendly' 'linux-libre-aufs_friendly-headers')
-
-pkgdesc="Another UnionFS implementation"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://aufs.sourceforge.net/"
-license=('GPL2')
-replaces=('aufs' 'aufs2' 'aufs3')
-conflicts=('aufs2' 'aufs3')
-provides=("aufs3=$pkgver")
-install=aufs3-libre.install
-source=("http://calimeroteknik.free.fr/src/aufs3-${pkgver}.tar.gz")
-options=('!makeflags' '!strip')
-md5sums=('70ccfcf9914ce46ba7cbab42444b6ce8')
-
-build() {
- cd "${srcdir}/aufs3-${pkgver}"
- sed -i 's|CONFIG_AUFS_HNOTIFY =.*|CONFIG_AUFS_HNOTIFY = y|' \
- config.mk
- sed -i 's|CONFIG_AUFS_HFSNOTIFY =.*|CONFIG_AUFS_HFSNOTIFY = y|' \
- config.mk
- sed -i 's|CONFIG_AUFS_EXPORT =.*|CONFIG_AUFS_EXPORT = y|' \
- config.mk
- sed -i 's|CONFIG_AUFS_SHWH =.*|CONFIG_AUFS_SHWH = y|' \
- config.mk
- sed -i 's|CONFIG_AUFS_BDEV_LOOP =.*|CONFIG_AUFS_BDEV_LOOP = y|' \
- config.mk
- sed -i 's|CONFIG_AUFS_BR_RAMFS =.*|CONFIG_AUFS_BR_RAMFS = y|' \
- config.mk
- sed -i 's|CONFIG_AUFS_DEBUG =.*|CONFIG_AUFS_DEBUG =|' \
- config.mk
- if [ "${CARCH}" = "x86_64" ]; then
- inot64=" y"
- else
- inot64=""
- fi
- sed -i "s|CONFIG_AUFS_INO_T_64 =.*|CONFIG_AUFS_INO_T_64 =${inot64}|" \
- config.mk
- # build, sed fixes are from gentoo portage build
- sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
- sed -i "s:__user::g" include/linux/aufs_type.h
- ln -s "/usr/src/linux-$(</usr/lib/modules/extramodules-${_kernver}/version)/include/linux/mount.h" fs/mount.h
- make KDIR="/usr/src/linux-$(</usr/lib/modules/extramodules-${_kernver}/version)"
-}
-
-package() {
- cd "${srcdir}/aufs3-${pkgver}"
- install -D -m644 fs/aufs/aufs.ko \
- "${pkgdir}/usr/lib/modules/extramodules-${_kernver}/aufs.ko"
- #"${pkgdir}/lib/modules/${_kernver}/kernel/fs/aufs/aufs.ko"
- # tweak the install script for the right kernel version
- sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
- "${startdir}/aufs3-libre.install"
- # install include file
- install -D -m 644 include/linux/aufs_type.h "${pkgdir}/usr/include/linux/aufs_type.h"
- # gzip -9 the module
- find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
-}
diff --git a/kernels/aufs3-libre/aufs3-libre.install b/kernels/aufs3-libre/aufs3-libre.install
deleted file mode 100644
index 6468252fd..000000000
--- a/kernels/aufs3-libre/aufs3-libre.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- KERNEL_VERSION=3.3-LIBRE-AUFS_FRIENDLY
- depmod $(cat /usr/lib/modules/extramodules-$KERNEL_VERSION/version)
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}