debian/0000775000000000000000000000000012301064620007162 5ustar debian/libow-2.8-15.modprobe0000664000000000000000000000006211762767441012602 0ustar blacklist ds9490r blacklist ds2490 blacklist wire debian/libowcapi-2.8-15.install0000664000000000000000000000003311762767441013274 0ustar usr/lib/*/libowcapi-*.so.* debian/copyright0000664000000000000000000003112611762767441011145 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: OWFS Maintainer: Paul Alfille Source: http://owfs.org/ Files: * Copyright: © 2003-2010 Paul Alfille License: GPL-2 License: GPL-2 This package 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 package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. Files: module/swig/python/* module/ownet/python/* Copyright: © 2004, 2005 Peter Kropf License: GPL-2 Files: module/owshell/src/c/getaddrinfo.c Copyright: © 1996 Craig Metz License: The Inner Net License, Version 2.00 The author(s) grant permission for redistribution and use in source and binary forms, with or without modification, of the software and documentation provided that the following conditions are met: 0. If you receive a version of the software that is specifically labelled as not being for redistribution (check the version message and/or README), you are not permitted to redistribute that version of the software in any way or form. 1. All terms of the all other applicable copyrights and licenses must be followed. 2. Redistributions of source code must retain the authors' copyright notice(s), this list of conditions, and the following disclaimer. 3. Redistributions in binary form must reproduce the authors' copyright notice(s), this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution. 4. All advertising materials mentioning features or use of this software must display the following acknowledgement with the name(s) of the authors as specified in the copyright notice(s) substituted where indicated: This product includes software developed by , The Inner Net, and other contributors. 5. Neither the name(s) of the author(s) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY ITS AUTHORS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. If these license terms cause you a real problem, contact the author. */ Files: ownet/c/src/c/ow_charblob.c ownet/c/src/include/ow_charblob.h ownet/c/src/include/compat.h ownet/c/src/include/ow_global.h ownet/c/src/include/ow_functions.h ownet/c/src/include/ow_connection.h ownet/c/src/include/ow_localtypes.h ownet/c/src/include/ow_mutexes.h owlib/src/c/ow_memblob.c owlib/src/c/ow_none.c owlib/src/include/ow_memblob.h owlib/src/include/ow_counters.h owlib/src/include/compat.h owlib/src/include/ow_global.h owlib/src/include/ow_busnumber.h owlib/src/include/ow_localreturns.h owlib/src/include/ow_parse_address.h owlib/src/include/ow.h owlib/src/include/ow_connection.h owlib/src/include/ow_localtypes.h owlib/src/include/ow_reset.h owlib/src/include/ow_usb_cycle.h owlib/src/include/ow_bitwork.h owlib/src/include/ow_mutexes.h owlib/src/include/ow_search.h owlib/src/include/ow_stateinfo.h owlib/src/include/ow_detect.h owlib/src/include/ow_bus_routines.h owlib/src/include/ow_transaction.h owlib/src/include/ow_fd.h Copyright: © 2000 Dallas Semiconductor Corporation © Paul Alfille License: GPL-2 or MIT License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DALLAS SEMICONDUCTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of Dallas Semiconductor shall not be used except as stated in the Dallas Semiconductor Branding Policy. Files: module/ownet/c/src/include/ow_dnssd.h Copyright: © 2003-2004, Apple Computer License: other * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of its * contributors may be used to endorse or promote products derived from this * software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ Files: module/ownet/php/examples/ownet_example.php.in module/ownet/php/examples/ownet_example.php module/ownet/php/ownet.php Copyright: © 2006 Spadim Technology / Brazil License: GPL-2 Files: module/owftpd/* Copyright: © Shane Kerr © Paul Alfille © Beau Kuiper © Mauro Tortonesi © Matthew Danish © Eric Jensen © Anders Nordby License: other Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: module/owftpd/install-sh Copyright: © 1991 Massachusetts Institute of Technology License: other Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. Calling this script install-sh is preferred over install.sh, to prevent `make' implicit rules from creating a file called install from it when there is no Makefile. This script is compatible with the BSD install script, but was written from scratch. It can only install one file at a time, a restriction shared with many OS's install programs. Files: module/owhttpd/src/c/owhttpd.c Copyright: © greg olszewski © David A. Bartold © Paul Alfille License: GPL-2 Files: owlib/src/c/ow_w1_parse.c owlib/src/c/ow_w1_select.c owlib/src/c/ow_w1_print.c owlib/src/c/ow_w1_bind.c owlib/src/c/ow_w1_list.c owlib/src/c/ow_w1_scan.c owlib/src/c/ow_w1_dispatch.c owlib/src/c/ow_w1_send.c owlib/src/include/connector.h owlib/src/include/w1_netlink.h Copyright: © 2004 Evgeniy Polyakov © Paul Alfille © 2005 Ben Gardner License: GPL-2 Files: module/owlib/src/include/i2c-dev.h Copyright: © 1995-97 Simon G. Vogl © 1998-99 Frodo Looijaard License: GPL-2 Files: module/owtcl/* Copyright: © Serg Oskin License: LGPL-2 License: LGPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. Files: debian/* Copyright: © 2010 Ilya Pravdivtsev © 2010-2011 Vincent Danjean License: GPL-2 debian/libownet-php.install0000664000000000000000000000002611762767441013205 0ustar usr/share/php/OWNet/* debian/libownet-php.examples0000664000000000000000000000012011762767441013350 0ustar module/ownet/php/examples/bcadd.php module/ownet/php/examples/ownet_example.php debian/libow-2.8-15.symbols0000664000000000000000000004246311762767441012476 0ustar libow-2.8.so.15 libow-2.8-15 #MINVER# * Build-Depends-Package: libowfs-dev (arch=linux-any)#include "libow-symbols.w1" ALLtoBYTE@Base 2.8p4 API_access_end@Base 2.8p4 API_access_start@Base 2.8p4 API_finish@Base 2.8p4 API_init@Base 2.8p4 API_set_error_level@Base 2.8p4 API_set_error_print@Base 2.8p4 API_setup@Base 2.8p4 ARG_Browse@Base 2.8p4 ARG_Device@Base 2.8p4 ARG_ENET@Base 2.8p4 ARG_EtherWeather@Base 2.8p4 ARG_External@Base 2.8p15 ARG_Fake@Base 2.8p4 ARG_Generic@Base 2.8p4 ARG_HA5@Base 2.8p4 ARG_HA7@Base 2.8p4 ARG_HA7E@Base 2.8p4 ARG_I2C@Base 2.8p4 ARG_Link@Base 2.8p4 ARG_Mock@Base 2.8p4 ARG_Net@Base 2.8p4 ARG_Parallel@Base 2.8p4 ARG_Passive@Base 2.8p4 ARG_Serial@Base 2.8p4 ARG_Server@Base 2.8p4 ARG_Tester@Base 2.8p4 ARG_USB@Base 2.8p4 ARG_USB_monitor@Base 2.8p4 ARG_W1_monitor@Base 2.8p4 ARG_Xport@Base 2.8p4 AddProperty@Base 2.8p15 AddSensor@Base 2.8p15 Add_InFlight@Base 2.8p4 Aled_control@Base 2.8p13 AliasMarkerLoc@Base 2.8p4 Alias_Marker@Base 2.8p4 Aliaslist@Base 2.8p7+cvs20110310 AllocIn@Base 2.8p4 AlwaysVisible@Base 2.8p4 AuxDirMarkerLoc@Base 2.8p13 AuxDirectory_Marker@Base 2.8p13 BUS_PowerBit@Base 2.8p7 BUS_PowerByte@Base 2.8p4 BUS_ProgramPulse@Base 2.8p4 BUS_bit_errors@Base 2.8p4 BUS_byte_errors@Base 2.8p4 BUS_close@Base 2.8p4 BUS_compare_bits@Base 2.8p7 BUS_detect@Base 2.8p4 BUS_detect_errors@Base 2.8p4 BUS_echo_errors@Base 2.8p4 BUS_first@Base 2.8p4 BUS_first_alarm@Base 2.8p4 BUS_level_errors@Base 2.8p4 BUS_lock@Base 2.8p4 BUS_lock_in@Base 2.8p4 BUS_next@Base 2.8p4 BUS_next_alarm_errors@Base 2.8p4 BUS_next_both@Base 2.8p4 BUS_next_both_bitbang@Base 2.8p4 BUS_next_cleanup@Base 2.8p13 BUS_next_errors@Base 2.8p4 BUS_readin_bits@Base 2.8p7 BUS_readin_data@Base 2.8p4 BUS_readin_data_errors@Base 2.8p4 BUS_reset@Base 2.8p4 BUS_select@Base 2.8p4 BUS_select_and_sendback@Base 2.8p4 BUS_send_bits@Base 2.8p7 BUS_send_data@Base 2.8p4 BUS_send_data_errors@Base 2.8p4 BUS_send_data_memcmp_errors@Base 2.8p4 BUS_sendback_bits@Base 2.8p4 BUS_sendback_data@Base 2.8p4 BUS_status_errors@Base 2.8p4 BUS_tcsetattr_errors@Base 2.8p4 BUS_transaction@Base 2.8p4 BUS_transaction_nolock@Base 2.8p4 BUS_unlock@Base 2.8p4 BUS_unlock_in@Base 2.8p4 BUS_verify@Base 2.8p4 BYTEtoALL@Base 2.8p4 BadAdapter_detect@Base 2.8p4 Browse_detect@Base 2.8p4 BusIsServer@Base 2.8p4 COMMON_OWQ_readwrite_paged@Base 2.8p4 COMMON_offset_process@Base 2.8p4 COMMON_r_date@Base 2.8p4 COMMON_read_memory_F0@Base 2.8p4 COMMON_read_memory_crc16_A5@Base 2.8p4 COMMON_read_memory_crc16_AA@Base 2.8p4 COMMON_read_memory_plus_counter@Base 2.8p4 COMMON_read_memory_toss_counter@Base 2.8p4 COMMON_readwrite_paged@Base 2.8p4 COMMON_w_date@Base 2.8p4 COMMON_write_eprom_mem_owq@Base 2.8p4 COM_BaudRate@Base 2.8p4 COM_BaudRestrict@Base 2.8p4 COM_MakeBaud@Base 2.8p4 COM_break@Base 2.8p4 COM_change@Base 2.8p7 COM_close@Base 2.8p4 COM_flush@Base 2.8p4 COM_free@Base 2.8p7 COM_open@Base 2.8p4 COM_read@Base 2.8p4 COM_read_with_timeout@Base 2.8p14 COM_set_standard@Base 2.8p13 COM_slurp@Base 2.8p7 COM_test@Base 2.8p7 COM_write@Base 2.8p4 COM_write_simple@Base 2.8p7 CRC16@Base 2.8p4 CRC16_errors@Base 2.8p4 CRC16_tries@Base 2.8p4 CRC16seeded@Base 2.8p4 CRC8@Base 2.8p4 CRC8_errors@Base 2.8p4 CRC8_tries@Base 2.8p4 CRC8compute@Base 2.8p4 CRC8seeded@Base 2.8p4 Cache_Add_Alias@Base 2.8p4 Cache_Add_Alias_Bus@Base 2.8p13 Cache_Add_Device@Base 2.8p4 Cache_Add_Dir@Base 2.8p4 Cache_Add_Simul@Base 2.8p4 Cache_Add_SlaveSpecific@Base 2.8p4 Cache_Clear@Base 2.8p4 Cache_Close@Base 2.8p4 Cache_Del_Alias@Base 2.8p13 Cache_Del_Alias_Bus@Base 2.8p13 Cache_Del_Device@Base 2.8p4 Cache_Del_Dir@Base 2.8p4 Cache_Del_Internal@Base 2.8p4 Cache_Del_Mixed_Aggregate@Base 2.8p4 Cache_Del_Mixed_Individual@Base 2.8p4 Cache_Del_Simul@Base 2.8p4 Cache_Get@Base 2.8p4 Cache_Get_Alias@Base 2.8p4 Cache_Get_Alias_Bus@Base 2.8p13 Cache_Get_Alias_SN@Base 2.8p13 Cache_Get_Device@Base 2.8p4 Cache_Get_Dir@Base 2.8p4 Cache_Get_Simul_Time@Base 2.8p4 Cache_Get_SlaveSpecific@Base 2.8p4 Cache_Open@Base 2.8p4 CharblobAdd@Base 2.8p4 CharblobAddChar@Base 2.8p4 CharblobClear@Base 2.8p4 CharblobData@Base 2.8p4 CharblobInit@Base 2.8p4 CharblobLength@Base 2.8p4 CharblobPure@Base 2.8p4 CheckPresence@Base 2.8p4 ClientAddr@Base 2.8p4 ClientConnect@Base 2.8p4 DIE@Base 2.8p4 DL_close@Base 2.8p4 DL_error@Base 2.8p4 DL_open@Base 2.8p4 DL_sym@Base 2.8p4 DNSServiceBrowse@Base 2.8p4 DNSServiceCreateConnection@Base 2.8p4 DNSServiceEnumerateDomains@Base 2.8p4 DNSServiceProcessResult@Base 2.8p4 DNSServiceReconfirmRecord@Base 2.8p4 DNSServiceRefDeallocate@Base 2.8p4 DNSServiceRefSockFD@Base 2.8p4 DNSServiceRegister@Base 2.8p4 DNSServiceResolve@Base 2.8p4 DS1410_detect@Base 2.8p4 DS2480_detect@Base 2.8p4 DS2480_level_docheck_errors@Base 2.8p4 DS2480_read_fd_isset@Base 2.8p4 DS2480_read_null@Base 2.8p4 DS2480_read_read@Base 2.8p4 DS2482_detect@Base 2.8p4 DS9097_detect@Base 2.8p4 DS9490_ID_this_master@Base 2.8p4 DS9490_close@Base 2.8p4 #MISSING: 2.8p15-1# DS9490_connection_init@Base 2.8p4 DS9490_detect@Base 2.8p4 DS9490_device_name@Base 2.8p4 DS9490_getstatus@Base 2.8p4 DS9490_open@Base 2.8p4 #MISSING: 2.8p15-1# DS9490_open_and_name@Base 2.8p4 DS9490_read@Base 2.8p4 DS9490_root_dir@Base 2.8p4 DS9490_write@Base 2.8p4 Del_InFlight@Base 2.8p4 DevMarkerLoc@Base 2.8p4 DeviceDestroy@Base 2.8p4 DeviceLockGet@Base 2.8p4 DeviceLockRelease@Base 2.8p4 DeviceSimultaneous@Base 2.8p4 DeviceSort@Base 2.8p4 DeviceThermostat@Base 2.8p4 Device_Marker@Base 2.8p4 DirMarkerLoc@Base 2.8p4 DirblobAdd@Base 2.8p4 DirblobClear@Base 2.8p4 DirblobElements@Base 2.8p4 DirblobGet@Base 2.8p4 DirblobInit@Base 2.8p4 DirblobPoison@Base 2.8p4 DirblobPure@Base 2.8p4 DirblobRecreate@Base 2.8p4 DirblobSearch@Base 2.8p4 Directory_Marker@Base 2.8p4 EnterBackground@Base 2.8p4 EtherWeather_detect@Base 2.8p4 External_detect@Base 2.8p15 FS_DirName@Base 2.8p4 FS_FindHA7@Base 2.8p4 FS_ID@Base 2.8p4 FS_LoadDirectoryOnly@Base 2.8p4 FS_ParsedName@Base 2.8p4 FS_ParsedNamePlus@Base 2.8p4 FS_ParsedNamePlusExt@Base 2.8p4 FS_ParsedNamePlusText@Base 2.8p14 FS_ParsedName_BackFromRemote@Base 2.8p4 FS_ParsedName_Placeholder@Base 2.8p4 FS_ParsedName_destroy@Base 2.8p4 FS_Test_Simultaneous@Base 2.8p4 FS_address@Base 2.8p4 FS_code@Base 2.8p4 FS_crc8@Base 2.8p4 FS_del_sibling@Base 2.8p4 FS_devicefind@Base 2.8p4 FS_devicefindhex@Base 2.8p4 FS_devicename@Base 2.8p4 FS_dir@Base 2.8p4 FS_dir_entry_aliased@Base 2.8p7 FS_dir_remote@Base 2.8p4 FS_fstat@Base 2.8p4 FS_fstat_postparse@Base 2.8p4 FS_get@Base 2.8p4 FS_help@Base 2.8p4 FS_locator@Base 2.8p4 FS_poll_convert@Base 2.8p4 FS_present@Base 2.8p4 FS_r_ID@Base 2.8p4 FS_r_address@Base 2.8p4 FS_r_alias@Base 2.8p13 FS_r_bitfield@Base 2.8p13 FS_r_external@Base 2.8p15 FS_r_locator@Base 2.8p4 FS_r_sibling_F@Base 2.8p4 FS_r_sibling_U@Base 2.8p4 FS_r_sibling_Y@Base 2.8p4 FS_r_sibling_binary@Base 2.8p4 FS_read@Base 2.8p4 FS_read_fake@Base 2.8p4 FS_read_local@Base 2.8p4 FS_read_postparse@Base 2.8p4 FS_read_tester@Base 2.8p4 FS_type@Base 2.8p4 FS_visible@Base 2.8p4 FS_w_alias@Base 2.8p13 FS_w_bitfield@Base 2.8p13 FS_w_external@Base 2.8p15 FS_w_sibling_F@Base 2.8p4 FS_w_sibling_U@Base 2.8p4 FS_w_sibling_Y@Base 2.8p4 FS_w_sibling_binary@Base 2.8p4 FS_w_sibling_bitwork@Base 2.8p4 FS_write@Base 2.8p4 FS_write_local@Base 2.8p4 FS_write_postparse@Base 2.8p4 Fake_detect@Base 2.8p4 FileLength@Base 2.8p4 Find_External_Family@Base 2.8p15 Find_External_Property@Base 2.8p15 Find_External_Sensor@Base 2.8p15 FreeClientAddr@Base 2.8p4 FreeInAll@Base 2.8p4 FreeOutAll@Base 2.8p4 Free_Address@Base 2.8p4 FullFileLength@Base 2.8p4 Generic_Read@Base 2.8p4 GetVisibilityCache@Base 2.8p4 Globals@Base 2.8p4 HA5_detect@Base 2.8p4 HA5_detect_parsed@Base 2.8p13 HA7E_detect@Base 2.8p4 HA7_detect@Base 2.8p4 Inbound_Control@Base 2.8p4 Init_Pipe@Base 2.8p13 LINK_detect@Base 2.8p4 LINK_id_tbl@Base 2.8p4 LibClose@Base 2.8p4 LibSetup@Base 2.8p4 LibStart@Base 2.8p4 LibStop@Base 2.8p4 LinkIn@Base 2.8p4 LocalControlFlags@Base 2.8p4 LockSetup@Base 2.8p4 MainDirMarkerLoc@Base 2.8p13 MainDirectory_Marker@Base 2.8p13 MemblobAdd@Base 2.8p4 MemblobAddChar@Base 2.8p4 MemblobClear@Base 2.8p4 MemblobData@Base 2.8p4 MemblobInit@Base 2.8p4 MemblobLength@Base 2.8p4 MemblobPure@Base 2.8p7+cvs20110310 MemblobTrim@Base 2.8p4 Mock_detect@Base 2.8p4 Mutex@Base 2.8p4 NET_accept_errors@Base 2.8p4 NET_connection_errors@Base 2.8p4 NET_read_errors@Base 2.8p4 NeverVisible@Base 2.8p4 NewIn@Base 2.8p4 NewOut@Base 2.8p4 NoDev@Base 2.8p4 OWQ_Cache_Add@Base 2.8p4 OWQ_Cache_Del@Base 2.8p4 OWQ_Cache_Del_ALL@Base 2.8p4 OWQ_Cache_Del_BYTE@Base 2.8p4 OWQ_Cache_Del_parts@Base 2.8p4 OWQ_Cache_Get@Base 2.8p4 OWQ_allocate_read_buffer@Base 2.8p4 OWQ_allocate_write_buffer@Base 2.8p4 OWQ_assign_read_buffer@Base 2.8p4 OWQ_assign_write_buffer@Base 2.8p4 OWQ_create@Base 2.8p4 OWQ_create_aggregate@Base 2.8p4 OWQ_create_from_path@Base 2.8p4 OWQ_create_plus@Base 2.8p4 OWQ_create_separate@Base 2.8p4 OWQ_create_sibling@Base 2.8p4 OWQ_create_temporary@Base 2.8p4 OWQ_destroy@Base 2.8p4 OWQ_format_output_offset_and_size@Base 2.8p4 OWQ_format_output_offset_and_size_z@Base 2.8p4 OWQ_parse_input@Base 2.8p4 OWQ_parse_output@Base 2.8p4 OWServer_Enet_detect@Base 2.8p4 OW_Avahi_Announce@Base 2.8p4 OW_Avahi_Browse@Base 2.8p4 OW_Browse@Base 2.8p4 OW_Free_avahi_library@Base 2.8p4 OW_Free_dnssd_library@Base 2.8p4 OW_Load_avahi_library@Base 2.8p4 OW_Load_dnssd_library@Base 2.8p4 OW_channel_close@Base 2.8p15 OW_channel_init@Base 2.8p15 OW_channel_lock@Base 2.8p15 OW_channel_unlock@Base 2.8p15 OWcalloc@Base 2.8p4 OWfree@Base 2.8p4 OWmalloc@Base 2.8p4 OWrealloc@Base 2.8p4 OWstrdup@Base 2.8p4 OWtreefree@Base 2.8p4 Outbound_Control@Base 2.8p4 PIDstart@Base 2.8p4 PIDstop@Base 2.8p4 Parse_Address@Base 2.8p4 Parse_SerialNumber@Base 2.8p4 Pressure@Base 2.8p4 PressureData@Base 2.8p4 PressureScaleName@Base 2.8p4 ReCheckPresence@Base 2.8p4 ReadAliasFile@Base 2.8p7 RemoteAlias@Base 2.8p4 RemoteDevice@Base 2.8p13 RemoveIn@Base 2.8p4 Resolution10@Base 2.8p4 Resolution11@Base 2.8p4 Resolution12@Base 2.8p4 Resolution9@Base 2.8p4 Return_code_setup@Base 2.8p14 ServerDir@Base 2.8p4 ServerOutSetup@Base 2.8p4 ServerPresence@Base 2.8p4 ServerProcess@Base 2.8p4 ServerRead@Base 2.8p4 ServerWrite@Base 2.8p4 Server_detect@Base 2.8p4 SetKnownBus@Base 2.8p4 SetLocalControlFlags@Base 2.8p13 SetVisibilityCache@Base 2.8p4 SimulMarkerLoc@Base 2.8p4 Simul_Marker@Base 2.8p4 StateInfo@Base 2.8p4 Temperature@Base 2.8p4 TemperatureGap@Base 2.8p4 TemperatureScaleName@Base 2.8p4 TestConnection@Base 2.8p4 Test_and_Add_Alias@Base 2.8p13 Test_and_Close@Base 2.8p4 Test_and_Close_Pipe@Base 2.8p4 Tester_detect@Base 2.8p4 ThermocoupleTemperature@Base 2.8p4 Thermocouple_data@Base 2.8p4 Thermocouple_range_high@Base 2.8p4 Thermocouple_range_low@Base 2.8p4 TrafficIn@Base 2.8p4 TrafficInFD@Base 2.8p4 TrafficOut@Base 2.8p4 TrafficOutFD@Base 2.8p4 Tree@Base 2.8p4 USB_Control_Msg@Base 2.8p4 USB_first@Base 2.8p4 USB_monitor_detect@Base 2.8p4 USB_next@Base 2.8p4 USB_next_until_n@Base 2.8p4 UT_delay@Base 2.8p4 UT_delay_us@Base 2.8p4 UT_fromDate@Base 2.8p4 UT_get2bit@Base 2.8p4 UT_getbit@Base 2.8p4 UT_set2bit@Base 2.8p4 UT_setbit@Base 2.8p4 UT_toDate@Base 2.8p4 UnknownDevice@Base 2.8p4 W1_detect@Base 2.8p4 W1_monitor_detect@Base 2.8p4 ZeroAdd@Base 2.8p4 ZeroConf_Announce@Base 2.8p4 ZeroDel@Base 2.8p4 Zero_detect@Base 2.8p4 _Debug_Bytes@Base 2.8p4 _ds1977_pwd_loc@Base 2.8p4 _print_owq@Base 2.8p4 access_cond@Base 2.8p4 access_mutex@Base 2.8p4 access_num@Base 2.8p4 aliaslist_mb@Base 2.8p7+cvs20110310 all_avg@Base 2.8p4 ampm@Base 2.8p4 avahi_client@Base 2.8p4 avahi_client_errno@Base 2.8p4 avahi_client_free@Base 2.8p4 avahi_client_get_domain_name@Base 2.8p4 avahi_client_new@Base 2.8p4 avahi_common@Base 2.8p4 avahi_entry_group_add_service@Base 2.8p4 avahi_entry_group_commit@Base 2.8p4 avahi_entry_group_is_empty@Base 2.8p4 avahi_entry_group_new@Base 2.8p4 avahi_entry_group_reset@Base 2.8p4 avahi_service_browser_free@Base 2.8p4 avahi_service_browser_new@Base 2.8p4 avahi_service_resolver_free@Base 2.8p4 avahi_service_resolver_new@Base 2.8p4 avahi_simple_poll_free@Base 2.8p4 avahi_simple_poll_get@Base 2.8p4 avahi_simple_poll_loop@Base 2.8p4 avahi_simple_poll_new@Base 2.8p4 avahi_simple_poll_quit@Base 2.8p4 avahi_strerror@Base 2.8p4 badUSBname@Base 2.8p4 bytes2string@Base 2.8p4 cache_adds@Base 2.8p4 cache_dev@Base 2.8p4 cache_dir@Base 2.8p4 cache_ext@Base 2.8p4 cache_flips@Base 2.8p4 cache_int@Base 2.8p4 cache_pst@Base 2.8p7+cvs20110310 cond_destroy_failed@Base 2.8p4 cond_init_failed@Base 2.8p4 cond_signal_failed@Base 2.8p4 cond_timedwait_failed@Base 2.8p4 cond_wait_failed@Base 2.8p4 d_BAE@Base 2.8p4 d_DS1420@Base 2.8p4 d_DS1425@Base 2.8p4 d_DS1821@Base 2.8p4 d_DS1822@Base 2.8p4 d_DS1825@Base 2.8p4 d_DS18B20@Base 2.8p4 d_DS18S20@Base 2.8p4 d_DS1921@Base 2.8p4 d_DS1923@Base 2.8p4 d_DS1954@Base 2.8p4 d_DS1963L@Base 2.8p4 d_DS1963S@Base 2.8p4 d_DS1977@Base 2.8p4 d_DS1982U@Base 2.8p4 d_DS1985U@Base 2.8p4 d_DS1986U@Base 2.8p4 d_DS1991@Base 2.8p4 d_DS1992@Base 2.8p4 d_DS1993@Base 2.8p4 d_DS1995@Base 2.8p4 d_DS1996@Base 2.8p4 d_DS2401@Base 2.8p4 d_DS2404@Base 2.8p4 d_DS2405@Base 2.8p4 d_DS2406@Base 2.8p4 d_DS2408@Base 2.8p4 d_DS2409@Base 2.8p4 d_DS2413@Base 2.8p4 d_DS2415@Base 2.8p4 d_DS2417@Base 2.8p4 d_DS2423@Base 2.8p4 d_DS2430A@Base 2.8p4 d_DS2431@Base 2.8p4 d_DS2433@Base 2.8p4 d_DS2436@Base 2.8p4 d_DS2437@Base 2.8p4 d_DS2438@Base 2.8p4 d_DS2450@Base 2.8p4 d_DS2502@Base 2.8p4 d_DS2505@Base 2.8p4 d_DS2506@Base 2.8p4 d_DS2720@Base 2.8p4 d_DS2740@Base 2.8p4 d_DS2751@Base 2.8p4 d_DS2755@Base 2.8p4 d_DS2760@Base 2.8p4 d_DS2770@Base 2.8p4 d_DS2780@Base 2.8p4 d_DS2781@Base 2.8p4 d_DS2890@Base 2.8p4 d_DS28E04@Base 2.8p4 d_DS28EA00@Base 2.8p4 d_DS28EC20@Base 2.8p4 d_EDS@Base 2.8p4 d_Example_slave@Base 2.8p14 d_HobbyBoards_EE@Base 2.8p4 d_HobbyBoards_EF@Base 2.8p4 d_LCD@Base 2.8p4 d_interface_settings@Base 2.8p4 d_interface_statistics@Base 2.8p4 d_set_alias@Base 2.8p7+cvs20110310 d_set_return_code@Base 2.8p14 d_set_timeout@Base 2.8p7 d_set_units@Base 2.8p4 d_simultaneous@Base 2.8p4 d_stats_cache@Base 2.8p4 d_stats_directory@Base 2.8p4 d_stats_errors@Base 2.8p4 d_stats_read@Base 2.8p4 d_stats_return_code@Base 2.8p14 d_stats_thread@Base 2.8p4 d_stats_write@Base 2.8p4 d_sys_configure@Base 2.8p4 d_sys_connections@Base 2.8p4 d_sys_process@Base 2.8p4 dir_avg@Base 2.8p4 dir_depth@Base 2.8p4 dir_dev@Base 2.8p4 dir_main@Base 2.8p4 ePN_name@Base 2.8p4 err_msg@Base 2.8p4 exit_handler@Base 2.8p13 externaldir_action_struct@Base 2.8p15 family_compare@Base 2.8p15 family_tree@Base 2.8p15 fatal_error@Base 2.8p4 filetype_cmp@Base 2.8p4 find_connection_in@Base 2.8p4 fromPressure@Base 2.8p4 fromTempGap@Base 2.8p4 fromTemperature@Base 2.8p4 get_busmode@Base 2.8p4 global_externalcount_struct@Base 2.8p15 global_namefind_struct@Base 2.8p4 handler_thread_count@Base 2.8p4 handler_thread_mutex@Base 2.8p4 hex_digit@Base 2.8p14 ignore_result@Base 2.8p4 init_mutex@Base 2.8p4 ipSimul@Base 2.8p4 libdnssd@Base 2.8p4 log_available@Base 2.8p4 main_threadid@Base 2.8p13 main_threadid_init@Base 2.8p13 max_delay@Base 2.8p4 mutex_destroy_failed@Base 2.8p4 mutex_init_failed@Base 2.8p4 mutex_lock_failed@Base 2.8p4 mutex_unlock_failed@Base 2.8p4 mutexattr_destroy_failed@Base 2.8p4 mutexattr_init_failed@Base 2.8p4 mutexattr_settype_failed@Base 2.8p4 my_rwlock_destroy@Base 2.8p4 my_rwlock_init@Base 2.8p4 my_rwlock_read_lock@Base 2.8p4 my_rwlock_read_unlock@Base 2.8p4 my_rwlock_write_lock@Base 2.8p4 my_rwlock_write_unlock@Base 2.8p4 new_avg@Base 2.8p4 num2string@Base 2.8p4 old_avg@Base 2.8p4 ow_exit@Base 2.8p13 ow_help_cache@Base 2.8p4 ow_help_device@Base 2.8p4 ow_help_error@Base 2.8p14 ow_help_general@Base 2.8p4 ow_help_job@Base 2.8p4 ow_help_program@Base 2.8p4 ow_help_temperature@Base 2.8p4 owopt@Base 2.8p4 owopt_packed@Base 2.8p4 owopts_long@Base 2.8p4 pid_created@Base 2.8p4 pid_file@Base 2.8p4 property_compare@Base 2.8p15 property_tree@Base 2.8p15 read_array@Base 2.8p4 read_avg@Base 2.8p4 read_bytes@Base 2.8p4 read_cache@Base 2.8p4 read_cachebytes@Base 2.8p4 read_calls@Base 2.8p4 read_success@Base 2.8p4 read_tries@Base 2.8p4 return_code_calls@Base 2.8p14 return_code_set@Base 2.8p14 return_code_set_scalar@Base 2.8p14 return_code_strings@Base 2.8p14 rwlock_init_failed@Base 2.8p4 rwlock_read_lock_failed@Base 2.8p4 rwlock_read_unlock_failed@Base 2.8p4 scan_token_read@Base 2.8p14 scan_token_write@Base 2.8p14 sensor_compare@Base 2.8p15 sensor_tree@Base 2.8p15 serial_change@Base 2.8p7 serial_free@Base 2.8p7 serial_open@Base 2.8p7 set_exit_signal_handlers@Base 2.8p4 set_signal_handlers@Base 2.8p4 shutdown_in_progress@Base 2.8p4 shutdown_mutex_rw@Base 2.8p4 shutdown_pipe@Base 2.8p4 store_avg@Base 2.8p4 string2bytes@Base 2.8p4 string2num@Base 2.8p4 tcp_free@Base 2.8p7 tcp_open@Base 2.8p7 tcp_read@Base 2.8p4 tcp_read_flush@Base 2.8p4 tcp_wait@Base 2.8p4 telnet_break@Base 2.8p7 telnet_change@Base 2.8p7 telnet_purge@Base 2.8p7 telnet_read@Base 2.8p4 telnet_write_binary@Base 2.8p7 tempscale@Base 2.8p4 total_bus_locks@Base 2.8p4 total_bus_unlocks@Base 2.8p4 typedir_action_struct@Base 2.8p4 udp_read@Base 2.8p4 write_array@Base 2.8p4 write_avg@Base 2.8p4 write_bytes@Base 2.8p4 write_calls@Base 2.8p4 write_success@Base 2.8p4 write_tries@Base 2.8p4 debian/owfs.conf0000664000000000000000000000211711762767441011035 0ustar # Sample configuration file for the OWFS suite for Debian GNU/Linux. # # # This is the main OWFS configuration file. You should read the # owfs.conf(5) manual page in order to understand the options listed # here. ######################## SOURCES ######################## # # With this setup, any client (but owserver) uses owserver on the # local machine... ! server: server = localhost:4304 # # ...and owserver uses the real hardware, by default fake devices # This part must be changed on real installation server: FAKE = DS18S20,DS2405 # # USB device: DS9490 #server: usb = all # # Serial port: DS9097 #server: device = /dev/ttyS1 # # owserver tcp address #server: server = 192.168.10.1:3131 # # random simulated device #server: FAKE = DS18S20,DS2405 # ######################### OWFS ########################## # #mountpoint = /mnt/1wire #allow_other # ####################### OWHTTPD ######################### http: port = 2121 ####################### OWFTPD ########################## ftp: port = 2120 ####################### OWSERVER ######################## server: port = localhost:4304 debian/libownet-perl.examples0000664000000000000000000000003411762767441013527 0ustar module/swig/perl5/example/* debian/owserver.init0000664000000000000000000000370411762767441011754 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: owserver # Required-Start: $remote_fs $syslog $network $named # Required-Stop: $remote_fs $syslog $network $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: 1-wire TCP server # Description: Start and stop a TCP server for 1-wire control. ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin CONFFILE=/etc/owfs.conf DESC="1-Wire TCP Server" NAME="owserver" DAEMON=/usr/bin/$NAME PIDDIR=/var/run/owfs PIDFILE=$PIDDIR/$NAME.pid # Gracefully exit if the package has been removed. test -x $DAEMON || exit 0 . /lib/lsb/init-functions d_start() { [ -d $PIDDIR ] || { mkdir -m 0775 -p $PIDDIR chown root:root $PIDDIR >/dev/null 2>&1 } start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- -c $CONFFILE \ --pid-file $PIDFILE # ensure the daemon has been started sleep 1 pidofproc -p $PIDFILE $DAEMON >/dev/null } d_stop() { start-stop-daemon --stop --quiet --oknodo --exec $DAEMON sleep 1 if [ -f $PIDFILE ] && ! ps h `cat $PIDFILE` > /dev/null then # Stale PID file (owserver was successfilly stoped), #remove it rm -f $PIDFILE fi } d_status() { pidofproc -p $PIDFILE $DAEMON > /dev/null } case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" d_start log_end_msg $? ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" d_stop log_end_msg $? ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" d_status && d_stop d_start log_end_msg $? ;; status) d_status if [ $? -eq 0 ];then log_success_msg "$NAME is running" else log_failure_msg "$NAME is not running" fi ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 debian/owfs-doc.install0000664000000000000000000000024011762767441012314 0ustar usr/share/man/man3/ED*.3 usr/share/man/man3/DS*.3 usr/share/man/man3/EEEF.3 usr/share/man/man3/LCD.3 usr/share/man/man3/Thermachron.3 usr/share/man/man3/UVI.3 debian/libow-symbols.w10000664000000000000000000000057511762767441012271 0ustar AddW1Bus@Base 2.8p4 Netlink_Parse_Buffer@Base 2.8p14 Netlink_Parse_Get@Base 2.8p4 Netlink_Print@Base 2.8p4 RemoveW1Bus@Base 2.8p4 W1PipeSelect_timeout@Base 2.8p4 W1_Browse@Base 2.8p4 W1_Dispatch@Base 2.8p4 W1_Process_Response@Base 2.8p4 W1_send_msg@Base 2.8p4 w1_bind@Base 2.8p4 w1_list_masters@Base 2.8p4 w1_master_command@Base 2.8p4 w1_parse_master_list@Base 2.8p4 debian/libowcapi-2.8-15.symbols0000664000000000000000000000173711762767441013332 0ustar libowcapi-2.8.so.15 libowcapi-2.8-15 #MINVER# * Build-Depends-Package: libowfs-dev OW_finish@Base 2.8p4 OW_get@Base 2.8p4 OW_init@Base 2.8p4 OW_init_args@Base 2.8p4 OW_lread@Base 2.8p4 OW_lwrite@Base 2.8p4 OW_present@Base 2.8p4 OW_put@Base 2.8p4 OW_set_error_level@Base 2.8p4 OW_set_error_print@Base 2.8p4 avahi_client_errno@Base 2.8p4 avahi_client_free@Base 2.8p4 avahi_client_get_domain_name@Base 2.8p4 avahi_client_new@Base 2.8p4 avahi_entry_group_add_service@Base 2.8p4 avahi_entry_group_commit@Base 2.8p4 avahi_entry_group_is_empty@Base 2.8p4 avahi_entry_group_new@Base 2.8p4 avahi_entry_group_reset@Base 2.8p4 avahi_service_browser_free@Base 2.8p4 avahi_service_browser_new@Base 2.8p4 avahi_service_resolver_free@Base 2.8p4 avahi_service_resolver_new@Base 2.8p4 avahi_simple_poll_free@Base 2.8p4 avahi_simple_poll_get@Base 2.8p4 avahi_simple_poll_loop@Base 2.8p4 avahi_simple_poll_new@Base 2.8p4 avahi_simple_poll_quit@Base 2.8p4 avahi_strerror@Base 2.8p4 debian/rules0000775000000000000000000000615411762767441010275 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. export DH_VERBOSE=2 DH_OPTIONS=--with python2 --with quilt --with autotools_dev # export necessary for (hardening) flags for perl DEB_CPPFLAGS += `dpkg-buildflags --get CPPFLAGS` DEB_CFLAGS += `dpkg-buildflags --get CFLAGS` DEB_LDFLAGS = `dpkg-buildflags --get LDFLAGS` export DEB_CPPFLAGS DEB_CFLAGS DEB_LDFLAGS CONFIGURE_OPTIONS=\ --enable-debian \ --disable-debug \ --disable-profiling \ --enable-owshell \ --enable-owlib \ --enable-ownetlib \ --enable-tai8570 \ --enable-thermocouple \ --enable-mt \ --enable-i2c \ --enable-ha7 \ --enable-owhttpd \ --enable-owftpd \ --enable-owserver \ --enable-owexternal \ --enable-ownet \ --enable-owtap \ --disable-owmalloc \ --disable-owtraffic \ --enable-owmon \ --enable-owcapi \ --enable-swig \ --enable-owperl \ --enable-owphp \ --enable-owpython \ --enable-owtcl \ --enable-owfs \ --enable-cache \ --enable-zero \ --enable-usb \ --enable-parport DEB_HOST_ARCH_OS=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ifeq ($(DEB_HOST_ARCH_OS),linux) CONFIGURE_OPTIONS += --enable-w1 else CONFIGURE_OPTIONS += --disable-w1 endif %: dh $@ $(DH_OPTIONS) .PHONY: override_dh_auto_configure override_dh_auto_test override_dh_install override_dh_auto_configure: autoreconf -vif dh_auto_configure -- $(CONFIGURE_OPTIONS) override_dh_auto_test: # no tests available override_dh_install: dh_install --list-missing -X.la -Xperllocal.pod .PHONY: override_dh_strip override_dh_makeshlibs override_dh_strip: dh_strip --dbg-package=owfs-dbg override_dh_makeshlibs: dh_makeshlibs --no-package libow-php5 --no-package libow-tcl echo "php:Depends=phpapi-$$(php-config5 --phpapi)" >> debian/libow-php5.substvars clean: dh clean $(DH_OPTIONS) # remove autoreconf modifications find . -name Makefile.am | while read f ; do \ $(RM) "$$(dirname "$$f")/$$(basename "$$f" .am).in" ; \ done $(RM) INSTALL aclocal.m4 configure find src/scripts/install -type f -a ! -name "config*" -a -exec rm -v {} \; $(RM) module/owcapi/src/example++/Makefile \ module/owcapi/src/example/Makefile \ module/ownet/c/src/example/Makefile \ module/ownet/php/examples/ownet_example.php \ module/swig/php/example/load_php_OW.php \ module/swig/perl5/OW/Makefile.linux \ module/swig/perl5/OW/Makefile.osx # if this is a git repository, restore removed files that would have # been ignored by dpkg-source -test -d .git && git checkout -- $$(git status | \ sed -e '/^#[[:space:]]*deleted:[[:space:]]*/s/^#[[:space:]]*deleted:[[:space:]]*//p;d' | \ grep -v '^debian/') override_dh_shlibdeps: dh_shlibdeps -a -- --warnings=7 debian/README.Debian0000664000000000000000000000104011762767441011243 0ustar owfs for Debian --------------- owfs does not mix well with in-kernel 1-wire driver. So these modules are currently blacklisted by this package. For more information, see http://owfs.org/index.php?page=w1-project With the default setup on Debian, all ow* programs (but owserver) try to get their data from a local owserver. Owserver is the only program talking to the 1-wire hardware (fake hardware by default). All of this can be changed by editing /etc/owfs.conf. -- Vincent Danjean Sun, 21 Nov 2010 23:04:19 +0100 debian/wrappers/0000775000000000000000000000000011762767441011052 5ustar debian/wrappers/owfs0000664000000000000000000000007311762767441011753 0ustar #!/bin/sh exec /usr/lib/owfs/owfs -c /etc/owfs.conf "$@" debian/source/0000775000000000000000000000000011762767441010507 5ustar debian/source/format0000664000000000000000000000001411762767441011715 0ustar 3.0 (quilt) debian/python-ow.install0000664000000000000000000000011011762767441012533 0ustar usr/lib/python*/*-packages/ow/ usr/lib/python*/*-packages/ow-*.egg-info debian/docs0000664000000000000000000000002111762767441010053 0ustar NEWS README TODO debian/ow-shell.install0000664000000000000000000000051211762767441012327 0ustar usr/bin/owdir usr/bin/owget usr/bin/owread usr/bin/owwrite usr/bin/owpresent usr/share/man/man1/owdir.1 usr/share/man/man1/owget.1 usr/share/man/man1/owread.1 usr/share/man/man1/owwrite.1 usr/share/man/man1/owpresent.1 usr/share/man/man1/owshell.1 usr/bin/owmon usr/bin/owtap usr/share/man/man1/owmon.1 usr/share/man/man1/owtap.1 debian/libow-perl.install0000664000000000000000000000011011762767441012643 0ustar usr/lib/perl*/OW.pm usr/lib/perl*/auto/OW/ usr/share/man/man3/owperl.3 debian/watch0000664000000000000000000000012711762767441010240 0ustar version=3 opts=dversionmangle=s/\+dfsg[1-9]// \ http://sf.net/owfs/owfs-(.*)\.tar\.gz debian/owfs-common.install0000664000000000000000000000013211762767441013037 0ustar debian/owfs.conf usr/share/owfs/ usr/share/man/man5/owfs.5 usr/share/man/man5/owfs.conf.5 debian/README.source0000664000000000000000000000027311762767441011370 0ustar owfs for Debian --------------- debian/owfs-common.postinst0000664000000000000000000000235411762767441013264 0ustar #!/bin/sh # postinst script for owfs-common # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) for conffile in owfs.conf; do # Tell ucf that the file in /usr/share/owfs is the latest maintainer # version, and let it handle how to manage the real configuration # file in /etc. ucf --three-way \ /usr/share/owfs/$conffile /etc/$conffile ucfr owfs-common /etc/$conffile done ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/owfs-fuse.dirs0000664000000000000000000000001511762767441012004 0ustar usr/lib/owfs debian/python-ownet.examples0000664000000000000000000000007611762767441013425 0ustar module/ownet/python/examples/* module/ownet/python/Readme.txt debian/owhttpd.install0000664000000000000000000000005511762767441012270 0ustar usr/bin/owhttpd usr/share/man/man1/owhttpd.1 debian/changelog0000664000000000000000000001025012301064620011032 0ustar owfs (2.8p15-1ubuntu4) trusty; urgency=medium * No change rebuild for phpapi-20121212+lfs (LFS ABI break on 32-bit arches). -- Robie Basak Wed, 19 Feb 2014 08:21:36 +0000 owfs (2.8p15-1ubuntu3) devel; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Sun, 20 Oct 2013 22:43:53 +0100 owfs (2.8p15-1ubuntu2) saucy; urgency=low * Rebuild for PHP 5.5. -- Colin Watson Tue, 16 Jul 2013 10:22:18 +0100 owfs (2.8p15-1ubuntu1) saucy; urgency=low * Change fuse-utils recommends to fuse, as fuse-utils is dropped. -- Adam Conrad Fri, 05 Jul 2013 15:02:13 -0600 owfs (2.8p15-1build1) quantal; urgency=low * No-change rebuild for phpapi change -- Ilya Barygin Sat, 30 Jun 2012 13:04:04 +0400 owfs (2.8p15-1) unstable; urgency=low * New upstream release (thank Iztok Jeras for the notice) + refresh debian/patches/* + remove debian/patches/for-upstream_w1protection.patch (applied upstream) * switch to dh 9 (and multiarch for library packages) -- Vincent Danjean Sun, 03 Jun 2012 23:03:41 +0200 owfs (2.8p14-4) unstable; urgency=medium * Closes: #662634: using patch provided by Ondřej Surý to get a correct dependency on phpapi (was broken with PHP 5.4) * Urgency set to medium due to this fix * Standards-Version dumped from 3.9.2 to 3.9.3 (no change needed) -- Vincent Danjean Mon, 05 Mar 2012 16:15:45 +0100 owfs (2.8p14-3) unstable; urgency=low * Still adapting symbol list to kfreebsd -- Vincent Danjean Tue, 28 Feb 2012 00:25:28 +0100 owfs (2.8p14-2) unstable; urgency=low * Fix "FTBFS(kfreebsd): libow.so: undefined reference to `w1_bind'" protected with #ifdef OW_W1 (Closes: #660857) -- Vincent Danjean Fri, 24 Feb 2012 22:48:38 +0100 owfs (2.8p14-1) unstable; urgency=low * New upstream release * No need to repackage the sources anymore: libdns_sd.dll is gone -- Vincent Danjean Wed, 15 Feb 2012 00:33:18 +0100 owfs (2.8p13+dfsg1-5) unstable; urgency=low * also disable owtraffic at configure time -- Vincent Danjean Thu, 20 Oct 2011 21:50:58 +0200 owfs (2.8p13+dfsg1-4) unstable; urgency=low * disable malloc debug at configure time -- Vincent Danjean Thu, 20 Oct 2011 07:51:19 +0200 owfs (2.8p13+dfsg1-3) unstable; urgency=low * Fix python extension linkage * Fix wrong debian/*.install files so that a same file is not added is different packages (Closes: #640915) -- Vincent Danjean Thu, 08 Sep 2011 23:18:22 +0200 owfs (2.8p13+dfsg1-2) unstable; urgency=low * Fix "FTBFS(kfreebsd): symbol diff" (Closes: #640385) non-linux architectures do not have w1 support -- Vincent Danjean Sun, 04 Sep 2011 20:59:13 +0200 owfs (2.8p13+dfsg1-1) unstable; urgency=low * remove src/scripts/windows/libdns_sd.dll from the tarball. This windows DLL is mDNSResponder-107.6 precompiled with a patch applied. But mDNSResponder-107.6 sources are not included in this package and the patch in available in upstream CVS (but not the released tarball). Upstream will probably remove this file in the next release. -- Vincent Danjean Fri, 02 Sep 2011 21:08:19 +0200 owfs (2.8p13-2) unstable; urgency=low * Rebuild in clean environment -- Vincent Danjean Sun, 28 Aug 2011 18:03:32 +0200 owfs (2.8p13-1) unstable; urgency=low * New upstream release * Upload to Debian repo (Closes: #606189) -- Vincent Danjean Mon, 22 Aug 2011 14:01:10 +0200 owfs (2.8p8-1) unstable; urgency=low * New upstream release * Cleanup init scripts, add doc about Debian setup -- Vincent Danjean Tue, 05 Apr 2011 16:35:15 +0200 owfs (2.8p7+cvs20110310-1) unstable; urgency=low * Snapshot taken from CVS -- Vincent Danjean Thu, 10 Mar 2011 22:44:26 +0100 owfs (2.8p7-1) unstable; urgency=low * Initial release -- Vincent Danjean Sun, 21 Nov 2010 23:04:19 +0100 debian/libownet-dev.install0000664000000000000000000000060311762767441013175 0ustar usr/include/ownetapi.h #usr/lib/*/lib*.a usr/lib/*/libownet.so #usr/lib/*/pkgconfig/* #usr/share/pkgconfig/* usr/share/man/man1/ownet.1 usr/share/man/man1/libownet.1 usr/share/man/man1/ownetapi.1 usr/share/man/man1/ownetlib.1 module/ownet/c/src/example/ownetexample.c usr/share/doc/libowfs-dev/examples/ownet module/ownet/c/src/example/Makefile usr/share/doc/libowfs-dev/examples/ownet debian/libownet-2.8-15.symbols0000664000000000000000000000510111762767441013171 0ustar libownet-2.8.so.15 libownet-2.8-15 #MINVER# * Build-Depends-Package: libowfs-dev BUS_lock_in@Base 2.8p4 BUS_unlock_in@Base 2.8p4 BusIsServer@Base 2.8p4 CharblobAdd@Base 2.8p4 CharblobAddChar@Base 2.8p4 CharblobClear@Base 2.8p4 CharblobData@Base 2.8p4 CharblobInit@Base 2.8p4 CharblobLength@Base 2.8p4 CharblobPure@Base 2.8p4 ClientAddr@Base 2.8p4 ClientConnect@Base 2.8p4 DL_close@Base 2.8p4 DL_error@Base 2.8p4 DL_open@Base 2.8p4 DL_sym@Base 2.8p4 DNSServiceBrowse@Base 2.8p4 DNSServiceCreateConnection@Base 2.8p4 DNSServiceEnumerateDomains@Base 2.8p4 DNSServiceProcessResult@Base 2.8p4 DNSServiceReconfirmRecord@Base 2.8p4 DNSServiceRefDeallocate@Base 2.8p4 DNSServiceRefSockFD@Base 2.8p4 DNSServiceRegister@Base 2.8p4 DNSServiceResolve@Base 2.8p4 FreeClientAddr@Base 2.8p4 FreeIn@Base 2.8p4 FreeInAll@Base 2.8p4 Globals@Base 2.8p4 LockSetup@Base 2.8p4 Mutex@Base 2.8p4 NewIn@Base 2.8p4 OWNET_close@Base 2.8p4 OWNET_closeall@Base 2.8p4 OWNET_dirlist@Base 2.8p4 OWNET_dirprocess@Base 2.8p4 OWNET_finish@Base 2.8p4 OWNET_get_device_format@Base 2.8p4 OWNET_get_temperature_scale@Base 2.8p4 OWNET_init@Base 2.8p4 OWNET_lread@Base 2.8p4 OWNET_lwrite@Base 2.8p4 OWNET_present@Base 2.8p4 OWNET_put@Base 2.8p4 OWNET_read@Base 2.8p4 OWNET_set_device_format@Base 2.8p4 OWNET_set_temperature_scale@Base 2.8p4 OW_Browse@Base 2.8p4 OW_Free_dnssd_library@Base 2.8p4 OW_Load_dnssd_library@Base 2.8p4 SemiGlobal@Base 2.8p4 ServerDir@Base 2.8p4 ServerPresence@Base 2.8p4 ServerRead@Base 2.8p4 ServerWrite@Base 2.8p4 Server_detect@Base 2.8p4 Zero_detect@Base 2.8p4 _Debug_Bytes@Base 2.8p4 _Debug_Writev@Base 2.8p4 cond_destroy_failed@Base 2.8p4 cond_init_failed@Base 2.8p4 cond_signal_failed@Base 2.8p4 cond_timedwait_failed@Base 2.8p4 cond_wait_failed@Base 2.8p4 count_inbound_connections@Base 2.8p4 err_msg@Base 2.8p4 fatal_error@Base 2.8p4 find_connection_in@Base 2.8p4 get_busmode@Base 2.8p4 head_inbound_list@Base 2.8p4 libdnssd@Base 2.8p4 log_available@Base 2.8p4 mutex_destroy_failed@Base 2.8p4 mutex_init_failed@Base 2.8p4 mutex_lock_failed@Base 2.8p4 mutex_unlock_failed@Base 2.8p4 mutexattr_destroy_failed@Base 2.8p4 mutexattr_init_failed@Base 2.8p4 mutexattr_settype_failed@Base 2.8p4 my_rwlock_destroy@Base 2.8p4 my_rwlock_init@Base 2.8p4 my_rwlock_read_lock@Base 2.8p4 my_rwlock_read_unlock@Base 2.8p4 my_rwlock_write_lock@Base 2.8p4 my_rwlock_write_unlock@Base 2.8p4 ow_Global@Base 2.8p4 rwlock_init_failed@Base 2.8p4 rwlock_read_lock_failed@Base 2.8p4 rwlock_read_unlock_failed@Base 2.8p4 tcp_read@Base 2.8p4 tcp_read_flush@Base 2.8p4 debian/owfs-common.postrm0000664000000000000000000000312511762767441012722 0ustar #!/bin/sh # postrm script for owfs-common # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge) for conffile in owfs.conf; do # we mimic dpkg as closely as possible, so we remove configuration # files with dpkg backup extensions too: ### Some of the following is from Tore Anderson: for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist .ucf-old .ucf-new .ucf-dist; do rm -f /etc/$conffile$ext done # remove the configuration file itself rm -f /etc/$conffile # and finally clear it out from the ucf database if which ucf >/dev/null; then ucf --purge /etc/$conffile fi if which ucfr >/dev/null; then ucfr --purge owfs-common /etc/$conffile fi done ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/python-ownet.install0000664000000000000000000000011611762767441013250 0ustar usr/lib/python*/*-packages/ownet/ usr/lib/python*/*-packages/ownet-*.egg-info debian/owfs-fuse.install0000664000000000000000000000012111762767441012507 0ustar usr/bin/owfs usr/lib/owfs debian/wrappers/owfs usr/bin usr/share/man/man1/owfs.1 debian/libow-tcl.install0000664000000000000000000000026711762767441012500 0ustar usr/lib/tcltk/owtcl-1.0/pkgIndex.tcl usr/lib/tcltk/owtcl-1.0/ow-1.0.so usr/lib/tcltk/owtcl-1.0/ow.tcl usr/lib/tcltk/owtcl-1.0/ow.so usr/share/man/man3/owtcl.3 usr/share/man/man3/ow.3 debian/control0000664000000000000000000002552012165632172010604 0ustar Source: owfs Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Vincent Danjean Build-Depends: debhelper (>= 9~), quilt, autotools-dev, libfuse-dev, swig, python-all-dev (>= 2.6.6-3~), tcl-dev, libusb-dev, php5-cli, php5-dev, ed Standards-Version: 3.9.3 Section: electronics Homepage: http://owfs.org/ Vcs-Git: git://git.debian.org/collab-maint/owfs.git Vcs-Browser: http://git.debian.org/?p=collab-maint/owfs.git;a=summary Package: owfs-common Architecture: all Depends: ${misc:Depends}, ucf Description: common files used by any of the OWFS programs The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package contains the common files that are used by any of the OWFS programs. Package: owfs Architecture: all Depends: ${misc:Depends}, owfs-fuse (>= ${binary:Version}), owserver (>= ${binary:Version}), owhttpd (>= ${binary:Version}), owftpd (>= ${binary:Version}) Suggests: owfs-doc Description: Dallas 1-wire support The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package is a metapackage depending on various other OWFS packages. Installing this package gets you a FUSE daemon, server arbitrates access to the bus from multiple client processes, small ftp and webserver. Package: libow-2.8-15 Section: libs Architecture: any Pre-Depends: multiarch-support Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Description: 1-Wire File System full library The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package includes the ow library that is able to talk directly to 1-wire buses. Package: libowcapi-2.8-15 Section: libs Architecture: any Pre-Depends: multiarch-support Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Description: 1-Wire File System C library The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package includes the C API that allows one to talk directly to 1-wire buses (through the libow library). Package: libow-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libow-2.8-15 (= ${binary:Version}), libowcapi-2.8-15 (= ${binary:Version}) Description: 1-Wire File System (development files) The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package includes development libraries and C header files. Package: libownet-2.8-15 Section: libs Architecture: any Pre-Depends: multiarch-support Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Description: owserver protocol library The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package includes the ownet library that is able to talk to a owserver in order to get/send 1-wire information. Package: libownet-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libownet-2.8-15 (= ${binary:Version}), Description: owserver protocol library (development files) The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package contains the development libraries and interfaces to access a remote owserver. Package: owserver Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, owfs-common, lsb-base (>= 3.2-4) Description: Backend server for 1-Wire control The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . OWserver arbitrates access to the 1-Wire bus from multiple client processes. The physical bus is usually connected to a serial or USB port, and other processes connect to owserver over network sockets (tcp port). Communication can be local or over a network. Package: ow-shell Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: owserver Description: shell utilities to talk to an 1-Wire owserver The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package has several command line programs to talk to an owserver. Included programs are : * owdir: list 1-wire devices or properties * owread: read 1-wire value * owwrite: set a 1-wire value * owpresent: check if a 1-wire device is connected * owtap: inspect network transmission of the owserver protocol * owmon: show statistics and setting for an owserver Package: owfs-fuse Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, owfs-common Recommends: owserver, fuse Suggests: owhttpd, owftpd Description: 1-Wire filesystem The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . OWFS is a userspace virtual filesystem exposing all 1-Wire properties mapped into a filesystem. Package: owhttpd Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, owfs-common, lsb-base (>= 3.2-4) Recommends: owserver Description: HTTP daemon providing access to 1-Wire networks The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . HTTP daemon providing access to 1-Wire networks. Package: owftpd Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, owfs-common, lsb-base (>= 3.2-4) Recommends: owserver Description: FTP daemon providing access to 1-Wire networks The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . FTP daemon providing access to 1-Wire networks. Package: libow-php5 Architecture: any Section: web Depends: ${shlibs:Depends}, ${misc:Depends}, ${php:Depends} Description: Dallas 1-wire support: PHP5 bindings The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . PHP bindings for the OWFS 1-wire support library have been produced with SWIG and allow access to libow2.8 functions from PHP code. Package: libownet-php Architecture: all Section: web Depends: php5 | php5-cli, ${misc:Depends} Description: Dallas 1-wire support: PHP OWNet library The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . The PHP OWNet library lets you access owserver and allows reading, writing and listing the 1-wire bus. Package: libow-perl Architecture: any Section: perl Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends} Description: Dallas 1-wire support: Perl5 bindings The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . Perl bindings for the OWFS 1-wire support library have been produced with SWIG and allow access to libow functions from perl code. Package: libownet-perl Architecture: all Section: perl Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends} Description: Perl module for accessing 1-wire networks The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . OWNet.pm is a perl module for accessing 1-wire sensors through an owserver. Package: python-ow Architecture: any Section: python Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends} Provides: ${python:Provides} XB-Python-Version: ${python:Versions} Description: Dallas 1-wire support: Python bindings The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . Python bindings for the OWFS 1-Wire support library have been produced with SWIG and allow access to libow functions from Python code. Package: python-ownet Architecture: all Section: python Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} Provides: ${python:Provides} XB-Python-Version: ${python:Versions} Description: Python module for accessing 1-wire networks The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . OWnet is a standalone Python module for accessing 1-wire sensors through an owserver. Package: libow-tcl Architecture: any Section: devel Depends: ${shlibs:Depends}, ${misc:Depends} Description: Dallas 1-wire support: Tcl bindings The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package contains Tcl bindings to the OWFS core library (libow), which is used to access 1-Wire networks Package: owfs-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: owfs Description: Dallas 1-wire support: Documentation for owfs The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . Documentation for OWFS in 'man' format. This package contains the manpages for 1-Wire, including the device-specific manpages. Package: owfs-dbg Architecture: any Section: debug Depends: libow-2.8-15 (= ${binary:Version}) | owfs (= ${binary:Version}) | owserver (= ${binary:Version}) | owhttpd (= ${binary:Version}) | owftpd (= ${binary:Version}) | libow-tcl (= ${binary:Version}) | python-ow (= ${binary:Version}) | libow-php5 (= ${binary:Version}) | libow-perl (= ${binary:Version}), ${misc:Depends} Description: Debugging symbols for the OWFS packages The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces. . This package contains gdb debugging symbols for OWFS packages. You need this if you see crashes in programs using 1-wire. debian/python-ow.examples0000664000000000000000000000007311762767441012713 0ustar module/swig/python/examples/* module/swig/python/unittest/ debian/libow-dev.install0000664000000000000000000000105111762767441012464 0ustar usr/include/owcapi.h usr/include/owfs_config.h #usr/lib/*/lib*.a usr/lib/*/libow.so usr/lib/*/libowcapi.so #usr/lib/*/pkgconfig/* #usr/share/pkgconfig/* usr/share/man/man1/owcapi.1 usr/share/man/man1/libowcapi.1 module/owcapi/src/example/owcapiexample.c usr/share/doc/libowfs-dev/examples/owcapi/C module/owcapi/src/example/Makefile usr/share/doc/libowfs-dev/examples/owcapi/C module/owcapi/src/example++/owcapiexample.cpp usr/share/doc/libowfs-dev/examples/owcapi/C++ module/owcapi/src/example++/Makefile usr/share/doc/libowfs-dev/examples/owcapi/C++ debian/owfs-common.dirs0000664000000000000000000000001711762767441012334 0ustar usr/share/owfs debian/libow-2.8-15.install0000664000000000000000000000002711762767441012442 0ustar usr/lib/*/libow-*.so.* debian/owserver.install0000664000000000000000000000005711762767441012455 0ustar usr/bin/owserver usr/share/man/man1/owserver.1 debian/TODO0000664000000000000000000000011411762767441007673 0ustar SouldStart/Stop in init for owserver Doc for default setup default conffile debian/patches/0000775000000000000000000000000011762767441010636 5ustar debian/patches/for-upstream_fix-ABI.patch0000664000000000000000000000607211762767441015547 0ustar Do not change the ABI when enabling or not traffic trace --- a/module/owlib/src/c/ow_traffic.c +++ b/module/owlib/src/c/ow_traffic.c @@ -31,20 +31,27 @@ return in ; } +#endif /* OW_SHOW_TRAFFIC */ + void TrafficOut( const char * data_type, const BYTE * data, size_t length, const struct connection_in * in ) { +#if OW_SHOW_TRAFFIC fprintf(stderr, "TRAFFIC OUT <%s> bus=%d (%s)\n", SAFESTRING(data_type), in->index, SOC(in)->devicename ) ; _Debug_Bytes( in->adapter_name, data, length ) ; +#endif /* OW_SHOW_TRAFFIC */ } void TrafficIn( const char * data_type, const BYTE * data, size_t length, const struct connection_in * in ) { +#if OW_SHOW_TRAFFIC fprintf(stderr, "TRAFFIC IN <%s> bus=%d (%s)\n", SAFESTRING(data_type), in->index, SOC(in)->devicename ) ; _Debug_Bytes( in->adapter_name, data, length ) ; +#endif /* OW_SHOW_TRAFFIC */ } void TrafficOutFD( const char * data_type, const BYTE * data, size_t length, FILE_DESCRIPTOR_OR_ERROR file_descriptor ) { +#if OW_SHOW_TRAFFIC struct connection_in * in = Bus_from_file_descriptor( file_descriptor ) ; if ( in != NO_CONNECTION ) { TrafficOut( data_type, data, length, in ) ; @@ -52,10 +59,12 @@ fprintf(stderr, "TRAFFIC OUT <%s> file descriptor=%d\n", SAFESTRING(data_type), file_descriptor ) ; _Debug_Bytes( "FD", data, length ) ; } +#endif /* OW_SHOW_TRAFFIC */ } void TrafficInFD( const char * data_type, const BYTE * data, size_t length, FILE_DESCRIPTOR_OR_ERROR file_descriptor ) { +#if OW_SHOW_TRAFFIC struct connection_in * in = Bus_from_file_descriptor( file_descriptor ) ; if ( in != NO_CONNECTION ) { TrafficIn( data_type, data, length, in ) ; @@ -63,6 +72,6 @@ fprintf(stderr, "TRAFFIC IN <%s> file descriptor=%d\n", SAFESTRING(data_type), file_descriptor ) ; _Debug_Bytes( "FD", data, length ) ; } +#endif /* OW_SHOW_TRAFFIC */ } -#endif /* OW_SHOW_TRAFFIC */ --- a/module/owlib/src/include/ow_traffic.h +++ b/module/owlib/src/include/ow_traffic.h @@ -16,25 +16,13 @@ /* Debugging interface to showing all bus traffic * You need to configure compile with * ./configure --enable-owtraffic + * if you do not want to get empty functions * */ -/* Show bus traffic in detail (must be configured into the build) */ -#if OW_SHOW_TRAFFIC - void TrafficOut( const char * data_type, const BYTE * data, size_t length, const struct connection_in * in ); void TrafficIn( const char * data_type, const BYTE * data, size_t length, const struct connection_in * in ); void TrafficOutFD( const char * data_type, const BYTE * data, size_t length, FILE_DESCRIPTOR_OR_ERROR file_descriptor ); void TrafficInFD( const char * data_type, const BYTE * data, size_t length, FILE_DESCRIPTOR_OR_ERROR file_descriptor ); -#else /* OW_SHOW_TRAFFIC */ - -#define TrafficOut( data_type, data, length, in ) { } while (0) -#define TrafficIn( data_type, data, length, in ) { } while (0) - -#define TrafficOutFD( data_type, data, length, file_descriptor ) { } while (0) -#define TrafficInFD( data_type, data, length, file_descriptor ) { } while (0) - -#endif /* OW_SHOW_TRAFFIC */ - #endif /* OW_TRAFFIC_H */ debian/patches/linkage.patch0000664000000000000000000002162011762767441013272 0ustar Do not use -rpath for /usr/lib --- a/module/swig/perl5/OW/Makefile.linux.in +++ b/module/swig/perl5/OW/Makefile.linux.in @@ -1,5 +1,6 @@ #!/usr/bin/perl -w +use Config ; use ExtUtils::MakeMaker ; WriteMakefile( @@ -12,8 +13,10 @@ 'INC' => q[-I../../../../src/include -I../../../owlib/src/include @CPPFLAGS@], # Default value for LDDLFLAGS is $Config{lddlflags}="-shared -L/usr/local/lib" # but we want rpath to be @libdir@ or @exec_prefix@/lib - 'LDDLFLAGS' => q[-shared -L../../../owlib/src/c/.libs -Wl,-rpath=@prefix@/lib], - 'LIBS' => q[-L../../../owlib/src/c/.libs -low @PTHREAD_LIBS@ @LIBS@], +# Also adding flags for hardening (Debian) + 'LDDLFLAGS' => "$ENV{DEB_LDFLAGS} -shared -L../../../owlib/src/c/.libs", + 'CCFLAGS' => "$Config{ccflags} $ENV{DEB_CFLAGS} $ENV{DEB_CPPFLAGS}", + 'LIBS' => q[-L../../../owlib/src/c/.libs -low], 'OBJECT' => 'ow_wrap.o', 'NAME' => 'OW', 'POLLUTE' => 1, --- a/module/swig/perl5/Makefile.am +++ b/module/swig/perl5/Makefile.am @@ -18,6 +18,8 @@ else if HAVE_DEBIAN ( cd OW; $(PERL) Makefile.PL INSTALLDIRS=vendor ) + cd OW ; for i in `grep -wl ^LD_RUN_PATH Makefile Makefile.[^P]*` ; do sed -i 's@^LD_RUN_PATH.*@LD_RUN_PATH=@' $$i ; done + else ( cd OW; $(PERL) Makefile.PL ) endif --- a/module/owcapi/src/c/Makefile.am +++ b/module/owcapi/src/c/Makefile.am @@ -13,7 +13,7 @@ # Debian patch libowcapi_la_LDFLAGS = -low -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ${PTHREAD_LIBS} ${LD_EXTRALIBS} -shared -shrext .so else - libowcapi_la_LDFLAGS = -low -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ${PTHREAD_LIBS} ${LIBUSB_LIBS} ${LD_EXTRALIBS} -shared -shrext .so + libowcapi_la_LDFLAGS = -low -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ${PTHREAD_LIBS} ${LD_EXTRALIBS} -shared -shrext .so endif endif --- a/module/owserver/src/c/Makefile.am +++ b/module/owserver/src/c/Makefile.am @@ -43,11 +43,9 @@ -Wcast-align \ -Wstrict-prototypes \ -Wredundant-decls \ - ${EXTRACFLAGS} \ - ${PTHREAD_CFLAGS} \ - ${LIBUSB_CFLAGS} + ${EXTRACFLAGS} -LDADD = -low ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} +LDADD = -low ${LD_EXTRALIBS} ${OSLIBS} clean-generic: --- a/module/owftpd/src/c/Makefile.am +++ b/module/owftpd/src/c/Makefile.am @@ -25,11 +25,9 @@ -Wcast-align \ -Wstrict-prototypes \ -Wredundant-decls \ - ${EXTRACFLAGS} \ - ${LIBUSB_CFLAGS} \ - ${PTHREAD_CFLAGS} + ${EXTRACFLAGS} -LDADD = -low ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} +LDADD = -low ${LD_EXTRALIBS} ${OSLIBS} clean-generic: --- a/module/owhttpd/src/c/Makefile.am +++ b/module/owhttpd/src/c/Makefile.am @@ -25,11 +25,9 @@ -Wcast-align \ -Wstrict-prototypes \ -Wredundant-decls \ - ${EXTRACFLAGS} \ - ${PTHREAD_CFLAGS} \ - ${LIBUSB_CFLAGS} + ${EXTRACFLAGS} -LDADD = -low ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} +LDADD = -low ${LD_EXTRALIBS} ${OSLIBS} clean-generic: --- a/module/owshell/src/c/Makefile.am +++ b/module/owshell/src/c/Makefile.am @@ -45,7 +45,7 @@ -Wredundant-decls \ ${EXTRACFLAGS} -LDADD = ${LD_EXTRALIBS} ${OSLIBS} +LDADD = ${DL_LIBS} ${LD_EXTRALIBS} ${OSLIBS} clean-generic: --- a/module/owlib/src/c/Makefile.am +++ b/module/owlib/src/c/Makefile.am @@ -208,7 +208,7 @@ if HAVE_CYGWIN libow_la_LDFLAGS = ${PTHREAD_LIBS} -shared -no-undefined ${LIBUSB_LIBS} ${LD_EXTRALIBS} else -libow_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ${PTHREAD_LIBS} -shared -shrext .so ${LIBUSB_LIBS} ${LD_EXTRALIBS} +libow_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ${PTHREAD_LIBS} -shared -shrext .so ${LIBUSB_LIBS} ${LD_EXTRALIBS} ${M_LIBS} ${DL_LIBS} endif # Maybe need this for MacOS X --- a/module/owfs/src/c/Makefile.am +++ b/module/owfs/src/c/Makefile.am @@ -20,10 +20,9 @@ -Wstrict-prototypes \ -Wredundant-decls \ ${EXTRACFLAGS} \ - ${LIBUSB_CFLAGS} \ ${PTHREAD_CFLAGS} -LDADD = -low ${FUSE_LIBS} ${LIBUSB_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} +LDADD = -low ${FUSE_LIBS} ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} clean-generic: --- a/module/ownet/c/src/c/Makefile.am +++ b/module/ownet/c/src/c/Makefile.am @@ -32,7 +32,7 @@ if HAVE_CYGWIN libownet_la_LDFLAGS = ${PTHREAD_LIBS} ${LD_EXTRALIBS} -shared -no-undefined else -libownet_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ${PTHREAD_LIBS} ${LD_EXTRALIBS} -shared -shrext .so +libownet_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ${PTHREAD_LIBS} ${LD_EXTRALIBS} -shared -shrext .so ${DL_LIBS} endif # Maybe need this for MacOS X --- a/module/swig/python/Makefile.am +++ b/module/swig/python/Makefile.am @@ -10,9 +10,8 @@ ow_wrap.c: ../ow.i ${LIBOW} $(SWIG) -python -o $@ ../ow.i -OW.py: ow_wrap.c setup.py - LDFLAGS="$(PYLDFLAGS) ${PTHREAD_LIBS} ${LIBUSB_LIBS} ${LD_EXTRALIBS}" CFLAGS="$(PYCFLAGS) $(PIC_FLAGS)" $(PYTHON) setup.py build -# $(PYTHON) setup.py build +OW.py: ow_wrap.c setup.py $(LIBOW) + CFLAGS="" $(PYTHON) setup.py build install-data-local: # OpenSUSE is buggy and install libraries at /usr/local. --- a/configure.ac +++ b/configure.ac @@ -774,9 +774,6 @@ m4_include(module/swig/python/python.m4) AC_MSG_RESULT(Looking for location of Python executable) SC_PATH_PYTHON - AC_SUBST(PYCFLAGS) - AC_SUBST(PYLDFLAGS) - AC_SUBST(PYLIB) AC_SUBST(PYVERSION) AC_SUBST(PYSITEDIR) AC_SUBST(PYTHONDYNAMICLINKING) @@ -1664,11 +1661,23 @@ AC_TYPE_SIGNAL AC_CHECK_FUNCS([accept daemon getaddrinfo freeaddrinfo gethostbyname2_r gethostbyaddr_r gethostbyname_r getservbyname_r getopt getopt_long gettimeofday inet_ntop inet_pton memchr memset select socket strcasecmp strchr strdup strncasecmp strtol strtoul twalk tsearch tfind tdelete tdestroy vasprintf strsep vsprintf vsnprintf writev getline]) +save_LIBS="$LIBS" +DL_LIBS="" if test "${ENABLE_ZERO}" = "true" ; then - AC_SEARCH_LIBS(dlopen, dl, AC_DEFINE(HAVE_DLOPEN, 1, [Define if you have dlopen])) + AC_SEARCH_LIBS(dlopen, dl, + DL_LIBS="-ldl" + AC_DEFINE(HAVE_DLOPEN, 1, [Define if you have dlopen])) fi +AC_SUBST([DL_LIBS]) +LIBS="$save_LIBS" -AC_SEARCH_LIBS(lrint, m, AC_DEFINE(HAVE_LRINT, 1, [Define if you have lrint])) +save_LIBS="$LIBS" +M_LIBS="" +AC_SEARCH_LIBS(lrint, m, + M_LIBS="-lm" + AC_DEFINE(HAVE_LRINT, 1, [Define if you have lrint])) +AC_SUBST([M_LIBS]) +LIBS="$save_LIBS" AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP, 1, [Define if you have nanosleep])) # clock_gettime needed if real-time wait is needed for sem_timedwait. gettimeofday is enough. --- a/module/swig/php/Makefile.am +++ b/module/swig/php/Makefile.am @@ -27,7 +27,7 @@ ${PTHREAD_CFLAGS} \ @PHPINC@ -LDADD = -L../../owlib/src/c -low ${PTHREAD_LIBS} ${LD_EXTRALIBS} ${OSLIBS} +LDADD = -L../../owlib/src/c -low libowphp_la_SOURCES = ow_wrap.c php_OW.h --- a/module/swig/python/setup.py.in +++ b/module/swig/python/setup.py.in @@ -73,9 +73,6 @@ print >> out, "extra_objects", extra_objects out.close() - -enable_usb = '@ENABLE_USB@' -enable_mt = '@ENABLE_MT@' have_darwin = '@HAVE_DARWIN@' # have to split up the _CFLAGS, _LIBS variables since there are problem @@ -86,42 +83,12 @@ # supporting MacOSX. my_extra_compile_args = [ '-D_FILE_OFFSET_BITS=64' ] -if len('@PYCFLAGS@') > 0: - my_extra_compile_args = my_extra_compile_args + string.split('@PYCFLAGS@', ' ') - -if len('@PIC_FLAGS@') > 0: - my_extra_compile_args = my_extra_compile_args + string.split('@PIC_FLAGS@', ' ') my_extra_link_args = [ ] -if enable_usb == 'true': - if len('@LIBUSB_CFLAGS@') > 1: - my_extra_compile_args = my_extra_compile_args + string.split('@LIBUSB_CFLAGS@', ' ') - -if enable_usb == 'true': - if len('@LIBUSB_LIBS@') > 1: - my_extra_link_args = my_extra_link_args + string.split('@LIBUSB_LIBS@', ' ') - -if enable_mt == 'true': - if len('@PTHREAD_CFLAGS@') > 1: - my_extra_compile_args = my_extra_compile_args + string.split('@PTHREAD_CFLAGS@', ' ') - -if enable_mt == 'true': - if len('@PTHREAD_LIBS@') > 1: - my_extra_link_args = my_extra_link_args + string.split('@PTHREAD_LIBS@', ' ') if have_darwin == 'true': my_extra_link_args = my_extra_link_args + string.split('../../owlib/src/c/.libs/libow.so', ' ') -if len('@PYLDFLAGS@') > 1: - my_extra_link_args = my_extra_link_args + string.split('@PYLDFLAGS@', ' ') - -ARCH="" -my_platform = '@LIBPOSTFIX@' -#my_platform = [ platform.machine() ] -if my_platform == "x86_64" or my_platform == "amd64" or my_platform == "64": - print "64bit system detected" - ARCH = "x64" - my_libraries = [ 'ow' ] #if ARCH == "x64": @@ -161,7 +128,7 @@ my_extra_link_args = [ arg for arg in my_extra_link_args if len(arg) > 1 ] my_include_dirs = [ '../../owlib/src/include', '../../../src/include' ] my_library_dirs = [ '../../owlib/src/c/.libs' ] -my_runtime_library_dirs = [ '@LIBDIR@' ] +my_runtime_library_dirs = [ ] sources = [ 'ow_wrap.c' ] debian/patches/for-upstream_manpage-typos.patch0000664000000000000000000000163411762767441017153 0ustar Fix typos in manpage revealed by lintian --- a/src/man/owshell.1 +++ b/src/man/owshell.1 @@ -166,7 +166,7 @@ .PP .B owserver (1) performs the actual 1-wire connection (to physical 1-wire busses or other -.B owserver +/.B owserver programs), performs concurrency locking, caching, and error collection. .PP .B owshell @@ -223,7 +223,7 @@ .I owserver process can be local or remote. .PP -If the server option is not specified, the default is the local machine and the IANA allocated default port of 4304. Thus "-s localhost:4304" is the equivalent. +If the server option is not specified, the default is the local machine and the IANA allocated default port of 4304. Thus "\-s localhost:4304" is the equivalent. .SH DATA OPTIONS .SH \-\-hex Hexidecimal mode. For reading data, each byte of character will be displayed as two characrters 0-9ABCDEF. Most useful for reading memory locations. No spaces between data. debian/patches/series0000664000000000000000000000024611762767441012055 0ustar tcltk.patch linkage.patch doc.patch for-upstream_manpage-typos.patch deb-specific_python-install.patch deb_specific__owfs-use-config.patch for-upstream_fix-ABI.patch debian/patches/doc.patch0000664000000000000000000004476711762767441012446 0ustar remove fake 'n' section in manpage, remplace it by section '3' (libraries) --- /dev/null +++ b/src/man/ow.3 @@ -0,0 +1,2 @@ +.so owtcl.3 + --- a/src/man/ow.n +++ /dev/null @@ -1,2 +0,0 @@ -.so owtcl.n - --- a/src/man/owtcl.n +++ /dev/null @@ -1,400 +0,0 @@ -'\" -'\" The definitions below are for supplemental macros used in Tcl/Tk -'\" manual entries. -'\" -'\" .AP type name in/out ?indent? -'\" Start paragraph describing an argument to a library procedure. -'\" type is type of argument (int, etc.), in/out is either "in", "out", -'\" or "in/out" to describe whether procedure reads or modifies arg, -'\" and indent is equivalent to second arg of .IP (shouldn't ever be -'\" needed; use .AS below instead) -'\" -'\" .AS ?type? ?name? -'\" Give maximum sizes of arguments for setting tab stops. Type and -'\" name are examples of largest possible arguments that will be passed -'\" to .AP later. If args are omitted, default tab stops are used. -'\" -'\" .BS -'\" Start box enclosure. From here until next .BE, everything will be -'\" enclosed in one large box. -'\" -'\" .BE -'\" End of box enclosure. -'\" -'\" .CS -'\" Begin code excerpt. -'\" -'\" .CE -'\" End code excerpt. -'\" -'\" .VS ?br? -'\" Begin vertical sidebar, for use in marking newly-changed parts -'\" of man pages. If an argument is present, then a line break is -'\" forced before starting the sidebar. -'\" -'\" .VE -'\" End of vertical sidebar. -'\" -'\" .DS -'\" Begin an indented unfilled display. -'\" -'\" .DE -'\" End of indented unfilled display. -'\" -'\" .SO -'\" Start of list of standard options for a Tk widget. The -'\" options follow on successive lines, in four columns separated -'\" by tabs. -'\" -'\" .SE -'\" End of list of standard options for a Tk widget. -'\" -'\" .OP cmdName dbName dbClass -'\" Start of description of a specific option. cmdName gives the -'\" option's name as specified in the class command, dbName gives -'\" the option's name in the option database, and dbClass gives -'\" the option's class in the option database. -'\" -'\" .UL arg1 arg2 -'\" Print arg1 underlined, then print arg2 normally. -'\" -'\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages. -.if t .wh -1.3i ^B -.nr ^l \n(.l -.ad b -'\" # Start an argument description -.de AP -.ie !'\\$4'' .TP \\$4 -.el \{\ -. ie !'\\$2'' .TP \\n()Cu -. el .TP 15 -.\} -.ie !'\\$3'' \{\ -.ta \\n()Au \\n()Bu -\&\\$1 \\fI\\$2\\fP (\\$3) -.\".b -.\} -.el \{\ -.br -.ie !'\\$2'' \{\ -\&\\$1 \\fI\\$2\\fP -.\} -.el \{\ -\&\\fI\\$1\\fP -.\} -.\} -.. -'\" # define tabbing values for .AP -.de AS -.nr )A 10n -.if !'\\$1'' .nr )A \\w'\\$1'u+3n -.nr )B \\n()Au+15n -.\" -.if !'\\$2'' .nr )B \\w'\\$2'u+\\n()Au+3n -.nr )C \\n()Bu+\\w'(in/out)'u+2n -.. -.AS Tcl_Interp Tcl_CreateInterp in/out -'\" # BS - start boxed text -'\" # ^y = starting y location -'\" # ^b = 1 -.de BS -.br -.mk ^y -.nr ^b 1u -.if n .nf -.if n .ti 0 -.if n \l'\\n(.lu\(ul' -.if n .fi -.. -'\" # BE - end boxed text (draw box now) -.de BE -.nf -.ti 0 -.mk ^t -.ie n \l'\\n(^lu\(ul' -.el \{\ -.\" Draw four-sided box normally, but don't draw top of -.\" box if the box started on an earlier page. -.ie !\\n(^b-1 \{\ -\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul' -.\} -.el \}\ -\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul' -.\} -.\} -.fi -.br -.nr ^b 0 -.. -'\" # VS - start vertical sidebar -'\" # ^Y = starting y location -'\" # ^v = 1 (for troff; for nroff this doesn't matter) -.de VS -.if !'\\$1'' .br -.mk ^Y -.ie n 'mc \s12\(br\s0 -.el .nr ^v 1u -.. -'\" # VE - end of vertical sidebar -.de VE -.ie n 'mc -.el \{\ -.ev 2 -.nf -.ti 0 -.mk ^t -\h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n' -.sp -1 -.fi -.ev -.\} -.nr ^v 0 -.. -'\" # Special macro to handle page bottom: finish off current -'\" # box/sidebar if in box/sidebar mode, then invoked standard -'\" # page bottom macro. -.de ^B -.ev 2 -'ti 0 -'nf -.mk ^t -.if \\n(^b \{\ -.\" Draw three-sided box if this is the box's first page, -.\" draw two sides but no top otherwise. -.ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c -.el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c -.\} -.if \\n(^v \{\ -.nr ^x \\n(^tu+1v-\\n(^Yu -\kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c -.\} -.bp -'fi -.ev -.if \\n(^b \{\ -.mk ^y -.nr ^b 2 -.\} -.if \\n(^v \{\ -.mk ^Y -.\} -.. -'\" # DS - begin display -.de DS -.RS -.nf -.sp -.. -'\" # DE - end display -.de DE -.fi -.RE -.sp -.. -'\" # SO - start of list of standard options -.de SO -.SH "STANDARD OPTIONS" -.LP -.nf -.ta 4c 8c 12c -.ft B -.. -'\" # SE - end of list of standard options -.de SE -.fi -.ft R -.LP -See the \\fBoptions\\fR manual entry for details on the standard options. -.. -'\" # OP - start of full description for a single option -.de OP -.LP -.nf -.ta 4c -Command-Line Name: \\fB\\$1\\fR -Database Name: \\fB\\$2\\fR -Database Class: \\fB\\$3\\fR -.fi -.IP -.. -'\" # CS - begin code excerpt -.de CS -.RS -.nf -.ta .25i .5i .75i 1i -.. -'\" # CE - end code excerpt -.de CE -.fi -.RE -.. -.de UL -\\$1\l'|0\(ul'\\$2 -.. -.TH "Owtcl" TCL "20/January/2005" "Tcl" -.HS table tk -.BS -.SH NAME -Owtcl \- OWFS library access commands for Tcl -.SH SYNOPSIS -\fBpackage \fBrequire \fBow -.sp -\fBow\fI \fIoption \fR?\fIarg ...\fR? -.sp -\fB::OW::init\fI \fIinterface \fR?\fIinterface ...\fR? \fR?\fIarg ...\fR? -.br -\fB::OW::finish -.br -\fB::OW::isconnect -.br -\fB::OW::get\fI \fR?\fIpath\fR? \fR?\fIarg ...\fR? -.br -\fB::OW::put\fI \fIpath \fR?\fIvalue\fR? -.br -\fB::OW::isdirectory\fI \fIpath -.br -\fB::OW::isdir\fI \fIpath -.br -\fB::OW::exists\fI \fIpath -\fR -.SH DESCRIPTION -.so description.nso -.SS owtcl -.B owtcl (3) -is a Tcl extension that provides an interface to OWFS. The underlying interface to the 1-wire bus is identical to -.B owfs (1) -(filesystem view) and -.B owhttpd (1) -web server interface. Only the top -layer has been modified to return native Tcl data. -.SH COMMANDS -Performs one of several operations, depending on \fIoption\fR. -The legal \fIoption\fRs (which may be abbreviated) are: -.TP -\fBow open \fIarg ...\fR -Connect to 1-wire adapter or \fIowserver\fR. \fIarg ...\fR defines a way of -connection to the 1-wire bus. -.br -The full set of initialization args is extensive. They correspond roughly to the command line args of -.B owfs (1) -.B owhttpd (1) -and -.B owftpd (1) - -.TP -\fBow close -Close connection to 1-wire bus or owserver. - -.TP -\fBow version\fR ?\fI-list\fR? -Return version of the owtcl and owlib/ - -.TP -\fBow opened -Return 1 if connected to 1-wire adapter or \fIowserver\fR, otherwise 0. - -.TP -\fBow error\fR \fIlevel\fR \fIvalue\fR -Set debug options. See -.B owfs (5) - -.TP -\fBow error\fR \fIprint\fR \fIvalue\fR -Set debug options. See -.B owfs (5) - -.TP -\fBow get\fR \fIpath\fR \fR?\fI-list\fR? -Returns contents of OWFS directory as the list if path contains name OWFS directory. -If path is name of OWFS file, returns of contents of this file. For files *.ALL -returns a values list. - - -.TP -\fBow put \fIpath \fR\fIvalue\fR -Puts \fIvalue\fR in OWFS file indicated in \fIpath\fR. For files *.ALL use a value -list. - -.TP -\fBow isdirectory \fIpath -If \fIpath\fR is the directory return 1. Otherwise return 0. - -.TP -\fBow isdir \fIpath -Synonym of \fBow isdirectory - -.TP -\fBow set \fIpath -Creates a new \fBow\fR-like command with root in the \fIpath\fR. -A new command allows options \fIget\fR, \fIput\fR, \fIisdirectory\fR, \fIisdir\fR and \fIset\fR. - - -.SH LOW-LEVEL COMMANDS -The following low-level commands are possible: -.TP -\fB::OW::init \fIinterface \fR?\fIinterface ...\fR? \fR?\fIarg ...\fR? -Connect to 1-wire adapter or \fIowserver\fR. \fIinterface\fR and \fIarg ...\fR defines a way of -connection to the 1-wire bus. -.br -The full set of initialization options is extensive. They correspond roughly to the command line options of -,B owfs (1) -.B owhttpd (1) -and -.B owftpd (1) - -.TP -\fB::OW::finish -Close connection to 1-wire bus or owserver. - -.TP -\fB::OW::isconnect -Return 1 if connected to 1-wire adapter or \fIowserver\fR, otherwise 0. - -.TP -\fB::OW::get \fR?\fIpath\fR? \fR?\fI-list\fR? -Returns contents of OWFS directory as the list if path contains name OWFS directory. -If path is name of OWFS file, returns of contents of this file. For files *.ALL -returns a values list. If path is not defined, contents of root OWFS directory come -back. - -.TP -\fB::OW::put \fIpath \fR?\fIvalue\fR? -Puts \fIvalue\fR in OWFS file indicated in \fIpath\fR. For files *.ALL use a value -list. If /fIvalue\fR is not defined, puts a empty string. - -.TP -\fB::OW::isdirectory \fIpath -If \fIpath\fR is the directory - return 1. Otherwise return 0. - -.TP -\fB::OW::isdir \fIpath -Synonym of \fB::OW::isdirectory - -.TP -\fB::OW::exists \fIpath -If \fIpath\fR is exists - return 1. Otherwise return 0. - -.SH EXAMPLE -.CS -package require ow - -ow open \-d /dev/ttyS0 \-t 60 - -set save_templow [ow get /28.86BF80000000/templow] -ow put /28.86BF80000000/templow 10 - -set room_sensor [ow set /28.86BF80000000] -$room_sensor put temphigh 50 - -set room_temp [$room_sensor set temperature] -set current_temp [$room_temp get] -.CE - -.SH SEE ALSO -.so seealso.nso -.SH AVAILABILITY -http://www.owfs.org -.SH AUTHOR -Serg Oskin (serg@oskin.ru) -.sp - --- /dev/null +++ b/src/man/owtcl.3 @@ -0,0 +1,399 @@ +'\" +'\" The definitions below are for supplemental macros used in Tcl/Tk +'\" manual entries. +'\" +'\" .AP type name in/out ?indent? +'\" Start paragraph describing an argument to a library procedure. +'\" type is type of argument (int, etc.), in/out is either "in", "out", +'\" or "in/out" to describe whether procedure reads or modifies arg, +'\" and indent is equivalent to second arg of .IP (shouldn't ever be +'\" needed; use .AS below instead) +'\" +'\" .AS ?type? ?name? +'\" Give maximum sizes of arguments for setting tab stops. Type and +'\" name are examples of largest possible arguments that will be passed +'\" to .AP later. If args are omitted, default tab stops are used. +'\" +'\" .BS +'\" Start box enclosure. From here until next .BE, everything will be +'\" enclosed in one large box. +'\" +'\" .BE +'\" End of box enclosure. +'\" +'\" .CS +'\" Begin code excerpt. +'\" +'\" .CE +'\" End code excerpt. +'\" +'\" .VS ?br? +'\" Begin vertical sidebar, for use in marking newly-changed parts +'\" of man pages. If an argument is present, then a line break is +'\" forced before starting the sidebar. +'\" +'\" .VE +'\" End of vertical sidebar. +'\" +'\" .DS +'\" Begin an indented unfilled display. +'\" +'\" .DE +'\" End of indented unfilled display. +'\" +'\" .SO +'\" Start of list of standard options for a Tk widget. The +'\" options follow on successive lines, in four columns separated +'\" by tabs. +'\" +'\" .SE +'\" End of list of standard options for a Tk widget. +'\" +'\" .OP cmdName dbName dbClass +'\" Start of description of a specific option. cmdName gives the +'\" option's name as specified in the class command, dbName gives +'\" the option's name in the option database, and dbClass gives +'\" the option's class in the option database. +'\" +'\" .UL arg1 arg2 +'\" Print arg1 underlined, then print arg2 normally. +'\" +'\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages. +.if t .wh -1.3i ^B +.nr ^l \n(.l +.ad b +'\" # Start an argument description +.de AP +.ie !'\\$4'' .TP \\$4 +.el \{\ +. ie !'\\$2'' .TP \\n()Cu +. el .TP 15 +.\} +.ie !'\\$3'' \{\ +.ta \\n()Au \\n()Bu +\&\\$1 \\fI\\$2\\fP (\\$3) +.\".b +.\} +.el \{\ +.br +.ie !'\\$2'' \{\ +\&\\$1 \\fI\\$2\\fP +.\} +.el \{\ +\&\\fI\\$1\\fP +.\} +.\} +.. +'\" # define tabbing values for .AP +.de AS +.nr )A 10n +.if !'\\$1'' .nr )A \\w'\\$1'u+3n +.nr )B \\n()Au+15n +.\" +.if !'\\$2'' .nr )B \\w'\\$2'u+\\n()Au+3n +.nr )C \\n()Bu+\\w'(in/out)'u+2n +.. +.AS Tcl_Interp Tcl_CreateInterp in/out +'\" # BS - start boxed text +'\" # ^y = starting y location +'\" # ^b = 1 +.de BS +.br +.mk ^y +.nr ^b 1u +.if n .nf +.if n .ti 0 +.if n \l'\\n(.lu\(ul' +.if n .fi +.. +'\" # BE - end boxed text (draw box now) +.de BE +.nf +.ti 0 +.mk ^t +.ie n \l'\\n(^lu\(ul' +.el \{\ +.\" Draw four-sided box normally, but don't draw top of +.\" box if the box started on an earlier page. +.ie !\\n(^b-1 \{\ +\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul' +.\} +.el \}\ +\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul' +.\} +.\} +.fi +.br +.nr ^b 0 +.. +'\" # VS - start vertical sidebar +'\" # ^Y = starting y location +'\" # ^v = 1 (for troff; for nroff this doesn't matter) +.de VS +.if !'\\$1'' .br +.mk ^Y +.ie n 'mc \s12\(br\s0 +.el .nr ^v 1u +.. +'\" # VE - end of vertical sidebar +.de VE +.ie n 'mc +.el \{\ +.ev 2 +.nf +.ti 0 +.mk ^t +\h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n' +.sp -1 +.fi +.ev +.\} +.nr ^v 0 +.. +'\" # Special macro to handle page bottom: finish off current +'\" # box/sidebar if in box/sidebar mode, then invoked standard +'\" # page bottom macro. +.de ^B +.ev 2 +'ti 0 +'nf +.mk ^t +.if \\n(^b \{\ +.\" Draw three-sided box if this is the box's first page, +.\" draw two sides but no top otherwise. +.ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c +.el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c +.\} +.if \\n(^v \{\ +.nr ^x \\n(^tu+1v-\\n(^Yu +\kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c +.\} +.bp +'fi +.ev +.if \\n(^b \{\ +.mk ^y +.nr ^b 2 +.\} +.if \\n(^v \{\ +.mk ^Y +.\} +.. +'\" # DS - begin display +.de DS +.RS +.nf +.sp +.. +'\" # DE - end display +.de DE +.fi +.RE +.sp +.. +'\" # SO - start of list of standard options +.de SO +.SH "STANDARD OPTIONS" +.LP +.nf +.ta 4c 8c 12c +.ft B +.. +'\" # SE - end of list of standard options +.de SE +.fi +.ft R +.LP +See the \\fBoptions\\fR manual entry for details on the standard options. +.. +'\" # OP - start of full description for a single option +.de OP +.LP +.nf +.ta 4c +Command-Line Name: \\fB\\$1\\fR +Database Name: \\fB\\$2\\fR +Database Class: \\fB\\$3\\fR +.fi +.IP +.. +'\" # CS - begin code excerpt +.de CS +.RS +.nf +.ta .25i .5i .75i 1i +.. +'\" # CE - end code excerpt +.de CE +.fi +.RE +.. +.de UL +\\$1\l'|0\(ul'\\$2 +.. +.TH "Owtcl" 3 "20/January/2005" "Tcl" +.BS +.SH NAME +Owtcl \- OWFS library access commands for Tcl +.SH SYNOPSIS +\fBpackage \fBrequire \fBow +.sp +\fBow\fI \fIoption \fR?\fIarg ...\fR? +.sp +\fB::OW::init\fI \fIinterface \fR?\fIinterface ...\fR? \fR?\fIarg ...\fR? +.br +\fB::OW::finish +.br +\fB::OW::isconnect +.br +\fB::OW::get\fI \fR?\fIpath\fR? \fR?\fIarg ...\fR? +.br +\fB::OW::put\fI \fIpath \fR?\fIvalue\fR? +.br +\fB::OW::isdirectory\fI \fIpath +.br +\fB::OW::isdir\fI \fIpath +.br +\fB::OW::exists\fI \fIpath +\fR +.SH DESCRIPTION +.so description.3so +.SS owtcl +.B owtcl (3) +is a Tcl extension that provides an interface to OWFS. The underlying interface to the 1-wire bus is identical to +.B owfs (1) +(filesystem view) and +.B owhttpd (1) +web server interface. Only the top +layer has been modified to return native Tcl data. +.SH COMMANDS +Performs one of several operations, depending on \fIoption\fR. +The legal \fIoption\fRs (which may be abbreviated) are: +.TP +\fBow open \fIarg ...\fR +Connect to 1-wire adapter or \fIowserver\fR. \fIarg ...\fR defines a way of +connection to the 1-wire bus. +.br +The full set of initialization args is extensive. They correspond roughly to the command line args of +.B owfs (1) +.B owhttpd (1) +and +.B owftpd (1) + +.TP +\fBow close +Close connection to 1-wire bus or owserver. + +.TP +\fBow version\fR ?\fI-list\fR? +Return version of the owtcl and owlib/ + +.TP +\fBow opened +Return 1 if connected to 1-wire adapter or \fIowserver\fR, otherwise 0. + +.TP +\fBow error\fR \fIlevel\fR \fIvalue\fR +Set debug options. See +.B owfs (5) + +.TP +\fBow error\fR \fIprint\fR \fIvalue\fR +Set debug options. See +.B owfs (5) + +.TP +\fBow get\fR \fIpath\fR \fR?\fI-list\fR? +Returns contents of OWFS directory as the list if path contains name OWFS directory. +If path is name of OWFS file, returns of contents of this file. For files *.ALL +returns a values list. + + +.TP +\fBow put \fIpath \fR\fIvalue\fR +Puts \fIvalue\fR in OWFS file indicated in \fIpath\fR. For files *.ALL use a value +list. + +.TP +\fBow isdirectory \fIpath +If \fIpath\fR is the directory return 1. Otherwise return 0. + +.TP +\fBow isdir \fIpath +Synonym of \fBow isdirectory + +.TP +\fBow set \fIpath +Creates a new \fBow\fR-like command with root in the \fIpath\fR. +A new command allows options \fIget\fR, \fIput\fR, \fIisdirectory\fR, \fIisdir\fR and \fIset\fR. + + +.SH LOW-LEVEL COMMANDS +The following low-level commands are possible: +.TP +\fB::OW::init \fIinterface \fR?\fIinterface ...\fR? \fR?\fIarg ...\fR? +Connect to 1-wire adapter or \fIowserver\fR. \fIinterface\fR and \fIarg ...\fR defines a way of +connection to the 1-wire bus. +.br +The full set of initialization options is extensive. They correspond roughly to the command line options of +,B owfs (1) +.B owhttpd (1) +and +.B owftpd (1) + +.TP +\fB::OW::finish +Close connection to 1-wire bus or owserver. + +.TP +\fB::OW::isconnect +Return 1 if connected to 1-wire adapter or \fIowserver\fR, otherwise 0. + +.TP +\fB::OW::get \fR?\fIpath\fR? \fR?\fI-list\fR? +Returns contents of OWFS directory as the list if path contains name OWFS directory. +If path is name of OWFS file, returns of contents of this file. For files *.ALL +returns a values list. If path is not defined, contents of root OWFS directory come +back. + +.TP +\fB::OW::put \fIpath \fR?\fIvalue\fR? +Puts \fIvalue\fR in OWFS file indicated in \fIpath\fR. For files *.ALL use a value +list. If /fIvalue\fR is not defined, puts a empty string. + +.TP +\fB::OW::isdirectory \fIpath +If \fIpath\fR is the directory - return 1. Otherwise return 0. + +.TP +\fB::OW::isdir \fIpath +Synonym of \fB::OW::isdirectory + +.TP +\fB::OW::exists \fIpath +If \fIpath\fR is exists - return 1. Otherwise return 0. + +.SH EXAMPLE +.CS +package require ow + +ow open \-d /dev/ttyS0 \-t 60 + +set save_templow [ow get /28.86BF80000000/templow] +ow put /28.86BF80000000/templow 10 + +set room_sensor [ow set /28.86BF80000000] +$room_sensor put temphigh 50 + +set room_temp [$room_sensor set temperature] +set current_temp [$room_temp get] +.CE + +.SH SEE ALSO +.so seealso.3so +.SH AVAILABILITY +http://www.owfs.org +.SH AUTHOR +Serg Oskin (serg@oskin.ru) +.sp + --- a/src/man/Makefile.am +++ b/src/man/Makefile.am @@ -31,9 +31,9 @@ LCD.3 \ OWNet.3 \ owperl.3 \ - owtcl.n \ + owtcl.3 \ owfs.5 owfs.conf.5 \ - ow.n + ow.3 EXTRA_DIST = ${man_MANS} *.?so install-data-am: install-man install-so-man debian/patches/deb_specific__owfs-use-config.patch0000664000000000000000000000045711762767441017516 0ustar Document the fact that owfs has been patched to always read /etc/owfs.conf --- a/src/man/owfs.1 +++ b/src/man/owfs.1 @@ -42,6 +42,11 @@ .so format.1so .so job_control.1so .so configuration.1so +.PP +On Debian, +.B owfs (1) +always reads +.I /etc/owfs.conf .so help.1so .so timeout.1so .SH EXAMPLE debian/patches/tcltk.patch0000664000000000000000000000064111762767441013001 0ustar Force install path of tcltk lib conforming to the FHS --- a/configure.ac +++ b/configure.ac @@ -863,7 +863,7 @@ # might contain staging_dir prefix when cross-compiling. OWTCL_INSTALL_PATH="`echo ${TCL_PACKAGE_PATH} | cut -d' ' -f1`" # Debian Hack: do not install in /usr/local/lib/tcltk - # OWTCL_INSTALL_PATH="/usr/lib/tcltk" + OWTCL_INSTALL_PATH="/usr/lib/tcltk" AC_SUBST(OWTCL_INSTALL_PATH) fi fi debian/patches/deb-specific_python-install.patch0000664000000000000000000000316611762767441017247 0ustar Force Debian layout for python modules --- a/module/ownet/python/Makefile.am +++ b/module/ownet/python/Makefile.am @@ -6,7 +6,9 @@ # OpenSUSE is buggy and install libraries at /usr/local. # Need to add call "install_lib --install-dir" or call "install --install-lib" # $(PYTHON) setup.py install_lib --install-dir="/$(DESTDIR)$(PYSITEDIR)" - $(PYTHON) setup.py install --install-lib="$(DESTDIR)$(PYSITEDIR)" + set -e ; set -x ; for p in $$(pyversions -r ../../../debian/control) ; do \ + $$p setup.py install --install-layout=deb --root=$(DESTDIR) ; \ + done # Other options are (but not needed): --install-data="/$(DESTDIR)$(PYSITEDIR)" --install-script="/$(DESTDIR)$(PYSITEDIR)" --install-header= clean-local: --- a/module/swig/python/Makefile.am +++ b/module/swig/python/Makefile.am @@ -11,13 +11,17 @@ $(SWIG) -python -o $@ ../ow.i OW.py: ow_wrap.c setup.py $(LIBOW) - CFLAGS="" $(PYTHON) setup.py build + set -e ; set -x ; for p in $$(pyversions -r ../../../debian/control) ; do \ + CFLAGS="" $$p setup.py build ; \ + done install-data-local: # OpenSUSE is buggy and install libraries at /usr/local. # Need to add call "install_lib --install-dir" or call "install --install-lib" # $(PYTHON) setup.py install_lib --install-dir="/$(DESTDIR)$(PYSITEDIR)" - $(PYTHON) setup.py install --install-lib="$(DESTDIR)$(PYSITEDIR)" + set -e ; set -x ; for p in $$(pyversions -r ../../../debian/control) ; do \ + $$p setup.py install --install-layout=deb --root=$(DESTDIR) ; \ + done # Other options are (but not needed): --install-data="/$(DESTDIR)$(PYSITEDIR)" --install-script="/$(DESTDIR)$(PYSITEDIR)" --install-header= clean-local: debian/compat0000664000000000000000000000000211762767441010405 0ustar 9 debian/libownet-2.8-15.install0000664000000000000000000000003211762767441013145 0ustar usr/lib/*/libownet-*.so.* debian/owftpd.init0000664000000000000000000000400611762767441011377 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: owftpd # Required-Start: $remote_fs $network $syslog $named # Required-Stop: $remote_fs $network $syslog $named # Should-Start: owserver # Should-Stop: owserver # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: 1-wire FTP server # Description: Start and stop an anonymous FTP server for 1-wire control. ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin CONFFILE=/etc/owfs.conf DESC="1-Wire FTP server" NAME="owftpd" DAEMON=/usr/bin/$NAME PIDDIR=/var/run/owfs PIDFILE=$PIDDIR/$NAME.pid # Gracefully exit if the package has been removed. test -x $DAEMON || exit 0 . /lib/lsb/init-functions d_start() { [ -d $PIDDIR ] || { mkdir -m 0775 -p $PIDDIR chown root:root $PIDDIR >/dev/null 2>&1 } start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- -c $CONFFILE \ --pid-file $PIDFILE # ensure the daemon has been started sleep 1 pidofproc -p $PIDFILE $DAEMON >/dev/null } d_stop() { start-stop-daemon --stop --quiet --oknodo --exec $DAEMON sleep 1 if [ -f $PIDFILE ] && ! ps h `cat $PIDFILE` > /dev/null then # Stale PID file (owhttpd was successfilly stoped), #remove it rm -f $PIDFILE fi } d_status() { pidofproc -p $PIDFILE $DAEMON > /dev/null } case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" d_start log_end_msg $? ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" d_stop log_end_msg $? ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" d_status && d_stop d_start log_end_msg $? ;; status) d_status if [ $? -eq 0 ];then log_success_msg "$NAME is running" else log_failure_msg "$NAME is not running" fi ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 debian/libownet-perl.install0000664000000000000000000000012111762767441013354 0ustar usr/share/perl5/OWNet.pm usr/share/man/man3/OWNet.3 usr/share/man/man3/OWNet.3pm debian/libow-php5.install0000664000000000000000000000001511762767441012561 0ustar usr/lib/php5 debian/owftpd.install0000664000000000000000000000005311762767441012100 0ustar usr/bin/owftpd usr/share/man/man1/owftpd.1 debian/owfs-common.docs0000664000000000000000000000002411762767441012321 0ustar AUTHORS NEWS README debian/owhttpd.init0000664000000000000000000000400311762767441011562 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: owhttpd # Required-Start: $remote_fs $network $syslog $named # Required-Stop: $remote_fs $network $syslog $named # Should-Start: owserver # Should-Stop: owserver # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: 1-wire HTTP server # Description: Start and stop a tiny webserver for 1-wire control. ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin CONFFILE=/etc/owfs.conf DESC="1-Wire HTTP Daemon" NAME="owhttpd" DAEMON=/usr/bin/$NAME PIDDIR=/var/run/owfs PIDFILE=$PIDDIR/$NAME.pid # Gracefully exit if the package has been removed. test -x $DAEMON || exit 0 . /lib/lsb/init-functions d_start() { [ -d $PIDDIR ] || { mkdir -m 0775 -p $PIDDIR chown root:root $PIDDIR >/dev/null 2>&1 } start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- -c $CONFFILE \ --pid-file $PIDFILE # ensure the daemon has been started sleep 1 pidofproc -p $PIDFILE $DAEMON >/dev/null } d_stop() { start-stop-daemon --stop --quiet --oknodo --exec $DAEMON sleep 1 if [ -f $PIDFILE ] && ! ps h `cat $PIDFILE` > /dev/null then # Stale PID file (owhttpd was successfilly stoped), #remove it rm -f $PIDFILE fi } d_status() { pidofproc -p $PIDFILE $DAEMON > /dev/null } case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" d_start log_end_msg $? ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" d_stop log_end_msg $? ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" d_status && d_stop d_start log_end_msg $? ;; status) d_status if [ $? -eq 0 ];then log_success_msg "$NAME is running" else log_failure_msg "$NAME is not running" fi ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0