diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/bbswitch-libre/PKGBUILD | 6 | ||||
-rw-r--r-- | libre/cdrkit-libre/PKGBUILD | 9 | ||||
-rw-r--r-- | libre/cgminer-libre/PKGBUILD | 10 | ||||
-rw-r--r-- | libre/claws-mail-libre/PKGBUILD | 11 | ||||
-rw-r--r-- | libre/devtools-legacy/PKGBUILD | 28 | ||||
-rw-r--r-- | libre/filesystem/PKGBUILD | 51 | ||||
-rw-r--r-- | libre/filesystem/profile | 2 | ||||
-rw-r--r-- | libre/grub-legacy/PKGBUILD | 8 | ||||
-rw-r--r-- | libre/gummiboot/PKGBUILD | 22 | ||||
-rw-r--r-- | libre/gummiboot/gummiboot.install | 4 | ||||
-rw-r--r-- | libre/gummiboot/parabola.conf | 2 | ||||
-rw-r--r-- | libre/iceweasel-l10n/PKGBUILD | 2 | ||||
-rw-r--r-- | libre/libretools-legacy/PKGBUILD | 100 | ||||
-rw-r--r-- | libre/libretools-legacy/libretools-legacy.install | 28 | ||||
-rw-r--r-- | libre/libretools/PKGBUILD | 1 | ||||
-rw-r--r-- | libre/mkisolinux/PKGBUILD | 13 | ||||
-rwxr-xr-x | libre/mkisolinux/mkisolinux | 1 | ||||
-rw-r--r-- | libre/mkisolinux/mkisolinux.conf | 2 | ||||
-rw-r--r-- | libre/mksyslinux/PKGBUILD | 26 | ||||
-rw-r--r-- | libre/mksyslinux/boot.msg | 15 | ||||
-rwxr-xr-x | libre/mksyslinux/mksyslinux | 144 | ||||
-rw-r--r-- | libre/mksyslinux/mksyslinux.conf | 34 | ||||
-rw-r--r-- | libre/mksyslinux/options.msg | 6 |
23 files changed, 462 insertions, 63 deletions
diff --git a/libre/bbswitch-libre/PKGBUILD b/libre/bbswitch-libre/PKGBUILD index fe5469dd0..2dc83cb5e 100644 --- a/libre/bbswitch-libre/PKGBUILD +++ b/libre/bbswitch-libre/PKGBUILD @@ -5,9 +5,9 @@ _pkgname=bbswitch pkgname=bbswitch-libre -pkgver=0.6 +pkgver=0.7 _extramodules=extramodules-3.9-LIBRE # Don't forget to update bbswitch.install -pkgrel=8 +pkgrel=1 pkgdesc="Kernel module allowing to switch dedicated graphics card on Optimus laptops (built for the linux-libre kernel package)" arch=('i686' 'x86_64' 'mips64el') url=("http://github.com/Bumblebee-Project/bbswitch") @@ -19,7 +19,7 @@ conflicts=$_pkgname provides=$_pkgname=$pkgver install=bbswitch.install source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz") -md5sums=('c5496e3225c8e70d02a24bfd8a50faf6') +md5sums=('b9df5ea40109ef9766448a0577c798e6') build() { cd ${srcdir}/${_pkgname}-${pkgver} diff --git a/libre/cdrkit-libre/PKGBUILD b/libre/cdrkit-libre/PKGBUILD index af8125f1f..75cf2c1bd 100644 --- a/libre/cdrkit-libre/PKGBUILD +++ b/libre/cdrkit-libre/PKGBUILD @@ -5,7 +5,7 @@ _pkgname=cdrkit pkgname=cdrkit-libre pkgver=1.1.11 -pkgrel=2.4 +pkgrel=3 pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction (without nonfree apple_driver utility)" arch=('i686' 'x86_64' 'mips64el') url="http://cdrkit.org/" @@ -19,11 +19,16 @@ replaces=('cdrkit' 'cdrtools') source=(http://cdrkit.org/releases/$_pkgname-$pkgver.tar.gz) md5sums=('efe08e2f3ca478486037b053acd512e9') -build() { +prepare() { cd "$srcdir/$_pkgname-$pkgver" + sed -i "s#sbin#bin#" netscsid/CMakeLists.txt # Remove nonfree apple_driver utility rm -rvf {doc/genisoimage/README.hfs_boot,genisoimage/apple_driver.{c,8}} +} + +build() { + cd "$srcdir/$_pkgname-$pkgver" make } diff --git a/libre/cgminer-libre/PKGBUILD b/libre/cgminer-libre/PKGBUILD index 575ea2d55..2db7dbbc5 100644 --- a/libre/cgminer-libre/PKGBUILD +++ b/libre/cgminer-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 90344 2013-05-11 16:51:20Z fyan $ +# $Id: PKGBUILD 92066 2013-05-31 05:55:37Z fyan $ # Maintainer: Felix Yan <felixonmars@gmail.com> # Contributor: monson <holymonson@gmail.com> # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -7,7 +7,7 @@ pkgname=cgminer-libre _pkgflag=libre -pkgver=3.1.1 +pkgver=3.2.0 pkgrel=1 pkgdesc="Multi-threaded multi-pool GPU, FPGA and ASIC miner for bitcoin and derivative coins, without nonfree OpenCL recommendation" url='http://forum.bitcoin.org/index.php?topic=28402.0' @@ -18,7 +18,7 @@ makedepends=('opencl-headers') provides=(${pkgname%-$_pkgflag}=$pkgver) conflicts=${pkgname%-$_pkgflag} replaces=${pkgname%-$_pkgflag} -source=("https://github.com/ckolivas/${pkgname%-$_pkgflag}/archive/v$pkgver.tar.gz" +source=("http://ck.kolivas.org/apps/${pkgname%-$_pkgflag}/${pkgname%-$_pkgflag}-${pkgver}.tar.bz2" "${pkgname%-$_pkgflag}.conf.d" "${pkgname%-$_pkgflag}.service") backup=("etc/conf.d/${pkgname%-$_pkgflag}" "etc/${pkgname%-$_pkgflag}.conf") @@ -34,7 +34,7 @@ build() { # Here you may want to use custom CFLAGS #export CFLAGS="-O2 -march=native -mtune=native -msse2" - ./autogen.sh + #./autogen.sh ./configure --prefix=/usr --enable-scrypt --disable-adl make @@ -51,6 +51,6 @@ package() { install -Dm644 ${pkgname%-$_pkgflag}.conf "$pkgdir"/etc/${pkgname%-$_pkgflag}.conf } -sha512sums=('f95db6ab14fe35ed19c1af152c6eb979787e966afad250252053bf11abe8293dfe857a7a2abfd9e33b60a190b310193a03151eb67a9db255a2a929660278ad62' +sha512sums=('e96b874fd53c771535098c1077200b5ab88aa628383f7af56f861c952a534283942ce34647f279bf4229bfc3a0114f81a7ae3deca4e8e7931d7551fdb75c68c0' '99c38bc395848f9712ce172343d31f5c60f5d8ac1cfe2f48df8f3ec6c488fc275763a79c5ef36b99f32faa465b5a65284b38e8a63ef9b144075ee13971313b41' '3317b60c6b1f14c47d8ee636113ef40a4023ab14054129de80a37947b381fd2b647a7053f4e1bb639efa225a514e862fa531908714c34040dda2d6221dde7f5f') diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD index e37ffe283..2a0ce65ce 100644 --- a/libre/claws-mail-libre/PKGBUILD +++ b/libre/claws-mail-libre/PKGBUILD @@ -13,10 +13,11 @@ license=('GPL3') url="http://www.$_pkgname.org" depends=('gtk2' 'gnutls' 'startup-notification' 'enchant' 'gpgme' 'libetpan>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils') -makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind' +makedepends=('compface' 'spamassassin' 'bogofilter' # dependencies for plugins 'libsoup' 'libgdata' 'webkitgtk2' 'libnotify' 'libcanberra' 'poppler-glib' 'pygtk') #'libchamplain' needed for geolocation plugin, disabled for now - most time it's not compatible with current gnome releases +[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind') optdepends=('python2: needed for some tools and python plugin' 'perl: needed for some tools and perl plugin' 'spamassassin: adds support for spamfiltering' @@ -50,7 +51,7 @@ build() { sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py sed -i 's:python -c:python2 -c:g' configure - setarch $CARCH ./configure --prefix=/usr --disable-static \ + ./configure --prefix=/usr --disable-static \ --enable-enchant \ --enable-gnutls \ --enable-ldap \ @@ -60,16 +61,16 @@ build() { --enable-bogofilter-plugin \ --enable-jpilot \ #--help - setarch $CARCH make + make } package() { cd $srcdir/$_pkgname-$pkgver - setarch $CARCH make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir install # build and install extra tools cd tools - setarch $CARCH make + make # all executables and .conf files ; only top directory find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i ; do install -D -m755 $i $pkgdir/usr/lib/$_pkgname/tools/$i diff --git a/libre/devtools-legacy/PKGBUILD b/libre/devtools-legacy/PKGBUILD new file mode 100644 index 000000000..2ff4cbc42 --- /dev/null +++ b/libre/devtools-legacy/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Márcio Silva <coadde@lavabit.com> +# Maintainer: Pierre Schmitz <pierre@archlinux.de> + +pkgname=devtools-legacy +_pkgname=devtools +pkgver=20130408 +pkgrel=1 +pkgdesc='Tools for Arch Linux package maintainers (legacy)' +arch=('any') +license=('GPL') +url='http://projects.archlinux.org/devtools.git/' +depends=('namcap' 'openssh' 'subversion' 'rsync' 'arch-install-scripts') +conflicts=$_pkgname +source=("ftp://ftp.archlinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" + "ftp://ftp.archlinux.org/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz.sig") +md5sums=('12b42b429744af6517ae789f728e9f63' + 'SKIP') + +build() { + cd ${srcdir}/${_pkgname}-${pkgver} + make PREFIX=/usr +} + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + make PREFIX=/usr DESTDIR=${pkgdir} install +} + diff --git a/libre/filesystem/PKGBUILD b/libre/filesystem/PKGBUILD index eac7300d4..60fa5924b 100644 --- a/libre/filesystem/PKGBUILD +++ b/libre/filesystem/PKGBUILD @@ -4,7 +4,7 @@ # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> pkgname=filesystem -pkgver=2013.03 +pkgver=2013.05 pkgrel=2 pkgdesc='Base filesystem (Parabola rebranded)' arch=('i686' 'x86_64' 'mips64el') @@ -21,26 +21,6 @@ source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf' 'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release' 'resolv.conf' 'shells' 'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first' 'parabola.7.txt' 'locale.sh') -md5sums=('7b8e40f8f793e60f471511641bb1c9f2' - '6be47d893fd49b2e4a8c0e811b350861' - '9e4533df61f0c82d6b2e2371f7376282' - '4c4540eeb748bf1f71d631b8c1dcf0b3' - 'f28150d4c0b22a017be51b9f7f9977ed' - '6e488ffecc8ba142c0cf7e2d7aeb832e' - '1cfd310dff0804a7d21958487c32a3b1' - '2ef2429c2c98d0883906aa6f5363be80' - '693c97f2c9a519bb97a17008e92c2b74' - '1745349eb24ed21b4cfaa6f423bddb76' - '7bc65f234dfb6abf24e7c3b03e86f4ff' - 'd41d8cd98f00b204e9800998ecf8427e' - '0e145e18fea8fd190b30d45764f5707c' - '6f48288b6fcaf0065fcb7b0e525413e0' - '22518e922891f9359f971f4f5b4e793c' - 'f45389e116ab0b9e9968287617d27c7d' - 'f3b6ae7db8adffaaa4bffc6099dcbd50' - 'a8a962370cd0128465d514e6a1f74130' - 'd5732ffdb3488e1383d4ea199343e767' - '3807d07215d9116331fe1cf8feeaa0f8') build() { cd ${srcdir} @@ -90,7 +70,7 @@ package() { # # setup /usr hierarchy # - for d in bin include lib sbin share/misc src; do + for d in bin include lib share/misc src; do install -d -m755 usr/${d} done for d in $(seq 8); do @@ -112,6 +92,13 @@ package() { ) # + # add bin symlinks + # + ln -s usr/bin ${pkgdir}/bin + ln -s usr/bin ${pkgdir}/sbin + ln -s bin ${pkgdir}/usr/sbin + + # # install parabola(7) manpage # install -D -m644 ${srcdir}/parabola.7 usr/share/man/man7/parabola.7 @@ -124,3 +111,23 @@ package() { done ln -s ../man usr/local/share/man } +md5sums=('7b8e40f8f793e60f471511641bb1c9f2' + '6be47d893fd49b2e4a8c0e811b350861' + '9e4533df61f0c82d6b2e2371f7376282' + '4c4540eeb748bf1f71d631b8c1dcf0b3' + 'f28150d4c0b22a017be51b9f7f9977ed' + '6e488ffecc8ba142c0cf7e2d7aeb832e' + '1cfd310dff0804a7d21958487c32a3b1' + '2ef2429c2c98d0883906aa6f5363be80' + '693c97f2c9a519bb97a17008e92c2b74' + '1745349eb24ed21b4cfaa6f423bddb76' + '7bc65f234dfb6abf24e7c3b03e86f4ff' + 'd41d8cd98f00b204e9800998ecf8427e' + '0e145e18fea8fd190b30d45764f5707c' + '6f48288b6fcaf0065fcb7b0e525413e0' + '22518e922891f9359f971f4f5b4e793c' + 'f45389e116ab0b9e9968287617d27c7d' + '0b6f835598c7640184e476057b3c7722' + 'a8a962370cd0128465d514e6a1f74130' + 'd5732ffdb3488e1383d4ea199343e767' + '3807d07215d9116331fe1cf8feeaa0f8') diff --git a/libre/filesystem/profile b/libre/filesystem/profile index 3bc22db9f..59d0abc83 100644 --- a/libre/filesystem/profile +++ b/libre/filesystem/profile @@ -4,7 +4,7 @@ umask 022 # Set our default path -PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" +PATH="/usr/local/sbin:/usr/local/bin:/usr/bin" export PATH # Load profiles from /etc/profile.d diff --git a/libre/grub-legacy/PKGBUILD b/libre/grub-legacy/PKGBUILD index 6c2afd3a8..dd7940c2c 100644 --- a/libre/grub-legacy/PKGBUILD +++ b/libre/grub-legacy/PKGBUILD @@ -7,7 +7,7 @@ pkgname=grub-legacy _srcname=grub pkgver=0.97 -pkgrel=24 +pkgrel=25 pkgdesc="A GNU multiboot boot loader (Parabola rebranded)" arch=('i686' 'x86_64') license=('GPL') @@ -80,10 +80,10 @@ build() { patch -Np1 -i ../040_all_grub-0.96-nxstack.patch # patch from frugalware to make it boot when more than 2GB ram installed patch -Np1 -i ../05-grub-0.97-initrdaddr.diff - CFLAGS="-static -fno-strict-aliasing" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \ + CFLAGS="-static -fno-strict-aliasing" ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin \ --mandir=/usr/share/man --infodir=/usr/share/info else - CFLAGS="-fno-strict-aliasing" ./configure --prefix=/usr --bindir=/bin --sbindir=/sbin \ + CFLAGS="-fno-strict-aliasing" ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin \ --mandir=/usr/share/man --infodir=/usr/share/info fi } @@ -94,6 +94,6 @@ package() { CFLAGS= make make DESTDIR=${pkgdir} install install -D -m644 ../menu.lst ${pkgdir}/boot/grub/menu.lst - install -D -m755 ../install-grub ${pkgdir}/sbin/install-grub + install -D -m755 ../install-grub ${pkgdir}/usr/bin/install-grub } diff --git a/libre/gummiboot/PKGBUILD b/libre/gummiboot/PKGBUILD index 8ce0f23cf..1195912e8 100644 --- a/libre/gummiboot/PKGBUILD +++ b/libre/gummiboot/PKGBUILD @@ -1,29 +1,30 @@ -# $Id$ +# $Id: PKGBUILD 186011 2013-05-20 13:11:55Z tomegun $ # Maintainer: Tom Gundersen <teg@jklm.no> # Contributor: Tobias Powalowski <tpowa@archlinux.org> # Contributor: Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> # Contributor: Mantas Mikulėnas <grawity@gmail.com> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> pkgname="gummiboot" -pkgver="29" -pkgrel="1.1" -pkgdesc="Simple text-mode UEFI Boot Manager, Parabola rebranded" +pkgver="31" +pkgrel="1" +pkgdesc="Simple text-mode UEFI Boot Manager (Parabola rebranded)" url="http://freedesktop.org/wiki/Software/gummiboot" arch=('x86_64' 'i686' 'mips64el') license=('LGPL2.1') -makedepends=('gnu-efi-libs' 'docbook-xsl') +makedepends=('gnu-efi-libs' 'docbook-xsl' 'git') depends=('util-linux') conflicts=('gummiboot-efi') provides=('gummiboot-efi') replaces=('gummiboot-efi') options=('!strip') -source=("ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tar.xz" +source=("git://anongit.freedesktop.org/${pkgname}#tag=${pkgver}" 'loader.conf' 'parabola.conf') install="gummiboot.install" build() { - cd "${srcdir}/${pkgname}-${pkgver}/" + cd ${srcdir}/${pkgname} ./autogen.sh ./configure --sysconfdir=/etc --libexecdir=/usr/lib --libdir=/usr/lib @@ -36,9 +37,10 @@ package() { install -D -m0644 "${srcdir}/loader.conf" "${pkgdir}/usr/lib/gummiboot/loader/loader.conf" install -D -m0644 "${srcdir}/parabola.conf" "${pkgdir}/usr/lib/gummiboot/loader/entries/parabola.conf" - cd "${srcdir}/${pkgname}-${pkgver}/" + cd ${srcdir}/${pkgname} + make DESTDIR="${pkgdir}" install } -md5sums=('7e133411b805ce6fb5dd3e3bd08b88a2' +md5sums=('SKIP' '3d700d13aec5ab1b78a921eaf22e5bfa' - '9f770584795496c0e3409679eaf7be3b') + '36ee74767ac8734dede1cbd0f4f275d7') diff --git a/libre/gummiboot/gummiboot.install b/libre/gummiboot/gummiboot.install index 770087361..20861d4c8 100644 --- a/libre/gummiboot/gummiboot.install +++ b/libre/gummiboot/gummiboot.install @@ -1,5 +1,7 @@ post_install() { - echo ":: Run '/usr/bin/gummiboot install' to enable gummiboot" + mkdir -p /boot/EFI/gummiboot + /usr/bin/gummiboot update + echo ":: Run '/usr/bin/gummiboot install' to make gummiboot your default bootloader" } post_upgrade() { diff --git a/libre/gummiboot/parabola.conf b/libre/gummiboot/parabola.conf index bbb6dddfa..111072ea2 100644 --- a/libre/gummiboot/parabola.conf +++ b/libre/gummiboot/parabola.conf @@ -1,4 +1,4 @@ -## This is just an exmaple config file. +## This is just an example config file. ## Please edit the paths and kernel parameters according to your system. title Parabola GNU/Linux-libre diff --git a/libre/iceweasel-l10n/PKGBUILD b/libre/iceweasel-l10n/PKGBUILD index 3c3d957a4..298d740cc 100644 --- a/libre/iceweasel-l10n/PKGBUILD +++ b/libre/iceweasel-l10n/PKGBUILD @@ -23,7 +23,7 @@ pkgname=($(for lang in ${_langpacks[@]} do echo $pkgbase-$lang | tr A-Z a-z done)) pkgver=$_debver.$_debrel -pkgrel=1 +pkgrel=2 pkgdesc="Language packs for Debian Iceweasel." arch=('any') diff --git a/libre/libretools-legacy/PKGBUILD b/libre/libretools-legacy/PKGBUILD new file mode 100644 index 000000000..59e383449 --- /dev/null +++ b/libre/libretools-legacy/PKGBUILD @@ -0,0 +1,100 @@ +# Maintainer: Márcio Silva <coadde@lavabit.com> +# Maintainer: Joshua Haase <hahj87@gmail.com +# Contributor: fauno <fauno@kiwwwi.com.ar> + +pkgbase=libretools +pkgname=(libretools-legacy libretools-legacy-pr libretools-legacy-mips64el) +pkgver=20120924 +pkgrel=1 +pkgdesc="Programs for Parabola development (legacy)" +arch=('any') +url="http://parabolagnulinux.org" +license=('GPL3+') +depends=(openssh rsync git wget devtools-legacy) +install=libretools-legacy.install +source=(https://projects.parabolagnulinux.org/$pkgbase.git/snapshot/$pkgbase-v$pkgver.tar) +md5sums=(dfb8cb24d3deda29178d0fdc20b0e4bd) +conflicts=libretools + +package_libretools-legacy() { + backup=(etc/libretools.conf) + + cd $srcdir/$pkgbase-v$pkgver + + # fixing librebasebuilder librechroot libremakepkg !!!NEED MORE PATCH for makechrootpkg -d and mkarchroot -n!!! + # more info in: + # https://projects.archlinux.org/devtools.git/commit/?id=abba9f07a6d703cd97fc2d2bbd397072d5bf796d + # https://projects.archlinux.org/devtools.git/commit/?id=453558c4bb44b4bff43fcd22f96d4cfe1dbcf6f1 + #sed -i 's|makechrootpkg -d -r "$CHROOTDIR" -l "$CHROOT" -- $MAKEPKG_ARGS|makechrootpkg -r "$CHROOTDIR" -l "$CHROOT" -- $MAKEPKG_ARGS|; + # s|mkarchroot -n|mkarchroot|; + # s|mkarchroot -r "/clean" "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" "/clean"|; + # s|mkarchroot -r "bash" "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" "bash"|; + # s|mkarchroot -u "${CHROOTDIR}/${CHROOTNAME}"|arch-nspawn "${CHROOTDIR}/${CHROOTNAME}" pacman -Syu --noconfirm|; + # ' librebasebuilder librechroot libremakepkg + + install -d ${pkgdir}/etc/libretools.d + install -m644 libretools.conf ${pkgdir}/etc/ + + install -d ${pkgdir}/usr/bin + install -m755 abslibre-commit ${pkgdir}/usr/bin + install -m755 add-mips64el ${pkgdir}/usr/bin + install -m755 aur ${pkgdir}/usr/bin + install -m755 buildenv ${pkgdir}/usr/bin + install -m755 chcleanup ${pkgdir}/usr/bin + install -m755 createworkdir ${pkgdir}/usr/bin + install -m755 diff-unfree ${pkgdir}/usr/bin + install -m755 fullpkg ${pkgdir}/usr/bin + install -m755 fullpkg-build ${pkgdir}/usr/bin + install -m755 fullpkg-find ${pkgdir}/usr/bin + install -m755 is_built ${pkgdir}/usr/bin + install -m755 is_unfree ${pkgdir}/usr/bin + install -m755 lb ${pkgdir}/usr/bin + install -m755 libreaddiff ${pkgdir}/usr/bin + install -m755 librebasebuilder ${pkgdir}/usr/bin + install -m755 librechroot ${pkgdir}/usr/bin + install -m755 librecommit ${pkgdir}/usr/bin + install -m755 librediff ${pkgdir}/usr/bin + install -m755 libremakepkg ${pkgdir}/usr/bin + install -m755 libremessages ${pkgdir}/usr/bin + install -m755 libremkchroot ${pkgdir}/usr/bin + install -m755 librerelease ${pkgdir}/usr/bin + install -m755 librerepkg ${pkgdir}/usr/bin + install -m755 librestage ${pkgdir}/usr/bin + install -m755 pkgbuild-check-nonfree ${pkgdir}/usr/bin + install -m755 toru ${pkgdir}/usr/bin + install -m755 toru-path ${pkgdir}/usr/bin + install -m755 toru-utils ${pkgdir}/usr/bin + install -m755 toru-where ${pkgdir}/usr/bin + install -m755 updateabslibre ${pkgdir}/usr/bin + install -m755 update-cleansystem ${pkgdir}/usr/bin + + install -d ${pkgdir}/usr/share/pacman + install -m755 rePKGBUILD.proto ${pkgdir}/usr/share/pacman +} + +package_libretools-legacy-pr() { + backup=('etc/libretools.d/prtools.conf') + + cd $srcdir/$pkgbase-v$pkgver + + install -d ${pkgdir}/etc/libretools.d + install -m644 prtools/prtools.conf ${pkgdir}/etc/libretools.d + + install -d ${pkgdir}/usr/bin + install -m755 prtools/prfullpkg ${pkgdir}/usr/bin + install -m755 prtools/prmipsrelease ${pkgdir}/usr/bin + install -m755 prtools/prtoru ${pkgdir}/usr/bin +} + +package_libretools-legacy-mips64el() { + backup=('etc/libretools.d/mips64el.conf') + + cd $srcdir/$pkgbase-v$pkgver + + install -d ${pkgdir}/etc/libretools.d + install -m755 mips64el/mips64el.conf ${pkgdir}/etc/libretools.d + + install -d ${pkgdir}/usr/bin + install -m755 mips64el/mips-add ${pkgdir}/usr/bin + install -m755 mips64el/mipsrelease ${pkgdir}/usr/bin +} diff --git a/libre/libretools-legacy/libretools-legacy.install b/libre/libretools-legacy/libretools-legacy.install new file mode 100644 index 000000000..3ede1f904 --- /dev/null +++ b/libre/libretools-legacy/libretools-legacy.install @@ -0,0 +1,28 @@ +#!/bin/sh + +# arg 1: the new package version +post_install() { + cat <<EOF +Please check https://wiki.parabolagnulinux.org/Package_maintainer_guide +and follow instructions there before using libretools. + +If you plan using fullpkg you should read https://wiki.parabolagnulinux.org/fullpkg +and install libretools-\$arch if avaliable + +EOF + update-cleansystem +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + cat <<EOF +Check your /etc/libretools.conf, it has changed substantially. + +If using fullpkg, you should install libretools-\$arch if avaliable + +EOF + update-cleansystem +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD index 055cdde2c..fedefd7dd 100644 --- a/libre/libretools/PKGBUILD +++ b/libre/libretools/PKGBUILD @@ -1,6 +1,7 @@ # Maintainer: Joshua Haase <hahj87@gmail.com # Contributor: Luke Shumaker <lukeshu@sbcglobal.net> # Contributor: fauno <fauno@kiwwwi.com.ar> +# Contributor: Márcio Silva <coadde@lavabit.com> pkgbase=libretools pkgname=(libretools libretools-mips64el) diff --git a/libre/mkisolinux/PKGBUILD b/libre/mkisolinux/PKGBUILD index 1c02bb01b..7c9ab6cc4 100644 --- a/libre/mkisolinux/PKGBUILD +++ b/libre/mkisolinux/PKGBUILD @@ -2,8 +2,8 @@ # Maintainer : Tobias Powalowski <tpowa@archlinux.org> pkgname=mkisolinux -pkgver=2013.03 -pkgrel=2 +pkgver=2013.05 +pkgrel=1 pkgdesc="Advanced, modular isolinux bootcd image creation utility (Parabola rebranded)" arch=(any) license=('GPL') @@ -12,10 +12,7 @@ depends=('mkinitcpio' 'cdrkit' 'syslinux' 'pciutils') replaces=('mkbootcd') backup=(etc/mkisolinux.conf) source=('boot.msg' 'mkisolinux' 'mkisolinux.conf' 'options.msg') -md5sums=('945d5f5d74f37718c8c9d518bfd5698d' - 'e28b82502ae44087852ea6bfac398d5c' - '456eba83dfba319f8132c89e7ba42ce5' - 'ae0007d6679b5a575b2a9e5ac3664baf') + package() { @@ -25,3 +22,7 @@ package() install -D -m644 boot.msg "$pkgdir/usr/share/mkisolinux/boot.msg" install -D -m644 options.msg "$pkgdir/usr/share/mkisolinux/options.msg" } +md5sums=('945d5f5d74f37718c8c9d518bfd5698d' + '384aac3786506ff96ec3d1147bcacfe5' + '3cc23d74d7e4378d1be431d68a71a173' + 'ae0007d6679b5a575b2a9e5ac3664baf') diff --git a/libre/mkisolinux/mkisolinux b/libre/mkisolinux/mkisolinux index 0cb53e81e..ce1187d2a 100755 --- a/libre/mkisolinux/mkisolinux +++ b/libre/mkisolinux/mkisolinux @@ -65,7 +65,6 @@ install -m755 /usr/lib/syslinux/isolinux.bin ${TEMPDIR}/${BOOTDIRNAME}/isolinux. for i in /usr/lib/syslinux/*.c32; do install -m644 $i ${TEMPDIR}/${BOOTDIRNAME}/$(basename $i) done -install -m644 /lib/modules/$(uname -r)/modules.pcimap ${TEMPDIR}/${BOOTDIRNAME}/modules.pcimap install -m644 /usr/share/hwdata/pci.ids ${TEMPDIR}/${BOOTDIRNAME}/pci.ids # create syslinux.cfg echo ":: Creating syslinux.cfg ..." diff --git a/libre/mkisolinux/mkisolinux.conf b/libre/mkisolinux/mkisolinux.conf index 83d36219d..4af6f098c 100644 --- a/libre/mkisolinux/mkisolinux.conf +++ b/libre/mkisolinux/mkisolinux.conf @@ -2,7 +2,7 @@ # Rebranded for Parabola by André Silva <emulatorman@lavabit.com> # config file of mkisolinux -# DEFAULT kernel boot options like root=/dev/hda3 etc. +# DEFAULT kernel boot options like root=/dev/sda3 etc. # add your root= option, if you boot from a disk device # and don't want to add it by hand on each boot KERNEL_BOOT_OPTIONS="" diff --git a/libre/mksyslinux/PKGBUILD b/libre/mksyslinux/PKGBUILD new file mode 100644 index 000000000..a64f141fd --- /dev/null +++ b/libre/mksyslinux/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 187120 2013-06-04 06:46:39Z tpowa $ +# Maintainer : Tobias Powalowski <tpowa@archlinux.org> + +pkgname=mksyslinux +pkgver=2013.06 +pkgrel=1 +pkgdesc="Advanced, modular syslinux boot image creation utility (Parabola rebranded)" +arch=(any) +license=('GPL') +url="https://parabolagnulinux.org/" +depends=('mkinitcpio' 'syslinux' 'pciutils') +backup=(etc/mksyslinux.conf) +source=('boot.msg' 'mksyslinux' 'mksyslinux.conf' 'options.msg') + +package() +{ + cd "$srcdir/" + install -D -m755 mksyslinux "$pkgdir/usr/bin/mksyslinux" + install -D -m644 mksyslinux.conf "$pkgdir/etc/mksyslinux.conf" + install -D -m644 boot.msg "$pkgdir/usr/share/mksyslinux/boot.msg" + install -D -m644 options.msg "$pkgdir/usr/share/mksyslinux/options.msg" +} +md5sums=('287aad9693ca8061495e248c41ba43a7' + '0a9fd93356b5d98ab386f28bc849b808' + '15742e47e40a46491694b4b7680d4e38' + 'ae0007d6679b5a575b2a9e5ac3664baf') diff --git a/libre/mksyslinux/boot.msg b/libre/mksyslinux/boot.msg new file mode 100644 index 000000000..15476f2bd --- /dev/null +++ b/libre/mksyslinux/boot.msg @@ -0,0 +1,15 @@ + + +------------------------------------------------------------------------------ +Parabola GNU/Linux-libre +SYSLINUX BOOT +created with 'mksyslinux' by Tobias Powalowski <tpowa@archlinux.org> +rebranded for Parabola by André Silva <emulatorman@lavabit.com> + +Press ENTER or type 'parabola' to boot image. + +If you wish to change your defaults to boot into your existing system, +type 'vmlinuz initrd=initrd.img <any_other_boot_option>' +Use the F2 key for troubleshooting and options. +------------------------------------------------------------------------------ + diff --git a/libre/mksyslinux/mksyslinux b/libre/mksyslinux/mksyslinux new file mode 100755 index 000000000..96ad45133 --- /dev/null +++ b/libre/mksyslinux/mksyslinux @@ -0,0 +1,144 @@ +#! /bin/sh +# Created by Tobias Powalowski <tpowa@archlinux.org> +# Settings +APPNAME=$(basename "${0}") +CONFIG="/etc/mksyslinux.conf" +export TEMPDIR=$(mktemp /tmp/mksyslinux.XXX) +TMPDIR=$(mktemp -d /tmp/mksyslinux-image.XXX) +BOOTDIRNAME=boot/syslinux + +usage () +{ + echo "${APPNAME}: usage" + echo "WRITING TO DEVICE:" + echo "- PREPARATION: Your device must have a bootable first partition in FAT16 format!" + echo "- ATTENTION: The MBR of your DEVICE will be overwritten! You have been warned!" + echo "" + echo "CREATING AN IMAGE FILE:" + echo "- For creating an image file use the -i=IMAGEFILE switch" + echo "- use 'dd if=<yourimage> of=<yourdevice>' to write to your device afterwards." + echo "" + echo "PARAMETERS:" + echo " -d=DEVICE Your DEVICE first partition from /dev/xxx tree to install" + echo " -i=IMAGENAME Your IMAGENAME" + echo " -c=CONFIG Use CONFIG file. default: /etc/mksyslinux.conf" + echo " -h This message." + exit 1 +} + +[ "$1" == "" ] && usage && exit 1 + + +while [ $# -gt 0 ]; do + case $1 in + -c=*|--c=*) CONFIG="$(echo $1 | awk -F= '{print $2;}')" ;; + -d=*|--d=*) DEVICE="$(echo $1 | awk -F= '{print $2;}')" ;; + -i=*|--i=*) IMAGENAME="$(echo $1 | awk -F= '{print $2;}')" ;; + -h|--h|?) usage ;; + *) usage ;; + esac + shift +done + +if [ ! -f "${CONFIG}" ]; then + echo "config file '${CONFIG}' cannot be found, aborting..." + exit 1 +fi + +if [ "${IMAGENAME}" = "" ]; then + if [ "${DEVICE}" = "" ]; then + echo "ERROR: No DEVICE name specified, please use the -d option" + exit 1 + fi +fi + +if ! [ $UID -eq 0 ]; then + echo "ERROR: only works when run as root!" + exit 1 +fi + +. "${CONFIG}" +# export for mkinitcpio +[ -n "${APPENDBOOTMESSAGE}" ] && export APPENDBOOTMESSAGE +[ -n "${APPENDBOOTMESSAGE_SYSLINUX}" ] && export APPENDBOOTMESSAGE_SYSLINUX +[ -n "${APPENDOPTIONSBOOTMESSAGE}" ] && export APPENDOPTIONSBOOTMESSAGE + +MBRDEVICE="$(echo ${DEVICE} | sed -e 's/[0-9]//g')" + +export RUNPROGRAM="${APPNAME}" +[ "${BOOTMESSAGE}" = "" ] && export BOOTMESSAGE=$(mktemp /tmp/bootmessage.XXXX) +[ "${OPTIONSBOOTMESSAGE}" = "" ] && export OPTIONSBOOTMESSAGE=$(mktemp /tmp/optionsbootmessage.XXXX) +export USEKERNEL=${VERSION} +# begin script +[ -e ${TEMPDIR} ] && rm -r ${TEMPDIR} +mkdir -p ${TEMPDIR} +echo ":: Mounting ${DEVICE} ..." +if ! [ "${IMAGENAME}" = "" ]; then + modprobe loop +else + mount ${DEVICE} ${TEMPDIR} || exit 1 +fi +mkdir -p ${TEMPDIR}/${BOOTDIRNAME} +# prepare syslinux bootloader +install -m755 /usr/lib/syslinux/isolinux.bin ${TEMPDIR}/${BOOTDIRNAME}/isolinux.bin +for i in /usr/lib/syslinux/*.c32; do + install -m644 $i ${TEMPDIR}/${BOOTDIRNAME}/$(basename $i) +done +install -m644 /usr/share/hwdata/pci.ids ${TEMPDIR}/${BOOTDIRNAME}/pci.ids + +# create syslinux.cfg +echo ":: Creating syslinux.cfg ..." +if [ "${SYSLINUXCFG}" = "" ]; then + [ -e ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg ] && rm ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "prompt ${PROMPT}" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "timeout ${TIMEOUT}" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "display boot.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "F1 boot.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "F2 options.msg" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "default parabola" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "label parabola" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "kernel /boot/vmlinuz" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg + echo "append initrd=/boot/initrd.img ${KERNEL_BOOT_OPTIONS}" >> ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg +else + sed "s|@@PROMPT@@|${PROMPT}|g;s|@@TIMEOUT@@|${TIMEOUT}|g;s|@@KERNEL_BOOT_OPTIONS@@|${KERNEL_BOOT_OPTIONS}|g" \ + ${SYSLINUXCFG} > ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg +fi +[ ! -s ${TEMPDIR}/${BOOTDIRNAME}/syslinux.cfg ] && echo "No syslinux.cfg found" && exit 1 +echo ":: Calling mkinitcpio CONFIG=${MKINITCPIO_CONFIG} KERNEL=${VERSION} ..." +# generate initramdisk +echo ":: Creating initramdisk ..." + mkinitcpio -c ${MKINITCPIO_CONFIG} -k ${VERSION} -g ${TEMPDIR}/boot/initrd.img +echo ":: Using ${KERNEL} as image kernel ..." + install -m644 ${KERNEL} ${TEMPDIR}/boot/vmlinuz + install -m644 ${BOOTMESSAGE} ${TEMPDIR}/${BOOTDIRNAME}/boot.msg + install -m644 ${OPTIONSBOOTMESSAGE} ${TEMPDIR}/${BOOTDIRNAME}/options.msg + [ ! -s ${TEMPDIR}/${BOOTDIRNAME}/boot.msg ] && echo 'ERROR:no boot.msg found, aborting!' && exit 1 + [ ! -s ${TEMPDIR}/${BOOTDIRNAME}/options.msg ] && echo 'ERROR:no options.msg found, aborting!' && exit 1 +if ! [ "${IMAGENAME}" = "" ]; then + # ext2 overhead's upper bound is 6% + # empirically tested up to 1GB + rootsize=$(du -bs ${TEMPDIR}|cut -f1) + IMGSZ=$(( (${rootsize}*106)/100/512 + 1)) # image size in sectors + # create the filesystem image file + dd if=/dev/zero of="${IMAGENAME}" bs=512 count="${IMGSZ}" + # create a filesystem on the image + mkfs.vfat "${IMAGENAME}" + mount -o loop ${IMAGENAME} ${TMPDIR} || exit 1 + cp -r "${TEMPDIR}"/* "$TMPDIR" + umount ${TMPDIR} +else + echo ":: Unmounting ${DEVICE} ..." + umount ${TEMPDIR} || exit 1 +fi +if ! [ "${IMAGENAME}" = "" ]; then + echo ":: Installing SYSLINUX on ${IMAGENAME} ..." + syslinux ${IMAGENAME} && echo "Installation completed." +else + echo ":: Installing MBR on ${MBRDEVICE} ..." + cat ${MBR} > ${MBRDEVICE} + echo ":: Installing SYSLINUX on ${DEVICE} ..." + syslinux -t offset ${DEVICE} && echo "Installation completed." +fi +# clean /tmp +rm -r ${TEMPDIR} +! [ ${IMAGENAME} = "" ] && rm -r ${TMPDIR} diff --git a/libre/mksyslinux/mksyslinux.conf b/libre/mksyslinux/mksyslinux.conf new file mode 100644 index 000000000..cfbfc49d8 --- /dev/null +++ b/libre/mksyslinux/mksyslinux.conf @@ -0,0 +1,34 @@ +# Created by Tobias Powalowski <tpowa@archlinux.org> +# Rebranded for Parabola by André Silva <emulatorman@lavabit.com> +# config file of mksyslinux + +# DEFAULT kernel boot options like root=/dev/sda3 etc. +# add your root= option, if you boot from a disk device +# and don't want to add it by hand on each boot +KERNEL_BOOT_OPTIONS="" + +# mkinitcpio config file, defaulted to stock config file +MKINITCPIO_CONFIG="/etc/mkinitcpio.conf" + +# kernel version, defaulted to build for runtime kernel +VERSION="$(uname -r)" + +# kernel image, defaulted to stock libre kernel +KERNEL="/boot/vmlinuz-linux-libre" + +# boot message files +BOOTMESSAGE="/usr/share/mksyslinux/boot.msg" +OPTIONSBOOTMESSAGE="/usr/share/mksyslinux/options.msg" + +# syslinux.cfg file to use +SYSLINUXCFG="" + +# Prompt on boot, 1=yes 0=no +PROMPT="1" + +# Timeout, 30 seconds to fix usb keyboard issues +# 0 means wait for prompt +TIMEOUT="300" + +# default MBR +MBR="/usr/lib/syslinux/mbr.bin" diff --git a/libre/mksyslinux/options.msg b/libre/mksyslinux/options.msg new file mode 100644 index 000000000..16c6b2eda --- /dev/null +++ b/libre/mksyslinux/options.msg @@ -0,0 +1,6 @@ +------------------------------------------------------------------------------ +Parabola GNU/Linux-libre options and troubleshooting: + +- If your system hangs during the boot process, any combinations of the + boot options noapic acpi=off pci=routeirq nosmp nomsi may be useful. +------------------------------------------------------------------------------ |