From 4d563d8f107f388a61acde462f2ede72e6793a64 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sun, 1 Oct 2017 14:19:23 -0700 Subject: Remove the SVR4 packaging assets. Remove the svr4-package and solaris-package targets along with their associated files and directories. We used to use this to build Solaris packages but we haven't shipped those in years. Given that the last substantive change to packaging/svr4 was in 2008 it's likely that this has been unused for a while. Change-Id: Ib9153c99f503200ea8c48d3ef81ad688ee55c09f Reviewed-on: https://code.wireshark.org/review/23808 Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- packaging/svr4/Makefile.am | 8 ---- packaging/svr4/checkinstall.in | 43 -------------------- packaging/svr4/mkpkg | 90 ------------------------------------------ packaging/svr4/pkginfo.in | 13 ------ 4 files changed, 154 deletions(-) delete mode 100644 packaging/svr4/Makefile.am delete mode 100755 packaging/svr4/checkinstall.in delete mode 100755 packaging/svr4/mkpkg delete mode 100644 packaging/svr4/pkginfo.in (limited to 'packaging/svr4') diff --git a/packaging/svr4/Makefile.am b/packaging/svr4/Makefile.am deleted file mode 100644 index 83538f1dce..0000000000 --- a/packaging/svr4/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -# -DISTCLEANFILES = \ - Prototype - -MAINTAINERCLEANFILES = \ - Makefile.in - -EXTRA_DIST = checkinstall.in mkpkg pkginfo.in diff --git a/packaging/svr4/checkinstall.in b/packaging/svr4/checkinstall.in deleted file mode 100755 index 8cd0de78ba..0000000000 --- a/packaging/svr4/checkinstall.in +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# @configure_input@ -# -# Checkinstall - perform preinstallation install checks. -# -# This is a modified version of a script written by mark@metalab.unc.edu . -# The original is at http://metalab.unc.edu/pub/packages/solaris/sparc/html/creating.solaris.packages.html . -# - -PKG_CONFIG=@PKG_CONFIG@ - -gtk_version_needed="2.0" -expected_platform="@host_cpu@" - -platform=`uname -p` - -if [ ${platform} != ${expected_platform} ] -then - echo "\n\n\n\tThis package must be installed on a ${expected_platform} architecture\n" - echo "\tAborting installation.\n\n\n" - exit 1 -fi - -if [ ! -x "$PKG_CONFIG" ] -then - # We couldn't find GTK in the location that was used to build - # Wireshark. - # Punt! - # If gtk-config is in the $PATH then wireshark should install fine. - # Some modifications to $LD_LIBRARY_PATH (or non Solaris equivalent) - # may be required by the user. Should there be a warning here? - PKG_CONFIG=pkg-config -fi - -$PKG_CONFIG gtk+-2.0 --atleast-version=$gtk_version_needed -if [ $? != 0 ] -then - echo "\n\n\n\tThis package requires gtk+-2 version >= $gtk_version_needed installed in `dirname @PKG_CONFIG@`." - echo "\tAborting installation.\n\n\n" - exit 1 -fi - -exit 0 diff --git a/packaging/svr4/mkpkg b/packaging/svr4/mkpkg deleted file mode 100755 index ceb762a6d7..0000000000 --- a/packaging/svr4/mkpkg +++ /dev/null @@ -1,90 +0,0 @@ -#!/bin/sh -# -# mkpkg - Builds a pkgadd-installable package from a listing of the contents in -# a staging directory. -# -# This is a modified version of a script written by mark@metalab.unc.edu . -# The original is at http://metalab.unc.edu/pub/packages/solaris/sparc/html/creating.solaris.packages.html . -# -if [ "$1" != "" ] ; then - pkg=$1 -else - echo "Usage: " `basename $0` " [output file]" - exit 1 -fi - -if [ "$2" != "" ] ; then - pkgfile=$2 -else - pkgfile=$pkg -fi - -if [ "$3" != "" ] ; then - prefix=$3 -else - prefix=/usr/local -fi - -if [ "$4" != "" ] ; then - srcdir=$4 -else - srcdir=`basename $0`/../.. -fi - -# Initialize our variables -prepdir=`dirname $0` -prototype="$prepdir/Prototype" -stagedir=$srcdir/${pkg}.inst - -# Create the Prototype file -cat > $prototype <> $prototype - -# Make the package installation directory -pkgmk -o -r / -d /$srcdir -f $prototype -echo "Setting file permissions in $stagedir tree to 644." -find $stagedir -type f -print | xargs chmod a+r -find $stagedir -type f -print | xargs chmod u+w -echo "Setting directory permissions in $stagedir tree to 755." -find $stagedir -type d -print | xargs chmod 755 -if [ -f $stagedir/install/preinstall ]; then - chmod 755 $stagedir/install/preinstall -fi -if [ -f $stagedir/install/postinstall ]; then - chmod 755 $stagedir/install/postinstall -fi -if [ -f $stagedir/install/preremove ]; then - chmod 755 $stagedir/install/preremove -fi -if [ -f $stagedir/install/postremove ]; then - chmod 755 $stagedir/install/postremove -fi -if [ -f $stagedir/install/request ]; then - chmod 755 $stagedir/install/request -fi -if [ -f $stagedir/install/checkinstall ]; then - chmod 755 $stagedir/install/checkinstall -fi - -# Spool the install directory into its own self-contained file. -pkgtrans -s $srcdir $pkgfile $pkg - -# echo "Compressing package file" -# gzip -9 $srcdir/$pkgfile diff --git a/packaging/svr4/pkginfo.in b/packaging/svr4/pkginfo.in deleted file mode 100644 index 0c3edf2eee..0000000000 --- a/packaging/svr4/pkginfo.in +++ /dev/null @@ -1,13 +0,0 @@ -# @configure_input@ -PKG="@PACKAGE@" -NAME="@PACKAGE@ @VERSION@" -VERSION="@VERSION@" -ARCH="@host_cpu@" -CLASSES="none" -CATEGORY="application,network" -DESC="A GUI network protocol analyzer" -VENDOR="Wireshark Development Team" -EMAIL="gerald@wireshark.org" -ISTATES="S s 1 2 3" -RSTATES="S s 1 2 3" -BASEDIR="" -- cgit v1.2.3