[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#574669: marked as done (asterisk-prompt-es-co: adjust to asterisk "1.6.0" layout)



Your message dated Thu, 28 Nov 2024 08:34:15 +0000
with message-id <E1tGZyZ-00FZTh-Ob@fasolo.debian.org>
and subject line Bug#574669: fixed in asterisk-prompt-es-co 0.20070403-4
has caused the Debian Bug report #574669,
regarding asterisk-prompt-es-co: adjust to asterisk "1.6.0" layout
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
574669: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574669
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: asterisk-prompt-es-co
Version: 0.20070403-1
Severity: wishlist
Tags: patch

I would like to allow packaging more than one format of the same prompts
in a separate package. This means we can't have all different prompt
packages conflict with each other.

As a way to fix this, I decided to move all the prompts to
/usr/share/asterisk/sounds/xx_YY_Something rather than a simple
/usr/share/asterisk/sounds/xx , and make that 'xx' a symlink.

See:
http://svn.debian.org/viewsvn/pkg-voip?view=rev&revision=8224
http://svn.debian.org/viewsvn/pkg-voip?view=rev&revision=8219

Note that this patch removes the old Asterisk 1.2 compatibility
symlinks. Do you still need them?

Attached a patch to fix the packaging.

I'll also note that:

1. The package has a number of lintian warnings. Seem rather simple to
fix.
2. It seems like a good candidate to being maintained by the pkg-voip
team.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir
diff -u asterisk-prompt-es-co-0.20070403/debian/changelog asterisk-prompt-es-co-0.20070403/debian/changelog
--- asterisk-prompt-es-co-0.20070403/debian/changelog
+++ asterisk-prompt-es-co-0.20070403/debian/changelog
@@ -1,3 +1,12 @@
+asterisk-prompt-es-co (0.20070403-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Moving files to /usr/share/asterisk/sounds/es_CO_f_Avatar 
+  * sounds/es is now a symlink
+  * Removed old Asterisk 1.2 compatibility links. 
+
+ -- Tzafrir Cohen <tzafrir.cohen@xorcom.com>  Sat, 20 Mar 2010 01:35:57 +0200
+
 asterisk-prompt-es-co (0.20070403-1) unstable; urgency=low
 
   * Removed debian/ from .orig.tar.gz
diff -u asterisk-prompt-es-co-0.20070403/debian/asterisk-prompt-es-co.install asterisk-prompt-es-co-0.20070403/debian/asterisk-prompt-es-co.install
--- asterisk-prompt-es-co-0.20070403/debian/asterisk-prompt-es-co.install
+++ asterisk-prompt-es-co-0.20070403/debian/asterisk-prompt-es-co.install
@@ -1,2 +1,2 @@
-*.gsm usr/share/asterisk/sounds/es
-digits/*.gsm usr/share/asterisk/sounds/es/digits
+*.gsm usr/share/asterisk/sounds/es_CO_f_Avatar
+digits/*.gsm usr/share/asterisk/sounds/es_CO_f_Avatar/digits
reverted:
--- asterisk-prompt-es-co-0.20070403/debian/asterisk-prompt-es-co.links
+++ asterisk-prompt-es-co-0.20070403.orig/debian/asterisk-prompt-es-co.links
@@ -1 +0,0 @@
-usr/share/asterisk/sounds/es/digits usr/share/asterisk/sounds/digits/es
only in patch2:
unchanged:
--- asterisk-prompt-es-co-0.20070403.orig/debian/postinst
+++ asterisk-prompt-es-co-0.20070403/debian/postinst
@@ -0,0 +1,45 @@
+#! /bin/sh
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+
+SYMLINK=/usr/share/asterisk/sounds/es
+TARGET=es_CO_f_Avatar
+
+
+case "$1" in
+    configure)
+        if [ ! -d "$SYMLINK" ]; then
+	    if [ -L "$SYMLINK" ]; then
+		# dandling symlink? symlink to a file? kill it
+		rm -f "$SYMLINK"
+	    fi
+	    ln -s "$TARGET" "$SYMLINK"
+	fi
+    ;;
+
+    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
+
+
only in patch2:
unchanged:
--- asterisk-prompt-es-co-0.20070403.orig/debian/postrm
+++ asterisk-prompt-es-co-0.20070403/debian/postrm
@@ -0,0 +1,11 @@
+#! /bin/sh -e
+
+SYMLINK=/usr/share/asterisk/sounds/es
+TARGET=es_CO_f_Avatar
+
+if [ ! -d "$SYMLINK" ] && [ -L "$SYMLINK" ]; then
+    # dandling symlink? symlink to a file? kill it
+    rm -f "$SYMLINK"
+fi
+
+#DEBHELPER#

--- End Message ---
--- Begin Message ---
Source: asterisk-prompt-es-co
Source-Version: 0.20070403-4
Done: Petter Reinholdtsen <pere@debian.org>

We believe that the bug you reported is fixed in the latest version of
asterisk-prompt-es-co, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 574669@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated asterisk-prompt-es-co package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 28 Nov 2024 08:54:50 +0100
Source: asterisk-prompt-es-co
Architecture: source
Version: 0.20070403-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Closes: 574669
Changes:
 asterisk-prompt-es-co (0.20070403-4) unstable; urgency=medium
 .
   * QA upload.
 .
   * Added d/gbp.conf to describe branch layout.
   * Updated vcs in d/control to Salsa.
   * Updated d/gbp.conf to enforce the use of pristine-tar.
   * Use wrap-and-sort -at for debian control files.
   * Bump debhelper from deprecated 9 to 13.
   * Set debhelper-compat version in Build-Depends.
   * Adjusted installed file layout and dropped Asterisk 1.2
     compatibility link (Closes: #574669).
   * Use versioned GPL in d/copyright.
Checksums-Sha1:
 8f875be5315616133b7721eaf348303b3311afc7 2000 asterisk-prompt-es-co_0.20070403-4.dsc
 ead846fe942d839c8f0f7e1db81ac1e476c3090b 2940 asterisk-prompt-es-co_0.20070403-4.debian.tar.xz
 0cdd1b3d188d0aec83f8c3179a08fcd43904fdf5 6447 asterisk-prompt-es-co_0.20070403-4_source.buildinfo
Checksums-Sha256:
 90638248100bcb2e886feb5f0945329660b7ab7f4d90edbe70b8071c7d1d1241 2000 asterisk-prompt-es-co_0.20070403-4.dsc
 c882ad7e18bb9e0b964edb085b986df79ec639988f9373548384b36f336b805c 2940 asterisk-prompt-es-co_0.20070403-4.debian.tar.xz
 a294ab206d56d162070a78fcfb17b1c6b869639990bf83c60a17b7203f4f13c0 6447 asterisk-prompt-es-co_0.20070403-4_source.buildinfo
Files:
 4637d551e8996100620d0db87610d7be 2000 comm optional asterisk-prompt-es-co_0.20070403-4.dsc
 4ce95027576a488fc33f759b6d0ed4af 2940 comm optional asterisk-prompt-es-co_0.20070403-4.debian.tar.xz
 f8e79baff759ee1e2d8ef634b559c0de 6447 comm optional asterisk-prompt-es-co_0.20070403-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmdIIiAACgkQgSgKoIe6
+w5Q6xAAo2ngMXxdmqhZZcCS0NOCSvMf9kZTIDFMkIQh0Dbo8KO1n9yK0EADmKKV
etDeMm/2yUEQfA7Ob6c07AmLr6015NemMnD4fXZPZlbwoE4pzqewUiyo3/9DbH5+
vrXLSYaTubS5KdbKTxBrRwsJWbojhYbyTkAJ39+6mI2hWsLUeZgpM6RSN1Czf4Zx
9PCIG4/bL9ctz5TZ9LJ4fMeh0ytFdwLOMduPL9OBUN2c159zpXqFhrarW6Z8gwan
0OAP4SmAY5RFKWU9XckrB0QicMcTCfty3yBRun0Q+lNPwqUi1/ikScYCHz2JLtX0
4psuK1wT/yYjXODFcmYpSpzxbm1QtJaSop0UskT29KlIs21mywgPD5oOjtbTHLIv
uQiMWXa+1DD8jwLfxryxmfQx5nmWGz1YfDINHLw3CeRiksSN+US4N07Mfeqkh90q
q4C78xePhm1ysGPuhlwlAA/r4X51T7o98TNnYHceluyVfUmZDbtpcBzVOu9Q+Qp0
Gbe0cX3i3sAcXrB53gnEIkuzJHW7JeYvUJigQOz84MuE4oiP3wKrDOK9cq9MUZPH
fR3gpy7E/WKRVaa1hhRHJZZBykpNxoJxPlOtI0B6hYM9jmFmthJHfkgHa45Y9b4H
DL+QiV+SIfbLOKjy1lljzGJ2h1Af7pyOh8V/NASnId5lrUMm9sg=
=k4l5
-----END PGP SIGNATURE-----

Attachment: pgpONIt7ki3f4.pgp
Description: PGP signature


--- End Message ---

Reply to: