pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security security: Remove stud - abandonware, fails to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c48464692689
branches:  trunk
changeset: 412221:c48464692689
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Mar 01 17:29:15 2020 +0000

description:
security: Remove stud - abandonware, fails to build with OpenSSL 1.1

>From the README:
"Stud is now officially abandonware, thanks for playing."

diffstat:

 security/Makefile                           |    3 +-
 security/stud/DESCR                         |    5 -
 security/stud/Makefile                      |   77 ----------------
 security/stud/PLIST                         |    5 -
 security/stud/distinfo                      |   10 --
 security/stud/files/smf/manifest.xml        |   28 ------
 security/stud/files/stud.conf               |  121 --------------------------
 security/stud/files/stud.sh                 |   33 -------
 security/stud/patches/patch-Makefile        |   51 -----------
 security/stud/patches/patch-configuration.c |   48 ----------
 security/stud/patches/patch-stud.8          |   15 ---
 security/stud/patches/patch-stud.c          |  129 ----------------------------
 12 files changed, 1 insertions(+), 524 deletions(-)

diffs (truncated from 583 to 300 lines):

diff -r 592a5b58806d -r c48464692689 security/Makefile
--- a/security/Makefile Sun Mar 01 17:25:48 2020 +0000
+++ b/security/Makefile Sun Mar 01 17:29:15 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.741 2020/03/01 17:25:25 nia Exp $
+# $NetBSD: Makefile,v 1.742 2020/03/01 17:29:15 nia Exp $
 #
 
 COMMENT=       Security tools
@@ -606,7 +606,6 @@
 SUBDIR+=       starttls
 SUBDIR+=       steghide
 SUBDIR+=       stegtunnel
-SUBDIR+=       stud
 SUBDIR+=       stunnel
 SUBDIR+=       sudo
 SUBDIR+=       tacshell
diff -r 592a5b58806d -r c48464692689 security/stud/DESCR
--- a/security/stud/DESCR       Sun Mar 01 17:25:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-stud is a network proxy that terminates TLS/SSL connections and forwards
-the unencrypted traffic to some backend. It's designed to handle 10s
-of thousands of connections efficiently on multicore machines.
-stud has very few features. It is designed to be paired with an
-intelligent backend like haproxy or nginx.
diff -r 592a5b58806d -r c48464692689 security/stud/Makefile
--- a/security/stud/Makefile    Sun Mar 01 17:25:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2020/01/18 21:50:49 jperkin Exp $
-#
-
-PKGNAME=       stud-0.3p53
-PKGREVISION=   8
-CATEGORIES=    security
-MAINTAINER=    jym%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/bumptech/stud
-COMMENT=       Scalable TLS Unwrapping Daemon
-LICENSE=       2-clause-bsd
-
-MASTER_SITES=  http://rohara.fedorapeople.org/stud/
-DISTNAME=      bumptech-stud-0.3-51-g0b88039
-WRKSRC=                ${WRKDIR}/bumptech-stud-0b88039
-
-USE_TOOLS+=            gmake nroff pax:run
-
-BUILD_DEFS+=           STUD_USER STUD_GROUP VARBASE
-
-.include "../../mk/bsd.prefs.mk"
-
-STUD_USER?=            stud
-STUD_GROUP?=           stud
-# Default file that should contain the X509 certificates PEM file
-STUD_CERTS?=           ${PKG_SYSCONFDIR}/certs.pem
-STUD_HOME?=            ${VARBASE}/chroot/stud
-
-PKG_GROUPS?=           ${STUD_GROUP}
-PKG_USERS?=            ${STUD_USER}:${STUD_GROUP}
-PKG_GECOS.${STUD_USER}=        stud daemon user
-PKG_HOME.${STUD_USER}= ${STUD_HOME}
-
-RCD_SCRIPTS=           stud
-
-EGDIR=                 ${PREFIX}/share/examples/stud
-OWN_DIRS=              ${STUD_HOME}
-INSTALLATION_DIRS+=    bin ${EGDIR} ${PKGMANDIR}/cat8
-
-FILES_SUBST+=          STUD_HOME=${STUD_HOME:Q}
-
-SUBST_CLASSES+=                studconf
-SUBST_STAGE.studconf=  pre-configure
-SUBST_FILES.studconf=  stud.conf
-SUBST_VARS.studconf=   STUD_USER STUD_GROUP STUD_HOME STUD_CERTS
-SUBST_MESSAGE.studconf=        Set default configuration values.
-
-SUBST_CLASSES+=                makefile
-SUBST_STAGE.makefile=  pre-configure
-SUBST_FILES.makefile=  Makefile
-SUBST_VARS.makefile=   PREFIX
-SUBST_MESSAGE.makefile=        Set prefix path.
-
-PKG_SYSCONFSUBDIR=     stud
-PKG_SYSCONFDIR_PERMS=  ${REAL_ROOT_USER} ${STUD_GROUP} 0750
-CONF_FILES+=           ${EGDIR}/stud.conf ${PKG_SYSCONFDIR}/stud.conf
-
-post-extract:
-       ${CP} ${FILESDIR}/stud.conf ${WRKSRC}/stud.conf
-
-post-build:
-.if !empty(MANINSTALL:Mcatinstall)
-       cd ${WRKSRC} && nroff -mdoc stud.8 > stud.cat8
-.endif
-
-post-install:
-       ${INSTALL_DATA} ${WRKSRC}/stud.conf ${DESTDIR}${EGDIR}/stud.conf
-.if !empty(MANINSTALL:Mcatinstall)
-.  if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
-       ${INSTALL_MAN} ${WRKSRC}/stud.cat8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat8/stud.8
-.  else
-       ${INSTALL_MAN} ${WRKSRC}/stud.cat8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat8/stud.0
-.  endif
-.endif
-
-.include "../../devel/libev/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 592a5b58806d -r c48464692689 security/stud/PLIST
--- a/security/stud/PLIST       Sun Mar 01 17:25:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2014/09/23 14:26:35 fhajny Exp $
-bin/stud
-man/cat8/stud.0
-man/man8/stud.8
-share/examples/stud/stud.conf
diff -r 592a5b58806d -r c48464692689 security/stud/distinfo
--- a/security/stud/distinfo    Sun Mar 01 17:25:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:18:11 agc Exp $
-
-SHA1 (bumptech-stud-0.3-51-g0b88039.tar.gz) = fad22d9cf008b7db8f30d8d7ca0a6fcc177714de
-RMD160 (bumptech-stud-0.3-51-g0b88039.tar.gz) = 66a186e1095fd127945802ab681f5948ee1d4011
-SHA512 (bumptech-stud-0.3-51-g0b88039.tar.gz) = 7f3e0f24618f59a6c4bb86212ee145cc50091b2d580ec3d99c0606203aa9f381ec8819d78689a374eaddd14a85f209b5f1c15bd81e079a25195337ac455a470d
-Size (bumptech-stud-0.3-51-g0b88039.tar.gz) = 41000 bytes
-SHA1 (patch-Makefile) = c0794c6ebb3bdc3d55b473acec674a9f98b03ffb
-SHA1 (patch-configuration.c) = 886226a104f84bac6902bb8a8593d37a25653563
-SHA1 (patch-stud.8) = a6b36ab6ac8c65cbc70172a9c230b22965cbdc3d
-SHA1 (patch-stud.c) = d9a6ce93c43ef949011f0e6784b6f017f3e3b6fc
diff -r 592a5b58806d -r c48464692689 security/stud/files/smf/manifest.xml
--- a/security/stud/files/smf/manifest.xml      Sun Mar 01 17:25:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
-<service_bundle type='manifest' name='export'>
-  <service name='@SMF_PREFIX@/@SMF_NAME@' type='service' version='1'>
-    <create_default_instance enabled='false' />
-    <single_instance />
-    <dependency name='network' grouping='require_all' restart_on='error' type='service'>
-      <service_fmri value='svc:/milestone/network:default' />
-    </dependency>
-    <dependency name='filesystem' grouping='require_all' restart_on='error' type='service'>
-      <service_fmri value='svc:/system/filesystem/local' />
-    </dependency>
-    <exec_method type='method' name='start' exec='@PREFIX@/bin/stud --config=%{config_file}' timeout_seconds='60' />
-    <exec_method type='method' name='stop' exec=':kill' timeout_seconds='60' />
-    <property_group name='startd' type='framework'>
-      <propval name='duration' type='astring' value='contract' />
-      <propval name='ignore_error' type='astring' value='core,signal' />
-    </property_group>
-    <property_group name='application' type='application'>
-      <propval name='config_file' type='astring' value='@PKG_SYSCONFDIR@/stud.conf' />
-    </property_group>
-    <template>
-      <common_name>
-        <loctext xml:lang='C'>Scalable TLS Unwrapping Daemon</loctext>
-      </common_name>
-    </template>
-  </service>
-</service_bundle>
diff -r 592a5b58806d -r c48464692689 security/stud/files/stud.conf
--- a/security/stud/files/stud.conf     Sun Mar 01 17:25:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,121 +0,0 @@
-#
-# stud(8), The Scalable TLS Unwrapping Daemon's configuration
-#
-
-# NOTE: all config file parameters can be overriden
-#       from command line!
-
-# Listening address. REQUIRED.
-#
-# type: string
-# syntax: [HOST]:PORT
-frontend = "[*]:8443"
-
-# Upstream server address. REQUIRED.
-#
-# type: string
-# syntax: [HOST]:PORT.
-backend = "[127.0.0.1]:8000"
-
-# SSL x509 certificate file. REQUIRED.
-# List multiple certs to use SNI. Certs are used in the order they
-# are listed; the last cert listed will be used if none of the others match
-#
-# type: string
-pem-file = "@STUD_CERTS@"
-
-# SSL protocol.
-#
-# tls = on
-# ssl = off
-
-# List of allowed SSL ciphers.
-#
-# Run openssl ciphers for list of available ciphers.
-# type: string
-ciphers = ""
-
-# Enforce server cipher list order
-#
-# type: boolean
-prefer-server-ciphers = off
-
-# Use specified SSL engine
-#
-# type: string
-ssl-engine = ""
-
-# Number of worker processes
-#
-# type: integer
-workers = 1
-
-# Listen backlog size
-#
-# type: integer
-backlog = 100
-
-# TCP socket keepalive interval in seconds
-#
-# type: integer
-keepalive = 3600
-
-# Chroot directory
-#
-# type: string
-chroot = "@STUD_HOME@"
-
-# Set uid after binding a socket
-#
-# type: string
-user = "@STUD_USER@"
-
-# Set gid after binding a socket
-#
-# type: string
-group = "@STUD_GROUP@"
-
-# Quiet execution, report only error messages
-#
-# type: boolean
-quiet = off
-
-# Use syslog for logging
-#
-# type: boolean
-syslog = off
-
-# Syslog facility to use
-#
-# type: string
-syslog-facility = "daemon"
-
-# Run as daemon
-#
-# type: boolean
-daemon = on
-
-# Report client address by writing IP before sending data
-#
-# NOTE: This option is mutually exclusive with option write-proxy and proxy-proxy.
-#
-# type: boolean
-write-ip = off
-
-# Report client address using SENDPROXY protocol, see
-# http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt
-# for details.
-#
-# NOTE: This option is mutually exclusive with option write-ip and proxy-proxy.
-#
-# type: boolean
-write-proxy = off
-
-# Proxy an existing SENDPROXY protocol header through this request.
-#
-# NOTE: This option is mutually exclusive with option write-ip and write-proxy.
-#
-# type: boolean
-proxy-proxy = off
-
-# EOF
diff -r 592a5b58806d -r c48464692689 security/stud/files/stud.sh
--- a/security/stud/files/stud.sh       Sun Mar 01 17:25:48 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: stud.sh,v 1.1 2013/03/16 19:41:36 jym Exp $
-#
-
-# PROVIDE: stud
-# REQUIRE: LOGIN
-
-. /etc/rc.subr



Home | Main Index | Thread Index | Old Index