summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/handbrake-svn/PKGBUILD11
-rw-r--r--pcr/anyremote/PKGBUILD13
-rw-r--r--pcr/aurvote/PKGBUILD10
-rwxr-xr-x[-rw-r--r--]pcr/aurvote/aurvote46
-rw-r--r--pcr/barnyard2/PKGBUILD69
-rw-r--r--pcr/bash-dynamic-completion/PKGBUILD17
-rw-r--r--pcr/bash-dynamic-completion/dynamic_completion.install8
-rw-r--r--pcr/bash-dynamic-completion/dynamic_completion.sh60
-rw-r--r--pcr/bashmount/PKGBUILD51
-rw-r--r--pcr/bashmount/bashmount.install9
-rw-r--r--pcr/chm2pdf/Changelog17
-rw-r--r--pcr/chm2pdf/PKGBUILD31
-rw-r--r--pcr/cl-ppcre/PKGBUILD16
-rw-r--r--pcr/htmldoc/Changelog24
-rw-r--r--pcr/htmldoc/PKGBUILD75
-rw-r--r--pcr/htmldoc/cve-2009-3050.patch41
-rw-r--r--pcr/htmldoc/fortify-fail.patch21
-rw-r--r--pcr/htmldoc/htmldoc.install13
-rw-r--r--pcr/htmldoc/libpng15.patch122
-rw-r--r--pcr/htmldoc/manpage-fixes.patch42
-rw-r--r--pcr/htmldoc/useful-build-info.patch25
-rw-r--r--pcr/redmine/PKGBUILD72
-rw-r--r--pcr/yoshimi/PKGBUILD28
-rw-r--r--pcr/yoshimi/yoshimi.install19
-rw-r--r--pcr/zulucrypt/PKGBUILD37
-rw-r--r--pcr/zulucrypt/zulucrypt.changelog187
-rw-r--r--pcr/zulucrypt/zulucrypt.install9
27 files changed, 958 insertions, 115 deletions
diff --git a/libre/handbrake-svn/PKGBUILD b/libre/handbrake-svn/PKGBUILD
index 19803de3c..41d5895b6 100644
--- a/libre/handbrake-svn/PKGBUILD
+++ b/libre/handbrake-svn/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=('handbrake-svn' 'handbrake-cli-svn')
_pkgver=0.9.9.1
-pkgver=6103
+pkgver=6207
url="http://handbrake.fr/"
license=('GPL')
@@ -56,7 +56,9 @@ _contrib_ign+=('x265') # FEATURE.x265
_contrib_sys+=('lame') # always
# Using system ffmpeg will break PGS subtitle processing
# https://forum.handbrake.fr/viewtopic.php?f=13&t=27581
-_contrib_mod+=('ffmpeg:libav-v10_beta1.tar.bz2') # always
+_contrib_mod+=('ffmpeg:libav-v10.1.tar.bz2') # always
+# XXX: I can't get it to set LDFLAGS right to use system libvpx
+_contrib_mod+=('libvpx:libvpx-v1.3.0.tar.bz2') # always
_contrib_sys+=('libdvdread') # always
# XXX: I don't even know, but system libdvdnav doesn't work
_contrib_mod+=('libdvdnav:libdvdnav-a5c1325.tar.bz2') # always
@@ -73,11 +75,12 @@ for _f in "${_contrib_mod[@]#*:}"; do
source+=("http://download.handbrake.fr/handbrake/contrib/${_f}")
noextract+=("${_f}")
done; unset _f
-sha256sums=('59aac48702c8b55d78e8cba3f94b4cc42f8077bce6d775d1560891628ed532a1'
+sha256sums=('2e9cda0bbfc47252c2ebe70b4faa1b34bc8193077f8c32163c9ed702ac6f99ec'
'f08584d59a02db5facf548ae860c64d2870db63477f605af763c161a1508dcbc'
'5b7d4e62df506b1246463da82cc2f02415eb462e6ccd5848f98f5cdcfc1f3d4f'
'7314a296c68f42b826164074a96e247e52d8ef9287c21ebc5fe1bf9e73643e97'
- '41e7b81c4bf49acf4f5e74a61ffe2a593d22df5326997aa4fb253b5de1410773'
+ 'bc3807426d4e73fe8c245730b0df4ba95766cf7e17e47c738ee302f73d066ac9'
+ 'd3dcc8d84af51c6c382b214397c62402e37a799e8ebcda6f4217aef0010451a9'
'd190ce2ca4d1d9878145acd9c1b8ac76636c3b6d12066e8cc87ee674f943fb2a')
mksource=("HandBrake-svn${pkgver}::svn://svn.handbrake.fr/HandBrake/trunk")
diff --git a/pcr/anyremote/PKGBUILD b/pcr/anyremote/PKGBUILD
index dd8aff92f..c1181f5fb 100644
--- a/pcr/anyremote/PKGBUILD
+++ b/pcr/anyremote/PKGBUILD
@@ -1,16 +1,16 @@
-# Contributor (Arch): Andrea Fagiani <andfagiani_at_gmail_dot_com>
-# Contributor (Arch): hb <hb.at.spamers.dot.net>
-# Contributor (Arch): Lisa Denia <eiffel56@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: Andrea Fagiani <andfagiani_at_gmail_dot_com>
+# Contributor: hb <hb.at.spamers.dot.net>
+# Contributor: Lisa Denia <eiffel56@gmail.com>
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=anyremote
-pkgver=6.0
+pkgver=6.3.2
pkgrel=1
pkgdesc="Remote control (console-oriented) through bluetooth or IR connection"
arch=('i686' 'x86_64')
url="http://anyremote.sourceforge.net"
license=('GPL')
-depends=('bluez' 'dbus-glib' 'libxtst')
+depends=('bluez-libs' 'bluez' 'dbus-glib' 'libxtst')
optdepends=("irda-utils: IRDA support")
install=anyremote.install
source=(http://downloads.sourceforge.net/sourceforge/anyremote/$pkgname-$pkgver.tar.gz)
@@ -21,4 +21,3 @@ build() {
make
make DESTDIR=$pkgdir install
}
-md5sums=('f39da5df07f3e1a0c59bc3f95347dbe7')
diff --git a/pcr/aurvote/PKGBUILD b/pcr/aurvote/PKGBUILD
index 712e5d2c4..25dd1887d 100644
--- a/pcr/aurvote/PKGBUILD
+++ b/pcr/aurvote/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer (Arch): tuxce <tuxce.net@gmail.com>
-# Maintainer: Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: tuxce <tuxce.net@gmail.com>
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=aurvote
-pkgver=1.4
+pkgver=1.6
pkgrel=1
pkgdesc="Tool to vote for favorite AUR packages"
url="http://git.archlinux.fr/aurvote.git/"
@@ -11,8 +11,6 @@ arch=('any')
depends=('curl')
source=($pkgname)
-build() {
+package() {
install -D -m 755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
-
-md5sums=('57f2f0822b833f6c858526eb7c8bb85f')
diff --git a/pcr/aurvote/aurvote b/pcr/aurvote/aurvote
index 1b9c8f1bf..833267f10 100644..100755
--- a/pcr/aurvote/aurvote
+++ b/pcr/aurvote/aurvote
@@ -20,12 +20,12 @@
#
NAME='aurvote'
-VERSION=1.4
+VERSION=1.6
TMPDIR=${TMPDIR:-/tmp}
AV_TMP="$TMPDIR/aurvote-$USER"
-CONFIGFILE=${XDG_HOME_CONFIG:-~/.config}/aurvote
+CONFIGFILE=${XDG_CONFIG_HOME:-~/.config}/aurvote
AUR_URL="https://aur.archlinux.org"
AUR_URL_LOGIN="$AUR_URL/login/"
@@ -35,7 +35,7 @@ AUR_DOMAIN="aur.archlinux.org"
AUR_COOKIE="AURSID"
AUR_COOKIE_VALUE=""
AUR_SETLANG="?setlang=en"
-
+AUR_TOKEN=""
version() {
echo "$NAME $VERSION"
@@ -87,13 +87,24 @@ aur_login() {
[[ $err ]] && error "$err"
}
+aur_get_pkg_page() {
+ local pkg=$1
+ curl $CURL_OPT -fs -b "$COOKIE_FILE" \
+ "${AUR_URL_PKG_PAGE}${pkg}${AUR_SETLANG}" \
+ -o "$AV_TMP/$pkg.$PID" ||
+ error "Unable to get $pkg page"
+}
+
+aur_set_token() {
+ aur_get_pkg_page "$1"
+ AUR_TOKEN=$(sed -n -e '/<input type="hidden" name="token"/ { s/.*value="\([0-9a-f]\+\)".*/\1/p;q }' "$AV_TMP/$pkg.$PID")
+ [[ ! $AUR_TOKEN ]] && error "Unable to get token from AUR page"
+}
+
aur_check_vote() {
local pkg
for pkg in "${pkgnames[@]}"; do
- curl $CURL_OPT -fs -b "$COOKIE_FILE" \
- "${AUR_URL_PKG_PAGE}${pkg}${AUR_SETLANG}" \
- -o "$AV_TMP/$pkg.$PID" ||
- error "Unable to get $pkg page"
+ aur_get_pkg_page "$pkg"
if sed '/<div id="news">/q' "$AV_TMP/$pkg.$PID" | grep -q /unvote/; then
echo "already voted"
elif sed '/<div id="news">/q' "$AV_TMP/$pkg.$PID" | grep -q /vote/; then
@@ -106,11 +117,21 @@ aur_check_vote() {
aur_vote() {
- local pkg
- (($1)) && vote="/vote/" || vote="/unvote/"
+ local pkg vote action
+ if (($1)); then
+ vote="/vote/"
+ action=do_Vote
+ else
+ vote="/unvote/"
+ action=do_UnVote
+ fi
for pkg in "${pkgnames[@]}"; do
+ [[ ! $AUR_TOKEN ]] && aur_set_token "$pkg"
curl $CURL_OPT -fs -b "$COOKIE_FILE" \
- "${AUR_URL_PKG_PAGE}${pkg}${vote}" -o /dev/null
+ "${AUR_URL_PKG_PAGE}${pkg}${vote}" \
+ -d token="$AUR_TOKEN" \
+ -d "$action"="(Un)Vote" \
+ -o /dev/null
if (($?)); then
echo "Error: Can't (un)vote for $pkg"
else
@@ -120,7 +141,10 @@ aur_vote() {
}
create_config_file() {
- local ans
+ local ans configdir=${CONFIGFILE%/*}
+ if [[ ! -d $configdir ]]; then
+ mkdir -p "$configdir" || error "Unable to create $configdir"
+ fi
if [[ -f "$CONFIGFILE" ]]; then
read -p "$CONFIGFILE exists. Replace ? [y/N] " ans
[[ $ans != 'Y' && $ans != 'y' ]] && return 0
diff --git a/pcr/barnyard2/PKGBUILD b/pcr/barnyard2/PKGBUILD
index 47b16d3ab..15fd5655a 100644
--- a/pcr/barnyard2/PKGBUILD
+++ b/pcr/barnyard2/PKGBUILD
@@ -1,44 +1,51 @@
-# Contributor (Arch): Commiebstrd<spenserreinhardt@gmail.com>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: Commiebstrd<spenserreinhardt@gmail.com>
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=barnyard2
-pkgver=1
-pkgrel=9
-pkgdesc="Barnyard2 is a fork of the original barnyard project, designed specifically for Snort's new unified2 file format. Barnyard2 is under active development and continues to adapt based on user feedback."
+pkgver=2
+pkgrel=1.13
+pkgdesc="A dedicated spooler for Snort's unified2 binary output format."
arch=('i686' 'x86_64')
url="http://www.securixlive.com/barnyard2/index.php"
-license=('GPLv2')
-depends=('snort' 'mysql')
-source=("http://www.securixlive.com/download/${pkgname}/${pkgname}-${pkgver}.${pkgrel}.tar.gz")
+license=('GPL2')
+depends=('libmariadbclient' 'libpcap')
+optdepends=("snort: IPS\IDS detection solution" "suricata: Multi-threaded IPS\IDS")
+source=("https://github.com/firnsy/${pkgname}/archive/v${pkgver}-${pkgrel}.tar.gz")
-package() {
+build() {
- #configures and makes package
- cd "${srcdir}/${pkgname}-${pkgver}.${pkgrel}"
- ./configure --with-mysql
- make
- make DESTDIR="${pkgdir}" install
-
- #makes dir for /etc locations
- mkdir "${pkgdir}/etc" -p
+ # move to correct dir
+ cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}"
+
+ #autoconf, config, and make
+ ./autogen.sh
+ ./configure --with-mysql --prefix=/usr --sysconfdir=/etc
+ make
+
+}
+
+check() {
- #makes dirs for /var locations
- mkdir "${pkgdir}/var" -p
- mkdir "${pkgdir}/var/log" -p
- mkdir "${pkgdir}/var/log/$pkgname" -p
+ cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}"
- #makes /usr/bin, /usr should already be made from make\make install
- mkdir "${pkgdir}/usr/bin"
+ # verify everything will work with whats installed
+ make check
- #copy barnyard2.conf to /etc/barnyard2.conf and executable to /usr/bin/
- cp "${pkgdir}/usr/local/etc/$pkgname.conf" "${pkgdir}/etc/"
- cp "${pkgdir}/usr/local/bin/$pkgname" "${pkgdir}/usr/bin/"
+}
+
+package() {
+
+ cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}"
+
+ make DESTDIR="${pkgdir}" install
+
+ cd "${pkgdir}"
+ mkdir "var/log/$pkgname" -p
#file permission mods and creation of initial .waldo file
- chmod 666 "${pkgdir}/var/log/$pkgname"
- touch "${pkgdir}/var/log/$pkgname/$pkgname.waldo"
- chown snort.snort "${pkgdir}/var/log/$pkgname/$pkgname.waldo"
+ touch "var/log/${pkgname}/${pkgname}.waldo"
+ chmod 664 "var/log/${pkgname}/${pkgname}.waldo"
+ chmod 664 "etc/${pkgname}.conf"
+ chmod 554 "usr/bin/${pkgname}"
- #not needed since conf is copied to /etc/ and barnyard is sent to /usr/bin
- rm -rf "${pkgdir}/usr/local/"
}
diff --git a/pcr/bash-dynamic-completion/PKGBUILD b/pcr/bash-dynamic-completion/PKGBUILD
new file mode 100644
index 000000000..e2878f04c
--- /dev/null
+++ b/pcr/bash-dynamic-completion/PKGBUILD
@@ -0,0 +1,17 @@
+pkgname='bash-dynamic-completion'
+pkgver=1
+pkgrel=1
+pkgdesc="A simple script that automatically load any of those completion functions when it is requested for the first time"
+arch=( 'i686' 'x86_64' )
+url="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467231"
+license=( 'GPL' )
+depends=( 'bash' 'bash-completion' 'cron' )
+source=( 'dynamic_completion.sh' )
+md5sums=( 'b3659f84162ebda9e0444273b2d0bd8a' )
+install=dynamic_completion.install
+
+build() {
+ mkdir ${pkgdir}/etc
+ mkdir ${pkgdir}/etc/cron.monthly
+ cp ${srcdir}/dynamic_completion.sh ${pkgdir}/etc/cron.monthly/
+}
diff --git a/pcr/bash-dynamic-completion/dynamic_completion.install b/pcr/bash-dynamic-completion/dynamic_completion.install
new file mode 100644
index 000000000..bd2fb0c5b
--- /dev/null
+++ b/pcr/bash-dynamic-completion/dynamic_completion.install
@@ -0,0 +1,8 @@
+post_install() {
+ chmod 744 /etc/cron.monthly/dynamic_completion.sh
+ echo "Executing /etc/cron.monthly/dynamic_completion.sh"
+ /etc/cron.monthly/dynamic_completion.sh
+
+ echo "Please insert this line into /etc/bash.bashrc instead of calling /etc/bash_completion"
+ . /etc/bash_dyncompletion
+}
diff --git a/pcr/bash-dynamic-completion/dynamic_completion.sh b/pcr/bash-dynamic-completion/dynamic_completion.sh
new file mode 100644
index 000000000..bde058af4
--- /dev/null
+++ b/pcr/bash-dynamic-completion/dynamic_completion.sh
@@ -0,0 +1,60 @@
+#! /bin/sh
+
+# This script automatically moves the completion
+# functions from /etc/bash_completion and /etc/bash_completion.d
+# to a separate directory and creates a drop-in replacement for
+# /etc/bash_completion - which will load any of those completion
+# functions when it is requested for the first time. By this, we
+# greatly reduce the loading time (the replacement script is ~30kb)
+# and also the memory footprint (as we rarely need every completion
+# function in every bash session).
+#
+# The generator script is intended to be run once the base script
+# /etc/bash_completion is installed and then, every time something
+# is added to /etc/bash_completion.d. I'd like to propose it for
+# the bash package -- maybe as an optional part of installation.
+#
+# Taken from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467231
+# Author: Andrei Paskevich
+# andrei@capet.iut-fbleau.fr
+
+BASH_COMPLETION=/etc/bash_completion
+BASH_DYNCOMPLETION=/etc/bash_dyncompletion
+BASH_DYNCOMPLETION_DIR=/etc/bash_dyncompletion.d
+
+echo "Read static completions from $BASH_COMPLETION"
+. "$BASH_COMPLETION" || exit 1
+
+echo "Create dynamic completion file $BASH_DYNCOMPLETION"
+touch "$BASH_DYNCOMPLETION" || exit 1
+
+echo "Create dynamic completion directory $BASH_DYNCOMPLETION_DIR"
+mkdir -p "$BASH_DYNCOMPLETION_DIR" || exit 1
+
+echo -n "Populate dynamic completion directory:"
+FUNCS=$(declare -f | grep '^[a-zA-Z_][a-zA-Z0-9_]* () $' | cut -f 1 -d ' ')
+for FN in $FUNCS ; do
+ echo -n " $FN"
+ declare -f $FN > "$BASH_DYNCOMPLETION_DIR/$FN"
+ eval "$FN () { . '$BASH_DYNCOMPLETION_DIR/$FN' ; $FN \"\$@\" ; }"
+done
+echo
+
+echo "Write dynamic completion file $BASH_DYNCOMPLETION"
+exec > "$BASH_DYNCOMPLETION"
+cat <<EOF
+# $(basename $BASH_DYNCOMPLETION) - load-by-need bash completions
+# actual completion functions are stored in $BASH_DYNCOMPLETION_DIR
+# this file and directory are generated from $BASH_COMPLETION
+
+shopt -s extglob progcomp
+EOF
+
+declare -p BASH_COMPLETION 2>/dev/null
+declare -p bash205 2>/dev/null
+declare -p bash205b 2>/dev/null
+declare -p bash3 2>/dev/null
+declare -f
+complete -p
+
+exit 0
diff --git a/pcr/bashmount/PKGBUILD b/pcr/bashmount/PKGBUILD
index 78f409d0c..71e6dd76b 100644
--- a/pcr/bashmount/PKGBUILD
+++ b/pcr/bashmount/PKGBUILD
@@ -1,37 +1,36 @@
-# Contributer (Arch): Jamie Nguyen <jamie@tomoyolinux.co.uk>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+# Contributer: Jamie Nguyen <jamie@tomoyolinux.co.uk>
+# Contributer: Bill Sun <cap.sensitive@gmail.com>
+# Maintainer : Parabola Aurélien DESBRIERES <aurelien@hackers.camp>
pkgname=bashmount
-pkgver=1.6.2
+pkgver=3.2.0
pkgrel=1
-pkgdesc="A menu-driven bash script for the management of removable media with udisks"
+pkgdesc="A menu-driven bash script for the management of removable media with udisks."
arch=('any')
-url='http://www.sourceforge.net/projects/bashmount/'
+url='https://github.com/jamielinux/bashmount'
license=('GPL2')
-depends=('udisks')
-install=${pkgname}.install
-backup=('etc/bashmount.conf')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+optdepends=('udisks2')
+backup=(etc/bashmount.conf)
+source=("https://github.com/jamielinux/${pkgname}/archive/${pkgver}.tar.gz")
-build()
+package()
{
- cd "${srcdir}/bashmount-${pkgver}"
-
- # install script
- install -D -m755 bashmount "${pkgdir}/usr/bin/bashmount"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- # install config file
- install -D -m644 bashmount.conf "${pkgdir}/etc/bashmount.conf"
+ # Install script
+ install -D -m755 bashmount "${pkgdir}/usr/bin/bashmount"
- # install man page
- gzip -c -9 bashmount.1 > bashmount.1.gz
- install -D -m644 bashmount.1.gz "${pkgdir}/usr/share/man/man1/bashmount.1.gz"
+ # Install config file
+ install -D -m644 bashmount.conf "${pkgdir}/etc/bashmount.conf"
- # install documentation
- install -d -m755 "${pkgdir}/usr/share/doc/bashmount"
- install -m644 AUTHORS "${pkgdir}/usr/share/doc/bashmount/AUTHORS"
- install -m644 COPYING "${pkgdir}/usr/share/doc/bashmount/COPYING"
- install -m644 NEWS "${pkgdir}/usr/share/doc/bashmount/NEWS"
-}
+ # install man page
+ gzip -c -9 bashmount.1 > bashmount.1.gz
+ install -D -m644 bashmount.1.gz "${pkgdir}/usr/share/man/man1/bashmount.1.gz"
-sha256sums=('10e5c8f9065e2410c5018d74a3f8cf7f30668fafa30d9ed82ff04cd64a0f7309')
+ # Install documentation
+ install -d -m755 "${pkgdir}/usr/share/doc/bashmount"
+ # Currently the source code doesn't have an 'AUTHORS' file
+ #install -m644 AUTHORS "${pkgdir}/usr/share/doc/bashmount/AUTHORS"
+ install -m644 COPYING "${pkgdir}/usr/share/doc/bashmount/COPYING"
+ install -m644 NEWS "${pkgdir}/usr/share/doc/bashmount/NEWS"
+}
diff --git a/pcr/bashmount/bashmount.install b/pcr/bashmount/bashmount.install
deleted file mode 100644
index 6e646d94b..000000000
--- a/pcr/bashmount/bashmount.install
+++ /dev/null
@@ -1,9 +0,0 @@
-post_install () {
- echo
- echo " * dbus and consolekit/policykit need to be running. If you are not"
- echo " using a graphical login manager, put this in ~/.xinitrc:"
- echo
- echo " source /etc/X11/xinit/xinitrc.d/30-dbus"
- echo " exec ck-launch-session [insert window manager here]"
- echo
-}
diff --git a/pcr/chm2pdf/Changelog b/pcr/chm2pdf/Changelog
new file mode 100644
index 000000000..f48ac33c8
--- /dev/null
+++ b/pcr/chm2pdf/Changelog
@@ -0,0 +1,17 @@
+2013-10-29 Ognjen Vidovic <ognjen.vidovic at gmail dot com>
+
+ 0.9.1-2:
+ * new maintainer
+
+2013-07-20 Mariusz Libera <mariusz.libera@gmail.com>
+
+ 0.9.1-2:
+ * new maintainer
+ * added prepare() function
+ * added package() function
+ * removed build() function
+ * removed $startdir usage
+ * cleaned up dependencies
+ * updated name and description of beautiful soup optdep
+ * added Changelog
+
diff --git a/pcr/chm2pdf/PKGBUILD b/pcr/chm2pdf/PKGBUILD
index 44df24990..a3ef76883 100644
--- a/pcr/chm2pdf/PKGBUILD
+++ b/pcr/chm2pdf/PKGBUILD
@@ -1,22 +1,29 @@
-# Contributor (Arch): Rodrigo Coacci <rcoacci@gmail.com>
-# Contributor (Arch): fes0
-# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO>
+# Contributor: Ognjen Vidovic <ognjen.vidovic at gmail dot com>
+# Contributor: Mariusz Libera <mariusz.libera@gmail.com>
+# Contributor: fes0
+# Contributor: Rodrigo Coacci <rcoacci@gmail.com>
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=chm2pdf
pkgver=0.9.1
-pkgrel=1
+pkgrel=2
pkgdesc="A simple Python script that converts CHM files into PDF files."
arch=('any')
-license=('GPL2')
url="http://code.google.com/p/chm2pdf/"
-depends=('chmlib' 'python2' 'python2-pychm' 'htmldoc')
-optdepends=('beautiful-soup: A Python HTML/XML parser designed for quick turnaround projects like screen-scraping')
-source=('http://chm2pdf.googlecode.com/files/chm2pdf-0.9.1.tar.gz')
+license=('GPL2')
+depends=('htmldoc' 'python2-pychm')
+optdepends=('python2-beautifulsoup3: makes HTML files of CHM standards compliant')
+changelog=Changelog
+source=("http://chm2pdf.googlecode.com/files/chm2pdf-${pkgver}.tar.gz")
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # python2 fix
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' chm2pdf
+}
-build() {
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $srcdir/$pkgname-$pkgver/chm2pdf
- cd $srcdir/$pkgname-$pkgver
- python2 setup.py install --root=$startdir/pkg
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir"
}
diff --git a/pcr/cl-ppcre/PKGBUILD b/pcr/cl-ppcre/PKGBUILD
index 39aa8dad6..37f88ba7f 100644
--- a/pcr/cl-ppcre/PKGBUILD
+++ b/pcr/cl-ppcre/PKGBUILD
@@ -1,11 +1,11 @@
-# Maintainer (Arch): mrshpot <mrshpot at gmail dot com>
-# Contributor (Arch): veox <cy at wre dot ath dot cx>
-# Contributor (Arch): joyfulgirl <joyfulgirl (at) archlinux.us>
-# Contributor (Arch): Jonathan Friedman <jonf@gojon.com>
-# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io>
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Contributor: kristof <soderstroff@gmail.com>
+# Contributor: veox <cy at wre dot ath dot cx>
+# Contributor: joyfulgirl <joyfulgirl (at) archlinux.us>
+# Contributor: Jonathan Friedman <jonf@gojon.com>
pkgname=cl-ppcre
-pkgver=2.0.3
+pkgver=2.0.7
pkgrel=2
pkgdesc="Perl-compatible, portable regexp library for Common Lisp"
arch=('i686' 'x86_64')
@@ -16,10 +16,8 @@ depends=('common-lisp' 'cl-asdf')
install=cl-ppcre.install
source=('http://weitz.de/files/cl-ppcre.tar.gz' 'LICENSE')
-md5sums=('bd5648fd3c8b6f89eea43f5b82b99aa1'
- 'c6aa01dce26b45aa916329701a448d11')
-build() {
+package() {
install -d ${pkgdir}/usr/share/common-lisp/source/${pkgname}
install -d ${pkgdir}/usr/share/common-lisp/systems
install -d ${pkgdir}/usr/share/licenses/${pkgname}
diff --git a/pcr/htmldoc/Changelog b/pcr/htmldoc/Changelog
new file mode 100644
index 000000000..c24017717
--- /dev/null
+++ b/pcr/htmldoc/Changelog
@@ -0,0 +1,24 @@
+2013-09-17 Mariusz Libera <mariusz.libera@gmail.com>
+
+ 1.8.27-4:
+ * remove htmldoc.ps - it saves us a LOT of space (~150M)
+
+2013-08-27 Mariusz Libera <mariusz.libera@gmail.com>
+
+ 1.8.27-3:
+ * merged htmldoc and htmldoc-patched
+ * surrounded paths with variables with quotation marks
+
+2013-06-17 Mariusz Libera <mariusz.libera@gmail.com>
+
+ 1.8.27-2:
+ * new maintainer
+ * updated PKGBUILD
+ * included patches from Debian and one from Fedora
+ * added documentation
+ * added mime file
+ * fixed dependencies
+ * changed the way icons are installed
+ * added .install file updateing mime,desktop,icons
+ * added Changelog
+
diff --git a/pcr/htmldoc/PKGBUILD b/pcr/htmldoc/PKGBUILD
new file mode 100644
index 000000000..b99e56f0a
--- /dev/null
+++ b/pcr/htmldoc/PKGBUILD
@@ -0,0 +1,75 @@
+# Contributor: Mariusz Libera <mariusz.libera@gmail.com>
+# Contributor: mortdeus <mortdeus@gocos2d.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: tobias <tobias@archlinux.org>
+# Contributor: Simon Rutishauser <simon.rutishauser@gmx.ch>
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=htmldoc
+pkgver=1.8.27
+pkgrel=4
+pkgdesc="Produce PDF or Postscript from HTML documents including TOCs and Indices"
+arch=('i686' 'x86_64')
+url="http://www.htmldoc.org"
+license=('GPL2')
+depends=('libxpm' 'fltk' 'libjpeg' 'openssl' 'shared-mime-info')
+conflicts=('htmldoc-svn')
+changelog=Changelog
+install=$pkgname.install
+source=("http://www.msweet.org/files/project1/htmldoc-${pkgver}-source.tar.gz"
+ 'cve-2009-3050.patch'
+ 'fortify-fail.patch'
+ 'libpng15.patch'
+ 'manpage-fixes.patch'
+ 'useful-build-info.patch')
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+
+ # apply patches
+ for patch in ../*.patch ; do
+ patch -Np1 -i $patch
+ done
+
+ # fix desktop file
+ echo "MimeType=application/vnd.htmldoc-book;" >> desktop/htmldoc.desktop
+ sed -i 's/X-Red-Hat.*$//' desktop/htmldoc.desktop
+ sed -i 's/htmldoc.png/htmldoc/' desktop/htmldoc.desktop
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make install \
+ prefix="$pkgdir/usr" \
+ bindir="$pkgdir/usr/bin" \
+ mandir="$pkgdir/usr/share/man"
+
+ # documentation
+ install -m644 \
+ CHANGES.txt \
+ README.txt \
+ "$pkgdir/usr/share/doc/htmldoc"
+
+ # documentation in .ps is way to heavy - this saves ~150M
+ rm "$pkgdir/usr/share/doc/htmldoc/htmldoc.ps"
+
+ # desktop file
+ install -Dm644 desktop/htmldoc.desktop \
+ "$pkgdir/usr/share/applications/htmldoc.desktop"
+
+ # icons
+ for s in 16 24 32 48 64 96 128; do
+ install -Dm644 desktop/htmldoc-${s}.png \
+ "$pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/htmldoc.png"
+ done
+
+ # mime
+ install -Dm644 desktop/htmldoc.xml \
+ "$pkgdir/usr/share/mime/packages/htmldoc.xml"
+}
diff --git a/pcr/htmldoc/cve-2009-3050.patch b/pcr/htmldoc/cve-2009-3050.patch
new file mode 100644
index 000000000..8d0fd173a
--- /dev/null
+++ b/pcr/htmldoc/cve-2009-3050.patch
@@ -0,0 +1,41 @@
+Description: Fix for CVE-2009-3050
+ This patch fixes a buffer overflow when setting custom page output size.
+Author: Giuseppe Iuculano <iuculano@debian.org>
+Bug-Debian: http://bugs.debian.org/537637
+Bug-Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=278186
+Bug: http://www.htmldoc.org/str.php?L214+P0+S0+C0+I0+E0+M1000+Qversion:1.8
+Last-Update: 2011-02-20
+
+--- htmldoc-1.8.27.orig/htmldoc/util.cxx
++++ htmldoc-1.8.27/htmldoc/util.cxx
+@@ -484,7 +484,7 @@ set_page_size(const char *size) /* I - P
+ PageWidth = 595;
+ PageLength = 792;
+ }
+- else if (sscanf(size, "%fx%f%s", &width, &length, units) >= 2)
++ else if (sscanf(size, "%fx%f%254s", &width, &length, units) >= 2)
+ {
+ /*
+ * Custom size...
+--- htmldoc-1.8.27.orig/htmldoc/ps-pdf.cxx
++++ htmldoc-1.8.27/htmldoc/ps-pdf.cxx
+@@ -12512,7 +12512,7 @@ write_type1(FILE *out, /* I - Fil
+ * assigned charset...
+ */
+
+- if (sscanf(line, "%*s%*s%*s%*s%d%*s%*s%s", &width, glyph) != 2)
++ if (sscanf(line, "%*s%*s%*s%*s%d%*s%*s%63s", &width, glyph) != 2)
+ continue;
+
+ for (ch = 0; ch < 256; ch ++)
+--- htmldoc-1.8.27.orig/htmldoc/htmllib.cxx
++++ htmldoc-1.8.27/htmldoc/htmllib.cxx
+@@ -2139,7 +2139,7 @@ htmlLoadFontWidths(void)
+ * assigned charset...
+ */
+
+- if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%s", &width, glyph) != 2)
++ if (sscanf(line, "%*s%*s%*s%*s%f%*s%*s%63s", &width, glyph) != 2)
+ continue;
+
+ for (ch = 0; ch < 256; ch ++)
diff --git a/pcr/htmldoc/fortify-fail.patch b/pcr/htmldoc/fortify-fail.patch
new file mode 100644
index 000000000..32ec88735
--- /dev/null
+++ b/pcr/htmldoc/fortify-fail.patch
@@ -0,0 +1,21 @@
+diff -ur htmldoc-1.8.27~/htmldoc/ps-pdf.cxx htmldoc-1.8.27/htmldoc/ps-pdf.cxx
+--- htmldoc-1.8.27~/htmldoc/ps-pdf.cxx 2009-08-13 19:32:21.846860508 -0400
++++ htmldoc-1.8.27/htmldoc/ps-pdf.cxx 2009-08-13 19:40:29.185857503 -0400
+@@ -8619,7 +8619,7 @@
+ return (NULL);
+ }
+ // Safe because buffer is allocated...
+- strcpy((char *)r->data.text.buffer, (char *)data);
++ memcpy((char *)r->data.text.buffer, (char *)data, strlen((char *)data));
+ get_color(_htmlTextColor, r->data.text.rgb);
+ break;
+ case RENDER_IMAGE :
+@@ -8640,7 +8640,7 @@
+ return (NULL);
+ }
+ // Safe because buffer is allocated...
+- strcpy((char *)r->data.link, (char *)data);
++ memcpy((char *)r->data.link, (char *)data, strlen((char *)data));
+ break;
+ }
+
diff --git a/pcr/htmldoc/htmldoc.install b/pcr/htmldoc/htmldoc.install
new file mode 100644
index 000000000..f1b73efac
--- /dev/null
+++ b/pcr/htmldoc/htmldoc.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database /usr/share/mime &> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/pcr/htmldoc/libpng15.patch b/pcr/htmldoc/libpng15.patch
new file mode 100644
index 000000000..02f1d2330
--- /dev/null
+++ b/pcr/htmldoc/libpng15.patch
@@ -0,0 +1,122 @@
+Description: libpng 1.5 fixes
+ This patch fixes incompatibilities with libpng 1.5.
+Bug: http://www.htmldoc.org/str.php?L243+Qversion:1.8
+Origin: http://www.htmldoc.org/str.php?F243+P0+S-2+C0+I0+E0+M10+Qversion%3A1.8
+Forwarded: not-needed
+Last-Update: 2011-12-04
+
+Index: htmldoc-1.8.27/htmldoc/image.cxx
+===================================================================
+--- htmldoc-1.8.27.orig/htmldoc/image.cxx 2011-12-04 22:32:01.000000000 -0500
++++ htmldoc-1.8.27/htmldoc/image.cxx 2011-12-04 22:35:32.000000000 -0500
+@@ -1472,6 +1472,9 @@
+ png_bytep *rows; /* PNG row pointers */
+ uchar *inptr, /* Input pixels */
+ *outptr; /* Output pixels */
++ png_bytep trans_alpha;
++ int num_trans;
++ png_color_16p trans_color;
+
+
+ /*
+@@ -1499,7 +1502,7 @@
+
+ rows = NULL;
+
+- if (setjmp(pp->jmpbuf))
++ if (setjmp(png_jmpbuf(pp)))
+ {
+ progress_error(HD_ERROR_BAD_FORMAT, "PNG file contains errors!");
+
+@@ -1526,7 +1529,7 @@
+
+ png_read_info(pp, info);
+
+- if (info->color_type & PNG_COLOR_MASK_PALETTE)
++ if (png_get_color_type(pp, info) & PNG_COLOR_MASK_PALETTE)
+ {
+ png_set_expand(pp);
+
+@@ -1535,15 +1538,15 @@
+ if (Encryption)
+ img->use ++;
+ }
+- else if (info->bit_depth < 8)
++ else if (png_get_bit_depth(pp, info) < 8)
+ {
+ png_set_packing(pp);
+ png_set_expand(pp);
+ }
+- else if (info->bit_depth == 16)
++ else if (png_get_bit_depth(pp, info) == 16)
+ png_set_strip_16(pp);
+
+- if (info->color_type & PNG_COLOR_MASK_COLOR)
++ if (png_get_color_type(pp, info) & PNG_COLOR_MASK_COLOR)
+ {
+ depth = 3;
+ img->depth = gray ? 1 : 3;
+@@ -1554,10 +1557,11 @@
+ img->depth = 1;
+ }
+
+- img->width = info->width;
+- img->height = info->height;
++ img->width = png_get_image_width(pp, info);
++ img->height = png_get_image_height(pp, info);
+
+- if ((info->color_type & PNG_COLOR_MASK_ALPHA) || info->num_trans)
++ png_get_tRNS(pp, info, &trans_alpha, &num_trans, &trans_color);
++ if ((png_get_color_type(pp, info) & PNG_COLOR_MASK_ALPHA) || num_trans)
+ {
+ if ((PSLevel == 0 && PDFVersion >= 14) || PSLevel == 3)
+ image_need_mask(img, 8);
+@@ -1571,14 +1575,14 @@
+
+ #ifdef DEBUG
+ printf("color_type=0x%04x, depth=%d, img->width=%d, img->height=%d, img->depth=%d\n",
+- info->color_type, depth, img->width, img->height, img->depth);
+- if (info->color_type & PNG_COLOR_MASK_COLOR)
++ png_get_color_type(pp, info), depth, img->width, img->height, img->depth);
++ if (png_get_color_type(pp, info) & PNG_COLOR_MASK_COLOR)
+ puts(" COLOR");
+ else
+ puts(" GRAYSCALE");
+- if ((info->color_type & PNG_COLOR_MASK_ALPHA) || info->num_trans)
++ if ((png_get_color_type(pp, info) & PNG_COLOR_MASK_ALPHA) || num_trans)
+ puts(" ALPHA");
+- if (info->color_type & PNG_COLOR_MASK_PALETTE)
++ if (png_get_color_type(pp, info) & PNG_COLOR_MASK_PALETTE)
+ puts(" PALETTE");
+ #endif // DEBUG
+
+@@ -1594,9 +1598,9 @@
+ * Allocate pointers...
+ */
+
+- rows = (png_bytep *)calloc(info->height, sizeof(png_bytep));
++ rows = (png_bytep *)calloc(png_get_image_height(pp, info), sizeof(png_bytep));
+
+- for (i = 0; i < (int)info->height; i ++)
++ for (i = 0; i < (int)png_get_image_height(pp, info); i ++)
+ rows[i] = img->pixels + i * img->width * depth;
+
+ /*
+@@ -1610,7 +1614,7 @@
+ * Generate the alpha mask as necessary...
+ */
+
+- if ((info->color_type & PNG_COLOR_MASK_ALPHA) || info->num_trans)
++ if ((png_get_color_type(pp, info) & PNG_COLOR_MASK_ALPHA) || num_trans)
+ {
+ #ifdef DEBUG
+ for (inptr = img->pixels, i = 0; i < img->height; i ++)
+@@ -1639,7 +1643,7 @@
+ * Reformat the data as necessary for the reader...
+ */
+
+- if (gray && info->color_type & PNG_COLOR_MASK_COLOR)
++ if (gray && png_get_color_type(pp, info) & PNG_COLOR_MASK_COLOR)
+ {
+ /*
+ * Greyscale output needed...
diff --git a/pcr/htmldoc/manpage-fixes.patch b/pcr/htmldoc/manpage-fixes.patch
new file mode 100644
index 000000000..8a47b8470
--- /dev/null
+++ b/pcr/htmldoc/manpage-fixes.patch
@@ -0,0 +1,42 @@
+Description: Documentation fixes
+ This patch gives us a complete documentation build, and also fixes
+ some minor inaccuracies in the docs.
+Author: Jeff Licquia <licquia@debian.org>
+Last-Update: 2011-02-20
+
+--- htmldoc-1.8.27.orig/doc/Makefile
++++ htmldoc-1.8.27/doc/Makefile
+@@ -40,7 +40,7 @@ SOURCES = intro.html 1-install.html 2-st
+ d-compile.html
+
+ DOCUMENTS = htmldoc.html htmldoc.pdf htmldoc.ps
+-DOCFILES = help.html htmldoc.pdf
++DOCFILES = help.html htmldoc.pdf htmldoc.html htmldoc.ps
+
+ HTMLDOC = ../htmldoc/htmldoc$(EXEEXT) --datadir .. --strict --verbose
+
+--- htmldoc-1.8.27.orig/doc/htmldoc.man
++++ htmldoc-1.8.27/doc/htmldoc.man
+@@ -80,9 +80,11 @@ Specifies the bottom margin in points (n
+ (##in), centimeters (##cm), or millimeters (##mm).
+
+ .TP 5
+---charset \fI{8859-1...8859-15}\fR
++--charset \fIcharset-id\fR
+ .br
+-Specifies the ISO character set to use for the output.
++Specifies the ISO character set to use for the output. Supported
++charsets include some Windows code pages (cp-###), ISO 8859 sets
++1-9, 14, and 15 (iso8859-##), and koi8-r.
+
+ .TP 5
+ --color
+@@ -579,7 +581,7 @@ program.
+ .SH SEE ALSO
+ HTMLDOC Software Users Manual
+ .LP
+-http://www.easysw.com/htmldoc/
++http://www.htmldoc.org/documentation.php
+ .SH AUTHOR
+ Michael Sweet, Easy Software Products
+ .SH TRADEMARKS
diff --git a/pcr/htmldoc/useful-build-info.patch b/pcr/htmldoc/useful-build-info.patch
new file mode 100644
index 000000000..a6e33d1ef
--- /dev/null
+++ b/pcr/htmldoc/useful-build-info.patch
@@ -0,0 +1,25 @@
+Description: Build system patch
+ This patch makes the build system print useful information in case of
+ a build failure.
+Author: Jeff Licquia <licquia@debian.org>
+Forwarded: not-needed
+Last-Update: 2011-02-20
+
+Index: htmldoc-1.8.27/Makedefs.in
+===================================================================
+--- htmldoc-1.8.27.orig/Makedefs.in 2011-02-20 12:18:13.000000000 -0500
++++ htmldoc-1.8.27/Makedefs.in 2011-02-20 12:18:33.000000000 -0500
+@@ -81,13 +81,10 @@
+ # Rules...
+ #
+
+-.SILENT:
+ .SUFFIXES: .a .c .cxx .h .o
+ .c.o:
+- echo Compiling $<...
+ $(CC) $(CFLAGS) -c $<
+ .cxx.o:
+- echo Compiling $<...
+ $(CXX) $(CXXFLAGS) -c $<
+
+ #
diff --git a/pcr/redmine/PKGBUILD b/pcr/redmine/PKGBUILD
new file mode 100644
index 000000000..62754f857
--- /dev/null
+++ b/pcr/redmine/PKGBUILD
@@ -0,0 +1,72 @@
+# Contributor: mawcomw <mawcomw@gmail.com>
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=redmine
+pkgver=2.5.1
+pkgrel=1
+pkgdesc="A flexible project management web application. Written using the Ruby on Rails, it is cross-platform and cross-database."
+arch=('any')
+url="http://www.redmine.org"
+license=('GPL2')
+#depends=('ruby')
+#makedepends=('glibc' 'dialog')
+#checkdepends=()
+optdepends=('ruby: a dynamic, interpreted, open source programming language'
+ 'rvm: a command line tool to easily manage multiple Ruby environments'
+ 'rbenv: another command line tool to easily manage multiple Ruby environments'
+ 'apache: a supported application server'
+ 'nginx: a supported application server'
+ 'tomcat6: a supported application server'
+ 'tomcat7: a supported application server'
+ 'mariadb: MariaDB database support'
+ 'mysql: MySQL database support'
+ 'postgresql: PostgreSQL database support'
+ 'git: Git repository browsing'
+ 'subversion: Subversion repository browsing'
+ 'darcs: Darcs repository browsing'
+ 'bzr: Bazaar repository browsing'
+ 'mercurial: Mercurial repository browsing'
+ 'cvs: CVS repository browsing'
+ 'imagemagick: Image export support for Gantt')
+provides=('redmine')
+#conflicts=()
+#replaces=()
+backup=('usr/share/webapps/redmine/config/configuration.yml'
+ 'usr/share/webapps/redmine/config/database.yml')
+#options=()
+#install=redmine.install
+#changelog
+source=("http://www.redmine.org/releases/$pkgname-$pkgver.tar.gz")
+#noextract
+
+build() {
+ return 0
+}
+
+package() {
+ _redmine_installation_path="/usr/share/webapps/redmine"
+ cd "$srcdir/redmine-$pkgver"
+
+ # install in /usr/share/webapps
+ _instdir="$pkgdir/${_redmine_installation_path}"
+ mkdir -p ${_instdir}
+ cp -ra . ${_instdir}
+
+ # create required directories
+ mkdir -p "${_instdir}/public/plugin_assets"
+ #mkdir -p "${_instdir}/tmp/pdf"
+ #mkdir -p "${_instdir}/files"
+ #mkdir -p "${_instdir}/log"
+
+ # set the group that will run the http server to have write permission (for apache it should be http)
+ chmod -R g+w "${_instdir}/tmp"
+ chmod g+w "${_instdir}/files"
+ chmod g+w "${_instdir}/log"
+
+ # set the http server user:group that will run the application
+ #chgrp -R http ${_instdir}
+
+ # Create systemd service
+ #mkdir -p "$pkgdir/usr/lib/systemd/system/"
+ #install -m 644 "$srcdir/redmine.service" "$pkgdir/usr/lib/systemd/system/"
+}
diff --git a/pcr/yoshimi/PKGBUILD b/pcr/yoshimi/PKGBUILD
new file mode 100644
index 000000000..26b16308e
--- /dev/null
+++ b/pcr/yoshimi/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: David Adler <david dot jo dot adler at gmail dot com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=yoshimi
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="ZynAddSubFX fork with improved JACK audio & MIDI IO"
+arch=('i686' 'x86_64')
+url="http://yoshimi.sourceforge.net/"
+license=('GPL')
+depends=('jack' 'fltk' 'fftw' 'mxml' 'cairo')
+makedepends=('cmake' 'boost' 'mesa')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/project/$pkgname/1.2/$pkgname-$pkgver.tar.bz2")
+md5sums=('a455f47d6c533ce0b3d64445d3cbf6de')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver/src"
+ cmake . -DCMAKE_INSTALL_PREFIX="$pkgdir/usr"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/src"
+ make install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/yoshimi/yoshimi.install b/pcr/yoshimi/yoshimi.install
new file mode 100644
index 000000000..655df27a5
--- /dev/null
+++ b/pcr/yoshimi/yoshimi.install
@@ -0,0 +1,19 @@
+post_install() {
+ echo "
+Upon first exit, a configuration file
+~/.config/yoshimi/yoshimi.config
+will be written.
+
+Thus, if the instrument banks are empty,
+do one initial exit, then restart.
+"
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
diff --git a/pcr/zulucrypt/PKGBUILD b/pcr/zulucrypt/PKGBUILD
new file mode 100644
index 000000000..3beb2a7f8
--- /dev/null
+++ b/pcr/zulucrypt/PKGBUILD
@@ -0,0 +1,37 @@
+# Contributor: Salan54 <salan at fremenil dot com>
+# Maintainer : Parabola Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=zulucrypt
+pkgver=4.7.1
+pkgrel=1
+_altpkgname=zuluCrypt
+pkgdesc="a cli and gui frontend to cryptsetup."
+url="http://code.google.com/p/zulucrypt/"
+arch=('x86_64' 'i686')
+license=('GPL')
+depends=('cryptsetup' 'qt4' 'libpwquality' 'libsecret' 'tcplay')
+optdepends=('kdeutils-kwallet: retrieve volume keys from kde kwallet')
+conflicts=('zulucrypt-git')
+makedepends=('cmake')
+options=('!buildflags')
+source=("https://github.com/mhogomchungu/zuluCrypt/releases/download/${pkgver}/${_altpkgname}-${pkgver}.tar.bz2")
+changelog=${pkgname}.changelog
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${_altpkgname}-${pkgver}"
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DNOKDE=true -DCMAKE_BUILD_TYPE=release . ..
+ make
+}
+
+package() {
+ echo "changelog updated"
+ cp "${srcdir}/${_altpkgname}-${pkgver}"/changelog ../${pkgname}.changelog
+ cd "${srcdir}/${_altpkgname}-${pkgver}"
+ cd build
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/zulucrypt/zulucrypt.changelog b/pcr/zulucrypt/zulucrypt.changelog
new file mode 100644
index 000000000..f69f7f5d4
--- /dev/null
+++ b/pcr/zulucrypt/zulucrypt.changelog
@@ -0,0 +1,187 @@
+
+version 1.0.1
+fix bug:
+- On interactive mode, checking if the two passphrases are the same fails something when stdin buffer isnt emptied before reading the first password.
+
+","(comma) is not a valid mount point path. the cli prevents this but the GUI just fails without informing a user why. Added a dialog to inform a user
+when they select comma as a mount point.
+
+comma as a mount point is disallowed because it sits right next to "dot" button and most people(ie. me) usually press "."(dot) key to mean "present working directory"
+but will miss the key and press comma key and start wondering why things arent they way they are supposed to be.
+The comma key should have been on the other side of the keyboard!!!
+
+version 2.0
+add support for adding and deleting keys in luks based volumes in the cli and gui.
+
+version 3.0
+add support for creating both plain and luks based volumes in both files and partitions.
+
+version 4.0
+-- host UI blocking code in a different threads to remove/minimize UI freezes
+-- use only cryptsetup.so library to interface with cryptsetup
+-- allow a user to select what random number generator to use
+-- add the ability to create key files
+-- Font size and type are now configurable
+-- add support for favorite volumes
+-- warn in the UI on attempt to delete a key when there is only one key left
+-- refuse to attemp to add more keys when key slots are full.
+-- implement tray icon to minimize to tray
+-- provide a complete docs in a header file on how to interface with libzuluCrypt.so
+-- include partitions in /etc/crypttab in a list of system partitions.
+
+version 4.1.0
+-- minor update, fix bugs comming from mishandling of files and paths with empty spaces in them.
+
+version 4.2.0
+-- minor update, volume in the favorite list could not be mounted, this version fix it.
+
+version 4.3.0
+-- fix bugs in zulucrypt-gui triggered by use of double quotes in file and path names
+-- fix a bug. fat based volumes mounted with wrong permissions and only root user could write to the opened volume
+-- volumw property now displays file system type, volume size, volume size used, volume size available and percentage used.
+-- Fix a bug that prevented adding a new key from key file to a luks volume when the existing key was from a passphrase.
+-- The password dialog had a bug and did not reset properly when the previous operation involved opening a keyfile.
+-- Add an option to close all opened volumes with a single click.
+-- Created volumes with extX file systems now use 1% reserved space instead of the default 5%.
+-- Encrypted files can now be created using "/dev/random","/dev/urandom" or "/dev/zero"
+-- Add a UI option to select a random number generator to use to all dialogs that deals with features that need it.
+-- Add option to just minimize or minimize to tray the main window.
+-- various other UI and functionality fixes.
+
+version 4.3.1
+-- A bit more UI effects when opening and closing of volumes.
+-- Context menu on opened volumes can now be triggered with CTRL+M or or menu key for better keyboard only management of the tool
+-- Device addresses can be given in a form of "/dev/XYZN" or "UUID=bla-bla-bla".
+-- various fixes
+-- A separate window to manage favorite volumes
+
+version 4.3.2
+-- ext3/ext4 can not be mounted with user specified permissions and they use the permissions set when the volume was last mounted.
+ This creates a problem on freshly created volumes because they always end up owned by root. This update fix the problem by setting
+ permissions everytime a volume is opened in read/write mode. If a volume open with root as owner, then reopen the volume in read/write
+ mode and permissions will be set properly(0700 with the owner being the user who opened the volume)
+
+
+version 4.3.3
+-- fix a bug that caused improper reading of key files if they were not made up of C strings.
+-- fix a bug triggered when attempting to open a plain type volume using aes-cbc-plain cypher( opening plain volume in legacy mode ).
+
+version 4.3.4
+-- fix a compilation bug on some system
+-- support libmount both above and below version 2.18
+
+version 4.4.0
+-- lots of code added to increase security and reliability of the tool,updating strongly advised.
+-- when creating a volume, use mkfs.xxx tools installed on the system and not hard code a subset of them.
+-- use ntfs-3g to mount volumes that use ntfs file system.
+-- major cli interface change, run zulucrypt-cli --help for more info.
+-- normal users can not create volumes in system partitions but root user now can. system partition is defined as a partition
+ with active entry(not commented out) in /etc/fstab and /etc/crypttab.
+
+version 4.5.0
+-- add support for creating backups of luks headers and restoring luks headers
+-- add support for first writing random data to partitions before creating an encryped container in them.
+-- add support for "/etc/zuluCrypttab". A place to add additional paths to devices to be considered system devices.
+-- various security related fixes.
+-- add support for encrypting stand alone files
+
+version 4.5.1
+-- add the ability to manage system volumes in the UI,the GUI must be running from root account for the ability to be enabled
+-- by default, volumes are opened in read/write mode.
+
+version 4.5.2
+-- a quick update to fix a regression in stand alone file encryption.
+
+version 4.5.3
+-- add a plug in architecture. Its now possible to send zulucrypt-cli passphrases through different means, default plugins can retrieve
+ passphrases from kde kwallet,gnome keyring,gpg encryped key files and a combination of keyfile and passphrase.
+-- show a dialog to warn a user the volume will be opened in read only mode when whey tick the option for the first time.
+-- passphrases are sent to the back end in a more secure way using unix local socket.
+-- small attempt to hide passphrases from ps command if they are passed through the command line argument.
+-- passphrases stored in kde kwallet can be managed from within zulucrypt-gui if their support is enabled at build time.
+
+version 4.6.0
+-- add support for opening and closing of truecrypt volumes,this feature need cryptsetup >= 1.6.0
+
+version 4.6.1
+-- fix a regression that caused volumes presented by their UUID not to working
+
+version 4.6.2
+-- add config option to not build KDE and/or GNOME support even when the system has support for them
+-- add support for LVM volumes
+-- add support for consulting udev in addition to fstab when deciding if a system is system or not
+-- add tcplay as an optional dependency to allow creation of truecrypt volumes
+-- fix bug:truecrypt volumes with multiple ciphers did not close properly
+-- fix bug:volumes did not close properly if mount point had a space character among others in it
+-- feature added:users who are members of "zulumount-exec" group will have their volumes opened with "exec" mount option.
+ This will allow them to be able to execute commands from the mount point.The default and recommended option is not mount with "noexec" option.
+-- feature added:A "-M" option is added that will create a publicly accessible "mirror" of a mount point in "/run/share" from the private
+ original one created in "/run/media/$USER.This option is there to allow a user to mount a volume and have it accessible from other users of the system.
+-- zuluMount-gui now adds and removed from its list as devices are added and removed from the system.A right click context menu option can be set to allow
+ unencrypted volumes to also be automounted.
+-- add a command line option to zuluMount-gui to start it up without showing the GUI
+
+version 4.6.3
+-- fix a build issue on some systems
+-- when automounting devices,use device LABEL if present
+-- its now possible to create truecrypt volumes using a keyfile
+-- its now possible to open a truecrypt hidden volume
+-- add explicit support md raid based volumes
+-- add context menu entry in zuluMount-gui to open shared mount point folder
+-- its now possible to initiate volume mounting process of volumes in files by drag and drop them on zuluCrypt-gui and zuluMount-gui UI.
+-- various bug fixes.
+-- add ability to create and open truecrypt hidden volumes in the GUI
+
+version 4.6.4
+-- fix a build issue on some systems
+
+version 4.6.5
+-- add support for opening truecrypt system volumes
+-- add internatiolization support
+-- zuluMount-gui is now aware of volumes that are mounted or unmounted outside of it.This gives zuluMount-gui an ability to automount
+ newly attached devices.
+-- encrypted volumes that reside in files can be opened simply by drag and drop them in zuluCrypt-gui or zuluMount-gui windows
+
+version 4.6.6
+-- fix a regression,retrieving keys from kwallet using volume UUID broke.
+-- volumes in gnome are now stored in libsecret and no longer in libgnome-keyring
+-- add a GUI window in zuluCrypt-gui to manage keys in libsecret wallet,internal wallet and kde kwallet.
+-- add an internal system that can securely store keys independently of kde kwallet and gnome libsecret.Useful to those who
+ want to store keys securely but dont want gnome or kde dependencies
+-- add compile time option to use mount points in user home directory instead of "/run/media/private"
+-- NOTE: changes in management of wallets are not backward compatible and hence volumes will have to be readded after the update.My
+ apologies for the inconvenience.
+-- drop support for updating /etc/mtab and remove libmount as a required dependency
+-- add a Qt5 port,see build instrunctions on how to build Qt5 version
+
+version 4.6.7
+-- fix packaging issues
+-- fix a regression on zuluMount-gui that caused a hang when checking for properties of an opened volume opened by a different user
+
+version 4.6.8
+-- store partition id in wallets by device hardware id on volumes that do not have UUID( non LUKS volumes )
+-- add support for exfat file system.
+-- add support for creating a backup and restoring from backup truecrypt volume headers(tcplay >=2.0.0 required)
+-- add a simple CLI tool(zuluSafe-cli) that can be used to store multiple files securely in a single wallet file.
+-- add support in zuluMount for opening a plain volume at a user specified offset.This ability will allow hidden volume type
+ functionality.In one of the prompts in zuluMount-gui,press "ctrl+f" to bring up the dialog that accepts the offset.
+-- add support for multi device btrfs volumes.
+
+version 4.6.9
+-- move config files to "/etc/zuluCrypt" from "/etc"
+-- add a config file "/etc/zuluCrypt/fs_options" where default file system mount options can be specified per UUID.
+ -format is:one entry per line,example entry: UUID="abcf" uid=500
+-- fix a bug,if udev is enabled,mounted image files were always treated as system volumes.
+-- use libgcrypt for stand alone file encryption instead of cryptsetup.Newer stand alone encrypted files will have an extension of ".zC" to
+ distinguish them from previous ones that use ".zc".Older versions of zuluCrypt(<4.6.9) will not be able to open encrypted files that
+ end with ".zC".
+-- add an option in zuluCrypt GUI to specify a truecrypt volume type when saving or restoring a truecrypt header from a backup header file
+
+version 4.7.0
+-- various changes and improvements
+-- add a plugin named "steghide" that retrives passphrases embeded in other files using "steghide" tool.
+-- add a plugin named "luks" that allows opening a LUKS volume using a backup/detached header.
+-- add a plugin named "tomb" that allows opening of LUKS volumes from tomb project using keys securely stored in image files.
+
+version 4.7.1
+-- fix a build issue in gcc 4.9
diff --git a/pcr/zulucrypt/zulucrypt.install b/pcr/zulucrypt/zulucrypt.install
new file mode 100644
index 000000000..0113edd54
--- /dev/null
+++ b/pcr/zulucrypt/zulucrypt.install
@@ -0,0 +1,9 @@
+post_install() {
+ update-desktop-database -q
+}
+post_upgrade() {
+ post_install
+}
+post_remove() {
+ post_install
+}