Opened 13 years ago

Last modified 12 years ago

#99 closed defect

test version should use the real name of tar files — at Version 7

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

Description (last modified by Bruno Cornec)

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 (7)

comment:1 by Bruno Cornec, 13 years ago

Status: newassigned

comment:2 by Francesco Talamona, 13 years ago

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 by Bruno Cornec, 13 years ago

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 by Bruno Cornec, 13 years ago

Milestone: 0.11.30.11.4

comment:5 by Bruno Cornec, 13 years ago

Milestone: 0.11.40.11.5

comment:6 by Bruno Cornec, 12 years ago

Milestone: 0.11.5

Milestone 0.11.5 deleted

comment:7 by Bruno Cornec, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.