Opened 9 years ago

Closed 8 years ago

#99 closed defect (fixed)

test version should use the real name of tar files

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

comment:1 Changed 9 years ago by Bruno Cornec

Status: newassigned

comment:2 Changed 9 years ago by Francesco Talamona

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

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

Milestone: 0.11.30.11.4

comment:5 Changed 8 years ago by Bruno Cornec

Milestone: 0.11.40.11.5

comment:6 Changed 8 years ago by Bruno Cornec

Milestone: 0.11.5

Milestone 0.11.5 deleted

comment:7 Changed 8 years ago by Bruno Cornec

Description: modified (diff)

comment:8 Changed 8 years ago by Bruno Cornec

Milestone: 0.12.1

comment:9 Changed 8 years ago by Bruno Cornec

Resolution: fixed
Status: assignedclosed

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.