From nobody Sun Sep 10 15:40:20 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RkDZD2rf9z4sfH6; Sun, 10 Sep 2023 15:40:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RkDZD22DMz4fQc; Sun, 10 Sep 2023 15:40:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694360420; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NPKYNoJ3eRnvNApmzthOdsPvdPrpCjzhAv8HBHSxUGI=; b=xfAcLKIIcNdBmI9+4SRZYWJ2PRBC3ZFph0ITXpGsKGZmTSglHBPO++prWE/ncyfaDmfAYb yvjxLOWYdofDBgtPar9SnFk1UCSkHOlU94cAeL/ocIQeX7Har5jWqzbPdRaB4ogUTYHBu4 cfuWlnKDWTAtWu0rXuTUDDZ2bQlTyTQn3by3LAbhJYxBcoOOXIJrU6FrfaL2viBmqpKvfW 5yqH0ApcnXNKn9lngC+rVBmtYfPemz1k4EF77grLPRPTW8VTVzbbw4Cfal7PPz3sVoxKe0 POcIrE7pYpQYwzIVBx2zLx+QnvXCaj4OiNd/HaClRF+SHnnr4CtHelg+El2Z6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694360420; a=rsa-sha256; cv=none; b=FhwsXOK2PgDg0I5/NrSwyMPhRvgIBgKneQC5Uh1lItTyFyyPT4jROWZmRf2FPIgT6a2ES/ 1MX4u17VpJv2tdNhAAlnAQZp+x057c5OxYp1waAZJm8rvkWR2PJloIc21SFxvuPejcGEg6 CKE9ZcEYC7KRD7IbcZwp0FL4z4x+EL1jkHoQZjWzjxa536Ee+RIwyMCCY7wnEL9SDvtMZv NF0Yhstuv3taALmy6K0quiQEFHw1YTzi1Rg/+z94Mf03RkZiqHJRqYz2zg2tifkFl1uZsx os6+KVhj5rRph1tkzyriA0xAI9Gpo4Xe1bx2rxfedOMRIZhBwDTjbAPOo7RPXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694360420; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NPKYNoJ3eRnvNApmzthOdsPvdPrpCjzhAv8HBHSxUGI=; b=ddPFKqcfZ4mqHWiP0jyJqf/gsYFHIc6TLZ8HQOSefv6LwaJRx0hkwDp4UFD5eHC+rZtlUz qFLOS+OlmCFf21dJo7Rou4lVwZcZwn6tmyA2vMxYyyNErg+eCaAOmvqZhTrWQ9xDyNcPEf eYznX/GPdBuL/kv67t2B4DLyHCdUKL4gf33G17sHU6OZMYv62D6uxNoFY/BkrdCQTKqo9O Pbv8CVgdQKvTTzy2nM9lEuFPAwzUfyJeL/fZlK8OMeYNa+U664l5M5OyhmO1DnBnbIohcy IQNaVJfxo1fc3X27dP+4XlfPRLMkfyJK3VCvAcO0tsNReckENA/XAMOePJfHUw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RkDZD0znQz1BKs; Sun, 10 Sep 2023 15:40:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38AFeKea066006; Sun, 10 Sep 2023 15:40:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38AFeKdB066003; Sun, 10 Sep 2023 15:40:20 GMT (envelope-from git) Date: Sun, 10 Sep 2023 15:40:20 GMT Message-Id: <202309101540.38AFeKdB066003@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: a7d93b79e9ad - main - sysutils/bacula*-server: remove unused scripts List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a7d93b79e9ad5e103d8db701efc3966db31c7b64 Auto-Submitted: auto-generated The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=a7d93b79e9ad5e103d8db701efc3966db31c7b64 commit a7d93b79e9ad5e103d8db701efc3966db31c7b64 Author: Dan Langille AuthorDate: 2023-09-10 15:17:27 +0000 Commit: Dan Langille CommitDate: 2023-09-10 15:40:07 +0000 sysutils/bacula*-server: remove unused scripts Remove * files/pkg-deinstall.server.in * files/pkg-install.server.in They are not used. They duplicate the actions of the cliemt scripts. The server requires the client. PR: 273306 --- .../bacula11-server/files/pkg-deinstall.server.in | 34 ---------------------- .../bacula11-server/files/pkg-install.server.in | 13 --------- .../bacula13-server/files/pkg-deinstall.server.in | 34 ---------------------- .../bacula13-server/files/pkg-install.server.in | 13 --------- .../bacula9-server/files/pkg-deinstall.server.in | 34 ---------------------- .../bacula9-server/files/pkg-install.server.in | 13 --------- 6 files changed, 141 deletions(-) diff --git a/sysutils/bacula11-server/files/pkg-deinstall.server.in b/sysutils/bacula11-server/files/pkg-deinstall.server.in deleted file mode 100644 index 05da0eb6a7f6..000000000000 --- a/sysutils/bacula11-server/files/pkg-deinstall.server.in +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Note how to delete UID/GID -USER=%%BACULA_USER%% -GROUP=%%BACULA_GROUP%% -UID=%%BACULA_UID%% -GID=%%BACULA_UID%% -BACULA_DIR=%%BACULA_DIR%% - -TMPFILE=/tmp/services-$RANDOM-$$ - -case "$2" in -"DEINSTALL") - # Delete entries in /etc/services - sed -e '/# Bacula port start/,/# Bacula port end/{' \ - -e 'd' \ - -e '}' /etc/services > $TMPFILE - mv -f $TMPFILE /etc/services - - if [ -d ${BACULA_DIR} ]; then - rmdir ${BACULA_DIR}; - fi - if [ -d ${BACULA_DIR} ]; then - echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port." - fi - - if pw usershow "${USER}" 2>/dev/null 1>&2; then - echo "To delete Bacula user permanently, use 'pw userdel ${USER}'" - echo "To delete Bacula group permanently, use 'pw groupdel ${GROUP}'" - fi - ;; -esac diff --git a/sysutils/bacula11-server/files/pkg-install.server.in b/sysutils/bacula11-server/files/pkg-install.server.in deleted file mode 100644 index 12e044538074..000000000000 --- a/sysutils/bacula11-server/files/pkg-install.server.in +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Always add lines in /etc/services -grep -q "bacula-dir" /etc/services -if [ "$?" != "0" ]; then - echo "# Bacula port start -bacula-dir 9101/tcp #Bacula director daemon -bacula-fd 9102/tcp #Bacula file daemon -bacula-sd 9103/tcp #Bacula storage daemon -# Bacula port end" >> /etc/services -fi diff --git a/sysutils/bacula13-server/files/pkg-deinstall.server.in b/sysutils/bacula13-server/files/pkg-deinstall.server.in deleted file mode 100644 index 05da0eb6a7f6..000000000000 --- a/sysutils/bacula13-server/files/pkg-deinstall.server.in +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Note how to delete UID/GID -USER=%%BACULA_USER%% -GROUP=%%BACULA_GROUP%% -UID=%%BACULA_UID%% -GID=%%BACULA_UID%% -BACULA_DIR=%%BACULA_DIR%% - -TMPFILE=/tmp/services-$RANDOM-$$ - -case "$2" in -"DEINSTALL") - # Delete entries in /etc/services - sed -e '/# Bacula port start/,/# Bacula port end/{' \ - -e 'd' \ - -e '}' /etc/services > $TMPFILE - mv -f $TMPFILE /etc/services - - if [ -d ${BACULA_DIR} ]; then - rmdir ${BACULA_DIR}; - fi - if [ -d ${BACULA_DIR} ]; then - echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port." - fi - - if pw usershow "${USER}" 2>/dev/null 1>&2; then - echo "To delete Bacula user permanently, use 'pw userdel ${USER}'" - echo "To delete Bacula group permanently, use 'pw groupdel ${GROUP}'" - fi - ;; -esac diff --git a/sysutils/bacula13-server/files/pkg-install.server.in b/sysutils/bacula13-server/files/pkg-install.server.in deleted file mode 100644 index 12e044538074..000000000000 --- a/sysutils/bacula13-server/files/pkg-install.server.in +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Always add lines in /etc/services -grep -q "bacula-dir" /etc/services -if [ "$?" != "0" ]; then - echo "# Bacula port start -bacula-dir 9101/tcp #Bacula director daemon -bacula-fd 9102/tcp #Bacula file daemon -bacula-sd 9103/tcp #Bacula storage daemon -# Bacula port end" >> /etc/services -fi diff --git a/sysutils/bacula9-server/files/pkg-deinstall.server.in b/sysutils/bacula9-server/files/pkg-deinstall.server.in deleted file mode 100644 index 05da0eb6a7f6..000000000000 --- a/sysutils/bacula9-server/files/pkg-deinstall.server.in +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Note how to delete UID/GID -USER=%%BACULA_USER%% -GROUP=%%BACULA_GROUP%% -UID=%%BACULA_UID%% -GID=%%BACULA_UID%% -BACULA_DIR=%%BACULA_DIR%% - -TMPFILE=/tmp/services-$RANDOM-$$ - -case "$2" in -"DEINSTALL") - # Delete entries in /etc/services - sed -e '/# Bacula port start/,/# Bacula port end/{' \ - -e 'd' \ - -e '}' /etc/services > $TMPFILE - mv -f $TMPFILE /etc/services - - if [ -d ${BACULA_DIR} ]; then - rmdir ${BACULA_DIR}; - fi - if [ -d ${BACULA_DIR} ]; then - echo "Check if ${BACULA_DIR} is empty and delete it to permanently remove the bacula port." - fi - - if pw usershow "${USER}" 2>/dev/null 1>&2; then - echo "To delete Bacula user permanently, use 'pw userdel ${USER}'" - echo "To delete Bacula group permanently, use 'pw groupdel ${GROUP}'" - fi - ;; -esac diff --git a/sysutils/bacula9-server/files/pkg-install.server.in b/sysutils/bacula9-server/files/pkg-install.server.in deleted file mode 100644 index 12e044538074..000000000000 --- a/sysutils/bacula9-server/files/pkg-install.server.in +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Always add lines in /etc/services -grep -q "bacula-dir" /etc/services -if [ "$?" != "0" ]; then - echo "# Bacula port start -bacula-dir 9101/tcp #Bacula director daemon -bacula-fd 9102/tcp #Bacula file daemon -bacula-sd 9103/tcp #Bacula storage daemon -# Bacula port end" >> /etc/services -fi