dget --quiet --download-only --allow-unauthenticated https://deb.debian.org/debian/pool/main/p/php-net-socket/php-net-socket_1.2.2-3.dsc
php-net-socket_1.2.2-3.dsc:
gpg: Signature made Fri May 2 14:30:53 2025 UTC
gpg: using RSA key 469CBAA776FDB1FCD475B304D39A499C3C21A552
gpg: Good signature from "Guilhem Moulin" [unknown]
gpg: aka "Guilhem Moulin <guilhem.moulin@ens-lyon.org>" [unknown]
gpg: aka "Guilhem Moulin <guilhem@fripost.org>" [unknown]
gpg: aka "Guilhem Moulin <guilhem@guilhem.org>" [unknown]
gpg: aka "Guilhem Moulin <guilhem@libreoffice.org>" [unknown]
gpg: aka "Guilhem Moulin <guilhem@debian.org>" [unknown]
gpg: WARNING: Using untrusted key!
gpg: can't create `/tmp/.gnupg/random_seed': No such file or directory
Good signature found
validating php-net-socket_1.2.2.orig.tar.gz
validating php-net-socket_1.2.2-3.debian.tar.xz
All files validated successfully.
dscverify --verbose php-net-socket_1.2.2-3.dsc
dpkg-source: info: extracting php-net-socket in php-net-socket-1.2.2
dpkg-source: info: unpacking php-net-socket_1.2.2.orig.tar.gz
dpkg-source: info: unpacking php-net-socket_1.2.2-3.debian.tar.xz
dpkg-source -x php-net-socket_1.2.2-3.dsc
uscan info: The --dehs option enabled.
STDOUT = XML output for use by other programs
STDERR = plain text output for human
Use the redirection of STDOUT to a file to get the clean XML data
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="php-net-socket" version="1.2.2-3" (as seen in debian/changelog)
uscan info: package="php-net-socket" version="1.2.2" (no epoch/revision)
uscan info: ./debian/changelog sets package="php-net-socket" version="1.2.2"
uscan info: Process watch file at: debian/watch
package = php-net-socket
version = 1.2.2
pkg_dir = .
uscan info: debian/watch isn't formatted in version 5, trying version 4
uscan info: File debian/watch converted into << ==EOF==
Version: 5
Source: https://pear.php.net/package/Net_Socket/download
Matching-Pattern: https?://download.pear.php.net/package/Net_Socket-@ANY_VERSION@@ARCHIVE_EXT@
==EOF==
uscan info: Reset watch_version to 4 because default value may change in version 5
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.2.2
uscan info: Download the --download-current-version specified version: 1.2.2
uscan info: Requesting URL:
https://pear.php.net/package/Net_Socket/download
uscan info: Matching pattern:
(?:(?:https://pear.php.net)?\/package\/Net_Socket\/)?https?://download.pear.php.net/package/Net_Socket-(?:[-_]?[Vv]?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz))
uscan info: Found the following matching files on the web page (newest first):
http://download.pear.php.net/package/Net_Socket-1.2.2.tgz (1.2.2) index=1.2.2-0 matched with the download version
http://download.pear.php.net/package/Net_Socket-1.2.2.tgz (1.2.2) index=1.2.2-0 matched with the download version
uscan info: uscan parser results:
$base = https://pear.php.net/package/Net_Socket/download
$filepattern = https?://download.pear.php.net/package/Net_Socket-(?:[-_]?[Vv]?(\d[\-+\.:\~\da-zA-Z]*))(?i)(?:\.(?:tar\.xz|tar\.bz2|tar\.gz|tar\.zstd?|zip|tgz|tbz|txz))
$newfile = http://download.pear.php.net/package/Net_Socket-1.2.2.tgz
$mangled_newversion = 1.2.2
$newversion = 1.2.2
$lastversion = 1.2.2
uscan info: Matching target for downloadurlmangle: http://download.pear.php.net/package/Net_Socket-1.2.2.tgz
uscan info: Upstream URL(+tag) to download is identified as http://download.pear.php.net/package/Net_Socket-1.2.2.tgz
uscan info: Filename (filenamemangled) for downloaded file: Net_Socket-1.2.2.tgz
Newest version of php-net-socket on remote site is 1.2.2, specified download version is 1.2.2
uscan info: Downloading upstream package: Net_Socket-1.2.2.tgz
uscan info: Requesting URL:
http://download.pear.php.net/package/Net_Socket-1.2.2.tgz
uscan info: Successfully downloaded upstream package: Net_Socket-1.2.2.tgz
uscan info: Start checking for common possible upstream OpenPGP signature files
uscan info: End checking for common possible upstream OpenPGP signature files
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): 1.2.2
uscan info: Launch mk-origtargz with options:
--package php-net-socket --version 1.2.2 --compression default --directory /var/tmp/oc.d1ww_i_d/uscan --copyright-file debian/copyright /var/tmp/oc.d1ww_i_d/uscan/Net_Socket-1.2.2.tgz
Successfully symlinked /var/tmp/oc.d1ww_i_d/uscan/Net_Socket-1.2.2.tgz to /var/tmp/oc.d1ww_i_d/uscan/php-net-socket_1.2.2.orig.tar.gz.
uscan info: New orig.tar.* tarball version (after mk-origtargz): 1.2.2
uscan info: Scan finished
{
"debian-mangled-uversion": "1.2.2",
"debian-uversion": "1.2.2",
"messages": "Successfully downloaded upstream package: Net_Socket-1.2.2.tgz",
"package": "php-net-socket",
"target": "php-net-socket_1.2.2.orig.tar.gz",
"target-path": "/var/tmp/oc.d1ww_i_d/uscan/php-net-socket_1.2.2.orig.tar.gz",
"upstream-url": "http://download.pear.php.net/package/Net_Socket-1.2.2.tgz",
"upstream-version": "1.2.2"
}
uscan -v --download-current-version --dehs --destdir=/var/tmp/oc.d1ww_i_d/uscan
version=4
https://pear.php.net/package/Net_Socket/download \
https?://download.pear.php.net/package/Net_Socket-@ANY_VERSION@@ARCHIVE_EXT@
--- debian/php-net-socket_1.2.2.orig.tar.gz
+++ uscan/Net_Socket-1.2.2.tgz
├── filetype from file(1)
│ @@ -1 +1 @@
│ -gzip compressed data, from Unix
│ +gzip compressed data, max compression, from Unix
│ --- php-net-socket_1.2.2.orig.tar
├── +++ Net_Socket-1.2.2.tgz-content
│ ├── file list
│ │ @@ -1,8 +1,5 @@
│ │ -drwxrwxr-x 0 root (0) root (0) 0 2020-12-20 00:57:09.000000 php-net-socket-1.2.2/
│ │ -drwxrwxr-x 0 root (0) root (0) 0 2020-12-20 00:57:09.000000 php-net-socket-1.2.2/Net_Socket-1.2.2/
│ │ --rw-rw-r-- 0 root (0) root (0) 1271 2020-12-20 00:57:09.000000 php-net-socket-1.2.2/Net_Socket-1.2.2/LICENSE
│ │ -drwxrwxr-x 0 root (0) root (0) 0 2020-12-20 00:57:09.000000 php-net-socket-1.2.2/Net_Socket-1.2.2/Net/
│ │ --rw-rw-r-- 0 root (0) root (0) 21830 2020-12-20 00:57:09.000000 php-net-socket-1.2.2/Net_Socket-1.2.2/Net/Socket.php
│ │ --rw-rw-r-- 0 root (0) root (0) 1003 2020-12-20 00:57:09.000000 php-net-socket-1.2.2/Net_Socket-1.2.2/README.md
│ │ --rw-rw-r-- 0 root (0) root (0) 181 2020-12-20 00:57:09.000000 php-net-socket-1.2.2/package.sig
│ │ --rw-rw-r-- 0 root (0) root (0) 2056 2020-12-20 00:57:09.000000 php-net-socket-1.2.2/package.xml
│ │ +-rw-rw-r-- 0 ashnazg (1000) ashnazg (1000) 2056 2017-04-13 17:15:33.000000 package.xml
│ │ +-rw-rw-r-- 0 ashnazg (1000) ashnazg (1000) 21830 2017-04-13 17:15:33.000000 Net_Socket-1.2.2/Net/Socket.php
│ │ +-rw-rw-r-- 0 ashnazg (1000) ashnazg (1000) 1003 2017-04-13 17:15:33.000000 Net_Socket-1.2.2/README.md
│ │ +-rw-rw-r-- 0 ashnazg (1000) ashnazg (1000) 1271 2017-04-13 17:15:33.000000 Net_Socket-1.2.2/LICENSE
│ │ +-rw-rw-r-- 0 ashnazg (1000) ashnazg (1000) 181 2017-04-13 17:16:03.000000 package.sig
│ ├── filetype from file(1)
│ │ @@ -1 +1 @@
│ │ -POSIX tar archive
│ │ +POSIX tar archive (GNU)
│ │ --- php-net-socket-1.2.2/Net_Socket-1.2.2/LICENSE
│ ├── +++ Net_Socket-1.2.2/LICENSE
│ │┄ Files identical despite different names
│ │ --- php-net-socket-1.2.2/Net_Socket-1.2.2/Net/Socket.php
│ ├── +++ Net_Socket-1.2.2/Net/Socket.php
│ │┄ Files identical despite different names
│ │ --- php-net-socket-1.2.2/Net_Socket-1.2.2/README.md
│ ├── +++ Net_Socket-1.2.2/README.md
│ │┄ Files identical despite different names
│ │ --- php-net-socket-1.2.2/package.xml
│ ├── +++ package.xml
│ │┄ Files identical despite different names
diffoscope debian/php-net-socket_1.2.2.orig.tar.gz uscan/Net_Socket-1.2.2.tgz
diffoscope debian/normalized/php-net-socket_1.2.2.orig.tar uscan/normalized/Net_Socket-1.2.2.tgz
diffoscope --exclude-directory-metadata=recursive debian/normalized/php-net-socket_1.2.2.orig.tar uscan/normalized/Net_Socket-1.2.2.tgz