diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-04 12:52:34 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-04 12:52:34 -0300 |
commit | 7a62e84f435958b9f335e5b7a4f2e89caef7c992 (patch) | |
tree | 19fea26bca9a79d73ab166be9c64d9a170ccabc9 | |
parent | 7c32dc4ce43f1064b3fbdde2b1a1e95ef18d53d5 (diff) | |
parent | 5287c24f828ab4fe111c67a1cf31f563c2aaa6ea (diff) | |
download | abslibre-7a62e84f435958b9f335e5b7a4f2e89caef7c992.tar.gz abslibre-7a62e84f435958b9f335e5b7a4f2e89caef7c992.tar.bz2 abslibre-7a62e84f435958b9f335e5b7a4f2e89caef7c992.zip |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r-- | pcr/libnatpmp/PKGBUILD | 30 | ||||
-rw-r--r-- | pcr/maruku/PKGBUILD | 22 | ||||
-rw-r--r-- | pcr/mediatomb/PKGBUILD | 43 | ||||
-rw-r--r-- | pcr/mediatomb/mediatomb-mariadb.service | 13 | ||||
-rw-r--r-- | pcr/mediatomb/mediatomb.conf | 4 | ||||
-rw-r--r-- | pcr/mediatomb/mediatomb.install | 15 | ||||
-rw-r--r-- | pcr/mediatomb/mediatomb.service | 13 | ||||
-rw-r--r-- | pcr/mediatomb/symlinks.patch | 42 | ||||
-rw-r--r-- | pcr/mit-scheme/PKGBUILD | 91 | ||||
-rw-r--r-- | pcr/mycron-git/PKGBUILD | 56 | ||||
-rw-r--r-- | pcr/mycron-git/mycron.1 | 59 | ||||
-rw-r--r-- | pcr/mycron-git/mycron.5 | 58 | ||||
-rw-r--r-- | pcr/note/PKGBUILD | 8 |
13 files changed, 292 insertions, 162 deletions
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 <delroth@gmail.com> -# 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 -} 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 <lloyda2 (at) rpi (dot) edu> +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBIÈRES <aurelien@hackers.camp> + +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: 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 <plewis@aur.archlinux.org> -# Contributor (Arch): William Rea <sillywilly@gmail.com> -# Contributor (Arch): Nikhil Bysani <nikron@gmail.com> -# Contributor (Arch): Mika Hynnä <igheax@gmail.com> -# Contributor (Arch): Jonathan Conder <jonno.conder@gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Contributor: Martin Villagra <mvillagra0@gmail.com> +# Contributor: William Rea <sillywilly@gmail.com> +# Contributor: Nikhil Bysani <nikron@gmail.com> +# Contributor: Mika Hynnä <igheax@gmail.com> +# Contributor: Jonathan Conder <jonno.conder@gmail.com> +# Contributor: Peter Richard Lewis <plewis@aur.archlinux.org> +# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp> 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 <ui enabled="no"> 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");
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 <peter.feigl@gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Contributor (Arch) : Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor (Arch) : peter feigl <peter.feigl@gmail.com> +# Maintainer (Parabola): Aurélien DESBRIÈRES <aurelien@hackers.camp> 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') 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 <spam@0x7be.de> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Contributor (Arch) : Dirk Sohler <spam@0x7be.de> +# Contributor (Arch) : Dirk Sohler <spam@0x7be.de> +# Maintainer (Parabola): Aurélien DESBRIÈRES <aurelien@hackers.camp> 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 <http://dev.0x7be.de/mycron.html>. In case of differences the documentation available online is to be looked upon as the more current version. + +.SH AUTHOR +Dirk Sohler, <spam@0x7be.de> + +.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, <spam@0x7be.de> + +.SH SEE ALSO +mycron(1) 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 <Viaken@Gmail.com> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> +# Contributor (Arch) : David Pflug <Viaken@Gmail.com> +# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> _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" |