Date: Sun, 1 Sep 2002 10:44:52 +0400 From: "Vadim Godunko" <vgodunko@rost.ru> To: <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/42280: New port: florist (Ada-POSIX bindings) Message-ID: <000501c25183$13e42680$0100a8c0@strela.mil.ru>
next in thread | raw e-mail | index | archive | help
>Number: 42280 >Category: ports >Synopsis: New port: florist (Ada-POSIX bindings) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 31 23:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Vadim Godunko <vgodunko@vipmail.ru> >Release: FreeBSD 4.5-RELEASE i386 >Organization: North Caucasian Area Air Traffic Control Center >Environment: System: FreeBSD vh2.strela.mil.ru 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 >Description: New port. >How-To-Repeat: >Fix: --- florist.port.sh begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # florist # florist/Makefile # florist/files # florist/files/patch-aa # florist/files/patch-ab # florist/files/patch-ac # florist/files/Makefile.bsd # florist/distinfo # florist/pkg-plist # florist/pkg-comment # florist/pkg-descr # echo c - florist mkdir -p florist > /dev/null 2>&1 echo x - florist/Makefile sed 's/^X//' >florist/Makefile << 'END-of-florist/Makefile' X# New ports collection makefile for: florist X# Date created: 1 Sep 2002 X# Whom: Vadim Godunko <vgodunko@vipmail.ru> X# X# $FreeBSD$ X# X XPORTNAME= florist XPORTVERSION= 3.14p XCATEGORIES= devel XMASTER_SITES= ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/ XDISTNAME= florist-${PORTVERSION}-src XEXTRACT_SUFX= .tgz X XMAINTANER= vgodunko@vipmail.ru X XBUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat X XUSE_AUTOCONF= YES XUSE_GMAKE= YES XHAS_CONFIGURE= YES X XINSTALLS_SHLIB= YES X XMAKEFILE= "${FILESDIR}/Makefile.bsd" XMAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} LN=${LN} RM=${RM} X Xdo-install: X @${MKDIR} ${PREFIX}/lib/florist X ${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] ${WRKSRC}/floristlib/*.ali ${PREFIX}/lib/florist X ${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a ${PREFIX}/lib X ${INSTALL_DATA} ${WRKSRC}/libflorist-${PORTVERSION}.so.1 ${PREFIX}/lib X ${LN} -sf ${PREFIX}/lib/libflorist-${PORTVERSION}.so.1 ${PREFIX}/lib/libflorist-${PORTVERSION}.so X X.include <bsd.port.mk> END-of-florist/Makefile echo c - florist/files mkdir -p florist/files > /dev/null 2>&1 echo x - florist/files/patch-aa sed 's/^X//' >florist/files/patch-aa << 'END-of-florist/files/patch-aa' X--- configure.in.orig Tue Apr 24 05:20:05 2001 X+++ configure.in Thu Aug 29 12:12:03 2002 X@@ -100,6 +100,10 @@ X echo "Using Configuration for" ${UNAME_SYSTEM} ${UNAME_RELEASE}; X cp ./configs/pconfig.UnixWare ./pconfig.h.in; X ;; X+ FreeBSD) X+ echo "Using Configuration for" ${UNAME_SYSTEM} ${UNAME_RELEASE}; X+ cp ./configs/pconfig.FreeBSD ./pconfig.h.in; X+ ;; X *) X echo "No Configuration for ${UNAME_SYSTEM}. Using default."; X cp ./configs/pconfig.Default ./pconfig.h.in; X@@ -173,7 +177,8 @@ X AC_POSIX_LIB(pthreads, pthread_self,, X AC_POSIX_LIB(cma, pthread_self,, X AC_POSIX_LIB(:libcma.a, pthread_self,, X- AC_POSIX_LIB(thread, pthread_self)))))) X+ AC_POSIX_LIB(thread, pthread_self,, X+ AC_POSIX_LIB(c_r, pthread_self))))))) X fi X X AC_POSIX_LIB(aio, aio_read) END-of-florist/files/patch-aa echo x - florist/files/patch-ab sed 's/^X//' >florist/files/patch-ab << 'END-of-florist/files/patch-ab' X--- c-posix.c.orig Tue Apr 24 05:20:05 2001 X+++ c-posix.c Thu Aug 29 12:38:49 2002 X@@ -2782,7 +2782,11 @@ X #endif X X #ifdef SEM_VALUE_MAX X+#if SEM_VALUE_MAX > INT_MAX X+ gmaxnn("Semaphores_Value",INT_MAX); X+#else X gmaxnn("Semaphores_Value",SEM_VALUE_MAX); X+#endif X #else X #ifdef _POSIX_SEM_VALUE_MAX X gmaxn("Semaphores_Value",_POSIX_SEM_VALUE_MAX); END-of-florist/files/patch-ab echo x - florist/files/patch-ac sed 's/^X//' >florist/files/patch-ac << 'END-of-florist/files/patch-ac' X--- /dev/null Thu Aug 29 19:39:15 2002 X+++ configs/pconfig.FreeBSD Thu Aug 29 12:47:19 2002 X@@ -0,0 +1,6 @@ X+#define _POSIX_C_SOURCE 199506L X+#define _XOPEN_SOURCE X+#define _XOPEN_SOURCE_EXTENDED 1 X+#define _REENTRANT X+ X+#define _P1003_1B_VISIBLE END-of-florist/files/patch-ac echo x - florist/files/Makefile.bsd sed 's/^X//' >florist/files/Makefile.bsd << 'END-of-florist/files/Makefile.bsd' X Xall: X ${GMAKE} GNATMAKEFLAGS1B="-O2 -fPIC" X adagcc -shared -Wl,-soname,libflorist-${PORTVERSION}.so.1 \ X -o libflorist-${PORTVERSION}.so.1 *.o X ${LN} -sf libflorist-${PORTVERSION}.so.1 libflorist-${PORTVERSION}.so X ${RM} -f floristlib/deps* floristlib/gnatprep* END-of-florist/files/Makefile.bsd echo x - florist/distinfo sed 's/^X//' >florist/distinfo << 'END-of-florist/distinfo' XMD5 (florist-3.14p-src.tgz) = e7c273d10b21bb805b31b931459e01d5 END-of-florist/distinfo echo x - florist/pkg-plist sed 's/^X//' >florist/pkg-plist << 'END-of-florist/pkg-plist' Xlib/florist/ada_streams.ads Xlib/florist/ada_streams.ali Xlib/florist/ada_task_identification.ads Xlib/florist/ada_task_identification.ali Xlib/florist/posix-asynchronous_io.adb Xlib/florist/posix-asynchronous_io.ads Xlib/florist/posix-asynchronous_io.ali Xlib/florist/posix-c.adb Xlib/florist/posix-c.ads Xlib/florist/posix-c.ali Xlib/florist/posix-calendar.adb Xlib/florist/posix-calendar.ads Xlib/florist/posix-calendar.ali Xlib/florist/posix-condition_variables.adb Xlib/florist/posix-condition_variables.ads Xlib/florist/posix-condition_variables.ali Xlib/florist/posix-configurable_file_limits.adb Xlib/florist/posix-configurable_file_limits.ads Xlib/florist/posix-configurable_file_limits.ali Xlib/florist/posix-configurable_system_limits.adb Xlib/florist/posix-configurable_system_limits.ads Xlib/florist/posix-configurable_system_limits.ali Xlib/florist/posix-error_codes.ads Xlib/florist/posix-event_management.adb Xlib/florist/posix-event_management.ads Xlib/florist/posix-file_locking.adb Xlib/florist/posix-file_locking.ads Xlib/florist/posix-file_locking.ali Xlib/florist/posix-file_status.adb Xlib/florist/posix-file_status.ads Xlib/florist/posix-file_status.ali Xlib/florist/posix-files.adb Xlib/florist/posix-files.ads Xlib/florist/posix-files.ali Xlib/florist/posix-generic_shared_memory.adb Xlib/florist/posix-generic_shared_memory.ads Xlib/florist/posix-generic_shared_memory.ali Xlib/florist/posix-group_database.adb Xlib/florist/posix-group_database.ads Xlib/florist/posix-group_database.ali Xlib/florist/posix-implementation-ok_signals.ads Xlib/florist/posix-implementation-ok_signals.ali Xlib/florist/posix-implementation.adb Xlib/florist/posix-implementation.ads Xlib/florist/posix-implementation.ali Xlib/florist/posix-io.adb Xlib/florist/posix-io.ads Xlib/florist/posix-io.ali Xlib/florist/posix-limits.ads Xlib/florist/posix-limits.ali Xlib/florist/posix-memory_locking.adb Xlib/florist/posix-memory_locking.ads Xlib/florist/posix-memory_locking.ali Xlib/florist/posix-memory_mapping.adb Xlib/florist/posix-memory_mapping.ads Xlib/florist/posix-memory_mapping.ali Xlib/florist/posix-memory_range_locking.adb Xlib/florist/posix-memory_range_locking.ads Xlib/florist/posix-memory_range_locking.ali Xlib/florist/posix-message_queues.adb Xlib/florist/posix-message_queues.ads Xlib/florist/posix-message_queues.ali Xlib/florist/posix-mutexes.adb Xlib/florist/posix-mutexes.ads Xlib/florist/posix-mutexes.ali Xlib/florist/posix-options.ads Xlib/florist/posix-options.ali Xlib/florist/posix-page_alignment.adb Xlib/florist/posix-page_alignment.ads Xlib/florist/posix-page_alignment.ali Xlib/florist/posix-permissions-implementation.adb Xlib/florist/posix-permissions-implementation.ads Xlib/florist/posix-permissions-implementation.ali Xlib/florist/posix-permissions.adb Xlib/florist/posix-permissions.ads Xlib/florist/posix-permissions.ali Xlib/florist/posix-process_environment.adb Xlib/florist/posix-process_environment.ads Xlib/florist/posix-process_environment.ali Xlib/florist/posix-process_identification.adb Xlib/florist/posix-process_identification.ads Xlib/florist/posix-process_identification.ali Xlib/florist/posix-process_primitives.adb Xlib/florist/posix-process_primitives.ads Xlib/florist/posix-process_primitives.ali Xlib/florist/posix-process_scheduling.adb Xlib/florist/posix-process_scheduling.ads Xlib/florist/posix-process_scheduling.ali Xlib/florist/posix-process_times.adb Xlib/florist/posix-process_times.ads Xlib/florist/posix-process_times.ali Xlib/florist/posix-semaphores.adb Xlib/florist/posix-semaphores.ads Xlib/florist/posix-semaphores.ali Xlib/florist/posix-shared_memory_objects.adb Xlib/florist/posix-shared_memory_objects.ads Xlib/florist/posix-shared_memory_objects.ali Xlib/florist/posix-signals.adb Xlib/florist/posix-signals.ads Xlib/florist/posix-signals.ali Xlib/florist/posix-sockets-internet.adb Xlib/florist/posix-sockets-internet.ads Xlib/florist/posix-sockets-iso.ads Xlib/florist/posix-sockets-local.adb Xlib/florist/posix-sockets-local.ads Xlib/florist/posix-sockets.adb Xlib/florist/posix-sockets.ads Xlib/florist/posix-supplement_to_ada_io.adb Xlib/florist/posix-supplement_to_ada_io.ads Xlib/florist/posix-supplement_to_ada_io.ali Xlib/florist/posix-terminal_functions.adb Xlib/florist/posix-terminal_functions.ads Xlib/florist/posix-terminal_functions.ali Xlib/florist/posix-timers.adb Xlib/florist/posix-timers.ads Xlib/florist/posix-timers.ali Xlib/florist/posix-unsafe_process_primitives.adb Xlib/florist/posix-unsafe_process_primitives.ads Xlib/florist/posix-unsafe_process_primitives.ali Xlib/florist/posix-user_database.adb Xlib/florist/posix-user_database.ads Xlib/florist/posix-user_database.ali Xlib/florist/posix-xti-internet.adb Xlib/florist/posix-xti-internet.ads Xlib/florist/posix-xti-iso.ads Xlib/florist/posix-xti-mosi.ads Xlib/florist/posix-xti.adb Xlib/florist/posix-xti.ads Xlib/florist/posix.adb Xlib/florist/posix.ads Xlib/florist/posix.ali Xlib/florist/posix_asynchronous_io.ads Xlib/florist/posix_asynchronous_io.ali Xlib/florist/posix_c.ads Xlib/florist/posix_calendar.ads Xlib/florist/posix_calendar.ali Xlib/florist/posix_condition_variables.ads Xlib/florist/posix_condition_variables.ali Xlib/florist/posix_configurable_file_limits.ads Xlib/florist/posix_configurable_file_limits.ali Xlib/florist/posix_configurable_system_limits.ads Xlib/florist/posix_configurable_system_limits.ali Xlib/florist/posix_error_codes.ads Xlib/florist/posix_file_locking.ads Xlib/florist/posix_file_locking.ali Xlib/florist/posix_file_status.ads Xlib/florist/posix_file_status.ali Xlib/florist/posix_files.ads Xlib/florist/posix_files.ali Xlib/florist/posix_generic_shared_memory.ads Xlib/florist/posix_generic_shared_memory.ali Xlib/florist/posix_group_database.ads Xlib/florist/posix_group_database.ali Xlib/florist/posix_io.ads Xlib/florist/posix_io.ali Xlib/florist/posix_limits.ads Xlib/florist/posix_limits.ali Xlib/florist/posix_memory_locking.ads Xlib/florist/posix_memory_locking.ali Xlib/florist/posix_memory_mapping.ads Xlib/florist/posix_memory_mapping.ali Xlib/florist/posix_memory_range_locking.ads Xlib/florist/posix_memory_range_locking.ali Xlib/florist/posix_message_queues.ads Xlib/florist/posix_message_queues.ali Xlib/florist/posix_mutexes.ads Xlib/florist/posix_mutexes.ali Xlib/florist/posix_options.ads Xlib/florist/posix_options.ali Xlib/florist/posix_page_alignment.ads Xlib/florist/posix_page_alignment.ali Xlib/florist/posix_permissions.ads Xlib/florist/posix_permissions.ali Xlib/florist/posix_process_environment.ads Xlib/florist/posix_process_environment.ali Xlib/florist/posix_process_identification.ads Xlib/florist/posix_process_identification.ali Xlib/florist/posix_process_primitives.ads Xlib/florist/posix_process_primitives.ali Xlib/florist/posix_process_scheduling.ads Xlib/florist/posix_process_scheduling.ali Xlib/florist/posix_process_times.ads Xlib/florist/posix_process_times.ali Xlib/florist/posix_semaphores.ads Xlib/florist/posix_semaphores.ali Xlib/florist/posix_shared_memory_objects.ads Xlib/florist/posix_shared_memory_objects.ali Xlib/florist/posix_signals.ads Xlib/florist/posix_signals.ali Xlib/florist/posix_supplement_to_ada_io.ads Xlib/florist/posix_supplement_to_ada_io.ali Xlib/florist/posix_terminal_functions.ads Xlib/florist/posix_terminal_functions.ali Xlib/florist/posix_timers.ads Xlib/florist/posix_timers.ali Xlib/florist/posix_unsafe_process_primitives.ads Xlib/florist/posix_unsafe_process_primitives.ali Xlib/florist/posix_user_database.ads Xlib/florist/posix_user_database.ali Xlib/florist/system_storage_elements.ads Xlib/libflorist-3.14p.so Xlib/libflorist-3.14p.so.1 Xlib/libflorist.a X@dirrm lib/florist X@exec /sbin/ldconfig -m %D/lib X@unexec /sbin/ldconfig -R END-of-florist/pkg-plist echo x - florist/pkg-comment sed 's/^X//' >florist/pkg-comment << 'END-of-florist/pkg-comment' XFSU implementation of POSIX.5 END-of-florist/pkg-comment echo x - florist/pkg-descr sed 's/^X//' >florist/pkg-descr << 'END-of-florist/pkg-descr' XFLORIST is a FSU implementation of POSIX.5 X XWWW: http://www.gnat.com/ X X-- XVadim Godunko -- <vgodunko@vipmail.ru> END-of-florist/pkg-descr exit --- florist.port.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c25183$13e42680$0100a8c0>