[csw-devel] SF.net SVN: gar:[10402] csw/mgar/pkg/x3270/tags
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Fri Jul 2 10:10:47 CEST 2010
Revision: 10402
http://gar.svn.sourceforge.net/gar/?rev=10402&view=rev
Author: dmichelsen
Date: 2010-07-02 08:10:46 +0000 (Fri, 02 Jul 2010)
Log Message:
-----------
x32070: Add existing build recipe from Mike Arnold
Added Paths:
-----------
csw/mgar/pkg/x3270/tags/legacy/
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/1.prep
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/2.packageS
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/3.build
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/4.install
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/5.package
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/BUILDREQS
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/README
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/README.CSW
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/c3270-3.3_ncurses.patch
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/env
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/suite3270-3.3.6.tgz
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/copyright
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/depend
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/pkginfo
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/pkginfoS
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/postinstall
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/preremove
csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270-3.3.6_DBCS.patch
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/1.prep
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/1.prep (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/1.prep 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,34 @@
+#!/opt/csw/bin/bash
+
+#export GCC=gcc3
+. ${HOME}/.pkgbuild
+. ${PKG_SOURCE_DIR}/CSW.env.sh
+. `dirname $0`/env
+
+set -x
+umask 022
+cd $PKG_BUILD_DIR
+
+rm -rf $PKG_PACKAGE_NAME
+mkdir $PKG_PACKAGE_NAME
+cd $PKG_PACKAGE_NAME
+/bin/gzip -dc ${PKG_SOURCE_DIR}/${PKG_TARBALL_NAME}-${PKG_PACKAGE_VERSION}.tgz | tar -xf -
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+#cd $PKG_PACKAGE_NV
+[ `/opt/csw/bin/gid | /opt/csw/bin/gsed 's/[^=]*=\([0-9][0-9]*\).*$/\1/'` = '0' ] && /opt/csw/bin/gchown -Rhf root .
+[ `/opt/csw/bin/gid | /opt/csw/bin/gsed 's/[^=]*=\([0-9][0-9]*\).*$/\1/'` = '0' ] && /opt/csw/bin/gchgrp -Rhf other .
+/opt/csw/bin/gchmod -Rf a+rX,g-w,o-w .
+
+echo "Applying c3270-3.3_ncurses.patch"
+patch -p0 -s -b -V t < ${PKG_SOURCE_DIR}/c3270-3.3_ncurses.patch
+echo "Applying x3270-3.3.6_DBCS.patch"
+patch -p0 -s -b -V t < ${PKG_SOURCE_DIR}/x3270-3.3.6_DBCS.patch
+
+cp -p ${PKG_SOURCE_DIR}/README.CSW .
+
+/opt/csw/bin/gfind . -perm 000 -exec /opt/csw/bin/gchmod +r {} \;
+
+exit 0
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/1.prep
___________________________________________________________________
Added: svn:executable
+ *
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/2.packageS
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/2.packageS (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/2.packageS 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,28 @@
+#!/opt/csw/bin/bash
+
+#export GCC=gcc3
+. ${HOME}/.pkgbuild
+. ${PKG_SOURCE_DIR}/CSW.env.sh
+. `dirname $0`/env
+
+set -x
+umask 022
+cd $PKG_BUILD_DIR
+
+cd $PKG_PACKAGE_NAME
+PGROUP=`/usr/xpg4/bin/id -n -g`
+pkgproto .=/opt/csw/src/${PKG_PACKAGE_NV} | sort -k3 | sed -e 's| opt| /opt|' -e "s/${LOGNAME} ${PGROUP}$/root bin/" > prototype
+cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/copyright copyright
+echo "i copyright" >> prototype
+cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/pkginfoS pkginfo
+echo "i pkginfo" >> prototype
+createspkg -r .
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+
+mv *.gz ${PKG_SPKG_DIR}
+rm prototype copyright pkginfo
+
+exit 0
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/2.packageS
___________________________________________________________________
Added: svn:executable
+ *
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/3.build
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/3.build (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/3.build 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,83 @@
+#!/opt/csw/bin/bash
+
+#export GCC=gcc3
+. ${HOME}/.pkgbuild
+. ${PKG_SOURCE_DIR}/CSW.env.sh
+. `dirname $0`/env
+
+set -x
+umask 022
+cd $PKG_BUILD_DIR
+
+cd $PKG_PACKAGE_NAME
+echo "Cleaning up patching..."
+find . -name \*.~?~ -exec rm -f {} \;
+
+LOGNAME=nobody
+cd c3270-${PKG_PACKAGE_SHORTVERSION}
+./configure --prefix=/opt/csw --mandir=/opt/csw/share/man
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+/opt/csw/bin/gmake
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+cd ..
+
+cd pr3287-${PKG_PACKAGE_SHORTVERSION}
+./configure --prefix=/opt/csw --mandir=/opt/csw/share/man
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+/opt/csw/bin/gmake
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+cd ..
+
+cd s3270-${PKG_PACKAGE_SHORTVERSION}
+./configure --prefix=/opt/csw --mandir=/opt/csw/share/man
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+/opt/csw/bin/gmake
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+cd ..
+
+cd tcl3270-${PKG_PACKAGE_SHORTVERSION}
+./configure --prefix=/opt/csw --mandir=/opt/csw/share/man --with-tcl=8.4
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+/opt/csw/bin/gmake
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+cd ..
+
+cd x3270-${PKG_PACKAGE_SHORTVERSION}
+PATH=$PATH:/usr/openwin/bin
+./configure --prefix=/opt/csw --mandir=/opt/csw/share/man --without-pr3287 --with-fontdir=/opt/csw/share/x3270
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+/opt/csw/bin/gmake
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+cd ..
+
+exit 0
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/3.build
___________________________________________________________________
Added: svn:executable
+ *
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/4.install
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/4.install (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/4.install 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,106 @@
+#!/opt/csw/bin/bash
+
+#export GCC=gcc3
+. ${HOME}/.pkgbuild
+. ${PKG_SOURCE_DIR}/CSW.env.sh
+. `dirname $0`/env
+
+set -x
+umask 022
+cd $PKG_BUILD_DIR
+
+cd $PKG_PACKAGE_NAME
+[ -n "$PKG_BUILD_ROOT" -a "$PKG_BUILD_ROOT" != / ] && /opt/csw/bin/grm -rf $PKG_BUILD_ROOT
+
+makeinstall() {
+ if [ -n "$1" ]; then VAR=".${1}"; fi
+ /opt/csw/bin/gmake \
+ prefix=/opt/csw \
+ exec_prefix=/opt/csw \
+ bindir=/opt/csw/bin \
+ sbindir=/opt/csw/sbin \
+ sysconfdir=/opt/csw/etc \
+ datadir=/opt/csw/share \
+ includedir=/opt/csw/include \
+ libdir=/opt/csw/lib \
+ libexecdir=/opt/csw/libexec \
+ localstatedir=/opt/csw/var \
+ sharedstatedir=/opt/csw/com \
+ mandir=/opt/csw/share/man \
+ infodir=/opt/csw/share/info \
+ install${VAR} INSTALLROOT=$PKG_BUILD_ROOT \
+ INSTALL_ROOT=$PKG_BUILD_ROOT \
+ DESTDIR=$PKG_BUILD_ROOT $2
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+unset VAR
+}
+
+cd c3270-${PKG_PACKAGE_SHORTVERSION}
+makeinstall
+makeinstall man
+/opt/csw/bin/ginstall -d ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/c3270
+/opt/csw/bin/gcp -pR html/ LICENSE README ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/c3270
+cd ..
+
+cd pr3287-${PKG_PACKAGE_SHORTVERSION}
+makeinstall
+makeinstall man
+/opt/csw/bin/ginstall -d ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/pr3287
+/opt/csw/bin/gcp -pR html/ LICENSE README ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/pr3287
+cd ..
+
+cd s3270-${PKG_PACKAGE_SHORTVERSION}
+makeinstall
+makeinstall man
+mkdir -p ${PKG_BUILD_ROOT}/opt/csw/lib/x3270
+cp -p x3270_glue.expect ${PKG_BUILD_ROOT}/opt/csw/lib/x3270/x3270_glue.expect
+ cd Examples
+ for X in `ls`; do
+ sed 's%/usr/local/bin/expect%/opt/csw/bin/expect%' $X > $X.out
+ mv -f $X.out $X
+ done
+ cd ..
+/opt/csw/bin/ginstall -d ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/s3270
+/opt/csw/bin/gcp -pR html/ Examples/ LICENSE README ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/s3270
+cd ..
+
+cd tcl3270-${PKG_PACKAGE_SHORTVERSION}
+makeinstall
+makeinstall man
+/opt/csw/bin/ginstall -d ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/tcl3270
+/opt/csw/bin/gcp -pR html/ Examples/ LICENSE README ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/tcl3270
+cd ..
+
+cd x3270-${PKG_PACKAGE_SHORTVERSION}
+PATH=$PATH:/usr/openwin/bin
+makeinstall byprefix
+#makeinstall "" "BINDIR=/opt/csw/bin MANDIR=/opt/csw/share/man/man1 LIBDIR=/opt/csw/lib/X11"
+#makeinstall man "BINDIR=/opt/csw/bin MANDIR=/opt/csw/share/man/man1 LIBDIR=/opt/csw/lib/X11"
+ cd Examples
+ for X in `ls`; do
+ sed 's%/usr/local/bin/expect%/opt/csw/bin/expect%' $X > $X.out
+ mv -f $X.out $X
+ sed 's%/usr/local/bin/bash%/bin/bash%' $X > $X.out
+ mv -f $X.out $X
+ done
+ cd ..
+/opt/csw/bin/ginstall -d ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/x3270
+/opt/csw/bin/gcp -pR html/ Examples/ LICENSE README ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/x3270
+cd ..
+
+for X in `/opt/csw/bin/gls ${PKG_BUILD_ROOT}/opt/csw/etc/x3270/*`; do
+ /opt/csw/bin/gmv ${X} ${X}.CSW
+done
+
+# installdoc ${PKG_SOURCE_DIR}/README.CSW
+/opt/csw/bin/ginstall -d ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}
+/opt/csw/bin/gcp -pR ${PKG_SOURCE_DIR}/README.CSW ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}
+
+${PKG_TOPDIR}/SOURCE/brp-strip /usr/ccs/bin/strip
+/opt/csw/bin/gchmod u+w ${PKG_BUILD_ROOT}${PKG_DOC_DIR}/${PKG_PACKAGE_NAME}/*/html/*
+/opt/csw/bin/gchmod a-wx ${PKG_BUILD_ROOT}/opt/csw/share/man/man?/*
+
+exit 0
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/4.install
___________________________________________________________________
Added: svn:executable
+ *
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/5.package
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/5.package (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/5.package 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,71 @@
+#!/opt/csw/bin/bash
+
+#export GCC=gcc3
+. ${HOME}/.pkgbuild
+. ${PKG_SOURCE_DIR}/CSW.env.sh
+. `dirname $0`/env
+
+set -x
+umask 022
+cd $PKG_BUILD_DIR
+
+rm -rf $PKG_PKGMK_ROOT
+mkdir $PKG_PKGMK_ROOT
+cd $PKG_BUILD_ROOT
+tar cf - * | (cd $PKG_PKGMK_ROOT; tar xvf -)
+cd $PKG_PKGMK_ROOT
+PGROUP=`/usr/xpg4/bin/id -n -g`
+pkgproto . | sort -k3 | sed -e 's| etc| /etc|' -e 's| opt| /opt|' -e 's| usr| /usr|' -e 's| var| /var|' -e "s/${LOGNAME} ${PGROUP}$/root bin/" > prototype
+CSWcommon="`awk '/CSWcommon/{print $1}' /var/sadm/install/contents | sed -e 's|=.*||'`"
+cp -p prototype /tmp/prototype.$$
+set +x
+# Pull out all paths found in CSWcommon
+for X in /opt $CSWcommon ; do
+ fgrep -v " ${X} " /tmp/prototype.$$ > /tmp/$$
+ mv /tmp/$$ /tmp/prototype.$$
+done
+# Do not specify owner and perms on paths that Solaris owns.
+for X in /etc /etc/init.d /etc/opt /var /var/opt /var/run ; do
+ Y=`echo $X | sed 's|/|\\\/|g'`
+ awk "\$3~/^$Y$/{print \$1,\$2,\$3,\"? ? ?\"}; \$3!~/^$Y$/{print \$0}" /tmp/prototype.$$ > /tmp/$$
+ mv /tmp/$$ /tmp/prototype.$$
+done
+# Do not specify owner and perms on paths that CSWcommon should own.
+for X in /opt/csw/etc /opt/csw/etc/default /opt/csw/etc/init.d /opt/csw/include /opt/csw/var/log ; do
+ Y=`echo $X | sed 's|/|\\\/|g'`
+ awk "\$3~/^$Y$/{print \$1,\$2,\$3,\"? ? ?\"}; \$3!~/^$Y$/{print \$0}" /tmp/prototype.$$ > /tmp/$$
+ mv /tmp/$$ /tmp/prototype.$$
+done
+set -x
+# Specify owner and group for certain hobbit files.
+#for X in /opt/csw/etc/hobbit /opt/csw/var/hobbit ; do
+# Y=`echo $X | sed 's|/|\\\/|g'`
+# awk "\$3~/^$Y$/{print \$1,\$2,\$3,\$4,\"hobbit hobbit\"}; \$3!~/^$Y$/{print \$0}" /tmp/prototype.$$ > /tmp/$$
+# mv /tmp/$$ /tmp/prototype.$$
+#done
+mv /tmp/prototype.$$ prototype
+#cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/prototype prototype
+cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/copyright copyright
+echo "i copyright" >> prototype
+cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/depend depend
+echo "i depend" >> prototype
+cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/pkginfo pkginfo
+echo "i pkginfo" >> prototype
+#cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/preinstall preinstall
+#echo "i preinstall" >> prototype
+cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/postinstall postinstall
+echo "i postinstall" >> prototype
+cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/preremove preremove
+echo "i preremove" >> prototype
+#cp -p ${PKG_SOURCE_DIR}/${PKG_PACKAGE_NAME}/postremove postremove
+#echo "i postremove" >> prototype
+
+createpkg -r .
+STATUS=$?
+if [ $STATUS -ne 0 ]; then
+ exit $STATUS
+fi
+
+mv *.gz $PKG_PKG_DIR
+
+exit 0
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/5.package
___________________________________________________________________
Added: svn:executable
+ *
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/BUILDREQS
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/BUILDREQS (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/BUILDREQS 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1 @@
+/opt/csw/bin/pkg-get -i readline ncurses openssl libicu
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/README
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/README (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/README 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,2 @@
+http://prdownloads.sourceforge.net/x3270/suite3270-3.3.4p7.tgz?download
+http://easynews.dl.sourceforge.net/sourceforge/x3270/suite3270-3.3.4p7.tgz
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/README.CSW
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/README.CSW (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/README.CSW 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,23 @@
+$Id: README.CSW 832 2007-08-16 01:22:30Z mike $
+
+x3270 Terminal Emulator
+
+*** Supporting software:
+/opt/csw/bin/pkg-get -i bash shutils fileutils binutils findutils
+/opt/csw/bin/pkg-get -i gmake gcc3core ggrep gsed gnulinks
+/opt/csw/bin/pkg-get -i readline ncurses openssl libicu
+
+*** Patches applied:
+c3270-3.3_ncurses.patch
+
+*** Configured with:
+./c3270-3.3/configure --prefix=/opt/csw --mandir=/opt/csw/share/man
+./pr3287-3.3/configure --prefix=/opt/csw --mandir=/opt/csw/share/man
+./s3270-3.3/configure --prefix=/opt/csw --mandir=/opt/csw/share/man
+./tcl3270-3.3/configure --prefix=/opt/csw --mandir=/opt/csw/share/man \
+ --with-tcl=8.4
+./x3270-3.3/configure --prefix=/opt/csw --mandir=/opt/csw/share/man \
+ --without-pr3287 --with-fontdir=/opt/csw/share/x3270
+
+*** Upgrading:
+
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/c3270-3.3_ncurses.patch
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/c3270-3.3_ncurses.patch (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/c3270-3.3_ncurses.patch 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,58 @@
+--- c3270-3.3/configure.in-orig Sat Jan 1 09:02:25 2005
++++ c3270-3.3/configure.in Wed Oct 11 21:13:00 2006
+@@ -85,7 +85,7 @@
+ AC_CHECK_HEADERS(libutil.h)
+ AC_CHECK_HEADERS(util.h)
+ AC_CHECK_HEADERS(getopt.h)
+-AC_CHECK_HEADERS(ncurses.h, , [AC_CHECK_HEADERS(curses.h, , [AC_MSG_ERROR(Can't find ncurses.h or curses.h)])])
++AC_CHECK_HEADERS(ncurses.h ncurses/ncurses.h, , [AC_CHECK_HEADERS(curses.h, , [AC_MSG_ERROR(Can't find ncurses.h or curses.h)])])
+
+ dnl Check for libncurses/ncurses.h inconsistency
+ if test $ac_cv_lib_ncurses_newterm != $ac_cv_header_ncurses_h
+--- c3270-3.3/conf.h.in-orig Tue Dec 24 16:14:31 2002
++++ c3270-3.3/conf.h.in Tue Oct 10 23:35:16 2006
+@@ -28,6 +28,7 @@
+ #undef HAVE_LIBSSL
+
+ /* Header files. */
++#undef HAVE_NCURSES_NCURSES_H
+ #undef HAVE_NCURSES_H
+ #undef HAVE_CURSES_H
+ #undef HAVE_SYS_SELECT_H
+--- c3270-3.3/configure-orig Sat Jan 1 09:02:45 2005
++++ c3270-3.3/configure Tue Oct 10 23:24:18 2006
+@@ -3653,7 +3653,7 @@
+ done
+
+
+-for ac_header in ncurses.h
++for ac_header in ncurses/ncurses.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+--- c3270-3.3/keymap.c-orig Thu Apr 10 10:24:01 2003
++++ c3270-3.3/keymap.c Tue Oct 10 23:29:24 2006
+@@ -40,7 +40,9 @@
+ #undef COLOR_YELLOW
+ #undef COLOR_BLUE
+ #undef COLOR_WHITE
+-#if defined(HAVE_NCURSES_H) /*[*/
++#if defined(HAVE_NCURSES_NCURSES_H)
++#include <ncurses/ncurses.h>
++#elif defined(HAVE_NCURSES_H) /*[*/
+ #include <ncurses.h>
+ #else /*][*/
+ #include <curses.h>
+--- c3270-3.3/screen.c-orig Mon Apr 4 14:34:58 2005
++++ c3270-3.3/screen.c Tue Oct 10 23:29:30 2006
+@@ -46,7 +46,9 @@
+ #undef COLOR_YELLOW
+ #undef COLOR_BLUE
+ #undef COLOR_WHITE
+-#if defined(HAVE_NCURSES_H) /*[*/
++#if defined(HAVE_NCURSES_NCURSES_H)
++#include <ncurses/ncurses.h>
++#elif defined(HAVE_NCURSES_H) /*[*/
+ #include <ncurses.h>
+ #else /*][*/
+ #include <curses.h>
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/env
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/env (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/env 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,27 @@
+PKG_PACKAGE_NAME="x3270"
+PKG_PACKAGE_VERSION="3.3.6"
+PKG_PACKAGE_RELEASE="1.sol8.re"
+PKG_OPT_FLAGS="-O2"
+export PKG_PACKAGE_NAME PKG_PACKAGE_VERSION PKG_PACKAGE_RELEASE PKG_OPT_FLAGS
+
+PKG_TARBALL_NAME="suite3270"
+PKG_PACKAGE_SHORTVERSION="3.3"
+export PKG_TARBALL_NAME PKG_PACKAGE_SHORTVERSION
+
+PKG_ARCH=`uname -p`
+PKG_OS="solaris"
+PKG_DOC_DIR="/opt/csw/share/doc"
+export PKG_ARCH PKG_OS PKG_DOC_DIR
+
+PKG_PACKAGE_NV="${PKG_PACKAGE_NAME}-${PKG_PACKAGE_VERSION}"
+export PKG_PACKAGE_NV
+
+PKG_SOURCE_DIR="${PKG_SOURCE_DIR}/${PKG_PACKAGE_NV}"
+PKG_BUILD_ROOT="${PKG_TEMP_DIR}/${PKG_PACKAGE_NV}-${PKG_PACKAGE_RELEASE}-${PKG_ARCH}-root"
+PKG_PKGMK_ROOT="${PKG_PKGMK_DIR}/${PKG_PACKAGE_NV}-${PKG_PACKAGE_RELEASE}-${PKG_ARCH}-root"
+export PKG_SOURCE_DIR PKG_BUILD_ROOT PKG_PKGMK_ROOT
+
+CPPFLAGS="$PKG_OPT_FLAGS $CPPFLAGS"
+CFLAGS="$PKG_OPT_FLAGS $CFLAGS"
+export CFLAGS CPPFLAGS
+
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/env
___________________________________________________________________
Added: svn:executable
+ *
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/suite3270-3.3.6.tgz
===================================================================
(Binary files differ)
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/suite3270-3.3.6.tgz
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/copyright
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/copyright (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/copyright 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,6 @@
+
+x3270 is copyrighted (C) 1993-2007 by Paul Mattes.
+
+x3270 is Open Source software, made available under a NO WARRANTY license.
+See the file LICENSE for details and for other copyright notices.
+
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/depend
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/depend (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/depend 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,11 @@
+P CSWcommon common - common files and dirs for CSW packages
+P CSWreadline readline - library to enable interactive line editing
+P CSWosslrt openssl_rt - Openssl runtime libraries
+P CSWlibicu libicu - International Components for Unicode
+P CSWncurses ncurses - ncurses library and utilities
+P CSWtcl tcl - Tool Command Language
+P SUNWcsl Core Solaris, (Shared Libs)
+P SUNWlibms Sun WorkShop Bundled shared libm
+P SUNWxwice ICE components
+P SUNWxwplt X Window System platform software
+P SUNWxwrtl X Window System & Graphics Runtime Library Links in /usr/lib
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/pkginfo
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/pkginfo (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/pkginfo 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,8 @@
+PKG=CSWx3270
+NAME=x3270 - TN3270 Terminal Emulator
+CATEGORY=application
+VERSION=3.3.6
+VENDOR=http://www.geocities.com/SiliconValley/Peaks/7814/ packaged for CSW by Mike Arnold
+HOTLINE=http://www.blastwave.org/bugtrack/
+EMAIL=mike at blastwave.org
+DESC=An IBM 3270 terminal emulator.
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/pkginfoS
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/pkginfoS (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/pkginfoS 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,9 @@
+PKG=CSWx3270S
+NAME=x3270 - TN3270 Terminal Emulator (Source)
+CATEGORY=application
+VERSION=3.3.6
+VENDOR=http://www.geocities.com/SiliconValley/Peaks/7814/ packaged for CSW by Mike Arnold
+HOTLINE=http://www.blastwave.org/bugtrack/
+EMAIL=mike at blastwave.org
+DESC=An IBM 3270 terminal emulator. (Source)
+ARCH=all
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/postinstall
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/postinstall (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/postinstall 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ "$PKG_INSTALL_ROOT" = "" ] ; then
+ PKG_INSTALL_ROOT="/"
+fi
+
+echo "Installing config files"
+for X in `${PKG_INSTALL_ROOT}/usr/bin/ls ${PKG_INSTALL_ROOT}/opt/csw/etc/x3270/*.CSW`; do
+ Y=`echo "$X" | ${PKG_INSTALL_ROOT}/usr/bin/sed 's|.CSW||'`
+ if [ ! -f $Y ]; then
+ ${PKG_INSTALL_ROOT}/usr/bin/cp -p $X $Y
+ fi
+done
+
+exit 0
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/preremove
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/preremove (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/preremove 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ "$PKG_INSTALL_ROOT" = "" ] ; then
+ PKG_INSTALL_ROOT="/"
+fi
+
+echo "Removing unmodified config files"
+for X in `${PKG_INSTALL_ROOT}/usr/bin/ls ${PKG_INSTALL_ROOT}/opt/csw/etc/x3270/*.CSW`; do
+ Y=`echo "$X" | ${PKG_INSTALL_ROOT}/usr/bin/sed 's|.CSW||'`
+ if ${PKG_INSTALL_ROOT}/usr/bin/cmp -s $X $Y; then
+ ${PKG_INSTALL_ROOT}/usr/bin/rm $Y
+ fi
+done
+
+exit 0
Property changes on: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270/preremove
___________________________________________________________________
Added: svn:executable
+ *
Added: csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270-3.3.6_DBCS.patch
===================================================================
--- csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270-3.3.6_DBCS.patch (rev 0)
+++ csw/mgar/pkg/x3270/tags/legacy/x3270-3.3.6/x3270-3.3.6_DBCS.patch 2010-07-02 08:10:46 UTC (rev 10402)
@@ -0,0 +1,156 @@
+--- c3270-3.3/configure-orig Sat Aug 4 21:01:30 2007
++++ c3270-3.3/configure Sat Aug 4 22:12:23 2007
+@@ -5524,14 +5524,14 @@
+ then LDFLAGS="$orig_LDFLAGS -L$dir/lib"
+ fi
+
+-as_ac_Lib=`echo "ac_cv_lib_icui18n_ucnv_open${icu_suffix}" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for ucnv_open${icu_suffix} in -licui18n" >&5
+-echo $ECHO_N "checking for ucnv_open${icu_suffix} in -licui18n... $ECHO_C" >&6
++as_ac_Lib=`echo "ac_cv_lib_icuuc_ucnv_open${icu_suffix}" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for ucnv_open${icu_suffix} in -licuuc" >&5
++echo $ECHO_N "checking for ucnv_open${icu_suffix} in -licuuc... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Lib+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-licui18n $LIBS"
++LIBS="-licuuc $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -5594,7 +5594,7 @@
+ #define HAVE_LIBICUI18N 1
+ _ACEOF
+
+- LIBS="-licui18n $LIBS"
++ LIBS="-licuuc $LIBS"
+
+ else
+ lib_fail=1
+@@ -5603,7 +5603,7 @@
+ if test "$lib_fail" -eq 0
+ then break
+ fi
+- unset `echo ac_cv_lib_icui18n_ucnv_open${icu_suffix} | $as_tr_sh`
++ unset `echo ac_cv_lib_icuuc_ucnv_open${icu_suffix} | $as_tr_sh`
+ LDFLAGS="$orig_LDFLAGS"
+ any=1
+ done
+--- pr3287-3.3/configure-orig Sat Jun 23 13:05:46 2007
++++ pr3287-3.3/configure Sat Aug 4 22:12:27 2007
+@@ -3675,14 +3675,14 @@
+ then LDFLAGS="$orig_LDFLAGS -L$dir/lib"
+ fi
+
+-as_ac_Lib=`echo "ac_cv_lib_icui18n_ucnv_open${icu_suffix}" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for ucnv_open${icu_suffix} in -licui18n" >&5
+-echo $ECHO_N "checking for ucnv_open${icu_suffix} in -licui18n... $ECHO_C" >&6
++as_ac_Lib=`echo "ac_cv_lib_icuuc_ucnv_open${icu_suffix}" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for ucnv_open${icu_suffix} in -licuuc" >&5
++echo $ECHO_N "checking for ucnv_open${icu_suffix} in -licuuc... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Lib+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-licui18n $LIBS"
++LIBS="-licuuc $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -3745,7 +3745,7 @@
+ #define HAVE_LIBICUI18N 1
+ _ACEOF
+
+- LIBS="-licui18n $LIBS"
++ LIBS="-licuuc $LIBS"
+
+ else
+ lib_fail=1
+@@ -3754,7 +3754,7 @@
+ if test "$lib_fail" -eq 0
+ then break
+ fi
+- unset `echo ac_cv_lib_icui18n_ucnv_open${icu_suffix} | $as_tr_sh`
++ unset `echo ac_cv_lib_icuuc_ucnv_open${icu_suffix} | $as_tr_sh`
+ LDFLAGS="$orig_LDFLAGS"
+ any=1
+ done
+--- s3270-3.3/configure-orig Mon Jun 18 08:29:58 2007
++++ s3270-3.3/configure Sat Aug 4 22:12:31 2007
+@@ -4793,14 +4793,14 @@
+ then LDFLAGS="$orig_LDFLAGS -L$dir/lib"
+ fi
+
+-as_ac_Lib=`echo "ac_cv_lib_icui18n_ucnv_open${icu_suffix}" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for ucnv_open${icu_suffix} in -licui18n" >&5
+-echo $ECHO_N "checking for ucnv_open${icu_suffix} in -licui18n... $ECHO_C" >&6
++as_ac_Lib=`echo "ac_cv_lib_icuuc_ucnv_open${icu_suffix}" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for ucnv_open${icu_suffix} in -licuuc" >&5
++echo $ECHO_N "checking for ucnv_open${icu_suffix} in -licuuc... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Lib+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-licui18n $LIBS"
++LIBS="-licuuc $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -4863,7 +4863,7 @@
+ #define HAVE_LIBICUI18N 1
+ _ACEOF
+
+- LIBS="-licui18n $LIBS"
++ LIBS="-licuuc $LIBS"
+
+ else
+ lib_fail=1
+@@ -4872,7 +4872,7 @@
+ if test "$lib_fail" -eq 0
+ then break
+ fi
+- unset `echo ac_cv_lib_icui18n_ucnv_open${icu_suffix} | $as_tr_sh`
++ unset `echo ac_cv_lib_icuuc_ucnv_open${icu_suffix} | $as_tr_sh`
+ LDFLAGS="$orig_LDFLAGS"
+ any=1
+ done
+--- tcl3270-3.3/configure-orig Mon Jun 18 08:21:23 2007
++++ tcl3270-3.3/configure Sat Aug 4 22:12:37 2007
+@@ -5327,14 +5327,14 @@
+ then LDFLAGS="$orig_LDFLAGS -L$dir/lib"
+ fi
+
+-as_ac_Lib=`echo "ac_cv_lib_icui18n_ucnv_open${icu_suffix}" | $as_tr_sh`
+-echo "$as_me:$LINENO: checking for ucnv_open${icu_suffix} in -licui18n" >&5
+-echo $ECHO_N "checking for ucnv_open${icu_suffix} in -licui18n... $ECHO_C" >&6
++as_ac_Lib=`echo "ac_cv_lib_icuuc_ucnv_open${icu_suffix}" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for ucnv_open${icu_suffix} in -licuuc" >&5
++echo $ECHO_N "checking for ucnv_open${icu_suffix} in -licuuc... $ECHO_C" >&6
+ if eval "test \"\${$as_ac_Lib+set}\" = set"; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-licui18n $LIBS"
++LIBS="-licuuc $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -5397,7 +5397,7 @@
+ #define HAVE_LIBICUI18N 1
+ _ACEOF
+
+- LIBS="-licui18n $LIBS"
++ LIBS="-licuuc $LIBS"
+
+ else
+ lib_fail=1
+@@ -5406,7 +5406,7 @@
+ if test "$lib_fail" -eq 0
+ then break
+ fi
+- unset `echo ac_cv_lib_icui18n_ucnv_open${icu_suffix} | $as_tr_sh`
++ unset `echo ac_cv_lib_icuuc_ucnv_open${icu_suffix} | $as_tr_sh`
+ LDFLAGS="$orig_LDFLAGS"
+ any=1
+ done
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list