[arch-commits] Commit in networkmanager-dispatcher-openntpd/repos/community-any (5 files)
Jelle van der Waa
jelle at nymeria.archlinux.org
Sun Sep 1 18:09:01 UTC 2013
Date: Sunday, September 1, 2013 @ 20:09:01
Author: jelle
Revision: 96575
archrelease: copy trunk to community-any
Added:
networkmanager-dispatcher-openntpd/repos/community-any/10-openntpd
(from rev 96574, networkmanager-dispatcher-openntpd/trunk/10-openntpd)
networkmanager-dispatcher-openntpd/repos/community-any/LICENSE
(from rev 96574, networkmanager-dispatcher-openntpd/trunk/LICENSE)
networkmanager-dispatcher-openntpd/repos/community-any/PKGBUILD
(from rev 96574, networkmanager-dispatcher-openntpd/trunk/PKGBUILD)
Deleted:
networkmanager-dispatcher-openntpd/repos/community-any/10-openntpd
networkmanager-dispatcher-openntpd/repos/community-any/PKGBUILD
-------------+
10-openntpd | 74 +++++++++++++++++++++++++++++-----------------------------
LICENSE | 19 ++++++++++++++
PKGBUILD | 33 +++++++++++++------------
3 files changed, 73 insertions(+), 53 deletions(-)
Deleted: 10-openntpd
===================================================================
--- 10-openntpd 2013-09-01 18:08:08 UTC (rev 96574)
+++ 10-openntpd 2013-09-01 18:09:01 UTC (rev 96575)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-
-if [ -e /sys/fs/cgroup/systemd ]; then
- case "$2" in
- up)
- systemctl start openntpd.service
- ;;
- vpn-up)
- systemctl start openntpd.service
- ;;
- down)
- systemctl stop openntpd.service
- ;;
- vpn-down)
- systemctl stop openntpd.service
- ;;
- esac
-else
-
- if [ -e "/etc/rc.d/openntpd" ]; then
- case "$2" in
- up)
- /etc/rc.d/openntpd start
- ;;
- vpn-up)
- /etc/rc.d/openntpd start
- ;;
- down)
- /etc/rc.d/openntpd stop
- ;;
- vpn-down)
- /etc/rc.d/openntpd stop
- ;;
- esac
- fi
-fi
Copied: networkmanager-dispatcher-openntpd/repos/community-any/10-openntpd (from rev 96574, networkmanager-dispatcher-openntpd/trunk/10-openntpd)
===================================================================
--- 10-openntpd (rev 0)
+++ 10-openntpd 2013-09-01 18:09:01 UTC (rev 96575)
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+
+if [ -e /sys/fs/cgroup/systemd ]; then
+ case "$2" in
+ up)
+ systemctl start openntpd.service
+ ;;
+ vpn-up)
+ systemctl start openntpd.service
+ ;;
+ down)
+ systemctl stop openntpd.service
+ ;;
+ vpn-down)
+ systemctl stop openntpd.service
+ ;;
+ esac
+else
+
+ if [ -e "/etc/rc.d/openntpd" ]; then
+ case "$2" in
+ up)
+ /etc/rc.d/openntpd start
+ ;;
+ vpn-up)
+ /etc/rc.d/openntpd start
+ ;;
+ down)
+ /etc/rc.d/openntpd stop
+ ;;
+ vpn-down)
+ /etc/rc.d/openntpd stop
+ ;;
+ esac
+ fi
+fi
Copied: networkmanager-dispatcher-openntpd/repos/community-any/LICENSE (from rev 96574, networkmanager-dispatcher-openntpd/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2013-09-01 18:09:01 UTC (rev 96575)
@@ -0,0 +1,19 @@
+Copyright (c) 2009-2013 Robert Djubek
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-01 18:08:08 UTC (rev 96574)
+++ PKGBUILD 2013-09-01 18:09:01 UTC (rev 96575)
@@ -1,16 +0,0 @@
-# Maintainer: Jelle van der Waa: <jelle vdwaa nl>
-pkgname=networkmanager-dispatcher-openntpd
-pkgver=1.0
-pkgrel=4
-pkgdesc="Dispatcher Script for openntpd"
-arch=(any)
-license=('BSD')
-url="http://www.gnome.org/projects/NetworkManager/"
-depends=('networkmanager' 'openntpd')
-source=("10-openntpd")
-md5sums=('dd166c51a2bff847e4157455e15b2083')
-
-package() {
- cd $pkgdir
- install -Dm700 $srcdir/10-openntpd $pkgdir/etc/NetworkManager/dispatcher.d/10-openntpd
-}
Copied: networkmanager-dispatcher-openntpd/repos/community-any/PKGBUILD (from rev 96574, networkmanager-dispatcher-openntpd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-09-01 18:09:01 UTC (rev 96575)
@@ -0,0 +1,17 @@
+# Maintainer: Jelle van der Waa: <jelle vdwaa nl>
+pkgname=networkmanager-dispatcher-openntpd
+pkgver=1.0
+pkgrel=5
+pkgdesc="Dispatcher Script for openntpd"
+arch=(any)
+license=('MIT')
+url="http://www.gnome.org/projects/NetworkManager/"
+depends=('networkmanager' 'openntpd')
+source=("10-openntpd" "LICENSE")
+md5sums=('dd166c51a2bff847e4157455e15b2083'
+ 'bade437c691452a83923e5064da20757')
+
+package() {
+ install -Dm700 $srcdir/10-openntpd $pkgdir/etc/NetworkManager/dispatcher.d/10-openntpd
+ install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list