debian/0000755000000000000000000000000012173621707007174 5ustar debian/changelog0000644000000000000000000000440212173621667011053 0ustar ushare (1.1a-0ubuntu10) saucy; urgency=low * Typo in ushare init script ( LP: #1044024) -- Nitin Kushwah Wed, 24 Jul 2013 00:51:35 +0530 ushare (1.1a-0ubuntu9) quantal; urgency=low * debian/patches/fix-implicit-pointers.patch: - And fix FTBFS on amd64 by including string.h -- Michael Terry Mon, 02 Jul 2012 20:37:14 -0400 ushare (1.1a-0ubuntu8) quantal; urgency=low * Rebuild for libupnp3->libupnp6 transition * debian/patches/latest-upnp-api.patch: - libupnp changed a sockaddr header field slightly that was only used in some ushare debugging code; drop the use of that field rather than bother to make it ipv6 compatible -- Michael Terry Mon, 02 Jul 2012 18:06:30 -0400 ushare (1.1a-0ubuntu7) precise; urgency=low * Fix FTBFS with -Werror=format-security. * Switch to source format 3.0 (quilt). * Bump Standards-Version to 3.9.2. -- Ilya Barygin Tue, 03 Jan 2012 23:35:53 +0400 ushare (1.1a-0ubuntu6) oneiric; urgency=low * Use dh-translations rather than cdbs langpack.mk (which no longer exists). -- Colin Watson Fri, 19 Aug 2011 13:14:12 +0100 ushare (1.1a-0ubuntu5) lucid; urgency=low * Update copyright dates * Change compat to 7 * Add backport r427 to fix the names in ushare.conf (LP: #250122) * Fix script restart (LP: #378788) * Fix launching order sequence (LP: #386965) * Remove /sbin path in config maintainer script -- Alexis Saettler Sat, 16 Jan 2010 13:36:16 +0100 ushare (1.1a-0ubuntu4) karmic; urgency=low * No-change rebuild to pick up new shlibs file of ffmpeg. -- Stefan Potyra Sat, 29 Aug 2009 23:37:40 +0200 ushare (1.1a-0ubuntu3) jaunty; urgency=low * Rebuild to pickup ffmpeg's new shlibs (LP: #289600) -- Lionel Le Folgoc Sat, 15 Nov 2008 17:03:40 +0100 ushare (1.1a-0ubuntu2) intrepid; urgency=low * Rebuild for the ffmpeg -> ffmpeg-free transition (LP: #245571). -- Michael Bienia Tue, 08 Jul 2008 15:46:37 +0200 ushare (1.1a-0ubuntu1) hardy; urgency=low * initial release in ubuntu (LP: #188629) -- Alexis Saettler Sun, 03 Feb 2008 15:56:51 +0100 debian/ushare.templates0000644000000000000000000000103212173620332012370 0ustar Template: ushare/name Type: string Default: uShare _Description: uShare's name: Set UPnP friendly name. This is the name of this computer shares, seen by UPnP clients. Template: ushare/iface Type: select Choices: ${ifaces} Default: eth0 _Description: Network interface: Set network interface to use for sharing the content. If your interface is not on the list, please edit the file "${configfile}" manualy. Template: ushare/share Type: string Default: _Description: Shared directories: Set the directories to share with uShare. debian/clean0000644000000000000000000000002412173620332010166 0ustar debian/ushare.init debian/compat0000644000000000000000000000000212173620332010363 0ustar 7 debian/control0000644000000000000000000000206612173620332010574 0ustar Source: ushare Section: devel Priority: optional Maintainer: Ubuntu Developers Uploaders: Alexis Saettler XSBC-Original-Maintainer: Alexis Saettler Homepage: http://ushare.geexbox.org Build-Depends: debhelper (>= 7.3.15), cdbs (>= 0.4.59), libupnp-dev (>= 1.4.2), libdlna-dev (>= 0.2.1), pkg-config, po-debconf, dh-translations Standards-Version: 3.9.2 Vcs-Hg: http://hg.geexbox.org/ushare Vcs-Browser: http://hg.geexbox.org/ushare/summary Package: ushare Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: lightweight UPnP A/V Media Server GeeXboX uShare is a UPnP (TM) A/V Media Server. It implements the server component that provides UPnP media devices with information on available multimedia files. uShare uses the built-in http server of libupnp to stream the files to clients. . uShare is written in C for the GeeXboX project. It is designed to provide access to multimedia contents to GeeXboX but can of course be used by any other UPnP client device. debian/po/0000755000000000000000000000000012173621707007612 5ustar debian/po/POTFILES.in0000644000000000000000000000005312173620332011356 0ustar [type: gettext/rfc822deb] ushare.templates debian/po/fr.po0000644000000000000000000000313012173620332010547 0ustar # msgid "" msgstr "" "Project-Id-Version: ushare 1.0\n" "Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" "POT-Creation-Date: 2007-07-15 19:35+0200\n" "PO-Revision-Date: 2007-07-15 19:35+0200\n" "Last-Translator: Alexis Saettler \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../ushare.templates:1001 msgid "uShare's name:" msgstr "Nom de uShare :" #. Type: string #. Description #: ../ushare.templates:1001 msgid "" "Set UPnP friendly name. This is the name of this computer shares, seen by " "UPnP clients." msgstr "" "Défini le nom UPnP. Ceci est le nom de partage de cet ordinateur, tel qu'il " "sera vu par les clients UPnP." #. Type: select #. Description #: ../ushare.templates:2001 msgid "Network interface:" msgstr "Interface réseau :" #. Type: select #. Description #: ../ushare.templates:2001 msgid "" "Set network interface to use for sharing the content. If your interface is " "not on the list, please edit the file \"${configfile}\" manualy." msgstr "" "Défini l'interface réseau à utiliser pour partager le contenu. Si votre " "interface n'apparaît pas dans la liste, merci d'éditer le fichier " "\"${configfile}\" manuellement." #. Type: string #. Description #: ../ushare.templates:3001 msgid "Shared directories:" msgstr "Répertoires à partager :" #. Type: string #. Description #: ../ushare.templates:3001 msgid "Set the directories to share with uShare." msgstr "Défini les répertoires à partager par uShare." debian/po/templates.pot0000644000000000000000000000257012173620332012331 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: ubuntu-motu@lists.ubuntu.com\n" "POT-Creation-Date: 2007-07-15 19:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../ushare.templates:1001 msgid "uShare's name:" msgstr "" #. Type: string #. Description #: ../ushare.templates:1001 msgid "" "Set UPnP friendly name. This is the name of this computer shares, seen by " "UPnP clients." msgstr "" #. Type: select #. Description #: ../ushare.templates:2001 msgid "Network interface:" msgstr "" #. Type: select #. Description #: ../ushare.templates:2001 msgid "" "Set network interface to use for sharing the content. If your interface is " "not on the list, please edit the file \"${configfile}\" manualy." msgstr "" #. Type: string #. Description #: ../ushare.templates:3001 msgid "Shared directories:" msgstr "" #. Type: string #. Description #: ../ushare.templates:3001 msgid "Set the directories to share with uShare." msgstr "" debian/copyright0000644000000000000000000000253012173620332011120 0ustar This package was debianized by Alexis Saettler on Sat, 29 Oct 2005 17:56:07 +0200. It was downloaded from http://ushare.geexbox.org/ Upstream Author: Benjamin Zores Alexis Saettler Includes code from ‘src/gettext.h’: Copyright © 1995-1998, 2000-2002, 2004 Free Software Foundation, Inc. Copyright © 2005-2010 Benjamin Zores License: GPL 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; version 2 dated June, 1991. 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 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-2'. The Debian packaging is © 2007-2010, Alexis Saettler and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/watch0000644000000000000000000000010312173620332010210 0ustar version=3 http://ushare.geexbox.org/releases/ushare-(.*)\.tar\.bz2 debian/rules0000755000000000000000000000232712173620332010251 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/makefile.mk DEB_INSTALL_CHANGELOGS_ALL := ChangeLog DEB_INSTALL_DIRS_ushare := /usr/share/ushare DEB_INSTALL_MANPAGES_ushare := src/ushare.1 USHARE_INIT := $(CURDIR)/debian/ushare.init DEB_UPDATE_RCD_PARAMS_ushare := defaults 80 20 # make targets DEB_MAKE_CLEAN_TARGET := distclean DEB_MAKE_BUILD_TARGET := DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(DEB_DESTDIR) # configure options DEB_CONFIGURE_NORMAL_ARGS += --enable-debug DEB_CONFIGURE_NORMAL_ARGS += --enable-dlna DEB_CONFIGURE_PREFIXS += --prefix=/usr DEB_CONFIGURE_PREFIXS += --sysconfdir=/etc configure/ushare:: [ -f config.mak ] || ./configure $(DEB_CONFIGURE_NORMAL_ARGS) $(DEB_CONFIGURE_PREFIXS) # copy init script, to use with dh_installinit install/ushare:: cp $(CURDIR)/scripts/ushare $(USHARE_INIT) mv $(CURDIR)/debian/$(cdbs_curpkg)/etc/ushare.conf $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/ushare/ sed -i -e "s%\(/etc/ushare.conf\)%\1\n# Edit this file with 'dpkg-reconfigure $(cdbs_curpkg)'%" \ $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/ushare/ushare.conf binary-install/ushare:: dh_translations -p$(cdbs_curpkg) clean:: debconf-updatepo debian/patches/0000755000000000000000000000000012173621705010621 5ustar debian/patches/latest-upnp-api.patch0000644000000000000000000000217712173620332014667 0ustar Description: Drop some debugging code that uses API that has changed Index: ushare-1.1a/src/ushare.c =================================================================== --- ushare-1.1a.orig/src/ushare.c 2012-07-02 18:54:22.641403181 -0400 +++ ushare-1.1a/src/ushare.c 2012-07-02 18:55:16.849403754 -0400 @@ -176,8 +176,6 @@ { struct service_t *service; struct service_action_t *action; - char val[256]; - uint32_t ip; if (!request || !ut) return; @@ -188,11 +186,6 @@ if (strcmp (request->DevUDN + 5, ut->udn)) return; - ip = request->CtrlPtIPAddr.s_addr; - ip = ntohl (ip); - sprintf (val, "%d.%d.%d.%d", - (ip >> 24) & 0xFF, (ip >> 16) & 0xFF, (ip >> 8) & 0xFF, ip & 0xFF); - if (ut->verbose) { DOMString str = ixmlPrintDocument (request->ActionRequest); @@ -201,7 +194,6 @@ log_verbose ("***************************************************\n"); log_verbose ("ServiceID: %s\n", request->ServiceID); log_verbose ("ActionName: %s\n", request->ActionName); - log_verbose ("CtrlPtIP: %s\n", val); log_verbose ("Action Request:\n%s\n", str); ixmlFreeDOMString (str); } debian/patches/series0000644000000000000000000000022412173621064012032 0ustar 01-r427-fix-ushare-conf.patch 02-add-sleep.patch format-security.patch latest-upnp-api.patch fix-implicit-pointers.patch fix-init-script-typo.patch debian/patches/format-security.patch0000644000000000000000000000062712173620332014777 0ustar Description: fix FTBFS with -Werror=format-security Author: Ilya Barygin --- ushare-1.1a.orig/src/mime.c +++ ushare-1.1a/src/mime.c @@ -144,7 +144,7 @@ char *mime_get_protocol (struct mime_typ if (!mime) return NULL; - sprintf (protocol, mime->mime_protocol); + sprintf (protocol, "%s", mime->mime_protocol); strcat (protocol, "*"); return strdup (protocol); } debian/patches/01-r427-fix-ushare-conf.patch0000644000000000000000000000113512173620332015545 0ustar http://hg.geexbox.org/ushare/raw-diff/cc1d526908cb/scripts/ushare.conf --- a/scripts/ushare.conf Mon Nov 12 20:39:46 2007 +0100 +++ b/scripts/ushare.conf Sun Dec 16 17:58:50 2007 +0100 @@ -31,15 +31,15 @@ USHARE_OVERRIDE_ICONV_ERR= # Enable Web interface (yes/no) -ENABLE_WEB= +USHARE_ENABLE_WEB= # Enable Telnet control interface (yes/no) -ENABLE_TELNET= +USHARE_ENABLE_TELNET= # Use XboX 360 compatibility mode (yes/no) -ENABLE_XBOX= +USHARE_ENABLE_XBOX= # Use DLNA profile (yes/no) # This is needed for PlayStation3 to work (among other devices) -ENABLE_DLNA= +USHARE_ENABLE_DLNA= debian/patches/fix-init-script-typo.patch0000644000000000000000000000073312173621130015657 0ustar Index: ushare/scripts/ushare =================================================================== --- ushare.orig/scripts/ushare 2013-07-24 10:38:47.316597793 +1000 +++ ushare/scripts/ushare 2013-07-24 10:39:31.980598936 +1000 @@ -48,7 +48,7 @@ start) log_daemon_msg "Starting $DESC: $NAME" if ! $(check_shares); then - log_warning_msg "No shares avalaible ..." + log_warning_msg "No shares available ..." log_end_msg 0 else checkpid debian/patches/02-add-sleep.patch0000644000000000000000000000064012173620332013712 0ustar Description: fix script restart Author: Ludwin Janvier Bug-Ubuntu: https://launchpad.net/bugs/378788 diff -Nur -x '*.orig' -x '*~' ushare-1.1a/scripts/ushare ushare-1.1a.new/scripts/ushare --- ushare-1.1a/scripts/ushare 2007-12-09 14:03:36.000000000 +0100 +++ ushare-1.1a.new/scripts/ushare 2010-01-16 13:49:53.000000000 +0100 @@ -70,6 +70,7 @@ ;; restart) $0 stop + sleep 1 $0 start ;; *) debian/patches/fix-implicit-pointers.patch0000644000000000000000000000132112173620332016071 0ustar Index: ushare-1.1a/src/cds.c =================================================================== --- ushare-1.1a.orig/src/cds.c 2007-12-09 08:03:36.000000000 -0500 +++ ushare-1.1a/src/cds.c 2012-07-02 20:36:51.433468259 -0400 @@ -20,6 +20,7 @@ */ #include +#include #include #include Index: ushare-1.1a/src/presentation.c =================================================================== --- ushare-1.1a.orig/src/presentation.c 2007-12-09 08:03:36.000000000 -0500 +++ ushare-1.1a/src/presentation.c 2012-07-02 20:36:58.925468339 -0400 @@ -19,6 +19,7 @@ */ #include +#include #if HAVE_LANGINFO_CODESET # include debian/ushare.postinst0000644000000000000000000000070312173620332012261 0ustar #!/bin/sh CONFIGFILE=/etc/ushare.conf set -e . /usr/share/debconf/confmodule update_conf() { VARIABLE=$1 VAL=$2 sed -i -e "s%^[[:space:]]*$VARIABLE=.*%$VARIABLE=$VAL%" $CONFIGFILE } if [ ! -e $CONFIGFILE ]; then install -m 644 /usr/share/ushare/ushare.conf $CONFIGFILE fi db_get ushare/name update_conf USHARE_NAME "$RET" db_get ushare/iface update_conf USHARE_IFACE "$RET" db_get ushare/share update_conf USHARE_DIR "$RET" #DEBHELPER# debian/ushare.config0000644000000000000000000000153512173620332011647 0ustar #!/bin/sh CONFIGFILE=/etc/ushare.conf DEFAULT_USHARE_NAME=uShare DEFAULT_USHARE_IFACE=eth0 set -e . /usr/share/debconf/confmodule if [ -e $CONFIGFILE ]; then . $CONFIGFILE || true [ -z "$USHARE_NAME" ] && USHARE_NAME="$DEFAULT_USHARE_NAME" db_set ushare/name "$USHARE_NAME" [ -z "$USHARE_IFACE" ] && USHARE_IFACE="$DEFAULT_USHARE_IFACE" db_set ushare/iface "$USHARE_IFACE" db_set ushare/share "$USHARE_DIR" fi IFACES=$(ifconfig -s -a | tail --lines=+2 | awk '{ print $1;}') || "" if `echo $IFACES | grep -q -v "$USHARE_IFACE"`; then IFACES=$USHARE_IFACE" $IFACES" fi db_subst ushare/iface ifaces $(echo $IFACES | sed -e "s/ /, /g") || true db_subst ushare/iface configfile $CONFIGFILE || true db_beginblock db_input medium ushare/name || true db_input medium ushare/iface || true db_input medium ushare/share || true db_endblock db_go || true debian/source/0000755000000000000000000000000012173621705010472 5ustar debian/source/format0000644000000000000000000000001412173620332011673 0ustar 3.0 (quilt)