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

Bug#603850: marked as done (Allow equivs to build source packages for upload to Ubuntu PPA's)



Your message dated Fri, 28 Jul 2017 23:33:54 +0000
with message-id <E1dbElW-0001nJ-Tn@fasolo.debian.org>
and subject line Bug#603850: fixed in equivs 2.1.0
has caused the Debian Bug report #603850,
regarding Allow equivs to build source packages for upload to Ubuntu PPA's
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.)


-- 
603850: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603850
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: equivs
Version: 2.0.8
Severity: wishlist

I would like to be able to use `equivs-build` to generate the source
packages needed to upload to my Ubuntu PPA using the `dput` command.

I have attached a patch that modifies the `equivs-build` script to add a
new --source|-s parameter that mirrors the existing --full|-f parameter
except that it passes the -S parameter to dpkg-buildpackage, which then
generates the appropriate source output for PPAs.

I have also done my best to update the manpage and script documentation
to cover the new parameter, but I may be using incorrect terminology as
much of it is a modified copy of the documentation for --full.

If there are any changes you would like to see in how the feature is
handled, I will be glad to modify it as needed.

Cheers


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.16-linode28 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages equivs depends on:
ii  debhelper              7.4.15ubuntu1     helper programs for debian/rules
ii  dpkg-dev               1.15.5.6ubuntu4.3 Debian package development tools
ii  fakeroot               1.14.4-1ubuntu1   Gives a fake root environment
ii  make                   3.81-7ubuntu1     An utility for Directing compilati
ii  perl                   5.10.1-8ubuntu2   Larry Wall's Practical Extraction 

equivs recommends no packages.

equivs suggests no packages.

-- no debconf information
diff -urN --exclude=CVS --exclude=.svn --exclude='.git*' --exclude='*.swp' equivs-2.0.8/debian/equivs-build.pod equivs-2.0.8-jreese/debian/equivs-build.pod
--- equivs-2.0.8/debian/equivs-build.pod	2010-01-19 22:40:29.000000000 -0500
+++ equivs-2.0.8-jreese/debian/equivs-build.pod	2010-11-17 15:54:27.000000000 -0500
@@ -4,7 +4,7 @@
 
 =head1 SYNOPSIS
 
-B<equivs-build [--full|-f] [--arch=foo|-a=foo] controlfile>
+B<equivs-build [--full|-f] [--source|-s] [--arch=foo|-a=foo] controlfile>
 
 =head1 DESCRIPTION
 
@@ -101,6 +101,16 @@
 the last entry of a supplied changelog, the Maintainer: field in the 
 equivs control file, or the local username.
 
+=item --source | -s
+
+Do a source build. B<debuild> will be called, that is, a 
+source package will be built and signed, suitable for upload 
+to the Ubuntu PPA servers. 
+
+The ID used to signed is taken from, in that order, the user from 
+the last entry of a supplied changelog, the Maintainer: field in the 
+equivs control file, or the local username.
+
 =item --arch | -a
 
 Build package for the specified architecture. Used
diff -urN --exclude=CVS --exclude=.svn --exclude='.git*' --exclude='*.swp' equivs-2.0.8/usr/bin/equivs-build equivs-2.0.8-jreese/usr/bin/equivs-build
--- equivs-2.0.8/usr/bin/equivs-build	2010-01-19 23:24:03.000000000 -0500
+++ equivs-2.0.8-jreese/usr/bin/equivs-build	2010-11-17 15:56:31.000000000 -0500
@@ -20,19 +20,20 @@
 
 sub usage {
   print STDERR <<EOU;
-Usage: equivs-build [--full|-f] [--arch=foo|-a=foo] controlfile
+Usage: equivs-build [--full|-f] [--source|-s] [--arch=foo|-a=foo] controlfile
 controlfile is the name of an equivs controlfile.
 You can use "equivs-control filename" to create one.
 
 --full   Full build including signing, etc., suitable for upload to Debian
+--source Source build including signing, etc., suitable for upload to a PPA
 --arch   Build package for a different architecture.
          Used e.g. for building Hurd packages under Linux.
 EOU
   exit 1;
 }
 
-my ($full_package, $arch);
-GetOptions(full => \$full_package, 'arch=s' => \$arch) or usage();
+my ($full_package, $source_only, $arch);
+GetOptions(full => \$full_package, source => \$source_only, 'arch=s' => \$arch) or usage();
 
 my $debug = 0;
 
@@ -168,6 +169,8 @@
 
 if ($full_package) {
   push @build_cmd, qw(dpkg-buildpackage -rfakeroot);
+} elsif ($source_only) {
+  push @build_cmd, qw(dpkg-buildpackage -S -rfakeroot);
 } else {
   push @build_cmd, qw(fakeroot debian/rules binary);
 }

--- End Message ---
--- Begin Message ---
Source: equivs
Source-Version: 2.1.0

We believe that the bug you reported is fixed in the latest version of
equivs, 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 603850@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <abe@debian.org> (supplier of updated equivs 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: Sat, 29 Jul 2017 01:12:47 +0200
Source: equivs
Binary: equivs
Architecture: source all
Version: 2.1.0
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Axel Beckert <abe@debian.org>
Description:
 equivs     - Circumvent Debian package dependencies
Closes: 603850 660765 663424 682929 701626 852223
Changes:
 equivs (2.1.0) unstable; urgency=low
 .
   [ Axel Beckert ]
   * Adopt equivs under the Debian Perl Group umbrella. (Closes: #852223)
   * Import package history into a Git repository and add Vcs-*
     headers. (Closes: #663424)
     + Add a .gitignore file.
   * Apply wrap-and-sort.
   * Switch debian/rules to minimal dh v7 style.
     + Use debian/install instead calling cp inside debian/rules.
     + Remove obsolete variables.
     + Replace usage of dpkg-parsechangelog with $SOURCE_DATE_EPOCH. Fixes
       lintian warning debian-rules-parses-dpkg-parsechangelog.
   * Rename debian/equivs.* to debian/*.
   * Move documentation files from debian/*.pod to *.pod.
   * Move man page generation from debian/rules to a new Makefile.
   * Declare compliance with Debian Policy 4.0.0. (No changes needed.)
   * Bump debhelper compatibility to 10.
     + Update versioned debhelper build-dependency accordingly.
   * pod2man call: Replace "Debian/GNU" with just "Debian".
   * Use $TMPDIR as directory for package builds if set in the
     environment. (Closes: #660765)
 .
   [ Wookey ]
   * Add Support for links. (Closes: #701626, #682929, LP: #1132813)
   * Fix typos in debian/README.Debian.
 .
   [ John Reese ]
   * Add support to build source packages, e.g. for source-only uploads as
     required for uploading to Ubuntu PPAs. (Closes: #603850)
Checksums-Sha1:
 a39229f5f8994a1fa00a1f55a535a8ab1ee93648 1594 equivs_2.1.0.dsc
 430b279f3c6e365e3e8417a47ab58125e5858c92 20656 equivs_2.1.0.tar.xz
 d8f093a8827f00def1c6a96fc6023fc8c3fdf548 21826 equivs_2.1.0_all.deb
 acd4c2587d3a3d44f928e4c395276d848d1c0163 5212 equivs_2.1.0_amd64.buildinfo
Checksums-Sha256:
 dbf28e7a2c3b61258933c1bcc18d39de2960a23e66fd222b76d86039e763f03b 1594 equivs_2.1.0.dsc
 508d2420efeb2588ddda2c6137373823654bf6504e18da3566e6dd963c36cf6c 20656 equivs_2.1.0.tar.xz
 1921fa0c1a807c73471415b4dd075086f90a4e6f140dbab2a8c0f0903c421758 21826 equivs_2.1.0_all.deb
 8cc4824b5cf64ed3210efdb58dee407626ee5613be83ae5543735518e760b717 5212 equivs_2.1.0_amd64.buildinfo
Files:
 9760df3f6d94e0b27fec7dd28d87e2ef 1594 admin extra equivs_2.1.0.dsc
 69b206367982586848ecb6184d8a1580 20656 admin extra equivs_2.1.0.tar.xz
 adcc6dbf869ca0bf5224503b25d96899 21826 admin extra equivs_2.1.0_all.deb
 cd942a2dbdd565e8cd666a04ce054261 5212 admin extra equivs_2.1.0_amd64.buildinfo

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

iQIzBAEBCAAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAll7xSwACgkQa+Zjx1o1
yXXCnxAAs4AHQQCHO9KOKnVQI/d4dAeV4SE2LNm0dcmtLsoiFDiY0dJJo10QWmIV
QSFz/N5ckXwF8PTqD9KWctp6Mp8CyOQraHKKA6WC6Uas3cnXQWkgPmQ+GeIDDXqd
t67ISdDMzafYoxIj/YA3x66CiSHfLJ42cKioWARuleIVkixn/tM+eIgF/lwFa5GM
jh5Q5sAcyV47UwT9udoktBVuDU2b+cmLviYWrtfF/psZYGZgUfWVtpW37nVLeJKb
H2e2JRdWBwSCIcOMx9SXFi8sH0SpRUA0MdMW9BBRRetBEgxtjiMVN2/0HJzOK4g/
xGZfVTxupMxzWN9YA1l0SN7A5L7SCUIrNVFEP46rkOeQlLb82xa/gE5GBvwYfA9e
IpbRpXpLcRpw4TyxHzTg9rEXjJQQL0k1DkGC6NGr5FVZxJcsbdEXVOpC+LcPiT9y
Bnz6vGPbI319WLbMpK/iFwZaW69P+QoceVNP571pQ10d17GwYlOY3uCMjeZ40yxQ
J50QhezGJL8tj102CP4iEkZG37a+mj5GJLjIKmQYRktJNmD6AnG9drVNi8HueFgb
L2ImzyC7gQShPWdCKmeAZdkzddMVUAoTO5LzfY4lmKk5LWZcQaRhQPOqXxMVfxNK
vD3BJx4kEWimPEcK2SIYK9Sx7OutSGqkdZgdaVq3daL1AN92ZUA=
=WtcY
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: