Package: gui-apt-key Version: 0.4-2 Severity: wishlist Tags: patch Hi Joey,
I just filed an ITP for curses-apt-key at http://bugs.debian.org/675187 so it would be nice if gui-apt-key could be splitted into two seperate binary packages, one for the frontend and one for the backend. Following a patch which splits off GAK::Backend into libgak-backend-perl: ---snip--- diff -u gui-apt-key-0.4/debian/rules gui-apt-key-0.4/debian/rules --- gui-apt-key-0.4/debian/rules +++ gui-apt-key-0.4/debian/rules @@ -21,6 +21,7 @@ # source = $(shell grep "^Source: " debian/control|head -1|sed 's/Source: \(.*\)/\1/g') package = $(shell grep "^Package: " debian/control|head -1|sed 's/Package: \(.*\)/\1/g') +library = $(shell grep "^Package: " debian/control|head -2|tail -1|sed 's/Package: \(.*\)/\1/g') version = $(shell grep "^$(source) " debian/changelog|head -1 |sed 's/.*(\(.*\)\-[^\-]*).*/\1/g') revision = $(shell grep "^$(source) " debian/changelog|head -1 |sed 's/.*([^\-]*\-\(.*\)).*/\1/g') @@ -45,32 +46,41 @@ binary-arch: debclean test -f stamp-build || $(MAKE) -f debian/rules build - $(installbin) -d debian/tmp/DEBIAN + $(installbin) -d debian/tmp/gak/DEBIAN + $(installbin) -d debian/tmp/lib/DEBIAN chown -R root.root debian/tmp chmod -R g-ws debian/tmp - $(installbin) -d debian/tmp/usr/share/doc/$(package) - $(installbin) debian/{postinst,postrm} debian/tmp/DEBIAN/ - $(installdoc) debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian - $(installdoc) debian/copyright debian/tmp/usr/share/doc/$(package)/ - gzip -9f debian/tmp/usr/share/doc/$(package)/changelog.Debian + $(installbin) -d debian/tmp/gak/usr/share/doc/$(package) + $(installbin) -d debian/tmp/lib/usr/share/doc/$(library) + $(installbin) debian/{postinst,postrm} debian/tmp/gak/DEBIAN/ + $(installdoc) debian/changelog debian/tmp/gak/usr/share/doc/$(package)/changelog.Debian + $(installdoc) debian/changelog debian/tmp/lib/usr/share/doc/$(library)/changelog.Debian + $(installdoc) debian/copyright debian/tmp/gak/usr/share/doc/$(package)/ + $(installdoc) debian/copyright debian/tmp/lib/usr/share/doc/$(library)/ + gzip -9f debian/tmp/*/usr/share/doc/*/changelog.Debian # - $(installdoc) CHANGES debian/tmp/usr/share/doc/$(package)/changelog - gzip -9f debian/tmp/usr/share/doc/$(package)/changelog + $(installdoc) CHANGES debian/tmp/gak/usr/share/doc/$(package)/changelog + $(installdoc) CHANGES debian/tmp/lib/usr/share/doc/$(library)/changelog + gzip -9f debian/tmp/*/usr/share/doc/*/changelog # - make prefix=`pwd`/debian/tmp/usr install - gzip -9 debian/tmp/usr/share/man/man?/* - ln -s gak debian/tmp/usr/sbin/gui-apt-key - ln -s gak.8.gz debian/tmp/usr/share/man/man8/gui-apt-key.8.gz + make prefix=`pwd`/debian/tmp/gak/usr install + $(installbin) -d debian/tmp/lib/usr/share/$(package)/GAK + mv -v debian/tmp/gak/usr/share/$(package)/GAK/Backend.pm debian/tmp/lib/usr/share/$(package)/GAK/ + gzip -9 debian/tmp/gak/usr/share/man/man?/* + ln -s gak debian/tmp/gak/usr/sbin/gui-apt-key + ln -s gak.8.gz debian/tmp/gak/usr/share/man/man8/gui-apt-key.8.gz # - $(installbin) -d debian/tmp/usr/share/menu - $(installdoc) debian/menu debian/tmp/usr/share/menu/$(package) - $(installbin) -d debian/tmp/usr/share/applications - $(installdoc) debian/desktop debian/tmp/usr/share/applications/$(package).desktop - $(installbin) -d debian/tmp/usr/share/pixmaps - $(installdoc) debian/gui-apt-key*.xpm debian/tmp/usr/share/pixmaps/ + $(installbin) -d debian/tmp/gak/usr/share/menu + $(installdoc) debian/menu debian/tmp/gak/usr/share/menu/$(package) + $(installbin) -d debian/tmp/gak/usr/share/applications + $(installdoc) debian/desktop debian/tmp/gak/usr/share/applications/$(package).desktop + $(installbin) -d debian/tmp/gak/usr/share/pixmaps + $(installdoc) debian/gui-apt-key*.xpm debian/tmp/gak/usr/share/pixmaps/ # - dpkg-gencontrol -isp - dpkg --build debian/tmp .. + dpkg-gencontrol -isp -p$(package) -Pdebian/tmp/gak + dpkg-gencontrol -isp -p$(library) -Pdebian/tmp/lib + dpkg --build debian/tmp/gak .. + dpkg --build debian/tmp/lib .. binary: binary-indep binary-arch diff -u gui-apt-key-0.4/debian/control gui-apt-key-0.4/debian/control --- gui-apt-key-0.4/debian/control +++ gui-apt-key-0.4/debian/control @@ -7,13 +7,24 @@ +Homepage: http://www.infodrom.org/projects/gui-apt-key/ Package: gui-apt-key Architecture: all Section: admin Priority: optional -Depends: libgtk2-perl, liblocale-gettext-perl +Depends: libgtk2-perl, liblocale-gettext-perl, libgak-backend-perl Description: Graphical Key Manager for APT The graphical frontend to the apt-key utility (gak) provides an easy to use interface to maintain digital keys for APT. They are required to authenticate Debian archives and prevent malicious packages to creep in. - . -Homepage: http://www.infodrom.org/projects/gui-apt-key/ + +Package: libgak-backend-perl +Architecture: all +Section: perl +Priority: optional +Depends: perl +Replaces: gui-apt-key (<= 0.4-2) +Conflicts: gui-apt-key (<= 0.4-2) +Description: Backend for perl-based key managers for APT + This Perl library provides a backend to manage digital APT keys from + within Perl programs. Those keys are required to authenticate Debian + archives and prevent malicious packages to creep in. ---snap--- It also moves the homepage field to the source entry as with recent versions of the Debian policy so that both binary packages get something out of it. -- System Information: Debian Release: 6.0.5 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/6 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gui-apt-key depends on: ii libgtk2-perl 2:1.222-1 Perl interface to the 2.x series o ii liblocale-gettext-perl 1.05-6 Using libc functions for internati gui-apt-key recommends no packages. gui-apt-key suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

