pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/tinydyndns-run



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Oct 30 10:23:42 UTC 2020

Modified Files:
        pkgsrc/net/tinydyndns-run: Makefile
        pkgsrc/net/tinydyndns-run/files: tinydyndns-pop3d.sh

Log Message:
Instead of a fiddly shell script, use nopop3d as the fake POP3 server.
Bump version.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/tinydyndns-run/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/tinydyndns-run/files/tinydyndns-pop3d.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/tinydyndns-run/Makefile
diff -u pkgsrc/net/tinydyndns-run/Makefile:1.3 pkgsrc/net/tinydyndns-run/Makefile:1.4
--- pkgsrc/net/tinydyndns-run/Makefile:1.3      Tue Oct 27 10:25:33 2020
+++ pkgsrc/net/tinydyndns-run/Makefile  Fri Oct 30 10:23:42 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2020/10/27 10:25:33 schmonz Exp $
+# $NetBSD: Makefile,v 1.4 2020/10/30 10:23:42 schmonz Exp $
 #
 
-DISTNAME=              tinydyndns-run-20201027
+DISTNAME=              tinydyndns-run-20201030
 CATEGORIES=            net
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -10,6 +10,7 @@ MAINTAINER=           schmonz%NetBSD.org@localhost
 COMMENT=               Configures tinydyndns to serve and update records
 LICENSE=               2-clause-bsd
 
+DEPENDS+=              nopop3d-[0-9]*:../../mail/nopop3d
 DEPENDS+=              qmail-[0-9]*:../../mail/qmail
 DEPENDS+=              tinydyndns-[0-9]*:../../net/tinydyndns
 DEPENDS+=              cvm-[0-9]*:../../security/cvm

Index: pkgsrc/net/tinydyndns-run/files/tinydyndns-pop3d.sh
diff -u pkgsrc/net/tinydyndns-run/files/tinydyndns-pop3d.sh:1.2 pkgsrc/net/tinydyndns-run/files/tinydyndns-pop3d.sh:1.3
--- pkgsrc/net/tinydyndns-run/files/tinydyndns-pop3d.sh:1.2     Mon Oct 19 07:15:55 2020
+++ pkgsrc/net/tinydyndns-run/files/tinydyndns-pop3d.sh Fri Oct 30 10:23:42 2020
@@ -1,22 +1,7 @@
 #!@SH@
 #
-# $NetBSD: tinydyndns-pop3d.sh,v 1.2 2020/10/19 07:15:55 schmonz Exp $
+# $NetBSD: tinydyndns-pop3d.sh,v 1.3 2020/10/30 10:23:42 schmonz Exp $
 #
 # @PKGNAME@ fake POP3 server.
 
-main() {
-       echo '+OK '
-       read input
-       if [ "$input" = 'LIST' ]; then
-               echo '+OK'
-               echo '.'
-       elif [ "$input" = 'STAT' ]; then
-               echo '+OK 0 0'
-       fi
-       read input
-       echo '+OK'
-       return 0
-}
-
-main "$@"
-exit $?
+exec @PREFIX@/bin/nopop3d "$@"



Home | Main Index | Thread Index | Old Index