diff options
author | fauno <fauno@endefensadelsl.org> | 2017-05-08 20:17:04 -0300 |
---|---|---|
committer | fauno <fauno@endefensadelsl.org> | 2017-05-08 20:17:04 -0300 |
commit | 1dc35dfeb620ba69a2bf98f851004a8a3910e6bf (patch) | |
tree | 704d62e38d22b78f2ce47d45f40d6010ac29c05c /pcr | |
parent | 76c5bdc462d20d7f3cab5b4a1cce4aef3fdfc262 (diff) | |
parent | 0a460333cde2921bb6075fd5e1c18dfa4c5e8ada (diff) | |
download | abslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.tar.gz abslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.tar.bz2 abslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.zip |
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/apparmor-openrc/PKGBUILD | 10 | ||||
-rw-r--r-- | pcr/apparmor-openrc/apparmor-init | 2 | ||||
-rw-r--r-- | pcr/apparmor/PKGBUILD | 51 | ||||
-rw-r--r-- | pcr/apparmor/apparmor_load.sh | 2 | ||||
-rw-r--r-- | pcr/apparmor/apparmor_unload.sh | 5 | ||||
-rw-r--r-- | pcr/arno-iptables-firewall/PKGBUILD | 5 | ||||
-rw-r--r-- | pcr/aurvote/PKGBUILD | 3 | ||||
-rw-r--r-- | pcr/cadabra2/PKGBUILD | 35 | ||||
-rw-r--r-- | pcr/cadabra2/package.install | 11 | ||||
-rw-r--r-- | pcr/cadabra2/package.patch | 28 | ||||
-rw-r--r-- | pcr/collada-dom/PKGBUILD | 6 |
11 files changed, 120 insertions, 38 deletions
diff --git a/pcr/apparmor-openrc/PKGBUILD b/pcr/apparmor-openrc/PKGBUILD index ccf78fa01..bd8db8b14 100644 --- a/pcr/apparmor-openrc/PKGBUILD +++ b/pcr/apparmor-openrc/PKGBUILD @@ -2,7 +2,7 @@ pkgname=apparmor-openrc pkgver=20160816 -pkgrel=1 +pkgrel=2 pkgdesc="OpenRC apparmor init script" arch=('any') url="http://apparmor.net/" @@ -11,11 +11,11 @@ depends=('apparmor' 'openrc') install='apparmor.install' _filename='apparmor-init' source=("https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-apps/apparmor/files/$_filename") -sha256sums=('6357f9645587de19c46d824215ca4c3be99c488e8da9bd0e403b69e33ba8ed07') +sha256sums=('fb8d7b46e682b452ba3061cca6eaf32b6a8f542208e35ea823e8c9c3bc89f764') -pkgver() { - date +%Y%m%d -} +#pkgver() { +# date +%Y%m%d +#} _inst_initd(){ install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1 diff --git a/pcr/apparmor-openrc/apparmor-init b/pcr/apparmor-openrc/apparmor-init index 48877e4b6..2c7836b48 100644 --- a/pcr/apparmor-openrc/apparmor-init +++ b/pcr/apparmor-openrc/apparmor-init @@ -56,7 +56,7 @@ aa_log_end_msg() { eend $1 } -. /usr/libexec/rc.apparmor.functions +. /usr/lib/apparmor/rc.apparmor.functions start() { ebegin "Starting AppArmor" diff --git a/pcr/apparmor/PKGBUILD b/pcr/apparmor/PKGBUILD index 070f4c64f..def30d3e4 100644 --- a/pcr/apparmor/PKGBUILD +++ b/pcr/apparmor/PKGBUILD @@ -1,36 +1,43 @@ -# Mantainer (Arch): Thomas Kuther <archlinux@kuther.net> -# Contributor (Arch): Gianni Vialetto <gianni at rootcube dot net> -# Contributor (Arch): Paul N. Maxwell <msg dot maxwel at gmail dot com> -# Contributor (Arch): Thomas Mudrunka <harvie@@email..cz> -# Contributor (Arch): Max Fierke <max@maxfierke.com> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> +# Maintainer: David P. <megver83@parabola.nu> +# Contributor: Omar Vega Ramos <ovruni@gnu.org.pe> +# Contributor: Marcin Wieczorek <marcin@marcin.co> +# Contributor: Thomas Kuther <archlinux@kuther.net> +# Contributor: Gianni Vialetto <gianni at rootcube dot net> +# Contributor: Paul N. Maxwell <msg dot maxwel at gmail dot com> +# Contributor: Thomas Mudrunka <harvie@@email..cz> +# Contributor: Max Fierke <max@maxfierke.com> pkgbase=apparmor pkgname=($pkgbase apparmor-parser apparmor-libapparmor apparmor-utils apparmor-profiles apparmor-pam apparmor-vim) -pkgver=2.10 +pkgver=2.11.0 #_majorver=${pkgver%.*} # bleh, AUR... -_majorver=2.10 -pkgrel=2 +_majorver=2.11 +pkgrel=1 pkgdesc='Linux application security framework - mandatory access control for programs' arch=('i686' 'x86_64') license=('GPL') url='http://wiki.apparmor.net/index.php/Main_Page' -makedepends=('bzr' 'flex' 'swig' 'perl' 'python' 'perl-locale-gettext' 'perl-rpc-xml' 'audit') +makedepends=('flex' 'swig' 'perl' 'python' 'perl-locale-gettext' 'perl-rpc-xml' 'audit') -source=("https://launchpad.net/$pkgname/${_majorver}/$pkgver/+download/$pkgname-$pkgver.tar.gz" +source=(https://launchpad.net/$pkgname/${_majorver}/${_majorver}/+download/${pkgname}-${pkgver}.tar.gz{,.asc} "apparmor_load.sh" "apparmor_unload.sh" "apparmor.service") -sha256sums=('4d0e224257a29671b694bd9054edf0dd213aa690fd02844ecf3329b86ac506f4' - 'd2fea5a62bacae350cfe56bad1b293c12afe803bec10e546b901324e582e89af' - '076aebfa815543f85d26215056a921996fbff14d1678ddfa07ab50dbfda94ba1' +sha256sums=('b1c489ea11e7771b8e6b181532cafbf9ebe6603e3cb00e2558f21b7a5bdd739a' + 'SKIP' + '124300162dab2a923c024b91c5a977dbee901376a22eefc64cad2f91319876d5' + '9704478ae13fe1c3fb2747afac86c31b1b4593493f0e1425ae2b77d47878e32e' 'eea47ec2a3fb0c1104193bed91586cfccda745f2e0a473f6d1d2a0d2fe42c413') +# 3D3664BB: AppArmor Development Team (AppArmor signing key) <apparmor@lists.ubuntu.com> +validpgpkeys=('3ECDCBA5FB34D254961CC53F6689E64E3D3664BB') + #Configuration core_perl_dir='/usr/bin/core_perl' export MAKEFLAGS+=" POD2MAN=${core_perl_dir}/pod2man" export MAKEFLAGS+=" POD2HTML=${core_perl_dir}/pod2html" +export MAKEFLAGS+=" PODCHECKER=${core_perl_dir}/podchecker" export MAKEFLAGS+=" PROVE=${core_perl_dir}/prove" export MAKEFLAGS+=" PYTHON=python3" @@ -52,7 +59,7 @@ prepare() { cd "${srcdir}/${pkgbase}-${pkgver}/profiles/apparmor.d" # /usr merge vs. profiles for i in `find . -name "*sbin*"`; do sed -i -e 's@sbin@bin@g' ${i} && mv ${i} ${i/sbin/bin}; done - for i in klogd ping syslog-ng syslogd; do + for i in klogd ping syslog-ng syslogd; do sed -e "s@/bin/${i}@/usr/bin/${i}@g" \ -e "s@bin\.${i}@usr\.bin\.${i}@g" \ -i bin.${i} && \ @@ -94,7 +101,7 @@ package_apparmor() { package_apparmor-parser() { pkgdesc='AppArmor parser - loads AA profiles to kernel module' - depends=('apparmor-libapparmor' 'bash') + depends=('apparmor-libapparmor') cd "${srcdir}/${pkgbase}-${pkgver}" make -C parser install DESTDIR=${pkgdir} @@ -108,18 +115,18 @@ package_apparmor-libapparmor() { depends=('python') cd "${srcdir}/${pkgbase}-${pkgver}" - make -C libraries/libapparmor install DESTDIR=${pkgdir} + make -C libraries/libapparmor install DESTDIR="${pkgdir}" install -D -m644 "libraries/libapparmor/swig/perl/LibAppArmor.pm" "${pkgdir}/usr/lib/perl5/vendor_perl/" } package_apparmor-utils() { pkgdesc='AppArmor userspace utilities' - depends=('perl' 'perl-locale-gettext' 'perl-term-readkey' - 'perl-file-tail' 'perl-rpc-xml' 'python' 'bash') + depends=('perl' 'perl-locale-gettext' 'perl-term-readkey' + 'perl-file-tail' 'perl-rpc-xml' 'python') install='apparmor-utils.install' cd "${srcdir}/${pkgbase}-${pkgver}" - make -C utils install DESTDIR=${pkgdir} BINDIR=${pkgdir}/usr/bin + make -C utils install DESTDIR="${pkgdir}" BINDIR="${pkgdir}/usr/bin" install -D -m755 "${srcdir}/apparmor_load.sh" "${pkgdir}/usr/bin/apparmor_load.sh" install -D -m755 "${srcdir}/apparmor_unload.sh" "${pkgdir}/usr/bin/apparmor_unload.sh" install -D -m644 "${srcdir}/apparmor.service" "${pkgdir}/usr/lib/systemd/system/apparmor.service" @@ -135,7 +142,7 @@ package_apparmor-profiles() { backup=(`echo ${_profiles[@]}`) cd "${srcdir}/${pkgbase}-${pkgver}" - make -C profiles install DESTDIR=${pkgdir} + make -C profiles install DESTDIR="${pkgdir}" } package_apparmor-pam() { @@ -143,7 +150,7 @@ package_apparmor-pam() { depends=('apparmor-libapparmor' 'pam') cd "${srcdir}/${pkgbase}-${pkgver}" - make -C changehat/pam_apparmor install DESTDIR=${pkgdir}/usr + make -C changehat/pam_apparmor install DESTDIR="${pkgdir}/usr" install -D -m644 changehat/pam_apparmor/README "${pkgdir}/usr/share/doc/apparmor/README.pam_apparmor" } package_apparmor-vim() { diff --git a/pcr/apparmor/apparmor_load.sh b/pcr/apparmor/apparmor_load.sh index 30ce04086..663ebc045 100644 --- a/pcr/apparmor/apparmor_load.sh +++ b/pcr/apparmor/apparmor_load.sh @@ -2,4 +2,4 @@ aa_profiles='/etc/apparmor.d/' aa_log='/var/log/apparmor.init.log' -/usr/bin/apparmor_parser -r $(find "$aa_profiles" -maxdepth 1 -type f) 2>> "$aa_log" +find "$aa_profiles" -maxdepth 1 -type f -exec /usr/bin/apparmor_parser -r {} + 2>> "$aa_log" diff --git a/pcr/apparmor/apparmor_unload.sh b/pcr/apparmor/apparmor_unload.sh index de13938ab..f2d987dc2 100644 --- a/pcr/apparmor/apparmor_unload.sh +++ b/pcr/apparmor/apparmor_unload.sh @@ -2,7 +2,4 @@ aa_profiles='/etc/apparmor.d/' aa_log='/var/log/apparmor.init.log' -PROFILES=`find "$aa_profiles" -maxdepth 1 -type f` -for profile in $PROFILES; do - apparmor_parser -R "$profile" 2>> "$aa_log" -done +find "$aa_profiles" -maxdepth 1 -type f -exec /usr/bin/apparmor_parser -R {} \; 2>> "$aa_log" diff --git a/pcr/arno-iptables-firewall/PKGBUILD b/pcr/arno-iptables-firewall/PKGBUILD index 38cd370b4..368f5c160 100644 --- a/pcr/arno-iptables-firewall/PKGBUILD +++ b/pcr/arno-iptables-firewall/PKGBUILD @@ -7,7 +7,7 @@ pkgver=2.0.1e pkgrel=1 pkgdesc="A secure stateful firewall for both single and multi-homed machine" arch=('any') -url=(http://rocky.eld.leidenuniv.nl/joomla/) +url='http://rocky.eld.leidenuniv.nl/joomla/' license=('GPL') depends=('iptables' 'iproute2') makedepends=('patch') @@ -67,3 +67,6 @@ package() { # systemd script install -D -m 0644 ${srcdir}/${pkgname}.service ${pkgdir}/usr/lib/systemd/system/${pkgname}.service } +md5sums=('8adb951fb5bc40a6dbe57fb1f1f2c4c6' + 'd4c8252c8b8ee53132bffc9b5912f89a' + '7384fbc95f69f10d5d6e4c7ff89b92dc') diff --git a/pcr/aurvote/PKGBUILD b/pcr/aurvote/PKGBUILD index 25dd1887d..da55eb338 100644 --- a/pcr/aurvote/PKGBUILD +++ b/pcr/aurvote/PKGBUILD @@ -6,10 +6,11 @@ pkgver=1.6 pkgrel=1 pkgdesc="Tool to vote for favorite AUR packages" url="http://git.archlinux.fr/aurvote.git/" -license="GPL" +license=('GPL') arch=('any') depends=('curl') source=($pkgname) +md5sums=('03d149edf8b691578e0da1972de6f448') package() { install -D -m 755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname" diff --git a/pcr/cadabra2/PKGBUILD b/pcr/cadabra2/PKGBUILD new file mode 100644 index 000000000..394910098 --- /dev/null +++ b/pcr/cadabra2/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: David P. <megver83@parabola.nu> +# Contributor: Tarn Burton <twburton at gmail dot com> + +pkgname='cadabra2' +pkgver=2.1.4 +pkgrel=1 +pkgdesc="A computer algebra system designed specifically for the solution of problems encountered in field theory." +arch=('i686' 'x86_64') +url="http://cadabra.science/" +license=('GPL') +conflicts=('cadabra2-git') +depends=('python-matplotlib' 'gtkmm3' 'jsoncpp' 'mathjax' 'boost-libs' 'python-sympy' 'texlive-core') +makedepends=('cmake' 'boost' 'git') +source=("$pkgname::git+https://github.com/kpeeters/cadabra2#tag=$pkgver" "package.patch") +md5sums=('SKIP' + '2cf414a7280fd64858d1d19d38d4bd8c') +install=package.install + +prepare() { + cd "${srcdir}/${pkgname}" + patch -Np1 -i ../package.patch +} + +build() { + cd $pkgname + mkdir -p build + cd build + cmake -DCMAKE_SKIP_RPATH=true -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "${pkgname}/build" + make DESTDIR="${pkgdir}" install +} diff --git a/pcr/cadabra2/package.install b/pcr/cadabra2/package.install new file mode 100644 index 000000000..bcc3dee5a --- /dev/null +++ b/pcr/cadabra2/package.install @@ -0,0 +1,11 @@ +post_install() { + mktexlsr +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/pcr/cadabra2/package.patch b/pcr/cadabra2/package.patch new file mode 100644 index 000000000..63320f971 --- /dev/null +++ b/pcr/cadabra2/package.patch @@ -0,0 +1,28 @@ +diff -aur -bZwB -x .git cadabra2.old/frontend/CMakeLists.txt cadabra2/frontend/CMakeLists.txt +--- cadabra2.old/frontend/CMakeLists.txt 2017-01-29 09:40:31.904324635 -0500 ++++ cadabra2/frontend/CMakeLists.txt 2017-01-29 09:40:54.937598647 -0500 +@@ -25,8 +25,8 @@ + execute_process(COMMAND kpsewhich -var-value=TEXMFLOCAL OUTPUT_VARIABLE INSTALL_LATEX_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) + endif() + # Get the last path in the LaTeX install dir, if there is more than one separated by a ':'. +-#string(REPLACE ":" ";" INSTALL_LATEX_DIR "${INSTALL_LATEX_DIR}") +-#list(GET INSTALL_LATEX_DIR -1 INSTALL_LATEX_DIR) ++string(REPLACE ":" ";" INSTALL_LATEX_DIR "${INSTALL_LATEX_DIR}") ++list(GET INSTALL_LATEX_DIR -1 INSTALL_LATEX_DIR) + set(INSTALL_LATEX_DIR "${INSTALL_LATEX_DIR}/tex/latex/cadabra2") + message("-- Installing LaTeX style files in ${INSTALL_LATEX_DIR}") + install(DIRECTORY DESTINATION ${INSTALL_LATEX_DIR} DIRECTORY_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE +diff -aur -bZwB -x .git cadabra2.old/tests/CMakeLists.txt cadabra2/tests/CMakeLists.txt +--- cadabra2.old/tests/CMakeLists.txt 2017-01-29 09:40:31.907657960 -0500 ++++ cadabra2/tests/CMakeLists.txt 2017-01-29 09:40:54.937598647 -0500 +@@ -37,8 +37,8 @@ + foreach(NBTEST ${NBTESTS}) + add_custom_command(OUTPUT ${CDBOUT}/${NBTEST}.cdb + DEPENDS ${CNBIN}/${NBTEST}.cnb ${DC} +- COMMAND cadabra2cadabra +- ARGS ${CNBIN}/${NBTEST}.cnb ${CDBOUT}/${NBTEST}.cdb ++ COMMAND env ++ ARGS LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/client_server ${CMAKE_BINARY_DIR}/client_server/cadabra2cadabra ${CNBIN}/${NBTEST}.cnb ${CDBOUT}/${NBTEST}.cdb + COMMENT "Creating ${NBTEST} notebook...") + add_custom_target("${NBTEST}_test" ALL echo -n DEPENDS ${CDBOUT}/${NBTEST}.cdb) + add_test(${NBTEST} ${CMAKE_SOURCE_DIR}/core/cadabra2 ${CDBOUT}/${NBTEST}.cdb) diff --git a/pcr/collada-dom/PKGBUILD b/pcr/collada-dom/PKGBUILD index d4756c879..7e4ce717b 100644 --- a/pcr/collada-dom/PKGBUILD +++ b/pcr/collada-dom/PKGBUILD @@ -5,7 +5,7 @@ pkgver=2.4.0 pkgrel=4 pkgdesc="An API that provides a C++ object representation of a ${pkgname::7} XML instance document" url=http://sourceforge.net/projects/$pkgname -license=MIT +license=('MIT') arch=( mips64el x86_64 @@ -20,8 +20,8 @@ makedepends=( boost cmake ) -source=http://downloads.sf.net/$pkgname/$pkgname-$pkgver-libsrc.tgz -sha512sums=4c8cdc159acc89564b46615a0bc73a5ba84a1a5aa41d38661cd0e33a705ce5fd032e9a308fc89f93ec10620892067d757cbff8f1b9ce53da7626ea0e27b0eda5 +source=("http://downloads.sf.net/$pkgname/$pkgname-$pkgver-libsrc.tgz") +sha512sums=('4c8cdc159acc89564b46615a0bc73a5ba84a1a5aa41d38661cd0e33a705ce5fd032e9a308fc89f93ec10620892067d757cbff8f1b9ce53da7626ea0e27b0eda5') prepare() { cd $srcdir/$pkgname-$pkgver-libsrc |