diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-10 11:29:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-10 11:29:25 +0000 |
commit | 609d7acd796c05a8458d898f11f3991d32d099ec (patch) | |
tree | 4478f1fde8386d87e442f67c0cfa6d3e2879ff67 /testing/devicemaster-linux | |
parent | 6d6d11d6dadd52c8f4337fa3adaefff4f91b7183 (diff) | |
download | aports-609d7acd796c05a8458d898f11f3991d32d099ec.tar.bz2 aports-609d7acd796c05a8458d898f11f3991d32d099ec.tar.xz |
main/devicemaster-linux*: move from testing
Diffstat (limited to 'testing/devicemaster-linux')
-rw-r--r-- | testing/devicemaster-linux/APKBUILD | 60 | ||||
-rw-r--r-- | testing/devicemaster-linux/makefile.patch | 19 | ||||
-rw-r--r-- | testing/devicemaster-linux/nslink.initd | 16 |
3 files changed, 0 insertions, 95 deletions
diff --git a/testing/devicemaster-linux/APKBUILD b/testing/devicemaster-linux/APKBUILD deleted file mode 100644 index d4a1ffc892..0000000000 --- a/testing/devicemaster-linux/APKBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=devicemaster-linux -pkgver=7.06 -pkgrel=2 -pkgdesc="Userspace tools for NS-Link Device Drivers" -url="http://www.comtrol.com/resources/product-resources-white-papers/ns-link-device-drivers" -arch="all" -license="GPL" -depends="" -makedepends="linux-headers" -install= -subpackages="$pkgname-doc" -source="ftp://ftp.comtrol.com/dev_mstr/rts/drivers/linux/devicemaster-linux-$pkgver.tar.gz - makefile.patch - nslink.initd - " -_builddir="$srcdir"/devicemaster-linux-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch|*.diff) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done -} - -build() { - cd "$_builddir" - make nslinkd nslinkadmin nslinkrelease nslinktool || return 1 -} - -package() { - cd "$_builddir" - install -d \ - "$pkgdir"/etc/init.d \ - "$pkgdir"/sbin \ - "$pkgdir"/usr/share/man/man5 \ - "$pkgdir"/usr/share/man/man8 \ - || reutrn 1 - install -m700 nslinkadmin nslinktool nslinkrelease nslinkd \ - "$pkgdir"/sbin/ || return 1 - install nslink.conf "$pkgdir"/etc/ || return 1 - install -m755 "$srcdir"/nslink.initd "$pkgdir"/etc/init.d/nslink - - install -m644 *.8 "$pkgdir"/usr/share/man/man8 || return 1 - install -m644 *.5 "$pkgdir"/usr/share/man/man5 || return 1 -} - -md5sums="deded30023c8135c9beb06696e8c578f devicemaster-linux-7.06.tar.gz -5be3c1860d3377f792a05cd15ae2c88e makefile.patch -64634a815c270604033c5ec072aed8be nslink.initd" -sha256sums="6b11295952d1d74a6102a295a6ed5651ec040a0d8c30838cd23a1f3f7c95a4e7 devicemaster-linux-7.06.tar.gz -36b5a4eab09929805e146445cb704e6be6ba8d15704846330c4dd39229a1b80b makefile.patch -8da3614cff29acb9691ef6f49f79c40f6356c75f03c21d98a60eba2a11a5fb21 nslink.initd" -sha512sums="496144ee40464c96442ce655424db886cb5b4df1701e30cc8d059fc918e8916cb6c3b0b57cead2d0e9d50e4618ee13efa5f3630765545ea45e29f8080101800b devicemaster-linux-7.06.tar.gz -aeafcaa2b15f1ebb4b5dc1eed87bd528cb5fa0be0d82177e9e70a85b7f74c5000af05d82f4927b25a8cbf2254e4fae7f89cb7d3b18bef2be45feb80c409c9ea4 makefile.patch -1634eeae3269a38003deb46564e222b86fec7635b8fb3a282bc48c2d34766d27a778a651577ce1c34bb33376c2b2624a5b5ca0b3d974293e0a84c2e7c5ad3c06 nslink.initd" diff --git a/testing/devicemaster-linux/makefile.patch b/testing/devicemaster-linux/makefile.patch deleted file mode 100644 index da50b9e85a..0000000000 --- a/testing/devicemaster-linux/makefile.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- ./Makefile.orig -+++ ./Makefile -@@ -52,13 +52,13 @@ - nslink.o: nslink.o nslink.c nslink_int.h nslink.h version.h - - nslinkd: nslinkd.c parse.c nslink.h nslinkd.h version.h -- gcc -Wall -o nslinkd nslinkd.c parse.c -+ $(CC) $(CFLAGS) -Wall $(LDFLAGS) -o nslinkd nslinkd.c parse.c - - nslinkadmin: nslinkadmin.c -- gcc -Wall -o nslinkadmin nslinkadmin.c -+ $(CC) $(CFLAGS) -Wall $(LDFLAGS) -o nslinkadmin nslinkadmin.c - - nslinkrelease: nslinkrelease.c -- $(CC) -Wall -o nslinkrelease nslinkrelease.c -+ $(CC) $(CFLAGS) -Wall $(LDFLAGS) -o nslinkrelease nslinkrelease.c - - modules: nslink.o mod_nslink.o - diff --git a/testing/devicemaster-linux/nslink.initd b/testing/devicemaster-linux/nslink.initd deleted file mode 100644 index 5e4b869050..0000000000 --- a/testing/devicemaster-linux/nslink.initd +++ /dev/null @@ -1,16 +0,0 @@ -#!/sbin/runscript - -program=/sbin/nslink -pidfile=/var/run/nslink.pid - -start_pre() { - if ! [ -f /etc/nslink.conf ]; then - eerror "Configuration file /etc/nslink.conf not found" - return 1 - fi - - if ! grep -q -w nslink /proc/modules; then - modprobe nslink - fi -} - |