diff options
author | 2010-05-31 12:48:27 -0300 | |
---|---|---|
committer | 2010-05-31 12:48:27 -0300 | |
commit | 2b7786f20fcdcb1a5f86014718080af19347abf0 (patch) | |
tree | 7ee9a41784508e62e66104e193281b4782772428 | |
parent | new file: sys-apps/syscolorize/ChangeLog (diff) | |
download | menelkir-2b7786f20fcdcb1a5f86014718080af19347abf0.tar.gz menelkir-2b7786f20fcdcb1a5f86014718080af19347abf0.tar.bz2 menelkir-2b7786f20fcdcb1a5f86014718080af19347abf0.zip |
modified: sys-apps/syscolorize/Manifest
new file: sys-apps/syscolorize/files/syscolorize-1.2.1-config-path.patch
modified: sys-apps/syscolorize/syscolorize-1.2.1.ebuild
-rw-r--r-- | sys-apps/syscolorize/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/syscolorize/files/syscolorize-1.2.1-config-path.patch | 10 | ||||
-rw-r--r-- | sys-apps/syscolorize/syscolorize-1.2.1.ebuild | 13 |
3 files changed, 25 insertions, 1 deletions
diff --git a/sys-apps/syscolorize/Manifest b/sys-apps/syscolorize/Manifest index 563262c..b160d64 100644 --- a/sys-apps/syscolorize/Manifest +++ b/sys-apps/syscolorize/Manifest @@ -1,4 +1,5 @@ +AUX syscolorize-1.2.1-config-path.patch 295 RMD160 ba1d3bc950dea6a7de1984add672741154d7e959 SHA1 ef47d1fca8c67255862bf83c65fb0f67c4941896 SHA256 2da0806fc1757e01c540ca5befbd3e4663cbaf2306fd359fd4a1ef0b0fecb562 DIST syscolorize-1.2.1.tar.bz2 16091 RMD160 8f27fd3c8a28e58bac4f2253438e95aa6a238a82 SHA1 9408185cc39fbc3f0fc9ee5ecee7a48351389b3a SHA256 357d8dde4e49e453f22a3ac8f84c5ce892fd758db6294a0ecfcb2502ea4c517f -EBUILD syscolorize-1.2.1.ebuild 691 RMD160 5c72c80f59674de06cd9db86324ec6ebae2a158c SHA1 e1d5edf29fd11db5ceadc803d5808ff067ef69c6 SHA256 7c4adff1329c6048ef87e19bbdf32adcdf0cfe08773fa92db453e592b001f035 +EBUILD syscolorize-1.2.1.ebuild 949 RMD160 12fcbe251b8ede762b2aebe36d31c7e9fc863379 SHA1 7b8082c62a65ef7f430198074a6442b494d3840a SHA256 acdd0b815d1ff00d4717591606e1f09dd45374e420c338fba7b55363b0740ec1 MISC ChangeLog 349 RMD160 af7f617d6288e266426409b8dccf8bbc3fee95a4 SHA1 9f05d84d5a251d8a97d50d91c68a1440d290540d SHA256 8142529a76417b41e0bed54f71b7720402d30b51d6068021f3c24a0037e54226 MISC metadata.xml 384 RMD160 886b4972ee40356c05867f9e6f2cc2a5842b021d SHA1 2cfde3c9fde6068f35d58ce5a4b4db3b312448bb SHA256 0097431b309dbaf14258103c24c3f199262ad7b5ebe9325cbda1664bd17fdc7e diff --git a/sys-apps/syscolorize/files/syscolorize-1.2.1-config-path.patch b/sys-apps/syscolorize/files/syscolorize-1.2.1-config-path.patch new file mode 100644 index 0000000..c24e131 --- /dev/null +++ b/sys-apps/syscolorize/files/syscolorize-1.2.1-config-path.patch @@ -0,0 +1,10 @@ +--- syscolorize 2008-01-23 14:30:35.000000000 -0200 +@@ -19,7 +19,7 @@ + my ($tmp,$conf,%colors,$fh,$conffile, $ppid); + my %ignore_pids = (); + my %executed_ssh_checks = (); +-my $conffile = "~/.syscolorize.conf"; ++my $conffile = "/etc/syscolorize.conf"; + + %colors = ( + black => "\033[0;30m", diff --git a/sys-apps/syscolorize/syscolorize-1.2.1.ebuild b/sys-apps/syscolorize/syscolorize-1.2.1.ebuild index bea45ec..c175039 100644 --- a/sys-apps/syscolorize/syscolorize-1.2.1.ebuild +++ b/sys-apps/syscolorize/syscolorize-1.2.1.ebuild @@ -5,6 +5,8 @@ EAPI="2" +inherit eutils + DESCRIPTION="A text colorizer. It prints out some useful information by filtering and colorizing data " HOMEPAGE="http://syscolorize.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" @@ -17,8 +19,19 @@ IUSE="" DEPEND="dev-perl/config-general" RDEPEND="${DEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-config-path.patch + } + src_install() { dobin syscolorize dodoc README* syscolorize.conf.example syscolorize.vim COPYING Changelog INSTALL } +pkg_postinst() { + einfo "You must configure /etc/syscolorize.conf for a proper use in your system" + einfo "See /usr/share/doc/${P}/ for more details" + } + |