diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/chmsee/PKGBUILD | 14 | ||||
-rw-r--r-- | community/devil/PKGBUILD | 4 | ||||
-rw-r--r-- | community/dspam/PKGBUILD | 8 | ||||
-rw-r--r-- | community/dspam/dspam.install | 10 | ||||
-rw-r--r-- | community/fb-client/PKGBUILD | 4 | ||||
-rw-r--r-- | community/fcron/PKGBUILD | 25 | ||||
-rw-r--r-- | community/fcron/fcron.install | 31 | ||||
-rw-r--r-- | community/iasl/PKGBUILD | 10 | ||||
-rw-r--r-- | community/jnettop/PKGBUILD | 27 | ||||
-rw-r--r-- | community/nemo/PKGBUILD | 8 | ||||
-rw-r--r-- | community/netsurf/PKGBUILD | 14 | ||||
-rw-r--r-- | community/netsurf/netsurf.install | 2 | ||||
-rw-r--r-- | community/shotwell/PKGBUILD | 11 | ||||
-rw-r--r-- | community/synfig/PKGBUILD | 4 |
14 files changed, 121 insertions, 51 deletions
diff --git a/community/chmsee/PKGBUILD b/community/chmsee/PKGBUILD index d10d3b141..d5030ee63 100644 --- a/community/chmsee/PKGBUILD +++ b/community/chmsee/PKGBUILD @@ -1,34 +1,34 @@ -# $Id: PKGBUILD 93170 2013-06-27 01:34:18Z foutrelis $ +# $Id: PKGBUILD 96436 2013-08-28 21:03:26Z lcarlier $ # Maintainer : Laurent Carlier <lordheavym@gmail.com> # Contributor: dionydonny <dionydonny@gmail.com> # Contributor: Ermanno <erm67@yahoo.it> pkgname=chmsee -pkgver=2.0.1 +pkgver=2.0.2 pkgrel=1 arch=('i686' 'x86_64') pkgdesc="A chm (MS HTML help file format) viewer based on xulrunner." url="http://chmsee.googlecode.com/" license=('GPL') -depends=('xulrunner>18.0' 'xulrunner<23.0' 'chmlib' 'desktop-file-utils') +depends=('xulrunner>21.0' 'xulrunner<24.0' 'chmlib' 'desktop-file-utils') makedepends=('python2') #source=(chmsee-$pkgver.tar.gz::https://github.com/jungleji/chmsee/tarball/v$pkgver #source=(https://github.com/jungleji/chmsee/archive/b2a3c2ad32bfe9db067665ea1928d7e130d1b5e7.zip source=(https://chmsee.googlecode.com/files/${pkgname}-${pkgver}.tar.gz chmsee) install=chmsee.install -md5sums=('08f813d65ed2a9e3af8ff1092650d0a5' +md5sums=('c6a6ce009395c72ecf0530500ecda37c' '1787edd1de8aa75bd9fa75a5ab319e85') build() { cd ${srcdir}/chmsee-*/src cp Makefile.arch Makefile - sed -i -e 's/17.*/18.0/g' ../application.ini - sed -i -e 's/21.*/22.*/g' ../application.ini + #sed -i -e 's/17.*/18.0/g' ../application.ini + #sed -i -e 's/21.*/22.*/g' ../application.ini # xpcom has been merged into xul in xulrunner 22.0 - sed -i -e 's/-lxpcom/-lxul/' common.mk + # sed -i -e 's/-lxpcom/-lxul/' common.mk make -j1 } diff --git a/community/devil/PKGBUILD b/community/devil/PKGBUILD index c0f88548b..6360d114b 100644 --- a/community/devil/PKGBUILD +++ b/community/devil/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 90014 2013-05-06 19:36:37Z foutrelis $ +# $Id: PKGBUILD 96404 2013-08-28 00:08:35Z eric $ # Maintainer: Laurent Carlier <lordheavym@gmail.org> # Contributor: damir <damir@archlinux.org> # Contributor: TheHoff <forums> pkgname=devil pkgver=1.7.8 -pkgrel=16 +pkgrel=17 pkgdesc="Library for reading several different image formats" arch=('i686' 'x86_64') url="http://openil.sourceforge.net/" diff --git a/community/dspam/PKGBUILD b/community/dspam/PKGBUILD index 7bdba6e41..c2d05d2df 100644 --- a/community/dspam/PKGBUILD +++ b/community/dspam/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 90661 2013-05-13 14:22:46Z spupykin $ +# $Id: PKGBUILD 96419 2013-08-28 10:29:27Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> pkgname=dspam pkgver=3.10.2 -pkgrel=5 +pkgrel=6 pkgdesc="A scalable, open-source statistical anti-spam filter" arch=('i686' 'x86_64') url="http://dspam.nuclearelephant.com/" @@ -39,7 +39,7 @@ build() { --enable-split-configuration --enable-syslog --enable-clamav \ --with-dspam-home=/var/lib/dspam --with-logdir=/var/log/dspam --with-logfile=/var/log/dspam/dspam.log \ --with-mysql-includes=/usr/include/mysql --with-mysql-libraries=/usr/lib \ - --with-storage-driver="mysql_drv,libdb4_drv,pgsql_drv,sqlite3_drv,hash_drv" --enable-preferences-extension" + --with-storage-driver="hash_drv,mysql_drv,libdb4_drv,pgsql_drv,sqlite3_drv" --enable-preferences-extension" cd $srcdir/$pkgname-$pkgver [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc/dspam --localstatedir=/var ${OPTS} @@ -65,7 +65,7 @@ package() { -e 's:^#*\(ServerPID[\t ]\{1,\}\).*:\1/run/dspam/dspam.pid:gI' \ -i $pkgdir/etc/dspam/dspam.conf - sed -i 's|/var/lib/mysql/mysql.sock|/tmp/mysql.sock|' $pkgdir/etc/dspam/dspam.conf + sed -i 's|/var/lib/mysql/mysql.sock|/run/mysqld/mysqld.sock|' $pkgdir/etc/dspam/dspam.conf cp -r src/tools.mysql_drv/*.sql $pkgdir/usr/share/dspam/mysql cp -r src/tools.pgsql_drv/*.sql $pkgdir/usr/share/dspam/pgsql diff --git a/community/dspam/dspam.install b/community/dspam/dspam.install index 4eac46ede..aaa3c91d5 100644 --- a/community/dspam/dspam.install +++ b/community/dspam/dspam.install @@ -5,8 +5,9 @@ post_install() { useradd -c "DSPAM Daemon" -u 115 -d /var/lib/dspam -g dspam -s /bin/false dspam \ && echo "done." passwd -l dspam &>/dev/null - chown root:dspam usr/bin/dspamc - chmod g+s usr/bin/dspamc + chown root:dspam usr/bin/dspam{,c} + chmod g+rs usr/bin/dspam{,c} + systemd-tmpfiles --create dspam.conf cat << EOF >>> To populate the DSPAM database, you need to follow several steps. @@ -23,15 +24,16 @@ cat << EOF >>> Enter the password you set in the previous step, and the database should be populated. >>> Remember to edit /etc/dspam/dspam.conf accordenly ->>> If you want to use the postgresql, sqlite3 or Berekely DB4 backends, +>>> If you want to use the postgresql, sqlite3 or Berekely DB4 backends, >>> read the documentation >>> EOF } post_upgrade() { - chown root:dspam usr/bin/dspamc + chown root:dspam usr/bin/dspam{,c} chmod g+s usr/bin/dspamc + systemd-tmpfiles --create dspam.conf } post_remove() { diff --git a/community/fb-client/PKGBUILD b/community/fb-client/PKGBUILD index 193da2218..904e07b93 100644 --- a/community/fb-client/PKGBUILD +++ b/community/fb-client/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Florian "Bluewind" Pritz <flo@xssn.at> pkgname=fb-client -pkgver=1.2 +pkgver=1.2.1 pkgrel=1 pkgdesc="Client for paste.xinu.at" arch=('i686' 'x86_64') @@ -10,7 +10,7 @@ license=('GPL3') depends=('curl') optdepends=('xclip: for automatically copying the URL into the clipboard') source=(http://paste.xinu.at/data/client/fb-$pkgver.tar.gz{,.sig}) -md5sums=('2033c547bd44a27d464fa61065f29a77' +md5sums=('23b7324844e641432bbfa72cbe101053' 'SKIP') build() { diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD index 3e60e52d5..f43d56671 100644 --- a/community/fcron/PKGBUILD +++ b/community/fcron/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 91897 2013-05-29 00:39:11Z seblu $ +# $Id: PKGBUILD 96423 2013-08-28 15:04:05Z seblu $ # Contributor: Giorgio Lando <lando at imap dot cc> # Contributor: Sergej Pupykin # Contributor: Thomas Bächler @@ -7,13 +7,17 @@ pkgname=fcron pkgver=3.1.2 -pkgrel=7 +pkgrel=8 pkgdesc='Feature-rich cron implementation' arch=(i686 x86_64) url='http://fcron.free.fr' license=('GPL') depends=('pam' 'run-parts') -makedepends=('smtp-forwarder' 'vi') +makedepends=('smtp-forwarder' 'vi' 'fcron') +# use fcron as recursive deps to have user fcron installed during installation +# else add the following in build chroot +# groupadd -g 23 fcron +# useradd -r -d /var/spool/fcron -u 23 -g 23 fcron optdepends=('smtp-forwarder: to send mails from cron jobs' 'vi: default editor for fcrontab') provides=('cron') @@ -30,13 +34,14 @@ md5sums=('36bf213e15f3a480f2274f8e46cced0a' build() { cd $pkgname-$pkgver + # Don't use --username=root and --groupname=root, this completly break + # fcron security and allow local root escalation. + # Thanks to Anh K. Huynh <kyanh@theslinux.org> for reporting it. ./configure --prefix=/usr \ --sbindir=/usr/bin \ --sysconfdir=/etc/fcron \ --with-answer-all=no \ --with-boot-install=no \ - --with-username=root \ - --with-groupname=root \ --datarootdir=/usr/share \ --datadir=/usr/share \ --with-docdir=/usr/share/doc \ @@ -44,22 +49,20 @@ build() { --with-systemdsystemunitdir=/usr/lib/systemd/system \ --with-piddir=/run \ --with-editor=/usr/bin/vi \ - --with-sendmail=/usr/sbin/sendmail + --with-sendmail=/usr/bin/sendmail make } package() { cd $pkgname-$pkgver - make DESTDIR="$pkgdir/" install - install -D -m644 "$srcdir/$pkgname-$pkgver/files/fcron.pam" "$pkgdir/etc/pam.d/fcron" - - install -D -m644 "$srcdir/$pkgname-$pkgver/files/fcrontab.pam" "$pkgdir/etc/pam.d/fcrontab" + install -Dm644 files/fcron.pam "$pkgdir/etc/pam.d/fcron" + install -Dm644 files/fcrontab.pam "$pkgdir/etc/pam.d/fcrontab" # Install a default fcrontab so that fcron can completely replace dcron # We doesn't use binary format which is incompatible between arch and may cause crash # We regenerate the binary format at each update - install -D -m640 "$srcdir/systab.orig" "$pkgdir/var/spool/fcron/systab.orig" + install -Dm640 "$srcdir/systab.orig" "$pkgdir/var/spool/fcron/systab.orig" # Add cron.* directories install -d -m755 "$pkgdir/etc/cron.daily" diff --git a/community/fcron/fcron.install b/community/fcron/fcron.install index f7b0abddf..eda215a44 100644 --- a/community/fcron/fcron.install +++ b/community/fcron/fcron.install @@ -1,5 +1,8 @@ # arg 1: the new package version post_install() { + # we need a dedicated fcron user + getent group fcron >/dev/null || groupadd -g 23 fcron + getent passwd fcron >/dev/null || useradd -r -d /var/spool/fcron -u 23 -g 23 fcron # Generate binary format which is incompatible between arch fcrontab -z -u systab &>/dev/null } @@ -8,6 +11,34 @@ post_install() { # arg 2: the old package version post_upgrade() { post_install "$1" + if (( $(vercmp $2 3.1.2-8) < 0 )); then + echo 'Previous versions of fcron allow root priviledge escalation by using' + echo 'runas option in crontabs. fcron check rights at crontab compilation.' + echo 'Thus, the migration script will recreate the binary crontabs' + echo 'for you (with all side effects) and fix the files rights.' + # fix invalid etc files + for _f in /etc/fcron/fcron.{conf,allow,deny}; do + [[ -e $_f ]] || continue + chown root:fcron "$_f" + chmod 640 "$_f" + done + # fix invalid spool directory + chown fcron:fcron /var/spool/fcron + chmod 770 /var/spool/fcron + # regen user fcron files + cd /var/spool/fcron + for _f in *; do + if [[ "${_f%.orig}" != "$_f" ]]; then + chgrp fcron "$_f" + fcrontab -z -u "${_f%.orig}" &>/dev/null + fi + done + fi +} + +post_remove() { + userdel fcron &>/dev/null + groupdel fcron &>/dev/null } # vim:set ts=2 sw=2 et: diff --git a/community/iasl/PKGBUILD b/community/iasl/PKGBUILD index 8a1c56714..d2c0bc5fd 100644 --- a/community/iasl/PKGBUILD +++ b/community/iasl/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 91015 2013-05-17 22:04:55Z lcarlier $ +# $Id: PKGBUILD 96438 2013-08-28 21:10:55Z lcarlier $ # Maintainer : Laurent Carlier <lordheavym@gmail.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alessio 'mOlOk' Bolognino <themolok@gmail.com> pkgname=iasl -pkgver=20130517 +pkgver=20130823 pkgrel=1 pkgdesc="Intel ACPI Source Language compiler" arch=('i686' 'x86_64') @@ -16,13 +16,13 @@ options=('!makeflags') #install=iasl.install source=(http://acpica.org/sites/acpica/files/acpica-unix-${pkgver}.tar.gz LICENSE) -md5sums=('99fa19c67c8fa95f90cb7ec0f29d6242' +md5sums=('7846a62551352d7dae6f93f8255e9d99' '8615526144f69ea4e870d9bc37df9b29') build() { cd "${srcdir}/acpica-unix-${pkgver}"/generate/unix - sed -i -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' Makefile.config + #sed -i -e 's/_CYGWIN/_LINUX/g' -e 's/-Werror//g' Makefile.config if [[ $CARCH == i686 ]]; then make BITS=32 @@ -38,5 +38,5 @@ package() { install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -md5sums=('7846a62551352d7dae6f93f8255e9d99' +md5sums=('cc7528ecd185ff779c6b58bfede091b2' '8615526144f69ea4e870d9bc37df9b29') diff --git a/community/jnettop/PKGBUILD b/community/jnettop/PKGBUILD new file mode 100644 index 000000000..2c006554d --- /dev/null +++ b/community/jnettop/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 96415 2013-08-28 09:24:47Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com +# Contributor: Paul Bredbury <brebs@sent.com> + +pkgname=jnettop +pkgver=0.13.0 +pkgrel=4 +pkgdesc="A top-like console network traffic visualizer" +arch=(i686 x86_64) +url="http://jnettop.kubs.info/wiki/" +license=('GPL') +depends=('libpcap' 'glib2') +makedepends=('pkgconfig') +source=("http://jnettop.kubs.info/dist/$pkgname-$pkgver.tar.gz") +md5sums=('9529d75011026b3fcaf185b2fb063881') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/nemo/PKGBUILD b/community/nemo/PKGBUILD index 8e04eb820..766d5f445 100644 --- a/community/nemo/PKGBUILD +++ b/community/nemo/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 95581 2013-08-14 15:07:17Z bgyorgy $ +# $Id: PKGBUILD 96434 2013-08-28 19:54:26Z faidoc $ # Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com> # Contributor: Ner0 pkgname=nemo -pkgver=1.8.4 -pkgrel=3 +pkgver=1.8.5 +pkgrel=1 pkgdesc="Cinnamon file manager (Nautilus fork)" arch=('i686' 'x86_64') url="https://github.com/linuxmint/nemo" @@ -18,7 +18,7 @@ install=nemo.install source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver" "tracker-0.16.patch" "remove-desktop-background.patch") -sha256sums=('c8805302144c1aba72707eed22501cdd4f008a4c4090dea94fde5c05cd6c25f6' +sha256sums=('ba43794293c66ebc31a9c4145d6e7a8326321a4f0e58b28fe4f3d56a8fe39874' '2b86f486add84e3affb0b14eb84425443e7cf5e593738d10d02e9c2ac0f17626' '0bd07fd931ad701442358cdcbd26e0c5d57717ffadfd39a1cba137e36def1aa5') diff --git a/community/netsurf/PKGBUILD b/community/netsurf/PKGBUILD index 948bf38d6..0e877cc4a 100644 --- a/community/netsurf/PKGBUILD +++ b/community/netsurf/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 95677 2013-08-15 12:59:27Z arodseth $ +# $Id: PKGBUILD 96406 2013-08-28 00:08:38Z eric $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Paulo Matias <matiasΘarchlinux-br·org> # Contributor: Georgij Kondratjev <smpuj@bk.ru> @@ -6,13 +6,13 @@ pkgname=netsurf pkgver=3.0 -pkgrel=3 +pkgrel=4 pkgdesc='Lightweight and fast web browser' arch=('x86_64' 'i686') url='http://www.netsurf-browser.org/' license=('MIT' 'GPL2') -depends=('gtk2' 'libmng' 'curl' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss' 'libwebp' 'libdom') # 'libharu' 'gstreamer0.10' -makedepends=('js' 're2c' 'lcms' 'gendesk' 'netsurf-buildsystem' 'libglade') +depends=('gtk2' 'libmng' 'curl' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss' 'libwebp' 'libdom' 'lcms') # 'libharu' 'gstreamer0.10' +makedepends=('js' 're2c' 'gendesk' 'netsurf-buildsystem' 'libglade' 'addinclude') install="$pkgname.install" source=("netsurf.png::http://ubuntu.allmyapps.com/data/n/e/netsurf-netsurf-web-browser/icon_48x48_netsurf.png" "http://download.$pkgname-browser.org/$pkgname/releases/source/$pkgname-$pkgver-src.tar.gz") @@ -22,6 +22,10 @@ sha256sums=('f0dbcc5d80bf03d706aa8b28a322aa7f169a40813848c2d1505691f6e2c7ef00' prepare() { cd "$pkgname-$pkgver" + addinclude image/rsvg.c stdio + addinclude image/mng.c stdio + addinclude image/png.c stdio + gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec 'netsurf %U' \ --genericname 'Web Browser' --comment 'Lightweight web browser' \ --mimetypes 'text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/geo' @@ -40,7 +44,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" make install PREFIX=/usr DESTDIR="$pkgdir" install -Dm644 "../$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" diff --git a/community/netsurf/netsurf.install b/community/netsurf/netsurf.install index ef816a666..98f3ea190 100644 --- a/community/netsurf/netsurf.install +++ b/community/netsurf/netsurf.install @@ -1,5 +1,5 @@ post_upgrade() { - gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor + #gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor update-desktop-database -q } diff --git a/community/shotwell/PKGBUILD b/community/shotwell/PKGBUILD index c84b466c1..6f4bf9e35 100644 --- a/community/shotwell/PKGBUILD +++ b/community/shotwell/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 92942 2013-06-19 21:09:47Z bpiotrowski $ +# $Id: PKGBUILD 96421 2013-08-28 11:35:15Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer : Ionut Biru <ibiru@archlinux.org> # Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com> pkgname=shotwell pkgver=0.14.1 -pkgrel=4 +pkgrel=5 pkgdesc="A digital photo organizer designed for the GNOME desktop environment" arch=('i686' 'x86_64') url="http://yorba.org/shotwell/" @@ -17,15 +17,18 @@ makedepends=('intltool' 'vala>=0.17.2' 'libunique3') install=shotwell.install source=("http://yorba.org/download/shotwell/stable/shotwell-$pkgver.tar.xz" "no-libexec.patch" - "libraw-0.15.2.patch") + "libraw-0.15.2.patch" + "FS35899.patch::http://redmine.yorba.org/projects/shotwell/repository/revisions/4f635ba4236dbbb8cb3f8b7bdd201432961fb283/diff/src/AppDirs.vala?format=diff") md5sums=('bb5783f9265e1ce2d4c9f354987c3ab1' 'b4124e022c98b4382530e6fbcef965e2' - '3ad21364f82229122f48452f5c74dfde') + '3ad21364f82229122f48452f5c74dfde' + '9f9690f4b860f52ffd44f8ab6d4fd3b5') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 <$srcdir/no-libexec.patch patch -Rp1 <$srcdir/libraw-0.15.2.patch + patch -p1 <$srcdir/FS35899.patch } build() { diff --git a/community/synfig/PKGBUILD b/community/synfig/PKGBUILD index c0dc241ab..14d2e39dc 100644 --- a/community/synfig/PKGBUILD +++ b/community/synfig/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 94909 2013-08-01 06:55:42Z bpiotrowski $ +# $Id: PKGBUILD 96407 2013-08-28 00:08:39Z eric $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Franco Iacomella <yaco@gnu.org> pkgname=synfig pkgver=0.64.0 -pkgrel=5 +pkgrel=7 pkgdesc="Professional vector animation program (CLI renderer only)" arch=(i686 x86_64) url="http://synfig.org" |