Accepting request 127340 from home:flichtenheld:deb-split
split the deb package. See http://lists.opensuse.org/opensuse-factory/2012-06/msg00963.html for context OBS-URL: https://build.opensuse.org/request/show/127340 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=1
This commit is contained in:
commit
729a181ea9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
21
dpkg-archtable-suse.patch
Normal file
21
dpkg-archtable-suse.patch
Normal file
@ -0,0 +1,21 @@
|
||||
Index: dpkg-1.16.3/debian/archtable
|
||||
===================================================================
|
||||
--- dpkg-1.16.3.orig/debian/archtable 2012-04-27 04:49:02.000000000 +0200
|
||||
+++ dpkg-1.16.3/debian/archtable 2012-06-06 10:22:46.728432824 +0200
|
||||
@@ -27,3 +27,15 @@ sparc-linux-gnu sparc
|
||||
i486-gnu hurd-i386
|
||||
i486-kfreebsd-gnu kfreebsd-i386
|
||||
x86_64-kfreebsd-gnu kfreebsd-amd64
|
||||
++i486-suse-linux i386
|
||||
++ia64-suse-linux ia64
|
||||
++alpha-suse-linux alpha
|
||||
++x86_64-suse-linux amd64
|
||||
++arm-suse-linux arm
|
||||
++arm-suse-linuxeabi armel
|
||||
++hppa-suse-linux hppa
|
||||
++mips-suse-linux mips
|
||||
++mipsel-suse-linux mipsel
|
||||
++powerpc-suse-linux powerpc
|
||||
++s390-suse-linux s390
|
||||
++sparc-suse-linux sparc
|
||||
\ No newline at end of file
|
24
dpkg-pod2man-no-utf8.patch
Normal file
24
dpkg-pod2man-no-utf8.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -ur dpkg-1.16.7.orig/scripts/Makefile.am dpkg-1.16.7/scripts/Makefile.am
|
||||
--- dpkg-1.16.7.orig/scripts/Makefile.am 2012-06-30 09:21:47.000000000 +0200
|
||||
+++ dpkg-1.16.7/scripts/Makefile.am 2012-07-07 01:02:35.077531983 +0200
|
||||
@@ -141,7 +141,7 @@
|
||||
$(MKDIR_P) $(DESTDIR)$(man3dir)
|
||||
for module in $(nobase_dist_perllib_DATA); do \
|
||||
name=`echo $$module | sed -e 's|/|::|g' -e 's/\.pm$$//'`; \
|
||||
- $(POD2MAN) --utf8 --center=libdpkg-perl --release=$(VERSION) \
|
||||
+ $(POD2MAN) --center=libdpkg-perl --release=$(VERSION) \
|
||||
--name="$$name" --section=3 $(srcdir)/$$module \
|
||||
>$(DESTDIR)$(man3dir)/$$name.3; \
|
||||
test -s $(DESTDIR)$(man3dir)/$$name.3 || \
|
||||
diff -ur dpkg-1.16.7.orig/scripts/Makefile.in dpkg-1.16.7/scripts/Makefile.in
|
||||
--- dpkg-1.16.7.orig/scripts/Makefile.in 2012-07-02 21:24:30.000000000 +0200
|
||||
+++ dpkg-1.16.7/scripts/Makefile.in 2012-07-07 01:02:35.098534651 +0200
|
||||
@@ -1042,7 +1042,7 @@
|
||||
@BUILD_POD_DOC_TRUE@ $(MKDIR_P) $(DESTDIR)$(man3dir)
|
||||
@BUILD_POD_DOC_TRUE@ for module in $(nobase_dist_perllib_DATA); do \
|
||||
@BUILD_POD_DOC_TRUE@ name=`echo $$module | sed -e 's|/|::|g' -e 's/\.pm$$//'`; \
|
||||
-@BUILD_POD_DOC_TRUE@ $(POD2MAN) --utf8 --center=libdpkg-perl --release=$(VERSION) \
|
||||
+@BUILD_POD_DOC_TRUE@ $(POD2MAN) --center=libdpkg-perl --release=$(VERSION) \
|
||||
@BUILD_POD_DOC_TRUE@ --name="$$name" --section=3 $(srcdir)/$$module \
|
||||
@BUILD_POD_DOC_TRUE@ >$(DESTDIR)$(man3dir)/$$name.3; \
|
||||
@BUILD_POD_DOC_TRUE@ test -s $(DESTDIR)$(man3dir)/$$name.3 || \
|
828
dpkg.changes
Normal file
828
dpkg.changes
Normal file
@ -0,0 +1,828 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 6 23:07:56 UTC 2012 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to dpkg-1.16.7
|
||||
* see /usr/share/doc/packages/dpkg/changelog for details
|
||||
- add Obsoletes and Provides for their deb counterparts
|
||||
to dpkg-devel and dpkg-lang. Needed to expand %lang_package
|
||||
for that.
|
||||
- remove SLE10 support from spec, not working anyway
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 26 20:25:11 UTC 2012 - frank.lichtenheld@sophos.com
|
||||
|
||||
- package dpkg separately
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 21 03:31:50 UTC 2012 - i@marguerite.su
|
||||
|
||||
- update to dpkg-1.16.3
|
||||
* see http://packages.debian.org/changelogs/pool/main/d/dpkg/dpkg_1.16.3/changelog
|
||||
- update to debhelper 9.20120518
|
||||
* Fix versioned dependency on dpkg for xz options. Closes: #672895
|
||||
* dh_link: Doc improvement. Closes: #672988
|
||||
- update to devscripts-2.11.7
|
||||
* see http://packages.debian.org/changelogs/pool/main/d/devscripts/devscripts_2.11.7/changelog
|
||||
- reworked patch. remove version for archtable. for it's universal.
|
||||
- add dh_make 0.60
|
||||
* see http://packages.debian.org/changelogs/pool/main/d/dh-make/dh-make_0.60/changelog
|
||||
- add dh_autoreconf 6
|
||||
* see http://packages.debian.org/changelogs/pool/main/d/dh-autoreconf/dh-autoreconf_6/changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 3 20:23:11 UTC 2012 - frank.lichtenheld@sophos.com
|
||||
|
||||
- install missing parts of devscripts
|
||||
* install man pages installed by debian/manpages
|
||||
* install symlinks installed by debian/links
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 29 20:54:50 UTC 2012 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to dpkg-1.15.8.12
|
||||
* Do not fail to unpack shared directories missing on the file system
|
||||
from packages being replaced by other packages. Debian Bug #631808
|
||||
* Defer hardlink renames so that there's never a point were the new
|
||||
file contents are accessible from the final path before they have
|
||||
been fsync()ed and cannot be executed causing ETXTBSY when trying
|
||||
to open the to be installed paths for writing. Debian Bug #635683
|
||||
* Add armhf support to ostable and triplettable.
|
||||
Debian Bugs #594179, #639674
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 20 20:15:25 UTC 2011 - coolo@suse.com
|
||||
|
||||
- remove call to suse_update_config (very old work around)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 26 00:18:57 UTC 2011 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to dpkg-1.15.8.11
|
||||
* Do not segfault on "dpkg -i --no-act".
|
||||
* Fix typo in "dpkg-name --overwrite" argument parsing so that it actually
|
||||
works at all. Ubuntu Bug #728708
|
||||
* Fix dpkg-split to not corrupt binary part metadata when generating the
|
||||
split packages on 32-bit systems.
|
||||
* Fix a regression in dpkg-divert where using --rename led to a failure when
|
||||
the rename implies crossing file systems.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
(cf. packaging guidelines)
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 31 11:39:18 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- Merge openSUSE:Tools changes with system:packagemanager changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 17 15:32:12 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- split the u-a to separate spec file to reduce a build cycle
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 16 09:07:15 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- update to dpkg-1.15.8.10
|
||||
- update to debhelper-7.5.17
|
||||
- update to devscripts-2.10.71
|
||||
- see /usr/share/doc/packages/deb/*/changelog for details
|
||||
- build and install update-alternatives as separate subpackage
|
||||
- add download urls to source tags
|
||||
- remove pushd/popd madness in %prep, use only one cd ..
|
||||
- convert sed archtable hackery to patch and refresh patches
|
||||
- rewrite a architecture mugging in config.h to be more readable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 28 14:17:27 UTC 2011 - adrian@suse.de
|
||||
|
||||
- fix build on old distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 28 12:57:25 UTC 2011 - flichtenheld@astaro.com
|
||||
|
||||
- install missing debhelper files
|
||||
- install dh
|
||||
- install Debian/Debhelper/Buildsystem/*.pm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 29 23:38:02 CEST 2010 - wolfgang.rosenauer@basyskom.de
|
||||
|
||||
- make 'debcommit -r' work with mercurial 1.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 9 09:23:40 UTC 2010 - puzel@novell.com
|
||||
|
||||
- update to dpkg-1.15.6.1
|
||||
- update to debhelper-7.4.17
|
||||
- update to devscripts-2.10.62
|
||||
- see /usr/share/doc/packages/deb/*/changelog for details
|
||||
- split deb-devel subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 11:24:07 UTC 2010 - puzel@novell.com
|
||||
|
||||
- update to dpkg-1.15.5.6
|
||||
- update to debhelper-7.4.15
|
||||
- update to devscripts-2.10.61
|
||||
- see /usr/share/doc/packages/deb/*/changelog for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 6 04:37:36 UTC 2010 - jengelh@medozas.de
|
||||
|
||||
- enable parallel building with smp_mflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 18 09:06:00 UTC 2009 - wr@rosenauer.org
|
||||
|
||||
- try to fix older dists
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 25 12:01:33 UTC 2009 - puzel@novell.com
|
||||
|
||||
- update to dpkg-1.15.5.2, debhelper-7.4.8, devscripts-2.10.58
|
||||
- huge number of changelogs - please see appropriate changelogs
|
||||
for details:
|
||||
- /usr/share/doc/packages/deb/debhelper/changelog
|
||||
- /usr/share/doc/packages/deb/dpkg/changelog
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 12 09:14:55 UTC 2009 - wr@rosenauer.org
|
||||
|
||||
- include devscripts-2.10.55
|
||||
- add sensible-editor helper script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 13:01:58 UTC 2009 - puzel@novell.com
|
||||
|
||||
- update to debhelper-7.3.12
|
||||
* dh: Allow creation of new sequences (such as to handle a patch
|
||||
target for quilt), by adding an add_command function to the
|
||||
sequence addon interface.
|
||||
* perl_build: Fix Build check to honor source directory setting.
|
||||
* perl_build: Avoid failing if forced to be used in dh_auto_clean
|
||||
when Build does not exist (ie due to being run twice in a row).
|
||||
* dh_builddeb: Fix man page typo.
|
||||
* dh_installdeb: In udeb mode, support the menutest and isinstallable
|
||||
maintainer scripts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 4 09:54:08 CEST 2009 - puzel@novell.com
|
||||
|
||||
- update to debhelper-7.3.9
|
||||
* cmake: Avoid forcing rpath off as this can break some test suites.
|
||||
It gets stripped by cmake at install time.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 10:28:40 CEST 2009 - puzel@novell.com
|
||||
|
||||
- update to debhelper-7.3.8
|
||||
* First upload of buildsystems support to unstable.
|
||||
Summary: Adds --buildsystem (modular, OO buildsystem classes),
|
||||
--sourcedirectory, --builddirectory, and support for cmake
|
||||
and ant.
|
||||
* python_distutils buildsystem: Build for all supported Python
|
||||
versions that are installed. Ensure that correct shebangs are
|
||||
created by using `python' first during build and install.
|
||||
Also build with python*-dbg if the package build-depends
|
||||
on them.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 16 12:24:58 CEST 2009 - puzel@novell.com
|
||||
|
||||
- update to debhelper-7.3.4
|
||||
* Add a versioned dep on perl-base, to get a version that supports
|
||||
GetOptionsFromArray.
|
||||
* dh_install: Fix support for the case where --sourcedir=debian/tmp/foo
|
||||
is used. Perl was not being greedy enough and the 'foo' was not stripped
|
||||
from the destination directory in this unusual case.
|
||||
* dh_install: Fix support for the case where debian/tmp is
|
||||
explicitly specified in filename paths despite being searched by
|
||||
default.
|
||||
* dh_install: Add test suite covering the last 5 bugs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 3 10:48:44 CEST 2009 - puzel@novell.com
|
||||
|
||||
- update to debhelper-7.3.1
|
||||
* Modular object oriented dh_auto_* buildsystem support,
|
||||
contributed by Modestas Vainius
|
||||
- dh_auto_* --sourcedirectory can now be used to specify a source
|
||||
directory if sources and/or the whole buildsystem lives elsewhere
|
||||
than the top level directory.
|
||||
- dh_auto_* --builddirectory can now be used to specify a build
|
||||
directory to use for out of source building, for build systems
|
||||
that support it.
|
||||
- dh_auto_* --buildsystem can now be used to override the autodetected
|
||||
build system, or force use of a third-party class.
|
||||
- dh_auto_* --list can be used to list available and selected build
|
||||
systems.
|
||||
- Adds support for cmake.
|
||||
- For the perl_build build system, Build is used consistently
|
||||
instead of falling back to using the generated Makefile.
|
||||
- Historical dh_auto_* behavior should be preserved despite these
|
||||
large changes..
|
||||
* Move two more command-specific options to only be accepted by the commands
|
||||
that use them. The options are:
|
||||
--sourcedir, --destdir
|
||||
If any third-party debhelper commands use either of the above options,
|
||||
they will be broken, and need to be changed to pass options to init().
|
||||
* Make dh not complain about unknown, command-specific options passed to it,
|
||||
and further suppress warnings about such options it passes on to debhelper
|
||||
commands. This was attempted incompletely before in version 7.2.17.
|
||||
* dh_install: Fix installation of entire top-level directory
|
||||
from debian/tmp.
|
||||
* dh_install: Handle correctly the case where a glob expands to
|
||||
a dangling symlink, installing the dangling link as requested.
|
||||
* dh_install: Fix fallback use of debian/tmp in v7 mode; a bug caused
|
||||
it to put files inside a debian/tmp directory in the package build
|
||||
directory, now that prefix is stripped.
|
||||
* dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps
|
||||
prints a confusing warning if it does not.
|
||||
* dh_auto_install: Pass --install-layout=deb to setup.py
|
||||
to support python 2.6.
|
||||
* Allow command-specific options to be passed to commands
|
||||
via dh without causing other commands to emit a getopt
|
||||
warning or deprecation message.
|
||||
* dh_installinfo: No longer inserts install-info calls into
|
||||
maintainer scripts, as that is now triggerized. Adds a dependency
|
||||
via misc:Depends to handle partial upgrades. Note that while
|
||||
dh_installinfo already required that info files had a INFO-DIR-SECTION,
|
||||
the new system also requires they have START-INFO-DIR-ENTRY and
|
||||
END-INFO-DIR-ENTRY for proper registration. I assume there will be
|
||||
some mass bug filing for any packages that do not have that.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 12 09:03:44 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.16
|
||||
* dh_gconf: Add missed half of postrm fragment removal.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 11 11:33:32 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.15
|
||||
* dh_strip, dh_shlibdeps: Add support for OCaml shared libraries.
|
||||
* dh_compress: Avoid compressing .svg and .sgvz files, since these
|
||||
might be used as images on a html page, and also to avoid needing
|
||||
to special case the .svgz extension when compressing svg.
|
||||
* dh_scrollkeeper: Now a deprecated no-op.
|
||||
* dh_gconf: Remove postrm fragment that handled schema migration
|
||||
from /etc to /usr.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 21 12:11:37 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.14
|
||||
* dh: Avoid writing log after override_dh_clean is run.
|
||||
* dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL.
|
||||
* dh_auto_configure: Revert --skipdeps change
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 13 12:05:11 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.11
|
||||
* dh: Support --with addon,addon,...
|
||||
* dh_auto_configure: Add --skipdeps when running Makefile.PL,
|
||||
to prevent Module::Install from trying to download dependencies.
|
||||
* Support debian/foo.os files to suppliment previous debian/foo.arch
|
||||
file support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 11 14:56:30 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.10
|
||||
* Close COMPAT_IN filehandle.
|
||||
* dh_auto_configure: Clarify man page re adding configure
|
||||
parameters.
|
||||
* dh_auto_configure: Pass packlist=0 when running Makefile.PL,
|
||||
in case it is a Build.PL passthru, to avoid it creating
|
||||
the .packlist file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 6 15:50:23 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.9
|
||||
* dh_fixperms: Ensure lintian overrides are mode 644.
|
||||
* dh_fixperms: Fix permissions of OCaml .cmxs files.
|
||||
* dh: Add --without to allow disabling sequence addons (particularly
|
||||
useful to disable the default python-support addon).
|
||||
- split -lang subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 21 15:56:49 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.8
|
||||
* dh_desktop: Now a deprecated no-op, since desktop-file-utils
|
||||
uses triggers.
|
||||
* Move dh sequence documentation to PROGRAMMING.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 11:55:35 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.7
|
||||
* fix calling the same helper for separate packages in the override of dh
|
||||
binary-indep/binary-arch
|
||||
* add --remaining-packages option
|
||||
* dh_icons: ignore gnome and hicolor themes (will be handled
|
||||
by triggers)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 6 15:23:19 CEST 2009 - puzel@suse.cz
|
||||
|
||||
- add a hack to detect architecture correctly (bnc#469337)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 16 16:43:15 CET 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.6
|
||||
* examples files updated to add dh_bugfiles, remove obsolete
|
||||
dh_python
|
||||
* dh_auto_test: Support DEB_BUILD_OPTIONS=nocheck
|
||||
* set MODULEBUILDRC=/dev/null when running perl Build scripts
|
||||
to avoid ~/.modulebuildrc influencing the build
|
||||
* dh_installmenus: Revert removal of update-menus calls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 9 17:40:28 CET 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.4
|
||||
* dh_makeshlibs: Fix --add-udeb, for real
|
||||
* dh_installmenus: Now that a triggers capable menu and dpkg are in
|
||||
stable, menu does not need to be explicitly run in maintainer
|
||||
scripts, except for packages with menu-methods files.
|
||||
* dh_installdocs: No longer add maintainer script code to call
|
||||
doc-base, as it supports triggers in stable.
|
||||
* dh_bugfiles: New program, contributed by Modestas Vainius.
|
||||
* dh: Override LC_ALL, not LANG.
|
||||
* dh_installchangelogs: Support -X to exclude automatic installation
|
||||
of specific upstream changelogs.
|
||||
* Compat level 4 is now deprecated.
|
||||
* dh_makeshlibs: Re-add --add-udeb support.
|
||||
* dh_shlibdeps: Remove --add-udeb switch (was accidentially added here).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 5 15:26:28 CET 2009 - puzel@suse.cz
|
||||
|
||||
- update to debhelper-7.2.2
|
||||
* dh_installmodules: Give files in /etc/modprobe.d a .conf
|
||||
syntax, as required by new module-init-tools.
|
||||
* dh_installmodules: Add preinst and postinst code to handle
|
||||
cleanly renaming the modprobe.d files on upgrade.
|
||||
* Two updates to conffile moving code from wiki:
|
||||
- Support case where the conffile name is a substring of another
|
||||
conffile's name.
|
||||
- Support case where dpkg-query says the file is obsolete.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 3 10:10:53 CET 2009 - puzel@suse.cz
|
||||
|
||||
- update to dpkg-1.15.0 and debhelper-7.2.1
|
||||
- huge number of changes, please see
|
||||
/usr/share/doc/packages/deb/dpkg/changelog and
|
||||
/usr/share/doc/packages/deb/debhelper/changelog
|
||||
for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 20 10:01:33 CET 2009 - puzel@suse.cz
|
||||
|
||||
- partially revert change from Aug 12 2008 (bnc#467332)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 18 13:48:25 CET 2008 - puzel@suse.cz
|
||||
|
||||
- update debhelper to 7.1.1
|
||||
* dh_install(1): Order options alphabetically.
|
||||
* Fix some docs that refered to --srcdir rather than --sourcedir.
|
||||
* Add Vcs-Browser field.
|
||||
* Ignore unknown options in DH_OPTIONS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 29 17:28:46 CET 2008 - puzel@suse.cz
|
||||
|
||||
- update debhelper to 7.1.0
|
||||
* dh_installchangelogs: Fall back to looking for changelog files ending
|
||||
with ".txt".
|
||||
* dh_gencontrol: Ensure misc:Depends is set in substvars to avoid dpkg
|
||||
complaining about it when it's empty.
|
||||
* dh: Fix typo in example.
|
||||
* Allow individual debhelper programs to define their own special options
|
||||
by passing a hash to init(), which is later passed on the Getopt::Long.
|
||||
* Move many command-specific options to only be accepted by the command
|
||||
that uses them. Affected options are:
|
||||
-x, -r, -R, -l, -L, -m,
|
||||
--include-conffiles, --no-restart-on-upgrade, --no-start,
|
||||
--restart-after-upgrade, --init-script, --filename, --flavor, --autodest,
|
||||
--libpackage, --add-udeb, --dpkg-shlibdeps-params,
|
||||
--dpkg-gencontrol-params, --update-rcd-params, --major, --remove-d,
|
||||
--dirs-only, --keep-debug, --version-info, --list-missing, --fail-missing,
|
||||
--language, --until, --after, --before, --remaining, --with
|
||||
* If any third-party debhelper commands use any of the above options,
|
||||
they will be broken, and need to be changed to pass options to init().
|
||||
* To avoid breaking rules files that pass options to commands that do not
|
||||
use them, debhelper will now only warn if it encounters an unknown
|
||||
option. This will be converted back to an error later.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 16 18:07:44 CEST 2008 - mrueckert@suse.de
|
||||
|
||||
- do not package update-alternatives it conflicts with the required
|
||||
package update-alternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 2 13:56:11 CEST 2008 - prusnak@suse.cz
|
||||
|
||||
- updated to 1.14.21
|
||||
* lots of fixes - see ChangeLog
|
||||
- enabled SELinux support [Fate#303662]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 14:02:20 CEST 2008 - puzel@suse.cz
|
||||
|
||||
- update debhelper to 7.0.17
|
||||
* dh_auto_install: Fix man page, was referring to dh_auto_clean.
|
||||
* dh_gencontrol: Drop the Homepage field from udebs. Closes debian bug #492719
|
||||
* Typo. Closes debian bug #493062
|
||||
* dh_auto_install: Improve check for MakeMaker, to avoid passing PREFIX
|
||||
if the Makefile was generated by Module::Build::Compat. Closes debian bug #496157
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 12 11:29:14 CEST 2008 - puzel@suse.cz
|
||||
|
||||
- fix paths
|
||||
* install perl stuff to %{perl_vendorlib}/Debian where it is
|
||||
expected by alien
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 13:21:25 CEST 2008 - coolo@suse.de
|
||||
|
||||
- fix paths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 21 11:18:02 CEST 2008 - puzel@suse.cz
|
||||
|
||||
- update debhelper to 7.0.16
|
||||
* dh: Avoid passing --with on to subcommands. Closes debian bug #490886
|
||||
* dh_installchangelogs: When searching for changelog in v7 mode, skip
|
||||
empty files. Closes debian bug #490937
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 18 13:10:50 CEST 2008 - puzel@suse.cz
|
||||
|
||||
- update debhelper to 7.0.15
|
||||
* dh_clean: Do not delete *-stamp files in -k mode in v7. Closes debian bug #489918
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 8 11:20:11 CEST 2008 - puzel@suse.cz
|
||||
|
||||
- update debhelper to 7.0.14
|
||||
* load python-support sequence file first, to allow ones loaded later to disable it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 7 13:49:46 CEST 2008 - puzel@suse.cz
|
||||
|
||||
- update dpkg to 1.14.19
|
||||
* a lot of changes and bugfixes
|
||||
* for complete changelog see program sources or
|
||||
/usr/share/doc/packages/deb/dpkg/changelog
|
||||
* removed dpkg-gcc4.patch - compiles fine without it
|
||||
* removed dpkg-make.patch, dpkg-automake.diff, dpkg-strip.patch
|
||||
* not needed anymore because of heavy changes in the build system
|
||||
* removed dpkg_1.10.23-doc.patch - fixed in upstream
|
||||
- update debhelper to 7.0.13
|
||||
* a lot of changes and bugfixes
|
||||
* for complete changelog see program sources or
|
||||
/usr/share/doc/packages/deb/debhelper/changelog
|
||||
* debhelper-no-localized-manpages.diff - do not use po4a to generate
|
||||
localized documentation
|
||||
- dpkg is now built by configure/make
|
||||
- debhelper is now built by make
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 26 18:04:30 CEST 2007 - dmueller@suse.de
|
||||
|
||||
- remove config.guess dependency completely
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 24 14:52:04 CEST 2007 - dmueller@suse.de
|
||||
|
||||
- link the config.guess from automake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 22 22:37:02 CEST 2007 - ro@suse.de
|
||||
|
||||
- use texlive for building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 30 08:49:13 CEST 2007 - aj@suse.de
|
||||
|
||||
- Adjust BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 18 14:44:34 CEST 2006 - aj@suse.de
|
||||
|
||||
- Fix build with new make.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:35:25 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 13 13:12:52 CET 2006 - schwab@suse.de
|
||||
|
||||
- Don't strip binaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 21 01:21:54 CET 2005 - ro@suse.de
|
||||
|
||||
- remove unpackaged symlinks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 8 14:49:24 CEST 2005 - mjancar@suse.cz
|
||||
|
||||
- package missing dpkg-{architecture,scanpackages,scansources} (#106239)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 12 17:38:51 CEST 2005 - meissner@suse.de
|
||||
|
||||
- use RPM_OPT_FLAGS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 8 13:50:27 CEST 2005 - uli@suse.de
|
||||
|
||||
- fixed to build with GCC4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 16:56:12 CET 2005 - rengelhard@suse.de
|
||||
|
||||
- update dpkg to 1.10.27 (just translation updates)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 20 23:38:24 CET 2005 - ro@suse.de
|
||||
|
||||
- update dependency: html2txt -> html2text
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 12 15:45:21 CET 2005 - rengelha@suse.de
|
||||
|
||||
- update dpkg to 1.10.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 5 13:41:10 CET 2005 - rengelhard@suse.de
|
||||
|
||||
- update debhelper to 4.2.30
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 4 11:11:22 CET 2005 - rengelhard@suse.de
|
||||
|
||||
- update debhelper to 4.2.29
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 15 12:06:57 CET 2004 - rengelhard@suse.de
|
||||
|
||||
- update debhelper to 4.2.28
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 13 09:16:46 CET 2004 - rengelhard@suse.de
|
||||
|
||||
- update debhelper to 4.2.27
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 15:44:34 CET 2004 - rengelhard@suse.de
|
||||
|
||||
- update dpkg to 1.10.25
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 11 10:42:02 CET 2004 - rengelhard@suse.de
|
||||
|
||||
- update debhelper to 4.2.24
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 29 13:55:11 CEST 2004 - rengelhard@suse.de
|
||||
|
||||
- update debhelper to 4.2.23
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 27 12:15:38 CEST 2004 - rengelhard@suse.de
|
||||
|
||||
- update dpkg to 1.10.24
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 13 12:11:21 CEST 2004 - rengelhard@suse.de
|
||||
|
||||
- update debhelper to 4.2.21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 8 00:06:37 CEST 2004 - ro@suse.de
|
||||
|
||||
- remove stuff now present in own update-alternatives package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 19 14:50:34 CEST 2004 - mcihar@suse.cz
|
||||
|
||||
- update debhelper to 4.2.19
|
||||
- update dpkg to 1.10.23
|
||||
- use sed rather than patches
|
||||
- remove patches accepted in upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 31 14:53:43 CEST 2004 - mcihar@suse.cz
|
||||
|
||||
- update debhelper to 4.2.10
|
||||
- update dpkg to 1.10.21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 04 12:43:17 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- no root for build
|
||||
- revert to manual debhelper installation as installation using
|
||||
debhelper needs dpkg and debhelper installed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 03 18:08:58 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- debhelper has debian/control file, so do not install manually
|
||||
- update debhelper to 4.2.4
|
||||
- update dpkg to 1.10.18.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 28 00:25:16 CET 2004 - ro@suse.de
|
||||
|
||||
- debhelper has no debian/control file, so install manually
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 27 14:09:01 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- install debhelper man pages on correct place
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 26 15:09:20 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- updated debhelper to 4.1.88 and dpkg to 1.10.18
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 19:54:08 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- require the perl version we build with
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 07 16:02:18 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated debhelper to 4.1.57
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 28 14:13:38 CEST 2003 - schwab@suse.de
|
||||
|
||||
- Fix format string.
|
||||
- Fix undefined use of longjmp.
|
||||
- Use perl_vendorlib.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 15:08:58 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated debhelper to 4.1.47 (mostly fixes in dh_python)
|
||||
- included directories for translated man pages
|
||||
- use find_lang
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 13 16:45:18 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated debhelper to 4.1.43
|
||||
- updated dpkg to 1.1.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 08 11:48:37 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- updated debhelper to 4.1.40
|
||||
- fixed problems with new coreutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 06 15:40:08 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- configuration files under /etc marked as %config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 14:19:51 CET 2003 - mcihar@suse.cz
|
||||
|
||||
- updated debhelper to 4.1.29:
|
||||
* Added a dh_python command.
|
||||
* Various fixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 13 12:22:45 CET 2002 - mcihar@suse.cz
|
||||
|
||||
- updated dpkg to 1.10.9, major changes:
|
||||
* Make the multiline regex have an upper bound, instead of being
|
||||
unbounded, as newer perls have a larger stack frame, which cause them
|
||||
to segfault quicker with larger inputs.
|
||||
* Fix segfault in md5sum if the file being checked doesn't exist.
|
||||
* Fix extraction of md5sum in dpkg-scanpackages.
|
||||
* Handle directories better in md5sum.
|
||||
* Fix several read pass buffer bugs, and a memleak.
|
||||
* Fix segfault when --auto-deconfigure is given.
|
||||
- updated debhelper to 4.1.20, major changes:
|
||||
* typo in dh_shlibdeps(1)
|
||||
* dh_fixperms: Make sure .pm files are 0644.
|
||||
* dh_strip: detect and don't strip debug/*.so files.
|
||||
* Various improvements to debhelper(1).
|
||||
* Clarified dh_perl man page.
|
||||
* Fixed excessive escaping around terms in DH_EXCLUDE_FIND.
|
||||
* Patch from Andrew Suffield to make dh_perl understand #!/usr/bin/env perl
|
||||
- included part of postinst script from debian package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 11:26:13 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <sp> to <opensp>
|
||||
- changed neededforbuild <sp-devel> to <>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 12:37:07 MEST 2002 - mcihar@suse.cz
|
||||
|
||||
- corrected requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 7 15:05:04 CEST 2002 - mcihar@suse.cz
|
||||
|
||||
- updated to debhelper 4.1.3:
|
||||
* various bugfixes
|
||||
* removed /usr/doc manglement code from postinst and prerm
|
||||
* removed dh_installxaw
|
||||
* dh_installchangelogs installs debian/NEWS
|
||||
- updated to dpkg 1.10.4:
|
||||
* plenty of bugfixes and new switches
|
||||
* added Large File Summit extension
|
||||
* added manpages for dpkg.cfg and dselect.cfg
|
||||
* updated translations
|
||||
* install archtable into /usr/share/dpkg/
|
||||
- dpkg is now build by debian/rules not by script in spec
|
||||
- removed md5sum.1 start-stop-daemon.8 install-info.8 manpages also
|
||||
for other locales (these programs are not installed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 09:16:14 CEST 2002 - mcihar@suse.cz
|
||||
|
||||
- updated to debhelper 4.0.11 and dpkg 1.9.21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 15:51:56 CEST 2001 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <sp_libs> to <sp-devel>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 8 15:13:02 CEST 2001 - cihlar@suse.cz
|
||||
|
||||
- fixed to compile with new autoconf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 24 12:12:56 CEST 2001 - cihlar@suse.cz
|
||||
|
||||
- fixed warnings on ia64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 18 09:07:26 CEST 2001 - cihlar@suse.cz
|
||||
|
||||
- fixed to compile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 5 14:38:45 CET 2001 - cihlar@suse.cz
|
||||
|
||||
- dpkg updated to version 1.8.3.1
|
||||
- debhelper updated to version 3.0.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 5 14:56:23 CET 2000 - schwab@suse.de
|
||||
|
||||
- Fix broken declaration.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 31 10:57:36 CET 2000 - cihlar@suse.cz
|
||||
|
||||
- update to version 1.6.14
|
||||
- bzipped sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 23 16:48:45 CEST 2000 - cihlar@suse.cz
|
||||
|
||||
- added files in /etc and /var to %files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 22 15:19:20 CEST 2000 - cihlar@suse.cz
|
||||
|
||||
- removed install-info and start-stop-daemon
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 17:20:51 CEST 2000 - schwab@suse.de
|
||||
|
||||
- Fixed for ia64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 3 17:15:12 CEST 2000 - cihlar@suse.cz
|
||||
|
||||
- package created - version 1.4.0.35 (debhelper 1.1.24)
|
||||
|
203
dpkg.spec
Normal file
203
dpkg.spec
Normal file
@ -0,0 +1,203 @@
|
||||
#
|
||||
# spec file for package dpkg
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define admindir %{_localstatedir}/lib/rpm/
|
||||
|
||||
Name: dpkg
|
||||
Version: 1.16.7
|
||||
Release: 0
|
||||
Summary: Debian package management system
|
||||
License: GPL-2.0+
|
||||
Group: System/Packages
|
||||
Url: http://www.debian.org
|
||||
Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz
|
||||
Source3: sensible-editor
|
||||
# PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*.
|
||||
Patch1: update-alternatives-%{version}-suse.patch
|
||||
# PATCH-FIX-OPENSUSE add openSUSE supported architectures
|
||||
Patch2: dpkg-archtable-suse.patch
|
||||
# PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages.
|
||||
Patch3: dpkg-pod2man-no-utf8.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: xz
|
||||
BuildRequires: zlib-devel
|
||||
Requires: cpio
|
||||
Requires: make
|
||||
Requires: patch
|
||||
Provides: deb = %{version}
|
||||
Obsoletes: deb < %{version}
|
||||
Provides: dpkg-dev = %{version}
|
||||
Provides: dpkg-doc = %{version}
|
||||
Provides: dselect = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires(pre): /bin/touch
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: update-alternatives
|
||||
Requires: update-alternatives
|
||||
Requires: perl(Date::Parse)
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
%if 0%{?suse_version} < 1120
|
||||
%define _libexecdir /usr/lib
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
%endif
|
||||
%if 0%{?rhel_version}
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
%endif
|
||||
%if 0%{?centos_version}
|
||||
BuildRequires: libselinux-devel
|
||||
%define use_selinux 1
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package contains tools for working with Debian packages. It makes
|
||||
it possible to create and extract Debian packages. If Alien is
|
||||
installed, the packages can be converted to RPMs.
|
||||
|
||||
This package contains the following Debian packages: dpkg, dselect,
|
||||
dpkg-doc, dpkg-dev.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for dpkg
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: deb-devel = %{version}
|
||||
Obsoletes: deb-devel < %{version}
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
Libraries and header files for dpkg.
|
||||
|
||||
%package lang
|
||||
Summary: Languages for package %{name}
|
||||
Group: System/Localization
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{name}-lang-all = %{version}
|
||||
Provides: deb-lang = %{version}
|
||||
Obsoletes: deb-lang < %{version}
|
||||
Supplements: packageand(bundle-lang-other:%{name})
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1120
|
||||
# BuildArch: noarch not supported on SLE 11
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description lang
|
||||
Provides translations to the package %{name}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1130
|
||||
%patch3 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%if 0%{?use_selinux}
|
||||
export SELINUX_LIBS="-lselinux"
|
||||
%endif
|
||||
%{configure}\
|
||||
%if 0%{?use_selinux}
|
||||
--with-selinux \
|
||||
%endif
|
||||
--localstatedir=%{_localstatedir}/lib\
|
||||
--with-admindir=%{_localstatedir}/lib/dpkg
|
||||
|
||||
# configure somehow does not detect architecture correctly in OBS (bnc#469337), so
|
||||
# let's do an awful hack and fix it in config.h
|
||||
# XXX: who knows if this works on s390? :)
|
||||
|
||||
%define debarch %{_arch}
|
||||
%ifarch x86_64
|
||||
%define debarch amd64
|
||||
%endif
|
||||
%ifarch %ix86
|
||||
%define debarch i386
|
||||
%endif
|
||||
%ifarch ppc powerpc
|
||||
%define debarch powerpc
|
||||
%endif
|
||||
%ifarch ppc64 powerpc64
|
||||
%define debarch ppc64
|
||||
%endif
|
||||
sed -i 's/^#define ARCHITECTURE ""/#define ARCHITECTURE "%{debarch}"/' config.h
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%{__make} install DESTDIR=%{?buildroot}
|
||||
|
||||
# remove update-alternatives stuff (included in separate package)
|
||||
rm -rf %{buildroot}%{_sysconfdir}/alternatives
|
||||
rm -rf %{buildroot}%{_localstatedir}/lib/dpkg/alternatives
|
||||
rm -rf %{buildroot}%{_bindir}/update-alternatives
|
||||
rm -rf %{buildroot}%{_sbindir}/update-alternatives
|
||||
rm -rf %{buildroot}%{_mandir}/man8/update-alternatives.8
|
||||
rm -rf %{buildroot}%{_mandir}/*/man8/update-alternatives.8
|
||||
|
||||
# locales
|
||||
%{find_lang} %{name}
|
||||
%{find_lang} dselect
|
||||
%{find_lang} dpkg-dev
|
||||
cat dselect.lang dpkg-dev.lang >> %{name}.lang
|
||||
|
||||
# extras
|
||||
install -m 755 %{SOURCE3} %{buildroot}%{_bindir}
|
||||
|
||||
%post
|
||||
cd %{_localstatedir}/lib/dpkg
|
||||
for f in diversions statoverride status ; do
|
||||
[ ! -f $f ] && touch $f
|
||||
done
|
||||
exit 0
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog
|
||||
%doc %{_mandir}/man*/*
|
||||
%dir %{_sysconfdir}/dpkg
|
||||
%config(noreplace) %{_sysconfdir}/dpkg/*
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/*
|
||||
%{_libdir}/dpkg
|
||||
%{_datadir}/dpkg
|
||||
%{_localstatedir}/lib/dpkg
|
||||
%{perl_vendorlib}/Debian
|
||||
%{perl_vendorlib}/Dpkg
|
||||
%{perl_vendorlib}/Dpkg.pm
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdpkg.a
|
||||
%{_libdir}/pkgconfig/libdpkg.pc
|
||||
%{_includedir}/dpkg
|
||||
|
||||
%changelog
|
3
dpkg_1.16.7.tar.xz
Normal file
3
dpkg_1.16.7.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a14eddcc84279798d9d7c0e048765b75e8cfd75d483737a6845524219e0f3fc0
|
||||
size 3587900
|
32
sensible-editor
Normal file
32
sensible-editor
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
ret="$?"
|
||||
|
||||
if [ -n "$VISUAL" ]; then
|
||||
${VISUAL} "$@"
|
||||
ret="$?"
|
||||
if [ "$ret" -ne 126 ] && [ "$ret" -ne 127 ]; then
|
||||
exit "$ret"
|
||||
fi
|
||||
fi
|
||||
|
||||
${EDITOR:-editor} "$@"
|
||||
ret="$?"
|
||||
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
|
||||
nano "$@"
|
||||
ret="$?"
|
||||
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
|
||||
nano-tiny "$@"
|
||||
ret="$?"
|
||||
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
|
||||
vi "$@"
|
||||
ret="$?"
|
||||
if [ "$ret" -eq 126 ] || [ "$ret" -eq 127 ]; then
|
||||
echo "Couldn't find an editor!" 1>&2
|
||||
echo "Set the \$EDITOR environment variable to your desired editor." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
exit "$ret"
|
83
update-alternatives-1.16.7-suse.patch
Normal file
83
update-alternatives-1.16.7-suse.patch
Normal file
@ -0,0 +1,83 @@
|
||||
diff -ur dpkg-1.16.7.orig/man/update-alternatives.8 dpkg-1.16.7/man/update-alternatives.8
|
||||
--- dpkg-1.16.7.orig/man/update-alternatives.8 2012-06-30 09:21:47.000000000 +0200
|
||||
+++ dpkg-1.16.7/man/update-alternatives.8 2012-07-07 00:38:09.628280915 +0200
|
||||
@@ -33,7 +33,7 @@
|
||||
.SH DESCRIPTION
|
||||
.B update\-alternatives
|
||||
creates, removes, maintains and displays information about the symbolic
|
||||
-links comprising the Debian alternatives system.
|
||||
+links comprising the SuSE alternatives system.
|
||||
.PP
|
||||
It is possible for several programs fulfilling the same or similar
|
||||
functions to be installed on a single system at the same time.
|
||||
@@ -43,7 +43,7 @@
|
||||
to make a good choice for an editor to invoke if the
|
||||
user has not specified a particular preference.
|
||||
.PP
|
||||
-Debian's alternatives system aims to solve this problem.
|
||||
+SuSE's alternatives system aims to solve this problem.
|
||||
A generic name in the filesystem is
|
||||
shared by all files providing interchangeable functionality.
|
||||
The alternatives system and the system administrator
|
||||
@@ -82,10 +82,10 @@
|
||||
is called to update information about that file in the alternatives system.
|
||||
.B update\-alternatives
|
||||
is usually called from the
|
||||
-.B postinst
|
||||
+.B post
|
||||
(configure) or
|
||||
-.B prerm
|
||||
-(install) scripts in Debian packages.
|
||||
+.B preun
|
||||
+(install) scripts in SuSE packages.
|
||||
.PP
|
||||
It is often useful for a number of alternatives to be synchronized,
|
||||
so that they are changed as a group; for example, when several versions
|
||||
@@ -189,7 +189,7 @@
|
||||
.TP
|
||||
administrative directory
|
||||
A directory, by default
|
||||
-.IR /var/lib/dpkg/alternatives ,
|
||||
+.IR /var/lib/rpm/alternatives ,
|
||||
containing
|
||||
.BR update\-alternatives '
|
||||
state information.
|
||||
@@ -501,7 +501,7 @@
|
||||
.RE
|
||||
.
|
||||
.SH BUGS
|
||||
-If you find a bug, please report it using the Debian bug-tracking system.
|
||||
+If you find a bug, please report it using the SuSE bug-tracking system.
|
||||
.PP
|
||||
If you find any discrepancy between the operation of
|
||||
.B update\-alternatives
|
||||
diff -ur dpkg-1.16.7.orig/utils/update-alternatives.c dpkg-1.16.7/utils/update-alternatives.c
|
||||
--- dpkg-1.16.7.orig/utils/update-alternatives.c 2012-06-30 09:21:47.000000000 +0200
|
||||
+++ dpkg-1.16.7/utils/update-alternatives.c 2012-07-07 00:38:09.631281296 +0200
|
||||
@@ -68,7 +68,7 @@
|
||||
static char *pass_opts[MAX_OPTS];
|
||||
static int nb_opts = 0;
|
||||
|
||||
-#define DPKG_TMP_EXT ".dpkg-tmp"
|
||||
+#define DPKG_TMP_EXT ".rpm-tmp"
|
||||
|
||||
/*
|
||||
* Functions.
|
||||
@@ -77,7 +77,7 @@
|
||||
static void
|
||||
version(void)
|
||||
{
|
||||
- printf(_("Debian %s version %s.\n"), PROGNAME, VERSION);
|
||||
+ printf(_("SuSE %s version %s.\n"), PROGNAME, VERSION);
|
||||
printf("\n");
|
||||
|
||||
printf(_(
|
||||
@@ -359,7 +359,7 @@
|
||||
const char *basedir, *dpkg_basedir;
|
||||
char *admindir;
|
||||
|
||||
- dpkg_basedir = getenv("DPKG_ADMINDIR");
|
||||
+ dpkg_basedir = getenv("RPM_ADMINDIR");
|
||||
if (dpkg_basedir)
|
||||
basedir = dpkg_basedir;
|
||||
else
|
88
update-alternatives.changes
Normal file
88
update-alternatives.changes
Normal file
@ -0,0 +1,88 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 6 23:15:06 UTC 2012 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to 1.16.7
|
||||
* Print master and slave alternarive link names in update-alternatives
|
||||
--query and always print alternative link in --config. Closes: #679010
|
||||
* Check parsed integers for invalid or no digit errors in
|
||||
update-alternatives. Check all parsed integers for out of range
|
||||
errors. On "update-alternatives --install" only warn for now on
|
||||
out of range priorities and clamp the values
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 6 08:22:03 UTC 2012 - coolo@suse.com
|
||||
|
||||
- fix the reworked patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 21 03:34:58 UTC 2012 - i@marguerite.su
|
||||
|
||||
- update to 1.16.3
|
||||
- reworked patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 29 21:29:58 UTC 2012 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to 1.15.8.12
|
||||
* no changes, just keep in sync with deb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 26 00:24:49 UTC 2011 - frank.lichtenheld@sophos.com
|
||||
|
||||
- update to 1.15.8.11
|
||||
- remove unused tarballs and patches
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
(cf. packaging guidelines)
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 17 15:30:58 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- update to 1.15.8.10 - bug fix release
|
||||
- build it in the same source tree as package deb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 14 13:13:50 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- update to 1.15.8.5
|
||||
* update-alternatives is now implemented in C
|
||||
- fix bnc#647151 - update-alternatives: false claim in the description
|
||||
* removed jpackage only part, as it's now don't have any sense
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 17 15:18:25 UTC 2011 - mvyskocil@suse.cz
|
||||
|
||||
- fix bnc#669716 - update-alternatives corrupt
|
||||
the pack/unpack removal code broke the java update-alternatives file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 21 16:22:46 CEST 2008 - mvyskocil@suse.cz
|
||||
|
||||
- fix of enhancenment request[bnc#261246] - update-alternatives should support --set
|
||||
- update to the 1.14.19
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 6 18:53:00 CET 2007 - mvyskocil@suse.cz
|
||||
|
||||
- fix the manual link state after --install and --remove commands [#334783]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:48:53 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 00:10:28 CEST 2005 - dmueller@suse.de
|
||||
|
||||
- add norootforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 1 21:10:06 CEST 2004 - skh@suse.de
|
||||
|
||||
- Initial package version 1.8.3
|
||||
|
||||
|
81
update-alternatives.spec
Normal file
81
update-alternatives.spec
Normal file
@ -0,0 +1,81 @@
|
||||
#
|
||||
# spec file for package update-alternatives
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define admindir %{_localstatedir}/lib/rpm/
|
||||
|
||||
Name: update-alternatives
|
||||
Version: 1.16.7
|
||||
Release: 0
|
||||
Summary: Maintain symbolic links determining default commands
|
||||
License: GPL-2.0+
|
||||
Group: System/Management
|
||||
Url: http://ftp.de.debian.org/debian/pool/main/d/dpkg/
|
||||
Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz
|
||||
Source3: sensible-editor
|
||||
Patch0: update-alternatives-%{version}-suse.patch
|
||||
Patch1: dpkg-archtable-suse.patch
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
update-alternatives creates, removes, maintains and displays
|
||||
information about the symbolic links comprising the alternatives
|
||||
system. It is possible for several programs fulfilling the same or
|
||||
similar functions to be installed on a single system at the same time.
|
||||
For example, many systems have several text editors installed at once.
|
||||
This gives choice to the users of a system, allowing each to use a
|
||||
different editor, if desired, but makes it difficult for a program to
|
||||
make a good choice of editor to invoke if the user has not specified a
|
||||
particular preference.
|
||||
|
||||
%prep
|
||||
%setup -q -n dpkg-%{version}
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%{configure} \
|
||||
--with-admindir=%{admindir}
|
||||
|
||||
make -C lib/compat %{?_smp_mflags}
|
||||
make -C utils/ %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
install -d -m 0755 %{buildroot}/%{_sbindir}/
|
||||
install -d -m 0755 %{buildroot}/%{_mandir}/man8/
|
||||
install -d -m 0755 %{buildroot}/%{_sysconfdir}/alternatives
|
||||
install -d -m 0755 %{buildroot}/%{admindir}/alternatives
|
||||
install -d -m 0755 %{buildroot}/%{_localstatedir}/log
|
||||
|
||||
install -m 0755 utils/%{name} %{buildroot}/%{_sbindir}
|
||||
install -m 0644 man/%{name}.8 %{buildroot}/%{_mandir}/man8/
|
||||
|
||||
touch %{buildroot}/%{_localstatedir}/log/%{name}.log
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%dir %{_sysconfdir}/alternatives
|
||||
%dir %{_localstatedir}/lib/rpm/alternatives
|
||||
%{_sbindir}/update-alternatives
|
||||
%{_mandir}/man8/update-alternatives.8*
|
||||
%ghost %{_localstatedir}/log/update-alternatives.log
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user