dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 3018531cbd83cb5acddf3864886c8decd6f0dad0
Parent: 3d65faf28bd404f81bec68a036cd6ae058475ba3
Author: Randy Palamar
Date:   Sat, 13 Mar 2021 21:17:09 -0700

remove some unused portage files

Diffstat:
D.config/sys/etc/portage/patches/net-fs/samba/netdb-defines.patch | 19-------------------
D.config/sys/etc/portage/repo.postsync.d/example | 64----------------------------------------------------------------
2 files changed, 0 insertions(+), 83 deletions(-)

diff --git a/.config/sys/etc/portage/patches/net-fs/samba/netdb-defines.patch b/.config/sys/etc/portage/patches/net-fs/samba/netdb-defines.patch @@ -1,19 +0,0 @@ -diff --git a/nsswitch/wins.c b/nsswitch/wins.c -index dccb6dd..bb24acb 100644 ---- a/nsswitch/wins.c -+++ b/nsswitch/wins.c -@@ -39,6 +39,14 @@ static pthread_mutex_t wins_nss_mutex = PTHREAD_MUTEX_INITIALIZER; - #define INADDRSZ 4 - #endif - -+#ifndef NETDB_INTERNAL -+#define NETDB_INTERNAL -1 -+#endif -+ -+#ifndef NETDB_SUCCESS -+#define NETDB_SUCCESS 0 -+#endif -+ - NSS_STATUS _nss_wins_gethostbyname_r(const char *hostname, - struct hostent *he, - char *buffer, diff --git a/.config/sys/etc/portage/repo.postsync.d/example b/.config/sys/etc/portage/repo.postsync.d/example @@ -1,64 +0,0 @@ -#!/bin/bash -# Example /etc/portage/repo.postsync.d script. Make it executable (chmod +x) for -# Portage to process it. -# -# With portage-2.2.16 and newer, all repo.postsync.d hooks will be called multiple -# times after syncing each repository. -# -# Older versions of Portage support syncing only one repository. -# In those versions, the postsync.d hooks will be called only once, -# and they will not be passed any parameters. - -# On a repo.postsync.d hook call, positional parameters contain -# information about the just-synced repository. - -# Your hook can control it's actions depending on any of the three -# parameters passed in to it. -# -# They are as follows: -# -# The repository name. -repository_name=${1} -# The URI to which the repository was synced. -sync_uri=${2} -# The path to the repository. -repository_path=${3} - -# Portage assumes that a hook succeeded if it exits with 0 code. If no -# explicit exit is done, the exit code is the exit code of last spawned -# command. Since our script is a bit more complex, we want to control -# the exit code explicitly. -ret=0 - -if [ -n "${repository_name}" ]; then - # Repository name was provided, so we're in a post-repository hook. - echo "* In post-repository hook for ${repository_name}" - echo "** synced from remote repository ${sync_uri}" - echo "** synced into ${repository_path}" - - # Gentoo comes with pregenerated cache but the other repositories - # usually don't. Generate them to improve performance. - if [ "${repository_name}" != "gentoo" ]; then - if ! egencache --update --repo="${repository_name}" --jobs=4 - then - echo "!!! egencache failed!" - ret=1 - fi - fi - - # Regenerate the metadata/pkg_desc_index file if needed. It's not - # needed for https://gitweb.gentoo.org/repo/sync/gentoo.git which - # provides a freshly generated copy. - if [[ ! -e ${repository_path}/metadata/pkg_desc_index || ( - -d ${repository_path}/metadata/md5-cache && - -n $(find "${repository_path}/metadata/md5-cache" -type f -newer "${repository_path}/metadata/pkg_desc_index" -print -quit) ) ]]; then - if ! egencache --update-pkg-desc-index --repo="${repository_name}" - then - echo "!!! egencache failed!" - ret=1 - fi - fi -fi - -# Return explicit status. -exit "${ret}"