summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Darlow <mail@mcgruff.plus.com>2012-05-17 19:40:04 +0100
committerNoel Darlow <mail@mcgruff.plus.com>2012-05-17 19:40:04 +0100
commit69d1a09afa3e41f7adaa9303353985b2ed98c282 (patch)
tree91c022b805df3f9587df2b10be3c46c2b9e8c607 /app-admin/gentool
parentfixing ardour-irc ebuild (diff)
downloadunderlay-69d1a09afa3e41f7adaa9303353985b2ed98c282.tar.gz
underlay-69d1a09afa3e41f7adaa9303353985b2ed98c282.tar.bz2
underlay-69d1a09afa3e41f7adaa9303353985b2ed98c282.zip
first try for ebuilds of bashfun and gentool - corrections to follow...
Diffstat (limited to 'app-admin/gentool')
-rw-r--r--app-admin/gentool/Manifest4
-rw-r--r--app-admin/gentool/gentool-0.1.3.ebuild47
-rw-r--r--app-admin/gentool/gentool-0.1.4.ebuild46
-rw-r--r--app-admin/gentool/metadata.xml6
4 files changed, 53 insertions, 50 deletions
diff --git a/app-admin/gentool/Manifest b/app-admin/gentool/Manifest
new file mode 100644
index 0000000..d02ec96
--- /dev/null
+++ b/app-admin/gentool/Manifest
@@ -0,0 +1,4 @@
+DIST gentool-0.1.4.tar.bz2 8550 RMD160 07959dcd35202d25a7971eeee4cd9f3211eb92f8 SHA1 1d84557773cfaf18bc25d32bd0bb6b2ea9a9f810 SHA256 073057b28e637d98bd08dad6b4378cfc44e5b45b3d42e9757fa250128b293f7a
+EBUILD gentool-0.1.4.ebuild 1285 RMD160 e697556dfdf6839e09c6d94a709a1725ba7748dc SHA1 e0a5d8ec177ee5a27c421ed4b2090bfd95687ae9 SHA256 38d65e390506af27dca0a834a22edbbc5b22dde7d8c7fe880bc6db7a30ad9809
+MISC ChangeLog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+MISC metadata.xml 513 RMD160 5ccacd7985a83578b1b02f37e5321fce4c75f73f SHA1 891e34ce89792243996e4c8319d1508964b096df SHA256 503e044c2881c5f53de73bcff9fd25d8c097182434c636e2614538d0f568bc53
diff --git a/app-admin/gentool/gentool-0.1.3.ebuild b/app-admin/gentool/gentool-0.1.3.ebuild
deleted file mode 100644
index 560ed64..0000000
--- a/app-admin/gentool/gentool-0.1.3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-EAPI=2
-inherit eutils
-DESCRIPTION="gentoo system management"
-HOMEPAGE=""
-SRC_URI=""
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="x86 amd64"
-IUSE=""
-
-#DEPEND=">=app-misc/bashfun-0.1.2
-# layman"
-RDEPEND="net-misc/rsync
- sys-boot/grub"
-
-src_install() {
- #config protect?
- dodir '/opt/gem' || die "out of cheese error 1"
- #insinto '/opt/gem' || die "out of cheese error 2"
-
- ls -avlh ${FILESDIR}'/'${PVR}'/opt/gem/'
- cp -ar ${FILESDIR}'/'${PVR}'/opt/gem/'* ${D}'/opt/gem/' || die "out of cheese error 3"
- dodir '/etc/gem' || die "out of cheese error 4"
- insinto '/etc/gem' || die "out of cheese error 5"
- doins ${FILESDIR}'/'${PVR}'/etc/gem/config.sh' || die "out of cheese error 6"
- doenvd ${FILESDIR}'/'${PVR}'/etc/env.d/99gem-env' || die "out of cheese error 7"
-}
-
-pkg_postinst() {
- if [ ! -f /opt/bin/gem ]
- then
- cd /opt/bin
- ln -s /opt/gem/bin/gem.sh gem
- fi
-
- path_minus_opt_bin=`echo $PATH | sed 's~/opt/bin:~~g'`
- if [ $PATH = $path_minus_opt_bin ]
- then
- ewarn
- ewarn 'OMG! /opt/bin is not in your $PATH!'
- ewarn '(gem is installed at /opt/bin/gem)'
- ewarn
- fi
- ewarn
- ewarn 'you may want to edit /etc/gem/config.sh now - just follow instructions in the file'
- ewarn
-}
diff --git a/app-admin/gentool/gentool-0.1.4.ebuild b/app-admin/gentool/gentool-0.1.4.ebuild
new file mode 100644
index 0000000..3a60680
--- /dev/null
+++ b/app-admin/gentool/gentool-0.1.4.ebuild
@@ -0,0 +1,46 @@
+EAPI=2
+inherit eutils
+DESCRIPTION="gentoo system management"
+HOMEPAGE=""
+SRC_URI="http://www.aperiplus.co.uk/downloads/src/${P}.tar.bz2"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+#DEPEND=""
+
+RDEPEND="net-misc/rsync
+ sys-boot/grub
+ app-misc/bashfun
+ net-misc/htpdate"
+
+src_install() {
+ dodir '/opt/gentool' || die "out of cheese error 1"
+ insinto '/opt/gentool' || die "out of cheese error 2"
+ cp -ar ${FILESDIR}'/'${S}'/opt/gentool/'* ${D}'/opt/gentool/' || die "out of cheese error 3"
+ dodir '/etc/gentool' || die "out of cheese error 4"
+ insinto '/etc/gentool' || die "out of cheese error 5"
+ doins ${FILESDIR}'/'${S}'/etc/gentool/config.sh' || die "out of cheese error 6"
+ doenvd ${FILESDIR}'/'${S}'/etc/env.d/99gentool-env' || die "out of cheese error 7"
+}
+
+pkg_postinst() {
+ if [ ! -f /opt/bin/gentool ]
+ then
+ cd /opt/bin
+ ln -s /opt/gentool/bin/gentool.sh gentool
+ fi
+
+ path_minus_opt_bin=`echo $PATH | sed 's~/opt/bin:~~g'`
+ if [ $PATH = $path_minus_opt_bin ]
+ then
+ ewarn
+ ewarn '/opt/bin is not in your $PATH!'
+ ewarn '(gentool is installed at /opt/bin/gentool)'
+ ewarn
+ fi
+ ewarn
+ ewarn 'you may want to edit /etc/gentool/config.sh now - just follow instructions in the file'
+ ewarn
+}
diff --git a/app-admin/gentool/metadata.xml b/app-admin/gentool/metadata.xml
index 19b6c00..6a395a5 100644
--- a/app-admin/gentool/metadata.xml
+++ b/app-admin/gentool/metadata.xml
@@ -3,8 +3,8 @@
<pkgmetadata>
<herd>underlay</herd>
<maintainer>
- <email>gem@aperiplus.co.uk</email>
- <description>gentoo manager</description>
+ <email>gentool@aperiplus.co.uk</email>
+ <description>Help manage a gentoo OS.</description>
</maintainer>
-<longdescription>Gem is a portage wrapper with extra commands to help manage software updates. Prior to an emerge, you can quickly back up OS and apps with `gem sync` and, if it all goes wrong, revert back to the old package versions very quickly with no downtime (the backups are bootable). This is particularly important in a rolling release distro like gentoo. Other functions include `gem kernel` which automates most of the work of building a new kernel.</longdescription>
+<longdescription>Gentool's main feature is the ability to revert to the last working system when an emerge goes wrong. You can be up and running again almost instantly - guaranteed no downtime for a vital machine.</longdescription>
</pkgmetadata>