summaryrefslogtreecommitdiff
path: root/sys-fs/e4rat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /sys-fs/e4rat
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'sys-fs/e4rat')
-rw-r--r--sys-fs/e4rat/Manifest8
-rw-r--r--sys-fs/e4rat/e4rat-0.2.4_pre20141201-r1.ebuild63
-rw-r--r--sys-fs/e4rat/files/e4rat-0.2.2-libdir.patch14
-rw-r--r--sys-fs/e4rat/files/e4rat-0.2.2-shared-build.patch74
-rw-r--r--sys-fs/e4rat/files/e4rat-0.2.4-gcc6.patch11
-rw-r--r--sys-fs/e4rat/files/e4rat-0.2.4-strdup.patch41
-rw-r--r--sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch13
-rw-r--r--sys-fs/e4rat/metadata.xml11
8 files changed, 0 insertions, 235 deletions
diff --git a/sys-fs/e4rat/Manifest b/sys-fs/e4rat/Manifest
deleted file mode 100644
index b92fd1519eb3..000000000000
--- a/sys-fs/e4rat/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX e4rat-0.2.2-libdir.patch 509 BLAKE2B dda800fb005994a737b7331bb07c69bdfa79ac5e0ad49a6a001319177963b671dfaa32dea28e155ecbf31d345a1b2e1b9cc30dfea4ad496d5107b2d2c8d74c7b SHA512 c942b1fe189500c666e0994c3b7563a96b05fe065f0b3c2ff5f99bb3a0b462cc13e5ac6ecc692e10d6eec43f2d83c1f80bed7c3f354cda3f3f0d85d358e85d0f
-AUX e4rat-0.2.2-shared-build.patch 2560 BLAKE2B dfacdf9ff70d8d1335947eae3e61d1a152aa91459e090eb9212bcf113fc843c60af75c28aceae4f76939d8ba0ed2611a029fec5b3aab83b2638190ac9d04401a SHA512 0cb8acc4c2df6cc92574f46153516dbc0cb91240cccb46e2879d60a515af066688db3c79a5f66cf5da43b5a51a85c9cea22cef52178ebea5aec7c267f67562d0
-AUX e4rat-0.2.4-gcc6.patch 542 BLAKE2B 9548cb2f2fa7f7d43db35e0f97915fa2a81d63f934637b7190e66626322d41c444943867a78e121bd06ff09d27d3eb2606a535e008512fe917bf16422ec9a491 SHA512 9bb843a0359acb843a513f701b71a2b666c550d28708a14cdc6e77c4fc56362a10990cfe3fbed2ff9724dc71bc0be6ec72be4309b6e2383120ca75697f359512
-AUX e4rat-0.2.4-strdup.patch 1427 BLAKE2B 1ab2f089f346ac635a8417d9e608695e18f77d12c15cf0fa35b4c1dc1fdfca2761308e8d21b1fa2daeee83e82f9f893a9d4e014e77538c3d345b2cca4b85676a SHA512 62d2b4b2b5e8a9b309b920d20fee98057f7e7564cf86e01f8d4cbd3219b47caf7d78ddfe71b01fde46997bb8966e2ce76df4d32ec6ab9a6190a1351bc2faf6cc
-AUX e4rat-0.2.4-sysmacros.patch 288 BLAKE2B de96b8e8dc03359e2eda1357dcd76233ac9a7a5e6a6c8f2c187372e5dcfeccc3eb89d8aa349a0a07e2fc7ab59320428b46c3dcd5c45c0eb2433bfdc63355806f SHA512 50883828bf95368c31c620fac46728c6bfaf768a794158b30614cb2c0b7a65ee82e8bcf12268a26de93e87fb6b0466bc93e29a7dd69895234693745e24a6da59
-DIST e4rat-0.2.4_pre20141201.tar.xz 60408 BLAKE2B 4ebedfcca7f21bb1f3be59dac64694e0f69ecb5ebdc1637210c68097178e2ae38959581a51fc55b8773d63ce629aaf69765bb755d45467bf5e4f4e741b715101 SHA512 61a53f6ac420392df5894d3f76de28c5d2e33fd3a6548cf8c9de52818bf937ba8bf8629db1b89103faa73b660548d7e467e17d7f2794a4100ca07971ded0cfb9
-EBUILD e4rat-0.2.4_pre20141201-r1.ebuild 1601 BLAKE2B bfa6e4fd6b0e10a1df31e389d3f2cf1e8932415ec2a33c02dd9d181ce9550ddf9043aa50cf9d0d5898cf2d3bf9b2c9d351bf4ad8e2c142f001317e14285b500d SHA512 2d0a19bb976f99ef8b39f170d5d4838e543641e9e1cc546a51222509d37a9def78cd01fed26095ce7060053d417fe985d58cfaf85e45630c35c6212c4319f0e7
-MISC metadata.xml 326 BLAKE2B abd41d1b0f40f0715448c83bd0a538e09eb17c52b1ec0b39439d86eb01a0b1c7ed9e2ab8e40ff78b3a2a5d0fcc5cd61539e5d80157fef09e1c4f99a5d3299ba0 SHA512 95ce588cf88254ccf5fa02e357e62c26f8a5996d2615bf4610f18db255d2eb7dc14b865863c6700be7ea7870aede748e82a570e85372b0e75e17c31701bdde23
diff --git a/sys-fs/e4rat/e4rat-0.2.4_pre20141201-r1.ebuild b/sys-fs/e4rat/e4rat-0.2.4_pre20141201-r1.ebuild
deleted file mode 100644
index 1894e09017df..000000000000
--- a/sys-fs/e4rat/e4rat-0.2.4_pre20141201-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils linux-info readme.gentoo-r1
-
-DESCRIPTION="Toolset to accelerate the boot process and application startup"
-HOMEPAGE="http://e4rat.sourceforge.net/"
-#SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.tar.gz"
-SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${PN}-0.2.4_pre20141201.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="
- dev-lang/perl:=
- >=dev-libs/boost-1.42:=
- sys-fs/e2fsprogs
- sys-process/audit[static-libs(+)]
- sys-process/lsof
-"
-DEPEND="${RDEPEND}"
-
-CONFIG_CHECK="~AUDITSYSCALL"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.2.2-shared-build.patch
- "${FILESDIR}"/${PN}-0.2.2-libdir.patch
- "${FILESDIR}"/${PN}-0.2.4-sysmacros.patch #580534
- "${FILESDIR}"/${PN}-0.2.4-gcc6.patch #594046
- "${FILESDIR}"/${PN}-0.2.4-strdup.patch
-)
-
-pkg_setup() {
- check_extra_config
- DOC_CONTENTS="
- To launch systemd from e4rat you simply need to edit /etc/e4rat.conf
- and set:\n
- ; path to init process binary (DEFAULT: /sbin/init)\n
- init /usr/lib/systemd/systemd"
-}
-
-src_install() {
- cmake-utils_src_install
- # relocate binaries to /sbin. If someone knows of a better way to do it
- # please do tell me
- dodir sbin
- find "${D}"/usr/sbin -type f -exec mv {} "${D}"/sbin/. \; \
- || die
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
- if has_version sys-apps/preload; then
- elog "It appears you have sys-apps/preload installed. This may"
- elog "has negative effects on ${PN}. You may want to disable preload"
- elog "when using ${PN}."
- fi
-}
diff --git a/sys-fs/e4rat/files/e4rat-0.2.2-libdir.patch b/sys-fs/e4rat/files/e4rat-0.2.2-libdir.patch
deleted file mode 100644
index eaa2695d7872..000000000000
--- a/sys-fs/e4rat/files/e4rat-0.2.2-libdir.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: e4rat-0.2.2/src/CMakeLists.txt
-===================================================================
---- e4rat-0.2.2.orig/src/CMakeLists.txt
-+++ e4rat-0.2.2/src/CMakeLists.txt
-@@ -170,8 +170,7 @@ endif(NOT BUILD_CORE_LIBRARY_STATIC)
-
- INSTALL(TARGETS ${${PROJECT_NAME}_TARGETS}
- RUNTIME DESTINATION "sbin"
-- LIBRARY DESTINATION "lib"
-- ARCHIVE DESTINATION "lib"
-+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- )
-
- INSTALL(DIRECTORY DESTINATION "/var/lib/${PROJECT_NAME}")
diff --git a/sys-fs/e4rat/files/e4rat-0.2.2-shared-build.patch b/sys-fs/e4rat/files/e4rat-0.2.2-shared-build.patch
deleted file mode 100644
index 636eb52fb612..000000000000
--- a/sys-fs/e4rat/files/e4rat-0.2.2-shared-build.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-Index: e4rat-0.2.2/CMakeLists.txt
-===================================================================
---- e4rat-0.2.2.orig/CMakeLists.txt
-+++ e4rat-0.2.2/CMakeLists.txt
-@@ -14,7 +14,6 @@ IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_D
- set(CMAKE_INSTALL_PREFIX "/" CACHE PATH "e4rat install prefix" FORCE)
- ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
-
--set(Boost_USE_STATIC_LIBS ON)
- set(Boost_USE_MULTITHREADED OFF)
- add_definitions(-DBOOST_FILESYSTEM_VERSION=2)
- find_package(Boost 1.41 COMPONENTS system filesystem regex REQUIRED)
-Index: e4rat-0.2.2/src/CMakeLists.txt
-===================================================================
---- e4rat-0.2.2.orig/src/CMakeLists.txt
-+++ e4rat-0.2.2/src/CMakeLists.txt
-@@ -131,21 +131,12 @@ IF(CMAKE_BUILD_TYPE STREQUAL "debug")
- )
- ENDIF(CMAKE_BUILD_TYPE STREQUAL "debug")
-
--# On 64 bit architecture you cannot link a static to a shared library
--# Therefore -static-libstdc++ will fail.
--if(BUILD_CORE_LIBRARY_STATIC)
-- add_library(${PROJECT_NAME}-core STATIC
-- ${${PROJECT_NAME}-core_SRC}
-- )
--else(BUILD_CORE_LIBRARY_STATIC)
-- add_library(${PROJECT_NAME}-core SHARED
-- ${${PROJECT_NAME}-core_SRC}
-- )
-- set_target_properties(${PROJECT_NAME}-core PROPERTIES
-- SOVERSION 0
-- LINK_FLAGS "-static-libgcc -static-libstdc++"
-- )
--endif(BUILD_CORE_LIBRARY_STATIC)
-+add_library(${PROJECT_NAME}-core SHARED
-+ ${${PROJECT_NAME}-core_SRC}
-+)
-+set_target_properties(${PROJECT_NAME}-core PROPERTIES
-+ SOVERSION 0
-+)
-
- target_link_libraries(${PROJECT_NAME}-core
- ${${PROJECT_NAME}_LIBRARIES}
-@@ -158,15 +149,13 @@ foreach( EXE ${PROJECT_NAME}-collect
- TARGET_LINK_LIBRARIES(${EXE}
- ${PROJECT_NAME}-core
- )
-- set_target_properties(${EXE} PROPERTIES
-- LINK_FLAGS "-static-libgcc -static-libstdc++"
-- )
- endforeach( EXE )
-
- ###
- # install project targets
- ###
- set(${PROJECT_NAME}_TARGETS
-+ ${PROJECT_NAME}-core
- ${PROJECT_NAME}-collect
- ${PROJECT_NAME}-preload
- ${PROJECT_NAME}-realloc
-Index: e4rat-0.2.2/src/cmake/Findaudit.cmake
-===================================================================
---- e4rat-0.2.2.orig/src/cmake/Findaudit.cmake
-+++ e4rat-0.2.2/src/cmake/Findaudit.cmake
-@@ -1,7 +1,7 @@
- FIND_PATH(AUDIT_INCLUDE_DIR libaudit.h /usr/include
- /usr/local/include)
-
--FIND_LIBRARY(AUDIT_LIBRARY NAMES libaudit.a PATH /usr/lib /usr/local/lib)
-+FIND_LIBRARY(AUDIT_LIBRARY NAMES audit PATH /usr/lib /usr/local/lib)
-
- IF (AUDIT_INCLUDE_DIR AND AUDIT_LIBRARY)
- SET(AUDIT_FOUND TRUE)
diff --git a/sys-fs/e4rat/files/e4rat-0.2.4-gcc6.patch b/sys-fs/e4rat/files/e4rat-0.2.4-gcc6.patch
deleted file mode 100644
index cdf14e5c92eb..000000000000
--- a/sys-fs/e4rat/files/e4rat-0.2.4-gcc6.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- e4rat-0.2.4_pre20141201/src/logging.hh.old 2016-09-21 22:01:37.631925077 -0400
-+++ e4rat-0.2.4_pre20141201/src/logging.hh 2016-09-21 22:01:44.351086734 -0400
-@@ -93,7 +93,7 @@
- #define dump_log(...) logger.write(__VA_ARGS__)
-
- #ifdef DEBUG_ENABLED
-- #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args)
-+ #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): " format, __FILE__, __LINE__, __FUNCTION__, ## args)
- #else
- #define debug(format,args...)
- #endif
diff --git a/sys-fs/e4rat/files/e4rat-0.2.4-strdup.patch b/sys-fs/e4rat/files/e4rat-0.2.4-strdup.patch
deleted file mode 100644
index c3a9cd0e8ca0..000000000000
--- a/sys-fs/e4rat/files/e4rat-0.2.4-strdup.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- e4rat-0.2.4_pre20141201/src/e4rat-collect.cc.orig 2014-11-24 12:12:12.000000000 +0300
-+++ e4rat-0.2.4_pre20141201/src/e4rat-collect.cc 2017-02-12 02:16:25.151757182 +0300
-@@ -32,6 +32,7 @@
- #include <fcntl.h>
- #include <fstream>
- #include <signal.h>
-+#include <cstring>
-
- /* EXT2_SUPER_MAGIC */
- #include <ext2fs/ext2_fs.h>
-@@ -361,7 +362,9 @@
- {
- create_pid_late = true;
-
-- outPath = Config::get<std::string>("startup_log_file").c_str();
-+ // It is unsafe to use Config::get<T>(arg)c_str() pointer
-+ // directly, since it may be overwritten by later get calls.
-+ outPath = strdup(Config::get<std::string>("startup_log_file").c_str());
- verbose = 0;
- }
- else
---- e4rat-0.2.4_pre20141201/src/e4rat-preload.cc.orig 2014-11-24 12:12:12.000000000 +0300
-+++ e4rat-0.2.4_pre20141201/src/e4rat-preload.cc 2017-02-12 02:16:38.425552630 +0300
-@@ -25,6 +25,7 @@
-
- #include <iostream>
- #include <fstream>
-+#include <cstring>
-
- #include <sys/types.h>
- #include <sys/stat.h>
-@@ -227,7 +228,8 @@
- try {
- if(getpid() == 1)
- {
-- const char* logfile = Config::get<std::string>("startup_log_file").c_str();
-+ // pointer may change, string must be copied
-+ const char* logfile = strdup(Config::get<std::string>("startup_log_file").c_str());
- notice("Open %s ... ", logfile);
- FILE* infile = fopen(logfile, "r");
- if(!infile)
diff --git a/sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch b/sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch
deleted file mode 100644
index 5cdcf3f05ae5..000000000000
--- a/sys-fs/e4rat/files/e4rat-0.2.4-sysmacros.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://sourceforge.net/p/e4rat/tickets/5/
-https://bugs.gentoo.org/580534
-
---- a/src/common.hh
-+++ b/src/common.hh
-@@ -20,6 +20,7 @@
- #ifndef COMMON_HH
- #define COMMON_HH
-
-+#include <sys/sysmacros.h>
- #include <linux/types.h>
- #include <boost/filesystem.hpp>
- #include <boost/regex.hpp>
diff --git a/sys-fs/e4rat/metadata.xml b/sys-fs/e4rat/metadata.xml
deleted file mode 100644
index cb0a6ad46562..000000000000
--- a/sys-fs/e4rat/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>bircoph@gentoo.org</email>
- <name>Andrew Savchenko</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">e4rat</remote-id>
- </upstream>
-</pkgmetadata>