New package: noip2-2.1.9_1
No-ip Dynamic DNS Update Client
This commit is contained in:
parent
b1dd1cb6c4
commit
b5431674c4
3 changed files with 43 additions and 0 deletions
2
srcpkgs/noip2/files/noip2/run
Executable file
2
srcpkgs/noip2/files/noip2/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec noip2
|
16
srcpkgs/noip2/patches/prefix.patch
Normal file
16
srcpkgs/noip2/patches/prefix.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- noip2.c.old 2015-01-05 15:40:56.269596723 -0200
|
||||
+++ noip2.c 2015-01-05 15:41:51.549595383 -0200
|
||||
@@ -240,10 +240,10 @@
|
||||
#define GROUP 2
|
||||
#define DOMAIN 3
|
||||
#ifndef PREFIX
|
||||
- #define PREFIX "/usr/local"
|
||||
+ #define PREFIX "/usr"
|
||||
#endif
|
||||
-#define CONFIG_FILEPATH PREFIX"/etc"
|
||||
-#define CONFIG_FILENAME PREFIX"/etc/no-ip2.conf"
|
||||
+#define CONFIG_FILEPATH "/etc"
|
||||
+#define CONFIG_FILENAME "/etc/no-ip2.conf"
|
||||
#define CONFSTRLEN 1024
|
||||
#define MAX_DEVLEN 16
|
||||
#define MAX_INSTANCE 4
|
25
srcpkgs/noip2/template
Normal file
25
srcpkgs/noip2/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'noip2'
|
||||
pkgname=noip2
|
||||
version=2.1.9_1
|
||||
revision=1
|
||||
homepage="http://www.noip.com"
|
||||
distfiles="https://www.noip.com/client/linux/noip-duc-linux.tar.gz"
|
||||
wrksrc="noip-2.1.9-1"
|
||||
makedepends=""
|
||||
conf_files="/etc/no-ip2.conf"
|
||||
short_desc="No-ip Dynamic DNS Update Client"
|
||||
maintainer="rogi <rogi@skylittlesystem.org>"
|
||||
license="GPL-2"
|
||||
checksum=82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593
|
||||
|
||||
do_build() {
|
||||
make CC=$CC
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall noip2 755 usr/bin
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsv noip2
|
||||
}
|
Loading…
Reference in a new issue