From 6e6791e36818f4257e71d3cb02cd403c6addfa33 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 20 Sep 2009 15:05:54 +0000 Subject: gwhere: adding gwhere; avahi: updating; arno-iptables-firewall: adding arno-iptables-firewall; glib2: updating; orbit: updating; afterstep: updating git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@512 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- app/misc/gwhere/Manifest | 23 ++ app/misc/gwhere/gwhere.mkbuild | 185 +++++++++++++++ gnome/base/orbit/Manifest | 34 +-- gnome/base/orbit/ORBit2.mkbuild | 4 +- net/dns/avahi/Manifest | 34 +-- net/dns/avahi/avahi.mkbuild | 2 +- net/firewall/arno-iptables-firewall/Manifest | 24 ++ .../arno-iptables-firewall.mkbuild | 247 +++++++++++++++++++++ patches/glib2/Manifest | 23 ++ patches/glib2/glib2.mkbuild | 4 +- x11/wm/afterstep/Manifest | 23 ++ x11/wm/afterstep/afterstep.mkbuild | 2 +- 12 files changed, 565 insertions(+), 40 deletions(-) create mode 100644 app/misc/gwhere/Manifest create mode 100644 app/misc/gwhere/gwhere.mkbuild create mode 100644 net/firewall/arno-iptables-firewall/Manifest create mode 100644 net/firewall/arno-iptables-firewall/arno-iptables-firewall.mkbuild create mode 100644 patches/glib2/Manifest create mode 100644 x11/wm/afterstep/Manifest diff --git a/app/misc/gwhere/Manifest b/app/misc/gwhere/Manifest new file mode 100644 index 0000000..616d5e1 --- /dev/null +++ b/app/misc/gwhere/Manifest @@ -0,0 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST gwhere-0.2.2.tar.gz 1284775 MD5 838db0e07214f324420e8a87baf540ad RMD160 d024318c1c36d7e447f88a555fb268fb03391b1a SHA1 3b8f5f2b4df893734ee95ec8193f66baad4fdc4a SHA256 0f67e8863ba24dd7f8b0b50b91d6e8167c924546293e1ffc3c673c04417c73ef SHA512 383303c7fd946ff255f9d629f72f6800c1763fcdfbf553b6db2922f01b3086794b274ef60851507d1834790fbbbd69599dc6a072ca60487e711c51d9a78125dc +MKBUILD gwhere.mkbuild 5082 MD5 02a869f19972024f97d50677596586c4 RMD160 15cdea5c3a4e8757a831a911b996bf6d5d15f215 SHA1 cb3ee56c73f3243331a1b3e5d93c2fd18dfad19c SHA256 801bbaa45c8f522eff35e14ffcb3cdbce844cbbd786a8f1fd70f23ab5098a865 SHA512 199dc2c07d24fccc9b08aa8774ef1adeb6c43b01d9b5f73d5488e9216159a8fb15b8c46140c12a2cc91dd0ed61445f42e0f16d7e423a60dcd656c9011355ea43 +SLACKBUILD gwhere.SlackBuild 7121 MD5 a32dc1fa1e4efd7a8d42dab73fbbdb99 RMD160 369a6f1e75d843abc458fda1d06534b166b30cf6 SHA1 b4314adbf9c40f91b65f55af78e813c06f18b2c1 SHA256 607e4cdc0a408ce2e83938da18526d18ebbde68393550ea548c68592aea57691 SHA512 1dcc83a1265d0d144585e63a1b5b0ab50a2b9b6a07489ec92173b4c8cf4de07fd04c405f84c5974e50f825e759e2a29e8250695c180cb88192e390e654c72fb6 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iQIcBAEBCAAGBQJKtjPZAAoJEEHL93ESzgeirZoP/jFuSJD2UvNtMrgLGgh2O+lj +5UJIjBO9HQRhJdo498TjF08o045EEzaIBWKsGpHZAEiWI/nrr4gkMq5ntuwW5/Rv +ybfDjsVPaK5JK4aaDAkPfElk2Q2TaAazDG6qypDHeT+GcocnCzj95lXsGJn7Mpi5 +eEx3CYSuGZ+766HfU/eBPFOwhuiOfZqTjYU/mxssDDuCxur2tacH3qlo8p2yG0qz +wysoEiKfvqLC5VQcfC1V2zZZuB3OnnBb6Eu4eXRKHFaAH8+TzW27dgRPEEebtOic +7+4627u0wo4p4+4yKEobo/EOETLrZw8G/5zQaX2A5n9CylNFH5t0Hy2K0aKK/vRx +SAFpcGHgTVSR13SZa1xW5tNuB3Hxc5J6c9OyTBihw/jznQSDgjlvO2M5NRMaemog +rSMolaNaHoHcbpY75xh1CgEXD30+Z9eRUjaiZOfCEDssXZVtOh0zf/QKvBKbivkL +HHyZznYbeKNy68Lpo4OgosT3REHPLYSzstSRAcpGwqJgRVTX0QJmUJVCgSq33/eg +/+kOMlnJxlNiVZQo4Sk23ToUzC2mZA47sxTf7Oa0krNssfA7q4se3do7icFRMrZI +lQryYHh9JtpHLly61yX9ZlzeR88OMAZfqy117leRICpwLQha7MD8qcRxDMEoBAHG +f+S6ebOEdj/5XW/a0n0T +=ssXh +-----END PGP SIGNATURE----- diff --git a/app/misc/gwhere/gwhere.mkbuild b/app/misc/gwhere/gwhere.mkbuild new file mode 100644 index 0000000..238dd9b --- /dev/null +++ b/app/misc/gwhere/gwhere.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]]="Alexandre Vieira de Souza" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="avs" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="ftp://ftp2.gwhere.org/gwhere/download/source/gwhere-0.2.2.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]]="" + +# +# ./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]]="others/unclassified/$PKG_NAME" +[[SLACKBUILD PATH]]="app/misc/gwhere" + +#--------------------- +# 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 +off: patch_source + on: 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 +gwhere: Gwhere by Slack.Sarava +gwhere: +gwhere: GWhere allows you to manage a catalog of your CDs and any other +gwhere: removable media (such as hard disks, floppy disks, Zip disks, +gwhere: CD-ROMs, etc...) indexed in a database. With GWhere it is easy to +gwhere: browse your CDs or to make a quick search without needing to +gwhere: insert each CD one after another. +gwhere: +gwhere: +gwhere: by avs +gwhere: +#>' 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 +off: patch_source +off: configure +off: 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 +arno-iptables-firewall: arno-iptables-firewall (Arno's iptables firewall) +arno-iptables-firewall: +arno-iptables-firewall: A highly customizable iptables firewall script, +arno-iptables-firewall: featuring stealth scan detection, extensive user- +arno-iptables-firewall: definable logging, masquerading and port forwarding +arno-iptables-firewall: (NAT), protection against SYN/ICMP flooding, etc. +arno-iptables-firewall: It also includes a filter script (arno-fwfilter) to +arno-iptables-firewall: make its logs more easily readable. +arno-iptables-firewall: +arno-iptables-firewall: For more information, http://rocky.eld.leidenuniv.nl/ +arno-iptables-firewall: +#install_package +# Install +mkdir -p "$PKG/etc/rc.d" || exit $ERROR_MKDIR +mkdir -p "$PKG/etc/logrotate.d" || exit $ERROR_MKDIR +mkdir -p "$PKG/$PREFIX/bin" || exit $ERROR_MKDIR +mkdir -p "$PKG/$PREFIX/man/man1" || exit $ERROR_MKDIR +mkdir -p "$PKG/$PREFIX/man/man8" || exit $ERROR_MKDIR +cp -r "etc/init.d/arno-iptables-firewall" "$PKG/etc/rc.d/rc.firewall.new" +cp -r "etc/arno-iptables-firewall" "$PKG/etc" +cp -r "contrib/Slackware/syslog.conf" "$PKG/etc/syslog.conf.new" +cp -r "$CWD/syslog.new" "$PKG/etc/logrotate.d" +cp -r "bin/arno-fwfilter" "$PKG/$PREFIX/bin" +cp -r "share/man/man1/arno-fwfilter.1" "$PKG/$PREFIX/man/man1" +cp -r "share/man/man8/arno-iptables-firewall.8" "$PKG/$PREFIX/man/man8" +mv -f "$PKG/etc/arno-iptables-firewall/firewall.conf" \ + "$PKG/etc/arno-iptables-firewall/firewall.conf.new" +mv -f "$PKG/etc/arno-iptables-firewall/custom-rules" \ + "$PKG/etc/arno-iptables-firewall/custom-rules.new" +for file in $('ls' -1 "$PKG/etc/arno-iptables-firewall/plugins/"*.conf); do + mv -f "$file" "${file}.new" +done + +# Add a post-installation script (doinst.sh) +mkdir -p $PKG/install +cat << EOSCRIPT > "$PKG/install/doinst.sh" +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config etc/rc.d/rc.firewall.new +config etc/arno-iptables-firewall/firewall.conf.new +config etc/arno-iptables-firewall/custom-rules.new +$(for path in $('ls' -1 "$PKG/etc/arno-iptables-firewall/plugins/"*.conf.new); do + file="$(basename $path)" + echo "config etc/arno-iptables-firewall/plugins/$file" +done) +config etc/syslog.conf.new +config etc/logrotate.d/syslog.new + +echo +echo " Remember to check the new configuration files, specially:" +echo +echo " /etc/rc.d/rc.firewall.new" +echo " /etc/arno-iptables-firewall/firewall.conf.new" +echo " /etc/syslog.conf.new" +echo " /etc/logrotate.d/syslog.new" +echo +echo " Also, firewall.conf *has* to be properly configured for" +echo " this firewall to work." +echo +EOSCRIPT +#