aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2017-10-01 14:19:23 -0700
committerAnders Broman <a.broman58@gmail.com>2017-10-02 04:11:28 +0000
commit4d563d8f107f388a61acde462f2ede72e6793a64 (patch)
tree7414ebdd6cf57b0b0c9d79ebf09167d338f650ab /packaging
parent5c2a5dbdcdb21c259821a6aea70813813bb2cd21 (diff)
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 <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/Makefile.am2
-rw-r--r--packaging/svr4/Makefile.am8
-rwxr-xr-xpackaging/svr4/checkinstall.in43
-rwxr-xr-xpackaging/svr4/mkpkg90
-rw-r--r--packaging/svr4/pkginfo.in13
5 files changed, 1 insertions, 155 deletions
diff --git a/packaging/Makefile.am b/packaging/Makefile.am
index 7a888a7..4b6367e 100644
--- a/packaging/Makefile.am
+++ b/packaging/Makefile.am
@@ -1,5 +1,5 @@
#
-SUBDIRS = macosx rpm svr4 nsis wix
+SUBDIRS = macosx rpm nsis wix
MAINTAINERCLEANFILES = \
Makefile.in
diff --git a/packaging/svr4/Makefile.am b/packaging/svr4/Makefile.am
deleted file mode 100644
index 83538f1..0000000
--- 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 8cd0de7..0000000
--- 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 ceb762a..0000000
--- 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` " <package name> [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 <<Fin
-i pkginfo
-i checkinstall
-Fin
-if [ ! -d $stagedir ] ; then
- echo "Whoops! Staging directory $stagedir doesn't exist. Bailing."
- exit 1
-fi
-
-find $stagedir/$prefix/* -print | \
- pkgproto $stagedir/$prefix=$prefix | \
- # Mimic file permissions under /usr
- awk ' \
- /bin/ { print $1, $2, $3, $4, "root bin"; next }; \
- /lib/ { print $1, $2, $3, $4, "root bin"; next }; \
- /man/ { print $1, $2, $3, $4, "root bin"; next }; \
- { print $1, $2, $3, $4, "root sys" } \
- ' \
- >> $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 0c3edf2..0000000
--- 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=""