OoO En cette soirée bien amorcée du dimanche 10 août 2008, vers 22:20,
RISKO Gergely [EMAIL PROTECTED] disait :
The patch is trivial, why not apply it? Moreover, this file should be
part of libmcrypt-dev as well as /usr/lib/libmcrypt.la (and in fact
libmcrypt.a should be shipped instead).
Riko, would you like some help for packaging? If you are not interested
or have not enough time to care of this package, please orphan it.
Please do an NMU or supply a patch and I will do an upload.
Hi Gergely!
Sorry for misnaming you in my previous mail.
Here is a proposed debdiff:
--- libmcrypt-2.5.7/debian/control
+++ libmcrypt-2.5.7/debian/control
@@ -2,7 +2,7 @@
Section: libs
Priority: optional
Maintainer: RISKO Gergely [EMAIL PROTECTED]
-Build-Depends: libltdl3-dev, debhelper
+Build-Depends: libltdl3-dev, debhelper (= 5), autotools-dev, quilt
Standards-Version: 3.6.1.1
Package: libmcrypt4
@@ -27,8 +27,8 @@
Package: libmcrypt-dev
Section: libdevel
Architecture: any
-Depends: libmcrypt4 (= ${Source-Version}), libltdl3-dev
-Replaces: libmcrypt4 ( 2.5.7-2)
+Depends: libmcrypt4 (= ${binary:Version}), libltdl3-dev
+Replaces: libmcrypt4 ( 2.5.7-5)
Description: De-/Encryption Library development files
libmcrypt is the library which implements all the algorithms and
modes found in mcrypt.
--- libmcrypt-2.5.7/debian/rules
+++ libmcrypt-2.5.7/debian/rules
@@ -5,35 +5,30 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatability version to use.
-export DH_COMPAT=1
+include /usr/share/quilt/quilt.make
build: build-stamp
-build-stamp:
+build-stamp: patch
dh_testdir
# Add here commands to compile the package.
+ cp -f /usr/share/misc/config.sub config.sub
+ cp -f /usr/share/misc/config.guess config.guess
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
$(MAKE)
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
- rm -f build-stamp libltdl/config.log libltdl/config.status
+ rm -f stamp-h.in build-stamp config.guess config.sub
- -$(MAKE) clean
- -$(MAKE) distclean
-ifneq $(wildcard /usr/share/misc/config.sub)
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq $(wildcard /usr/share/misc/config.guess)
- cp -f /usr/share/misc/config.guess config.guess
-endif
- rm -f config.log config.status
+ [ ! -f Makefile ] || $(MAKE) clean
+ [ ! -f Makefile ] || (echo distclean: libltdl/Makefile ; $(MAKE) distclean ; rm libltdl/Makefile)
+ rm -f config.log config.status
- dh_clean conftest conftest.o
+ dh_clean
install: build
dh_testdir
@@ -44,31 +39,21 @@
# Add here commands to install the package into debian/tmp.
$(MAKE) mandir=`pwd`/debian/tmp/usr/share/man prefix=`pwd`/debian/tmp/usr install
- dh_movefiles -plibmcrypt-dev usr/lib/*\.a usr/lib/libmcrypt/*\.a usr/lib/*.so usr/include usr/bin/libmcrypt-config
- rm -rf debian/tmp/usr/include
-
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
-# dh_testversion
dh_testdir
dh_testroot
-# dh_installdebconf
dh_installdocs
dh_installexamples
dh_installmenu
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
+ dh_install
dh_installcron
dh_installmanpages -plibmcrypt-dev
- cd debian/libmcrypt-dev/usr/share/man/man3; mv mcrypt.3 libmcrypt.3 ; ln -s libmcrypt.3 mcrypt.3
- rm -R debian/tmp/usr/share/man
-# dh_undocumented
+ cd debian/libmcrypt-dev/usr/share/man/man3 mv mcrypt.3 libmcrypt.3 ln -s libmcrypt.3 mcrypt.3
dh_installchangelogs ChangeLog
dh_link
dh_strip
@@ -76,7 +61,6 @@
dh_fixperms
dh_makeshlibs -X usr/lib/libmcrypt/
dh_installdeb
-# dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
--- libmcrypt-2.5.7/debian/changelog
+++ libmcrypt-2.5.7/debian/changelog
@@ -1,3 +1,22 @@
+libmcrypt (2.5.7-6) unstable; urgency=low
+
+ * Update debian/compat to 5. Remove DH_COMPAT from top of
+debian/rules. Update debhelper dependency to = 5.
+ * Use dh_install to dispatch files to libmcrypt4 and libmcrypt-dev. Move
+some files from libmcrypt4 to libmcrypt-dev. Update Replaces to allow
+smooth updates.
+ * Don't use minus sign in front of cleaning rules in debian/rules but
+add some hack to avoid bug in distclean target for libltdl.
+ * Move replacement of config.guess and config.sub to configure target in
+debian/rules. Clean them in clean target. Depends on autotools-dev to
+not use conditionals.
+ * Cleanup diff.gz.
+ * Build-Depends on autotools-dev to ensure up-to-date config.{guess,sub}
+ * Fix libmcrypt.m4, thanks to Alban Browaeys (Closes: #305288)
+ * Switch to binary:Version in debian/control
+
+ -- RISKO Gergely [EMAIL PROTECTED] Mon, 11 Aug 2008 07:57:59 +0200
+
libmcrypt (2.5.7-5) unstable; urgency=low
* updated the description about the new algorithms
---