Package: crtmpserver
Version: 1.0~dfsg-5.3
Severity: normal

Dear Maintainer,

#apt-get source crtmpserver
Getting source crtmpserver, it can be configured to compile.
I have compilled it a long ago on Debian 8 with my patches to prevent
anonymous live streaming. That binary compilation is working on Debian 9
after upgrading from Debian 8, but I can't make it from source now and
I do not know how to send my patches to contributors.


-- System Information:
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-4-amd64 (SMP w/5 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages crtmpserver depends on:
ii  crtmpserver-apps   1.0~dfsg-5.3
ii  crtmpserver-libs   1.0~dfsg-5.3
ii  libc6              2.24-11+deb9u1
ii  libgcc1            1:6.3.0-18
ii  liblua5.1-0        5.1.5-8.1+b2
ii  libssl1.0.2        1.0.2l-2
ii  libstdc++6         6.3.0-18
ii  libtinyxml2.6.2v5  2.6.2-4

crtmpserver recommends no packages.

crtmpserver suggests no packages.

-- Configuration Files:
/etc/default/crtmpserver changed:
ENABLED="yes"
DAEMON_USER="root"
DAEMON_ARGS="--daemon"
DAEMON_CONF="/root/app/crtmpserver/builders/cmake/crtmpserver/crtmpserver.lua"

/etc/init.d/crtmpserver changed:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="C++ RTMP Server"
NAME=crtmpserver
WD_PATH=/root/app/crtmpserver/builders/cmake
DAEMON=$WD_PATH/crtmpserver/crtmpserver
DAEMON_ARGS=" --daemon "
DAEMON_CONF="$WD_PATH/crtmpserver/crtmpserver.lua"
DAEMON_USER="root"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
ENABLED="no"
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
[ -x $DAEMON ] || exit 0
[ -r $DAEMON_CONF ] || exit 0
[ $ENABLED = "yes" ] || exit 0
. /lib/init/vars.sh
. /lib/lsb/init-functions
DAEMON_UID=$(getent passwd ${DAEMON_USER} | cut -d":" -f3)
if [ -z "${DAEMON_UID}" ]; then
        echo "Error: User ${DAEMON_USER} does not exist."
        exit 1
fi
UID_ARG=" --uid=${DAEMON_UID} "
do_start()
{
        cd $WD_PATH
        start-stop-daemon --start --quiet --chdir $WD_PATH --pidfile $PIDFILE 
--exec $DAEMON --test > /dev/null \
                || return 1
        start-stop-daemon --start --quiet --chdir $WD_PATH --pidfile $PIDFILE 
--exec $DAEMON -- \
                $DAEMON_ARGS $UID_ARG $DAEMON_CONF \
                || return 2
}
do_stop()
{
        start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile 
$PIDFILE --name $NAME
        RETVAL="$?"
        [ "$RETVAL" = 2 ] && return 2
        start-stop-daemon --stop --quiet --oknodo --retry=INT/30/KILL/5 --exec 
$DAEMON
        [ "$?" = 2 ] && return 2
        rm -f $PIDFILE
        return "$RETVAL"
}
case "$1" in
  start)
    log_daemon_msg "Starting $DESC " "$NAME"
    do_start
    case "$?" in
                0|1) log_end_msg 0 ;;
                2) log_end_msg 1 ;;
        esac
  ;;
  stop)
        log_daemon_msg "Stopping $DESC" "$NAME"
        do_stop
        case "$?" in
                0|1) log_end_msg 0 ;;
                2) log_end_msg 1 ;;
        esac
        ;;
  status)
       status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
       ;;
  restart)
        log_daemon_msg "Restarting $DESC" "$NAME"
        do_stop
        case "$?" in
          0|1)
                do_start
                case "$?" in
                        0) log_end_msg 0 ;;
                        1) log_end_msg 1 ;; # Old process is still running
                        *) log_end_msg 1 ;; # Failed to start
                esac
                ;;
          *)
                # Failed to stop
                log_end_msg 1
                ;;
        esac
        ;;
  force-reload)
        restart
        ;;
  *)
        echo "Usage: $SCRIPTNAME {start|stop|status|restart}" >&2
        exit 3
        ;;
esac
:


-- no debconf information

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to