Removed old core and prepare for new

This commit is contained in:
Mike Staszel 2009-10-07 22:38:49 -05:00
parent 02eb9a91cf
commit ee13829026
214 changed files with 0 additions and 11680 deletions

BIN
core/.DS_Store vendored

Binary file not shown.

View file

@ -1,41 +0,0 @@
# Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=acl
pkgver=2.2.47
pkgrel=1
pkgdesc="Library for filesystem ACL support"
arch=(arm)
url="http://oss.sgi.com/projects/xfs/"
license=('LGPL')
groups=('base')
depends=('attr>=2.4.41')
makedepends=('libtool' 'gettext')
replaces=('xfsacl')
provides=('xfsacl')
conflicts=('xfsacl')
options=('!libtool')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_${pkgver}-1.tar.gz
acl-rpath.patch)
md5sums=('a11e4571a54a0b1ae83010d1e68a64c2'
'1fe58873e384657cac223689482e3a30')
build() {
cd $srcdir/acl-$pkgver
patch -Np0 -i $srcdir/acl-rpath.patch
autoconf
./configure --prefix=/opt
make || return 1
make prefix=$pkgdir/opt/ install install-lib install-dev
# tidy up
cd $pkgdir
# mkdir -v lib
# mv -v usr/lib/libacl.so* lib/
ln -sv opt/lib/libacl.so.1 opt/lib/libacl.so
mv -v opt/libexec/libacl.{a,la} opt/lib/
rm -rf $pkgdir/opt/libexec
}

View file

@ -1,25 +0,0 @@
--- include/builddefs.in.orig 2009-03-20 18:56:14.000000000 -0300
+++ include/builddefs.in 2009-03-20 18:56:32.000000000 -0300
@@ -27,14 +27,14 @@
PKG_VERSION = @pkg_version@
PKG_PLATFORM = @pkg_platform@
PKG_DISTRIBUTION= @pkg_distribution@
-PKG_BIN_DIR = @bindir@
-PKG_SBIN_DIR = @sbindir@
-PKG_LIB_DIR = @libdir@@libdirsuffix@
-PKG_DEVLIB_DIR = @libexecdir@@libdirsuffix@
-PKG_INC_DIR = @includedir@
-PKG_MAN_DIR = @mandir@
-PKG_DOC_DIR = @datadir@/doc/@pkg_name@
-PKG_LOCALE_DIR = @datadir@/locale
+PKG_BIN_DIR = $(DESTDIR)@bindir@
+PKG_SBIN_DIR = $(DESTDIR)@sbindir@
+PKG_LIB_DIR = $(DESTDIR)@libdir@@libdirsuffix@
+PKG_DEVLIB_DIR = $(DESTDIR)@libexecdir@@libdirsuffix@
+PKG_INC_DIR = $(DESTDIR)@includedir@
+PKG_MAN_DIR = $(DESTDIR)@mandir@
+PKG_DOC_DIR = $(DESTDIR)@datadir@/doc/@pkg_name@
+PKG_LOCALE_DIR = $(DESTDIR)@datadir@/locale
CC = @cc@
AWK = @awk@

View file

@ -1,38 +0,0 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
pkgname=attr
pkgver=2.4.43
pkgrel=2
pkgdesc="Extended attribute support library for ACL support"
arch=(arm)
url="http://oss.sgi.com/projects/xfs/"
license=('LGPL')
groups=('base')
depends=()
makedepends=('gettext')
replaces=('xfsattr')
provides=('xfsattr')
conflicts=('xfsattr')
options=('!libtool')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_${pkgver}-1.tar.gz)
md5sums=('91583a14bcbd637adaa9b07ea49c5d4b')
build() {
cd $startdir/src/attr-$pkgver
autoconf
./configure --prefix=/opt
sed -i -e 's/man2//g' man/Makefile
make || return 1
make prefix=${startdir}/pkg/opt install install-lib install-dev
# tidy up
cd "${startdir}/pkg"
# mkdir -v lib
# mv -v usr/lib/libattr.so* lib/
ln -sv opt/lib/libattr.so.1 opt/lib/libattr.so
mv -v opt/libexec/libattr.{a,la} opt/lib/
rm -rvf opt/libexec
}

View file

@ -1,22 +0,0 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
pkgname=autoconf
pkgver=2.63
pkgrel=2
pkgdesc="A GNU tool for automatically configuring source code"
arch=('arm')
license=('GPL2' 'GPL3')
url="http://www.gnu.org/software/autoconf"
groups=('base-devel')
depends=('awk' 'm4' 'diffutils')
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('43d76649fb86cd21d64f68c48d5abdcf')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/opt
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -rf "${pkgdir}/opt/share/info"
}

View file

@ -1,22 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=automake
pkgver=1.11
pkgrel=1
pkgdesc="A GNU tool for automatically creating Makefiles"
arch=(arm)
license=('GPL')
url="http://www.gnu.org/software/automake"
groups=('base-devel')
depends=('perl')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('fab0bd2c3990a6679adaf9eeac0c6d2a')
build() {
cd "$srcdir/automake-$pkgver"
./configure --prefix=/opt
make || return 1
make DESTDIR=$pkgdir install || return 1
}

View file

@ -1,80 +0,0 @@
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# arm Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=bash
_patchlevel=028
pkgver=4.0.$_patchlevel
pkgrel=1
pkgdesc="The GNU Bourne Again shell"
arch=(arm)
license=('GPL')
url="http://www.gnu.org/software/bash/bash.html"
groups=('base')
backup=(opt/etc/profile.bash opt/etc/skel/.bashrc opt/etc/skel/.bash_profile)
depends=('readline>=5.2')
makedepends=(gzip)
provides=('sh')
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-4.0.tar.gz
profile.bash
bashrc)
for p in $(seq -w 001 $_patchlevel); do
source=(${source[@]} http://ftp.gnu.org/gnu/bash/bash-4.0-patches/bash40-$p)
done
build() {
cd ${startdir}/src/${pkgname}-4.0
for p in ../bash40-*; do
msg "applying patch ${p}"
patch -Np0 -i ${p} || return 1
done
./configure --prefix=/opt --with-curses --enable-readline \
--without-bash-malloc --with-installed-readline \
--bindir=/opt/bin --mandir=/opt/share/man --infodir=/opt/share/info
make || return 1
make DESTDIR=${startdir}/pkg install
install -D -m644 ${startdir}/src/profile.bash ${startdir}/pkg/opt/etc/profile.bash
# for now, bash is our default /bin/sh
cd ${startdir}/pkg/opt/bin
ln -s bash sh
mkdir -p $startdir/pkg/opt/etc/skel/
install -D -m644 $startdir/src/bashrc $startdir/pkg/opt/etc/skel/.bashrc
echo ". \$HOME/.bashrc" >$startdir/pkg/opt/etc/skel/.bash_profile
rm -rf ${pkgdir}/opt/share/{info,man}
}
md5sums=('a90a1b5a6db4838483f05438e05e8eb9'
'c2fae355facefcac8a732cce877da194'
'3d2837e84645eac9bde399b58014bafa'
'bc7f4762443939bd7dccb42370f0d932'
'c2a4a4786a83ed4ec366c6a8924369a2'
'22e8a824eddba21a8fce10d7984c2aba'
'ed7cbced8c7c964323265522369a37a2'
'8ed86b7d31423d71ecf3148251d63512'
'5f447338cb98ff156cabf1fd9879d5f3'
'96e946cb66a4ca186cba1da44f1ee163'
'd3eb7b6f00d525e032478c33f51d46a8'
'340601c997ce569532417a7ae92248b8'
'0bd5ab96d514ffb1afbb8c7984b15146'
'32cb20f339a20e1e9fb37a5d18f18fca'
'33fd9e93d30a17988c19554ef26d56e0'
'a266b42df5e9ed7e8818a8b00d50e00b'
'86cac78f191a32cd1404f11264eb9b2a'
'bb41963d030bc61a20e8185367b337c5'
'f75455048a086528971252fd979b8755'
'34b2cd57271a452f4a26b39d77ff908f'
'99318eed8dcc05e10a14ae27043f175d'
'af3b9aaeadc71a5007bec2b98c751cde'
'eb7c7ddeb7e8451eb59228dca3329696'
'585d701b978ceb63967dc020db3a2234'
'7a70f2608f90f6ac0c2051e5f1c6c414'
'7a23aa41630dd4fe8d30108a200e2d96'
'82ba5fc9eb780eb57d8b7628a17b7d74'
'b26f9007ac4eef5c378f1abcb8959025'
'83bc844c82d0a30740e8d91a8238bfa9'
'a41c187f05ecab07389c18acc91214c6'
'fcc367e6471267d2e397257e703b817d')

View file

@ -1,6 +0,0 @@
# Check for an interactive session
[ -z "$PS1" ] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

View file

@ -1,35 +0,0 @@
#
# /etc/profile
#
export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"
export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"
export LC_COLLATE="C"
export COLUMNS LINES
export PS1='[\u@\h \W]\$ '
export PS2='> '
umask 022
if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
fi
# load profiles from /etc/profile.d
# (to disable a profile, just remove execute permission on it)
if [ `ls -A1 /etc/profile.d/ | wc -l` -gt 0 ]; then
for profile in /etc/profile.d/*.sh; do
if [ -x $profile ]; then
. $profile
fi
done
unset profile
fi
# End of file

View file

@ -1,25 +0,0 @@
#
# /etc/profile.bash
# Global settings for bash shells
#
PS1='[\u@\h \W]\$ '
PS2='> '
PS3='> '
PS4='+ '
export PS1 PS2 PS3 PS4
#In the future we may want to add more ulimit entries here,
# in the offchance that /etc/security/limits.conf is skipped
ulimit -Sc 0 #Don't create core files
if test "$TERM" = "xterm" -o \
"$TERM" = "xterm-color" -o \
"$TERM" = "xterm-256color" -o \
"$TERM" = "rxvt" -o \
"$TERM" = "rxvt-unicode" -o \
"$TERM" = "xterm-xfree86"; then
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
export PROMPT_COMMAND
fi

View file

@ -1,27 +0,0 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
pkgname=bc
pkgver=1.06
pkgrel=1
pkgdesc="An arbitrary precision calculator language"
arch=('arm')
license=('GPL')
depends=('readline')
replaces=(bc-readline)
conflicts=(bc-readline)
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
build-fix.patch)
md5sums=('d44b5dddebd8a7a7309aea6c36fda117'
'fc7ecbd9e55ef04c6d3a495692626116')
build() {
CFLAGS="$CFLAGS -O3"
cd ${startdir}/src/${pkgname}-${pkgver}
patch -Np1 -i ${startdir}/src/build-fix.patch || return 1
./configure --prefix=/opt --mandir=/opt/share/man \
--infodir=/opt/share/info --with-readline
make LEX="flex -I" || return 1
make DESTDIR=${startdir}/pkg install
rm ${pkgdir}/opt/share/info/dir
}

View file

@ -1,13 +0,0 @@
diff -wbBur bc-1.06/bc/scan.l bc-1.06.my/bc/scan.l
--- bc-1.06/bc/scan.l 2000-09-13 22:25:47 +0400
+++ bc-1.06.my/bc/scan.l 2006-12-25 12:39:34 +0300
@@ -143,7 +143,9 @@
/* Definitions for readline access. */
extern FILE *rl_instream;
+#if 0
_PROTOTYPE(char *readline, (char *));
+#endif
/* rl_input puts upto MAX characters into BUF with the number put in
BUF placed in *RESULT. If the yy input file is the same as

View file

@ -1,46 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
# toolchain build order: kernel-headers->glibc->binutils->gcc-libs->gcc->binutils->glibc
pkgname=binutils
pkgver=2.19.1
pkgrel=3
_date=20090205
pkgdesc="A set of programs to assemble and manipulate binary and object files"
arch=('arm')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
groups=('base-devel')
options=('!libtool' '!distcc' '!ccache')
depends=('texinfo>=4.13a-3')
source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}_${_date}.tar.bz2)
md5sums=('8fd8a7082814124917289eba9f2b46f1')
build() {
mkdir -p $srcdir/binutils-build
cd $srcdir/binutils-build
CC="gcc -L`pwd`/bfd/.libs/"
../configure --prefix=/opt \
--mandir=/opt/share/man --infodir=/opt/share/info \
--enable-shared || return 1
# fix man files install path
sed -i -e "s:mandir \= \/opt\/share:mandir \= ${pkgdir}\/opt\/share:" ${srcdir}/binutils-build/Makefile || return 1
# fix info files install path
sed -i -e "s:infodir \= \/opt\/share:infodir \= ${pkgdir}\/opt\/share:" ${srcdir}/binutils-build/Makefile || return 1
# This checks the host environment and makes sure all the necessary tools are available to compile Binutils.
make configure-host || return 1
make tooldir=${startdir}/pkg/opt || return 1
make prefix=${startdir}/pkg/opt tooldir=${startdir}/pkg/opt install
install -m 644 ../include/libiberty.h ${startdir}/pkg/opt/include
# Remove these symlinks, with binutils prereleases they are not ABI stable.
# Programs should compile static to the .a file.
rm -f ${startdir}/pkg/opt/lib/lib{bfd,opcodes}.so
}

View file

@ -1,21 +0,0 @@
# Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=bison
pkgver=2.4.1
pkgrel=1
pkgdesc="The GNU general-purpose parser generator"
arch=('arm')
license=('GPL')
url="http://www.gnu.org/software/bison/bison.html"
depends=('m4' 'texinfo')
groups=('base-devel')
source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.gz)
md5sums=('c58aa1da418dc9704070872489e89bf5')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/opt --datadir=/opt/share || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
}

View file

@ -1,46 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=bzip2
pkgver=1.0.5
pkgrel=1
pkgdesc="A high-quality data compression program"
arch=(arm)
license=('custom')
url="http://sources.redhat.com/bzip2"
groups=('base')
depends=()
source=(http://www.bzip.org/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('3c15a0c8d1d3ee1c46a1634d00617b1a')
build() {
cd $srcdir/bzip2-$pkgver
# add large-file support
sed -e 's/^CFLAGS=\(.*\)$/CFLAGS=\1 \$(BIGFILES)/' -i ./Makefile-libbz2_so
make -f Makefile-libbz2_so || return 1
make bzip2recover libbz2.a || return 1
install -dm755 $pkgdir/opt/bin
install -m755 bzip2-shared $pkgdir/opt/bin/bzip2
install -m755 bzip2recover $pkgdir/opt/bin
ln -sf bzip2 $pkgdir/opt/bin/bunzip2
ln -sf bzip2 $pkgdir/opt/bin/bzcat
install -Dm755 libbz2.so.1.0.4 $pkgdir/opt/lib/libbz2.so.1.0.4
install -Dm755 libbz2.so.1.0.4 $pkgdir/opt/lib/libbz2.so.1.0.4
ln -s libbz2.so.1.0.4 $pkgdir/opt/lib/libbz2.so
ln -s libbz2.so.1.0.4 $pkgdir/opt/lib/libbz2.so.1
ln -s libbz2.so.1.0.4 $pkgdir/opt/lib/libbz2.so.1.0
install -Dm644 libbz2.a ${pkgdir}/opt/lib/libbz2.a
# ln -sf ../../lib/libbz2.so ${pkgdir}/opt/lib/libbz2.so
install -Dm644 bzlib.h $pkgdir/opt/include/bzlib.h
install -Dm644 $srcdir/${pkgname}-${pkgver}/LICENSE \
$pkgdir/opt/share/licenses/${pkgname}/LICENSE
}

View file

@ -1,25 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: ezzetabi <ezzetabi at gawab dot com>
# Modified by OpenPogo
pkgname=cloog-ppl
pkgver=0.15.3
pkgrel=1
pkgdesc='Library that generates loops for scanning polyhedra'
arch=(arm)
url='http://www.cloog.org/'
license=(GPL)
depends=('ppl>=0.10.2')
options=('!libtool')
source=(ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-${pkgver}.tar.gz)
md5sums=('9e7a3ff38b3877625d46badc6d4bbef9')
build() {
cd $srcdir/cloog-ppl
./configure --prefix=/opt \
--with-bits=gmp --with-ppl=/opt
make || return 1
make DESTDIR=$pkgdir install
}

View file

@ -1,47 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=coreutils
pkgver=7.4
pkgrel=1
pkgdesc="The basic file, shell and text manipulation utilities of the GNU operating system"
arch=('arm')
license=('GPL3')
url="http://www.gnu.org/software/coreutils"
groups=('base')
depends=('pam>=1.0.3' 'acl>=2.2.47' 'gmp>=4.2.4')
provides=('mktemp')
conflicts=('mktemp')
replaces=('sh-utils' 'fileutils' 'textutils' 'mktemp')
backup=('opt/etc/pam.d/su')
options=('!emptydirs')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz su)
md5sums=('c52f4f64dda9a245c38e74c09fdd86d2'
'fa85e5cce5d723275b14365ba71a8aad')
build() {
cd "$srcdir/coreutils-$pkgver"
./configure --prefix=/opt \
--enable-install-program=su \
--enable-pam ac_cv_func_openat=no || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
# Remove binaries provided by other packages.
for f in hostname uptime groups kill; do
rm -f $pkgdir/opt/bin/$f
done
cd $pkgdir/opt/bin
install -dm755 $pkgdir/opt/{bin,sbin,usr/sbin}
# mv su date echo false pwd stty true uname cat tr cut readlink $pkgdir/bin
# mv dd cp df du ln ls mv rm dir sync vdir chgrp chmod chown $pkgdir/bin
# mv mkdir mknod rmdir shred touch mkfifo dircolors install sleep $pkgdir/bin
# mv chroot $pkgdir/usr/sbin
ln -sf test [
# ln -sf /bin/sleep $pkgdir/usr/bin/sleep
install -Dm644 $srcdir/su $pkgdir/opt/etc/pam.d/su
chmod -v 4555 $pkgdir/opt/bin/su
}

View file

@ -1,9 +0,0 @@
#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required pam_wheel.so use_uid
auth required pam_unix.so
account required pam_unix.so
session required pam_unix.so

View file

@ -1,26 +0,0 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
pkgname=cracklib
pkgver=2.8.13
pkgrel=1
pkgdesc="Password Checking Library"
arch=(arm)
license=('GPL')
url="http://sourceforge.net/projects/cracklib"
groups=('base')
depends=()
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('5beb4c6b3c31c83fc98c4c225b25cd94')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt --without-python
make || return 1
mkdir -p $startdir/pkg/opt/share/dict
make DESTDIR=$startdir/pkg install
cp dicts/cracklib-small $startdir/pkg/opt/share/dict
sh ./util/cracklib-format dicts/cracklib-small \
| sh ./util/cracklib-packer $startdir/pkg/opt/share/cracklib/pw_dict
}

View file

@ -1,22 +0,0 @@
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
# Modified by OpenPogo
pkgname=curl
pkgver=7.19.5
pkgrel=1
pkgdesc="An URL retrival utility and library"
arch=('arm')
url="http://curl.haxx.se"
license=('MIT')
depends=('zlib' 'openssl>=0.9.8b')
options=('!libtool')
source=(http://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2)
md5sums=('426d161661dce70c8ea9ad8f553363a3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/opt --without-libidn --disable-ldap || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -D -m644 COPYING "${pkgdir}/opt/share/licenses/${pkgname}/COPYING" || return 1
}

View file

@ -1,37 +0,0 @@
# Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=db
pkgver=4.7.25
pkgrel=1
pkgdesc="The Berkeley DB embedded database system"
arch=(arm)
license=('custom')
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
groups=('base')
depends=('gcc-libs')
options=('!libtool')
source=(http://download-uk.oracle.com/berkeley-db/db-$pkgver.tar.gz
http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.1
http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.2
http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.3)
install=db.install
md5sums=('ec2b87e833779681a0c3a814aa71359e'
'5fdf101259e5164dea1c8c86214fde38'
'bd410a11c71fee52fddb6aa2d8d4f80c'
'6fcd69f64f5b34bfe8f0a63cc2e402c1')
build() {
cd ${srcdir}/$pkgname-$pkgver
patch -Np0 -i ${srcdir}/patch.4.7.25.1 || return 1
patch -Np0 -i ${srcdir}/patch.4.7.25.2 || return 1
patch -Np0 -i ${srcdir}/patch.4.7.25.3 || return 1
cd ${srcdir}/$pkgname-$pkgver/build_unix
../dist/configure --prefix=/opt --enable-compat185 \
--enable-shared --enable-static --enable-cxx
make LIBSO_LIBS=-lpthread || return 1
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/opt/docs
mkdir -p ${pkgdir}/opt/share/licenses/${pkgname}
install -m644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/opt/share/licenses/${pkgname}/LICENSE
}

View file

@ -1,5 +0,0 @@
post_upgrade() {
echo "ATTENTION DB PACKAGE:"
echo "Please consider to run db_upgrade on Berkeley DB databases with a major db version number update."
}

View file

@ -1,54 +0,0 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Link Dupont <link@subpop.net>
# Modified by OpenPogo
pkgname=dbus-core
pkgver=1.2.14
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
arch=(arm)
license=('GPL' 'custom')
depends=('expat>=2.0' 'coreutils')
conflicts=('dbus<1.2.3-2')
options=(!libtool)
groups=('base')
install=dbus.install
source=(http://dbus.freedesktop.org/releases/dbus/dbus-${pkgver}.tar.gz
dbus)
md5sums=('2c267ccd45d0b18db8c9edacad63ec98'
'ae21f22ea7579ac0d70227eebc04e1f8')
build() {
cd "${srcdir}/dbus-${pkgver}"
./configure --prefix=/opt --sysconfdir=/opt/etc --localstatedir=/opt/var \
--libexecdir=/opt/lib/dbus-1.0 --with-dbus-user=81 \
--with-system-pid-file=/opt/var/run/dbus.pid \
--enable-inotify --disable-dnotify \
--disable-verbose-mode --disable-static \
--disable-tests --disable-asserts --without-x || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/opt/bin/dbus-launch"
rm -f "${pkgdir}/opt/share/man/man1/dbus-launch.1"
chown 81:81 "${pkgdir}/opt/var/run/dbus" || return 1
install -m755 -d "${pkgdir}/opt/etc/rc.d" || return 1
install -m755 "${srcdir}/dbus" "${pkgdir}/opt/etc/rc.d/" || return 1
#Fix configuration file
sed -i -e 's|<user>81</user>|<user>dbus</user>|' "${pkgdir}/opt/etc/dbus-1/system.conf" || return 1
#install .keep files so pacman doesn't delete empty dirs
touch "${pkgdir}/opt/share/dbus-1/services/.keep" || return 1
touch "${pkgdir}/opt/share/dbus-1/system-services/.keep" || return 1
touch "${pkgdir}/opt/etc/dbus-1/session.d/.keep" || return 1
touch "${pkgdir}/opt/etc/dbus-1/system.d/.keep" || return 1
rmdir "${pkgdir}/opt/lib/dbus-1.0/dbus-1" || return 1
install -d -m755 "${pkgdir}/opt/share/licenses/dbus-core"
install -m644 COPYING "${pkgdir}/opt/share/licenses/dbus-core/" || return 1
}

View file

@ -1,57 +0,0 @@
#!/bin/bash
# general config
. /opt/etc/rc.conf
. /opt/etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting D-BUS system messagebus"
if [ ! -x /opt/var/run/dbus ] ; then
install -m755 -g 81 -o 81 -d /opt/var/run/dbus
fi
if [ -x /opt/bin/dbus-uuidgen ] ; then
/opt/bin/dbus-uuidgen --ensure
fi
/opt/bin/dbus-daemon --system
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon dbus
stat_done
fi
;;
stop)
stat_busy "Stopping D-BUS system messagebus"
[ -f /opt/var/run/dbus.pid ] && kill `cat /opt/var/run/dbus.pid` >/dev/null 2>&1
if [ $? -gt 0 ]; then
stat_fail
else
rm -f /opt/var/run/dbus.pid
rm_daemon dbus
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
reload)
stat_busy "Reloading D-BUS configuration"
[ -f /opt/var/run/dbus.pid ] && /opt/bin/dbus-send \
--system --type=method_call \
--dest=org.freedesktop.DBus \
/ org.freedesktop.DBus.ReloadConfig
if [ $? -gt 0 ]; then
stat_fail
else
stat_done
fi
;;
*)
echo "usage: $0 {start|stop|restart|reload}"
;;
esac
exit 0

View file

@ -1,20 +0,0 @@
post_install() {
getent group dbus >/dev/null || usr/sbin/groupadd -g 81 dbus
getent passwd dbus >/dev/null || usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
usr/bin/passwd -l dbus &>/dev/null
dbus-uuidgen --ensure
}
post_upgrade() {
post_install
#Make sure new rc script can shutdown running dbus
if [ -f var/run/dbus/pid ]; then
mv var/run/dbus/pid var/run/dbus.pid
fi
}
pre_remove() {
usr/sbin/userdel dbus &>/dev/null
usr/sbin/groupdel dbus &>/dev/null
}

View file

@ -1,49 +0,0 @@
# Makefile based on BSD make.
# Our mk stubs also work with GNU make.
# Copyright (c) 2008 Roy Marples <roy@marples.name>
PROG= dhcpcd
SRCS= arp.c bind.c common.c control.c dhcp.c dhcpcd.c duid.c eloop.c
SRCS+= if-options.c if-pref.c ipv4ll.c net.c signals.c
SRCS+= configure.c
SRCS+= ${SRC_IF} ${SRC_PF}
LIBEXECDIR?= ${PREFIX}/opt/lib/dhcpcd/
SCRIPT= ${LIBEXECDIR}/dhcpcd-run-hooks
HOOKDIR= ${LIBEXECDIR}/dhcpcd-hooks
BINDIR= ${PREFIX}/sbin
DBDIR?= /opt/var/db
SYSCONFDIR?= ${PREFIX}/opt/etc
MAN= dhcpcd.conf.5 dhcpcd.8 dhcpcd-run-hooks.8
CLEANFILES= dhcpcd.conf.5 dhcpcd.8 dhcpcd-run-hooks.8
SCRIPTS= dhcpcd-run-hooks
SCRIPTSDIR= ${LIBEXECDIR}
CLEANFILES+= dhcpcd-run-hooks
FILES= dhcpcd.conf
FILESDIR= ${SYSCONFDIR}
CPPFLAGS+= -DDBDIR=\"${DBDIR}\"
CPPFLAGS+= -DSCRIPT=\"${SCRIPT}\"
CPPFLAGS+= -DSYSCONFDIR=\"${SYSCONFDIR}\"
LDADD+= ${LIBRT}
SUBDIRS= dhcpcd-hooks
.SUFFIXES: .in
SED_DBDIR= -e 's:@DBDIR@:${DBDIR}:g'
SED_HOOKDIR= -e 's:@HOOKDIR@:${HOOKDIR}:g'
SED_SCRIPT= -e 's:@SCRIPT@:${SCRIPT}:g'
SED_SYS= -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g'
.in:
${SED} ${SED_DBDIR} ${SED_HOOKDIR} ${SED_SCRIPT} ${SED_SYS} $< > $@
MK= mk
include ${MK}/sys.mk
include ${MK}/os.mk
include ${MK}/prog.mk

View file

@ -1,49 +0,0 @@
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Tom Killian <tom.archlinux.org>
# Contributor: Judd Vinet <jvinet.zeroflux.org>
# Modified by OpenPogo
pkgname=dhcpcd
pkgver=5.0.4
pkgrel=1
pkgdesc="RFC2131 compliant DHCP client daemon"
url="http://roy.marples.name/dhcpcd/"
arch=(arm)
license=('BSD')
#groups=('base')
depends=()
backup=('opt/etc/conf.d/dhcpcd' 'opt/etc/dhcpcd.conf')
options=('emptydirs')
source=("http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2" \
'dhcpcd.conf.d'
'Makefile')
md5sums=('0b920a8094ee3a8c16c973794561feef'
'372d33485556982b64a97f301e17c5dd'
'cc4f85ea0a4a59444c511d383792c813')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# Build
rm Makefile
cp $srcdir/Makefile .
make || return 1
make DESTDIR=${pkgdir} install || return 1
# Create Binary Symlink
install -d ${pkgdir}/opt/sbin || return 1
# Install Configuration File used in /etc/rc.d/network
install -D -m644 ../dhcpcd.conf.d $pkgdir/opt/etc/conf.d/$pkgname || return 1
# Install License
install -d $pkgdir/opt/share/licenses/$pkgname || return 1
awk '{if(FNR<27)print $0}' ${srcdir}/${pkgname}-${pkgver}/config.h \
>> ${pkgdir}/opt/share/licenses/${pkgname}/LICENSE || return 1
# Make Man Pages FHS Compliant
# mv -f ${pkgdir}/opt/man ${pkgdir}/opt/share/man || return 1
# Set Options in /opt/etc/dhcpcd.conf
echo noipv4ll >> ${pkgdir}/opt/etc/dhcpcd.conf || return 1
}

View file

@ -1,6 +0,0 @@
#
# Arguments to be passed to the DHCP client daemon
#
DHCPCD_ARGS="-q"

View file

@ -1,24 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=diffutils
pkgver=2.8.1
pkgrel=2
pkgdesc="Utility programs used for creating patch files"
arch=(arm)
license=('GPL')
groups=('base')
url="http://www.gnu.org/software/diffutils"
depends=()
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('71f9c5ae19b60608f6c7f162da86a428')
build() {
cd ${srcdir}/diffutils-${pkgver}
./configure --prefix=/opt \
--mandir=/opt/share/man --infodir=/opt/share/info || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
}

View file

@ -1,33 +0,0 @@
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
# Modified by OpenPogo
pkgname=dropbear
pkgver=0.52
pkgrel=1
pkgdesc="A small SSH Server/Client"
arch=(arm)
url="http://matt.ucc.asn.au/dropbear/"
license=('custom')
groups=('small-base')
depends=('zlib')
conflicts=('openssh')
source=(http://matt.ucc.asn.au/dropbear/releases/dropbear-0.52.tar.bz2)
md5sums=('a1fc7adf601bca53330a792a9c873439')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/opt --disable-shadow \
--disable-lastlog --disable-utmp --disable-utmpx \
--disable-wtmp --disable-wtmpx --disable-loginfunc \
--disable-pututline --disable-pututxline || return 1
make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
MULTI=1 || return 1
cd $pkgdir
mkdir -p opt/bin
install -m644 $srcdir/$pkgname-$pkgver/dropbearmulti opt/bin/
ln -s opt/bin/dropbearmulti opt/bin/dropbear
ln -s opt/bin/dropbearmulti opt/bin/dbclient
ln -s opt/bin/dropbearmulti opt/bin/dropbearkey
ln -s opt/bin/dropbearmulti opt/bin/dropbearconvert
ln -s opt/bin/dropbearmulti opt/bin/scp
}

View file

@ -1,13 +0,0 @@
--- e2fsprogs-1.40.4/misc/Makefile 2008-01-16 14:52:53.000000000 +0000
+++ e2fsprogs-1.40.4/misc/Makefile.neu 2008-01-16 14:53:43.000000000 +0000
@@ -376,6 +376,10 @@
@echo " LD $@"
@$(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBS_BLKID) $(LIBINTL)
+fsck.static: $(FSCK_OBJS) $(DEPSTATIC_LIBBLKID)
+ @echo " LD $@"
+ @$(CC) $(ALL_LDFLAGS) -static -o fsck.static $(FSCK_OBJS) $(STATIC_LIBBLKID) $(DEPSTATIC_LIBUUID) $(LIBINTL)
+
badblocks: $(BADBLOCKS_OBJS) $(DEPLIBS)
@echo " LD $@"
@$(CC) $(ALL_LDFLAGS) -o badblocks $(BADBLOCKS_OBJS) $(LIBS) $(LIBINTL)

View file

@ -1,40 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
# Does not work? Clock skew detected while cross-compiling.
pkgname=e2fsprogs
pkgver=1.41.4
pkgrel=1
pkgdesc="Ext2/3/4 filesystem utilities"
arch=('arm')
license=('GPL' 'LGPL' 'MIT')
url="http://e2fsprogs.sourceforge.net"
groups=('base')
depends=()
makedepends=('bc' 'gawk' 'make')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
'Makefile-fsck.static.patch')
backup=('opt/etc/mke2fs.conf')
md5sums=('59033388df36987d2b9c9bbf7e19bd57'
'ce2b0daf84e17e8c7880ba3d43020ea3')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# Remove unnecessary init.d directory
sed -i '/init\.d/s|^|#|' misc/Makefile.in
./configure --prefix=/opt --with-root-prefix="" --enable-elf-shlibs
# add fsck.static for mkinitrd use
patch -Np1 -i ../Makefile-fsck.static.patch || return 1
make || return 1
make DESTDIR=${pkgdir} install install-libs || return 1
make -C ${srcdir}/${pkgname}-${pkgver}/misc fsck.static || return 1
install -D -m755 ${srcdir}/${pkgname}-${pkgver}/misc/fsck.static \
${pkgdir}/opt/sbin/fsck.static || return 1
sed -i -e 's/^AWK=.*/AWK=awk/' ${pkgdir}/opt/bin/compile_et || return 1
}

View file

@ -1,26 +0,0 @@
[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
}

View file

@ -1,24 +0,0 @@
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
# Modified by OpenPogo
pkgname=eventlog
pkgver=0.2.9
pkgrel=1
pkgdesc="A new API to format and send structured log messages"
arch=(arm)
url="http://www.balabit.com/support/community/products/"
license=('BSD')
depends=()
options=('!libtool')
source=(http://www.balabit.com/downloads/files/eventlog/${pkgver%.*}/eventlog_${pkgver}.tar.gz)
md5sums=('76e3d7a0b8f335c12099e9b91191fbf1')
sha1sums=('2cc6a4d1dc07ab84832f2cd44822ee7b339deb51')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/opt --sysconfdir=/opt/etc --localstatedir=/opt/var || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 COPYING ${pkgdir}/opt/share/licenses/${pkgname}/LICENSE
}

View file

@ -1,24 +0,0 @@
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
# Modified by OpenPogo
pkgname=expat
pkgver=2.0.1
pkgrel=2
pkgdesc="An XML Parser library written in C"
arch=(arm)
license=('custom')
depends=()
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.gz)
url="http://expat.sourceforge.net/"
md5sums=('ee8b492592568805593f81f8cdf2a04c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/opt --mandir=/opt/share/man || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/opt/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/opt/share/licenses/${pkgname}/" || return 1
}

View file

@ -1,26 +0,0 @@
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
# Modified by OpenPogo
pkgname=fakeroot
pkgver=1.12.4
pkgrel=1
pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
arch=(arm)
license=('GPL')
url="http://packages.debian.org/fakeroot"
groups=('base-devel')
install=fakeroot.install
depends=('grep' 'sed')
options=('!libtool')
source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz)
md5sums=('aaefede2405a40c87438e7e833d69b70')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/opt --libdir=/opt/lib/libfakeroot \
--disable-static --with-ipc=sysv
make || return 1
make DESTDIR=${pkgdir} install || return 1
# install README for sysv/tcp usage
install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/opt/share/doc/$pkgname/README
}

View file

@ -1,31 +0,0 @@
# Modified by OpenPogo
# arg 1: the new package version
post_install() {
if [ ! "`grep /opt/lib/libfakeroot opt/etc/ld.so.conf`" ]; then
echo -n "updating /opt/etc/ld.so.conf... "
echo "/opt/lib/libfakeroot" >>opt/etc/ld.so.conf
sbin/ldconfig -r .
echo "done."
fi
echo "The package is built using sysv ipc. If this causes segfaults"
echo "see included README file and rebuild the pkg --with-ipc=tcp"
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
pre_remove() {
echo -ne "\nupdating /opt/etc/ld.so.conf... "
sed -i -e '/\/opt\/lib\/libfakeroot/d' opt/etc/ld.so.conf
sbin/ldconfig -r .
echo "done."
}
op=$1
shift
$op $*

View file

@ -1,25 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=file
pkgver=5.00
pkgrel=2
pkgdesc="File type identification utility"
arch=('arm')
license=('custom')
groups=('base-devel')
url="http://www.darwinsys.com/file/"
depends=('zlib')
options=('!libtool')
source=(ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('fd0b4ce55a756151629e06eaa3411e0c')
build() {
cd ${srcdir}/file-$pkgver
./configure --prefix=/opt --datadir=/opt/share/misc
make || return 1
make DESTDIR=${pkgdir} install
install -D -m644 COPYING ${pkgdir}/opt/share/licenses/${pkgname}/COPYING
}

View file

@ -1,31 +0,0 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
pkgname=findutils
pkgver=4.4.0
pkgrel=1
pkgdesc="GNU utilities to locate files"
arch=(arm)
license=('GPL3')
groups=('base')
depends=()
url="http://www.gnu.org/software/findutils"
source=(ftp://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.gz)
md5sums=('49e769ac4382fae6f104f99d54d0a112')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt
make || return 1
# believe it or not, the Makefile really wants to remove /opt/var, so
# we let it...
mkdir -p $startdir/pkg/opt/var
make DESTDIR=$startdir/pkg install
rm -rf $startdir/pkg/opt/libexec
# remove locate utils (we use slocate instead)
rm -f $startdir/pkg/opt/bin/{locate,updatedb}
rm -f $startdir/pkg/opt/share/man/man1/{updatedb.1,locate.1}
rm -f $startdir/pkg/opt/share/man/man5/locatedb.5
rmdir $startdir/pkg/opt/var
}

View file

@ -1,28 +0,0 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
pkgname=flex
pkgver=2.5.35
pkgrel=1
pkgdesc="A tool for generating text-scanning programs"
arch=('arm')
url="http://flex.sourceforge.net"
license=('custom')
groups=('base-devel')
depends=()
source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2
lex.sh)
md5sums=('10714e50cea54dc7a227e3eddcd44d57'
'b727b22e44d136e7ef472406cd6f6cfa')
build() {
cd $startdir/src/$pkgname-$pkgver || return 1
./configure --prefix=/opt --mandir=/opt/share/man || return 1
make || return 1
make prefix=$startdir/pkg/opt mandir=$startdir/pkg/opt/share/man install || return 1
install -D -m755 $startdir/src/lex.sh $startdir/pkg/opt/bin/lex || return 1
# install license
install -D -m644 COPYING \
$startdir/pkg/opt/share/licenses/$pkgname/license.txt || return 1
}

View file

@ -1,3 +0,0 @@
#!/bin/sh
exec /opt/bin/flex -l "$@"

View file

@ -1,28 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=gawk
pkgver=3.1.6
pkgrel=1
pkgdesc="Gnu version of awk"
arch=('arm')
url="http://www.gnu.org/directory/GNU/gawk.html"
license=('GPL')
groups=('base')
provides=('awk')
source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
depends=()
md5sums=('b237751aef53c9ead9644e376bc53386')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/opt
make || return 1
make DESTDIR=$pkgdir install
mv "${pkgdir}/opt/libexec" "${pkgdir}/opt/lib"
install -dm755 "${pkgdir}/opt/bin"
# mv ${pkgdir}/opt/bin/gawk* "${pkgdir}/bin/"
# mv ${pkgdir}/opt/bin/awk "${pkgdir}/bin/"
}

View file

@ -1,36 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgbase=gcc
pkgname=('gcc' 'gcc-libs')
pkgver=4.2.1
pkgrel=3
pkgdesc='The GNU Compiler Collection'
arch=(arm)
license=(GPL LGPL custom)
url='http://gcc.gnu.org'
makedepends=(flex 'gcc>=3.4' 'gawk>=3.1.5' 'make>=3.80')
source=(http://openpogo.com/pkgsrc/core/$pkgname-$pkgver.tar.gz)
md5sums=('4c4f0fc4c563a9dad47070d0b527c2f5')
options=('!libtool')
build() {
echo "Hi there."
}
package_gcc() {
depends=("gcc-libs==$pkgver-$pkgrel" 'binutils>=2.19.1' 'mpfr>=2.4.1' 'cloog-ppl>=0.15.3')
groups=(base-devel)
license=(GPL)
cp -R $srcdir/opt $pkgdir
}
package_gcc-libs() {
depends=()
groups=(base)
pkgdesc='Runtime libraries shipped by GCC for C and C++ languages'
license=(LGPL custom)
cp -R $srcdir/opt $pkgdir/
}

View file

@ -1,24 +0,0 @@
# Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=gdbm
pkgver=1.8.3
pkgrel=1
pkgdesc="GNU database library"
url="http://www.gnu.org/software/gdbm/gdbm.html"
license=('GPL')
arch=(arm)
groups=('base')
depends=()
source=(ftp://ftp.gnu.org/gnu/gdbm/$pkgname-$pkgver.tar.gz)
md5sums=('1d1b1d5c0245b1c00aff92da751e9aa1')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt
make prefix=/opt || return 1
make prefix=$startdir/pkg/opt install
make prefix=$startdir/pkg/opt install-compat
chown root.root $startdir/pkg/opt/include/{dbm.h,gdbm.h,ndbm.h}
find $startdir/pkg -name '*.la' -exec rm {} \;
}

View file

@ -1,27 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=gettext
pkgver=0.17
pkgrel=4
pkgdesc="GNU internationalization library"
arch=(arm)
url="http://www.gnu.org/software/gettext"
license=('GPL')
groups=('base')
depends=(ncurses 'expat>=1.95' acl)
options=(!libtool)
source=(ftp://ftp.gnu.org/pub/gnu/gettext/gettext-${pkgver}.tar.gz)
md5sums=('58a2bc6d39c0ba57823034d55d65d606')
build() {
cd $srcdir/gettext-$pkgver
./configure --prefix=/opt \
--with-included-libcroco \
--with-included-libxml \
--disable-jave \
--without-emacs || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
}

View file

@ -1,33 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
pkgname=git
pkgver=1.6.4.1
pkgrel=1
pkgdesc="GIT - the stupid content tracker"
groups=('base-devel')
arch=(arm)
url="http://git-scm.com/"
license=('GPL2')
depends=('curl' 'expat>=2.0' 'perl-error' 'perl>=5.10.0')
source=("http://kernel.org/pub/software/scm/git/${pkgname}-${pkgver}.tar.bz2")
md5sums=('bdc9b8be7d56a3beabad2d228f2e8e9a')
build() {
cd "$srcdir/git-$pkgver"
make prefix=/opt gitexecdir=/opt/lib/git-core || return 1
make prefix=/opt gitexecdir=/opt/lib/git-core \
INSTALLDIRS=vendor DESTDIR="$pkgdir" install || return 1
# let's plop gitweb in /opt/share
mkdir -p "$pkgdir/opt/share/"
cp -dR ./gitweb "$pkgdir/opt/share/gitweb" || return 1
# bash completion
mkdir -p $pkgdir/opt/etc/bash_completion.d/
install -m644 ./contrib/completion/git-completion.bash \
"$pkgdir/opt/etc/bash_completion.d/git" || return 1
# remove perllocal.pod, .packlist, and empty directories.
rm -rf $pkgdir/opt/lib/perl5
}

View file

@ -1,30 +0,0 @@
# Maintainer: Rotter Manuel <rotter.manuel@gmail.com>
# Modified by OpenPogo
pkgname=glib2
pkgver=2.20.2
pkgrel=1
pkgdesc="Common C routines used by GTK+ 2.4 and other libs"
url="http://www.gtk.org/"
arch=(arm)
license=('LGPL')
depends=('pcre>=7.9')
makedepends=('pkgconfig')
options=('!libtool' '!docs')
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.20/glib-${pkgver}.tar.bz2
glib2.sh
glib2.csh)
md5sums=(468054db4e28af3eac541b36c9d07c31
803017b365bd35dc20b092ce43b8c8c5
90c7b830bef4baf225c2eb8b7ead0cab)
build() {
cd "${srcdir}/glib-${pkgver}"
./configure --prefix=/opt --enable-static --enable-shared --with-pcre=system --disable-fam || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -d "${pkgdir}/opt/etc/profile.d"
install -m755 "${srcdir}/glib2.sh" "${pkgdir}/opt/etc/profile.d/" || return 1
install -m755 "${srcdir}/glib2.csh" "${pkgdir}/opt/etc/profile.d/" || return 1
}

View file

@ -1 +0,0 @@
setenv G_BROKEN_FILENAMES 1

View file

@ -1 +0,0 @@
export G_BROKEN_FILENAMES=1

View file

@ -1,90 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# toolchain build order:
# kernel-headers -> glibc -> binutils -> gcc-libs -> gcc -> binutils -> glibc
pkgname=glibc
pkgver=2.10.1
pkgrel=2
install=glibc.install
backup=(opt/etc/locale.gen
opt/etc/nscd.conf)
pkgdesc="GNU C Library"
arch=('arm')
license=('GPL' 'LGPL')
url="http://www.gnu.org/software/libc"
groups=('base' 'small-base')
depends=('tzdata')
makedepends=('gcc>=4.4.0')
source=(http://ftp.gnu.org/gnu/glibc/glibc-ports-$pkgver.tar.gz
http://ftp.gnu.org/gnu/glibc/glibc-$pkgver.tar.gz
nscd
locale.gen.txt
locale-gen)
build() {
cd $srcdir/glibc-$pkgver
ln -s $srcdir/glibc-ports-$pkgver .
install -dm755 $pkgdir/opt/etc
touch $pkgdir/opt/etc/ld.so.conf
# Remove timezone from build targets. This is supplied by the tzdata
# package.
sed -i '/^all-subdirs =/,/^$/s/timezone //' Makeconfig
mkdir glibc-build
cd glibc-build
echo "slibdir=/opt/lib" >> configparms
../configure --prefix=/opt \
--host=arm-unknown-linux-gnueabi \
--build=arm-unknown-linux-gnueabi \
--enable-add-ons \
--enable-kernel=2.6.18 \
--enable-bind-now \
--disable-profile \
--disable-debug \
--disable-gd \
--libexecdir=/opt/lib \
--libdir=/opt/lib \
--with-tls \
--with-__thread \
--with-headers=/opt/include \
--without-cvs \
--without-gd \
--without-fp \
--without-selinux || return 1
make || return 1
make install_root="$pkgdir" install || return 1
rm -f "$pkgdir/opt/etc/ld.so.cache" "$pkgdir/opt/etc/ld.so.conf" \
"$pkgdir/opt/etc/localtime"
install -dm755 ${pkgdir}/opt/etc/rc.d
install -dm755 ${pkgdir}/opt/sbin
install -dm755 ${pkgdir}/opt/lib/locale
install -Dm644 "$srcdir/opt/glibc-$pkgver/nscd/nscd.conf" \
"$pkgdir/opt/etc/nscd.conf"
install -Dm755 "$srcdir/nscd" "$pkgdir/opt/etc/rc.d/nscd"
install -Dm755 "$srcdir/locale-gen" "$pkgdir/opt/sbin/locale-gen"
sed -i -e 's/^\tserver-user/#\tserver-user/' \
"$pkgdir/opt/etc/nscd.conf" || return 1
# Create /etc/locale.gen
install -m644 "$srcdir/locale.gen.txt" "$pkgdir/opt/etc/locale.gen"
sed -i 's|/| |g' "$srcdir/libc/localedata/SUPPORTED"
sed -i 's|\\| |g' "$srcdir/libc/localedata/SUPPORTED"
sed -i 's|SUPPORTED-LOCALES=||' "$srcdir/libc/localedata/SUPPORTED"
cat "$srcdir/libc/localedata/SUPPORTED" >> "$pkgdir/opt/etc/locale.gen"
sed -i 's|^|#|g' "$pkgdir/opt/etc/locale.gen"
}
md5sums=('3daabbcd79f88866cdce4e7a93388459'
'f95368cff696baa854fd41ba69d70f3a'
'49e7f3fce28f6fb6345119ade3d982f8'
'76717f17e9edcc3808069715017a76dc'
'92cb4ae5ffda5ef9f62b2f4659a163ac')

View file

@ -1,5 +0,0 @@
post_upgrade() {
ldconfig -r .
init u
}

View file

@ -1,42 +0,0 @@
#!/bin/sh
set -e
LOCALEGEN=/opt/etc/locale.gen
LOCALES=/opt/share/i18n/locales
if [ -n "$POSIXLY_CORRECT" ]; then
unset POSIXLY_CORRECT
fi
[ -f $LOCALEGEN -a -s $LOCALEGEN ] || exit 0;
# Remove all old locale dir and locale-archive before generating new
# locale data.
rm -rf /opt/lib/locale/* || true
umask 022
is_entry_ok() {
if [ -n "$locale" -a -n "$charset" ] ; then
true
else
echo "error: Bad entry '$locale $charset'"
false
fi
}
echo "Generating locales..."
while read locale charset; do \
case $locale in \#*) continue;; "") continue;; esac; \
is_entry_ok || continue
echo -n " `echo $locale | sed 's/\([^.\@]*\).*/\1/'`"; \
echo -n ".$charset"; \
echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`; \
echo -n '...'; \
if [ -f $LOCALES/$locale ]; then input=$locale; else \
input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; fi; \
localedef -i $input -c -f $charset -A /opt/share/locale/locale.alias $locale; \
echo ' done'; \
done < $LOCALEGEN
echo "Generation complete."

View file

@ -1,23 +0,0 @@
# Configuration file for locale-gen
#
# lists of locales that are to be generated by the locale-gen command.
#
# Each line is of the form:
#
# <locale> <charset>
#
# where <locale> is one of the locales given in /opt/share/i18n/locales
# and <charset> is one of the character sets listed in /opt/share/i18n/charmaps
#
# Examples:
# en_US ISO-8859-1
# en_US.UTF-8 UTF-8
# de_DE ISO-8859-1
# de_DE@euro ISO-8859-15
#
# The locale-gen command will generate all the locales,
# placing them in /opt/lib/locale.
#
# A list of supported locales is included in this file.
# Uncomment the ones you need.
#

View file

@ -1,40 +0,0 @@
#!/bin/bash
. /opt/etc/rc.conf
. /opt/etc/rc.d/functions
PID=`pidof -o %PPID /opt/sbin/nscd`
case "$1" in
start)
stat_busy "Starting nscd"
# create necessary directories if they don't already exist
mkdir -p /opt/var/run/nscd /opt/var/db/nscd 2>/dev/null
# remove stale files
rm -f /opt/var/db/nscd/* /opt/var/run/nscd/* 2>/dev/null
[ -z "$PID" ] && /opt/sbin/nscd
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon nscd
stat_done
fi
;;
stop)
stat_busy "Stopping nscd"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon nscd
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
esac
exit 0

View file

@ -1,25 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=gmp
pkgver=4.2.4
pkgrel=1
pkgdesc="A free library for arbitrary precision arithmetic"
arch=(arm)
depends=('texinfo')
# depends=('gcc-libs' 'texinfo')
makedepends=('m4')
license=('LGPL3')
options=(!libtool)
source=(ftp://ftp.gnu.org/gnu/gmp/gmp-${pkgver}.tar.bz2)
url="http://gmplib.org/"
md5sums=('fc1e3b3a2a5038d4d74138d0b9cf8dbe')
build() {
cd "${srcdir}/gmp-${pkgver}"
./configure --prefix=/opt --enable-cxx --infodir=/opt/share/info || return 1
make || return 1
make check || return 1
make DESTDIR="${pkgdir}" install || return 1
}

View file

@ -1,15 +0,0 @@
--- grep-2.5.1a/src/grep.c.mem-exhausted 2006-11-22 14:49:35.000000000 +0000
+++ grep-2.5.1a/src/grep.c 2006-11-22 14:53:12.000000000 +0000
@@ -299,6 +299,12 @@
int cc = 1;
char *readbuf;
size_t readsize;
+ const size_t max_save = 200 * 1024 * 1024;
+
+ /* Limit the amount of saved data to 200Mb so we don't fail on
+ * large files. */
+ if (save > max_save)
+ save = max_save;
/* Offset from start of buffer to start of old stuff
that we want to save. */

View file

@ -1,36 +0,0 @@
--- grep-2.5.1a/src/grep.c.empty-pattern 2006-11-22 19:05:43.000000000 +0000
+++ grep-2.5.1a/src/grep.c 2006-11-22 19:22:04.000000000 +0000
@@ -1667,9 +1667,6 @@
out_invert ^= 1;
match_lines = match_words = 0;
}
- else
- /* Strip trailing newline. */
- --keycc;
}
else
if (optind < argc)
--- grep-2.5.1a/src/search.c.empty-pattern 2006-11-22 19:21:11.000000000 +0000
+++ grep-2.5.1a/src/search.c 2006-11-22 19:35:06.000000000 +0000
@@ -204,6 +204,10 @@
motif = sep;
} while (sep && total != 0);
+ /* Strip trailing newline. */
+ if (size && pattern[size - 1] == '\n')
+ size--;
+
/* In the match_words and match_lines cases, we use a different pattern
for the DFA matcher that will quickly throw out cases that won't work.
Then if DFA succeeds we do some hairy stuff using the regex matcher
@@ -288,6 +292,10 @@
motif = sep;
} while (sep && total != 0);
+ /* Strip trailing newline. */
+ if (size && pattern[size - 1] == '\n')
+ size--;
+
/* In the match_words and match_lines cases, we use a different pattern
for the DFA matcher that will quickly throw out cases that won't work.
Then if DFA succeeds we do some hairy stuff using the regex matcher

View file

@ -1,791 +0,0 @@
--- a/src/search.c.orig
+++ b/src/search.c
@@ -18,10 +18,15 @@
/* Written August 1992 by Mike Haertel. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
+#include <assert.h>
+
#include <sys/types.h>
#include "mbsupport.h"
@@ -43,6 +48,9 @@
#ifdef HAVE_LIBPCRE
# include <pcre.h>
#endif
+#ifdef HAVE_LANGINFO_CODESET
+# include <langinfo.h>
+#endif
#define NCHAR (UCHAR_MAX + 1)
@@ -68,6 +76,19 @@
error (2, 0, _("memory exhausted"));
}
+/* UTF-8 encoding allows some optimizations that we can't otherwise
+ assume in a multibyte encoding. */
+static int using_utf8;
+
+void
+check_utf8 (void)
+{
+#ifdef HAVE_LANGINFO_CODESET
+ if (strcmp (nl_langinfo (CODESET), "UTF-8") == 0)
+ using_utf8 = 1;
+#endif
+}
+
#ifndef FGREP_PROGRAM
/* DFA compiled regexp. */
static struct dfa dfa;
@@ -134,49 +155,6 @@
}
#endif /* !FGREP_PROGRAM */
-#ifdef MBS_SUPPORT
-/* This function allocate the array which correspond to "buf".
- Then this check multibyte string and mark on the positions which
- are not single byte character nor the first byte of a multibyte
- character. Caller must free the array. */
-static char*
-check_multibyte_string(char const *buf, size_t size)
-{
- char *mb_properties = xmalloc(size);
- mbstate_t cur_state;
- wchar_t wc;
- int i;
-
- memset(&cur_state, 0, sizeof(mbstate_t));
- memset(mb_properties, 0, sizeof(char)*size);
-
- for (i = 0; i < size ;)
- {
- size_t mbclen;
- mbclen = mbrtowc(&wc, buf + i, size - i, &cur_state);
-
- if (mbclen == (size_t) -1 || mbclen == (size_t) -2 || mbclen == 0)
- {
- /* An invalid sequence, or a truncated multibyte character.
- We treat it as a single byte character. */
- mbclen = 1;
- }
- else if (match_icase)
- {
- if (iswupper((wint_t)wc))
- {
- wc = towlower((wint_t)wc);
- wcrtomb(buf + i, wc, &cur_state);
- }
- }
- mb_properties[i] = mbclen;
- i += mbclen;
- }
-
- return mb_properties;
-}
-#endif /* MBS_SUPPORT */
-
#if defined(GREP_PROGRAM) || defined(EGREP_PROGRAM)
#ifdef EGREP_PROGRAM
COMPILE_FCT(Ecompile)
@@ -193,6 +171,7 @@
size_t total = size;
char const *motif = pattern;
+ check_utf8 ();
#if 0
if (match_icase)
syntax_bits |= RE_ICASE;
@@ -303,20 +282,9 @@ hunk6
struct kwsmatch kwsm;
size_t i, ret_val;
#ifdef MBS_SUPPORT
- char *mb_properties = NULL;
- if (MB_CUR_MAX > 1)
- {
- if (match_icase)
- {
- char *case_buf = xmalloc(size);
- memcpy(case_buf, buf, size);
- if (start_ptr)
- start_ptr = case_buf + (start_ptr - buf);
- buf = case_buf;
- }
- if (kwset)
- mb_properties = check_multibyte_string(buf, size);
- }
+ int mb_cur_max = MB_CUR_MAX;
+ mbstate_t mbs;
+ memset (&mbs, '\0', sizeof (mbstate_t));
#endif /* MBS_SUPPORT */
buflim = buf + size;
@@ -329,21 +282,63 @@ hunk6
if (kwset)
{
/* Find a possible match using the KWset matcher. */
- size_t offset = kwsexec (kwset, beg, buflim - beg, &kwsm);
+#ifdef MBS_SUPPORT
+ size_t bytes_left = 0;
+#endif /* MBS_SUPPORT */
+ size_t offset;
+#ifdef MBS_SUPPORT
+ /* kwsexec doesn't work with match_icase and multibyte input. */
+ if (match_icase && mb_cur_max > 1)
+ /* Avoid kwset */
+ offset = 0;
+ else
+#endif /* MBS_SUPPORT */
+ offset = kwsexec (kwset, beg, buflim - beg, &kwsm);
if (offset == (size_t) -1)
- goto failure;
+ return (size_t)-1;
+#ifdef MBS_SUPPORT
+ if (mb_cur_max > 1 && !using_utf8)
+ {
+ bytes_left = offset;
+ while (bytes_left)
+ {
+ size_t mlen = mbrlen (beg, bytes_left, &mbs);
+ if (mlen == (size_t) -1 || mlen == 0)
+ {
+ /* Incomplete character: treat as single-byte. */
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ beg++;
+ bytes_left--;
+ continue;
+ }
+
+ if (mlen == (size_t) -2)
+ /* Offset points inside multibyte character:
+ * no good. */
+ break;
+
+ beg += mlen;
+ bytes_left -= mlen;
+ }
+ }
+ else
+#endif /* MBS_SUPPORT */
beg += offset;
/* Narrow down to the line containing the candidate, and
run it through DFA. */
end = memchr(beg, eol, buflim - beg);
end++;
#ifdef MBS_SUPPORT
- if (MB_CUR_MAX > 1 && mb_properties[beg - buf] == 0)
+ if (mb_cur_max > 1 && bytes_left)
continue;
#endif
while (beg > buf && beg[-1] != eol)
--beg;
- if (kwsm.index < kwset_exact_matches)
+ if (
+#ifdef MBS_SUPPORT
+ !(match_icase && mb_cur_max > 1) &&
+#endif /* MBS_SUPPORT */
+ (kwsm.index < kwset_exact_matches))
goto success;
if (dfaexec (&dfa, beg, end - beg, &backref) == (size_t) -1)
continue;
@@ -351,13 +363,47 @@
else
{
/* No good fixed strings; start with DFA. */
+#ifdef MBS_SUPPORT
+ size_t bytes_left = 0;
+#endif /* MBS_SUPPORT */
size_t offset = dfaexec (&dfa, beg, buflim - beg, &backref);
if (offset == (size_t) -1)
break;
/* Narrow down to the line we've found. */
+#ifdef MBS_SUPPORT
+ if (mb_cur_max > 1 && !using_utf8)
+ {
+ bytes_left = offset;
+ while (bytes_left)
+ {
+ size_t mlen = mbrlen (beg, bytes_left, &mbs);
+ if (mlen == (size_t) -1 || mlen == 0)
+ {
+ /* Incomplete character: treat as single-byte. */
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ beg++;
+ bytes_left--;
+ continue;
+ }
+
+ if (mlen == (size_t) -2)
+ /* Offset points inside multibyte character:
+ * no good. */
+ break;
+
+ beg += mlen;
+ bytes_left -= mlen;
+ }
+ }
+ else
+#endif /* MBS_SUPPORT */
beg += offset;
end = memchr (beg, eol, buflim - beg);
end++;
+#ifdef MBS_SUPPORT
+ if (mb_cur_max > 1 && bytes_left)
+ continue;
+#endif /* MBS_SUPPORT */
while (beg > buf && beg[-1] != eol)
--beg;
}
@@ -475,24 +521,144 @@
*match_size = len;
ret_val = beg - buf;
out:
-#ifdef MBS_SUPPORT
- if (MB_CUR_MAX > 1)
- {
- if (match_icase)
- free((char*)buf);
- if (mb_properties)
- free(mb_properties);
- }
-#endif /* MBS_SUPPORT */
return ret_val;
}
#endif /* defined(GREP_PROGRAM) || defined(EGREP_PROGRAM) */
+#ifdef MBS_SUPPORT
+static int f_i_multibyte; /* whether we're using the new -Fi MB method */
+static struct
+{
+ wchar_t **patterns;
+ size_t count, maxlen;
+ unsigned char *match;
+} Fimb;
+#endif
+
#if defined(GREP_PROGRAM) || defined(FGREP_PROGRAM)
COMPILE_FCT(Fcompile)
{
+ int mb_cur_max = MB_CUR_MAX;
char const *beg, *lim, *err;
+ check_utf8 ();
+#ifdef MBS_SUPPORT
+ /* Support -F -i for UTF-8 input. */
+ if (match_icase && mb_cur_max > 1)
+ {
+ mbstate_t mbs;
+ wchar_t *wcpattern = xmalloc ((size + 1) * sizeof (wchar_t));
+ const char *patternend = pattern;
+ size_t wcsize;
+ kwset_t fimb_kwset = NULL;
+ char *starts = NULL;
+ wchar_t *wcbeg, *wclim;
+ size_t allocated = 0;
+
+ memset (&mbs, '\0', sizeof (mbs));
+# ifdef __GNU_LIBRARY__
+ wcsize = mbsnrtowcs (wcpattern, &patternend, size, size, &mbs);
+ if (patternend != pattern + size)
+ wcsize = (size_t) -1;
+# else
+ {
+ char *patterncopy = xmalloc (size + 1);
+
+ memcpy (patterncopy, pattern, size);
+ patterncopy[size] = '\0';
+ patternend = patterncopy;
+ wcsize = mbsrtowcs (wcpattern, &patternend, size, &mbs);
+ if (patternend != patterncopy + size)
+ wcsize = (size_t) -1;
+ free (patterncopy);
+ }
+# endif
+ if (wcsize + 2 <= 2)
+ {
+fimb_fail:
+ free (wcpattern);
+ free (starts);
+ if (fimb_kwset)
+ kwsfree (fimb_kwset);
+ free (Fimb.patterns);
+ Fimb.patterns = NULL;
+ }
+ else
+ {
+ if (!(fimb_kwset = kwsalloc (NULL)))
+ error (2, 0, _("memory exhausted"));
+
+ starts = xmalloc (mb_cur_max * 3);
+ wcbeg = wcpattern;
+ do
+ {
+ int i;
+ size_t wclen;
+
+ if (Fimb.count >= allocated)
+ {
+ if (allocated == 0)
+ allocated = 128;
+ else
+ allocated *= 2;
+ Fimb.patterns = xrealloc (Fimb.patterns,
+ sizeof (wchar_t *) * allocated);
+ }
+ Fimb.patterns[Fimb.count++] = wcbeg;
+ for (wclim = wcbeg;
+ wclim < wcpattern + wcsize && *wclim != L'\n'; ++wclim)
+ *wclim = towlower (*wclim);
+ *wclim = L'\0';
+ wclen = wclim - wcbeg;
+ if (wclen > Fimb.maxlen)
+ Fimb.maxlen = wclen;
+ if (wclen > 3)
+ wclen = 3;
+ if (wclen == 0)
+ {
+ if ((err = kwsincr (fimb_kwset, "", 0)) != 0)
+ error (2, 0, err);
+ }
+ else
+ for (i = 0; i < (1 << wclen); i++)
+ {
+ char *p = starts;
+ int j, k;
+
+ for (j = 0; j < wclen; ++j)
+ {
+ wchar_t wc = wcbeg[j];
+ if (i & (1 << j))
+ {
+ wc = towupper (wc);
+ if (wc == wcbeg[j])
+ continue;
+ }
+ k = wctomb (p, wc);
+ if (k <= 0)
+ goto fimb_fail;
+ p += k;
+ }
+ if ((err = kwsincr (fimb_kwset, starts, p - starts)) != 0)
+ error (2, 0, err);
+ }
+ if (wclim < wcpattern + wcsize)
+ ++wclim;
+ wcbeg = wclim;
+ }
+ while (wcbeg < wcpattern + wcsize);
+ f_i_multibyte = 1;
+ kwset = fimb_kwset;
+ free (starts);
+ Fimb.match = xmalloc (Fimb.count);
+ if ((err = kwsprep (kwset)) != 0)
+ error (2, 0, err);
+ return;
+ }
+ }
+#endif /* MBS_SUPPORT */
+
+
kwsinit ();
beg = pattern;
do
@@ -511,6 +677,76 @@
error (2, 0, err);
}
+#ifdef MBS_SUPPORT
+static int
+Fimbexec (const char *buf, size_t size, size_t *plen, int exact)
+{
+ size_t len, letter, i;
+ int ret = -1;
+ mbstate_t mbs;
+ wchar_t wc;
+ int patterns_left;
+
+ assert (match_icase && f_i_multibyte == 1);
+ assert (MB_CUR_MAX > 1);
+
+ memset (&mbs, '\0', sizeof (mbs));
+ memset (Fimb.match, '\1', Fimb.count);
+ letter = len = 0;
+ patterns_left = 1;
+ while (patterns_left && len <= size)
+ {
+ size_t c;
+
+ patterns_left = 0;
+ if (len < size)
+ {
+ c = mbrtowc (&wc, buf + len, size - len, &mbs);
+ if (c + 2 <= 2)
+ return ret;
+
+ wc = towlower (wc);
+ }
+ else
+ {
+ c = 1;
+ wc = L'\0';
+ }
+
+ for (i = 0; i < Fimb.count; i++)
+ {
+ if (Fimb.match[i])
+ {
+ if (Fimb.patterns[i][letter] == L'\0')
+ {
+ /* Found a match. */
+ *plen = len;
+ if (!exact && !match_words)
+ return 0;
+ else
+ {
+ /* For -w or exact look for longest match. */
+ ret = 0;
+ Fimb.match[i] = '\0';
+ continue;
+ }
+ }
+
+ if (Fimb.patterns[i][letter] == wc)
+ patterns_left = 1;
+ else
+ Fimb.match[i] = '\0';
+ }
+ }
+
+ len += c;
+ letter++;
+ }
+
+ return ret;
+}
+#endif /* MBS_SUPPORT */
+
EXECUTE_FCT(Fexecute)
{
register char const *beg, *try, *end;
@@ -519,69 +755,256 @@
struct kwsmatch kwsmatch;
size_t ret_val;
#ifdef MBS_SUPPORT
- char *mb_properties = NULL;
- if (MB_CUR_MAX > 1)
- {
- if (match_icase)
- {
- char *case_buf = xmalloc(size);
- memcpy(case_buf, buf, size);
- if (start_ptr)
- start_ptr = case_buf + (start_ptr - buf);
- buf = case_buf;
- }
- mb_properties = check_multibyte_string(buf, size);
- }
+ int mb_cur_max = MB_CUR_MAX;
+ mbstate_t mbs;
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ const char *last_char = NULL;
#endif /* MBS_SUPPORT */
for (beg = start_ptr ? start_ptr : buf; beg <= buf + size; beg++)
{
size_t offset = kwsexec (kwset, beg, buf + size - beg, &kwsmatch);
if (offset == (size_t) -1)
- goto failure;
+ return offset;
#ifdef MBS_SUPPORT
- if (MB_CUR_MAX > 1 && mb_properties[offset+beg-buf] == 0)
- continue; /* It is a part of multibyte character. */
+ if (mb_cur_max > 1 && !using_utf8)
+ {
+ size_t bytes_left = offset;
+ while (bytes_left)
+ {
+ size_t mlen = mbrlen (beg, bytes_left, &mbs);
+
+ last_char = beg;
+ if (mlen == (size_t) -1 || mlen == 0)
+ {
+ /* Incomplete character: treat as single-byte. */
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ beg++;
+ bytes_left--;
+ continue;
+ }
+
+ if (mlen == (size_t) -2)
+ /* Offset points inside multibyte character: no good. */
+ break;
+
+ beg += mlen;
+ bytes_left -= mlen;
+ }
+
+ if (bytes_left)
+ continue;
+ }
+ else
#endif /* MBS_SUPPORT */
beg += offset;
+#ifdef MBS_SUPPORT
+ /* For f_i_multibyte, the string at beg now matches first 3 chars of
+ one of the search strings (less if there are shorter search strings).
+ See if this is a real match. */
+ if (f_i_multibyte
+ && Fimbexec (beg, buf + size - beg, &kwsmatch.size[0], start_ptr == NULL))
+ goto next_char;
+#endif /* MBS_SUPPORT */
len = kwsmatch.size[0];
if (start_ptr && !match_words)
goto success_in_beg_and_len;
if (match_lines)
{
if (beg > buf && beg[-1] != eol)
- continue;
+ goto next_char;
if (beg + len < buf + size && beg[len] != eol)
- continue;
+ goto next_char;
goto success;
}
else if (match_words)
- for (try = beg; len; )
- {
- if (try > buf && WCHAR((unsigned char) try[-1]))
- break;
- if (try + len < buf + size && WCHAR((unsigned char) try[len]))
- {
- offset = kwsexec (kwset, beg, --len, &kwsmatch);
- if (offset == (size_t) -1)
- break;
- try = beg + offset;
- len = kwsmatch.size[0];
- }
- else if (!start_ptr)
- goto success;
- else
- goto success_in_beg_and_len;
- } /* for (try) */
- else
- goto success;
- } /* for (beg in buf) */
+ {
+ while (len)
+ {
+ int word_match = 0;
+ if (beg > buf)
+ {
+#ifdef MBS_SUPPORT
+ if (mb_cur_max > 1)
+ {
+ const char *s;
+ int mr;
+ wchar_t pwc;
+
+ if (using_utf8)
+ {
+ s = beg - 1;
+ while (s > buf
+ && (unsigned char) *s >= 0x80
+ && (unsigned char) *s <= 0xbf)
+ --s;
+ }
+ else
+ s = last_char;
+ mr = mbtowc (&pwc, s, beg - s);
+ if (mr <= 0)
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ else if ((iswalnum (pwc) || pwc == L'_')
+ && mr == (int) (beg - s))
+ goto next_char;
+ }
+ else
+#endif /* MBS_SUPPORT */
+ if (WCHAR ((unsigned char) beg[-1]))
+ goto next_char;
+ }
+#ifdef MBS_SUPPORT
+ if (mb_cur_max > 1)
+ {
+ wchar_t nwc;
+ int mr;
- failure:
- ret_val = -1;
- goto out;
+ mr = mbtowc (&nwc, beg + len, buf + size - beg - len);
+ if (mr <= 0)
+ {
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ word_match = 1;
+ }
+ else if (!iswalnum (nwc) && nwc != L'_')
+ word_match = 1;
+ }
+ else
+#endif /* MBS_SUPPORT */
+ if (beg + len >= buf + size || !WCHAR ((unsigned char) beg[len]))
+ word_match = 1;
+ if (word_match)
+ {
+ if (start_ptr == NULL)
+ /* Returns the whole line now we know there's a word match. */
+ goto success;
+ else {
+ /* Returns just this word match. */
+ *match_size = len;
+ return beg - buf;
+ }
+ }
+ if (len > 0)
+ {
+ /* Try a shorter length anchored at the same place. */
+ --len;
+ offset = kwsexec (kwset, beg, len, &kwsmatch);
+
+ if (offset == -1)
+ goto next_char; /* Try a different anchor. */
+#ifdef MBS_SUPPORT
+
+ if (mb_cur_max > 1 && !using_utf8)
+ {
+ size_t bytes_left = offset;
+ while (bytes_left)
+ {
+ size_t mlen = mbrlen (beg, bytes_left, &mbs);
+
+ last_char = beg;
+ if (mlen == (size_t) -1 || mlen == 0)
+ {
+ /* Incomplete character: treat as single-byte. */
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ beg++;
+ bytes_left--;
+ continue;
+ }
+
+ if (mlen == (size_t) -2)
+ {
+ /* Offset points inside multibyte character:
+ * no good. */
+ break;
+ }
+
+ beg += mlen;
+ bytes_left -= mlen;
+ }
+
+ if (bytes_left)
+ {
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ goto next_char; /* Try a different anchor. */
+ }
+ }
+ else
+#endif /* MBS_SUPPORT */
+ beg += offset;
+#ifdef MBS_SUPPORT
+ /* The string at beg now matches first 3 chars of one of
+ the search strings (less if there are shorter search
+ strings). See if this is a real match. */
+ if (f_i_multibyte
+ && Fimbexec (beg, len - offset, &kwsmatch.size[0],
+ start_ptr == NULL))
+ goto next_char;
+#endif /* MBS_SUPPORT */
+ len = kwsmatch.size[0];
+ }
+ }
+ }
+ else
+ goto success;
+next_char:;
+#ifdef MBS_SUPPORT
+ /* Advance to next character. For MB_CUR_MAX == 1 case this is handled
+ by ++beg above. */
+ if (mb_cur_max > 1)
+ {
+ if (using_utf8)
+ {
+ unsigned char c = *beg;
+ if (c >= 0xc2)
+ {
+ if (c < 0xe0)
+ ++beg;
+ else if (c < 0xf0)
+ beg += 2;
+ else if (c < 0xf8)
+ beg += 3;
+ else if (c < 0xfc)
+ beg += 4;
+ else if (c < 0xfe)
+ beg += 5;
+ }
+ }
+ else
+ {
+ size_t l = mbrlen (beg, buf + size - beg, &mbs);
+
+ last_char = beg;
+ if (l + 2 >= 2)
+ beg += l - 1;
+ else
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ }
+ }
+#endif /* MBS_SUPPORT */
+ }
+
+ return -1;
success:
+#ifdef MBS_SUPPORT
+ if (mb_cur_max > 1 && !using_utf8)
+ {
+ end = beg + len;
+ while (end < buf + size)
+ {
+ size_t mlen = mbrlen (end, buf + size - end, &mbs);
+ if (mlen == (size_t) -1 || mlen == (size_t) -2 || mlen == 0)
+ {
+ memset (&mbs, '\0', sizeof (mbstate_t));
+ mlen = 1;
+ }
+ if (mlen == 1 && *end == eol)
+ break;
+
+ end += mlen;
+ }
+ }
+ else
+ #endif /* MBS_SUPPORT */
end = memchr (beg + len, eol, (buf + size) - (beg + len));
end++;
while (buf < beg && beg[-1] != eol)
@@ -591,15 +1016,6 @@
*match_size = len;
ret_val = beg - buf;
out:
-#ifdef MBS_SUPPORT
- if (MB_CUR_MAX > 1)
- {
- if (match_icase)
- free((char*)buf);
- if (mb_properties)
- free(mb_properties);
- }
-#endif /* MBS_SUPPORT */
return ret_val;
}
#endif /* defined(GREP_PROGRAM) || defined(FGREP_PROGRAM) */

View file

@ -1,32 +0,0 @@
# Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=grep
pkgver=2.5.4
pkgrel=1
pkgdesc="A string search utility"
arch=(arm)
license=('GPL3')
url="http://www.gnu.org/software/grep/grep.html"
groups=('base')
depends=('glibc' 'pcre')
makedepends=('texinfo>=4.8a')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
14-mem-exhausted.patch
15-empty-pattern.patch
64-egf-speedup.patch)
md5sums=('92258031d98d4f12dfc6a6d24057e672'
'bc937da562d468f32c1fef2894610283'
'f421415b679ebcc9152797caaa0b1d51'
'efbe9d49d71a74092db6b86224b09fdd')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
for i in ../*.patch; do
patch -Np1 -i ../$i
done
./configure --prefix=/opt --bindir=/opt/bin
make || return 1
make DESTDIR=${pkgdir} install || return 1
}

View file

@ -1,29 +0,0 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
pkgname=gzip
pkgver=1.3.12
pkgrel=1
pkgdesc="GNU compression utility"
arch=(arm)
url="http://www.gzip.org"
license=('GPL')
groups=('base')
depends=()
makedepends=('patch')
source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz
gzip-fixutimens.patch)
md5sums=('b5bac2d21840ae077e0217bc5e4845b1'
'cb592761476921018386031d91625153')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -Np1 -i ${startdir}/src/gzip-fixutimens.patch || return 1
./configure --prefix=/opt
make || return 1
mkdir -p $startdir/pkg/opt/bin
make prefix=$startdir/pkg/opt install
cd $startdir/pkg/opt/bin
ln -sf $pkgname compress
}

View file

@ -1,36 +0,0 @@
--- gzip-1.3.12.orig/gzip.c
+++ gzip-1.3.12/gzip.c
@@ -1637,7 +1642,7 @@
}
}
- if (futimens (ofd, ofname, timespec) != 0)
+ if (gz_futimens (ofd, ofname, timespec) != 0)
{
int e = errno;
WARN ((stderr, "%s: ", program_name));
--- gzip-1.3.12.orig/lib/utimens.h
+++ gzip-1.3.12/lib/utimens.h
@@ -1,3 +1,3 @@
#include <time.h>
-int futimens (int, char const *, struct timespec const [2]);
+int gz_futimens (int, char const *, struct timespec const [2]);
int utimens (char const *, struct timespec const [2]);
--- gzip-1.3.12.orig/lib/utimens.c
+++ gzip-1.3.12/lib/utimens.c
@@ -75,7 +75,7 @@
Return 0 on success, -1 (setting errno) on failure. */
int
-futimens (int fd ATTRIBUTE_UNUSED,
+gz_futimens (int fd ATTRIBUTE_UNUSED,
char const *file, struct timespec const timespec[2])
{
/* Some Linux-based NFS clients are buggy, and mishandle time stamps
@@ -185,5 +185,5 @@
int
utimens (char const *file, struct timespec const timespec[2])
{
- return futimens (-1, file, timespec);
+ return gz_futimens (-1, file, timespec);
}

View file

@ -1,10 +0,0 @@
--- cf/krb-readline.m4 2005-06-16 18:28:32.000000000 +0200
+++ cf/krb-readline.m4 2005-06-27 23:17:06.000000000 +0200
@@ -6,7 +6,6 @@
dnl el_init
AC_DEFUN([KRB_READLINE],[
-AC_FIND_FUNC_NO_LIBS(el_init, edit, [], [], [$LIB_tgetent])
if test "$ac_cv_func_el_init" = yes ; then
AC_CACHE_CHECK(for four argument el_init, ac_cv_func_el_init_four,[
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>

View file

@ -1,12 +0,0 @@
--- lib/editline/Makefile.am 2005-06-16 18:28:44.000000000 +0200
+++ lib/editline/Makefile.am 2005-06-27 23:21:02.000000000 +0200
@@ -41,6 +41,9 @@
EXTRA_DIST = $(man_MANS)
+$(libeditline_la_OBJECTS): %.lo: %.c
+ $(LTCOMPILE) -fPIC -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
snprintf.c:
$(LN_S) $(srcdir)/../roken/snprintf.c .
strdup.c:

View file

@ -1,22 +0,0 @@
--- appl/kx/rxtelnet.in 2005-06-16 18:29:10.000000000 +0200
+++ appl/kx/rxtelnet.in 2005-06-27 23:21:34.000000000 +0200
@@ -2,7 +2,7 @@
# $Id: rxtelnet.in,v 1.31 2004/03/07 17:22:06 lha Exp $
#
usage="Usage: $0 [-l username] [-k] [-fF] [-t args_to_telnet] [-x args_to_xterm] [-K args_to_kx] [-w term_emulator] [-b telnet_binary] [-n] [-v] [-h | --help] [--version] host [port]"
-binary=telnet
+binary=ktelnet
term=
kx_args=-P
while true
--- appl/kx/rxterm.in 2005-06-16 18:29:10.000000000 +0200
+++ appl/kx/rxterm.in 2005-06-27 23:21:55.000000000 +0200
@@ -2,7 +2,7 @@
# $Id: rxterm.in,v 1.23 2002/03/18 17:37:34 joda Exp $
#
usage="Usage: $0 [-l username] [-k] [-f] [-r rsh_args] [-x xterm_args] [-K kx_args] [-w term_emulator] [-b rsh_binary][-v] [-h | --help] [--version] host"
-binary=rsh
+binary=krsh
term=xterm
while true
do

View file

@ -1,20 +0,0 @@
--- appl/su/Makefile.am 2005-06-16 18:27:46.000000000 +0200
+++ appl/su/Makefile.am 2005-06-27 23:25:21.000000000 +0200
@@ -7,6 +7,7 @@
bin_PROGRAMS = su
bin_SUIDS = su
su_SOURCES = su.c supaths.h
+su_LDFLAGS = -Wl,-z,now
man_MANS = su.1
LDADD = $(LIB_kafs) \
--- appl/otp/Makefile.am 2005-06-16 18:28:46.000000000 +0200
+++ appl/otp/Makefile.am 2005-06-27 23:25:40.000000000 +0200
@@ -8,6 +8,7 @@
bin_SUIDS = otp
otp_SOURCES = otp.c otp_locl.h
otpprint_SOURCES = otpprint.c otp_locl.h
+otp_LDFLAGS = -Wl,-z,now
man_MANS = otp.1 otpprint.1

View file

@ -1,124 +0,0 @@
Binary files heimdal-0.7-old/cf/.find-func-no-libs2.m4.swp and heimdal-0.7/cf/.find-func-no-libs2.m4.swp differ
Index: heimdal/cf/db.m4
===================================================================
--- heimdal.orig/cf/db.m4
+++ heimdal/cf/db.m4
@@ -18,24 +18,13 @@ db_type=unknown
if test "$enable_berkeley_db" != no; then
- AC_CHECK_HEADERS([ \
- db4/db.h \
- db3/db.h \
- db.h \
- db_185.h \
- ])
+ AC_CHECK_HEADERS([db.h])
dnl db_create is used by db3 and db4
- AC_FIND_FUNC_NO_LIBS(db_create, db4 db3 db, [
+ AC_FIND_FUNC_NO_LIBS(db_create, db, [
#include <stdio.h>
- #ifdef HAVE_DB4_DB_H
- #include <db4/db.h>
- #elif defined(HAVE_DB3_DB_H)
- #include <db3/db.h>
- #else
#include <db.h>
- #endif
],[NULL, NULL, 0])
if test "$ac_cv_func_db_create" = "yes"; then
@@ -50,17 +39,9 @@ dnl db_create is used by db3 and db4
dnl dbopen is used by db1/db2
- AC_FIND_FUNC_NO_LIBS(dbopen, db2 db, [
+ AC_FIND_FUNC_NO_LIBS(dbopen, db, [
#include <stdio.h>
- #if defined(HAVE_DB2_DB_H)
- #include <db2/db.h>
- #elif defined(HAVE_DB_185_H)
- #include <db_185.h>
- #elif defined(HAVE_DB_H)
#include <db.h>
- #else
- #error no db.h
- #endif
],[NULL, 0, 0, 0, NULL])
if test "$ac_cv_func_dbopen" = "yes"; then
Index: heimdal/lib/hdb/db.c
===================================================================
--- heimdal.orig/lib/hdb/db.c
+++ heimdal/lib/hdb/db.c
@@ -37,11 +37,7 @@ RCSID("$Id: db.c 20215 2007-02-09 21:59:
#if HAVE_DB1
-#if defined(HAVE_DB_185_H)
-#include <db_185.h>
-#elif defined(HAVE_DB_H)
#include <db.h>
-#endif
static krb5_error_code
DB_close(krb5_context context, HDB *db)
Index: heimdal/lib/hdb/db3.c
===================================================================
--- heimdal.orig/lib/hdb/db3.c
+++ heimdal/lib/hdb/db3.c
@@ -37,13 +37,7 @@ RCSID("$Id: db3.c 21610 2007-07-17 07:10
#if HAVE_DB3
-#ifdef HAVE_DB4_DB_H
-#include <db4/db.h>
-#elif defined(HAVE_DB3_DB_H)
-#include <db3/db.h>
-#else
#include <db.h>
-#endif
static krb5_error_code
DB_close(krb5_context context, HDB *db)
Index: heimdal/lib/roken/getcap.c
===================================================================
--- heimdal.orig/lib/roken/getcap.c
+++ heimdal/lib/roken/getcap.c
@@ -38,11 +38,13 @@
#include "roken.h"
RCSID("$Id: getcap.c 16561 2006-01-13 14:25:32Z lha $");
+#if defined(HAVE_DBOPEN) && defined(HAVE_DB_H)
+#define USE_DB
+#endif
+
#include <sys/types.h>
#include <ctype.h>
-#if defined(HAVE_DB_185_H)
-#include <db_185.h>
-#elif defined(HAVE_DB_H)
+#ifdef USE_DB
#include <db.h>
#endif
#include <errno.h>
Index: heimdal/lib/roken/ndbm_wrap.c
===================================================================
--- heimdal.orig/lib/roken/ndbm_wrap.c
+++ heimdal/lib/roken/ndbm_wrap.c
@@ -37,13 +37,7 @@ RCSID("$Id: ndbm_wrap.c 21634 2007-07-17
#endif
#include "ndbm_wrap.h"
-#if defined(HAVE_DB4_DB_H)
-#include <db4/db.h>
-#elif defined(HAVE_DB3_DB_H)
-#include <db3/db.h>
-#else
#include <db.h>
-#endif
#include <stdio.h>
#include <stdlib.h>

View file

@ -1,11 +0,0 @@
--- heimdal-0.7.1/cf/pthreads.m4.old 2005-09-09 12:12:28.000000000 +0000
+++ heimdal-0.7.1/cf/pthreads.m4 2005-09-17 22:23:23.000000000 +0000
@@ -32,7 +32,7 @@
2.*)
native_pthread_support=yes
PTHREADS_CFLAGS=-pthread
- PTHREADS_LIBS=-pthread
+ PTHREADS_LIBS=-lpthread
;;
esac
;;

View file

@ -1,50 +0,0 @@
--- appl/rcp/rcp.c.old 2006-05-03 13:31:59.398493625 +0200
+++ appl/rcp/rcp.c 2006-05-03 13:32:04.494485981 +0200
@@ -34,7 +34,7 @@
#include "rcp_locl.h"
#include <getarg.h>
-#define RSH_PROGRAM "rsh"
+#define RSH_PROGRAM "krsh"
struct passwd *pwd;
uid_t userid;
--- appl/rcp/rcp_locl.h.old 2006-05-03 02:30:31.602025409 +0200
+++ appl/rcp/rcp_locl.h 2006-05-03 02:30:35.886018983 +0200
@@ -64,4 +64,4 @@
#define _PATH_CP "/bin/cp"
#endif
#undef _PATH_RSH
-#define _PATH_RSH BINDIR "/rsh"
+#define _PATH_RSH BINDIR "/krsh"
--- appl/telnet/telnetd/telnetd.h.old 2006-05-03 02:23:14.582680939 +0200
+++ appl/telnet/telnetd/telnetd.h 2006-05-03 02:23:23.746667193 +0200
@@ -192,7 +192,7 @@
#endif
#undef _PATH_LOGIN
-#define _PATH_LOGIN BINDIR "/login"
+#define _PATH_LOGIN BINDIR "/klogin"
/* fallbacks */
--- appl/login/shadow.c.old 2006-05-05 06:31:29.517138115 +0200
+++ appl/login/shadow.c 2006-05-05 06:32:26.433052741 +0200
@@ -38,7 +38,7 @@
#ifdef HAVE_SHADOW_H
#ifndef _PATH_CHPASS
-#define _PATH_CHPASS "/usr/bin/passwd"
+#define _PATH_CHPASS "/usr/bin/kpasswd"
#endif
static int
@@ -52,7 +52,7 @@
printf("fork /bin/passwd");
exit(1);
case 0:
- execlp(_PATH_CHPASS, "passwd", who->pw_name, (char *) 0);
+ execlp(_PATH_CHPASS, "kpasswd", who->pw_name, (char *) 0);
exit(1);
default:
waitpid(pid, &status, 0);

View file

@ -1,22 +0,0 @@
--- lib/roken/Makefile.am.old 2007-11-05 19:42:53.000000000 +0100
+++ lib/roken/Makefile.am 2007-11-05 19:43:12.000000000 +0100
@@ -107,7 +107,7 @@
ifaddrs.hin \
vis.hin
-libroken_la_LIBADD = @LTLIBOBJS@
+libroken_la_LIBADD = @LTLIBOBJS@ $(LIB_crypt)
$(LTLIBOBJS) $(libroken_la_OBJECTS): roken.h $(XHEADERS)
--- lib/editline/Makefile.am.old 2007-11-05 19:46:08.000000000 +0100
+++ lib/editline/Makefile.am 2007-11-05 20:06:54.000000000 +0100
@@ -36,6 +36,8 @@
unix.h \
$(EXTRA_SOURCE)
+libeditline_la_LIBADD = $(LIB_tgetent)
+
EXTRA_SOURCE = $(ES)
libel_compat_la_SOURCES = edit_compat.c edit_compat.h

View file

@ -1,125 +0,0 @@
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
pkgname=heimdal
pkgver=1.2.1
pkgrel=4
pkgdesc="Implementation of Kerberos V5 libraries"
arch=('arm')
url="http://www.h5l.org/"
license=('custom')
depends=('db>=4.7' 'openssl' 'e2fsprogs' 'sqlite3')
backup=(opt/etc/krb5.conf)
options=('!libtool' '!emptydirs')
source=(http://www.h5l.org/dist/src/${pkgname}-${pkgver}.tar.gz
001_all_heimdal-no_libedit.patch
002_all_heimal-fPIC.patch
003_all_heimdal-rxapps.patch
005_all_heimdal-suid_fix.patch
012_all_heimdal-berkdb.patch
013_all_heimdal-pthread-lib.patch
014_all_heimdal-path.patch
022_all_heimdal-as-needed.patch
heimdal-system_sqlite.patch
heimdal-r23235-kb5-libwind_la.patch
heimdal-r23238-kb5_locl_h-wind_h.patch
heimdal-kdc.rc
kadmind.rc
kpasswd.rc)
md5sums=('6e5028077e2a6b101a4a72801ba71b9e'
'98e28f11f906c967aac22d6184102c9e'
'6d5571bdedba2e2423b90bccdbac2c0a'
'2feec3924ee5230b54175b4d4000c872'
'45aeb207f360f9f4e9e0fabc8bfeecbc'
'56f5d10d0ec40f2fda82ef144ffac1e0'
'1b8665b771c4eb6b56ea8582c96e56e3'
'8208ae8c0b6ff5ab4f64af1693e9e396'
'd7649e078c87d2ca997080f0deb527c0'
'949a389ebe7652861b2e178a7e0f1ed9'
'072f6b2550693adb30117394b1dd354e'
'7b4537b0e8bde95214211091e55eacf5'
'776d599359946c10ae5e434463cd66c1'
'64363cd23086bdd7c02b81963831f014'
'72c9f384734e787a6efc6fd25348cc3b')
build() {
[ -e /opt/lib/libasn1.so ] && echo "## remove old heimdal pkg first ##" && return 1
cd ${srcdir}/heimdal-${pkgver}
patch -Np0 -i ${srcdir}/001_all_heimdal-no_libedit.patch || return 1
patch -Np0 -i ${srcdir}/002_all_heimal-fPIC.patch || return 1
patch -Np0 -i ${srcdir}/003_all_heimdal-rxapps.patch || return 1
patch -Np0 -i ${srcdir}/005_all_heimdal-suid_fix.patch || return 1
patch -Np1 -i ${srcdir}/012_all_heimdal-berkdb.patch || return 1
patch -Np1 -i ${srcdir}/013_all_heimdal-pthread-lib.patch || return 1
patch -Np0 -i ${srcdir}/014_all_heimdal-path.patch || return 1
patch -Np0 -i ${srcdir}/022_all_heimdal-as-needed.patch || return 1
patch -Np0 -i ${srcdir}/heimdal-system_sqlite.patch || return 1
patch -Np2 -i ${srcdir}/heimdal-r23235-kb5-libwind_la.patch || return 1
patch -Np2 -i ${srcdir}/heimdal-r23238-kb5_locl_h-wind_h.patch || return 1
sed -i -e 's|opt/var/heimdal|opt/var/lib/heimdal|g' configure.in \
doc/setup.texi doc/heimdal.info kadmin/kadmind.8 kdc/kdc.8 \
lib/hdb/hdb.h lib/krb5/krb5.conf.5 lib/krb5/krb5.conf.cat5
libtoolize --force || return 1
aclocal -I cf || return 1
autoconf || return 1
automake || return 1
export LDFLAGS="${LDFLAGS} -Wl,--as-needed"
./configure --prefix=/opt --enable-shared=yes --without-x \
--sysconfdir=/opt/etc --mandir=/opt/share/man \
--datadir=/opt/var/lib/heimdal \
--localstatedir=/opt/var/lib/heimdal \
--with-openssl=/opt \
--with-readline-lib=/opt/lib \
--with-readline-include=/opt/include/readline \
--libexecdir=/opt/sbin
make || return 1
make DESTDIR=${pkgdir} install || return 1
# Remove editline, we use libreadline. This library is broken anyways, so nobody misses it after removal
rm ${pkgdir}/opt/lib/libeditline.* || return 1
rm ${pkgdir}/opt/include/editline.h || return 1
rm ${pkgdir}/opt/share/man/man3/editline.* || return 1
# Rename daemons and their manpages
for i in telnetd ftpd rshd; do
mv ${pkgdir}/opt/share/man/man8/${i}.8 ${pkgdir}/opt/share/man/man8/k${i}.8 || return 1
mv ${pkgdir}/opt/sbin/${i} ${pkgdir}/opt/sbin/k${i} || return 1
done
# Rename clients and their manpages
for i in rcp rsh telnet ftp su login; do
if [ -f ${pkgdir}/opt/share/man/man1/${i}.1 ]; then
mv ${pkgdir}/opt/share/man/man1/${i}.1 ${pkgdir}/opt/share/man/man1/k${i}.1 || return 1
fi
mv ${pkgdir}/opt/bin/${i} ${pkgdir}/opt/bin/k${i} || return 1
done
rm -rf ${pkgdir}/opt/share/man/cat{1,3,5,8}
# Arch could be a KDC too
install -d ${pkgdir}/opt/etc/rc.d
install -m644 ${srcdir}/heimdal-${pkgver}/krb5.conf ${pkgdir}/opt/etc/ || return 1
for i in heimdal-kdc kadmind kpasswd; do
install -m755 ${srcdir}/${i}.rc ${pkgdir}/opt/etc/rc.d/${i} || return 1
done
# Remove conflicts
rm ${pkgdir}/opt/share/man/man5/ftpusers.5* # man-pages
rm ${pkgdir}/opt/share/info/dir
rm ${pkgdir}/opt/bin/compile_et
rm ${pkgdir}/opt/lib/libcom_err*
# Compress info pages
for page in heimdal hx509; do
gzip -9 ${pkgdir}/opt/share/info/${page}.info
done
# Install the license
install -d ${pkgdir}/opt/share/licenses/${pkgname}
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/LICENSE \
${pkgdir}/opt/share/licenses/${pkgname}/ || return 1
}

View file

@ -1,40 +0,0 @@
#!/bin/bash
# general config
. /opt/etc/rc.conf
. /opt/etc/rc.d/functions
PID=`pidof -o %PPID /opt/sbin/kdc`
case "$1" in
start)
stat_busy "Starting heimdal kdc"
if [ -z "$PID" ]; then
/opt/sbin/kdc --detach
fi
if [ ! -z "$PID" -o $? -gt 0 ]; then
stat_fail
else
add_daemon heimdal-kdc
stat_done
fi
;;
stop)
stat_busy "Stopping heimdal kdc"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon heimdal-kdc
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac
exit 0

View file

@ -1,10 +0,0 @@
--- trunk/heimdal/lib/krb5/Makefile.am 2008-06-01 22:25:41 UTC (rev 23234)
+++ trunk/heimdal/lib/krb5/Makefile.am 2008-06-01 22:25:53 UTC (rev 23235)
@@ -57,6 +57,7 @@
$(LIB_com_err) \
$(LIB_hcrypto) \
$(top_builddir)/lib/asn1/libasn1.la \
+ ../wind/libwind.la \
$(LIBADD_roken) \
$(LIB_door_create) \
$(LIB_dlopen)

View file

@ -1,11 +0,0 @@
--- trunk/heimdal/lib/krb5/krb5_locl.h 2008-06-01 22:26:24 UTC (rev 23237)
+++ trunk/heimdal/lib/krb5/krb5_locl.h 2008-06-01 22:26:43 UTC (rev 23238)
@@ -131,6 +131,8 @@
#include <parse_time.h>
#include <base64.h>
+#include <wind.h>
+
#include "crypto-headers.h"

View file

@ -1,56 +0,0 @@
diff -Naur tmp-old/configure.in tmp-new/configure.in
--- configure.in 2008-06-08 08:06:38.000000000 +0000
+++ configure.in 2008-06-08 08:15:29.000000000 +0000
@@ -104,6 +104,8 @@
KRB_PTHREADS
+PKG_CHECK_MODULES([sqlite], [sqlite3])
+
AC_ARG_ENABLE(dce,
AS_HELP_STRING([--enable-dce],[if you want support for DCE/DFS PAG's]))
if test "$enable_dce" = yes; then
diff -Naur tmp-old/lib/Makefile.am tmp-new/lib/Makefile.am
--- lib/Makefile.am 2008-06-07 16:53:11.000000000 +0000
+++ lib/Makefile.am 2008-06-07 16:55:58.000000000 +0000
@@ -18,6 +18,6 @@
dir_hcrypto = hcrypto
endif
-SUBDIRS = roken vers editline $(dir_com_err) sl wind asn1 sqlite \
+SUBDIRS = roken vers editline $(dir_com_err) sl wind asn1 \
$(dir_hcrypto) hx509 krb5 ntlm kafs gssapi hdb kadm5 \
auth $(dir_45) $(dir_otp) $(dir_dce)
diff -Naur tmp-old/lib/krb5/Makefile.am tmp-new/lib/krb5/Makefile.am
--- lib/krb5/Makefile.am 2008-06-07 16:54:02.000000000 +0000
+++ lib/krb5/Makefile.am 2008-06-08 08:17:00.000000000 +0000
@@ -2,7 +2,7 @@
include $(top_srcdir)/Makefile.am.common
-AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I../com_err -I$(srcdir)/../com_err -I$(srcdir)/../sqlite
+AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I../com_err -I$(srcdir)/../com_err $(sqlite_CFLAGS)
bin_PROGRAMS = verify_krb5_conf
@@ -53,7 +53,7 @@
libkrb5_la_LIBADD = \
$(LIB_pkinit) \
- ../sqlite/libsqlite.la \
+ $(sqlite_LIBS) \
$(LIB_com_err) \
$(LIB_hcrypto) \
$(top_builddir)/lib/asn1/libasn1.la \
diff -Naur tmp-old/lib/krb5/scache.c tmp-new/lib/krb5/scache.c
--- lib/krb5/scache.c 2008-06-07 16:54:30.000000000 +0000
+++ lib/krb5/scache.c 2008-06-07 17:01:43.000000000 +0000
@@ -32,7 +32,7 @@
*/
#include "krb5_locl.h"
-#include "sqlite3.h"
+#include <sqlite3.h>
RCSID("$Id: heimdal-system_sqlite.patch,v 1.1 2008/06/11 07:27:47 mueli Exp $");

View file

@ -1,40 +0,0 @@
#!/bin/bash
# general config
. /opt/etc/rc.conf
. /opt/etc/rc.d/functions
PID=`pidof -o %PPID /opt/sbin/kadmind`
case "$1" in
start)
stat_busy "Starting heimdal admin server"
if [ -z "$PID" ]; then
/opt/sbin/kadmind &
fi
if [ ! -z "$PID" -o $? -gt 0 ]; then
stat_fail
else
add_daemon kadmind
stat_done
fi
;;
stop)
stat_busy "Stopping heimdal admin server"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon kadmind
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac
exit 0

View file

@ -1,40 +0,0 @@
#!/bin/bash
# general config
. /opt/etc/rc.conf
. /opt/etc/rc.d/functions
PID=`pidof -o %PPID /opt/sbin/kpasswdd`
case "$1" in
start)
stat_busy "Starting heimdal kpasswdd"
if [ -z "$PID" ]; then
/opt/sbin/kpasswdd &
fi
if [ ! -z "$PID" -o $? -gt 0 ]; then
stat_fail
else
add_daemon kpasswd
stat_done
fi
;;
stop)
stat_busy "Stopping heimdal kpasswdd"
[ ! -z "$PID" ] && kill $PID &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon kpasswd
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac
exit 0

View file

@ -1,33 +0,0 @@
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Modified by OpenPogo
pkgname=iproute2
pkgver=2.6.28
pkgrel=1
pkgdesc="IP Routing Utilities"
arch=('arm')
license=('GPL2')
url="http://www.linux-foundation.org/en/Net:Iproute2"
depends=('linux-atm' 'perl')
provides=('iproute')
conflicts=('iproute')
replaces=('iproute')
backup=('opt/etc/iproute2/ematch_map' 'opt/etc/iproute2/rt_dsfield' 'opt/etc/iproute2/rt_protos' \
'opt/etc/iproute2/rt_realms' 'opt/etc/iproute2/rt_scopes' 'opt/etc/iproute2/rt_tables')
source=(http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-${pkgver}.tar.bz2)
md5sums=('595f9b17320f69e8d30d2fa80f1bca14')
build() {
cd $srcdir/iproute2-${pkgver}
sed -i 's|/opt/local/lib/iptables|/opt/lib/iptables|' include/iptables.h || return 1
sed -i 's|=/share|=/opt/share|' Makefile || return 1
sed -i 's|=/sbin|=/opt/sbin|' Makefile || return 1
./configure || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
# chmod 755 $pkgdir/usr/sbin/ifcfg || return 1
}

View file

@ -1,42 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=iputils
pkgver=20071127
_traceroutever=1.4a12
pkgrel=3
pkgdesc="IP Configuration Utilities (and Ping)"
arch=(arm)
license=('GPL')
url="http://www.linuxfoundation.org/en/Net:Iputils"
depends=(glibc)
source=(http://www.skbuff.net/iputils/$pkgname-s$pkgver.tar.bz2
ftp://ftp.ee.lbl.gov/traceroute-$_traceroutever.tar.gz
iputils-20070202-no-open-max.patch
permission-fix.patch)
md5sums=('12245e9927d60ff5cf4a99d265bcb7d3'
'964d599ef696efccdeebe7721cd4828d'
'a2cbc0174dd883f68297aa7f3e7c4f5c'
'66109966cad06e425bb12a78bab85b70')
build() {
msg "Building ipuitls."
cd "$srcdir/iputils-s$pkgver"
patch -Np1 -i ../iputils-20070202-no-open-max.patch || return 1
make KERNEL_INCLUDE=/opt/include || return 1
for i in arping clockdiff rarpd rdisc tftpd tracepath tracepath6; do
install -D -m755 $i $startdir/pkg/opt/sbin/$i
done
for i in ping ping6 traceroute6; do
install -D -m4755 $i $startdir/pkg/opt/bin/$i
done
msg "Building traceroute."
cd "$srcdir/traceroute-$_traceroutever"
patch -Np1 -i ../permission-fix.patch || return 1
./configure --prefix=/opt --sbindir=/opt/bin
make CFLAGS="${CFLAGS} -Ilinux-include/" || return 1
make DESTDIR=${startdir}/pkg install
}

View file

@ -1,16 +0,0 @@
the OPEN_MAX define has been removed in newer kernel headers so use the
proper method of getting the value dynamically
http://bugs.gentoo.org/195861
--- a/rdisc.c
+++ b/rdisc.c
@@ -247,7 +247,7 @@ void do_fork(void)
if ((pid=fork()) != 0)
exit(0);
- for (t = 0; t < OPEN_MAX; t++)
+ for (t = 0; t < sysconf(_SC_OPEN_MAX); t++)
if (t != s)
close(t);

View file

@ -1,15 +0,0 @@
--- traceroute-1.4a12/Makefile.in.old 2000-11-23 21:05:29.000000000 +0100
+++ traceroute-1.4a12/Makefile.in 2008-09-27 20:04:30.000000000 +0200
@@ -90,10 +90,10 @@
sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@
install: force
- $(INSTALL) -m 4555 -o root -g bin traceroute $(DESTDIR)$(BINDEST)
+ $(INSTALL) -m 4555 -o root -g root traceroute $(DESTDIR)$(BINDEST)
install-man: force
- $(INSTALL) -m 444 -o bin -g bin traceroute.8 $(DESTDIR)$(MANDEST)/man8
+ $(INSTALL) -m 644 -o root -g root traceroute.8 $(DESTDIR)$(MANDEST)/man8
lint: $(GENSRC) force
lint -hbxn $(SRC) | \

View file

@ -1,22 +0,0 @@
# Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=kbd
pkgver=1.15
pkgrel=1
pkgdesc="Keytable files and keyboard utilities"
arch=(arm)
url="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
license=('GPL')
groups=('base')
depends=()
source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/${pkgname}-${pkgver}.tar.gz)
md5sums=('ba3fd20e6c79e58422c3cc6b28718939')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/opt --datadir=/opt/share/kbd --mandir=/opt/share/man
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes || return 1
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${startdir}/pkg install
}

View file

@ -1,23 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=less
pkgver=418
pkgrel=2
pkgdesc="A terminal based program for viewing text files"
license=('GPL3')
arch=('arm')
url="http://www.greenwoodsoftware.com/less"
groups=('base')
depends=('ncurses' 'file')
source=(http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=(b5864d76c54ddf4627fd57ab333c88b4)
build() {
cd $srcdir/less-$pkgver
./configure --prefix=/opt
make || return 1
make prefix=$startdir/pkg/opt install
}

View file

@ -1,25 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=libarchive
pkgver=2.7.0
pkgrel=1
pkgdesc="Library that can create and read several streaming archive formats"
arch=(arm)
url="http://people.freebsd.org/~kientzle/libarchive/"
license=(BSD)
groups=(base)
depends=(zlib bzip2 acl)
source=(http://libarchive.googlecode.com/files/libarchive-$pkgver.tar.gz)
md5sums=(a2103ca334037562ad327eb3aed54869)
options=(libtool)
build() {
cd "$srcdir/libarchive-$pkgver"
./configure --prefix=/opt
make || return 1
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir/opt/share/licenses/libarchive/COPYING"
}

View file

@ -1,23 +0,0 @@
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
# Modified by OpenPogo
# Confusing location of the libs due to sed line. Might not work?
pkgname=libcap
pkgver=2.16
pkgrel=1
pkgdesc="POSIX 1003.1e capabilities"
arch=(arm)
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/"
license=('GPL')
depends=()
source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${pkgname}-${pkgver}.tar.gz)
md5sums=('9e075fda242c4070ba76407064c13302')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -i -e "s|LIBDIR=\$(FAKEROOT)\opt/\lib|LIBDIR=\$(FAKEROOT)/\opt/lib|g" Make.Rules || return 1
make prefix=/opt DESTDIR=${pkgdir} install
rm ${pkgdir}/opt/lib/*.a || return 1
chmod 755 ${pkgdir}/opt/lib/libcap.so.* || return 1
}

View file

@ -1,95 +0,0 @@
prefix = /opt
DESTDIR =
DEBUG = false
ENABLE_HTTPS = true
CFLAGS = -O2 -pipe -I. -DINET6 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
WARNINGS = -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts \
-Wpointer-arith -Wcast-align -Wsign-compare
CFLAGS += $(WARNINGS)
ifeq ($(strip $(DEBUG)), true)
CFLAGS += -g -DDEBUG
else
CFLAGS += -UDEBUG
endif
ifeq ($(strip $(ENALE_HTTPS)),true)
CFLAGS += -DWITH_SSL
LDFLAGS += -lssl -lcrypto
endif
CC = gcc
LD = gcc
AR = ar
RANLIB = ranlib
INSTALL = install -c -D
OBJS= download.o common.o ftp.o http.o file.o
INCS= download.h common.h
GEN = ftperr.h httperr.h
MAN = libdownload.3
#pretty print!
E = @/bin/echo
Q = @
all: libdownload.so libdownload.a
$(E) " built with: " $(CFLAGS)
.PHONY: all
%.o: %.c $(INCS) $(GEN)
$(E) " compile " $@
$(Q) $(CC) $(CFLAGS) -c $<
ftperr.h: ftp.errors
$(E) " generate " $@
@/bin/echo "static struct downloaderr _ftp_errlist[] = {" > $@
@cat $< \
| grep -v ^# \
| sort \
| while read NUM CAT STRING; do \
/bin/echo " { $${NUM}, DLERR_$${CAT}, \"$${STRING}\" },"; \
done >> $@
@/bin/echo -e " { -1, DLERR_UNKNOWN, \"Unknown FTP error\" }\n};" >> $@
httperr.h: http.errors
$(E) " generate " $@
@/bin/echo "static struct downloaderr _http_errlist[] = {" > $@
@cat $< \
| grep -v ^# \
| sort \
| while read NUM CAT STRING; do \
/bin/echo " { $${NUM}, DLERR_$${CAT}, \"$${STRING}\" },"; \
done >> $@
@/bin/echo -e " { -1, DLERR_UNKNOWN, \"Unknown HTTP error\" }\n};" >> $@
libdownload.so: $(GEN) $(INCS) $(OBJS)
$(E) " build " $@
$(Q) rm -f $@
$(Q) $(LD) $(LDFLAGS) *.o -shared -o $@
libdownload.a: $(GEN) $(INCS) $(OBJS)
$(E) " build " $@
$(Q) rm -f $@
$(Q) $(AR) rcs $@ *.o
$(Q) $(RANLIB) $@
clean:
$(E) " clean "
$(Q) rm -f libdownload.so libdownload.a *.o $(GEN)
.PHONY: clean
install: all
$(Q) $(INSTALL) -m 755 libdownload.so $(DESTDIR)$(prefix)/lib/libdownload.so
$(Q) $(INSTALL) -m 644 libdownload.a $(DESTDIR)$(prefix)/lib/libdownload.a
$(Q) $(INSTALL) -m 644 download.h $(DESTDIR)$(prefix)/include/download.h
$(Q) $(INSTALL) -m 644 libdownload.3 $(DESTDIR)$(prefix)/man/man3/libdownload.3
.PHONY: install
uninstall:
$(Q) rm -f $(DESTDIR)$(prefix)/lib/libdownload.so
$(Q) rm -f $(DESTDIR)$(prefix)/lib/libdownload.a
$(Q) rm -f $(DESTDIR)$(prefix)/include/download.h
$(Q) rm -f $(DESTDIR)$(prefix)/man/man3/libdownload.3
.PHONY: uninstall

View file

@ -1,26 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
# Goes into /opt/usr. WHY?
pkgname=libdownload
pkgver=1.3
pkgrel=2
pkgdesc="URL based download library, forked from libfetch"
arch=('arm')
license=('BSD')
groups=('base')
depends=()
url="http://code.phraktured.net/?p=libdownload.git"
source=(http://code.phraktured.net/source/$pkgname-$pkgver.tar.gz
Makefile)
md5sums=('77e10293fd4262745110eb423a10490c'
'63f794256b49bcd8b07775a19fe8bace')
build() {
cd "$srcdir/libdownload-$pkgver"
rm Makefile
cp $srcdir/Makefile .
make || return 1
make DESTDIR=$pkgdir install
}

View file

@ -1,89 +0,0 @@
prefix = /opt
DESTDIR =
DEBUG = false
FETCH_WITH_INET6 = true
FETCH_WITH_OPENSSL = true
WARNINGS = -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts \
-Wpointer-arith -Wcast-align -Wsign-compare
# ftp.c has some aliasing issues...
CFLAGS = -O2 -pipe -I. -fPIC -fno-strict-aliasing $(WARNINGS) \
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES
CFLAGS += -DFTP_COMBINE_CWDS -DNETBSD
ifeq ($(strip $(FETCH_WITH_INET6)), true)
CFLAGS+= -DINET6
endif
ifeq ($(strip $(FETCH_WITH_OPENSSL)), true)
CFLAGS+= -DWITH_SSL
LDFLAGS= -lssl -lcrypto
endif
ifeq ($(strip $(DEBUG)), true)
CFLAGS += -g -DDEBUG
else
CFLAGS += -UDEBUG
endif
CC = gcc
LD = gcc
AR = ar
RANLIB = ranlib
INSTALL = install -c -D
OBJS= fetch.o common.o ftp.o http.o file.o
INCS= fetch.h common.h
GEN = ftperr.h httperr.h
MAN = libdownload.3
#pretty print!
E = @/bin/echo
Q = @
all: libfetch.so libfetch.a
$(E) " built with: " $(CFLAGS)
.PHONY: all
%.o: %.c $(INCS) $(GEN)
$(E) " compile " $@
$(Q) $(CC) $(CFLAGS) -c $<
ftperr.h: ftp.errors
$(E) " generate " $@
$(Q) ./errlist.sh ftp_errlist FTP ftp.errors > $@
httperr.h: http.errors
$(E) " generate " $@
$(Q) ./errlist.sh http_errlist HTTP http.errors > $@
libfetch.so: $(GEN) $(INCS) $(OBJS)
$(E) " build " $@
$(Q) rm -f $@
$(Q) $(LD) $(LDFLAGS) *.o -shared -o $@
libfetch.a: $(GEN) $(INCS) $(OBJS)
$(E) " build " $@
$(Q) rm -f $@
$(Q) $(AR) rcs $@ *.o
$(Q) $(RANLIB) $@
clean:
$(E) " clean "
$(Q) rm -f libfetch.so libfetch.a *.o $(GEN)
.PHONY: clean
install: all
$(Q) $(INSTALL) -m 755 libfetch.so $(DESTDIR)$(prefix)/lib/libfetch.so
$(Q) $(INSTALL) -m 644 libfetch.a $(DESTDIR)$(prefix)/lib/libfetch.a
$(Q) $(INSTALL) -m 644 fetch.h $(DESTDIR)$(prefix)/include/fetch.h
$(Q) $(INSTALL) -m 644 fetch.3 $(DESTDIR)$(prefix)/share/man/man3/fetch.3
.PHONY: install
uninstall:
$(Q) rm -f $(DESTDIR)$(prefix)/lib/libfetch.so
$(Q) rm -f $(DESTDIR)$(prefix)/lib/libfetch.a
$(Q) rm -f $(DESTDIR)$(prefix)/include/fetch.h
$(Q) rm -f $(DESTDIR)$(prefix)/share/man/man3/fetch.3
.PHONY: uninstall

View file

@ -1,38 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Xavier Chantry <shiningxc@gmail.com>
# Modified by OpenPogo
pkgname=libfetch
pkgver=2.23
pkgrel=1
pkgdesc="URL based download library"
arch=(arm)
license=(BSD)
groups=(base)
depends=(openssl)
url="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/"
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz
Makefile)
md5sums=(c1c1a8ccabc3bf9acda833bcbc6821b1
d6d3fc0352f0bd968c49f000e1cf4af5)
# source PKGBUILD && mksource
mksource() {
export CVSROOT=:pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot
D=pkgsrc/net/libfetch
[ -d "$D" ] && cvs up "$D" || cvs co "$D"
pushd "$D"
dirname=$(cvs log 2>/dev/null | /opt/bin/grep "^libfetch-.*:$" | head -n1 | sed 's/://')
cp -r files $dirname
tar -cv --exclude=CVS -f ../../../$dirname.tar.gz $dirname
rm -r $dirname
popd
}
build() {
cd "$srcdir/$pkgname-$pkgver"
cp ../Makefile .
make || return 1
make DESTDIR=$pkgdir install
}

View file

@ -1,22 +0,0 @@
# Modified by OpenPogo
pkgname=libgcrypt
pkgver=1.4.4
pkgrel=1
pkgdesc="a general purpose crypto library based on the code used"
arch=(arm)
url="http://www.gnupg.org"
license=('LGPL')
groups=('base')
depends=('libgpg-error>=1.6' 'texinfo')
options=(!libtool)
source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgcrypt/${pkgname}-${pkgver}.tar.bz2)
md5sums=(34105aa927e23c217741966496b97e67)
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/opt --disable-padlock-support --disable-static
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -f ${pkgdir}/opt/share/info/dir
}

View file

@ -1,20 +0,0 @@
infodir=/opt/share/info
filelist=(gcrypt.info)
post_install() {
[ -x opt/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 opt/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
}

View file

@ -1,21 +0,0 @@
# Modified by OpenPogo
pkgname=libgpg-error
pkgver=1.6
pkgrel=1
pkgdesc="Support library for libgcrypt"
arch=(arm)
url="http://www.gnupg.org"
license=('LGPL')
groups=('base')
depends=()
options=(!libtool)
source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f3e9870e213518b407a959f8d29cd554')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/opt
make || return 1
make DESTDIR=${startdir}/pkg install
}

View file

@ -1,21 +0,0 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
# Modified by OpenPogo
pkgname=libnl
pkgver=1.1
pkgrel=1
pkgdesc="Library for applications dealing with netlink sockets"
arch=(arm)
url="http://people.suug.ch/~tgr/libnl"
license=('GPL')
depends=()
source=(http://openpogo.com/pkgsrc/core/${pkgname}-${pkgver}.tar.gz)
md5sums=('ae970ccd9144e132b68664f98e7ceeb1')
build() {
cd ${startdir}/src/libnl-${pkgver}
./configure --prefix=/opt || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
}

View file

@ -1,26 +0,0 @@
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
# Modified by OpenPogo
pkgname=libtool
pkgver=2.2.6a
pkgrel=2
pkgdesc="A generic library support script"
arch=('arm')
license=('GPL')
url="http://www.gnu.org/software/libtool"
groups=('base-devel')
depends=('tar')
source=(ftp://ftp.gnu.org/pub/gnu/libtool/${pkgname}-${pkgver}.tar.gz)
md5sums=('8ca1ea241cd27ff9832e045fe9afe4fd')
options=('!libtool')
build() {
cd $srcdir/libtool-2.2.6
./configure --prefix=/opt || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
# Don't the following 2 commands pull from the host builder system? Not cool?
ln -sf /opt/bin/libtool $pkgdir/opt/bin/glibtool
ln -sf /opt/bin/libtoolize $pkgdir/opt/bin/glibtoolize
}

View file

@ -1,24 +0,0 @@
# $Id: PKGBUILD 8698 2008-08-16 03:34:22Z eric $
# Maintainer: arjan <arjan@archlinux.org>
# arm Maintainer: Philipp Scholl <pscholl@bawue.de>
# Modified by OpenPogo
pkgname=libusb
pkgver=0.1.12
pkgrel=3
depends=('gcc-libs')
pkgdesc="Library to enable user space application programs to communicate with USB devices"
arch=(arm)
url="http://libusb.sourceforge.net/"
license=('LGPL')
groups=('base')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('caf182cbc7565dac0fd72155919672e6')
options=(!libtool)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt --disable-build-docs
make || return 1
make DESTDIR=$startdir/pkg install
}

Binary file not shown.

View file

@ -1,83 +0,0 @@
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
# Modified by OpenPogo
pkgname=licenses
pkgver=1.0
pkgrel=1
pkgdesc="The standard licenses distribution package"
arch=('arm')
license=('custom:none')
groups=('base')
url="http://archlinux.org"
source=(cc-by-3.0.txt
cc-by-nc-3.0.txt
cc-by-nc-nd-3.0.txt
cc-by-nc-sa-3.0.txt
cc-by-nd-3.0.txt
cc-by-sa-3.0.txt
cc-readme.txt
cddl-1.0.txt
http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
http://www.gnu.org/licenses/gpl-3.0.txt
http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
http://www.gnu.org/licenses/lgpl.txt
http://www.gnu.org/licenses/fdl.txt
perlartistic.txt
cpl-1.0.txt
python-2.txt)
md5sums=('ffb24d1bbf8b83d373f0b8edc3feb0c6'
'682a5e3b03510ba46c4f566478c871bc'
'166b65b71e44630b436bfe937c4c0b73'
'89bca4a2dde8b7d39c27a1dc24078932'
'2502517d13d8136fffaf248489ad0870'
'5367190077e12a7f55403d531ef3998e'
'019bc72509b18a804f0ea8fd2bab1932'
'6cb35f3976cd093011967fa1abbce386'
'751419260aa954499f7abaabaa882bbe'
'd32239bcb673463ab874e80d47fae504'
'243b725d71bb5df4a1e5920b344b86ad'
'b52f2d57d10c4f7ee67a7eb9615d5d24'
'10b9de612d532fdeeb7fe8fcd1435cc6'
'd09c120ca7db95ef2aeecec0cb08293b'
'f083e41c43db25e18f36c91e57750b64'
'614f4f550910d90428a567cfaafe62a9')
build() {
cd $startdir/pkg
mkdir -p opt/share/licenses/common
cd opt/share/licenses/common
mkdir CCPL
cp $startdir/src/cc-by-3.0.txt CCPL/
cp $startdir/src/cc-by-nc-3.0.txt CCPL/
cp $startdir/src/cc-by-nc-nd-3.0.txt CCPL/
cp $startdir/src/cc-by-nc-sa-3.0.txt CCPL/
cp $startdir/src/cc-by-nd-3.0.txt CCPL/
cp $startdir/src/cc-by-sa-3.0.txt CCPL/
cp $startdir/src/cc-readme.txt CCPL/
mkdir CDDL
cp $startdir/src/cddl-1.0.txt CDDL/license.txt
mkdir CPL
cp $startdir/src/cpl-1.0.txt CPL/license.txt
mkdir {GPL,GPL3}
cp $startdir/src/gpl-2.0.txt GPL/license.txt
cp $startdir/src/gpl-3.0.txt GPL3/license.txt
ln -s GPL GPL2
mkdir FDL
cp $startdir/src/fdl.txt FDL/license.txt
mkdir {LGPL,LGPL3}
cp $startdir/src/lgpl-2.1.txt LGPL/license.txt
cp $startdir/src/lgpl.txt LGPL3/license.txt
ln -s LGPL LGPL2
mkdir PerlArtistic
cp $startdir/src/perlartistic.txt PerlArtistic/license.txt
mkdir PSF
cp $startdir/src/python-2.txt PSF/license.txt
}

View file

@ -1,60 +0,0 @@
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
1. Definitions
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
4. to Distribute and Publicly Perform Adaptations.
5.
For the avoidance of doubt:
1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested.
2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
8. Miscellaneous
1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.

View file

@ -1,61 +0,0 @@
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
1. Definitions
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
4. to Distribute and Publicly Perform Adaptations.
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights set forth in Section 4(d).
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested.
2. You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
3. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and, (iv) consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
4.
For the avoidance of doubt:
1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
3. Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(c).
5. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
8. Miscellaneous
1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.

View file

@ -1,58 +0,0 @@
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
1. Definitions
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
3. "Distribute" means to make available to the public the original and copies of the Work through sale or other transfer of ownership.
4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; and,
2. to Distribute and Publicly Perform the Work including as incorporated in Collections.
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats, but otherwise you have no rights to make Adaptations. Subject to 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights set forth in Section 4(d).
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested.
2. You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
3. If You Distribute, or Publicly Perform the Work or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work. The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Collection, at a minimum such credit will appear, if a credit for all contributing authors of Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
4.
For the avoidance of doubt:
1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
3. Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b).
5. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
8. Miscellaneous
1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
2. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
3. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
4. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
5. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.

View file

@ -1,63 +0,0 @@
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
1. Definitions
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(g) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
4. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, Noncommercial, ShareAlike.
5. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
6. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
7. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
8. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
9. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
10. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
4. to Distribute and Publicly Perform Adaptations.
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights described in Section 4(e).
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(d), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(d), as requested.
2. You may Distribute or Publicly Perform an Adaptation only under: (i) the terms of this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-NonCommercial-ShareAlike 3.0 US) ("Applicable License"). You must include a copy of, or the URI, for Applicable License with every copy of each Adaptation You Distribute or Publicly Perform. You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License. You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License.
3. You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in con-nection with the exchange of copyrighted works.
4. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and, (iv) consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(d) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
5.
For the avoidance of doubt:
1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(c) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
3. Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(c).
6. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING AND TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THIS EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
8. Miscellaneous
1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.

Some files were not shown because too many files have changed in this diff Show more