diff options
author | miwi <miwi@FreeBSD.org> | 2010-01-21 03:14:56 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-01-21 03:14:56 +0800 |
commit | e5b841b77cf3051ef984d25e71965d42e91e30b4 (patch) | |
tree | 3704a5e538972917e8b64feda659bc699e5e6b50 /devel | |
parent | de15b8f1396ece225d5a82a9c4dc93b4bf343aed (diff) | |
download | freebsd-ports-gnome-e5b841b77cf3051ef984d25e71965d42e91e30b4.tar.gz freebsd-ports-gnome-e5b841b77cf3051ef984d25e71965d42e91e30b4.tar.zst freebsd-ports-gnome-e5b841b77cf3051ef984d25e71965d42e91e30b4.zip |
2010-01-08 audio/dino: has been broken for 7 months
2010-01-08 devel/asis-gpl: has been broken for 3 months
2010-01-08 devel/florist-gpl: has been broken for 3 months
2010-01-08 devel/kdesvn: has been broken for 4 months
2010-01-08 devel/radrails: has been broken for 3 months
2010-01-08 devel/rubygem-rtags: has been broken for 5 months
2010-01-12 games/hattrickorganizer: Has been broken for quite some time
2010-01-08 games/laughingman: has been broken for 3 months
2010-01-08 devel/aunit: has been broken for 3 months
2010-01-18 devel/gdb53: has been broken for 3 months
2010-01-08 lang/ccscript: has been broken for 4 months
2010-01-08 lang/gnat-glade: has been broken for 3 months
2010-01-08 lang/xsb: has been broken for 6 months
2010-01-08 multimedia/nmm: has been broken for 3 months
2010-01-08 multimedia/sabbu: has been broken for 3 months
2010-01-08 net/adasockets: has been broken for 3 months
2010-01-08 textproc/bidiv: has been broken for 3 months
2010-01-08 textproc/xmlada-gps: has been broken for 3 months
Diffstat (limited to 'devel')
63 files changed, 0 insertions, 3761 deletions
diff --git a/devel/Makefile b/devel/Makefile index 206b19bfe730..da8beae9a6e3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -50,14 +50,12 @@ SUBDIR += aros-sdk SUBDIR += as31 SUBDIR += asdlgen - SUBDIR += asis-gpl SUBDIR += asl SUBDIR += asmutils SUBDIR += asmx SUBDIR += astyle SUBDIR += atlas SUBDIR += atlas-devel - SUBDIR += aunit SUBDIR += autobook SUBDIR += autoconf-archive SUBDIR += autoconf-wrapper @@ -372,7 +370,6 @@ SUBDIR += flexdock SUBDIR += flexjson SUBDIR += flick - SUBDIR += florist-gpl SUBDIR += flowdesigner SUBDIR += flyspray SUBDIR += fnccheck @@ -432,7 +429,6 @@ SUBDIR += gconfmm SUBDIR += gconfmm26 SUBDIR += gcvs - SUBDIR += gdb53 SUBDIR += gdb53-act SUBDIR += gdb6 SUBDIR += gdbmods @@ -644,7 +640,6 @@ SUBDIR += kdebindings4-python-pykde4 SUBDIR += kdesdk3 SUBDIR += kdesdk4 - SUBDIR += kdesvn SUBDIR += kdesvn-kde4 SUBDIR += kdevelop SUBDIR += kimwitu @@ -2739,7 +2734,6 @@ SUBDIR += qtcreator SUBDIR += qtscriptgenerator SUBDIR += quilt - SUBDIR += radrails SUBDIR += ragel SUBDIR += raknet SUBDIR += rapidsvn @@ -2890,7 +2884,6 @@ SUBDIR += rubygem-rparsec SUBDIR += rubygem-rscm SUBDIR += rubygem-rspec - SUBDIR += rubygem-rtags SUBDIR += rubygem-rubigen SUBDIR += rubygem-ruby-debug SUBDIR += rubygem-ruby-debug-base diff --git a/devel/asis-gpl/Makefile b/devel/asis-gpl/Makefile deleted file mode 100644 index 542ac3865ce4..000000000000 --- a/devel/asis-gpl/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# New ports collection makefile for: asis-gpl -# Date created: 31 Dec 2006 -# Whom: John Merryweather Cooper -# -# $FreeBSD$ -# - -PORTNAME= asis-gpl -PORTVERSION= 2006 -CATEGORIES= devel -MASTER_SITES= http://libre.adacore.com/ -EXTRACT_SUFX= -src.tgz - -MAINTAINER= john_m_cooper@yahoo.com -COMMENT= An Ada ASIS implementation including the Data Decomposition Annex - -BUILD_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat -RUN_DEPENDS= gnatgcc:${PORTSDIR}/lang/gnat - -CONFLICTS= asis-3.15* -BROKEN= does not build -DEPRECATED= has been broken for 3 months -EXPIRATION_DATE=2010-01-08 - -USE_GMAKE= yes - -ASIS_SRC= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} - -.include <bsd.port.pre.mk> - -# Check for GNAT sources. -.if !exists(${DISTDIR}/${ASIS_SRC}) && !defined(PACKAGE_BUILDING) -ECHO_MSG=/usr/bin/printf -IGNORE=:\n\ -Because of licensing and registration restrictions, you must fetch the\n\ -source distribution manually. Please access http://libre.adacore.com/\n\ -with a web browser, register (it's free), and log in. Download the source\n\ -files:\n\ -\t${ASIS_SRC}\n\ -and place them in ${DISTDIR}.\n -.endif - -WRKSRC= ${WRKDIR}/asis-${PORTVERSION}-src -DOCSDIR= ${PREFIX}/share/doc/asis - -INSTALL_TARGET= all - -post-patch: - @${REINPLACE_CMD} -E -e 's|/usr/local|${PREFIX}|' \ - ${WRKSRC}/asis/a4g-contt.ads - @${REINPLACE_CMD} -E -e 's|%%CFLAGS%%|${CFLAGS}|' \ - ${WRKSRC}/Makefile.stub - -do-build: - @${ECHO_MSG} "This port does everything in the install step." - @${ECHO_MSG} "The build step is a no-op." - -# Both info files lack entry fields, and so this manual hack -# (and a dir entry in pkg-plist) are necessary -post-install: -.if !defined(NOPORTDOCS) - @(cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} install-docs) - @install-info --entry "ASIS Reference Manual" \ - ${DOCSDIR}/info/asis_rm.info \ - ${DOCSDIR}/info/dir - @install-info --entry "ASIS User Guide" \ - ${DOCSDIR}/info/asis_ug.info \ - ${DOCSDIR}/info/dir -.endif - -.include <bsd.port.post.mk> diff --git a/devel/asis-gpl/distinfo b/devel/asis-gpl/distinfo deleted file mode 100644 index 8e41f31d55ec..000000000000 --- a/devel/asis-gpl/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (asis-gpl-2006-src.tgz) = 0d94a0f14256599484bf883c065585e0 -SHA256 (asis-gpl-2006-src.tgz) = f6d6188ba9e6efa5be0b58e8ea161ee2e6284c16e6325d8eb8296bc184378334 -SIZE (asis-gpl-2006-src.tgz) = 2155003 diff --git a/devel/asis-gpl/files/patch-Makefile b/devel/asis-gpl/files/patch-Makefile deleted file mode 100644 index ec90b0347050..000000000000 --- a/devel/asis-gpl/files/patch-Makefile +++ /dev/null @@ -1,50 +0,0 @@ ---- Makefile.orig Wed Oct 19 03:21:24 2005 -+++ Makefile Thu Jan 11 09:26:37 2007 -@@ -21,20 +21,22 @@ - $(MKDIR) $(I_LIB) - $(MKDIR) $(I_GPR) - $(MKDIR) $(I_GPS) -+ $(INSTALL_DATA) gnat/*.ads gnat/*.adb $(I_INC) -+ $(INSTALL_DATA) asis/*.ads asis/*.adb $(I_INC) -+ $(INSTALL_DATA) lib/*.ali $(I_LIB) -+ $(CHMOD) a-w $(I_LIB)/*.ali -+ $(INSTALL_DATA) lib/libasis$(arext) $(I_LIB) -+ $(CHMOD) a-w $(I_LIB)/libasis$(arext) -+ $(INSTALL_DATA) asis/asis.gpr $(I_GPR) -+ $(INSTALL_DATA) documentation/gps_index.xml $(I_GPS)/asis.xml -+ -+install-docs: - $(MKDIR) $(I_DOC)/html - $(MKDIR) $(I_DOC)/info - $(MKDIR) $(I_DOC)/pdf -- $(INSTALL_FILES) lib/*.ali $(I_LIB) -- $(CHMOD) a-w $(I_LIB)/*.ali -- $(INSTALL_FILES) lib/libasis$(arext) $(I_LIB) -- $(CHMOD) a-w $(I_LIB)/libasis$(arext) -- $(INSTALL_FILES) gnat/*.ads gnat/*.adb $(I_INC) -- $(INSTALL_FILES) asis/*.ads asis/*.adb $(I_INC) -- $(INSTALL_FILES) asis/asis.gpr $(I_GPR) -- $(INSTALL_FILES) documentation/*.html $(I_DOC)/html/ -- $(INSTALL_FILES) documentation/*.pdf $(I_DOC)/pdf/ -- $(INSTALL_FILES) documentation/*.info $(I_DOC)/info/ -- $(INSTALL_FILES) documentation/gps_index.xml $(I_GPS)/asis.xml -+ $(INSTALL_DATA) documentation/*.html $(I_DOC)/html/ -+ $(INSTALL_DATA) documentation/*.pdf $(I_DOC)/pdf/ -+ $(INSTALL_DATA) documentation/*.info $(I_DOC)/info/ - - lib/libasis$(arext): force - gnat make -Pasis_bld -XBLD=$(BLD) -XOPSYS=$(OPSYS) -@@ -50,11 +52,11 @@ - - install-asistant: asistant - $(MKDIR) $(I_BIN) -- $(INSTALL_FILES) tools/asistant/asistant$(exe_ext) $(I_BIN) -+ $(INSTALL_PROGRAM) tools/asistant/asistant$(exe_ext) $(I_BIN) - - install-gnat%: gnat% - $(MKDIR) $(I_BIN) -- $(INSTALL_FILES) tools/gnat$*/gnat$*$(exe_ext) $(I_BIN) -+ $(INSTALL_PROGRAM) tools/gnat$*/gnat$*$(exe_ext) $(I_BIN) - atre: - gnat make -Ptools/$@/$@ - diff --git a/devel/asis-gpl/files/patch-Makefile.stub b/devel/asis-gpl/files/patch-Makefile.stub deleted file mode 100644 index d9c44e381438..000000000000 --- a/devel/asis-gpl/files/patch-Makefile.stub +++ /dev/null @@ -1,41 +0,0 @@ ---- Makefile.stub.orig Thu Mar 9 14:36:20 2006 -+++ Makefile.stub Sun Dec 31 17:48:14 2006 -@@ -1,16 +1,16 @@ - #host system --host := $(shell gcc -dumpmachine) -+host := $(shell uname) - - # Where Asis library should be installed --INSTALL_DIR=$(HOME)/local -+INSTALL_DIR = $(PREFIX) - - # Asis specific directories --GNAT_DIR=../gnat --ASIS_DIR=../asis -+GNAT_DIR = ../gnat -+ASIS_DIR = ../asis - - # GCC backend specific flags --CFLAGS= -O2 -g --CC=gcc -+CFLAGS = -O2 -g -+CC = gcc - - # System commands - CHMOD = chmod -@@ -34,6 +34,15 @@ - - # External Variable to pass to project file - OPSYS=default_Unix -+ -+ifeq "$(findstring FreeBSD, $(host))" "FreeBSD" -+ INSTALL_DIR=$(PREFIX) -+ CFLAGS = %%CFLAGS%% -+ CC = gnatgcc -+ CP = cp -p -+ INSTALL_PROGRAM = install -o root -g wheel -m 755 -+ INSTALL_DATA = install -o root -g wheel -m 444 -+endif - - ifeq "$(findstring mingw32, $(host))" "mingw32" - CP = cp -lf diff --git a/devel/asis-gpl/files/patch-asis_a4g-contt.adb b/devel/asis-gpl/files/patch-asis_a4g-contt.adb deleted file mode 100644 index d6042cfad4bb..000000000000 --- a/devel/asis-gpl/files/patch-asis_a4g-contt.adb +++ /dev/null @@ -1,11 +0,0 @@ ---- asis/a4g-contt.adb.orig Mon Jan 1 01:58:28 2007 -+++ asis/a4g-contt.adb Mon Jan 1 02:06:19 2007 -@@ -973,7 +973,7 @@ - if Dash_Idx > 0 then - Contexts.Table (Cont).GCC := - Locate_Exec_On_Path -- (Tool_Name (Tool_Name'First .. Dash_Idx) & "gcc"); -+ (Tool_Name (Tool_Name'First .. Dash_Idx) & "gnatgcc"); - end if; - - end; diff --git a/devel/asis-gpl/files/patch-asis_a4g-contt.ads b/devel/asis-gpl/files/patch-asis_a4g-contt.ads deleted file mode 100644 index 372e2ec2c2c6..000000000000 --- a/devel/asis-gpl/files/patch-asis_a4g-contt.ads +++ /dev/null @@ -1,11 +0,0 @@ ---- asis/a4g-contt.ads.orig Sun Dec 31 10:43:40 2006 -+++ asis/a4g-contt.ads Sun Dec 31 10:49:23 2006 -@@ -425,7 +425,7 @@ - Parameters : String_Access; - -- to keep the parameters set by the ASIS Associate routine - -- GCC : String_Access; -+ GCC : String_Access := new String'("/usr/local/bin/gnatgcc"); - -- If non-null, contains the full path to the compiler to be used when - -- creating trees on the fly. (If null, the standard gcc/GNAT - -- installation is used) diff --git a/devel/asis-gpl/files/patch-asis_a4g-gnat_int.adb b/devel/asis-gpl/files/patch-asis_a4g-gnat_int.adb deleted file mode 100644 index 4dd09e2f4c2b..000000000000 --- a/devel/asis-gpl/files/patch-asis_a4g-gnat_int.adb +++ /dev/null @@ -1,11 +0,0 @@ ---- asis/a4g-gnat_int.adb.orig Mon Jan 1 01:18:22 2007 -+++ asis/a4g-gnat_int.adb Mon Jan 1 01:18:54 2007 -@@ -72,7 +72,7 @@ - - LT : String renames ASIS_Line_Terminator; - Standard_GCC : constant String_Access := -- GNAT.OS_Lib.Locate_Exec_On_Path ("gcc"); -+ GNAT.OS_Lib.Locate_Exec_On_Path ("gnatgcc"); - - ----------------- - -- Create_Tree -- diff --git a/devel/asis-gpl/files/patch-common.gpr b/devel/asis-gpl/files/patch-common.gpr deleted file mode 100644 index b2b3f64ba938..000000000000 --- a/devel/asis-gpl/files/patch-common.gpr +++ /dev/null @@ -1,22 +0,0 @@ ---- common.gpr~ Mon May 22 02:14:10 2006 -+++ common.gpr Sun Dec 31 11:09:22 2006 -@@ -3,7 +3,7 @@ - type Bld_Type is ("prod", "debug"); - Bld : Bld_Type := external ("BLD", "debug"); - -- type OS_Type is ("default_Unix", "powerpc_aix", "pa_hpux"); -+ type OS_Type is ("default_Unix", "powerpc_aix", "pa_hpux", "FreeBSD"); - OS : OS_Type := external ("OPSYS", "default_Unix"); - - Ada_Switches := ("-gnatf", "-gnatwue", "-gnaty"); -@@ -24,6 +24,10 @@ - when "pa_hpux" => - for Default_Switches ("ada") use - Builder'Default_Switches ("ada") & ("-mdisable-indexing"); -+ when "FreeBSD" => -+ for Default_Switches ("ada") use -+ Builder'Default_Switches ("ada") & -+ ("-fno-strict-aliasing"); - when others => - null; - end case; diff --git a/devel/asis-gpl/files/patch-gnat_snames.adb b/devel/asis-gpl/files/patch-gnat_snames.adb deleted file mode 100644 index 6cede2af2bdc..000000000000 --- a/devel/asis-gpl/files/patch-gnat_snames.adb +++ /dev/null @@ -1,11 +0,0 @@ ---- gnat/snames.adb.orig Mon Jan 1 02:29:14 2007 -+++ gnat/snames.adb Mon Jan 1 02:30:06 2007 -@@ -355,7 +355,7 @@ - "first_optional_parameter#" & - "form#" & - "g_float#" & -- "gcc#" & -+ "gnatgcc#" & - "gnat#" & - "gpl#" & - "ieee_float#" & diff --git a/devel/asis-gpl/files/patch-tools_gnatmetric_metrics-compute.adb b/devel/asis-gpl/files/patch-tools_gnatmetric_metrics-compute.adb deleted file mode 100644 index 1b2acc18faf9..000000000000 --- a/devel/asis-gpl/files/patch-tools_gnatmetric_metrics-compute.adb +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/gnatmetric/metrics-compute.adb.orig Mon Jan 1 02:34:48 2007 -+++ tools/gnatmetric/metrics-compute.adb Mon Jan 1 02:38:25 2007 -@@ -1429,7 +1429,7 @@ - if Debug_Output then - Info ("gnatmetric: Creating the tree for " & Source_Name (SF)); - -- Info_No_EOL ("gcc -c -gnatc -gnatt -gnatws"); -+ Info_No_EOL ("gnatgcc -c -gnatc -gnatt -gnatws"); - - for J in Arg_List'Range loop - Info_No_EOL (" " & Arg_List (J).all); diff --git a/devel/asis-gpl/files/patch-tools_tool_utils_asis_ul-common.adb b/devel/asis-gpl/files/patch-tools_tool_utils_asis_ul-common.adb deleted file mode 100644 index 05e654237cb4..000000000000 --- a/devel/asis-gpl/files/patch-tools_tool_utils_asis_ul-common.adb +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/tool_utils/asis_ul-common.adb.orig Mon Jan 1 02:42:51 2007 -+++ tools/tool_utils/asis_ul-common.adb Mon Jan 1 02:45:07 2007 -@@ -74,7 +74,7 @@ - if Gnatmake_Call then - return Target & "gnatmake"; - else -- return Target & "gcc"; -+ return Target & "gnatgcc"; - end if; - - end if; diff --git a/devel/asis-gpl/pkg-descr b/devel/asis-gpl/pkg-descr deleted file mode 100644 index 9ee5d3e7256e..000000000000 --- a/devel/asis-gpl/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -The Ada Semantic Interface Specification (ASIS) is an open and -published callable interface that allows a tool to access syntactic -and semantic information about an Ada program, independent of the -compilation environment that compiled the program. - -WWW: http://libre.adacore.com/ diff --git a/devel/asis-gpl/pkg-plist b/devel/asis-gpl/pkg-plist deleted file mode 100644 index 0bf3025ab3b3..000000000000 --- a/devel/asis-gpl/pkg-plist +++ /dev/null @@ -1,345 +0,0 @@ -bin/asistant -bin/gnatelim -bin/gnatmetric -bin/gnatpp -bin/gnatstub -include/asis/a4g-a_alloc.ads -include/asis/a4g-a_debug.adb -include/asis/a4g-a_debug.ads -include/asis/a4g-a_elists.adb -include/asis/a4g-a_elists.ads -include/asis/a4g-a_opt.adb -include/asis/a4g-a_opt.ads -include/asis/a4g-a_osint.adb -include/asis/a4g-a_osint.ads -include/asis/a4g-a_output.adb -include/asis/a4g-a_output.ads -include/asis/a4g-a_sem.adb -include/asis/a4g-a_sem.ads -include/asis/a4g-a_sinput.adb -include/asis/a4g-a_sinput.ads -include/asis/a4g-a_stand.ads -include/asis/a4g-a_types.adb -include/asis/a4g-a_types.ads -include/asis/a4g-asis_tables.adb -include/asis/a4g-asis_tables.ads -include/asis/a4g-contt-dp.adb -include/asis/a4g-contt-dp.ads -include/asis/a4g-contt-sd.adb -include/asis/a4g-contt-sd.ads -include/asis/a4g-contt-tt.adb -include/asis/a4g-contt-tt.ads -include/asis/a4g-contt-ut.adb -include/asis/a4g-contt-ut.ads -include/asis/a4g-contt.adb -include/asis/a4g-contt.ads -include/asis/a4g-cu_info2.adb -include/asis/a4g-cu_info2.ads -include/asis/a4g-dda_aux.adb -include/asis/a4g-dda_aux.ads -include/asis/a4g-decl_sem.adb -include/asis/a4g-decl_sem.ads -include/asis/a4g-defaults.adb -include/asis/a4g-defaults.ads -include/asis/a4g-encl_el.adb -include/asis/a4g-encl_el.ads -include/asis/a4g-expr_sem.adb -include/asis/a4g-expr_sem.ads -include/asis/a4g-get_unit.adb -include/asis/a4g-get_unit.ads -include/asis/a4g-gnat_int.adb -include/asis/a4g-gnat_int.ads -include/asis/a4g-int_knds.ads -include/asis/a4g-itests.adb -include/asis/a4g-itests.ads -include/asis/a4g-knd_conv.adb -include/asis/a4g-knd_conv.ads -include/asis/a4g-mapping.adb -include/asis/a4g-mapping.ads -include/asis/a4g-norm.adb -include/asis/a4g-norm.ads -include/asis/a4g-queries.adb -include/asis/a4g-queries.ads -include/asis/a4g-skip_tb.adb -include/asis/a4g-skip_tb.ads -include/asis/a4g-span_beginning.adb -include/asis/a4g-span_beginning.ads -include/asis/a4g-span_end.adb -include/asis/a4g-span_end.ads -include/asis/a4g-stand.adb -include/asis/a4g-stand.ads -include/asis/a4g-tree_rec.ads -include/asis/a4g-u_conv.adb -include/asis/a4g-u_conv.ads -include/asis/a4g-unit_rec.ads -include/asis/a4g-vcheck.adb -include/asis/a4g-vcheck.ads -include/asis/a4g.ads -include/asis/alloc.ads -include/asis/asis-ada_environments-containers.adb -include/asis/asis-ada_environments-containers.ads -include/asis/asis-ada_environments.adb -include/asis/asis-ada_environments.ads -include/asis/asis-clauses.adb -include/asis/asis-clauses.ads -include/asis/asis-compilation_units-relations.adb -include/asis/asis-compilation_units-relations.ads -include/asis/asis-compilation_units-times.adb -include/asis/asis-compilation_units-times.ads -include/asis/asis-compilation_units.adb -include/asis/asis-compilation_units.ads -include/asis/asis-data_decomposition-aux.adb -include/asis/asis-data_decomposition-aux.ads -include/asis/asis-data_decomposition-debug.adb -include/asis/asis-data_decomposition-debug.ads -include/asis/asis-data_decomposition-extensions.adb -include/asis/asis-data_decomposition-extensions.ads -include/asis/asis-data_decomposition-set_get.adb -include/asis/asis-data_decomposition-set_get.ads -include/asis/asis-data_decomposition-vcheck.adb -include/asis/asis-data_decomposition-vcheck.ads -include/asis/asis-data_decomposition.adb -include/asis/asis-data_decomposition.ads -include/asis/asis-declarations.adb -include/asis/asis-declarations.ads -include/asis/asis-definitions.adb -include/asis/asis-definitions.ads -include/asis/asis-elements.adb -include/asis/asis-elements.ads -include/asis/asis-errors.ads -include/asis/asis-exceptions.ads -include/asis/asis-expressions.adb -include/asis/asis-expressions.ads -include/asis/asis-extensions-flat_kinds.adb -include/asis/asis-extensions-flat_kinds.ads -include/asis/asis-extensions-iterator.adb -include/asis/asis-extensions-iterator.ads -include/asis/asis-extensions.adb -include/asis/asis-extensions.ads -include/asis/asis-ids.adb -include/asis/asis-ids.ads -include/asis/asis-implementation-permissions.adb -include/asis/asis-implementation-permissions.ads -include/asis/asis-implementation.adb -include/asis/asis-implementation.ads -include/asis/asis-iterator.adb -include/asis/asis-iterator.ads -include/asis/asis-set_get.adb -include/asis/asis-set_get.ads -include/asis/asis-statements.adb -include/asis/asis-statements.ads -include/asis/asis-text-set_get.adb -include/asis/asis-text-set_get.ads -include/asis/asis-text.adb -include/asis/asis-text.ads -include/asis/asis.ads -include/asis/atree.adb -include/asis/atree.ads -include/asis/casing.adb -include/asis/casing.ads -include/asis/csets.adb -include/asis/csets.ads -include/asis/debug.adb -include/asis/debug.ads -include/asis/einfo.adb -include/asis/einfo.ads -include/asis/elists.adb -include/asis/elists.ads -include/asis/fname.adb -include/asis/fname.ads -include/asis/gnatvsn.adb -include/asis/gnatvsn.ads -include/asis/hostparm.ads -include/asis/krunch.adb -include/asis/krunch.ads -include/asis/lib-list.adb -include/asis/lib-sort.adb -include/asis/lib.adb -include/asis/lib.ads -include/asis/namet.adb -include/asis/namet.ads -include/asis/nlists.adb -include/asis/nlists.ads -include/asis/opt.adb -include/asis/opt.ads -include/asis/output.adb -include/asis/output.ads -include/asis/repinfo.adb -include/asis/repinfo.ads -include/asis/scans.adb -include/asis/scans.ads -include/asis/sinfo.adb -include/asis/sinfo.ads -include/asis/sinput.adb -include/asis/sinput.ads -include/asis/snames.adb -include/asis/snames.ads -include/asis/stand.adb -include/asis/stand.ads -include/asis/stringt.adb -include/asis/stringt.ads -include/asis/table.adb -include/asis/table.ads -include/asis/tree_in.adb -include/asis/tree_in.ads -include/asis/tree_io.adb -include/asis/tree_io.ads -include/asis/types.adb -include/asis/types.ads -include/asis/uintp.adb -include/asis/uintp.ads -include/asis/uname.adb -include/asis/uname.ads -include/asis/urealp.adb -include/asis/urealp.ads -include/asis/widechar.adb -include/asis/widechar.ads -lib/asis/a4g-a_alloc.ali -lib/asis/a4g-a_debug.ali -lib/asis/a4g-a_elists.ali -lib/asis/a4g-a_opt.ali -lib/asis/a4g-a_osint.ali -lib/asis/a4g-a_output.ali -lib/asis/a4g-a_sem.ali -lib/asis/a4g-a_sinput.ali -lib/asis/a4g-a_stand.ali -lib/asis/a4g-a_types.ali -lib/asis/a4g-asis_tables.ali -lib/asis/a4g-contt-dp.ali -lib/asis/a4g-contt-sd.ali -lib/asis/a4g-contt-tt.ali -lib/asis/a4g-contt-ut.ali -lib/asis/a4g-contt.ali -lib/asis/a4g-cu_info2.ali -lib/asis/a4g-dda_aux.ali -lib/asis/a4g-decl_sem.ali -lib/asis/a4g-defaults.ali -lib/asis/a4g-encl_el.ali -lib/asis/a4g-expr_sem.ali -lib/asis/a4g-get_unit.ali -lib/asis/a4g-gnat_int.ali -lib/asis/a4g-int_knds.ali -lib/asis/a4g-itests.ali -lib/asis/a4g-knd_conv.ali -lib/asis/a4g-mapping.ali -lib/asis/a4g-norm.ali -lib/asis/a4g-queries.ali -lib/asis/a4g-skip_tb.ali -lib/asis/a4g-span_beginning.ali -lib/asis/a4g-span_end.ali -lib/asis/a4g-stand.ali -lib/asis/a4g-tree_rec.ali -lib/asis/a4g-u_conv.ali -lib/asis/a4g-unit_rec.ali -lib/asis/a4g-vcheck.ali -lib/asis/a4g.ali -lib/asis/alloc.ali -lib/asis/asis-ada_environments-containers.ali -lib/asis/asis-ada_environments.ali -lib/asis/asis-clauses.ali -lib/asis/asis-compilation_units-relations.ali -lib/asis/asis-compilation_units-times.ali -lib/asis/asis-compilation_units.ali -lib/asis/asis-data_decomposition-aux.ali -lib/asis/asis-data_decomposition-debug.ali -lib/asis/asis-data_decomposition-extensions.ali -lib/asis/asis-data_decomposition-set_get.ali -lib/asis/asis-data_decomposition-vcheck.ali -lib/asis/asis-data_decomposition.ali -lib/asis/asis-declarations.ali -lib/asis/asis-definitions.ali -lib/asis/asis-elements.ali -lib/asis/asis-errors.ali -lib/asis/asis-exceptions.ali -lib/asis/asis-expressions.ali -lib/asis/asis-extensions-flat_kinds.ali -lib/asis/asis-extensions-iterator.ali -lib/asis/asis-extensions.ali -lib/asis/asis-ids.ali -lib/asis/asis-implementation-permissions.ali -lib/asis/asis-implementation.ali -lib/asis/asis-iterator.ali -lib/asis/asis-set_get.ali -lib/asis/asis-statements.ali -lib/asis/asis-text-set_get.ali -lib/asis/asis-text.ali -lib/asis/asis.ali -lib/asis/atree.ali -lib/asis/casing.ali -lib/asis/csets.ali -lib/asis/debug.ali -lib/asis/einfo.ali -lib/asis/elists.ali -lib/asis/fname.ali -lib/asis/gnatvsn.ali -lib/asis/hostparm.ali -lib/asis/krunch.ali -lib/asis/lib.ali -lib/asis/libasis.a -lib/asis/namet.ali -lib/asis/nlists.ali -lib/asis/opt.ali -lib/asis/output.ali -lib/asis/repinfo.ali -lib/asis/scans.ali -lib/asis/sinfo.ali -lib/asis/sinput.ali -lib/asis/snames.ali -lib/asis/stand.ali -lib/asis/stringt.ali -lib/asis/table.ali -lib/asis/tree_in.ali -lib/asis/tree_io.ali -lib/asis/types.ali -lib/asis/uintp.ali -lib/asis/uname.ali -lib/asis/urealp.ali -lib/asis/widechar.ali -lib/gnat/asis.gpr -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_1.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_2.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_3.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_4.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_5.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_6.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_abt.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_fot.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_ovr.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_rm_toc.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_1.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_10.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_11.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_12.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_13.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_14.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_15.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_16.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_2.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_3.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_4.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_5.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_6.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_7.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_8.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_9.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_abt.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_fot.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_ovr.html -%%PORTDOCS%%%%DOCSDIR%%/html/asis_ug_toc.html -%%PORTDOCS%%%%DOCSDIR%%/info/asis_rm.info -%%PORTDOCS%%%%DOCSDIR%%/info/asis_ug.info -%%PORTDOCS%%%%DOCSDIR%%/info/dir -%%PORTDOCS%%%%DOCSDIR%%/pdf/asis_rm.pdf -%%PORTDOCS%%%%DOCSDIR%%/pdf/asis_ug.pdf -share/gps/plug-ins/asis.xml -@dirrm share/gps/plug-ins -@dirrm share/gps -%%PORTDOCS%%@dirrm %%DOCSDIR%%/pdf -%%PORTDOCS%%@dirrm %%DOCSDIR%%/info -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm lib/gnat -@dirrm lib/asis -@dirrm include/asis diff --git a/devel/aunit/Makefile b/devel/aunit/Makefile deleted file mode 100644 index d2c2c169a878..000000000000 --- a/devel/aunit/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -# New ports collection makefile for: aunit -# Date created: 31 Dec 2006 -# Whom: John Merryweather Cooper -# -# $FreeBSD$ -# - -PORTNAME= aunit -PORTVERSION= 1.05 -CATEGORIES= devel -MASTER_SITES= http://libre.adacore.com/ -DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz - -MAINTAINER= john_m_cooper@yahoo.com -COMMENT= AUnit is an adaption of the Java JUnit unit test framework - -BUILD_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat -RUN_DEPENDS= gnatgcc:${PORTSDIR}/lang/gnat - -BROKEN= does not build -DEPRECATED= has been broken for 3 months -EXPIRATION_DATE=2010-01-08 - -USE_GMAKE= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src - -.include <bsd.port.pre.mk> - -# Check for GNAT sources. -.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING) -pre-everything:: - @echo "Because of licensing and registration restrictions, you must" - @echo "fetch the source distribution manually. Please access" - @echo "http://libre.adacore.com/ with a web browser, register" - @echo "(It's free!) and log in. Download the source files:" - @echo - @echo " ${DISTFILES}" - @echo - @echo "and place them in ${DISTDIR}" - @exit 1 -.endif - -pre-build: - @${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile - -# install-info is being called directly because aunit.info does not have an -# entry field -post-install: - @install-info --entry "AUnit" ${DOCSDIR}/aunit.info \ - ${DOCSDIR}/dir - -test: - @${CD} ${WRKSRC} && ${GMAKE} test - -.include <bsd.port.post.mk> diff --git a/devel/aunit/distinfo b/devel/aunit/distinfo deleted file mode 100644 index 2528a5e6a110..000000000000 --- a/devel/aunit/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (aunit-1.05-src.tgz) = bff181b9854d03e81cdf2874d0e4d154 -SHA256 (aunit-1.05-src.tgz) = f395f0ff8388a004efe5709fb1ab32bfdd460c9fcfa0f85355225bba5beedfa1 -SIZE (aunit-1.05-src.tgz) = 112619 diff --git a/devel/aunit/files/patch-makefile b/devel/aunit/files/patch-makefile deleted file mode 100644 index 7a11a928eef8..000000000000 --- a/devel/aunit/files/patch-makefile +++ /dev/null @@ -1,43 +0,0 @@ ---- makefile.orig Fri Nov 4 14:23:52 2005 -+++ makefile Mon Jan 1 13:16:52 2007 -@@ -1,7 +1,7 @@ - - # $Id: patch-makefile,v 1.1 2007/01/01 18:25:35 jcooper Exp $ - --INSTALL = /opt -+INSTALL = $(PREFIX) - - # Install directories - -@@ -40,12 +40,13 @@ - $(MKDIR) $(I_PLG) - - install: install_dirs -- $(CP) aunit/framework/*.ad* aunit/text_reporter/*.ad* $(I_INC) -- $(CP) aunit/lib/* $(I_LIB) -- $(CP) template/*.ad* template/*.gpr $(I_TPL) -- $(CP) docs/*.html docs/*.info docs/*.pdf docs/*.txt $(I_DOC) -- $(CP) support/aunit.gpr $(I_GPR) -- $(CP) support/aunit.xml $(I_PLG) -+ $(INSTALL_DATA) aunit/framework/*.ad* aunit/text_reporter/*.ad* \ -+ $(I_INC) -+ $(INSTALL_DATA) aunit/lib/* $(I_LIB) -+ $(INSTALL_DATA) template/*.ad* template/*.gpr $(I_TPL) -+ $(INSTALL_DATA) docs/*.html docs/*.info docs/*.pdf docs/*.txt $(I_DOC) -+ $(INSTALL_DATA) support/aunit.gpr $(I_GPR) -+ $(INSTALL_DATA) support/aunit.xml $(I_PLG) - - doc: - ${MAKE} -C docs -@@ -56,7 +57,7 @@ - gnatmake -Paunit_tests - ./harness - --RMDIR = rmdir --MKDIR = mkdir -p --RM = rm --CP = cp -p -+RMDIR = rmdir -+MKDIR = mkdir -p -+RM = rm -+INSTALL_DATA = install -o root -g wheel -m 444 diff --git a/devel/aunit/pkg-descr b/devel/aunit/pkg-descr deleted file mode 100644 index 82edb0f2c03f..000000000000 --- a/devel/aunit/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -AUnit is an adaptation of the Java JUnit (Kent Beck, Erich Gamma) unit -test framework for Ada code. - -WWW: http://libre.adacore.com/ diff --git a/devel/aunit/pkg-plist b/devel/aunit/pkg-plist deleted file mode 100644 index 612db0de522f..000000000000 --- a/devel/aunit/pkg-plist +++ /dev/null @@ -1,52 +0,0 @@ -include/aunit/aunit-assertions.adb -include/aunit/aunit-assertions.ads -include/aunit/aunit-lists.adb -include/aunit/aunit-lists.ads -include/aunit/aunit-options.adb -include/aunit/aunit-options.ads -include/aunit/aunit-test_cases-registration.adb -include/aunit/aunit-test_cases-registration.ads -include/aunit/aunit-test_cases.adb -include/aunit/aunit-test_cases.ads -include/aunit/aunit-test_results-text_reporter.adb -include/aunit/aunit-test_results-text_reporter.ads -include/aunit/aunit-test_results.adb -include/aunit/aunit-test_results.ads -include/aunit/aunit-test_runner.adb -include/aunit/aunit-test_runner.ads -include/aunit/aunit-test_suites.adb -include/aunit/aunit-test_suites.ads -include/aunit/aunit-tests.ads -include/aunit/aunit.ads -lib/aunit/aunit-assertions.ali -lib/aunit/aunit-lists.ali -lib/aunit/aunit-options.ali -lib/aunit/aunit-test_cases-registration.ali -lib/aunit/aunit-test_cases.ali -lib/aunit/aunit-test_results-text_reporter.ali -lib/aunit/aunit-test_results.ali -lib/aunit/aunit-test_runner.ali -lib/aunit/aunit-test_suites.ali -lib/aunit/aunit-tests.ali -lib/aunit/aunit.ali -lib/aunit/libaunit.a -lib/gnat/aunit.gpr -%%PORTDOCS%%%%DOCSDIR%%/aunit.html -%%PORTDOCS%%%%DOCSDIR%%/aunit.info -%%PORTDOCS%%%%DOCSDIR%%/aunit.pdf -%%PORTDOCS%%%%DOCSDIR%%/aunit.txt -%%PORTDOCS%%%%DOCSDIR%%/dir -%%EXAMPLESDIR%%/harness.adb -%%EXAMPLESDIR%%/pr_xxxx_xxx.adb -%%EXAMPLESDIR%%/pr_xxxx_xxx.ads -%%EXAMPLESDIR%%/sample.adp -%%EXAMPLESDIR%%/sample.gpr -%%EXAMPLESDIR%%/sample_suite.adb -share/gps/plug-ins/aunit.xml -@dirrm share/gps/plug-ins -@dirrm share/gps -@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm lib/gnat -@dirrm lib/aunit -@dirrm include/aunit diff --git a/devel/florist-gpl/Makefile b/devel/florist-gpl/Makefile deleted file mode 100644 index 525eb4654379..000000000000 --- a/devel/florist-gpl/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# New ports collection makefile for: florist-gpl -# Date created: 31 Dec 2006 -# Whom: John Merryweather Cooper -# -# $FreeBSD$ -# - -PORTNAME= florist-gpl -PORTVERSION= 2006 -CATEGORIES= devel -MASTER_SITES= http://libre.adacore.com/ -DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz - -MAINTAINER= john_m_cooper@yahoo.com -COMMENT= The POSIX Ada Binding - -BUILD_DEPENDS= gnatmake:${PORTSDIR}/lang/gnat - -BROKEN= does not build -DEPRECATED= has been broken for 3 months -EXPIRATION_DATE=2010-01-08 - -GNU_CONFIGURE= yes -CFLAGS+= ${PTHREAD_CFLAGS} -CONFIGURE_ENV= CFLAGS="${CFLAGS}" \ - LIBS="${PTHREAD_LIBS}" -WRKSRC= ${WRKDIR}/florist-${PORTVERSION}-src - -.include <bsd.port.pre.mk> - -# Check for GNAT sources. -.if !exists(${DISTDIR}/${DISTFILES}) && !defined(PACKAGE_BUILDING) -pre-everything:: - @echo "Because of licensing and registration restrictions, you must" - @echo "fetch the source distribution manually. Please access" - @echo "http://libre.adacore.com/ with a web browser, register" - @echo "(It's free!) and log in. Download the source files:" - @echo - @echo " ${DISTFILES} - @echo - @echo "and place them in ${DISTDIR}" - @exit 1 -.endif - -.include <bsd.port.post.mk> diff --git a/devel/florist-gpl/distinfo b/devel/florist-gpl/distinfo deleted file mode 100644 index 68ee5ea0678b..000000000000 --- a/devel/florist-gpl/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (florist-gpl-2006-src.tgz) = 4d7f67449a0900a9ca7773969a91290b -SHA256 (florist-gpl-2006-src.tgz) = eeebb679f0f9ae9ca6f247321b0c456cf9398a9169c3481ed90c50dde533f5f5 -SIZE (florist-gpl-2006-src.tgz) = 227279 diff --git a/devel/florist-gpl/files/patch-Makefile.in b/devel/florist-gpl/files/patch-Makefile.in deleted file mode 100644 index 9f1aaa5e9e51..000000000000 --- a/devel/florist-gpl/files/patch-Makefile.in +++ /dev/null @@ -1,50 +0,0 @@ ---- Makefile.in.orig Mon Jan 1 17:25:08 2007 -+++ Makefile.in Mon Jan 1 17:32:46 2007 -@@ -161,8 +161,8 @@ - @echo "Creating libflorist.a in directory floristlib" - @if [ -d floristlib ]; then rm -rf floristlib; fi - mkdir floristlib -- cp -p *.ads floristlib -- cp -p *.adb floristlib -+ install -o root -g wheel -m 444 *.ads floristlib -+ install -o root -g wheel -m 444 *.adb floristlib - (tar cpf - *.o *.ali) | (cd floristlib; tar xpf -) - rm -f floristlib/$(DEPS).o floristlib/$(DEPS).ali - ar -r floristlib/libflorist.a floristlib/*.o -@@ -175,9 +175,9 @@ - # --------- - # - compile_tests: -- cd tests; make tests -+ cd tests; gmake tests - run_tests: -- cd tests; make run_tests -+ cd tests; gmake run_tests - # - # ----------------------------------- - # Maintenance targets -@@ -191,7 +191,7 @@ - rm -rf floristlib - rm -f *.o *.ali a.out *# *~ $(EXECUTABLES) b_*.c b~* - rm -f $(C-POSIX_GENERATED) $(GNATPREP_SOURCES) -- -make -C tests clean -+ -gmake -C tests clean - - # remove all generated files, including configuration history - distclean: -@@ -199,10 +199,12 @@ - rm -rf floristlib - rm -f *.o *.ali a.out *# *~ $(EXECUTABLES) b_*.c b~* - rm -f $(GENERATED) $(GNATPREP_SOURCES) -- -make -C tests clean -+ -gmake -C tests clean - - # install floristlib - install: floristlib - mkdir -p $(PREFIX)/lib/gnat -- cp -pr floristlib $(PREFIX)/floristlib -- cp -p florist.gpr $(PREFIX)/lib/gnat -+ cp -pR floristlib $(PREFIX)/floristlib -+ chown -R root:wheel $(PREFIX)/floristlib -+ chmod -R 0444 $(PREFIX)/floristlib -+ install -o root -g wheel -m 444 florist.gpr $(PREFIX)/lib/gnat diff --git a/devel/florist-gpl/files/patch-c-posix.c b/devel/florist-gpl/files/patch-c-posix.c deleted file mode 100644 index f6716eefb18e..000000000000 --- a/devel/florist-gpl/files/patch-c-posix.c +++ /dev/null @@ -1,11 +0,0 @@ ---- c-posix.c.orig Mon Jan 1 17:10:12 2007 -+++ c-posix.c Mon Jan 1 17:12:03 2007 -@@ -3049,7 +3049,7 @@ - gheader("POSIX", IEEE_Header); - ifprintf(fp,"with Ada_Streams;\n"); - ifprintf(fp,"with Interfaces;\n"); -- ifprintf(fp,"package POSIX is\n\n"); -+ ifprintf(fp,"package POSIX is\n"); - - #ifdef LIBS - /* Generate one pragma Linker_Options per library */ diff --git a/devel/florist-gpl/pkg-descr b/devel/florist-gpl/pkg-descr deleted file mode 100644 index 667bbff4109e..000000000000 --- a/devel/florist-gpl/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -FLORIST is an implementation of the IEEE Standards 1003.5: 1992, IEEE -STD 1003.5b: 1996, and parts of IEEE STD 1003.5c: 1998, also known as -the POSIX Ada Bindings. - -WWW: http://libre.adacore.com/ diff --git a/devel/florist-gpl/pkg-plist b/devel/florist-gpl/pkg-plist deleted file mode 100644 index 7452826ac85e..000000000000 --- a/devel/florist-gpl/pkg-plist +++ /dev/null @@ -1,195 +0,0 @@ -floristlib/ada_streams.ads -floristlib/ada_streams.ali -floristlib/ada_task_identification.ads -floristlib/ada_task_identification.ali -floristlib/deps.adb -floristlib/deps.ads -floristlib/deps_no_thread.adb -floristlib/libflorist.a -floristlib/posix-asynchronous_io.adb -floristlib/posix-asynchronous_io.ads -floristlib/posix-asynchronous_io.ali -floristlib/posix-c.adb -floristlib/posix-c.ads -floristlib/posix-c.ali -floristlib/posix-calendar.adb -floristlib/posix-calendar.ads -floristlib/posix-calendar.ali -floristlib/posix-condition_variables.adb -floristlib/posix-condition_variables.ads -floristlib/posix-condition_variables.ali -floristlib/posix-configurable_file_limits.adb -floristlib/posix-configurable_file_limits.ads -floristlib/posix-configurable_file_limits.ali -floristlib/posix-configurable_system_limits.adb -floristlib/posix-configurable_system_limits.ads -floristlib/posix-configurable_system_limits.ali -floristlib/posix-error_codes.ads -floristlib/posix-file_locking.adb -floristlib/posix-file_locking.ads -floristlib/posix-file_locking.ali -floristlib/posix-file_status.adb -floristlib/posix-file_status.ads -floristlib/posix-file_status.ali -floristlib/posix-files.adb -floristlib/posix-files.ads -floristlib/posix-files.ali -floristlib/posix-generic_shared_memory.adb -floristlib/posix-generic_shared_memory.ads -floristlib/posix-generic_shared_memory.ali -floristlib/posix-group_database.adb -floristlib/posix-group_database.ads -floristlib/posix-group_database.ali -floristlib/posix-implementation-ok_signals.ads -floristlib/posix-implementation-ok_signals.ali -floristlib/posix-implementation.adb -floristlib/posix-implementation.ads -floristlib/posix-implementation.ali -floristlib/posix-io.adb -floristlib/posix-io.ads -floristlib/posix-io.ali -floristlib/posix-limits.ads -floristlib/posix-limits.ali -floristlib/posix-memory_locking.adb -floristlib/posix-memory_locking.ads -floristlib/posix-memory_locking.ali -floristlib/posix-memory_mapping.adb -floristlib/posix-memory_mapping.ads -floristlib/posix-memory_mapping.ali -floristlib/posix-memory_range_locking.adb -floristlib/posix-memory_range_locking.ads -floristlib/posix-memory_range_locking.ali -floristlib/posix-message_queues.adb -floristlib/posix-message_queues.ads -floristlib/posix-message_queues.ali -floristlib/posix-mutexes.adb -floristlib/posix-mutexes.ads -floristlib/posix-mutexes.ali -floristlib/posix-options.ads -floristlib/posix-options.ali -floristlib/posix-page_alignment.adb -floristlib/posix-page_alignment.ads -floristlib/posix-page_alignment.ali -floristlib/posix-permissions-implementation.adb -floristlib/posix-permissions-implementation.ads -floristlib/posix-permissions-implementation.ali -floristlib/posix-permissions.adb -floristlib/posix-permissions.ads -floristlib/posix-permissions.ali -floristlib/posix-process_environment.adb -floristlib/posix-process_environment.ads -floristlib/posix-process_environment.ali -floristlib/posix-process_identification.adb -floristlib/posix-process_identification.ads -floristlib/posix-process_identification.ali -floristlib/posix-process_primitives.adb -floristlib/posix-process_primitives.ads -floristlib/posix-process_primitives.ali -floristlib/posix-process_scheduling.adb -floristlib/posix-process_scheduling.ads -floristlib/posix-process_scheduling.ali -floristlib/posix-process_times.adb -floristlib/posix-process_times.ads -floristlib/posix-process_times.ali -floristlib/posix-semaphores.adb -floristlib/posix-semaphores.ads -floristlib/posix-semaphores.ali -floristlib/posix-shared_memory_objects.adb -floristlib/posix-shared_memory_objects.ads -floristlib/posix-shared_memory_objects.ali -floristlib/posix-signals.adb -floristlib/posix-signals.ads -floristlib/posix-signals.ali -floristlib/posix-supplement_to_ada_io.adb -floristlib/posix-supplement_to_ada_io.ads -floristlib/posix-supplement_to_ada_io.ali -floristlib/posix-terminal_functions.adb -floristlib/posix-terminal_functions.ads -floristlib/posix-terminal_functions.ali -floristlib/posix-timers-extensions.adb -floristlib/posix-timers-extensions.ads -floristlib/posix-timers-extensions.ali -floristlib/posix-timers.adb -floristlib/posix-timers.ads -floristlib/posix-timers.ali -floristlib/posix-unsafe_process_primitives.adb -floristlib/posix-unsafe_process_primitives.ads -floristlib/posix-unsafe_process_primitives.ali -floristlib/posix-user_database.adb -floristlib/posix-user_database.ads -floristlib/posix-user_database.ali -floristlib/posix.adb -floristlib/posix.ads -floristlib/posix.ali -floristlib/posix_asynchronous_io.ads -floristlib/posix_asynchronous_io.ali -floristlib/posix_c.ads -floristlib/posix_calendar.ads -floristlib/posix_calendar.ali -floristlib/posix_condition_variables.ads -floristlib/posix_condition_variables.ali -floristlib/posix_configurable_file_limits.ads -floristlib/posix_configurable_file_limits.ali -floristlib/posix_configurable_system_limits.ads -floristlib/posix_configurable_system_limits.ali -floristlib/posix_error_codes.ads -floristlib/posix_file_locking.ads -floristlib/posix_file_locking.ali -floristlib/posix_file_status.ads -floristlib/posix_file_status.ali -floristlib/posix_files.ads -floristlib/posix_files.ali -floristlib/posix_generic_shared_memory.ads -floristlib/posix_generic_shared_memory.ali -floristlib/posix_group_database.ads -floristlib/posix_group_database.ali -floristlib/posix_io.ads -floristlib/posix_io.ali -floristlib/posix_limits.ads -floristlib/posix_limits.ali -floristlib/posix_memory_locking.ads -floristlib/posix_memory_locking.ali -floristlib/posix_memory_mapping.ads -floristlib/posix_memory_mapping.ali -floristlib/posix_memory_range_locking.ads -floristlib/posix_memory_range_locking.ali -floristlib/posix_message_queues.ads -floristlib/posix_message_queues.ali -floristlib/posix_mutexes.ads -floristlib/posix_mutexes.ali -floristlib/posix_options.ads -floristlib/posix_options.ali -floristlib/posix_page_alignment.ads -floristlib/posix_page_alignment.ali -floristlib/posix_permissions.ads -floristlib/posix_permissions.ali -floristlib/posix_process_environment.ads -floristlib/posix_process_environment.ali -floristlib/posix_process_identification.ads -floristlib/posix_process_identification.ali -floristlib/posix_process_primitives.ads -floristlib/posix_process_primitives.ali -floristlib/posix_process_scheduling.ads -floristlib/posix_process_scheduling.ali -floristlib/posix_process_times.ads -floristlib/posix_process_times.ali -floristlib/posix_semaphores.ads -floristlib/posix_semaphores.ali -floristlib/posix_shared_memory_objects.ads -floristlib/posix_shared_memory_objects.ali -floristlib/posix_signals.ads -floristlib/posix_signals.ali -floristlib/posix_supplement_to_ada_io.ads -floristlib/posix_supplement_to_ada_io.ali -floristlib/posix_terminal_functions.ads -floristlib/posix_terminal_functions.ali -floristlib/posix_timers.ads -floristlib/posix_timers.ali -floristlib/posix_unsafe_process_primitives.ads -floristlib/posix_unsafe_process_primitives.ali -floristlib/posix_user_database.ads -floristlib/posix_user_database.ali -floristlib/system_storage_elements.ads -lib/gnat/florist.gpr -@dirrm lib/gnat -@dirrm floristlib diff --git a/devel/gdb53/Makefile b/devel/gdb53/Makefile deleted file mode 100644 index 9ae2b919a6c2..000000000000 --- a/devel/gdb53/Makefile +++ /dev/null @@ -1,55 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: GDB 5.1 -# Date created: 30 March 2001 -# Whom: David O'Brien <obrien@NUXI.com> -# -# $FreeBSD$ -# - -PORTNAME= gdb -PORTVERSION= 5.3 -PORTREVISION= 1 -PORTEPOCH= 1 -CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_SOURCEWARE:S/$/:sw/} \ - ${MASTER_SITE_LOCAL:S/$/:local/} -MASTER_SITE_SUBDIR= gdb/old-releases/:sw obrien/:local -DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sw,local - -MAINTAINER= obrien@FreeBSD.org -COMMENT= Source level debugger - GNU GDB 5.3 - -LATEST_LINK= gdb53 -USE_BZIP2= yes -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --program-suffix=53 - -BROKEN= does not build -DEPRECATED= has been broken for 3 months -EXPIRATION_DATE= 2010-01-18 -ONLY_FOR_ARCHS= i386 alpha sparc64 - -USE_GCC= 3.4 - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" && ${OSVERSION} >= 700042 -BROKEN= Does not install: reports Unknown Architecture -.endif - -pre-configure: - cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo - ${LN} -sf ${FILESDIR}/freebsd-uthread.c ${FILESDIR}/kvm-fbsd.c \ - ${WRKSRC}/gdb - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \ - ${PREFIX}/bin/${PORTNAME}${PORTVERSION:S/.//g} - -cklatest: - ncftpls \ - ftp://mirrors.rcn.net/mirrors/sources.redhat.com/${MASTER_SITE_SUBDIR}/ \ - | ${GREP} gdb+dejagnu-weekly - -.include <bsd.port.post.mk> diff --git a/devel/gdb53/distinfo b/devel/gdb53/distinfo deleted file mode 100644 index fcf6474d52bf..000000000000 --- a/devel/gdb53/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (gdb-5.3.tar.bz2) = 70e4ade69a2dff2c7b9af9a4ef44798f -SHA256 (gdb-5.3.tar.bz2) = 6e559a98636a1a5d92fd8df31161ed9307eca2234ae2d783dd8c84f500cddb6c -SIZE (gdb-5.3.tar.bz2) = 11198721 diff --git a/devel/gdb53/files/freebsd-uthread.c b/devel/gdb53/files/freebsd-uthread.c deleted file mode 100644 index ee6989a20199..000000000000 --- a/devel/gdb53/files/freebsd-uthread.c +++ /dev/null @@ -1,934 +0,0 @@ -/* $FreeBSD: /tmp/pcvs/ports/devel/gdb53/files/Attic/freebsd-uthread.c,v 1.1 2005-12-17 03:43:21 obrien Exp $ */ -/* Low level interface for debugging FreeBSD user threads for GDB, the GNU debugger. - Copyright 1996, 1999 Free Software Foundation, Inc. - -This file is part of GDB. - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* This module implements a sort of half target that sits between the - machine-independent parts of GDB and the ptrace interface (infptrace.c) to - provide access to the FreeBSD user-mode thread implementation. - - FreeBSD threads are true user-mode threads, which are invoked via - the pthread_* interfaces. These are mostly implemented in - user-space, with all thread context kept in various structures that - live in the user's heap. For the most part, the kernel has no - knowlege of these threads. - - Based largely on hpux-thread.c - - */ - - -#include "defs.h" -#include <sys/queue.h> -#include <signal.h> -#include <setjmp.h> -#include <string.h> -#include "gdbthread.h" -#include "target.h" -#include "inferior.h" -#include <fcntl.h> -#include <ucontext.h> -#include <unistd.h> -#include <sys/stat.h> -#include "gdbcore.h" -#include "regcache.h" - -extern int child_suppress_run; -extern struct target_ops child_ops; /* target vector for inftarg.c */ - -extern void _initialize_freebsd_uthread PARAMS ((void)); - -/* Set to true while we are part-way through attaching */ -static int freebsd_uthread_attaching; - -static int freebsd_uthread_active = 0; -static CORE_ADDR P_thread_list; -static CORE_ADDR P_thread_run; - -/* Pointer to the next function on the objfile event chain. */ -static void (*target_new_objfile_chain) (struct objfile *objfile); - -static void freebsd_uthread_resume PARAMS ((ptid_t pid, int step, - enum target_signal signo)); - -static void init_freebsd_uthread_ops PARAMS ((void)); - -static struct target_ops freebsd_uthread_ops; - -static ptid_t find_active_ptid PARAMS ((void)); - -struct cached_pthread { - u_int64_t uniqueid; - int state; - CORE_ADDR name; - union { - ucontext_t uc; - jmp_buf jb; - } ctx; -}; - -static ptid_t cached_ptid; -static struct cached_pthread cached_pthread; -static CORE_ADDR cached_pthread_addr; - -LIST_HEAD(idmaplist, idmap); - -struct idmap { - LIST_ENTRY(idmap) link; - u_int64_t uniqueid; - int tid; -}; - -#define MAPHASH_SIZE 257 -#define TID_MIN 1 -#define TID_MAX 16383 - -static int tid_to_hash[TID_MAX + 1]; /* set to map_hash index */ -static struct idmaplist map_hash[MAPHASH_SIZE]; -static int next_free_tid = TID_MIN; /* first available tid */ -static int last_free_tid = TID_MIN; /* first unavailable */ - -static CORE_ADDR P_thread_next_offset; -static CORE_ADDR P_thread_uniqueid_offset; -static CORE_ADDR P_thread_state_offset; -static CORE_ADDR P_thread_name_offset; -static CORE_ADDR P_thread_ctx_offset; -static CORE_ADDR P_thread_PS_RUNNING_value; -static CORE_ADDR P_thread_PS_DEAD_value; - -static int next_offset; -static int uniqueid_offset; -static int state_offset; -static int name_offset; -static int ctx_offset; -static int PS_RUNNING_value; -static int PS_DEAD_value; - -#define UNIQUEID_HASH(id) (id % MAPHASH_SIZE) -#define TID_ADD1(tid) (((tid) + 1) == TID_MAX + 1 \ - ? TID_MIN : (tid) + 1) -#define IS_TID_FREE(tid) (tid_to_hash[tid] == -1) - -static int -get_new_tid(int h) -{ - int tid = next_free_tid; - - tid_to_hash[tid] = h; - next_free_tid = TID_ADD1(next_free_tid); - if (next_free_tid == last_free_tid) - { - int i; - - for (i = last_free_tid; TID_ADD1(i) != last_free_tid; i = TID_ADD1(i)) - if (IS_TID_FREE(i)) - break; - if (TID_ADD1(i) == last_free_tid) - { - error("too many threads"); - return 0; - } - next_free_tid = i; - for (i = TID_ADD1(i); IS_TID_FREE(i); i = TID_ADD1(i)) - ; - last_free_tid = i; - } - - return tid; -} - -static ptid_t -find_ptid(u_int64_t uniqueid) -{ - int h = UNIQUEID_HASH(uniqueid); - struct idmap *im; - - LIST_FOREACH(im, &map_hash[h], link) - if (im->uniqueid == uniqueid) - return MERGEPID(PIDGET(inferior_ptid), im->tid); - - im = xmalloc(sizeof(struct idmap)); - im->uniqueid = uniqueid; - im->tid = get_new_tid(h); - LIST_INSERT_HEAD(&map_hash[h], im, link); - - return MERGEPID(PIDGET(inferior_ptid), im->tid); -} - -static void -free_ptid(ptid_t ptid) -{ - int tid = TIDGET(ptid); - int h = tid_to_hash[tid]; - struct idmap *im; - - if (!tid) return; - - LIST_FOREACH(im, &map_hash[h], link) - if (im->tid == tid) - break; - - if (!im) return; - - LIST_REMOVE(im, link); - tid_to_hash[tid] = -1; - free(im); -} - -#define READ_OFFSET(field) read_memory(P_thread_##field##_offset, \ - (char *) &field##_offset, \ - sizeof(field##_offset)) - -#define READ_VALUE(name) read_memory(P_thread_##name##_value, \ - (char *) &name##_value, \ - sizeof(name##_value)) - -static void -read_thread_offsets (void) -{ - READ_OFFSET(next); - READ_OFFSET(uniqueid); - READ_OFFSET(state); - READ_OFFSET(name); - READ_OFFSET(ctx); - - READ_VALUE(PS_RUNNING); - READ_VALUE(PS_DEAD); -} - -#define READ_FIELD(ptr, T, field, result) \ - read_memory ((ptr) + field##_offset, (char *) &(result), sizeof result) - -static u_int64_t -read_pthread_uniqueid (CORE_ADDR ptr) -{ - u_int64_t uniqueid; - READ_FIELD(ptr, u_int64_t, uniqueid, uniqueid); - return uniqueid; -} - -static CORE_ADDR -read_pthread_next (CORE_ADDR ptr) -{ - CORE_ADDR next; - READ_FIELD(ptr, CORE_ADDR, next, next); - return next; -} - -static void -read_cached_pthread (CORE_ADDR ptr, struct cached_pthread *cache) -{ - READ_FIELD(ptr, u_int64_t, uniqueid, cache->uniqueid); - READ_FIELD(ptr, int, state, cache->state); - READ_FIELD(ptr, CORE_ADDR, name, cache->name); - READ_FIELD(ptr, ucontext_t, ctx, cache->ctx); -} - -static ptid_t -find_active_ptid (void) -{ - CORE_ADDR ptr; - - read_memory ((CORE_ADDR)P_thread_run, - (char *)&ptr, - sizeof ptr); - - return find_ptid(read_pthread_uniqueid(ptr)); -} - -static CORE_ADDR find_pthread_addr PARAMS ((ptid_t ptid)); -static struct cached_pthread * find_pthread PARAMS ((ptid_t ptid)); - -static CORE_ADDR -find_pthread_addr (ptid_t ptid) -{ - CORE_ADDR ptr; - - if (ptid_equal(ptid, cached_ptid)) - return cached_pthread_addr; - - read_memory ((CORE_ADDR)P_thread_list, - (char *)&ptr, - sizeof ptr); - - while (ptr != 0) - { - if (ptid_equal(find_ptid(read_pthread_uniqueid(ptr)), ptid)) - { - cached_ptid = ptid; - cached_pthread_addr = ptr; - read_cached_pthread(ptr, &cached_pthread); - return ptr; - } - ptr = read_pthread_next(ptr); - } - - return NULL; -} - -static struct cached_pthread * -find_pthread (ptid_t ptid) -{ - CORE_ADDR ptr; - - if (ptid_equal(ptid, cached_ptid)) - return &cached_pthread; - - read_memory ((CORE_ADDR)P_thread_list, - (char *)&ptr, - sizeof ptr); - - while (ptr != 0) - { - if (ptid_equal(find_ptid(read_pthread_uniqueid(ptr)), ptid)) - { - cached_ptid = ptid; - cached_pthread_addr = ptr; - read_cached_pthread(ptr, &cached_pthread); - return &cached_pthread; - } - ptr = read_pthread_next(ptr); - } - -#if 0 - error ("Can't find pthread %d,%d", PIDGET(ptid), TIDGET(ptid)); -#endif - return NULL; -} - - -/* Most target vector functions from here on actually just pass through to - inftarg.c, as they don't need to do anything specific for threads. */ - -/* ARGSUSED */ -static void -freebsd_uthread_open (char *arg, int from_tty) -{ - child_ops.to_open (arg, from_tty); -} - -/* Attach to process PID, then initialize for debugging it - and wait for the trace-trap that results from attaching. */ - -static void -freebsd_uthread_attach (char *args, int from_tty) -{ - child_ops.to_attach (args, from_tty); - push_target (&freebsd_uthread_ops); - freebsd_uthread_attaching = 1; -} - -/* After an attach, see if the target is threaded */ - -static void -freebsd_uthread_post_attach (int pid) -{ - if (freebsd_uthread_active) - { - read_thread_offsets (); - inferior_ptid = find_active_ptid (); - add_thread (inferior_ptid); - } - else - { - unpush_target (&freebsd_uthread_ops); - push_target (&child_ops); - } - - freebsd_uthread_attaching = 0; -} - -/* Take a program previously attached to and detaches it. - The program resumes execution and will no longer stop - on signals, etc. We'd better not have left any breakpoints - in the program or it'll die when it hits one. For this - to work, it may be necessary for the process to have been - previously attached. It *might* work if the program was - started via the normal ptrace (PTRACE_TRACEME). */ - -static void -freebsd_uthread_detach (char *args, int from_tty) -{ - child_ops.to_detach (args, from_tty); -} - -/* Resume execution of process PID. If STEP is nozero, then - just single step it. If SIGNAL is nonzero, restart it with that - signal activated. We may have to convert pid from a thread-id to an LWP id - for procfs. */ - -static void -freebsd_uthread_resume (ptid_t ptid, int step, enum target_signal signo) -{ - if (freebsd_uthread_attaching) - { - child_ops.to_resume (ptid, step, signo); - return; - } - - child_ops.to_resume (ptid, step, signo); - cached_ptid = MERGEPID(0, 0); -} - -/* Wait for any threads to stop. We may have to convert PID from a thread id - to a LWP id, and vice versa on the way out. */ - -static ptid_t -freebsd_uthread_wait (ptid_t ptid, struct target_waitstatus *ourstatus) -{ - ptid_t rtnval; - - if (freebsd_uthread_attaching) - { - return child_ops.to_wait (ptid, ourstatus); - } - - rtnval = child_ops.to_wait (ptid, ourstatus); - - if (PIDGET(rtnval) >= 0) - { - rtnval = find_active_ptid (); - if (!in_thread_list (rtnval)) - add_thread (rtnval); - } - - return rtnval; -} - -/* XXX: this needs to be selected by target, not [build] host */ -#ifdef __i386__ - -#include "i386-tdep.h" - -static char sigmap[I386_SSE_NUM_REGS] = /* map reg to sigcontext */ -{ - 12, /* eax */ - 11, /* ecx */ - 10, /* edx */ - 9, /* ebx */ - 8, /* esp */ - 7, /* ebp */ - 6, /* esi */ - 5, /* edi */ - 15, /* eip */ - 17, /* eflags */ - 16, /* cs */ - 19, /* ss */ - 4, /* ds */ - 3, /* es */ - 2, /* fs */ - 1, /* gs */ - -1, -1, -1, -1, -1, -1, -1, /* st0-st7 */ - -1, -1, -1, -1, -1, -1, -1, /* fctrl-fop */ - -1, -1, -1, -1, -1, -1, -1, /* xmm0-xmm7 */ - -1, /* mxcsr */ -}; - -static char jmpmap[I386_SSE_NUM_REGS] = /* map reg to jmp_buf */ -{ - 6, /* eax */ - -1, /* ecx */ - -1, /* edx */ - 1, /* ebx */ - 2, /* esp */ - 3, /* ebp */ - 4, /* esi */ - 5, /* edi */ - 0, /* eip */ - -1, /* eflags */ - -1, /* cs */ - -1, /* ss */ - -1, /* ds */ - -1, /* es */ - -1, /* fs */ - -1, /* gs */ - -1, -1, -1, -1, -1, -1, -1, /* st0-st7 */ - -1, -1, -1, -1, -1, -1, -1, /* fctrl-fop */ - -1, -1, -1, -1, -1, -1, -1, /* xmm0-xmm7 */ - -1, /* mxcsr */ -}; - -#endif - -#ifdef __alpha__ - -#include "alpha-tdep.h" - -static char sigmap[ALPHA_NUM_REGS] = /* map reg to sigcontext */ -{ - 1, 2, 3, 4, 5, 6, 7, 8, /* v0 - t6 */ - 9, 10, 11, 12, 13, 14, 15, 16, /* t7 - fp */ - 17, 18, 19, 20, 21, 22, 23, 24, /* a0 - t9 */ - 25, 26, 27, 28, 29, 30, 31, 32, /* t10 - zero */ - 38, 39, 40, 41, 42, 43, 44, 45, /* f0 - f7 */ - 46, 47, 48, 49, 50, 51, 52, 53, /* f8 - f15 */ - 54, 55, 56, 57, 58, 59, 60, 61, /* f16 - f23 */ - 62, 63, 64, 65, 66, 67, 68, 69, /* f24 - f31 */ - 33, -1 /* pc, vfp */ -}; -static char jmpmap[ALPHA_NUM_REGS] = { - 4, 5, 6, 7, 8, 9, 10, 11, /* v0 - t6 */ - 12, 13, 14, 15, 16, 17, 18, 19, /* t7 - fp */ - 20, 21, 22, 23, 24, 25, 26, 27, /* a0 - t9 */ - 28, 29, 30, 31, 32, 33, 34, 35, /* t10 - zero */ - 37, 38, 39, 40, 41, 42, 43, 44, /* f0 - f7 */ - 45, 46, 47, 48, 49, 50, 51, 52, /* f8 - f15 */ - 53, 54, 55, 56, 57, 58, 59, 60, /* f16 - f23 */ - 61, 62, 63, 64, 65, 66, 67, 68, /* f24 - f31 */ - 2, -1, /* pc, vfp */ -}; - -#endif - -#ifdef __sparc64__ - -static char sigmap[125] = /* map reg to sigcontext */ -{ - -1 -}; -static char jmpmap[125] = { - -1 -}; - -#endif - -static void -freebsd_uthread_fetch_registers (int regno) -{ - struct cached_pthread *thread; - int active; - int first_regno, last_regno; - register_t *regbase; - char *regmap; - - if (freebsd_uthread_attaching || TIDGET(inferior_ptid) == 0) - { - child_ops.to_fetch_registers (regno); - return; - } - - thread = find_pthread (inferior_ptid); - active = (ptid_equal(inferior_ptid, find_active_ptid())); - - if (active) - { - child_ops.to_fetch_registers (regno); - return; - } - - if (regno == -1) - { - first_regno = 0; - last_regno = NUM_REGS - 1; - } - else - { - first_regno = regno; - last_regno = regno; - } - - regbase = (register_t*) &thread->ctx.jb[0]; - regmap = jmpmap; - - for (regno = first_regno; regno <= last_regno; regno++) - { - if (regmap[regno] == -1) - child_ops.to_fetch_registers (regno); - else - if (thread) - supply_register (regno, (char*) ®base[regmap[regno]]); - else - supply_register (regno, NULL); - } -} - -static void -freebsd_uthread_store_registers (int regno) -{ - struct cached_pthread *thread; - CORE_ADDR ptr; - int first_regno, last_regno; - u_int32_t *regbase; - char *regmap; - - if (freebsd_uthread_attaching) - { - child_ops.to_store_registers (regno); - return; - } - - thread = find_pthread (inferior_ptid); - - if (thread->state == PS_RUNNING_value) - { - child_ops.to_store_registers (regno); - return; - } - - if (regno == -1) - { - first_regno = 0; - last_regno = NUM_REGS - 1; - } - else - { - first_regno = regno; - last_regno = regno; - } - - regbase = (u_int32_t*) &thread->ctx.jb[0]; - regmap = jmpmap; - - ptr = find_pthread_addr (inferior_ptid); - for (regno = first_regno; regno <= last_regno; regno++) - { - if (regmap[regno] == -1) - child_ops.to_store_registers (regno); - else - { - u_int32_t *reg = ®base[regmap[regno]]; - int off; - - /* Hang onto cached value */ - memcpy(reg, registers + REGISTER_BYTE (regno), - REGISTER_RAW_SIZE (regno)); - - /* And push out to inferior */ - off = (char *) reg - (char *) thread; - write_memory (ptr + off, - registers + REGISTER_BYTE (regno), - REGISTER_RAW_SIZE (regno)); - } - } -} - -/* Get ready to modify the registers array. On machines which store - individual registers, this doesn't need to do anything. On machines - which store all the registers in one fell swoop, this makes sure - that registers contains all the registers from the program being - debugged. */ - -static void -freebsd_uthread_prepare_to_store (void) -{ - child_ops.to_prepare_to_store (); -} - -static int -freebsd_uthread_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, - int dowrite, struct mem_attrib *attrib, - struct target_ops *target) -{ - return child_ops.to_xfer_memory (memaddr, myaddr, len, dowrite, - attrib, target); -} - -/* Print status information about what we're accessing. */ - -static void -freebsd_uthread_files_info (struct target_ops *ignore) -{ - child_ops.to_files_info (ignore); -} - -static void -freebsd_uthread_kill_inferior (void) -{ - child_ops.to_kill (); -} - -static void -freebsd_uthread_notice_signals (ptid_t ptid) -{ - child_ops.to_notice_signals (ptid); -} - -/* Fork an inferior process, and start debugging it with /proc. */ - -static void -freebsd_uthread_create_inferior (char *exec_file, char *allargs, char **env) -{ - child_ops.to_create_inferior (exec_file, allargs, env); - - if (PIDGET(inferior_ptid) && freebsd_uthread_active) - { - read_thread_offsets (); - push_target (&freebsd_uthread_ops); - inferior_ptid = find_active_ptid (); - add_thread (inferior_ptid); - } -} - -/* This routine is called to find out if the inferior is using threads. - We check for the _thread_run and _thread_list globals. */ - -void -freebsd_uthread_new_objfile (struct objfile *objfile) -{ - struct minimal_symbol *ms; - - if (!objfile) - { - freebsd_uthread_active = 0; - return; - } - - ms = lookup_minimal_symbol ("_thread_run", NULL, objfile); - - if (!ms) - return; - - P_thread_run = SYMBOL_VALUE_ADDRESS (ms); - - ms = lookup_minimal_symbol ("_thread_list", NULL, objfile); - - if (!ms) - return; - - P_thread_list = SYMBOL_VALUE_ADDRESS (ms); - -#define OFFSET_SYM(field) "_thread_" #field "_offset" -#define LOOKUP_OFFSET(field) \ - do { \ - ms = lookup_minimal_symbol (OFFSET_SYM(field), NULL, objfile); \ - if (!ms) \ - return; \ - P_thread_##field##_offset = SYMBOL_VALUE_ADDRESS (ms); \ - } while (0); - -#define VALUE_SYM(name) "_thread_" #name "_value" -#define LOOKUP_VALUE(name) \ - do { \ - ms = lookup_minimal_symbol (VALUE_SYM(name), NULL, objfile); \ - if (!ms) \ - return; \ - P_thread_##name##_value = SYMBOL_VALUE_ADDRESS (ms); \ - } while (0); - - LOOKUP_OFFSET(next); - LOOKUP_OFFSET(uniqueid); - LOOKUP_OFFSET(state); - LOOKUP_OFFSET(name); - LOOKUP_OFFSET(ctx); - - LOOKUP_VALUE(PS_RUNNING); - LOOKUP_VALUE(PS_DEAD); - - freebsd_uthread_active = 1; -} - -/* Clean up after the inferior dies. */ - -static void -freebsd_uthread_mourn_inferior () -{ - child_ops.to_mourn_inferior (); - unpush_target (&freebsd_uthread_ops); -} - -/* Mark our target-struct as eligible for stray "run" and "attach" commands. */ - -static int -freebsd_uthread_can_run () -{ - return child_suppress_run; -} - -static int -freebsd_uthread_thread_alive (ptid_t ptid) -{ - struct cached_pthread *thread; - int ret = 0; - - if (freebsd_uthread_attaching) - return 1; - - /* - * We can get called from child_ops.to_wait() which passes the underlying - * pid (without a thread number). - */ - if (TIDGET(ptid) == 0) - return 1; - - if (find_pthread_addr (ptid) != 0) - { - thread = find_pthread (ptid); - ret = (thread->state != PS_DEAD_value); - } - - if (!ret) - free_ptid(ptid); - - return ret; -} - -static void -freebsd_uthread_stop (void) -{ - child_ops.to_stop (); -} - -static void -freebsd_uthread_find_new_threads (void) -{ - CORE_ADDR ptr; - int state; - u_int64_t uniqueid; - - read_memory ((CORE_ADDR)P_thread_list, - (char *)&ptr, - sizeof ptr); - - while (ptr != 0) - { - READ_FIELD(ptr, int, state, state); - READ_FIELD(ptr, u_int64_t, uniqueid, uniqueid); - if (state != PS_DEAD_value && - !in_thread_list (find_ptid(uniqueid))) - add_thread (find_ptid(uniqueid)); - ptr = read_pthread_next(ptr); - } -} - -/* MUST MATCH enum pthread_state */ -static const char *statenames[] = { - "RUNNING", - "SIGTHREAD", - "MUTEX_WAIT", - "COND_WAIT", - "FDLR_WAIT", - "FDLW_WAIT", - "FDR_WAIT", - "FDW_WAIT", - "POLL_WAIT", - "FILE_WAIT", - "SELECT_WAIT", - "SLEEP_WAIT", - "WAIT_WAIT", - "SIGSUSPEND", - "SIGWAIT", - "SPINBLOCK", - "JOIN", - "SUSPENDED", - "DEAD", - "DEADLOCK", -}; - -#if 0 - -static int -freebsd_uthread_get_thread_info (ref, selection, info) - gdb_threadref *ref; - int selection; - struct gdb_ext_thread_info *info; -{ - int pid = *ref; - struct cached_pthread *thread = find_pthread (pid); - struct cleanup *old_chain; - - old_chain = save_inferior_pid (); - inferior_pid = main_pid; - - memset(&info->threadid, 0, OPAQUETHREADBYTES); - - memcpy(&info->threadid, ref, sizeof *ref); - info->active = thread->state == PS_RUNNING_value; - strcpy(info->display, statenames[thread->state]); - if (thread->name) - read_memory ((CORE_ADDR) thread->name, info->shortname, 32); - else - strcpy(info->shortname, ""); - - do_cleanups (old_chain); - return (0); -} - -#endif - -char * -freebsd_uthread_pid_to_str (ptid_t ptid) -{ - static char buf[30]; - - if (STREQ (current_target.to_shortname, "freebsd-uthreads")) - sprintf (buf, "Process %d, Thread %ld", - PIDGET(ptid), TIDGET(ptid)); - else - sprintf (buf, "Process %d", PIDGET(ptid)); - - return buf; -} - - -static void -init_freebsd_uthread_ops () -{ - freebsd_uthread_ops.to_shortname = "freebsd-uthreads"; - freebsd_uthread_ops.to_longname = "FreeBSD uthreads"; - freebsd_uthread_ops.to_doc = "FreeBSD user threads support."; - freebsd_uthread_ops.to_open = freebsd_uthread_open; - freebsd_uthread_ops.to_attach = freebsd_uthread_attach; - freebsd_uthread_ops.to_post_attach = freebsd_uthread_post_attach; - freebsd_uthread_ops.to_detach = freebsd_uthread_detach; - freebsd_uthread_ops.to_resume = freebsd_uthread_resume; - freebsd_uthread_ops.to_wait = freebsd_uthread_wait; - freebsd_uthread_ops.to_fetch_registers = freebsd_uthread_fetch_registers; - freebsd_uthread_ops.to_store_registers = freebsd_uthread_store_registers; - freebsd_uthread_ops.to_prepare_to_store = freebsd_uthread_prepare_to_store; - freebsd_uthread_ops.to_xfer_memory = freebsd_uthread_xfer_memory; - freebsd_uthread_ops.to_files_info = freebsd_uthread_files_info; - freebsd_uthread_ops.to_insert_breakpoint = memory_insert_breakpoint; - freebsd_uthread_ops.to_remove_breakpoint = memory_remove_breakpoint; - freebsd_uthread_ops.to_terminal_init = terminal_init_inferior; - freebsd_uthread_ops.to_terminal_inferior = terminal_inferior; - freebsd_uthread_ops.to_terminal_ours_for_output = terminal_ours_for_output; - freebsd_uthread_ops.to_terminal_ours = terminal_ours; - freebsd_uthread_ops.to_terminal_info = child_terminal_info; - freebsd_uthread_ops.to_kill = freebsd_uthread_kill_inferior; - freebsd_uthread_ops.to_create_inferior = freebsd_uthread_create_inferior; - freebsd_uthread_ops.to_mourn_inferior = freebsd_uthread_mourn_inferior; - freebsd_uthread_ops.to_can_run = freebsd_uthread_can_run; - freebsd_uthread_ops.to_notice_signals = freebsd_uthread_notice_signals; - freebsd_uthread_ops.to_thread_alive = freebsd_uthread_thread_alive; - freebsd_uthread_ops.to_stop = freebsd_uthread_stop; - freebsd_uthread_ops.to_stratum = process_stratum; - freebsd_uthread_ops.to_has_all_memory = 1; - freebsd_uthread_ops.to_has_memory = 1; - freebsd_uthread_ops.to_has_stack = 1; - freebsd_uthread_ops.to_has_registers = 1; - freebsd_uthread_ops.to_has_execution = 1; - freebsd_uthread_ops.to_has_thread_control = 0; - freebsd_uthread_ops.to_magic = OPS_MAGIC; - freebsd_uthread_ops.to_find_new_threads = freebsd_uthread_find_new_threads; - freebsd_uthread_ops.to_pid_to_str = freebsd_uthread_pid_to_str; -#if 0 - freebsd_uthread_vec.get_thread_info = freebsd_uthread_get_thread_info; -#endif -} - -void -_initialize_freebsd_uthread () -{ - init_freebsd_uthread_ops (); - add_target (&freebsd_uthread_ops); - - target_new_objfile_chain = target_new_objfile_hook; - target_new_objfile_hook = freebsd_uthread_new_objfile; - - child_suppress_run = 1; -} diff --git a/devel/gdb53/files/kvm-fbsd.c b/devel/gdb53/files/kvm-fbsd.c deleted file mode 100644 index 0b396cc86bb8..000000000000 --- a/devel/gdb53/files/kvm-fbsd.c +++ /dev/null @@ -1,756 +0,0 @@ -/* Kernel core dump functions below target vector, for GDB. - Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995 - Free Software Foundation, Inc. - -This file is part of GDB. - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -/* $FreeBSD: /tmp/pcvs/ports/devel/gdb53/files/Attic/kvm-fbsd.c,v 1.1 2005-12-17 03:43:21 obrien Exp $ */ - -/* - * This works like "remote" but, you use it like this: - * target kcore /dev/mem - * or - * target kcore /var/crash/host/core.0 - * - * This way makes it easy to short-circut the whole bfd monster, - * and direct the inferior stuff to our libkvm implementation. - * - */ - -#include <sys/param.h> -#include <sys/time.h> -#include <sys/proc.h> -#include <sys/user.h> -#include <ctype.h> -#include <errno.h> -#include <signal.h> -#include <fcntl.h> -#include <kvm.h> -#include <sys/sysctl.h> -#include <paths.h> -#include <readline/tilde.h> -#include <machine/frame.h> - -#include "defs.h" -#include "gdb_string.h" -#include "frame.h" /* required by inferior.h */ -#include "inferior.h" -#include "symtab.h" -#include "symfile.h" -#include "objfiles.h" -#include "command.h" -#include "bfd.h" -#include "target.h" -#include "gdbcore.h" -#include "regcache.h" - -#if __FreeBSD_version >= 500032 -static void -kcore_files_info (struct target_ops *); - -static void -kcore_close (int); - -static void -get_kcore_registers (int); - -static int -xfer_mem (CORE_ADDR, char *, int, int, struct mem_attrib *, - struct target_ops *); - -static int -xfer_umem (CORE_ADDR, char *, int, int); - -static char *core_file; -static kvm_t *core_kd; -static struct pcb cur_pcb; -static struct kinfo_proc *cur_proc; - -static struct target_ops kcore_ops; - -int kernel_debugging; -int kernel_writablecore; - -/* Read the "thing" at kernel address 'addr' into the space pointed to - by point. The length of the "thing" is determined by the type of p. - Result is non-zero if transfer fails. */ - -#define kvread(addr, p) \ - (target_read_memory ((CORE_ADDR) (addr), (char *) (p), sizeof (*(p)))) - -static CORE_ADDR -ksym_kernbase (void) -{ - static CORE_ADDR kernbase; - struct minimal_symbol *sym; - - if (kernbase == 0) - { - sym = lookup_minimal_symbol ("kernbase", NULL, NULL); - if (sym == NULL) { - kernbase = KERNBASE; - } else { - kernbase = SYMBOL_VALUE_ADDRESS (sym); - } - } - return kernbase; -} - -#define KERNOFF (ksym_kernbase ()) -#define INKERNEL(x) ((x) >= KERNOFF) - -CORE_ADDR -ksym_lookup(const char *name) -{ - struct minimal_symbol *sym; - - sym = lookup_minimal_symbol (name, NULL, NULL); - if (sym == NULL) - error ("kernel symbol `%s' not found.", name); - - return SYMBOL_VALUE_ADDRESS (sym); -} - -/* Provide the address of an initial PCB to use. - If this is a crash dump, try for "dumppcb". - If no "dumppcb" or it's /dev/mem, use proc0. - Return the core address of the PCB we found. */ - -static CORE_ADDR -initial_pcb (void) -{ - struct minimal_symbol *sym; - CORE_ADDR addr; - void *val; - - /* Make sure things are open... */ - if (!core_kd || !core_file) - return (0); - - /* If this is NOT /dev/mem try for dumppcb. */ - if (strncmp (core_file, _PATH_DEV, sizeof _PATH_DEV - 1)) - { - sym = lookup_minimal_symbol ("dumppcb", NULL, NULL); - if (sym != NULL) - { - addr = SYMBOL_VALUE_ADDRESS (sym); - return (addr); - } - } - - /* OK, just use thread0's pcb. Note that curproc might - not exist, and if it does, it will point to gdb. - Therefore, just use proc0 and let the user set - some other context if they care about it. */ - - addr = ksym_lookup ("thread0"); - if (kvread (addr, &val)) - { - error ("cannot read thread0 pointer at %x\n", addr); - val = 0; - } - else - { - /* Read the PCB address in thread structure. */ - addr += offsetof (struct thread, td_pcb); - if (kvread (addr, &val)) - { - error ("cannot read thread0->td_pcb pointer at %x\n", addr); - val = 0; - } - } - - /* thread0 is wholly in the kernel and cur_proc is only used for - reading user mem, so no point in setting this up. */ - cur_proc = 0; - - return ((CORE_ADDR)val); -} - -/* Set the current context to that of the PCB struct at the system address - passed. */ - -static int -set_context (CORE_ADDR addr) -{ - CORE_ADDR procaddr = 0; - - if (kvread (addr, &cur_pcb)) - error ("cannot read pcb at %#x", addr); - - /* Fetch all registers from core file. */ - target_fetch_registers (-1); - - /* Now, set up the frame cache, and print the top of stack. */ - flush_cached_frames (); - set_current_frame (create_new_frame (read_fp (), read_pc ())); - select_frame (get_current_frame ()); - return (0); -} - -/* Discard all vestiges of any previous core file and mark data and stack - spaces as empty. */ - -/* ARGSUSED */ -static void -kcore_close (int quitting) -{ - - inferior_ptid = null_ptid; /* Avoid confusion from thread stuff. */ - - if (core_kd) - { - kvm_close (core_kd); - free (core_file); - core_file = NULL; - core_kd = NULL; - } -} - -/* This routine opens and sets up the core file bfd. */ - -static void -kcore_open (char *filename /* the core file */, int from_tty) -{ - kvm_t *kd; - const char *p; - struct cleanup *old_chain; - char buf[256], *cp; - int ontop; - CORE_ADDR addr; - - target_preopen (from_tty); - - /* The exec file is required for symbols. */ - if (exec_bfd == NULL) - error ("No kernel exec file specified"); - - if (core_kd) - { - error ("No core file specified." - " (Use `detach' to stop debugging a core file.)"); - return; - } - - if (!filename) - { - error ("No core file specified."); - return; - } - - filename = tilde_expand (filename); - if (filename[0] != '/') - { - cp = concat (current_directory, "/", filename, NULL); - free (filename); - filename = cp; - } - - old_chain = make_cleanup (free, filename); - - kd = kvm_open (bfd_get_filename(exec_bfd), filename, NULL, - kernel_writablecore ? O_RDWR: O_RDONLY, 0); - if (kd == NULL) - { - perror_with_name (filename); - return; - } - - /* Looks semi-reasonable. Toss the old core file and work on the new. */ - - discard_cleanups (old_chain); /* Don't free filename any more. */ - core_file = filename; - unpush_target (&kcore_ops); - ontop = !push_target (&kcore_ops); - - /* Note unpush_target (above) calls kcore_close. */ - core_kd = kd; - - /* Print out the panic string if there is one. */ - if (kvread (ksym_lookup ("panicstr"), &addr) == 0 && - addr != 0 && - target_read_memory (addr, buf, sizeof(buf)) == 0) - { - - for (cp = buf; cp < &buf[sizeof(buf)] && *cp; cp++) - if (!isascii (*cp) || (!isprint (*cp) && !isspace (*cp))) - *cp = '?'; - *cp = '\0'; - if (buf[0] != '\0') - printf_filtered ("panic: %s\n", buf); - } - - /* Print all the panic messages if possible. */ - if (symfile_objfile != NULL) - { - printf ("panic messages:\n---\n"); - snprintf (buf, sizeof buf, - "/sbin/dmesg -N %s -M %s | \ - /usr/bin/awk '/^(panic:|Fatal trap) / { printing = 1 } \ - { if (printing) print $0 }'", - symfile_objfile->name, filename); - fflush (stdout); - system (buf); - printf ("---\n"); - } - - if (!ontop) - { - warning ("you won't be able to access this core file until you terminate\n" - "your %s; do ``info files''", target_longname); - return; - } - - /* Now, set up process context, and print the top of stack. */ - (void)set_context (initial_pcb()); - print_stack_frame (selected_frame, frame_relative_level(selected_frame), 1); -} - -static void -kcore_detach (char *args, int from_tty) -{ - if (args) - error ("Too many arguments"); - unpush_target (&kcore_ops); - reinit_frame_cache (); - if (from_tty) - printf_filtered ("No kernel core file now.\n"); -} - -#ifdef __alpha__ - -#include "alpha/tm-alpha.h" -#include "alpha-tdep.h" - -#ifndef S0_REGNUM -#define S0_REGNUM (ALPHA_T7_REGNUM+1) -#endif - -fetch_kcore_registers (struct pcb *pcbp) -{ - - /* First clear out any garbage. */ - memset (registers, '\0', REGISTER_BYTES); - - /* SP */ - *(long *) ®isters[REGISTER_BYTE (SP_REGNUM)] = - pcbp->pcb_hw.apcb_ksp; - - /* S0 through S6 */ - memcpy (®isters[REGISTER_BYTE (S0_REGNUM)], - &pcbp->pcb_context[0], 7 * sizeof (long)); - - /* PC */ - *(long *) ®isters[REGISTER_BYTE (PC_REGNUM)] = - pcbp->pcb_context[7]; - - registers_fetched (); -} - - -CORE_ADDR -fbsd_kern_frame_saved_pc (struct frame_info *fi) -{ - struct minimal_symbol *sym; - CORE_ADDR this_saved_pc; - - this_saved_pc = FRAME_SAVED_PC(fi); - - sym = lookup_minimal_symbol_by_pc (this_saved_pc); - - if (sym != NULL && - (strcmp (SYMBOL_NAME (sym), "XentArith") == 0 || - strcmp (SYMBOL_NAME (sym), "XentIF") == 0 || - strcmp (SYMBOL_NAME (sym), "XentInt") == 0 || - strcmp (SYMBOL_NAME (sym), "XentMM") == 0 || - strcmp (SYMBOL_NAME (sym), "XentSys") == 0 || - strcmp (SYMBOL_NAME (sym), "XentUna") == 0 || - strcmp (SYMBOL_NAME (sym), "XentRestart") == 0)) - { - return (read_memory_integer (fi->frame + 32 * 8, 8)); - } - else - { - return (this_saved_pc); - } -} - -#endif /* __alpha__ */ - -#ifdef __i386__ - -static CORE_ADDR -ksym_maxuseraddr (void) -{ - static CORE_ADDR maxuseraddr; - struct minimal_symbol *sym; - - if (maxuseraddr == 0) - { - sym = lookup_minimal_symbol ("PTmap", NULL, NULL); - if (sym == NULL) { - maxuseraddr = VM_MAXUSER_ADDRESS; - } else { - maxuseraddr = SYMBOL_VALUE_ADDRESS (sym); - } - } - return maxuseraddr; -} - - -/* Symbol names of kernel entry points. Use special frames. */ -#define KSYM_TRAP "calltrap" -#define KSYM_INTR "Xintr" -#define KSYM_FASTINTR "Xfastintr" -#define KSYM_OLDSYSCALL "Xlcall_syscall" -#define KSYM_SYSCALL "Xint0x80_syscall" - -/* The following is FreeBSD-specific hackery to decode special frames - and elide the assembly-language stub. This could be made faster by - defining a frame_type field in the machine-dependent frame information, - but we don't think that's too important right now. */ -enum frametype { tf_normal, tf_trap, tf_interrupt, tf_syscall }; - -CORE_ADDR -fbsd_kern_frame_saved_pc (struct frame_info *fr) -{ - struct minimal_symbol *sym; - CORE_ADDR this_saved_pc; - enum frametype frametype; - - this_saved_pc = read_memory_integer (fr->frame + 4, 4); - sym = lookup_minimal_symbol_by_pc (this_saved_pc); - frametype = tf_normal; - if (sym != NULL) - { - if (strcmp (SYMBOL_NAME (sym), KSYM_TRAP) == 0) - frametype = tf_trap; - else - if (strncmp (SYMBOL_NAME (sym), KSYM_INTR, - strlen (KSYM_INTR)) == 0 || strncmp (SYMBOL_NAME(sym), - KSYM_FASTINTR, strlen (KSYM_FASTINTR)) == 0) - frametype = tf_interrupt; - else - if (strcmp (SYMBOL_NAME (sym), KSYM_SYSCALL) == 0 || - strcmp (SYMBOL_NAME (sym), KSYM_OLDSYSCALL) == 0) - frametype = tf_syscall; - } - - switch (frametype) - { - default: - case tf_normal: - return (this_saved_pc); -#define oEIP offsetof (struct trapframe, tf_eip) - - case tf_trap: - return (read_memory_integer (fr->frame + 8 + oEIP, 4)); - - case tf_interrupt: - return (read_memory_integer (fr->frame + 12 + oEIP, 4)); - - case tf_syscall: - return (read_memory_integer (fr->frame + 8 + oEIP, 4)); -#undef oEIP - } -} - -static void -fetch_kcore_registers (struct pcb *pcb) -{ - int i; - int noreg; - - /* Get the register values out of the sys pcb and store them where - `read_register' will find them. */ - /* - * XXX many registers aren't available. - * XXX for the non-core case, the registers are stale - they are for - * the last context switch to the debugger. - * XXX gcc's register numbers aren't all #defined in tm-i386.h. - */ - noreg = 0; - for (i = 0; i < 3; ++i) /* eax,ecx,edx */ - supply_register (i, (char *)&noreg); - - supply_register (3, (char *) &pcb->pcb_ebx); - supply_register (SP_REGNUM, (char *) &pcb->pcb_esp); - supply_register (FP_REGNUM, (char *) &pcb->pcb_ebp); - supply_register (6, (char *) &pcb->pcb_esi); - supply_register (7, (char *) &pcb->pcb_edi); - supply_register (PC_REGNUM, (char *) &pcb->pcb_eip); - - for (i = 9; i < 14; ++i) /* eflags, cs, ss, ds, es, fs */ - supply_register (i, (char *) &noreg); - supply_register (15, (char *) &pcb->pcb_gs); - - /* XXX 80387 registers? */ -} - -#endif /* __i386__ */ - -#ifdef __sparc64__ - -#define SPARC_INTREG_SIZE 8 - -static void -fetch_kcore_registers (struct pcb *pcbp) -{ - static struct frame top; - CORE_ADDR f_addr; - int i; - - /* Get the register values out of the sys pcb and store them where - `read_register' will find them. */ - /* - * XXX many registers aren't available. - * XXX for the non-core case, the registers are stale - they are for - * the last context switch to the debugger. - * XXX do something with the floating-point registers? - */ - supply_register (SP_REGNUM, &pcbp->pcb_sp); - supply_register (PC_REGNUM, &pcbp->pcb_pc); - f_addr = extract_address (&pcbp->pcb_sp, SPARC_INTREG_SIZE); - /* Load the previous frame by hand (XXX) and supply it. */ - read_memory (f_addr + SPOFF, (char *)&top, sizeof (top)); - for (i = 0; i < 8; i++) - supply_register (i + L0_REGNUM, &top.fr_local[i]); - for (i = 0; i < 8; i++) - supply_register (i + I0_REGNUM, &top.fr_in[i]); -} - -CORE_ADDR -fbsd_kern_frame_saved_pc (struct frame_info *fi) -{ - struct minimal_symbol *sym; - CORE_ADDR frame, pc_addr, pc; - char *buf; - - buf = alloca (MAX_REGISTER_RAW_SIZE); - /* XXX: duplicates fi->extra_info->bottom. */ - frame = (fi->next != NULL) ? fi->next->frame : read_sp (); - pc_addr = frame + offsetof (struct frame, fr_in[7]); - -#define READ_PC(pc, a, b) do { \ - read_memory (a, b, SPARC_INTREG_SIZE); \ - pc = extract_address (b, SPARC_INTREG_SIZE); \ -} while (0) - - READ_PC (pc, pc_addr, buf); - - sym = lookup_minimal_symbol_by_pc (pc); - if (sym != NULL) - { - if (strncmp (SYMBOL_NAME (sym), "tl0_", 4) == 0 || - strcmp (SYMBOL_NAME (sym), "btext") == 0 || - strcmp (SYMBOL_NAME (sym), "mp_startup") == 0 || - strcmp (SYMBOL_NAME (sym), "fork_trampoline") == 0) - { - /* - * Ugly kluge: user space addresses aren't separated from kernel - * ones by range; if encountering a trap from user space, just - * return a 0 to stop the trace. - * Do the same for entry points of kernel processes to avoid - * printing garbage. - */ - pc = 0; - } - if (strncmp (SYMBOL_NAME (sym), "tl1_", 4) == 0) - { - pc_addr = fi->frame + sizeof (struct frame) + - offsetof (struct trapframe, tf_tpc); - READ_PC (pc, pc_addr, buf); - } - } - return (pc); -} - -#endif /* __sparc64__ */ - -/* Get the registers out of a core file. This is the machine- - independent part. Fetch_core_registers is the machine-dependent - part, typically implemented in the xm-file for each architecture. */ - -/* We just get all the registers, so we don't use regno. */ - -/* ARGSUSED */ -static void -get_kcore_registers (int regno) -{ - - /* XXX - Only read the pcb when set_context() is called. - When looking at a live kernel this may be a problem, - but the user can do another "proc" or "pcb" command to - grab a new copy of the pcb... */ - - /* Zero out register set then fill in the ones we know about. */ - fetch_kcore_registers (&cur_pcb); -} - -static void -kcore_files_info (t) - struct target_ops *t; -{ - printf_filtered ("\t`%s'\n", core_file); -} - -/* If mourn is being called in all the right places, this could be say - `gdb internal error' (since generic_mourn calls breakpoint_init_inferior). */ - -static int -ignore (CORE_ADDR addr, char *contents) -{ - return 0; -} - -static int -xfer_kmem (CORE_ADDR memaddr, char *myaddr, int len, int write, - struct mem_attrib *attrib, struct target_ops *target) -{ - int n; - - - if (!INKERNEL (memaddr)) - return xfer_umem (memaddr, myaddr, len, write); - - if (core_kd == NULL) - return 0; - - if (write) - n = kvm_write (core_kd, memaddr, myaddr, len); - else - n = kvm_read (core_kd, memaddr, myaddr, len) ; - if (n < 0) { - fprintf_unfiltered (gdb_stderr, "can not access 0x%x, %s\n", - memaddr, kvm_geterr (core_kd)); - n = 0; - } - - return n; -} - - -static int -xfer_umem (CORE_ADDR memaddr, char *myaddr, int len, int write /* ignored */) -{ - int n = 0; - - if (cur_proc == 0) - { - error ("---Can't read userspace from dump, or kernel process---\n"); - return 0; - } - - if (write) - error ("kvm_uwrite unimplemented\n"); - else - n = kvm_uread (core_kd, cur_proc, memaddr, myaddr, len) ; - - if (n < 0) - return 0; - - return n; -} - -static void -set_proc_cmd (char *arg, int from_tty) -{ - CORE_ADDR addr, pid_addr, first_td; - void *val; - struct kinfo_proc *kp; - int cnt; - pid_t pid; - - if (!arg) - error_no_arg ("proc address for the new context"); - - if (core_kd == NULL) - error ("no kernel core file"); - - addr = (CORE_ADDR) parse_and_eval_address (arg); - - if (!INKERNEL (addr)) - { - kp = kvm_getprocs (core_kd, KERN_PROC_PID, addr, &cnt); - if (!cnt) - error ("invalid pid"); - addr = (CORE_ADDR)kp->ki_paddr; - cur_proc = kp; - } - else - { - /* Update cur_proc. */ - pid_addr = addr + offsetof (struct proc, p_pid); - if (kvread (pid_addr, &pid)) - error ("cannot read pid ptr"); - cur_proc = kvm_getprocs (core_kd, KERN_PROC_PID, pid, &cnt); - if (!cnt) - error("invalid pid"); - } - - /* Find the first thread in the process. XXXKSE */ - addr += offsetof (struct proc, p_threads.tqh_first); - if (kvread (addr, &first_td)) - error ("cannot read thread ptr"); - - /* Read the PCB address in thread structure. */ - addr = first_td + offsetof (struct thread, td_pcb); - if (kvread (addr, &val)) - error("cannot read pcb ptr"); - - /* Read the PCB address in proc structure. */ - if (set_context ((CORE_ADDR) val)) - error ("invalid proc address"); -} -#else -int kernel_debugging = 0; -int kernel_writablecore = 0; - -CORE_ADDR -fbsd_kern_frame_saved_pc (struct frame_info *fi) -{ - return 0; -} -#endif - -void -_initialize_kcorelow (void) -{ -#if __FreeBSD_version >= 500032 - kcore_ops.to_shortname = "kcore"; - kcore_ops.to_longname = "Kernel core dump file"; - kcore_ops.to_doc = - "Use a core file as a target. Specify the filename of the core file."; - kcore_ops.to_open = kcore_open; - kcore_ops.to_close = kcore_close; - kcore_ops.to_attach = find_default_attach; - kcore_ops.to_detach = kcore_detach; - kcore_ops.to_fetch_registers = get_kcore_registers; - kcore_ops.to_xfer_memory = xfer_kmem; - kcore_ops.to_files_info = kcore_files_info; - kcore_ops.to_create_inferior = find_default_create_inferior; - kcore_ops.to_stratum = kcore_stratum; - kcore_ops.to_has_memory = 1; - kcore_ops.to_has_stack = 1; - kcore_ops.to_has_registers = 1; - kcore_ops.to_magic = OPS_MAGIC; - - add_target (&kcore_ops); - add_com ("proc", class_obscure, set_proc_cmd, "Set current process context"); -#endif -} diff --git a/devel/gdb53/files/patch-gdb_config_alpha_fbsd.mh b/devel/gdb53/files/patch-gdb_config_alpha_fbsd.mh deleted file mode 100644 index 5d5df6b89105..000000000000 --- a/devel/gdb53/files/patch-gdb_config_alpha_fbsd.mh +++ /dev/null @@ -1,10 +0,0 @@ ---- gdb/config/alpha/fbsd.mh Sat Jan 19 17:12:50 2002 -+++ gdb/config/alpha/fbsd.mh Sun Oct 13 12:22:36 2002 -@@ -1,5 +1,6 @@ - # Host: FreeBSD/Alpha - NATDEPFILES= fork-child.o infptrace.o inftarg.o \ - solib.o solib-svr4.o solib-legacy.o \ -- corelow.o core-regset.o alphabsd-nat.o -+ corelow.o core-regset.o alphabsd-nat.o freebsd-uthread.o kvm-fbsd.o - NAT_FILE= nm-fbsd.h -+NAT_CLIBS= -lkvm diff --git a/devel/gdb53/files/patch-gdb_config_alpha_nm-fbsd.h b/devel/gdb53/files/patch-gdb_config_alpha_nm-fbsd.h deleted file mode 100644 index d364e03cd2ec..000000000000 --- a/devel/gdb53/files/patch-gdb_config_alpha_nm-fbsd.h +++ /dev/null @@ -1,11 +0,0 @@ ---- gdb/config/alpha/nm-fbsd.h Tue Mar 6 00:21:21 2001 -+++ gdb/config/alpha/nm-fbsd.h Sun Oct 13 12:23:51 2002 -@@ -22,6 +22,8 @@ - #ifndef NM_FBSD_H - #define NM_FBSD_H - -+#include "config/nm-fbsd.h" -+ - /* Type of the third argument to the `ptrace' system call. */ - #define PTRACE_ARG3_TYPE caddr_t - diff --git a/devel/gdb53/files/patch-gdb_config_i386_fbsd.mh b/devel/gdb53/files/patch-gdb_config_i386_fbsd.mh deleted file mode 100644 index b9645a9b1765..000000000000 --- a/devel/gdb53/files/patch-gdb_config_i386_fbsd.mh +++ /dev/null @@ -1,10 +0,0 @@ ---- gdb/config/i386/fbsd.mh Sat May 11 10:22:27 2002 -+++ gdb/config/i386/fbsd.mh Sun Oct 13 11:50:47 2002 -@@ -4,4 +4,6 @@ - - NAT_FILE= nm-fbsd.h - # NOTE: Do not spread NATDEPFILES over several lines - it hurts BSD make. --NATDEPFILES= fork-child.o infptrace.o inftarg.o solib.o solib-svr4.o solib-legacy.o corelow.o core-aout.o core-regset.o i386-nat.o i386bsd-nat.o i386fbsd-nat.o gcore.o fbsd-proc.o -+NATDEPFILES= fork-child.o infptrace.o inftarg.o solib.o solib-svr4.o solib-legacy.o corelow.o core-aout.o core-regset.o i386-nat.o i386bsd-nat.o i386fbsd-nat.o gcore.o fbsd-proc.o kvm-fbsd.o freebsd-uthread.o -+ -+NAT_CLIBS= -lkvm diff --git a/devel/gdb53/files/patch-gdb_config_i386_nm-fbsd.h b/devel/gdb53/files/patch-gdb_config_i386_nm-fbsd.h deleted file mode 100644 index efd2ce270e6f..000000000000 --- a/devel/gdb53/files/patch-gdb_config_i386_nm-fbsd.h +++ /dev/null @@ -1,10 +0,0 @@ ---- gdb/config/i386/nm-fbsd.h Fri Jun 28 11:44:49 2002 -+++ gdb/config/i386/nm-fbsd.h Sun Oct 13 10:53:27 2002 -@@ -26,6 +26,7 @@ - #define I386_USE_GENERIC_WATCHPOINTS - #endif - -+#include "config/nm-fbsd.h" - #include "i386/nm-i386.h" - - #ifdef HAVE_SYS_PARAM_H diff --git a/devel/gdb53/files/patch-gdb_config_nm-fbsd.h b/devel/gdb53/files/patch-gdb_config_nm-fbsd.h deleted file mode 100644 index 9b6c033446c5..000000000000 --- a/devel/gdb53/files/patch-gdb_config_nm-fbsd.h +++ /dev/null @@ -1,39 +0,0 @@ ---- gdb/config/nm-fbsd.h Fri Jan 3 09:33:00 2003 -+++ gdb/config/nm-fbsd.h Fri Jan 3 09:36:00 2003 -@@ -0,0 +1,36 @@ -+#ifndef CONFIG_NM_FBSD_H -+#define CONFIG_NM_FBSD_H -+ -+#ifdef HAVE_SYS_PARAM_H -+#include <sys/param.h> -+#endif -+ -+extern int kernel_debugging; -+extern int kernel_writablecore; -+ -+CORE_ADDR fbsd_kern_frame_saved_pc(struct frame_info *frame); -+ -+#if __FreeBSD_version >= 500032 -+#define ADDITIONAL_OPTIONS \ -+ {"kernel", no_argument, &kernel_debugging, 1}, \ -+ {"k", no_argument, &kernel_debugging, 1}, \ -+ {"wcore", no_argument, &kernel_writablecore, 1}, \ -+ {"w", no_argument, &kernel_writablecore, 1}, -+ -+#define ADDITIONAL_OPTION_HELP \ -+ "\ -+ --kernel Enable kernel debugging.\n\ -+ --wcore Make core file writable (only works for /dev/mem).\n\ -+ This option only works while debugging a kernel !!\n\ -+" -+ -+#define DEFAULT_PROMPT kernel_debugging?"(kgdb) ":"(gdb) " -+ -+/* misuse START_PROGRESS to test whether we're running as kgdb */ -+/* START_PROGRESS is called at the top of main */ -+#undef START_PROGRESS -+#define START_PROGRESS(STR,N) \ -+ if (!strcmp (STR, "kgdb")) \ -+ kernel_debugging = 1; -+#endif -+#endif /* CONFIG_NM_FBSD_H */ diff --git a/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mh b/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mh deleted file mode 100644 index 1a23ca92d26f..000000000000 --- a/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mh +++ /dev/null @@ -1,13 +0,0 @@ ---- gdb/config/sparc/fbsd.mh.orig Wed Mar 13 03:20:24 2002 -+++ gdb/config/sparc/fbsd.mh Thu Oct 17 05:59:25 2002 -@@ -19,7 +19,7 @@ - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - - # Host: FreeBSD/sparc64 --NATDEPFILES= sparc-nat.o \ -- corelow.o fork-child.o infptrace.o inftarg.o \ -- solib.o solib-svr4.o solib-legacy.o -+NATDEPFILES= fork-child.o infptrace.o inftarg.o sparc64nbsd-nat.o \ -+ solib.o solib-svr4.o solib-legacy.o kvm-fbsd.o - NAT_FILE= nm-fbsd.h -+NAT_CLIBS= -lkvm diff --git a/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mt b/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mt deleted file mode 100644 index 3147c4ef30e2..000000000000 --- a/devel/gdb53/files/patch-gdb_config_sparc_fbsd.mt +++ /dev/null @@ -1,10 +0,0 @@ ---- gdb/config/sparc/fbsd.mt.orig Wed Mar 13 03:20:24 2002 -+++ gdb/config/sparc/fbsd.mt Thu Oct 17 05:59:59 2002 -@@ -19,5 +19,6 @@ - # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - - # Target: FreeBSD/sparc64 --TDEPFILES= sparc-tdep.o solib.o solib-svr4.o solib-legacy.o -+TDEPFILES= sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o corelow.o solib.o \ -+ solib-svr4.o solib-legacy.o - TM_FILE= tm-fbsd.h diff --git a/devel/gdb53/files/patch-gdb_config_sparc_nm-fbsd.h b/devel/gdb53/files/patch-gdb_config_sparc_nm-fbsd.h deleted file mode 100644 index 4ab0b5ada57d..000000000000 --- a/devel/gdb53/files/patch-gdb_config_sparc_nm-fbsd.h +++ /dev/null @@ -1,72 +0,0 @@ ---- gdb/config/sparc/nm-fbsd.h.orig Fri Mar 1 18:35:24 2002 -+++ gdb/config/sparc/nm-fbsd.h Tue Oct 22 16:33:14 2002 -@@ -32,36 +32,45 @@ - #define ATTACH_DETACH - - --/* Shared library support. */ -+#include "regcache.h" -+ -+/* Get generic FreeBSD native definitions. */ -+ -+#include "config/nm-fbsd.h" -+ -+/* Shared library support. */ - - #define SVR4_SHARED_LIBS - - #include "solib.h" /* Support for shared libraries. */ - #include "elf/common.h" /* Additional ELF shared library info. */ - --/* Make things match up with what is expected in sparc-nat.c. */ -+/* Before storing, we need to read all the registers. */ -+ -+#define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES) -+ -+#define REG32_OFFSET_GLOBAL (0) -+#define REG32_OFFSET_OUT (32) -+#define REG32_OFFSET_NPC (96) -+#define REG32_OFFSET_PC (100) -+#define REG32_OFFSET_PSR (104) -+#define REG32_OFFSET_Y (112) -+#define REG32_SIZE (128) -+#define FPREG32_SIZE (136) -+ -+#define REG64_OFFSET_GLOBAL (0) -+#define REG64_OFFSET_OUT (64) -+#define REG64_OFFSET_NPC (192) -+#define REG64_OFFSET_PC (200) -+#define REG64_OFFSET_TSTATE (208) -+#define REG64_OFFSET_Y (224) -+#define REG64_SIZE (256) -+#define FPREG64_SIZE (272) -+ -+#define JB32_OFFSET_PC REG32_OFFSET_PC -+#define JB64_OFFSET_PC REG64_OFFSET_PC - --#define PTRACE_GETREGS PT_GETREGS --#define PTRACE_SETREGS PT_SETREGS --#define PTRACE_GETFPREGS PT_GETFPREGS --#define PTRACE_SETFPREGS PT_SETFPREGS -- --#define GDB_GREGSET_T struct reg --#define GDB_FPREGSET_T struct fpreg -- --#define regs trapframe --#define r_g1 tf_global[1] --#define r_ps tf_tstate --#define r_pc tf_tpc --#define r_npc tf_tnpc --#define r_y tf_y -- --#define FPU_FSR_TYPE unsigned long --#define fp_status fpreg /* our reg.h */ --#define fpu fpreg /* our reg.h */ --#define fpu_regs fr_regs /* one field of fpu_fr on Solaris */ --#define fpu_fr fr_regs /* a union w/in struct fpu on Solaris */ --#define fpu_fsr fr_fsr --#define Fpu_fsr fr_fsr -+#define reg64 reg -+#define fpreg64 fpreg - - #endif /* NM_FBSD_H */ diff --git a/devel/gdb53/files/patch-gdb_config_sparc_tm-fbsd.h b/devel/gdb53/files/patch-gdb_config_sparc_tm-fbsd.h deleted file mode 100644 index 4e15435b3505..000000000000 --- a/devel/gdb53/files/patch-gdb_config_sparc_tm-fbsd.h +++ /dev/null @@ -1,17 +0,0 @@ ---- gdb/config/sparc/tm-fbsd.h.orig Fri Mar 1 18:35:24 2002 -+++ gdb/config/sparc/tm-fbsd.h Thu Oct 17 06:01:10 2002 -@@ -22,13 +22,7 @@ - #define TM_FBSD_H - - #define SVR4_SHARED_LIBS -+#include "sparc/tm-sp64.h" /* sets GDB_MULTI_ARCH */ - #include "solib.h" /* Support for shared libraries. */ --#include "sparc/tm-sp64.h" -- --/* Number of traps that happen between exec'ing the shell to run an -- inferior, and when we finally get to the inferior code. The -- default is right for FreeBSD. */ -- --#undef START_INFERIOR_TRAPS_EXPECTED - - #endif /* TM_FBSD_H */ diff --git a/devel/gdb53/files/patch-gdb_defs.h b/devel/gdb53/files/patch-gdb_defs.h deleted file mode 100644 index be60dcfc7217..000000000000 --- a/devel/gdb53/files/patch-gdb_defs.h +++ /dev/null @@ -1,20 +0,0 @@ ---- gdb/defs.h Thu Aug 1 10:18:32 2002 -+++ gdb/defs.h Sun Oct 13 10:44:10 2002 -@@ -39,8 +39,6 @@ - #include <unistd.h> - #endif - --#include "gdb_locale.h" -- - /* For ``enum target_signal''. */ - #include "gdb/signals.h" - -@@ -57,6 +55,8 @@ - here and in all subsequent file inclusions. */ - - #include "ansidecl.h" -+ -+#include "gdb_locale.h" - - #include <stdarg.h> /* for va_list */ - diff --git a/devel/gdb53/files/patch-gdb_i386-tdep.c b/devel/gdb53/files/patch-gdb_i386-tdep.c deleted file mode 100644 index f91663ccfa40..000000000000 --- a/devel/gdb53/files/patch-gdb_i386-tdep.c +++ /dev/null @@ -1,12 +0,0 @@ ---- gdb/i386-tdep.c Mon Aug 26 11:35:25 2002 -+++ gdb/i386-tdep.c Sun Oct 13 14:15:58 2002 -@@ -534,6 +534,9 @@ - static CORE_ADDR - i386_frame_saved_pc (struct frame_info *frame) - { -+ if (kernel_debugging) -+ return fbsd_kern_frame_saved_pc(frame); -+ - if (PC_IN_CALL_DUMMY (frame->pc, 0, 0)) - return generic_read_register_dummy (frame->pc, frame->frame, - PC_REGNUM); diff --git a/devel/gdb53/files/patch-gdb_i386bsd-nat.c b/devel/gdb53/files/patch-gdb_i386bsd-nat.c deleted file mode 100644 index a28ce60b09e2..000000000000 --- a/devel/gdb53/files/patch-gdb_i386bsd-nat.c +++ /dev/null @@ -1,20 +0,0 @@ ---- gdb/i386bsd-nat.c 2003/01/02 20:22:00 1.1 -+++ gdb/i386bsd-nat.c 2003/01/02 20:22:35 -@@ -306,7 +306,7 @@ - /* For some mysterious reason, some of the reserved bits in the - debug control register get set. Mask these off, otherwise the - ptrace call below will fail. */ -- dbregs.dr7 &= ~(0x0000fc00); -+ DBREG_DRX ((&dbregs), 7) = ~(0x0000fc00); - - DBREG_DRX ((&dbregs), regnum) = value; - -@@ -355,7 +355,7 @@ - return 0; - #endif - -- return dbregs.dr6; -+ return DBREG_DRX ((&dbregs), 6); - } - - #endif /* PT_GETDBREGS */ diff --git a/devel/gdb53/files/patch-gdb_sparc-tdep.c b/devel/gdb53/files/patch-gdb_sparc-tdep.c deleted file mode 100644 index 950276ea2089..000000000000 --- a/devel/gdb53/files/patch-gdb_sparc-tdep.c +++ /dev/null @@ -1,13 +0,0 @@ ---- gdb/sparc-tdep.c.orig Sun Oct 20 18:21:09 2002 -+++ gdb/sparc-tdep.c Sun Oct 20 18:16:53 2002 -@@ -450,6 +450,9 @@ - char *buf; - CORE_ADDR addr; - -+ if (kernel_debugging) -+ return fbsd_kern_frame_saved_pc(frame); -+ - buf = alloca (MAX_REGISTER_RAW_SIZE); - if (frame->signal_handler_caller) - { - diff --git a/devel/gdb53/files/patch-gdb_sparcnbsd-tdep.c b/devel/gdb53/files/patch-gdb_sparcnbsd-tdep.c deleted file mode 100644 index 13ba396dd6b7..000000000000 --- a/devel/gdb53/files/patch-gdb_sparcnbsd-tdep.c +++ /dev/null @@ -1,63 +0,0 @@ -diff -urN gdb/sparcnbsd-tdep.c.orig gdb/sparcnbsd-tdep.c ---- gdb/sparcnbsd-tdep.c.orig Sat Oct 19 17:19:17 2002 -+++ gdb/sparcnbsd-tdep.c Sat Oct 19 17:44:47 2002 -@@ -31,20 +31,6 @@ - - #include "solib-svr4.h" - --#define REG32_OFFSET_PSR (0 * 4) --#define REG32_OFFSET_PC (1 * 4) --#define REG32_OFFSET_NPC (2 * 4) --#define REG32_OFFSET_Y (3 * 4) --#define REG32_OFFSET_GLOBAL (4 * 4) --#define REG32_OFFSET_OUT (12 * 4) -- --#define REG64_OFFSET_TSTATE (0 * 8) --#define REG64_OFFSET_PC (1 * 8) --#define REG64_OFFSET_NPC (2 * 8) --#define REG64_OFFSET_Y (3 * 8) --#define REG64_OFFSET_GLOBAL (4 * 8) --#define REG64_OFFSET_OUT (12 * 8) -- - void - sparcnbsd_supply_reg32 (char *regs, int regno) - { -@@ -375,16 +361,13 @@ - - if (gdbarch_ptr_bit (current_gdbarch) == 32) - { -- reg_size = (20 * 4); -- fpreg_size = (33 * 4); -+ reg_size = REG32_SIZE; -+ fpreg_size = FPREG32_SIZE; - } - else - { -- reg_size = (20 * 8); -- fpreg_size = (64 * 4) -- + 8 /* fsr */ -- + 4 /* gsr */ -- + 4; /* pad */ -+ reg_size = REG64_SIZE; -+ fpreg_size = FPREG64_SIZE; - } - - switch (which) -@@ -442,7 +425,7 @@ - - jb_addr = read_register (O0_REGNUM); - -- if (target_read_memory (jb_addr + 12, buf, sizeof (buf))) -+ if (target_read_memory (jb_addr + JB32_OFFSET_PC, buf, sizeof (buf))) - return 0; - - *pc = extract_address (buf, sizeof (buf)); -@@ -458,7 +441,7 @@ - - jb_addr = read_register (O0_REGNUM); - -- if (target_read_memory (jb_addr + 16, buf, sizeof (buf))) -+ if (target_read_memory (jb_addr + JB64_OFFSET_PC, buf, sizeof (buf))) - return 0; - - *pc = extract_address (buf, sizeof (buf)); diff --git a/devel/gdb53/files/patch-gdb_symfile.c b/devel/gdb53/files/patch-gdb_symfile.c deleted file mode 100644 index 99c75ffe04bf..000000000000 --- a/devel/gdb53/files/patch-gdb_symfile.c +++ /dev/null @@ -1,15 +0,0 @@ ---- gdb/symfile.c Tue Feb 26 17:40:36 2002 -+++ gdb/symfile.c Wed May 29 11:10:17 2002 -@@ -1546,11 +1546,7 @@ - char *val = sect_opts[i].value; - char *sec = sect_opts[i].name; - -- val = sect_opts[i].value; -- if (val[0] == '0' && val[1] == 'x') -- addr = strtoul (val+2, NULL, 16); -- else -- addr = strtoul (val, NULL, 10); -+ addr = parse_and_eval_address(val); - - /* Here we store the section offsets in the order they were - entered on the command line. */ diff --git a/devel/gdb53/files/patch-gdb_target.c b/devel/gdb53/files/patch-gdb_target.c deleted file mode 100644 index 3bd25996c60a..000000000000 --- a/devel/gdb53/files/patch-gdb_target.c +++ /dev/null @@ -1,11 +0,0 @@ ---- gdb/target.c Mon Aug 26 12:18:33 2002 -+++ gdb/target.c Sun Oct 13 10:51:32 2002 -@@ -1429,7 +1429,7 @@ - for (t = target_structs; t < target_structs + target_struct_size; - ++t) - { -- if ((*t)->to_stratum == core_stratum) -+ if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum)) - { - runable = *t; - ++count; diff --git a/devel/gdb53/files/patch-gdb_target.h b/devel/gdb53/files/patch-gdb_target.h deleted file mode 100644 index 147cfe49620f..000000000000 --- a/devel/gdb53/files/patch-gdb_target.h +++ /dev/null @@ -1,10 +0,0 @@ ---- gdb/target.h Sat Feb 9 20:08:42 2002 -+++ gdb/target.h Fri May 24 08:38:31 2002 -@@ -52,6 +52,7 @@ - dummy_stratum, /* The lowest of the low */ - file_stratum, /* Executable files, etc */ - core_stratum, /* Core dump files */ -+ kcore_stratum, /* Kernel core files */ - download_stratum, /* Downloading of remote targets */ - process_stratum, /* Executing processes */ - thread_stratum /* Executing threads */ diff --git a/devel/gdb53/files/patch-gdb_version.in b/devel/gdb53/files/patch-gdb_version.in deleted file mode 100644 index 4496ebfb1f3e..000000000000 --- a/devel/gdb53/files/patch-gdb_version.in +++ /dev/null @@ -1,5 +0,0 @@ ---- gdb/version.in Fri Apr 26 18:04:22 2002 -+++ gdb/version.in Mon Jun 3 08:14:54 2002 -@@ -1 +1 @@ --5.2.90 -+5.3 (FreeBSD) diff --git a/devel/gdb53/pkg-descr b/devel/gdb53/pkg-descr deleted file mode 100644 index be3a1138a100..000000000000 --- a/devel/gdb53/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -GNU GDB 5.3 developmental snapshot. diff --git a/devel/gdb53/pkg-plist b/devel/gdb53/pkg-plist deleted file mode 100644 index 83f42a1b4111..000000000000 --- a/devel/gdb53/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -@comment $FreeBSD$ -bin/gdb53 diff --git a/devel/kdesvn/Makefile b/devel/kdesvn/Makefile deleted file mode 100644 index dcad76c9bd38..000000000000 --- a/devel/kdesvn/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# New ports collection makefile for: kdesvn -# Date created: 08 April 2006 -# Whom: Yuan Jue <yuanjue@yuanjue.net> -# -# $FreeBSD$ - -PORTNAME= kdesvn -PORTVERSION= 1.0.4 -PORTREVISION= 2 -CATEGORIES= devel kde -MASTER_SITES= http://kdesvn.alwins-world.de/downloads/ - -MAINTAINER= yuanjue@FreeBSD.org -COMMENT= KDE frontend for Subversion - -LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion \ - neon:${PORTSDIR}/www/neon28 - -USE_CMAKE= yes -USE_BZIP2= yes -USE_KDELIBS_VER=3 -USE_LDCONFIG= yes -INSTALLS_ICONS= yes -USE_SQLITE= 3 - -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -EXTRA_PATCHES= ${FILESDIR}/nls-patch-CMakeLists.txt -.endif - -BROKEN= fails to build -DEPRECATED= has been broken for 4 months -EXPIRATION_DATE=2010-01-08 - -DOCSDIR= ${PREFIX}/share/doc - -MAN1= kdesvn.1 kdesvnaskpass.1 - -post-extract: - ${MKDIR} ${WRKSRC} -.if defined(NOPORTDOCS) - ${RM} -f ${PATCH_WRKSRC}/doc/CMakeLists.txt - ${ECHO} "ADD_SUBDIRECTORY(man)" > ${PATCH_WRKSRC}/doc/CMakeLists.txt -.endif - -.include <bsd.port.pre.mk> - -.if ${ARCH} == amd64 -BROKEN= Leaves files behind when deinstalled on amd64 -.endif -.if ${ARCH} == sparc64 -BROKEN= Fails to install on sparc64 -.endif - -.include <bsd.port.post.mk> diff --git a/devel/kdesvn/distinfo b/devel/kdesvn/distinfo deleted file mode 100644 index 6827a91e4030..000000000000 --- a/devel/kdesvn/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (kdesvn-1.0.4.tar.bz2) = ee52dc38434ad122eaeebe25c1b8cb21 -SHA256 (kdesvn-1.0.4.tar.bz2) = 74b2ae61ffd41f7335e5ae3884549e9a7ed3ae067986fe98eede93c03265b2f4 -SIZE (kdesvn-1.0.4.tar.bz2) = 1381073 diff --git a/devel/kdesvn/files/nls-patch-CMakeLists.txt b/devel/kdesvn/files/nls-patch-CMakeLists.txt deleted file mode 100644 index 8e17a904f722..000000000000 --- a/devel/kdesvn/files/nls-patch-CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ ---- CMakeLists.txt.orig Tue Oct 30 21:23:29 2007 -+++ CMakeLists.txt Fri Jan 4 20:09:17 2008 -@@ -90,20 +90,4 @@ - - - ADD_SUBDIRECTORY(src) --ADD_SUBDIRECTORY(po) - ADD_SUBDIRECTORY(doc) -- --FILE(GLOB _POFILES po/*.po) --FOREACH(_p ${_POFILES}) -- SET(POFILES "${_p} ${POFILES}") --ENDFOREACH(_p) -- --SET(MESSAGES_DIR ${CMAKE_SOURCE_DIR}/src) --CONFIGURE_FILE( -- "${CMAKE_CURRENT_SOURCE_DIR}/cmakemodules/package_messages.sh.in" -- "${CMAKE_CURRENT_BINARY_DIR}/package_messages.sh" -- IMMEDIATE -- @ONLY) --ADD_CUSTOM_TARGET(package-messages -- "${CMAKE_CURRENT_BINARY_DIR}/package_messages.sh") -- diff --git a/devel/kdesvn/files/patch-doc-man-CMakeLists.txt b/devel/kdesvn/files/patch-doc-man-CMakeLists.txt deleted file mode 100644 index 86ebe7091b2f..000000000000 --- a/devel/kdesvn/files/patch-doc-man-CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ ---- doc/man/CMakeLists.txt.orig Fri Aug 25 05:29:36 2006 -+++ doc/man/CMakeLists.txt Sun Oct 22 10:25:58 2006 -@@ -4,5 +4,5 @@ - - INSTALL(FILES - ${MANFILES} -- DESTINATION share/man/man1) -+ DESTINATION man/man1) - diff --git a/devel/kdesvn/pkg-descr b/devel/kdesvn/pkg-descr deleted file mode 100644 index 7f07a3c2fe91..000000000000 --- a/devel/kdesvn/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -KDESvn is a frontend to the subversion vcs. In difference to most other -tools it uses the subversion C-Api direct via a c++ wrapper made by -Rapid SVN and doesn't parse the output of the subversion client. So it is -a real client itself instead of a frontend to the command line tool. - -WWW: http://www.alwins-world.de/programs/kdesvn/ - -- Yuan Jue -yuanjue@FreeBSD.org diff --git a/devel/kdesvn/pkg-plist b/devel/kdesvn/pkg-plist deleted file mode 100644 index ca8a2a6c772c..000000000000 --- a/devel/kdesvn/pkg-plist +++ /dev/null @@ -1,343 +0,0 @@ -bin/kdesvn -bin/kdesvnaskpass -include/svnqt/annotate_line.hpp -include/svnqt/apr.hpp -include/svnqt/cache/DatabaseException.hpp -include/svnqt/cache/LogCache.hpp -include/svnqt/cache/ReposLog.hpp -include/svnqt/check.hpp -include/svnqt/client.hpp -include/svnqt/commititem.hpp -include/svnqt/conflictdescription.hpp -include/svnqt/conflictresult.hpp -include/svnqt/context.hpp -include/svnqt/context_listener.hpp -include/svnqt/datetime.hpp -include/svnqt/diffoptions.hpp -include/svnqt/dirent.hpp -include/svnqt/entry.hpp -include/svnqt/exception.hpp -include/svnqt/info_entry.hpp -include/svnqt/lock_entry.hpp -include/svnqt/log_entry.hpp -include/svnqt/path.hpp -include/svnqt/pool.hpp -include/svnqt/repository.hpp -include/svnqt/repositorylistener.hpp -include/svnqt/revision.hpp -include/svnqt/shared_pointer.hpp -include/svnqt/smart_pointer.hpp -include/svnqt/status.hpp -include/svnqt/stringarray.hpp -include/svnqt/svnfilestream.hpp -include/svnqt/svnqt_defines.hpp -include/svnqt/svnqttypes.hpp -include/svnqt/svnstream.hpp -include/svnqt/targets.hpp -include/svnqt/url.hpp -include/svnqt/version_check.hpp -include/svnqt/wc.hpp -lib/kde3/kded_kdesvnd.la -lib/kde3/kded_kdesvnd.so -lib/kde3/kio_ksvn.la -lib/kde3/kio_ksvn.so -lib/kde3/libkdesvnpart.la -lib/kde3/libkdesvnpart.so -lib/libsvnqt.so -lib/libsvnqt.so.4 -lib/libsvnqt.so.4.2.2 -share/applications/kde/kdesvn.desktop -share/apps/kconf_update/kdesvn-use-external-update.sh -share/apps/kconf_update/kdesvnpartrc-use-external.upd -share/apps/kdesvn/kdesvnui.rc -share/apps/kdesvnpart/kdesvn_part.rc -share/apps/konqueror/servicemenus/kdesvn_subversion.desktop -share/config.kcfg/kdesvn_part.kcfg -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/common -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/hi128-filesys-kdesvnadded.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/hi128-filesys-kdesvnconflicted.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/hi128-filesys-kdesvndeleted.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/hi128-filesys-kdesvnlocked.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/hi128-filesys-kdesvnmodified.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/hi128-filesys-kdesvnneedlock.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/hi128-filesys-kdesvnupdates.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/index.cache.bz2 -%%PORTDOCS%%%%DOCSDIR%%/HTML/en/kdesvn/index.docbook -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/hi128-filesys-kdesvnadded.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/hi128-filesys-kdesvnconflicted.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/hi128-filesys-kdesvndeleted.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/hi128-filesys-kdesvnlocked.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/hi128-filesys-kdesvnmodified.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/hi128-filesys-kdesvnneedlock.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/hi128-filesys-kdesvnupdates.png -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/index.cache.bz2 -%%PORTDOCS%%%%DOCSDIR%%/HTML/nl/kdesvn/index.docbook -share/icons/hicolor/128x128/actions/kdesvnadd.png -share/icons/hicolor/128x128/actions/kdesvnaddrecursive.png -share/icons/hicolor/128x128/actions/kdesvnblame.png -share/icons/hicolor/128x128/actions/kdesvncat.png -share/icons/hicolor/128x128/actions/kdesvncheckout.png -share/icons/hicolor/128x128/actions/kdesvncheckupdates.png -share/icons/hicolor/128x128/actions/kdesvncleanup.png -share/icons/hicolor/128x128/actions/kdesvncommit.png -share/icons/hicolor/128x128/actions/kdesvncopy.png -share/icons/hicolor/128x128/actions/kdesvndelete.png -share/icons/hicolor/128x128/actions/kdesvndiff.png -share/icons/hicolor/128x128/actions/kdesvnexport.png -share/icons/hicolor/128x128/actions/kdesvninfo.png -share/icons/hicolor/128x128/actions/kdesvnlock.png -share/icons/hicolor/128x128/actions/kdesvnlog.png -share/icons/hicolor/128x128/actions/kdesvnmerge.png -share/icons/hicolor/128x128/actions/kdesvnrelocate.png -share/icons/hicolor/128x128/actions/kdesvnswitch.png -share/icons/hicolor/128x128/actions/kdesvnunlock.png -share/icons/hicolor/128x128/actions/kdesvnupdate.png -share/icons/hicolor/128x128/apps/kdesvn.png -share/icons/hicolor/128x128/filesystems/kdesvnadded.png -share/icons/hicolor/128x128/filesystems/kdesvnconflicted.png -share/icons/hicolor/128x128/filesystems/kdesvndeleted.png -share/icons/hicolor/128x128/filesystems/kdesvnlocked.png -share/icons/hicolor/128x128/filesystems/kdesvnmodified.png -share/icons/hicolor/128x128/filesystems/kdesvnneedlock.png -share/icons/hicolor/128x128/filesystems/kdesvnupdates.png -share/icons/hicolor/16x16/actions/kdesvnadd.png -share/icons/hicolor/16x16/actions/kdesvnaddrecursive.png -share/icons/hicolor/16x16/actions/kdesvnblame.png -share/icons/hicolor/16x16/actions/kdesvncat.png -share/icons/hicolor/16x16/actions/kdesvncheckout.png -share/icons/hicolor/16x16/actions/kdesvncheckupdates.png -share/icons/hicolor/16x16/actions/kdesvncleanup.png -share/icons/hicolor/16x16/actions/kdesvncommit.png -share/icons/hicolor/16x16/actions/kdesvncopy.png -share/icons/hicolor/16x16/actions/kdesvndelete.png -share/icons/hicolor/16x16/actions/kdesvndiff.png -share/icons/hicolor/16x16/actions/kdesvnexport.png -share/icons/hicolor/16x16/actions/kdesvninfo.png -share/icons/hicolor/16x16/actions/kdesvnlock.png -share/icons/hicolor/16x16/actions/kdesvnlog.png -share/icons/hicolor/16x16/actions/kdesvnmerge.png -share/icons/hicolor/16x16/actions/kdesvnrelocate.png -share/icons/hicolor/16x16/actions/kdesvnswitch.png -share/icons/hicolor/16x16/actions/kdesvnunlock.png -share/icons/hicolor/16x16/actions/kdesvnupdate.png -share/icons/hicolor/16x16/apps/kdesvn.png -share/icons/hicolor/16x16/filesystems/kdesvnadded.png -share/icons/hicolor/16x16/filesystems/kdesvnconflicted.png -share/icons/hicolor/16x16/filesystems/kdesvndeleted.png -share/icons/hicolor/16x16/filesystems/kdesvnlocked.png -share/icons/hicolor/16x16/filesystems/kdesvnmodified.png -share/icons/hicolor/16x16/filesystems/kdesvnneedlock.png -share/icons/hicolor/16x16/filesystems/kdesvnupdates.png -share/icons/hicolor/22x22/actions/kdesvnadd.png -share/icons/hicolor/22x22/actions/kdesvnaddrecursive.png -share/icons/hicolor/22x22/actions/kdesvnblame.png -share/icons/hicolor/22x22/actions/kdesvncat.png -share/icons/hicolor/22x22/actions/kdesvncheckout.png -share/icons/hicolor/22x22/actions/kdesvncheckupdates.png -share/icons/hicolor/22x22/actions/kdesvncleanup.png -share/icons/hicolor/22x22/actions/kdesvncommit.png -share/icons/hicolor/22x22/actions/kdesvncopy.png -share/icons/hicolor/22x22/actions/kdesvndelete.png -share/icons/hicolor/22x22/actions/kdesvndiff.png -share/icons/hicolor/22x22/actions/kdesvnexport.png -share/icons/hicolor/22x22/actions/kdesvninfo.png -share/icons/hicolor/22x22/actions/kdesvnlock.png -share/icons/hicolor/22x22/actions/kdesvnlog.png -share/icons/hicolor/22x22/actions/kdesvnmerge.png -share/icons/hicolor/22x22/actions/kdesvnrelocate.png -share/icons/hicolor/22x22/actions/kdesvnswitch.png -share/icons/hicolor/22x22/actions/kdesvnunlock.png -share/icons/hicolor/22x22/actions/kdesvnupdate.png -share/icons/hicolor/22x22/apps/kdesvn.png -share/icons/hicolor/22x22/filesystems/kdesvnadded.png -share/icons/hicolor/22x22/filesystems/kdesvnconflicted.png -share/icons/hicolor/22x22/filesystems/kdesvndeleted.png -share/icons/hicolor/22x22/filesystems/kdesvnlocked.png -share/icons/hicolor/22x22/filesystems/kdesvnmodified.png -share/icons/hicolor/22x22/filesystems/kdesvnneedlock.png -share/icons/hicolor/22x22/filesystems/kdesvnupdates.png -share/icons/hicolor/32x32/actions/kdesvnadd.png -share/icons/hicolor/32x32/actions/kdesvnaddrecursive.png -share/icons/hicolor/32x32/actions/kdesvnblame.png -share/icons/hicolor/32x32/actions/kdesvncat.png -share/icons/hicolor/32x32/actions/kdesvncheckout.png -share/icons/hicolor/32x32/actions/kdesvncheckupdates.png -share/icons/hicolor/32x32/actions/kdesvncleanup.png -share/icons/hicolor/32x32/actions/kdesvncommit.png -share/icons/hicolor/32x32/actions/kdesvncopy.png -share/icons/hicolor/32x32/actions/kdesvndelete.png -share/icons/hicolor/32x32/actions/kdesvndiff.png -share/icons/hicolor/32x32/actions/kdesvnexport.png -share/icons/hicolor/32x32/actions/kdesvninfo.png -share/icons/hicolor/32x32/actions/kdesvnlock.png -share/icons/hicolor/32x32/actions/kdesvnlog.png -share/icons/hicolor/32x32/actions/kdesvnmerge.png -share/icons/hicolor/32x32/actions/kdesvnrelocate.png -share/icons/hicolor/32x32/actions/kdesvnswitch.png -share/icons/hicolor/32x32/actions/kdesvnunlock.png -share/icons/hicolor/32x32/actions/kdesvnupdate.png -share/icons/hicolor/32x32/apps/kdesvn.png -share/icons/hicolor/32x32/filesystems/kdesvnadded.png -share/icons/hicolor/32x32/filesystems/kdesvnconflicted.png -share/icons/hicolor/32x32/filesystems/kdesvndeleted.png -share/icons/hicolor/32x32/filesystems/kdesvnlocked.png -share/icons/hicolor/32x32/filesystems/kdesvnmodified.png -share/icons/hicolor/32x32/filesystems/kdesvnneedlock.png -share/icons/hicolor/32x32/filesystems/kdesvnupdates.png -share/icons/hicolor/48x48/actions/kdesvnadd.png -share/icons/hicolor/48x48/actions/kdesvnaddrecursive.png -share/icons/hicolor/48x48/actions/kdesvnblame.png -share/icons/hicolor/48x48/actions/kdesvncat.png -share/icons/hicolor/48x48/actions/kdesvncheckout.png -share/icons/hicolor/48x48/actions/kdesvncheckupdates.png -share/icons/hicolor/48x48/actions/kdesvncleanup.png -share/icons/hicolor/48x48/actions/kdesvncommit.png -share/icons/hicolor/48x48/actions/kdesvncopy.png -share/icons/hicolor/48x48/actions/kdesvndelete.png -share/icons/hicolor/48x48/actions/kdesvndiff.png -share/icons/hicolor/48x48/actions/kdesvnexport.png -share/icons/hicolor/48x48/actions/kdesvninfo.png -share/icons/hicolor/48x48/actions/kdesvnlock.png -share/icons/hicolor/48x48/actions/kdesvnlog.png -share/icons/hicolor/48x48/actions/kdesvnmerge.png -share/icons/hicolor/48x48/actions/kdesvnrelocate.png -share/icons/hicolor/48x48/actions/kdesvnswitch.png -share/icons/hicolor/48x48/actions/kdesvnunlock.png -share/icons/hicolor/48x48/actions/kdesvnupdate.png -share/icons/hicolor/48x48/apps/kdesvn.png -share/icons/hicolor/48x48/filesystems/kdesvnadded.png -share/icons/hicolor/48x48/filesystems/kdesvnconflicted.png -share/icons/hicolor/48x48/filesystems/kdesvndeleted.png -share/icons/hicolor/48x48/filesystems/kdesvnlocked.png -share/icons/hicolor/48x48/filesystems/kdesvnmodified.png -share/icons/hicolor/48x48/filesystems/kdesvnneedlock.png -share/icons/hicolor/48x48/filesystems/kdesvnupdates.png -share/icons/hicolor/64x64/actions/kdesvnadd.png -share/icons/hicolor/64x64/actions/kdesvnaddrecursive.png -share/icons/hicolor/64x64/actions/kdesvnblame.png -share/icons/hicolor/64x64/actions/kdesvncat.png -share/icons/hicolor/64x64/actions/kdesvncheckout.png -share/icons/hicolor/64x64/actions/kdesvncheckupdates.png -share/icons/hicolor/64x64/actions/kdesvncleanup.png -share/icons/hicolor/64x64/actions/kdesvncommit.png -share/icons/hicolor/64x64/actions/kdesvncopy.png -share/icons/hicolor/64x64/actions/kdesvndelete.png -share/icons/hicolor/64x64/actions/kdesvndiff.png -share/icons/hicolor/64x64/actions/kdesvnexport.png -share/icons/hicolor/64x64/actions/kdesvninfo.png -share/icons/hicolor/64x64/actions/kdesvnlock.png -share/icons/hicolor/64x64/actions/kdesvnlog.png -share/icons/hicolor/64x64/actions/kdesvnmerge.png -share/icons/hicolor/64x64/actions/kdesvnrelocate.png -share/icons/hicolor/64x64/actions/kdesvnswitch.png -share/icons/hicolor/64x64/actions/kdesvnunlock.png -share/icons/hicolor/64x64/actions/kdesvnupdate.png -share/icons/hicolor/64x64/apps/kdesvn.png -share/icons/hicolor/64x64/filesystems/kdesvnadded.png -share/icons/hicolor/64x64/filesystems/kdesvnconflicted.png -share/icons/hicolor/64x64/filesystems/kdesvndeleted.png -share/icons/hicolor/64x64/filesystems/kdesvnlocked.png -share/icons/hicolor/64x64/filesystems/kdesvnmodified.png -share/icons/hicolor/64x64/filesystems/kdesvnneedlock.png -share/icons/hicolor/64x64/filesystems/kdesvnupdates.png -share/icons/hicolor/scalable/actions/kdesvnadd.svgz -share/icons/hicolor/scalable/actions/kdesvnaddrecursive.svgz -share/icons/hicolor/scalable/actions/kdesvnblame.svgz -share/icons/hicolor/scalable/actions/kdesvncat.svgz -share/icons/hicolor/scalable/actions/kdesvncheckout.svgz -share/icons/hicolor/scalable/actions/kdesvncheckupdates.svgz -share/icons/hicolor/scalable/actions/kdesvncleanup.svgz -share/icons/hicolor/scalable/actions/kdesvncommit.svgz -share/icons/hicolor/scalable/actions/kdesvncopy.svgz -share/icons/hicolor/scalable/actions/kdesvndelete.svgz -share/icons/hicolor/scalable/actions/kdesvndiff.svgz -share/icons/hicolor/scalable/actions/kdesvnexport.svgz -share/icons/hicolor/scalable/actions/kdesvninfo.svgz -share/icons/hicolor/scalable/actions/kdesvnlock.svgz -share/icons/hicolor/scalable/actions/kdesvnlog.svgz -share/icons/hicolor/scalable/actions/kdesvnmerge.svgz -share/icons/hicolor/scalable/actions/kdesvnrelocate.svgz -share/icons/hicolor/scalable/actions/kdesvnswitch.svgz -share/icons/hicolor/scalable/actions/kdesvnunlock.svgz -share/icons/hicolor/scalable/actions/kdesvnupdate.svgz -share/icons/hicolor/scalable/apps/kdesvn.svgz -share/icons/hicolor/scalable/filesystems/kdesvnadded.svgz -share/icons/hicolor/scalable/filesystems/kdesvnconflicted.svgz -share/icons/hicolor/scalable/filesystems/kdesvndeleted.svgz -share/icons/hicolor/scalable/filesystems/kdesvnlocked.svgz -share/icons/hicolor/scalable/filesystems/kdesvnmodified.svgz -share/icons/hicolor/scalable/filesystems/kdesvnneedlock.svgz -share/icons/hicolor/scalable/filesystems/kdesvnupdates.svgz -%%NLS%%share/locale/ca/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/cs/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/de/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/es/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/fr/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/gl/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/it/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/ja/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/lt/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/nl/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/pa/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/ru/LC_MESSAGES/kdesvn.mo -%%NLS%%share/locale/sv/LC_MESSAGES/kdesvn.mo -share/services/kded/kdesvnd.desktop -share/services/ksvn+file.protocol -share/services/ksvn+http.protocol -share/services/ksvn+https.protocol -share/services/ksvn+ssh.protocol -share/services/ksvn.protocol -share/services/svn+file.protocol -share/services/svn+http.protocol -share/services/svn+https.protocol -share/services/svn+ssh.protocol -share/services/svn.protocol -@dirrmtry share/services/kded -@dirrmtry share/services -@dirrmtry share/icons/hicolor/scalable/filesystems -@dirrmtry share/icons/hicolor/scalable/apps -@dirrmtry share/icons/hicolor/scalable/actions -@dirrmtry share/icons/hicolor/scalable -@dirrmtry share/icons/hicolor/64x64/filesystems -@dirrmtry share/icons/hicolor/64x64/apps -@dirrmtry share/icons/hicolor/64x64/actions -@dirrmtry share/icons/hicolor/64x64 -@dirrmtry share/icons/hicolor/48x48/filesystems -@dirrmtry share/icons/hicolor/48x48/apps -@dirrmtry share/icons/hicolor/48x48/actions -@dirrmtry share/icons/hicolor/48x48 -@dirrmtry share/icons/hicolor/32x32/filesystems -@dirrmtry share/icons/hicolor/32x32/apps -@dirrmtry share/icons/hicolor/32x32/actions -@dirrmtry share/icons/hicolor/32x32 -@dirrmtry share/icons/hicolor/22x22/filesystems -@dirrmtry share/icons/hicolor/22x22/apps -@dirrmtry share/icons/hicolor/22x22/actions -@dirrmtry share/icons/hicolor/22x22 -@dirrmtry share/icons/hicolor/16x16/filesystems -@dirrmtry share/icons/hicolor/16x16/apps -@dirrmtry share/icons/hicolor/16x16/actions -@dirrmtry share/icons/hicolor/16x16 -@dirrmtry share/icons/hicolor/128x128/filesystems -@dirrmtry share/icons/hicolor/128x128/apps -@dirrmtry share/icons/hicolor/128x128/actions -@dirrmtry share/icons/hicolor/128x128 -@dirrmtry share/icons/hicolor -@dirrmtry share/icons -%%PORTDOCS%%@dirrm %%DOCSDIR%%/HTML/nl/kdesvn -%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/HTML/nl -%%PORTDOCS%%@dirrm %%DOCSDIR%%/HTML/en/kdesvn -%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/HTML/en -%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/HTML -@dirrmtry share/config.kcfg -@dirrmtry share/apps/konqueror/servicemenus -@dirrmtry share/apps/konqueror -@dirrm share/apps/kdesvnpart -@dirrmtry share/apps/kdesvn -@dirrmtry share/apps/kconf_update -@dirrmtry share/apps -@dirrmtry share/applications/kde -@dirrmtry share/applications -@dirrmtry lib/kde3 -@dirrm include/svnqt/cache -@dirrm include/svnqt diff --git a/devel/radrails/Makefile b/devel/radrails/Makefile deleted file mode 100644 index 2a64486081a3..000000000000 --- a/devel/radrails/Makefile +++ /dev/null @@ -1,70 +0,0 @@ -# New ports collection makefile for: radrails -# Date created: 2006-04-13 -# Whom: Alexander Novitsky <alecn2002@yandex.ru> -# -# $FreeBSD$ -# - -PORTNAME= radrails -PORTVERSION= 0.7.2 -CATEGORIES= devel ruby java -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/RadRails%20${PORTVERSION} -DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-gtk - -MAINTAINER= alecn2002@yandex.ru -COMMENT= IDE for Ruby On Rails - -RUN_DEPENDS= ${LOCALBASE}/bin/rails:${PORTSDIR}/www/rubygem-rails - -WRKSRC= ${WRKDIR}/${PORTNAME} - -BROKEN= does not build -DEPRECATED= has been broken for 3 months -EXPIRATION_DATE=2010-01-08 - -NO_BUILD= yes -ONLY_FOR_ARCHS= i386 -USE_LINUX= yes -USE_LINUX_APPS= gtk2 -USE_JAVA= yes -JAVA_VERSION= 1.4+ -JAVA_OS= linux - -ICONDIR= icons -ICON= ${ICONDIR}/radrails.png - -DESKTOP_ENTRIES= \ - "RADRails" \ - "Integrated Developement Environment for Ruby On Rails" \ - "${DATADIR}/${ICON}" \ - "radrails" \ - "Development;IDE;" \ - true - -PLIST_FILES= %%DATADIR%%/${ICON} bin/radrails -PLIST_DIRS= %%DATADIR%%/${ICONDIR} - -pre-install: - (cd ${WRKDIR}; jar -xf ${WRKSRC}/plugins/org.radrails.ide.ui_${PORTVERSION}.jar ${ICON}) - ${CP} ${FILESDIR}/radrails.sh ${WRKDIR}/radrails.sh - ${REINPLACE_CMD} -E -e "s|%%DATADIR%%|${DATADIR}|g; s|%%JAVA%%|${JAVA}|g" ${WRKDIR}/radrails.sh - ${BRANDELF} -t 'Linux' ${WRKSRC}/RadRails - -do-install: - ${MKDIR} ${DATADIR} - ( cd ${WRKSRC} \ - && ${FIND} . -type d -exec ${MKDIR} ${DATADIR}/\{} \; \ - && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DATADIR}/\{} \; ) - ${MKDIR} ${DATADIR}/${ICONDIR} - ${INSTALL_DATA} ${WRKDIR}/${ICON} ${DATADIR}/${ICON} - ${INSTALL_SCRIPT} ${WRKDIR}/radrails.sh ${PREFIX}/bin/radrails - -post-install: - @cd ${WRKSRC} \ - && ${FIND} -s . -type f \ - | ${SED} 's,^\.,${DATADIR:S,^${PREFIX}/,,},' >>${TMPPLIST} \ - && ${FIND} -s -d . -type d \ - | ${SED} 's,^\.,@dirrm ${DATADIR:S,^${PREFIX}/,,},' >>${TMPPLIST} - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/devel/radrails/distinfo b/devel/radrails/distinfo deleted file mode 100644 index 1c01f128b0c0..000000000000 --- a/devel/radrails/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (radrails-0.7.2-linux-gtk.tar.gz) = dcccfd9e47f3141904e4eaa9df6b5655 -SHA256 (radrails-0.7.2-linux-gtk.tar.gz) = 1f8f54fddc8f775e920b0e6840c22d85bcf29bf3dcbd7c3f5f35348ec8a9724c -SIZE (radrails-0.7.2-linux-gtk.tar.gz) = 43925962 diff --git a/devel/radrails/files/radrails.sh b/devel/radrails/files/radrails.sh deleted file mode 100644 index 18348a639eb5..000000000000 --- a/devel/radrails/files/radrails.sh +++ /dev/null @@ -1 +0,0 @@ -%%JAVA%% -verbose -jar %%DATADIR%%/startup.jar -os linux -ws gtk -arch x86 -launcher %%DATADIR%%/RadRails -name RadRails -showsplash 600 -exitdata 120001 -vm %%JAVA%% -vmargs -jar %%DATADIR%%/startup.jar
\ No newline at end of file diff --git a/devel/radrails/pkg-descr b/devel/radrails/pkg-descr deleted file mode 100644 index f58962976964..000000000000 --- a/devel/radrails/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -RadRails is an integrated development environment for the -Ruby on Rails framework. -The goal of this project is to provide Rails developers -with everything they need to develop, manage, -test and deploy their applications. -Features include source control, debugging, WEBrick servers, -generator wizards, syntax highlighting, data tools and much much more. -The RadRails IDE is built on the Eclipse RCP, and includes the -Subclipse plug-in and the RDT plug-ins. -The RadRails tools are also available as Eclipse plug-ins. - -Author: Kyle Shank (kyle at radrails dot org) -Author: Marc Baumbach (marc at radrails dot org) -Author: Matt Kent (matt at radrails dot org) -Author: Andy Gianfagna -WWW: http://www.radrails.org/ diff --git a/devel/radrails/pkg-message b/devel/radrails/pkg-message deleted file mode 100644 index 6488cc04e42d..000000000000 --- a/devel/radrails/pkg-message +++ /dev/null @@ -1,4 +0,0 @@ -If you are using a Linux JDK and linprocfs is mounted on /compat/linux/proc, -RadRails may print the error "Fatal: Stack size too small" and fail to run. - -If this happens please unmount /compat/linux/proc before running RadRails. diff --git a/devel/rubygem-rtags/Makefile b/devel/rubygem-rtags/Makefile deleted file mode 100644 index 92480e84b80c..000000000000 --- a/devel/rubygem-rtags/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# New ports collection makefile for: Ruby replacement for ctags -# Date created: 2006-08-10 -# Whom: Cheng-Lung Sung <clsung@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= rtags -PORTVERSION= 0.97 -CATEGORIES= devel rubygems -MASTER_SITES= RF - -MAINTAINER= clsung@FreeBSD.org -COMMENT= A Ruby replacement for ctags - -USE_RUBY= yes -USE_RUBYGEMS= yes -RUBYGEM_AUTOPLIST= yes -PLIST_FILES= bin/rtags - -BROKEN= does not install -DEPRECATED= has been broken for 5 months -EXPIRATION_DATE=2010-01-08 - -.include <bsd.port.mk> diff --git a/devel/rubygem-rtags/distinfo b/devel/rubygem-rtags/distinfo deleted file mode 100644 index 994487524ce9..000000000000 --- a/devel/rubygem-rtags/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (rubygem/rtags-0.97.gem) = 87ee62d21e740c0a7ec27e3fd658f3f6 -SHA256 (rubygem/rtags-0.97.gem) = 742601e693aaf36387b069f320e19e7b15dedfff17a8af75894c77730bf223d5 -SIZE (rubygem/rtags-0.97.gem) = 28672 diff --git a/devel/rubygem-rtags/pkg-descr b/devel/rubygem-rtags/pkg-descr deleted file mode 100644 index 5465bd09cb69..000000000000 --- a/devel/rubygem-rtags/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -rtags is a Ruby replacement for ctags - allowing for name navigation -in source code using vim, emacs and others. - -WWW: http://rtags.rubyforge.org/ |