Github messages for voidlinux
 help / color / mirror / Atom feed
From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] vscl: remove package
Date: Sat, 18 May 2024 17:54:51 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50414@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

There is a new pull request by abenson against master on the void-packages repository

https://github.com/abenson/void-packages rp_vscl
https://github.com/void-linux/void-packages/pull/50414

vscl: remove package
None

A patch file from https://github.com/void-linux/void-packages/pull/50414.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rp_vscl-50414.patch --]
[-- Type: text/x-diff, Size: 4507 bytes --]

From a58e08acc6ab85dce8fd5e7f349aef5f4b7e55c9 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Sat, 18 May 2024 10:53:17 -0500
Subject: [PATCH] vscl: remove package

Not adding it to `removed-packages` since there's no reason to remove-remove
it.
---
 srcpkgs/vscl/files/README.voidlinux |  1 -
 srcpkgs/vscl/files/vscl             | 11 ----
 srcpkgs/vscl/files/vscl-update      | 24 ---------
 srcpkgs/vscl/files/vscl.conf        |  1 -
 srcpkgs/vscl/template               | 82 -----------------------------
 5 files changed, 119 deletions(-)
 delete mode 100644 srcpkgs/vscl/files/README.voidlinux
 delete mode 100755 srcpkgs/vscl/files/vscl
 delete mode 100755 srcpkgs/vscl/files/vscl-update
 delete mode 100644 srcpkgs/vscl/files/vscl.conf
 delete mode 100644 srcpkgs/vscl/template

diff --git a/srcpkgs/vscl/files/README.voidlinux b/srcpkgs/vscl/files/README.voidlinux
deleted file mode 100644
index 30d862e6c0a379..00000000000000
--- a/srcpkgs/vscl/files/README.voidlinux
+++ /dev/null
@@ -1 +0,0 @@
-Run vscl-update after installation to fetch latest signatures.
diff --git a/srcpkgs/vscl/files/vscl b/srcpkgs/vscl/files/vscl
deleted file mode 100755
index 9c269a27308635..00000000000000
--- a/srcpkgs/vscl/files/vscl
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-config="/etc/vscl.conf"
-
-confcmd=""
-
-if [ -r $config ]; then
-	confcmd="--config ${config}"
-fi
-
-/_libdir/uvscan ${confcmd} "$@"
diff --git a/srcpkgs/vscl/files/vscl-update b/srcpkgs/vscl/files/vscl-update
deleted file mode 100755
index 5000943c8e2055..00000000000000
--- a/srcpkgs/vscl/files/vscl-update
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-AVDATURL="http://download.nai.com/products/commonupdater/"
-
-AVDATDIR="/_datadir"
-
-if [ ! -w "${AVDATDIR}" ]; then
-	echo "Can't write to ${AVDATDIR}"
-	exit 1
-fi
-
-cd ${AVDATDIR}
-
-filename=$(/bin/curl -sL "${AVDATURL}/avvdat.ini" | /bin/fgrep -A2 '[AVV-ZIP]' | /bin/tail -n +3 | /bin/cut -d= -f2 | /bin/tr -d '\r')
-
-echo "Fetching $filename"
-
-/bin/curl -Lo "${filename}" "${AVDATURL}/$filename"
-
-/bin/unzip -o -d "${AVDATDIR}" "${filename}" "*.dat"
-
-/bin/rm -rf ${filename}
-
-/usr/bin/vscl --version
diff --git a/srcpkgs/vscl/files/vscl.conf b/srcpkgs/vscl/files/vscl.conf
deleted file mode 100644
index 75cfa5fbac676e..00000000000000
--- a/srcpkgs/vscl/files/vscl.conf
+++ /dev/null
@@ -1 +0,0 @@
---data-directory=/_datadir
diff --git a/srcpkgs/vscl/template b/srcpkgs/vscl/template
deleted file mode 100644
index 56b7f7b772eccf..00000000000000
--- a/srcpkgs/vscl/template
+++ /dev/null
@@ -1,82 +0,0 @@
-# Template file for 'vscl'
-pkgname=vscl
-version=6.1.0
-revision=2
-build_style=fetch
-create_wrksrc=yes
-short_desc="McAfee VirusScan Command Line for Linux"
-depends="curl unzip"
-maintainer="Andrew Benson <abenson+void@gmail.com>"
-license="proprietary"
-restricted=yes
-repository=nonfree
-nodebug=yes
-nopie=yes
-nostrip=yes
-noshlibprovides=yes
-lib32disabled=yes
-homepage="https://www.mcafee.com/"
-conf_files="/etc/vscl.conf"
-make_dirs="/usr/share/vscl 0755 root root"
-
-_libdir="usr/libexec/${pkgname}"
-_datadir="usr/share/${pkgname}"
-
-mutable_files="
-	/${_datadir}/avvclean.dat
-	/${_datadir}/avvnames.dat
-	/${_datadir}/avvscan.dat
-	/${_libdir}/license.dat
-	/${_datadir}/runtime.dat"
-
-case "$XBPS_TARGET_MACHINE" in
-	i686)
-		checksum=20a9816ec9635f52ff3c55be1f9cf79d3b61fdc9f8b356dd52d69b0391bb86aa
-		_arch=32
-		broken="currently depends on old version of libstdc++"
-		;;
-	x86_64)
-		checksum=c859adc2b26fab77e2e50277dc9e71311b6c79e3c9a03a2733743635042b68f2
-		_arch=64
-		;;
-	*)
-		broken="mcafee doesn't provide for any other architectures for linux"
-		;;
-esac
-
-distfiles="vscl-l${_arch}-610-l.tar.gz"
-
-do_extract() {
-	tar -zxf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/vscl-l${_arch}-610-l.tar.gz" -C ${wrksrc}
-	cd ${wrksrc}
-}
-
-do_install() {
-	vmkdir ${_libdir}
-
-	vbin ${FILESDIR}/vscl
-	sed -i "s|_libdir|${_libdir}|g" ${DESTDIR}/usr/bin/vscl
-
-	vbin ${FILESDIR}/vscl-update
-	sed -i "s|_datadir|${_datadir}|g" ${DESTDIR}/usr/bin/vscl-update
-
-	vconf ${FILESDIR}/vscl.conf
-	sed -i "s|_datadir|${_datadir}|g" ${DESTDIR}/etc/vscl.conf
-
-	vman uvscan.1
-	vman uvscan.1 vscl.1
-
-	vlicense signlic.txt
-	vlicense license.txt
-
-	vdoc vscl610upg.pdf
-
-	for file in uvscan uvscan_secure; do
-		vinstall $file 0755 ${_libdir}
-	done
-
-	for file in config.dat signlic.txt license.dat liblnxfv.so.4; do
-		vinstall $file 644 ${_libdir}
-	done
-	vdoc "${FILESDIR}/README.voidlinux"
-}

             reply	other threads:[~2024-05-18 15:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-18 15:54 abenson [this message]
2024-05-18 16:21 ` [PR PATCH] [Merged]: " abenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50414@inbox.vuxu.org \
    --to=abenson@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).