From a288d88ddee068b2e0bf29b3b43d8a3c02299f8a Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Wed, 4 Jun 2014 07:22:11 +0200 Subject: maruku --- pcr/maruku/PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pcr/maruku/PKGBUILD diff --git a/pcr/maruku/PKGBUILD b/pcr/maruku/PKGBUILD new file mode 100644 index 000000000..bc8400737 --- /dev/null +++ b/pcr/maruku/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Adam Lloyd +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBIÈRES + +pkgname=maruku +pkgver=0.6.1 +pkgrel=2 +pkgdesc="A Markdown-superset interpreter" +arch=(any) +url="http://maruku.rubyforge.org/" +license=('GPL2') +depends=(ruby ruby-syntax) +makedepends=(rubygems) +source=(http://gems.rubyforge.org/gems/maruku-$pkgver.gem) +noextract=(maruku-$pkgver.gem) + +build() { + cd $srcdir + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" maruku-$pkgver.gem +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3 From b3c5fd72f793725b6e90ab8a3b78d73bb81599ee Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Wed, 4 Jun 2014 07:36:35 +0200 Subject: remove libnatpmp (in community now) --- pcr/libnatpmp/PKGBUILD | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 pcr/libnatpmp/PKGBUILD diff --git a/pcr/libnatpmp/PKGBUILD b/pcr/libnatpmp/PKGBUILD deleted file mode 100644 index f427dfbfb..000000000 --- a/pcr/libnatpmp/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer (Arch): Pierre Bourdon -# Maintainer: Parabola Gnu / Linux-libre Aurélien Desbrières - -pkgname=libnatpmp -pkgver=20120821 -pkgrel=2 -pkgdesc="A portable and fully compliant implementation of the NAT-PMP protocol" -arch=('i686' 'x86_64' 'mips64el') -url="http://miniupnp.free.fr/libnatpmp.html" -license=('custom:BSD') -depends=('glibc') -makedepends=() -source=(http://miniupnp.free.fr/files/download.php?file=libnatpmp-$pkgver.tar.gz) -md5sums=('d2b9c2dedba3a00deb0e7589982ceced') - -build() { - cd "$srcdir/$pkgname-$pkgver" - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make INSTALLPREFIX="$pkgdir/usr" \ - INSTALLDIRINC="$pkgdir/usr/include/libnatpmp" install - - # Needed by some packages - install -m 644 getgateway.h declspec.h "$pkgdir/usr/include/libnatpmp" - - install -Dm 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE -} -- cgit v1.2.3 From 9947a5c08c19ac6c6096aa9942805b686566b411 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Wed, 4 Jun 2014 07:40:19 +0200 Subject: mediatomb --- pcr/mediatomb/PKGBUILD | 43 +++++++++++++++------------------ pcr/mediatomb/mediatomb-mariadb.service | 13 ++++++++++ pcr/mediatomb/mediatomb.conf | 4 +-- pcr/mediatomb/mediatomb.install | 15 ++++++++++-- pcr/mediatomb/mediatomb.service | 13 ++++++++++ pcr/mediatomb/symlinks.patch | 42 ++++++++++++++++++++++++++++++++ 6 files changed, 102 insertions(+), 28 deletions(-) create mode 100644 pcr/mediatomb/mediatomb-mariadb.service create mode 100644 pcr/mediatomb/mediatomb.service create mode 100644 pcr/mediatomb/symlinks.patch diff --git a/pcr/mediatomb/PKGBUILD b/pcr/mediatomb/PKGBUILD index ee2f996e0..562f7fc19 100644 --- a/pcr/mediatomb/PKGBUILD +++ b/pcr/mediatomb/PKGBUILD @@ -1,30 +1,33 @@ -# Contributor (Arch): Peter Richard Lewis -# Contributor (Arch): William Rea -# Contributor (Arch): Nikhil Bysani -# Contributor (Arch): Mika Hynnä -# Contributor (Arch): Jonathan Conder -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor: Martin Villagra +# Contributor: William Rea +# Contributor: Nikhil Bysani +# Contributor: Mika Hynnä +# Contributor: Jonathan Conder +# Contributor: Peter Richard Lewis +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES pkgname=mediatomb pkgver=0.12.1 -pkgrel=11 +pkgrel=12 pkgdesc="Free UPnP/DLNA media server" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'armv6h') url="http://mediatomb.cc/" license=('GPL') -depends=('file' 'curl' 'ffmpegthumbnailer' 'js' 'libexif' 'libmp4v2' 'sqlite3' 'taglib' 'libmysqlclient') -optdepends=('mysql: to store your music database in mysql') +depends=('file' 'curl' 'ffmpegthumbnailer' 'libexif' 'libmp4v2' 'sqlite3' 'taglib' 'libmariadbclient' 'js185') +optdepends=('mariadb: to store your music database in mariadb') backup=('etc/conf.d/mediatomb') install=mediatomb.install source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" - 'mediatomb.rc' + 'mediatomb.service' + 'mediatomb-mariadb.service' 'mediatomb.conf' 'gcc46.patch' 'tonewjs.patch' 'jsparse.patch' 'libav_0.7_support.patch' 'libmp4v2_191_p497.patch' - 'libavformat.patch') + 'libavformat.patch' + 'symlinks.patch') build() { cd "$srcdir/$pkgname-$pkgver" @@ -34,6 +37,7 @@ build() { patch -Np1 -i "$srcdir/libav_0.7_support.patch" patch -Np1 -i "$srcdir/libmp4v2_191_p497.patch" patch -Np1 -i "$srcdir/libavformat.patch" + patch -Np1 -i "$srcdir/symlinks.patch" ./configure --prefix=/usr \ --enable-mysql \ @@ -48,16 +52,7 @@ package() { make DESTDIR="$pkgdir/" install - install -D -m0755 "$srcdir/mediatomb.rc" "$pkgdir/etc/rc.d/mediatomb" - install -D -m0755 "$srcdir/mediatomb.conf" "$pkgdir/etc/conf.d/mediatomb" - install -d "$pkgdir/var/lib/mediatomb" + install -D -m0644 "$srcdir/mediatomb.service" "$pkgdir/usr/lib/systemd/system/mediatomb.service" + install -D -m0644 "$srcdir/mediatomb-mariadb.service" "$pkgdir/usr/lib/systemd/system/mediatomb-mariadb.service" + install -D -m0644 "$srcdir/mediatomb.conf" "$pkgdir/etc/conf.d/mediatomb" } -sha256sums=('31163c34a7b9d1c9735181737cb31306f29f1f2a0335fb4f53ecccf8f62f11cd' - '1a67a1deb8a41467fe9bbf66358a255f0df97b0170a5fc3d48c1f768c8d328b9' - 'ba9753a4a380d4c717c987efec03a3c6d401d3ff93a6fced28098adbd3a44cc9' - '0c02a20032f0c296800b1bb9644638970c2dedbc5ab7141d66a637235e9da6ce' - '2cd8f5628c3a38b290526f008bae351b90211825f86e5959bf95f140748de574' - 'd9a3062858900d32b977f0d50d168fd7d36785b6ecc038c019e661e27f7b1c17' - 'c6523e8bf5e2da89b7475d6777ef9bffe7d089752ef2f7b27b5e39a4130fb0ff' - 'd39c2f9aab051c5447461718fd0ec72cf5982f6c920a4a985a50831f34babe84' - '76b11706d70ed8f5e157d96ca441c90c46c42176102fcb651b4ab1102b61bfee') diff --git a/pcr/mediatomb/mediatomb-mariadb.service b/pcr/mediatomb/mediatomb-mariadb.service new file mode 100644 index 000000000..5b83f1d78 --- /dev/null +++ b/pcr/mediatomb/mediatomb-mariadb.service @@ -0,0 +1,13 @@ +[Unit] +Description=MediaTomb Daemon using MariaDB +After=mysql.target network.target + +[Service] +EnvironmentFile=/etc/conf.d/mediatomb +ExecStart=/usr/bin/mediatomb -p $MT_PORT -u $MT_USER -g $MT_GROUP \ + -P $MT_PIDFILE -l $MT_LOGFILE -m $MT_HOME -f $MT_CFGDIR $MT_OPTIONS +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target diff --git a/pcr/mediatomb/mediatomb.conf b/pcr/mediatomb/mediatomb.conf index 798018d2a..c2b435f92 100644 --- a/pcr/mediatomb/mediatomb.conf +++ b/pcr/mediatomb/mediatomb.conf @@ -6,8 +6,8 @@ MT_PORT='50500' # User and group to run as -MT_USER='nobody' -MT_GROUP='nobody' +MT_USER='mediatomb' +MT_GROUP='mediatomb' # Location of the PID file MT_PIDFILE='/var/run/mediatomb.pid' diff --git a/pcr/mediatomb/mediatomb.install b/pcr/mediatomb/mediatomb.install index 56f6ef92c..27f71d5a4 100644 --- a/pcr/mediatomb/mediatomb.install +++ b/pcr/mediatomb/mediatomb.install @@ -1,9 +1,20 @@ post_install() { + post_upgrade + passwd -l mediatomb &>/dev/null echo 'Warning: the MediaTomb web interface exposes your filesystem to the network' echo 'For maximum security, set in your MediaTomb config file' } post_upgrade() { - # TODO: disable next update - post_install + # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files + getent group mediatomb >/dev/null || groupadd -g 241 mediatomb &>/dev/null + getent passwd mediatomb >/dev/null || useradd -c 'Mediatomb DLNA Server' -u 241 -g mediatomb -b '/var/lib' -m -s /bin/false mediatomb &>/dev/null + + echo 'Attention: By default, MediaTomb now runs as its own user: mediatomb.' + echo 'Ensuring ownership of /var/lib/mediatomb is mediatomb:mediatomb...' + chown -R mediatomb:mediatomb /var/lib/mediatomb &>/dev/null + echo + echo 'Please note that the old rc script has been replaced with systemd service files.' + echo } + diff --git a/pcr/mediatomb/mediatomb.service b/pcr/mediatomb/mediatomb.service new file mode 100644 index 000000000..e9869cfb5 --- /dev/null +++ b/pcr/mediatomb/mediatomb.service @@ -0,0 +1,13 @@ +[Unit] +Description=MediaTomb Daemon +After=network.target + +[Service] +EnvironmentFile=/etc/conf.d/mediatomb +ExecStart=/usr/bin/mediatomb -p $MT_PORT -u $MT_USER -g $MT_GROUP \ + -P $MT_PIDFILE -l $MT_LOGFILE -m $MT_HOME -f $MT_CFGDIR $MT_OPTIONS +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target diff --git a/pcr/mediatomb/symlinks.patch b/pcr/mediatomb/symlinks.patch new file mode 100644 index 000000000..8028f2201 --- /dev/null +++ b/pcr/mediatomb/symlinks.patch @@ -0,0 +1,42 @@ +--- mediatomb-0.12.1.orig/src/autoscan_inotify.cc 2010-03-25 10:58:11.000000000 -0400 ++++ mediatomb-0.12.1/src/autoscan_inotify.cc 2012-06-18 02:40:11.000000000 -0400 +@@ -281,7 +281,7 @@ + } + } + +- if (adir != nil && mask & (IN_DELETE | IN_DELETE_SELF | IN_MOVE_SELF | IN_CLOSE_WRITE | IN_MOVED_FROM | IN_MOVED_TO | IN_UNMOUNT)) ++ if (adir != nil && mask & (IN_DELETE | IN_DELETE_SELF | IN_MOVE_SELF | IN_CLOSE_WRITE | IN_MOVED_FROM | IN_MOVED_TO | IN_UNMOUNT | IN_CREATE)) + { + String fullPath; + if (mask & IN_ISDIR) +@@ -312,16 +312,17 @@ + if (objectID != INVALID_OBJECT_ID) + cm->removeObject(objectID); + } +- if (mask & (IN_CLOSE_WRITE | IN_MOVED_TO)) ++ if (mask & (IN_CLOSE_WRITE | IN_MOVED_TO | IN_CREATE)) + { + log_debug("adding %s\n", path.c_str()); + // path, recursive, async, hidden, low priority, cancellable + cm->addFile(fullPath, adir->getRecursive(), true, adir->getHidden(), true, false); + +- if (mask & IN_ISDIR) ++ if (mask & IN_ISDIR && !(mask & IN_CREATE)) + monitorUnmonitorRecursive(path, false, adir, watchAs->getNormalizedAutoscanPath(), false); + } + } ++ + if (mask & IN_IGNORED) + { + removeWatchMoves(wd); +--- mediatomb-0.12.1.orig/src/content_manager.cc 2010-03-25 10:58:11.000000000 -0400 ++++ mediatomb-0.12.1/src/content_manager.cc 2012-06-18 02:03:55.000000000 -0400 +@@ -202,7 +202,7 @@ + #ifdef HAVE_MAGIC + if (! ignore_unknown_extensions) + { +- ms = magic_open(MAGIC_MIME); ++ ms = magic_open(MAGIC_MIME|MAGIC_SYMLINK); + if (ms == NULL) + { + log_error("magic_open failed\n"); -- cgit v1.2.3 From 225a17562d33e26c2434694b4989d41e6ba1c854 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Wed, 4 Jun 2014 14:02:17 +0200 Subject: mit-scheme --- pcr/mit-scheme/PKGBUILD | 91 ++++++++++++------------------------------------- 1 file changed, 22 insertions(+), 69 deletions(-) diff --git a/pcr/mit-scheme/PKGBUILD b/pcr/mit-scheme/PKGBUILD index 7ab2e544e..c39cd6353 100644 --- a/pcr/mit-scheme/PKGBUILD +++ b/pcr/mit-scheme/PKGBUILD @@ -1,80 +1,33 @@ -# Contributor (Arch): peter feigl -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor (Arch) : Bartłomiej Piotrowski +# Contributor (Arch) : peter feigl +# Maintainer (Parabola): Aurélien DESBRIÈRES pkgname=mit-scheme -pkgver=9.1.1 +pkgver=9.2 pkgrel=1 -pkgdesc="MIT/GNU Scheme" -arch=('x86_64' i686) +pkgdesc='MIT/GNU Scheme' +arch=('i686' 'x86_64') license=('GPL') -url="http://www.gnu.org/software/mit-scheme/" -groups= -provides=('mit-scheme') -depends=('libx11' 'texinfo' 'texlive-core') -optdepends=('mhash: support for mhash' 'gdbm: support for gdbm' - 'postgresql-libs: support for postresql' 'openssl: support for openssl' - 'mcrypt: support for mcrypt' 'db: support for berkeley db') -_my_arch=$(uname -m) -if [ ${_my_arch} = "x86_64" ] -then -_my_arch="x86-64" -md5sums=('268cb5ac97646f34742828ebc370586d') +url='http://www.gnu.org/software/mit-scheme/' +depends=('glibc' 'ncurses' 'zlib') +optdepends=('openssl: support for openssl') + +if [[ $CARCH == i686 ]]; then + _arch=i386 else -_my_arch="i386" -md5sums=('e35590a06549d71edba723a719329070') + _arch=x86-64 fi - -source=("http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/${pkgver}/${pkgname}-${pkgver}-${_my_arch}.tar.gz") +source=(http://ftp.gnu.org/gnu/$pkgname/stable.pkg/$pkgver/$pkgname-$pkgver-$_arch.tar.gz) build() { - cd $startdir/src/${pkgname}-${pkgver}/src - ./configure --with-x --enable-native-code --prefix=/usr || return 1 - make compile-microcode || return 1 - make DESTDIR=${pkgdir} install || return 1 - # TODO: add indexer - echo Making Documentation - cd ../doc && ./configure --prefix=/usr && make -j 1 && make DESTDIR=${pkgdir} install && rm ${pkgdir}/usr/share/info/dir && mv ${pkgdir}/usr/share/man/man1/scheme.1 ${pkgdir}/usr/share/man/man1/mit-scheme.1 || return 0 -} - - -infodir=usr/share/info - -filelist=(mit-scheme-ffi.info mit-scheme-imail.info mit-scheme-ref.info mit-scheme-sos.info mit-scheme-user.info) - - - -post_install() { - - [[ -x usr/bin/install-info ]] || return 0 - - for file in "${filelist[@]}"; do - - install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null - - done - + cd $pkgname-$pkgver/src + ./configure --prefix=/usr \ + --with-x \ + --enable-native-code + make } - - -post_upgrade() { - - post_install "$1" - -} - - - -pre_remove() { - - [[ -x usr/bin/install-info ]] || return 1 - - for file in "${filelist[@]}"; do - - install-info --delete "$infodir/$file.gz" "$infodir/dir" 2>/dev/null - - done - +package() { + cd $pkgname-$pkgver/src + make DESTDIR="$pkgdir" install } - -md5sums=('e35590a06549d71edba723a719329070') -- cgit v1.2.3 From bf83ed969533d0c62b8f3985a3aa52306fd1ec24 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Wed, 4 Jun 2014 14:17:14 +0200 Subject: mycron-git --- pcr/mycron-git/PKGBUILD | 56 +++++++++++++++++++++------------------------- pcr/mycron-git/mycron.1 | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ pcr/mycron-git/mycron.5 | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 142 insertions(+), 31 deletions(-) create mode 100644 pcr/mycron-git/mycron.1 create mode 100644 pcr/mycron-git/mycron.5 diff --git a/pcr/mycron-git/PKGBUILD b/pcr/mycron-git/PKGBUILD index c80b79b1d..d9eb795b6 100644 --- a/pcr/mycron-git/PKGBUILD +++ b/pcr/mycron-git/PKGBUILD @@ -1,12 +1,14 @@ -# Contributor (Arch): Dirk Sohler -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor (Arch) : Dirk Sohler +# Contributor (Arch) : Dirk Sohler +# Maintainer (Parabola): Aurélien DESBRIÈRES pkgname=mycron-git -pkgver=20121116 -pkgrel=1 +_gitname=mycron +pkgver=2.0.2 +pkgrel=2 pkgdesc='A standards compliant and convenient crontab management system.' -url='https://dev.0x7be.de/mycron' +url='http://dev.0x7be.de/mycron.html' arch=('any') license=('GPL') @@ -15,35 +17,27 @@ makedepends=('git') install=mycron.install -source=('mycron.install') -sha256sums=('a5406ae03412d3a1aaf6aadb902b4dd40bb6eadb21aa2ffb7c21ae95d656f598') +branch='master' +source=("git://github.com/dsohler/mycron.git#branch=$branch" + 'mycron.install' + 'mycron.1' + 'mycron.5') -_gitroot='https://github.com/dsohler/mycron' -_gitname='master' - -build() { - cd $srcdir - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" +pkgver() { + cd "$srcdir/$_gitname" + echo $(sed -n "s/^progversion='\(.*\)'/\1/p" mycron.py) } package() { - cd "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname" + _DOCPATH="usr/share/doc/mycron" + _MANPATH="usr/share/man" install -Dm 755 mycron.py $pkgdir/usr/bin/mycron - install -Dm 644 example-config.cfg \ - $pkgdir/usr/share/doc/mycron/example-config.cfg - install -Dm 644 example.crontab \ - $pkgdir/usr/share/doc/mycron/example.crontab + install -Dm 644 example-config.cfg $pkgdir/$_DOCPATH/example-config.cfg + install -Dm 644 example.crontab $pkgdir/$_DOCPATH/example.crontab + install -Dm 644 crontab.vim $pkgdir/$_DOCPATH/crontab.vim + install -Dm 644 ../mycron.1 $pkgdir/$_MANPATH/man1/mycron.1 + install -Dm 644 ../mycron.5 $pkgdir/$_MANPATH/man5/mycron.5 + gzip $pkgdir/$_MANPATH/man1/mycron.1 + gzip $pkgdir/$_MANPATH/man5/mycron.5 } diff --git a/pcr/mycron-git/mycron.1 b/pcr/mycron-git/mycron.1 new file mode 100644 index 000000000..daef28f6f --- /dev/null +++ b/pcr/mycron-git/mycron.1 @@ -0,0 +1,59 @@ +.TH mycron 1 "2013-01-13" 2.0.1 +.SH NAME +mycron - A standards compliant and convenient crontab management system. + +.SH SYNOPSIS +.B mycron +.RB [\| -h \|] +.RB [\| \-u +.IR C \|] +.RB [\| -e \|] +.RB [\| -l \|] +.RB [\| -s \|] +.RB [\| -c \|] +.RB [\| -n \|] +.RB [\| -p \|] +.RB [\| -x \|] + +.SH DESCRIPTION +mycron is not a cron service/daemon. You need an already set up cron service for using mycron in a reasonable way. You need to set up your cronie\-, dcron\-, vixie\-, whatever\-crontab to execute mycron every minute for taking full advantage of mycron’s crontabs. +.PP +mycron then replaces your regular crontab setup. It allows you to set up cronjobs in a completely new, but very convenient and standards compliant way and becomes your command center for managing, creating, editing and checking (multiple) crontabs. + +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +show inline parameters help +.TP +\fB\-u\fR \fIC\fR, \fB\-\-use\fR=\fIC\fR +use crontab \fIC\fR instead of default crontab. You can combine this with all other parameters. +.TP +\fB\-e\fR, \fB\-\-edit\fR +edit crontab (either the default crontab or the one specified by \fB\-u\fR) +.TP +\fB\-s\fR, \fB\-\-show\fR +output a list showing all available crontabs, except x\- crontabs (see \fB\-x\fR for more details) +.TP +\fB\-c\fR, \fB\-\-check\fR +check the crontab for validity and show all lines that are invalid +.TP +\fB\-n\fR, \fB\-\-no\-colors\fR +don't use colored output +.TP +\fB\-e\fR, \fB\-\-print\-examples\fR +show a list of examples for mycron crontab entries +.TP +\fB\-x\fR, \fB\-\-x\-crontabs\fR +show development crontabs, too. Development crontabs start with \fBx-\fR and are hidden by default when using \fB-s\fR. + +.SH BUGS +Please desist from using non-ASCII characters like German umlauts, other special symbols, etc. It will not break mycron or it's validity check, but fails on mycron actually executed by your cron daemon. + +.SH FULL DOCUMENTATION +The full documentation of \fBmycron\fR is available online at . In case of differences the documentation available online is to be looked upon as the more current version. + +.SH AUTHOR +Dirk Sohler, + +.SH SEE ALSO +mycron(5), crontab(1) diff --git a/pcr/mycron-git/mycron.5 b/pcr/mycron-git/mycron.5 new file mode 100644 index 000000000..6dbff6a0e --- /dev/null +++ b/pcr/mycron-git/mycron.5 @@ -0,0 +1,58 @@ +.TH mycron 5 "" "" "MYCRON FILE FORMAT" +.SH NAME +mycron \- special crontab syntax explaination + +.SH DESCRIPTION +\fBmycron\fRs crontab syntax differs from the usual crontab syntax a lot. Of course you have the date/time part and the command, but the definitions are ISO 8601 valid using a dot (\fB.\fR) as wildcard character. + +.SH LOCATION +Crontabs have to be stored at \fB${HOME}/.config/mycron/crontabs\fR with file suffix \fB.crontab\fR for \fBmycron\fR to recognize them. Crontab file names should not contain slashes and should not be longer than 20 characters. The default crontab is \fBdefault.crontab\fR. + +.SH SYNTAX +.TP +\fBDate/Time format\fR +ISO 8601 specifies day/time notation with time zone. Because \fBmycron\fR is only exact to the minute (as long as there is no cron deamon that uses seconds as smallest unit), seconds and time zone are omitted. Set the date with \fBYYYY-MM-DD\fRT\fBHH:MM\fR where \fBYYYY\fR is the year, \fBMM\fR is the month, \fBDD\fR is the day, \fBHH\fR is the hour in 24h format and \fBMM\fR is the minute. For every single digit you can input a \fB.\fR (a single colon) as wildcard. +.TP +\fBDay of the week\fR +ISO 8601 specifies Monday as first day of the week and Sunday as last day of the week, therefore \fBMonday is 1\fR, \fBThursday is 2\fR, ..., \fBSunday is 7\fR. If you use \fB.\fR (a single colon), \fBmycron\fR interprets it as "every day". +.TP +\fBCommand\fR +The last of the three blocks is the command block. Here you can use whatever you want. Please desist from using non-ASCII characters like German umlauts, other special symbols, etc. It will not break mycron or it's validity check, but fails on mycron actually executed by your cron daemon. +.TP +\fBComments\fR +Comments are indicated by using \fB#\fR in the beginning of a line. It might work in most cases but you should not rely on comments after some actual crontab entries. (End-of-line comments) + +.SH EXAMPLES +.TP +\fB....-..-..T..:.. . command\fR +This line executes the command every minute at every day. +.TP +\fB....-..-..T18:57 7 command\fR +Here the command gets executed every Sunday at 18:57 o'clock. +.TP +\fB....-..-..T07:38 1267 command\fR +When given multiple digits for the day, the command gets executed on all of the days. Here on Mondays, Tuesdays, Saturdays and Sundays at 07:38 o'clock. +.TP +\fB2013-05-..T..:00 4 command\fR +This very specific line results in execution of the given command on every full hour at every Friday in May 2013. +.TP +\fB....-12-..T14:.. . command\fR +The command will be executed every minute from 14:00 to 14:59 o'clock on everyday in every December. +.TP +\fB2018-01-14T10:45 2 command\fR +Because 2018-01-14 is a Sunday (7) this command will \fBnever\fR be executed :) + +.SH FILES +.TP +\fBExample files\fR +/usr/share/doc/mycron/example-config.cfg +/usr/share/doc/mycron/example.crontab +.TP +\fBVim syntax file\fR +/usr/share/doc/mycron/crontab.vim + +.SH AUTHOR +Dirk Sohler, + +.SH SEE ALSO +mycron(1) -- cgit v1.2.3 From 5287c24f828ab4fe111c67a1cf31f563c2aaa6ea Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Wed, 4 Jun 2014 14:23:09 +0200 Subject: note --- pcr/note/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pcr/note/PKGBUILD b/pcr/note/PKGBUILD index 044a73c92..4066dc911 100644 --- a/pcr/note/PKGBUILD +++ b/pcr/note/PKGBUILD @@ -1,11 +1,11 @@ -# Contributor (Arch): David Pflug -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Contributor (Arch) : David Pflug +# Maintainer (Parabola) : Aurélien DESBRIÈRES _author=TLINDEN _perlmod=note pkgname=$_perlmod -pkgver=1.3.12 -pkgrel=2 +pkgver=1.3.18 +pkgrel=1 pkgdesc="A Perl-based note taking application with multiple backends" arch=('i686' 'x86_64') url="http://www.daemon.de/NOTE" -- cgit v1.2.3