Updated yaourt, beginnings of plugapps-scripts package

This commit is contained in:
Mike Staszel 2010-11-27 12:35:54 -06:00
parent f4d65b51f0
commit c9eecccfc6
6 changed files with 57 additions and 42 deletions

View file

@ -1,23 +1,31 @@
# Contributor: tuxce <tuxce.net@gmail.com> # Contributor: tuxce <tuxce.net@gmail.com>
# Plugbox didn't change anything. This is from AUR. # No Plugbox changes, straight from AUR, yaourt depends on this.
pkgname=package-query pkgname=package-query
pkgver=0.3 pkgver=0.5
pkgrel=2 pkgrel=3
pkgdesc="Query ALPM and AUR" pkgdesc="Query ALPM and AUR"
arch=('i686' 'x86_64' 'arm') arch=('i686' 'x86_64')
url="http://gitweb.archlinux.fr/cgit/package-query.git" url="http://gitweb.archlinux.fr/package-query.git/"
license=('GPL') license=('GPL')
depends=(pacman curl yajl) depends=('pacman>=3.4' curl yajl)
source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz) source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('34d27cd1cb85ec71f1a320b2aa8a016b')
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
./autogen.sh
mkdir -p "$pkgdir/usr/bin" ./configure --localstatedir=/var --prefix=/usr \
mkdir -p "$pkgdir/usr/share/man/man8" --sysconfdir=/etc
make DESTDIR="$pkgdir" install make
} }
package ()
{
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR=$pkgdir install
}
# vim:set ts=2 sw=2 et:
md5sums=('5dd7f4aa61b6e8bd9d8dcadd9a26c039')

View file

@ -1,28 +1,35 @@
# Author: Julien MISCHKOWITZ <wain@archlinux.fr> # Author: Julien MISCHKOWITZ <wain@archlinux.fr>
# Author: tuxce <tuxce.net@gmail.com> # Author: tuxce <tuxce.net@gmail.com>
# Plugbox didn't change anything. This is from AUR. # No Plugbox changes, directly from AUR
pkgname=yaourt pkgname=yaourt
pkgver=0.9.4.3 pkgver=0.9.5.1
pkgrel=1 pkgrel=1
pkgdesc="A Pacman frontend with more features and AUR support" pkgdesc="A pacman wrapper with extended features and AUR support"
arch=(any) arch=('any')
url="http://www.archlinux.fr/yaourt-en/" url="http://www.archlinux.fr/yaourt-en/"
license="GPL" license=(GPL)
depends=('diffutils' 'pacman>=3.3.3' 'package-query>=0.3') depends=('diffutils' 'pacman>=3.4.0' 'package-query>=0.4')
makedepends=('gettext')
optdepends=('aurvote: vote for favorite packages from AUR for inclusion in [community]' optdepends=('aurvote: vote for favorite packages from AUR for inclusion in [community]'
'customizepkg: automatically modify PKGUILD during install/upgrade' 'customizepkg: automatically modify PKGBUILD during install/upgrade'
'pacman-color: fully colorized output' 'rsync: retrieve PKGBUILD from official repositories'
'rsync: retrieve PKGBUILD from official repositories' 'pacman-color: fully colorized output')
'colordiff: colorized output with yaourt -C')
install=yaourt.install install=yaourt.install
backup=('etc/yaourtrc') backup=('etc/yaourtrc')
source=(http://archiwain.free.fr/os/i686/$pkgname/$pkgname-$pkgver.src.tar.gz) source=(http://mir.archlinux.fr/~tuxce/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('8f5508d4d3db0f7211fd1c898cb58d9a')
build() { build() {
cd $startdir/src/$pkgname-$pkgver cd $srcdir/$pkgname-$pkgver/
make install DESTDIR=$pkgdir || return 1 make PREFIX=/usr sysconfdir=/etc localstatedir=/var
} }
package() {
cd $srcdir/$pkgname-$pkgver/
make PREFIX=/usr sysconfdir=/etc localstatedir=/var DESTDIR=$pkgdir install
}
# vim:set ts=2 sw=2 et:
md5sums=('8bc39a42f7fa05dbbf1a559a3f6af75c')

View file

@ -1,14 +1,12 @@
post_install() { post_install() {
echo "==> Check /etc/yaourtrc, syntax of configuration file changes." cat <<-EndOfMessage
echo " -> man yaourtrc" ==> for a full colorized output, install pacman-color and export PACMAN=pacman-color
echo "==> To use yaourt as a user, add these entries to /etc/sudoers:" or set it into yaourtrc file.
echo " -> user ALL=NOPASSWD: /usr/bin/pacman" EndOfMessage
echo " -> user ALL=NOPASSWD: /usr/bin/pacdiffviewer" /bin/true
echo " (Please, use sudo carefully.)"
echo "==> For fully colorized output via pacman-color:"
echo " -> Set the PacmanBin option in /etc/yaourtrc"
} }
post_upgrade() { post_upgrade() {
post_install $1 echo "Check /etc/yaourtrc"
post_install
} }

View file

@ -1,7 +1,7 @@
# Maintainer: Mike Staszel <mikestaszel@plugapps.com> # Maintainer: Mike Staszel <mikestaszel@plugapps.com>
pkgname=filesystem pkgname=filesystem
pkgver=2010.09 pkgver=2010.12
pkgrel=1 pkgrel=1
pkgdesc="Base filesystem" pkgdesc="Base filesystem"
arch=('arm') arch=('arm')
@ -9,7 +9,7 @@ license=('GPL')
url="http://plugboxlinux.org" url="http://plugboxlinux.org"
groups=('base') groups=('base')
install=filesystem.install install=filesystem.install
depends=('coreutils') depends=('coreutils' 'plugapps-scripts')
backup=(etc/fstab etc/crypttab etc/group etc/hosts etc/ld.so.conf etc/passwd backup=(etc/fstab etc/crypttab etc/group etc/hosts etc/ld.so.conf etc/passwd
etc/shadow etc/gshadow etc/resolv.conf etc/motd etc/nsswitch.conf etc/shadow etc/gshadow etc/resolv.conf etc/motd etc/nsswitch.conf
etc/shells etc/host.conf etc/securetty etc/profile etc/issue) etc/shells etc/host.conf etc/securetty etc/profile etc/issue)

View file

@ -0,0 +1,3 @@
The plugapps-scripts package will contain fixes and scripts
that users can optionally run, as well as fixes we sometimes
discover after updating packages.

View file

@ -17,9 +17,9 @@
# NOTE: Make sure the package "mtd-utils" is installed for making UBI images. # NOTE: Make sure the package "mtd-utils" is installed for making UBI images.
# #
# ==== Variables to set ==== # ==== Variables to set ====
PLUGSCRIPTDIR=/media/Plugbox/builder/plugapps/scripts/plugscripts # PLUGSCRIPTDIR has been replaced by the 'plugapps-scripts' package
INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal" INSTALLEDPKGS="base kernel26-withlinux file heimdal ntfs-3g openssh openssl"
RELEASEVER=2010.11 RELEASEVER=2010.12
MAKETARGZ=1 MAKETARGZ=1
MAKEUBIIMG=1 MAKEUBIIMG=1
# ==== The Process ==== # ==== The Process ====
@ -42,7 +42,6 @@ echo "de_DE@euro ISO-8859-15" >> $1/etc/locale.gen
chroot $1/ /usr/sbin/locale-gen chroot $1/ /usr/sbin/locale-gen
chroot $1/ /usr/bin/pacman -Scc --noconfirm chroot $1/ /usr/bin/pacman -Scc --noconfirm
echo $RELEASEVER > $1/etc/plugbox-version echo $RELEASEVER > $1/etc/plugbox-version
cp -R $PLUGSCRIPTDIR $1/usr/share/plugapps/
# Here is the rootfs.tar.gz part if you set MAKETARGZ to 1 # Here is the rootfs.tar.gz part if you set MAKETARGZ to 1
if [ $MAKETARGZ = 1 ]; then if [ $MAKETARGZ = 1 ]; then