Package Details: paranoid-telnetd-git 4.5.r0.g130b1a4-1

Git Clone URL: https://aur.archlinux.org/paranoid-telnetd-git.git (read-only, click to copy)
Package Base: paranoid-telnetd-git
Description: ptelnetd supports chroot, allow/deny lists by user, IP and MAC, ipv6, binding to specific interfaces, and authenticates against the system or a private passwd file
Upstream URL: https://github.com/ColumPaget/ParanoidTelnetD
Licenses: GPL-3.0-or-later
Conflicts: paranoid-telnetd
Provides: paranoid-telnetd
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 0
Popularity: 0.000000
First Submitted: 2018-01-01 07:10 (UTC)
Last Updated: 2026-10-25 17:36 (UTC)

Latest Comments

ron2138 commented on 2026-04-05 20:06 (UTC)

When Building, I get

Stream.c: In function ‘STREAMFindCompare’:
Stream.c:2450:33: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 2450 |     if (StrValid(Delimiter)) ptr=strstr(Line, Delimiter);
      |                                 ^

To eliminate:

diff --git a/libUseful-bundled/Stream.c b/libUseful-bundled/Stream.c
index 0f530d0..7cb672c 100644
--- a/libUseful-bundled/Stream.c
+++ b/libUseful-bundled/Stream.c
@@ -2446,8 +2446,8 @@ int STREAMFindCompare(const char *Line, const char *Item, const char *Delimiter,
 {
     char *ptr=NULL;
     int result;
-
-    if (StrValid(Delimiter)) ptr=strstr(Line, Delimiter);
+ 
+    if (StrValid(Delimiter)) ptr=(char *)strstr(Line, Delimiter);

     if (ptr) result=strncmp(Item, Line, ptr-Line);
     else result=CompareStr(Item, Line);

ron2138 commented on 2026-04-05 19:59 (UTC) (edited on 2026-04-05 20:09 (UTC) by ron2138)

Suggesting the following patch to PKGBUILD

diff --git a/PKGBUILD b/PKGBUILD
index 97708e9..f9fd5c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,11 @@
 set -u
 _pkgname='paranoid-telnetd'
 pkgname="${_pkgname}-git"
-pkgver=2.0.r7.ga877d15
+pkgver=4.4.r0.g852c4cd
 pkgrel=1
 pkgdesc='ptelnetd supports chroot, allow/deny lists by user, IP and MAC, ipv6, binding to specific interfaces, and authenticates against the system or a private passwd file'
 arch=('i686' 'x86_64')
-url='http://www.cjpaget.co.uk/Code/paranoid-telnetd/'
+url='https://github.com/ColumPaget/ParanoidTelnetD'
 license=('GPLv3')
 license=('GPLv3')
 depends=('pam')
 makedepends=('git')
@@ -38,7 +38,7 @@ build() {
   cd "${_srcdir}"
   if [ ! -s 'Makefile' ]; then
     CFLAGS="${CFLAGS} -g -rdynamic -Wno-unused-result" \
-    ./configure --prefix='/usr' --enable-ip6 --mandir='/usr/share/man' --sbindir='/usr/bin'
+    ./configure --prefix='/usr' --enable-ip6 --mandir='/usr/share/man' --sbindir='/usr/bin' --enable-ssl
   fi
   local _nproc="$(nproc)"; _nproc=$((_nproc>8?8:_nproc))
   nice make -s -j "${_nproc}"
@@ -49,7 +49,7 @@ package() {
   set -u
   cd "${_srcdir}"
   make -s -j1 install DESTDIR="${pkgdir}"
-  install -Dpm644 'LICENCE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dpm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   set +u
 }

Rational: The pkgver change is nice to have. The url modification discards a 404 message. The ./configure and install changes fix the failure to build the package.

ron2138 commented on 2026-03-07 22:01 (UTC) (edited on 2026-03-09 01:48 (UTC) by ron2138)

Hello,

  1. As of writing Upstream URL, PKGBUILD, .SRCINFO refer to a problematic URL. For example, it doesn't resolved. Should the problematic URL consistently replaced by ColumPaget / ParanoidTelnetD?

  2. Am I right paranoid-telnetd does not suffer from the endless issues with environment variables of inetutils/telnetd?