diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-12 06:14:30 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-12 06:14:30 -0300 |
commit | e806fdd6fdcab100f7685dadd2b4dca04675b3d0 (patch) | |
tree | 30c3cd4c3705cf774a084c3bcae4fd12f7555c12 /pcr/noip | |
parent | 345b8c4070212e489cfc754155bc8dfea4db17b3 (diff) | |
download | abslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.tar.gz abslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.tar.bz2 abslibre-e806fdd6fdcab100f7685dadd2b4dca04675b3d0.zip |
moved blender-addon-ogre,cambozola,collada-dom,mednafen-server,mitsuba,nexuiz,nexuiz-data,noip,openssh-knock,renpy,supermodel,systemd-knock,tupi,xcftools,yafaray,zoneminder to [pcr] repo
Diffstat (limited to 'pcr/noip')
-rw-r--r-- | pcr/noip | 1 | ||||
-rw-r--r-- | pcr/noip/PKGBUILD | 42 | ||||
-rw-r--r-- | pcr/noip/noip.install | 6 | ||||
-rw-r--r-- | pcr/noip/noip.service | 10 |
4 files changed, 58 insertions, 1 deletions
diff --git a/pcr/noip b/pcr/noip deleted file mode 100644 index 4eb47d013..000000000 --- a/pcr/noip +++ /dev/null @@ -1 +0,0 @@ -moved to [ssh://git@projects.parabola.nu/~git/pcr.git/pcr] git repo diff --git a/pcr/noip/PKGBUILD b/pcr/noip/PKGBUILD new file mode 100644 index 000000000..bc5a851e8 --- /dev/null +++ b/pcr/noip/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer (Arch): Runnytu < runnytu at gmail dot com > +# Contributor (Arch): Alexander Rødseth <rodseth@gmail.com> +# Contributor (Arch): Daenyth +# Contributor (Arch): Lyle Putnam <lcputnam@amerytel.net> + +pkgname=noip +pkgver=2.1.9 +pkgrel=6 +pkgdesc='Dynamic DNS Client Updater for no-ip.com services' +arch=('x86_64' 'i686') +url='http://www.no-ip.com/downloads.php?page=linux' +license=('GPL') +install="$pkgname.install" +depends=('glibc') +source=('http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz' + 'noip.service') +sha256sums=('82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593' + '624553d92d69bb76cb457a056a7722dc051b5bbd17ea0e622b5cc08909019ea5') + + +prepare() { + cd "$pkgname-$pkgver-1" + + sed -i '/^#define CONFIG_FILEPATH/s/PREFIX//' noip2.c + sed -i '/^#define CONFIG_FILENAME/s/PREFIX//' noip2.c +} + +build() { + cd "$pkgname-$pkgver-1" + + cc -Wall $CLFAGS $LDFLAGS -g -Dlinux -DPREFIX=/usr noip2.c -o noip2 -Wno-unused-but-set-variable +} + +package() { + cd "$pkgname-$pkgver-1" + + install -Dm755 noip2 "$pkgdir/usr/bin/noip2" + install -Dm644 "$srcdir/$pkgname.service" \ + "$pkgdir/usr/lib/systemd/system/noip2.service" +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/noip/noip.install b/pcr/noip/noip.install new file mode 100644 index 000000000..1207f20e4 --- /dev/null +++ b/pcr/noip/noip.install @@ -0,0 +1,6 @@ +post_install() { + echo + echo 'Before running noip2 you must configure it.' + echo 'To configure noip2 run the command "noip2 -C -Y"' + echo +} diff --git a/pcr/noip/noip.service b/pcr/noip/noip.service new file mode 100644 index 000000000..2ad0ba867 --- /dev/null +++ b/pcr/noip/noip.service @@ -0,0 +1,10 @@ +[Unit] +Description=No-IP Dynamic DNS Update Client +After=network.target + +[Service] +Type=forking +ExecStart=/usr/bin/noip2 -c /etc/no-ip2.conf + +[Install] +WantedBy=multi-user.target |