From 9338f5480835889e9e45d6afd4e42053f2bf85b7 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 6 Apr 2009 14:25:48 +0000 Subject: libfaketime: adding libfaketime git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@416 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- sys/libs/libfaketime/Manifest | 24 ++++ sys/libs/libfaketime/libfaketime-0.8.diff | 26 +++++ sys/libs/libfaketime/libfaketime.mkbuild | 185 ++++++++++++++++++++++++++++++ 3 files changed, 235 insertions(+) create mode 100644 sys/libs/libfaketime/Manifest create mode 100644 sys/libs/libfaketime/libfaketime-0.8.diff create mode 100644 sys/libs/libfaketime/libfaketime.mkbuild diff --git a/sys/libs/libfaketime/Manifest b/sys/libs/libfaketime/Manifest new file mode 100644 index 0000000..ebaf862 --- /dev/null +++ b/sys/libs/libfaketime/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST libfaketime-0.8.tar.gz 21188 MD5 c83e12a80ca85486bc904905d325d01e RMD160 1fba8d16f6b252dbe6b6c590fee08920b54149bb SHA1 7053ba5984a94d24cbe63bb7f285a9d1c5418e31 SHA256 e115120ab4d199f7fd2ecdb87ae2963523d6e8a5314c2e914573afd7d5c704c3 SHA512 09ca64fe704e375aa9467a39980a4074e1cb2b2f4aae5a673a3daf9da81943f2ca53d4c14aa6268cfd274c4462667ba357ad1f223ee2067557961dad79c9c56a +MKBUILD libfaketime.mkbuild 4964 MD5 661d1a96683e93616b59e40ab03650d3 RMD160 6bcfdb3a54ae1110f5e8fc4e7b8e9511de3ff3a4 SHA1 4e6535c3e3bd183a5f8e3bff8f67e67630eed4f9 SHA256 8cf5cad8b60498b25f30950b5b908844e1e2acff1133b8aad121a7ac362fb1ab SHA512 b7efdff0681f4468c40a35eb3373cf7c06754777b9bcf513ccb7d1c28083f763bf5ba4e677906bd0e40fd68d3e90cb98d8af8bc79dac2ca96e1f18bd3e87d87f +PATCH libfaketime-0.8.diff 1139 MD5 b8a3d42efc6734a49ae349bac5b6bef1 RMD160 1aeefb8bb420fb311e39a3398384146a598f1008 SHA1 03df7a0cf8a2211e9d5918c11dc6fafeb983654c SHA256 89dd78b9332a540dbd700a2a7865207573f5acf8ceef2ad8821e3531a6ee0908 SHA512 bc1030b3c603645266d55fc146b5731b5316d2a3aa4a0f34f33c2d0300e739807988385c8cbf917594e28285f41644778d2f4eea1cf4d068e58e440a8f6b6a2e +SLACKBUILD libfaketime.SlackBuild 7773 MD5 3e90f403d5558d79abeabe6ed7c00da5 RMD160 8596bdaa817e81f6ac12db2ce8311b5d69141c4b SHA1 e768b8d60fbd6532efcceb6ee13c2f1b2b2a8164 SHA256 560f459359e86838c659233b59a6d030488142a3b41a69cca37bc5064af045ef SHA512 0a3f6e352857439409fcb7105c857d45ebbf99a3dbda4a84c66214634d69b3d3c4b02b01f474acee1a91a0b0d40d3aee2dc473578b5b88e483b185c853f0eb34 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBAgAGBQJJ2hG+AAoJEEHL93ESzgeii04QAJuIzds8jsFOvxtp6YRt9RiK +EZhur+r86/SNigVUp5rvE/Y1xa4IEGd0pFVfUXGHlKewNRkhXAzO+bul1QaX2omz +eeICew3mSRjBAPYEDIyqfs8+XydpL4eRk++BvHfGi8yDILxiKYbe6hjc+MM9Tcxf +CM2CsOQZZZl+3UEkkOWR8iYiLfuL+RLQLNNEwrNgQG0HolMx0CJBUhVB7C7rMbC2 +hDgOaGNgaSa6mL1R6G4R/cfXBA6rmkHqipEDNWSk1WBWxauhXNxtM5JhRbG5dLcW +UGOgs5gD6YBLNRRkiC8lhZFkE91BntW08uYpmsDLMO1jPtu/xuff6W2sNmffjoIZ +qUnLy1tJU4Im8i+yGBLvZXEXK/1viTVDx++T74CqSg8ZVyKTYJvHJ7lRIs7EIuyg +/wm5p9XEP8eoMoLapVSBa07M9oj0y7X24JVzd6JcRZWvf4coSzBBrjUZNZLhZa9i +Q6NwWBeXUH+O9+6NlaX9/JamDtHf4YzUJInNIEjPJuXPztcRTcovFJUInqpnpv/5 +Y7TaFrUehQ0rpR/MzSYi3L16fdbQYPylALtZWmdcZ0njuVCEkh+Aiu7iXCPfFEhL +RGf6cWQhtQsAuIxUg03G1v5SZ73ohUCrYZ4XmnE2F3i0PLA9SH6XZKgMz/Ak5/uD +mqD/y6g0NNcMbDDRXi2i +=kcGk +-----END PGP SIGNATURE----- diff --git a/sys/libs/libfaketime/libfaketime-0.8.diff b/sys/libs/libfaketime/libfaketime-0.8.diff new file mode 100644 index 0000000..bc0bb74 --- /dev/null +++ b/sys/libs/libfaketime/libfaketime-0.8.diff @@ -0,0 +1,26 @@ +diff -Naur libfaketime-0.8.orig/Makefile libfaketime-0.8/Makefile +--- libfaketime-0.8.orig/Makefile 2008-08-24 10:11:06.000000000 -0300 ++++ libfaketime-0.8/Makefile 2009-04-06 11:15:55.000000000 -0300 +@@ -70,13 +70,13 @@ + + install: libs + @echo +- @echo "Copying the libraries to /usr/lib/faketime and the wrapper script to /usr/bin ..." +- -mkdir -p /usr/lib/faketime +- cp libfaketime.so.1 libfaketimeMT.so.1 /usr/lib/faketime +- cp faketime /usr/bin +- cp faketime.1 /usr/share/man/man1/faketime.1 +- gzip /usr/share/man/man1/faketime.1 +- -mkdir -p /usr/share/doc/faketime +- cp README /usr/share/doc/faketime/README +- cp Changelog /usr/share/doc/faketime/Changelog ++ @echo "Copying the libraries to ${DESTDIR}/usr/lib/faketime and the wrapper script to /usr/bin ..." ++ -mkdir -p ${DESTDIR}/usr/lib/faketime ++ cp libfaketime.so.1 libfaketimeMT.so.1 ${DESTDIR}/usr/lib/faketime ++ -mkdir -p ${DESTDIR}/usr/bin ++ cp faketime ${DESTDIR}/usr/bin ++ -mkdir -p ${DESTDIR}/usr/share/man/man1/ ++ cp faketime.1 ${DESTDIR}/usr/share/man/man1/faketime.1 ++ gzip ${DESTDIR}/usr/share/man/man1/faketime.1 ++ -mkdir -p ${DESTDIR}/usr/share/doc/faketime + diff --git a/sys/libs/libfaketime/libfaketime.mkbuild b/sys/libs/libfaketime/libfaketime.mkbuild new file mode 100644 index 0000000..d85193f --- /dev/null +++ b/sys/libs/libfaketime/libfaketime.mkbuild @@ -0,0 +1,185 @@ +# +# This mkbuild is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# +# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br ) +# Version $Rev: 803 $ - $Author: rhatto $ + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://www.code-wizards.com/projects/libfaketime/libfaketime-0.8.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Build number. +# Auto-set to default 1 +[[BUILD NUMBER]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="COPYING Changelog README" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="" + +#--------------------- +# Others changes +#--------------------- +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[SIGNING KEY ID]]="" +#[[SIGNING URL]]="" +#[[CONFIG FILES]]="" +#[[PATCH URLS]]="" +#[[REST OF DOINST.SH]]="" +[[PATCH FILES]]="" +[[NUMBER OF PREFIX SLASHES TO STRIP]]="1" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="sys/libs/libfaketime" +[[SLACKBUILD PATH]]="sys/libs/libfaketime" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: download_patches +off: svn_source +off: git_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: manifest_check + on: untar_source + on: patch_source +off: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files +off: copy_init_scripts +off: copy_config_files + on: install_documentation + on: slackdesc +off: move_config_files +off: postinstall_script +off: slack_required + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +libfaketime: libfaketime +libfaketime: +libfaketime: libfaketime (FakeTime Preload Library) - report faked system time +libfaketime: to programs without having to change the system-wide time +libfaketime: +libfaketime: +libfaketime: +libfaketime: +libfaketime: +libfaketime: +libfaketime: +#