linux-decnet-commit Mailing List for DECnet for Linux (Page 26)
Brought to you by:
chrissie_c,
ph3-der-loewe
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(20) |
Feb
(27) |
Mar
(25) |
Apr
(12) |
May
(2) |
Jun
(6) |
Jul
(36) |
Aug
(12) |
Sep
(12) |
Oct
(16) |
Nov
(5) |
Dec
(5) |
2003 |
Jan
(8) |
Feb
(9) |
Mar
(25) |
Apr
(18) |
May
(29) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(10) |
Oct
(5) |
Nov
(3) |
Dec
(9) |
2004 |
Jan
(17) |
Feb
|
Mar
(9) |
Apr
|
May
(4) |
Jun
(1) |
Jul
(2) |
Aug
(21) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2005 |
Jan
(5) |
Feb
|
Mar
(13) |
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
(13) |
Oct
(83) |
Nov
(2) |
Dec
|
2006 |
Jan
(21) |
Feb
(1) |
Mar
(32) |
Apr
(31) |
May
(3) |
Jun
(1) |
Jul
|
Aug
(7) |
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(13) |
2007 |
Jan
(1) |
Feb
(7) |
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(20) |
Sep
|
Oct
|
Nov
|
Dec
(7) |
2008 |
Jan
(4) |
Feb
(13) |
Mar
(24) |
Apr
(18) |
May
(10) |
Jun
|
Jul
|
Aug
(40) |
Sep
(72) |
Oct
(61) |
Nov
(9) |
Dec
(2) |
2009 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
(3) |
2010 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
(41) |
Aug
(28) |
Sep
(2) |
Oct
(5) |
Nov
(4) |
Dec
|
2011 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Patrick C. <pa...@us...> - 2005-03-06 14:53:05
|
Update of /cvsroot/linux-decnet/latd/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20921/debian Modified Files: changelog Log Message: Changelog for 1.23 Index: changelog =================================================================== RCS file: /cvsroot/linux-decnet/latd/debian/changelog,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** changelog 20 Aug 2004 13:32:33 -0000 1.18 --- changelog 6 Mar 2005 14:52:54 -0000 1.19 *************** *** 1,2 **** --- 1,12 ---- + latd (1.23) unstable; urgency=low + + * Send correct disconnect packets that don't upset VMS & some DECservers. + * Fix some alignment problems on sparc. + * Fix some double increments that break on some architectures. + * Fix incoming reverse LAT that was broken in 1.22. + * Include example script for using latd as a print server. + + -- Patrick Caulfield <pa...@de...> Sun, 6 Mar 2005 13:43:02 +0000 + latd (1.22) unstable; urgency=low |
From: Patrick C. <pa...@us...> - 2005-03-06 14:06:03
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9088 Modified Files: latcpcircuit.cc Log Message: last change done correctly. Index: latcpcircuit.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/latcpcircuit.cc,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** latcpcircuit.cc 6 Mar 2005 14:03:59 -0000 1.25 --- latcpcircuit.cc 6 Mar 2005 14:05:51 -0000 1.26 *************** *** 322,326 **** int newlim; ! memcpy(&newlim, cmdbuf, sizeof(int)) debuglog(("latcp: Set retransmit limit: %d\n", newlim)); --- 322,326 ---- int newlim; ! memcpy(&newlim, cmdbuf, sizeof(int)); debuglog(("latcp: Set retransmit limit: %d\n", newlim)); *************** *** 336,340 **** int newtimer; ! memcpy(newtimer, cmdbuf, sizeof(int)); debuglog(("latcp: Set keepalive timer: %d\n", newtimer)); --- 336,340 ---- int newtimer; ! memcpy(&newtimer, cmdbuf, sizeof(int)); debuglog(("latcp: Set keepalive timer: %d\n", newtimer)); |
From: Patrick C. <pa...@us...> - 2005-03-06 14:04:12
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8620 Modified Files: latcpcircuit.cc Log Message: Use memcpy() rather than a cast so it doesn't bus error on sparc. Index: latcpcircuit.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/latcpcircuit.cc,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -r1.24 -r1.25 *** latcpcircuit.cc 6 Mar 2005 13:36:36 -0000 1.24 --- latcpcircuit.cc 6 Mar 2005 14:03:59 -0000 1.25 *************** *** 308,312 **** int newtimer; ! newtimer = *(int *)cmdbuf; debuglog(("latcp: Set multicast: %d\n", newtimer)); --- 308,312 ---- int newtimer; ! memcpy(&newtimer, cmdbuf, sizeof(int)); debuglog(("latcp: Set multicast: %d\n", newtimer)); *************** *** 322,326 **** int newlim; ! newlim = *(int *)cmdbuf; debuglog(("latcp: Set retransmit limit: %d\n", newlim)); --- 322,326 ---- int newlim; ! memcpy(&newlim, cmdbuf, sizeof(int)) debuglog(("latcp: Set retransmit limit: %d\n", newlim)); *************** *** 336,340 **** int newtimer; ! newtimer = *(int *)cmdbuf; debuglog(("latcp: Set keepalive timer: %d\n", newtimer)); --- 336,340 ---- int newtimer; ! memcpy(newtimer, cmdbuf, sizeof(int)); debuglog(("latcp: Set keepalive timer: %d\n", newtimer)); |
From: Patrick C. <pa...@us...> - 2005-03-06 13:39:49
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3312 Modified Files: configure.in Log Message: bump version Index: configure.in =================================================================== RCS file: /cvsroot/linux-decnet/latd/configure.in,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** configure.in 20 Aug 2004 13:32:33 -0000 1.13 --- configure.in 6 Mar 2005 13:39:24 -0000 1.14 *************** *** 3,7 **** dnl Checks that we are given a good source directory. AC_INIT(latcp.cc) ! AM_INIT_AUTOMAKE(latd, 1.22) dnl Checks for programs. --- 3,7 ---- dnl Checks that we are given a good source directory. AC_INIT(latcp.cc) ! AM_INIT_AUTOMAKE(latd, 1.23) dnl Checks for programs. |
From: Patrick C. <pa...@us...> - 2005-03-06 13:38:23
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3069 Modified Files: latprint.sh Log Message: Include nodename in VMS command Index: latprint.sh =================================================================== RCS file: /cvsroot/linux-decnet/latd/latprint.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** latprint.sh 5 Mar 2005 11:38:18 -0000 1.1 --- latprint.sh 6 Mar 2005 13:38:13 -0000 1.2 *************** *** 3,7 **** # latprint.sh # ! # This is an example script for using latd as a LAT printer server # # on Linux: --- 3,8 ---- # latprint.sh # ! # This is an example script for using latd as a LAT printer server. ! # Use the commands below substituting the bits in CAPS for your own. # # on Linux: *************** *** 10,14 **** # on VMS: # mcr latcp create port lta999 ! # mcr latcp set port lta999/noqueue/service=PRINTER # init/queue/process=latsym/on=lta999:/start LINUXLAT # --- 11,15 ---- # on VMS: # mcr latcp create port lta999 ! # mcr latcp set port lta999/noqueue/service=PRINTER/node=LINUX # init/queue/process=latsym/on=lta999:/start LINUXLAT # |
From: Patrick C. <pa...@us...> - 2005-03-06 13:38:01
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2942 Modified Files: server.cc Log Message: Don't do two increments in one sequence point, sigh. Index: server.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/server.cc,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -r1.80 -r1.81 *** server.cc 5 Mar 2005 11:24:54 -0000 1.80 --- server.cc 6 Mar 2005 13:37:51 -0000 1.81 *************** *** 1236,1246 **** debuglog(("REVLAT cmd: %d, opcode:%d request_id: %d\n", msg->cmd, msg->opcode, msg->request_id)); ! ptr += buf[ptr++]; // Skip past groups for now. ! ptr += buf[ptr++]; // Skip past groups for now. // Get the remote node name. get_string(buf, &ptr, remnode); get_string(buf, &ptr, remport); ! ptr+= buf[ptr++]; // Skip past greeting... get_string(buf, &ptr, service); get_string(buf, &ptr, portname); --- 1236,1246 ---- debuglog(("REVLAT cmd: %d, opcode:%d request_id: %d\n", msg->cmd, msg->opcode, msg->request_id)); ! ptr += buf[ptr]+1; // Skip past groups for now. ! ptr += buf[ptr]+1; // Skip past groups for now. // Get the remote node name. get_string(buf, &ptr, remnode); get_string(buf, &ptr, remport); ! ptr += buf[ptr]+1; // Skip past greeting... get_string(buf, &ptr, service); get_string(buf, &ptr, portname); |
From: Patrick C. <pa...@us...> - 2005-03-06 13:36:49
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2707 Modified Files: latcp.cc latcpcircuit.cc Log Message: Use memcpy to copy ints rather then casts, as they can bus error on some platforms. Index: latcp.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/latcp.cc,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -r1.42 -r1.43 *** latcp.cc 6 Jan 2004 15:36:58 -0000 1.42 --- latcp.cc 6 Mar 2005 13:36:36 -0000 1.43 *************** *** 669,674 **** add_string((unsigned char*)message, &ptr, (unsigned char*)ident); message[ptr++] = max_connections; ! *(uid_t *)(message+ptr) = target_uid; ptr += sizeof(uid_t); ! *(gid_t *)(message+ptr) = target_gid; ptr += sizeof(gid_t); add_string((unsigned char*)message, &ptr, (unsigned char*)command); --- 669,674 ---- add_string((unsigned char*)message, &ptr, (unsigned char*)ident); message[ptr++] = max_connections; ! memcpy(message+ptr, &target_uid, sizeof(uid_t)); ptr += sizeof(uid_t); ! memcpy(message+ptr, &target_gid, sizeof(uid_t)); ptr += sizeof(gid_t); add_string((unsigned char*)message, &ptr, (unsigned char*)command); Index: latcpcircuit.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/latcpcircuit.cc,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -r1.23 -r1.24 *** latcpcircuit.cc 5 Jan 2004 13:08:59 -0000 1.23 --- latcpcircuit.cc 6 Mar 2005 13:36:36 -0000 1.24 *************** *** 254,259 **** get_string((unsigned char*)cmdbuf, &ptr, ident); max_connections = cmdbuf[ptr++]; ! target_uid = *(uid_t *)(cmdbuf+ptr); ptr += sizeof(uid_t); ! target_gid = *(gid_t *)(cmdbuf+ptr); ptr += sizeof(gid_t); get_string((unsigned char*)cmdbuf, &ptr, command); --- 254,259 ---- get_string((unsigned char*)cmdbuf, &ptr, ident); max_connections = cmdbuf[ptr++]; ! memcpy(&target_uid, cmdbuf+ptr, sizeof(uid_t)); ptr += sizeof(uid_t); ! memcpy(&target_gid, cmdbuf+ptr, sizeof(uid_t)); ptr += sizeof(gid_t); get_string((unsigned char*)cmdbuf, &ptr, command); |
From: Patrick C. <pa...@us...> - 2005-03-05 13:10:10
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14634 Modified Files: rpm.spec Log Message: Copyright:GPL should be License:GPL (sic) Index: rpm.spec =================================================================== RCS file: /cvsroot/linux-decnet/latd/rpm.spec,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** rpm.spec 5 Jan 2004 13:13:47 -0000 1.6 --- rpm.spec 5 Mar 2005 13:09:56 -0000 1.7 *************** *** 4,9 **** Release: 1 Vendor: Patrick Caulfield - Copyright: GPL Group: Networking/Utilities Source: http://download.sourceforge.net/linux-decnet/%%PACKAGENAME%%-%%VERSION%%.tar.gz %description --- 4,9 ---- Release: 1 Vendor: Patrick Caulfield Group: Networking/Utilities + License: GPL Source: http://download.sourceforge.net/linux-decnet/%%PACKAGENAME%%-%%VERSION%%.tar.gz %description |
From: Patrick C. <pa...@us...> - 2005-03-05 11:39:56
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27456 Modified Files: Makefile.am Log Message: Include latprint.sh in the distribution. Index: Makefile.am =================================================================== RCS file: /cvsroot/linux-decnet/latd/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** Makefile.am 23 Jan 2004 09:08:12 -0000 1.10 --- Makefile.am 5 Mar 2005 11:39:44 -0000 1.11 *************** *** 3,7 **** AUTOMAKE_OPTIONS = 1.4 foreign ! AM_CXXFLAGS = -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused INCLUDES = -DLATD_CONF=\"$(sysconfdir)/latd.conf\" -DSBINDIR=\"$(sbindir)\" -DBINDIR=\"$(bindir)\" --- 3,7 ---- AUTOMAKE_OPTIONS = 1.4 foreign ! AM_CXXFLAGS = -fno-rtti -fno-exceptions -Wno-unused INCLUDES = -DLATD_CONF=\"$(sysconfdir)/latd.conf\" -DSBINDIR=\"$(sbindir)\" -DBINDIR=\"$(bindir)\" *************** *** 37,41 **** interfaces-linux.cc interfaces-linux.h \ interfaces-bpf.cc interfaces-bpf.h \ ! mkrpm.sh rpm.spec startlat.sh latd_DEPENDENCIES = @INTERFACE@ --- 37,41 ---- interfaces-linux.cc interfaces-linux.h \ interfaces-bpf.cc interfaces-bpf.h \ ! mkrpm.sh rpm.spec startlat.sh latprint.sh latd_DEPENDENCIES = @INTERFACE@ |
From: Patrick C. <pa...@us...> - 2005-03-05 11:38:28
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27051 Modified Files: README Added Files: latprint.sh Log Message: Include (and mention in the README) the latprint.sh example script. --- NEW FILE: latprint.sh --- #!/bin/sh # # latprint.sh # # This is an example script for using latd as a LAT printer server # # on Linux: # latcp -A -a PRINTER -C '/bin/sh /usr/local/sbin/latprint.sh' -u root # # on VMS: # mcr latcp create port lta999 # mcr latcp set port lta999/noqueue/service=PRINTER # init/queue/process=latsym/on=lta999:/start LINUXLAT # trap "" 1 stty -echo cat > /tmp/latprint$$ lpr -r -oraw /tmp/latprint$$ Index: README =================================================================== RCS file: /cvsroot/linux-decnet/latd/README,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** README 16 Mar 2003 15:52:10 -0000 1.15 --- README 5 Mar 2005 11:38:18 -0000 1.16 *************** *** 47,51 **** tested them, others may also work. ! OpenVMS 7.2 (VAX & Alpha) DEC Unix v4.0d DECserver 200/MC --- 47,51 ---- tested them, others may also work. ! OpenVMS 7.2 & 7.3 (VAX & Alpha) DEC Unix v4.0d DECserver 200/MC *************** *** 84,87 **** --- 84,91 ---- file goes in /etc rather than /usr/etc + PRINTING + -------- + You can use latd and Linux as a printer server. See latprint.sh for + for more information. CREDITS *************** *** 94,101 **** I am also very much indebted to Real Dupeux for sending me a DECserver 200 ! for ! the project, without which it would be much impoverished. I use it a for ! reverse-LAT every day of the week to log in to the consoles of my various ! machines. I would also like to express gratitude to ABB for providing a DECserver 90M and --- 98,102 ---- I am also very much indebted to Real Dupeux for sending me a DECserver 200 ! for the project, without which it would be much impoverished. I would also like to express gratitude to ABB for providing a DECserver 90M and |
From: Patrick C. <pa...@us...> - 2005-03-05 11:26:27
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24363 Modified Files: session.cc Log Message: Don't word-align reconnect ID as it's not needed and breaks things. Index: session.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/session.cc,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -r1.42 -r1.43 *** session.cc 13 Aug 2004 07:56:43 -0000 1.42 --- session.cc 5 Mar 2005 11:26:09 -0000 1.43 *************** *** 1,4 **** /****************************************************************************** ! (c) 2001 Patrick Caulfield pa...@de... This program is free software; you can redistribute it and/or modify --- 1,4 ---- /****************************************************************************** ! (c) 2001,2005 Patrick Caulfield pa...@de... This program is free software; you can redistribute it and/or modify *************** *** 468,472 **** if (request_id) { - if (ptr & 1) ptr++; debuglog(("Sending request id %d, and port %s\n", request_id, ptyname)); buf[ptr++] = 2; // Parameter number --- 468,471 ---- |
From: Patrick C. <pa...@us...> - 2005-03-05 11:25:05
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24069 Modified Files: server.cc Log Message: Don't send localid in the disconnect message as many servers don't like it. Index: server.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/server.cc,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -r1.79 -r1.80 *** server.cc 13 Aug 2004 07:56:43 -0000 1.79 --- server.cc 5 Mar 2005 11:24:54 -0000 1.80 *************** *** 1,4 **** /****************************************************************************** ! (c) 2001-2004 Patrick Caulfield pa...@de... (c) 2003 Dmitri Popov --- 1,4 ---- /****************************************************************************** ! (c) 2001-2005 Patrick Caulfield pa...@de... (c) 2003 Dmitri Popov *************** *** 869,873 **** #ifdef PACKET_LOSS static int c=0; ! if ((++c & PACKET_LOSS) == 0) { debuglog(("NOT SENDING THIS MESSAGE!\n")); return 0; --- 869,873 ---- #ifdef PACKET_LOSS static int c=0; ! if ((++c % PACKET_LOSS) == 0) { debuglog(("NOT SENDING THIS MESSAGE!\n")); return 0; *************** *** 1234,1237 **** --- 1234,1238 ---- // TODO: Check the params in the LAT_Command message... + debuglog(("REVLAT cmd: %d, opcode:%d request_id: %d\n", msg->cmd, msg->opcode, msg->request_id)); ptr += buf[ptr++]; // Skip past groups for now. *************** *** 1495,1501 **** int ptr=sizeof(LAT_Header); header->cmd = LAT_CCMD_DISCON; header->num_slots = 0; ! header->local_connid = msg->remote_connid; header->remote_connid = msg->local_connid; header->sequence_number = msg->sequence_number; --- 1496,1504 ---- int ptr=sizeof(LAT_Header); + memset(buf, 0, sizeof(buf)); + header->cmd = LAT_CCMD_DISCON; header->num_slots = 0; ! header->local_connid = 0; // Servers expect this to be clear header->remote_connid = msg->local_connid; header->sequence_number = msg->sequence_number; |
From: Patrick C. <pa...@us...> - 2005-03-05 11:22:55
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23646 Modified Files: connection.cc Log Message: Send correct disconnect status. Index: connection.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/connection.cc,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -r1.68 -r1.69 *** connection.cc 13 Aug 2004 07:56:43 -0000 1.68 --- connection.cc 5 Mar 2005 11:22:37 -0000 1.69 *************** *** 1,4 **** /****************************************************************************** ! (c) 2000-2004 Patrick Caulfield pa...@de... This program is free software; you can redistribute it and/or modify --- 1,4 ---- /****************************************************************************** ! (c) 2000-2005 Patrick Caulfield pa...@de... This program is free software; you can redistribute it and/or modify *************** *** 927,931 **** msg.sequence_number = ++last_sent_seq; msg.ack_number = last_recv_ack; ! LATServer::Instance()->send_connect_error(3, &msg, interface, macaddr); LATServer::Instance()->delete_connection(num); } --- 927,931 ---- msg.sequence_number = ++last_sent_seq; msg.ack_number = last_recv_ack; ! LATServer::Instance()->send_connect_error(1, &msg, interface, macaddr); LATServer::Instance()->delete_connection(num); } *************** *** 988,992 **** msg.sequence_number = ++last_sent_seq; msg.ack_number = last_recv_ack; ! LATServer::Instance()->send_connect_error(3, &msg, interface, macaddr); LATServer::Instance()->delete_connection(num); } --- 988,992 ---- msg.sequence_number = ++last_sent_seq; msg.ack_number = last_recv_ack; ! LATServer::Instance()->send_connect_error(1, &msg, interface, macaddr); LATServer::Instance()->delete_connection(num); } |
From: Patrick C. <pa...@us...> - 2005-01-28 15:33:36
|
Update of /cvsroot/linux-decnet/dnprogs/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4880/debian Modified Files: changelog Log Message: 2.29 Index: changelog =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/debian/changelog,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** changelog 9 Jul 2004 13:15:58 -0000 1.30 --- changelog 28 Jan 2005 15:32:43 -0000 1.31 *************** *** 1,2 **** --- 1,17 ---- + dnprogs (2.29) unstable; urgency=low + + * Add -p switch to dncopy, sets the protection of a file + uploaded to VMS. + + -- Patrick Caulfield <pa...@de...> Fri, 28 Jan 2005 15:32:03 +0000 + + dnprogs (2.28) unstable; urgency=low + + * Makefile fixups from Maciej W. Rozycki + * FAL now accepts VMS directories with "][" in them, eg those + produced by concatenated logicals. + + -- Patrick Caulfield <pa...@de...> Wed, 15 Dec 2004 10:50:44 +0000 + dnprogs (2.27.1) unstable; urgency=low |
From: Patrick C. <pa...@us...> - 2005-01-28 15:33:17
|
Update of /cvsroot/linux-decnet/dnprogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4880 Modified Files: Makefile.common Log Message: 2.29 Index: Makefile.common =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/Makefile.common,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -r1.28 -r1.29 *** Makefile.common 12 Aug 2004 09:17:32 -0000 1.28 --- Makefile.common 28 Jan 2005 15:32:43 -0000 1.29 *************** *** 58,62 **** MAJOR_VERSION=2 ! MINOR_VERSION=27 VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) --- 58,62 ---- MAJOR_VERSION=2 ! MINOR_VERSION=29 VERSION=$(MAJOR_VERSION).$(MINOR_VERSION) |
From: Patrick C. <pa...@us...> - 2005-01-26 14:20:29
|
Update of /cvsroot/linux-decnet/dnprogs/dncopy In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13230 Modified Files: dncopy.1 dncopy.cc dnetfile.cc dnetfile.h dnetfile_dap.cc file.h Log Message: Add -p option to set VMS protection on newly-created remote files. Index: dncopy.1 =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/dncopy.1,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** dncopy.1 5 Sep 2002 13:12:06 -0000 1.5 --- dncopy.1 26 Jan 2005 14:20:19 -0000 1.6 *************** *** 1,3 **** ! .TH DNCOPY 1 "September 5 2002" "DECnet utilities" .SH NAME --- 1,3 ---- ! .TH DNCOPY 1 "January 26 2005" "DECnet utilities" .SH NAME *************** *** 17,21 **** .br [\-vdiskVh] [\-m mode] [\-a record attributes] [\-r record format] ! [\-b block size] .SH DESCRIPTION .PP --- 17,21 ---- .br [\-vdiskVh] [\-m mode] [\-a record attributes] [\-r record format] ! [\-b block size] [\-p VMS protection] .SH DESCRIPTION .PP *************** *** 142,145 **** --- 142,152 ---- sending DOS files to VMS. Only works when transferring in record mode. .TP + .I "\-p 'protection'" + When sending files to VMS, sets the protection of the newly created remote file. + Without this option, VMS will set the protection to be the default for the remote user. The protection should be in VMS-style format and enclosed in single + quotes to protect it from the shell (see example). + .br + This option is ignored when copying from VMS. + .TP .I \-h \-? Displays help for using the command. *************** *** 198,201 **** --- 205,215 ---- .br + .PP + .br + Copy a file to VMS and set its protection + .br + .PP + dncopy secret.dat marsha:: -p (s:, o:rwed, g:re, w:)' + .br .br .PP Index: dncopy.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/dncopy.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** dncopy.cc 5 Jun 2003 13:12:54 -0000 1.5 --- dncopy.cc 26 Jan 2005 14:20:19 -0000 1.6 *************** *** 38,42 **** int &rfm, int &rat, int &org, int &interactive, int &keep_version, int &user_bufsize, ! int &remove_cr, int &show_stats, int &verbose); // Start here: --- 38,42 ---- int &rfm, int &rat, int &org, int &interactive, int &keep_version, int &user_bufsize, ! int &remove_cr, int &show_stats, int &verbose, char *protection); // Start here: *************** *** 60,63 **** --- 60,64 ---- int show_stats = 0; char opt; + char protection[255]; struct timeval start_tv; unsigned long long bytes_copied = 0; *************** *** 83,87 **** rfm, rat,org, interactive, keep_version, user_bufsize, ! remove_cr, show_stats, verbose); --- 84,88 ---- rfm, rat,org, interactive, keep_version, user_bufsize, ! remove_cr, show_stats, verbose, protection); *************** *** 90,94 **** rfm, rat,org, interactive, keep_version, user_bufsize, ! remove_cr, show_stats, verbose); // Work out the buffer size. The default for block transfers is 512 --- 91,95 ---- rfm, rat,org, interactive, keep_version, user_bufsize, ! remove_cr, show_stats, verbose, protection); // Work out the buffer size. The default for block transfers is 512 *************** *** 223,226 **** --- 224,228 ---- // If the output is a directory so we need to add the // input file's basename to it. + out->set_protection(protection); if (out->isdirectory()) { *************** *** 433,442 **** int &rfm, int &rat, int &org, int &interactive, int &keep_version, int &user_bufsize, ! int &remove_cr, int &show_stats, int &verbose) { int opt; opterr = 0; optind = 0; ! while ((opt=getopt(argc,argv,"?Vvhdr:a:b:kism:")) != EOF) { switch(opt) { --- 435,444 ---- int &rfm, int &rat, int &org, int &interactive, int &keep_version, int &user_bufsize, ! int &remove_cr, int &show_stats, int &verbose, char *protection) { int opt; opterr = 0; optind = 0; ! while ((opt=getopt(argc,argv,"?Vvhdr:a:b:kism:p:")) != EOF) { switch(opt) { *************** *** 507,510 **** --- 509,525 ---- break; + case 'p': + strcpy(protection, optarg); + { + // Validate protection + dap_protect_message prot; + if (prot.set_protection(protection) == -1) + { + fprintf(stderr, "Invalid VMS protection string\n"); + exit(1); + } + } + break; + case 'd': remove_cr++; Index: dnetfile.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/dnetfile.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** dnetfile.cc 5 Sep 2002 08:24:32 -0000 1.4 --- dnetfile.cc 26 Jan 2005 14:20:19 -0000 1.5 *************** *** 62,65 **** --- 62,71 ---- } + void dnetfile::set_protection(char *vmsprot) + { + if (vmsprot[0] != '\0') + protection = vmsprot; + } + int dnetfile::setup_link(unsigned int bufsize, int rfm, int rat, int xfer_mode) { Index: dnetfile.h =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/dnetfile.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** dnetfile.h 5 Sep 2002 08:24:32 -0000 1.2 --- dnetfile.h 26 Jan 2005 14:20:19 -0000 1.3 *************** *** 31,34 **** --- 31,35 ---- virtual bool iswildcard(); virtual int max_buffersize(int biggest); + virtual void set_protection(char *prot); private: *************** *** 68,71 **** --- 69,73 ---- bool ateof; unsigned int prot; + char *protection; /* VMS style protection string from cmdline */ char filname[80]; Index: dnetfile_dap.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/dnetfile_dap.cc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** dnetfile_dap.cc 10 Oct 2002 14:26:46 -0000 1.6 --- dnetfile_dap.cc 26 Jan 2005 14:20:19 -0000 1.7 *************** *** 88,91 **** --- 88,92 ---- { dap_attrib_message att; + att.set_fop_bit(dap_attrib_message::FB$SQO); att.set_org(dap_attrib_message::FB$SEQ); *************** *** 93,96 **** --- 94,98 ---- att.set_mrs(0); att.set_datatype(dap_attrib_message::IMAGE); + att.write(conn); } *************** *** 333,336 **** --- 335,344 ---- all.write(conn); + if (protection) + { + dap_protect_message prot; + prot.set_protection(protection); + prot.write(conn); + } return conn.set_blocked(false); } Index: file.h =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/dncopy/file.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** file.h 26 Apr 2000 08:22:03 -0000 1.1.1.1 --- file.h 26 Jan 2005 14:20:19 -0000 1.2 *************** *** 36,40 **** virtual bool iswildcard() = 0; virtual int max_buffersize(int biggest) = 0; ! // Some constants --- 36,41 ---- virtual bool iswildcard() = 0; virtual int max_buffersize(int biggest) = 0; ! virtual void set_protection(char *vmsprot) {}; ! // Some constants |
From: Patrick C. <pa...@us...> - 2005-01-26 14:07:08
|
Update of /cvsroot/linux-decnet/dnprogs/libdap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9519 Modified Files: protocol.cc protocol.h Log Message: Add set_protection() to dap_protect_message that sets protection using a VMS-format string. Index: protocol.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdap/protocol.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** protocol.cc 4 Nov 2002 11:20:06 -0000 1.10 --- protocol.cc 26 Jan 2005 14:06:59 -0000 1.11 *************** *** 2281,2284 **** --- 2281,2360 ---- } + int dap_protect_message::set_protection(char *prot) + { + // Parse protection string + int i = 0; + int len = strlen(prot); + + if (prot[i] == '(') + i++; + + while (i < len) + { + dap_ex *user = NULL; + int entry; + + switch (prot[i] & 0x5F) + { + case 'S': + user = &protsys; + entry = 1; + break; + case 'O': + user = &protown; + entry = 2; + break; + case 'G': + user = &protgrp; + entry = 3; + break; + case 'W': + user = &protwld; + entry = 4; + break; + default: + return -1; + } + if (prot[++i] != ':') + return -1; + i++; + + int protbyte = 0x1F; + while (i < len && prot[i] != ',' && prot[i] != ')') + { + switch (prot[i] & 0x5F) + { + case 'R': + protbyte &= ~0x1; + break; + case 'W': + protbyte &= ~0x2; + break; + case 'E': + protbyte &= ~0x4; + break; + case 'D': + protbyte &= ~0x8; + break; + default: + return -1; + } + i++; + } + user->set_byte(0, protbyte); + protmenu.set_bit(entry); + + if (prot[i] == ',') + i++; + + while (i < len && prot[i] == ' ') + i++; + + if (prot[i] == ')') + return 0; + } + return 0; + } + //------------------------ dap_summary_message() ------------------------------ Index: protocol.h =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdap/protocol.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** protocol.h 26 Sep 2001 18:54:02 -0000 1.4 --- protocol.h 26 Jan 2005 14:06:59 -0000 1.5 *************** *** 947,950 **** --- 947,951 ---- void set_owner(const char *); // Any old name will do here. void set_protection(mode_t); + int set_protection(char *); char *get_owner(); |
From: Patrick C. <pa...@us...> - 2005-01-11 10:43:57
|
Update of /cvsroot/linux-decnet/dnprogs/libdnet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26033 Modified Files: dnet_addr.3 dnet_eof.3 dnet_getnode.3 Log Message: Fix some minor formatting glitches. Index: dnet_addr.3 =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdnet/dnet_addr.3,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** dnet_addr.3 26 Apr 2000 08:22:03 -0000 1.1.1.1 --- dnet_addr.3 11 Jan 2005 10:43:44 -0000 1.2 *************** *** 38,42 **** if ( (binaddr=dnet_addr("mv3100")) == NULL) { ! printf("No entry in /etc/decnet.conf for mv3100\n"); exit(0); } --- 38,42 ---- if ( (binaddr=dnet_addr("mv3100")) == NULL) { ! printf("No entry in /etc/decnet.conf for mv3100\\n"); exit(0); } Index: dnet_eof.3 =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdnet/dnet_eof.3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** dnet_eof.3 31 Dec 2000 12:16:06 -0000 1.2 --- dnet_eof.3 11 Jan 2005 10:43:44 -0000 1.3 *************** *** 44,48 **** { readnum=read(insock,ibuf,sizeof(ibuf)); ! fprintf(stderr, "%-*s\n", readnum, ibuf); } close(insock); --- 44,48 ---- { readnum=read(insock,ibuf,sizeof(ibuf)); ! fprintf(stderr, "%-*s\\n", readnum, ibuf); } close(insock); Index: dnet_getnode.3 =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/libdnet/dnet_getnode.3,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -r1.1.1.1 -r1.2 *** dnet_getnode.3 26 Apr 2000 08:22:04 -0000 1.1.1.1 --- dnet_getnode.3 11 Jan 2005 10:43:44 -0000 1.2 *************** *** 44,48 **** while(nodename) { ! printf("Found node %s\n", nodename); nodename = dnet_nextnode(nodelist); } --- 44,48 ---- while(nodename) { ! printf("Found node %s\\n", nodename); nodename = dnet_nextnode(nodelist); } |
From: Patrick C. <pa...@us...> - 2004-12-08 14:45:23
|
Update of /cvsroot/linux-decnet/dnprogs/fal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32102 Modified Files: task.cc Log Message: Don't get caught out by concatenated filespecs like dua0:[home.patrick.][test] Index: task.cc =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/fal/task.cc,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** task.cc 11 Oct 2002 16:01:37 -0000 1.14 --- task.cc 8 Dec 2004 14:45:13 -0000 1.15 *************** *** 328,331 **** --- 328,337 ---- char *enddir = strchr(ptr, ']'); + + // Don't get caught out by concatenated filespecs + // like dua0:[home.patrick.][test] + if (enddir && enddir[1] == '[') + enddir=strchr(enddir+1, ']'); + if (*ptr == '[' && enddir) // we have a directory { |
From: Patrick C. <pa...@us...> - 2004-08-20 15:23:19
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22826 Modified Files: mkrpm.sh Log Message: Strip binaries Index: mkrpm.sh =================================================================== RCS file: /cvsroot/linux-decnet/latd/mkrpm.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** mkrpm.sh 5 Jan 2004 13:13:47 -0000 1.4 --- mkrpm.sh 20 Aug 2004 15:22:49 -0000 1.5 *************** *** 21,24 **** --- 21,25 ---- make make DESTDIR=`pwd`/rpmbuild install + strip rpmbuild/usr/sbin/* rpmbuild/usr/bin/* install -d rpmbuild/usr/doc install -d rpmbuild/etc |
From: Patrick C. <pa...@us...> - 2004-08-20 13:32:41
|
Update of /cvsroot/linux-decnet/latd/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2622/debian Modified Files: changelog Log Message: Version 1.22 Index: changelog =================================================================== RCS file: /cvsroot/linux-decnet/latd/debian/changelog,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** changelog 24 Mar 2004 17:32:55 -0000 1.17 --- changelog 20 Aug 2004 13:32:33 -0000 1.18 *************** *** 1,2 **** --- 1,9 ---- + latd (1.22) unstable; urgency=low + + * Fix some silly code errors. + Closes: #261661 + + -- Patrick Caulfield <pa...@de...> Fri, 20 Aug 2004 14:22:40 +0100 + latd (1.21) unstable; urgency=low |
From: Patrick C. <pa...@us...> - 2004-08-20 13:32:41
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2622 Modified Files: configure.in Log Message: Version 1.22 Index: configure.in =================================================================== RCS file: /cvsroot/linux-decnet/latd/configure.in,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** configure.in 26 Mar 2004 14:45:39 -0000 1.12 --- configure.in 20 Aug 2004 13:32:33 -0000 1.13 *************** *** 3,7 **** dnl Checks that we are given a good source directory. AC_INIT(latcp.cc) ! AM_INIT_AUTOMAKE(latd, 1.21) dnl Checks for programs. --- 3,7 ---- dnl Checks that we are given a good source directory. AC_INIT(latcp.cc) ! AM_INIT_AUTOMAKE(latd, 1.22) dnl Checks for programs. |
From: Patrick C. <pa...@us...> - 2004-08-13 07:56:52
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4451 Modified Files: connection.cc localport.cc localportsession.cc server.cc session.cc Log Message: Fix some coding idiocies of mine, spotted by Martin Krautwurst Index: connection.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/connection.cc,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -r1.67 -r1.68 *** connection.cc 31 Jan 2004 16:36:35 -0000 1.67 --- connection.cc 13 Aug 2004 07:56:43 -0000 1.68 *************** *** 481,485 **** if (role == CLIENT) header->cmd |= 2; // To Host - if (num_replies == 0) num_replies = 1; for (int i=0; i < num_replies; i++) { --- 481,484 ---- Index: localport.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/localport.cc,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** localport.cc 23 Jan 2004 09:08:21 -0000 1.13 --- localport.cc 13 Aug 2004 07:56:43 -0000 1.14 *************** *** 151,156 **** } close (master_fd); - master_fd = -1; LATServer::Instance()->remove_fd(master_fd); unlink(devname.c_str()); } --- 151,156 ---- } close (master_fd); LATServer::Instance()->remove_fd(master_fd); + master_fd = -1; unlink(devname.c_str()); } Index: localportsession.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/localportsession.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** localportsession.cc 21 Feb 2003 15:18:54 -0000 1.5 --- localportsession.cc 13 Aug 2004 07:56:43 -0000 1.6 *************** *** 66,71 **** // Invalidate the FD number so it doesn't get closed when // the superclass destructors get called. - master_fd = -1; LATServer::Instance()->remove_fd(master_fd); // Restart PTY so it can accept new connections --- 66,71 ---- // Invalidate the FD number so it doesn't get closed when // the superclass destructors get called. LATServer::Instance()->remove_fd(master_fd); + master_fd = -1; // Restart PTY so it can accept new connections Index: server.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/server.cc,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -r1.78 -r1.79 *** server.cc 18 Jan 2004 13:55:49 -0000 1.78 --- server.cc 13 Aug 2004 07:56:43 -0000 1.79 *************** *** 97,100 **** --- 97,102 ---- { struct utsname uts; + char *trailer; + uname(&uts); if (strchr(uts.nodename, '.')) *************** *** 102,107 **** // This gets rid of the name-Computer bit on Darwin ! if (strchr(uts.nodename, '-')) ! *strchr(uts.nodename, '-') = '\0'; // LAT node names must be <= 16 characters long --- 104,110 ---- // This gets rid of the name-Computer bit on Darwin ! trailer = strstr(uts.nodename, "-Computer"); ! if (trailer) ! *trailer = '\0'; // LAT node names must be <= 16 characters long *************** *** 866,870 **** #ifdef PACKET_LOSS static int c=0; ! if ((++c % PACKET_LOSS) == 0) { debuglog(("NOT SENDING THIS MESSAGE!\n")); return 0; --- 869,873 ---- #ifdef PACKET_LOSS static int c=0; ! if ((++c & PACKET_LOSS) == 0) { debuglog(("NOT SENDING THIS MESSAGE!\n")); return 0; *************** *** 1332,1336 **** get_string(buf, &ptr, ident); ! if ( announce->node_status%1 == 0) { LATServices::Instance()->add_service(std::string((char*)nodename), --- 1335,1339 ---- get_string(buf, &ptr, ident); ! if ( (announce->node_status & 1) == 0) { LATServices::Instance()->add_service(std::string((char*)nodename), *************** *** 1957,1961 **** for (int i=0; i<32; i++) { ! groups[i] ^= bitmap[i]; } return true; --- 1960,1964 ---- for (int i=0; i<32; i++) { ! groups[i] &= ~bitmap[i]; } return true; *************** *** 1975,1979 **** for (int i=0; i<32; i++) { ! user_groups[i] ^= bitmap[i]; } return true; --- 1978,1982 ---- for (int i=0; i<32; i++) { ! user_groups[i] &= ~bitmap[i]; } return true; Index: session.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/session.cc,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -r1.41 -r1.42 *** session.cc 16 Mar 2004 13:13:23 -0000 1.41 --- session.cc 13 Aug 2004 07:56:43 -0000 1.42 *************** *** 468,472 **** if (request_id) { ! if (ptr%1) ptr++; debuglog(("Sending request id %d, and port %s\n", request_id, ptyname)); buf[ptr++] = 2; // Parameter number --- 468,472 ---- if (request_id) { ! if (ptr & 1) ptr++; debuglog(("Sending request id %d, and port %s\n", request_id, ptyname)); buf[ptr++] = 2; // Parameter number |
From: Patrick C. <pa...@us...> - 2004-08-12 09:18:12
|
Update of /cvsroot/linux-decnet/dnprogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31744 Modified Files: Makefile.common Log Message: Makefile fixes from my "makefile mentor" : Maciej W. Rozycki Index: Makefile.common =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/Makefile.common,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -r1.27 -r1.28 *** Makefile.common 30 May 2004 09:30:01 -0000 1.27 --- Makefile.common 12 Aug 2004 09:17:32 -0000 1.28 *************** *** 1,5 **** # Common Makefile elements and configurable bits ############################################################################### ! # Where the binaries and man pages will be installed # prefix=/usr/local --- 1,5 ---- # Common Makefile elements and configurable bits ############################################################################### ! # Where the binaries will be installed # prefix=/usr/local *************** *** 12,15 **** --- 12,19 ---- libprefix=/usr + # Where the man pages will be installed + # + manprefix=/usr/local + # # Where the configuration data will be installed *************** *** 68,71 **** --- 72,76 ---- prefix=$(DESTDIR)/usr libprefix=$(DESTDIR)/usr + manprefix=$(DESTDIR)/usr sysconfprefix=$(DESTDIR) endif *************** *** 112,116 **** CDEFS+=-D_XOPEN_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 INCLUDES=-I../libdap -I../include ! CXXFLAGS+=-pipe -fdollars-in-identifiers -fsigned-char -Wstrict-prototypes -Wall -Wno-unused -Wno-uninitialized $(INCLUDES) -DVERSION=\"$(VERSION)\" $(CDEFS) $(SHADOWDEFS) $(PTSDEFS) $(DFLAGS) CFLAGS +=-pipe -fsigned-char -Wstrict-prototypes -Wall -Wno-unused -Wno-uninitialized $(INCLUDES) -DVERSION=\"$(VERSION)\" $(CDEFS) $(SHADOWDEFS) $(PTSDEFS) $(DFLAGS) --- 117,121 ---- CDEFS+=-D_XOPEN_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 INCLUDES=-I../libdap -I../include ! CXXFLAGS+=-pipe -fdollars-in-identifiers -fsigned-char -Wall -Wno-unused -Wno-uninitialized $(INCLUDES) -DVERSION=\"$(VERSION)\" $(CDEFS) $(SHADOWDEFS) $(PTSDEFS) $(DFLAGS) CFLAGS +=-pipe -fsigned-char -Wstrict-prototypes -Wall -Wno-unused -Wno-uninitialized $(INCLUDES) -DVERSION=\"$(VERSION)\" $(CDEFS) $(SHADOWDEFS) $(PTSDEFS) $(DFLAGS) |
From: Patrick C. <pa...@us...> - 2004-08-12 09:18:12
|
Update of /cvsroot/linux-decnet/dnprogs/apps In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31744/apps Modified Files: Makefile Log Message: Makefile fixes from my "makefile mentor" : Maciej W. Rozycki Index: Makefile =================================================================== RCS file: /cvsroot/linux-decnet/dnprogs/apps/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** Makefile 15 Oct 2003 15:46:53 -0000 1.7 --- Makefile 12 Aug 2004 09:17:32 -0000 1.8 *************** *** 65,71 **** install -d $(prefix)/sbin install -d $(prefix)/bin ! install -d $(prefix)/man/man1 ! install -d $(prefix)/man/man5 ! install -d $(prefix)/man/man8 install -d $(sysconfprefix)/etc install -m 0750 -s $(PROG1) $(prefix)/sbin --- 65,71 ---- install -d $(prefix)/sbin install -d $(prefix)/bin ! install -d $(manprefix)/man/man1 ! install -d $(manprefix)/man/man5 ! install -d $(manprefix)/man/man8 install -d $(sysconfprefix)/etc install -m 0750 -s $(PROG1) $(prefix)/sbin *************** *** 76,82 **** if [ -f $(PROG6) ]; then install -m 0750 -s $(PROG6) $(prefix)/sbin; fi install -m 0755 -s $(PROG7) $(prefix)/sbin ! install -m 0644 $(MANPAGES1) $(prefix)/man/man1 ! install -m 0644 $(MANPAGES5) $(prefix)/man/man5 ! install -m 0644 $(MANPAGES8) $(prefix)/man/man8 if [ ! -f $(sysconfprefix)/etc/decnet.conf ]; then \ install -m 0644 decnet.conf $(sysconfprefix)/etc/decnet.conf.sample; \ --- 76,82 ---- if [ -f $(PROG6) ]; then install -m 0750 -s $(PROG6) $(prefix)/sbin; fi install -m 0755 -s $(PROG7) $(prefix)/sbin ! install -m 0644 $(MANPAGES1) $(manprefix)/man/man1 ! install -m 0644 $(MANPAGES5) $(manprefix)/man/man5 ! install -m 0644 $(MANPAGES8) $(manprefix)/man/man8 if [ ! -f $(sysconfprefix)/etc/decnet.conf ]; then \ install -m 0644 decnet.conf $(sysconfprefix)/etc/decnet.conf.sample; \ |