Ticket #99 (closed defect: fixed)

Opened 13 months ago

Last modified 2 months ago

test version should use the real name of tar files

Reported by: bruno Owned by: bruno
Priority: major Milestone: 0.12.1
Component: pb Version: 0.11.3
Keywords: Cc:

Description (last modified by bruno) (diff)

test version should use the real name of tar files in correspondance to the name of packages. In particular, gentoo with ebuilds rely on the fact that this coherence exist.

Cf:  http://trac.mondorescue.org/ticket/460

Change History

comment:1 Changed 13 months ago by bruno

  • Status changed from new to assigned

comment:2 Changed 13 months ago by Francesco

After downloading the ebuild I edited them in order to correct the errors in

1) source retrieval

2) compilation phase:

wget ftp://ftp.mondorescue.org/test/src/mindi-2.0.7.6.tar.gz
wget ftp://ftp.mondorescue.org/test/src/mondo-2.2.9.5.tar.gz
--- mindi-2.0.7.6-r1.ebuild-orig	2011-04-16 16:08:47.000000000 +0200
+++ mindi-2.0.7.7.ebuild	2011-04-16 16:31:08.000000000 +0200
@@ -36,7 +36,8 @@
 	export LIBDIR="${PREFIX}/lib"
 	export DONT_RELINK=1
 	export PKGBUILDMINDI="true"
-	"${WORKDIR}"/"${P}"/install.sh
+	cd "${WORKDIR}"/"${P}"
+	./install.sh
 }
 
 pkg_postinst() {



--- mondo-2.2.9.5-r1.ebuild-orig	2011-04-16 16:02:51.000000000 +0200
+++ mondo-2.2.9.6.ebuild	2011-04-16 16:02:42.000000000 +0200
@@ -47,7 +47,7 @@
 	make install DESTDIR="${D}" || die "make install failed"
 	mkdir -p "${D}/var/cache/mondo"
 	exeinto /usr/share/mondo
-	doexe mondo/autorun
+	doexe /usr/share/mondo/autorun
 }
 
 pkg_postinst() {

comment:3 Changed 12 months ago by bruno

The ebuild files have been fixed in rev [1303]. Thanks for your report.

Usage of full names for test files is still to be done.

comment:4 Changed 12 months ago by bruno

  • Milestone changed from 0.11.3 to 0.11.4

comment:5 Changed 7 months ago by bruno

  • Milestone changed from 0.11.4 to 0.11.5

comment:6 Changed 6 months ago by bruno

  • Milestone 0.11.5 deleted

Milestone 0.11.5 deleted

comment:7 Changed 3 months ago by bruno

  • Description modified (diff)

comment:8 Changed 2 months ago by bruno

  • Milestone set to 0.12.1

comment:9 Changed 2 months ago by bruno

  • Status changed from assigned to closed
  • Resolution set to fixed

rev [1432] is fixing the usage of correct tar file names for test versions as well. Works for .deb and .rpm generation. Remains to test for other LInux (gentoo) and other OSes (Solaris)

Note: See TracTickets for help on using tickets.