Changeset 1770 in MondoRescue for branches/stable/pbconf
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- Location:
- branches/stable/pbconf
- Files:
-
- 2 deleted
- 7 edited
- 7 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/pbconf/mindi-busybox/rpm/mindi-busybox.spec
r1674 r1770 28 28 29 29 DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/mindi/rootfs 30 make PREFIX=$DESTDIR install30 make CONFIG_PREFIX=$DESTDIR install 31 31 32 32 %clean … … 35 35 %files 36 36 %defattr(-,root,root) 37 %doc ChangeLog INSTALL LICENSE AUTHORS README TODO changelogsvn.log37 %doc ChangeLog INSTALL LICENSE AUTHORS README TODO svn.log 38 38 %{_libdir}/mindi 39 39 -
branches/stable/pbconf/mindi/deb/rules
r1674 r1770 9 9 PACKAGE_NAME = PBPKG 10 10 11 # PREFIX for installtion 11 # PREFIX for installation 12 export HEAD=$(CURDIR)/debian/$(PACKAGE_NAME) 12 13 export PREFIX=/usr 14 export CONFDIR=/etc 15 export MANDIR=$(PREFIX)/share/man 16 #export DOCDIR=$(PREFIX)/share/doc 17 export LIBDIR=$(PREFIX)/lib 18 export CACHEDIR=/var/cache/$(PACKAGE_NAME) 19 export PKGBUILDMINDI=true 13 20 14 21 configure: … … 29 36 dh_installdirs 30 37 # Build the installation tree: 31 (export PKGBUILDMINDI=true && export HEAD=$(CURDIR)/debian/$(PACKAGE_NAME) && export CONFDIR=/etc && export MANDIR=$(PREFIX)/share/man && export LIBDIR=$(PREFIX)/lib && export DOCDIR=$(PREFIX)/share/doc && export CACHEDIR=/var/cache/$(PACKAGE_NAME) && ./install.sh )38 ./install.sh 32 39 33 40 # Build architecture-independent files here. -
branches/stable/pbconf/mindi/rpm/mindi.spec
r1693 r1770 50 50 %defattr(-,root,root) 51 51 %config(noreplace) %{_sysconfdir}/%{name} 52 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox svn.log52 %doc ChangeLog INSTALL COPYING README TODO README.ia64 README.pxe README.busybox README.proliant README.bkphw svn.log 53 53 %{_mandir}/man8/* 54 54 %{_libdir}/%{name} -
branches/stable/pbconf/mondo/ebuild/mondo-rescue.ebuild
r1591 r1770 40 40 elibtoolize 41 41 econf || die "Configuration failed" 42 emake VERSION= VVV|| die "Make failed"42 emake VERSION=PBVER || die "Make failed" 43 43 } 44 44 -
branches/stable/pbconf/mondo/pbinit
r1619 r1770 5 5 6 6 # Export documentation to generate what is needed 7 use ProjectBuilder::Base qw (pb_cms_init pb_cms_export pb_mkdir_p); 7 use ProjectBuilder::Base qw (pb_cms_init pb_cms_export pb_mkdir_p pb_filter_file); 8 use File::Basename; 9 8 10 9 11 system("./bootstrap"); 12 pb_mkdir_p("docs/entmp"); 13 pb_mkdir_p("docs/mantmp"); 10 14 pb_mkdir_p("docs/en"); 11 15 pb_mkdir_p("docs/man"); 16 my $pbpkg = "PBPKG"; 17 my $pbver = "PBVER"; 18 my $pbtag = "PBTAG"; 19 my $pbrev = "PBREV"; 12 20 13 21 my $cms = pb_cms_init($ENV{'PBPROJ'},undef); 14 22 15 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondoarchive.8","docs/man ");16 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorestore.8","docs/man ");23 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondoarchive.8","docs/mantmp"); 24 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorestore.8","docs/mantmp"); 17 25 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/images","docs/en/images"); 18 26 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/fdl.sgml","docs/en"); 19 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.sgml","docs/en ");27 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.sgml","docs/entmp"); 20 28 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/mondorescue-howto.dsl","docs/en"); 21 29 pb_cms_export($cms,undef,"$ENV{'PBROOT'}/mondo-doc/Makefile.howto","docs/en"); 22 30 # should call filter_file here 23 system("cd docs/en ; ls -lR > /tmp/1 ; make -f Makefile.howto mondorescue-howto.pdf mondorescue-howto.html"); 31 32 my $ptr = pb_get_filters($pbpkg); 33 foreach my $f (<docs/mantmp/*>) { 34 pb_filter_file("$f",$ptr,"docs/man/".basename($f),$pbpkg,$pbver,$pbtag,$pbrev,"",""); 35 } 36 foreach my $f (<docs/entmp/*>) { 37 pb_filter_file("$f",$ptr,"docs/en/".basename($f),$pbpkg,$pbver,$pbtag,$pbrev,"",""); 38 } 39 pb_rm_rf("docs/entmp"); 40 pb_rm_rf("docs/mantmp"); 41 42 system("cd docs/en ; make -f Makefile.howto mondorescue-howto.pdf mondorescue-howto.html"); -
branches/stable/pbconf/mondorescue.pb
r1693 r1770 9 9 projtag mondorescue = 1 10 10 11 # 12 # Which CMS system is used 13 # 14 cms mondorescue = svn 15 16 # 17 # Packager label 18 # 19 packager mondorescue = "Bruno Cornec <bruno@mondorescue.org>" 20 21 # 22 # For delivery to a machine by SSH (potentially the FTP server) 23 # Needs hostname, account and directory 24 # 25 sshhost mondorescue = www.mondorescue.org 26 sshlogin mondorescue = bruno 27 sshdir mondorescue = /mondo/ftp 28 sshport mondorescue = 22 29 30 # 31 # For Virtual machines management 32 # Naming convention to follow: distribution name (as per ProjectBuilder::Distribution) 33 # followed by '_' and by release number 34 # a .vmtype extension will be added to the resulting string 35 # a QEMU rhel_3 here means that the VM will be named rhel_3.qemu 36 # 37 vmlist mondorescue = mandrake_10.1,mandrake_10.2,mandriva_2006.0,mandriva_2007.0,mandriva_2007.1,mandriva_2008.0,redhat_7.3,redhat_9,fedora_4,fedora_5,fedora_6,fedora_7,rhel_2.1,rhel_3,rhel_4,rhel_5,suse_10.0,suse_10.1,suse_10.2,suse_10.3,sles_9,sles_10,debian_3.1,debian_4.0,ubuntu_6.06,ubuntu_7.04,ubuntu_7.10,gentoo_nover,slackware_10.2,slackware_11.0,freebsd_5.5 38 39 # 40 # Valid values for vmtype are 41 # qemu, (vmware, xen, ... TBD) 42 vmtype mondorescue = qemu 43 vmntp mondorescue = pool.ntp.org 44 45 # We suppose we can commmunicate with the VM through SSH 46 vmhost mondorescue = localhost 47 vmlogin mondorescue = pb 48 vmport mondorescue = 2222 49 # Timeout to wait when VM is launched/stopped 50 vmtmout default = 120 51 vmsize mondorescue = 5G 52 53 # per VMs needed paramaters 54 #vmopt mondorescue = -m 256 -nographic -daemonize 55 vmopt mondorescue = -m 384 -daemonize 56 vmpath mondorescue = /users/qemu 57 58 11 59 # Hash of default package/package directory 12 60 defpkgdir mondo = mondo 13 61 defpkgdir mindi = mindi 14 62 15 pkgver mindi = 1.2.563 pkgver mindi = 2.0.0 16 64 pkgver mindi-busybox = 1.7.2 17 pkgtag mindi-busybox = 1 65 #pkgtag mindi-busybox = 2 18 66 19 67 # Hash of additional package/package directory 20 extpkgdir mindi-busybox = mindi 68 extpkgdir mindi-busybox = mindi-busybox 21 69 extpkgdir mondo-doc = mondo-doc 22 70 … … 28 76 # Files are mentioned relatively to pbroot 29 77 filteredfiles mondo = configure.in 30 filteredfiles mondo-doc = mondorescue-howto.sgml,mondoarchive.8,mondorestore.8 78 filteredfiles mondo-doc = mondorescue-howto.sgml,mondoarchive.8,mondorestore.8,mindi.8 31 79 filteredfiles mindi = rootfs/sbin/init,mindi,install.sh 80 filteredfiles mindi-busybox = Makefile 32 81 filteredfiles mondo-website = top.shtml -
branches/stable/pbconf/pbfilter/rpm.pbf
r1672 r1770 4 4 # Filter for rpm build 5 5 # 6 # PBSRC is replaced by the source package format7 filter PBSRC = ftp://ftp.mondorescue.org/src/%{name}-%{version}.tar.gz8 6 9 7 # PBGRP is replaced by the RPM group of apps … … 13 11 filter PBDEP = 14 12 15 # PBVER is replaced by the version ($pbver in code)16 filter PBVER = $pbver17 18 # PBDATE is replaced by the date ($pbdate in code)19 filter PBDATE = $pbdate20 21 # PBLOG is replaced by the changelog if value is yes22 filter PBLOG = yes23 24 # PBTAG is replaced by the tag ($pbtag in code)25 filter PBTAG = $pbtag26 27 # PBREV is replaced by the revision ($pbrev in code)28 filter PBREV = $pbrev29 30 # PBPKG is replaced by the package name ($pbpkg in code)31 filter PBPKG = $pbpkg32 33 13 # PBSUF is replaced by the package name ($pbpkg in code) 34 14 filter PBSUF = $pbsuf
Note:
See TracChangeset
for help on using the changeset viewer.