summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO24
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD67
-rw-r--r--netlogger.desktop8
-rw-r--r--netlogger.sh2
5 files changed, 109 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..e4704cae9c81
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = netlogger
+ pkgdesc = Server-based amateur radio net logging programs
+ pkgver = 3.0.3
+ pkgrel = 1
+ url = http://www.netlogger.org
+ arch = i686
+ arch = x86_64
+ license = custom:freeware
+ depends = qt5-base
+ source = netlogger.sh
+ source = netlogger.desktop
+ md5sums = 309082574abaa3f97851ef4ac7096297
+ md5sums = e5410b0ab8875791fffa0f7306d473ff
+ sha512sums = e9dbe309baf520dc434a6b958fd6ae55f0c47c19a3ad00de158cb90b2fffec0e92ce83558e7ffec9613f30579929069ae543f8ad9da1d3d9110177dc86e48c5c
+ sha512sums = 4cac720ec96ea2c6f27253b10eec43b07f21175e555e7d3716dcf71c88d9863167d89c08500e6c82d2e441839508919d0261f944a817dcb243f8f77169e28edd
+ source_i686 = http://www.netlogger.org/downloads/NetLogger_3.0.3_Linux_x86.tgz
+ md5sums_i686 = 010122004ea491a0e8790e925b7389ff
+ sha512sums_i686 = a09c5f9ee3f4f672f85c2eda53179f0a26fbd12f088ed4fe5cb9cc2fe14900b1b16ffa0c90229243ab2d8438fb4f6bb4ecf24e605e0d0c4ff78ced919b02b7a5
+ source_x86_64 = http://www.netlogger.org/downloads/NetLogger_3.0.3_Linux_x64.tgz
+ md5sums_x86_64 = 6e7e17f59d7102d1b081ffe090187cba
+ sha512sums_x86_64 = 9a11ec0d25ab159b5f282734c374d34a029538f20b18ac850ee0abeb3b83da5105c733fbb728161b222df4a32d7a07ce76f19950d826580e65d273a1e3015ee1
+
+pkgname = netlogger
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..b530daf910f1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+# Arch stuff
+pkg/*
+src/*
+*.pkg.tar.*
+
+
+# Netlogger tarballs
+NetLogger*.tgz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e234f76f0bef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,67 @@
+# Notes on Netlogger:
+# NetLogger is a shitty program.
+# It is incredibly picky about what libraries it needs to run
+# It refuses to wrok with anything except what it is distributed with.
+
+# It's worth noting that I don't actually use this program
+# and that I avoid nets that do, but unfortunately I do sorta need this to exist
+# I apologize for anyone who participates on a net using NetLogger.
+# To the NetLogger devs: grow up, learn security, and learn OSS.
+
+# Maintainer: Zeke Sonxx <zeke@zekesonxx.com>
+pkgname=netlogger
+pkgver=3.0.3
+pkgrel=1
+pkgdesc="Server-based amateur radio net logging programs"
+arch=('i686' 'x86_64')
+url="http://www.netlogger.org"
+license=('custom:freeware')
+groups=()
+depends=('qt5-base')
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=('netlogger.sh' 'netlogger.desktop')
+source_i686=("http://www.netlogger.org/downloads/NetLogger_${pkgver}_Linux_x86.tgz")
+source_x86_64=("http://www.netlogger.org/downloads/NetLogger_${pkgver}_Linux_x64.tgz")
+noextract=()
+md5sums=('309082574abaa3f97851ef4ac7096297'
+ 'e5410b0ab8875791fffa0f7306d473ff')
+md5sums_i686=('010122004ea491a0e8790e925b7389ff')
+md5sums_x86_64=('6e7e17f59d7102d1b081ffe090187cba')
+sha512sums=('e9dbe309baf520dc434a6b958fd6ae55f0c47c19a3ad00de158cb90b2fffec0e92ce83558e7ffec9613f30579929069ae543f8ad9da1d3d9110177dc86e48c5c'
+ '4cac720ec96ea2c6f27253b10eec43b07f21175e555e7d3716dcf71c88d9863167d89c08500e6c82d2e441839508919d0261f944a817dcb243f8f77169e28edd')
+sha512sums_i686=('a09c5f9ee3f4f672f85c2eda53179f0a26fbd12f088ed4fe5cb9cc2fe14900b1b16ffa0c90229243ab2d8438fb4f6bb4ecf24e605e0d0c4ff78ced919b02b7a5')
+sha512sums_x86_64=('9a11ec0d25ab159b5f282734c374d34a029538f20b18ac850ee0abeb3b83da5105c733fbb728161b222df4a32d7a07ce76f19950d826580e65d273a1e3015ee1')
+validpgpkeys=()
+
+prepare() {
+ cd "$srcdir"
+ # extract the tgz within the tgz to a directory called 'tarball' so we can work with it
+ mkdir -p "$srcdir/tarball"
+ bsdtar -x -f netlogger_${pkgver}.tgz -C tarball
+
+ # copy out the license file for sticking in /usr/share/licenses later
+ # (install is a cheap way of also modifying file attributes)
+ install -m777 "$srcdir/tarball/License.rtf" "$srcdir/license.rtf"
+
+ # get rid of the extra files
+ cd "$srcdir/tarball"
+ rm -f ClubInfoList.txt GNU_LGPL_v2.1.rtf NetLogger24to30.pdf Release_Notes.html License.rtf
+}
+
+package() {
+ cd "$pkgdir"
+ mkdir -p "$pkgdir/opt/netlogger/"
+ cp -r "$srcdir/tarball/" -T "$pkgdir/opt/netlogger/"
+ install -D -m644 "${srcdir}/netlogger.sh" "${pkgdir}/usr/bin/netlogger"
+ install -D -m644 "${srcdir}/netlogger.desktop" "${pkgdir}/usr/share/applications/netlogger.desktop"
+ install -D -m644 "${srcdir}/license.rtf" "${pkgdir}/usr/share/licenses/netlogger/license.rtf"
+}
diff --git a/netlogger.desktop b/netlogger.desktop
new file mode 100644
index 000000000000..64455e174a54
--- /dev/null
+++ b/netlogger.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=NetLogger
+Comment=Freeware Amateur Radio net logging tool
+Type=Application
+Exec=netlogger
+StartupNotify=true
+Terminal=false
+Categories=Network;HamRadio;
diff --git a/netlogger.sh b/netlogger.sh
new file mode 100644
index 000000000000..f33855350c80
--- /dev/null
+++ b/netlogger.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+NETLOGGER_QT_PLUGINS_PATH="/opt/netlogger/plugins" LD_LIBRARY_PATH="/opt/netlogger/lib" "/opt/netlogger/netlogger"