From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-dialup/fbgetty/Manifest | 6 ++ net-dialup/fbgetty/fbgetty-0.1.698-r1.ebuild | 28 ++++++++++ .../fbgetty/files/fbgetty-0.1.698-gcc41.patch | 64 ++++++++++++++++++++++ net-dialup/fbgetty/metadata.xml | 5 ++ 4 files changed, 103 insertions(+) create mode 100644 net-dialup/fbgetty/Manifest create mode 100644 net-dialup/fbgetty/fbgetty-0.1.698-r1.ebuild create mode 100644 net-dialup/fbgetty/files/fbgetty-0.1.698-gcc41.patch create mode 100644 net-dialup/fbgetty/metadata.xml (limited to 'net-dialup/fbgetty') diff --git a/net-dialup/fbgetty/Manifest b/net-dialup/fbgetty/Manifest new file mode 100644 index 000000000000..1d0371604bb9 --- /dev/null +++ b/net-dialup/fbgetty/Manifest @@ -0,0 +1,6 @@ +AUX fbgetty-0.1.698-gcc41.patch 2549 SHA256 b23e7fda7900a380b8fc1015ca126715624bf1192622e9d9856ac8d44b44ebde SHA512 a53e5f9e2880362d023d6fc017bd49d519c25ea3395f606f5dafccc52a72d80e18bf6cd345a732733e4f252c9e5fddbbf02dd63a2d4c6ee808073fc895be5a9f WHIRLPOOL b7ec0d4935b1229a98790d077617d41674a80f38f66caa5ab6f206ce42c50fc74ea7bf9c9e6369539783b34fcb31b0cff06070b7e14f83216391e8d2556a63b8 +DIST fbgetty-0.1.698.tar.gz 279751 SHA256 332cbffa7c489b39a7d13d12d581c27dfc57ba098041431a6845b44785cf2d35 SHA512 942304ac00ecfaad59419a0994331e59d91269ee015e3bd38faa85db0b205e6e88e1958b65e503f59b81f050a1e110aeea6534eecb3ba010096a6b5173fd1ac5 WHIRLPOOL a2a6cfd2c1cadc60e941922229cfd642f054a3221fb95dad2d63f4d44f8ebd7268fc7761b36d926b591433e4e9da3e4ea49dee6ba499ee2dfb446232c960cd37 +EBUILD fbgetty-0.1.698-r1.ebuild 577 SHA256 cf5847f642742276931b3d06708d1884911f6de8ed208b7f5b13cf9fc2a15efb SHA512 86dace92cff3f9b81a5880fa0d175003335e00b4385cf685322e8e9fc49be3eac3ef9f386be16fab4ff8072bc9b143b421db7670799b06e7470e1de958485e64 WHIRLPOOL 2076ae840fd6d62eb84b26465381088cc36d4a81455aeb2b4e008173fa99da27b387255d24da88fa0978755be4c39bf4e35d75848d6a1cd3d68fa35e39aed0b0 +MISC ChangeLog 2506 SHA256 b8a9f06c84f831d9492efafc116e4eddbce7d04af26800b113f539c94f51a944 SHA512 43a79e0c9e4b92d7d834249fc2721566a99c73ddf66c22f79853236db88cf67fae5f71eca3c37b2cbd4cdd35aefdcb54d754bbf491dd0c69af9b88f453378a1a WHIRLPOOL e946eece3a84a7f5f8e5ef955edbba7f4ce74f0916cd04133f65d0541ba1c7e62cea043a840376f820a92d01c2385cc819a352106a4392e95d8e19a97e78bc6c +MISC ChangeLog-2015 1505 SHA256 034f6622b1eafef0a3b81b36b216daa20b51008b97e69cbc41eafe9982efb7f1 SHA512 018d8e12923e26cecb04f2be1a9fffc2a2f5b734a7e283eeeff0e07e43e9b17276972ad6e52c599810ef682040242323a10522d2b834820392a970aef59a38bb WHIRLPOOL e7c6ee0b30ff6b3b22308c8a653760daf195c2eb29b53b3c66a512582980a75e9f100dc0ba56ca1cb2b0281ba97b8bd76e3e5ed8e83ea59a69f24df2d7fb584b +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/net-dialup/fbgetty/fbgetty-0.1.698-r1.ebuild b/net-dialup/fbgetty/fbgetty-0.1.698-r1.ebuild new file mode 100644 index 000000000000..ad131bc4778c --- /dev/null +++ b/net-dialup/fbgetty/fbgetty-0.1.698-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="An extended getty for the framebuffer console" +HOMEPAGE="http://projects.meuh.org/fbgetty/" +SRC_URI="http://projects.meuh.org/${PN}/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" + +src_prepare() { + epatch "${FILESDIR}/${P}-gcc41.patch" + + epatch_user +} + +src_install() { + default + + docompress -x "/usr/share/doc/${PF}/examples" + insinto "/usr/share/doc/${PF}/examples" + doins examples/{issue.*,inittab.*} +} diff --git a/net-dialup/fbgetty/files/fbgetty-0.1.698-gcc41.patch b/net-dialup/fbgetty/files/fbgetty-0.1.698-gcc41.patch new file mode 100644 index 000000000000..a9722f12c115 --- /dev/null +++ b/net-dialup/fbgetty/files/fbgetty-0.1.698-gcc41.patch @@ -0,0 +1,64 @@ +diff -Nru fbgetty-0.1.698.orig/include/fbgetty/generated/fgoptions.awk fbgetty-0.1.698/include/fbgetty/generated/fgoptions.awk +--- fbgetty-0.1.698.orig/include/fbgetty/generated/fgoptions.awk 2001-07-11 23:01:15.000000000 +0300 ++++ fbgetty-0.1.698/include/fbgetty/generated/fgoptions.awk 2007-10-27 11:29:50.000000000 +0300 +@@ -45,8 +45,7 @@ + name = $3; + type = $2; + +- printf("#define OFFSET_%s (offsetof(struct fbgetty_options_t, %s))\n", name, name); +- printf(" %s %s;\n\n", type, name); ++ printf(" %s %s;\n", type, name); + } + + END { +diff -Nru fbgetty-0.1.698.orig/src/options.c fbgetty-0.1.698/src/options.c +--- fbgetty-0.1.698.orig/src/options.c 2001-12-17 22:55:42.000000000 +0200 ++++ fbgetty-0.1.698/src/options.c 2007-10-27 11:32:53.000000000 +0300 +@@ -27,7 +27,7 @@ + */ + + #include +- ++#include + + #include + #include +@@ -141,7 +141,7 @@ + #define ENV_BINARY 0x04 + #define ENV_LEDS 0x08 + +-#define ENV_ENTRY(name, type, ptr) { name, type, OFFSET_ ## ptr } ++#define ENV_ENTRY(name, type, ptr) { name, type, offsetof(struct fbgetty_options_t, ptr) } + + static struct env_entry + { +@@ -899,20 +899,20 @@ + } + merge_option_list[] = + { +- { OFFSET_tty_device , MERGE_STR, NULL, -1 }, ++ { offsetof(struct fbgetty_options_t, tty_device) , MERGE_STR, NULL, -1 }, + #ifdef USE_FRAME_BUFFER +- { OFFSET_fb_device, MERGE_STR, NULL, -1 }, ++ { offsetof(struct fbgetty_options_t, fb_device), MERGE_STR, NULL, -1 }, + #endif + +- { OFFSET_login_program, MERGE_STR, LOGIN_PROGRAM, -1 }, +- { OFFSET_login_prompt, MERGE_STR, LOGIN_PROMPT, -1 }, +- { OFFSET_issue_filename, MERGE_STR, ISSUE_FILE, -1 }, ++ { offsetof(struct fbgetty_options_t, login_program), MERGE_STR, LOGIN_PROGRAM, -1 }, ++ { offsetof(struct fbgetty_options_t, login_prompt), MERGE_STR, LOGIN_PROMPT, -1 }, ++ { offsetof(struct fbgetty_options_t, issue_filename), MERGE_STR, ISSUE_FILE, -1 }, + +- { OFFSET_login_timeout, MERGE_INT, NULL, LOGIN_TIMEOUT }, +- { OFFSET_issue_refresh, MERGE_INT, NULL, ISSUE_REFRESH }, +- { OFFSET_screen_clear, MERGE_INT, NULL, TRUE }, ++ { offsetof(struct fbgetty_options_t, login_timeout), MERGE_INT, NULL, LOGIN_TIMEOUT }, ++ { offsetof(struct fbgetty_options_t, issue_refresh), MERGE_INT, NULL, ISSUE_REFRESH }, ++ { offsetof(struct fbgetty_options_t, screen_clear), MERGE_INT, NULL, TRUE }, + +- { OFFSET_leds, MERGE_INT, NULL, 0 }, ++ { offsetof(struct fbgetty_options_t, leds), MERGE_INT, NULL, 0 }, + { 0, 0, NULL, -1 } + }; + diff --git a/net-dialup/fbgetty/metadata.xml b/net-dialup/fbgetty/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/net-dialup/fbgetty/metadata.xml @@ -0,0 +1,5 @@ + + + + + -- cgit v1.2.3