From 3ce3c4fd596debefbad77328a9b62a39eccf753c Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Fri, 1 Dec 2017 17:26:53 +0100 Subject: unmaintained/*: purge aports not touched since v3.5.0 We agreed with ncopa on #alpine-devel (2017-12-01 16:20 UTC) to periodically purge aports in unmaintained that haven't been touched in last 1 year (2 releases). --- unmaintained/aalib/APKBUILD | 36 - unmaintained/acf-jquery-mobile/APKBUILD | 20 - .../acf-provisioning-grandstream-ata/APKBUILD | 45 - .../init.cfg.sample | 73 - .../000000000000-directory.xml | 4 - .../000000000000-phone.cfg | 5 - .../000000000000-web.cfg | 5 - .../000000000000.cfg.patch | 27 - .../acf-provisioning-polycom4.0.3f/APKBUILD | 86 - unmaintained/acf-skins-jqmobile/APKBUILD | 20 - unmaintained/agg/APKBUILD | 43 - unmaintained/agg/agg-2.4-depends.patch | 48 - unmaintained/agg/agg-2.5-pkgconfig.patch | 10 - unmaintained/akonadi/APKBUILD | 51 - .../akonadi/disable-backtrace-1.13.0.patch | 11 - unmaintained/ansible-playbook-debugger/APKBUILD | 40 - unmaintained/apache-mod-backtrace/APKBUILD | 38 - unmaintained/apache-mod-backtrace/Makefile.in | 35 - unmaintained/apache-mod-backtrace/configure.in | 46 - unmaintained/apache2-mod-sflow/APKBUILD | 58 - unmaintained/apts/APKBUILD | 39 - unmaintained/arc-theme/APKBUILD | 68 - unmaintained/arpalert/APKBUILD | 53 - unmaintained/arpalert/arpalert.initd | 18 - unmaintained/array-info/APKBUILD | 30 - unmaintained/array-info/array-info-makefile.patch | 20 - unmaintained/asterisk-audio-konf/APKBUILD | 66 - unmaintained/asunder/APKBUILD | 41 - unmaintained/atheme-services/APKBUILD | 52 - unmaintained/atheme-services/cc.patch | 11 - unmaintained/aurena/APKBUILD | 56 - unmaintained/baloo-widgets/APKBUILD | 44 - unmaintained/baloo/APKBUILD | 48 - .../baloo/no-malloc-xapiandatabase-4.13.3.patch | 11 - unmaintained/bcfg2/APK.py | 58 - unmaintained/bcfg2/APKBUILD | 43 - unmaintained/bcfg2/bcfg2-server.initd | 23 - unmaintained/biblesync/APKBUILD | 49 - unmaintained/blists/APKBUILD | 38 - unmaintained/bsnes/APKBUILD | 50 - .../bsnes/define-disassembler_read-relb.patch | 13 - unmaintained/bsnes/no-pulseaudio.patch | 13 - unmaintained/bugzilla/APKBUILD | 47 - unmaintained/burp/APKBUILD | 52 - unmaintained/burp/librsync-1.0.0.patch | 36 - unmaintained/cantata/APKBUILD | 46 - unmaintained/captagent/APKBUILD | 69 - unmaintained/captagent/build.patch | 48 - unmaintained/captagent/captagent.initd | 18 - unmaintained/captagent/default-config.patch | 11 - unmaintained/ccnet/APKBUILD | 56 - unmaintained/cdpsnarf/APKBUILD | 41 - unmaintained/cdrdao/APKBUILD | 58 - unmaintained/cdrdao/cdrdao-1.2.3-stat.patch | 13 - unmaintained/celt/APKBUILD | 43 - unmaintained/chan-sccp/APKBUILD | 45 - unmaintained/cherokee/APKBUILD | 53 - unmaintained/cherokee/cherokee.confd | 10 - unmaintained/cherokee/cherokee.initd | 41 - unmaintained/chmlib/APKBUILD | 58 - unmaintained/chmlib/headers.patch | 18 - unmaintained/chmlib/stdtypes.patch | 20 - unmaintained/chromaprint/APKBUILD | 46 - unmaintained/cjs/APKBUILD | 51 - unmaintained/claws-mail-theme_elementary/APKBUILD | 37 - unmaintained/compiz/APKBUILD | 56 - unmaintained/corosync/APKBUILD | 60 - unmaintained/corosync/corosync.initd | 23 - unmaintained/courier-authlib/APKBUILD | 58 - unmaintained/cowpatty/APKBUILD | 39 - unmaintained/cowpatty/makefile.patch | 78 - unmaintained/crconf/APKBUILD | 41 - unmaintained/crtmpserver/APKBUILD | 73 - unmaintained/crtmpserver/crtmpserver.confd | 2 - unmaintained/crtmpserver/crtmpserver.initd | 38 - unmaintained/crtmpserver/crtmpserver.pre-install | 5 - unmaintained/crunch/APKBUILD | 40 - unmaintained/crunch/crunch-3.4-destdir.patch | 25 - unmaintained/csync/APKBUILD | 71 - unmaintained/csync/gcc-fixes.patch | 12 - unmaintained/csync/iconv.patch | 26 - unmaintained/csync2/APKBUILD | 84 - unmaintained/csync2/csync2-openssl.cnf | 31 - unmaintained/csync2/csync2.initd | 11 - unmaintained/csync2/csync2.post-install | 25 - unmaintained/csync2/csync2.post-upgrade | 6 - unmaintained/csync2/have-strlcpy.patch | 30 - unmaintained/csync2/longlong-format.patch | 31 - unmaintained/csync2/nossl-config.patch | 19 - unmaintained/cuetools/APKBUILD | 62 - unmaintained/cuetools/cuetag-fix_spaces.patch | 46 - .../cuetools/fix_build_with_automake-1.12.patch | 24 - unmaintained/cv/APKBUILD | 40 - unmaintained/cv/compress-tools.patch | 11 - unmaintained/darwin-streaming-server/APKBUILD | 84 - .../darwin-streaming-server.post-install | 6 - .../darwin-streaming-server/dss-6.0.3.patch | 381 - .../dss-hh-20080728-1.patch | 302 - unmaintained/darwin-streaming-server/dss.initd | 98 - unmaintained/datacoin-hp/APKBUILD | 40 - unmaintained/davfs2/010-main_code_fix.patch | 35 - unmaintained/davfs2/100-musl-compat.patch | 194 - unmaintained/davfs2/APKBUILD | 61 - unmaintained/dbmail/APKBUILD | 102 - unmaintained/dbmail/dbmail-httpd.initd | 39 - unmaintained/dbmail/dbmail-imapd.initd | 39 - unmaintained/dbmail/dbmail-lmtpd.initd | 40 - unmaintained/dbmail/dbmail-pop3d.initd | 39 - unmaintained/dbmail/dbmail-timsieved.initd | 38 - unmaintained/dbmail/dbmail.conf | 408 - unmaintained/dbmail/dbmail.pre-install | 6 - unmaintained/dbmail/post-rc3.patch | 635 - unmaintained/dc3dd/APKBUILD | 48 - unmaintained/dcfldd/APKBUILD | 49 - unmaintained/dcfldd/dcfldd-error.patch | 15 - unmaintained/dconf-editor/APKBUILD | 48 - unmaintained/dfc/APKBUILD | 41 - unmaintained/dhcpdump/APKBUILD | 41 - unmaintained/dhex/APKBUILD | 45 - unmaintained/dhex/makefile.patch | 49 - unmaintained/diod/APKBUILD | 54 - unmaintained/diod/diod.initd | 7 - unmaintained/djvulibre/APKBUILD | 39 - unmaintained/dmz-cursor-theme/APKBUILD | 51 - unmaintained/dosbox/APKBUILD | 82 - .../dosbox/dosbox-0.74-formatsecurity.patch | 12 - unmaintained/dosbox/dosbox-0.74-gcc46.patch | 10 - unmaintained/dosbox/dosbox-0.74-init-crash.patch | 16 - unmaintained/dosbox/dosbox.desktop | 8 - unmaintained/dosbox/dosbox.png | Bin 206 -> 0 bytes unmaintained/dosbox/pic-fix.patch | 35 - unmaintained/dotconf/APKBUILD | 51 - unmaintained/double-conversion/APKBUILD | 51 - .../double-conversion/dont_build_tests.patch | 11 - unmaintained/dsf2flac/APKBUILD | 49 - unmaintained/dsf2flac/no-static.patch | 10 - ...of-add-r-switch-to-poison-both-directions.patch | 174 - .../0001-rewrite-and-modernize-POP-decoder.patch | 135 - ...arpspoof-allow-use-of-of-multiple-targets.patch | 194 - ...poof-allow-selection-of-source-hw-address.patch | 228 - .../dsniff/0004-arpspoof-mac-include.patch | 12 - unmaintained/dsniff/01_time.h.patch | 23 - unmaintained/dsniff/02_mailsnarf_corrupt.patch | 13 - unmaintained/dsniff/03_pcap_read_dump.patch | 531 - unmaintained/dsniff/04_multiple_intf.patch | 52 - unmaintained/dsniff/05_amd64_fix.patch | 217 - unmaintained/dsniff/06_urlsnarf_zeropad.patch | 13 - unmaintained/dsniff/07_libnet_1.1.patch | 903 -- unmaintained/dsniff/08_checksum.patch | 25 - unmaintained/dsniff/08_openssl-0.9.8.patch | 12 - unmaintained/dsniff/09_sshcrypto.patch | 14 - unmaintained/dsniff/09_sysconf_clocks.patch | 20 - unmaintained/dsniff/10_urlsnarf_escape.patch | 85 - unmaintained/dsniff/11_string_header.patch | 163 - unmaintained/dsniff/12_arpa_inet_header.patch | 62 - unmaintained/dsniff/13_pop_with_version.patch | 27 - unmaintained/dsniff/14_obsolete_time.patch | 33 - unmaintained/dsniff/15_checksum_libnids.patch | 94 - unmaintained/dsniff/16_TDS_decoder.patch | 16 - unmaintained/dsniff/20_debian_dirs.patch | 59 - unmaintained/dsniff/21_msgsnarf_segfault.patch | 12 - unmaintained/dsniff/22_handlepp.patch | 14 - unmaintained/dsniff/23_urlsnarf_timestamp.patch | 78 - unmaintained/dsniff/APKBUILD | 165 - unmaintained/dsniff/dsniff-rpc.patch | 92 - unmaintained/dsniff/dsniff-xcompile.patch | 56 - unmaintained/dssi/APKBUILD | 55 - unmaintained/duff/APKBUILD | 50 - unmaintained/duhdraw/APKBUILD | 41 - unmaintained/e_dbus/APKBUILD | 46 - unmaintained/ebook-tools/APKBUILD | 44 - unmaintained/ecore/APKBUILD | 48 - unmaintained/edje/APKBUILD | 42 - unmaintained/eet/APKBUILD | 42 - unmaintained/eeze/APKBUILD | 46 - unmaintained/efreet/APKBUILD | 46 - unmaintained/eina/APKBUILD | 44 - unmaintained/eio/APKBUILD | 42 - unmaintained/ejdb/APKBUILD | 49 - unmaintained/elementary-gtk-theme/APKBUILD | 41 - unmaintained/elementary-icon-theme/APKBUILD | 42 - unmaintained/elementary/APKBUILD | 42 - unmaintained/embryo/APKBUILD | 46 - unmaintained/emelfm2/01-avoid_fstab.patch | 30 - unmaintained/emelfm2/02-define_ALLPERMS.patch | 13 - unmaintained/emelfm2/APKBUILD | 55 - unmaintained/emotion/APKBUILD | 46 - unmaintained/empty/APKBUILD | 33 - unmaintained/enumiax/APKBUILD | 41 - unmaintained/equinox-themes/APKBUILD | 40 - unmaintained/erlang17/APKBUILD | 249 - ...at-man-pages-and-do-not-install-miscellan.patch | 41 - unmaintained/erlang17/otp-0002-Remove-rpath.patch | 32 - .../otp-0003-Do-not-install-C-sources.patch | 161 - .../otp-0004-Do-not-install-Java-sources.patch | 32 - ...all-nteventlog-and-related-doc-files-on-n.patch | 57 - .../otp-0006-Do-not-install-erlang-sources.patch | 1006 -- ...7-Split-off-webtool-dependency-from-tools.patch | 40 - .../erlang17/otp-0008-Introduce-os-getenv-2.patch | 63 - ...es-support-for-SSLv3-protocol-because-it-.patch | 100 - .../erlang17/otp-0010-fix-nteventlog-remove.patch | 11 - unmaintained/erlang17/remove-private-unit32.patch | 11 - unmaintained/erlang17/replace_glibc_check.patch | 20 - unmaintained/etherdump/APKBUILD | 30 - unmaintained/ethumb/APKBUILD | 43 - unmaintained/etracer/APKBUILD | 43 - unmaintained/etracer/etracer-finite.patch | 11 - unmaintained/etracer/etracer-png.patch | 38 - unmaintained/ettercap/APKBUILD | 45 - unmaintained/evas/APKBUILD | 78 - unmaintained/evas/fribidi-cflags.patch | 12 - unmaintained/evas_generic_loaders/APKBUILD | 47 - unmaintained/evilwm/APKBUILD | 41 - unmaintained/exaile/APKBUILD | 41 - unmaintained/exfat-utils/APKBUILD | 53 - unmaintained/fakechroot/APKBUILD | 44 - unmaintained/fancontroled/APKBUILD | 57 - unmaintained/fancontroled/fancontroled.confd | 17 - unmaintained/fancontroled/fancontroled.initd | 18 - unmaintained/fancontroled/link.patch | 11 - unmaintained/fetch-crl/APKBUILD | 36 - .../fetch-crl/fetch-crl-2.7.0-bb-wget.patch | 41 - unmaintained/fish-irssi/APKBUILD | 44 - unmaintained/flashcache-grsec/APKBUILD | 79 - unmaintained/flashcache-grsec/depmod.patch | 20 - unmaintained/flashcache-grsec/kernel-3.18.patch | 288 - unmaintained/flashcache-grsec/kernel-4.2.patch | 36 - unmaintained/fluidsynth/APKBUILD | 50 - unmaintained/flunym0us/APKBUILD | 44 - unmaintained/flyspray/APKBUILD | 61 - unmaintained/flyspray/flyspray.post-install | 3 - unmaintained/fonts-base/APKBUILD | 24 - unmaintained/fonts-extra/APKBUILD | 35 - unmaintained/foo2zjs/APKBUILD | 43 - unmaintained/foomatic-db-engine/APKBUILD | 44 - unmaintained/foremost/APKBUILD | 49 - unmaintained/foremost/foremost-makefile.patch | 23 - unmaintained/forked-daapd/APKBUILD | 65 - unmaintained/fotoxx/APKBUILD | 39 - unmaintained/fotoxx/no-xdg-desktop-menu.patch | 10 - unmaintained/freealut/APKBUILD | 47 - unmaintained/freeciv/APKBUILD | 54 - unmaintained/fswebcam/APKBUILD | 33 - unmaintained/geh/APKBUILD | 49 - unmaintained/genext2fs/APKBUILD | 48 - unmaintained/giggle/APKBUILD | 44 - unmaintained/gitstats/APKBUILD | 46 - unmaintained/gitstats/gitstats-output.patch | 15 - unmaintained/gjs/APKBUILD | 41 - unmaintained/gnash/APKBUILD | 85 - unmaintained/gnash/aslr-fix.patch | 52 - unmaintained/gnash/gnash-0.8.10-giflib5.patch | 12 - unmaintained/gnash/gnash-ffmpeg.patch | 24 - unmaintained/gnump3d/APKBUILD | 30 - unmaintained/gnump3d/gnump3d.confd | 6 - unmaintained/gnump3d/gnump3d.initd | 37 - unmaintained/gpm/01-Iheaders.patch | 40 - unmaintained/gpm/02-sys-select.patch | 138 - unmaintained/gpm/03-gpmroot.patch | 39 - unmaintained/gpm/APKBUILD | 90 - unmaintained/gpm/error-format.patch | 13 - unmaintained/gpm/gpm.confd | 8 - unmaintained/gpm/gpm.initd | 10 - unmaintained/grantlee/APKBUILD | 42 - unmaintained/grc/APKBUILD | 20 - unmaintained/greybird-themes/APKBUILD | 79 - unmaintained/greybird-themes/gtk-3.14-fix.patch | 17 - unmaintained/gssdp/APKBUILD | 47 - unmaintained/gssdp/gssdp-fixdso.patch | 11 - unmaintained/gst-plugin-libde265_0.10/APKBUILD | 52 - unmaintained/gthumb/APKBUILD | 45 - unmaintained/gtk-equinox-engine/APKBUILD | 48 - unmaintained/gtk-qt-engine/APKBUILD | 42 - unmaintained/gtk-qt-engine/stdlib.patch | 10 - unmaintained/gtkhtml/APKBUILD | 44 - unmaintained/gtkimageview/APKBUILD | 40 - unmaintained/gumbo-parser/APKBUILD | 46 - unmaintained/gupnp/APKBUILD | 45 - unmaintained/halfscan6/APKBUILD | 40 - unmaintained/hardinfo/APKBUILD | 44 - unmaintained/hardinfo/fixsensors.patch | 13 - unmaintained/hardinfo/hardinfo-alpine.patch | 10 - unmaintained/hardinfo/uclibc.patch | 22 - unmaintained/hardlink/APKBUILD | 36 - unmaintained/hessling-editor/APKBUILD | 41 - unmaintained/hexcurse/APKBUILD | 46 - unmaintained/hexcurse/hexcurse-alloca.patch | 14 - unmaintained/html2ps/APKBUILD | 32 - unmaintained/html2ps/html2ps-conf.patch | 11 - unmaintained/httest/APKBUILD | 50 - unmaintained/httperf/APKBUILD | 42 - unmaintained/httpup/10-getcwd.patch | 10 - unmaintained/httpup/APKBUILD | 49 - unmaintained/ibniz/APKBUILD | 42 - unmaintained/ibus/APKBUILD | 79 - unmaintained/icewm/APKBUILD | 70 - unmaintained/icewm/backtrace_on_glibc.patch | 22 - unmaintained/icli/APKBUILD | 52 - .../id3lib/00-add-libz-to-compilation.patch | 14 - unmaintained/id3lib/05-create-m4-directory.patch | 12 - .../10-fix-compilation-with-cpp-headers.patch | 22 - .../id3lib/15-fix-headers-of-main-functions.patch | 45 - unmaintained/id3lib/20-create-manpages.patch | 198 - unmaintained/id3lib/30-fix-utf16.patch | 38 - unmaintained/id3lib/40-deal-with-mkstemp.patch | 54 - unmaintained/id3lib/50-remove-outdated-check.patch | 11 - .../id3lib/60-add-c-wrapper-functions.patch | 58 - unmaintained/id3lib/60-fix_make_check.patch | 50 - .../60-id3lib-missing-nullpointer-check.patch | 12 - unmaintained/id3lib/60-spelling.patch | 107 - unmaintained/id3lib/61-fix_vbr_stack_smash.patch | 19 - unmaintained/id3lib/APKBUILD | 108 - unmaintained/ideviceinstaller/APKBUILD | 42 - unmaintained/ifplugd/APKBUILD | 57 - unmaintained/ifplugd/ifplugd.initd | 32 - unmaintained/ifplugd/musl-type.patch | 15 - unmaintained/ifuse/APKBUILD | 42 - unmaintained/ii/APKBUILD | 40 - unmaintained/iksemel/APKBUILD | 32 - unmaintained/imagination/APKBUILD | 45 - unmaintained/imapproxy/APKBUILD | 45 - unmaintained/inotail/APKBUILD | 29 - unmaintained/ipgrab/APKBUILD | 35 - unmaintained/ipmiutil/APKBUILD | 54 - unmaintained/ipmiutil/fixups.patch | 33 - unmaintained/ipt-netflow/APKBUILD | 45 - unmaintained/ipt-netflow/git.patch | 4308 ------ unmaintained/ipt-netflow/kernel-vs-userspace.patch | 69 - unmaintained/ivtv-utils/APKBUILD | 36 - unmaintained/jetring/APKBUILD | 39 - unmaintained/jhead/APKBUILD | 40 - unmaintained/jhead/makefile-destdir.patch | 17 - unmaintained/js/APKBUILD | 73 - unmaintained/js/isfinite.patch | 11 - unmaintained/js/js185-destdir.patch | 15 - unmaintained/judy/APKBUILD | 47 - unmaintained/kactivities/APKBUILD | 46 - unmaintained/kde-base-artwork/APKBUILD | 44 - unmaintained/kde-baseapps/APKBUILD | 44 - unmaintained/kde-core/APKBUILD | 38 - unmaintained/kde-runtime/APKBUILD | 56 - unmaintained/kde-workspace/APKBUILD | 86 - .../kde-workspace/fix-headers-4.11.11.patch | 10 - unmaintained/kde-workspace/kde-np.pam | 10 - .../kde-workspace/kde-workspace.pre-install | 8 - unmaintained/kde-workspace/kde.pam | 10 - unmaintained/kde-workspace/kdm.initd | 10 - unmaintained/kde-workspace/kscreensaver.pam | 3 - .../kde-workspace/uint-fadeeffect-4.11.11.patch | 11 - unmaintained/kdegraphics-mobipocket/APKBUILD | 47 - unmaintained/kfilemetadata/APKBUILD | 47 - unmaintained/kismet/APKBUILD | 41 - unmaintained/klavaro/APKBUILD | 47 - unmaintained/klavaro/configure.patch | 28 - unmaintained/klavaro/klavaro.post-install | 3 - unmaintained/kmix/APKBUILD | 46 - unmaintained/kodi-platform/APKBUILD | 52 - unmaintained/kodi-platform/check-for-glibc.patch | 11 - unmaintained/kodi-pvr-addons/APKBUILD | 87 - unmaintained/kyotocabinet/APKBUILD | 54 - .../kyotocabinet-1.2.76-8-byte-atomics.patch | 74 - unmaintained/kyototycoon/APKBUILD | 58 - unmaintained/kyototycoon/musl-header-fix.patch | 11 - unmaintained/ladspa/0001-proper-build.patch | 111 - .../0002-plugin-constructor-destructor.patch | 119 - unmaintained/ladspa/0003-plugindir.patch | 42 - unmaintained/ladspa/APKBUILD | 44 - unmaintained/lam/APKBUILD | 48 - .../lam/lam-change-config-file-location.patch | 11 - unmaintained/lam/lam.post-install | 7 - unmaintained/lam/lam.post-upgrade | 7 - unmaintained/lbdb/APKBUILD | 33 - unmaintained/libamz/APKBUILD | 39 - unmaintained/libavl/APKBUILD | 43 - unmaintained/libavl/libavl_0.3.5-3.patch | 39 - unmaintained/libc6/APKBUILD | 117 - unmaintained/libc6/nscd.initd | 18 - unmaintained/libcgroup/APKBUILD | 102 - unmaintained/libcgroup/cgconfig.confd | 4 - unmaintained/libcgroup/cgconfig.initd | 120 - unmaintained/libcgroup/cgred.confd | 17 - unmaintained/libcgroup/cgred.initd | 34 - unmaintained/libcgroup/musl-decls-compat.patch | 207 - unmaintained/libdbusmenu-qt/APKBUILD | 42 - unmaintained/libde265/APKBUILD | 64 - unmaintained/libdlna/APKBUILD | 47 - unmaintained/libdlna/avmedia_type.patch | 18 - unmaintained/libecap/APKBUILD | 47 - unmaintained/libgflags/APKBUILD | 64 - .../libiodbc/10-sqltypes-libiodbc-3.52.7.patch | 10 - unmaintained/libiodbc/APKBUILD | 51 - unmaintained/liblo/APKBUILD | 41 - unmaintained/liblrdf/APKBUILD | 68 - unmaintained/libmbfl/APKBUILD | 110 - unmaintained/libmbfl/filters_makefile.patch | 20 - unmaintained/libnatspec/APKBUILD | 50 - unmaintained/libpwquality/APKBUILD | 54 - unmaintained/libqb/APKBUILD | 54 - unmaintained/libqb/fix-headers.patch | 10 - unmaintained/libsearpc/APKBUILD | 55 - unmaintained/libsieve/APKBUILD | 44 - unmaintained/libsrs2/APKBUILD | 52 - unmaintained/libstrophe/APKBUILD | 37 - unmaintained/libsyncml/APKBUILD | 33 - unmaintained/libtar/APKBUILD | 73 - unmaintained/libtar/libtar-1.2.11-bz729009.patch | 25 - unmaintained/libtar/libtar-1.2.11-mem-deref.patch | 24 - .../libtar/libtar-1.2.11-missing-protos.patch | 34 - .../libtar/libtar-1.2.20-fix-resource-leaks.patch | 241 - .../libtar/libtar-1.2.20-no-static-buffer.patch | 148 - unmaintained/libubox/APKBUILD | 55 - unmaintained/libubox/includes.patch | 11 - unmaintained/libubox/json-pkgconf-detect.patch | 11 - unmaintained/libuniso/APKBUILD | 52 - unmaintained/libuniso/musl-missing-typesh.patch | 10 - unmaintained/libwbxml/APKBUILD | 34 - unmaintained/libx86/APKBUILD | 43 - unmaintained/libx86/libx86-add-pkgconfig.patch | 64 - unmaintained/libx86/libx86-mmap-offset.patch | 187 - unmaintained/lightdm-gtk-greeter/APKBUILD | 54 - .../lightdm-gtk-greeter-1.8.5-bg_crash.patch | 12 - unmaintained/linux_logo/APKBUILD | 62 - unmaintained/linux_logo/alpinelinux.logo | 54 - unmaintained/linux_logo/linux_logo.conf | 18 - unmaintained/linux_logo/linux_logo.initd | 36 - unmaintained/lnav/APKBUILD | 51 - unmaintained/lok/APKBUILD | 31 - unmaintained/lrzsz/APKBUILD | 44 - unmaintained/lua-base64url/APKBUILD | 33 - unmaintained/lua-cloud_storage/APKBUILD | 61 - unmaintained/lua-date/APKBUILD | 56 - unmaintained/lua-ejdb/APKBUILD | 49 - unmaintained/lua-ejdb/unbundle-inspect.patch | 17 - unmaintained/lua-event/APKBUILD | 81 - unmaintained/lua-json/APKBUILD | 25 - unmaintained/lua-lbase64/APKBUILD | 37 - unmaintained/lua-ljsyscall/APKBUILD | 38 - unmaintained/lua-llthreads/APKBUILD | 88 - unmaintained/lua-llthreads/bindings-1.patch | 650 - unmaintained/lua-llthreads/bindings-2.patch | 109 - unmaintained/lua-llthreads/lua-5.2.patch | 336 - unmaintained/lua-mimetypes/APKBUILD | 56 - unmaintained/lua-moonscript/APKBUILD | 51 - .../lua-moonscript/alt_getopt-compat.patch | 10 - unmaintained/lua-sec-prosody/APKBUILD | 52 - unmaintained/lua-sec-prosody/Makefile.patch | 11 - unmaintained/lua-tar/APKBUILD | 47 - unmaintained/lua-tar/enable-pic.patch | 11 - unmaintained/lua-telescope/APKBUILD | 38 - unmaintained/lua-tnetstrings/APKBUILD | 35 - unmaintained/lua-xmlrpc/APKBUILD | 38 - unmaintained/lua-zip/APKBUILD | 39 - unmaintained/lua-zlib/APKBUILD | 65 - unmaintained/lua-zmq/APKBUILD | 80 - unmaintained/lua-zmq/git-20130709.patch | 14529 ------------------- unmaintained/lua5.2-json4/APKBUILD | 24 - unmaintained/lua5.2-sec-prosody/APKBUILD | 55 - unmaintained/lua5.2-sec-prosody/Makefile.patch | 11 - unmaintained/lua5.2-xctrl/APKBUILD | 42 - unmaintained/lusca/APKBUILD | 117 - unmaintained/lusca/alpine.patch | 43 - unmaintained/lusca/lusca.confd | 4 - unmaintained/lusca/lusca.initd | 120 - unmaintained/lusca/lusca.logrotate | 11 - unmaintained/lusca/lusca.pre-install | 7 - unmaintained/lusca/lusca.pre-upgrade | 1 - unmaintained/lwm/APKBUILD | 42 - unmaintained/lwm/no_xmkmf_makefile.patch | 11 - unmaintained/lxde-common/APKBUILD | 36 - unmaintained/lxde-common/startlxde.patch | 11 - unmaintained/lxde-icon-theme/APKBUILD | 49 - unmaintained/lxmenu-data/APKBUILD | 49 - unmaintained/mac-robber/APKBUILD | 45 - unmaintained/mac-robber/include-paramh.patch | 10 - unmaintained/madwimax/APKBUILD | 35 - unmaintained/maildrop/APKBUILD | 52 - .../maildrop/maildrop-2.3.0-dovecotauth.patch | 820 -- unmaintained/mapnik/APKBUILD | 52 - unmaintained/mapnik/boost-1.57-geojson.patch | 11 - unmaintained/masscan/APKBUILD | 41 - unmaintained/mathomatic/APKBUILD | 41 - unmaintained/mathomatic/busybox.patch | 11 - unmaintained/mbuffer/APKBUILD | 46 - .../00-update-to-git-a5682fe.patch | 38 - ...1-adjust-sample-conf-for-alpine-packaging.patch | 55 - unmaintained/mdev-like-a-boss/APKBUILD | 75 - unmaintained/mdev-like-a-boss/README.alpine | 12 - unmaintained/mediaproxy/APKBUILD | 57 - unmaintained/mediaproxy/config.ini | 19 - .../mediaproxy/mediaproxy-dispatcher.initd | 22 - unmaintained/mediaproxy/mediaproxy-relay.initd | 22 - unmaintained/megactl/APKBUILD | 40 - unmaintained/meiga/APKBUILD | 36 - unmaintained/memtest86+/APKBUILD | 29 - unmaintained/mhash/APKBUILD | 42 - unmaintained/microxml/APKBUILD | 47 - unmaintained/minitube/APKBUILD | 40 - unmaintained/mkdocs/APKBUILD | 41 - unmaintained/moinmoin/APKBUILD | 30 - unmaintained/mongodb/APKBUILD | 130 - .../mongodb/mongodb-2.2-r1-fix-scons.patch | 46 - .../mongodb/mongodb-2.2.4-use-system-version.patch | 42 - .../mongodb/mongodb-2.4.4-fix-sharedclient.patch | 132 - unmaintained/mongodb/mongodb.confd | 14 - unmaintained/mongodb/mongodb.initd | 40 - unmaintained/mongodb/mongodb.logrotate | 13 - unmaintained/mongodb/mongos.confd | 16 - unmaintained/mongodb/mongos.initd | 45 - unmaintained/mongodb/uclibc-libc-version.patch | 14 - unmaintained/mongrel2/APKBUILD | 33 - unmaintained/mp3info/APKBUILD | 41 - unmaintained/mp3info/escape_chars.patch | 138 - unmaintained/mp3info/types.patch | 11 - unmaintained/mpop/APKBUILD | 39 - unmaintained/ms-sys/APKBUILD | 46 - unmaintained/ms-sys/nls.patch | 32 - unmaintained/mutter/APKBUILD | 47 - unmaintained/mutter/mutter-gtk2.patch | 82 - unmaintained/mutter/mutter.post-install | 7 - unmaintained/mutter/mutter.post-upgrade | 7 - unmaintained/mutter/mutter.pre-deinstall | 7 - unmaintained/mysql-connector-odbc/APKBUILD | 49 - unmaintained/mysql/APKBUILD | 202 - .../mysql/mysql-prefer-dynamic-library.patch | 58 - unmaintained/mysql/mysql-va-list.patch | 51 - unmaintained/mysql/mysql.initd | 58 - unmaintained/mytop/APKBUILD | 35 - unmaintained/nagiosql/APKBUILD | 34 - unmaintained/nbtscan/APKBUILD | 47 - unmaintained/nbtscan/nbtscan-1.5.1-makefile.patch | 20 - unmaintained/ncrack/APKBUILD | 51 - unmaintained/ncrack/missing-typesh.patch | 10 - unmaintained/ndisc6/APKBUILD | 48 - unmaintained/ndisc6/disable-rltraceroute6.patch | 29 - unmaintained/neard/APKBUILD | 61 - unmaintained/neard/neard.initd | 23 - unmaintained/nebula/APKBUILD | 57 - unmaintained/nebula/musl-fixes.patch | 32 - unmaintained/nemo/APKBUILD | 58 - unmaintained/nemo/nemo.post-deinstall | 6 - unmaintained/nemo/nemo.post-install | 6 - unmaintained/nemo/nemo.post-upgrade | 6 - ...-gtk-stock-deprecated-errors-for-gtk-3.10.patch | 24 - unmaintained/netdiscover/APKBUILD | 35 - unmaintained/netdot/APKBUILD | 54 - unmaintained/nethack/APKBUILD | 72 - unmaintained/nethack/nethack.bin | 74 - unmaintained/netsniff-ng/APKBUILD | 44 - unmaintained/netsniff-ng/netsniff-ng-unkown.patch | 14 - unmaintained/netstat-nat/APKBUILD | 40 - unmaintained/network-manager-applet/APKBUILD | 55 - unmaintained/nfspy/APKBUILD | 41 - unmaintained/nfswatch/APKBUILD | 40 - unmaintained/nfswatch/bb-gzip.patch | 20 - unmaintained/nilfs-utils/APKBUILD | 64 - unmaintained/nilfs-utils/max-input.patch | 12 - unmaintained/nilfs-utils/rpc-types.patch | 11 - unmaintained/noip/APKBUILD | 60 - unmaintained/noip/noip-2.1.9-daemon.patch | 0 unmaintained/noip/noip-2.1.9-flags.patch | 11 - unmaintained/noip/noip.initd | 34 - unmaintained/ntfsprogs/APKBUILD | 38 - unmaintained/nwipe/APKBUILD | 43 - unmaintained/obexftp/APKBUILD | 56 - unmaintained/obexftp/obexftp-0.23-gentoo.patch | 24 - unmaintained/obmenu/APKBUILD | 19 - unmaintained/oksh/APKBUILD | 57 - unmaintained/omorfi/APKBUILD | 62 - unmaintained/onesixtyone/APKBUILD | 43 - unmaintained/opal/APKBUILD | 54 - unmaintained/openjpeg1/APKBUILD | 48 - unmaintained/openlldp/APKBUILD | 58 - unmaintained/openlldp/openlldp.confd | 2 - unmaintained/openlldp/openlldp.initd | 24 - unmaintained/openlldp/procfs.patch | 19 - unmaintained/opennebula/APKBUILD | 91 - unmaintained/opennebula/getopt.patch | 15 - unmaintained/opennebula/one_auth | 1 - .../opennebula/opennebula-node-kvm.pre-install | 13 - unmaintained/opennebula/opennebula.confd | 25 - unmaintained/opennebula/opennebula.initd | 60 - unmaintained/opennebula/opennebula.pre-install | 9 - unmaintained/opennebula/ssh.config | 4 - unmaintained/opensips-cp/APKBUILD | 26 - unmaintained/openslp/APKBUILD | 47 - unmaintained/otf-cantarell/45-cantarell.conf | 12 - .../otf-cantarell/90-non-tt-cantarell.conf | 50 - unmaintained/otf-cantarell/APKBUILD | 62 - unmaintained/otf-oswald/45-oswald.conf | 12 - unmaintained/otf-oswald/90-non-tt-oswald.conf | 23 - unmaintained/otf-oswald/APKBUILD | 55 - .../otf-quintessential/45-quintessential.conf | 12 - .../90-non-tt-quintessential.conf | 23 - unmaintained/otf-quintessential/APKBUILD | 50 - unmaintained/otf-tex-gyre/45-tex-gyre.conf | 89 - unmaintained/otf-tex-gyre/90-non-tt-tex-gyre.conf | 221 - unmaintained/otf-tex-gyre/APKBUILD | 49 - unmaintained/otter-browser/APKBUILD | 50 - unmaintained/oxygen-icons/APKBUILD | 46 - unmaintained/pacemaker/APKBUILD | 68 - unmaintained/pacemaker/fix-SIGCHLD.patch | 11 - unmaintained/pacemaker/fix-headers.patch | 11 - unmaintained/pacemaker/pacemaker.initd | 39 - unmaintained/packagekit/APKBUILD | 47 - unmaintained/parcellite/APKBUILD | 49 - unmaintained/parcellite/fix-crash.patch | 11 - unmaintained/passwdgen/APKBUILD | 32 - unmaintained/pastebinc/APKBUILD | 43 - unmaintained/pcapy/APKBUILD | 30 - .../pdns-gui/0010-replace-bash-with-sh.patch | 81 - .../pdns-gui/0020-update-for-mysql55.patch | 67 - ...remove-zend.ze1_compatibility_mode-option.patch | 12 - .../0040-alpine-default-htaccess-fix.patch | 11 - unmaintained/pdns-gui/APKBUILD | 63 - unmaintained/pdns-gui/pdns-gui.apache2.conf | 7 - unmaintained/pdns-gui/pdns-gui.post-install | 12 - unmaintained/pdns-gui/pdns-gui.post-upgrade | 8 - unmaintained/perl-alien-base/APKBUILD | 44 - unmaintained/perl-alien-libgumbo/APKBUILD | 54 - unmaintained/perl-apache-authcookie/APKBUILD | 39 - .../perl-apache-session-browseable/APKBUILD | 39 - unmaintained/perl-apache-session-ldap/APKBUILD | 41 - unmaintained/perl-apache-test/APKBUILD | 41 - unmaintained/perl-apache2-sitecontrol/APKBUILD | 39 - unmaintained/perl-app-perlfind/APKBUILD | 39 - unmaintained/perl-archive-extract/APKBUILD | 41 - unmaintained/perl-authen-digestmd5/APKBUILD | 38 - unmaintained/perl-class-accessor-grouped/APKBUILD | 37 - unmaintained/perl-class-base/APKBUILD | 37 - .../perl-class-dbi-abstractsearch/APKBUILD | 37 - unmaintained/perl-class-gomor/APKBUILD | 31 - unmaintained/perl-class-makemethods/APKBUILD | 37 - unmaintained/perl-class-weaksingleton/APKBUILD | 39 - unmaintained/perl-cwmp/APKBUILD | 51 - unmaintained/perl-data-section/APKBUILD | 39 - unmaintained/perl-data-types/APKBUILD | 39 - unmaintained/perl-dbm-deep/APKBUILD | 40 - unmaintained/perl-devel-checkos/APKBUILD | 41 - unmaintained/perl-email-sender/APKBUILD | 39 - unmaintained/perl-exporter-renaming/APKBUILD | 39 - unmaintained/perl-extutils-parsexs/APKBUILD | 41 - unmaintained/perl-ffi-checklib/APKBUILD | 41 - unmaintained/perl-file-chdir/APKBUILD | 41 - unmaintained/perl-file-desktopentry/APKBUILD | 41 - unmaintained/perl-file-find-rule/APKBUILD | 41 - unmaintained/perl-file-homedir/APKBUILD | 39 - unmaintained/perl-file-mimeinfo/APKBUILD | 41 - unmaintained/perl-file-type/APKBUILD | 39 - unmaintained/perl-font-ttf/APKBUILD | 43 - unmaintained/perl-geo-ip/APKBUILD | 43 - .../perl-glib-ex-connectproperties/APKBUILD | 39 - unmaintained/perl-gtk2-ex-celllayout-base/APKBUILD | 39 - unmaintained/perl-gtk2-ex-clock/APKBUILD | 39 - unmaintained/perl-gtk2-ex-dashes/APKBUILD | 39 - unmaintained/perl-gtk2-ex-datasheet-dbi/APKBUILD | 39 - unmaintained/perl-gtk2-ex-datespinner/APKBUILD | 40 - unmaintained/perl-gtk2-ex-dialogs/APKBUILD | 39 - unmaintained/perl-gtk2-ex-dragger/APKBUILD | 39 - unmaintained/perl-gtk2-ex-errortextdialog/APKBUILD | 42 - unmaintained/perl-gtk2-ex-history/APKBUILD | 40 - unmaintained/perl-gtk2-ex-menuview/APKBUILD | 39 - unmaintained/perl-gtk2-ex-noshrink/APKBUILD | 39 - unmaintained/perl-gtk2-ex-numaxis/APKBUILD | 39 - unmaintained/perl-gtk2-ex-tickerview/APKBUILD | 39 - .../perl-gtk2-ex-treemodelfilter-dragdest/APKBUILD | 39 - unmaintained/perl-gtk2-ex-utils/APKBUILD | 39 - unmaintained/perl-gtk2-ex-widgetcursor/APKBUILD | 39 - unmaintained/perl-gtk2-ex-xor/APKBUILD | 39 - unmaintained/perl-html-form/APKBUILD | 39 - unmaintained/perl-html-gumbo/APKBUILD | 48 - unmaintained/perl-io-async-loop-glib/APKBUILD | 41 - unmaintained/perl-io-async-ssl/APKBUILD | 40 - unmaintained/perl-io-string/APKBUILD | 39 - unmaintained/perl-ipc-dirqueue/APKBUILD | 41 - unmaintained/perl-libnet/APKBUILD | 43 - unmaintained/perl-lisp/APKBUILD | 39 - unmaintained/perl-local-lib/APKBUILD | 37 - unmaintained/perl-math-calc-units/APKBUILD | 41 - unmaintained/perl-modern-perl/APKBUILD | 40 - unmaintained/perl-monitoring-plugin/APKBUILD | 41 - unmaintained/perl-net-ident/APKBUILD | 43 - unmaintained/perl-net-whois-ip/APKBUILD | 33 - unmaintained/perl-number-compare/APKBUILD | 41 - unmaintained/perl-parser-mgc/APKBUILD | 39 - unmaintained/perl-patchreader/APKBUILD | 39 - unmaintained/perl-pdf-api2/APKBUILD | 43 - unmaintained/perl-perl6-classes/APKBUILD | 39 - unmaintained/perl-perl6-slurp/APKBUILD | 39 - unmaintained/perl-perlio-via-escstatus/APKBUILD | 39 - unmaintained/perl-proc-syncexec/APKBUILD | 39 - unmaintained/perl-search-xapian/APKBUILD | 41 - unmaintained/perl-set-intspan-fast/APKBUILD | 39 - unmaintained/perl-shell-config-generate/APKBUILD | 41 - unmaintained/perl-shell-guess/APKBUILD | 41 - unmaintained/perl-snmp-info/APKBUILD | 39 - unmaintained/perl-software-license/APKBUILD | 39 - unmaintained/perl-sort-versions/APKBUILD | 41 - unmaintained/perl-sql-abstract-limit/APKBUILD | 38 - unmaintained/perl-sql-abstract/APKBUILD | 40 - unmaintained/perl-term-shelly/APKBUILD | 44 - unmaintained/perl-test-command/APKBUILD | 44 - unmaintained/perl-test-compile/APKBUILD | 45 - unmaintained/perl-text-glob/APKBUILD | 39 - unmaintained/perl-text-parsewords/APKBUILD | 42 - unmaintained/perl-tie-cache/APKBUILD | 39 - unmaintained/perl-tie-refhash-weak/APKBUILD | 39 - unmaintained/perl-tie-tz/APKBUILD | 39 - unmaintained/perl-time-unix/APKBUILD | 39 - unmaintained/perl-uri-escape/APKBUILD | 34 - unmaintained/perl-uri-find-simple/APKBUILD | 37 - unmaintained/perl-uri-find/APKBUILD | 38 - unmaintained/perl-xml-generator/APKBUILD | 41 - unmaintained/pgagent/APKBUILD | 64 - unmaintained/pgagent/pgagent.confd | 22 - unmaintained/pgagent/pgagent.initd | 25 - unmaintained/phonon-backend-gstreamer/APKBUILD | 42 - unmaintained/php-blenc/APKBUILD | 37 - unmaintained/php-gmagick/APKBUILD | 37 - unmaintained/php-pear-auth_sasl/APKBUILD | 29 - unmaintained/php-pear-auth_sasl2/APKBUILD | 29 - unmaintained/php-rrd/APKBUILD | 37 - .../0001-php_flock-undefined-variable-fix.patch | 27 - unmaintained/php-suhosin/APKBUILD | 54 - unmaintained/php-zmq/APKBUILD | 37 - unmaintained/phppgadmin/APKBUILD | 72 - unmaintained/phppgadmin/phppgadmin.apache2.conf | 7 - unmaintained/phppgadmin/phppgadmin.post-install | 16 - unmaintained/phpredis/APKBUILD | 42 - unmaintained/physfs/APKBUILD | 46 - unmaintained/physfs/silence-gcc.patch | 19 - unmaintained/pidgin-audacious/APKBUILD | 48 - unmaintained/pnp4nagios/APKBUILD | 75 - unmaintained/pnp4nagios/npcd | 21 - unmaintained/pnp4nagios/npcd.cfg | 195 - unmaintained/polkit-kde-agent/APKBUILD | 47 - ...it-kde-agent-1-0.99.0-remember_password-1.patch | 49 - unmaintained/polkit-qt/APKBUILD | 47 - unmaintained/polygraph/10-fix-ftbfs-gcc-4.7.patch | 77 - unmaintained/polygraph/APKBUILD | 53 - unmaintained/postfixadmin/APKBUILD | 36 - unmaintained/postgresql-old8.4/APKBUILD | 71 - unmaintained/postgresql-old9.0/APKBUILD | 71 - unmaintained/postgresql-old9.1/1q | 36 - unmaintained/postgresql-old9.1/APKBUILD | 66 - unmaintained/postgresql-old9.2/APKBUILD | 68 - unmaintained/postgresql-old9.3/APKBUILD | 68 - unmaintained/postler/APKBUILD | 42 - unmaintained/postler/inet_ntoa.patch | 10 - .../poweradmin/0010-fix-installer-config.patch | 31 - unmaintained/poweradmin/0020-fix-for-mysql55.patch | 20 - unmaintained/poweradmin/APKBUILD | 81 - unmaintained/poweradmin/poweradmin.apache2.conf | 7 - unmaintained/poweradmin/poweradmin.post-install | 30 - unmaintained/premium-cursor-theme/APKBUILD | 28 - unmaintained/profanity/APKBUILD | 54 - unmaintained/prt-get/APKBUILD | 32 - unmaintained/prwd/APKBUILD | 49 - unmaintained/ptlib/APKBUILD | 74 - unmaintained/ptlib/musl-fixes.patch | 70 - .../ptlib/ptlib-2.10.10-bison_fixes-1.patch | 2895 ---- unmaintained/ptlib/ptlib-fixcamcrash.patch | 30 - unmaintained/pulledpork/APKBUILD | 39 - unmaintained/py-acl/APKBUILD | 41 - unmaintained/py-authen-ntlm2/APKBUILD | 42 - unmaintained/py-beautifulsoup/APKBUILD | 29 - unmaintained/py-des/APKBUILD | 41 - unmaintained/py-flask-htmlbuilder/APKBUILD | 41 - unmaintained/py-jabberbot/APKBUILD | 30 - unmaintained/py-linkedin/APKBUILD | 41 - unmaintained/py-mkdocs-bootstrap/APKBUILD | 40 - unmaintained/py-mkdocs-bootswatch/APKBUILD | 40 - unmaintained/py-mysql2pgsql/APKBUILD | 40 - unmaintained/py-ostinato/APKBUILD | 28 - unmaintained/py-pyacoustid/APKBUILD | 40 - unmaintained/py-reconfigure/APKBUILD | 41 - unmaintained/py-subvertpy/APKBUILD | 31 - unmaintained/py-svn/APKBUILD | 34 - unmaintained/py-tftpy/APKBUILD | 30 - unmaintained/py-twisted-conch/APKBUILD | 36 - unmaintained/py-xattr/APKBUILD | 31 - unmaintained/py-xen/APKBUILD | 38 - unmaintained/py-xmpppy/APKBUILD | 31 - unmaintained/pycairo/APKBUILD | 41 - unmaintained/pychecker/APKBUILD | 38 - unmaintained/pysysbot/APKBUILD | 40 - unmaintained/pyx/APKBUILD | 41 - unmaintained/qimageblitz/APKBUILD | 45 - unmaintained/ranger/APKBUILD | 26 - unmaintained/raptor/APKBUILD | 46 - unmaintained/raptor/raptor-curl.patch | 12 - unmaintained/rats/APKBUILD | 51 - unmaintained/rc/APKBUILD | 44 - unmaintained/rc/rc.post-install | 3 - unmaintained/rc/rc.pre-deinstall | 3 - unmaintained/redmine/APKBUILD | 115 - unmaintained/redmine/database.yml.patch | 70 - unmaintained/redmine/gemfile.patch | 37 - unmaintained/redmine/redmine.post-install | 29 - unmaintained/redmine/redmine.pre-install | 7 - unmaintained/regina-rexx/APKBUILD | 55 - unmaintained/regina-rexx/llong.patch | 22 - unmaintained/regina-rexx/regina-rexx.initd | 28 - unmaintained/resource-agents/APKBUILD | 55 - unmaintained/resource-agents/fix-bashism.patch | 12 - unmaintained/rinse/APKBUILD | 51 - unmaintained/rinse/rinse-device-nodes.patch | 19 - unmaintained/rinse/rinse-posix-cpio-use.patch | 11 - unmaintained/rinse/rinse-set-rpm-platform.patch | 100 - unmaintained/rlwrap/APKBUILD | 39 - unmaintained/rosegarden/APKBUILD | 47 - unmaintained/rosegarden/nearbyintf.patch | 13 - unmaintained/roundup/APKBUILD | 47 - .../roundup-avoid-bash-syntax-in-tests.patch | 17 - .../roundup/roundup-fix-busybox-shell-opts.patch | 19 - unmaintained/rpmlint/APKBUILD | 30 - unmaintained/ruby-abn/APKBUILD | 40 - unmaintained/ruby-actionmailer4.2/APKBUILD | 43 - .../ruby-actionpack-action_caching4.2/APKBUILD | 45 - .../ruby-actionpack-xml_parser4.2/APKBUILD | 45 - unmaintained/ruby-actionpack4.2/APKBUILD | 44 - unmaintained/ruby-actionview4.2/APKBUILD | 40 - unmaintained/ruby-activejob4.2/APKBUILD | 37 - unmaintained/ruby-activemodel4.2/APKBUILD | 36 - unmaintained/ruby-activerecord4.2/APKBUILD | 38 - unmaintained/ruby-activesupport4.2/APKBUILD | 44 - unmaintained/ruby-addressable/APKBUILD | 36 - unmaintained/ruby-amazon-ec2/APKBUILD | 39 - unmaintained/ruby-arel/APKBUILD | 37 - unmaintained/ruby-bcrypt/APKBUILD | 39 - unmaintained/ruby-builder/APKBUILD | 37 - unmaintained/ruby-charlock_holmes/APKBUILD | 39 - unmaintained/ruby-coderay/APKBUILD | 45 - unmaintained/ruby-crack/APKBUILD | 39 - unmaintained/ruby-css_parser/APKBUILD | 36 - unmaintained/ruby-curb/APKBUILD | 39 - unmaintained/ruby-daemon-controller/APKBUILD | 39 - unmaintained/ruby-daemons/APKBUILD | 39 - unmaintained/ruby-diff-lcs/APKBUILD | 39 - unmaintained/ruby-domain_name/APKBUILD | 38 - unmaintained/ruby-erubis/APKBUILD | 43 - unmaintained/ruby-eventmachine/APKBUILD | 39 - unmaintained/ruby-fastercsv/APKBUILD | 36 - unmaintained/ruby-fastthread/APKBUILD | 38 - unmaintained/ruby-fcgi/APKBUILD | 38 - unmaintained/ruby-file-tail/APKBUILD | 40 - unmaintained/ruby-github-markdown/APKBUILD | 39 - unmaintained/ruby-github-markup/APKBUILD | 39 - unmaintained/ruby-gitlab-grit/APKBUILD | 39 - unmaintained/ruby-globalid/APKBUILD | 38 - .../ruby-gollum-lib-github-markup/APKBUILD | 39 - .../ruby-gollum_rails-charlock_holmes/APKBUILD | 39 - .../ruby-gollum_rails-github-markup/APKBUILD | 39 - .../ruby-gollum_rails-gitlab-grit/APKBUILD | 39 - unmaintained/ruby-hike/APKBUILD | 37 - unmaintained/ruby-hoe/APKBUILD | 38 - unmaintained/ruby-htmlentities/APKBUILD | 36 - unmaintained/ruby-http-cookie/APKBUILD | 39 - unmaintained/ruby-i18n/APKBUILD | 38 - unmaintained/ruby-isbn/APKBUILD | 40 - unmaintained/ruby-jquery-rails4.2/APKBUILD | 38 - unmaintained/ruby-kgio/APKBUILD | 37 - unmaintained/ruby-loofah/APKBUILD | 38 - unmaintained/ruby-mail/APKBUILD | 37 - unmaintained/ruby-mechanize/APKBUILD | 40 - unmaintained/ruby-metaclass/APKBUILD | 37 - unmaintained/ruby-mime-types/APKBUILD | 37 - unmaintained/ruby-mini_portile/APKBUILD | 39 - unmaintained/ruby-mocha/APKBUILD | 45 - unmaintained/ruby-mustache/APKBUILD | 39 - unmaintained/ruby-mysql2/APKBUILD | 37 - unmaintained/ruby-net-http-digest_auth/APKBUILD | 38 - unmaintained/ruby-net-http-persistent/APKBUILD | 38 - unmaintained/ruby-net-ldap/APKBUILD | 37 - unmaintained/ruby-network_interface/APKBUILD | 39 - unmaintained/ruby-ntlm-http/APKBUILD | 37 - unmaintained/ruby-openid/APKBUILD | 39 - unmaintained/ruby-pg/APKBUILD | 39 - unmaintained/ruby-polyglot/APKBUILD | 37 - ...SIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch | 32 - unmaintained/ruby-posix-spawn/APKBUILD | 58 - unmaintained/ruby-protected_attributes4.2/APKBUILD | 45 - unmaintained/ruby-pry/APKBUILD | 41 - unmaintained/ruby-puma/APKBUILD | 54 - unmaintained/ruby-puma/puma.confd | 5 - unmaintained/ruby-puma/puma.initd | 18 - unmaintained/ruby-rack-cache/APKBUILD | 35 - unmaintained/ruby-rack-openid/APKBUILD | 38 - unmaintained/ruby-rack-protection/APKBUILD | 39 - unmaintained/ruby-rack-ssl/APKBUILD | 37 - unmaintained/ruby-rack-test/APKBUILD | 37 - unmaintained/ruby-rack/APKBUILD | 46 - unmaintained/ruby-rack14/APKBUILD | 38 - .../ruby-rails-deprecated_sanitizer4.2/APKBUILD | 38 - unmaintained/ruby-rails-dom-testing4.2/APKBUILD | 42 - unmaintained/ruby-rails-html-sanitizer/APKBUILD | 37 - unmaintained/ruby-rails4.2/APKBUILD | 48 - unmaintained/ruby-railties4.2/APKBUILD | 45 - unmaintained/ruby-raindrops/APKBUILD | 37 - unmaintained/ruby-rbpdf-font/APKBUILD | 49 - unmaintained/ruby-rbpdf/APKBUILD | 45 - unmaintained/ruby-redcarpet/APKBUILD | 47 - unmaintained/ruby-request_store/APKBUILD | 45 - unmaintained/ruby-require/APKBUILD | 40 - unmaintained/ruby-roadie-rails/APKBUILD | 36 - unmaintained/ruby-roadie/APKBUILD | 37 - unmaintained/ruby-rouge/APKBUILD | 39 - unmaintained/ruby-safe_yaml/APKBUILD | 39 - unmaintained/ruby-sanitize/APKBUILD | 39 - unmaintained/ruby-sequel/APKBUILD | 39 - unmaintained/ruby-shoulda-context/APKBUILD | 40 - unmaintained/ruby-shoulda-matchers/APKBUILD | 40 - unmaintained/ruby-shoulda/APKBUILD | 40 - unmaintained/ruby-sinatra/APKBUILD | 39 - unmaintained/ruby-sprockets-rails4.2/APKBUILD | 36 - unmaintained/ruby-sprockets/APKBUILD | 37 - unmaintained/ruby-spruz/APKBUILD | 37 - unmaintained/ruby-sqlite/APKBUILD | 37 - unmaintained/ruby-stringex/APKBUILD | 39 - unmaintained/ruby-test-unit/APKBUILD | 38 - unmaintained/ruby-thin/APKBUILD | 39 - unmaintained/ruby-thor/APKBUILD | 45 - unmaintained/ruby-thread_safe/APKBUILD | 39 - unmaintained/ruby-tilt/APKBUILD | 45 - unmaintained/ruby-tins/APKBUILD | 40 - unmaintained/ruby-treetop/APKBUILD | 37 - unmaintained/ruby-tzinfo/APKBUILD | 37 - unmaintained/ruby-unf-ext/APKBUILD | 39 - unmaintained/ruby-unf/APKBUILD | 38 - unmaintained/ruby-unicorn/APKBUILD | 65 - unmaintained/ruby-unicorn/redmine.conf.rb.sample | 103 - unmaintained/ruby-unicorn/unicorn.confd | 4 - unmaintained/ruby-unicorn/unicorn.initd | 44 - unmaintained/ruby-useragent/APKBUILD | 39 - unmaintained/ruby-uuidtools/APKBUILD | 39 - unmaintained/ruby-webrobots/APKBUILD | 39 - unmaintained/ruby-xml-simple/APKBUILD | 39 - unmaintained/ruby-yard/APKBUILD | 48 - unmaintained/salt-cloud/APKBUILD | 30 - unmaintained/samba36/100-configure_fixes.patch | 14 - unmaintained/samba36/110-multicall.patch | 119 - unmaintained/samba36/111-owrt_smbpasswd.patch | 281 - unmaintained/samba36/120-add_missing_ifdef.patch | 26 - .../samba36/200-remove_printer_support.patch | 346 - unmaintained/samba36/210-remove_ad_support.patch | 88 - unmaintained/samba36/220-remove_services.patch | 98 - .../samba36/230-remove_winreg_support.patch | 146 - unmaintained/samba36/240-remove_dfs_api.patch | 71 - unmaintained/samba36/250-remove_domain_logon.patch | 185 - unmaintained/samba36/260-remove_samr.patch | 144 - .../samba36/270-remove_registry_backend.patch | 43 - unmaintained/samba36/280-strip_srvsvc.patch | 143 - unmaintained/samba36/290-remove_lsa.patch | 73 - unmaintained/samba36/300-assert_debug_level.patch | 11 - .../samba36/310-remove_error_strings.patch | 253 - unmaintained/samba36/320-debug_level_checks.patch | 22 - .../samba36/330-librpc_default_print.patch | 8854 ----------- unmaintained/samba36/APKBUILD | 180 - unmaintained/samba36/samba.confd | 6 - unmaintained/samba36/samba.initd | 56 - unmaintained/samba36/smb.conf.template | 34 - unmaintained/sarg/APKBUILD | 56 - unmaintained/sc101-nbd/APKBUILD | 38 - unmaintained/scantailor/APKBUILD | 53 - unmaintained/schedtool/APKBUILD | 38 - unmaintained/scrub/APKBUILD | 47 - unmaintained/scummvm/APKBUILD | 48 - unmaintained/seafile/APKBUILD | 109 - unmaintained/seafile/seafile-controller.patch | 37 - unmaintained/seafile/seafile-scripts.patch | 103 - unmaintained/seafile/seafile-server.post-install | 9 - unmaintained/seafile/seafile-server.pre-install | 8 - unmaintained/seafile/seafile.confd | 4 - unmaintained/seafile/seafile.initd | 16 - unmaintained/series60-remote/APKBUILD | 38 - unmaintained/setserial/APKBUILD | 41 - unmaintained/setserial/setserial.patch | 28 - unmaintained/shairplay/APKBUILD | 53 - unmaintained/shairplay/shairplay.confd | 10 - unmaintained/shairplay/shairplay.initd | 19 - unmaintained/shared-desktop-ontologies/APKBUILD | 40 - unmaintained/shed/APKBUILD | 32 - unmaintained/siege/APKBUILD | 51 - unmaintained/siege/siege-2.72-good.patch | 62 - unmaintained/siege/stdint.patch | 28 - unmaintained/sipcrack/APKBUILD | 32 - unmaintained/sipvicious/APKBUILD | 34 - unmaintained/sisctrl/APKBUILD | 43 - unmaintained/skroll/APKBUILD | 31 - unmaintained/slowhttptest/APKBUILD | 44 - unmaintained/smap/APKBUILD | 34 - unmaintained/snorenotify/APKBUILD | 47 - unmaintained/sofia-sip/APKBUILD | 46 - unmaintained/soprano/APKBUILD | 47 - unmaintained/soprano/redland.patch | 11 - unmaintained/soprano/soprano-2.9.4-dbus-1.patch | 12 - unmaintained/spectools/APKBUILD | 44 - unmaintained/spectrwm/APKBUILD | 51 - ...-Make-some-includes-consistent-with-POSIX.patch | 54 - ...lback-for-systems-without-TEMP_FAILURE_RE.patch | 182 - unmaintained/speech-dispatcher/APKBUILD | 59 - unmaintained/spice-vdagent/APKBUILD | 60 - .../fix-memcpy-memset-implicit-declaration.patch | 11 - unmaintained/spice-vdagent/spice-vdagentd.initd | 97 - unmaintained/sqstat/APKBUILD | 34 - ...01-only-run-glibc-specific-hacks-on-glibc.patch | 25 - .../squeezelite/0001-respect-LDFLAGS.patch | 61 - unmaintained/squeezelite/APKBUILD | 51 - unmaintained/squidanalyzer/APKBUILD | 52 - unmaintained/squidguard/APKBUILD | 53 - unmaintained/squidguard/blockedsites | 1 - unmaintained/squidguard/squidGuard.conf.blocksites | 13 - unmaintained/squidguard/squidGuard.conf.minimal | 7 - .../squidguard/squidguard-1.4-debian-bdb-51.patch | 24 - .../squidguard/squidguard-1.4-gentoo.patch | 74 - .../squidguard/squidguard-1.4-upstream-fixes.patch | 24 - .../squidguard/squidguard-1.4-vsnprintf.patch | 44 - unmaintained/sslscan/APKBUILD | 44 - unmaintained/sslscan/sslscan-makefile.patch | 28 - unmaintained/stress/APKBUILD | 35 - unmaintained/strigi/APKBUILD | 51 - unmaintained/subberthehut/APKBUILD | 26 - unmaintained/supertuxkart/APKBUILD | 44 - unmaintained/suspend-utils/APKBUILD | 56 - unmaintained/suspend-utils/define-gnu-source.patch | 30 - unmaintained/swaks/APKBUILD | 44 - unmaintained/t1-cursor/APKBUILD | 31 - unmaintained/t1-urw-fonts/45-urw-fonts.conf | 54 - unmaintained/t1-urw-fonts/90-non-tt-urw-fonts.conf | 167 - unmaintained/t1-urw-fonts/APKBUILD | 53 - unmaintained/t1lib/APKBUILD | 61 - unmaintained/t1lib/CVE-2010-2642.patch | 24 - unmaintained/t1lib/CVE-2011-0764.patch | 32 - unmaintained/t1lib/CVE-2011-1552_1553_1554.patch | 133 - unmaintained/t1lib/format-security.patch | 33 - unmaintained/t1lib/lib-cleanup.patch | 59 - unmaintained/tartarus/APKBUILD | 39 - unmaintained/tartarus/tartarus.post-install | 7 - unmaintained/tb-tun/APKBUILD | 40 - unmaintained/tbl/APKBUILD | 44 - unmaintained/tbl/tbl-install.patch | 19 - unmaintained/tc-play/APKBUILD | 48 - unmaintained/tc-play/libsuffix.patch | 24 - unmaintained/ted/APKBUILD | 82 - unmaintained/ted/ted-motif.trigger | 3 - unmaintained/teeworlds/APKBUILD | 45 - unmaintained/tesseract-data/APKBUILD | 54 - unmaintained/thunar-media-tags-plugin/APKBUILD | 44 - unmaintained/tlssled/APKBUILD | 42 - unmaintained/toilet-font/APKBUILD | 45 - unmaintained/toilet/APKBUILD | 34 - unmaintained/tokyocabinet/APKBUILD | 60 - unmaintained/tokyocabinet/dynamic-linking.patch | 65 - .../tokyocabinet/tokyocabinet-manhelp.patch | 66 - unmaintained/tolua/APKBUILD | 46 - unmaintained/tolua/config | 37 - unmaintained/totem-pl-parser/APKBUILD | 44 - .../totem-pl-parser/no-libsoup-gnome.patch | 31 - unmaintained/totem/APKBUILD | 48 - unmaintained/totem/totem.post-install | 11 - unmaintained/totem/totem.post-upgrade | 11 - unmaintained/totem/totem.pre-deinstall | 11 - unmaintained/transmission-remote-gtk/APKBUILD | 51 - unmaintained/trayer/APKBUILD | 46 - unmaintained/trayer/makefile.patch | 23 - unmaintained/triggerhappy/APKBUILD | 58 - unmaintained/triggerhappy/triggerhappy.confd | 2 - unmaintained/triggerhappy/triggerhappy.initd | 12 - unmaintained/ttf-caladea/45-caladea.conf | 13 - unmaintained/ttf-caladea/90-tt-caladea.conf | 54 - unmaintained/ttf-caladea/APKBUILD | 51 - unmaintained/ttf-cantoraone/45-cantoraone.conf | 12 - unmaintained/ttf-cantoraone/90-tt-cantoraone.conf | 26 - unmaintained/ttf-cantoraone/APKBUILD | 49 - unmaintained/ttf-carlito/45-carlito.conf | 12 - unmaintained/ttf-carlito/90-tt-carlito.conf | 56 - unmaintained/ttf-carlito/APKBUILD | 51 - .../ttf-courier-prime/45-courier-prime.conf | 12 - .../ttf-courier-prime/90-tt-courier-prime.conf | 26 - unmaintained/ttf-courier-prime/APKBUILD | 52 - unmaintained/ttf-gelasio/45-gelasio.conf | 12 - unmaintained/ttf-gelasio/90-tt-gelasio.conf | 26 - unmaintained/ttf-gelasio/APKBUILD | 63 - unmaintained/ttf-heuristica/45-heuristica.conf | 12 - unmaintained/ttf-heuristica/90-tt-heuristica.conf | 26 - unmaintained/ttf-heuristica/APKBUILD | 50 - .../45-merriweather-sans.conf | 12 - .../90-tt-merriweather-sans.conf | 26 - unmaintained/ttf-merriweather-sans/APKBUILD | 50 - unmaintained/ttf-merriweather/45-merriweather.conf | 12 - .../ttf-merriweather/90-tt-merriweather.conf | 26 - unmaintained/ttf-merriweather/APKBUILD | 50 - unmaintained/ttf-noto/40-noto-arabic.conf | 26 - unmaintained/ttf-noto/45-noto-sans.conf | 635 - unmaintained/ttf-noto/45-noto-serif.conf | 47 - unmaintained/ttf-noto/90-non-tt-noto-sans-cjk.conf | 89 - unmaintained/ttf-noto/90-tt-noto-sans.conf | 1876 --- unmaintained/ttf-noto/90-tt-noto-serif.conf | 131 - unmaintained/ttf-noto/APKBUILD | 94 - unmaintained/ttf-opensans/45-opensans.conf | 19 - unmaintained/ttf-opensans/90-tt-opensans.conf | 178 - unmaintained/ttf-opensans/APKBUILD | 50 - unmaintained/ttf-signika-family/45-signika.conf | 12 - unmaintained/ttf-signika-family/90-tt-signika.conf | 26 - unmaintained/ttf-signika-family/APKBUILD | 50 - unmaintained/ttf-symbola/45-symbola.conf | 12 - unmaintained/ttf-symbola/90-tt-symbola.conf | 26 - unmaintained/ttf-symbola/APKBUILD | 51 - unmaintained/tut/APKBUILD | 40 - unmaintained/ubus/APKBUILD | 51 - unmaintained/ubus/disable-systemd.patch | 11 - unmaintained/uci/APKBUILD | 48 - .../ucspi-ssl/0001-Add-missing-make-targets.patch | 41 - unmaintained/ucspi-ssl/APKBUILD | 70 - unmaintained/uget/APKBUILD | 44 - unmaintained/ulib/APKBUILD | 49 - unmaintained/unagi/APKBUILD | 41 - unmaintained/unetbootin/APKBUILD | 53 - unmaintained/unetbootin/allow-ntfs.patch | 20 - unmaintained/unifdef/APKBUILD | 39 - unmaintained/upgrade-notify/APKBUILD | 19 - unmaintained/upgrade-notify/upgrade-notify.trigger | 52 - unmaintained/upstart/APKBUILD | 43 - unmaintained/upstart/upstart.post-deinstall | 3 - unmaintained/upstart/upstart.post-upgrade | 3 - unmaintained/urlwatch/APKBUILD | 40 - unmaintained/usbmuxd/APKBUILD | 45 - unmaintained/uselessd/APKBUILD | 50 - unmaintained/vala-dbus-binding-tool/APKBUILD | 45 - unmaintained/vbetool/APKBUILD | 42 - unmaintained/vdr-plugin-satip/APKBUILD | 46 - .../vdr-plugin-satip/include-ctype-header.patch | 10 - unmaintained/vdr-plugin-vnsiserver/APKBUILD | 44 - unmaintained/vdr-plugin-vnsiserver/musl-fix.patch | 11 - unmaintained/vim-sleuth/APKBUILD | 39 - unmaintained/vimpager/APKBUILD | 40 - unmaintained/vlc-htsp-plugin/APKBUILD | 46 - .../vlc-htsp-plugin/support-bb-install.patch | 11 - unmaintained/vlc-libde265/APKBUILD | 50 - unmaintained/voiphopper/APKBUILD | 44 - unmaintained/waf/APKBUILD | 37 - unmaintained/wbox/APKBUILD | 30 - unmaintained/websocketd/APKBUILD | 64 - unmaintained/wendy/APKBUILD | 31 - unmaintained/weplab/APKBUILD | 33 - unmaintained/willie/APKBUILD | 41 - unmaintained/winetricks/APKBUILD | 40 - unmaintained/xbattmon/APKBUILD | 40 - unmaintained/xboard/APKBUILD | 50 - unmaintained/xca/APKBUILD | 48 - unmaintained/xcmenu/APKBUILD | 44 - unmaintained/xcmenu/include-fcntl.patch | 13 - unmaintained/xcursor-themes/APKBUILD | 42 - unmaintained/xcursorgen/APKBUILD | 47 - unmaintained/xfdashboard/APKBUILD | 50 - unmaintained/xiphos/APKBUILD | 45 - unmaintained/xlennart/APKBUILD | 44 - unmaintained/xmlrpc-epi/APKBUILD | 53 - unmaintained/xnbd/APKBUILD | 63 - unmaintained/xnbd/fix-cblocksize.patch | 42 - unmaintained/xnbd/remove-pagesize.patch | 29 - unmaintained/xnbd/remove-sys_siglist.patch | 35 - unmaintained/xrdp-git/APKBUILD | 87 - .../cd077979ebeb81a6e85a9ba7f9c463beda1606ba.patch | 100 - unmaintained/xtrabackup/APKBUILD | 47 - unmaintained/xtrabackup/Werror.patch | 11 - unmaintained/yum-metadata-parser/APKBUILD | 26 - unmaintained/yum/APKBUILD | 27 - unmaintained/zathura-djvu/APKBUILD | 40 - 1168 files changed, 89589 deletions(-) delete mode 100644 unmaintained/aalib/APKBUILD delete mode 100644 unmaintained/acf-jquery-mobile/APKBUILD delete mode 100644 unmaintained/acf-provisioning-grandstream-ata/APKBUILD delete mode 100644 unmaintained/acf-provisioning-grandstream-ata/init.cfg.sample delete mode 100644 unmaintained/acf-provisioning-polycom4.0.3f/000000000000-directory.xml delete mode 100644 unmaintained/acf-provisioning-polycom4.0.3f/000000000000-phone.cfg delete mode 100644 unmaintained/acf-provisioning-polycom4.0.3f/000000000000-web.cfg delete mode 100644 unmaintained/acf-provisioning-polycom4.0.3f/000000000000.cfg.patch delete mode 100644 unmaintained/acf-provisioning-polycom4.0.3f/APKBUILD delete mode 100644 unmaintained/acf-skins-jqmobile/APKBUILD delete mode 100644 unmaintained/agg/APKBUILD delete mode 100644 unmaintained/agg/agg-2.4-depends.patch delete mode 100644 unmaintained/agg/agg-2.5-pkgconfig.patch delete mode 100644 unmaintained/akonadi/APKBUILD delete mode 100644 unmaintained/akonadi/disable-backtrace-1.13.0.patch delete mode 100644 unmaintained/ansible-playbook-debugger/APKBUILD delete mode 100644 unmaintained/apache-mod-backtrace/APKBUILD delete mode 100644 unmaintained/apache-mod-backtrace/Makefile.in delete mode 100644 unmaintained/apache-mod-backtrace/configure.in delete mode 100644 unmaintained/apache2-mod-sflow/APKBUILD delete mode 100644 unmaintained/apts/APKBUILD delete mode 100644 unmaintained/arc-theme/APKBUILD delete mode 100644 unmaintained/arpalert/APKBUILD delete mode 100755 unmaintained/arpalert/arpalert.initd delete mode 100644 unmaintained/array-info/APKBUILD delete mode 100644 unmaintained/array-info/array-info-makefile.patch delete mode 100644 unmaintained/asterisk-audio-konf/APKBUILD delete mode 100644 unmaintained/asunder/APKBUILD delete mode 100644 unmaintained/atheme-services/APKBUILD delete mode 100644 unmaintained/atheme-services/cc.patch delete mode 100644 unmaintained/aurena/APKBUILD delete mode 100644 unmaintained/baloo-widgets/APKBUILD delete mode 100644 unmaintained/baloo/APKBUILD delete mode 100644 unmaintained/baloo/no-malloc-xapiandatabase-4.13.3.patch delete mode 100644 unmaintained/bcfg2/APK.py delete mode 100644 unmaintained/bcfg2/APKBUILD delete mode 100644 unmaintained/bcfg2/bcfg2-server.initd delete mode 100644 unmaintained/biblesync/APKBUILD delete mode 100644 unmaintained/blists/APKBUILD delete mode 100644 unmaintained/bsnes/APKBUILD delete mode 100644 unmaintained/bsnes/define-disassembler_read-relb.patch delete mode 100644 unmaintained/bsnes/no-pulseaudio.patch delete mode 100644 unmaintained/bugzilla/APKBUILD delete mode 100644 unmaintained/burp/APKBUILD delete mode 100644 unmaintained/burp/librsync-1.0.0.patch delete mode 100644 unmaintained/cantata/APKBUILD delete mode 100644 unmaintained/captagent/APKBUILD delete mode 100644 unmaintained/captagent/build.patch delete mode 100644 unmaintained/captagent/captagent.initd delete mode 100644 unmaintained/captagent/default-config.patch delete mode 100644 unmaintained/ccnet/APKBUILD delete mode 100644 unmaintained/cdpsnarf/APKBUILD delete mode 100644 unmaintained/cdrdao/APKBUILD delete mode 100644 unmaintained/cdrdao/cdrdao-1.2.3-stat.patch delete mode 100644 unmaintained/celt/APKBUILD delete mode 100644 unmaintained/chan-sccp/APKBUILD delete mode 100644 unmaintained/cherokee/APKBUILD delete mode 100644 unmaintained/cherokee/cherokee.confd delete mode 100755 unmaintained/cherokee/cherokee.initd delete mode 100644 unmaintained/chmlib/APKBUILD delete mode 100644 unmaintained/chmlib/headers.patch delete mode 100644 unmaintained/chmlib/stdtypes.patch delete mode 100644 unmaintained/chromaprint/APKBUILD delete mode 100644 unmaintained/cjs/APKBUILD delete mode 100644 unmaintained/claws-mail-theme_elementary/APKBUILD delete mode 100644 unmaintained/compiz/APKBUILD delete mode 100644 unmaintained/corosync/APKBUILD delete mode 100644 unmaintained/corosync/corosync.initd delete mode 100644 unmaintained/courier-authlib/APKBUILD delete mode 100644 unmaintained/cowpatty/APKBUILD delete mode 100644 unmaintained/cowpatty/makefile.patch delete mode 100644 unmaintained/crconf/APKBUILD delete mode 100644 unmaintained/crtmpserver/APKBUILD delete mode 100644 unmaintained/crtmpserver/crtmpserver.confd delete mode 100644 unmaintained/crtmpserver/crtmpserver.initd delete mode 100644 unmaintained/crtmpserver/crtmpserver.pre-install delete mode 100644 unmaintained/crunch/APKBUILD delete mode 100644 unmaintained/crunch/crunch-3.4-destdir.patch delete mode 100644 unmaintained/csync/APKBUILD delete mode 100644 unmaintained/csync/gcc-fixes.patch delete mode 100644 unmaintained/csync/iconv.patch delete mode 100644 unmaintained/csync2/APKBUILD delete mode 100644 unmaintained/csync2/csync2-openssl.cnf delete mode 100644 unmaintained/csync2/csync2.initd delete mode 100644 unmaintained/csync2/csync2.post-install delete mode 100644 unmaintained/csync2/csync2.post-upgrade delete mode 100644 unmaintained/csync2/have-strlcpy.patch delete mode 100644 unmaintained/csync2/longlong-format.patch delete mode 100644 unmaintained/csync2/nossl-config.patch delete mode 100644 unmaintained/cuetools/APKBUILD delete mode 100644 unmaintained/cuetools/cuetag-fix_spaces.patch delete mode 100644 unmaintained/cuetools/fix_build_with_automake-1.12.patch delete mode 100644 unmaintained/cv/APKBUILD delete mode 100644 unmaintained/cv/compress-tools.patch delete mode 100644 unmaintained/darwin-streaming-server/APKBUILD delete mode 100644 unmaintained/darwin-streaming-server/darwin-streaming-server.post-install delete mode 100644 unmaintained/darwin-streaming-server/dss-6.0.3.patch delete mode 100644 unmaintained/darwin-streaming-server/dss-hh-20080728-1.patch delete mode 100644 unmaintained/darwin-streaming-server/dss.initd delete mode 100644 unmaintained/datacoin-hp/APKBUILD delete mode 100644 unmaintained/davfs2/010-main_code_fix.patch delete mode 100644 unmaintained/davfs2/100-musl-compat.patch delete mode 100644 unmaintained/davfs2/APKBUILD delete mode 100644 unmaintained/dbmail/APKBUILD delete mode 100644 unmaintained/dbmail/dbmail-httpd.initd delete mode 100644 unmaintained/dbmail/dbmail-imapd.initd delete mode 100644 unmaintained/dbmail/dbmail-lmtpd.initd delete mode 100644 unmaintained/dbmail/dbmail-pop3d.initd delete mode 100644 unmaintained/dbmail/dbmail-timsieved.initd delete mode 100644 unmaintained/dbmail/dbmail.conf delete mode 100644 unmaintained/dbmail/dbmail.pre-install delete mode 100644 unmaintained/dbmail/post-rc3.patch delete mode 100644 unmaintained/dc3dd/APKBUILD delete mode 100644 unmaintained/dcfldd/APKBUILD delete mode 100644 unmaintained/dcfldd/dcfldd-error.patch delete mode 100644 unmaintained/dconf-editor/APKBUILD delete mode 100644 unmaintained/dfc/APKBUILD delete mode 100644 unmaintained/dhcpdump/APKBUILD delete mode 100644 unmaintained/dhex/APKBUILD delete mode 100644 unmaintained/dhex/makefile.patch delete mode 100644 unmaintained/diod/APKBUILD delete mode 100755 unmaintained/diod/diod.initd delete mode 100644 unmaintained/djvulibre/APKBUILD delete mode 100644 unmaintained/dmz-cursor-theme/APKBUILD delete mode 100644 unmaintained/dosbox/APKBUILD delete mode 100644 unmaintained/dosbox/dosbox-0.74-formatsecurity.patch delete mode 100644 unmaintained/dosbox/dosbox-0.74-gcc46.patch delete mode 100644 unmaintained/dosbox/dosbox-0.74-init-crash.patch delete mode 100644 unmaintained/dosbox/dosbox.desktop delete mode 100644 unmaintained/dosbox/dosbox.png delete mode 100644 unmaintained/dosbox/pic-fix.patch delete mode 100644 unmaintained/dotconf/APKBUILD delete mode 100644 unmaintained/double-conversion/APKBUILD delete mode 100644 unmaintained/double-conversion/dont_build_tests.patch delete mode 100644 unmaintained/dsf2flac/APKBUILD delete mode 100644 unmaintained/dsf2flac/no-static.patch delete mode 100644 unmaintained/dsniff/0001-arpspoof-add-r-switch-to-poison-both-directions.patch delete mode 100644 unmaintained/dsniff/0001-rewrite-and-modernize-POP-decoder.patch delete mode 100644 unmaintained/dsniff/0002-arpspoof-allow-use-of-of-multiple-targets.patch delete mode 100644 unmaintained/dsniff/0003-arpspoof-allow-selection-of-source-hw-address.patch delete mode 100644 unmaintained/dsniff/0004-arpspoof-mac-include.patch delete mode 100644 unmaintained/dsniff/01_time.h.patch delete mode 100644 unmaintained/dsniff/02_mailsnarf_corrupt.patch delete mode 100644 unmaintained/dsniff/03_pcap_read_dump.patch delete mode 100644 unmaintained/dsniff/04_multiple_intf.patch delete mode 100644 unmaintained/dsniff/05_amd64_fix.patch delete mode 100644 unmaintained/dsniff/06_urlsnarf_zeropad.patch delete mode 100644 unmaintained/dsniff/07_libnet_1.1.patch delete mode 100644 unmaintained/dsniff/08_checksum.patch delete mode 100644 unmaintained/dsniff/08_openssl-0.9.8.patch delete mode 100644 unmaintained/dsniff/09_sshcrypto.patch delete mode 100644 unmaintained/dsniff/09_sysconf_clocks.patch delete mode 100644 unmaintained/dsniff/10_urlsnarf_escape.patch delete mode 100644 unmaintained/dsniff/11_string_header.patch delete mode 100644 unmaintained/dsniff/12_arpa_inet_header.patch delete mode 100644 unmaintained/dsniff/13_pop_with_version.patch delete mode 100644 unmaintained/dsniff/14_obsolete_time.patch delete mode 100644 unmaintained/dsniff/15_checksum_libnids.patch delete mode 100644 unmaintained/dsniff/16_TDS_decoder.patch delete mode 100644 unmaintained/dsniff/20_debian_dirs.patch delete mode 100644 unmaintained/dsniff/21_msgsnarf_segfault.patch delete mode 100644 unmaintained/dsniff/22_handlepp.patch delete mode 100644 unmaintained/dsniff/23_urlsnarf_timestamp.patch delete mode 100644 unmaintained/dsniff/APKBUILD delete mode 100644 unmaintained/dsniff/dsniff-rpc.patch delete mode 100644 unmaintained/dsniff/dsniff-xcompile.patch delete mode 100644 unmaintained/dssi/APKBUILD delete mode 100644 unmaintained/duff/APKBUILD delete mode 100644 unmaintained/duhdraw/APKBUILD delete mode 100644 unmaintained/e_dbus/APKBUILD delete mode 100644 unmaintained/ebook-tools/APKBUILD delete mode 100644 unmaintained/ecore/APKBUILD delete mode 100644 unmaintained/edje/APKBUILD delete mode 100644 unmaintained/eet/APKBUILD delete mode 100644 unmaintained/eeze/APKBUILD delete mode 100644 unmaintained/efreet/APKBUILD delete mode 100644 unmaintained/eina/APKBUILD delete mode 100644 unmaintained/eio/APKBUILD delete mode 100644 unmaintained/ejdb/APKBUILD delete mode 100644 unmaintained/elementary-gtk-theme/APKBUILD delete mode 100644 unmaintained/elementary-icon-theme/APKBUILD delete mode 100644 unmaintained/elementary/APKBUILD delete mode 100644 unmaintained/embryo/APKBUILD delete mode 100644 unmaintained/emelfm2/01-avoid_fstab.patch delete mode 100644 unmaintained/emelfm2/02-define_ALLPERMS.patch delete mode 100644 unmaintained/emelfm2/APKBUILD delete mode 100644 unmaintained/emotion/APKBUILD delete mode 100644 unmaintained/empty/APKBUILD delete mode 100644 unmaintained/enumiax/APKBUILD delete mode 100644 unmaintained/equinox-themes/APKBUILD delete mode 100644 unmaintained/erlang17/APKBUILD delete mode 100644 unmaintained/erlang17/otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch delete mode 100644 unmaintained/erlang17/otp-0002-Remove-rpath.patch delete mode 100644 unmaintained/erlang17/otp-0003-Do-not-install-C-sources.patch delete mode 100644 unmaintained/erlang17/otp-0004-Do-not-install-Java-sources.patch delete mode 100644 unmaintained/erlang17/otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch delete mode 100644 unmaintained/erlang17/otp-0006-Do-not-install-erlang-sources.patch delete mode 100644 unmaintained/erlang17/otp-0007-Split-off-webtool-dependency-from-tools.patch delete mode 100644 unmaintained/erlang17/otp-0008-Introduce-os-getenv-2.patch delete mode 100644 unmaintained/erlang17/otp-0009-Patch-removes-support-for-SSLv3-protocol-because-it-.patch delete mode 100644 unmaintained/erlang17/otp-0010-fix-nteventlog-remove.patch delete mode 100644 unmaintained/erlang17/remove-private-unit32.patch delete mode 100644 unmaintained/erlang17/replace_glibc_check.patch delete mode 100644 unmaintained/etherdump/APKBUILD delete mode 100644 unmaintained/ethumb/APKBUILD delete mode 100644 unmaintained/etracer/APKBUILD delete mode 100644 unmaintained/etracer/etracer-finite.patch delete mode 100644 unmaintained/etracer/etracer-png.patch delete mode 100644 unmaintained/ettercap/APKBUILD delete mode 100644 unmaintained/evas/APKBUILD delete mode 100644 unmaintained/evas/fribidi-cflags.patch delete mode 100644 unmaintained/evas_generic_loaders/APKBUILD delete mode 100644 unmaintained/evilwm/APKBUILD delete mode 100644 unmaintained/exaile/APKBUILD delete mode 100644 unmaintained/exfat-utils/APKBUILD delete mode 100644 unmaintained/fakechroot/APKBUILD delete mode 100644 unmaintained/fancontroled/APKBUILD delete mode 100644 unmaintained/fancontroled/fancontroled.confd delete mode 100644 unmaintained/fancontroled/fancontroled.initd delete mode 100644 unmaintained/fancontroled/link.patch delete mode 100644 unmaintained/fetch-crl/APKBUILD delete mode 100644 unmaintained/fetch-crl/fetch-crl-2.7.0-bb-wget.patch delete mode 100644 unmaintained/fish-irssi/APKBUILD delete mode 100644 unmaintained/flashcache-grsec/APKBUILD delete mode 100644 unmaintained/flashcache-grsec/depmod.patch delete mode 100644 unmaintained/flashcache-grsec/kernel-3.18.patch delete mode 100644 unmaintained/flashcache-grsec/kernel-4.2.patch delete mode 100644 unmaintained/fluidsynth/APKBUILD delete mode 100644 unmaintained/flunym0us/APKBUILD delete mode 100644 unmaintained/flyspray/APKBUILD delete mode 100644 unmaintained/flyspray/flyspray.post-install delete mode 100644 unmaintained/fonts-base/APKBUILD delete mode 100644 unmaintained/fonts-extra/APKBUILD delete mode 100644 unmaintained/foo2zjs/APKBUILD delete mode 100644 unmaintained/foomatic-db-engine/APKBUILD delete mode 100644 unmaintained/foremost/APKBUILD delete mode 100644 unmaintained/foremost/foremost-makefile.patch delete mode 100644 unmaintained/forked-daapd/APKBUILD delete mode 100644 unmaintained/fotoxx/APKBUILD delete mode 100644 unmaintained/fotoxx/no-xdg-desktop-menu.patch delete mode 100644 unmaintained/freealut/APKBUILD delete mode 100644 unmaintained/freeciv/APKBUILD delete mode 100644 unmaintained/fswebcam/APKBUILD delete mode 100644 unmaintained/geh/APKBUILD delete mode 100644 unmaintained/genext2fs/APKBUILD delete mode 100644 unmaintained/giggle/APKBUILD delete mode 100644 unmaintained/gitstats/APKBUILD delete mode 100644 unmaintained/gitstats/gitstats-output.patch delete mode 100644 unmaintained/gjs/APKBUILD delete mode 100644 unmaintained/gnash/APKBUILD delete mode 100644 unmaintained/gnash/aslr-fix.patch delete mode 100644 unmaintained/gnash/gnash-0.8.10-giflib5.patch delete mode 100644 unmaintained/gnash/gnash-ffmpeg.patch delete mode 100644 unmaintained/gnump3d/APKBUILD delete mode 100644 unmaintained/gnump3d/gnump3d.confd delete mode 100644 unmaintained/gnump3d/gnump3d.initd delete mode 100644 unmaintained/gpm/01-Iheaders.patch delete mode 100644 unmaintained/gpm/02-sys-select.patch delete mode 100644 unmaintained/gpm/03-gpmroot.patch delete mode 100644 unmaintained/gpm/APKBUILD delete mode 100644 unmaintained/gpm/error-format.patch delete mode 100644 unmaintained/gpm/gpm.confd delete mode 100644 unmaintained/gpm/gpm.initd delete mode 100644 unmaintained/grantlee/APKBUILD delete mode 100644 unmaintained/grc/APKBUILD delete mode 100644 unmaintained/greybird-themes/APKBUILD delete mode 100644 unmaintained/greybird-themes/gtk-3.14-fix.patch delete mode 100644 unmaintained/gssdp/APKBUILD delete mode 100644 unmaintained/gssdp/gssdp-fixdso.patch delete mode 100644 unmaintained/gst-plugin-libde265_0.10/APKBUILD delete mode 100644 unmaintained/gthumb/APKBUILD delete mode 100644 unmaintained/gtk-equinox-engine/APKBUILD delete mode 100644 unmaintained/gtk-qt-engine/APKBUILD delete mode 100644 unmaintained/gtk-qt-engine/stdlib.patch delete mode 100644 unmaintained/gtkhtml/APKBUILD delete mode 100644 unmaintained/gtkimageview/APKBUILD delete mode 100644 unmaintained/gumbo-parser/APKBUILD delete mode 100644 unmaintained/gupnp/APKBUILD delete mode 100644 unmaintained/halfscan6/APKBUILD delete mode 100644 unmaintained/hardinfo/APKBUILD delete mode 100644 unmaintained/hardinfo/fixsensors.patch delete mode 100644 unmaintained/hardinfo/hardinfo-alpine.patch delete mode 100644 unmaintained/hardinfo/uclibc.patch delete mode 100644 unmaintained/hardlink/APKBUILD delete mode 100644 unmaintained/hessling-editor/APKBUILD delete mode 100644 unmaintained/hexcurse/APKBUILD delete mode 100644 unmaintained/hexcurse/hexcurse-alloca.patch delete mode 100644 unmaintained/html2ps/APKBUILD delete mode 100644 unmaintained/html2ps/html2ps-conf.patch delete mode 100644 unmaintained/httest/APKBUILD delete mode 100644 unmaintained/httperf/APKBUILD delete mode 100644 unmaintained/httpup/10-getcwd.patch delete mode 100644 unmaintained/httpup/APKBUILD delete mode 100644 unmaintained/ibniz/APKBUILD delete mode 100644 unmaintained/ibus/APKBUILD delete mode 100644 unmaintained/icewm/APKBUILD delete mode 100644 unmaintained/icewm/backtrace_on_glibc.patch delete mode 100644 unmaintained/icli/APKBUILD delete mode 100644 unmaintained/id3lib/00-add-libz-to-compilation.patch delete mode 100644 unmaintained/id3lib/05-create-m4-directory.patch delete mode 100644 unmaintained/id3lib/10-fix-compilation-with-cpp-headers.patch delete mode 100644 unmaintained/id3lib/15-fix-headers-of-main-functions.patch delete mode 100644 unmaintained/id3lib/20-create-manpages.patch delete mode 100644 unmaintained/id3lib/30-fix-utf16.patch delete mode 100644 unmaintained/id3lib/40-deal-with-mkstemp.patch delete mode 100644 unmaintained/id3lib/50-remove-outdated-check.patch delete mode 100644 unmaintained/id3lib/60-add-c-wrapper-functions.patch delete mode 100644 unmaintained/id3lib/60-fix_make_check.patch delete mode 100644 unmaintained/id3lib/60-id3lib-missing-nullpointer-check.patch delete mode 100644 unmaintained/id3lib/60-spelling.patch delete mode 100644 unmaintained/id3lib/61-fix_vbr_stack_smash.patch delete mode 100644 unmaintained/id3lib/APKBUILD delete mode 100644 unmaintained/ideviceinstaller/APKBUILD delete mode 100644 unmaintained/ifplugd/APKBUILD delete mode 100644 unmaintained/ifplugd/ifplugd.initd delete mode 100644 unmaintained/ifplugd/musl-type.patch delete mode 100644 unmaintained/ifuse/APKBUILD delete mode 100644 unmaintained/ii/APKBUILD delete mode 100644 unmaintained/iksemel/APKBUILD delete mode 100644 unmaintained/imagination/APKBUILD delete mode 100644 unmaintained/imapproxy/APKBUILD delete mode 100644 unmaintained/inotail/APKBUILD delete mode 100644 unmaintained/ipgrab/APKBUILD delete mode 100644 unmaintained/ipmiutil/APKBUILD delete mode 100644 unmaintained/ipmiutil/fixups.patch delete mode 100644 unmaintained/ipt-netflow/APKBUILD delete mode 100644 unmaintained/ipt-netflow/git.patch delete mode 100644 unmaintained/ipt-netflow/kernel-vs-userspace.patch delete mode 100644 unmaintained/ivtv-utils/APKBUILD delete mode 100644 unmaintained/jetring/APKBUILD delete mode 100644 unmaintained/jhead/APKBUILD delete mode 100644 unmaintained/jhead/makefile-destdir.patch delete mode 100644 unmaintained/js/APKBUILD delete mode 100644 unmaintained/js/isfinite.patch delete mode 100644 unmaintained/js/js185-destdir.patch delete mode 100644 unmaintained/judy/APKBUILD delete mode 100644 unmaintained/kactivities/APKBUILD delete mode 100644 unmaintained/kde-base-artwork/APKBUILD delete mode 100644 unmaintained/kde-baseapps/APKBUILD delete mode 100644 unmaintained/kde-core/APKBUILD delete mode 100644 unmaintained/kde-runtime/APKBUILD delete mode 100644 unmaintained/kde-workspace/APKBUILD delete mode 100644 unmaintained/kde-workspace/fix-headers-4.11.11.patch delete mode 100644 unmaintained/kde-workspace/kde-np.pam delete mode 100644 unmaintained/kde-workspace/kde-workspace.pre-install delete mode 100644 unmaintained/kde-workspace/kde.pam delete mode 100755 unmaintained/kde-workspace/kdm.initd delete mode 100644 unmaintained/kde-workspace/kscreensaver.pam delete mode 100644 unmaintained/kde-workspace/uint-fadeeffect-4.11.11.patch delete mode 100644 unmaintained/kdegraphics-mobipocket/APKBUILD delete mode 100644 unmaintained/kfilemetadata/APKBUILD delete mode 100644 unmaintained/kismet/APKBUILD delete mode 100644 unmaintained/klavaro/APKBUILD delete mode 100644 unmaintained/klavaro/configure.patch delete mode 100644 unmaintained/klavaro/klavaro.post-install delete mode 100644 unmaintained/kmix/APKBUILD delete mode 100644 unmaintained/kodi-platform/APKBUILD delete mode 100644 unmaintained/kodi-platform/check-for-glibc.patch delete mode 100644 unmaintained/kodi-pvr-addons/APKBUILD delete mode 100644 unmaintained/kyotocabinet/APKBUILD delete mode 100644 unmaintained/kyotocabinet/kyotocabinet-1.2.76-8-byte-atomics.patch delete mode 100644 unmaintained/kyototycoon/APKBUILD delete mode 100644 unmaintained/kyototycoon/musl-header-fix.patch delete mode 100644 unmaintained/ladspa/0001-proper-build.patch delete mode 100644 unmaintained/ladspa/0002-plugin-constructor-destructor.patch delete mode 100644 unmaintained/ladspa/0003-plugindir.patch delete mode 100644 unmaintained/ladspa/APKBUILD delete mode 100644 unmaintained/lam/APKBUILD delete mode 100644 unmaintained/lam/lam-change-config-file-location.patch delete mode 100755 unmaintained/lam/lam.post-install delete mode 100755 unmaintained/lam/lam.post-upgrade delete mode 100644 unmaintained/lbdb/APKBUILD delete mode 100644 unmaintained/libamz/APKBUILD delete mode 100644 unmaintained/libavl/APKBUILD delete mode 100644 unmaintained/libavl/libavl_0.3.5-3.patch delete mode 100644 unmaintained/libc6/APKBUILD delete mode 100644 unmaintained/libc6/nscd.initd delete mode 100644 unmaintained/libcgroup/APKBUILD delete mode 100644 unmaintained/libcgroup/cgconfig.confd delete mode 100644 unmaintained/libcgroup/cgconfig.initd delete mode 100644 unmaintained/libcgroup/cgred.confd delete mode 100644 unmaintained/libcgroup/cgred.initd delete mode 100644 unmaintained/libcgroup/musl-decls-compat.patch delete mode 100644 unmaintained/libdbusmenu-qt/APKBUILD delete mode 100644 unmaintained/libde265/APKBUILD delete mode 100644 unmaintained/libdlna/APKBUILD delete mode 100644 unmaintained/libdlna/avmedia_type.patch delete mode 100644 unmaintained/libecap/APKBUILD delete mode 100644 unmaintained/libgflags/APKBUILD delete mode 100644 unmaintained/libiodbc/10-sqltypes-libiodbc-3.52.7.patch delete mode 100644 unmaintained/libiodbc/APKBUILD delete mode 100644 unmaintained/liblo/APKBUILD delete mode 100644 unmaintained/liblrdf/APKBUILD delete mode 100644 unmaintained/libmbfl/APKBUILD delete mode 100644 unmaintained/libmbfl/filters_makefile.patch delete mode 100644 unmaintained/libnatspec/APKBUILD delete mode 100644 unmaintained/libpwquality/APKBUILD delete mode 100644 unmaintained/libqb/APKBUILD delete mode 100644 unmaintained/libqb/fix-headers.patch delete mode 100644 unmaintained/libsearpc/APKBUILD delete mode 100644 unmaintained/libsieve/APKBUILD delete mode 100644 unmaintained/libsrs2/APKBUILD delete mode 100644 unmaintained/libstrophe/APKBUILD delete mode 100644 unmaintained/libsyncml/APKBUILD delete mode 100644 unmaintained/libtar/APKBUILD delete mode 100644 unmaintained/libtar/libtar-1.2.11-bz729009.patch delete mode 100644 unmaintained/libtar/libtar-1.2.11-mem-deref.patch delete mode 100644 unmaintained/libtar/libtar-1.2.11-missing-protos.patch delete mode 100644 unmaintained/libtar/libtar-1.2.20-fix-resource-leaks.patch delete mode 100644 unmaintained/libtar/libtar-1.2.20-no-static-buffer.patch delete mode 100644 unmaintained/libubox/APKBUILD delete mode 100644 unmaintained/libubox/includes.patch delete mode 100644 unmaintained/libubox/json-pkgconf-detect.patch delete mode 100644 unmaintained/libuniso/APKBUILD delete mode 100644 unmaintained/libuniso/musl-missing-typesh.patch delete mode 100644 unmaintained/libwbxml/APKBUILD delete mode 100644 unmaintained/libx86/APKBUILD delete mode 100644 unmaintained/libx86/libx86-add-pkgconfig.patch delete mode 100644 unmaintained/libx86/libx86-mmap-offset.patch delete mode 100644 unmaintained/lightdm-gtk-greeter/APKBUILD delete mode 100644 unmaintained/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch delete mode 100644 unmaintained/linux_logo/APKBUILD delete mode 100644 unmaintained/linux_logo/alpinelinux.logo delete mode 100644 unmaintained/linux_logo/linux_logo.conf delete mode 100644 unmaintained/linux_logo/linux_logo.initd delete mode 100644 unmaintained/lnav/APKBUILD delete mode 100644 unmaintained/lok/APKBUILD delete mode 100644 unmaintained/lrzsz/APKBUILD delete mode 100644 unmaintained/lua-base64url/APKBUILD delete mode 100644 unmaintained/lua-cloud_storage/APKBUILD delete mode 100644 unmaintained/lua-date/APKBUILD delete mode 100644 unmaintained/lua-ejdb/APKBUILD delete mode 100644 unmaintained/lua-ejdb/unbundle-inspect.patch delete mode 100644 unmaintained/lua-event/APKBUILD delete mode 100644 unmaintained/lua-json/APKBUILD delete mode 100644 unmaintained/lua-lbase64/APKBUILD delete mode 100644 unmaintained/lua-ljsyscall/APKBUILD delete mode 100644 unmaintained/lua-llthreads/APKBUILD delete mode 100644 unmaintained/lua-llthreads/bindings-1.patch delete mode 100644 unmaintained/lua-llthreads/bindings-2.patch delete mode 100644 unmaintained/lua-llthreads/lua-5.2.patch delete mode 100644 unmaintained/lua-mimetypes/APKBUILD delete mode 100644 unmaintained/lua-moonscript/APKBUILD delete mode 100644 unmaintained/lua-moonscript/alt_getopt-compat.patch delete mode 100644 unmaintained/lua-sec-prosody/APKBUILD delete mode 100644 unmaintained/lua-sec-prosody/Makefile.patch delete mode 100644 unmaintained/lua-tar/APKBUILD delete mode 100644 unmaintained/lua-tar/enable-pic.patch delete mode 100644 unmaintained/lua-telescope/APKBUILD delete mode 100644 unmaintained/lua-tnetstrings/APKBUILD delete mode 100644 unmaintained/lua-xmlrpc/APKBUILD delete mode 100644 unmaintained/lua-zip/APKBUILD delete mode 100644 unmaintained/lua-zlib/APKBUILD delete mode 100644 unmaintained/lua-zmq/APKBUILD delete mode 100644 unmaintained/lua-zmq/git-20130709.patch delete mode 100644 unmaintained/lua5.2-json4/APKBUILD delete mode 100644 unmaintained/lua5.2-sec-prosody/APKBUILD delete mode 100644 unmaintained/lua5.2-sec-prosody/Makefile.patch delete mode 100644 unmaintained/lua5.2-xctrl/APKBUILD delete mode 100644 unmaintained/lusca/APKBUILD delete mode 100644 unmaintained/lusca/alpine.patch delete mode 100644 unmaintained/lusca/lusca.confd delete mode 100644 unmaintained/lusca/lusca.initd delete mode 100644 unmaintained/lusca/lusca.logrotate delete mode 100644 unmaintained/lusca/lusca.pre-install delete mode 120000 unmaintained/lusca/lusca.pre-upgrade delete mode 100644 unmaintained/lwm/APKBUILD delete mode 100644 unmaintained/lwm/no_xmkmf_makefile.patch delete mode 100644 unmaintained/lxde-common/APKBUILD delete mode 100644 unmaintained/lxde-common/startlxde.patch delete mode 100644 unmaintained/lxde-icon-theme/APKBUILD delete mode 100644 unmaintained/lxmenu-data/APKBUILD delete mode 100644 unmaintained/mac-robber/APKBUILD delete mode 100644 unmaintained/mac-robber/include-paramh.patch delete mode 100644 unmaintained/madwimax/APKBUILD delete mode 100644 unmaintained/maildrop/APKBUILD delete mode 100644 unmaintained/maildrop/maildrop-2.3.0-dovecotauth.patch delete mode 100644 unmaintained/mapnik/APKBUILD delete mode 100644 unmaintained/mapnik/boost-1.57-geojson.patch delete mode 100644 unmaintained/masscan/APKBUILD delete mode 100644 unmaintained/mathomatic/APKBUILD delete mode 100644 unmaintained/mathomatic/busybox.patch delete mode 100644 unmaintained/mbuffer/APKBUILD delete mode 100644 unmaintained/mdev-like-a-boss/00-update-to-git-a5682fe.patch delete mode 100644 unmaintained/mdev-like-a-boss/0001-adjust-sample-conf-for-alpine-packaging.patch delete mode 100644 unmaintained/mdev-like-a-boss/APKBUILD delete mode 100644 unmaintained/mdev-like-a-boss/README.alpine delete mode 100644 unmaintained/mediaproxy/APKBUILD delete mode 100644 unmaintained/mediaproxy/config.ini delete mode 100644 unmaintained/mediaproxy/mediaproxy-dispatcher.initd delete mode 100644 unmaintained/mediaproxy/mediaproxy-relay.initd delete mode 100644 unmaintained/megactl/APKBUILD delete mode 100644 unmaintained/meiga/APKBUILD delete mode 100644 unmaintained/memtest86+/APKBUILD delete mode 100644 unmaintained/mhash/APKBUILD delete mode 100644 unmaintained/microxml/APKBUILD delete mode 100644 unmaintained/minitube/APKBUILD delete mode 100644 unmaintained/mkdocs/APKBUILD delete mode 100644 unmaintained/moinmoin/APKBUILD delete mode 100644 unmaintained/mongodb/APKBUILD delete mode 100644 unmaintained/mongodb/mongodb-2.2-r1-fix-scons.patch delete mode 100644 unmaintained/mongodb/mongodb-2.2.4-use-system-version.patch delete mode 100644 unmaintained/mongodb/mongodb-2.4.4-fix-sharedclient.patch delete mode 100644 unmaintained/mongodb/mongodb.confd delete mode 100644 unmaintained/mongodb/mongodb.initd delete mode 100644 unmaintained/mongodb/mongodb.logrotate delete mode 100644 unmaintained/mongodb/mongos.confd delete mode 100644 unmaintained/mongodb/mongos.initd delete mode 100644 unmaintained/mongodb/uclibc-libc-version.patch delete mode 100644 unmaintained/mongrel2/APKBUILD delete mode 100644 unmaintained/mp3info/APKBUILD delete mode 100644 unmaintained/mp3info/escape_chars.patch delete mode 100644 unmaintained/mp3info/types.patch delete mode 100644 unmaintained/mpop/APKBUILD delete mode 100644 unmaintained/ms-sys/APKBUILD delete mode 100644 unmaintained/ms-sys/nls.patch delete mode 100644 unmaintained/mutter/APKBUILD delete mode 100644 unmaintained/mutter/mutter-gtk2.patch delete mode 100644 unmaintained/mutter/mutter.post-install delete mode 100644 unmaintained/mutter/mutter.post-upgrade delete mode 100644 unmaintained/mutter/mutter.pre-deinstall delete mode 100644 unmaintained/mysql-connector-odbc/APKBUILD delete mode 100644 unmaintained/mysql/APKBUILD delete mode 100644 unmaintained/mysql/mysql-prefer-dynamic-library.patch delete mode 100644 unmaintained/mysql/mysql-va-list.patch delete mode 100644 unmaintained/mysql/mysql.initd delete mode 100644 unmaintained/mytop/APKBUILD delete mode 100644 unmaintained/nagiosql/APKBUILD delete mode 100644 unmaintained/nbtscan/APKBUILD delete mode 100644 unmaintained/nbtscan/nbtscan-1.5.1-makefile.patch delete mode 100644 unmaintained/ncrack/APKBUILD delete mode 100644 unmaintained/ncrack/missing-typesh.patch delete mode 100644 unmaintained/ndisc6/APKBUILD delete mode 100644 unmaintained/ndisc6/disable-rltraceroute6.patch delete mode 100644 unmaintained/neard/APKBUILD delete mode 100644 unmaintained/neard/neard.initd delete mode 100644 unmaintained/nebula/APKBUILD delete mode 100644 unmaintained/nebula/musl-fixes.patch delete mode 100644 unmaintained/nemo/APKBUILD delete mode 100644 unmaintained/nemo/nemo.post-deinstall delete mode 100644 unmaintained/nemo/nemo.post-install delete mode 100644 unmaintained/nemo/nemo.post-upgrade delete mode 100644 unmaintained/nemo/stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch delete mode 100644 unmaintained/netdiscover/APKBUILD delete mode 100644 unmaintained/netdot/APKBUILD delete mode 100644 unmaintained/nethack/APKBUILD delete mode 100755 unmaintained/nethack/nethack.bin delete mode 100644 unmaintained/netsniff-ng/APKBUILD delete mode 100644 unmaintained/netsniff-ng/netsniff-ng-unkown.patch delete mode 100644 unmaintained/netstat-nat/APKBUILD delete mode 100644 unmaintained/network-manager-applet/APKBUILD delete mode 100644 unmaintained/nfspy/APKBUILD delete mode 100644 unmaintained/nfswatch/APKBUILD delete mode 100644 unmaintained/nfswatch/bb-gzip.patch delete mode 100644 unmaintained/nilfs-utils/APKBUILD delete mode 100644 unmaintained/nilfs-utils/max-input.patch delete mode 100644 unmaintained/nilfs-utils/rpc-types.patch delete mode 100644 unmaintained/noip/APKBUILD delete mode 100644 unmaintained/noip/noip-2.1.9-daemon.patch delete mode 100644 unmaintained/noip/noip-2.1.9-flags.patch delete mode 100644 unmaintained/noip/noip.initd delete mode 100644 unmaintained/ntfsprogs/APKBUILD delete mode 100644 unmaintained/nwipe/APKBUILD delete mode 100644 unmaintained/obexftp/APKBUILD delete mode 100644 unmaintained/obexftp/obexftp-0.23-gentoo.patch delete mode 100644 unmaintained/obmenu/APKBUILD delete mode 100644 unmaintained/oksh/APKBUILD delete mode 100644 unmaintained/omorfi/APKBUILD delete mode 100644 unmaintained/onesixtyone/APKBUILD delete mode 100644 unmaintained/opal/APKBUILD delete mode 100644 unmaintained/openjpeg1/APKBUILD delete mode 100644 unmaintained/openlldp/APKBUILD delete mode 100644 unmaintained/openlldp/openlldp.confd delete mode 100755 unmaintained/openlldp/openlldp.initd delete mode 100644 unmaintained/openlldp/procfs.patch delete mode 100644 unmaintained/opennebula/APKBUILD delete mode 100644 unmaintained/opennebula/getopt.patch delete mode 100644 unmaintained/opennebula/one_auth delete mode 100644 unmaintained/opennebula/opennebula-node-kvm.pre-install delete mode 100644 unmaintained/opennebula/opennebula.confd delete mode 100644 unmaintained/opennebula/opennebula.initd delete mode 100644 unmaintained/opennebula/opennebula.pre-install delete mode 100644 unmaintained/opennebula/ssh.config delete mode 100644 unmaintained/opensips-cp/APKBUILD delete mode 100644 unmaintained/openslp/APKBUILD delete mode 100644 unmaintained/otf-cantarell/45-cantarell.conf delete mode 100644 unmaintained/otf-cantarell/90-non-tt-cantarell.conf delete mode 100644 unmaintained/otf-cantarell/APKBUILD delete mode 100644 unmaintained/otf-oswald/45-oswald.conf delete mode 100644 unmaintained/otf-oswald/90-non-tt-oswald.conf delete mode 100644 unmaintained/otf-oswald/APKBUILD delete mode 100644 unmaintained/otf-quintessential/45-quintessential.conf delete mode 100644 unmaintained/otf-quintessential/90-non-tt-quintessential.conf delete mode 100644 unmaintained/otf-quintessential/APKBUILD delete mode 100644 unmaintained/otf-tex-gyre/45-tex-gyre.conf delete mode 100644 unmaintained/otf-tex-gyre/90-non-tt-tex-gyre.conf delete mode 100644 unmaintained/otf-tex-gyre/APKBUILD delete mode 100644 unmaintained/otter-browser/APKBUILD delete mode 100644 unmaintained/oxygen-icons/APKBUILD delete mode 100644 unmaintained/pacemaker/APKBUILD delete mode 100644 unmaintained/pacemaker/fix-SIGCHLD.patch delete mode 100644 unmaintained/pacemaker/fix-headers.patch delete mode 100644 unmaintained/pacemaker/pacemaker.initd delete mode 100644 unmaintained/packagekit/APKBUILD delete mode 100644 unmaintained/parcellite/APKBUILD delete mode 100644 unmaintained/parcellite/fix-crash.patch delete mode 100644 unmaintained/passwdgen/APKBUILD delete mode 100644 unmaintained/pastebinc/APKBUILD delete mode 100644 unmaintained/pcapy/APKBUILD delete mode 100644 unmaintained/pdns-gui/0010-replace-bash-with-sh.patch delete mode 100644 unmaintained/pdns-gui/0020-update-for-mysql55.patch delete mode 100644 unmaintained/pdns-gui/0030-remove-zend.ze1_compatibility_mode-option.patch delete mode 100644 unmaintained/pdns-gui/0040-alpine-default-htaccess-fix.patch delete mode 100644 unmaintained/pdns-gui/APKBUILD delete mode 100644 unmaintained/pdns-gui/pdns-gui.apache2.conf delete mode 100644 unmaintained/pdns-gui/pdns-gui.post-install delete mode 100644 unmaintained/pdns-gui/pdns-gui.post-upgrade delete mode 100644 unmaintained/perl-alien-base/APKBUILD delete mode 100644 unmaintained/perl-alien-libgumbo/APKBUILD delete mode 100644 unmaintained/perl-apache-authcookie/APKBUILD delete mode 100644 unmaintained/perl-apache-session-browseable/APKBUILD delete mode 100644 unmaintained/perl-apache-session-ldap/APKBUILD delete mode 100644 unmaintained/perl-apache-test/APKBUILD delete mode 100644 unmaintained/perl-apache2-sitecontrol/APKBUILD delete mode 100644 unmaintained/perl-app-perlfind/APKBUILD delete mode 100644 unmaintained/perl-archive-extract/APKBUILD delete mode 100644 unmaintained/perl-authen-digestmd5/APKBUILD delete mode 100644 unmaintained/perl-class-accessor-grouped/APKBUILD delete mode 100644 unmaintained/perl-class-base/APKBUILD delete mode 100644 unmaintained/perl-class-dbi-abstractsearch/APKBUILD delete mode 100644 unmaintained/perl-class-gomor/APKBUILD delete mode 100644 unmaintained/perl-class-makemethods/APKBUILD delete mode 100644 unmaintained/perl-class-weaksingleton/APKBUILD delete mode 100644 unmaintained/perl-cwmp/APKBUILD delete mode 100644 unmaintained/perl-data-section/APKBUILD delete mode 100644 unmaintained/perl-data-types/APKBUILD delete mode 100644 unmaintained/perl-dbm-deep/APKBUILD delete mode 100644 unmaintained/perl-devel-checkos/APKBUILD delete mode 100644 unmaintained/perl-email-sender/APKBUILD delete mode 100644 unmaintained/perl-exporter-renaming/APKBUILD delete mode 100644 unmaintained/perl-extutils-parsexs/APKBUILD delete mode 100644 unmaintained/perl-ffi-checklib/APKBUILD delete mode 100644 unmaintained/perl-file-chdir/APKBUILD delete mode 100644 unmaintained/perl-file-desktopentry/APKBUILD delete mode 100644 unmaintained/perl-file-find-rule/APKBUILD delete mode 100644 unmaintained/perl-file-homedir/APKBUILD delete mode 100644 unmaintained/perl-file-mimeinfo/APKBUILD delete mode 100644 unmaintained/perl-file-type/APKBUILD delete mode 100644 unmaintained/perl-font-ttf/APKBUILD delete mode 100644 unmaintained/perl-geo-ip/APKBUILD delete mode 100644 unmaintained/perl-glib-ex-connectproperties/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-celllayout-base/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-clock/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-dashes/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-datasheet-dbi/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-datespinner/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-dialogs/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-dragger/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-errortextdialog/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-history/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-menuview/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-noshrink/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-numaxis/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-tickerview/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-treemodelfilter-dragdest/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-utils/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-widgetcursor/APKBUILD delete mode 100644 unmaintained/perl-gtk2-ex-xor/APKBUILD delete mode 100644 unmaintained/perl-html-form/APKBUILD delete mode 100644 unmaintained/perl-html-gumbo/APKBUILD delete mode 100644 unmaintained/perl-io-async-loop-glib/APKBUILD delete mode 100644 unmaintained/perl-io-async-ssl/APKBUILD delete mode 100644 unmaintained/perl-io-string/APKBUILD delete mode 100644 unmaintained/perl-ipc-dirqueue/APKBUILD delete mode 100644 unmaintained/perl-libnet/APKBUILD delete mode 100644 unmaintained/perl-lisp/APKBUILD delete mode 100644 unmaintained/perl-local-lib/APKBUILD delete mode 100644 unmaintained/perl-math-calc-units/APKBUILD delete mode 100644 unmaintained/perl-modern-perl/APKBUILD delete mode 100644 unmaintained/perl-monitoring-plugin/APKBUILD delete mode 100644 unmaintained/perl-net-ident/APKBUILD delete mode 100644 unmaintained/perl-net-whois-ip/APKBUILD delete mode 100644 unmaintained/perl-number-compare/APKBUILD delete mode 100644 unmaintained/perl-parser-mgc/APKBUILD delete mode 100644 unmaintained/perl-patchreader/APKBUILD delete mode 100644 unmaintained/perl-pdf-api2/APKBUILD delete mode 100644 unmaintained/perl-perl6-classes/APKBUILD delete mode 100644 unmaintained/perl-perl6-slurp/APKBUILD delete mode 100644 unmaintained/perl-perlio-via-escstatus/APKBUILD delete mode 100644 unmaintained/perl-proc-syncexec/APKBUILD delete mode 100644 unmaintained/perl-search-xapian/APKBUILD delete mode 100644 unmaintained/perl-set-intspan-fast/APKBUILD delete mode 100644 unmaintained/perl-shell-config-generate/APKBUILD delete mode 100644 unmaintained/perl-shell-guess/APKBUILD delete mode 100644 unmaintained/perl-snmp-info/APKBUILD delete mode 100644 unmaintained/perl-software-license/APKBUILD delete mode 100644 unmaintained/perl-sort-versions/APKBUILD delete mode 100644 unmaintained/perl-sql-abstract-limit/APKBUILD delete mode 100644 unmaintained/perl-sql-abstract/APKBUILD delete mode 100644 unmaintained/perl-term-shelly/APKBUILD delete mode 100644 unmaintained/perl-test-command/APKBUILD delete mode 100644 unmaintained/perl-test-compile/APKBUILD delete mode 100644 unmaintained/perl-text-glob/APKBUILD delete mode 100644 unmaintained/perl-text-parsewords/APKBUILD delete mode 100644 unmaintained/perl-tie-cache/APKBUILD delete mode 100644 unmaintained/perl-tie-refhash-weak/APKBUILD delete mode 100644 unmaintained/perl-tie-tz/APKBUILD delete mode 100644 unmaintained/perl-time-unix/APKBUILD delete mode 100644 unmaintained/perl-uri-escape/APKBUILD delete mode 100644 unmaintained/perl-uri-find-simple/APKBUILD delete mode 100644 unmaintained/perl-uri-find/APKBUILD delete mode 100644 unmaintained/perl-xml-generator/APKBUILD delete mode 100644 unmaintained/pgagent/APKBUILD delete mode 100644 unmaintained/pgagent/pgagent.confd delete mode 100644 unmaintained/pgagent/pgagent.initd delete mode 100644 unmaintained/phonon-backend-gstreamer/APKBUILD delete mode 100644 unmaintained/php-blenc/APKBUILD delete mode 100644 unmaintained/php-gmagick/APKBUILD delete mode 100644 unmaintained/php-pear-auth_sasl/APKBUILD delete mode 100644 unmaintained/php-pear-auth_sasl2/APKBUILD delete mode 100644 unmaintained/php-rrd/APKBUILD delete mode 100644 unmaintained/php-suhosin/0001-php_flock-undefined-variable-fix.patch delete mode 100644 unmaintained/php-suhosin/APKBUILD delete mode 100644 unmaintained/php-zmq/APKBUILD delete mode 100644 unmaintained/phppgadmin/APKBUILD delete mode 100644 unmaintained/phppgadmin/phppgadmin.apache2.conf delete mode 100644 unmaintained/phppgadmin/phppgadmin.post-install delete mode 100644 unmaintained/phpredis/APKBUILD delete mode 100644 unmaintained/physfs/APKBUILD delete mode 100644 unmaintained/physfs/silence-gcc.patch delete mode 100644 unmaintained/pidgin-audacious/APKBUILD delete mode 100644 unmaintained/pnp4nagios/APKBUILD delete mode 100644 unmaintained/pnp4nagios/npcd delete mode 100644 unmaintained/pnp4nagios/npcd.cfg delete mode 100644 unmaintained/polkit-kde-agent/APKBUILD delete mode 100644 unmaintained/polkit-kde-agent/polkit-kde-agent-1-0.99.0-remember_password-1.patch delete mode 100644 unmaintained/polkit-qt/APKBUILD delete mode 100644 unmaintained/polygraph/10-fix-ftbfs-gcc-4.7.patch delete mode 100644 unmaintained/polygraph/APKBUILD delete mode 100644 unmaintained/postfixadmin/APKBUILD delete mode 100644 unmaintained/postgresql-old8.4/APKBUILD delete mode 100644 unmaintained/postgresql-old9.0/APKBUILD delete mode 100644 unmaintained/postgresql-old9.1/1q delete mode 100644 unmaintained/postgresql-old9.1/APKBUILD delete mode 100644 unmaintained/postgresql-old9.2/APKBUILD delete mode 100644 unmaintained/postgresql-old9.3/APKBUILD delete mode 100644 unmaintained/postler/APKBUILD delete mode 100644 unmaintained/postler/inet_ntoa.patch delete mode 100644 unmaintained/poweradmin/0010-fix-installer-config.patch delete mode 100644 unmaintained/poweradmin/0020-fix-for-mysql55.patch delete mode 100644 unmaintained/poweradmin/APKBUILD delete mode 100644 unmaintained/poweradmin/poweradmin.apache2.conf delete mode 100644 unmaintained/poweradmin/poweradmin.post-install delete mode 100644 unmaintained/premium-cursor-theme/APKBUILD delete mode 100644 unmaintained/profanity/APKBUILD delete mode 100644 unmaintained/prt-get/APKBUILD delete mode 100644 unmaintained/prwd/APKBUILD delete mode 100644 unmaintained/ptlib/APKBUILD delete mode 100644 unmaintained/ptlib/musl-fixes.patch delete mode 100644 unmaintained/ptlib/ptlib-2.10.10-bison_fixes-1.patch delete mode 100644 unmaintained/ptlib/ptlib-fixcamcrash.patch delete mode 100644 unmaintained/pulledpork/APKBUILD delete mode 100644 unmaintained/py-acl/APKBUILD delete mode 100644 unmaintained/py-authen-ntlm2/APKBUILD delete mode 100644 unmaintained/py-beautifulsoup/APKBUILD delete mode 100644 unmaintained/py-des/APKBUILD delete mode 100644 unmaintained/py-flask-htmlbuilder/APKBUILD delete mode 100644 unmaintained/py-jabberbot/APKBUILD delete mode 100644 unmaintained/py-linkedin/APKBUILD delete mode 100644 unmaintained/py-mkdocs-bootstrap/APKBUILD delete mode 100644 unmaintained/py-mkdocs-bootswatch/APKBUILD delete mode 100644 unmaintained/py-mysql2pgsql/APKBUILD delete mode 100644 unmaintained/py-ostinato/APKBUILD delete mode 100644 unmaintained/py-pyacoustid/APKBUILD delete mode 100644 unmaintained/py-reconfigure/APKBUILD delete mode 100644 unmaintained/py-subvertpy/APKBUILD delete mode 100644 unmaintained/py-svn/APKBUILD delete mode 100644 unmaintained/py-tftpy/APKBUILD delete mode 100644 unmaintained/py-twisted-conch/APKBUILD delete mode 100644 unmaintained/py-xattr/APKBUILD delete mode 100644 unmaintained/py-xen/APKBUILD delete mode 100644 unmaintained/py-xmpppy/APKBUILD delete mode 100644 unmaintained/pycairo/APKBUILD delete mode 100644 unmaintained/pychecker/APKBUILD delete mode 100644 unmaintained/pysysbot/APKBUILD delete mode 100644 unmaintained/pyx/APKBUILD delete mode 100644 unmaintained/qimageblitz/APKBUILD delete mode 100644 unmaintained/ranger/APKBUILD delete mode 100644 unmaintained/raptor/APKBUILD delete mode 100644 unmaintained/raptor/raptor-curl.patch delete mode 100644 unmaintained/rats/APKBUILD delete mode 100644 unmaintained/rc/APKBUILD delete mode 100644 unmaintained/rc/rc.post-install delete mode 100644 unmaintained/rc/rc.pre-deinstall delete mode 100644 unmaintained/redmine/APKBUILD delete mode 100644 unmaintained/redmine/database.yml.patch delete mode 100644 unmaintained/redmine/gemfile.patch delete mode 100644 unmaintained/redmine/redmine.post-install delete mode 100644 unmaintained/redmine/redmine.pre-install delete mode 100644 unmaintained/regina-rexx/APKBUILD delete mode 100644 unmaintained/regina-rexx/llong.patch delete mode 100644 unmaintained/regina-rexx/regina-rexx.initd delete mode 100644 unmaintained/resource-agents/APKBUILD delete mode 100644 unmaintained/resource-agents/fix-bashism.patch delete mode 100644 unmaintained/rinse/APKBUILD delete mode 100644 unmaintained/rinse/rinse-device-nodes.patch delete mode 100644 unmaintained/rinse/rinse-posix-cpio-use.patch delete mode 100644 unmaintained/rinse/rinse-set-rpm-platform.patch delete mode 100644 unmaintained/rlwrap/APKBUILD delete mode 100644 unmaintained/rosegarden/APKBUILD delete mode 100644 unmaintained/rosegarden/nearbyintf.patch delete mode 100644 unmaintained/roundup/APKBUILD delete mode 100644 unmaintained/roundup/roundup-avoid-bash-syntax-in-tests.patch delete mode 100644 unmaintained/roundup/roundup-fix-busybox-shell-opts.patch delete mode 100644 unmaintained/rpmlint/APKBUILD delete mode 100644 unmaintained/ruby-abn/APKBUILD delete mode 100644 unmaintained/ruby-actionmailer4.2/APKBUILD delete mode 100644 unmaintained/ruby-actionpack-action_caching4.2/APKBUILD delete mode 100644 unmaintained/ruby-actionpack-xml_parser4.2/APKBUILD delete mode 100644 unmaintained/ruby-actionpack4.2/APKBUILD delete mode 100644 unmaintained/ruby-actionview4.2/APKBUILD delete mode 100644 unmaintained/ruby-activejob4.2/APKBUILD delete mode 100644 unmaintained/ruby-activemodel4.2/APKBUILD delete mode 100644 unmaintained/ruby-activerecord4.2/APKBUILD delete mode 100644 unmaintained/ruby-activesupport4.2/APKBUILD delete mode 100644 unmaintained/ruby-addressable/APKBUILD delete mode 100644 unmaintained/ruby-amazon-ec2/APKBUILD delete mode 100644 unmaintained/ruby-arel/APKBUILD delete mode 100644 unmaintained/ruby-bcrypt/APKBUILD delete mode 100644 unmaintained/ruby-builder/APKBUILD delete mode 100644 unmaintained/ruby-charlock_holmes/APKBUILD delete mode 100644 unmaintained/ruby-coderay/APKBUILD delete mode 100644 unmaintained/ruby-crack/APKBUILD delete mode 100644 unmaintained/ruby-css_parser/APKBUILD delete mode 100644 unmaintained/ruby-curb/APKBUILD delete mode 100644 unmaintained/ruby-daemon-controller/APKBUILD delete mode 100644 unmaintained/ruby-daemons/APKBUILD delete mode 100644 unmaintained/ruby-diff-lcs/APKBUILD delete mode 100644 unmaintained/ruby-domain_name/APKBUILD delete mode 100644 unmaintained/ruby-erubis/APKBUILD delete mode 100644 unmaintained/ruby-eventmachine/APKBUILD delete mode 100644 unmaintained/ruby-fastercsv/APKBUILD delete mode 100644 unmaintained/ruby-fastthread/APKBUILD delete mode 100644 unmaintained/ruby-fcgi/APKBUILD delete mode 100644 unmaintained/ruby-file-tail/APKBUILD delete mode 100644 unmaintained/ruby-github-markdown/APKBUILD delete mode 100644 unmaintained/ruby-github-markup/APKBUILD delete mode 100644 unmaintained/ruby-gitlab-grit/APKBUILD delete mode 100644 unmaintained/ruby-globalid/APKBUILD delete mode 100644 unmaintained/ruby-gollum-lib-github-markup/APKBUILD delete mode 100644 unmaintained/ruby-gollum_rails-charlock_holmes/APKBUILD delete mode 100644 unmaintained/ruby-gollum_rails-github-markup/APKBUILD delete mode 100644 unmaintained/ruby-gollum_rails-gitlab-grit/APKBUILD delete mode 100644 unmaintained/ruby-hike/APKBUILD delete mode 100644 unmaintained/ruby-hoe/APKBUILD delete mode 100644 unmaintained/ruby-htmlentities/APKBUILD delete mode 100644 unmaintained/ruby-http-cookie/APKBUILD delete mode 100644 unmaintained/ruby-i18n/APKBUILD delete mode 100644 unmaintained/ruby-isbn/APKBUILD delete mode 100644 unmaintained/ruby-jquery-rails4.2/APKBUILD delete mode 100644 unmaintained/ruby-kgio/APKBUILD delete mode 100644 unmaintained/ruby-loofah/APKBUILD delete mode 100644 unmaintained/ruby-mail/APKBUILD delete mode 100644 unmaintained/ruby-mechanize/APKBUILD delete mode 100644 unmaintained/ruby-metaclass/APKBUILD delete mode 100644 unmaintained/ruby-mime-types/APKBUILD delete mode 100644 unmaintained/ruby-mini_portile/APKBUILD delete mode 100644 unmaintained/ruby-mocha/APKBUILD delete mode 100644 unmaintained/ruby-mustache/APKBUILD delete mode 100644 unmaintained/ruby-mysql2/APKBUILD delete mode 100644 unmaintained/ruby-net-http-digest_auth/APKBUILD delete mode 100644 unmaintained/ruby-net-http-persistent/APKBUILD delete mode 100644 unmaintained/ruby-net-ldap/APKBUILD delete mode 100644 unmaintained/ruby-network_interface/APKBUILD delete mode 100644 unmaintained/ruby-ntlm-http/APKBUILD delete mode 100644 unmaintained/ruby-openid/APKBUILD delete mode 100644 unmaintained/ruby-pg/APKBUILD delete mode 100644 unmaintained/ruby-polyglot/APKBUILD delete mode 100644 unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch delete mode 100644 unmaintained/ruby-posix-spawn/APKBUILD delete mode 100644 unmaintained/ruby-protected_attributes4.2/APKBUILD delete mode 100644 unmaintained/ruby-pry/APKBUILD delete mode 100644 unmaintained/ruby-puma/APKBUILD delete mode 100644 unmaintained/ruby-puma/puma.confd delete mode 100644 unmaintained/ruby-puma/puma.initd delete mode 100644 unmaintained/ruby-rack-cache/APKBUILD delete mode 100644 unmaintained/ruby-rack-openid/APKBUILD delete mode 100644 unmaintained/ruby-rack-protection/APKBUILD delete mode 100644 unmaintained/ruby-rack-ssl/APKBUILD delete mode 100644 unmaintained/ruby-rack-test/APKBUILD delete mode 100644 unmaintained/ruby-rack/APKBUILD delete mode 100644 unmaintained/ruby-rack14/APKBUILD delete mode 100644 unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD delete mode 100644 unmaintained/ruby-rails-dom-testing4.2/APKBUILD delete mode 100644 unmaintained/ruby-rails-html-sanitizer/APKBUILD delete mode 100644 unmaintained/ruby-rails4.2/APKBUILD delete mode 100644 unmaintained/ruby-railties4.2/APKBUILD delete mode 100644 unmaintained/ruby-raindrops/APKBUILD delete mode 100644 unmaintained/ruby-rbpdf-font/APKBUILD delete mode 100644 unmaintained/ruby-rbpdf/APKBUILD delete mode 100644 unmaintained/ruby-redcarpet/APKBUILD delete mode 100644 unmaintained/ruby-request_store/APKBUILD delete mode 100644 unmaintained/ruby-require/APKBUILD delete mode 100644 unmaintained/ruby-roadie-rails/APKBUILD delete mode 100644 unmaintained/ruby-roadie/APKBUILD delete mode 100644 unmaintained/ruby-rouge/APKBUILD delete mode 100644 unmaintained/ruby-safe_yaml/APKBUILD delete mode 100644 unmaintained/ruby-sanitize/APKBUILD delete mode 100644 unmaintained/ruby-sequel/APKBUILD delete mode 100644 unmaintained/ruby-shoulda-context/APKBUILD delete mode 100644 unmaintained/ruby-shoulda-matchers/APKBUILD delete mode 100644 unmaintained/ruby-shoulda/APKBUILD delete mode 100644 unmaintained/ruby-sinatra/APKBUILD delete mode 100644 unmaintained/ruby-sprockets-rails4.2/APKBUILD delete mode 100644 unmaintained/ruby-sprockets/APKBUILD delete mode 100644 unmaintained/ruby-spruz/APKBUILD delete mode 100644 unmaintained/ruby-sqlite/APKBUILD delete mode 100644 unmaintained/ruby-stringex/APKBUILD delete mode 100644 unmaintained/ruby-test-unit/APKBUILD delete mode 100644 unmaintained/ruby-thin/APKBUILD delete mode 100644 unmaintained/ruby-thor/APKBUILD delete mode 100644 unmaintained/ruby-thread_safe/APKBUILD delete mode 100644 unmaintained/ruby-tilt/APKBUILD delete mode 100644 unmaintained/ruby-tins/APKBUILD delete mode 100644 unmaintained/ruby-treetop/APKBUILD delete mode 100644 unmaintained/ruby-tzinfo/APKBUILD delete mode 100644 unmaintained/ruby-unf-ext/APKBUILD delete mode 100644 unmaintained/ruby-unf/APKBUILD delete mode 100644 unmaintained/ruby-unicorn/APKBUILD delete mode 100644 unmaintained/ruby-unicorn/redmine.conf.rb.sample delete mode 100644 unmaintained/ruby-unicorn/unicorn.confd delete mode 100644 unmaintained/ruby-unicorn/unicorn.initd delete mode 100644 unmaintained/ruby-useragent/APKBUILD delete mode 100644 unmaintained/ruby-uuidtools/APKBUILD delete mode 100644 unmaintained/ruby-webrobots/APKBUILD delete mode 100644 unmaintained/ruby-xml-simple/APKBUILD delete mode 100644 unmaintained/ruby-yard/APKBUILD delete mode 100644 unmaintained/salt-cloud/APKBUILD delete mode 100644 unmaintained/samba36/100-configure_fixes.patch delete mode 100644 unmaintained/samba36/110-multicall.patch delete mode 100644 unmaintained/samba36/111-owrt_smbpasswd.patch delete mode 100644 unmaintained/samba36/120-add_missing_ifdef.patch delete mode 100644 unmaintained/samba36/200-remove_printer_support.patch delete mode 100644 unmaintained/samba36/210-remove_ad_support.patch delete mode 100644 unmaintained/samba36/220-remove_services.patch delete mode 100644 unmaintained/samba36/230-remove_winreg_support.patch delete mode 100644 unmaintained/samba36/240-remove_dfs_api.patch delete mode 100644 unmaintained/samba36/250-remove_domain_logon.patch delete mode 100644 unmaintained/samba36/260-remove_samr.patch delete mode 100644 unmaintained/samba36/270-remove_registry_backend.patch delete mode 100644 unmaintained/samba36/280-strip_srvsvc.patch delete mode 100644 unmaintained/samba36/290-remove_lsa.patch delete mode 100644 unmaintained/samba36/300-assert_debug_level.patch delete mode 100644 unmaintained/samba36/310-remove_error_strings.patch delete mode 100644 unmaintained/samba36/320-debug_level_checks.patch delete mode 100644 unmaintained/samba36/330-librpc_default_print.patch delete mode 100644 unmaintained/samba36/APKBUILD delete mode 100644 unmaintained/samba36/samba.confd delete mode 100644 unmaintained/samba36/samba.initd delete mode 100644 unmaintained/samba36/smb.conf.template delete mode 100644 unmaintained/sarg/APKBUILD delete mode 100644 unmaintained/sc101-nbd/APKBUILD delete mode 100644 unmaintained/scantailor/APKBUILD delete mode 100644 unmaintained/schedtool/APKBUILD delete mode 100644 unmaintained/scrub/APKBUILD delete mode 100644 unmaintained/scummvm/APKBUILD delete mode 100644 unmaintained/seafile/APKBUILD delete mode 100644 unmaintained/seafile/seafile-controller.patch delete mode 100644 unmaintained/seafile/seafile-scripts.patch delete mode 100644 unmaintained/seafile/seafile-server.post-install delete mode 100644 unmaintained/seafile/seafile-server.pre-install delete mode 100644 unmaintained/seafile/seafile.confd delete mode 100644 unmaintained/seafile/seafile.initd delete mode 100644 unmaintained/series60-remote/APKBUILD delete mode 100644 unmaintained/setserial/APKBUILD delete mode 100644 unmaintained/setserial/setserial.patch delete mode 100644 unmaintained/shairplay/APKBUILD delete mode 100644 unmaintained/shairplay/shairplay.confd delete mode 100644 unmaintained/shairplay/shairplay.initd delete mode 100644 unmaintained/shared-desktop-ontologies/APKBUILD delete mode 100644 unmaintained/shed/APKBUILD delete mode 100644 unmaintained/siege/APKBUILD delete mode 100644 unmaintained/siege/siege-2.72-good.patch delete mode 100644 unmaintained/siege/stdint.patch delete mode 100644 unmaintained/sipcrack/APKBUILD delete mode 100644 unmaintained/sipvicious/APKBUILD delete mode 100644 unmaintained/sisctrl/APKBUILD delete mode 100644 unmaintained/skroll/APKBUILD delete mode 100644 unmaintained/slowhttptest/APKBUILD delete mode 100644 unmaintained/smap/APKBUILD delete mode 100644 unmaintained/snorenotify/APKBUILD delete mode 100644 unmaintained/sofia-sip/APKBUILD delete mode 100644 unmaintained/soprano/APKBUILD delete mode 100644 unmaintained/soprano/redland.patch delete mode 100755 unmaintained/soprano/soprano-2.9.4-dbus-1.patch delete mode 100644 unmaintained/spectools/APKBUILD delete mode 100644 unmaintained/spectrwm/APKBUILD delete mode 100644 unmaintained/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch delete mode 100644 unmaintained/speech-dispatcher/0001-Provide-fallback-for-systems-without-TEMP_FAILURE_RE.patch delete mode 100644 unmaintained/speech-dispatcher/APKBUILD delete mode 100644 unmaintained/spice-vdagent/APKBUILD delete mode 100644 unmaintained/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch delete mode 100644 unmaintained/spice-vdagent/spice-vdagentd.initd delete mode 100644 unmaintained/sqstat/APKBUILD delete mode 100644 unmaintained/squeezelite/0001-only-run-glibc-specific-hacks-on-glibc.patch delete mode 100644 unmaintained/squeezelite/0001-respect-LDFLAGS.patch delete mode 100644 unmaintained/squeezelite/APKBUILD delete mode 100644 unmaintained/squidanalyzer/APKBUILD delete mode 100644 unmaintained/squidguard/APKBUILD delete mode 100644 unmaintained/squidguard/blockedsites delete mode 100644 unmaintained/squidguard/squidGuard.conf.blocksites delete mode 100644 unmaintained/squidguard/squidGuard.conf.minimal delete mode 100644 unmaintained/squidguard/squidguard-1.4-debian-bdb-51.patch delete mode 100644 unmaintained/squidguard/squidguard-1.4-gentoo.patch delete mode 100644 unmaintained/squidguard/squidguard-1.4-upstream-fixes.patch delete mode 100644 unmaintained/squidguard/squidguard-1.4-vsnprintf.patch delete mode 100644 unmaintained/sslscan/APKBUILD delete mode 100644 unmaintained/sslscan/sslscan-makefile.patch delete mode 100644 unmaintained/stress/APKBUILD delete mode 100644 unmaintained/strigi/APKBUILD delete mode 100644 unmaintained/subberthehut/APKBUILD delete mode 100644 unmaintained/supertuxkart/APKBUILD delete mode 100644 unmaintained/suspend-utils/APKBUILD delete mode 100644 unmaintained/suspend-utils/define-gnu-source.patch delete mode 100644 unmaintained/swaks/APKBUILD delete mode 100644 unmaintained/t1-cursor/APKBUILD delete mode 100644 unmaintained/t1-urw-fonts/45-urw-fonts.conf delete mode 100644 unmaintained/t1-urw-fonts/90-non-tt-urw-fonts.conf delete mode 100644 unmaintained/t1-urw-fonts/APKBUILD delete mode 100644 unmaintained/t1lib/APKBUILD delete mode 100644 unmaintained/t1lib/CVE-2010-2642.patch delete mode 100644 unmaintained/t1lib/CVE-2011-0764.patch delete mode 100644 unmaintained/t1lib/CVE-2011-1552_1553_1554.patch delete mode 100644 unmaintained/t1lib/format-security.patch delete mode 100644 unmaintained/t1lib/lib-cleanup.patch delete mode 100644 unmaintained/tartarus/APKBUILD delete mode 100644 unmaintained/tartarus/tartarus.post-install delete mode 100644 unmaintained/tb-tun/APKBUILD delete mode 100644 unmaintained/tbl/APKBUILD delete mode 100644 unmaintained/tbl/tbl-install.patch delete mode 100644 unmaintained/tc-play/APKBUILD delete mode 100644 unmaintained/tc-play/libsuffix.patch delete mode 100644 unmaintained/ted/APKBUILD delete mode 100755 unmaintained/ted/ted-motif.trigger delete mode 100644 unmaintained/teeworlds/APKBUILD delete mode 100644 unmaintained/tesseract-data/APKBUILD delete mode 100644 unmaintained/thunar-media-tags-plugin/APKBUILD delete mode 100644 unmaintained/tlssled/APKBUILD delete mode 100644 unmaintained/toilet-font/APKBUILD delete mode 100644 unmaintained/toilet/APKBUILD delete mode 100644 unmaintained/tokyocabinet/APKBUILD delete mode 100644 unmaintained/tokyocabinet/dynamic-linking.patch delete mode 100644 unmaintained/tokyocabinet/tokyocabinet-manhelp.patch delete mode 100644 unmaintained/tolua/APKBUILD delete mode 100644 unmaintained/tolua/config delete mode 100644 unmaintained/totem-pl-parser/APKBUILD delete mode 100644 unmaintained/totem-pl-parser/no-libsoup-gnome.patch delete mode 100644 unmaintained/totem/APKBUILD delete mode 100644 unmaintained/totem/totem.post-install delete mode 100644 unmaintained/totem/totem.post-upgrade delete mode 100644 unmaintained/totem/totem.pre-deinstall delete mode 100644 unmaintained/transmission-remote-gtk/APKBUILD delete mode 100644 unmaintained/trayer/APKBUILD delete mode 100644 unmaintained/trayer/makefile.patch delete mode 100644 unmaintained/triggerhappy/APKBUILD delete mode 100644 unmaintained/triggerhappy/triggerhappy.confd delete mode 100644 unmaintained/triggerhappy/triggerhappy.initd delete mode 100644 unmaintained/ttf-caladea/45-caladea.conf delete mode 100644 unmaintained/ttf-caladea/90-tt-caladea.conf delete mode 100644 unmaintained/ttf-caladea/APKBUILD delete mode 100644 unmaintained/ttf-cantoraone/45-cantoraone.conf delete mode 100644 unmaintained/ttf-cantoraone/90-tt-cantoraone.conf delete mode 100644 unmaintained/ttf-cantoraone/APKBUILD delete mode 100644 unmaintained/ttf-carlito/45-carlito.conf delete mode 100644 unmaintained/ttf-carlito/90-tt-carlito.conf delete mode 100644 unmaintained/ttf-carlito/APKBUILD delete mode 100644 unmaintained/ttf-courier-prime/45-courier-prime.conf delete mode 100644 unmaintained/ttf-courier-prime/90-tt-courier-prime.conf delete mode 100644 unmaintained/ttf-courier-prime/APKBUILD delete mode 100644 unmaintained/ttf-gelasio/45-gelasio.conf delete mode 100644 unmaintained/ttf-gelasio/90-tt-gelasio.conf delete mode 100644 unmaintained/ttf-gelasio/APKBUILD delete mode 100644 unmaintained/ttf-heuristica/45-heuristica.conf delete mode 100644 unmaintained/ttf-heuristica/90-tt-heuristica.conf delete mode 100644 unmaintained/ttf-heuristica/APKBUILD delete mode 100644 unmaintained/ttf-merriweather-sans/45-merriweather-sans.conf delete mode 100644 unmaintained/ttf-merriweather-sans/90-tt-merriweather-sans.conf delete mode 100644 unmaintained/ttf-merriweather-sans/APKBUILD delete mode 100644 unmaintained/ttf-merriweather/45-merriweather.conf delete mode 100644 unmaintained/ttf-merriweather/90-tt-merriweather.conf delete mode 100644 unmaintained/ttf-merriweather/APKBUILD delete mode 100644 unmaintained/ttf-noto/40-noto-arabic.conf delete mode 100644 unmaintained/ttf-noto/45-noto-sans.conf delete mode 100644 unmaintained/ttf-noto/45-noto-serif.conf delete mode 100644 unmaintained/ttf-noto/90-non-tt-noto-sans-cjk.conf delete mode 100644 unmaintained/ttf-noto/90-tt-noto-sans.conf delete mode 100644 unmaintained/ttf-noto/90-tt-noto-serif.conf delete mode 100644 unmaintained/ttf-noto/APKBUILD delete mode 100644 unmaintained/ttf-opensans/45-opensans.conf delete mode 100644 unmaintained/ttf-opensans/90-tt-opensans.conf delete mode 100644 unmaintained/ttf-opensans/APKBUILD delete mode 100644 unmaintained/ttf-signika-family/45-signika.conf delete mode 100644 unmaintained/ttf-signika-family/90-tt-signika.conf delete mode 100644 unmaintained/ttf-signika-family/APKBUILD delete mode 100644 unmaintained/ttf-symbola/45-symbola.conf delete mode 100644 unmaintained/ttf-symbola/90-tt-symbola.conf delete mode 100644 unmaintained/ttf-symbola/APKBUILD delete mode 100644 unmaintained/tut/APKBUILD delete mode 100644 unmaintained/ubus/APKBUILD delete mode 100644 unmaintained/ubus/disable-systemd.patch delete mode 100644 unmaintained/uci/APKBUILD delete mode 100644 unmaintained/ucspi-ssl/0001-Add-missing-make-targets.patch delete mode 100644 unmaintained/ucspi-ssl/APKBUILD delete mode 100644 unmaintained/uget/APKBUILD delete mode 100644 unmaintained/ulib/APKBUILD delete mode 100644 unmaintained/unagi/APKBUILD delete mode 100644 unmaintained/unetbootin/APKBUILD delete mode 100644 unmaintained/unetbootin/allow-ntfs.patch delete mode 100644 unmaintained/unifdef/APKBUILD delete mode 100644 unmaintained/upgrade-notify/APKBUILD delete mode 100644 unmaintained/upgrade-notify/upgrade-notify.trigger delete mode 100644 unmaintained/upstart/APKBUILD delete mode 100644 unmaintained/upstart/upstart.post-deinstall delete mode 100644 unmaintained/upstart/upstart.post-upgrade delete mode 100644 unmaintained/urlwatch/APKBUILD delete mode 100644 unmaintained/usbmuxd/APKBUILD delete mode 100644 unmaintained/uselessd/APKBUILD delete mode 100644 unmaintained/vala-dbus-binding-tool/APKBUILD delete mode 100644 unmaintained/vbetool/APKBUILD delete mode 100644 unmaintained/vdr-plugin-satip/APKBUILD delete mode 100644 unmaintained/vdr-plugin-satip/include-ctype-header.patch delete mode 100644 unmaintained/vdr-plugin-vnsiserver/APKBUILD delete mode 100644 unmaintained/vdr-plugin-vnsiserver/musl-fix.patch delete mode 100644 unmaintained/vim-sleuth/APKBUILD delete mode 100644 unmaintained/vimpager/APKBUILD delete mode 100644 unmaintained/vlc-htsp-plugin/APKBUILD delete mode 100644 unmaintained/vlc-htsp-plugin/support-bb-install.patch delete mode 100644 unmaintained/vlc-libde265/APKBUILD delete mode 100644 unmaintained/voiphopper/APKBUILD delete mode 100644 unmaintained/waf/APKBUILD delete mode 100644 unmaintained/wbox/APKBUILD delete mode 100644 unmaintained/websocketd/APKBUILD delete mode 100644 unmaintained/wendy/APKBUILD delete mode 100644 unmaintained/weplab/APKBUILD delete mode 100644 unmaintained/willie/APKBUILD delete mode 100644 unmaintained/winetricks/APKBUILD delete mode 100644 unmaintained/xbattmon/APKBUILD delete mode 100644 unmaintained/xboard/APKBUILD delete mode 100644 unmaintained/xca/APKBUILD delete mode 100644 unmaintained/xcmenu/APKBUILD delete mode 100644 unmaintained/xcmenu/include-fcntl.patch delete mode 100644 unmaintained/xcursor-themes/APKBUILD delete mode 100644 unmaintained/xcursorgen/APKBUILD delete mode 100644 unmaintained/xfdashboard/APKBUILD delete mode 100644 unmaintained/xiphos/APKBUILD delete mode 100644 unmaintained/xlennart/APKBUILD delete mode 100644 unmaintained/xmlrpc-epi/APKBUILD delete mode 100644 unmaintained/xnbd/APKBUILD delete mode 100644 unmaintained/xnbd/fix-cblocksize.patch delete mode 100644 unmaintained/xnbd/remove-pagesize.patch delete mode 100644 unmaintained/xnbd/remove-sys_siglist.patch delete mode 100644 unmaintained/xrdp-git/APKBUILD delete mode 100644 unmaintained/xrdp-git/cd077979ebeb81a6e85a9ba7f9c463beda1606ba.patch delete mode 100644 unmaintained/xtrabackup/APKBUILD delete mode 100644 unmaintained/xtrabackup/Werror.patch delete mode 100644 unmaintained/yum-metadata-parser/APKBUILD delete mode 100644 unmaintained/yum/APKBUILD delete mode 100644 unmaintained/zathura-djvu/APKBUILD diff --git a/unmaintained/aalib/APKBUILD b/unmaintained/aalib/APKBUILD deleted file mode 100644 index dadc71f7e8..0000000000 --- a/unmaintained/aalib/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=aalib -pkgver=1.4.0 -_pkgver=1.4 -pkgrel=1.rc4 -pkgdesc="An portable ascii art GFX library" -url="http://aa-project.sourceforge.net/aalib/" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/aa-project/$pkgname-"$_pkgver"rc4.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="d5aa8e9eae07b7441298b5c30490f6a6 aalib-1.4rc4.tar.gz" -sha256sums="0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58 aalib-1.4rc4.tar.gz" -sha512sums="247813d6b232d83c3347f038ea246ce10b70679e2ff2f3c647c3a462aeb0febc4e3b96bba37c71940b55da1ff8872fbc66598b0ac091590c979b6e163792a35d aalib-1.4rc4.tar.gz" diff --git a/unmaintained/acf-jquery-mobile/APKBUILD b/unmaintained/acf-jquery-mobile/APKBUILD deleted file mode 100644 index f866c964f7..0000000000 --- a/unmaintained/acf-jquery-mobile/APKBUILD +++ /dev/null @@ -1,20 +0,0 @@ -# Contributor: Ted Trask -# Maintainer: Ted Trask -pkgname=acf-jquery-mobile -pkgver=0.0.1 -pkgrel=1 -pkgdesc="jquery mobile libraries for ACF" -url="http://git.alpinelinux.org/cgit/acf/acf-jquery-mobile" -arch="noarch" -license="GPL2" -depends="acf-jquery" -replaces="" -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz" - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install -} -md5sums="2fd8424c4f26ff6d982fde9ff2404ad0 acf-jquery-mobile-0.0.1.tar.xz" -sha256sums="58222822740287937a1a7fc6a73b116364aa3cdc9c6af67fb5799c8e9a4dbe66 acf-jquery-mobile-0.0.1.tar.xz" -sha512sums="b816cbdcbb746337ddf6b9df9fd70374e19471f9de2c955e425acafc7d883f0866f706a9ca49adcf7decdc16da597864d4a942a1fc61f7d9a6b16f4946745377 acf-jquery-mobile-0.0.1.tar.xz" diff --git a/unmaintained/acf-provisioning-grandstream-ata/APKBUILD b/unmaintained/acf-provisioning-grandstream-ata/APKBUILD deleted file mode 100644 index ae9940a632..0000000000 --- a/unmaintained/acf-provisioning-grandstream-ata/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: Ted Trask -pkgname=acf-provisioning-grandstream-ata -pkgver=1.0.7.3 -pkgrel=0 -pkgdesc="Files for provisioning Grandstream HandyTone products" -url="http://www.grandstream.com/index.php/products" -arch="noarch" -license="AS IS" -depends="" -makedepends="" -source=" -http://www.grandstream.com/firmware/GXW40xx_HT50x/Release_HT502_1.0.14.1.zip -http://www.grandstream.com/firmware/GXW40xx_HT50x/Release_HT503_1.0.14.1.zip -http://www.grandstream.com/firmware/HT70x/Release_HT701_1.0.7.3.zip -http://www.grandstream.com/firmware/HT70x/Release_HT702_1.0.7.3.zip -http://www.grandstream.com/firmware/HT70x/Release_HT704_1.0.7.3.zip -init.cfg.sample" - -subpackages="" - -package() { - cd "$srcdir" - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Grandstream - cp *.cfg.sample *fw.bin "$pkgdir"/var/www/provisioning/htdocs/Grandstream -} - -md5sums="45afec66616b94beb255d13376b0c1a6 Release_HT502_1.0.14.1.zip -cf250b6bc7b7ac95223b63023f9f14c9 Release_HT503_1.0.14.1.zip -40ed2488819b48bf207592b2feccd4e9 Release_HT701_1.0.7.3.zip -1058fea95c6e7f9e1e257ab317ac9a90 Release_HT702_1.0.7.3.zip -64210b2c52cbc42039c237ec8deaa903 Release_HT704_1.0.7.3.zip -dada214a3a51fb69f27dfb746e3f5d10 init.cfg.sample" -sha256sums="1c08eeae52b477e2028d2ce8b97cc66c2e0ab670c78576026b6a75b06157dfb0 Release_HT502_1.0.14.1.zip -23500431b0a4a81b36e31a0926f82612246daf7ec18310fba6cd0c8c87fe0258 Release_HT503_1.0.14.1.zip -bc3a5be33ee4c96685466ad67bf911e4b11a521d56e79747afa0d488ef6c6f6f Release_HT701_1.0.7.3.zip -67544b68778cb3e87a0ccd5b07e6a34e707368c1c1c896d336655ccaf27981f6 Release_HT702_1.0.7.3.zip -71abcd72e89550c7de85034ae1b869ee9f06218304f0002213897480716655c4 Release_HT704_1.0.7.3.zip -0525a686672fd7080a4cfb76f5d466c172c8b6f50d507fd4be35fbab6ff413e2 init.cfg.sample" -sha512sums="28e924c9995cdfbc3b3c632e9dc3a67b0b919d1af1ed543579bb8bd45fad4c0286ef24b09ac0d4302cb585362d138d88f85fb2dc645ff126e9756c9659cf2541 Release_HT502_1.0.14.1.zip -9abc4c9356bbea404a2e5d6de62ad500365e6d019abc38d95802972dcba59a80c4b67a8acb5598aa68a97e7349c71150db65d7b2521fe3e347f625bde76088a2 Release_HT503_1.0.14.1.zip -6cc5c17dd94efa9aface1a3f2b098d11798ae7dfbbcfdf69182b0784ac1fcb6c99138e215378aa9712f6fc3764c55e17bfe33c415d1cd67ce47cefe95491f2d6 Release_HT701_1.0.7.3.zip -ccbf52d9530c3a88294764a8de8e36d0dc21f50c84be269c6ae5ee1bf0b1f404682db534fdbbb402588b7924d0cac865bec72145314db979b993b84c6d535e3d Release_HT702_1.0.7.3.zip -4b6e999ebb7ad357b8026f6a0635500b34ff7d74c0ffc76f6e5b9c2f1e079ec8cd5dabd099cbce976f204b814ea20acf36e1d51a88b0676b124e0ad18ef55722 Release_HT704_1.0.7.3.zip -a19a8b174f65603879420fdde77a70534bae6b03f1c11c28a83fd63a55252e11cfc8e4fd821b97d8ec742321bcdc6e1299155cd112bff8e7435f1703e2adbcff init.cfg.sample" diff --git a/unmaintained/acf-provisioning-grandstream-ata/init.cfg.sample b/unmaintained/acf-provisioning-grandstream-ata/init.cfg.sample deleted file mode 100644 index 3fa43d4f25..0000000000 --- a/unmaintained/acf-provisioning-grandstream-ata/init.cfg.sample +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - 46 - - 1 - - 5 - - 5 - - 5 - - - 10.0.0.1/Grandstream - - 10.0.0.1/Grandstream - - 0 - - - 1 - - 1 - - - - - 2 - - 1 - - 1 - - 120 - - 1 - - - - - 2 - - 1 - - 1 - - 120 - - 1 - - - - - 1 - - 1 - - 1 - - 0 - - - customize - - - diff --git a/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-directory.xml b/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-directory.xml deleted file mode 100644 index 2c5fecabea..0000000000 --- a/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-directory.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-phone.cfg b/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-phone.cfg deleted file mode 100644 index f3fe583345..0000000000 --- a/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-phone.cfg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-web.cfg b/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-web.cfg deleted file mode 100644 index f3fe583345..0000000000 --- a/unmaintained/acf-provisioning-polycom4.0.3f/000000000000-web.cfg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/unmaintained/acf-provisioning-polycom4.0.3f/000000000000.cfg.patch b/unmaintained/acf-provisioning-polycom4.0.3f/000000000000.cfg.patch deleted file mode 100644 index ac9c68405d..0000000000 --- a/unmaintained/acf-provisioning-polycom4.0.3f/000000000000.cfg.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- src/000000000000.cfg.org -+++ src/000000000000.cfg -@@ -4,15 +4,15 @@ - - - -- -- -- -- -+ -+ -+ -+ - - -- -- -- -- -- -+ -+ -+ -+ -+ - diff --git a/unmaintained/acf-provisioning-polycom4.0.3f/APKBUILD b/unmaintained/acf-provisioning-polycom4.0.3f/APKBUILD deleted file mode 100644 index dfe0f3375f..0000000000 --- a/unmaintained/acf-provisioning-polycom4.0.3f/APKBUILD +++ /dev/null @@ -1,86 +0,0 @@ -# Contributor: Mika Havela -# Maintainer: Mika Havela -pkgname=acf-provisioning-polycom4.0.3f -pkgver=0 -pkgrel=2 -pkgdesc="Files for provisioning Polycom IP phones" -url="http://www.polycom.com/products/voice/index.html" -arch="noarch" -license="AS IS" -depends="" -makedepends="" -source="http://downloads.polycom.com/voice/voip/uc/UC_Software_4_0_3F_release_sig_split.zip -http://downloads.polycom.com/voice/voip/uc/SoundPoint_IP_BootROM_4_4_0_Upgrader_release_sig.zip -000000000000-directory.xml -000000000000-phone.cfg -000000000000-web.cfg -000000000000.cfg.patch -" -subpackages="" - -_builddir="$srcdir/" - -link_dupes() { - local dir= - local old_pwd="$PWD" - for dir; do - echo "Creating links of duplicate files at '$dir'" - cd "$dir" || break - prevsum= - prevfile= - md5sum *.ld | sort | while read sum file; do - if [ "$sum" = "$prevsum" ]; then - echo "* Creating link of '$file'" - rm $file && ln -s $prevfile $file || break - else - prevsum=$sum - prevfile=$file - fi - done || break - done - local ret=$? - cd "$old_pwd" - return $ret -} - - -prepare() { - local i - cd "$_builddir" - sed -i -e 's/\r//' 000000000000.cfg - for i in $source; do - case $i in - *.patch) msg "Applying ${i}"; patch -p1 -i ../$i || return 1;; - esac - done -} - - -package() { - cd "$_builddir" - link_dupes "$_builddir" || return 1 - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Polycom - mkdir -p "$pkgdir"/var/www/provisioning/htdocs/log - echo "$pkgname-$pkgver-r$pkgrel" > "$pkgdir"/var/www/provisioning/htdocs/Polycom/package-version - cp -r *.ld *.wav SoundPointIPLocalization 000000000000.cfg "$pkgdir"/var/www/provisioning/htdocs - cp 000000000000-directory.xml 000000000000-phone.cfg 000000000000-web.cfg "$pkgdir"/var/www/provisioning/htdocs/Polycom -} - -md5sums="f2d6c889b6471878427b729988e5ea94 UC_Software_4_0_3F_release_sig_split.zip -4361b57fbe7534a1170797dc40f21a3c SoundPoint_IP_BootROM_4_4_0_Upgrader_release_sig.zip -4a6ff93b944a710da0c3eb99938f42cc 000000000000-directory.xml -2c32486b7c9d692326fd6270664eac01 000000000000-phone.cfg -2c32486b7c9d692326fd6270664eac01 000000000000-web.cfg -ad802a8e30d4d816513f7e9132639dd4 000000000000.cfg.patch" -sha256sums="c061ae619355d429787ddf660cb4136f75636da9b0de632b93126038880b8790 UC_Software_4_0_3F_release_sig_split.zip -3fbe07e0f2c288d501ab41e711cdb2bdfca0831dbb5a44c63a34a0551f9ed129 SoundPoint_IP_BootROM_4_4_0_Upgrader_release_sig.zip -875f5bbec057d29508bcd671a203d8e2852cd959aeaeb937443cedbe824e0a41 000000000000-directory.xml -e2f3dcd842d6eb44a98140e7fb60487ca70e519d5d09872a54ce1372d5a432b4 000000000000-phone.cfg -e2f3dcd842d6eb44a98140e7fb60487ca70e519d5d09872a54ce1372d5a432b4 000000000000-web.cfg -c50d37f8bf6cdbf803236c9b2504ae92fa3e32fd794d7c0d43f7c2f9546f8e8d 000000000000.cfg.patch" -sha512sums="8699f129c8b2f9b96d4578644597725d28875cd6a67391c8f362dace5b31c55619aa04a06f8d3bd0810a908b520ec839c4059110d596fa06c4bbda1b51ca979b UC_Software_4_0_3F_release_sig_split.zip -17c661fb224269abc8e4a53a9c078cc9f5599e054666842f590d9c5cdfcaa52100463d0dfe826ad9c4f65684e7eb574852b4fe3c2e9d5b0e52890c2b93b07b5e SoundPoint_IP_BootROM_4_4_0_Upgrader_release_sig.zip -9adc73d02aa4f545aca893c335284d77099c56fcc17a48f61003ede8713e96aeb8f467896f4dfbf7db67255cc3d60faf353b76ab86c5881d0ba884d1c0acffb3 000000000000-directory.xml -db2da0f4c393bdea773f3e5a7daa581a58caca738538db6153b223383176aae30e2081c198291d78c44eddd446a1cab9cffef78646360847ce4955c59f288300 000000000000-phone.cfg -db2da0f4c393bdea773f3e5a7daa581a58caca738538db6153b223383176aae30e2081c198291d78c44eddd446a1cab9cffef78646360847ce4955c59f288300 000000000000-web.cfg -beac1a354cbd7ca6118e801f6cc6941974567c5127bd0489b3f86f01de46b98910da203dadf32e45089c554d0566c36ccfece48c329087f474692113192802d1 000000000000.cfg.patch" diff --git a/unmaintained/acf-skins-jqmobile/APKBUILD b/unmaintained/acf-skins-jqmobile/APKBUILD deleted file mode 100644 index 16a39e766f..0000000000 --- a/unmaintained/acf-skins-jqmobile/APKBUILD +++ /dev/null @@ -1,20 +0,0 @@ -# Contributor: Ted Trask -# Maintainer: Ted Trask -pkgname=acf-skins-jqmobile -pkgver=0.0.1 -pkgrel=1 -pkgdesc="ACF skin based upon jquery mobile" -url="http://git.alpinelinux.org/cgit/acf/acf-skins-jqmobile" -arch="noarch" -license="GPL2" -depends="acf-skins acf-jquery-mobile" -replaces="" -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz" - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install -} -md5sums="ba74d5bd6a6f37cdbd0193a7686b1b07 acf-skins-jqmobile-0.0.1.tar.xz" -sha256sums="0e474b3c0cb77fb512f519d146347c48434fc67b3a0efe58b76f33e61e37fb88 acf-skins-jqmobile-0.0.1.tar.xz" -sha512sums="6281fa34fb7ce12114e1fe9739b38c6f98ff86311efde9e88466eef47fc6f9cafb74efda1e859a8b1ee7180baf7fe2ce0480056d2c94d1c146a822445df780b2 acf-skins-jqmobile-0.0.1.tar.xz" diff --git a/unmaintained/agg/APKBUILD b/unmaintained/agg/APKBUILD deleted file mode 100644 index 91e5d27f75..0000000000 --- a/unmaintained/agg/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Elizabeth Jennifer Myers -# Maintainer: Elizabeth Jennifer Myers -pkgname=agg -pkgver=2.5 -pkgrel=3 -pkgdesc="A Rendering Engine for C++" -url="http://antigrain.com" -license="GPL2+" -depends="" -makedepends="autoconf automake libtool libx11-dev freetype-dev sdl-dev" -install="" -arch="all" -subpackages="$pkgname-dev" -source="http://www.antigrain.com/$pkgname-$pkgver.tar.gz - agg-2.4-depends.patch - agg-2.5-pkgconfig.patch" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd $_builddir - for i in "$srcdir"/*.patch; do - msg "Applying ${i}" - patch -Np1 -i "$i" || return 1 - done - # fix building against automake-1.12 - sed -i '/^AM_C_PROTOTYPES/d' configure.in - sh ./autogen.sh || return 1 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr --disable-static || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" install || return 1 -} - -md5sums="0229a488bc47be10a2fee6cf0b2febd6 agg-2.5.tar.gz -22f8e48c137d25038181c86d5e40b110 agg-2.4-depends.patch -43a19a7b1564c591e56c8d09a0fd8da5 agg-2.5-pkgconfig.patch" diff --git a/unmaintained/agg/agg-2.4-depends.patch b/unmaintained/agg/agg-2.4-depends.patch deleted file mode 100644 index 9d4f6e309d..0000000000 --- a/unmaintained/agg/agg-2.4-depends.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- agg-2.4.orig/font_freetype/Makefile.am 2005-10-18 11:45:40.000000000 +0100 -+++ agg-2.4/font_freetype/Makefile.am 2006-07-10 15:11:55.000000000 +0100 -@@ -4,8 +4,9 @@ - agginclude_HEADERS = agg_font_freetype.h - lib_LTLIBRARIES = libaggfontfreetype.la - --libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @FREETYPE_LIBS@ -+libaggfontfreetype_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ - libaggfontfreetype_la_SOURCES = agg_font_freetype.cpp - libaggfontfreetype_la_CXXFLAGS = -I$(top_srcdir)/include @FREETYPE_CFLAGS@ -+libaggfontfreetype_la_LIBADD = ../src/libagg.la @FREETYPE_LIBS@ - endif - ---- agg-2.4.orig/src/platform/sdl/Makefile.am 2005-10-17 23:49:35.000000000 +0100 -+++ agg-2.4/src/platform/sdl/Makefile.am 2006-07-10 15:11:55.000000000 +0100 -@@ -5,6 +5,6 @@ - libaggplatformsdl_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ - libaggplatformsdl_la_SOURCES = agg_platform_support.cpp - libaggplatformsdl_la_CXXFLAGS = -I$(top_srcdir)/include @SDL_CFLAGS@ --libaggplatformsdl_la_LIBADD = @SDL_LIBS@ -+libaggplatformsdl_la_LIBADD = ../../libagg.la @SDL_LIBS@ - endif - ---- agg-2.5.orig/configure.in 2006-10-09 05:06:36.000000000 +0100 -+++ agg-2.5/configure.in 2007-01-07 14:07:39.000000000 +0000 -@@ -122,7 +122,8 @@ - fi - AM_CONDITIONAL(ENABLE_X11,[test x$no_x = x -a xno != x$enable_platform -a x$win32_host != xyes]) - AC_SUBST(x_includes) --AC_SUBST(x_libraries) -+test -n "$x_libraries" && X_LDFLAGS="-L$x_libraries" -+AC_SUBST(X_LDFLAGS) - dnl ############################################### - - dnl Settung up library version ---- agg-2.5.orig/src/platform/X11/Makefile.am 2006-12-11 00:59:45.000000000 +0000 -+++ agg-2.5/src/platform/X11/Makefile.am 2007-01-07 14:07:39.000000000 +0000 -@@ -1,8 +1,8 @@ - if ENABLE_X11 - lib_LTLIBRARIES = libaggplatformX11.la - --libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ -L@x_libraries@ -+libaggplatformX11_la_LDFLAGS = -version-info @AGG_LIB_VERSION@ @X_LDFLAGS@ - libaggplatformX11_la_SOURCES = agg_platform_support.cpp - libaggplatformX11_la_CXXFLAGS = -I$(top_srcdir)/include -I@x_includes@ --libaggplatformX11_la_LIBADD = -lX11 -+libaggplatformX11_la_LIBADD = ../../libagg.la -lX11 - endif diff --git a/unmaintained/agg/agg-2.5-pkgconfig.patch b/unmaintained/agg/agg-2.5-pkgconfig.patch deleted file mode 100644 index a303bfb905..0000000000 --- a/unmaintained/agg/agg-2.5-pkgconfig.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- agg-2.5/libagg.pc.in.orig 2007-01-07 13:58:28.000000000 +0000 -+++ agg-2.5/libagg.pc.in 2007-01-07 14:02:40.000000000 +0000 -@@ -6,5 +6,6 @@ - Name: libagg - Description: Anti Grain Geometry - A High Quality Rendering Engine for C++ - Version: @VERSION@ --Libs: -L${libdir} -Wl,-rpath,${exec_prefix}/lib -lagg -+Requires.private: freetype2 -+Libs: -L${libdir} -lagg - Cflags: -I${includedir} diff --git a/unmaintained/akonadi/APKBUILD b/unmaintained/akonadi/APKBUILD deleted file mode 100644 index 553e9c9e29..0000000000 --- a/unmaintained/akonadi/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=akonadi -pkgver=1.13.0 -pkgrel=2 -pkgdesc="kde PIM storage service server" -url="http://pim.kde.org/akonadi" -arch="x86 x86_64" -license="LGPL" -depends="" -depends_dev="boost-dev qt-dev postgresql-dev libxslt-dev shared-mime-info" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="$pkgname-dev" -source="http://download.kde.org/stable/akonadi/src/akonadi-$pkgver.tar.bz2 - disable-backtrace-1.13.0.patch" - -_builddir="$srcdir"/akonadi-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \ - -DAKONADI_BUILD_TESTS=OFF \ - -Wno-dev \ - "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="84eb2e471bd6bdfe54a2a2f1d858c07d akonadi-1.13.0.tar.bz2 -e9c4b8af3e3222ec001bf3a90132fcf5 disable-backtrace-1.13.0.patch" -sha256sums="8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2 akonadi-1.13.0.tar.bz2 -31c929cd87b655075380cee2790f73c7ef80373c3c845bf195029cef6e875390 disable-backtrace-1.13.0.patch" -sha512sums="4bf2026c3807b5493c9f63d0c2bff2e6db00fbe97a4e2c2f707aaa3bf4a848b70dd9657d8fa1743690e8eeefd967de4895c1329c6bb817a1d023fe398285222f akonadi-1.13.0.tar.bz2 -bf4571643e27e705933a0e6491144b0fd1d55abbfbc75f93a65234e880625cc4c03eca0994d6c0a90b9c3521be5d33b91399b079fc07da662bdbc807775daa8d disable-backtrace-1.13.0.patch" diff --git a/unmaintained/akonadi/disable-backtrace-1.13.0.patch b/unmaintained/akonadi/disable-backtrace-1.13.0.patch deleted file mode 100644 index 373c87b477..0000000000 --- a/unmaintained/akonadi/disable-backtrace-1.13.0.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- akonadi-1.13.0/shared/akcrash.cpp.orig -+++ akonadi-1.13.0/shared/akcrash.cpp -@@ -39,7 +39,7 @@ - QString s; - - /* FIXME: is there an equivalent for windows? */ --#ifdef Backtrace_FOUND -+#if defined (__GLIBC__) - void *trace[256]; - int n = backtrace( trace, 256 ); - if ( !n ) { diff --git a/unmaintained/ansible-playbook-debugger/APKBUILD b/unmaintained/ansible-playbook-debugger/APKBUILD deleted file mode 100644 index 1b0375cca7..0000000000 --- a/unmaintained/ansible-playbook-debugger/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=ansible-playbook-debugger -pkgver=0.2.1 -pkgrel=0 -pkgdesc="A debugger for Ansible playbooks" -url="https://github.com/ks888/ansible-playbook-debugger" -arch="noarch" -license="GPLv3" -depends="python2" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python2 setup.py build || return 1 -} - -package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="af3b9b98fa080819febfefbd4a2942ce ansible-playbook-debugger-0.2.1.tar.gz" -sha256sums="3c95f8a61aecd66ffd3770d102baa83e043f1025c40ed6eefe4c261e50ab95c6 ansible-playbook-debugger-0.2.1.tar.gz" -sha512sums="a303c7f4587ce5e243f571c6c0cce658fa94b4818a3892d2c78952a0ae104266ff908a38f8bff53a23a5938933ade82b6a7d7de20d841d3ad73815f82fdd1707 ansible-playbook-debugger-0.2.1.tar.gz" diff --git a/unmaintained/apache-mod-backtrace/APKBUILD b/unmaintained/apache-mod-backtrace/APKBUILD deleted file mode 100644 index ee9884679c..0000000000 --- a/unmaintained/apache-mod-backtrace/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -pkgname=apache-mod-backtrace -pkgver=0 -pkgrel=2 -pkgdesc="A module which uses system functions to format a backtrace to show what code did the dirty deed." -url="http://people.apache.org/~trawick/exception_hook.html" -arch="all" -license="ASL 2.0" -depends="apache2" -makedepends="apache2-dev apr-dev autoconf" -install="" -subpackages="" -source="http://people.apache.org/~trawick/mod_backtrace.c - configure.in - Makefile.in" - -build() { - cd "$srcdir" - autoconf - ./configure - make DESTDIR="$pkgdir" || return 1 -} - -package() { - cd "$srcdir" - install -D -m755 "$srcdir"/.libs/mod_backtrace.so "$pkgdir"/usr/lib/apache2/mod_backtrace.so -} - -md5sums="6535f86200e759722d5145a1f29ef966 mod_backtrace.c -623409fd18dea63d6da509f2818491ef configure.in -e796e84b98ad73f2420ad8ef6fc5c01b Makefile.in" -sha256sums="285d38fb1ccb2824c1194e8951846d2660a64747c8b10a3f238e0d62beb6e87c mod_backtrace.c -a679a358e0bffc448cc9250081a38ff10c15e045e2be8abdd5d97d2c87def9a8 configure.in -a6856d67302d79a9d85881a49a0c9119e070b3ebedd4e8d814fa7e045e84c5d6 Makefile.in" -sha512sums="ac8fff0c531fc46f6e6eba32b7eeaaf0fc3945927bca4e7c822f268d2132a1c3521ccc3b3593cb4ee6bc4d8c531c536fbc6c8c2c4a034213267d40f865774efc mod_backtrace.c -bd21dc9c2b2c176478a47dc47bb6eaf1d2348dfbd2ffcb689605aa8f9270ebfd623a9dac1b30b27c3622bf025e74233a58096b9f21c8f31147e90009dd5031d3 configure.in -2805d1ad2efb0c82a54aa53fd6fb999c5d332909af7a97da8cc47a36d539dfa8dbfca94165cd78dde85aef88db437516f65ed04078dcd1de2e71608a6790ed5c Makefile.in" diff --git a/unmaintained/apache-mod-backtrace/Makefile.in b/unmaintained/apache-mod-backtrace/Makefile.in deleted file mode 100644 index 1f05b116f7..0000000000 --- a/unmaintained/apache-mod-backtrace/Makefile.in +++ /dev/null @@ -1,35 +0,0 @@ -# -# Makefile for mod_backtrace -# -# Based off of Makefile for mod_auth_ntlm_winbind by -# Matt Smith , 2011/01/04 -# - -# Programs - -APXS = @APXS@ -APXS_FLAGS = @APXS_FLAGS@ -SODIR = @SODIR@ -APXSLIBDIR=$(DESTDIR)/$(shell $(APXS) -q LIBEXECDIR) - -# Build the dso -MOD_BACKTRACE_SRC = mod_backtrace.c - -$(SODIR)mod_backtrace.so: $(MOD_BACKTRACE_SRC) - $(APXS) $(APXS_FLAGS) -Wc,-Wall -c -lubacktrace $(MOD_BACKTRACE_SRC) - -install: $(SODIR)mod_backtrace.so - $(APXS) $(APXS_FLAGS) -S LIBEXECDIR=$(APXSLIBDIR) -n backtrace -i $(SODIR)mod_backtrace.so - -# Clean targets -clean: - @rm -f *~ $(MOD_BACKTRACE_SRC:.c=.{la,lo,o,slo}) - @rm -rf $(SODIR) - -realclean: clean - @rm -f config.log - -distclean: realclean - @rm -f config.h Makefile \ - config.status config.cache - @rm -rf autom4te.cache diff --git a/unmaintained/apache-mod-backtrace/configure.in b/unmaintained/apache-mod-backtrace/configure.in deleted file mode 100644 index 60de6023c0..0000000000 --- a/unmaintained/apache-mod-backtrace/configure.in +++ /dev/null @@ -1,46 +0,0 @@ -# Process this file with autoconf to produce a configure script. - -AC_INIT(mod_backtrace.c) - -# Basic stuff - -AC_PROG_CC -AC_PROG_CPP -AC_STDC_HEADERS - -# We use axps to compile source files, which may be in /usr/sbin -AC_ARG_WITH(apxs, -[ --with-apxs=PATH Specify path to apxs], -[ APXS="$withval" ], -[ AC_PATH_PROGS([APXS], [apxs2 apxs],, [$PATH:/usr/sbin]) ]) - -AC_ARG_WITH(apache, -[ --with-apache=PATH Specify path to apache executable], -[ HTTPD="$withval" ], -[ AC_PATH_PROG([HTTPD], [httpd], [/usr/sbin/httpd], [$PATH:/usr/sbin]) ]) - -APACHE_VER=`${HTTPD} -v | grep version` -if echo "$APACHE_VER" | grep -q "/2\." -then - APXS_FLAGS=-DAPACHE2 - SODIR=.libs/ - echo "Building for Apache 2." -else - echo "Building for Apache 1." -fi - -# Check for some headers - -AC_CHECK_HEADERS(stdlib.h unistd.h sys/socket.h sys/time.h grp.h) -AC_CHECK_HEADERS(nss_common.h nss.h) - -# Determine size of basic types - -AC_CHECK_SIZEOF(int,cross) -AC_CHECK_SIZEOF(long,cross) -AC_CHECK_SIZEOF(short,cross) - -# Create Makefile -AC_SUBST(APXS_FLAGS) -AC_SUBST(SODIR) -AC_OUTPUT(Makefile) diff --git a/unmaintained/apache2-mod-sflow/APKBUILD b/unmaintained/apache2-mod-sflow/APKBUILD deleted file mode 100644 index 9bfe298c81..0000000000 --- a/unmaintained/apache2-mod-sflow/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Florian Heigl -# Maintainer: Florian Heigl -pkgname=apache2-mod-sflow -pkgver=1.0.5 -pkgrel=0 -pkgdesc="Apache module to implement logging using sFlow for monitoring of large web clusters." -url="https://code.google.com/p/mod-sflow/" -arch="all" -license="InMon sFlow (http://www.inmon.com/technology/sflowlicense.txt)" -depends="apache2" -# add svn? -makedepends="apache2-dev apr-dev autoconf" -install="" -subpackages="" -source="http://dev.alpinelinux.org/archive/mod-sflow/mod-sflow-$pkgver.tar.gz" - -_builddir="$srcdir"/mod-sflow-$pkgver - -prepare() { - return 0 -} - -snapshot() { - cd "$srcdir" - svn checkout http://mod-sflow.googlecode.com/svn/tags/REL-$pkgver \ - mod-sflow-$pkgver || return 1 - tar -zcf mod-sflow-$pkgver.tar.gz \ - --exclude mod-sflow-$pkgver/.svn \ - mod-sflow-$pkgver || return 1 - scp mod-sflow-$pkgver.tar.gz dev.alpinelinux.org:/archive/mod-sflow/ -} - -build() { - cd "$_builddir" - /usr/bin/apxs -Wc -c mod_sflow.c sflow_api.c -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/lib/apache2 "$pkgdir"/etc/apache2/conf.d - install -D -m755 "$_builddir"/.libs/mod_sflow.so \ - "$pkgdir"/usr/lib/apache2/mod_sflow.so || return 1 - - install -d "$pkgdir"/etc/httpd/conf.d - - cat > "$pkgdir"/etc/httpd/conf.d/sflow.conf < - - SetHandler sflow - - -EOF -} -md5sums="0279b545f433fa8aa5f74647b6ec567f mod-sflow-1.0.5.tar.gz" -sha256sums="5639e6953269afb418514c288614083f1a39d6f58ab8d59d98f0260cf4499673 mod-sflow-1.0.5.tar.gz" -sha512sums="66cb95364d32ca2a5cdfc84f022b14aeb8a6af2eeec899e7a2424ad64063616ff6e349fb4ecae6d6d07c5256d2187a439995c027151ce720e40fae05cbcee270 mod-sflow-1.0.5.tar.gz" diff --git a/unmaintained/apts/APKBUILD b/unmaintained/apts/APKBUILD deleted file mode 100644 index f729e732f8..0000000000 --- a/unmaintained/apts/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Jeff Bilyk -pkgname=apts -pkgver=0.3 -pkgrel=2 -pkgdesc="APTS - Alpine Package Testing Suite" -depends= -makedepends= -source="http://git.alpinelinux.org/cgit/jbilyk/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2 - " -url="http://git.alpinelinux.org/cgit/jbilyk/apts.git/" -arch="noarch" -license=GPL2 - -build() { - echo "Nothing to build, moving on to package" -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - mkdir -p "$pkgdir"/etc/apts - mkdir -p "$pkgdir"/usr/bin - mkdir -p "$pkgdir"/usr/share/$pkgname/tests - mkdir -p "$pkgdir"/usr/share/docs/$pkgname - - install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname - install -m644 -D apts.conf "$pkgdir"/etc/$pkgname/${pkgname}.conf - install -m644 -D README "$pkgdir"/usr/share/docs/$pkgname/README - install -m644 -D missing-tests "$pkgdir"/usr/share/docs/$pkgname/missing-tests - install -m644 -D torvalds-says-linux.mp3 "$pkgdir"/usr/share/$pkgname/torvalds-says-linux.mp3 - install -m644 -D test.rar "$pkgdir"/usr/share/$pkgname/test.rar - for i in `ls tests`; do - install -m644 -D tests/$i "$pkgdir"/usr/share/$pkgname/tests/$i - done -} - -md5sums="58d42b53f2a88b74fc3422be681ce9dd apts-0.3.tar.bz2" -sha256sums="360f9e4232a0ba8f06151b30ca3762ac7e48086eabe9d122c05ebc39adb18932 apts-0.3.tar.bz2" -sha512sums="571b2c89c4747d2b4c2d113c3289a1fce53679fa778c3f4bcedab9e8ce1106beccf7ca7a773ec1d235c96ca37ebdd4e4c656ef3808e941f636476983be4601fd apts-0.3.tar.bz2" diff --git a/unmaintained/arc-theme/APKBUILD b/unmaintained/arc-theme/APKBUILD deleted file mode 100644 index f397c7ec1d..0000000000 --- a/unmaintained/arc-theme/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=arc-theme -_project="horst3180/Arc-theme" -_sha=5955dfd4603983c7dfffa6e903bf3220df60c03e -pkgver=20150603 -pkgrel=0 -pkgdesc="A flat theme with transparent elements" -url="https://github.com/horst3180/Arc-theme" -arch="noarch" -license="GPL" -depends="gtk-murrine-engine" -depends_dev="" -makedepends="$depends_dev automake autoconf libtool coreutils" -install="" -subpackages="$pkgname-gtk2 $pkgname-gtk3" -source="$pkgname-$_sha.tar.gz::https://github.com/$_project/archive/$_sha.tar.gz" - -_builddir="$srcdir"/${_project#*/}-$_sha - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh || return 1 - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-unity \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -gtk2() { - pkgdesc="A GTK2 flat theme with transparent elements" - mkdir -p "$subpkgdir"/usr/share/themes/Arc - mv "$pkgdir"/usr/share/themes/Arc/gtk-2.0 \ - "$subpkgdir"/usr/share/themes/Arc/ || return 1 -} - -gtk3() { - pkgdesc="A GTK3 flat theme with transparent elements" - mkdir -p "$subpkgdir"/usr/share/themes/Arc - mv "$pkgdir"/usr/share/themes/Arc/gtk-3.0 \ - "$subpkgdir"/usr/share/themes/Arc/ || return 1 -} - -md5sums="c0074f11844b2aeabba1f85b5c069c35 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz" -sha256sums="1b62ee973f0b351a7c6ea76bf11c7758deeb89a0c46ce3bfcff63376b4d8ee66 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz" -sha512sums="8462c23e53ad951207b8f6a145dfd9cacc0a3963df5d89a1d1a97de9c01f1872febf2ebf91048c966115b66fcc6b4ef842b9e6c1a6c1113878e39e2f492643b2 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz" diff --git a/unmaintained/arpalert/APKBUILD b/unmaintained/arpalert/APKBUILD deleted file mode 100644 index fa80ca8795..0000000000 --- a/unmaintained/arpalert/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=arpalert -pkgver=2.0.11 -pkgrel=1 -pkgdesc="Monitor ARP changes in ethernet networks" -url="http://www.arpalert.org" -arch="all" -license="GPL2" -depends="" -depends_dev="libpcap-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://www.arpalert.org/src/$pkgname-$pkgver.tar.gz - $pkgname.initd" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --exec-prefix=/usr \ - --sysconfdir=/etc \ - --sharedstatedir=/usr/share \ - --localstatedir=/var \ - --includedir=/usr/include \ - --datarootdir=/usr/share \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname -} - -md5sums="4b2b7682b27c7f260716f59ecfa50ecc arpalert-2.0.11.tar.gz -da046bdcd1dde63930a3353b37e35ddd arpalert.initd" -sha256sums="d3166f0de57729902d84a61626794494c4eac80ee58241d07c813809328e62cd arpalert-2.0.11.tar.gz -c413e956f253120455874c1d94ec24b09d896fa410974aa309eb31468e25306e arpalert.initd" -sha512sums="8593b5f87c8435bc0dfb6b1d48b72705a109425410039341fddb49beddacb30c87e2b30a1f86cca17bb64aa407060ee5b9437ff2801b9869261ed91f6f5e141f arpalert-2.0.11.tar.gz -0f0caf396601d199e649a35e078ab512d67fca020f207a3389968a2c9749fdeca3856359ba3d2650ef1dda5a1d399de39cd3e33a54df12258825646f0a626160 arpalert.initd" diff --git a/unmaintained/arpalert/arpalert.initd b/unmaintained/arpalert/arpalert.initd deleted file mode 100755 index 2567dbab1b..0000000000 --- a/unmaintained/arpalert/arpalert.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/runscript - -depend() { - need net -} - -start() { - ebegin "Starting arpalert" - start-stop-daemon --quiet --start --pidfile /var/run/arpalert.lock --exec /usr/sbin/arpalert -- -d - eend $? -} - -stop() { - ebegin "Stopping arpalert" - start-stop-daemon --quiet --stop --pidfile /var/run/arpalert.lock - eend $? -} - diff --git a/unmaintained/array-info/APKBUILD b/unmaintained/array-info/APKBUILD deleted file mode 100644 index 0ab10ffb6c..0000000000 --- a/unmaintained/array-info/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=array-info -pkgver=0.16 -pkgrel=1 -pkgdesc="Retrieve informations and status from RAID controllers" -url="http://sourceforge.net/projects/array-info/" -license="GPL2+" -arch="all" -depends="" -makedepends="docbook-xsl gzip" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - local _xsl=$(echo /usr/share/xml/docbook/xsl-stylesheets-*/manpages/docbook.xsl) - make prefix=/usr DOCBOOK2XMAN="xsltproc --nonet $_xsl" \ - #build_lib build_plugins abuild-info array-info.1.gz \ -} - -package() { - cd "$_builddir" - make prefix=/usr DESTDIR="$pkgdir" install || return 1 -} - -md5sums="802e9be5e40a5a945956a123fc81f65f array-info_0.16.tar.gz" -sha256sums="800090f8d6008c60a5018e230071b6f5fc9b81f8a72d38dae3242cf1372eee3a array-info_0.16.tar.gz" -sha512sums="a671a503cacf12e4cc5b62a3290b0483eb9b8f80923e051867e0afc5f9b06132e6b1c98f6188fe2cfe41ab7c0ead209dd0a3bd1559a7d72bf0a789c445c242ba array-info_0.16.tar.gz" diff --git a/unmaintained/array-info/array-info-makefile.patch b/unmaintained/array-info/array-info-makefile.patch deleted file mode 100644 index db7c18e450..0000000000 --- a/unmaintained/array-info/array-info-makefile.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.orig Tue Dec 29 13:46:28 2009 -+++ Makefile Tue Dec 29 13:47:38 2009 -@@ -1,5 +1,5 @@ - DESTDIR = --prefix = /usr/local -+prefix = /usr - sbindir = $(prefix)/sbin - pkglibdir = $(prefix)/lib/array-info - mandir = $(prefix)/share/man -@@ -8,8 +8,8 @@ - - INCLUDES = -I./include -I./linuxheaders - --CFLAGS = -g2 -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\" --LDFLAGS = -L./lib -larray-info -ldl -+CFLAGS += -Wall $(INCLUDES) -DARRAY_PLUGIN_PATH=\"$(ARRAY_PLUGIN_PATH)\" -+LDFLAGS += -L./lib -larray-info -ldl - OBJS = array_plugin.o array_utils.o main.o - - ARRAY_PLUGIN_PATH=$(pkglibdir)/plugins diff --git a/unmaintained/asterisk-audio-konf/APKBUILD b/unmaintained/asterisk-audio-konf/APKBUILD deleted file mode 100644 index 37f02fcba2..0000000000 --- a/unmaintained/asterisk-audio-konf/APKBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Contributor: -# Maintainer: Natanael Copa -pkgname=asterisk-audio-konf -_basever=0 -_gitver=101026 -pkgver=${_basever}_git${_gitver} -pkgrel=2 -pkgdesc="A fork of AppKonference focused entirely on audio conferencing" -url="http://github.com/jthomerson/AsteriskAudioKonf/" -arch="" -license="GPL2" -depends="" -makedepends="asterisk-dev" -install="" -subpackages="" -_snapfile="$pkgname-$pkgver.tar.bz2" -source="http://dev.alpinelinux.org/~tteras/$_snapfile" - -_gitver=101026 -_giturl="git://github.com/jthomerson/AsteriskAudioKonf.git" - -_builddir="$srcdir"/$pkgname/konference -snapshot() { - _gitver=$(date +%y%m%d) - pkgver=${_basever}_git$_gitver - _snapfile="$pkgname-$pkgver.tar.bz2" - - if [ -d "$SRCDEST"/$pkgname ]; then - cd "$SRCDEST"/$pkgname - git pull --rebase || return 1 - else - cd "$SRCDEST" - git clone $_giturl $pkgname - fi - cd "$SRCDEST" - tar -jcf $_snapfile $pkgname - - pkgrel=0 - sed -i -e "s/^_gitver=.*/_gitver=${_gitver}/" \ - -e "s/^pkgrel=.*/pkgrel=$pkgrel/" \ - "$startdir"/APKBUILD - checksum -} - -prepare() { - cd "$_builddir" - - # Enable Speex16 support - sed -e '/CPPFLAGS += -DAC_USE_SPEEX16/s/^\# *//' -i Makefile - - #for i in "$srcdir"/*.patch; do - # patch -p1 -i "$i" || return 1 - #done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_PREFIX="$pkgdir" install -} - -md5sums="9f560cae3afc363282db60e0d69c6643 asterisk-audio-konf-0_git101026.tar.bz2" diff --git a/unmaintained/asunder/APKBUILD b/unmaintained/asunder/APKBUILD deleted file mode 100644 index 05fc701d76..0000000000 --- a/unmaintained/asunder/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=asunder -pkgver=2.3 -pkgrel=1 -pkgdesc="A graphical Audio CD ripper and encoder" -url="http://littlesvr.ca/asunder" -arch="all" -license="GPL2" -depends="cdparanoia" -makedepends="libcddb-dev gtk+-dev" -install="" -subpackages="$pkgname-lang" -source="http://littlesvr.ca/asunder/releases/asunder-$pkgver.tar.bz2" - -_builddir="$srcdir"/asunder-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="dd690d8f4c68a2e786c657e08be688d0 asunder-2.3.tar.bz2" -sha256sums="ded2eff22c7e65f46eecd8ad89c6c37c5a032af280e293a59c3e5bb34c0bb05f asunder-2.3.tar.bz2" -sha512sums="fdab3a7767b63d807d7a8d7bb590da0e2229c4da34eba92d3cde0b955aa3cb7a6f45081fe3616576bfd4ed7847aac56c580cb4ecaa9f3bdde9759dd1a75f777d asunder-2.3.tar.bz2" diff --git a/unmaintained/atheme-services/APKBUILD b/unmaintained/atheme-services/APKBUILD deleted file mode 100644 index 392ded93ec..0000000000 --- a/unmaintained/atheme-services/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=atheme-services -pkgver=7.0.5 -pkgrel=1 -pkgdesc="Atheme IRC services" -url="http://www.atheme.net/atheme.html" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev openssl-dev pcre-dev libmowgli-dev>=2" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://www.atheme.net/downloads/atheme-services-$pkgver.tar.bz2 - cc.patch" - -_builddir="$srcdir"/atheme-services-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc/atheme \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-fhs-paths \ - --disable-rpath \ - --with-pcre \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="e9b7ae54374eed559d0a693e3bb34ac0 atheme-services-7.0.5.tar.bz2 -ad2542446b126511c61250d8f6a085d8 cc.patch" -sha256sums="25271eb1e9218ceeec87824dbe90a2bfc59f116e258b6ee803573dfa8c4fcc30 atheme-services-7.0.5.tar.bz2 -d49ad794e1513477bbe69dfe678ab90f6eb496f209a64ca114f7cde2fd64ff03 cc.patch" -sha512sums="dfa27c2d7a90ae9be173ccf6675bec4db92f92f01a9ebb8e8847730f45d159db316d827cbe1f30276dbd7db326529d42f1281e0b6940261992893f0ff36710a5 atheme-services-7.0.5.tar.bz2 -f925ca0d69c79e597bcf322b0b7dbdf9f929166cbb8e62171f0b4674309023eaa679df29f9fdf11ccdacf770dad676db32657f58ea62d066bf9cda5709e55db8 cc.patch" diff --git a/unmaintained/atheme-services/cc.patch b/unmaintained/atheme-services/cc.patch deleted file mode 100644 index 25ca1b47ca..0000000000 --- a/unmaintained/atheme-services/cc.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./buildsys.module.mk.orig 2013-02-27 15:42:02.645844726 +0000 -+++ ./buildsys.module.mk 2013-02-27 15:42:29.722758404 +0000 -@@ -8,7 +8,7 @@ - install: $(PLUGIN) - - .c$(PLUGIN_SUFFIX): -- COMPILER=${CC}; \ -+ COMPILER="${CC}"; \ - COMPILER_FLAGS="-MMD -MP ${CFLAGS} ${PLUGIN_CFLAGS} ${CPPFLAGS} ${PLUGIN_LDFLAGS} ${LDFLAGS} -o $@ $< ${LIBS}"; \ - ${COMPILE_STATUS}; \ - if $${COMPILER} $${COMPILER_FLAGS}; then \ diff --git a/unmaintained/aurena/APKBUILD b/unmaintained/aurena/APKBUILD deleted file mode 100644 index b2c42ffe0e..0000000000 --- a/unmaintained/aurena/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=aurena -_project=thaytan/aurena -_sha=ccc0530a57edf8e86729abaf378779d2e689aabf -pkgver=20150622 -pkgrel=0 -pkgdesc="Aurena distributed media player" -url="https://github.com/thaytan/aurena" -arch="all" -license="GPLv2" -depends="" -depends_dev="glib-dev avahi-dev libsoup-dev py-gobject-dev json-glib-dev - gstreamer1-dev gst-plugins-base1-dev sqlite-dev gtk+3.0-dev" -makedepends="$depends_dev autoconf automake libtool" -install="" -subpackages="$pkgname-simple-client:simple_client" -source="$pkgname-$_sha.tar.gz::https://github.com/$_project/archive/$_sha.tar.gz" - -_builddir="$srcdir"/${_project#*/}-$_sha -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh || return 1 - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -simple_client() { - pkgdesc="Aurena simple client" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/aurena-simple* \ - "$subpkgdir"/usr/bin/ || return 1 -} - -md5sums="6c41811d8a6f4e7499a628d20e822832 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz" -sha256sums="92f4aa89b412ab3221ab90fb610a114a70a549d347b9eb2d4a8f62de4c59dd96 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz" -sha512sums="3ee629fda2e889775fb6c36dd212aa9ecb29354e738cca55a930192a70d422265c148aa4807f4c3a14bb478e0411c25507aeb719d824d641dc32c33e3b335994 aurena-ccc0530a57edf8e86729abaf378779d2e689aabf.tar.gz" diff --git a/unmaintained/baloo-widgets/APKBUILD b/unmaintained/baloo-widgets/APKBUILD deleted file mode 100644 index 6a081dde29..0000000000 --- a/unmaintained/baloo-widgets/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=baloo-widgets -pkgver=4.13.3 -pkgrel=0 -pkgdesc="Widgets for Baloo" -url="https://projects.kde.org/projects/kde/kdelibs/baloo-widgets" -arch="all" -license="LGPL" -depends= -depends_dev="baloo-dev" -makedepends="$depends_dev automoc4 cmake" -install="" -subpackages="$pkgname-dev" -source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="0a59414e29fc71550ee6e239ec2d0bfa baloo-widgets-4.13.3.tar.xz" -sha256sums="94ba17e9d9c1f711f9fd1fffc801d812907f078fe4d929a33c8b6c059408238a baloo-widgets-4.13.3.tar.xz" -sha512sums="3f6d6002de309c13d5b60188898117b21c4e1fed6d646a963f82618b8652afdf1adb75d378c01c0770c3bb439ffe2e2f03dfabc724c0a6490cedb024c3749faa baloo-widgets-4.13.3.tar.xz" diff --git a/unmaintained/baloo/APKBUILD b/unmaintained/baloo/APKBUILD deleted file mode 100644 index 3a82d12117..0000000000 --- a/unmaintained/baloo/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=baloo -pkgver=4.13.3 -pkgrel=0 -pkgdesc="A framework for searching and managing metadata" -url="https://projects.kde.org/projects/kde/kdelibs/baloo" -arch="all" -license="LGPL" -depends= -depends_dev="kdepimlibs-dev kfilemetadata-dev xapian-core-dev" -makedepends="$depends_dev automoc4 cmake" -install="" -subpackages="$pkgname-dev $pkgname-libs" -source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz - no-malloc-xapiandatabase-4.13.3.patch" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="00d818ad48d4ef618e86f5094ebebaa8 baloo-4.13.3.tar.xz -357fadd2779d8243d5c060583ae12aa4 no-malloc-xapiandatabase-4.13.3.patch" -sha256sums="c7467bf518dc23e319b581dbc1dff84cd8d0b03516a1d25bde0aa0cd7bbad043 baloo-4.13.3.tar.xz -4bded5e80c9e49dff0a8c2b767b63a39d46f380cb2ab99397d77f0557d236458 no-malloc-xapiandatabase-4.13.3.patch" -sha512sums="4f476ca4b1462b89c0f12da297cf629cf23bcd6aceb2c1d83caf45e89a55fb20d6effcbc4ed4c9b08c24877f899beb7aa462b2f15e0bb5aba719e613f768862d baloo-4.13.3.tar.xz -b3b9f966acf72da52df378ee9885c3b5d66d6d7bd976fa3b7b1a0a19e69fdd7fa1a2261438e247c4a6dc8c125fb25b6d41e189b163d171d99b7bc283e4266c99 no-malloc-xapiandatabase-4.13.3.patch" diff --git a/unmaintained/baloo/no-malloc-xapiandatabase-4.13.3.patch b/unmaintained/baloo/no-malloc-xapiandatabase-4.13.3.patch deleted file mode 100644 index 9c7390d26d..0000000000 --- a/unmaintained/baloo/no-malloc-xapiandatabase-4.13.3.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- baloo-4.13.3/src/xapian/xapiandatabase.cpp.orig -+++ baloo-4.13.3/src/xapian/xapiandatabase.cpp -@@ -140,7 +140,7 @@ - m_docsToAdd.clear(); - m_docsToRemove.clear(); - --#ifdef __GNUC__ -+#if defined (__GLIBC__) - malloc_trim(0); - #endif - } diff --git a/unmaintained/bcfg2/APK.py b/unmaintained/bcfg2/APK.py deleted file mode 100644 index 9b28d52076..0000000000 --- a/unmaintained/bcfg2/APK.py +++ /dev/null @@ -1,58 +0,0 @@ -"""This provides Bcfg2 support for alpinelinux APK packages.""" -__revision__ = '$Revision$' - -import Bcfg2.Client.Tools - -class APK(Bcfg2.Client.Tools.PkgTool): - """apk package support.""" - name = 'APK' - __execs__ = ["/sbin/apk"] - __handles__ = [('Package', 'apk')] - __req__ = {'Package': ['name', 'version']} - pkgtype = 'apk' - pkgtool = ("/sbin/apk add %s", ("%s", ["name"])) - - def __init__(self, logger, setup, config): - Bcfg2.Client.Tools.PkgTool.__init__(self, logger, setup, config) - self.installed = {} - self.RefreshPackages() - - def RefreshPackages(self): - """Refresh memory hashes of packages.""" - names = self.cmd.run("/sbin/apk info")[1] - nameversions = self.cmd.run("/sbin/apk info -v")[1] - for pkg in zip(names, nameversions): - pkgname = pkg[0] - version = pkg[1][len(pkgname)+1:] - self.logger.debug(" pkgname: %s\n version: %s" % (pkgname, version)) - self.installed[pkgname] = version - - def VerifyPackage(self, entry, modlist): - """Verify Package status for entry.""" - if not 'version' in entry.attrib: - self.logger.info("Cannot verify unversioned package %s" % - (entry.attrib['name'])) - return False - - if entry.attrib['name'] in self.installed: - if entry.attrib['version'] == 'auto' or self.installed[entry.attrib['name']] == entry.attrib['version']: - #if not self.setup['quick'] and \ - # entry.get('verify', 'true') == 'true': - #FIXME: We should be able to check this once - # http://trac.macports.org/ticket/15709 is implemented - return True - else: - self.loggger.info( " pkg %s at version %s, not %s" % (entry.attrib['name'],self.installed[entry.attrib['name']],entry.attrib['version']) ) - entry.set('current_version', self.installed[entry.get('name')]) - return False - entry.set('current_exists', 'false') - return False - - def RemovePackages(self, packages): - """Remove extra packages.""" - names = [pkg.get('name') for pkg in packages] - self.logger.info("Removing packages: %s" % " ".join(names)) - self.cmd.run("/sbin/apk del %s" % \ - " ".join(names)) - self.RefreshPackages() - self.extra = self.FindExtraPackages() diff --git a/unmaintained/bcfg2/APKBUILD b/unmaintained/bcfg2/APKBUILD deleted file mode 100644 index 21c4d0041f..0000000000 --- a/unmaintained/bcfg2/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Cameron Banta -# Maintainer: Fabian Affolter -pkgname=bcfg2 -pkgver=1.3.5 -pkgrel=0 -pkgdesc="A configuration management tool" -url="http://bcfg2.org" -arch="noarch" -license="BSD" -depends="python py-lxml" -makedepends="python-dev py-setuptools" -install="" -subpackages="$pkgname-doc $pkgname-server" -source="ftp://ftp.mcs.anl.gov/pub/bcfg/$pkgname-$pkgver.tar.gz - bcfg2-server.initd" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --root="$pkgdir" || return 1 -} - -server() { - depends="python bcfg2 py-lxml openssl" - - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/bcfg2-* "$subpkgdir"/usr/bin/ - mkdir -p "$subpkgdir"/usr/share - mv "$pkgdir"/usr/share/bcfg2 "$subpkgdir"/usr/share/ - install -m755 -D bcfg2-server.initd "$subpkgdir"/etc/init.d/$subpkgname -} - -md5sums="35729ef9ee75cb0215e89f2578b9c1b7 bcfg2-1.3.5.tar.gz -9a13baa6f40267ff9dbec574967c5068 bcfg2-server.initd" -sha256sums="67af2ea039c159a88ea29105f40589b677a08359101b428afbab6e1fec117c06 bcfg2-1.3.5.tar.gz -c23385c66d5a472d3a322873b2873301db8f674af9e03c24105158c27ce0831c bcfg2-server.initd" -sha512sums="cd6b7785231e112fdb719747682d9d0f09e6dfc9bc24b8c44f07537b729b98e8bbab2106325ac04921ee2acdcf92077b3d716f9820457ab7091371a74a640190 bcfg2-1.3.5.tar.gz -8ad40aedeaa5084793a624599ff4ec61a1b6489854b5533504baf456c9c39f97a4c80a521909c7386c481d2417ad59f28735cfbeedf86468634223695f1dc2fc bcfg2-server.initd" diff --git a/unmaintained/bcfg2/bcfg2-server.initd b/unmaintained/bcfg2/bcfg2-server.initd deleted file mode 100644 index 5168f75822..0000000000 --- a/unmaintained/bcfg2/bcfg2-server.initd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# -# bcfgd - bcfg configuration daemon -# -# - -depend () { - need net -} - -start () { - ebegin "Starting bcfg2-server" - start-stop-daemon --start --quiet --pidfile /var/run/bcfg2-server.pid \ - --startas /usr/bin/bcfg2-server -- -D /var/run/bcfg2-server.pid - eend $? "Failed to start bcfg2-server" -} - -stop () { - ebegin "Stopping bcfg2-server" - start-stop-daemon --stop --quiet --pidfile /var/run/bcfg2-server.pid \ - --signal INT - eend $? "Failed to stop bcfg2-server" -} diff --git a/unmaintained/biblesync/APKBUILD b/unmaintained/biblesync/APKBUILD deleted file mode 100644 index 9eaa1b7ed6..0000000000 --- a/unmaintained/biblesync/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Isaac Dunham -# Maintainer: Isaac Dunham -pkgname=biblesync -pkgver=1.1.2 -pkgrel=1 -pkgdesc="Library for multicasting Bible navigation used by Xiphos" -url="sf.net/p/gnomesword" -arch="all" -license="Public domain" -depends="" -depends_dev="util-linux-dev" -makedepends="cmake $depends_dev gettext-dev linux-headers" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/project/gnomesword/BibleSync/$pkgver/biblesync-$pkgver.tar.gz" - -_builddir="$srcdir"/biblesync-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - || return 1 -# --build=$CBUILD -# --host=$CHOST - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="25bc063de3da2fc087954c746714f735 biblesync-1.1.2.tar.gz" -sha256sums="886e1ac165b8900254c00a182fa34e3680ef3aa25051418470f15ea09ac02005 biblesync-1.1.2.tar.gz" -sha512sums="7725c8228e2dff79edaf065ff4d4816a6cf214d1d874817345cc4154142144bce479ca1ae871053886bff4f6610715a27bce81c25c2a636444d5873e93bfdc62 biblesync-1.1.2.tar.gz" diff --git a/unmaintained/blists/APKBUILD b/unmaintained/blists/APKBUILD deleted file mode 100644 index e900f263c6..0000000000 --- a/unmaintained/blists/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=blists -pkgver=1.0 -pkgrel=0 -pkgdesc="Web interface to mailing list archives" -url="http://www.openwall.com/blists/" -arch="all" -license="BSD" -depends= -makedepends= -install= -subpackages= -source="http://www.openwall.com/blists/blists-$pkgver.tar.gz" - -_builddir="$srcdir"/blists-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -D bit "$pkgdir"/usr/bin/bit - install -D bindex "$pkgdir"/usr/bin/bindex -} - -md5sums="bd84e3793ec05d3910631e7b55e32630 blists-1.0.tar.gz" diff --git a/unmaintained/bsnes/APKBUILD b/unmaintained/bsnes/APKBUILD deleted file mode 100644 index d648a9dedc..0000000000 --- a/unmaintained/bsnes/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=bsnes -pkgver=0.91 -_x=${pkgver%.*} -_y=${pkgver#*.} -_pkgver="v${_x}${_y}" -pkgrel=1 -pkgdesc="high accuracy SNES emulator" -url="http://byuu.org/bsnes/" -arch="x86 x86_64" -license="GPL" -depends= -depends_dev="qt-dev openal-soft-dev sdl-dev alsa-lib-dev mesa-dev libao-dev - libxv-dev gtk+-dev" -makedepends="$depends_dev" -install="" -subpackages= -source="http://bsnes.googlecode.com/files/${pkgname}_${_pkgver}-source.tar.xz - no-pulseaudio.patch - define-disassembler_read-relb.patch - " - -_builddir="${srcdir}/${pkgname}_${_pkgver}-source/bsnes" -prepare() { - local i - cd "$_builddir/.." - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - # remove sudo from makefiles - # don't install stuff in the buildbot user's homedir - find -name 'Makefile' | xargs sed -i -e 's/sudo //' -e '/~\/\.config/d' -} - -build() { - cd "$_builddir" - make compiler=gcc prefix=/usr profile=performance || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" prefix=/usr profile=performance install || return 1 -} - -md5sums="ba53212c56990e83d7770393c4e2d173 bsnes_v091-source.tar.xz -037fb1b2949957daf1942ff3abc4deed no-pulseaudio.patch -957204062ed4634bd83345aa597666c4 define-disassembler_read-relb.patch" diff --git a/unmaintained/bsnes/define-disassembler_read-relb.patch b/unmaintained/bsnes/define-disassembler_read-relb.patch deleted file mode 100644 index 257ff093c6..0000000000 --- a/unmaintained/bsnes/define-disassembler_read-relb.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/bsnes/snes/alt/smp/smp.hpp b/bsnes/snes/alt/smp/smp.hpp -index f81c454..ad04d3e 100755 ---- a/bsnes/sfc/alt/smp/smp.hpp -+++ b/bsnes/sfc/alt/smp/smp.hpp -@@ -22,6 +22,8 @@ public: - ~SMP(); - - void disassemble_opcode(char *output, uint16 addr); -+ uint8 disassemble_read(uint16); -+ uint16 relb(int8, int); - - //private: - struct Flags { diff --git a/unmaintained/bsnes/no-pulseaudio.patch b/unmaintained/bsnes/no-pulseaudio.patch deleted file mode 100644 index 24fe38c92a..0000000000 --- a/unmaintained/bsnes/no-pulseaudio.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/bsnes/ui/Makefile b/bsnes/ui/Makefile -index 8b9a1a6..11e7b99 100755 ---- a/bsnes/target-ethos/Makefile -+++ b/bsnes/target-ethos/Makefile -@@ -11,7 +11,7 @@ ui_objects += $(if $(call streq,$(platform),win),resource) - # platform - ifeq ($(platform),x) - ruby := video.glx video.xv video.sdl -- ruby += audio.alsa audio.openal audio.oss audio.pulseaudio audio.pulseaudiosimple audio.ao -+ ruby += audio.alsa audio.openal audio.oss audio.ao - ruby += input.sdl input.x - else ifeq ($(platform),osx) - ruby := diff --git a/unmaintained/bugzilla/APKBUILD b/unmaintained/bugzilla/APKBUILD deleted file mode 100644 index b4c66b2f01..0000000000 --- a/unmaintained/bugzilla/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=bugzilla -pkgver=4.4 -pkgrel=0 -pkgdesc="A bug tracker" -url="http://www.bugzilla.org" -arch="noarch" -license="MPL 2.0" -depends="" -depends_dev="perl perl-timedate perl-datetime perl-email-abstract \ - perl-email-address perl-email-date-format \ - perl-email-messageid perl-email-mime perl-email-mime-attachment-stripper \ - perl-email-mime-contenttype perl-email-mime-encodings \ - perl-email-reply perl-email-sender perl-email-simple perl-patchreader \ - perl-ldap perl-soap-lite perl-authen-sasl \ - perl-xml-twig perl-html-scrubber perl-radiusperl perl-template-toolkit" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-$pkgver.tar.gz" - -_builddir="$srcdir" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - install -d -m0755 "$pkgdir"/usr/share/webapps - cp -a $pkgname-$pkgver "$pkgdir"/usr/share/webapps - rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzr - rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzrignore -} -md5sums="88fc3e1ec2ed37973dd134032168a0e7 bugzilla-4.4.tar.gz" -sha256sums="709e1b07ca23a91fbf5fb3d34645a8b574af39034b216daa1811effd02ebd72e bugzilla-4.4.tar.gz" -sha512sums="3ae45ebca5b3faf0d416d26b5f0e759067837e09c38f137aeea49d1ebfe8e9277a7d5337b13f54484c959ad86cd36e05c2f592c6d759dc302a92cd2993b1622f bugzilla-4.4.tar.gz" diff --git a/unmaintained/burp/APKBUILD b/unmaintained/burp/APKBUILD deleted file mode 100644 index 16275d3a6d..0000000000 --- a/unmaintained/burp/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=burp -pkgver=1.4.32 -pkgrel=0 -pkgdesc="Backup and resore program" -url="http://burp.grke.net/" -arch="all" -license="AGPLv3" -depends= -depends_dev="librsync-dev zlib-dev openssl-dev" -makedepends="$depends_dev gettext-dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/burp/burp-$pkgver/burp-$pkgver.tar.bz2 - librsync-1.0.0.patch - " - -_builddir="$srcdir"/burp -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make -C src || return 1 - make NO_ECHO= || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="d2cd5bb6f8266e7d2b0350157bedc480 burp-1.4.32.tar.bz2 -ae7640202c3c36ee3b302d0551cedd59 librsync-1.0.0.patch" -sha256sums="3f1aa69d0a8dcc472f789cc4d41aed449ec9b9e79d2c61dd16d270b34c34617e burp-1.4.32.tar.bz2 -1341e72efd8a3cc4b98c7508ec3404ab6735b21722a569297abb4b8354ee3612 librsync-1.0.0.patch" -sha512sums="020947ab4f957a3dc99d65dc9197c6a65f205756b55ff2dfc4c3340e28c88f1b6ddaf579373c969c6b1af1050be8af0bc3756281a0b3a1ea9ff5b775aaed29ae burp-1.4.32.tar.bz2 -f866e5caebb69bea812f662458e824191206abbdc15a15b379df374c32cedcddb260c246d201c8eb33f9965a74e00ffb750912de90e1d991b614785f9868df8f librsync-1.0.0.patch" diff --git a/unmaintained/burp/librsync-1.0.0.patch b/unmaintained/burp/librsync-1.0.0.patch deleted file mode 100644 index 80d7edb08e..0000000000 --- a/unmaintained/burp/librsync-1.0.0.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- ./src/backup_phase2_server.c.orig -+++ ./src/backup_phase2_server.c -@@ -483,7 +483,11 @@ - free(curpath); - - blocklen=get_librsync_block_len(cb->endfile); -+#ifdef RS_DEFAULT_STRONG_LEN - if(!(p1b->sigjob=rs_sig_begin(blocklen, RS_DEFAULT_STRONG_LEN))) -+#else -+ if(!(p1b->sigjob=rs_sig_begin(blocklen, 8, RS_MD4_SIG_MAGIC))) -+#endif - { - logp("could not start signature job.\n"); - return -1; ---- ./src/backup_phase4_server.c.orig -+++ ./src/backup_phase4_server.c -@@ -38,7 +38,7 @@ - } - result=rs_sig_gzfile(dstfp, dstzp, sigp, - get_librsync_block_len(endfile), -- RS_DEFAULT_STRONG_LEN, NULL, cntr); -+ 8, NULL, cntr); - gzclose_fp(&dstzp); - close_fp(&dstfp); - if(close_fp(&sigp)) ---- ./src/rs_buf.c.orig -+++ ./src/rs_buf.c -@@ -497,7 +497,7 @@ - rs_job_t *job; - rs_result r; - -- job = rs_sig_begin(new_block_len, strong_len); -+ job = rs_sig_begin(new_block_len, strong_len, RS_MD4_SIG_MAGIC); - r = rs_whole_gzrun(job, old_file, old_zfile, sig_file, NULL, cntr); - /* - if (stats) diff --git a/unmaintained/cantata/APKBUILD b/unmaintained/cantata/APKBUILD deleted file mode 100644 index 71eebd37b1..0000000000 --- a/unmaintained/cantata/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Olivier Mauras -# Maintainer: -pkgname=cantata -pkgver=1.5.2 -pkgrel=0 -pkgdesc="Qt based graphical client for MPD" -url="https://code.google.com/p/cantata/" -arch="all" -license="GPLv3" -depends="" -depends_dev="qt-dev ffmpeg-dev taglib-dev mpg123-dev" -makedepends="cmake $depends_dev" -install="" -subpackages="" -source="$pkgname-$pkgver.tar.bz2::https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60LV9rM3RMQk85Z1E" - -_builddir=$srcdir/$pkgname-$pkgver -prepare() { - # Apply patches - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - mkdir build - cd build - cmake .. - make -} - -package() { - cd "$_builddir/build" - make DESTDIR="$pkgdir" install || return 1 - mv $pkgdir/usr/local/share/* $pkgdir/usr/share/ - rm -r $pkgdir/usr/local -} - -md5sums="0b29d30f1b03ecac23eb608309fbeaa1 cantata-1.5.2.tar.bz2" -sha256sums="4de985b74597c4c3936982437ea562711d08c37d318b61e04f5c07af55f52c5f cantata-1.5.2.tar.bz2" -sha512sums="84314758a936d5795a05cade68fe86df90c83b7fae78152bd60ae8b77d3cb71db6e37f0e30d49aba60b5205aea794729357051819d2d806e0a21701a1e0c78ab cantata-1.5.2.tar.bz2" - diff --git a/unmaintained/captagent/APKBUILD b/unmaintained/captagent/APKBUILD deleted file mode 100644 index 4e5b14de0c..0000000000 --- a/unmaintained/captagent/APKBUILD +++ /dev/null @@ -1,69 +0,0 @@ -# Contributor: Leonardo Arena -# Contributor: Natanael Copa -# Maintainer: -pkgname=captagent -pkgver=6.0.1 -pkgrel=1 -pkgdesc="Standalone agent for HOMER, a SIP capture and monitoring system" -url="https://github.com/sipcapture/captagent" -arch="x86 x86_64" -license="GPL3" -depends= -depends_dev= -makedepends="$depends_dev autoconf automake libtool bison libpcap-dev flex - flex-dev flex-libs json-c-dev linux-headers expat-dev" -install= -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/captagent/archive/v$pkgver.tar.gz - build.patch - default-config.patch - captagent.initd - " - - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done - ./build.sh -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - install -D -m0664 "$_builddir"/conf/database_hash.xml \ - "$pkgdir"/etc/captagent/database_hash.xml - libtool --finish "$pkgdir"/usr/lib/captagent/modules - - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname -} - -md5sums="d4039723cc7ea66c33d911ae1d0f182a captagent-6.0.1.tar.gz -fa80597864c1d0f2078780578cce4e71 build.patch -65c7c46864ebff66ccd25033a6e195fd default-config.patch -e08448976f57ef7dd80c628e1e4866a4 captagent.initd" -sha256sums="88e92a0d71b7d39fcbd52e947a98f42f62a54dc94ad857c68f9b05349b5409ec captagent-6.0.1.tar.gz -7f80b504d6d281d6727ffa65f87dff53a7c36c0144cd6fb0ec37863fee53d091 build.patch -37cce9bed56e29621ab8fdd1f1819744823cfcc6cb155d799b2180e2e0f3b0e3 default-config.patch -a32508e6908f95975571cb471dbc79e64678ef26a06925ffa88bbb3d519a53a3 captagent.initd" -sha512sums="ef78bb2bb0f8c72b54116ec2757e0b604b21010161526c4223c2159b2e37c6526b5ebe8eeea7c553f3550c082797894fe3673381e07e0b927627f70d7ebfbef0 captagent-6.0.1.tar.gz -b7188f5f14aadad7bbbb1819b40c245eb5e5f4cc5b92582771bf9f494630b1e39d5c3cb8e51ef250b55ed40309c3e38d2be8281b0b998b2613ca8a168808a746 build.patch -0808b9a2564618f2a7df695101cb713929ae52a77df4709608d4e6e8e38d3cadb75770575d2275347eda0d0521a695ed71785f833459e838ad73b4525d5a10b0 default-config.patch -ab9055cbaa8fffc9ab7fec3f12438350283ab8f039ada7589bbfa1d07c81dac142a7ee46f11652d2a1fc8c9ecb4eb771dcf3f4cd46c5174f215ac6647c6eaafe captagent.initd" diff --git a/unmaintained/captagent/build.patch b/unmaintained/captagent/build.patch deleted file mode 100644 index c4976559cc..0000000000 --- a/unmaintained/captagent/build.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 525738c..4fbfa5b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -147,15 +147,8 @@ fi - AC_CHECK_LIB(expat, XML_ParserCreate, , [AC_MSG_ERROR([captagent requires but cannot find libexpat])]) - AC_CHECK_LIB(pcap, pcap_open_live, ,[AC_CHECK_LIB(wpcap, pcap_open_live, ,[AC_MSG_ERROR([captagent requires but cannot find libpcap])])]) - --AC_CHECK_LIB(json, json_object_get,[ JSON_LIBS="-ljson" ],[ --AC_CHECK_LIB(json-c, json_object_get,[ JSON_LIBS="-ljson-c" ],[ --echo "ERROR: You need libjson to build CaptAgent API module."; --echo " Verify that you have libjson.a or libjson.so installed"; --echo " If it is in a different directory, try using"; --echo " the LDFLAGS to set its proper path."; --AC_MSG_ERROR([Fatal: libjson not found.])])]) -- --AC_CHECK_LIB(fl, yywrap, [ FLEX_LIBS="-lfl" ] , [AC_MSG_ERROR([captagent requires but cannot find libfl])]) -+PKG_CHECK_MODULES(JSON, json-c) -+FLEX_LIBS="-lfl" - - AC_SUBST(PTHREAD_LIBS) - AC_SUBST(DL_LIBS) -diff --git a/src/modules/transport/json/Makefile.am b/src/modules/transport/json/Makefile.am -index 5778a67..db5078e 100644 ---- a/src/modules/transport/json/Makefile.am -+++ b/src/modules/transport/json/Makefile.am -@@ -4,7 +4,7 @@ SUBDIRS = . - noinst_HEADERS = transport_json.h - # - transport_json_la_SOURCES = transport_json.c --transport_json_la_CFLAGS = -Wall ${MODULE_CFLAGS} -+transport_json_la_CFLAGS = -Wall ${MODULE_CFLAGS} ${JSON_CFLAGS} - transport_json_la_LDFLAGS = -module -avoid-version - transport_json_la_LIBADD = ${PTHREAD_LIBS} ${EXPAT_LIBS} ${JSON_LIBS} - transport_json_laconfdir = $(confdir) -diff --git a/src/modules/transport/json/transport_json.c b/src/modules/transport/json/transport_json.c -index 4c7ed4b..c6d3691 100644 ---- a/src/modules/transport/json/transport_json.c -+++ b/src/modules/transport/json/transport_json.c -@@ -41,7 +41,7 @@ - #include - #include - #include --#include -+#include - - #ifndef __FAVOR_BSD - #define __FAVOR_BSD diff --git a/unmaintained/captagent/captagent.initd b/unmaintained/captagent/captagent.initd deleted file mode 100644 index 0b182e6403..0000000000 --- a/unmaintained/captagent/captagent.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run - -command=/usr/bin/captagent -pidfile=/var/run/${SVCNAME}.pid -conf=/etc/captagent/${SVCNAME}.xml - -#start_stop_daemon_args="--make-pidfile" - -depend() { - need net - after firewall -} - -start_pre() { - #checkpath --directory ${pidfile%/*} - command_args="-d -f $conf" -} - diff --git a/unmaintained/captagent/default-config.patch b/unmaintained/captagent/default-config.patch deleted file mode 100644 index 00a79a2021..0000000000 --- a/unmaintained/captagent/default-config.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/conf/captagent.xml -+++ b/conf/captagent.xml -@@ -9,7 +9,7 @@ - - - -- -+ - - - diff --git a/unmaintained/ccnet/APKBUILD b/unmaintained/ccnet/APKBUILD deleted file mode 100644 index 3ad85e7718..0000000000 --- a/unmaintained/ccnet/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: -# Maintainer: Natanael Copa -pkgname=ccnet -pkgver=5.0.7 -pkgrel=0 -pkgdesc="framework for writing networked applications in C" -url="https://github.com/haiwen/ccnet/" -arch="all" -license="GPL3" -makedepends="autoconf automake bash glib-dev jansson-dev openssl-dev libevent-dev - libsearpc-dev libtool libzdb-dev python-dev sqlite-dev util-linux-dev vala" -source="$pkgname-$pkgver.tar.gz::https://github.com/haiwen/ccnet/archive/v${pkgver}.tar.gz" -subpackages="$pkgname-dev py-$pkgname:py $pkgname-libs" - -_builddir="${srcdir}/${pkgname}-${pkgver}" - -prepare() { - local pf - cd "${_builddir}" - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done -} - -build() { - cd "${_builddir}" - ./autogen.sh - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-python \ - --enable-server - make || return 1 -} - -package() { - cd "${_builddir}" - make DESTDIR="${pkgdir}" install || return 1 - rm "${pkgdir}"/usr/lib/libccnet.la -} - -py() { - arch="noarch" - cd "$_builddir" - pkgdesc="$pkgname python bindings" - install -d "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ -} - -md5sums="14f2cc30c2655aadaddeaec48a5d0a36 ccnet-5.0.7.tar.gz" -sha256sums="1e1c670a85619b174328a15925a050c7a8b323fecd13434992332f5c15e05de1 ccnet-5.0.7.tar.gz" -sha512sums="31b980cf0e5187f6769c05c97ede77e4d6ad798ec3ea0fc2c7679e8ef92982683b772811db5435b0be2686b19e8b7dc8f8c8a8f15e5d89ae1de44842e2000954 ccnet-5.0.7.tar.gz" diff --git a/unmaintained/cdpsnarf/APKBUILD b/unmaintained/cdpsnarf/APKBUILD deleted file mode 100644 index a77a43beba..0000000000 --- a/unmaintained/cdpsnarf/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=cdpsnarf -pkgver=0.1.6 -pkgrel=0 -pkgdesc="Network sniffer exclusively written to extract information from CDP packets" -url="https://github.com/Zapotek/cdpsnarf" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev libpcap-dev" -install="" -subpackages="" -source="$pkgname-$pkgver.zip::https://github.com/Zapotek/$pkgname/archive/v$pkgver.zip" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -Dm755 cdpsnarf "$pkgdir"/usr/bin/cdpsnarf - return 0 -} - -md5sums="97061a7d01bcb249c7e8b9e49bdf390e cdpsnarf-0.1.6.zip" -sha256sums="ff53991d43966e311d256e4cc64e31e4f0c90270bb466bdef020920801e18bd9 cdpsnarf-0.1.6.zip" -sha512sums="3736c4862c62505c48f26dc01c49a83d792427fadb0291cced7fbef6a2fbb3b3278afb7093f5504dc7fcfd5a01b43df12f23833a73270aeae4200e651292f4de cdpsnarf-0.1.6.zip" diff --git a/unmaintained/cdrdao/APKBUILD b/unmaintained/cdrdao/APKBUILD deleted file mode 100644 index 9823e9e5fe..0000000000 --- a/unmaintained/cdrdao/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=cdrdao -pkgver=1.2.3 -pkgrel=0 -pkgdesc="Records audio/data CD-Rs in disk-at-once (DAO) mode" -url="http://cdrdao.sourceforge.net/" -arch="all" -license="GPL" -depends="" -depends_dev="libmad-dev lame-dev libvorbis-dev libao-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://freefr.dl.sourceforge.net/project/cdrdao/cdrdao/$pkgver/cdrdao-$pkgver.tar.bz2 - cdrdao-1.2.3-stat.patch" - -_builddir="$srcdir"/cdrdao-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --with-xdao \ - --with-lame \ - --with-ogg-support \ - --with-mp3-support \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="8d15ba6280bb7ba2f4d6be31d28b3c0c cdrdao-1.2.3.tar.bz2 -0fce05542ebad283f36fa1c4d62992a0 cdrdao-1.2.3-stat.patch" -sha256sums="8193cb8fa6998ac362c55807e89ad0b3c63edc6b01afaeb3d5042519527fb75e cdrdao-1.2.3.tar.bz2 -ca89b7c56a376d5a9574c5757f0d372236a895334f81867ff5e1703806565bbc cdrdao-1.2.3-stat.patch" -sha512sums="36b14180acf476de062f5f31e2b9dece39e3cc7a84552e80a6714931fa35d6090ec90ddfcdbd2651d690be8ce3fc78d483aa13856c3c311bcc2f571f0040adf6 cdrdao-1.2.3.tar.bz2 -83d6a76f9b6c3e3e1522fe1fb64e50296f42c51d6f0b505d68adc3b7a85460d667ecf3f0998ba2ea5444dd5cd398e81f591ef9ca3bb4b5b167ce6e59234a5094 cdrdao-1.2.3-stat.patch" diff --git a/unmaintained/cdrdao/cdrdao-1.2.3-stat.patch b/unmaintained/cdrdao/cdrdao-1.2.3-stat.patch deleted file mode 100644 index 5a68e7130d..0000000000 --- a/unmaintained/cdrdao/cdrdao-1.2.3-stat.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat cdrdao-1.2.3/dao/ScsiIf-linux.cc ---- cdrdao-1.2.3/dao/ScsiIf-linux.cc.stat 2010-01-20 20:11:36.000000000 +0100 -+++ cdrdao-1.2.3/dao/ScsiIf-linux.cc 2010-01-20 20:14:07.000000000 +0100 -@@ -19,6 +19,9 @@ - - #include - -+#include -+#include -+ - #include - #include - #include diff --git a/unmaintained/celt/APKBUILD b/unmaintained/celt/APKBUILD deleted file mode 100644 index 765c9d5ae2..0000000000 --- a/unmaintained/celt/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=celt -pkgver=0.11.1 -pkgrel=0 -pkgdesc="An audio codec for use in low-delay speech and audio communication" -url="http://www.celt-codec.org/" -arch="all" -license="BSD" -depends="" -makedepends="libogg-dev" -install="" -subpackages="$pkgname-dev" -source="http://downloads.us.xiph.org/releases/celt/celt-$pkgver.tar.gz" - -_builddir="$srcdir"/celt-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="94fe4acd241da8702c295bcd13a555e6 celt-0.11.1.tar.gz" diff --git a/unmaintained/chan-sccp/APKBUILD b/unmaintained/chan-sccp/APKBUILD deleted file mode 100644 index 276cf7488d..0000000000 --- a/unmaintained/chan-sccp/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -pkgname=chan-sccp -pkgver=4.2.2 -pkgrel=0 -release=6497 -pkgdesc="Chan-SCCP channel driver for Asterisk" -url="http://chan-sccp-b.sourceforge.net/"; -arch="all" -license="GPL2" -depends="" -makedepends="asterisk-dev" -install="" -subpackages="${pkgname}-gen_sccpconf ${pkgname}-doc" -source="http://downloads.sourceforge.net/project/chan-sccp-b/V${pkgver:0:1}/Chan_SCCP-${pkgver}_STABLE_r${release}.tar.gz" -_builddir="$srcdir"/Chan_SCCP-${pkgver}_STABLE_r${release} - -build() { - cd "$_builddir" - ./configure --prefix=/usr - make || return 1 - cd contrib/gen_sccpconf - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -gen_sccpconf() { - pkgdesc="SCCP Config Generator" - cd "$_builddir"/contrib/gen_sccpconf - make DESTDIR="$subpkgdir" install || return 1 - rm -fr "$subpkgdir"/usr/share -} - -doc() { - arch="noarch" - cd "$_builddir"/conf - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname - cp -r . "$subpkgdir"/usr/share/doc/$pkgname - chmod -x "$subpkgdir"/usr/share/doc/$pkgname/*.sql -} -md5sums="49aaffef2efeb5b67d24b7e977adf03d Chan_SCCP-4.2.2_STABLE_r6497.tar.gz" -sha256sums="73bb1aec157f78b1823f4fb474d3a4981beefa01be1dcfb934a6d10117f291fc Chan_SCCP-4.2.2_STABLE_r6497.tar.gz" -sha512sums="643150456e03ce659e34bbf97f18cab132cc4ac17059a8c9ea1e93faab832464183a43959a59e48292a563e30a2395c273c8150d36e49c1efa37037271a3de05 Chan_SCCP-4.2.2_STABLE_r6497.tar.gz" diff --git a/unmaintained/cherokee/APKBUILD b/unmaintained/cherokee/APKBUILD deleted file mode 100644 index 771046b9eb..0000000000 --- a/unmaintained/cherokee/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Łukasz Jendrysik -# Contributor: Mika Havela -# Maintainer: William Pitcock -pkgname=cherokee -pkgver=1.2.104 -pkgrel=1 -pkgdesc="A very fast, flexible and easy to configure Web Server" -url="http://www.cherokee-project.com/" -arch="all" -license="GPL2" -depends="pcre rrdtool python" -depends_dev="openssl-dev gettext-dev ffmpeg-dev geoip-dev" -makedepends="$depends_dev automake autoconf libtool" -install= -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="$pkgname-$pkgver.tar.gz::https://github.com/cherokee/webserver/archive/v$pkgver.tar.gz - cherokee.initd - cherokee.confd - " - -_builddir="$srcdir"/webserver-$pkgver - -build() { - cd "$_builddir" - ./autogen.sh || return 1 - ./configure --prefix=/usr \ - --localstatedir=/var \ - --sysconfdir=/etc \ - --with-wwwroot=/var/www \ - --enable-os-string="Alpine Linux" - make || return 1 -} - -package() { - cd "$_builddir" - - make -j1 DESTDIR="$pkgdir" install || return 1 - - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 -} - -md5sums="2266dd801dc0ccb1b81a38919ad322f4 cherokee-1.2.104.tar.gz -8cc44726585fa04a2772a0c3faa6a72d cherokee.initd -bd6a840f72c630ce1eaabe058097584f cherokee.confd" -sha256sums="5cbd00ff48503eaf90356b2975e311c02977f9166927e57fc23f541a109efd98 cherokee-1.2.104.tar.gz -ce60a8953fe78bf0c5f688d324a3433382709b1d77d78f1074df73366f9cd70c cherokee.initd -58db2070b710f2c3b38bc3d3be9703a22434f736cad742320b930b23cd5fa1b8 cherokee.confd" -sha512sums="1cb68dbfe457a49341eb4e3af4ccf9a55d81d7893b1d0ef2d4f3dbbbe1fde651139a8dac75feec665c7545a9e3d676e3b2745f29fd6ad8eeaeaa5d526004f3dc cherokee-1.2.104.tar.gz -d0e3a94ba4b6ad839ec227de26ca6d27416abe1640c73803549349edd1e7f8cf37346f8c8b8d948a4bfcaad4c596d5533448e3e084c4dd1260436731a9803c6d cherokee.initd -3dbe1bef319eb9f59d65194fa71f0b12235245b2f82d995817824be09f312bbad96f72a147fd5ea11b7d503d263e4543b2fca5b49873106b194246c3c75c790f cherokee.confd" diff --git a/unmaintained/cherokee/cherokee.confd b/unmaintained/cherokee/cherokee.confd deleted file mode 100644 index 8f719df390..0000000000 --- a/unmaintained/cherokee/cherokee.confd +++ /dev/null @@ -1,10 +0,0 @@ -# Sample conf.d file for alpine linux - -# -# Specify daemon $OPTS here. -# - -OPTS="-d" -DAEMON_USER="root" -DAEMON_GROUP="root" - diff --git a/unmaintained/cherokee/cherokee.initd b/unmaintained/cherokee/cherokee.initd deleted file mode 100755 index 5e88e069c3..0000000000 --- a/unmaintained/cherokee/cherokee.initd +++ /dev/null @@ -1,41 +0,0 @@ -#!/sbin/runscript - -# Cherokee init.d file for alpine linux. - -NAME=cherokee -DAEMON=/usr/sbin/$NAME -DAEMON_USER=${DAEMON_USER:-root} -DAEMON_GROUP=${DAEMON_GROUP:-root} - -depend() { - need net -} - -start() { - ebegin "Starting ${NAME}" - start-stop-daemon --start --quiet \ - --pidfile /var/run/${NAME}.pid \ - --user ${DAEMON_USER}:${DAEMON_GROUP} \ - --exec ${DAEMON} -- ${OPTS} - eend $? -} - -stop() { - ebegin "Stopping ${NAME}" - start-stop-daemon --stop --quiet \ - --exec ${DAEMON} \ - --pidfile /var/run/${NAME}.pid - eend $? -} - -reload() { - ebegin "Reloading ${NAME}" - if ! service_started "${NAME}" ; then - eend 1 "${NAME} is not started" - return 1 - fi - start-stop-daemon --stop --oknodo --signal HUP \ - --exec ${DAEMON} --pidfile /var/run/${NAME}.pid - eend $? -} - diff --git a/unmaintained/chmlib/APKBUILD b/unmaintained/chmlib/APKBUILD deleted file mode 100644 index 334ddcab80..0000000000 --- a/unmaintained/chmlib/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Natanael Copa -pkgname=chmlib -pkgver=0.40 -pkgrel=2 -pkgdesc="Library for dealing with Microsoft ITSS/CHM format files" -url="http://morte.jedrea.com/~jedwin/projects/chmlib/" -arch="all" -license="LGPL2+" -depends="" -depends_dev= -makedepends="" -install="" -subpackages="$pkgname-dev" -source="http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2 - headers.patch - stdtypes.patch" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - update_config_sub || return 1 - - local i - for i in $source; do - case $i in - *.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="7ea49ed8c335215c1edc6fae83e6b912 chmlib-0.40.tar.bz2 -668afec836d2af8e50e6f8a953744539 headers.patch -d8c82136eb221506f42b48d219cc3f5d stdtypes.patch" -sha256sums="3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3 chmlib-0.40.tar.bz2 -60b67803466def393789c10daef789e0a54176aa1493d2e1e285730c60185683 headers.patch -1d1124f81c955dcf856013d37095c212a8ad858a1dce52bd07fecc736a0eb82e stdtypes.patch" -sha512sums="3a3e151cf455b19e9e7c163a1d1e5ac52e8196f0b98f77932c72af58f3517824b9244667a18279ae754ccea784f6d6ab0c47465e74e3768ce98bb7dca0ca16e3 chmlib-0.40.tar.bz2 -940d6b766ada58cbdad31a4748de1f5bcad83170d2b233397dee80f4bd92e13c0f3fa2a027b5834c8547018f67e12726cbd6a8de7540ca9b3d12fda45db02d1d headers.patch -afd879f78d4d532be3f3253a645b54588b0faff7445bc856b461ceba4ad0fb8d4d1fd9d1497675894cfb40c2174e21a8a2842a35e66deb6ab8adab6cbb996319 stdtypes.patch" diff --git a/unmaintained/chmlib/headers.patch b/unmaintained/chmlib/headers.patch deleted file mode 100644 index d60af28639..0000000000 --- a/unmaintained/chmlib/headers.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- src/chm_http.c -+++ src/chm_http.c -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include - #if __sun || __sgi - #include - #endif -@@ -42,6 +43,7 @@ - #include - #include - #include -+#include - - /* threading includes */ - #include diff --git a/unmaintained/chmlib/stdtypes.patch b/unmaintained/chmlib/stdtypes.patch deleted file mode 100644 index 0f92320176..0000000000 --- a/unmaintained/chmlib/stdtypes.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/chm_lib.c -+++ src/chm_lib.c -@@ -149,6 +149,17 @@ typedef unsigned __int32 UInt32; - typedef __int64 Int64; - typedef unsigned __int64 UInt64; - -+/* Linux: use C standard types */ -+#elif defined(__linux__) -+#include -+typedef unsigned char UChar; -+typedef int16_t Int16; -+typedef uint16_t UInt16; -+typedef int32_t Int32; -+typedef uint32_t UInt32; -+typedef int64_t Int64; -+typedef uint64_t UInt64; -+ - /* I386, 32-bit, non-Windows */ - /* Sparc */ - /* MIPS */ diff --git a/unmaintained/chromaprint/APKBUILD b/unmaintained/chromaprint/APKBUILD deleted file mode 100644 index 7b0d124b5b..0000000000 --- a/unmaintained/chromaprint/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Łukasz Jendrysik -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=chromaprint -pkgver=1.2 -pkgrel=1 -pkgdesc="Library that implements a custom algorithm for extracting fingerprints from any audio source" -url="http://acoustid.org/chromaprint/" -arch="all" -license="LGPL" -depends="" -depends_dev="ffmpeg-dev" -makedepends="$depends_dev cmake" -install="" -subpackages="$pkgname-dev" -source="https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-$pkgver.tar.gz" - -_builddir="$srcdir"/chromaprint-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_EXAMPLES=ON \ - . || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" install || return 1 -} - -md5sums="748da044a8f0ee5f31edec8b67045b3e chromaprint-1.2.tar.gz" -sha256sums="822b8949a322ac04c6f8a3ed78f5e689bcc493c6ca0972bf627c913c8430031a chromaprint-1.2.tar.gz" -sha512sums="dc61db8894a20df3d7e7317cd7cd97148c19be5854dd66409341cb8e47c045e1c632b254e14a869279983a5af2cc6f9effea21b77a63dff729511e6144439cbb chromaprint-1.2.tar.gz" diff --git a/unmaintained/cjs/APKBUILD b/unmaintained/cjs/APKBUILD deleted file mode 100644 index cfafc50f54..0000000000 --- a/unmaintained/cjs/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=cjs -pkgver=2.0.0 -pkgrel=0 -pkgdesc="Javascript Bindings for Cinnamon" -url="https://github.com/linuxmint/cjs" -arch="all" -license="GPL" -depends="" -depends_dev="gobject-introspection-dev js-dev dbus-glib-dev" -makedepends="$depends_dev autoconf automake libtool gnome-common" -install="" -subpackages="$pkgname-dev" -source="${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cjs/archive/${pkgver}.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib/*/*.la -} - -md5sums="f40addaca0e9cf55d80a31fe5d5bac7c cjs-2.0.0.tar.gz" -sha256sums="2fea6c491e6ce8567201f14c0e926181154d798d4811dd65da477c014bfb2a9a cjs-2.0.0.tar.gz" -sha512sums="0faec81c031e1ae54c4384f5a843b52ce6952d1c3334104914c40aa3ba8b34ab84c335efbdfeb1b99728c195a2f3f204cfe07ce887aa1a103e4151b20c9c14a8 cjs-2.0.0.tar.gz" diff --git a/unmaintained/claws-mail-theme_elementary/APKBUILD b/unmaintained/claws-mail-theme_elementary/APKBUILD deleted file mode 100644 index f629df567e..0000000000 --- a/unmaintained/claws-mail-theme_elementary/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=claws-mail-theme_elementary -pkgver=0 -pkgrel=0 -pkgdesc="claws-mail elementary theme" -url="http://www.claws-mail.org/themes.php" -arch="noarch" -license="GPLv2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages= -source="http://www.claws-mail.org/download.php?file=themes/png/claws-mail-theme_elementary.tar.gz" - -_builddir= -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - mkdir -p "$pkgdir"/usr/share/claws-mail/themes - mv "$srcdir"/elementary "$pkgdir"/usr/share/claws-mail/themes/ -} - -md5sums="9398c8cb789928c41f55f255beb89d94 claws-mail-theme_elementary.tar.gz" diff --git a/unmaintained/compiz/APKBUILD b/unmaintained/compiz/APKBUILD deleted file mode 100644 index e965ce0494..0000000000 --- a/unmaintained/compiz/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=compiz -pkgver=0.8.8 -pkgrel=5 -pkgdesc="opengl window and composition manager" -url="http://www.compiz.org/" -arch="all" -license="GPL" -depends= -depends_dev="mesa-dev - libx11-dev - libxslt-dev - libsm-dev - libxcomposite-dev - libxrender-dev - libxrandr-dev - libxinerama-dev - libwnck-dev - glib-dev - gconf-dev - glu-dev - startup-notification-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://releases.compiz.org/$pkgver/compiz-$pkgver.tar.gz" - -_builddir="$srcdir"/compiz-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="d7e96f839b7cb0901470d5da04be4db2 compiz-0.8.8.tar.gz" diff --git a/unmaintained/corosync/APKBUILD b/unmaintained/corosync/APKBUILD deleted file mode 100644 index 0d65122ed0..0000000000 --- a/unmaintained/corosync/APKBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=corosync -pkgver=2.3.5 -pkgrel=0 -pkgdesc="The Corosync Cluster Engine and Application Programming Interfaces" -url="http://www.corosync.org/" -arch="all" -license="BSD2" -depends="" -depends_dev="nss-dev net-snmp-dev libqb-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" -source="http://build.clusterlabs.org/corosync/releases/corosync-$pkgver.tar.gz - $pkgname.initd" -_builddir="$srcdir"/corosync-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-snmp \ - --enable-nss \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 -} - -libs() { - pkgdesc="The Corosync Cluster Engine Libraries" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/ || return 1 -} - -md5sums="8894f00d499e0755467b381e6346f9ff corosync-2.3.5.tar.gz -4d18555dfdd036b7a48eb5bdfd0ff053 corosync.initd" -sha256sums="1d48cdfa224b0ceb02e27fe9d56b738fb2a92262b04b15bb3a67e1c4248da8e2 corosync-2.3.5.tar.gz -8e5a18febe55a08b8b5be80ca2e3b81cdf961784d7a2f246b9064825d3a847bc corosync.initd" -sha512sums="d9e3b8f71e02889320013c219ae078b2076be325bfcf17fa31b3c4ba2a327d680ff0522302e2e44a774889bf7ddb81041904dc68da556aa91b634f9efcbe98e5 corosync-2.3.5.tar.gz -be5ec458f8eb234eb01ba1023e59b35f967f0833fd8097eb8f9b5e9d172fe3beffc6ea3d15dd57f1b76ab7b90cdfccdb4868962488d4af573e70c55baf021a65 corosync.initd" diff --git a/unmaintained/corosync/corosync.initd b/unmaintained/corosync/corosync.initd deleted file mode 100644 index 6c134bd937..0000000000 --- a/unmaintained/corosync/corosync.initd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/corosync/files/corosync.initd,v 1.2 2010/11/17 07:07:03 xarthisius Exp $ - -depend() { - need net - use logger -} - -start() { - ebegin "Starting Corosync Cluster Engine" - start-stop-daemon --start -q --exec /usr/sbin/corosync \ - --pidfile /var/run/corosync.pid --make-pidfile --background \ - -- -f - eend $? -} - -stop() { - ebegin "Stopping Corosync Cluster Engine" - start-stop-daemon --stop -q --pidfile /var/run/corosync.pid - eend $? -} diff --git a/unmaintained/courier-authlib/APKBUILD b/unmaintained/courier-authlib/APKBUILD deleted file mode 100644 index 38525d9e0a..0000000000 --- a/unmaintained/courier-authlib/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Łukasz Jendrysik -# Contributor: Jeff Bilyk -# Maintainer: Natanael Copa -pkgname=courier-authlib -pkgver=0.66.1 -pkgrel=2 -pkgdesc="Authentication library for courier mailserver" -url="http://www.courier-mta.org" -arch="all" -license="GPL" -depends="" -depends_dev="libtool expect gdbm-dev openssl-dev libldap postgresql-dev mariadb-dev perl" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/project/courier/authlib/$pkgver/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --with-db=gdbm \ - --with-mailuser=courier \ - --with-mailgroup=courier \ - --with-authpwd \ - --with-authshadow \ - --with-authldap \ - --with-authmysql \ - --with-authpgsql \ - --with-authuserdb \ - --with-authcram \ - --with-authdaemon \ - --with-authdaemonvar=/var/run/authdaemon - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="123e9429909ed65a23464cb7ecb15cf1 courier-authlib-0.66.1.tar.bz2" -sha256sums="8f89166f57c8e59f445fe0135da92b95f1c4417896d01eda5e2e94d8ff878fe8 courier-authlib-0.66.1.tar.bz2" -sha512sums="d2b0c9c92c0af8c596fd9b14337034e2859c4540b5b20523e8dfbec78f54021104b6864c7f3488f518ebfff488b38bdbc26690763175940d12019f5cbc482b33 courier-authlib-0.66.1.tar.bz2" diff --git a/unmaintained/cowpatty/APKBUILD b/unmaintained/cowpatty/APKBUILD deleted file mode 100644 index 1c630ab1e0..0000000000 --- a/unmaintained/cowpatty/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=cowpatty -pkgver=4.3 -pkgrel=0 -pkgdesc="Attacking WPA/WPA2-PSK exchanges" -url="http://www.willhackforsushi.com/Cowpatty.html" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="libpcap-dev openssl-dev" -install="" -subpackages="" -source="http://www.willhackforsushi.com/code/$pkgname/$pkgver/$pkgname-$pkgver.tgz - makefile.patch" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" BINDIR=/usr/bin || return 1 -} - -md5sums="deccac0763a05ef7014107d347bf9190 cowpatty-4.3.tgz -0c4e93c53b0356a5513d4a2dd798815d makefile.patch" diff --git a/unmaintained/cowpatty/makefile.patch b/unmaintained/cowpatty/makefile.patch deleted file mode 100644 index 3f676e74b1..0000000000 --- a/unmaintained/cowpatty/makefile.patch +++ /dev/null @@ -1,78 +0,0 @@ - -This patch was set upstream to author 2012-01-16 - ---- ./Makefile.orig -+++ ./Makefile -@@ -7,36 +7,42 @@ - # i think thats all anyone does - # make is a twisted beast - ################################## --LDLIBS = -lpcap --CFLAGS = -pipe -Wall -DOPENSSL --CFLAGS += -O2 --LDLIBS += -lcrypto --CFLAGS += -g3 -ggdb --#CFLAGS += -static -+ -+CFLAGS ?= -O2 -g3 -ggdb -pipe -+ -+PCAP_LIBS = -lpcap -+CRYPTO_LIBS = -lcrypto -+CRYPTO_CFLAGS = -DOPENSSL -+ -+LDLIBS = $(PCAP_LIBS) $(CRYPTO_LIBS) -+ - PROGOBJ = md5.o sha1.o utils.o cowpatty.o genpmk.o - PROG = cowpatty genpmk - BINDIR = /usr/local/bin - --all: $(PROGOBJ) $(PROG) -+OBJS_cowpatty = cowpatty.o md5.o sha1.o utils.o -+OBJS_genpmk = genpmk.o md5.o sha1.o utils.o - --cowpatty: common.h md5.c md5.h sha1.h cowpatty.c cowpatty.h sha1.c \ -- sha1.h utils.c utils.h -- $(CC) $(CFLAGS) cowpatty.c -o cowpatty utils.o md5.o sha1.o $(LDLIBS) -+all: $(PROG) - --genpmk: genpmk.c cowpatty.h utils.h sha1.h common.h -- $(CC) $(CFLAGS) genpmk.c -o genpmk utils.o sha1.o $(LDLIBS) -+cowpatty: $(OBJS_cowpatty) -+ $(CC) $(CFLAGS) -o $@ $(OBJS_cowpatty) $(LDLIBS) - --utils: utils.c utils.h -- $(CC) $(CFLAGS) utils.c -c -+genpmk: $(OBJS_genpmk) -+ $(CC) $(CFLAGS) -o $@ $(OBJS_genpmk) $(LDLIBS) - --md5: md5.c md5.h -- $(CC) $(CFLAGS) md5.c -c -+cowpatty.o: cowpatty.h common.h utils.h sha1.h md5.h radiotap.h -+genpmk.o: cowpatty.h common.h utils.h sha1.h -+md5.o: common.h md5.h -+sha1.o: common.h sha1.h -+utils.o: utils.h radiotap.h -+md5.o: md5.h - --sha1: sha1.c sha1.h -- $(CC) $(CFLAGS) sha1.c -c -+%.o: %.c -+ $(CC) $(CFLAGS) $(CRYPTO_CFLAGS) $(CFLAGS_$@) -c $< - - clean: -- @rm $(PROGOBJ) $(PROG) -+ @rm -f $(PROGOBJ) $(PROG) *.o - - strip: - @ls -l $(PROG) -@@ -45,7 +51,9 @@ - - install: all - install -d $(DESTDIR)$(BINDIR) -- install -m 755 $(PROG) $(BINDIR)$(DESTDIR) -+ install -m 755 $(PROG) $(DESTDIR)$(BINDIR) - - love: - @echo "Not right now, I have a headache." -+ -+ diff --git a/unmaintained/crconf/APKBUILD b/unmaintained/crconf/APKBUILD deleted file mode 100644 index 07c25a37fd..0000000000 --- a/unmaintained/crconf/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=crconf -pkgver=0_pre2 -_ver=${pkgver/0_/} -pkgrel=0 -pkgdesc="Linux crypto layer configuration tool" -url="http://sourceforge.net/projects/crconf/" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://downloads.sourceforge.net/project/crconf/crconf-$_ver.tar.gz -" - -_builddir="$srcdir"/crconf-$_ver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" SBINDIR="/usr/sbin" -} - -md5sums="4b96e3fbd570d694ea25659a79a6db5c crconf-pre2.tar.gz" -sha256sums="15d39b599acda93a50f473190e702d593ba13613b6ed31711f3584b5726b81b8 crconf-pre2.tar.gz" -sha512sums="e4526626c71391968beafaf606bc477849ed11007bcfe4dd9b056bdbd08d19dce41b18418693fd5d2fab29f618e3fdad3ec4f4f2ea269207443e94e7552b4daa crconf-pre2.tar.gz" diff --git a/unmaintained/crtmpserver/APKBUILD b/unmaintained/crtmpserver/APKBUILD deleted file mode 100644 index a09646c770..0000000000 --- a/unmaintained/crtmpserver/APKBUILD +++ /dev/null @@ -1,73 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=crtmpserver -pkgver=0_git20131228 -pkgrel=2 -pkgdesc="high performance streaming server" -url="http://www.rtmpd.com/" -arch="all" -license="GPL" -depends="" -depends_dev="openssl-dev lua-dev cmake" -makedepends="$depends_dev" -install="$pkgname.pre-install" -subpackages="" -pkgusers="rtmpd" -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.bz2 - $pkgname.initd - $pkgname.confd" - -_giturl="git://github.com/j0sh/crtmpserver.git" -_upload=dev.alpinelinux.org:/archive/$pkgname/ - -_builddir="$srcdir"/$pkgname-$pkgver - -snapshot() { - local _date=$(date +%Y%m%d) - local _pkg=$pkgname-0_git$_date.tar.bz2 - mkdir -p "$srcdir" - cd "$srcdir" - rm -rf "$pkgname" - git clone --depth=1 --bare $_giturl || return 1 - git --git-dir ${_giturl##*/} archive --format=tar \ - --prefix=$pkgname-0_git$_date/ HEAD | bzip2 > $_pkg \ - || return 1 - -msg "New snapshot: $_pkg" - if [ -n "$_upload" ]; then - msg "Uploading to $_upload" - scp $_pkg $_upload && abump $pkgname-0_git$_date || return 1 - fi -} - -build() { - cd "$_builddir" - cd builders/cmake - cmake -DCRTMPSERVER_INSTALL_PREFIX=/usr - cd $pkgname - sed -i -e "46s/\${CMAKE_INSTALL_PREFIX}\/etc/\/etc\/crtmpserver\//g" cmake_install.cmake - make -} - -package() { - cd "$_builddir" - cd builders/cmake - make DESTDIR="$pkgdir" install - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m755 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - mkdir -p "$pkgdir"/var/log/crtmpserver - chown rtmpd "$pkgdir"/var/log/crtmpserver - mkdir -p "$pkgdir"/var/crtmpserver - chown rtmpd "$pkgdir"/var/crtmpserver -R - cp ../../configs/*.lua "$pkgdir"/etc/$pkgname/ -} - -md5sums="63ace36dcbb336463702eb258bfa974d crtmpserver-0_git20131228.tar.bz2 -8c4072f255f72736028cc736081303b8 crtmpserver.initd -f628656f6fd50204492ed838a7993c38 crtmpserver.confd" -sha256sums="ca57a270400c492bf9378fabe5e76fa91fe48dcab70d0518271be873558498a1 crtmpserver-0_git20131228.tar.bz2 -db010ea792cd738db98297bc7d24cb86bb5bc360a355a54622fd057197a3aa04 crtmpserver.initd -5ff47df741664ad9fdcf567e645e569ac9f47a61a46baf15bf920508a35c7811 crtmpserver.confd" -sha512sums="c6e501bc048989c93bae4b0f8cdfa98ea6ff46574c9a006f42e92096be5fc311ae0252b718dab43c416c41b602e35409e47a5143709789cb9121dc3419bfeba5 crtmpserver-0_git20131228.tar.bz2 -85e2fa5816c9c6afba4f54c7aa780f0e9cfa9a317936de31ad1456d02ed79eb9e3d61a5fc21c3f2891b90f89d9885f3349e4eb6e281ca1c382769e2bb3c6bcbc crtmpserver.initd -0695f48e644b4cea9c4e8724dfd0f28f859aacf8af2ccb3bf4a2a077202eeef7a8b2a10000eb8c1101dd5dea309d4a9df3479d2084650f9d283468cee7f4fc1a crtmpserver.confd" diff --git a/unmaintained/crtmpserver/crtmpserver.confd b/unmaintained/crtmpserver/crtmpserver.confd deleted file mode 100644 index 18a285766e..0000000000 --- a/unmaintained/crtmpserver/crtmpserver.confd +++ /dev/null @@ -1,2 +0,0 @@ -RTMPD_USER="rtmpd" -CONFFILE="/etc/crtmpserver/crtmpserver.lua" diff --git a/unmaintained/crtmpserver/crtmpserver.initd b/unmaintained/crtmpserver/crtmpserver.initd deleted file mode 100644 index 656eb4029d..0000000000 --- a/unmaintained/crtmpserver/crtmpserver.initd +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/runscript -# Copyright (c) 2011 http://foxpa.ws -# All rights released - -description="Runs C++ RTMP Server on Gentoo" - -depend() -{ - need net -} - -checkconfig() { - if [ ! -e /etc/crtmpserver/crtmpserver.lua ] ; then - eerror "You need to create /etc/crtmpserver/crtmpserver.lua first." - eerror "An example can be found in /etc/crtmpserver/crtmpserver.lua.sample" - return 1 - fi -} - - - -start() -{ - checkconfig || return 1 - ebegin "Starting C++ RTMP Server" - start-stop-daemon --start --quiet --exec /usr/sbin/crtmpserver \ - -- --daemon --uid=${RTMPD_USER} --pid=/var/run/crtmpserver.pid ${CONFFILE} - eend ${?} -} - -stop() -{ - ebegin "Stopping C++ RTMP Server" - start-stop-daemon --stop --quiet \ - --exec /usr/sbin/crtmpserver --pid=/var/run/crtmpserver.pid - eend ${?} -} - diff --git a/unmaintained/crtmpserver/crtmpserver.pre-install b/unmaintained/crtmpserver/crtmpserver.pre-install deleted file mode 100644 index e8dc1c722b..0000000000 --- a/unmaintained/crtmpserver/crtmpserver.pre-install +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -adduser -S -h /var/crtmpserver -s /bin/false -g rtmpd rtmpd 2>/dev/null - -exit 0 diff --git a/unmaintained/crunch/APKBUILD b/unmaintained/crunch/APKBUILD deleted file mode 100644 index bdcd8051c8..0000000000 --- a/unmaintained/crunch/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=crunch -pkgver=3.4 -pkgrel=0 -pkgdesc="A wordlist generator" -url="http://sourceforge.net/projects/crunch-wordlist/" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/$pkgname-$pkgver.tgz - crunch-3.4-destdir.patch" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p2 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" geninstall || return 1 -} - -md5sums="3f658a60d8227025df12cfb4ff4b9e15 crunch-3.4.tgz -a75466c9dae86223f913f622208eef86 crunch-3.4-destdir.patch" diff --git a/unmaintained/crunch/crunch-3.4-destdir.patch b/unmaintained/crunch/crunch-3.4-destdir.patch deleted file mode 100644 index 09dcf9a48c..0000000000 --- a/unmaintained/crunch/crunch-3.4-destdir.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- src/crunch-3.4/Makefile.orig -+++ src/crunch-3.4/Makefile -@@ -58,16 +58,16 @@ - # Install generic target - geninstall: build - @echo "Creating directories..." -- $(INSTALL) -d -m 755 $(INSTALL_OPTIONS) $(BINDIR) -- $(INSTALL) -d -m 755 $(INSTALL_OPTIONS) $(MANDIR) -+ $(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) -+ $(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR) - @echo "Copying binary..." -- $(INSTALL) crunch -m 755 $(INSTALL_OPTIONS) $(BINDIR) -+ $(INSTALL) crunch -m 755 $(DESTDIR)$(BINDIR) - @echo "Copying charset.lst..." -- $(INSTALL) charset.lst -m 644 $(INSTALL_OPTIONS) $(BINDIR) -+ $(INSTALL) charset.lst -m 644 $(DESTDIR)$(BINDIR) - @echo "Copying GPL.TXT..." -- $(INSTALL) GPL.TXT -m 644 $(INSTALL_OPTIONS) $(BINDIR) -+ $(INSTALL) GPL.TXT -m 644 $(DESTDIR)$(BINDIR) - @echo "Installing man page..." -- $(INSTALL) crunch.1 -m 644 $(INSTALL_OPTIONS) $(MANDIR) -+ $(INSTALL) crunch.1 -m 644 $(DESTDIR)$(MANDIR) - @echo "" - - # Install BT specific target diff --git a/unmaintained/csync/APKBUILD b/unmaintained/csync/APKBUILD deleted file mode 100644 index 7df5f5d65f..0000000000 --- a/unmaintained/csync/APKBUILD +++ /dev/null @@ -1,71 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=csync -pkgver=0.50.0 -pkgrel=0 -pkgdesc="a client only bidirectional file synchronizer" -url="http://www.csync.org/" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev check-dev samba-dev libssh-dev cmake sqlite-dev - iniparser-dev neon-dev" -install="" -subpackages=" - $pkgname-dev - $pkgname-doc - $pkgname-sftp:_plugin - $pkgname-smb:_plugin - $pkgname-owncloud:_plugin" -source="https://open.cryptomilk.org/attachments/download/27/csync-$pkgver.tar.xz - iconv.patch - gcc-fixes.patch" - -_builddir="$srcdir"/csync-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - mkdir build && cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - .. || return 1 - make || return 1 - -} - -package() { - cd "$_builddir"/build - make install DESTDIR="$pkgdir" || return 1 -} - -_plugin() { - local _name="${subpkgname##*-}" - pkgdesc="csync $1 plugin" - - local i - cd "$pkgdir" - for i in usr/lib/csync*/csync_${_name}.so; do - mkdir -p "$subpkgdir"/${i%/*} - mv $i "$subpkgdir"/${i%/*} - done -} - -md5sums="4f022aaa19ecd8008b03876dd65a9df2 csync-0.50.0.tar.xz -166e828bf574dbfc1857b04985ec699b iconv.patch -70a120f5f913fb44f66844734e200131 gcc-fixes.patch" -sha256sums="c07526942a93c1e213d354dc45fd61fbc0430c60e109e7a2f0fcaf6213a45c86 csync-0.50.0.tar.xz -1a64b9ad6bc8c79b16ae8f6eb31ca2d3e124132e8130b908925d60ddc0eea98c iconv.patch -1bb262390c687780dc65adb36f0c89c7c04d3db235d69d1cae9280c8c6029cae gcc-fixes.patch" -sha512sums="babe44af3a4f0bf58e011f1c33c7a6df9bc7751e03714dd64d8269c7c51bcc7f2ab32c4d286e5a11465c9498c988d1812c426a4f415f1138a4fb9fa341e1e29a csync-0.50.0.tar.xz -fc124966d7b7405cc3d3bc1276180089dc44058bc89afa799c0d9378f4dc131e9382b96357fff5964c9b009cb77455f125b63557a32ca5eaa31e01cbd2f7a694 iconv.patch -88290d1dfbfeb775d89f4fbd20b9909a3fe5896ae85496eb53a0bd78162427ba7d910852ffb1887dcf380ad89e46c909d29e0a54f020c3ea92e613ac860b1b99 gcc-fixes.patch" diff --git a/unmaintained/csync/gcc-fixes.patch b/unmaintained/csync/gcc-fixes.patch deleted file mode 100644 index 2614c974ea..0000000000 --- a/unmaintained/csync/gcc-fixes.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -upr csync-0.50.0.orig/src/csync_log.h csync-0.50.0/src/csync_log.h ---- csync-0.50.0.orig/src/csync_log.h 2015-09-29 19:44:49.692758996 +0200 -+++ csync-0.50.0/src/csync_log.h 2015-09-29 19:45:48.439175389 +0200 -@@ -55,7 +55,7 @@ enum csync_log_priority_e { - }; - - #define CSYNC_LOG(priority, ...) \ -- csync_log(priority, __FUNCTION__, __VA_ARGS__) -+ csync_log(priority, __func__, __VA_ARGS__) - - void csync_log(int verbosity, - const char *function, diff --git a/unmaintained/csync/iconv.patch b/unmaintained/csync/iconv.patch deleted file mode 100644 index fcafeb3a80..0000000000 --- a/unmaintained/csync/iconv.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 1cc90bc..f8309dd 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -28,7 +28,7 @@ set(CSYNC_LINK_LIBRARIES - ${SQLITE3_LIBRARIES} - ) - --if(HAVE_ICONV AND WITH_ICONV) -+if(WITH_ICONV) - list(APPEND CSYNC_PRIVATE_INCLUDE_DIRS ${ICONV_INCLUDE_DIR}) - list(APPEND CSYNC_LINK_LIBRARIES ${ICONV_LIBRARIES}) - endif() -diff --git a/src/std/c_string.c b/src/std/c_string.c -index f175734..ccc0644 100644 ---- a/src/std/c_string.c -+++ b/src/std/c_string.c -@@ -39,7 +39,7 @@ - #include - #endif - --#if defined(HAVE_ICONV) && defined(WITH_ICONV) -+#if defined(WITH_ICONV) - # ifdef HAVE_ICONV_H - # include - # endif diff --git a/unmaintained/csync2/APKBUILD b/unmaintained/csync2/APKBUILD deleted file mode 100644 index 3dc51815eb..0000000000 --- a/unmaintained/csync2/APKBUILD +++ /dev/null @@ -1,84 +0,0 @@ -# Contributor: Sören Tempel -# Contributor: Valery Kartel -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=csync2 -pkgver=2.0 -pkgrel=3 -pkgdesc="Cluster synchronization tool" -url="http://oss.linbit.com/csync2/" -arch="all" -license="GPL2+" -depends="openssl" -depends_dev="" -makedepends="autoconf automake librsync-dev gnutls-dev sqlite-dev mysql-dev postgresql-dev" -install="$pkgname.post-install $pkgname.post-upgrade" -subpackages="$pkgname-compare $pkgname-doc" -source="http://oss.linbit.com/$pkgname/$pkgname-$pkgver.tar.gz - csync2-openssl.cnf - longlong-format.patch - nossl-config.patch - have-strlcpy.patch - $pkgname.initd" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - autoreconf --install --force -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc/$pkgname \ - --localstatedir=/var \ - --docdir=/usr/share/doc/$pkgname \ - --mandir=/usr/share/man \ - --enable-postgres \ - --enable-mysql \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - cp doc/* "$pkgdir"/usr/share/doc/$pkgname/ || return 1 - - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 -} - -compare() { - subpkgdesc="csync2 compare script" - arch="noarch" - depends="bash perl-digest-md5" - - mkdir -p "$subpkgdir"/usr/sbin - mv "$pkgdir"/usr/sbin/$pkgname-compare \ - "$subpkgdir"/usr/sbin/ || return 1 -} - -md5sums="4069fc9e86e8508c392fe2862059eb91 csync2-2.0.tar.gz -f2f42a8ba543d5a22d2740e794c7f872 csync2-openssl.cnf -8fc73254db29316f9125761d18f1ed46 longlong-format.patch -b5adcbe1a3b0bc409336e539087319ea nossl-config.patch -3ed476916ba9afa7c4aa587ae86a6e34 have-strlcpy.patch -8197fe5a195d1e7a6843f0be7f9230f5 csync2.initd" -sha256sums="11cb37380fb185bce0c22b804fec9b01c385d9d83cc528cfd48d748453834fa2 csync2-2.0.tar.gz -53e2ae5141f9b1517072798f2d78b63b7a4653e59ebeb626940a7b8d173bc4df csync2-openssl.cnf -afb1317987cc4b81908bc437269162c7af23b34e6842306483da5b53efce2db3 longlong-format.patch -bc7abcb34224b6ea77cd4f90ee69d916b4bc7ef0f321bd649b1060ff54cdc084 nossl-config.patch -f9aad05465919657894ee24fd102451790911445d0d8291ce565242a96f6024e have-strlcpy.patch -c45f4177182cb567b9581e9882cf3004bbdde174b44b02b212df0e16a60bd6f8 csync2.initd" -sha512sums="f91fd222f67affe9634471d341b43ff67854a6ed25b620301a454e98a79a9fb80b2a66eb8713546758fd08300d52751e5ca7472c696daa20ee11779b87a830f8 csync2-2.0.tar.gz -614da46cdaea46da5de8d3f4e4dc634f34ec5fa402af8557e17324c43dd6b06cc4797bfb42bd5d0d4e34edcf9eb30241bd9054732d75e9646edd32e650fde7d4 csync2-openssl.cnf -38a17cbf23cbccd4996ad1af049851e33179586e619e3f3edbfacbaa36662e44d916839acd59b1cfc67b3af9042c3258068ec9e5b57f7e26c00a41a0e6f0e148 longlong-format.patch -9fe50c761ba463ebeecda147c7172526bb9a2378e11101bcab60433b2aec389439eefe8139539babe0d680e2f30cc69df34788454a1d3dce64decd66cc153b32 nossl-config.patch -66a4762c2a6f99dd0f48aaf36d977150b93f3710de8ae34f090636285115a5801878089ca509d26737bbc30fadb6f9f6acebad8cea1c60e40aaff95ce43ee3a6 have-strlcpy.patch -617235cb9383e72f48e7dd1aa82ecca394b87ceb1e5853b6eb04fb620e6146828fdf64a117d899be4174d3ddde81c9b092937fedada6d0c213825124d70546ee csync2.initd" diff --git a/unmaintained/csync2/csync2-openssl.cnf b/unmaintained/csync2/csync2-openssl.cnf deleted file mode 100644 index 7f64b1c2ed..0000000000 --- a/unmaintained/csync2/csync2-openssl.cnf +++ /dev/null @@ -1,31 +0,0 @@ -[ req ] -default_bits = 1024 -encrypt_key = yes -distinguished_name = req_dn -x509_extensions = cert_type -prompt = no - -[ req_dn ] -# country (2 letter code) -#C=UA - -# State or Province Name (full name) -#ST= - -# Locality Name (eg. city) -#L=Kyiv - -# Organization (eg. company) -#O=CSync2 - -# Organizational Unit Name (eg. section) -OU=CSYNC2 Server - -# Common Name (*.example.com is also possible) -CN=csync2.example.com - -# E-mail contact -emailAddress=root@example.com - -[ cert_type ] -nsCertType = server diff --git a/unmaintained/csync2/csync2.initd b/unmaintained/csync2/csync2.initd deleted file mode 100644 index 43c545e357..0000000000 --- a/unmaintained/csync2/csync2.initd +++ /dev/null @@ -1,11 +0,0 @@ -#!/sbin/openrc-run - -pidfile="/run/csync2.pid" -command="/usr/sbin/csync2" -command_args="-ii${CSYNC2_OPTS:+ $CSYNC2_OPTS}" -command_background="yes" - -depend() { - need net localmount - after firewall -} diff --git a/unmaintained/csync2/csync2.post-install b/unmaintained/csync2/csync2.post-install deleted file mode 100644 index ab02fa0c82..0000000000 --- a/unmaintained/csync2/csync2.post-install +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -OPENSSL=${OPENSSL:-openssl} -OPENSSL_CONF=${OPENSSL_CONF:-/etc/csync2/csync2-openssl.cnf} - -CRTFILE=/etc/csync2/csync2_ssl_cert.pem -CSRFILE=/etc/csync2/csync2_ssl_cert.csr -KEYFILE=/etc/csync2/csync2_ssl_key.pem - -if [ -f $CRTFILE ]; then - echo "$CRTFILE already exists, won't overwrite" - exit 0 -fi - -if [ -f $KEYFILE ]; then - echo "$KEYFILE already exists, won't overwrite" - exit 0 -fi - -$OPENSSL genrsa -out $KEYFILE 1024 || exit 2 -$OPENSSL req -config $OPENSSL_CONF -new -key $KEYFILE -out $CSRFILE || exit 2 -$OPENSSL x509 -req -days 365 -in $CSRFILE -signkey $KEYFILE -out $CRTFILE || exit 2 - -chmod 0600 $KEYFILE -rm $CSRFILE diff --git a/unmaintained/csync2/csync2.post-upgrade b/unmaintained/csync2/csync2.post-upgrade deleted file mode 100644 index 48ac7a01d2..0000000000 --- a/unmaintained/csync2/csync2.post-upgrade +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -mv /etc/csync2.cfg /etc/csync2/ >/dev/null 2>&1 -mv /etc/csync2_ssl_*.pem /etc/csync2/ >/dev/null 2>&1 - -exit 0 diff --git a/unmaintained/csync2/have-strlcpy.patch b/unmaintained/csync2/have-strlcpy.patch deleted file mode 100644 index 394e1ec4b8..0000000000 --- a/unmaintained/csync2/have-strlcpy.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- old/configure.ac -+++ new/configure.ac -@@ -43,7 +43,7 @@ - - - dnl inspired by rsync's configure.ac --AC_CHECK_FUNCS(fchmod setmode open64 mkstemp64) -+AC_CHECK_FUNCS(strlcpy fchmod setmode open64 mkstemp64) - AC_CACHE_CHECK([for secure mkstemp],csync_cv_HAVE_SECURE_MKSTEMP,[ - AC_TRY_RUN([#include - #include ---- old/rsync.c -+++ new/rsync.c -@@ -38,7 +38,7 @@ - #include - #endif - -- -+#ifndef HAVE_STRLCPY - /* This has been taken from rsync:lib/compat.c */ - - /** -@@ -61,6 +61,7 @@ - } - return ret; - } -+#endif - - /* splits filepath at the last '/', if any, like so: - * dirname basename filepath diff --git a/unmaintained/csync2/longlong-format.patch b/unmaintained/csync2/longlong-format.patch deleted file mode 100644 index a37488d7de..0000000000 --- a/unmaintained/csync2/longlong-format.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- old/checktxt.c -+++ new/checktxt.c -@@ -49,7 +49,7 @@ - xxprintf("v1"); - - if ( !S_ISLNK(st->st_mode) && !S_ISDIR(st->st_mode) ) -- xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); -+ xxprintf(":mtime=%lld", ign_mtime ? (long long)0 : (long long)st->st_mtime); - - if ( !csync_ignore_mod ) - xxprintf(":mode=%d", (int)st->st_mode); -@@ -61,7 +61,7 @@ - xxprintf(":gid=%d", (int)st->st_gid); - - if ( S_ISREG(st->st_mode) ) -- xxprintf(":type=reg:size=%Ld", (long long)st->st_size); -+ xxprintf(":type=reg:size=%lld", (long long)st->st_size); - - if ( S_ISDIR(st->st_mode) ) - xxprintf(":type=dir"); ---- old/update.c -+++ new/update.c -@@ -469,7 +469,7 @@ - - skip_action: - if ( !S_ISLNK(st.st_mode) ) { -- conn_printf("SETIME %s %s %Ld\n", -+ conn_printf("SETIME %s %s %lld\n", - url_encode(key), url_encode(filename), - (long long)st.st_mtime); - last_conn_status = read_conn_status(filename, peername); diff --git a/unmaintained/csync2/nossl-config.patch b/unmaintained/csync2/nossl-config.patch deleted file mode 100644 index 66e76f88ab..0000000000 --- a/unmaintained/csync2/nossl-config.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- old/csync2.cfg -+++ new/csync2.cfg -@@ -4,12 +4,15 @@ - # Please read the documentation: - # http://oss.linbit.com/csync2/paper.pdf - -+# Do not use ssl by default -+nossl * *; -+ - # group mygroup - # { - # host host1 host2 (host3); - # host host4@host4-eth2; - # --# key /etc/csync2.key_mygroup; -+# key /etc/csync2/csync2.key_mygroup; - # - # # - # # WARNING: diff --git a/unmaintained/cuetools/APKBUILD b/unmaintained/cuetools/APKBUILD deleted file mode 100644 index da99d3f3ec..0000000000 --- a/unmaintained/cuetools/APKBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=cuetools -pkgver=1.4.0 -pkgrel=0 -pkgdesc="Cue and toc file parsers and utilities" -url="https://github.com/svend/cuetools" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev automake autoconf libtool byacc flex" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/svend/cuetools/archive/$pkgver.tar.gz - fix_build_with_automake-1.12.patch - cuetag-fix_spaces.patch" - -_builddir=$srcdir/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - aclocal || return 1 - autoheader || return 1 - automake --force-missing --add-missing || return 1 - autoconf || return 1 - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="4492dae2b3f9e077f6455a1f1cddef3b cuetools-1.4.0.tar.gz -67a3b32711d1a1f508be6ed0f1bdadf3 fix_build_with_automake-1.12.patch -60f4aba26e529e48dbedd2adef917117 cuetag-fix_spaces.patch" -sha256sums="5dc86e9736929757b338827efa0ecae1b2fcee2273debc718511749a4178ddf6 cuetools-1.4.0.tar.gz -12019dc267a7a0f32197928af6b2d50fd23cb5eb34ac8acc2f552bc0f8eef651 fix_build_with_automake-1.12.patch -93768b1e8f458cf07bf643bd8d330c3907a6a73db2cb1f55a0e99da67776ff26 cuetag-fix_spaces.patch" -sha512sums="338909d22e3cc65ddd8e411ca2dbcf198606c5f34bc67867dcf0a54d48bf0d1339f2a26a18aeeeca968ce1452d0ea0c19a3c3609a2593e1d8b6bb432a6113a75 cuetools-1.4.0.tar.gz -71f397f7f514832e9109a0762631f7ea0b7ada95a6ea44eb0ae4c2d035efa672d0a29e3b3948b6f31dd35c115857b874f82e5a11e63248a048b83566d489148c fix_build_with_automake-1.12.patch -301b1fcb9a5eb1e576db29de9421af5d1500a4fe88b16cf7376ee3ca1839ea267a2c6e0695255312e8e4ab5f18a6db1af75d2045704a93c6dd33e3eaac1b83db cuetag-fix_spaces.patch" diff --git a/unmaintained/cuetools/cuetag-fix_spaces.patch b/unmaintained/cuetools/cuetag-fix_spaces.patch deleted file mode 100644 index f240e9d375..0000000000 --- a/unmaintained/cuetools/cuetag-fix_spaces.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 21ee6cc40f02693928efbc4f3beeb681950c16b5 Mon Sep 17 00:00:00 2001 -From: Svend Sorensen -Date: Sat, 23 Nov 2013 17:23:01 -0800 -Subject: [PATCH] cuetag: Fix handling of spaces in file names - -Fixes #14 ---- - src/tools/cuetag.sh | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/src/tools/cuetag.sh b/src/tools/cuetag.sh -index f26fa20..448920f 100755 ---- a/src/tools/cuetag.sh -+++ b/src/tools/cuetag.sh -@@ -182,16 +182,15 @@ main() - ntrack=$(cueprint -d '%N' "$cue_file") - trackno=1 - -- FILES= FIELDS= -+ NUM_FILES=0 FIELDS= - for arg in "$@"; do - case "$arg" in -- *.*) FILES="$FILES $arg";; -+ *.*) NUM_FILES=$(expr $NUM_FILES + 1);; - *) FIELDS="$FIELDS $arg";; - esac - done - -- set -- $FILES -- if [ $# -ne $ntrack ]; then -+ if [ $NUM_FILES -ne $ntrack ]; then - echo "warning: number of files does not match number of tracks" - fi - -@@ -209,7 +208,7 @@ main() - *.[Tt][Xx][Tt]) - vorbis $trackno "$file" - ;; -- *) -+ *.*) - echo "$file: uknown file type" - ;; - esac --- -1.8.5.1 - diff --git a/unmaintained/cuetools/fix_build_with_automake-1.12.patch b/unmaintained/cuetools/fix_build_with_automake-1.12.patch deleted file mode 100644 index 9090f32c3d..0000000000 --- a/unmaintained/cuetools/fix_build_with_automake-1.12.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 761eba5b9b9c87a872a18b7ba4bf3d77a96e2157 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Horv=C3=A1th=20Bal=C3=A1zs?= -Date: Tue, 15 Oct 2013 01:17:52 +0200 -Subject: [PATCH] Fix build with automake-1.12. - ---- - configure.ac | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/configure.ac b/configure.ac -index f54bb92..9f36932 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -4,6 +4,7 @@ AC_PROG_CC - AC_PROG_INSTALL - AC_PROG_RANLIB - AM_PROG_LEX -+m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) - AC_PROG_YACC - AC_CONFIG_HEADERS([config.h]) - AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile src/lib/Makefile src/tools/Makefile extras/Makefile]) --- -1.8.4 - diff --git a/unmaintained/cv/APKBUILD b/unmaintained/cv/APKBUILD deleted file mode 100644 index c0fd220910..0000000000 --- a/unmaintained/cv/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: z3bra -# Maintainer: -pkgname=cv -pkgver=0.5.1 -pkgrel=0 -pkgdesc="Linux tool to show progress for cp, rm, dd, ..." -url="https://github.com/Xfennec/cv" -arch="all" -license="GPL3" -depends="ncurses-dev" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages= -source="http://github.com/Xfennec/$pkgname/archive/v$pkgver.tar.gz" - -_builddir=$srcdir/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -} - -package() { - cd "$_builddir" - make PREFIX=/usr DESTDIR=$pkgdir install -} - -md5sums="8ac0e1169428b23b46cf509cf30e8e5a v0.5.1.tar.gz" -sha256sums="d390a26a8db78366be8dfee93819135a106610ba7e3f6d94515c84d5803195d4 v0.5.1.tar.gz" -sha512sums="af12176cbf2806a411fb9be9709e51f59c34888689f96a46d64ecac0fc93d892673268b2a25253e46ca0dcf711325d67b94ffbe4033dbc3cf733d1a15b712863 v0.5.1.tar.gz" diff --git a/unmaintained/cv/compress-tools.patch b/unmaintained/cv/compress-tools.patch deleted file mode 100644 index 696064e60b..0000000000 --- a/unmaintained/cv/compress-tools.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- cv.orig/cv.c -+++ cv/cv.c -@@ -44,7 +44,7 @@ - #include "sizes.h" - #include "hlist.h" - --char *proc_names[] = {"cp", "mv", "dd", "tar", "gzip", "gunzip", "cat", "grep", "fgrep", "egrep", "cut", "sort", NULL}; -+char *proc_names[] = {"cp", "mv", "dd", "tar", "gzip", "gunzip", "cat", "grep", "fgrep", "egrep", "cut", "sort", "cpio", "xz", "bzip2", "bunzip2", NULL}; - char *proc_specifiq = NULL; - WINDOW *mainwin; - signed char flag_quiet = 0; diff --git a/unmaintained/darwin-streaming-server/APKBUILD b/unmaintained/darwin-streaming-server/APKBUILD deleted file mode 100644 index fd60f5c546..0000000000 --- a/unmaintained/darwin-streaming-server/APKBUILD +++ /dev/null @@ -1,84 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=darwin-streaming-server -_pkgname=DarwinStreamingSrvr -pkgver=6.0.3 -pkgrel=1 -pkgdesc="Open source version of Apple's QuickTime Streaming Server technology" -url="http://dss.macosforge.org/" -arch="all" -license="Custom" -depends="perl" -depends_dev="perl" -makedepends="$depends_dev" -install="$pkgname.post-install" -subpackages="$pkgname-doc" -pkggroups="qtss" -source="http://dss.macosforge.org/downloads/DarwinStreamingSrvr6.0.3-Source.tar - dss-hh-20080728-1.patch - dss-6.0.3.patch - dss.initd" -_builddir="$srcdir"/"$_pkgname$pkgver-Source" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./Buildit || return 1 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/bin - mkdir -p "$pkgdir"/usr/sbin - mkdir -p "$pkgdir"/var/run/darwinstreaming - mkdir -p "$pkgdir"/var/darwinstreaming - mkdir -p -m 775 "$pkgdir/var/darwinstreaming/movies" - mkdir -p -m 770 "$pkgdir/var/darwinstreaming/playlists" - mkdir -p "$pkgdir/usr/sbin/StreamingServerModules" - install -D -m0755 "$srcdir"/dss.initd "$pkgdir/etc/init.d/dss" - install -D -m 644 APPLE_LICENSE "$pkgdir/usr/share/licenses/$pkgname/APPLE_LICENSE" - install ./StreamingLoadTool/StreamingLoadTool "$pkgdir/usr/bin/StreamingLoadTool" - install ./WebAdmin/src/streamingadminserver.pl "$pkgdir/usr/sbin/streamingadminserver.pl" - install -D -m 600 relayconfig.xml-Sample "$pkgdir/etc/darwinstreaming/relayconfig.xml-Sample" - echo "realm Streaming Server" > "$pkgdir/etc/darwinstreaming/qtusers" - chmod 600 "$pkgdir/etc/darwinstreaming/qtusers" - echo "admin: " > "$pkgdir/etc/darwinstreaming/qtgroups" - chmod 600 "$pkgdir/etc/darwinstreaming/qtgroups" - install -m 644 -D ./Documentation/readme.txt "$pkgdir/var/darwinstreaming/readme.txt" - install -m 644 ./Documentation/3rdPartyAcknowledgements.rtf "$pkgdir/var/darwinstreaming/3rdPartyAcknowledgements.rtf" - install -m 644 sample_100kbit.mov "$pkgdir/var/darwinstreaming/movies/sample_100kbit.mov" - install -m 644 sample_300kbit.mov "$pkgdir/var/darwinstreaming/movies/sample_300kbit.mov" - install -m 644 sample_100kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_100kbit.mp4" - install -m 644 sample_300kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_300kbit.mp4" - install -m 644 sample.mp3 "$pkgdir/var/darwinstreaming/movies/sample.mp3" - install -m 644 sample_50kbit.3gp "$pkgdir/var/darwinstreaming/movies/sample_50kbit.3gp" - install -m 644 sample_h264_100kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_100kbit.mp4" - install -m 644 sample_h264_300kbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_300kbit.mp4" - install -m 644 sample_h264_1mbit.mp4 "$pkgdir/var/darwinstreaming/movies/sample_h264_1mbit.mp4" - install -m 644 StreamingLoadTool/streamingloadtool.conf "$pkgdir/etc/darwinstreaming/loadtool.conf" - cp -f -r ./WebAdmin/WebAdminHtml "$pkgdir/var/darwinstreaming" - mv "$pkgdir/var/darwinstreaming/WebAdminHtml" "$pkgdir/var/darwinstreaming/AdminHtml" - install -m 644 ./WebAdmin/streamingadminserver_Darwin.conf "$pkgdir/etc/darwinstreaming/adminserver.conf" -} - -md5sums="ca676691db8417d05121699c0ca3d549 DarwinStreamingSrvr6.0.3-Source.tar -4a55c16f291f60056f38ee687680c769 dss-hh-20080728-1.patch -ee10f86fd27ef2da68782414e30cd226 dss-6.0.3.patch -aeb9cff914e598fa1a96c9e34d9ad535 dss.initd" -sha256sums="7bf75ced3f603f55c6f7601bfecd9f26393ea98be821d24169f2091843706522 DarwinStreamingSrvr6.0.3-Source.tar -ed2c25242c862bade182c1329c84b6003c6d5ed31ef6a00fc7364d224bad137a dss-hh-20080728-1.patch -13741e14f704d3b0db00100c9213ff0bec104403622905e92f370d846bf8f2ea dss-6.0.3.patch -f1e84078fe122a9e0debb3508e959b4f8bd7655bdb0cce25b32b7a477c0d61f0 dss.initd" -sha512sums="f507c8e01ca6f81e1d00a85fb137486d026817015178593c2a5de1dde34f809bc48b1348ea661a94ee0913811d23d0c204d28c29af0c1c9d69bd31eeefd9af85 DarwinStreamingSrvr6.0.3-Source.tar -2706e75e8ffca0096f2cd53b5c0d3a8b5577766fac9bbfa9c03a894c18ea13f01117adca52e6f539233971ccc283c2751d02e8a8cd44427c07b2569e9369bfd0 dss-hh-20080728-1.patch -299e330fd39a263ffebb573b9c5c8b264b203ba9cab108d074f34234491f25d84a929c3bfee045655abdb2564ea8201c0abebbdc36d5ee70399b3684a8c23f50 dss-6.0.3.patch -16755dcd3625f21ac6ab138e1a5b5c8589b9dc46add974065786db764dbd02f734f945aeb6f05e7b3d4cc80c804d2c1c8ac21e6e41264b3b9445687bad9b418c dss.initd" diff --git a/unmaintained/darwin-streaming-server/darwin-streaming-server.post-install b/unmaintained/darwin-streaming-server/darwin-streaming-server.post-install deleted file mode 100644 index c2a4511d90..0000000000 --- a/unmaintained/darwin-streaming-server/darwin-streaming-server.post-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S qtss 2>/dev/null -adduser -S -D -h /var/darwinstreaming -s /bin/false -G qtss -g qtss qtss 2>/dev/null - -exit 0 diff --git a/unmaintained/darwin-streaming-server/dss-6.0.3.patch b/unmaintained/darwin-streaming-server/dss-6.0.3.patch deleted file mode 100644 index 87dac4cc1b..0000000000 --- a/unmaintained/darwin-streaming-server/dss-6.0.3.patch +++ /dev/null @@ -1,381 +0,0 @@ -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/APICommonCode/QTAccessFile.cpp DarwinStreamingSrvr6.0.3-Source/APICommonCode/QTAccessFile.cpp ---- DarwinStreamingSrvr6.0.3-Source.orig/APICommonCode/QTAccessFile.cpp 2008-05-06 01:28:57.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/APICommonCode/QTAccessFile.cpp 2008-05-24 03:23:13.000000000 +0200 -@@ -46,7 +46,9 @@ - - - #include -+#ifdef __MacOSX__ - #include -+#endif - #include - #include - #include -@@ -613,6 +615,7 @@ - - bool DSAccessFile::CheckGroupMembership(const char* inUsername, const char* inGroupName) - { -+#ifdef __MacOSX__ - // In Tiger, group membership is painfully simple: we ask memberd for it! - struct passwd *user = NULL; - struct group *group = NULL; -@@ -641,6 +644,9 @@ - if ( mbr_check_membership(userID, groupID, &isMember) ) - return false; - return (bool)isMember; -+#else -+ return true; -+#endif - } - - Bool16 DSAccessFile::ValidUser( char*userName, void* extraDataPtr) -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OSHeaders.h DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OSHeaders.h ---- DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OSHeaders.h 2008-05-06 01:28:59.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OSHeaders.h 2008-05-24 02:05:15.000000000 +0200 -@@ -120,7 +120,6 @@ - - - #elif __linux__ || __linuxppc__ || __FreeBSD__ -- - /* Defines */ - #define _64BITARG_ "q" - #define _S64BITARG_ "lld" -@@ -128,9 +127,13 @@ - #if __LP64__ - #define _S32BITARG_ "d" - #define _U32BITARG_ "u" -+ #define _SPOINTERSIZEARG_ _S64BITARG_ -+ #define _UPOINTERSIZEARG_ _U64BITARG_ - #else -- #define _S32BITARG_ "ld" -- #define _U32BITARG_ "lu" -+ #define _S32BITARG_ "d" -+ #define _U32BITARG_ "u" -+ #define _SPOINTERSIZEARG_ _S32BITARG_ -+ #define _UPOINTERSIZEARG_ _U32BITARG_ - #endif - - /* paths */ -@@ -141,6 +144,7 @@ - - /* Includes */ - #include -+ #include - - /* Constants */ - #define QT_TIME_TO_LOCAL_TIME (-2082844800) -@@ -149,14 +153,14 @@ - /* Typedefs */ - typedef signed long PointerSizedInt; - typedef unsigned long PointerSizedUInt; -- typedef unsigned char UInt8; -- typedef signed char SInt8; -- typedef unsigned short UInt16; -- typedef signed short SInt16; -- typedef unsigned int UInt32; -- typedef signed int SInt32; -- typedef signed int int SInt64; -- typedef unsigned int int UInt64; -+ typedef uint8_t UInt8; -+ typedef int8_t SInt8; -+ typedef uint16_t UInt16; -+ typedef int16_t SInt16; -+ typedef uint32_t UInt32; -+ typedef int32_t SInt32; -+ typedef int64_t SInt64; -+ typedef uint64_t UInt64; - typedef float Float32; - typedef double Float64; - typedef UInt16 Bool16; -@@ -177,11 +181,14 @@ - - #define TW0_CHARS_TO_INT( c1, c2 ) ( c1 << 8 | c2 ) - -+ #define kSInt16_Max USHRT_MAX -+ #define kUInt16_Max USHRT_MAX - -+ #define kSInt32_Max LONG_MAX -+ #define kUInt32_Max ULONG_MAX - -- -- -- -+ #define kSInt64_Max LONG_LONG_MAX -+ #define kUInt64_Max ULONG_LONG_MAX - - #elif __Win32__ - -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OSRef.h DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OSRef.h ---- DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OSRef.h 2008-05-06 01:28:59.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OSRef.h 2008-05-23 22:28:51.000000000 +0200 -@@ -45,6 +45,7 @@ - #include "StrPtrLen.h" - #include "OSHashTable.h" - #include "OSCond.h" -+#include "OSHeaders.h" - - class OSRefKey; - -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Makefile.POSIX DarwinStreamingSrvr6.0.3-Source/Makefile.POSIX ---- DarwinStreamingSrvr6.0.3-Source.orig/Makefile.POSIX 2007-11-16 06:17:59.000000000 +0100 -+++ DarwinStreamingSrvr6.0.3-Source/Makefile.POSIX 2008-05-24 07:19:34.000000000 +0200 -@@ -42,7 +42,6 @@ - CCFLAGS += -IRTPMetaInfoLib - CCFLAGS += -IPrefsSourceLib - CCFLAGS += -IServer.tproj -- - # EACH DIRECTORY WITH A STATIC LIBRARY MUST BE APPENDED IN THIS MANNER TO THE LINKOPTS - - LINKOPTS = -LCommonUtilitiesLib -@@ -52,38 +51,42 @@ - - CFILES = CommonUtilitiesLib/daemon.c - --CPPFILES = Server.tproj/QTSSExpirationDate.cpp\ -+CPPFILES = Server.tproj/GenerateXMLPrefs.cpp \ -+ Server.tproj/main.cpp \ - Server.tproj/QTSSCallbacks.cpp \ -- Server.tproj/QTSSDictionary.cpp\ - Server.tproj/QTSSDataConverter.cpp \ -+ Server.tproj/QTSSDictionary.cpp \ - Server.tproj/QTSSErrorLogModule.cpp \ -- Server.tproj/QTSSMessages.cpp\ -+ Server.tproj/QTSServer.cpp \ -+ Server.tproj/QTSServerInterface.cpp \ -+ Server.tproj/QTSServerPrefs.cpp \ -+ Server.tproj/QTSSExpirationDate.cpp \ -+ Server.tproj/QTSSFile.cpp \ -+ Server.tproj/QTSSMessages.cpp \ - Server.tproj/QTSSModule.cpp \ -- Server.tproj/QTSServerPrefs.cpp\ -- Server.tproj/QTSSSocket.cpp\ -- Server.tproj/QTSSFile.cpp\ - Server.tproj/QTSSPrefs.cpp \ -- Server.tproj/QTSServer.cpp\ -- Server.tproj/QTSServerInterface.cpp \ -- Server.tproj/RTCPTask.cpp\ -- Server.tproj/RTPSession.cpp \ -- Server.tproj/RTPPacketResender.cpp \ -+ Server.tproj/QTSSSocket.cpp \ -+ Server.tproj/QTSSUserProfile.cpp \ -+ Server.tproj/RTCPTask.cpp \ - Server.tproj/RTPBandwidthTracker.cpp \ - Server.tproj/RTPOverbufferWindow.cpp \ -- Server.tproj/RTPSessionInterface.cpp\ -+ Server.tproj/RTPPacketResender.cpp \ -+ Server.tproj/RTPSession3GPP.cpp \ -+ Server.tproj/RTPSession.cpp \ -+ Server.tproj/RTPSessionInterface.cpp \ -+ Server.tproj/RTPStream3gpp.cpp \ - Server.tproj/RTPStream.cpp \ -- Server.tproj/RTSPProtocol.cpp\ -+ Server.tproj/RTSPProtocol.cpp \ -+ Server.tproj/RTSPRequest3GPP.cpp \ - Server.tproj/RTSPRequest.cpp \ -- Server.tproj/RTSPRequestInterface.cpp\ -+ Server.tproj/RTSPRequestInterface.cpp \ - Server.tproj/RTSPRequestStream.cpp \ -- Server.tproj/RTSPResponseStream.cpp\ -+ Server.tproj/RTSPResponseStream.cpp \ -+ Server.tproj/RTSPSession3GPP.cpp \ - Server.tproj/RTSPSession.cpp \ -- Server.tproj/RTSPSessionInterface.cpp\ -- Server.tproj/main.cpp \ -+ Server.tproj/RTSPSessionInterface.cpp \ - Server.tproj/RunServer.cpp \ -- Server.tproj/GenerateXMLPrefs.cpp \ -- Server.tproj/QTSSUserProfile.cpp\ -- PrefsSourceLib/FilePrefsSource.cpp\ -+ PrefsSourceLib/FilePrefsSource.cpp \ - PrefsSourceLib/XMLPrefsParser.cpp \ - PrefsSourceLib/XMLParser.cpp \ - OSMemoryLib/OSMemory.cpp \ -@@ -91,17 +94,20 @@ - RTSPClientLib/ClientSocket.cpp \ - HTTPUtilitiesLib/HTTPProtocol.cpp \ - HTTPUtilitiesLib/HTTPRequest.cpp \ -- RTCPUtilitiesLib/RTCPAPPPacket.cpp\ -+ RTCPUtilitiesLib/RTCPAckPacket.cpp \ -+ RTCPUtilitiesLib/RTCPAPPNADUPacket.cpp \ -+ RTCPUtilitiesLib/RTCPAPPPacket.cpp \ -+ RTCPUtilitiesLib/RTCPAPPQTSSPacket.cpp \ - RTCPUtilitiesLib/RTCPPacket.cpp \ -- RTCPUtilitiesLib/RTCPSRPacket.cpp\ -- RTCPUtilitiesLib/RTCPAckPacket.cpp\ -- RTPMetaInfoLib/RTPMetaInfoPacket.cpp\ -+ RTCPUtilitiesLib/RTCPSRPacket.cpp \ -+ RTPMetaInfoLib/RTPMetaInfoPacket.cpp \ - APIStubLib/QTSS_Private.cpp \ - APICommonCode/QTSSModuleUtils.cpp\ - APICommonCode/QTSSRollingLog.cpp \ - APICommonCode/SDPSourceInfo.cpp \ - APICommonCode/SourceInfo.cpp \ - APICommonCode/QTAccessFile.cpp \ -+ APICommonCode/QTSS3GPPModuleUtils.cpp \ - SafeStdLib/InternalStdLib.cpp \ - APIModules/QTSSAccessLogModule/QTSSAccessLogModule.cpp \ - APIModules/QTSSFileModule/QTSSFileModule.cpp \ -@@ -129,7 +135,7 @@ - APIModules/QTSSAccessModule/QTSSAccessModule.cpp \ - APIModules/QTSSHttpFileModule/QTSSHttpFileModule.cpp \ - APIModules/QTSSAccessModule/AccessChecker.cpp -- -+ - # CCFLAGS += $(foreach dir,$(HDRS),-I$(dir)) - - LIBFILES = QTFileLib/libQTFileLib.a \ -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/RTSPClientLib/PlayerSimulator.h DarwinStreamingSrvr6.0.3-Source/RTSPClientLib/PlayerSimulator.h ---- DarwinStreamingSrvr6.0.3-Source.orig/RTSPClientLib/PlayerSimulator.h 2008-05-06 01:29:00.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/RTSPClientLib/PlayerSimulator.h 2008-05-24 02:08:45.000000000 +0200 -@@ -31,7 +31,7 @@ - #ifndef _PLAYERSIMULATOR_H_ - #define _PLAYERSIMULATOR_H_ - --#include "SafeStdLib.h"" -+#include "SafeStdLib.h" - #include "OSHeaders.h" - #include "OS.h" - #include "SVector.h" -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSErrorLogModule.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSErrorLogModule.cpp ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSErrorLogModule.cpp 2008-05-06 01:28:59.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSErrorLogModule.cpp 2008-05-24 02:58:48.000000000 +0200 -@@ -265,7 +265,11 @@ - - sDupErrorStringCount = 0; - } -- ::strlcpy(sLastErrorString, inParamBlock->errorParams.inBuffer, sizeof(sLastErrorString)); -+#if __MacOSX__ -+ strlcpy(sLastErrorString, inParamBlock->errorParams.inBuffer, sizeof(sLastErrorString)); -+#else -+ strncpy(sLastErrorString, inParamBlock->errorParams.inBuffer, sizeof(sLastErrorString) -1); -+#endif - - } - -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSServer.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSServer.cpp ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSServer.cpp 2008-05-06 01:28:59.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSServer.cpp 2008-05-24 07:24:39.000000000 +0200 -@@ -70,7 +70,9 @@ - #include "QTSSAdminModule.h" - #include "QTSSAccessModule.h" - #include "QTSSMP3StreamingModule.h" -+#if __MacOSX__ - #include "QTSSDSAuthModule.h" -+#endif - #if MEMORY_DEBUGGING - #include "QTSSWebDebugModule.h" - #endif -@@ -85,7 +87,7 @@ - #include "RTCPTask.h" - #include "QTSSFile.h" - --#include "RTPStream3GPP.h" -+#include "RTPStream3gpp.h" - #include "RTSPRequest3GPP.h" - - // CLASS DEFINITIONS -@@ -680,9 +682,11 @@ - (void)AddModule(theWebDebug); - #endif - -+#if __MacOSX__ - QTSSModule* theQTSSDSAuthModule = new QTSSModule("QTSSDSAuthModule"); - (void)theQTSSDSAuthModule->SetupModule(&sCallbacks, &QTSSDSAuthModule_Main); - (void)AddModule(theQTSSDSAuthModule); -+#endif - - QTSSModule* theQTACCESSmodule = new QTSSModule("QTSSAccessModule"); - (void)theQTACCESSmodule->SetupModule(&sCallbacks, &QTSSAccessModule_Main); -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPSession.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPSession.cpp ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPSession.cpp 2008-05-06 01:28:59.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPSession.cpp 2008-05-24 02:39:34.000000000 +0200 -@@ -38,7 +38,7 @@ - #include "RTSPProtocol.h" - #include "QTSServerInterface.h" - #include "QTSS.h" --#include "RTSPRequest3gpp.h" -+#include "RTSPRequest3GPP.h" - - #include "OS.h" - #include "OSMemory.h" -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPStream3gpp.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPStream3gpp.cpp ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPStream3gpp.cpp 2008-05-06 01:28:59.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPStream3gpp.cpp 2008-05-24 02:48:52.000000000 +0200 -@@ -34,7 +34,7 @@ - #include "RTPStream.h" - #include "RTPStream3gpp.h" - #include "RTPSessionInterface.h" --#include "RTSPRequest3gpp.h" -+#include "RTSPRequest3GPP.h" - #include "RTCPAPPNADUPacket.h" - - #if DEBUG -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPStream.h DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPStream.h ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTPStream.h 2008-05-06 01:28:59.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTPStream.h 2008-05-24 02:36:24.000000000 +0200 -@@ -57,7 +57,7 @@ - - #include "RTCPPacket.h" - --#include "RTSPRequest3gpp.h" -+#include "RTSPRequest3GPP.h" - - #ifndef MIN - #define MIN(a,b) (((a)<(b))?(a):(b)) -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTSPRequest3GPP.cpp DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPRequest3GPP.cpp ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/RTSPRequest3GPP.cpp 2008-05-06 01:28:59.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/RTSPRequest3GPP.cpp 2008-05-24 02:49:26.000000000 +0200 -@@ -32,7 +32,7 @@ - */ - - --#include "RTSPRequest3gpp.h" -+#include "RTSPRequest3GPP.h" - #include "RTSPProtocol.h" - #include "QTSServerInterface.h" - -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/Makefile.POSIX DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/Makefile.POSIX ---- DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/Makefile.POSIX 2007-11-16 06:17:36.000000000 +0100 -+++ DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/Makefile.POSIX 2008-05-24 02:32:03.000000000 +0200 -@@ -17,6 +17,7 @@ - CCFLAGS += -I.. - CCFLAGS += -I../OSMemoryLib - CCFLAGS += -I../RTSPClientLib -+CCFLAGS += -I../RTCPUtilitiesLib - CCFLAGS += -I../APICommonCode - CCFLAGS += -I../CommonUtilitiesLib - CCFLAGS += -I../PrefsSourceLib -@@ -36,6 +37,12 @@ - ../RTSPClientLib/ClientSocket.cpp \ - ../RTSPClientLib/RTSPClient.cpp \ - ../RTSPClientLib/ClientSession.cpp \ -+ ../RTCPUtilitiesLib/RTCPAckPacket.cpp \ -+ ../RTCPUtilitiesLib/RTCPAPPNADUPacket.cpp \ -+ ../RTCPUtilitiesLib/RTCPAPPPacket.cpp \ -+ ../RTCPUtilitiesLib/RTCPAPPQTSSPacket.cpp \ -+ ../RTCPUtilitiesLib/RTCPPacket.cpp \ -+ ../RTCPUtilitiesLib/RTCPSRPacket.cpp \ - ../PrefsSourceLib/FilePrefsSource.cpp \ - ../APICommonCode/SDPSourceInfo.cpp \ - ../APICommonCode/SourceInfo.cpp \ -diff -ur --exclude='*~' DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/StreamingLoadTool.cpp DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/StreamingLoadTool.cpp ---- DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/StreamingLoadTool.cpp 2008-05-06 01:28:57.000000000 +0200 -+++ DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/StreamingLoadTool.cpp 2008-05-24 02:22:13.000000000 +0200 -@@ -743,7 +743,7 @@ - - bitsReceived += .5; - -- printf("%5lu %6lu %8lu %6lu %6lu %6lu %9.0fk\n", -+ printf("%5"_U32BITARG_" %6"_U32BITARG_" %8"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %9.0fk\n", - ClientSession:: GetActiveConnections (), - ClientSession:: GetPlayingConnections (), - ClientSession:: GetConnectionAttempts (), -@@ -811,7 +811,7 @@ - if (sLog != NULL) - ::fclose(sLog); - -- printf("%5lu %6lu %8lu %6lu %6lu %6lu %9.0fk\n", -+ printf("%5"_U32BITARG_" %6"_U32BITARG_" %8"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %6"_U32BITARG_" %9.0fk\n", - ClientSession:: GetActiveConnections (), - ClientSession:: GetPlayingConnections (), - ClientSession:: GetConnectionAttempts (), diff --git a/unmaintained/darwin-streaming-server/dss-hh-20080728-1.patch b/unmaintained/darwin-streaming-server/dss-hh-20080728-1.patch deleted file mode 100644 index d8475f686c..0000000000 --- a/unmaintained/darwin-streaming-server/dss-hh-20080728-1.patch +++ /dev/null @@ -1,302 +0,0 @@ ---- DarwinStreamingSrvr6.0.3-Source.orig/Buildit 2008-03-26 08:42:48.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/Buildit 2008-07-10 18:56:05.000000000 +0800 -@@ -86,14 +86,19 @@ case $PLAT in - ;; - - Linux.i586 | \ -- Linux.i686) -+ Linux.i686 | \ -+ Linux.x86_64 ) - echo "Configuring for the "$OSNAME" "$HARDWARENAME" platform" - CPLUS=gcc - CCOMP=gcc - LINKER='gcc' - MAKE=make - -- COMPILER_FLAGS="-D_REENTRANT -D__USE_POSIX -D__linux__ -pipe" -+ if [ "$PLAT" = "Linux.x86_64" ]; then -+ COMPILER_FLAGS="-D_REENTRANT -D__USE_POSIX -D__linux__ -pipe -fPIC" -+ else -+ COMPILER_FLAGS="-D_REENTRANT -D__USE_POSIX -D__linux__ -pipe" -+ fi - INCLUDE_FLAG="-include" - - CORE_LINK_LIBS="-lpthread -ldl -lstdc++ -lm -lcrypt" ---- DarwinStreamingSrvr6.0.3-Source.orig/MP3Broadcaster/BroadcasterMain.cpp_orig 2008-07-03 20:51:14.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/MP3Broadcaster/BroadcasterMain.cpp 2008-07-03 20:51:47.000000000 +0800 -@@ -216,7 +216,7 @@ static void RegisterEventHandlers() - - struct sigaction act; - --#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__sgi__) || defined(__osf__) || defined(__hpux__) || defined(__linuxppc__) -+#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__sgi__) || defined(__osf__) || defined(__hpux__) || defined(__linuxppc__) || defined(__linux__) - sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_handler = (void(*)(int))&SignalEventHandler; ---- DarwinStreamingSrvr6.0.3-Source.orig/PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp_orig 2008-07-03 20:42:56.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/PlaylistBroadcaster.tproj/PlaylistBroadcaster.cpp 2008-07-03 20:43:13.000000000 +0800 -@@ -2082,7 +2082,7 @@ static void RegisterEventHandlers() - - struct sigaction act; - --#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__powerpc__) || defined (__sgi_cc__) || defined(__osf__) || defined(__hpux__) -+#if defined(sun) || defined(i386) || defined(__MacOSX__) || defined(__powerpc__) || defined (__sgi_cc__) || defined(__osf__) || defined(__hpux__) || defined(__linux__) - sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_handler = (void(*)(int))&SignalEventHandler; ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/main.cpp_orig 2008-07-03 20:38:56.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/main.cpp 2008-07-03 20:39:30.000000000 +0800 -@@ -216,7 +216,7 @@ int main(int argc, char * argv[]) - //(void) ::signal(SIGPIPE, SIG_IGN); - struct sigaction act; - --#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) -+#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) || defined (__linux__) - sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_handler = (void(*)(int))&sigcatcher; ---- DarwinStreamingSrvr6.0.3-Source.orig/StreamingLoadTool/StreamingLoadTool.cpp_orig 2008-07-04 13:37:58.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/StreamingLoadTool/StreamingLoadTool.cpp 2008-07-04 13:38:16.000000000 +0800 -@@ -135,7 +135,7 @@ int main(int argc, char *argv[]) - #ifndef __Win32__ - struct sigaction act; - --#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) -+#if defined(sun) || defined(i386) || defined (__MacOSX__) || defined(__powerpc__) || defined (__osf__) || defined (__sgi_cc__) || defined (__hpux__) || defined (__linux__) - sigemptyset(&act.sa_mask); - act.sa_flags = 0; - act.sa_handler = (void(*)(int))&sigcatcher; ---- DarwinStreamingSrvr6.0.3-Source_orig/CommonUtilitiesLib/SocketUtils.cpp_orig 2008-07-22 13:27:28.026924464 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/SocketUtils.cpp 2008-07-22 13:33:57.944935981 +0800 -@@ -549,9 +549,6 @@ Bool16 SocketUtils::IncrementIfReqIter(c - //if the length of the addr is 0, use the family to determine - //what the addr size is - if (ifr->ifr_addr.sa_len == 0) --#else -- *inIfReqIter += sizeof(ifr->ifr_name) + 0; --#endif - { - switch (ifr->ifr_addr.sa_family) - { -@@ -565,6 +562,9 @@ Bool16 SocketUtils::IncrementIfReqIter(c - // return false; - } - } -+#else -+ *inIfReqIter += sizeof(*ifr); -+#endif - return true; - } - #endif ---- DarwinStreamingSrvr6.0.3-Source_orig/CommonUtilitiesLib/Task.h_orig 2008-07-25 17:12:53.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/Task.h 2008-07-25 17:14:05.000000000 +0800 -@@ -213,7 +213,7 @@ private: - static UInt32 sNumShortTaskThreads; - static UInt32 sNumBlockingTaskThreads; - -- static OSMutexRW sMutexRW; -+ static OSMutexRW sMutexRW __attribute__((visibility("hidden"))); - - friend class Task; - friend class TaskThread; ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSServer.cpp_orig 2008-07-24 10:00:06.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSServer.cpp 2008-07-24 20:59:40.000000000 +0800 -@@ -135,13 +135,13 @@ QTSServer::~QTSServer() - // - // Grab the server mutex. This is to make sure all gets & set values on this - // object complete before we start deleting stuff -- OSMutexLocker serverlocker(this->GetServerObjectMutex()); -+ OSMutexLocker* serverlocker = new OSMutexLocker(this->GetServerObjectMutex()); - - // - // Grab the prefs mutex. This is to make sure we can't reread prefs - // WHILE shutting down, which would cause some weirdness for QTSS API - // (some modules could get QTSS_RereadPrefs_Role after QTSS_Shutdown, which would be bad) -- OSMutexLocker locker(this->GetPrefs()->GetMutex()); -+ OSMutexLocker* locker = new OSMutexLocker(this->GetPrefs()->GetMutex()); - - QTSS_ModuleState theModuleState; - theModuleState.curRole = QTSS_Shutdown_Role; -@@ -152,6 +152,13 @@ QTSServer::~QTSServer() - (void)QTSServerInterface::GetModule(QTSSModule::kShutdownRole, x)->CallDispatch(QTSS_Shutdown_Role, NULL); - - OSThread::SetMainThreadData(NULL); -+ -+ delete fRTPMap; -+ delete fSocketPool; -+ delete fSrvrMessages; -+ delete locker; -+ delete serverlocker; -+ delete fSrvrPrefs; - } - - Bool16 QTSServer::Initialize(XMLPrefsParser* inPrefsSource, PrefsSource* inMessagesSource, UInt16 inPortOverride, Bool16 createListeners) ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSMessages.cpp_orig 2008-07-24 14:26:35.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSMessages.cpp 2008-07-24 19:28:31.000000000 +0800 -@@ -212,15 +212,17 @@ void QTSSMessages::Initialize() - } - - QTSSMessages::QTSSMessages(PrefsSource* inMessages) --: QTSSDictionary(QTSSDictionaryMap::GetMap(QTSSDictionaryMap::kTextMessagesDictIndex)) -+: QTSSDictionary(QTSSDictionaryMap::GetMap(QTSSDictionaryMap::kTextMessagesDictIndex)), -+ numAttrs(GetDictionaryMap()->GetNumAttrs()) - { - static const UInt32 kMaxMessageSize = 2048; - char theMessage[kMaxMessageSize]; - - // Use the names of the attributes in the attribute map as the key values for - // finding preferences in the config file. -- -- for (UInt32 x = 0; x < this->GetDictionaryMap()->GetNumAttrs(); x++) -+ attrBuffer = NEW char* [numAttrs]; -+ ::memset(attrBuffer, 0, sizeof(char*) * numAttrs); -+ for (UInt32 x = 0; x < numAttrs; x++) - { - theMessage[0] = '\0'; - (void)inMessages->GetValue(this->GetDictionaryMap()->GetAttrName(x), &theMessage[0]); -@@ -248,9 +250,10 @@ QTSSMessages::QTSSMessages(PrefsSource* - // the new attribute, and copy the data into the newly allocated buffer - if (theMessage[0] != '\0') - { -- char* attrBuffer = NEW char[::strlen(theMessage) + 2]; -- ::strcpy(attrBuffer, theMessage); -- this->SetVal(this->GetDictionaryMap()->GetAttrID(x), attrBuffer, ::strlen(attrBuffer)); -+ attrBuffer[x] = NEW char[::strlen(theMessage) + 2]; -+ ::strcpy(attrBuffer[x], theMessage); -+ this->SetVal(this->GetDictionaryMap()->GetAttrID(x), -+ attrBuffer[x], ::strlen(attrBuffer[x])); - } - } - } ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSDictionary.h_orig 2008-07-24 15:52:36.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSDictionary.h 2008-07-24 15:52:36.000000000 +0800 -@@ -215,7 +215,8 @@ class QTSSDictionary : public QTSSStream - Bool16 fMyMutex; - Bool16 fLocked; - -- void DeleteAttributeData(DictValueElement* inDictValues, UInt32 inNumValues); -+ void DeleteAttributeData(DictValueElement* inDictValues, -+ UInt32 inNumValues, QTSSDictionaryMap* theMap); - }; - - -@@ -271,7 +272,11 @@ class QTSSDictionaryMap - // CONSTRUCTOR / DESTRUCTOR - - QTSSDictionaryMap(UInt32 inNumReservedAttrs, UInt32 inFlags = kNoFlags); -- ~QTSSDictionaryMap(){ delete fAttrArray; } -+ ~QTSSDictionaryMap() { -+ for (UInt32 i = 0; i < fAttrArraySize; i++) -+ delete fAttrArray[i]; -+ delete [] fAttrArray; -+ } - - // - // QTSS API CALLS ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSMessages.h_orig 2008-07-24 14:26:35.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSMessages.h 2008-07-24 20:20:45.000000000 +0800 -@@ -53,13 +53,20 @@ class QTSSMessages : public QTSSDictiona - static void Initialize(); - - QTSSMessages(PrefsSource* inMessages); -- virtual ~QTSSMessages() {} -+ virtual ~QTSSMessages() { -+ for (UInt32 x = 0; x < numAttrs; x++) -+ if (attrBuffer[x] != NULL) -+ delete [] attrBuffer[x]; -+ delete [] attrBuffer; -+ } - - - //Use the standard GetAttribute method in QTSSDictionary to retrieve messages - - private: -- -+ char** attrBuffer; -+ UInt32 numAttrs; -+ - enum - { - kNumMessages = 74 // 0 based count so it is one more than last message index number ---- DarwinStreamingSrvr6.0.3-Source.orig/Server.tproj/QTSSDictionary.cpp_orig 2008-07-23 12:27:56.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/Server.tproj/QTSSDictionary.cpp 2008-07-24 16:54:46.000000000 +0800 -@@ -60,12 +60,12 @@ QTSSDictionary::QTSSDictionary(QTSSDicti - QTSSDictionary::~QTSSDictionary() - { - if (fMap != NULL) -- this->DeleteAttributeData(fAttributes, fMap->GetNumAttrs()); -+ this->DeleteAttributeData(fAttributes, fMap->GetNumAttrs(), fMap); - if (fAttributes != NULL) - delete [] fAttributes; -- delete fInstanceMap; -- this->DeleteAttributeData(fInstanceAttrs, fInstanceArraySize); -+ this->DeleteAttributeData(fInstanceAttrs, fInstanceArraySize, fInstanceMap); - delete [] fInstanceAttrs; -+ delete fInstanceMap; - if (fMyMutex) - delete fMutexP; - } -@@ -340,7 +340,8 @@ QTSS_Error QTSSDictionary::SetValue(QTSS - theAttrs[theMapIndex].fAttributeData.Len = sizeof(char*); - // store off original string as first value in array - *(char**)theAttrs[theMapIndex].fAttributeData.Ptr = temp; -- // question: why isn't theAttrs[theMapIndex].fAllocatedInternally set to true? -+ // question: why isn't theAttrs[theMapIndex].fAllocatedInternally set to true? -+ theAttrs[theMapIndex].fAllocatedInternally = true; - } - } - else -@@ -407,7 +408,7 @@ QTSS_Error QTSSDictionary::SetValue(QTSS - // The offset should be (attrLen * inIndex) and not (inLen * inIndex) - char** valuePtr = (char**)(theAttrs[theMapIndex].fAttributeData.Ptr + (attrLen * inIndex)); - if (inIndex < numValues) // we're replacing an existing string -- delete *valuePtr; -+ delete [] *valuePtr; - *valuePtr = (char*)attributeBufferPtr; - } - -@@ -522,7 +523,7 @@ QTSS_Error QTSSDictionary::RemoveValue(Q - { - // we need to delete the string - char* str = *(char**)(theAttrs[theMapIndex].fAttributeData.Ptr + (theValueLen * inIndex)); -- delete str; -+ delete [] str; - } - - // -@@ -797,12 +798,22 @@ QTSS_Error QTSSDictionary::GetAttrInfoBy - return theErr; - } - --void QTSSDictionary::DeleteAttributeData(DictValueElement* inDictValues, UInt32 inNumValues) -+void QTSSDictionary::DeleteAttributeData(DictValueElement* inDictValues, -+ UInt32 inNumValues, -+ QTSSDictionaryMap* theMap) - { - for (UInt32 x = 0; x < inNumValues; x++) - { -- if (inDictValues[x].fAllocatedInternally) -+ if (inDictValues[x].fAllocatedInternally) { -+ if ((theMap->GetAttrType(x) == qtssAttrDataTypeCharArray) && -+ (inDictValues[x].fNumAttributes > 1)) { -+ UInt32 z = 0; -+ for (char **y = (char **) (inDictValues[x].fAttributeData.Ptr); -+ z < inDictValues[x].fNumAttributes; z++) -+ delete [] y[z]; -+ } - delete [] inDictValues[x].fAttributeData.Ptr; -+ } - } - } - ---- DarwinStreamingSrvr6.0.3-Source.orig/CommonUtilitiesLib/OS.cpp_orig 2008-07-24 09:38:53.000000000 +0800 -+++ DarwinStreamingSrvr6.0.3-Source/CommonUtilitiesLib/OS.cpp 2008-07-24 09:39:31.000000000 +0800 -@@ -220,7 +220,7 @@ SInt32 OS::GetGMTOffset() - return ((tzInfo.Bias / 60) * -1); - #else - -- time_t clock; -+ time_t clock = 0; //Make 'clock' initialized for valgrind - struct tm *tmptr= localtime(&clock); - if (tmptr == NULL) - return 0; diff --git a/unmaintained/darwin-streaming-server/dss.initd b/unmaintained/darwin-streaming-server/dss.initd deleted file mode 100644 index 15dd6f9ced..0000000000 --- a/unmaintained/darwin-streaming-server/dss.initd +++ /dev/null @@ -1,98 +0,0 @@ -#!/sbin/runscript - -opts="statusdss statusadmin restart" - -depend() { - need net - use dns -} - -start() { - ebegin "Starting DSS (per Streaming Admin Server)" - /usr/sbin/streamingadminserver.pl - eend $? -} - -stop(){ - - PIDFILE="/var/run/darwinstreaming/adminserver.pid" - - if [ -f "$PIDFILE" ]; then - - PID=`cat "$PIDFILE"` - ps axo pid | grep $PID &>/dev/null - - if [ $? -eq 0 ]; then - ebegin "Stopping Streaming Admin Server" - kill $PID - eend $? - else - einfo "Streaming Admin Server not running." - ebegin "Dropping stale PID file" - rm "$PIDFILE" - eend $? - fi - - else - einfo "Streaming Admin Server not running obviously." - fi - - - # DSS isn't writing PID file actually - # --> use ps to check for running instance - - PID=`ps axo user,pid,cmd | grep -E '^qtss ' | grep Streaming | awk '{print $2}'` - - if [ $? -eq 0 ]; then - ebegin "Stopping DSS" - kill $PID - eend $? - else - einfo "DSS not running." - fi - -} - -statusdss() { - PIDFILE="/var/run/darwinstreaming/DarwinStreamingServer.pid" - if [ -f "$PIDFILE" ]; then - - PID=`cat "$PIDFILE"` - ps axo pid | grep PID &>/dev/null - - if [ $? -eq 0 ]; then - einfo "DSS is running" - return 0 - else - ewarning "found stale PID file" - fi - fi - - einfo "DSS is not running" - return 1 -} - -statusadmin() { - PIDFILE="/var/run/darwinstreaming/adminserver.pid" - if [ -f "$PIDFILE" ]; then - - PID=`cat "$PIDFILE"` - ps axo pid | grep PID &>/dev/null - - if [ $? -eq 0 ]; then - einfo "Streaming Admin Server is running" - return 0 - else - ewarning "found stale PID file" - fi - fi - - einfo "Streaming Admin Server is not running" - return 1 -} - -restart() { - stop - start -} - diff --git a/unmaintained/datacoin-hp/APKBUILD b/unmaintained/datacoin-hp/APKBUILD deleted file mode 100644 index f921f2a505..0000000000 --- a/unmaintained/datacoin-hp/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: -pkgname=datacoin-hp -pkgver=0_git20140921 -pkgrel=0 -_commit=791125b901767b9dec40e04f6865181a3276395b -pkgdesc="High-performance version of datacoin" -url=https://github.com/foo1inge/datacoin-hp -arch="x86_64" -license=MIT -depends= -makedepends="boost-dev db-dev gmp-dev miniupnpc-dev openssl-dev" -install= -subpackages= -source=$url/archive/$_commit.zip - -_builddir=$srcdir/$pkgname-$_commit/src -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -f makefile.unix BOOST_LIB_SUFFIX=-mt -} - -package() { - cd "$_builddir" - install -D -m 755 datacoind "$pkgdir/usr/bin/datacoind" -} - -md5sums="f5fc62457bf6d64286eb24d11a4b3169 791125b901767b9dec40e04f6865181a3276395b.zip" -sha256sums="99c0147bdf838337ff4b6b66519f6e04810b8ff2d88251bcb46e844c4720a507 791125b901767b9dec40e04f6865181a3276395b.zip" -sha512sums="8925bd53749f5370299c38a90c96be539c8064de4e077cc0f6090353d9484fdcd38236c0da88b9c2d6cfb215d77ad02addd0061ce39f997581251cdcb0a2495a 791125b901767b9dec40e04f6865181a3276395b.zip" diff --git a/unmaintained/davfs2/010-main_code_fix.patch b/unmaintained/davfs2/010-main_code_fix.patch deleted file mode 100644 index aa36fdfaa7..0000000000 --- a/unmaintained/davfs2/010-main_code_fix.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -32,8 +32,8 @@ mount_davfs_SOURCES = cache.c dav_coda.c - kernel_interface.h mount_davfs.h webdav.h - umount_davfs_SOURCES = umount_davfs.c defaults.h - --AM_CFLAGS = -Wall -Werror=format-security \ -- -fstack-protector --param=ssp-buffer-size=4 -+AM_CFLAGS = -Wall -Werror=format-security -+# -fstack-protector --param=ssp-buffer-size=4 -- removed ssp not supported in openwrt - DEFS = -DPROGRAM_NAME=\"mount.davfs\" \ - -DDAV_SYS_CONF_DIR=\"$(pkgsysconfdir)\" \ - -DDAV_LOCALSTATE_DIR=\"$(dav_localstatedir)\" \ ---- a/src/cache.c -+++ b/src/cache.c -@@ -58,7 +58,7 @@ - #ifdef HAVE_SYS_TYPES_H - #include - #endif --#include -+#include - - #include - #include ---- a/src/webdav.c -+++ b/src/webdav.c -@@ -2033,7 +2033,7 @@ ssl_verify(void *userdata, int failures, - len = getline(&s, &n, stdin); - if (len < 0) - abort(); -- if (rpmatch(s) > 0) -+ if ((s[0]=='y' || s[0]=='Y') > 0) - ret = 0; - free(s); - } diff --git a/unmaintained/davfs2/100-musl-compat.patch b/unmaintained/davfs2/100-musl-compat.patch deleted file mode 100644 index 9663822581..0000000000 --- a/unmaintained/davfs2/100-musl-compat.patch +++ /dev/null @@ -1,194 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -42,7 +42,7 @@ DAV_CHECK_NEON - # Checks for header files. - AC_HEADER_DIRENT - AC_HEADER_STDC --AC_CHECK_HEADERS([fcntl.h libintl.h langinfo.h limits.h locale.h mntent.h stddef.h stdint.h stdlib.h string.h sys/file.h sys/mount.h sys/time.h syslog.h termios.h unistd.h utime.h]) -+AC_CHECK_HEADERS([error.h fcntl.h iconv.h libintl.h langinfo.h limits.h locale.h mntent.h stddef.h stdint.h stdlib.h string.h sys/file.h sys/mount.h sys/time.h sys/select.h sys/types.h syslog.h termios.h unistd.h utime.h]) - - # Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST -@@ -78,7 +78,7 @@ AC_FUNC_SELECT_ARGTYPES - AC_FUNC_STRFTIME - AC_FUNC_STAT - AC_FUNC_UTIME_NULL --AC_CHECK_FUNCS([endpwent ftruncate getmntent memset mkdir nl_langinfo rpmatch select setlocale strcasecmp strchr strdup strerror strpbrk strrchr strstr strtol strtoull utime]) -+AC_CHECK_FUNCS([endpwent ftruncate getmntent memset mkdir nl_langinfo rpmatch select setlocale strcasecmp strchr strdup strerror strpbrk strrchr strstr strtol strtoull utime canonicalize_file_name fopencookie]) - - # Misc. - DAV_DEFAULTS ---- a/src/cache.c -+++ b/src/cache.c -@@ -19,12 +19,12 @@ - - - #include "config.h" -+#include "compat.h" - - #ifdef HAVE_DIRENT_H - #include - #endif - #include --#include - #ifdef HAVE_FCNTL_H - #include - #endif ---- a/src/dav_fuse.c -+++ b/src/dav_fuse.c -@@ -47,6 +47,9 @@ - #ifdef HAVE_SYS_STAT_H - #include - #endif -+#ifdef HAVE_SYS_SELECT_H -+#include -+#endif - - #include "defaults.h" - #include "mount_davfs.h" ---- a/src/kernel_interface.c -+++ b/src/kernel_interface.c -@@ -19,8 +19,8 @@ - - - #include "config.h" -+#include "compat.h" - --#include - #ifdef HAVE_FCNTL_H - #include - #endif -@@ -51,6 +51,9 @@ - #ifdef HAVE_SYS_STAT_H - #include - #endif -+#ifdef HAVE_SYS_TYPES_H -+#include -+#endif - #include - - #include "defaults.h" ---- a/src/mount_davfs.c -+++ b/src/mount_davfs.c -@@ -19,10 +19,10 @@ - - - #include "config.h" -+#include "compat.h" - - #include - #include --#include - #ifdef HAVE_FCNTL_H - #include - #endif ---- a/src/umount_davfs.c -+++ b/src/umount_davfs.c -@@ -19,8 +19,8 @@ - - - #include "config.h" -+#include "compat.h" - --#include - #include - #include - #ifdef HAVE_LIBINTL_H ---- a/src/webdav.c -+++ b/src/webdav.c -@@ -19,9 +19,9 @@ - - - #include "config.h" -+#include "compat.h" - - #include --#include - #ifdef HAVE_FCNTL_H - #include - #endif -@@ -368,6 +368,7 @@ dav_init_webdav(const dav_args *args) - error(EXIT_FAILURE, errno, _("socket library initialization failed")); - - if (args->neon_debug & ~NE_DBG_HTTPPLAIN) { -+#ifdef HAVE_FOPENCOOKIE - char *buf = malloc(log_bufsize); - cookie_io_functions_t *log_func = malloc(sizeof(cookie_io_functions_t)); - if (!log_func) abort(); -@@ -380,6 +381,9 @@ dav_init_webdav(const dav_args *args) - error(EXIT_FAILURE, errno, - _("can't open stream to log neon-messages")); - ne_debug_init(log_stream, args->neon_debug); -+#else -+ error(EXIT_FAILURE, 0, "neon debugging unsupported"); -+#endif - } - - session = ne_session_create(args->scheme, args->host, args->port); ---- /dev/null -+++ b/src/compat.h -@@ -0,0 +1,64 @@ -+#ifndef _COMPAT_H -+#define _COMPAT_H -+ -+#ifndef _PATH_MOUNTED -+# define _PATH_MOUNTED "/proc/mounts" -+#endif -+ -+#ifndef _PATH_MNTTAB -+# define _PATH_MNTTAB "/etc/fstab" -+#endif -+ -+#ifdef HAVE_ERROR_H -+# include -+#else -+# include -+# include -+# include -+# include -+static void error_at_line(int status, int errnum, const char *filename, -+ unsigned int linenum, const char *format, ...) -+{ -+ va_list ap; -+ -+ fflush(stdout); -+ -+ if (filename != NULL) -+ fprintf(stderr, "%s:%u: ", filename, linenum); -+ -+ va_start(ap, format); -+ vfprintf(stderr, format, ap); -+ va_end(ap); -+ -+ if (errnum != 0) -+ fprintf(stderr, ": %s", strerror(errnum)); -+ -+ fprintf(stderr, "\n"); -+ -+ if (status != 0) -+ exit(status); -+} -+ -+#define error(status, errnum, format...) \ -+ error_at_line(status, errnum, NULL, 0, format) -+ -+#endif /* HAVE_ERROR_H */ -+ -+#ifndef HAVE_CANONICALIZE_FILE_NAME -+#include -+#include -+#include -+static char * canonicalize_file_name(const char *path) -+{ -+ char buf[PATH_MAX] = { }; -+ -+ snprintf(buf, sizeof(buf) - 1, "%s", path); -+ -+ if (!realpath(path, buf)) -+ return NULL; -+ -+ return strdup(buf); -+} -+#endif -+ -+#endif /* _COMPAT_H */ diff --git a/unmaintained/davfs2/APKBUILD b/unmaintained/davfs2/APKBUILD deleted file mode 100644 index 46dd49288d..0000000000 --- a/unmaintained/davfs2/APKBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=davfs2 -pkgver=1.5.2 -pkgrel=0 -pkgdesc="File system driver that allows you to mount a WebDAV folder" -url="http://savannah.nongnu.org/projects/davfs2" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev neon-dev linux-headers autoconf automake libtool - gettext-dev" -install="" -options="suid" -subpackages="$pkgname-doc" -source="http://download.savannah.gnu.org/releases/davfs2/davfs2-$pkgver.tar.gz - 010-main_code_fix.patch - 100-musl-compat.patch - " - -_builddir="$srcdir"/davfs2-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - autoreconf -fi || return 1 - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-nls \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib/*.la -} - -md5sums="376bc9346454135cba78afacbcb23f86 davfs2-1.5.2.tar.gz -15495a67412345c70e6b211fa8067350 010-main_code_fix.patch -48ee49fc56364a18f33c5def5b3a859f 100-musl-compat.patch" -sha256sums="be34a19ab57a6ea77ecb82083e9e4c1882e12b2de64257de567ad5ee7a17b358 davfs2-1.5.2.tar.gz -e546987cc6083ba2637206aab63e65d054c94bcb315db5ee5bf3774944dd7718 010-main_code_fix.patch -1ddddfde1110c155b1e0d2756a3310e13a35f6bd6e9a26ac8e3940b2fb5f0d20 100-musl-compat.patch" -sha512sums="c912049e23b76bda19c2ae2d07bc2b1da7ed9bf82b338c57c0f9fb8a3144cbbb52a0e8f8c2f8996342c7aa434470d062996c30bbbe0f1c6623c81af6414fbb45 davfs2-1.5.2.tar.gz -99ced4c7183540653b5eb3b9fc6afd06b3d959134c41c2c3a7d65460d6fe9766c9d7f2b774f3064f5e4fd86992fbf500c3e4386a0d814834eb40fb55041bc396 010-main_code_fix.patch -44ce904db9e4efc48efdb74b791c2a5d135baa1272385906f85ea99fbf3254b010d6d1b4701091f784deebc0d2ebb3ca16a68c768e4af184b2504f31b7a65b3b 100-musl-compat.patch" diff --git a/unmaintained/dbmail/APKBUILD b/unmaintained/dbmail/APKBUILD deleted file mode 100644 index ac5e3063d9..0000000000 --- a/unmaintained/dbmail/APKBUILD +++ /dev/null @@ -1,102 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Francesco Colista -pkgname=dbmail -_realpkgver=3.2.3 -pkgver=3.2.3 -pkgrel=2 -pkgdesc="Fast and scalable sql based mail services" -url="http://dbmail.org" -arch="all" -license="GPL" -pkgusers="dbmail" -pkggroups="dbmail" -depends= -depends_dev="openldap-dev libsieve-dev glib-dev gmime-dev - mhash-dev libevent-dev libzdb-dev" -makedepends="$depends_dev asciidoc xmlto automake autoconf bsd-compat-headers" -install="" -subpackages="$pkgname-doc $pkgname-auth-ldap:auth_ldap" -source="http://www.dbmail.org/download/3.2/dbmail-${_realpkgver}.tar.gz - $pkgname-imapd.initd - $pkgname-lmtpd.initd - $pkgname-pop3d.initd - $pkgname-httpd.initd - $pkgname-timsieved.initd - $pkgname.pre-install - dbmail.conf - " - -_builddir="$srcdir/${pkgname}-${_realpkgver}" - -prepare() { - local i - cd "$_builddir" - # we need support for gmine 2.6 - sed -i 's/gmime-2.4/gmime-2.6/g' configure -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --with-sieve \ - --with-ldap \ - --disable-static - make || return 1 - # make man pages - cd "$_builddir/man" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - mkdir -p "$pkgdir/usr/share/$pkgname" - mv sql/* "$pkgdir/usr/share/$pkgname/" - mv "$pkgname.schema" "$pkgdir/usr/share/$pkgname/" - for i in imapd lmtpd pop3d httpd timsieved; do - install -Dm755 "$srcdir/$pkgname-$i.initd" \ - "$pkgdir/etc/init.d/dbmail-$i" || return 1 - done - #install man pages - cd "$_builddir/man" - make DESTDIR="$pkgdir" install || return 1 - install -m644 -D "$srcdir"/$pkgname.conf \ - "$pkgdir"/etc/$pkgname.conf || return 1 - install -dDo dbmail "$pkgdir"/var/run/dbmail || return 1 - install -dDo dbmail "$pkgdir"/var/lib/dbmail || return 1 -} - -auth_ldap() { - pkgdesc="$pkgname ldap authentication" - mkdir -p "$subpkgdir"/usr/lib/dbmail - mv "$pkgdir"/usr/lib/dbmail/libauth_ldap* \ - "$subpkgdir"/usr/lib/dbmail/ || return 1 -} - -md5sums="4f140751642559395dfe3a6bb2cc9300 dbmail-3.2.3.tar.gz -8ea023b384fd5145d02c4bc3e3935757 dbmail-imapd.initd -e372b5e0e7dcd81fd92337bef75787d3 dbmail-lmtpd.initd -6f432545b19e7188cd466fa2a50d2ee3 dbmail-pop3d.initd -3074c124b974679ba092ad8cb30b851b dbmail-httpd.initd -f380ec728fb70f1133b15caf54699abb dbmail-timsieved.initd -490a8d4705d58a41a00486503ad597a5 dbmail.pre-install -549f2073f1c6ac902f783b493c0667d4 dbmail.conf" -sha256sums="fd4d90e3e5ddb0c3fbdaa766d19d2464b5027a8c8d0b0df614418a3aac811832 dbmail-3.2.3.tar.gz -1467d4de9b1a90bdbf97f258e29c2b5dde98895e50201ef238d8f5c7b49d0781 dbmail-imapd.initd -15f89484c1a1e78cc75292662b711de9ee3b6154caaa655b2c20a0856371dc65 dbmail-lmtpd.initd -1341aa3ce86598d896ef5ef9d4ae5eef9b5fffede0df9c594faf46cdb9a95947 dbmail-pop3d.initd -b06b29b165742556191322acaeeda6c108ee21c25479f7f57f8341e430a559db dbmail-httpd.initd -9f86c821b348ce24fe1f8d1b67761d51d26831b4022783e4f65253d995935911 dbmail-timsieved.initd -da148226dd530694130d7df59d1399c5ca26f3de7a4475c4082c1576f1d5460e dbmail.pre-install -b73fc15ab36423fe2c4c5a677fb21c706ca51aa9e0a948ca582e8bb27cc8ce67 dbmail.conf" -sha512sums="29cc89830278f2ff28a4221fc81d4ff13cc371fbca7fb51d5376e9243234220b552cb4b6ec035c150e6cfa178435c4f36b9ce132fc02334bc6cdeb1a41c8ed85 dbmail-3.2.3.tar.gz -c1c22a0732b51eec6fbeaa30e13fe15aa752836135b52fdae0ce5539053127b53ad75b3b48cd8475ccfe1db59cbb1ddce9af8e201e722691294dcf8fc7cec30d dbmail-imapd.initd -114a71f9ab06ad113e31f986eb534f1aa1ecb366954304e9768f2441337fa682fe6cd11af4357577bbc5dc26185891d7d6454baa18e28054306501e3ed9cf347 dbmail-lmtpd.initd -a76d5b4bd57ae4790e45ac4458107badb66e18a923f5bb3ab88e64af6445cffedffedba525945208bbade993f28db252d12c1de7b13a4e149489745e1645660c dbmail-pop3d.initd -c2780709b188ef745182b87ea7454a65e221ec3222c9c3961cb22e09a6a51d824961939a9568243c93c68d2894547a4f14aab18ec00e9dcdd965f0ab12ec054b dbmail-httpd.initd -8115d830610bd769ac0169cc6a9d5f961bd80c668baff336dec5296180ea725267542aad70a6286faff081380a3dcd3597df19fd7fb9577d669ee35537c7a198 dbmail-timsieved.initd -e3f5de0fed253b3f9dab8b93cd984a7ed5a7eed3e10472bb9342719b3ed1ec1b0d8c78b87a6c68a787be8f4c94614c88ed1abf457bc524fad43a3f2762761129 dbmail.pre-install -2726eb944043face96fdcbc7210b2e3b9a6d4f0981825dc134a88217935b01f33935b90bb0458534d87e4941d7da3cad279876912a6c7da108b15d684829117f dbmail.conf" diff --git a/unmaintained/dbmail/dbmail-httpd.initd b/unmaintained/dbmail/dbmail-httpd.initd deleted file mode 100644 index 5262175c23..0000000000 --- a/unmaintained/dbmail/dbmail-httpd.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/openrc-run -# - -PIDFILE="/var/run/dbmail/httpd.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "/etc/dbmail.conf" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - -start() { - checkconfig && \ - ebegin "Starting DBMail HTTP daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-httpd \ - --name dbmail-httpd \ - -- -p ${PIDFILE} -f /etc/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail HTTP daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/unmaintained/dbmail/dbmail-imapd.initd b/unmaintained/dbmail/dbmail-imapd.initd deleted file mode 100644 index 035978ef53..0000000000 --- a/unmaintained/dbmail/dbmail-imapd.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/openrc-run -# - -PIDFILE="/var/run/dbmail/imapd.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "/etc/dbmail.conf" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - -start() { - checkconfig && \ - ebegin "Starting DBMail IMAP daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-imapd \ - --name dbmail-imapd \ - -- -p ${PIDFILE} -f /etc/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail IMAP daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/unmaintained/dbmail/dbmail-lmtpd.initd b/unmaintained/dbmail/dbmail-lmtpd.initd deleted file mode 100644 index a663a763fd..0000000000 --- a/unmaintained/dbmail/dbmail-lmtpd.initd +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/openrc-run -# - -PIDFILE="/var/run/dbmail/lmtpd.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "/etc/dbmail.conf" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - - -start() { - checkconfig && \ - ebegin "Starting DBMail LMTP daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-lmtpd \ - --name dbmail-lmtpd \ - -- -p ${PIDFILE} -f /etc/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail LMTP daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/unmaintained/dbmail/dbmail-pop3d.initd b/unmaintained/dbmail/dbmail-pop3d.initd deleted file mode 100644 index 372c19ad99..0000000000 --- a/unmaintained/dbmail/dbmail-pop3d.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/openrc-run -# - -PIDFILE="/var/run/dbmail/pop3d.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() { - if [ ! -e "/etc/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "/etc/dbmail.conf" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - -start() { - checkconfig && \ - ebegin "Starting DBMail POP3 daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-pop3d \ - --name dbmail-pop3d \ - -- -p ${PIDFILE} -f /etc/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail POP3 daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/unmaintained/dbmail/dbmail-timsieved.initd b/unmaintained/dbmail/dbmail-timsieved.initd deleted file mode 100644 index 3580f6c84c..0000000000 --- a/unmaintained/dbmail/dbmail-timsieved.initd +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/openrc-run -# - -PIDFILE="/var/run/dbmail/timsieved.pid" - -depend() { - need net - use mysql - use pgsql - after mta -} - -checkconfig() checkconfig() { - if [ ! -e "/etc/dbmail.conf" ]; then - eerror "You need to create apropriate config" - eerror "/etc/dbmail.conf" - return 1 - fi - # Avoid using root's TMPDIR - unset TMPDIR -} - -start() { - checkconfig && \ - ebegin "Starting DBMail SIEVE daemon" - start-stop-daemon --start --quiet \ - --exec /usr/sbin/dbmail-timsieved \ - -- -p ${PIDFILE} -f /etc/dbmail.conf 2>&1 - eend $? -} - -stop() { - ebegin "Stopping DBMail SIEVE daemon" - start-stop-daemon --stop --quiet --retry 5 \ - --pidfile ${PIDFILE} - eend $? -} - diff --git a/unmaintained/dbmail/dbmail.conf b/unmaintained/dbmail/dbmail.conf deleted file mode 100644 index fdcb7ac7c0..0000000000 --- a/unmaintained/dbmail/dbmail.conf +++ /dev/null @@ -1,408 +0,0 @@ - -# (c) 2000-2006 IC&S, The Netherlands -# -# Configuration file for DBMAIL - -[DBMAIL] -# -# Database settings -# - -# -# Supported drivers are mysql, postgresql, sqlite. -# -driver = sqlite - -# -# Supported drivers are sql, ldap. -# -authdriver = sql - -# -# Host for database, set to localhost if database is on -# the same host as dbmail and you want to use a local -# socket for connecting. -# -host = - -# -# If you want to use TCP/IP for connecting to the database, -# and have the database running on a non-standard port. -# -sqlport = - -# -# When using a local socket connection to the database, fill -# in the path to the socket here (e.g. /var/run/mysql.sock). -# -sqlsocket = - -# -# Database username. -# -user = dbmail - -# -# Database password. -# -pass = - -# -# Database name. -# -db = /var/lib/dbmail/dbmail.db - -# -# Number of database connections per threaded daemon -# This also determines the size of the worker threadpool -# -#max_db_connections = 10 - -# -# Table prefix. Defaults to "dbmail_" if not specified. -# -table_prefix = dbmail_ - -# -# encoding must match the database/table encoding. -# i.e. latin1, utf8 -encoding = utf8 - -# -# messages with unknown encoding will be assumed to have -# default_msg_encoding -# i.e. iso8859-1, utf8 -default_msg_encoding = utf8 - -# -# Postmaster's email address for use in bounce messages. -# -#postmaster = DBMAIL-MAILER - -# -# Sendmail executable for forwards, replies, notifies, vacations. -# You may use pipes (|) in this command, for example: -# dos2unix|/usr/sbin/sendmail works well with Qmail. -# You may use quotes (") for executables with unusual names. -# -sendmail = /usr/sbin/sendmail - -# -# -# The following items can be overridden in the service-specific sections. -# -# - -# -# Logging via stderr/log file and syslog -# -# Logging is broken up into 8 logging levels and each level can be indivually turned on or off. -# The Stderr/log file logs all entries to stderr or the log file. -# Syslog logging uses the facility mail and the logging level of the event for logging. -# Syslog can then be configured to log data according to the levels. -# -# Set the log level to the sum of the values next to the levels you want to record. -# 1 = Emergency -# 2 = Alert -# 4 = Critical -# 8 = Error -# 16 = Warning -# 32 = Notice -# 64 = Info -# 128 = Debug -# 256 = Database -> Logs at debug level -# -# Examples: 0 = Nothing -# 31 = Emergency + Alert + Critical + Error + Warning -# 511 = Everything -# -file_logging_levels = 7 -# -syslog_logging_levels = 31 - -# -# Generate a log entry for database queries for the log level at number of seconds of query execution time. -# -query_time_info = 10 -query_time_notice = 20 -query_time_warning = 30 - -# -# Throw an exception is the query takes longer than query_timeout seconds -query_timeout = 300 - -# -# Root privs are used to open a port, then privs -# are dropped down to the user/group specified here. -# -effective_user = dbmail -effective_group = dbmail - -# -# The IPv4 and/or IPv6 addresses the services will bind to. -# Use * for all local interfaces. -# Use 127.0.0.1 for localhost only. -# Separate multiple entries with spaces ( ) or commas (,). -# -bindip = 0.0.0.0 # IPv4 only - all IP's -#bindip = :: # IPv4 and IPv6 - all IP's (linux) -#bindip = :: # IPv6 only - all IP's (BSD) -#bindip = 0.0.0.0,:: # IPv4 and IPv6 - all IP's (BSD) - - -# -# Idle time allowed before a connection is shut off. -# -timeout = 300 - -# -# Idle time allowed before a connection is shut off if you have not logged in yet. -# -login_timeout = 60 - -# -# If yes, resolves IP addresses to DNS names when logging. -# -resolve_ip = no - -# -# If yes, keep statistics in the authlog table for connecting users -# -authlog = no - -# -# logfile for stdout messages -# -logfile = /var/log/dbmail.log - -# -# logfile for stderr messages -# -errorlog = /var/log/dbmail.err - -# -# directory for storing PID files -# -pid_directory = /var/run/dbmail - -# -# directory for locating libraries (normally has a sane default compiled-in) -# -library_directory = /usr/lib/dbmail - -# -# SSL/TLS certificates -# -# A file containing a list of CAs in PEM format -tls_cafile = - -# A file containing a PEM format certificate -tls_cert = - -# A file containing a PEM format RSA or DSA key -tls_key = - -# A cipher list string in the format given in ciphers(1) -tls_ciphers = - - -# hashing algorithm. You can select your favorite hash type -# for generating unique ids for message parts. -# -# for valid values check mhash(3) but minus the MHASH_ prefix. -# -# if you ever change this value run 'dbmail-util --rehash' to -# update the hash for all mimeparts. -# -# examples: MD5, SHA1, SHA256, SHA512, TIGER, WHIRLPOOL -# -hash_algorithm = SHA1 - - - -[LMTP] -port = 24 -#tls_port = - - -[POP] -port = 110 -#tls_port = 995 - -# You can set an alternate banner to display when connecting to the service -# banner = DBMAIL pop3 server ready to rock - -# -# If yes, allows SMTP access from the host IP connecting by POP3. -# This requires addition configuration of your MTA -# -pop_before_smtp = no - -[HTTP] -port = 41380 -# -# the httpd daemon provides full access to all users, mailboxes -# and messages. Be very careful with this one! -bindip = 127.0.0.1 -admin = admin:secret - -[IMAP] -# You can set an alternate banner to display when connecting to the service -# banner = imap 4r1 server (dbmail 2.3.x) - -# -# Port to bind to. -# -port = 143 -#tls_port = 993 - -# -# IMAP prefers a longer timeout than other services. -# -timeout = 4000 - -# -# If yes, allows SMTP access from the host IP connecting by IMAP. -# This requires addition configuration of your MTA -# -imap_before_smtp = no - -# -# during IDLE, how many seconds between checking the mailbox -# status (default: 30) -# -# idle_timeout = 30 - -# -# Provide a CAPABILITY to override the default -# -# capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL RIGHTS=texk NAMESPACE CHILDREN SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE - -# Send '* STATUS "mailbox" (MESSAGES x RECENT x UNSEEN x NEXTUID x)' -# for all subscribed mailboxes during IDLE (default: no) -# note: EXPERIMENTAL (and most likely disabled in the code) -# -# idle_status = yes - - -[SIEVE] -# -# Port to bind to. -# -port = 2000 -tls_port = - - -[LDAP] -port = 389 -version = 3 -hostname = ldap -base_dn = ou=People,dc=mydomain,dc=com - -# -# If your LDAP library supports ldap_initialize(), then you can use the -# alternative LDAP server DSN like following. -# -# URI = ldap://127.0.0.1:389 -# URI = ldapi://%2fvar%2frun%2fopenldap%2fldapi/ - -# -# Leave blank for anonymous bind. -# example: cn=admin,dc=mydomain,dc=com -# -bind_dn = - -# -# Leave blank for anonymous bind. -# -bind_pw = -scope = SubTree - -# AD users may want to set this to 'no' to disable -# ldap referrals if you are seeing 'Operations errors' -# in your logs -# -referrals = yes - -user_objectclass = top,account,dbmailUser -forw_objectclass = top,account,dbmailForwardingAddress -cn_string = uid -field_passwd = userPassword -field_uid = uid -field_nid = uidNumber -min_nid = 10000 -max_nid = 15000 -field_cid = gidNumber -min_cid = 10000 -max_cid = 15000 - -# a comma-separated list of attributes to match when searching -# for users or forwards that match a delivery address. A match -# on any of them is a hit. -field_mail = mail - -# field that holds the mail-quota size for a user. -field_quota = mailQuota - -# field that holds the forwarding address. -field_fwdtarget = mailForwardingAddress - -# override the query string used to search for users -# or forwards with a delivery address. -# query_string = (mail=%s) - -[DELIVERY] -# -# Run Sieve scripts as messages are delivered. -# -SIEVE = yes - -# -# Use 'user+mailbox@domain' format to deliver to a mailbox. -# -SUBADDRESS = yes - -# -# Turn on/off the Sieve Vacation extension. -# -SIEVE_VACATION = yes - -# -# Turn on/off the Sieve Notify extension -# -SIEVE_NOTIFY = yes - -# -# Turn on/off additional Sieve debugging. -# -SIEVE_DEBUG = no - - -# Use the auto_notify table to send email notifications. -# -AUTO_NOTIFY = no - -# -# Use the auto_reply table to send away messages. -# -AUTO_REPLY = no - -# -# Defaults to "NEW MAIL NOTIFICATION" -# -#AUTO_NOTIFY_SUBJECT = - -# -# Defaults to POSTMASTER from the DBMAIL section. -# -#AUTO_NOTIFY_SENDER = - - -# If you set this to 'yes' dbmail will check for duplicate -# messages in the relevant mailbox during delivery using -# the Message-ID header -# -suppress_duplicates = yes - - -# end of configuration file diff --git a/unmaintained/dbmail/dbmail.pre-install b/unmaintained/dbmail/dbmail.pre-install deleted file mode 100644 index 8a36d1530f..0000000000 --- a/unmaintained/dbmail/dbmail.pre-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -addgroup -S dbmail 2>/dev/null -adduser -S -D -H -h /var/lib/dbmail -s /bin/false -G dbmail -g dbmail dbmail 2>/dev/null - -exit 0 diff --git a/unmaintained/dbmail/post-rc3.patch b/unmaintained/dbmail/post-rc3.patch deleted file mode 100644 index 9d7e34be36..0000000000 --- a/unmaintained/dbmail/post-rc3.patch +++ /dev/null @@ -1,635 +0,0 @@ -From b73172be67b4665b04c791f914cf284e01dea33c Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Mon, 15 Aug 2011 16:11:32 +0200 -Subject: [PATCH 1/8] fix broken SEARCH TEXT (#912)' - ---- - src/dbmail-mailbox.c | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/src/dbmail-mailbox.c b/src/dbmail-mailbox.c -index 3491105..09be275 100644 ---- a/src/dbmail-mailbox.c -+++ b/src/dbmail-mailbox.c -@@ -1183,7 +1183,7 @@ static GTree * mailbox_search(DbmailMailbox *self, search_key_t *s) - - case IST_DATA_TEXT: - -- g_string_printf(q,"SELECT DISTINCT m.message_idnr" -+ g_string_printf(q,"SELECT DISTINCT m.message_idnr " - "FROM %smimeparts k " - "LEFT JOIN %spartlists l ON k.id=l.part_id " - "LEFT JOIN %sphysmessage p ON l.physmessage_id=p.id " --- -1.7.7.1 - -From cd5cc297ab1c05103c45f6ee903298eca5357a19 Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Sat, 20 Aug 2011 14:00:35 +0200 -Subject: [PATCH 2/8] fix dbmail.h generation (#916) - ---- - acinclude.m4 | 2 +- - configure | 2 +- - src/dbmail.h.in | 4 +--- - 3 files changed, 3 insertions(+), 5 deletions(-) - -diff --git a/acinclude.m4 b/acinclude.m4 -index 2d2960d..fbf702a 100644 ---- a/acinclude.m4 -+++ b/acinclude.m4 -@@ -300,7 +300,7 @@ AC_DEFUN([DM_CHECK_ZDB], [dnl - ]) - - AC_DEFUN([DM_SET_SQLITECREATE], [dnl -- SQLITECREATE=`sed -e 's/\"/\\\"/g' -e 's/^/\"/' -e 's/$/\\\n\" \\\\/' sql/sqlite/create_tables.sqlite` -+ SQLITECREATE=`sed -e 's/\"/\\\"/g' -e 's/^/\"/' -e 's/$/\\\n\"/' -e '$!s/$/ \\\\/' sql/sqlite/create_tables.sqlite` - ]) - - AC_DEFUN([DM_CHECK_MATH], [dnl -diff --git a/configure b/configure -index 6be85f6..e9d6e84 100755 ---- a/configure -+++ b/configure -@@ -6697,7 +6697,7 @@ if test "x$ac_cv_lib_crypt_crypt" = x""yes; then : - fi - - -- SQLITECREATE=`sed -e 's/\"/\\\"/g' -e 's/^/\"/' -e 's/$/\\\n\" \\\\/' sql/sqlite/create_tables.sqlite` -+ SQLITECREATE=`sed -e 's/\"/\\\"/g' -e 's/^/\"/' -e 's/$/\\\n\"/' -e '$!s/$/ \\\\/' sql/sqlite/create_tables.sqlite` - - - -diff --git a/src/dbmail.h.in b/src/dbmail.h.in -index 956246a..15acc31 100644 ---- a/src/dbmail.h.in -+++ b/src/dbmail.h.in -@@ -183,9 +183,7 @@ - "" - - /* include sql/sqlite/create_tables.sqlite for autocreation */ --#define DM_SQLITECREATE \ --@SQLITECREATE@ --"" -+#define DM_SQLITECREATE @SQLITECREATE@ - - /** default directory and extension for pidfiles */ - #define DEFAULT_PID_DIR "@DM_STATEDIR@" --- -1.7.7.1 - -From 0e640aa861ceebebff59877440d084fa2dcd9efd Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Thu, 22 Sep 2011 16:39:53 +0200 -Subject: [PATCH 3/8] fix IDLE regression (#927) - ---- - src/imapcommands.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/src/imapcommands.c b/src/imapcommands.c -index 7bfe3c1..8159214 100644 ---- a/src/imapcommands.c -+++ b/src/imapcommands.c -@@ -1113,6 +1113,7 @@ int _ic_idle(ImapSession *self) - int idle_timeout = IDLE_TIMEOUT; - field_t val; - -+ ci_cork(self->ci); - GETCONFIGVALUE("idle_timeout", "IMAP", val); - if ( strlen(val) && (idle_timeout = atoi(val)) <= 0 ) { - TRACE(TRACE_ERR, "[%p] illegal value for idle_timeout [%s]", self, val); -@@ -1125,6 +1126,7 @@ int _ic_idle(ImapSession *self) - dbmail_imap_session_buff_printf(self, "+ idling\r\n"); - dbmail_imap_session_mailbox_status(self,TRUE); - dbmail_imap_session_buff_flush(self); -+ ci_uncork(self->ci); - - return 0; - } --- -1.7.7.1 - -From a82434e61e10f7e3e6b5feefb12c341ad96229ea Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Fri, 21 Oct 2011 15:57:31 +0200 -Subject: [PATCH 4/8] handle hangups better during read (#932) - ---- - src/imap4.c | 9 ++++++--- - 1 files changed, 6 insertions(+), 3 deletions(-) - -diff --git a/src/imap4.c b/src/imap4.c -index 5fbf849..1d6869a 100644 ---- a/src/imap4.c -+++ b/src/imap4.c -@@ -143,20 +143,23 @@ void imap_cb_read(void *arg) - { - ImapSession *session = (ImapSession *) arg; - -- TRACE(TRACE_DEBUG,"reading..."); -- - ci_read_cb(session->ci); - - size_t have = session->ci->read_buffer->len; -+ size_t need = session->ci->rbuff_size; -+ -+ int enough = (need>0?(have == 0):(have > 0)); -+ - int state = session->ci->client_state; - -+ TRACE(TRACE_DEBUG,"reading %d: %ld/%ld", enough, have, need); - if (state & CLIENT_ERR) { - ci_cork(session->ci); - dbmail_imap_session_set_state(session,CLIENTSTATE_ERROR); - return; - } - if (state & CLIENT_EOF) { -- if (have) -+ if (enough) - imap_handle_input(session); - else - imap_session_bailout(session); --- -1.7.7.1 - -From f9f332c7b917c6b0683b0d43a0f614d675181855 Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Sat, 22 Oct 2011 13:53:12 +0200 -Subject: [PATCH 5/8] gracefully degrade after decoding error (#930) - ---- - src/dbmail-message.c | 8 +++++--- - 1 files changed, 5 insertions(+), 3 deletions(-) - -diff --git a/src/dbmail-message.c b/src/dbmail-message.c -index e62cfb4..cf8fc23 100644 ---- a/src/dbmail-message.c -+++ b/src/dbmail-message.c -@@ -1457,12 +1457,11 @@ static int _header_value_get_id(const char *value, const char *sortfield, const - CATCH(SQLException) - LOG_SQLERROR; - db_rollback_transaction(c); -+ *id = 0; - FINALLY - db_con_close(c); - END_TRY; - -- assert(*id); -- - g_free(hash); - - return TRUE; -@@ -1596,7 +1595,10 @@ static gboolean _header_cache(const char UNUSED *key, const char *header, gpoint - g_free(value); - - /* Insert relation between physmessage, header name and header value */ -- _header_insert(self->physid, headername_id, headervalue_id); -+ if (headervalue_id) -+ _header_insert(self->physid, headername_id, headervalue_id); -+ else -+ TRACE(TRACE_INFO, "error inserting headervalue. skipping."); - - headervalue_id=0; - --- -1.7.7.1 - -From 11bcc6294807be46ded604b23cad2648fcbf7c5b Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Sat, 22 Oct 2011 18:08:59 +0200 -Subject: [PATCH 6/8] reset timeout after idle is done (#932) - ---- - src/imap4.c | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/src/imap4.c b/src/imap4.c -index 1d6869a..69a7a7e 100644 ---- a/src/imap4.c -+++ b/src/imap4.c -@@ -468,6 +468,7 @@ void dbmail_imap_session_reset(ImapSession *session) - session->parser_state = FALSE; - dbmail_imap_session_args_free(session, FALSE); - -+ session->ci->timeout->tv_sec = server_conf->timeout; - ci_uncork(session->ci); - - return; --- -1.7.7.1 - -From 8dc7ab5ec45a4321af191fecd7da1f50d76d3ce1 Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Mon, 24 Oct 2011 16:23:59 +0200 -Subject: [PATCH 7/8] call database schema version check on all connections - ---- - src/dm_db.c | 17 ++++++++++++----- - src/main.c | 5 ----- - 2 files changed, 12 insertions(+), 10 deletions(-) - -diff --git a/src/dm_db.c b/src/dm_db.c -index 22cfe95..ec516e8 100644 ---- a/src/dm_db.c -+++ b/src/dm_db.c -@@ -216,7 +216,7 @@ int db_connect(void) - db_connected = 3; - db_con_close(c); - -- return 0; -+ return db_check_version(); - } - - /* But sometimes this gets called after help text or an -@@ -803,19 +803,26 @@ static void check_table_exists(C c, const char *table, const char *errormessage) - int db_check_version(void) - { - C c = db_con_get(); -+ volatile int ok = 0; - TRY - check_table_exists(c, "physmessage", "pre-2.0 database incompatible. You need to run the conversion script"); - check_table_exists(c, "headervalue", "2.0 database incompatible. You need to add the header tables."); -- check_table_exists(c, "envelope", "2.1 database incompatible. You need to add the envelopes table and run dbmail-util -by"); -- check_table_exists(c, "mimeparts", "2.3 database incompatible."); -- check_table_exists(c, "header", "2.3.5 database incompatible - single instance header storage missing."); -+ check_table_exists(c, "envelope", "2.1+ database incompatible. You need to add the envelopes table and run dbmail-util -by"); -+ check_table_exists(c, "mimeparts", "3.x database incompatible."); -+ check_table_exists(c, "header", "3.x database incompatible - single instance header storage missing."); -+ ok = 1; - CATCH(SQLException) - LOG_SQLERROR; - FINALLY - db_con_close(c); - END_TRY; - -- return DM_SUCCESS; -+ if (ok) -+ TRACE(TRACE_DEBUG,"Tables OK"); -+ else -+ TRACE(TRACE_WARNING,"Schema version incompatible. Bailing out"); -+ -+ return ok?DM_SUCCESS:DM_EQUERY; - } - - /* test existence of usermap table */ -diff --git a/src/main.c b/src/main.c -index f9c8328..4065997 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -240,11 +240,6 @@ int main(int argc, char *argv[]) - goto freeall; - } - -- if (db_check_version() != 0) { -- exitcode = EX_TEMPFAIL; -- goto freeall; -- } -- - /* read the whole message */ - memset(buf, 0, sizeof(buf)); - while ( (n = read(fileno(stdin), (void *)buf, READ_SIZE-1)) > 0) { --- -1.7.7.1 - -From 105cfefa0a1cc7366b66c6759e05e46ae5a6e53c Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Sat, 29 Oct 2011 15:57:09 +0200 -Subject: [PATCH 8/8] gmime-2.6 compatibility (#935) - ---- - src/dbmail-message.c | 5 ++--- - 1 files changed, 2 insertions(+), 3 deletions(-) - -diff --git a/src/dbmail-message.c b/src/dbmail-message.c -index cf8fc23..8a1a66c 100644 ---- a/src/dbmail-message.c -+++ b/src/dbmail-message.c -@@ -561,7 +561,7 @@ gboolean store_mime_object(GMimeObject *parent, GMimeObject *object, DbmailMessa - // part of the rfc822 headers - skiphead = TRUE; - -- g_mime_header_list_set_raw (GMIME_MESSAGE(object)->mime_part->headers, NULL); -+ g_mime_header_list_set_stream (GMIME_MESSAGE(object)->mime_part->headers, NULL); - mime_part = g_mime_message_get_mime_part((GMimeMessage *)object); - } else - mime_part = object; -@@ -1744,8 +1744,7 @@ DbmailMessage * dbmail_message_construct(DbmailMessage *self, - TRACE(TRACE_DEBUG, "from: [%s] to: [%s] subject: [%s] body: [%s]", from, to, subject, body); - g_mime_message_set_sender(message, from); - g_mime_message_set_subject(message, subject); -- g_mime_object_set_header(GMIME_OBJECT(message), "To", to); -- g_mime_message_add_recipient(message, GMIME_RECIPIENT_TYPE_TO, "", to); -+ g_mime_message_add_recipient(message, GMIME_RECIPIENT_TYPE_TO, NULL, to); - - // construct mime-part - mime_part = g_mime_part_new(); --- -1.7.7.1 - -From e95bcfa3f470de0f385a88266bf07065e65695a2 Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Wed, 02 Nov 2011 04:30:45 +0000 -Subject: re-indent php code - ---- -diff --git a/contrib/dbmailclient.php b/contrib/dbmailclient.php -index ffe5cd0..0693c0a 100644 ---- a/contrib/dbmailclient.php -+++ b/contrib/dbmailclient.php -@@ -190,137 +190,137 @@ class DBMailMessage extends DBMailMailbox - - class Curl - { -- public $cookie_file; -- public $headers = array(); -- public $options = array(); -- public $referer = ''; -- public $user_agent = ''; -+ public $cookie_file; -+ public $headers = array(); -+ public $options = array(); -+ public $referer = ''; -+ public $user_agent = ''; - -- protected $error = ''; -- protected $handle; -+ protected $error = ''; -+ protected $handle; - - -- public function __construct() -- { -+ public function __construct() -+ { - $this->cookie_file = realpath('.').'/curl_cookie.txt'; -- $this->user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? -- $_SERVER['HTTP_USER_AGENT'] : -- 'Curl/PHP ' . PHP_VERSION . ' (http://github.com/shuber/curl/)'; -- } -- -- public function delete($url, $vars = array()) -- { -- return $this->request('DELETE', $url, $vars); -- } -- -- public function error() -- { -- return $this->error; -- } -- -- public function get($url, $vars = array()) -- { -- if (!empty($vars)) { -- $url .= (stripos($url, '?') !== false) ? '&' : '?'; -- $url .= http_build_query($vars, '', '&'); -- } -- return $this->request('GET', $url); -- } -- -- public function post($url, $vars = array()) -- { -- return $this->request('POST', $url, $vars); -- } -- -- public function put($url, $vars = array()) -- { -- return $this->request('PUT', $url, $vars); -- } -- -- protected function request($method, $url, $vars = array()) -- { -- $this->handle = curl_init(); -- -- # Set some default CURL options -- curl_setopt($this->handle, CURLOPT_COOKIEFILE, $this->cookie_file); -- curl_setopt($this->handle, CURLOPT_COOKIEJAR, $this->cookie_file); -- curl_setopt($this->handle, CURLOPT_FOLLOWLOCATION, true); -- curl_setopt($this->handle, CURLOPT_HEADER, true); -- curl_setopt($this->handle, CURLOPT_POSTFIELDS, (is_array($vars) ? http_build_query($vars, '', '&') : $vars)); -- curl_setopt($this->handle, CURLOPT_REFERER, $this->referer); -- curl_setopt($this->handle, CURLOPT_RETURNTRANSFER, true); -- curl_setopt($this->handle, CURLOPT_URL, $url); -- curl_setopt($this->handle, CURLOPT_USERAGENT, $this->user_agent); -- -- # Format custom headers for this request and set CURL option -- $headers = array(); -- foreach ($this->headers as $key => $value) { -- $headers[] = $key.': '.$value; -- } -- curl_setopt($this->handle, CURLOPT_HTTPHEADER, $headers); -- -- # Determine the request method and set the correct CURL option -- switch ($method) { -- case 'GET': -- curl_setopt($this->handle, CURLOPT_HTTPGET, true); -- break; -- case 'POST': -- curl_setopt($this->handle, CURLOPT_POST, true); -- break; -- default: -- curl_setopt($this->handle, CURLOPT_CUSTOMREQUEST, $method); -- } -- -- # Set any custom CURL options -- foreach ($this->options as $option => $value) { -- curl_setopt($this->handle, constant('CURLOPT_'.str_replace('CURLOPT_', '', strtoupper($option))), $value); -- } -- -- $response = curl_exec($this->handle); -- if ($response) { -- $response = new CurlResponse($response); -- } else { -- $this->error = curl_errno($this->handle).' - '.curl_error($this->handle); -- } -- curl_close($this->handle); -- return $response; -- } -+ $this->user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? -+ $_SERVER['HTTP_USER_AGENT'] : -+ 'Curl/PHP ' . PHP_VERSION . ' (http://github.com/shuber/curl/)'; -+ } -+ -+ public function delete($url, $vars = array()) -+ { -+ return $this->request('DELETE', $url, $vars); -+ } -+ -+ public function error() -+ { -+ return $this->error; -+ } -+ -+ public function get($url, $vars = array()) -+ { -+ if (!empty($vars)) { -+ $url .= (stripos($url, '?') !== false) ? '&' : '?'; -+ $url .= http_build_query($vars, '', '&'); -+ } -+ return $this->request('GET', $url); -+ } -+ -+ public function post($url, $vars = array()) -+ { -+ return $this->request('POST', $url, $vars); -+ } -+ -+ public function put($url, $vars = array()) -+ { -+ return $this->request('PUT', $url, $vars); -+ } -+ -+ protected function request($method, $url, $vars = array()) -+ { -+ $this->handle = curl_init(); -+ -+ # Set some default CURL options -+ curl_setopt($this->handle, CURLOPT_COOKIEFILE, $this->cookie_file); -+ curl_setopt($this->handle, CURLOPT_COOKIEJAR, $this->cookie_file); -+ curl_setopt($this->handle, CURLOPT_FOLLOWLOCATION, true); -+ curl_setopt($this->handle, CURLOPT_HEADER, true); -+ curl_setopt($this->handle, CURLOPT_POSTFIELDS, (is_array($vars) ? http_build_query($vars, '', '&') : $vars)); -+ curl_setopt($this->handle, CURLOPT_REFERER, $this->referer); -+ curl_setopt($this->handle, CURLOPT_RETURNTRANSFER, true); -+ curl_setopt($this->handle, CURLOPT_URL, $url); -+ curl_setopt($this->handle, CURLOPT_USERAGENT, $this->user_agent); -+ -+ # Format custom headers for this request and set CURL option -+ $headers = array(); -+ foreach ($this->headers as $key => $value) { -+ $headers[] = $key.': '.$value; -+ } -+ curl_setopt($this->handle, CURLOPT_HTTPHEADER, $headers); -+ -+ # Determine the request method and set the correct CURL option -+ switch ($method) { -+ case 'GET': -+ curl_setopt($this->handle, CURLOPT_HTTPGET, true); -+ break; -+ case 'POST': -+ curl_setopt($this->handle, CURLOPT_POST, true); -+ break; -+ default: -+ curl_setopt($this->handle, CURLOPT_CUSTOMREQUEST, $method); -+ } -+ -+ # Set any custom CURL options -+ foreach ($this->options as $option => $value) { -+ curl_setopt($this->handle, constant('CURLOPT_'.str_replace('CURLOPT_', '', strtoupper($option))), $value); -+ } -+ -+ $response = curl_exec($this->handle); -+ if ($response) { -+ $response = new CurlResponse($response); -+ } else { -+ $this->error = curl_errno($this->handle).' - '.curl_error($this->handle); -+ } -+ curl_close($this->handle); -+ return $response; -+ } - - } - - class CurlResponse - { -- public $body = ''; -- public $headers = array(); -- -- public function __construct($response) -- { -- # Extract headers from response -- $pattern = '#HTTP/\d\.\d.*?$.*?\r\n\r\n#ims'; -- preg_match_all($pattern, $response, $matches); -- $headers = split("\r\n", str_replace("\r\n\r\n", '', array_pop($matches[0]))); -- -- # Extract the version and status from the first header -- $version_and_status = array_shift($headers); -- preg_match('#HTTP/(\d\.\d)\s(\d\d\d)\s(.*)#', $version_and_status, $matches); -- $this->headers['Http-Version'] = $matches[1]; -- $this->headers['Status-Code'] = $matches[2]; -- $this->headers['Status'] = $matches[2].' '.$matches[3]; -- -- # Convert headers into an associative array -- foreach ($headers as $header) { -- preg_match('#(.*?)\:\s(.*)#', $header, $matches); -- $this->headers[$matches[1]] = $matches[2]; -- } -- -- # Remove the headers from the response body -- $this->body = preg_replace($pattern, '', $response); -- } -- -- public function __toString() -- { -- return $this->body; -- } -+ public $body = ''; -+ public $headers = array(); -+ -+ public function __construct($response) -+ { -+ # Extract headers from response -+ $pattern = '#HTTP/\d\.\d.*?$.*?\r\n\r\n#ims'; -+ preg_match_all($pattern, $response, $matches); -+ $headers = split("\r\n", str_replace("\r\n\r\n", '', array_pop($matches[0]))); -+ -+ # Extract the version and status from the first header -+ $version_and_status = array_shift($headers); -+ preg_match('#HTTP/(\d\.\d)\s(\d\d\d)\s(.*)#', $version_and_status, $matches); -+ $this->headers['Http-Version'] = $matches[1]; -+ $this->headers['Status-Code'] = $matches[2]; -+ $this->headers['Status'] = $matches[2].' '.$matches[3]; -+ -+ # Convert headers into an associative array -+ foreach ($headers as $header) { -+ preg_match('#(.*?)\:\s(.*)#', $header, $matches); -+ $this->headers[$matches[1]] = $matches[2]; -+ } -+ -+ # Remove the headers from the response body -+ $this->body = preg_replace($pattern, '', $response); -+ } -+ -+ public function __toString() -+ { -+ return $this->body; -+ } - } - - --- -cgit v0.8.3.4 -From 288b73a79fe20bae7737fb622aefff761bb34c3f Mon Sep 17 00:00:00 2001 -From: Paul J Stevens -Date: Wed, 02 Nov 2011 04:31:12 +0000 -Subject: parse From_ time as localtime - ---- -diff --git a/src/dbmail-mailbox.c b/src/dbmail-mailbox.c -index 09be275..5e493ab 100644 ---- a/src/dbmail-mailbox.c -+++ b/src/dbmail-mailbox.c -@@ -100,7 +100,7 @@ static gchar * _message_get_envelope_date(const DbmailMessage *self) - - res = g_new0(char, TIMESTRING_SIZE+1); - memset(&gmt,'\0', sizeof(struct tm)); -- gmtime_r(&self->internal_date, &gmt); -+ localtime_r(&self->internal_date, &gmt); - - strftime(res, TIMESTRING_SIZE, "%a %b %d %H:%M:%S %Y", &gmt); - return res; -diff --git a/src/dbmail-message.c b/src/dbmail-message.c -index 8a1a66c..1b4d826 100644 ---- a/src/dbmail-message.c -+++ b/src/dbmail-message.c -@@ -837,7 +837,7 @@ gchar * dbmail_message_get_internal_date(const DbmailMessage *self, int thisyear - - res = g_new0(char, TIMESTRING_SIZE+1); - memset(&gmt,'\0', sizeof(struct tm)); -- gmtime_r(&self->internal_date, &gmt); -+ localtime_r(&self->internal_date, &gmt); - - /* override if the date is not sane */ - if (thisyear && gmt.tm_year + 1900 > thisyear + 1) { --- -cgit v0.8.3.4 diff --git a/unmaintained/dc3dd/APKBUILD b/unmaintained/dc3dd/APKBUILD deleted file mode 100644 index f53cf1bd7f..0000000000 --- a/unmaintained/dc3dd/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=dc3dd -pkgver=7.1.614 -pkgrel=0 -pkgdesc="Patched version of GNU dd for use in computer forensics" -url="http://dc3dd.sourceforge.net/" -arch="all" -license="GPL2+ and GPL3+" -depends="" -depends_dev="" -makedepends="libiconv-dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/dc3dd/dc3dd-$pkgver.tar.gz" -_builddir="$srcdir"/dc3dd-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - rm po/*.gmo -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-nls \ - --disable-rpath \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="b6c4ec16e7f539b17224d7f334f8396e dc3dd-7.1.614.tar.gz" diff --git a/unmaintained/dcfldd/APKBUILD b/unmaintained/dcfldd/APKBUILD deleted file mode 100644 index facca26841..0000000000 --- a/unmaintained/dcfldd/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Jesse Young -# Maintainer: Jesse Young - -pkgname=dcfldd -pkgver=1.3.4.1 -_pkgver="${pkgver%.*}-${pkgver##*.}" -pkgrel=0 -pkgdesc="DCFL (DoD Computer Forensics Lab) dd replacement with hashing" -url="http://dcfldd.sourceforge.net/" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${_pkgver}.tar.gz - dcfldd-error.patch" - -_builddir="${srcdir}/${pkgname}-${_pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} -md5sums="952026c872f11b53ce0ec6681a3eef0a dcfldd-1.3.4-1.tar.gz -2e2ee971748845947312f5345b96e940 dcfldd-error.patch" -sha256sums="f5143a184da56fd5ac729d6d8cbcf9f5da8e1cf4604aa9fb97c59553b7e6d5f8 dcfldd-1.3.4-1.tar.gz -004408bab8296050107e92e5a5fdf14e3b145acb324bfcf697a29ca9f11218d4 dcfldd-error.patch" -sha512sums="04b53adf62c6b468ff816e2cd94cf360eb5315eb980e2aa7d71afae706ec9c4683430269e82d712608be265710907fdaaa1316e4f734b7481ee9395a37926c7a dcfldd-1.3.4-1.tar.gz -f0c33fbc5f2d2eb8075d7faa460987d441da04be6831f85743a0ffd5d58796722395efc8c9dd7137a0b8bbc017b9995cf18b3ef37e56e17fdbd842fcaa573c83 dcfldd-error.patch" diff --git a/unmaintained/dcfldd/dcfldd-error.patch b/unmaintained/dcfldd/dcfldd-error.patch deleted file mode 100644 index 5bf0e60758..0000000000 --- a/unmaintained/dcfldd/dcfldd-error.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/util.c -+++ b/util.c -@@ -135,9 +133,9 @@ - && ioctl (fdesc, MTIOCGET, &s2) == 0 - && MT_SAME_POSITION (s1, s2)) - { -+ fprintf(stderr, "%s: warning: working around lseek kernel bug for file (%s)\n" -+ " of mt_type=0x%0lx -- see for the list of types\n", -+ program_name, filename, s2.mt_type); -- error (0, 0, _("warning: working around lseek kernel bug for file (%s)\n\ -- of mt_type=0x%0lx -- see for the list of types"), -- filename, s2.mt_type); - errno = 0; - new_position = -1; - } diff --git a/unmaintained/dconf-editor/APKBUILD b/unmaintained/dconf-editor/APKBUILD deleted file mode 100644 index fb03be67df..0000000000 --- a/unmaintained/dconf-editor/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=dconf-editor -pkgver=3.16.0 -pkgrel=0 -pkgdesc="Configuration editor for dconf" -url="https://wiki.gnome.org/Projects/dconf" -arch="all" -license="LGPLv2+" -depends="" -depends_dev="" -makedepends="$depends_dev vala gtk+3.0-dev dconf-dev" -install="" -subpackages="$pkgname-doc $pkgname-lang" -source="https://download.gnome.org/sources/dconf-editor/3.16/dconf-editor-$pkgver.tar.xz" - -_builddir="$srcdir"/dconf-editor-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="fd0b398d21274b5412c0f0bd3643fab6 dconf-editor-3.16.0.tar.xz" -sha256sums="811af889202996495f6074a5dcf6df84c0300eaa7fc79cda31682815b8d162f9 dconf-editor-3.16.0.tar.xz" -sha512sums="4df64f915c6b1b0c578db826e5eff5c651f2f5f3bffc7b60e289bb5a46c1e39f9a9f0fd59a7dc2f50e6a7794b010ebfa549b8debc612de893f242c2d896f22c5 dconf-editor-3.16.0.tar.xz" diff --git a/unmaintained/dfc/APKBUILD b/unmaintained/dfc/APKBUILD deleted file mode 100644 index 8715979c15..0000000000 --- a/unmaintained/dfc/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Pierre Carrier -# Maintainer: Pierre Carrier -pkgname=dfc -pkgver=3.0.5 -pkgrel=1 -pkgdesc="displays file system space usage using graphs and colors." -url="http://projects.gw-computing.net/projects/dfc" -arch="all" -license="BSD" -makedepends="cmake" -source="http://projects.gw-computing.net/attachments/download/467/dfc-$pkgver.tar.gz" -subpackages="$pkgname-doc" - -_builddir="$srcdir"/dfc-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake . -DCMAKE_BUILD_TYPE=Release \ - -DPREFIX=/usr \ - -DSYSCONFDIR=/etc \ - || return 1 - make -} - -package() { - cd "$_builddir" - make install/fast DESTDIR="$pkgdir" -} - -md5sums="3e6443c54966751f5e9fdaca33d873d1 dfc-3.0.5.tar.gz" -sha256sums="3c947a1d6bc53347b1643921dcbf4c6f8fe7eb6167fc1f4e9436366f036d857a dfc-3.0.5.tar.gz" -sha512sums="f828ede8aee0a496518d1ee9583ba71495cdd01ee0d22833e3b46aeb5f5f870ce7de629923d129a7bf795b458feec10f9a16882134dae34dd2ace7ea9eebb134 dfc-3.0.5.tar.gz" diff --git a/unmaintained/dhcpdump/APKBUILD b/unmaintained/dhcpdump/APKBUILD deleted file mode 100644 index deb397b676..0000000000 --- a/unmaintained/dhcpdump/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=dhcpdump -pkgver=1.8 -pkgrel=0 -pkgdesc="utility to analyze sniffed DHCP packets" -url="http://www.mavetju.org/unix/general.php" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev libpcap-dev perl" -install="" -subpackages="$pkgname-doc" -source="http://www.mavetju.org/download/dhcpdump-$pkgver.tar.gz" - -_builddir="$srcdir"/dhcpdump-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -D dhcpdump "$pkgdir"/usr/bin/dhcpdump || return 1 - install -D dhcpdump.8 "$pkgdir"/usr/share/man/man8/dhcpdump.8 \ - || return 1 -} - -md5sums="099c786997c424f196414f9575f1fb90 dhcpdump-1.8.tar.gz" -sha256sums="6d5eb9418162fb738bc56e4c1682ce7f7392dd96e568cc996e44c28de7f77190 dhcpdump-1.8.tar.gz" -sha512sums="52cd63d581a3c530c2f5baa66808d5b0241853651c720bd513b769b8301b4dff9c87243787014aea98a5b3ebed86ec317b58d262bf5031015141a4da50fb76e6 dhcpdump-1.8.tar.gz" diff --git a/unmaintained/dhex/APKBUILD b/unmaintained/dhex/APKBUILD deleted file mode 100644 index edbbb1271f..0000000000 --- a/unmaintained/dhex/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=dhex -pkgver=0.68 -pkgrel=1 -pkgdesc="Ncurses hex editor" -url="http://www.dettus.net/dhex/" -arch="all" -license="GPL2+" -depends="" -makedepends="ncurses-dev" -install="" -subpackages="$pkgname-doc" -source="http://www.dettus.net/dhex/dhex_$pkgver.tar.gz - makefile.patch" -_builddir="$srcdir"/dhex_$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" \ - mandir=/usr/share/man \ - prefix=/usr || return 1 -} - -md5sums="5109b3d50053553e41d75c8e5c0a0175 dhex_0.68.tar.gz -de16e09d3b416650d84ef39235cd2917 makefile.patch" -sha256sums="126c34745b48a07448cfe36fe5913d37ec562ad72d3f732b99bd40f761f4da08 dhex_0.68.tar.gz -e29f8279a25c6bcc6f43f61c80d08948e40cea67866eed5e745ea5f63af3d291 makefile.patch" -sha512sums="9397ec0574652022387f4108613f839b9262841c436079249fb325011b0a0e3c5bbd32d323f37b0f30e643f7060c1275337710c237ab68fb0c3f8096651a2421 dhex_0.68.tar.gz -0e2aa694723afd859f97f8ea02a79fec02bcbd70b9f4bd8ba1e33743f1fa72fa8810bfb7bac2c7a855bf407cd7c0cbb3ef82c7fea1fcb19a2701ab2d55baf7e3 makefile.patch" diff --git a/unmaintained/dhex/makefile.patch b/unmaintained/dhex/makefile.patch deleted file mode 100644 index 9e7788b409..0000000000 --- a/unmaintained/dhex/makefile.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- ./Makefile.orig -+++ ./Makefile -@@ -1,12 +1,22 @@ --CC= gcc --LDFLAGS= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses -+CC?= gcc -+LDFLAGS?= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses - CPPFLAGS= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses --CFLAGS= -O3 -Wall -std=c99 -+CFLAGS?= -O3 -Wall -std=c99 - #CFLAGS+= -ffunction-sections -fdata-sections - #LDFLAGS+= --gc-sections - LIBS= -lncurses --DESTDIR= /usr/local/ - -+prefix= /usr/local -+bindir= $(prefix)/bin -+mandir= $(prefix)/man -+man1dir= $(mandir)/man1 -+man5dir= $(mandir)/man5 -+DESTDIR= -+ -+MKDIR_P= install -d -+INSTALL= install -+ -+ - OFILES=buffers.o \ - configfile.o \ - correlation.o \ -@@ -27,14 +37,11 @@ - $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS) - - install:all -- strip dhex -- cp dhex $(DESTDIR)/bin -- cp dhex.1 $(DESTDIR)/man/man1 -- cp dhexrc.5 $(DESTDIR)/man/man5 -- cp dhex_markers.5 $(DESTDIR)/man/man5 -- cp dhex_searchlog.5 $(DESTDIR)/man/man5 -- -- -+ $(MKDIR_P) $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) -+ $(INSTALL) -m755 dhex $(DESTDIR)$(bindir) -+ $(INSTALL) -m644 dhex.1 $(DESTDIR)$(man1dir) -+ $(INSTALL) -m644 dhexrc.5 dhex_markers.5 dhex_searchlog.5 \ -+ $(DESTDIR)$(man5dir) - - .c.o: - $(CC) $< -c -I. $(CPPFLAGS) $(CFLAGS) $(OPTIONS) diff --git a/unmaintained/diod/APKBUILD b/unmaintained/diod/APKBUILD deleted file mode 100644 index 817d43c4df..0000000000 --- a/unmaintained/diod/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: An2Q ZaVok -# Maintainer: -pkgname=diod -pkgver=1.0.24 -pkgrel=2 -pkgdesc="Distributed I/O Daemon - a 9P file server" -url="http://github.com/chaos/diod" -arch="all" -license="GPLv2" -depends="" -depends_dev="" -makedepends="$depends_dev attr-dev lua5.1-dev ncurses-dev perl" -install="" -subpackages="$pkgname-doc" -source="https://github.com/chaos/diod/releases/download/$pkgver/diod-$pkgver.tar.gz - diod.initd" - -_builddir="$srcdir"/diod-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr/ \ - --sysconfdir=/etc/diod \ - --sbindir=/usr/bin \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - ln -s diodmount "$pkgdir"/usr/bin/mount.diod - #replacing systemd.service with openrc script - rm -rf "$pkgdir/etc/dios/systemd" - install -Dm755 "$srcdir"/diod.initd "$pkgdir"/etc/init.d/diod \ - || return 1 - -} - -md5sums="00566e5d43452b977ddc607181ab2288 diod-1.0.24.tar.gz -18f81219f1a64ac596ff94e595689d43 diod.initd" -sha256sums="f41d2b91c1a712132f5457d9d1c3caca985f069bdc8ef27bf4c148ac1d9f8c9f diod-1.0.24.tar.gz -48d8db2ffc992a2bc8f4d5446e804004932a0050cfd9d6e7b85824474e43b9b6 diod.initd" -sha512sums="844adc84a2dd705dd94b1103de2a466ae94314d884d8889b6d850a08074d21ac7f5cd40e17ea63ae63cd171adfba3e1601f992d5789709699d74cc8dc8c2c663 diod-1.0.24.tar.gz -963721cb06a5761101387b869f7513ffcfd2cd0e1b1bb57fb3c987d18827bc4bac6e66556b9ae6c67d3581c04565052aed410513fb2294d1e1fa235bbd7aaf9c diod.initd" diff --git a/unmaintained/diod/diod.initd b/unmaintained/diod/diod.initd deleted file mode 100755 index 44de6b72df..0000000000 --- a/unmaintained/diod/diod.initd +++ /dev/null @@ -1,7 +0,0 @@ -#!/sbin/runscript - -start() { - ebegin - start-stop-daemon --start -p /var/run/diod.pid -mbx /usr/bin/diod -- -f - eend $? -} diff --git a/unmaintained/djvulibre/APKBUILD b/unmaintained/djvulibre/APKBUILD deleted file mode 100644 index d922a91d5c..0000000000 --- a/unmaintained/djvulibre/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Andrew Hills -# Maintainer: Andrew Hills -pkgname=djvulibre -pkgver=3.5.27 -pkgrel=0 -pkgdesc="An open source implementation of DjVu" -url="http://djvu.sourceforge.net" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/djvu/djvulibre-$pkgver.tar.gz" - -_builddir="$srcdir"/djvulibre-$pkgver -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="aa4ed331f669f5a72e3c0d7f9196c4e6 djvulibre-3.5.27.tar.gz" -sha256sums="e69668252565603875fb88500cde02bf93d12d48a3884e472696c896e81f505f djvulibre-3.5.27.tar.gz" -sha512sums="62abcaa2fe7edab536477929ba38b882453dab1a06e119a3f838b38d5c61f5d8c252e4769e6534582b826e49bcfb490513179580fab9c3afa84aa92053ccebee djvulibre-3.5.27.tar.gz" diff --git a/unmaintained/dmz-cursor-theme/APKBUILD b/unmaintained/dmz-cursor-theme/APKBUILD deleted file mode 100644 index 1b92ea8ae7..0000000000 --- a/unmaintained/dmz-cursor-theme/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: August Klein -# Maintainer: August Klein -pkgname=dmz-cursor-theme -pkgver=0.4.4 -pkgrel=0 -pkgdesc="DMZ cursor theme" -url="http://jimmac.musichall.cz" -arch="noarch" -license="CC-BY-SA" -depends="" -depends_dev="" -makedepends="xcursorgen" -install="" -subpackages="dmz-aa-cursor-theme:aa" -source="http://ftp.de.debian.org/debian/pool/main/d/$pkgname/"$pkgname"_"$pkgver".tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir"/DMZ-White/pngs - ./make.sh || return 1 - cd "$_builddir"/DMZ-Black/pngs - ./make.sh || return 1 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/icons/Vanilla-DMZ/cursors || return 1 - cp -a DMZ-White/xcursors/* "$pkgdir"/usr/share/icons/Vanilla-DMZ/cursors || return 1 - install -Dm644 DMZ-White/index.theme "$pkgdir"/usr/share/icons/Vanilla-DMZ/index.theme -} - -aa() { - cd "$_builddir" - mkdir -p "$subpkgdir"/usr/share/icons/Vanilla-DMZ-AA/cursors || return 1 - cp -a DMZ-Black/xcursors/* "$subpkgdir"/usr/share/icons/Vanilla-DMZ-AA/cursors || return 1 - install -Dm644 DMZ-Black/index.theme "$subpkgdir"/usr/share/icons/Vanilla-DMZ-AA/index.theme -} - -md5sums="06fbab13df89c5770ce61b0e3e31e5f6 dmz-cursor-theme_0.4.4.tar.gz" -sha256sums="46af4cf1356df799f9ee94451f05d0bdbb8d82e54bdeae3f32fa107602359981 dmz-cursor-theme_0.4.4.tar.gz" -sha512sums="e0f455e3b66c0acb87eb9f017e7d7e6e16782a58c8c3a3518c879d1251372beaf92bdf87775ee72ff6eb477385f4f58e6d00479967d634337c5fae766179a5d3 dmz-cursor-theme_0.4.4.tar.gz" diff --git a/unmaintained/dosbox/APKBUILD b/unmaintained/dosbox/APKBUILD deleted file mode 100644 index dd986a51d2..0000000000 --- a/unmaintained/dosbox/APKBUILD +++ /dev/null @@ -1,82 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=dosbox -pkgver=0.74 -pkgrel=1 -pkgdesc="x86/DOS emulator with sound and graphics" -url="http://dosbox.com" -arch="all" -license="GPLv2+" -depends="hicolor-icon-theme" -depends_dev="libpng-dev sdl-dev alsa-lib-dev glu-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/dosbox/dosbox/$pkgver/dosbox-$pkgver.tar.gz - dosbox-0.74-formatsecurity.patch - dosbox-0.74-gcc46.patch - dosbox-0.74-init-crash.patch - pic-fix.patch - dosbox.desktop - dosbox.png - " - -_builddir="$srcdir"/dosbox-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-dynamic-core \ - --disable-dynamic-x86 \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - mkdir -p "$pkgdir"/usr/share/pixmaps \ - "$pkgdir"/usr/share/applications || return 1 - install -m644 "$srcdir"/dosbox.png "$pkgdir"/usr/share/pixmaps/\ - || return 1 - install -m644 "$srcdir"/dosbox.desktop \ - "$pkgdir"/usr/share/applications/ || return 1 -} - -md5sums="b9b240fa87104421962d14eee71351e8 dosbox-0.74.tar.gz -9bb0b70a44151a33b50a6e07ed0a5658 dosbox-0.74-formatsecurity.patch -d4534babc251a9ff12bf6ce27301de91 dosbox-0.74-gcc46.patch -a90321ab0e29f65664317f61ff0abcb3 dosbox-0.74-init-crash.patch -e87a9e420dd76f8832bb3fcd7ee7f9b7 pic-fix.patch -f197a5de143e94f22c06c8ac3d6ea4d9 dosbox.desktop -eca02a0e08f639122453a38cc5549eef dosbox.png" -sha256sums="13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05 dosbox-0.74.tar.gz -3bc0f22e3c47449e655aedcf316c50d634d8661874d3f236b2d9f1f74b67cc0a dosbox-0.74-formatsecurity.patch -aea0e78a2e2d9963eb902aff9647cc35cb864e970f06d3ca0745e2b89a4e5ad6 dosbox-0.74-gcc46.patch -99d892707cf1c9d119f0c510eca562c2b4b3fa4c8ad8cb11de37594352ca0f8e dosbox-0.74-init-crash.patch -c8e072a7a0feccf50f3353ca728ac2be1f8da67641355053d88bf25004dc40c3 pic-fix.patch -d1f5ef81ecb57987425bb250fb7e42f8fac6437e124d3986ab8037068c077c52 dosbox.desktop -3c4361396fa6a61e2ade5c94b53f0a349193c66c133fdc04cd7cffd2faf86cd0 dosbox.png" -sha512sums="4a6ff4c658997a495119d200ec6ad37649da940814a4b14fca0dd29a99142026e324695b7aa9d2946efc2abf9067a819d911e43778efe905ed10ddf9b9f2dd3d dosbox-0.74.tar.gz -8ba824d754b7a804efa9c832608672d257d4978dc84f0035f32d48d312666107c3271158e2764d058d84b70caab0c0b5dff1fa93a72390d11b6dc7f655c50c31 dosbox-0.74-formatsecurity.patch -115805d684ec5b5eb747fd46e4787d67fae0e6cf6622b52114031e82abb0db08b7bf98b2d2526a8336c41541d7202d429d7689e894a0abcd26599cd4be5768bf dosbox-0.74-gcc46.patch -b7ee5c48e05a8de5b25eb35421167cf381fd21f1ff8cebf9da5671938d1a6dce05a78e05cd8db3178b233253ad9d8277c66ac38a302fc6cf9eaac4965e208822 dosbox-0.74-init-crash.patch -f3711f0fc9039af6bc902eb9f70c433199cca655024897d248a7953df0b0eac1cd82301f5c55199e28573a49bd6182036c96d543935401e40d373c104a8576c5 pic-fix.patch -882bf0c964c0041460780eb40548a2c5301eca4ff1fbdfd418a35ca98479dd2dce32c3fdfc31fe390ca3c3a5c4a523fa7ef025a13c6ed3457c7042fbb739d16c dosbox.desktop -249db09d98b293e26189635018248780dd0eaefcb09c5bd9dc1b266547d54930bce413a7a50898872a5e70de2efc5ac665527ebe2450a505df724028d1261000 dosbox.png" diff --git a/unmaintained/dosbox/dosbox-0.74-formatsecurity.patch b/unmaintained/dosbox/dosbox-0.74-formatsecurity.patch deleted file mode 100644 index 6b518b702f..0000000000 --- a/unmaintained/dosbox/dosbox-0.74-formatsecurity.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up dosbox-0.74/src/gui/sdlmain.cpp.orig dosbox-0.74/src/gui/sdlmain.cpp ---- dosbox-0.74/src/gui/sdlmain.cpp.orig 2013-12-18 15:06:41.227839719 +0100 -+++ dosbox-0.74/src/gui/sdlmain.cpp 2013-12-18 15:07:14.434769053 +0100 -@@ -1529,7 +1529,7 @@ static void show_warning(char const * co - if ( !sdl.inited && SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE) < 0 ) textonly = true; - sdl.inited = true; - #endif -- printf(message); -+ printf("%s", message); - if(textonly) return; - if(!sdl.surface) sdl.surface = SDL_SetVideoMode(640,400,0,0); - if(!sdl.surface) return; diff --git a/unmaintained/dosbox/dosbox-0.74-gcc46.patch b/unmaintained/dosbox/dosbox-0.74-gcc46.patch deleted file mode 100644 index 8b19983a69..0000000000 --- a/unmaintained/dosbox/dosbox-0.74-gcc46.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/include/dos_inc.h 2010-05-10 19:43:54.000000000 +0200 -+++ b/include/dos_inc.h 2011-03-16 09:46:24.430008904 +0100 -@@ -27,6 +27,7 @@ - #ifndef DOSBOX_MEM_H - #include "mem.h" - #endif -+#include - - #ifdef _MSC_VER - #pragma pack (1) diff --git a/unmaintained/dosbox/dosbox-0.74-init-crash.patch b/unmaintained/dosbox/dosbox-0.74-init-crash.patch deleted file mode 100644 index 97a0966d6a..0000000000 --- a/unmaintained/dosbox/dosbox-0.74-init-crash.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up dosbox-0.74/src/gui/sdl_mapper.cpp~ dosbox-0.74/src/gui/sdl_mapper.cpp ---- dosbox-0.74/src/gui/sdl_mapper.cpp~ 2010-05-10 20:58:06.000000000 +0200 -+++ dosbox-0.74/src/gui/sdl_mapper.cpp 2013-05-10 20:53:02.133112189 +0200 -@@ -2384,9 +2384,11 @@ void MAPPER_StartUp(Section * sec) { - mapper.sticks.num=0; - mapper.sticks.num_groups=0; - Bitu i; -- for (i=0; i<16; i++) { -+ for (i=0; i - #ifndef DOSBOX_DOS_SYSTEM_H - #include "dos_system.h" - #endif -diff --exclude '*.*o' -ru dosbox-0.74.orig/src/cpu/core_dyn_x86/risc_x86.h dosbox-0.74/src/cpu/core_dyn_x86/risc_x86.h ---- dosbox-0.74.orig/src/cpu/core_dyn_x86/risc_x86.h 2010-05-10 20:43:54.000000000 -0300 -+++ dosbox-0.74/src/cpu/core_dyn_x86/risc_x86.h 2014-07-17 11:00:12.432277706 -0300 -@@ -112,7 +112,7 @@ - pop ebx - mov [retval],eax - } --#elif defined (MACOSX) -+#elif defined (MACOSX) || defined (__PIC__) - register Bit32u tempflags=reg_flags & FMASK_TEST; - __asm__ volatile ( - "pushl %%ebx \n" -diff --exclude '*.*o' -ru dosbox-0.74.orig/src/cpu/cpu.cpp dosbox-0.74/src/cpu/cpu.cpp ---- dosbox-0.74.orig/src/cpu/cpu.cpp 2010-05-12 12:57:31.000000000 -0300 -+++ dosbox-0.74/src/cpu/cpu.cpp 2014-07-17 10:57:04.226630637 -0300 -@@ -19,6 +19,7 @@ - /* $Id: cpu.cpp,v 1.116 2009-03-16 18:10:08 c2woody Exp $ */ - - #include -+#include - #include - #include "dosbox.h" - #include "cpu.h" - diff --git a/unmaintained/dotconf/APKBUILD b/unmaintained/dotconf/APKBUILD deleted file mode 100644 index e61c0863f8..0000000000 --- a/unmaintained/dotconf/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=dotconf -pkgver=1.3 -pkgrel=0 -pkgdesc="A C library for parsing configuration files" -url="https://github.com/williamh/dotconf" -arch="all" -license="LGPL2.1" -depends="" -depends_dev="" -makedepends="$depends_dev automake autoconf libtool" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/williamh/dotconf/archive/v1.3.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - autoreconf -vif - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="b3ba921e45b05e89bf69835c0f30bc14 dotconf-1.3.tar.gz" -sha256sums="7f1ecf40de1ad002a065a321582ed34f8c14242309c3547ad59710ae3c805653 dotconf-1.3.tar.gz" -sha512sums="ccd806685879e2438efaa06949cd685af8bd318d38111babf8c289134b90d01bc2857277f2aa01549a1ffe8a2f2d5bbb0685f46de0d7b987412350af8a28d6d5 dotconf-1.3.tar.gz" diff --git a/unmaintained/double-conversion/APKBUILD b/unmaintained/double-conversion/APKBUILD deleted file mode 100644 index 2a39f240f7..0000000000 --- a/unmaintained/double-conversion/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: David Huffman -# Maintainer: David Huffman -pkgname=double-conversion -pkgver=2.0.1 -pkgrel=0 -pkgdesc="Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles" -url="https://github.com/google/double-conversion" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev scons" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="https://github.com/google/double-conversion/archive/v$pkgver/$pkgname-$pkgver.tar.gz - dont_build_tests.patch" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -_cxxflags="$CXXFLAGS $LDFLAGS -Wall -Werror -DNDEBUG" -build() { - cd "$_builddir" - scons -j "$JOBS" DESTDIR="$pkgdir" prefix=/usr CXXFLAGS="$_cxxflags" || return 1 -} - -package() { - local docdir="$pkgdir/usr/share/doc/$pkgname" - local incdir="$pkgdir/usr/include/$pkgname" - mkdir -p "$docdir" "$incdir" || return 1 - - cd "$_builddir" - scons -j "$JOBS" DESTDIR="$pkgdir" prefix=/usr CXXFLAGS="$_cxxflags" install || return 1 - find src -name '*.h' -exec cp {} "$incdir" \; || return 1 - cp AUTHORS COPYING LICENSE README "$docdir" || return 1 -} - -md5sums="60c564ad17a19924bfec831ebd09edea double-conversion-2.0.1.tar.gz -3e6e09b28b091d4fac9593b14721ae88 dont_build_tests.patch" -sha256sums="ca9ec6974eaaa29827b916c90666fba3b0b6641030fe2ab34a81e280187acdef double-conversion-2.0.1.tar.gz -fc27718ca0179f8c1da181a6bff99aeea3faf0fcedb28af9fb554f87bcd9b49c dont_build_tests.patch" -sha512sums="a4773dc95e9267d8426dda976586aa1ba968ead28b118caae9b1b7c123d1eea4aba5b588fde9a109a99a068a79a3a2426f12d6caadea8c548d4250e56eff33a4 double-conversion-2.0.1.tar.gz -fe0c3a2fb3d143e2278b46fee1c88cf1508eb0ba99081f702f3282fe2f674a479d8c2911d8f56778a3e73ac3735a223ee39d76d1e9d104f375f55016245149c4 dont_build_tests.patch" diff --git a/unmaintained/double-conversion/dont_build_tests.patch b/unmaintained/double-conversion/dont_build_tests.patch deleted file mode 100644 index c32d9acf4f..0000000000 --- a/unmaintained/double-conversion/dont_build_tests.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- /SConstruct 2016-01-09 04:30:12.325136237 -0500 -+++ /SConstruct 2016-01-09 04:36:53.218037606 -0500 -@@ -37,7 +37,7 @@ static_lib = env.StaticLibrary(library_n - static_lib_pic = env.StaticLibrary(library_name + '_pic', double_conversion_shared_objects) - shared_lib = env.SharedLibrary(library_name, double_conversion_shared_objects) - --env.Program('run_tests', double_conversion_test_sources, LIBS=[static_lib]) -+#env.Program('run_tests', double_conversion_test_sources, LIBS=[static_lib]) - - env.InstallVersionedLib(libdir, shared_lib) - env.Install(libdir, static_lib) diff --git a/unmaintained/dsf2flac/APKBUILD b/unmaintained/dsf2flac/APKBUILD deleted file mode 100644 index 6baecfb39c..0000000000 --- a/unmaintained/dsf2flac/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=dsf2flac -pkgver=0_svn20141014 -pkgrel=2 -pkgdesc="Command line tool to convert dsf audio files to flac" -url="https://code.google.com/p/dsf2flac/" -arch="x86_64" -license="GPL3" -depends="" -depends_dev="boost-dev id3lib-dev flac-dev libogg-dev" -makedepends="$depends_dev cmake" -install="" -subpackages="" -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz - no-static.patch" -svnurl="http://dsf2flac.googlecode.com/svn/trunk" -disturl="dev.alpinelinux.org:/archive/$pkgname/" - - -_builddir=$srcdir/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake . || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - install -Dm755 dsf2flac \ - "$pkgdir/usr/bin/dsf2flac" || return 1 -} - -md5sums="7fad18c6e2609dc9f504dbe6b8cb3794 dsf2flac-0_svn20141014.tar.gz -bf87f878b715819714e3c09ef1a0a65e no-static.patch" -sha256sums="9b09c7c31ad333a589d2781eab6d2d1f6b2225509fecc53ca3ccce2e32bd3e18 dsf2flac-0_svn20141014.tar.gz -ddccabe02603cfab7297dc13ce16070255e0bf9ea4b16c885204e0f82fa1f1f6 no-static.patch" -sha512sums="1e2db947b1b3958333f5c9476dfd162d48897d933e9bc37418e3fc4028423131af813be9536cba0fcfdacd9a7fa3c6563ef1638508746d96fb0629d0e75f4450 dsf2flac-0_svn20141014.tar.gz -2b027a6c42c12babb4861d40e94dc573137dbbc48209e1ade29813107ba7c2915ea2685a365201a07d94ac3ae686ac613614feeda18655f6259b2e114a22cda4 no-static.patch" diff --git a/unmaintained/dsf2flac/no-static.patch b/unmaintained/dsf2flac/no-static.patch deleted file mode 100644 index c099143222..0000000000 --- a/unmaintained/dsf2flac/no-static.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -2,7 +2,6 @@ - project(dsf2flac) - - set(CMAKE_CXX_FLAGS "-O3 -Wall") --set(CMAKE_EXE_LINKER_FLAGS "-static") - set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmakemodules) - - set( DSF2FLAC_SOURCE_FILES diff --git a/unmaintained/dsniff/0001-arpspoof-add-r-switch-to-poison-both-directions.patch b/unmaintained/dsniff/0001-arpspoof-add-r-switch-to-poison-both-directions.patch deleted file mode 100644 index 4576531ad4..0000000000 --- a/unmaintained/dsniff/0001-arpspoof-add-r-switch-to-poison-both-directions.patch +++ /dev/null @@ -1,174 +0,0 @@ ->From 8fbf0ac15e5fe2df427e3e028f9aa8d96788986a Mon Sep 17 00:00:00 2001 -From: Stefan Tomanek -Date: Sun, 6 Nov 2011 22:44:54 +0100 -Subject: [PATCH 1/3] arpspoof: add -r switch to poison both directions - - -Signed-off-by: Stefan Tomanek ---- - arpspoof.8 | 5 ++++- - arpspoof.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++------------ - 2 files changed, 51 insertions(+), 13 deletions(-) - -diff --git a/arpspoof.8 b/arpspoof.8 -index a05b5d3..544e06c 100644 ---- a/arpspoof.8 -+++ b/arpspoof.8 -@@ -9,7 +9,7 @@ intercept packets on a switched LAN - .na - .nf - .fi --\fBarpspoof\fR [\fB-i \fIinterface\fR] [\fB-t \fItarget\fR] \fIhost\fR -+\fBarpspoof\fR [\fB\-i \fIinterface\fR] [\fB\-t \fItarget\fR] [\fB\-r\fR] \fIhost\fR - .SH DESCRIPTION - .ad - .fi -@@ -26,6 +26,9 @@ Specify the interface to use. - .IP "\fB-t \fItarget\fR" - Specify a particular host to ARP poison (if not specified, all hosts - on the LAN). -+.IP "\fB\-r\fR" -+Poison both hosts (host and target) to capture traffic in both directions. -+(only valid in conjuntion with \-t) - .IP \fIhost\fR - Specify the host you wish to intercept packets for (usually the local - gateway). -diff --git a/arpspoof.c b/arpspoof.c -index 7cdbbf8..f51b699 100644 ---- a/arpspoof.c -+++ b/arpspoof.c -@@ -7,6 +7,8 @@ - * Copyright (c) 1999 Dug Song - * - * $Id: arpspoof.c,v 1.5 2001/03/15 08:32:58 dugsong Exp $ -+ * -+ * Improved 2011 by Stefan Tomanek - */ - - #include "config.h" -@@ -31,12 +33,13 @@ static libnet_t *l; - static struct ether_addr spoof_mac, target_mac; - static in_addr_t spoof_ip, target_ip; - static char *intf; -+static int poison_reverse; - - static void - usage(void) - { - fprintf(stderr, "Version: " VERSION "\n" -- "Usage: arpspoof [-i interface] [-t target] host\n"); -+ "Usage: arpspoof [-i interface] [-t target] [-r] host\n"); - exit(1); - } - -@@ -133,18 +136,30 @@ arp_find(in_addr_t ip, struct ether_addr *mac) - static void - cleanup(int sig) - { -+ int fw = arp_find(spoof_ip, &spoof_mac); -+ int bw = poison_reverse && target_ip && arp_find(target_ip, &target_mac); - int i; -- -- if (arp_find(spoof_ip, &spoof_mac)) { -- for (i = 0; i < 3; i++) { -- /* XXX - on BSD, requires ETHERSPOOF kernel. */ -+ -+ fprintf(stderr, "Cleaning up and re-arping targets...\n"); -+ for (i = 0; i < 5; i++) { -+ /* XXX - on BSD, requires ETHERSPOOF kernel. */ -+ if (fw) { - arp_send(l, ARPOP_REPLY, - (u_int8_t *)&spoof_mac, spoof_ip, - (target_ip ? (u_int8_t *)&target_mac : NULL), - target_ip); -+ /* we have to wait a moment before sending the next packet */ -+ sleep(1); -+ } -+ if (bw) { -+ arp_send(l, ARPOP_REPLY, -+ (u_int8_t *)&target_mac, target_ip, -+ (u_int8_t *)&spoof_mac, -+ spoof_ip); - sleep(1); - } - } -+ - exit(0); - } - -@@ -156,11 +171,12 @@ main(int argc, char *argv[]) - char pcap_ebuf[PCAP_ERRBUF_SIZE]; - char libnet_ebuf[LIBNET_ERRBUF_SIZE]; - int c; -- -+ - intf = NULL; - spoof_ip = target_ip = 0; -- -- while ((c = getopt(argc, argv, "i:t:h?V")) != -1) { -+ poison_reverse = 0; -+ -+ while ((c = getopt(argc, argv, "ri:t:h?V")) != -1) { - switch (c) { - case 'i': - intf = optarg; -@@ -169,6 +185,9 @@ main(int argc, char *argv[]) - if ((target_ip = libnet_name2addr4(l, optarg, LIBNET_RESOLVE)) == -1) - usage(); - break; -+ case 'r': -+ poison_reverse = 1; -+ break; - default: - usage(); - } -@@ -178,7 +197,12 @@ main(int argc, char *argv[]) - - if (argc != 1) - usage(); -- -+ -+ if (poison_reverse && !target_ip) { -+ errx(1, "Spoofing the reverse path (-r) is only available when specifying a target (-t)."); -+ usage(); -+ } -+ - if ((spoof_ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1) - usage(); - -@@ -191,18 +215,29 @@ main(int argc, char *argv[]) - if (target_ip != 0 && !arp_find(target_ip, &target_mac)) - errx(1, "couldn't arp for host %s", - libnet_addr2name4(target_ip, LIBNET_DONT_RESOLVE)); -- -+ -+ if (poison_reverse) { -+ if (!arp_find(spoof_ip, &spoof_mac)) { -+ errx(1, "couldn't arp for spoof host %s", -+ libnet_addr2name4(spoof_ip, LIBNET_DONT_RESOLVE)); -+ } -+ } -+ - signal(SIGHUP, cleanup); - signal(SIGINT, cleanup); - signal(SIGTERM, cleanup); -- -+ - for (;;) { - arp_send(l, ARPOP_REPLY, NULL, spoof_ip, - (target_ip ? (u_int8_t *)&target_mac : NULL), - target_ip); -+ if (poison_reverse) { -+ arp_send(l, ARPOP_REPLY, NULL, target_ip, (uint8_t *)&spoof_mac, spoof_ip); -+ } -+ - sleep(2); - } - /* NOTREACHED */ -- -+ - exit(0); - } --- -1.7.5.4 - diff --git a/unmaintained/dsniff/0001-rewrite-and-modernize-POP-decoder.patch b/unmaintained/dsniff/0001-rewrite-and-modernize-POP-decoder.patch deleted file mode 100644 index 71d6707448..0000000000 --- a/unmaintained/dsniff/0001-rewrite-and-modernize-POP-decoder.patch +++ /dev/null @@ -1,135 +0,0 @@ ->From b05e27ba9b0ba9ef00ad2183933652e08d8c89af Mon Sep 17 00:00:00 2001 -From: Stefan Tomanek -Date: Sat, 29 Oct 2011 20:48:55 +0200 -Subject: [PATCH] rewrite and modernize POP decoder - - -Signed-off-by: Stefan Tomanek ---- - decode_pop.c | 96 ++++++++++++++++++++++++++++++++++++++++++++++----------- - 1 files changed, 77 insertions(+), 19 deletions(-) - -diff --git a/decode_pop.c b/decode_pop.c -index 04044f5..767da41 100644 ---- a/decode_pop.c -+++ b/decode_pop.c -@@ -6,6 +6,8 @@ - * Copyright (c) 2000 Dug Song - * - * $Id: decode_pop.c,v 1.4 2001/03/15 08:33:02 dugsong Exp $ -+ * -+ * Rewritten by Stefan Tomanek 2011 - */ - - #include "config.h" -@@ -45,32 +47,88 @@ int - decode_pop(u_char *buf, int len, u_char *obuf, int olen) - { - char *p; -+ char *s; -+ int n; - int i, j; -+ char *user; -+ char *password; -+ enum { -+ NONE, -+ AUTHPLAIN, -+ AUTHLOGIN, -+ USERPASS -+ } mode = NONE; -+ - - obuf[0] = '\0'; - - for (p = strtok(buf, "\r\n"); p != NULL; p = strtok(NULL, "\r\n")) { -- if (strncasecmp(p, "AUTH PLAIN", 10) == 0 || -- strncasecmp(p, "AUTH LOGIN", 10) == 0) { -- strlcat(obuf, p, olen); -- strlcat(obuf, "\n", olen); -- -- /* Decode SASL auth. */ -- for (i = 0; i < 2 && (p = strtok(NULL, "\r\n")); i++) { -- strlcat(obuf, p, olen); -- j = base64_pton(p, p, strlen(p)); -- p[j] = '\0'; -- strlcat(obuf, " [", olen); -- strlcat(obuf, p, olen); -- strlcat(obuf, "]\n", olen); -+ if (mode == NONE) { -+ user = NULL; -+ password = NULL; -+ if (strncasecmp(p, "AUTH PLAIN", 10) == 0) { -+ mode = AUTHPLAIN; -+ continue; -+ } -+ if (strncasecmp(p, "AUTH LOGIN", 10) == 0) { -+ mode = AUTHLOGIN; -+ continue; -+ } -+ if (strncasecmp(p, "USER ", 5) == 0) { -+ mode = USERPASS; -+ /* the traditional login cuts right to the case, -+ * so no continue here -+ */ - } - } -- /* Save regular POP2, POP3 auth info. */ -- else if (strncasecmp(p, "USER ", 5) == 0 || -- strncasecmp(p, "PASS ", 5) == 0 || -- strncasecmp(p, "HELO ", 5) == 0) { -- strlcat(obuf, p, olen); -- strlcat(obuf, "\n", olen); -+ printf("(%d) %s\n", mode, p); -+ if (mode == USERPASS) { -+ if (strncasecmp(p, "USER ", 5) == 0) { -+ user = &p[5]; -+ } else if (strncasecmp(p, "PASS ", 5) == 0) { -+ password = &p[5]; -+ } -+ } -+ -+ if (mode == AUTHPLAIN) { -+ j = base64_pton(p, p, strlen(p)); -+ p[j] = '\0'; -+ n = 0; -+ s = p; -+ /* p consists of three parts, divided by \0 */ -+ while (s <= &p[j] && n<=3) { -+ if (n == 0) { -+ /* we do not process this portion yet */ -+ } else if (n == 1) { -+ user = s; -+ } else if (n == 2) { -+ password = s; -+ } -+ n++; -+ while (*s) s++; -+ s++; -+ } -+ } -+ -+ if (mode == AUTHLOGIN) { -+ j = base64_pton(p, p, strlen(p)); -+ p[j] = '\0'; -+ if (! user) { -+ user = p; -+ } else { -+ password = p; -+ /* got everything we need :-) */ -+ } -+ } -+ -+ if (user && password) { -+ strlcat(obuf, "\nusername [", olen); -+ strlcat(obuf, user, olen); -+ strlcat(obuf, "] password [", olen); -+ strlcat(obuf, password, olen); -+ strlcat(obuf, "]\n", olen); -+ -+ mode = NONE; - } - } - return (strlen(obuf)); --- -1.7.5.4 - diff --git a/unmaintained/dsniff/0002-arpspoof-allow-use-of-of-multiple-targets.patch b/unmaintained/dsniff/0002-arpspoof-allow-use-of-of-multiple-targets.patch deleted file mode 100644 index 0da635daf0..0000000000 --- a/unmaintained/dsniff/0002-arpspoof-allow-use-of-of-multiple-targets.patch +++ /dev/null @@ -1,194 +0,0 @@ ->From 25c761ebb1a8001d05da8b3dba36e96ac07ad586 Mon Sep 17 00:00:00 2001 -From: Stefan Tomanek -Date: Mon, 7 Nov 2011 17:40:50 +0100 -Subject: [PATCH 2/3] arpspoof: allow use of of multiple targets - - -Signed-off-by: Stefan Tomanek ---- - arpspoof.8 | 2 +- - arpspoof.c | 102 ++++++++++++++++++++++++++++++++++++++++-------------------- - 2 files changed, 69 insertions(+), 35 deletions(-) - ---- a/arpspoof.8 2012-03-14 13:24:27.000000000 -0600 -+++ b/arpspoof.8 2012-03-14 13:25:55.782078436 -0600 -@@ -25,7 +25,7 @@ - Specify the interface to use. - .IP "\fB-t \fItarget\fR" - Specify a particular host to ARP poison (if not specified, all hosts --on the LAN). -+on the LAN). Repeat to specify multiple hosts. - .IP "\fB\-r\fR" - Poison both hosts (host and target) to capture traffic in both directions. - (only valid in conjuntion with \-t) ---- a/arpspoof.c 2012-03-14 13:24:27.626081655 -0600 -+++ b/arpspoof.c 2012-03-14 13:24:27.646081654 -0600 -@@ -29,9 +29,14 @@ - - extern char *ether_ntoa(struct ether_addr *); - -+struct host { -+ in_addr_t ip; -+ struct ether_addr mac; -+}; -+ - static libnet_t *l; --static struct ether_addr spoof_mac, target_mac; --static in_addr_t spoof_ip, target_ip; -+static struct host spoof = {0}; -+static struct host *targets; - static char *intf; - static int poison_reverse; - -@@ -133,30 +138,46 @@ - return (0); - } - -+static int arp_find_all() { -+ struct host *target = targets; -+ while(target->ip) { -+ if (arp_find(target->ip, &target->mac)) { -+ return 1; -+ } -+ target++; -+ } -+ -+ return 0; -+} -+ - static void - cleanup(int sig) - { -- int fw = arp_find(spoof_ip, &spoof_mac); -- int bw = poison_reverse && target_ip && arp_find(target_ip, &target_mac); -+ int fw = arp_find(spoof.ip, &spoof.mac); -+ int bw = poison_reverse && targets[0].ip && arp_find_all(); - int i; - - fprintf(stderr, "Cleaning up and re-arping targets...\n"); - for (i = 0; i < 5; i++) { -- /* XXX - on BSD, requires ETHERSPOOF kernel. */ -- if (fw) { -- arp_send(l, ARPOP_REPLY, -- (u_int8_t *)&spoof_mac, spoof_ip, -- (target_ip ? (u_int8_t *)&target_mac : NULL), -- target_ip); -- /* we have to wait a moment before sending the next packet */ -- sleep(1); -- } -- if (bw) { -- arp_send(l, ARPOP_REPLY, -- (u_int8_t *)&target_mac, target_ip, -- (u_int8_t *)&spoof_mac, -- spoof_ip); -- sleep(1); -+ struct host *target = targets; -+ while(target->ip) { -+ /* XXX - on BSD, requires ETHERSPOOF kernel. */ -+ if (fw) { -+ arp_send(l, ARPOP_REPLY, -+ (u_int8_t *)&spoof.mac, spoof.ip, -+ (target->ip ? (u_int8_t *)&target->mac : NULL), -+ target->ip); -+ /* we have to wait a moment before sending the next packet */ -+ sleep(1); -+ } -+ if (bw) { -+ arp_send(l, ARPOP_REPLY, -+ (u_int8_t *)&target->mac, target->ip, -+ (u_int8_t *)&spoof.mac, -+ spoof.ip); -+ sleep(1); -+ } -+ target++; - } - } - -@@ -171,10 +192,15 @@ - char pcap_ebuf[PCAP_ERRBUF_SIZE]; - char libnet_ebuf[LIBNET_ERRBUF_SIZE]; - int c; -+ int n_targets; - -+ spoof.ip = 0; - intf = NULL; -- spoof_ip = target_ip = 0; - poison_reverse = 0; -+ n_targets = 0; -+ -+ /* allocate enough memory for target list */ -+ targets = calloc( argc+1, sizeof(struct host) ); - - while ((c = getopt(argc, argv, "ri:t:h?V")) != -1) { - switch (c) { -@@ -182,7 +208,7 @@ - intf = optarg; - break; - case 't': -- if ((target_ip = libnet_name2addr4(l, optarg, LIBNET_RESOLVE)) == -1) -+ if ((targets[n_targets++].ip = libnet_name2addr4(l, optarg, LIBNET_RESOLVE)) == -1) - usage(); - break; - case 'r': -@@ -198,12 +224,12 @@ - if (argc != 1) - usage(); - -- if (poison_reverse && !target_ip) { -+ if (poison_reverse && !n_targets) { - errx(1, "Spoofing the reverse path (-r) is only available when specifying a target (-t)."); - usage(); - } - -- if ((spoof_ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1) -+ if ((spoof.ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1) - usage(); - - if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL) -@@ -211,15 +237,19 @@ - - if ((l = libnet_init(LIBNET_LINK, intf, libnet_ebuf)) == NULL) - errx(1, "%s", libnet_ebuf); -- -- if (target_ip != 0 && !arp_find(target_ip, &target_mac)) -- errx(1, "couldn't arp for host %s", -- libnet_addr2name4(target_ip, LIBNET_DONT_RESOLVE)); -+ -+ struct host *target = targets; -+ while(target->ip) { -+ if (target->ip != 0 && !arp_find(target->ip, &target->mac)) -+ errx(1, "couldn't arp for host %s", -+ libnet_addr2name4(target->ip, LIBNET_DONT_RESOLVE)); -+ target++; -+ } - - if (poison_reverse) { -- if (!arp_find(spoof_ip, &spoof_mac)) { -+ if (!arp_find(spoof.ip, &spoof.mac)) { - errx(1, "couldn't arp for spoof host %s", -- libnet_addr2name4(spoof_ip, LIBNET_DONT_RESOLVE)); -+ libnet_addr2name4(spoof.ip, LIBNET_DONT_RESOLVE)); - } - } - -@@ -228,11 +258,15 @@ - signal(SIGTERM, cleanup); - - for (;;) { -- arp_send(l, ARPOP_REPLY, NULL, spoof_ip, -- (target_ip ? (u_int8_t *)&target_mac : NULL), -- target_ip); -- if (poison_reverse) { -- arp_send(l, ARPOP_REPLY, NULL, target_ip, (uint8_t *)&spoof_mac, spoof_ip); -+ struct host *target = targets; -+ while(target->ip) { -+ arp_send(l, ARPOP_REPLY, NULL, spoof.ip, -+ (target->ip ? (u_int8_t *)&target->mac : NULL), -+ target->ip); -+ if (poison_reverse) { -+ arp_send(l, ARPOP_REPLY, NULL, target->ip, (uint8_t *)&spoof.mac, spoof.ip); -+ } -+ target++; - } - - sleep(2); diff --git a/unmaintained/dsniff/0003-arpspoof-allow-selection-of-source-hw-address.patch b/unmaintained/dsniff/0003-arpspoof-allow-selection-of-source-hw-address.patch deleted file mode 100644 index bb8be00d1e..0000000000 --- a/unmaintained/dsniff/0003-arpspoof-allow-selection-of-source-hw-address.patch +++ /dev/null @@ -1,228 +0,0 @@ ->From 21773ccf18a5fc49d35e510a8797b0a1e83858c4 Mon Sep 17 00:00:00 2001 -From: Stefan Tomanek -Date: Sun, 20 Nov 2011 21:32:53 +0100 -Subject: [PATCH 3/3] arpspoof: allow selection of source hw address - -In certain networks, sending with the wrong hardware source address can -jeopardize the network connection of the host running arpspoof. This -patch makes it possible to specify whether arpspoof should use the own -hardware address or the one of the real host when resetting the arp -table of the target systems; it is also possible to use both. - -Signed-off-by: Stefan Tomanek ---- - arpspoof.8 | 9 +++++- - arpspoof.c | 90 ++++++++++++++++++++++++++++++++++++++++++----------------- - 2 files changed, 72 insertions(+), 27 deletions(-) - ---- a/arpspoof.8 2012-03-14 13:33:30.000000000 -0600 -+++ b/arpspoof.8 2012-03-14 13:36:18.898055700 -0600 -@@ -9,7 +9,7 @@ - .na - .nf - .fi --\fBarpspoof\fR [\fB\-i \fIinterface\fR] [\fB\-t \fItarget\fR] [\fB\-r\fR] \fIhost\fR -+\fBarpspoof\fR [\fB\-i \fIinterface\fR] [\fB\-c \fIown|host|both\fR] [\fB\-t \fItarget\fR] [\fB\-r\fR] \fIhost\fR - .SH DESCRIPTION - .ad - .fi -@@ -23,6 +23,13 @@ - .SH OPTIONS - .IP "\fB-i \fIinterface\fR" - Specify the interface to use. -+.IP "\fB-c \fIown|host|both\fR" -+Specify which hardware address t use when restoring the arp configuration; -+while cleaning up, packets can be send with the own address as well as with -+the address of the host. Sending packets with a fake hw address can disrupt -+connectivity with certain switch/ap/bridge configurations, however it works -+more reliably than using the own address, which is the default way arpspoof -+cleans up afterwards. - .IP "\fB-t \fItarget\fR" - Specify a particular host to ARP poison (if not specified, all hosts - on the LAN). Repeat to specify multiple hosts. ---- a/arpspoof.c 2012-03-14 13:33:30.000000000 -0600 -+++ b/arpspoof.c 2012-03-14 13:34:11.134060364 -0600 -@@ -40,37 +40,36 @@ - static char *intf; - static int poison_reverse; - -+static uint8_t *my_ha = NULL; -+static uint8_t *brd_ha = "\xff\xff\xff\xff\xff\xff"; -+ -+static int cleanup_src_own = 1; -+static int cleanup_src_host = 0; -+ - static void - usage(void) - { - fprintf(stderr, "Version: " VERSION "\n" -- "Usage: arpspoof [-i interface] [-t target] [-r] host\n"); -+ "Usage: arpspoof [-i interface] [-c own|host|both] [-t target] [-r] host\n"); - exit(1); - } - - static int --arp_send(libnet_t *l, int op, u_int8_t *sha, -- in_addr_t spa, u_int8_t *tha, in_addr_t tpa) -+arp_send(libnet_t *l, int op, -+ u_int8_t *sha, in_addr_t spa, -+ u_int8_t *tha, in_addr_t tpa, -+ u_int8_t *me) - { - int retval; - -- if (sha == NULL && -- (sha = (u_int8_t *)libnet_get_hwaddr(l)) == NULL) { -- return (-1); -- } -- if (spa == 0) { -- if ((spa = libnet_get_ipaddr4(l)) == -1) -- return (-1); -- } -- if (tha == NULL) -- tha = "\xff\xff\xff\xff\xff\xff"; -- -+ if (!me) me = sha; -+ - libnet_autobuild_arp(op, sha, (u_int8_t *)&spa, - tha, (u_int8_t *)&tpa, l); -- libnet_build_ethernet(tha, sha, ETHERTYPE_ARP, NULL, 0, l, 0); -+ libnet_build_ethernet(tha, me, ETHERTYPE_ARP, NULL, 0, l, 0); - - fprintf(stderr, "%s ", -- ether_ntoa((struct ether_addr *)sha)); -+ ether_ntoa((struct ether_addr *)me)); - - if (op == ARPOP_REQUEST) { - fprintf(stderr, "%s 0806 42: arp who-has %s tell %s\n", -@@ -129,7 +128,7 @@ - /* XXX - force the kernel to arp. feh. */ - arp_force(ip); - #else -- arp_send(l, ARPOP_REQUEST, NULL, 0, NULL, ip); -+ arp_send(l, ARPOP_REQUEST, NULL, 0, NULL, ip, NULL); - #endif - sleep(1); - } -@@ -156,17 +155,23 @@ - int fw = arp_find(spoof.ip, &spoof.mac); - int bw = poison_reverse && targets[0].ip && arp_find_all(); - int i; -+ int rounds = (cleanup_src_own*5 + cleanup_src_host*5); - - fprintf(stderr, "Cleaning up and re-arping targets...\n"); -- for (i = 0; i < 5; i++) { -+ for (i = 0; i < rounds; i++) { - struct host *target = targets; - while(target->ip) { -+ uint8_t *src_ha = NULL; -+ if (cleanup_src_own && (i%2 || !cleanup_src_host)) { -+ src_ha = my_ha; -+ } - /* XXX - on BSD, requires ETHERSPOOF kernel. */ - if (fw) { - arp_send(l, ARPOP_REPLY, - (u_int8_t *)&spoof.mac, spoof.ip, -- (target->ip ? (u_int8_t *)&target->mac : NULL), -- target->ip); -+ (target->ip ? (u_int8_t *)&target->mac : brd_ha), -+ target->ip, -+ src_ha); - /* we have to wait a moment before sending the next packet */ - sleep(1); - } -@@ -174,7 +179,8 @@ - arp_send(l, ARPOP_REPLY, - (u_int8_t *)&target->mac, target->ip, - (u_int8_t *)&spoof.mac, -- spoof.ip); -+ spoof.ip, -+ src_ha); - sleep(1); - } - target++; -@@ -193,6 +199,7 @@ - char libnet_ebuf[LIBNET_ERRBUF_SIZE]; - int c; - int n_targets; -+ char *cleanup_src = NULL; - - spoof.ip = 0; - intf = NULL; -@@ -202,7 +209,7 @@ - /* allocate enough memory for target list */ - targets = calloc( argc+1, sizeof(struct host) ); - -- while ((c = getopt(argc, argv, "ri:t:h?V")) != -1) { -+ while ((c = getopt(argc, argv, "ri:t:c:h?V")) != -1) { - switch (c) { - case 'i': - intf = optarg; -@@ -214,6 +221,9 @@ - case 'r': - poison_reverse = 1; - break; -+ case 'c': -+ cleanup_src = optarg; -+ break; - default: - usage(); - } -@@ -229,6 +239,29 @@ - usage(); - } - -+ if (!cleanup_src || strcmp(cleanup_src, "own")==0) { /* default! */ -+ /* only use our own hw address when cleaning up, -+ * not jeopardizing any bridges on the way to our -+ * target -+ */ -+ cleanup_src_own = 1; -+ cleanup_src_host = 0; -+ } else if (strcmp(cleanup_src, "host")==0) { -+ /* only use the target hw address when cleaning up; -+ * this can screw up some bridges and scramble access -+ * for our own host, however it resets the arp table -+ * more reliably -+ */ -+ cleanup_src_own = 0; -+ cleanup_src_host = 1; -+ } else if (strcmp(cleanup_src, "both")==0) { -+ cleanup_src_own = 1; -+ cleanup_src_host = 1; -+ } else { -+ errx(1, "Invalid parameter to -c: use 'own' (default), 'host' or 'both'."); -+ usage(); -+ } -+ - if ((spoof.ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1) - usage(); - -@@ -253,6 +286,10 @@ - } - } - -+ if ((my_ha = (u_int8_t *)libnet_get_hwaddr(l)) == NULL) { -+ errx(1, "Unable to determine own mac address"); -+ } -+ - signal(SIGHUP, cleanup); - signal(SIGINT, cleanup); - signal(SIGTERM, cleanup); -@@ -260,11 +297,12 @@ - for (;;) { - struct host *target = targets; - while(target->ip) { -- arp_send(l, ARPOP_REPLY, NULL, spoof.ip, -- (target->ip ? (u_int8_t *)&target->mac : NULL), -- target->ip); -+ arp_send(l, ARPOP_REPLY, my_ha, spoof.ip, -+ (target->ip ? (u_int8_t *)&target->mac : brd_ha), -+ target->ip, -+ my_ha); - if (poison_reverse) { -- arp_send(l, ARPOP_REPLY, NULL, target->ip, (uint8_t *)&spoof.mac, spoof.ip); -+ arp_send(l, ARPOP_REPLY, my_ha, target->ip, (uint8_t *)&spoof.mac, spoof.ip, my_ha); - } - target++; - } diff --git a/unmaintained/dsniff/0004-arpspoof-mac-include.patch b/unmaintained/dsniff/0004-arpspoof-mac-include.patch deleted file mode 100644 index 964484b662..0000000000 --- a/unmaintained/dsniff/0004-arpspoof-mac-include.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/arpspoof.c b/arpspoof.c -index ab127f9..681f809 100644 ---- a/arpspoof.c -+++ b/arpspoof.c -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - - #include "arp.h" - #include "version.h" diff --git a/unmaintained/dsniff/01_time.h.patch b/unmaintained/dsniff/01_time.h.patch deleted file mode 100644 index 1cf570b070..0000000000 --- a/unmaintained/dsniff/01_time.h.patch +++ /dev/null @@ -1,23 +0,0 @@ -Author: Steve Kemp -Description: Include to fix segfault on some architectures. -Closes #315969 ---- a/msgsnarf.c 2011-06-19 17:14:25.023999385 -0500 -+++ b/msgsnarf.c 2011-06-19 17:14:56.475999377 -0500 -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - - #include "buf.h" - #include "decode.h" ---- a/sshow.c 2011-06-19 17:14:24.843999385 -0500 -+++ b/sshow.c 2011-06-19 17:14:56.475999377 -0500 -@@ -15,6 +15,7 @@ - - #include - #include -+#include - - #include - #include diff --git a/unmaintained/dsniff/02_mailsnarf_corrupt.patch b/unmaintained/dsniff/02_mailsnarf_corrupt.patch deleted file mode 100644 index 8a969533e1..0000000000 --- a/unmaintained/dsniff/02_mailsnarf_corrupt.patch +++ /dev/null @@ -1,13 +0,0 @@ -Author: Steve Kemp -Description: mailsnarf does not parse mail correctly, Closes #149330. ---- a/mailsnarf.c 2011-06-19 17:14:23.839999384 -0500 -+++ b/mailsnarf.c 2011-06-19 17:14:59.327999376 -0500 -@@ -178,7 +178,7 @@ - if (smtp->state != SMTP_DATA) { - while ((i = buf_index(&buf, "\r\n", 2)) >= 0) { - line = buf_tok(&buf, NULL, i + 2); -- line->base[line->end] = '\0'; -+ line->base[line->end-1] = '\0'; - p = buf_ptr(line); - - if (strncasecmp(p, "RSET", 4) == 0) { diff --git a/unmaintained/dsniff/03_pcap_read_dump.patch b/unmaintained/dsniff/03_pcap_read_dump.patch deleted file mode 100644 index 18369f9a85..0000000000 --- a/unmaintained/dsniff/03_pcap_read_dump.patch +++ /dev/null @@ -1,531 +0,0 @@ -Author: Joseph Battaglia and Joshua Krage -Description: Allow the reading of saved PCAP capture files. -Closes #153462 -Closes #298604 ---- a/dsniff.8 2011-06-19 17:14:20.847999386 -0500 -+++ b/dsniff.8 2011-06-19 17:15:01.067999376 -0500 -@@ -10,7 +10,7 @@ - .nf - .fi - \fBdsniff\fR [\fB-c\fR] [\fB-d\fR] [\fB-m\fR] [\fB-n\fR] [\fB-i --\fIinterface\fR] [\fB-s \fIsnaplen\fR] [\fB-f \fIservices\fR] -+\fIinterface\fR | \fB-p \fIpcapfile\fR] [\fB-s \fIsnaplen\fR] [\fB-f \fIservices\fR] - [\fB-t \fItrigger[,...]\fR]] - [\fB-r\fR|\fB-w\fR \fIsavefile\fR] [\fIexpression\fR] - .SH DESCRIPTION -@@ -45,6 +45,9 @@ - Do not resolve IP addresses to hostnames. - .IP "\fB-i \fIinterface\fR" - Specify the interface to listen on. -+.IP "\fB-p \fIpcapfile\fR" -+Rather than processing the contents of packets observed upon the network -+process the given PCAP capture file. - .IP "\fB-s \fIsnaplen\fR" - Analyze at most the first \fIsnaplen\fR bytes of each TCP connection, - rather than the default of 1024. ---- a/dsniff.c 2011-06-19 17:14:20.303999384 -0500 -+++ b/dsniff.c 2011-06-19 17:15:01.071999376 -0500 -@@ -46,8 +46,9 @@ - usage(void) - { - fprintf(stderr, "Version: " VERSION "\n" -- "Usage: dsniff [-cdmn] [-i interface] [-s snaplen] [-f services]\n" -- " [-t trigger[,...]] [-r|-w savefile] [expression]\n"); -+ "Usage: dsniff [-cdmn] [-i interface | -p pcapfile] [-s snaplen]\n" -+ " [-f services] [-t trigger[,...]] [-r|-w savefile]\n" -+ " [expression]\n"); - exit(1); - } - -@@ -79,7 +80,7 @@ - - services = savefile = triggers = NULL; - -- while ((c = getopt(argc, argv, "cdf:i:mnr:s:t:w:h?V")) != -1) { -+ while ((c = getopt(argc, argv, "cdf:i:mnp:r:s:t:w:h?V")) != -1) { - switch (c) { - case 'c': - Opt_client = 1; -@@ -99,6 +100,9 @@ - case 'n': - Opt_dns = 0; - break; -+ case 'p': -+ nids_params.filename = optarg; -+ break; - case 'r': - Opt_read = 1; - savefile = optarg; -@@ -168,10 +172,23 @@ - else nids_register_tcp(trigger_tcp); - - if (nids_params.pcap_filter != NULL) { -- warnx("listening on %s [%s]", nids_params.device, -- nids_params.pcap_filter); -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s [%s]", nids_params.device, -+ nids_params.pcap_filter); -+ } -+ else { -+ warnx("using %s [%s]", nids_params.filename, -+ nids_params.pcap_filter); -+ } -+ } -+ else { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s", nids_params.device); -+ } -+ else { -+ warnx("using %s", nids_params.filename); -+ } - } -- else warnx("listening on %s", nids_params.device); - - nids_run(); - ---- a/filesnarf.8 2011-06-19 17:14:22.343999384 -0500 -+++ b/filesnarf.8 2011-06-19 17:15:01.071999376 -0500 -@@ -9,7 +9,7 @@ - .na - .nf - .fi --\fBfilesnarf\fR [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] -+\fBfilesnarf\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] - .SH DESCRIPTION - .ad - .fi -@@ -18,6 +18,8 @@ - .SH OPTIONS - .IP "\fB-i \fIinterface\fR" - Specify the interface to listen on. -+.IP "\fB-p \fIpcapfile\fR" -+Process packets from the specified PCAP capture file instead of the network. - .IP \fB-v\fR - "Versus" mode. Invert the sense of matching, to select non-matching - files. ---- a/filesnarf.c 2011-06-19 17:14:22.155999384 -0500 -+++ b/filesnarf.c 2011-06-19 17:15:01.075999376 -0500 -@@ -51,7 +51,7 @@ - usage(void) - { - fprintf(stderr, "Version: " VERSION "\n" -- "Usage: filesnarf [-i interface] [[-v] pattern [expression]]\n"); -+ "Usage: filesnarf [-i interface | -p pcapfile] [[-v] pattern [expression]]\n"); - exit(1); - } - -@@ -464,11 +464,14 @@ - extern int optind; - int c; - -- while ((c = getopt(argc, argv, "i:vh?V")) != -1) { -+ while ((c = getopt(argc, argv, "i:p:vh?V")) != -1) { - switch (c) { - case 'i': - nids_params.device = optarg; - break; -+ case 'p': -+ nids_params.filename = optarg; -+ break; - case 'v': - Opt_invert = 1; - break; -@@ -498,11 +501,24 @@ - nids_register_ip(decode_udp_nfs); - nids_register_tcp(decode_tcp_nfs); - -- if (nids_params.pcap_filter != NULL) { -- warnx("listening on %s [%s]", nids_params.device, -- nids_params.pcap_filter); -- } -- else warnx("listening on %s", nids_params.device); -+ if (nids_params.pcap_filter != NULL) { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s [%s]", nids_params.device, -+ nids_params.pcap_filter); -+ } -+ else { -+ warnx("using %s [%s]", nids_params.filename, -+ nids_params.pcap_filter); -+ } -+ } -+ else { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s", nids_params.device); -+ } -+ else { -+ warnx("using %s", nids_params.filename); -+ } -+ } - - nids_run(); - ---- a/mailsnarf.8 2011-06-19 17:14:21.099999386 -0500 -+++ b/mailsnarf.8 2011-06-19 17:15:01.079999376 -0500 -@@ -9,7 +9,7 @@ - .na - .nf - .fi --\fBmailsnarf\fR [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] -+\fBmailsnarf\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] - .SH DESCRIPTION - .ad - .fi -@@ -19,6 +19,8 @@ - .SH OPTIONS - .IP "\fB-i \fIinterface\fR" - Specify the interface to listen on. -+.IP "\fB-p \fIpcapfile\fR" -+Process packets from the specified PCAP capture file instead of the network. - .IP \fB-v\fR - "Versus" mode. Invert the sense of matching, to select non-matching - messages. ---- a/mailsnarf.c 2011-06-19 17:14:59.327999376 -0500 -+++ b/mailsnarf.c 2011-06-19 17:15:01.083999376 -0500 -@@ -59,7 +59,7 @@ - usage(void) - { - fprintf(stderr, "Version: " VERSION "\n" -- "Usage: mailsnarf [-i interface] [[-v] pattern [expression]]\n"); -+ "Usage: mailsnarf [-i interface | -p pcapfile] [[-v] pattern [expression]]\n"); - exit(1); - } - -@@ -344,11 +344,14 @@ - extern int optind; - int c; - -- while ((c = getopt(argc, argv, "i:vh?V")) != -1) { -+ while ((c = getopt(argc, argv, "i:p:vh?V")) != -1) { - switch (c) { - case 'i': - nids_params.device = optarg; - break; -+ case 'p': -+ nids_params.filename = optarg; -+ break; - case 'v': - Opt_invert = 1; - break; -@@ -378,10 +381,23 @@ - nids_register_tcp(sniff_pop_session); - - if (nids_params.pcap_filter != NULL) { -- warnx("listening on %s [%s]", nids_params.device, -- nids_params.pcap_filter); -- } -- else warnx("listening on %s", nids_params.device); -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s [%s]", nids_params.device, -+ nids_params.pcap_filter); -+ } -+ else { -+ warnx("using %s [%s]", nids_params.filename, -+ nids_params.pcap_filter); -+ } -+ } -+ else { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s", nids_params.device); -+ } -+ else { -+ warnx("using %s", nids_params.filename); -+ } -+ } - - nids_run(); - ---- a/msgsnarf.8 2011-06-19 17:14:21.771999384 -0500 -+++ b/msgsnarf.8 2011-06-19 17:15:01.087999376 -0500 -@@ -9,7 +9,7 @@ - .na - .nf - .fi --\fBmsgsnarf\fR [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] -+\fBmsgsnarf\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] - .SH DESCRIPTION - .ad - .fi -@@ -19,6 +19,8 @@ - .SH OPTIONS - .IP "\fB-i \fIinterface\fR" - Specify the interface to listen on. -+.IP "\fB-p \fIpcapfile\fR" -+Process packets from the specified PCAP capture file instead of the network. - .IP \fB-v\fR - "Versus" mode. Invert the sense of matching, to select non-matching - messages. ---- a/msgsnarf.c 2011-06-19 17:14:56.475999377 -0500 -+++ b/msgsnarf.c 2011-06-19 17:15:01.091999376 -0500 -@@ -45,7 +45,7 @@ - usage(void) - { - fprintf(stderr, "Version: " VERSION "\n" -- "Usage: msgsnarf [-i interface] [[-v] pattern [expression]]\n"); -+ "Usage: msgsnarf [-i interface | -p pcapfile] [[-v] pattern [expression]]\n"); - exit(1); - } - -@@ -633,11 +633,14 @@ - extern int optind; - int c; - -- while ((c = getopt(argc, argv, "i:hv?V")) != -1) { -+ while ((c = getopt(argc, argv, "i:p:hv?V")) != -1) { - switch (c) { - case 'i': - nids_params.device = optarg; - break; -+ case 'p': -+ nids_params.filename = optarg; -+ break; - case 'v': - Opt_invert = 1; - break; -@@ -666,11 +669,24 @@ - - nids_register_tcp(sniff_msgs); - -- if (nids_params.pcap_filter != NULL) { -- warnx("listening on %s [%s]", nids_params.device, -- nids_params.pcap_filter); -- } -- else warnx("listening on %s", nids_params.device); -+ if (nids_params.pcap_filter != NULL) { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s [%s]", nids_params.device, -+ nids_params.pcap_filter); -+ } -+ else { -+ warnx("using %s [%s]", nids_params.filename, -+ nids_params.pcap_filter); -+ } -+ } -+ else { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s", nids_params.device); -+ } -+ else { -+ warnx("using %s", nids_params.filename); -+ } -+ } - - nids_run(); - ---- a/sshow.8 2011-06-19 17:14:18.839999384 -0500 -+++ b/sshow.8 2011-06-19 17:15:01.095999376 -0500 -@@ -9,7 +9,7 @@ - .na - .nf - .fi --\fBsshow\fR [\fB-d\fR] [\fB-i \fIinterface\fR] [\fIexpression\fR] -+\fBsshow\fR [\fB-d\fR] [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [\fIexpression\fR] - .SH DESCRIPTION - .ad - .fi -@@ -28,6 +28,8 @@ - Enable verbose debugging output. - .IP "\fB-i \fIinterface\fR" - Specify the interface to listen on. -+.IP "\fB-p \fIpcapfile\fR" -+Process packets from the specified PCAP capture file instead of the network. - .IP "\fIexpression\fR" - Specify a tcpdump(8) filter expression to select traffic to sniff. - .SH "SEE ALSO" ---- a/sshow.c 2011-06-19 17:14:56.475999377 -0500 -+++ b/sshow.c 2011-06-19 17:15:01.099999376 -0500 -@@ -82,7 +82,7 @@ - static void - usage(void) - { -- fprintf(stderr, "Usage: sshow [-d] [-i interface]\n"); -+ fprintf(stderr, "Usage: sshow [-d] [-i interface | -p pcapfile]\n"); - exit(1); - } - -@@ -616,7 +616,7 @@ - extern int optind; - int c; - -- while ((c = getopt(argc, argv, "di:h?")) != -1) { -+ while ((c = getopt(argc, argv, "di:p:h?")) != -1) { - switch (c) { - case 'd': - debug++; -@@ -624,6 +624,9 @@ - case 'i': - nids_params.device = optarg; - break; -+ case 'p': -+ nids_params.filename = optarg; -+ break; - default: - usage(); - break; -@@ -652,11 +655,24 @@ - - nids_register_tcp(process_event); - -- if (nids_params.pcap_filter != NULL) { -- warnx("listening on %s [%s]", nids_params.device, -- nids_params.pcap_filter); -- } -- else warnx("listening on %s", nids_params.device); -+ if (nids_params.pcap_filter != NULL) { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s [%s]", nids_params.device, -+ nids_params.pcap_filter); -+ } -+ else { -+ warnx("using %s [%s]", nids_params.filename, -+ nids_params.pcap_filter); -+ } -+ } -+ else { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s", nids_params.device); -+ } -+ else { -+ warnx("using %s", nids_params.filename); -+ } -+ } - - nids_run(); - ---- a/urlsnarf.8 2011-06-19 17:14:19.727999384 -0500 -+++ b/urlsnarf.8 2011-06-19 17:15:01.099999376 -0500 -@@ -9,7 +9,7 @@ - .na - .nf - .fi --\fBurlsnarf\fR [\fB-n\fR] [\fB-i \fIinterface\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] -+\fBurlsnarf\fR [\fB-n\fR] [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] [[\fB-v\fR] \fIpattern [\fIexpression\fR]] - .SH DESCRIPTION - .ad - .fi -@@ -21,6 +21,9 @@ - .IP \fB-n\fR - Do not resolve IP addresses to hostnames. - .IP "\fB-i \fIinterface\fR" -+Specify the interface to listen on. -+.IP "\fB-p \fIpcapfile\fR" -+Process packets from the specified PCAP capture file instead of the network. - .IP \fB-v\fR - "Versus" mode. Invert the sense of matching, to select non-matching - URLs. ---- a/urlsnarf.c 2011-06-19 17:14:19.323999384 -0500 -+++ b/urlsnarf.c 2011-06-19 17:15:01.103999376 -0500 -@@ -41,7 +41,7 @@ - usage(void) - { - fprintf(stderr, "Version: " VERSION "\n" -- "Usage: urlsnarf [-n] [-i interface] [[-v] pattern [expression]]\n"); -+ "Usage: urlsnarf [-n] [-i interface | -p pcapfile] [[-v] pattern [expression]]\n"); - exit(1); - } - -@@ -201,11 +201,14 @@ - extern int optind; - int c; - -- while ((c = getopt(argc, argv, "i:nvh?V")) != -1) { -+ while ((c = getopt(argc, argv, "i:p:nvh?V")) != -1) { - switch (c) { - case 'i': - nids_params.device = optarg; - break; -+ case 'p': -+ nids_params.filename = optarg; -+ break; - case 'n': - Opt_dns = 0; - break; -@@ -238,8 +241,24 @@ - - nids_register_tcp(sniff_http_client); - -- warnx("listening on %s [%s]", nids_params.device, -- nids_params.pcap_filter); -+ if (nids_params.pcap_filter != NULL) { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s [%s]", nids_params.device, -+ nids_params.pcap_filter); -+ } -+ else { -+ warnx("using %s [%s]", nids_params.filename, -+ nids_params.pcap_filter); -+ } -+ } -+ else { -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s", nids_params.device); -+ } -+ else { -+ warnx("using %s", nids_params.filename); -+ } -+ } - - nids_run(); - ---- a/webspy.8 2011-06-19 17:14:18.319999386 -0500 -+++ b/webspy.8 2011-06-19 17:15:01.107999376 -0500 -@@ -9,7 +9,7 @@ - .na - .nf - .fi --\fBwebspy\fR [\fB-i \fIinterface\fR] \fIhost\fR -+\fBwebspy\fR [\fB-i \fIinterface\fR | \fB-p \fIpcapfile\fR] \fIhost\fR - .SH DESCRIPTION - .ad - .fi -@@ -20,6 +20,8 @@ - .SH OPTIONS - .IP "\fB-i \fIinterface\fR" - Specify the interface to listen on. -+.IP "\fB-p \fIpcapfile\fR" -+Process packets from the specified PCAP capture file instead of the network. - .IP \fIhost\fR - Specify the web client to spy on. - .SH "SEE ALSO" ---- a/webspy.c 2011-06-19 17:14:21.395999384 -0500 -+++ b/webspy.c 2011-06-19 17:15:01.111999376 -0500 -@@ -42,7 +42,7 @@ - usage(void) - { - fprintf(stderr, "Version: " VERSION "\n" -- "Usage: %s [-i interface] host\n", progname); -+ "Usage: %s [-i interface | -p pcapfile] host\n", progname); - exit(1); - } - -@@ -184,11 +184,14 @@ - extern int optind; - int c; - -- while ((c = getopt(argc, argv, "i:h?V")) != -1) { -+ while ((c = getopt(argc, argv, "i:p:h?V")) != -1) { - switch (c) { - case 'i': - nids_params.device = optarg; - break; -+ case 'p': -+ nids_params.filename = optarg; -+ break; - default: - usage(); - } -@@ -216,7 +219,13 @@ - - nids_register_tcp(sniff_http_client); - -- warnx("listening on %s", nids_params.device); -+ if (nids_params.filename == NULL) { -+ warnx("listening on %s", nids_params.device); -+ } -+ else { -+ warnx("using %s", nids_params.filename); -+ } -+ - - nids_run(); - diff --git a/unmaintained/dsniff/04_multiple_intf.patch b/unmaintained/dsniff/04_multiple_intf.patch deleted file mode 100644 index 24857c7cc1..0000000000 --- a/unmaintained/dsniff/04_multiple_intf.patch +++ /dev/null @@ -1,52 +0,0 @@ -Author: Steve Kemp -Description: Work with multiple interfaces, Closes #242369. ---- a/arp.c 2011-06-19 17:14:13.607999387 -0500 -+++ b/arp.c 2011-06-19 17:15:04.587999376 -0500 -@@ -39,7 +39,7 @@ - - #ifdef BSD - int --arp_cache_lookup(in_addr_t ip, struct ether_addr *ether) -+arp_cache_lookup(in_addr_t ip, struct ether_addr *ether, const char* linf) - { - int mib[6]; - size_t len; -@@ -91,7 +91,7 @@ - #endif - - int --arp_cache_lookup(in_addr_t ip, struct ether_addr *ether) -+arp_cache_lookup(in_addr_t ip, struct ether_addr *ether, const char* lif) - { - int sock; - struct arpreq ar; -@@ -99,7 +99,7 @@ - - memset((char *)&ar, 0, sizeof(ar)); - #ifdef __linux__ -- strncpy(ar.arp_dev, "eth0", sizeof(ar.arp_dev)); /* XXX - *sigh* */ -+ strncpy(ar.arp_dev, lif, strlen(lif)); - #endif - sin = (struct sockaddr_in *)&ar.arp_pa; - sin->sin_family = AF_INET; ---- a/arp.h 2011-06-19 17:14:13.003999387 -0500 -+++ b/arp.h 2011-06-19 17:15:04.587999376 -0500 -@@ -11,6 +11,6 @@ - #ifndef _ARP_H_ - #define _ARP_H_ - --int arp_cache_lookup(in_addr_t ip, struct ether_addr *ether); -+int arp_cache_lookup(in_addr_t ip, struct ether_addr *ether, const char* linf); - - #endif /* _ARP_H_ */ ---- a/arpspoof.c 2011-06-19 17:14:13.311999387 -0500 -+++ b/arpspoof.c 2011-06-19 17:15:04.591999376 -0500 -@@ -113,7 +113,7 @@ - int i = 0; - - do { -- if (arp_cache_lookup(ip, mac) == 0) -+ if (arp_cache_lookup(ip, mac, intf) == 0) - return (1); - #ifdef __linux__ - /* XXX - force the kernel to arp. feh. */ diff --git a/unmaintained/dsniff/05_amd64_fix.patch b/unmaintained/dsniff/05_amd64_fix.patch deleted file mode 100644 index 22768c25b1..0000000000 --- a/unmaintained/dsniff/05_amd64_fix.patch +++ /dev/null @@ -1,217 +0,0 @@ -Author: Steve Kemp -Description: Compile under AMD64, Closes #254002. ---- a/configure 2011-06-19 17:14:11.327999387 -0500 -+++ b/configure 2011-06-19 17:15:06.667999375 -0500 -@@ -2667,15 +2667,62 @@ - echo "$ac_t""no" 1>&6 - fi - -+echo $ac_n "checking for __dn_expand in -lresolv""... $ac_c" 1>&6 -+echo "configure:2672: checking for __dn_expand in -lresolv" >&5 -+ac_lib_var=`echo resolv'_'__dn_expand | sed 'y%./+-%__p_%'` -+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ ac_save_LIBS="$LIBS" -+LIBS="-lresolv $LIBS" -+cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+ rm -rf conftest* -+ eval "ac_cv_lib_$ac_lib_var=yes" -+else -+ echo "configure: failed program was:" >&5 -+ cat conftest.$ac_ext >&5 -+ rm -rf conftest* -+ eval "ac_cv_lib_$ac_lib_var=no" -+fi -+rm -f conftest* -+LIBS="$ac_save_LIBS" -+ -+fi -+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then -+ echo "$ac_t""yes" 1>&6 -+ ac_tr_lib=HAVE_LIB`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` -+ cat >> confdefs.h <&6 -+fi -+ - for ac_func in dirname strlcpy strlcat strsep - do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 --echo "configure:2674: checking for $ac_func" >&5 -+echo "configure:2721: checking for $ac_func" >&5 - if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" - else -@@ -2728,12 +2775,12 @@ - for ac_func in MD5Update - do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 --echo "configure:2732: checking for $ac_func" >&5 -+echo "configure:2779: checking for $ac_func" >&5 - if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+if { (eval echo configure:2807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" - else -@@ -2788,12 +2835,12 @@ - for ac_func in warnx - do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 --echo "configure:2792: checking for $ac_func" >&5 -+echo "configure:2839: checking for $ac_func" >&5 - if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" - else -@@ -2848,12 +2895,12 @@ - for ac_func in ether_ntoa - do - echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 --echo "configure:2852: checking for $ac_func" >&5 -+echo "configure:2899: checking for $ac_func" >&5 - if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then -+if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" - else -@@ -2912,7 +2959,7 @@ - fi - - echo $ac_n "checking for Berkeley DB with 1.85 compatibility""... $ac_c" 1>&6 --echo "configure:2916: checking for Berkeley DB with 1.85 compatibility" >&5 -+echo "configure:2963: checking for Berkeley DB with 1.85 compatibility" >&5 - # Check whether --with-db or --without-db was given. - if test "${with_db+set}" = set; then - withval="$with_db" -@@ -3015,7 +3062,7 @@ - - - echo $ac_n "checking for libpcap""... $ac_c" 1>&6 --echo "configure:3019: checking for libpcap" >&5 -+echo "configure:3066: checking for libpcap" >&5 - # Check whether --with-libpcap or --without-libpcap was given. - if test "${with_libpcap+set}" = set; then - withval="$with_libpcap" -@@ -3063,7 +3110,7 @@ - - - echo $ac_n "checking for libnet""... $ac_c" 1>&6 --echo "configure:3067: checking for libnet" >&5 -+echo "configure:3114: checking for libnet" >&5 - # Check whether --with-libnet or --without-libnet was given. - if test "${with_libnet+set}" = set; then - withval="$with_libnet" -@@ -3110,7 +3157,7 @@ - - - echo $ac_n "checking for libnids""... $ac_c" 1>&6 --echo "configure:3114: checking for libnids" >&5 -+echo "configure:3161: checking for libnids" >&5 - # Check whether --with-libnids or --without-libnids was given. - if test "${with_libnids+set}" = set; then - withval="$with_libnids" -@@ -3152,9 +3199,9 @@ - save_cppflags="$CPPFLAGS" - CPPFLAGS="$NIDSINC" - echo $ac_n "checking whether libnids version is good""... $ac_c" 1>&6 --echo "configure:3156: checking whether libnids version is good" >&5 -+echo "configure:3203: checking whether libnids version is good" >&5 - cat > conftest.$ac_ext < - EOF -@@ -3173,7 +3220,7 @@ - - - echo $ac_n "checking for OpenSSL""... $ac_c" 1>&6 --echo "configure:3177: checking for OpenSSL" >&5 -+echo "configure:3224: checking for OpenSSL" >&5 - # Check whether --with-openssl or --without-openssl was given. - if test "${with_openssl+set}" = set; then - withval="$with_openssl" ---- a/configure.in 2011-06-19 17:14:11.195999387 -0500 -+++ b/configure.in 2011-06-19 17:15:06.683999375 -0500 -@@ -57,6 +57,7 @@ - AC_CHECK_LIB(nsl, gethostbyname) - dnl XXX - feh, everything except OpenBSD sux. - AC_CHECK_LIB(resolv, dn_expand) -+AC_CHECK_LIB(resolv, __dn_expand) - AC_REPLACE_FUNCS(dirname strlcpy strlcat strsep) - needmd5=no - AC_CHECK_FUNCS(MD5Update, , [needmd5=yes]) diff --git a/unmaintained/dsniff/06_urlsnarf_zeropad.patch b/unmaintained/dsniff/06_urlsnarf_zeropad.patch deleted file mode 100644 index be1c4beced..0000000000 --- a/unmaintained/dsniff/06_urlsnarf_zeropad.patch +++ /dev/null @@ -1,13 +0,0 @@ -Author: Steve Kemp -Description: urlsnarf: zero-pad date, Closes #298605. ---- a/urlsnarf.c 2011-06-19 17:15:01.103999376 -0500 -+++ b/urlsnarf.c 2011-06-19 17:15:08.631999375 -0500 -@@ -68,7 +68,7 @@ - t->tm_hour - gmt.tm_hour); - tz = hours * 60 + t->tm_min - gmt.tm_min; - -- len = strftime(tstr, sizeof(tstr), "%e/%b/%Y:%X", t); -+ len = strftime(tstr, sizeof(tstr), "%d/%b/%Y:%X", t); - if (len < 0 || len > sizeof(tstr) - 5) - return (NULL); - diff --git a/unmaintained/dsniff/07_libnet_1.1.patch b/unmaintained/dsniff/07_libnet_1.1.patch deleted file mode 100644 index 6cf86f0baf..0000000000 --- a/unmaintained/dsniff/07_libnet_1.1.patch +++ /dev/null @@ -1,903 +0,0 @@ -Author: Faidon Liambotis -Description: Use libnet v1.1 instead of v1.0 ---- a/arpspoof.c 2011-06-19 17:15:04.591999376 -0500 -+++ b/arpspoof.c 2011-06-19 17:15:10.511999375 -0500 -@@ -27,7 +27,7 @@ - - extern char *ether_ntoa(struct ether_addr *); - --static struct libnet_link_int *llif; -+static libnet_t *l; - static struct ether_addr spoof_mac, target_mac; - static in_addr_t spoof_ip, target_ip; - static char *intf; -@@ -41,47 +41,49 @@ - } - - static int --arp_send(struct libnet_link_int *llif, char *dev, -- int op, u_char *sha, in_addr_t spa, u_char *tha, in_addr_t tpa) -+arp_send(libnet_t *l, int op, u_int8_t *sha, -+ in_addr_t spa, u_int8_t *tha, in_addr_t tpa) - { -- char ebuf[128]; -- u_char pkt[60]; -- -+ int retval; -+ - if (sha == NULL && -- (sha = (u_char *)libnet_get_hwaddr(llif, dev, ebuf)) == NULL) { -+ (sha = (u_int8_t *)libnet_get_hwaddr(l)) == NULL) { - return (-1); - } - if (spa == 0) { -- if ((spa = libnet_get_ipaddr(llif, dev, ebuf)) == 0) -+ if ((spa = libnet_get_ipaddr4(l)) == -1) - return (-1); -- spa = htonl(spa); /* XXX */ - } - if (tha == NULL) - tha = "\xff\xff\xff\xff\xff\xff"; - -- libnet_build_ethernet(tha, sha, ETHERTYPE_ARP, NULL, 0, pkt); -+ libnet_autobuild_arp(op, sha, (u_int8_t *)&spa, -+ tha, (u_int8_t *)&tpa, l); -+ libnet_build_ethernet(tha, sha, ETHERTYPE_ARP, NULL, 0, l, 0); - -- libnet_build_arp(ARPHRD_ETHER, ETHERTYPE_IP, ETHER_ADDR_LEN, 4, -- op, sha, (u_char *)&spa, tha, (u_char *)&tpa, -- NULL, 0, pkt + ETH_H); -- - fprintf(stderr, "%s ", - ether_ntoa((struct ether_addr *)sha)); - - if (op == ARPOP_REQUEST) { - fprintf(stderr, "%s 0806 42: arp who-has %s tell %s\n", - ether_ntoa((struct ether_addr *)tha), -- libnet_host_lookup(tpa, 0), -- libnet_host_lookup(spa, 0)); -+ libnet_addr2name4(tpa, LIBNET_DONT_RESOLVE), -+ libnet_addr2name4(spa, LIBNET_DONT_RESOLVE)); - } - else { - fprintf(stderr, "%s 0806 42: arp reply %s is-at ", - ether_ntoa((struct ether_addr *)tha), -- libnet_host_lookup(spa, 0)); -+ libnet_addr2name4(spa, LIBNET_DONT_RESOLVE)); - fprintf(stderr, "%s\n", - ether_ntoa((struct ether_addr *)sha)); - } -- return (libnet_write_link_layer(llif, dev, pkt, sizeof(pkt)) == sizeof(pkt)); -+ retval = libnet_write(l); -+ if (retval) -+ fprintf(stderr, "%s", libnet_geterror(l)); -+ -+ libnet_clear_packet(l); -+ -+ return retval; - } - - #ifdef __linux__ -@@ -119,7 +121,7 @@ - /* XXX - force the kernel to arp. feh. */ - arp_force(ip); - #else -- arp_send(llif, intf, ARPOP_REQUEST, NULL, 0, NULL, ip); -+ arp_send(l, ARPOP_REQUEST, NULL, 0, NULL, ip); - #endif - sleep(1); - } -@@ -136,9 +138,9 @@ - if (arp_find(spoof_ip, &spoof_mac)) { - for (i = 0; i < 3; i++) { - /* XXX - on BSD, requires ETHERSPOOF kernel. */ -- arp_send(llif, intf, ARPOP_REPLY, -- (u_char *)&spoof_mac, spoof_ip, -- (target_ip ? (u_char *)&target_mac : NULL), -+ arp_send(l, ARPOP_REPLY, -+ (u_int8_t *)&spoof_mac, spoof_ip, -+ (target_ip ? (u_int8_t *)&target_mac : NULL), - target_ip); - sleep(1); - } -@@ -151,7 +153,8 @@ - { - extern char *optarg; - extern int optind; -- char ebuf[PCAP_ERRBUF_SIZE]; -+ char pcap_ebuf[PCAP_ERRBUF_SIZE]; -+ char libnet_ebuf[LIBNET_ERRBUF_SIZE]; - int c; - - intf = NULL; -@@ -163,7 +166,7 @@ - intf = optarg; - break; - case 't': -- if ((target_ip = libnet_name_resolve(optarg, 1)) == -1) -+ if ((target_ip = libnet_name2addr4(l, optarg, LIBNET_RESOLVE)) == -1) - usage(); - break; - default: -@@ -176,26 +179,26 @@ - if (argc != 1) - usage(); - -- if ((spoof_ip = libnet_name_resolve(argv[0], 1)) == -1) -+ if ((spoof_ip = libnet_name2addr4(l, argv[0], LIBNET_RESOLVE)) == -1) - usage(); - -- if (intf == NULL && (intf = pcap_lookupdev(ebuf)) == NULL) -- errx(1, "%s", ebuf); -+ if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL) -+ errx(1, "%s", pcap_ebuf); - -- if ((llif = libnet_open_link_interface(intf, ebuf)) == 0) -- errx(1, "%s", ebuf); -+ if ((l = libnet_init(LIBNET_LINK, intf, libnet_ebuf)) == NULL) -+ errx(1, "%s", libnet_ebuf); - - if (target_ip != 0 && !arp_find(target_ip, &target_mac)) - errx(1, "couldn't arp for host %s", -- libnet_host_lookup(target_ip, 0)); -+ libnet_addr2name4(target_ip, LIBNET_DONT_RESOLVE)); - - signal(SIGHUP, cleanup); - signal(SIGINT, cleanup); - signal(SIGTERM, cleanup); - - for (;;) { -- arp_send(llif, intf, ARPOP_REPLY, NULL, spoof_ip, -- (target_ip ? (u_char *)&target_mac : NULL), -+ arp_send(l, ARPOP_REPLY, NULL, spoof_ip, -+ (target_ip ? (u_int8_t *)&target_mac : NULL), - target_ip); - sleep(2); - } ---- a/dnsspoof.c 2011-06-19 17:14:04.651999389 -0500 -+++ b/dnsspoof.c 2011-06-19 17:15:10.515999375 -0500 -@@ -38,7 +38,7 @@ - - pcap_t *pcap_pd = NULL; - int pcap_off = -1; --int lnet_sock = -1; -+libnet_t *l; - u_long lnet_ip = -1; - - static void -@@ -90,19 +90,18 @@ - dns_init(char *dev, char *filename) - { - FILE *f; -- struct libnet_link_int *llif; -+ libnet_t *l; -+ char libnet_ebuf[LIBNET_ERRBUF_SIZE]; - struct dnsent *de; - char *ip, *name, buf[1024]; - -- if ((llif = libnet_open_link_interface(dev, buf)) == NULL) -- errx(1, "%s", buf); -+ if ((l = libnet_init(LIBNET_LINK, dev, libnet_ebuf)) == NULL) -+ errx(1, "%s", libnet_ebuf); - -- if ((lnet_ip = libnet_get_ipaddr(llif, dev, buf)) == -1) -- errx(1, "%s", buf); -+ if ((lnet_ip = libnet_get_ipaddr4(l)) == -1) -+ errx(1, "%s", libnet_geterror(l)); - -- lnet_ip = htonl(lnet_ip); -- -- libnet_close_link_interface(llif); -+ libnet_destroy(l); - - SLIST_INIT(&dns_entries); - -@@ -180,7 +179,7 @@ - static void - dns_spoof(u_char *u, const struct pcap_pkthdr *pkthdr, const u_char *pkt) - { -- struct libnet_ip_hdr *ip; -+ struct libnet_ipv4_hdr *ip; - struct libnet_udp_hdr *udp; - HEADER *dns; - char name[MAXHOSTNAMELEN]; -@@ -189,7 +188,7 @@ - in_addr_t dst; - u_short type, class; - -- ip = (struct libnet_ip_hdr *)(pkt + pcap_off); -+ ip = (struct libnet_ipv4_hdr *)(pkt + pcap_off); - udp = (struct libnet_udp_hdr *)(pkt + pcap_off + (ip->ip_hl * 4)); - dns = (HEADER *)(udp + 1); - p = (u_char *)(dns + 1); -@@ -212,7 +211,7 @@ - if (class != C_IN) - return; - -- p = buf + IP_H + UDP_H + dnslen; -+ p = buf + dnslen; - - if (type == T_A) { - if ((dst = dns_lookup_a(name)) == -1) -@@ -234,38 +233,38 @@ - anslen += 12; - } - else return; -- -- libnet_build_ip(UDP_H + dnslen + anslen, 0, libnet_get_prand(PRu16), -- 0, 64, IPPROTO_UDP, ip->ip_dst.s_addr, -- ip->ip_src.s_addr, NULL, 0, buf); -- -- libnet_build_udp(ntohs(udp->uh_dport), ntohs(udp->uh_sport), -- NULL, dnslen + anslen, buf + IP_H); - -- memcpy(buf + IP_H + UDP_H, (u_char *)dns, dnslen); -+ memcpy(buf, (u_char *)dns, dnslen); - -- dns = (HEADER *)(buf + IP_H + UDP_H); -+ dns = (HEADER *)buf; - dns->qr = dns->ra = 1; - if (type == T_PTR) dns->aa = 1; - dns->ancount = htons(1); - - dnslen += anslen; -+ -+ libnet_clear_packet(l); -+ libnet_build_udp(ntohs(udp->uh_dport), ntohs(udp->uh_sport), -+ LIBNET_UDP_H + dnslen, 0, -+ (u_int8_t *)buf, dnslen, l, 0); -+ -+ libnet_build_ipv4(LIBNET_IPV4_H + LIBNET_UDP_H + dnslen, 0, -+ libnet_get_prand(LIBNET_PRu16), 0, 64, IPPROTO_UDP, 0, -+ ip->ip_dst.s_addr, ip->ip_src.s_addr, NULL, 0, l, 0); - -- libnet_do_checksum(buf, IPPROTO_UDP, UDP_H + dnslen); -- -- if (libnet_write_ip(lnet_sock, buf, IP_H + UDP_H + dnslen) < 0) -+ if (libnet_write(l) < 0) - warn("write"); - - fprintf(stderr, "%s.%d > %s.%d: %d+ %s? %s\n", -- libnet_host_lookup(ip->ip_src.s_addr, 0), ntohs(udp->uh_sport), -- libnet_host_lookup(ip->ip_dst.s_addr, 0), ntohs(udp->uh_dport), -+ libnet_addr2name4(ip->ip_src.s_addr, 0), ntohs(udp->uh_sport), -+ libnet_addr2name4(ip->ip_dst.s_addr, 0), ntohs(udp->uh_dport), - ntohs(dns->id), type == T_A ? "A" : "PTR", name); - } - - static void - cleanup(int sig) - { -- libnet_close_raw_sock(lnet_sock); -+ libnet_destroy(l); - pcap_close(pcap_pd); - exit(0); - } -@@ -276,6 +275,7 @@ - extern char *optarg; - extern int optind; - char *p, *dev, *hosts, buf[1024]; -+ char ebuf[LIBNET_ERRBUF_SIZE]; - int i; - - dev = hosts = NULL; -@@ -306,7 +306,7 @@ - strlcpy(buf, p, sizeof(buf)); - } - else snprintf(buf, sizeof(buf), "udp dst port 53 and not src %s", -- libnet_host_lookup(lnet_ip, 0)); -+ libnet_addr2name4(lnet_ip, LIBNET_DONT_RESOLVE)); - - if ((pcap_pd = pcap_init(dev, buf, 128)) == NULL) - errx(1, "couldn't initialize sniffing"); -@@ -314,10 +314,10 @@ - if ((pcap_off = pcap_dloff(pcap_pd)) < 0) - errx(1, "couldn't determine link layer offset"); - -- if ((lnet_sock = libnet_open_raw_sock(IPPROTO_RAW)) == -1) -+ if ((l = libnet_init(LIBNET_RAW4, dev, ebuf)) == NULL) - errx(1, "couldn't initialize sending"); - -- libnet_seed_prand(); -+ libnet_seed_prand(l); - - signal(SIGHUP, cleanup); - signal(SIGINT, cleanup); ---- a/filesnarf.c 2011-06-19 17:15:01.075999376 -0500 -+++ b/filesnarf.c 2011-06-19 17:15:10.519999375 -0500 -@@ -134,8 +134,8 @@ - int fd; - - warnx("%s.%d > %s.%d: %s (%d@%d)", -- libnet_host_lookup(addr->daddr, 0), addr->dest, -- libnet_host_lookup(addr->saddr, 0), addr->source, -+ libnet_addr2name4(addr->daddr, LIBNET_DONT_RESOLVE), addr->dest, -+ libnet_addr2name4(addr->saddr, LIBNET_DONT_RESOLVE), addr->source, - ma->filename, len, ma->offset); - - if ((fd = open(ma->filename, O_WRONLY|O_CREAT, 0644)) >= 0) { -@@ -353,7 +353,7 @@ - } - - static void --decode_udp_nfs(struct libnet_ip_hdr *ip) -+decode_udp_nfs(struct libnet_ipv4_hdr *ip) - { - static struct tuple4 addr; - struct libnet_udp_hdr *udp; ---- a/macof.c 2011-06-19 17:14:04.959999389 -0500 -+++ b/macof.c 2011-06-19 17:15:10.523999375 -0500 -@@ -48,8 +48,8 @@ - static void - gen_mac(u_char *mac) - { -- *((in_addr_t *)mac) = libnet_get_prand(PRu32); -- *((u_short *)(mac + 4)) = libnet_get_prand(PRu16); -+ *((in_addr_t *)mac) = libnet_get_prand(LIBNET_PRu32); -+ *((u_short *)(mac + 4)) = libnet_get_prand(LIBNET_PRu16); - } - - int -@@ -59,22 +59,23 @@ - extern int optind; - int c, i; - struct libnet_link_int *llif; -- char ebuf[PCAP_ERRBUF_SIZE]; -+ char pcap_ebuf[PCAP_ERRBUF_SIZE]; -+ char libnet_ebuf[LIBNET_ERRBUF_SIZE]; - u_char sha[ETHER_ADDR_LEN], tha[ETHER_ADDR_LEN]; - in_addr_t src, dst; - u_short sport, dport; - u_int32_t seq; -- u_char pkt[ETH_H + IP_H + TCP_H]; -+ libnet_t *l; - - while ((c = getopt(argc, argv, "vs:d:e:x:y:i:n:h?V")) != -1) { - switch (c) { - case 'v': - break; - case 's': -- Src = libnet_name_resolve(optarg, 0); -+ Src = libnet_name2addr4(l, optarg, 0); - break; - case 'd': -- Dst = libnet_name_resolve(optarg, 0); -+ Dst = libnet_name2addr4(l, optarg, 0); - break; - case 'e': - Tha = (u_char *)ether_aton(optarg); -@@ -101,13 +102,13 @@ - if (argc != 0) - usage(); - -- if (!Intf && (Intf = pcap_lookupdev(ebuf)) == NULL) -- errx(1, "%s", ebuf); -+ if (!Intf && (Intf = pcap_lookupdev(pcap_ebuf)) == NULL) -+ errx(1, "%s", pcap_ebuf); - -- if ((llif = libnet_open_link_interface(Intf, ebuf)) == 0) -- errx(1, "%s", ebuf); -+ if ((l = libnet_init(LIBNET_LINK, Intf, libnet_ebuf)) == NULL) -+ errx(1, "%s", libnet_ebuf); - -- libnet_seed_prand(); -+ libnet_seed_prand(l); - - for (i = 0; i != Repeat; i++) { - -@@ -117,39 +118,39 @@ - else memcpy(tha, Tha, sizeof(tha)); - - if (Src != 0) src = Src; -- else src = libnet_get_prand(PRu32); -+ else src = libnet_get_prand(LIBNET_PRu32); - - if (Dst != 0) dst = Dst; -- else dst = libnet_get_prand(PRu32); -+ else dst = libnet_get_prand(LIBNET_PRu32); - - if (Sport != 0) sport = Sport; -- else sport = libnet_get_prand(PRu16); -+ else sport = libnet_get_prand(LIBNET_PRu16); - - if (Dport != 0) dport = Dport; -- else dport = libnet_get_prand(PRu16); -+ else dport = libnet_get_prand(LIBNET_PRu16); - -- seq = libnet_get_prand(PRu32); -- -- libnet_build_ethernet(tha, sha, ETHERTYPE_IP, NULL, 0, pkt); -- -- libnet_build_ip(TCP_H, 0, libnet_get_prand(PRu16), 0, 64, -- IPPROTO_TCP, src, dst, NULL, 0, pkt + ETH_H); -+ seq = libnet_get_prand(LIBNET_PRu32); - - libnet_build_tcp(sport, dport, seq, 0, TH_SYN, 512, -- 0, NULL, 0, pkt + ETH_H + IP_H); -+ 0, 0, LIBNET_TCP_H, NULL, 0, l, 0); - -- libnet_do_checksum(pkt + ETH_H, IPPROTO_IP, IP_H); -- libnet_do_checksum(pkt + ETH_H, IPPROTO_TCP, TCP_H); -+ libnet_build_ipv4(LIBNET_TCP_H, 0, -+ libnet_get_prand(LIBNET_PRu16), 0, 64, -+ IPPROTO_TCP, 0, src, dst, NULL, 0, l, 0); - -- if (libnet_write_link_layer(llif, Intf, pkt, sizeof(pkt)) < 0) -+ libnet_build_ethernet(tha, sha, ETHERTYPE_IP, NULL, 0, l, 0); -+ -+ if (libnet_write(l) < 0) - errx(1, "write"); - -+ libnet_clear_packet(l); -+ - fprintf(stderr, "%s ", - ether_ntoa((struct ether_addr *)sha)); - fprintf(stderr, "%s %s.%d > %s.%d: S %u:%u(0) win 512\n", - ether_ntoa((struct ether_addr *)tha), -- libnet_host_lookup(Src, 0), sport, -- libnet_host_lookup(Dst, 0), dport, seq, seq); -+ libnet_addr2name4(Src, 0), sport, -+ libnet_addr2name4(Dst, 0), dport, seq, seq); - } - exit(0); - } ---- a/record.c 2011-06-19 17:14:06.627999389 -0500 -+++ b/record.c 2011-06-19 17:15:10.523999375 -0500 -@@ -65,8 +65,8 @@ - tm = localtime(&rec->time); - strftime(tstr, sizeof(tstr), "%x %X", tm); - -- srcp = libnet_host_lookup(rec->src, Opt_dns); -- dstp = libnet_host_lookup(rec->dst, Opt_dns); -+ srcp = libnet_addr2name4(rec->src, Opt_dns); -+ dstp = libnet_addr2name4(rec->dst, Opt_dns); - - if ((pr = getprotobynumber(rec->proto)) == NULL) - protop = "unknown"; ---- a/sshmitm.c 2011-06-19 17:14:05.687999389 -0500 -+++ b/sshmitm.c 2011-06-19 17:15:10.527999375 -0500 -@@ -389,7 +389,7 @@ - if (argc < 1) - usage(); - -- if ((ip = libnet_name_resolve(argv[0], 1)) == -1) -+ if ((ip = libnet_name2addr4(NULL, argv[0], LIBNET_RESOLVE)) == -1) - usage(); - - if (argc == 2 && (rport = atoi(argv[1])) == 0) ---- a/tcpkill.c 2011-06-19 17:14:05.823999389 -0500 -+++ b/tcpkill.c 2011-06-19 17:15:10.535999375 -0500 -@@ -39,17 +39,18 @@ - static void - tcp_kill_cb(u_char *user, const struct pcap_pkthdr *pcap, const u_char *pkt) - { -- struct libnet_ip_hdr *ip; -+ struct libnet_ipv4_hdr *ip; - struct libnet_tcp_hdr *tcp; -- u_char ctext[64], buf[IP_H + TCP_H]; -+ u_char ctext[64]; - u_int32_t seq, win; -- int i, *sock, len; -+ int i, len; -+ libnet_t *l; - -- sock = (int *)user; -+ l = (libnet_t *)user; - pkt += pcap_off; - len = pcap->caplen - pcap_off; - -- ip = (struct libnet_ip_hdr *)pkt; -+ ip = (struct libnet_ipv4_hdr *)pkt; - if (ip->ip_p != IPPROTO_TCP) - return; - -@@ -57,34 +58,31 @@ - if (tcp->th_flags & (TH_SYN|TH_FIN|TH_RST)) - return; - -- libnet_build_ip(TCP_H, 0, 0, 0, 64, IPPROTO_TCP, -- ip->ip_dst.s_addr, ip->ip_src.s_addr, -- NULL, 0, buf); -- -- libnet_build_tcp(ntohs(tcp->th_dport), ntohs(tcp->th_sport), -- 0, 0, TH_RST, 0, 0, NULL, 0, buf + IP_H); -- - seq = ntohl(tcp->th_ack); - win = ntohs(tcp->th_win); - - snprintf(ctext, sizeof(ctext), "%s:%d > %s:%d:", -- libnet_host_lookup(ip->ip_src.s_addr, 0), -+ libnet_addr2name4(ip->ip_src.s_addr, LIBNET_DONT_RESOLVE), - ntohs(tcp->th_sport), -- libnet_host_lookup(ip->ip_dst.s_addr, 0), -+ libnet_addr2name4(ip->ip_dst.s_addr, LIBNET_DONT_RESOLVE), - ntohs(tcp->th_dport)); - -- ip = (struct libnet_ip_hdr *)buf; -- tcp = (struct libnet_tcp_hdr *)(ip + 1); -- - for (i = 0; i < Opt_severity; i++) { -- ip->ip_id = libnet_get_prand(PRu16); - seq += (i * win); -- tcp->th_seq = htonl(seq); - -- libnet_do_checksum(buf, IPPROTO_TCP, TCP_H); -+ libnet_clear_packet(l); -+ -+ libnet_build_tcp(ntohs(tcp->th_dport), ntohs(tcp->th_sport), -+ seq, 0, TH_RST, 0, 0, 0, LIBNET_TCP_H, -+ NULL, 0, l, 0); -+ -+ libnet_build_ipv4(LIBNET_IPV4_H + LIBNET_TCP_H, 0, -+ libnet_get_prand(LIBNET_PRu16), 0, 64, -+ IPPROTO_TCP, 0, ip->ip_dst.s_addr, -+ ip->ip_src.s_addr, NULL, 0, l, 0); - -- if (libnet_write_ip(*sock, buf, sizeof(buf)) < 0) -- warn("write_ip"); -+ if (libnet_write(l) < 0) -+ warn("write"); - - fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); - } -@@ -95,8 +93,10 @@ - { - extern char *optarg; - extern int optind; -- int c, sock; -+ int c; - char *p, *intf, *filter, ebuf[PCAP_ERRBUF_SIZE]; -+ char libnet_ebuf[LIBNET_ERRBUF_SIZE]; -+ libnet_t *l; - pcap_t *pd; - - intf = NULL; -@@ -136,14 +136,14 @@ - if ((pcap_off = pcap_dloff(pd)) < 0) - errx(1, "couldn't determine link layer offset"); - -- if ((sock = libnet_open_raw_sock(IPPROTO_RAW)) == -1) -+ if ((l = libnet_init(LIBNET_RAW4, intf, libnet_ebuf)) == NULL) - errx(1, "couldn't initialize sending"); - -- libnet_seed_prand(); -+ libnet_seed_prand(l); - - warnx("listening on %s [%s]", intf, filter); - -- pcap_loop(pd, -1, tcp_kill_cb, (u_char *)&sock); -+ pcap_loop(pd, -1, tcp_kill_cb, (u_char *)l); - - /* NOTREACHED */ - ---- a/tcpnice.c 2011-06-19 17:14:04.547999389 -0500 -+++ b/tcpnice.c 2011-06-19 17:15:10.539999375 -0500 -@@ -41,107 +41,106 @@ - } - - static void --send_tcp_window_advertisement(int sock, struct libnet_ip_hdr *ip, -+send_tcp_window_advertisement(libnet_t *l, struct libnet_ipv4_hdr *ip, - struct libnet_tcp_hdr *tcp) - { - int len; - - ip->ip_hl = 5; -- ip->ip_len = htons(IP_H + TCP_H); -- ip->ip_id = libnet_get_prand(PRu16); -- memcpy(buf, (u_char *)ip, IP_H); -+ ip->ip_len = htons(LIBNET_IPV4_H + LIBNET_TCP_H); -+ ip->ip_id = libnet_get_prand(LIBNET_PRu16); -+ memcpy(buf, (u_char *)ip, LIBNET_IPV4_H); - - tcp->th_off = 5; - tcp->th_win = htons(MIN_WIN); -- memcpy(buf + IP_H, (u_char *)tcp, TCP_H); -+ memcpy(buf + LIBNET_IPV4_H, (u_char *)tcp, LIBNET_TCP_H); - -- libnet_do_checksum(buf, IPPROTO_TCP, TCP_H); -+ libnet_do_checksum(l, buf, IPPROTO_TCP, LIBNET_TCP_H); - -- len = IP_H + TCP_H; -+ len = LIBNET_IPV4_H + LIBNET_TCP_H; - -- if (libnet_write_ip(sock, buf, len) != len) -+ if (libnet_write_raw_ipv4(l, buf, len) != len) - warn("write"); - - fprintf(stderr, "%s:%d > %s:%d: . ack %lu win %d\n", -- libnet_host_lookup(ip->ip_src.s_addr, 0), ntohs(tcp->th_sport), -- libnet_host_lookup(ip->ip_dst.s_addr, 0), ntohs(tcp->th_dport), -+ libnet_addr2name4(ip->ip_src.s_addr, 0), ntohs(tcp->th_sport), -+ libnet_addr2name4(ip->ip_dst.s_addr, 0), ntohs(tcp->th_dport), - ntohl(tcp->th_ack), 1); - } - - static void --send_icmp_source_quench(int sock, struct libnet_ip_hdr *ip) -+send_icmp_source_quench(libnet_t *l, struct libnet_ipv4_hdr *ip) - { -- struct libnet_icmp_hdr *icmp; -+ struct libnet_icmpv4_hdr *icmp; - int len; - - len = (ip->ip_hl * 4) + 8; - -- libnet_build_ip(ICMP_ECHO_H + len, 0, libnet_get_prand(PRu16), -- 0, 64, IPPROTO_ICMP, ip->ip_dst.s_addr, -- ip->ip_src.s_addr, NULL, 0, buf); -- -- icmp = (struct libnet_icmp_hdr *)(buf + IP_H); -+ icmp = (struct libnet_icmpv4_hdr *)(buf + LIBNET_IPV4_H); - icmp->icmp_type = ICMP_SOURCEQUENCH; - icmp->icmp_code = 0; -- memcpy((u_char *)icmp + ICMP_ECHO_H, (u_char *)ip, len); -+ memcpy((u_char *)icmp + LIBNET_ICMPV4_ECHO_H, (u_char *)ip, len); - -- libnet_do_checksum(buf, IPPROTO_ICMP, ICMP_ECHO_H + len); -+ len += LIBNET_ICMPV4_ECHO_H; - -- len += (IP_H + ICMP_ECHO_H); -+ libnet_build_ipv4(LIBNET_IPV4_H + len, 0, -+ libnet_get_prand(LIBNET_PRu16), 0, 64, IPPROTO_ICMP, -+ 0, ip->ip_dst.s_addr, ip->ip_src.s_addr, -+ (u_int8_t *) icmp, len, l, 0); - -- if (libnet_write_ip(sock, buf, len) != len) -+ if (libnet_write(l) != len) - warn("write"); - - fprintf(stderr, "%s > %s: icmp: source quench\n", -- libnet_host_lookup(ip->ip_dst.s_addr, 0), -- libnet_host_lookup(ip->ip_src.s_addr, 0)); -+ libnet_addr2name4(ip->ip_dst.s_addr, 0), -+ libnet_addr2name4(ip->ip_src.s_addr, 0)); - } - - static void --send_icmp_frag_needed(int sock, struct libnet_ip_hdr *ip) -+send_icmp_frag_needed(libnet_t *l, struct libnet_ipv4_hdr *ip) - { -- struct libnet_icmp_hdr *icmp; -+ struct libnet_icmpv4_hdr *icmp; - int len; - - len = (ip->ip_hl * 4) + 8; - -- libnet_build_ip(ICMP_MASK_H + len, 4, libnet_get_prand(PRu16), -- 0, 64, IPPROTO_ICMP, ip->ip_dst.s_addr, -- ip->ip_src.s_addr, NULL, 0, buf); -- -- icmp = (struct libnet_icmp_hdr *)(buf + IP_H); -+ icmp = (struct libnet_icmpv4_hdr *)(buf + LIBNET_IPV4_H); - icmp->icmp_type = ICMP_UNREACH; - icmp->icmp_code = ICMP_UNREACH_NEEDFRAG; - icmp->hun.frag.pad = 0; - icmp->hun.frag.mtu = htons(MIN_MTU); -- memcpy((u_char *)icmp + ICMP_MASK_H, (u_char *)ip, len); -+ memcpy((u_char *)icmp + LIBNET_ICMPV4_MASK_H, (u_char *)ip, len); - -- libnet_do_checksum(buf, IPPROTO_ICMP, ICMP_MASK_H + len); -- -- len += (IP_H + ICMP_MASK_H); -+ len += LIBNET_ICMPV4_MASK_H; -+ -+ libnet_build_ipv4(LIBNET_IPV4_H + len, 4, -+ libnet_get_prand(LIBNET_PRu16), 0, 64, IPPROTO_ICMP, -+ 0, ip->ip_dst.s_addr, ip->ip_src.s_addr, -+ (u_int8_t *) icmp, len, l, 0); - -- if (libnet_write_ip(sock, buf, len) != len) -+ if (libnet_write(l) != len) - warn("write"); - - fprintf(stderr, "%s > %s: icmp: ", -- libnet_host_lookup(ip->ip_dst.s_addr, 0), -- libnet_host_lookup(ip->ip_src.s_addr, 0)); -+ libnet_addr2name4(ip->ip_dst.s_addr, 0), -+ libnet_addr2name4(ip->ip_src.s_addr, 0)); - fprintf(stderr, "%s unreachable - need to frag (mtu %d)\n", -- libnet_host_lookup(ip->ip_src.s_addr, 0), MIN_MTU); -+ libnet_addr2name4(ip->ip_src.s_addr, 0), MIN_MTU); - } - - static void - tcp_nice_cb(u_char *user, const struct pcap_pkthdr *pcap, const u_char *pkt) - { -- struct libnet_ip_hdr *ip; -+ struct libnet_ipv4_hdr *ip; - struct libnet_tcp_hdr *tcp; -- int *sock, len; -+ int len; -+ libnet_t *l; - -- sock = (int *)user; -+ l = (libnet_t *)user; - pkt += pcap_off; - len = pcap->caplen - pcap_off; - -- ip = (struct libnet_ip_hdr *)pkt; -+ ip = (struct libnet_ipv4_hdr *)pkt; - if (ip->ip_p != IPPROTO_TCP) - return; - -@@ -151,11 +150,11 @@ - - if (ntohs(ip->ip_len) > (ip->ip_hl << 2) + (tcp->th_off << 2)) { - if (Opt_icmp) -- send_icmp_source_quench(*sock, ip); -+ send_icmp_source_quench(l, ip); - if (Opt_win) -- send_tcp_window_advertisement(*sock, ip, tcp); -+ send_tcp_window_advertisement(l, ip, tcp); - if (Opt_pmtu) -- send_icmp_frag_needed(*sock, ip); -+ send_icmp_frag_needed(l, ip); - } - } - -@@ -164,8 +163,10 @@ - { - extern char *optarg; - extern int optind; -- int c, sock; -+ int c; - char *intf, *filter, ebuf[PCAP_ERRBUF_SIZE]; -+ char libnet_ebuf[LIBNET_ERRBUF_SIZE]; -+ libnet_t *l; - pcap_t *pd; - - intf = NULL; -@@ -209,14 +210,14 @@ - if ((pcap_off = pcap_dloff(pd)) < 0) - errx(1, "couldn't determine link layer offset"); - -- if ((sock = libnet_open_raw_sock(IPPROTO_RAW)) == -1) -+ if ((l = libnet_init(LIBNET_RAW4, intf, libnet_ebuf)) == NULL) - errx(1, "couldn't initialize sending"); - -- libnet_seed_prand(); -+ libnet_seed_prand(l); - - warnx("listening on %s [%s]", intf, filter); - -- pcap_loop(pd, -1, tcp_nice_cb, (u_char *)&sock); -+ pcap_loop(pd, -1, tcp_nice_cb, (u_char *)l); - - /* NOTREACHED */ - ---- a/tcp_raw.c 2011-06-19 17:14:06.375999389 -0500 -+++ b/tcp_raw.c 2011-06-19 17:15:10.543999375 -0500 -@@ -119,7 +119,7 @@ - } - - struct iovec * --tcp_raw_input(struct libnet_ip_hdr *ip, struct libnet_tcp_hdr *tcp, int len) -+tcp_raw_input(struct libnet_ipv4_hdr *ip, struct libnet_tcp_hdr *tcp, int len) - { - struct tha tha; - struct tcp_conn *conn; -@@ -131,7 +131,7 @@ - - /* Verify TCP checksum. */ - cksum = tcp->th_sum; -- libnet_do_checksum((u_char *) ip, IPPROTO_TCP, len); -+ libnet_do_checksum(NULL, (u_char *) ip, IPPROTO_TCP, len); - - if (cksum != tcp->th_sum) - return (NULL); ---- a/tcp_raw.h 2011-06-19 17:14:05.079999389 -0500 -+++ b/tcp_raw.h 2011-06-19 17:15:10.547999375 -0500 -@@ -15,7 +15,7 @@ - u_short sport, u_short dport, - u_char *buf, int len); - --struct iovec *tcp_raw_input(struct libnet_ip_hdr *ip, -+struct iovec *tcp_raw_input(struct libnet_ipv4_hdr *ip, - struct libnet_tcp_hdr *tcp, int len); - - void tcp_raw_timeout(int timeout, tcp_raw_callback_t callback); ---- a/trigger.c 2011-06-19 17:14:05.483999389 -0500 -+++ b/trigger.c 2011-06-19 17:15:10.551999375 -0500 -@@ -276,7 +276,7 @@ - } - - void --trigger_ip(struct libnet_ip_hdr *ip) -+trigger_ip(struct libnet_ipv4_hdr *ip) - { - struct trigger *t, tr; - u_char *buf; -@@ -305,7 +305,7 @@ - - /* libnids needs a nids_register_udp()... */ - void --trigger_udp(struct libnet_ip_hdr *ip) -+trigger_udp(struct libnet_ipv4_hdr *ip) - { - struct trigger *t, tr; - struct libnet_udp_hdr *udp; -@@ -437,7 +437,7 @@ - } - - void --trigger_tcp_raw(struct libnet_ip_hdr *ip) -+trigger_tcp_raw(struct libnet_ipv4_hdr *ip) - { - struct trigger *t, tr; - struct libnet_tcp_hdr *tcp; ---- a/trigger.h 2011-06-19 17:14:04.371999389 -0500 -+++ b/trigger.h 2011-06-19 17:15:10.555999375 -0500 -@@ -24,10 +24,10 @@ - int trigger_set_tcp(int port, char *name); - int trigger_set_rpc(int program, char *name); - --void trigger_ip(struct libnet_ip_hdr *ip); --void trigger_udp(struct libnet_ip_hdr *ip); -+void trigger_ip(struct libnet_ipv4_hdr *ip); -+void trigger_udp(struct libnet_ipv4_hdr *ip); - void trigger_tcp(struct tcp_stream *ts, void **conn_save); --void trigger_tcp_raw(struct libnet_ip_hdr *ip); -+void trigger_tcp_raw(struct libnet_ipv4_hdr *ip); - void trigger_tcp_raw_timeout(int signal); - void trigger_rpc(int program, int proto, int port); - ---- a/urlsnarf.c 2011-06-19 17:15:08.631999375 -0500 -+++ b/urlsnarf.c 2011-06-19 17:15:10.559999375 -0500 -@@ -145,14 +145,14 @@ - if (user == NULL) - user = "-"; - if (vhost == NULL) -- vhost = libnet_host_lookup(addr->daddr, Opt_dns); -+ vhost = libnet_addr2name4(addr->daddr, Opt_dns); - if (referer == NULL) - referer = "-"; - if (agent == NULL) - agent = "-"; - - printf("%s - %s [%s] \"%s http://%s%s\" - - \"%s\" \"%s\"\n", -- libnet_host_lookup(addr->saddr, Opt_dns), -+ libnet_addr2name4(addr->saddr, Opt_dns), - user, timestamp(), req, vhost, uri, referer, agent); - } - fflush(stdout); ---- a/webmitm.c 2011-06-19 17:14:07.231999387 -0500 -+++ b/webmitm.c 2011-06-19 17:15:10.559999375 -0500 -@@ -242,7 +242,7 @@ - word = buf_tok(&msg, "/", 1); - vhost = buf_strdup(word); - } -- ssin.sin_addr.s_addr = libnet_name_resolve(vhost, 1); -+ ssin.sin_addr.s_addr = libnet_name2addr4(NULL, vhost, 1); - free(vhost); - - if (ssin.sin_addr.s_addr == ntohl(INADDR_LOOPBACK) || -@@ -510,7 +510,7 @@ - argv += optind; - - if (argc == 1) { -- if ((static_host = libnet_name_resolve(argv[0], 1)) == -1) -+ if ((static_host = libnet_name2addr4(NULL, argv[0], 1)) == -1) - usage(); - } - else if (argc != 0) usage(); ---- a/webspy.c 2011-06-19 17:15:01.111999376 -0500 -+++ b/webspy.c 2011-06-19 17:15:10.563999375 -0500 -@@ -126,7 +126,7 @@ - if (auth == NULL) - auth = ""; - if (vhost == NULL) -- vhost = libnet_host_lookup(addr->daddr, 0); -+ vhost = libnet_addr2name4(addr->daddr, 0); - - snprintf(cmd, sizeof(cmd), "openURL(http://%s%s%s%s)", - auth, *auth ? "@" : "", vhost, uri); -@@ -205,7 +205,7 @@ - cmdtab[0] = cmd; - cmdtab[1] = NULL; - -- if ((host = libnet_name_resolve(argv[0], 1)) == -1) -+ if ((host = libnet_name2addr4(NULL, argv[0], 1)) == -1) - errx(1, "unknown host"); - - if ((dpy = XOpenDisplay(NULL)) == NULL) diff --git a/unmaintained/dsniff/08_checksum.patch b/unmaintained/dsniff/08_checksum.patch deleted file mode 100644 index 44ece65f61..0000000000 --- a/unmaintained/dsniff/08_checksum.patch +++ /dev/null @@ -1,25 +0,0 @@ -Author: Piotr Engelking -Description: Disable the filtering packets with incorrect checksum (Closes: #372536). ---- a/urlsnarf.c 2011-06-19 17:15:10.559999375 -0500 -+++ b/urlsnarf.c 2011-06-19 17:15:18.023999373 -0500 -@@ -200,6 +200,7 @@ - extern char *optarg; - extern int optind; - int c; -+ struct nids_chksum_ctl chksum_ctl; - - while ((c = getopt(argc, argv, "i:p:nvh?V")) != -1) { - switch (c) { -@@ -260,6 +261,12 @@ - } - } - -+ chksum_ctl.netaddr = 0; -+ chksum_ctl.mask = 0; -+ chksum_ctl.action = NIDS_DONT_CHKSUM; -+ -+ nids_register_chksum_ctl(&chksum_ctl, 1); -+ - nids_run(); - - /* NOTREACHED */ diff --git a/unmaintained/dsniff/08_openssl-0.9.8.patch b/unmaintained/dsniff/08_openssl-0.9.8.patch deleted file mode 100644 index f5f6cacd22..0000000000 --- a/unmaintained/dsniff/08_openssl-0.9.8.patch +++ /dev/null @@ -1,12 +0,0 @@ -Author: -Description: Fix FTBFS with openssl. ---- a/ssh.c 2011-06-19 17:14:01.359999389 -0500 -+++ b/ssh.c 2011-06-19 17:15:14.343999374 -0500 -@@ -16,6 +16,7 @@ - #include - #include - #include -+#include - - #include - #include diff --git a/unmaintained/dsniff/09_sshcrypto.patch b/unmaintained/dsniff/09_sshcrypto.patch deleted file mode 100644 index f229c6cd2f..0000000000 --- a/unmaintained/dsniff/09_sshcrypto.patch +++ /dev/null @@ -1,14 +0,0 @@ -Author: Steve Kemp -Description: Missing openssl includes in sshcrypto.c. -This patch was through diff.gz and now is implemented as a dpatch. ---- a/sshcrypto.c 2011-06-19 17:13:57.971999389 -0500 -+++ b/sshcrypto.c 2011-06-19 17:15:19.847999373 -0500 -@@ -14,6 +14,8 @@ - - #include - #include -+#include -+#include - - #include - #include diff --git a/unmaintained/dsniff/09_sysconf_clocks.patch b/unmaintained/dsniff/09_sysconf_clocks.patch deleted file mode 100644 index 54ba96dabd..0000000000 --- a/unmaintained/dsniff/09_sysconf_clocks.patch +++ /dev/null @@ -1,20 +0,0 @@ -Author: -Description: Fix FTBFS: ./sshow.c:226: error: 'CLK_TCK' undeclared. ---- a/sshow.c 2011-06-19 17:15:01.099999376 -0500 -+++ b/sshow.c 2011-06-19 17:15:16.175999374 -0500 -@@ -217,6 +217,7 @@ - { - clock_t delay; - int payload; -+ long CLK_TCK= sysconf(_SC_CLK_TCK); - - delay = add_history(session, 0, cipher_size, plain_range); - -@@ -265,6 +266,7 @@ - clock_t delay; - int skip; - range string_range; -+ long CLK_TCK= sysconf(_SC_CLK_TCK); - - delay = add_history(session, 1, cipher_size, plain_range); - diff --git a/unmaintained/dsniff/10_urlsnarf_escape.patch b/unmaintained/dsniff/10_urlsnarf_escape.patch deleted file mode 100644 index c1aad38cba..0000000000 --- a/unmaintained/dsniff/10_urlsnarf_escape.patch +++ /dev/null @@ -1,85 +0,0 @@ -Author: Hilko Bengen -Description: Escape user, vhost, uri, referer, agent strings in log (Closes: #372536). ---- a/urlsnarf.c 2011-06-19 17:15:18.023999373 -0500 -+++ b/urlsnarf.c 2011-06-19 17:15:21.627999373 -0500 -@@ -84,6 +84,43 @@ - return (tstr); - } - -+static char * -+escape_log_entry(char *string) -+{ -+ char *out; -+ unsigned char *c, *o; -+ size_t len; -+ -+ if (!string) -+ return NULL; -+ -+ /* Determine needed length */ -+ for (c = string, len = 0; *c; c++) { -+ if ((*c < 32) || (*c >= 128)) -+ len += 4; -+ else if ((*c == '"') || (*c =='\\')) -+ len += 2; -+ else -+ len++; -+ } -+ out = malloc(len+1); -+ if (!out) -+ return NULL; -+ for (c = string, o = out; *c; c++, o++) { -+ if ((*c < 32) || (*c >= 128)) { -+ snprintf(o, 5, "\\x%02x", *c); -+ o += 3; -+ } else if ((*c == '"') || ((*c =='\\'))) { -+ *(o++) = '\\'; -+ *o = *c; -+ } else { -+ *o = *c; -+ } -+ } -+ out[len]='\0'; -+ return out; -+} -+ - static int - process_http_request(struct tuple4 *addr, u_char *data, int len) - { -@@ -142,18 +179,26 @@ - buf_tok(NULL, NULL, i); - } - } -- if (user == NULL) -- user = "-"; -- if (vhost == NULL) -- vhost = libnet_addr2name4(addr->daddr, Opt_dns); -- if (referer == NULL) -- referer = "-"; -- if (agent == NULL) -- agent = "-"; -- -+ user = escape_log_entry(user); -+ vhost = escape_log_entry(vhost); -+ uri = escape_log_entry(uri); -+ referer = escape_log_entry(referer); -+ agent = escape_log_entry(agent); -+ - printf("%s - %s [%s] \"%s http://%s%s\" - - \"%s\" \"%s\"\n", - libnet_addr2name4(addr->saddr, Opt_dns), -- user, timestamp(), req, vhost, uri, referer, agent); -+ (user?user:"-"), -+ timestamp(), req, -+ (vhost?vhost:libnet_addr2name4(addr->daddr, Opt_dns)), -+ uri, -+ (referer?referer:"-"), -+ (agent?agent:"-")); -+ -+ free(user); -+ free(vhost); -+ free(uri); -+ free(referer); -+ free(agent); - } - fflush(stdout); - diff --git a/unmaintained/dsniff/11_string_header.patch b/unmaintained/dsniff/11_string_header.patch deleted file mode 100644 index 2b6a7393ff..0000000000 --- a/unmaintained/dsniff/11_string_header.patch +++ /dev/null @@ -1,163 +0,0 @@ -Author: Luciano Bello -Description: Aviod the "implicit declaration of function 'str*'" warning ---- a/arp.c 2011-06-19 17:15:04.587999376 -0500 -+++ b/arp.c 2011-06-19 17:15:23.487999372 -0500 -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include - - #include "arp.h" - ---- a/buf.c 2011-06-19 17:13:56.463999389 -0500 -+++ b/buf.c 2011-06-19 17:15:23.487999372 -0500 -@@ -17,6 +17,7 @@ - #include - #include - #include -+#include - - #include "buf.h" - ---- a/decode_nntp.c 2011-06-19 17:13:53.631999390 -0500 -+++ b/decode_nntp.c 2011-06-19 17:15:23.491999372 -0500 -@@ -15,6 +15,7 @@ - - #include - #include -+#include - - #include "base64.h" - #include "decode.h" ---- a/decode_pop.c 2011-06-19 17:13:54.911999390 -0500 -+++ b/decode_pop.c 2011-06-19 17:15:23.495999372 -0500 -@@ -14,6 +14,7 @@ - - #include - #include -+#include - - #include "base64.h" - #include "options.h" ---- a/decode_rlogin.c 2011-06-19 17:13:54.431999390 -0500 -+++ b/decode_rlogin.c 2011-06-19 17:15:23.495999372 -0500 -@@ -14,6 +14,8 @@ - - #include - #include -+#include -+#include - - #include "options.h" - #include "decode.h" ---- a/decode_smb.c 2011-06-19 17:13:55.103999390 -0500 -+++ b/decode_smb.c 2011-06-19 17:15:23.499999372 -0500 -@@ -15,6 +15,7 @@ - - #include - #include -+#include - - #include "decode.h" - ---- a/decode_smtp.c 2011-06-19 17:13:54.003999391 -0500 -+++ b/decode_smtp.c 2011-06-19 17:15:23.503999372 -0500 -@@ -14,6 +14,7 @@ - - #include - #include -+#include - - #include "base64.h" - #include "options.h" ---- a/decode_sniffer.c 2011-06-19 17:13:56.075999390 -0500 -+++ b/decode_sniffer.c 2011-06-19 17:15:23.503999372 -0500 -@@ -15,6 +15,8 @@ - - #include - #include -+#include -+#include - - #include "base64.h" - #include "decode.h" ---- a/decode_socks.c 2011-06-19 17:13:55.271999391 -0500 -+++ b/decode_socks.c 2011-06-19 17:15:23.507999372 -0500 -@@ -14,6 +14,7 @@ - - #include - #include -+#include - - #include "decode.h" - ---- a/decode_tds.c 2011-06-19 17:13:55.899999390 -0500 -+++ b/decode_tds.c 2011-06-19 17:15:23.511999372 -0500 -@@ -18,6 +18,7 @@ - - #include - #include -+#include - - #include "decode.h" - ---- a/decode_telnet.c 2011-06-19 17:13:55.491999391 -0500 -+++ b/decode_telnet.c 2011-06-19 17:15:23.515999372 -0500 -@@ -14,6 +14,7 @@ - - #include - #include -+#include - - #include "options.h" - #include "decode.h" ---- a/decode_x11.c 2011-06-19 17:13:53.823999390 -0500 -+++ b/decode_x11.c 2011-06-19 17:15:23.515999372 -0500 -@@ -14,6 +14,8 @@ - - #include - #include -+#include -+#include - - #include "decode.h" - ---- a/dnsspoof.c 2011-06-19 17:15:10.515999375 -0500 -+++ b/dnsspoof.c 2011-06-19 17:15:23.519999372 -0500 -@@ -20,6 +20,7 @@ - #include - #include - #include -+#include - #include - #include - #include ---- a/magic.c 2011-06-19 17:13:55.703999390 -0500 -+++ b/magic.c 2011-06-19 17:15:23.523999372 -0500 -@@ -36,6 +36,7 @@ - #include - #include - #include -+#include - #include - #include - #include ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ b/missing/strlcat.h 2011-06-19 17:15:23.527999372 -0500 -@@ -0,0 +1 @@ -+size_t strlcat(char *dst, const char *src, size_t siz); ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ b/missing/strlcpy.h 2011-06-19 17:15:23.531999372 -0500 -@@ -0,0 +1 @@ -+size_t strlcpy(char *dst, const char *src, size_t siz); ---- a/sshmitm.c 2011-06-19 17:15:10.527999375 -0500 -+++ b/sshmitm.c 2011-06-19 17:15:23.531999372 -0500 -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #include "buf.h" - #include "record.h" diff --git a/unmaintained/dsniff/12_arpa_inet_header.patch b/unmaintained/dsniff/12_arpa_inet_header.patch deleted file mode 100644 index 3ce041f86f..0000000000 --- a/unmaintained/dsniff/12_arpa_inet_header.patch +++ /dev/null @@ -1,62 +0,0 @@ -Author: Luciano Bello -Description: aviod the "implicit declaration of function 'ntohs'" warning ---- a/decode_aim.c 2011-06-19 17:13:50.503999391 -0500 -+++ b/decode_aim.c 2011-06-19 17:15:27.267999371 -0500 -@@ -14,6 +14,7 @@ - - #include - #include -+#include - - #include "hex.h" - #include "buf.h" ---- a/decode_mmxp.c 2011-06-19 17:13:50.323999391 -0500 -+++ b/decode_mmxp.c 2011-06-19 17:15:27.271999371 -0500 -@@ -21,6 +21,7 @@ - - #include - #include -+#include - - #include "buf.h" - #include "decode.h" ---- a/decode_pptp.c 2011-06-19 17:13:50.687999391 -0500 -+++ b/decode_pptp.c 2011-06-19 17:15:27.275999371 -0500 -@@ -16,6 +16,7 @@ - - #include - #include -+#include - - #include "buf.h" - #include "decode.h" ---- a/decode_tds.c 2011-06-19 17:15:23.511999372 -0500 -+++ b/decode_tds.c 2011-06-19 17:15:27.275999371 -0500 -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - - #include "decode.h" - ---- a/decode_vrrp.c 2011-06-19 17:13:51.243999390 -0500 -+++ b/decode_vrrp.c 2011-06-19 17:15:27.287999371 -0500 -@@ -15,6 +15,7 @@ - - #include - #include -+#include - - #include "buf.h" - #include "decode.h" ---- a/ssh.c 2011-06-19 17:15:14.343999374 -0500 -+++ b/ssh.c 2011-06-19 17:15:27.291999371 -0500 -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - #include - - #include "hex.h" diff --git a/unmaintained/dsniff/13_pop_with_version.patch b/unmaintained/dsniff/13_pop_with_version.patch deleted file mode 100644 index 7c16cd12bb..0000000000 --- a/unmaintained/dsniff/13_pop_with_version.patch +++ /dev/null @@ -1,27 +0,0 @@ -Author: Luciano Bello -Description: distinguish between pop versions ---- a/decode.c 2011-06-19 17:13:48.679999392 -0500 -+++ b/decode.c 2011-06-19 17:15:29.771999369 -0500 -@@ -63,7 +63,8 @@ - { "http", decode_http }, - { "ospf", decode_ospf }, - { "poppass", decode_poppass }, -- { "pop", decode_pop }, -+ { "pop2", decode_pop }, -+ { "pop3", decode_pop }, - { "nntp", decode_nntp }, - { "smb", decode_smb }, - { "imap", decode_imap }, ---- a/dsniff.services 2011-06-19 17:13:48.883999392 -0500 -+++ b/dsniff.services 2011-06-19 17:15:29.799999369 -0500 -@@ -10,8 +10,8 @@ - ospf 89/ip - http 98/tcp - poppass 106/tcp --pop 109/tcp --pop 110/tcp -+pop2 109/tcp -+pop3 110/tcp - portmap 111/tcp - portmap -111/tcp - portmap 111/udp diff --git a/unmaintained/dsniff/14_obsolete_time.patch b/unmaintained/dsniff/14_obsolete_time.patch deleted file mode 100644 index a1a787f3f3..0000000000 --- a/unmaintained/dsniff/14_obsolete_time.patch +++ /dev/null @@ -1,33 +0,0 @@ -Author: Luciano Bello -Description: According to /usr/include/time.h, CLK_TCK is the -"obsolete POSIX.1-1988 name" for CLOCKS_PER_SEC. -Closes #420944 ---- a/sshow.c 2011-06-19 17:15:16.175999374 -0500 -+++ b/sshow.c 2011-06-19 17:15:31.875999369 -0500 -@@ -224,7 +224,7 @@ - if (debug) - printf("- %s -> %s: DATA (%s bytes, %.2f seconds)\n", - s_saddr(ts), s_daddr(ts), s_range(plain_range), -- (float)delay / CLK_TCK); -+ (float)delay / CLOCKS_PER_SEC); - if (debug > 1) - print_data(&ts->server, cipher_size); - -@@ -273,7 +273,7 @@ - if (debug) - printf("- %s <- %s: DATA (%s bytes, %.2f seconds)\n", - s_saddr(ts), s_daddr(ts), s_range(plain_range), -- (float)delay / CLK_TCK); -+ (float)delay / CLOCKS_PER_SEC); - if (debug > 1) - print_data(&ts->client, cipher_size); - -@@ -302,7 +302,7 @@ - - if (session->state == 1 && - #ifdef USE_TIMING -- now - get_history(session, 2)->timestamp >= CLK_TCK && -+ now - get_history(session, 2)->timestamp >= CLOCKS_PER_SEC && - #endif - session->protocol == 1 && - (session->history.directions & 7) == 5 && diff --git a/unmaintained/dsniff/15_checksum_libnids.patch b/unmaintained/dsniff/15_checksum_libnids.patch deleted file mode 100644 index adaa67c9f0..0000000000 --- a/unmaintained/dsniff/15_checksum_libnids.patch +++ /dev/null @@ -1,94 +0,0 @@ -Author: Gleb Paharenko -Description: Workaround to #420129. ---- a/dsniff.c 2011-06-19 17:15:01.071999376 -0500 -+++ b/dsniff.c 2011-06-19 17:15:33.707999369 -0500 -@@ -70,6 +70,80 @@ - { - } - -+ -+static int get_all_ifaces(struct ifreq **, int *); -+static unsigned int get_addr_from_ifreq(struct ifreq *); -+ -+int all_local_ipaddrs_chksum_disable() -+{ -+ struct ifreq *ifaces; -+ int ifaces_count; -+ int i, ind = 0; -+ struct nids_chksum_ctl *ctlp; -+ unsigned int tmp; -+ -+ if (!get_all_ifaces(&ifaces, &ifaces_count)) -+ return -1; -+ ctlp = -+ (struct nids_chksum_ctl *) malloc(ifaces_count * -+ sizeof(struct -+ nids_chksum_ctl)); -+ if (!ctlp) -+ return -1; -+ for (i = 0; i < ifaces_count; i++) { -+ tmp = get_addr_from_ifreq(ifaces + i); -+ if (tmp) { -+ ctlp[ind].netaddr = tmp; -+ ctlp[ind].mask = inet_addr("255.255.255.255"); -+ ctlp[ind].action = NIDS_DONT_CHKSUM; -+ ind++; -+ } -+ } -+ free(ifaces); -+ nids_register_chksum_ctl(ctlp, ind); -+} -+ -+/* helper functions for Example 2 */ -+unsigned int get_addr_from_ifreq(struct ifreq *iface) -+{ -+ if (iface->ifr_addr.sa_family == AF_INET) -+ return ((struct sockaddr_in *) &(iface->ifr_addr))-> -+ sin_addr.s_addr; -+ return 0; -+} -+ -+static int get_all_ifaces(struct ifreq **ifaces, int *count) -+{ -+ int ifaces_size = 8 * sizeof(struct ifreq); -+ struct ifconf param; -+ int sock; -+ unsigned int i; -+ -+ *ifaces = malloc(ifaces_size); -+ sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); -+ if (sock <= 0) -+ return 0; -+ for (;;) { -+ param.ifc_len = ifaces_size; -+ param.ifc_req = *ifaces; -+ if (ioctl(sock, SIOCGIFCONF, ¶m)) -+ goto err; -+ if (param.ifc_len < ifaces_size) -+ break; -+ free(*ifaces); -+ ifaces_size *= 2; -+ ifaces = malloc(ifaces_size); -+ } -+ *count = param.ifc_len / sizeof(struct ifreq); -+ close(sock); -+ return 1; -+ err: -+ close(sock); -+ return 0; -+} -+ -+ -+ - int - main(int argc, char *argv[]) - { -@@ -189,6 +263,8 @@ - warnx("using %s", nids_params.filename); - } - } -+ -+ all_local_ipaddrs_chksum_disable(); - - nids_run(); - diff --git a/unmaintained/dsniff/16_TDS_decoder.patch b/unmaintained/dsniff/16_TDS_decoder.patch deleted file mode 100644 index 4bca9355a3..0000000000 --- a/unmaintained/dsniff/16_TDS_decoder.patch +++ /dev/null @@ -1,16 +0,0 @@ -Author: Luciano Bello -Description: Patch provided by Hilko Bengen. #609988. ---- a/decode_tds.c -+++ b/decode_tds.c -@@ -144,6 +144,11 @@ - len > sizeof(*th) && len >= ntohs(th->size); - buf += ntohs(th->size), len -= ntohs(th->size)) { - -+ if (th->size != 8) { -+ /* wrong header length */ -+ break; -+ } -+ - if (th->type == 2) { - /* Version 4.x, 5.0 */ - if (len < sizeof(*th) + sizeof(*tl)) diff --git a/unmaintained/dsniff/20_debian_dirs.patch b/unmaintained/dsniff/20_debian_dirs.patch deleted file mode 100644 index 05f55b83d2..0000000000 --- a/unmaintained/dsniff/20_debian_dirs.patch +++ /dev/null @@ -1,59 +0,0 @@ -Author: Steve Kemp -Description: Adapt to Debian directory structure. ---- a/Makefile.in 2011-06-19 17:13:45.651999392 -0500 -+++ b/Makefile.in 2011-06-19 17:15:37.407999368 -0500 -@@ -11,7 +11,7 @@ - install_prefix = - prefix = @prefix@ - exec_prefix = @exec_prefix@ --libdir = @libdir@ -+libdir = $(prefix)/share/dsniff - sbindir = @sbindir@ - mandir = @mandir@ - -@@ -37,8 +37,7 @@ - X11INC = @X_CFLAGS@ - X11LIB = @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@ - --INCS = -I. $(NIDSINC) $(PCAPINC) $(LNETINC) $(DBINC) $(SSLINC) $(X11INC) \ -- -I$(srcdir)/missing -+INCS = -I. $(X11INC) -I$(srcdir)/missing - LIBS = @LIBS@ -L$(srcdir) -lmissing - - INSTALL = @INSTALL@ ---- a/dnsspoof.8 2011-06-19 17:13:46.019999392 -0500 -+++ b/dnsspoof.8 2011-06-19 17:15:37.423999369 -0500 -@@ -31,7 +31,7 @@ - address queries on the LAN with an answer of the local machine's IP - address. - .SH FILES --.IP \fI/usr/local/lib/dnsspoof.hosts\fR -+.IP \fI/usr/share/dsniff/dnsspoof.hosts\fR - Sample hosts file. - .SH "SEE ALSO" - dsniff(8), hosts(5) ---- a/dsniff.8 2011-06-19 17:15:01.067999376 -0500 -+++ b/dsniff.8 2011-06-19 17:15:37.427999369 -0500 -@@ -68,9 +68,9 @@ - On a hangup signal \fBdsniff\fR will dump its current trigger table to - \fIdsniff.services\fR. - .SH FILES --.IP \fI/usr/local/lib/dsniff.services\fR -+.IP \fI/usr/share/dsniff/dsniff.services\fR - Default trigger table --.IP \fI/usr/local/lib/dsniff.magic\fR -+.IP \fI/usr/share/dsniff/dsniff.magic\fR - Network protocol magic - .SH "SEE ALSO" - arpspoof(8), libnids(3), services(5), magic(5) ---- a/pathnames.h 2011-06-19 17:13:46.219999392 -0500 -+++ b/pathnames.h 2011-06-19 17:15:37.431999369 -0500 -@@ -12,7 +12,7 @@ - #define PATHNAMES_H - - #ifndef DSNIFF_LIBDIR --#define DSNIFF_LIBDIR "/usr/local/lib/" -+#define DSNIFF_LIBDIR "/usr/share/dsniff/" - #endif - - #define DSNIFF_SERVICES "dsniff.services" diff --git a/unmaintained/dsniff/21_msgsnarf_segfault.patch b/unmaintained/dsniff/21_msgsnarf_segfault.patch deleted file mode 100644 index 9df3f99927..0000000000 --- a/unmaintained/dsniff/21_msgsnarf_segfault.patch +++ /dev/null @@ -1,12 +0,0 @@ -Author: -Description: Correctly 0 out the c struct. ---- a/msgsnarf.c 2011-06-19 17:15:01.091999376 -0500 -+++ b/msgsnarf.c 2011-06-19 17:15:39.739999369 -0500 -@@ -584,6 +584,7 @@ - if (i == 0) { - if ((c = malloc(sizeof(*c))) == NULL) - nids_params.no_mem("sniff_msgs"); -+ memset(c, 0, sizeof(*c)); - c->ip = ts->addr.saddr; - c->nick = strdup("unknown"); - SLIST_INSERT_HEAD(&client_list, c, next); diff --git a/unmaintained/dsniff/22_handlepp.patch b/unmaintained/dsniff/22_handlepp.patch deleted file mode 100644 index e4a4d22218..0000000000 --- a/unmaintained/dsniff/22_handlepp.patch +++ /dev/null @@ -1,14 +0,0 @@ -Author: Joerg Dorchain -Description: Add tcpkill support for handle ppp interfaces. ---- a/pcaputil.c 2011-06-19 17:13:44.419999392 -0500 -+++ b/pcaputil.c 2011-06-19 17:15:41.607999368 -0500 -@@ -52,6 +52,9 @@ - case DLT_NULL: - offset = 4; - break; -+ case DLT_LINUX_SLL: /* e.g. ppp */ -+ offset = 16; -+ break; - default: - warnx("unsupported datalink type"); - break; diff --git a/unmaintained/dsniff/23_urlsnarf_timestamp.patch b/unmaintained/dsniff/23_urlsnarf_timestamp.patch deleted file mode 100644 index f259efe1e3..0000000000 --- a/unmaintained/dsniff/23_urlsnarf_timestamp.patch +++ /dev/null @@ -1,78 +0,0 @@ -Author: Hilko Bengen -Description: urlsnarf: use timestamps from pcap file if available. Closes: #573365 ---- a/urlsnarf.c 2011-06-19 17:15:21.627999373 -0500 -+++ b/urlsnarf.c 2011-06-19 17:15:43.411999368 -0500 -@@ -36,6 +36,7 @@ - u_short Opt_dns = 1; - int Opt_invert = 0; - regex_t *pregex = NULL; -+time_t tt = 0; - - static void - usage(void) -@@ -57,9 +58,12 @@ timestamp(void) - { - static char tstr[32], sign; - struct tm *t, gmt; -- time_t tt = time(NULL); - int days, hours, tz, len; - -+ if (!nids_params.filename) { -+ tt = time(NULL); -+ } -+ - gmt = *gmtime(&tt); - t = localtime(&tt); - -@@ -312,9 +316,48 @@ main(int argc, char *argv[]) - - nids_register_chksum_ctl(&chksum_ctl, 1); - -- nids_run(); -- -- /* NOTREACHED */ -+ pcap_t *p; -+ char pcap_errbuf[PCAP_ERRBUF_SIZE]; -+ if (nids_params.filename == NULL) { -+ /* adapted from libnids.c:open_live() */ -+ if (strcmp(nids_params.device, "all") == 0) -+ nids_params.device = "any"; -+ p = pcap_open_live(nids_params.device, 16384, -+ (nids_params.promisc != 0), -+ 0, pcap_errbuf); -+ if (!p) { -+ fprintf(stderr, "pcap_open_live(): %s\n", -+ pcap_errbuf); -+ exit(1); -+ } -+ } -+ else { -+ p = pcap_open_offline(nids_params.filename, -+ pcap_errbuf); -+ if (!p) { -+ fprintf(stderr, "pcap_open_offline(%s): %s\n", -+ nids_params.filename, pcap_errbuf); -+ } -+ } -+ -+ struct pcap_pkthdr *h; -+ u_char *d; -+ int rc; -+ while ((rc = pcap_next_ex(p, &h, &d)) == 1) { -+ tt = h->ts.tv_sec; -+ nids_pcap_handler(NULL, h, d); -+ } -+ switch (rc) { -+ case(-2): /* end of pcap file */ -+ case(0): /* timeout on live capture */ -+ break; -+ case(-1): -+ default: -+ fprintf(stderr, "rc = %i\n", rc); -+ pcap_perror(p, "pcap_read_ex()"); -+ exit(1); -+ break; -+ } - - exit(0); - } diff --git a/unmaintained/dsniff/APKBUILD b/unmaintained/dsniff/APKBUILD deleted file mode 100644 index 9ed12247c1..0000000000 --- a/unmaintained/dsniff/APKBUILD +++ /dev/null @@ -1,165 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=dsniff -pkgver=2.4b1 -pkgrel=1 -pkgdesc="dsniff is a collection of tools for network auditing and penetration testing" -url="http://www.monkey.org/~dugsong/dsniff/" -arch="x86_64 armhf" -license="BSD" -depends="" -depends_dev="openssl-dev libpcap-dev libxmu-dev libnet-dev \ - glib-dev db-dev libnids-dev bsd-compat-headers libtirpc-dev \ - linux-headers portablexdr-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://www.monkey.org/~dugsong/$pkgname/beta/$pkgname-$pkgver.tar.gz - 0001-rewrite-and-modernize-POP-decoder.patch - 01_time.h.patch - 02_mailsnarf_corrupt.patch - 03_pcap_read_dump.patch - 04_multiple_intf.patch - 05_amd64_fix.patch - 06_urlsnarf_zeropad.patch - 07_libnet_1.1.patch - 08_checksum.patch - 08_openssl-0.9.8.patch - 09_sshcrypto.patch - 09_sysconf_clocks.patch - 10_urlsnarf_escape.patch - 11_string_header.patch - 12_arpa_inet_header.patch - 13_pop_with_version.patch - 14_obsolete_time.patch - 15_checksum_libnids.patch - 16_TDS_decoder.patch - 20_debian_dirs.patch - 21_msgsnarf_segfault.patch - 22_handlepp.patch - 23_urlsnarf_timestamp.patch - dsniff-rpc.patch - dsniff-xcompile.patch - 0001-arpspoof-add-r-switch-to-poison-both-directions.patch - 0002-arpspoof-allow-use-of-of-multiple-targets.patch - 0003-arpspoof-allow-selection-of-source-hw-address.patch - 0004-arpspoof-mac-include.patch" - -_builddir=$srcdir/$pkgname-2.4 - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - LDFLAGS="-lresolv -lglib-2.0 -lgthread-2.0 -lportablexdr $LDFLAGS" \ - ./configure \ - --prefix="/usr" \ - --mandir=/usr/share - make -j1 -} - -package() { - cd "$_builddir" - make install_prefix="$pkgdir" install - install -D -m0644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE - install -d "$pkgdir"/usr/share -} - -md5sums="2f761fa3475682a7512b0b43568ee7d6 dsniff-2.4b1.tar.gz -91d36e7747dec8d2fb6ed895aa830412 0001-rewrite-and-modernize-POP-decoder.patch -27831926f40cb98d4b3adaaf90bbc6c6 01_time.h.patch -b4b8aecb3eea7fd3bd0ae162fea4c0a1 02_mailsnarf_corrupt.patch -7f91d8f8d4cf0075e8ffeb094e081610 03_pcap_read_dump.patch -968888514c5c2a9af987f4cceb4ac9fa 04_multiple_intf.patch -ce96f87fda1e59aef78fb485bcea79c6 05_amd64_fix.patch -a4d552b87f446bfc3bde8d2e9578f20a 06_urlsnarf_zeropad.patch -92f6fada68fe740bd487a6fc70169bdb 07_libnet_1.1.patch -dc940de59dac1481adb3526ae4cdd732 08_checksum.patch -4945f60a05838c2fd8168070e29ee111 08_openssl-0.9.8.patch -584d08f4388ec72fc6f47a0ed02d7932 09_sshcrypto.patch -12934d619adbdb2a0a9ef7009aa81950 09_sysconf_clocks.patch -858ae43484d72a529be8e5b8dc6062fe 10_urlsnarf_escape.patch -5d3ef271543bb552e46c3f7c1b3be258 11_string_header.patch -4007bb7add77f089de501c4b466e4f1c 12_arpa_inet_header.patch -9c10e5e6feb270e23590cf65f2996d5f 13_pop_with_version.patch -6cd321083dbf87b2f12bc598c961c0e5 14_obsolete_time.patch -3d1a71e25672923f7a2c515d500e974d 15_checksum_libnids.patch -90b24d2ac3c6280304dc5ed419c6b492 16_TDS_decoder.patch -e5ce452fef42833108b79aef1ea8b02c 20_debian_dirs.patch -88dbf13a3741de475b25bd7b25fd13a5 21_msgsnarf_segfault.patch -79e77c84b9a5316daf5c5c282ad4a375 22_handlepp.patch -642e3447330d21dea5fa69cef17da64b 23_urlsnarf_timestamp.patch -8b333c8092738cc436f9eb3d1461087f dsniff-rpc.patch -1c6765668641905dd62bfb25c7997aa5 dsniff-xcompile.patch -fbc9a39ef2e888e62cdc5b7a0b4ad55a 0001-arpspoof-add-r-switch-to-poison-both-directions.patch -2f537f89ae9262925118b3ec3282ffe2 0002-arpspoof-allow-use-of-of-multiple-targets.patch -24b0e3add6ab4940aa49de3fb6743066 0003-arpspoof-allow-selection-of-source-hw-address.patch -85d9f0065dc1c738da6498b56866f719 0004-arpspoof-mac-include.patch" -sha256sums="a9803a7a02ddfe5fb9704ce86f0ffc48453c321e88db85810db411ba0841152a dsniff-2.4b1.tar.gz -9d5178458b0fc714b267912d875166483cf21fdde142e27353db9018328ed421 0001-rewrite-and-modernize-POP-decoder.patch -edf263eba3c27b1f13112e0ddac86fb858ed793a7710af162b9af3f5209b82ff 01_time.h.patch -58f5ab7b2751bcc384f94572340560a7c015b76a7204a3f8cc16356e176f2178 02_mailsnarf_corrupt.patch -96712a03b7663c17aadf61bb91aa3ca73bb93c39d08849596ed7dea236c48853 03_pcap_read_dump.patch -1cebf870fc5894cd2c205e265337b0c6ec34da22b5857b680e0b58dcc7683866 04_multiple_intf.patch -afc4a848c624facd2a6b61d372dab740a5a1274c467be6fbee107292800a8bcf 05_amd64_fix.patch -c9d0bea7ce548ff2254d860ca611759911637532d254d61231a9407268ea4574 06_urlsnarf_zeropad.patch -0631f50e9401a66da3becfc2606d959f04de522dd466c28425386f889a35bd49 07_libnet_1.1.patch -4801b61e6576186a43672cbc6b3bdfdc807f3e9edbb0fc67b60275aec6de4bbc 08_checksum.patch -b13c63a1dc397ab9dcc30dd752a8c61f9f5dfca147308e12f610beaa7cbf0b26 08_openssl-0.9.8.patch -6abaeaf5be99bdf9fa4f8e259bd1ed140bfa2dc675bc3d151c005ac51785bbff 09_sshcrypto.patch -b44d9e17a6622dee71e10e3314581f27dd580c631ccf6a453547b58ac7e2c9fa 09_sysconf_clocks.patch -a1aec0931ab00e74ca87e95992073667d5759045f285f5ee4051941128bc611d 10_urlsnarf_escape.patch -7c330337839d87499dbae1b7a4bb9ee328b94194f5736dac1daab49637e62248 11_string_header.patch -dca463ee66dec2922c35362016a6896a56f1dda2885d0a1a3f4a07019615bc79 12_arpa_inet_header.patch -67fa84845dc1dfacad55e3879762ace8f5e0eee615f5592528a16db5c4ec1c66 13_pop_with_version.patch -807d4cacaeb2fb6800883e488f8605ba96d6b33903f2be07153bbf1b4bc1ab0d 14_obsolete_time.patch -2aa6ef949cae80d6af95db835a70ec35a6fa48befdaf02e31796b5b4a2aa3e94 15_checksum_libnids.patch -56f254219704d7cb53b29b968152050190117b8b57d2feec392094ea46f317ab 16_TDS_decoder.patch -0d53b676860c1e69b1e93319f56833d1f05855615ace2c05f2e6658b8a219f41 20_debian_dirs.patch -77fcfff3adf0c8451e1cf82630f835dc8eb74884b75d38c17c3dd973e226f37b 21_msgsnarf_segfault.patch -8aab402095a1257bb8f9fdd25c6ea7edd3d77a98a7290cda75a9200a53fb4baa 22_handlepp.patch -3dfe485d08aff96bf6e8f816c596e96cb4b2142bb78aceeebc1fa3fff623fe43 23_urlsnarf_timestamp.patch -f7d32877e072863ef8cf2815e524134a4a6d55ecfeb9ea35829e0f80c192d73f dsniff-rpc.patch -7d9ee48a35547462c63f01d7e39c2da5d841555e1cdce77e70582ab5c97a7e0f dsniff-xcompile.patch -3e2d3a1bb43494a35130a841c35a94dfef26b91dc1ca9ee7b3550a76d8067aa0 0001-arpspoof-add-r-switch-to-poison-both-directions.patch -62e3f6b45e2ef62bf4c2377aa71fabc93c4ba58d683cabea53f2744e6212b19c 0002-arpspoof-allow-use-of-of-multiple-targets.patch -a0e421cadac515e5af70aa68ea3d9ecccb3a26ebeeab2432dc94d89f47dbb2ee 0003-arpspoof-allow-selection-of-source-hw-address.patch -53d690704b176f143f61ecda7533466de3fba9de5470fece0dbd5fcd6ca3c996 0004-arpspoof-mac-include.patch" -sha512sums="62dafab293de6dc3e9b01561b3627d63ca334467c01c3550a6318d8bcbe99d5a301ec16967af34065a14e8bca1c4b6a41da766cbd51ebd8338615b950c4f642f dsniff-2.4b1.tar.gz -915baababfeac98de7586579c5b1f615e7698ef43473cefdef6859e799eb4100034bd35b4d4e02b269f796c06fd334a9b224e86b6fa5c2cdb7fb96baa4b50cb6 0001-rewrite-and-modernize-POP-decoder.patch -cf6bd7530bd58dad61b4957673d438be85904fe9d7dfa6b252363a7f0340978a354ab3bcdf9c0bb69d0a53844476bbc963be71440dcddc6efbc86f6edae4e0e8 01_time.h.patch -c3980e60335602065d3a796caa27bf46e9eb1a1502f8caad37c7e86eca1b1981d90ce306114011595d3a5c07e34a4e1a0c8f745169f6764c50ca9719459aad1d 02_mailsnarf_corrupt.patch -bcc2e52d8cb3cbcaf2a2ab1ea3dd49cdf18aef9a46a09751fc7784bfc4963a244365b5d9d8e78ed5912eef8d449e51a46a7168e628bc8223ca60e22b54665fea 03_pcap_read_dump.patch -39322ca53852026d57e5f389aa419a34612690748443d492f7d67122ef6420ad82edf1746fee2e9d8db837f4a5b2e44f94fcd8dd6c050346e0b30562777b883d 04_multiple_intf.patch -e5319e0797b7cf9e77c1e60bd86295ea972896f35b5157eaeb20a65f076c2dea2c61dc854cc39642619945206cfccacb3c19ea68667887f0bc1f40097fbd502e 05_amd64_fix.patch -b612c951722dbdeba95f9014b7c1bbb28af00f558eafaf3255e32652481db3c685c4c2957e330541d16e65314ef5c4c1902899e09b7f1805b5f7855bccf59c0a 06_urlsnarf_zeropad.patch -50cef510bc056dce6a5c25787f01ac2edc399adc58e43558d2cde15e4538f0dacd44465ca0d0f90f3fbb16ea6f63e795a43aa09d1a62dc45b312ef0de61abb0f 07_libnet_1.1.patch -f08552e2bd549b05a91e094432dc593c00896508cf161af1bb08e7c60f13e7a674eb6af9a3bfca268cdc8a8281b5f966d94e6b068e9fcf5bc6c5ed6e58d5b3fe 08_checksum.patch -2123916a44db960df19dde7f77b1066135a9b3aad8351b407896b494fca99e72916829560749b29372f254d046571d59c0f48c6cdd57b63ed839dc63f6640b36 08_openssl-0.9.8.patch -e5f043cfa684bfb6ebbe711fdb9b1af801aa8ff967b013fc1520b54626ef8edddee311a60cc9cbe89086b8c4aa962ae658821754e6584f632b4b393b258fdb5d 09_sshcrypto.patch -acd4f1551c12d29e67848210dd08876d3a0e948f5f1ab995a0dd12684a78ac8df382739d69058eaeb454f584ce26c1a43c597f5bd4668c2855bc9a6ef4e1ea90 09_sysconf_clocks.patch -1467f75d2e77705b622273a39810b4228f7b767f4219d1b4acca6450b8f0fbb12f47e162a5d251df6f1de001645b8cf194a4795457d8f390a42dff9ce7c284f2 10_urlsnarf_escape.patch -ba5543784b692c7fcd8147ff5d1036867ee4d01ccb1dd252867ba317bc24b7bee238147033b9c57e393ac4b4c6f9f250a819816ab918fb45d44c7b249c775234 11_string_header.patch -7d3fd53ce55a6d4b7c0a4150712fabe233e1ba818b18a4402d6aea7ace32d9b67956b00f93cd607ba9815a5fd7fe978a489844b8fa7bd1e1154e21c2b96f4491 12_arpa_inet_header.patch -bd956a4ff665ac3181a3e4f4c589d0ba561d05e124b1c98bbf2a057060bedae8f4f2d91de917f36c2b31222a6fc17fd6e7ddefc31f1774327e192fbf3ad6b463 13_pop_with_version.patch -c73e9ef34e3882ce618473191f8448567d6c61dda9122269a4734097a3cc86ac2dd384df79cd9af4c955587de05bd8724997e50791f53a5fcdaacabcc4038cbb 14_obsolete_time.patch -c7aa23f46ab8e4ddcdeb38322810b2ed1299868c94e14a10a97f271ace05f9e3e8fd2ddf85c520140a01013a1ccca912fd1a1ef22a59832c798a1292befb97aa 15_checksum_libnids.patch -16144a7f32bd7b9538f21fad0be73b172a3a7afe130e79490ddb0f510cec67e67c2d71bf961c4ccad95cbc59d725e29a0c0000b62ca9d0bd059b29ec0fdc07b9 16_TDS_decoder.patch -cb3fa450cc066895bc516233884c444a8a17af7376cd2bae48cb890dd742dffe0a98a397f2f6f100f680b80399c5812d9705383291c3c2450be93a1b86a65fa4 20_debian_dirs.patch -18b727a2f77d5be5ca3648ce1875bfaa299d37ea6477752e54daad62797c78214518470f817a6607b4f2ff10a3c89398115019e81b3f47d02f4d26909fc6a5bd 21_msgsnarf_segfault.patch -e3f4590910bd31280da8b5664b3bad4fb6f7b5da0c61f9841d5bc87ef5bf3fdb824b1d7e2e2cc8a1d446e81e2afca3c503b1ea60102ea08d415d0feae18c0bbc 22_handlepp.patch -a2eebbe577c6c7a7a6b89eb53971ecc243b36ae42a65bc783936f6cec1d29366c0074e3f7c89728c3e94034e5018f2e9533a2a78fe6e1c839b57208cfd415e52 23_urlsnarf_timestamp.patch -b5e4a4f347b236fb97d7bafe86306cdbda381673fc4e90ab727fe4f13b5246a7874d0f8b5c02fb6a6d5778e124edc4a140e7bdd666c29399c44f2694238b0061 dsniff-rpc.patch -b5a9e4133640f5eb3d08a6e9b9f4d7550d3d32fd937c8beb5e6fd5a35e3cf7ba7c8d5dd7ed1597e50c312af8aa792dc4bc9ecc61693fd7b0d449940e93b5b30d dsniff-xcompile.patch -c360f83d0d52b88acee21f3d3bbde55ed132e19b003bdb7d6edaf0d4a2fc3e6ac9b69c983ebb8be6548465f98728983a9ed7786cb2b052fa6c0769593b470aa2 0001-arpspoof-add-r-switch-to-poison-both-directions.patch -6fe3863ec30fc1d27f3f81cb954307b6f17752cf0b107f915ccc83096f9866e83a70e6a005ef7174074e7d2b65b2ffad5339d1df9137af002d94b0dd69739b61 0002-arpspoof-allow-use-of-of-multiple-targets.patch -16bed71ca79a4f5eb74f67f834f0fea5819f0a9300ec2687a67d22bc6acb81dcf36fcf9c2e0d2503c7cc625d810706003d6d1639772fc469b827428333bf9cb1 0003-arpspoof-allow-selection-of-source-hw-address.patch -c6a75d0300fbccc72143ea6e553b8a25beb17c60870bb4b4cbbc5ba348205af51bdff0669ffe6f5e69c5df80d3f276d88c974c7d604a93a2b3231f9e4c8cb56c 0004-arpspoof-mac-include.patch" diff --git a/unmaintained/dsniff/dsniff-rpc.patch b/unmaintained/dsniff/dsniff-rpc.patch deleted file mode 100644 index 17e11cebda..0000000000 --- a/unmaintained/dsniff/dsniff-rpc.patch +++ /dev/null @@ -1,92 +0,0 @@ -this patch removes the functionality that depends on sun rpc, -which either cannot be implemented using the portablexdr rpc -replacement library, or depend on the host rpcgen utility -to generate some headers and source files. - -it should be possible to build some of the disabled files -(for example decoding of NFS packets) with rpcgen installed -on the host; however i think it's too much of a burden to -force the crosscompile user to install portablexdr on his host -as well (to get the utility). -a viable alternative could be to generate those files on a host -with rpcgen installed and ship them together with the package. - -there's still functionality using rpc enabled, since the entire -file logging infrastructure uses xdr structures and functions -to store records, fortunately this functionality is provided -by portablexdr. - -additionally it disables build of the obsolete sshmitm utility. -obsolete because noone uses SSHv1 anymore. -the reason for disabling it is that it uses deprecated DES -functions/types from openssh which are disabled in our build, -causing the build to fail. - ---- dsniff-2.4.org/Makefile.in 2014-08-13 00:44:31.072293717 +0200 -+++ dsniff-2.4/Makefile.in 2014-08-13 01:44:17.556299388 +0200 -@@ -47,28 +47,26 @@ - RANLIB = @RANLIB@ - - HDRS = asn1.h base64.h buf.h decode.h hex.h magic.h options.h \ -- pathnames.h pcaputil.h record.h rpc.h tcp_raw.h trigger.h \ -+ pathnames.h pcaputil.h record.h tcp_raw.h trigger.h \ - version.h vroot.h - --SRCS = asn1.c base64.c buf.c hex.c magic.c mount.c pcaputil.c rpc.c \ -+SRCS = asn1.c base64.c buf.c hex.c magic.c pcaputil.c \ - tcp_raw.c trigger.c record.c dsniff.c decode.c decode_aim.c \ - decode_citrix.c decode_cvs.c decode_ftp.c decode_hex.c \ - decode_http.c decode_icq.c decode_imap.c decode_irc.c \ -- decode_ldap.c decode_mmxp.c decode_mountd.c decode_napster.c \ -+ decode_ldap.c decode_mmxp.c decode_napster.c \ - decode_nntp.c decode_oracle.c decode_ospf.c decode_pcanywhere.c \ -- decode_pop.c decode_portmap.c decode_postgresql.c decode_pptp.c \ -+ decode_pop.c decode_postgresql.c decode_pptp.c \ - decode_rip.c decode_rlogin.c decode_smb.c decode_smtp.c \ - decode_sniffer.c decode_snmp.c decode_socks.c decode_tds.c \ -- decode_telnet.c decode_vrrp.c decode_yp.c decode_x11.c -- --GEN = mount.h mount.c nfs_prot.h nfs_prot.c -+ decode_telnet.c decode_vrrp.c decode_x11.c - - OBJS = $(SRCS:.c=.o) - - LIBOBJS = dummy.o @LIBOBJS@ - --PROGS = arpspoof dnsspoof dsniff filesnarf macof mailsnarf msgsnarf \ -- sshmitm sshow tcpkill tcpnice @TCPHIJACK@ urlsnarf webmitm @WEBSPY@ -+PROGS = arpspoof dnsspoof dsniff macof mailsnarf msgsnarf \ -+ sshow tcpkill tcpnice @TCPHIJACK@ urlsnarf webmitm @WEBSPY@ - - CONFIGS = dsniff.magic dsniff.services dnsspoof.hosts - -@@ -77,14 +75,6 @@ - - all: libmissing.a $(PROGS) - --mount.c: mount.x -- rpcgen -h mount.x -o mount.h -- rpcgen -c mount.x -o mount.c -- --nfs_prot.c: nfs_prot.x -- rpcgen -h nfs_prot.x -o nfs_prot.h -- rpcgen -c nfs_prot.x -o nfs_prot.c -- - $(LIBOBJS): - $(CC) $(CFLAGS) $(INCS) -c $(srcdir)/missing/$*.c - ---- dsniff-2.4.org/decode.c 2014-08-13 00:44:31.073293717 +0200 -+++ dsniff-2.4/decode.c 2014-08-13 01:55:45.228300475 +0200 -@@ -53,6 +53,12 @@ - extern int decode_vrrp(u_char *, int, u_char *, int); - extern int decode_ypserv(u_char *, int, u_char *, int); - extern int decode_yppasswd(u_char *, int, u_char *, int); -+#ifndef HAVE_RPC -+int decode_portmap(u_char *a, int d, u_char *b, int c) {return 0;} -+int decode_mountd(u_char *a, int d, u_char *b, int c) {return 0;} -+int decode_ypserv(u_char *a, int d, u_char *b, int c) {return 0;} -+int decode_yppasswd(u_char *a, int d, u_char *b, int c) {return 0;} -+#endif - - static struct decode decodes[] = { - { "hex", decode_hex }, diff --git a/unmaintained/dsniff/dsniff-xcompile.patch b/unmaintained/dsniff/dsniff-xcompile.patch deleted file mode 100644 index e282a268dd..0000000000 --- a/unmaintained/dsniff/dsniff-xcompile.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- dsniff-2.3.org/configure 2014-08-12 23:09:56.696284744 +0200 -+++ dsniff-2.3/configure 2014-08-12 23:21:46.476285867 +0200 -@@ -3035,11 +3035,7 @@ - ;; - esac - else -- if test -f ${prefix}/include/pcap.h; then -- PCAPINC="-I${prefix}/include" -- PCAPLIB="-L${prefix}/lib -lpcap" -- elif test -f /usr/include/pcap/pcap.h; then -- PCAPINC="-I/usr/include/pcap" -+ if true ; then - PCAPLIB="-lpcap" - elif test -f /usr/include/pcap.h; then - PCAPLIB="-lpcap" -@@ -3083,12 +3079,7 @@ - ;; - esac - else -- if test -f ${prefix}/include/libnet.h; then -- CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`" -- LNETINC="-I${prefix}/include" -- LNETLIB="-L${prefix}/lib -lnet" -- elif test -f /usr/include/libnet.h; then -- CFLAGS="$CFLAGS `libnet-config --defines`" -+ if true ; then - LNETLIB="-lnet" - else - echo "$ac_t""no" 1>&6 -@@ -3128,10 +3119,7 @@ - ;; - esac - else -- if test -f ${prefix}/include/nids.h; then -- NIDSINC="-I${prefix}/include" -- NIDSLIB="-L${prefix}/lib -lnids" -- elif test -f /usr/include/nids.h; then -+ if true; then - NIDSLIB="-lnids" - else - echo "$ac_t""no" 1>&6 -@@ -3193,13 +3181,7 @@ - ;; - esac - else -- if test -f ${prefix}/include/openssl/ssl.h; then -- SSLINC="-I${prefix}/include" -- SSLLIB="-L${prefix}/lib -lssl -lcrypto" -- elif test -f ${prefix}/ssl/include/openssl/ssl.h; then -- SSLINC="-I${prefix}/ssl/include" -- SSLLIB="-L${prefix}/ssl/lib -lssl -lcrypto" -- elif test -f /usr/include/openssl/ssl.h; then -+ if true ; then - SSLLIB="-lssl -lcrypto" - else - echo "$ac_t""no" 1>&6 diff --git a/unmaintained/dssi/APKBUILD b/unmaintained/dssi/APKBUILD deleted file mode 100644 index 1082c8d376..0000000000 --- a/unmaintained/dssi/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=dssi -pkgver=1.1.1 -pkgrel=0 -pkgdesc="Disposable Soft Synth Interface" -url="http://dssi.sourceforge.net/" -arch="all" -license="MIT" -depends="" -depends_dev="alsa-lib-dev ladspa-dev" -makedepends="$depends_dev jack-dev libsamplerate-dev libsndfile-dev liblo-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-examples" -source="http://download.sf.net/sourceforge/dssi/dssi-$pkgver.tar.gz" - -_builddir="$srcdir"/dssi-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 - - # sanity check - make -C tests controller && tests/controller -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -examples() { - pkgdesc="DSSI plugin examples" - mkdir -p "$subpkgdir"/usr/lib/dssi/ - mv "$pkgdir"/usr/lib/dssi/less_trivial* \ - "$pkgdir"/usr/lib/dssi/trivial_* \ - "$pkgdir"/usr/lib/dssi/karplong* \ - "$subpkgdir"/usr/lib/dssi/ -} -md5sums="619ab73c883b02dc37ddb37001591f8b dssi-1.1.1.tar.gz" diff --git a/unmaintained/duff/APKBUILD b/unmaintained/duff/APKBUILD deleted file mode 100644 index 7c46f15708..0000000000 --- a/unmaintained/duff/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=duff -pkgver=0.5.2 -pkgrel=0 -pkgdesc="A command-line tool for finding duplicate files" -url="http://sourceforge.net/projects/duff/" -arch="all" -license="ZLIB" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/duff/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="483f9216ebea14b090e0d71dbf7077ff duff-0.5.2.tar.gz" -sha256sums="15b721f7e0ea43eba3fd6afb41dbd1be63c678952bf3d80350130a0e710c542e duff-0.5.2.tar.gz" -sha512sums="6fb1ede1e935c25c6bf354fee94ef1d9d454d5b98069ce671600e91767f802ad5c74bc602ad2c9e19a502e29c8c0ffcd0563a779714a16389594ea5678504768 duff-0.5.2.tar.gz" diff --git a/unmaintained/duhdraw/APKBUILD b/unmaintained/duhdraw/APKBUILD deleted file mode 100644 index 4c975a0410..0000000000 --- a/unmaintained/duhdraw/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=duhdraw -pkgver=2.8.13 -pkgrel=2 -pkgdesc="A program which almost perfectly simulates TheDraw for DOS." -url="http://www.cs.helsinki.fi/u/penberg/duhdraw/" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev ncurses-dev" -install="" -subpackages="" -source="http://www.cs.helsinki.fi/u/penberg/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - mkdir -p $pkgdir/usr/bin - install -m0755 ansi ansitoc duhdraw $pkgdir/usr/bin -} - -md5sums="70211aa3ea927704ffeb9093e4f433b9 duhdraw-2.8.13.tar.gz" -sha256sums="12a432d2874a6f0579879e3242d832139b7f2a4879b2cfcfb6ced046236b4b2c duhdraw-2.8.13.tar.gz" -sha512sums="fa9102133dcd100b2cde58d4d92aabfcdf86bb16a8066191e92922d6cea470094ff226e569bf92d34e1f0f6a3e657eaf3326cecf091ed1bc37bd2faace340798 duhdraw-2.8.13.tar.gz" diff --git a/unmaintained/e_dbus/APKBUILD b/unmaintained/e_dbus/APKBUILD deleted file mode 100644 index 0cda31c6d9..0000000000 --- a/unmaintained/e_dbus/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=e_dbus -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Enlightenment's (Ecore) integration to DBus" -url="http://trac.enlightenment.org/e/wiki/E_Dbus" -arch="all" -license="BSD" -depends="" -depends_dev="dbus-dev eina-dev ecore-dev udisks-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/e_dbus-$pkgver.tar.gz" - -_builddir="$srcdir"/e_dbus-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="8f72da14e5664aad8c45eeeca0e3ff5f e_dbus-1.7.9.tar.gz" -sha256sums="c328c4cf1424629cb67c83689ccc1f95967abcb4c03dffd437e93b799ff151c1 e_dbus-1.7.9.tar.gz" -sha512sums="4f91d6aea44811a848a80d75cecdd99ca1fdcff8ca2f5a65426e0ef073b41c04a94c80cfa9fcd7d4e73315a3e2a8d1e18068be9520253952cb8350e727be2502 e_dbus-1.7.9.tar.gz" diff --git a/unmaintained/ebook-tools/APKBUILD b/unmaintained/ebook-tools/APKBUILD deleted file mode 100644 index 2ca1cf67b6..0000000000 --- a/unmaintained/ebook-tools/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=ebook-tools -pkgver=0.2.2 -pkgrel=1 -pkgdesc="Tools for accessing and converting various ebook file formats" -url="http://sourceforge.net/projects/ebook-tools/" -arch="x86 x86_64" -license="MIT" -depends= -depends_dev="libxml2-dev libzip-dev" -makedepends="$depends_dev cmake pkgconfig" -install="" -subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/project/ebook-tools/ebook-tools/${pkgver}/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - ../ || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="67bce67ceb72dcc3578d6a81ef92b29b ebook-tools-0.2.2.tar.gz" -sha256sums="cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae ebook-tools-0.2.2.tar.gz" -sha512sums="b4518249835ed7cc672392bf2f8b1c62bc218e41c53663bb26ab34c9e43a99b6b7ae794babdb4bd775e467bb17918703a66ee57c8cf94cb7afc4ba2a7f74816a ebook-tools-0.2.2.tar.gz" diff --git a/unmaintained/ecore/APKBUILD b/unmaintained/ecore/APKBUILD deleted file mode 100644 index b3a2b6241b..0000000000 --- a/unmaintained/ecore/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=ecore -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Enlightenment's core event abstraction layer and OS abstraction layer" -url="http://trac.enlightenment.org/e/wiki/Ecore" -arch="all" -license="BSD" -depends="" -depends_dev="eina-dev eet-dev evas-dev glib-dev c-ares-dev curl-dev openssl-dev - libxcursor-dev libxinerama-dev libxrandr-dev libxrender-dev - libxcomposite-dev libxfixes-dev libxdamage-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-lang" -source="http://download.enlightenment.org/releases/ecore-$pkgver.tar.gz" - -_builddir="$srcdir"/ecore-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --enable-cares \ - --disable-gnutls \ - --enable-ecore-evas-software-x11 \ - --enable-ecore-evas-opengl-x11 \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="2d5a4fb8f702628f5c7b785309be01ab ecore-1.7.9.tar.gz" -sha256sums="c145cc00280d3a310c76e5e6a9fb509c81b8b173f04458c97ea4ae6bf563eaf3 ecore-1.7.9.tar.gz" -sha512sums="0f0bd6ef0478cbe2ade2e84ab7350f54daf51a8887c1d983afda47955e8f0bac95e9c3b632be24d936f31e7f0aa1fb1cf68bbd6bdb6861c19c8adc6aeab06e7f ecore-1.7.9.tar.gz" diff --git a/unmaintained/edje/APKBUILD b/unmaintained/edje/APKBUILD deleted file mode 100644 index ac753c2a77..0000000000 --- a/unmaintained/edje/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=edje -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Enlightenment's graphical layout and animation library" -url="http://trac.enlightenment.org/e/wiki/Edje" -arch="all" -license="BSD" -depends="" -depends_dev="lua-dev eina-dev eet-dev embryo-dev ecore-dev evas-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/edje-$pkgver.tar.gz" - -_builddir="$srcdir"/edje-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="49152d8636aefcd028af0f97483391ef edje-1.7.9.tar.gz" -sha256sums="dac12e5fd81ab303151bec6742971b63f2de577ef940ed0b6af20419130300ab edje-1.7.9.tar.gz" -sha512sums="ffa0e0e0b3f121b32c5df663587df3ae63fd7f0bb3ce5ba5b8db5ee40a9bbcc1d9c4cb74b8efc4119aa739b81d77cf95ef451c3f58698645ef8107a0028bca63 edje-1.7.9.tar.gz" diff --git a/unmaintained/eet/APKBUILD b/unmaintained/eet/APKBUILD deleted file mode 100644 index 9dd63fa7ca..0000000000 --- a/unmaintained/eet/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=eet -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Enlightenment's file chunk reading/writing library" -url="http://trac.enlightenment.org/e/wiki/Eet" -arch="all" -license="BSD" -depends= -depends_dev="eina-dev openssl-dev zlib-dev libjpeg-turbo-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/eet-$pkgver.tar.gz" - -_builddir="$srcdir"/eet-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="225eadf514465be321a44a003d687a55 eet-1.7.9.tar.gz" -sha256sums="3345e0889bbc29536dbe0f6236ed1ae6a9d685b8e39877d5404fa6217bd12ec6 eet-1.7.9.tar.gz" -sha512sums="5afdba1b9382a91786233d460de6d7e423307668fd8023a6e611ceb55c0bab1041f6dfa625004e00105c00c77d99f1a3c04a58868d2f3c83b5df17bc32ee660d eet-1.7.9.tar.gz" diff --git a/unmaintained/eeze/APKBUILD b/unmaintained/eeze/APKBUILD deleted file mode 100644 index f019ba184c..0000000000 --- a/unmaintained/eeze/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=eeze -pkgver=1.7.8 -pkgrel=0 -pkgdesc="Enlightenment's device library" -url="http://trac.enlightenment.org/e/wiki/Eeze" -arch="all" -license="BSD" -depends= -depends_dev="eina-dev ecore-dev udev-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/eeze-$pkgver.tar.gz" - -_builddir="$srcdir"/eeze-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="3ee68667f65860a0bdb7126e555155ff eeze-1.7.8.tar.gz" -sha256sums="9a4df9d086575c54d0116164d46b2c9e29362cc32398ea606c2365cbdf4157dd eeze-1.7.8.tar.gz" -sha512sums="17dcf5401e48eeb94f37c21a9184ff45cd510b07ed3d2e1b600b67cb0d48167e3492c0b30b20b19d9ad54d4af05e1b77fae2e4f0ff0e7ddbe889edaa19ee3194 eeze-1.7.8.tar.gz" diff --git a/unmaintained/efreet/APKBUILD b/unmaintained/efreet/APKBUILD deleted file mode 100644 index ff93f31c9b..0000000000 --- a/unmaintained/efreet/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=efreet -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Enlightenment's library for handling of freedesktop.org specs" -url="http://trac.enlightenment.org/e/wiki/Efreet" -arch="all" -license="BSD" -depends="" -depends_dev="eina-dev ecore-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-lang" -source="http://download.enlightenment.org/releases/efreet-$pkgver.tar.gz" - -_builddir="$srcdir"/efreet-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="5972833cf78ca93440403b94ed4ed74d efreet-1.7.9.tar.gz" -sha256sums="d5037c04ac8130879bf87d924e6b83cf479e7dee8235321ed1a49f97083b611b efreet-1.7.9.tar.gz" -sha512sums="026cedf66831f2a5a8717fa8782a77fce7cf849a50a5f3cbe91fea6d5c9441ae0b7617ddf1824bd450643253f5f993caa4a4d591d095fc1f10d9e2ad4d71b429 efreet-1.7.9.tar.gz" diff --git a/unmaintained/eina/APKBUILD b/unmaintained/eina/APKBUILD deleted file mode 100644 index 011f55d67c..0000000000 --- a/unmaintained/eina/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=eina -pkgver=1.7.9 -pkgrel=1 -pkgdesc="Enlightenment's data types library (List, hash, etc) in C" -url="http://trac.enlightenment.org/e/wiki/Eina" -arch="all" -license="LGPL2+" -depends= -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --enable-amalgamation \ - --enable-pthread \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="cddf2755e20bfb3f90764fd2b689b888 eina-1.7.9.tar.gz" -sha256sums="b7fe26d98b80479d0f72be47b2584dfa243e4d18774cb824acc398354a45d520 eina-1.7.9.tar.gz" -sha512sums="f3b7b1951814c457bc94a4678c5c6242a4baada5953d5616092673b6d2b4516cb70c47e935b6f7b393d469627b53a05eb99c4249d19d5d9a3d8a263b2cd4e42d eina-1.7.9.tar.gz" diff --git a/unmaintained/eio/APKBUILD b/unmaintained/eio/APKBUILD deleted file mode 100644 index 3fab3d04db..0000000000 --- a/unmaintained/eio/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=eio -pkgver=1.7.9 -pkgrel=0 -pkgdesc="An async I/O library" -url="http://trac.enlightenment.org/e/wiki/Eina" -arch="all" -license="LGPL2+" -depends="" -depends_dev="eet-dev eina-dev ecore-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/eio-$pkgver.tar.gz" - -_builddir="$srcdir"/eio-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="f4d6cbd216a9ae5983fa8ee8dadf04cb eio-1.7.9.tar.gz" -sha256sums="35ce08ecf6afd5faa4fe857764537e15aede2b0d2c37922e55e97e2dff3352de eio-1.7.9.tar.gz" -sha512sums="0c3d8420af12324397584001d352f67e0077bfb61f1180d0ab9efd61e758d71ee1fe08a307538493371cb2c154cb9e30a3731f776b7ff7ee929d82f15d0ff90d eio-1.7.9.tar.gz" diff --git a/unmaintained/ejdb/APKBUILD b/unmaintained/ejdb/APKBUILD deleted file mode 100644 index 4adc7b58f7..0000000000 --- a/unmaintained/ejdb/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ejdb -pkgver=1.2.10 -pkgrel=0 -pkgdesc="Embedded JSON Database engine" -url="http://ejdb.org/" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="cmake $depends_dev zlib-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" -source="ejdb-$pkgver.tar.gz::https://github.com/Softmotions/ejdb/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/ejdb-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - mkdir build && cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SAMPLES=OFF \ - -DPACKAGE_TGZ=OFF \ - ../ || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="${pkgdir}" install || return 1 -} - -md5sums="85a825c1c880a51a869fadba11a7e52a ejdb-1.2.10.tar.gz" -sha256sums="3a6d4a487e02c05dd67e72a77ee6082fbb1f5a19d4f7f15d14e1c891bbfe520e ejdb-1.2.10.tar.gz" -sha512sums="84c864ec89714eed32256d7301f0ec525c59595f5ae1f41e3bb05b5fb143286308cc6a26de955603f990b1a46aaae2a5fa54c4c42baef91fab75494d0dd3b83e ejdb-1.2.10.tar.gz" diff --git a/unmaintained/elementary-gtk-theme/APKBUILD b/unmaintained/elementary-gtk-theme/APKBUILD deleted file mode 100644 index 6d5a0430eb..0000000000 --- a/unmaintained/elementary-gtk-theme/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=elementary-gtk-theme -pkgver=2.1 -pkgrel=1 -pkgdesc="gtk theme designed to go with elementary icons" -url="http://launchpad.net/egtk" -arch="noarch" -license="GPL" -depends="elementary-icon-theme gtk-murrine-engine" -makedepends="wget" -install="" -subpackages= -source="http://67.202.104.180/~nenolod/egtk.tar.gz" - -_builddir="${srcdir}/egtk" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - cd "$_builddir" - mkdir -p "${pkgdir}"/usr/share/themes/elementary - cp -R gtk-2.0 "${pkgdir}"/usr/share/themes/elementary - ln -sf /usr/share/themes/elementary/gtk-2.0 \ - "${pkgdir}"/usr/share/themes/elementary/gtk-3.0 - cp -R metacity-1 "${pkgdir}"/usr/share/themes/elementary - cp -R xfwm4 "${pkgdir}"/usr/share/themes/elementary -} - -md5sums="9886680fe5f0c7910a560aba95f0cad8 egtk.tar.gz" diff --git a/unmaintained/elementary-icon-theme/APKBUILD b/unmaintained/elementary-icon-theme/APKBUILD deleted file mode 100644 index 010c4e2dc0..0000000000 --- a/unmaintained/elementary-icon-theme/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=elementary-icon-theme -pkgver=2.5 -pkgrel=0 -pkgdesc="supplementary icon set for gnome and xfce" -url="http://www.elementaryos.org/" -arch="noarch" -license="GPL" -depends= -makedepends="" -install="" -subpackages= -source="http://67.202.104.180/~nenolod/elementary_icons_by_danrabbit-d12yjq7.zip" - -_builddir="${srcdir}/icons" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - msg "Unpacking tarballs..." - tar zxf "$_builddir"/elementary.tar.gz - tar zxf "$_builddir"/elementary-mono-dark.tar.gz -} - -build() { - return 0 -} - -package() { - cd "$_builddir" - mkdir -p "${pkgdir}"/usr/share/icons - cp -R elementary "${pkgdir}"/usr/share/icons/elementary - cp -R elementary-mono-dark "${pkgdir}"/usr/share/icons/elementary-mono-dark -} - -md5sums="67b0fda7c6033a43196e60d45ae84bbd elementary_icons_by_danrabbit-d12yjq7.zip" diff --git a/unmaintained/elementary/APKBUILD b/unmaintained/elementary/APKBUILD deleted file mode 100644 index 929334d7c8..0000000000 --- a/unmaintained/elementary/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=elementary -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Enlightenment's basic widget set" -url="http://trac.enlightenment.org/e/wiki/Elementary" -arch="all" -license="BSD" -depends="" -depends_dev="eina-dev eet-dev evas-dev ecore-dev edje-dev" -makedepends="$depends_dev eio-dev e_dbus-dev efreet-dev ethumb-dev emotion-dev" -install="" -subpackages="$pkgname-dev $pkgname-lang" -source="http://download.enlightenment.org/releases/elementary-$pkgver.tar.gz" - -_builddir="$srcdir"/elementary-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="6a3acb394b640697b1fd2dd61d990d0b elementary-1.7.9.tar.gz" -sha256sums="3667c6da3d89be5a46363509645be59e3deb1f052bfa14239986ac9499da52fb elementary-1.7.9.tar.gz" -sha512sums="ab9a220b18de9e47b4f22ba27bda695870e3c27a31329e812703536d219f93adbb44d07a33535e1682c1890554bbe2597b4fdb44b7c18e987d8d2ed53ed07265 elementary-1.7.9.tar.gz" diff --git a/unmaintained/embryo/APKBUILD b/unmaintained/embryo/APKBUILD deleted file mode 100644 index 60b6b97d0c..0000000000 --- a/unmaintained/embryo/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=embryo -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Enlightenment's virtual machine engine and bytecode compiler" -url="http://trac.enlightenment.org/e/wiki/Embryo" -arch="all" -license="BSD" -depends="" -depends_dev="eina-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/embryo-$pkgver.tar.gz" - -_builddir="$srcdir"/embryo-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="98614ec48376ff6d3a39187504b70ed4 embryo-1.7.9.tar.gz" -sha256sums="6b2739a53c3ab2fcf44edfb9c3a4c56d11aba91e27e556a9e70116a161201e34 embryo-1.7.9.tar.gz" -sha512sums="4fb1f5f81dd79d668a395162098ee43f8301b20dcb8260471b28e6a8ca95a89232fe3ab97754522423e7a3a8c344133b4a83100200b3c914ee67a3dd41ae2361 embryo-1.7.9.tar.gz" diff --git a/unmaintained/emelfm2/01-avoid_fstab.patch b/unmaintained/emelfm2/01-avoid_fstab.patch deleted file mode 100644 index 1b9d0d2eaf..0000000000 --- a/unmaintained/emelfm2/01-avoid_fstab.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- emelfm2-0.9.1-origin/src/filesystem/e2_fs_mount.c -+++ emelfm2-0.9.1/src/filesystem/e2_fs_mount.c -@@ -46,7 +46,7 @@ - #endif - //other exclusions go here ... - --# if defined(__linux__) -+# if defined(__GLIBC__) - # include - # include - -@@ -62,7 +62,9 @@ - - # else - # include -+# if defined(__GLIBC__) - # include -+# endif - - /*Some systems use statfs() to provide information about mounted - file systems, other systems use statvfs(). The header files used with -@@ -1020,7 +1022,7 @@ - { - GList *fstab_list = NULL; - //CHECKME lock data file while accessing it ?? --#if defined(__E2BSD__) || defined(__linux__) -+#if defined(__E2BSD__) || defined(__GLIBC__) - struct fstab *fs; - - if (!setfsent ()) diff --git a/unmaintained/emelfm2/02-define_ALLPERMS.patch b/unmaintained/emelfm2/02-define_ALLPERMS.patch deleted file mode 100644 index a5e9e4fdde..0000000000 --- a/unmaintained/emelfm2/02-define_ALLPERMS.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- emelfm2-0.9.1-origin/src/filesystem/e2_fs.h -+++ emelfm2-0.9.1/src/filesystem/e2_fs.h -@@ -25,6 +25,10 @@ - #ifndef __E2_FS_H__ - #define __E2_FS_H__ - -+#ifndef ALLPERMS -+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */ -+#endif -+ - #include "emelfm2.h" - #include - #include diff --git a/unmaintained/emelfm2/APKBUILD b/unmaintained/emelfm2/APKBUILD deleted file mode 100644 index d8078a5525..0000000000 --- a/unmaintained/emelfm2/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: August Klein -# Maintainer: August Klein -pkgname=emelfm2 -pkgver=0.9.1 -pkgrel=0 -pkgdesc="A file manager for UNIX-like operating systems" -url="http://emelfm2.net" -arch="all" -license="GPL3" -depends="" -depends_dev="file-dev gtk+2.0-dev" -makedepends="$depends_dev coreutils" -install="" -subpackages="$pkgname-lang $pkgname-doc" -source="http://emelfm2.net/rel/$pkgname-$pkgver.tar.bz2 - 01-avoid_fstab.patch - 02-define_ALLPERMS.patch" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make PREFIX=/usr || return 1 -} - -package() { - cd "$_builddir" - make PREFIX="${pkgdir}/usr" install install_i18n || return 1 - - install -m 755 "${pkgdir}/usr/share/pixmaps/emelfm2/emelfm2_48.png" \ - "${pkgdir}/usr/share/pixmaps/emelfm2.png" - - sed -e '/Icon=/ s^emelfm2/emelfm2_48.png^emelfm2.png^' \ - -e '/Categories=/ s^;$^;Application;Utility;^' \ - -i "${pkgdir}/usr/share/applications/emelfm2.desktop" -} - -md5sums="ea83b73d76edf1cea5bce00ec630af6f emelfm2-0.9.1.tar.bz2 -4f307b7096291d1e6a14a29a7d6978bd 01-avoid_fstab.patch -9bb3d555f792afed972b47faec9863f3 02-define_ALLPERMS.patch" -sha256sums="bfb94ff4e40c0a9c0d2a6aeb0efa22e177accbf6abd3096226d93daecd23642f emelfm2-0.9.1.tar.bz2 -395ba0ea1140d229e343df8407433ab98de185708ec21c6502399dcfe7a310e4 01-avoid_fstab.patch -a0e597764b9d2842ecd2ea087797509c15dbda937e3b3116c4533e8ac3e45947 02-define_ALLPERMS.patch" -sha512sums="bd3a1ad2338c80d6824a2a84736470ecfa7e93f455cc8e3243944833807fe9b3544e2fea6bd6ccbddaf0188ad89ce616ed146271f6ffabec80f5dfb2f1ad6f57 emelfm2-0.9.1.tar.bz2 -5b156e994eb62f034e8bb246f42633858fd0e3009a4997c54a7ba347b230ab80d2c307b0af961e174d149fc8878104c0350f7ded41d05424a6b11f9011ef6b17 01-avoid_fstab.patch -a3d860e9134654e61038cb13c8dc55c3da3885a6d42229f1976a0848a2570e62230c529764aa82620e3847c2093a8c5f36d1695b500b3b98517705b01acf26d6 02-define_ALLPERMS.patch" diff --git a/unmaintained/emotion/APKBUILD b/unmaintained/emotion/APKBUILD deleted file mode 100644 index 7bdde8954b..0000000000 --- a/unmaintained/emotion/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=emotion -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Emotion, video and audio codec API" -url="http://trac.enlightenment.org/e/wiki/Emotion" -arch="all" -license="BSD" -depends="" -depends_dev="ecore-dev evas-dev eet-dev eina-dev edje-dev eio-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/emotion-$pkgver.tar.gz" - -_builddir="$srcdir"/emotion-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="171bbc41a5e5d202d0dc57c34e318c14 emotion-1.7.9.tar.gz" -sha256sums="ff72204490e740adaa7980bad1a060dae8113c308c6083e5bcee380a11dad1f4 emotion-1.7.9.tar.gz" -sha512sums="8da35d09f07560305ea43a06d1101f25e8a764d88e8e14b19d2f2410a8ea94a51e1058cf122466d0d5e17d8057e9180f0a898082a6d637de59491741b73bea02 emotion-1.7.9.tar.gz" diff --git a/unmaintained/empty/APKBUILD b/unmaintained/empty/APKBUILD deleted file mode 100644 index 3d9467ce01..0000000000 --- a/unmaintained/empty/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=empty -pkgver=0.6.19b -pkgrel=0 -pkgdesc="run applications under pseudo-terminal (PTY) sessions" -url="http://empty.sourceforge.net/" -arch="all" -license="BSD" -depends="" -makedepends="" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/sourceforge/empty/empty-$pkgver.tgz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -D empty "$pkgdir"/usr/bin/empty - install -D empty.1 "$pkgdir"/usr/share/man/man1/empty.1 -} - -md5sums="a0729eb35dc607e463d86b681b8c1711 empty-0.6.19b.tgz" -sha256sums="05b7cb361ef815774abda325c09c573f8c9039ccbb71eedc743439e4637c314a empty-0.6.19b.tgz" -sha512sums="7afb2b5d08f2d3ebe0819eccef39b2e35fa532b6cbdcef49d2dbb4a5aa57fe55b1765461de9691d6eaa3188a9ecd98c291de738c13c9c2158c4f53d704b83670 empty-0.6.19b.tgz" diff --git a/unmaintained/enumiax/APKBUILD b/unmaintained/enumiax/APKBUILD deleted file mode 100644 index f5e6b02f15..0000000000 --- a/unmaintained/enumiax/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Alan Lacerda -# Maintainer: Alan Lacerda -pkgname=enumiax -pkgver=0.4a -pkgrel=0 -pkgdesc="An Inter Asterisk Exchange version 2 protocol username brute-force enumerator." -url="http://sourceforge.net/projects/enumiax/" -arch="all" -license="GPL+2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://ufpr.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/bin - install enumiax "$pkgdir"/usr/bin || return 1 -} - -md5sums="2a148fd2faa74d636ad891c7073fbd96 enumiax-0.4a.tar.gz" -sha256sums="cf1b1db4d6d62c919afd1484e2476ef7c2ce05220555e829cc5d3821e47a2f41 enumiax-0.4a.tar.gz" -sha512sums="671af2e274fa94b950d42db57880ec6d494510df8970edeeebe2e06a98aba4b6f3f10686624238f7cb19c590751a29d80993ffeee3c7091a30b4f2c337f8ce18 enumiax-0.4a.tar.gz" diff --git a/unmaintained/equinox-themes/APKBUILD b/unmaintained/equinox-themes/APKBUILD deleted file mode 100644 index 6bc15659bd..0000000000 --- a/unmaintained/equinox-themes/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=equinox-themes -pkgver=1.50 -pkgrel=0 -pkgdesc="Equinox GTK Themes" -url="http://gnome-look.org/content/show.php/Equinox+GTK+Engine?content=121881" -arch="noarch" -license="GPL" -depends="gtk-equinox-engine" -makedepends="" -install="" -subpackages="" -source="http://gnome-look.org/CONTENT/content-files/140449-equinox-themes-$pkgver.tar.gz" - -_builddir="$srcdir" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/themes - for i in *; do - [ -L "$i" ] && continue - cp -ra "$i" "$pkgdir"/usr/share/themes/ || return 1 - done -} - -md5sums="280f0c1f81abbfcdc524bb9c3a8f0ee8 140449-equinox-themes-1.50.tar.gz" diff --git a/unmaintained/erlang17/APKBUILD b/unmaintained/erlang17/APKBUILD deleted file mode 100644 index b17575eecd..0000000000 --- a/unmaintained/erlang17/APKBUILD +++ /dev/null @@ -1,249 +0,0 @@ -# Contributor: Michael Mason -# Maintainer: Marlus Saraiva - -pkgname=erlang17 -pkgver=17.5 -pkgrel=0 -pkgdesc="General-purpose programming language and runtime environment" -url="http://www.erlang.org/" -license="ERPL" -arch="all" -depends="$pkgname-kernel $pkgname-stdlib $pkgname-compiler" -makedepends="perl-dev zlib-dev ncurses-dev openssl-dev openjdk7 unixodbc-dev" -install="" -subpackages="$pkgname-dev - $pkgname-asn1:asn - $pkgname-common-test:common_test - $pkgname-compiler:compiler - $pkgname-cosevent:cos_event - $pkgname-coseventdomain:cos_event_domain - $pkgname-cosfiletransfer:cos_file_transfer - $pkgname-cosnotification:cos_notification - $pkgname-cosproperty:cos_property - $pkgname-costime:cos_time - $pkgname-costransaction:cos_transactions - $pkgname-crypto:crypto - $pkgname-debugger:debugger - $pkgname-dialyzer:dialyzer - $pkgname-diameter:diameter - $pkgname-edoc:edoc - $pkgname-eldap:eldap - $pkgname-erl-docgen:erl_docgen - $pkgname-erl-interface:erl_interface - $pkgname-erts:erts - $pkgname-et:et - $pkgname-eunit:eunit - $pkgname-gs:gs - $pkgname-hipe:hipe - $pkgname-ic:ic - $pkgname-inets:inets - $pkgname-jinterface:jinterface - $pkgname-kernel:kernel - $pkgname-megaco:megaco - $pkgname-mnesia:mnesia - $pkgname-observer:observer - $pkgname-odbc:odbc - $pkgname-orber:orber - $pkgname-os-mon:os_mon - $pkgname-ose:ose - $pkgname-otp-mibs:otp_mibs - $pkgname-parsetools:parsetools - $pkgname-percept:percept - $pkgname-public-key:public_key - $pkgname-reltool:reltool - $pkgname-runtime-tools:runtime_tools - $pkgname-sasl:sasl - $pkgname-snmp:snmp - $pkgname-ssh:ssh - $pkgname-ssl:ssl - $pkgname-stdlib:stdlib - $pkgname-syntax-tools:syntax_tools - $pkgname-test-server:test_server - $pkgname-tools:tools - $pkgname-typer:typer - $pkgname-webtool:webtool - $pkgname-xmerl:xmerl" -# Patches 0001-0009 found: http://pkgs.fedoraproject.org/gitweb/?p=erlang.git;a=tree -source="http://www.erlang.org/download/otp_src_$pkgver.tar.gz - otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch - otp-0002-Remove-rpath.patch - otp-0003-Do-not-install-C-sources.patch - otp-0004-Do-not-install-Java-sources.patch - otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch - otp-0006-Do-not-install-erlang-sources.patch - otp-0007-Split-off-webtool-dependency-from-tools.patch - otp-0008-Introduce-os-getenv-2.patch - otp-0009-Patch-removes-support-for-SSLv3-protocol-because-it-.patch - otp-0010-fix-nteventlog-remove.patch - remove-private-unit32.patch - replace_glibc_check.patch" - -_builddir="$srcdir"/otp_src_$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - export CPPFLAGS="-D_BSD_SOURCE $CPPFLAGS" - export PATH="/usr/lib/jvm/java-1.7-openjdk/bin:$PATH" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --host="$CHOST" \ - --build="$CBUILD" \ - --enable-threads \ - --enable-shared-zlib \ - --enable-ssl=dynamic-ssl-lib \ - || return 1 - make -j1 || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 - rm -rf "$pkgdir"/usr/lib/erlang/lib/wx-* -} - -_mv_erlang_lib() { - local lib=$1 - depends="$pkgname" - - mkdir -p "$subpkgdir"/usr/lib/erlang/lib - mv "$pkgdir"/usr/lib/erlang/lib/$lib-* "$subpkgdir"/usr/lib/erlang/lib/ -} - -asn() { _mv_erlang_lib asn1; } -common_test() { _mv_erlang_lib common_test; } -compiler() { _mv_erlang_lib compiler; } -cos_event() { _mv_erlang_lib cosEvent; } -cos_event_domain() { _mv_erlang_lib cosEventDomain; } -cos_file_transfer() { _mv_erlang_lib cosFileTransfer; } -cos_notification() { _mv_erlang_lib cosNotification; } -cos_property() { _mv_erlang_lib cosProperty; } -cos_time() { _mv_erlang_lib cosTime; } -cos_transactions() { _mv_erlang_lib cosTransactions; } -crypto() { _mv_erlang_lib crypto; } -debugger() { _mv_erlang_lib debugger; } -dialyzer() { _mv_erlang_lib dialyzer; } -diameter() { _mv_erlang_lib diameter; } -edoc() { _mv_erlang_lib edoc; } -eldap() { _mv_erlang_lib eldap; } -erl_docgen() { _mv_erlang_lib erl_docgen; } -erl_interface() { _mv_erlang_lib erl_interface; } -erts() { _mv_erlang_lib erts; } -et() { _mv_erlang_lib et; } -eunit() { _mv_erlang_lib eunit; } -gs() { _mv_erlang_lib gs; } -hipe() { _mv_erlang_lib hipe; } -ic() { _mv_erlang_lib ic; } -inets() { _mv_erlang_lib inets; } -jinterface() { _mv_erlang_lib jinterface; } -kernel() { _mv_erlang_lib kernel; } -megaco() { _mv_erlang_lib megaco; } -mnesia() { _mv_erlang_lib mnesia; } -observer() { _mv_erlang_lib observer; } -odbc() { _mv_erlang_lib odbc; } -orber() { _mv_erlang_lib orber; } -os_mon() { _mv_erlang_lib os_mon; } -ose() { _mv_erlang_lib ose; } -otp_mibs() { _mv_erlang_lib otp_mibs; } -parsetools() { _mv_erlang_lib parsetools; } -percept() { _mv_erlang_lib percept; } -public_key() { _mv_erlang_lib public_key; } -reltool() { _mv_erlang_lib reltool; } -runtime_tools() { _mv_erlang_lib runtime_tools; } -sasl() { _mv_erlang_lib sasl; } -snmp() { _mv_erlang_lib snmp; } -ssh() { _mv_erlang_lib ssh; } -ssl() { _mv_erlang_lib ssl; } -stdlib() { _mv_erlang_lib stdlib; } -syntax_tools() { _mv_erlang_lib syntax_tools; } -test_server() { _mv_erlang_lib test_server; } -tools() { _mv_erlang_lib tools; } -typer() { _mv_erlang_lib typer; } -webtool() { _mv_erlang_lib webtool; } -xmerl() { _mv_erlang_lib xmerl; } - -dev() { - local i= j= - depends="$pkgname=$pkgver-r$pkgrel $depends_dev" - pkgdesc="$pkgdesc (development files)" - - cd "$pkgdir" || return 0 - local libdirs=usr/ - [ -d lib/ ] && libdirs="lib/ $libdirs" - for i in usr/include usr/lib/pkgconfig usr/share/aclocal\ - usr/share/gettext usr/bin/*-config \ - usr/share/vala/vapi usr/share/gir-[0-9]*\ - usr/share/qt*/mkspecs \ - usr/lib/qt*/mkspecs \ - usr/lib/cmake \ - $(find . -name include -type d) \ - $(find $libdirs -name '*.[acho]' \ - -o -name '*.prl' 2>/dev/null); do - if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then - d="$subpkgdir/${i%/*}" # dirname $i - mkdir -p "$d" - mv "$pkgdir/$i" "$d" - rmdir "$pkgdir/${i%/*}" 2>/dev/null - fi - done - # move *.so links needed when linking the apps to -dev packages - for i in lib/*.so usr/lib/*.so; do - if [ -L "$i" ]; then - mkdir -p "$subpkgdir"/"${i%/*}" - mv "$i" "$subpkgdir/$i" || return 1 - fi - done - return 0 -} - - -md5sums="346dd0136bf1cc28cebc140e505206bb otp_src_17.5.tar.gz -5eb1ff3dd4ccf1a2a9e038ca599d535c otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch -6202359c7326ad45da303dea5b865ed7 otp-0002-Remove-rpath.patch -49e76b9d1356c432141cc9e472ece48f otp-0003-Do-not-install-C-sources.patch -b16edcf58468e7f33da182ba622d9372 otp-0004-Do-not-install-Java-sources.patch -bdbce19aeb004148fdb12d4a11ed435f otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch -df2f5d70293bce953d94cb4ae76bb3a8 otp-0006-Do-not-install-erlang-sources.patch -df323f3ed63e1112826ddc8012cae9d8 otp-0007-Split-off-webtool-dependency-from-tools.patch -4689e0e5fd9040a86433d36e23020a6e otp-0008-Introduce-os-getenv-2.patch -316027d711101e06258d0d85de30e3b0 otp-0009-Patch-removes-support-for-SSLv3-protocol-because-it-.patch -8acb24f5fef4d5e5de4ecda85548b117 otp-0010-fix-nteventlog-remove.patch -20b48b781961fbff5dfc81df383c12e0 remove-private-unit32.patch -06b7d939d3a18839d1c696998085c9c0 replace_glibc_check.patch" -sha256sums="3c28820c981b30c50df8ac2a4a238e5813454fa3ed2ad530bc7948a282846474 otp_src_17.5.tar.gz -18b235111ab59e89f6257ffa2b6a0c48933fda3107c9a4e6f15b718d080c5f37 otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch -f431800227050a8665c958ed9f21738adb7bbab5cbadb863eeb282f3da193a33 otp-0002-Remove-rpath.patch -b4b2cfd436b9e75ea998784cce40492aa41512417321332e5b315361e80383d8 otp-0003-Do-not-install-C-sources.patch -94380dab56a7687f6646b8e0b9e6433086ba36efd568ca41a7059312c3b9b5b1 otp-0004-Do-not-install-Java-sources.patch -22e87786fa48f754ffa3d1d1bbe4305e7995ac1e11abf5deb3a0d83fad87ed54 otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch -ff3600d52418ac5d70161955d6cebd2d6ce0fd93700afdc1834df29fc437a705 otp-0006-Do-not-install-erlang-sources.patch -b15610e9cc879467e2387db1eef450827bc58bf4cbc9ffd5d40272ba6b76c8d2 otp-0007-Split-off-webtool-dependency-from-tools.patch -0dca75b3fc682b03d3ed736100ef4589bd7fcc28af53325a1d36c46a2a56330e otp-0008-Introduce-os-getenv-2.patch -450b48773c767b01ce78e91d4d54a74f9fa2d093729c82278c0defb14723529d otp-0009-Patch-removes-support-for-SSLv3-protocol-because-it-.patch -59da2226b33c17f9bada33e135a5a03283bf21a3e5739a950594f8d1d49fdf03 otp-0010-fix-nteventlog-remove.patch -c593c4715a31054031174fcc1a52d562440534e22762f7c19a76e0abedeef9c7 remove-private-unit32.patch -37c762d495d252b69266b6ef59ae83d52ae9544c3a93845ca1f8225507f48249 replace_glibc_check.patch" -sha512sums="cfd082c8baee7ded370a34f15a1ba3b846b7d81e06edc36c62308c9220697925f1feda91eeecb70fc658f8987087256f51a2ebd0c526d16eeb09c72889d2390d otp_src_17.5.tar.gz -2fa0a9259432df4af3e10aacdbc8a782d11f86f4f06f6ff3299c698177744a26caaab248b8b00d89c99eb9a41ba9530037c5852dde73add58cb253e64de60258 otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch -2111ce99ecc59e44d707b92d3f10b109e326f2e5f68d342c2b0e20089dcd43c45bae1eeda48f9a2d7e655696dd707fb99a6ca3936302813a0dfbdad098edc48d otp-0002-Remove-rpath.patch -076cf7e08cfdf015170abfe936f62c98bbb9a743235eabfd29362b79c95f1bcdde7ddfb1c4a46503765e53a13b1aeaaa433ea4f51ca1721057bb90a8977a873b otp-0003-Do-not-install-C-sources.patch -5a89290eaaf622192f7ef32e70f8a1301581afa5541902aa961c0c4431183d9822668daa1d48bfc2dee010ab747b0c1f4511525a243be42c8cff252bdd7906f7 otp-0004-Do-not-install-Java-sources.patch -50a22d39609fb50accf953f0268a6b9d75cc80b3ae9515a7b597469e2d68fd263b49a08e4e1c09b02c004d76bf1458e6d63d40038f5986270def144ae9f5cbe7 otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch -ec0c06c8e219458f9fc624a98360a302d3facbb3f0ae4eaefabac04789d0019a493287956682d70f99d64134a7fe2dbaf86f74a28afdf2264d36893085260d88 otp-0006-Do-not-install-erlang-sources.patch -de19924f6aa652a93481a16f89f6eff4181f76a776f8a3ebd0c9a5b2f6344b8d3d4c2bb6192a5ef542d2dd02095d9bb9a2f094c248c01446daeb5abed2d471fe otp-0007-Split-off-webtool-dependency-from-tools.patch -52c3cadd0ee294c209dc031623c415334a1946b9f77ed1acfb7c9e9e1b1d2a0186b7996098ea53d0cdfb4fc3d0c4a53587af0df1887040c4aafa9aad4cb74488 otp-0008-Introduce-os-getenv-2.patch -c4465ee5369d066a258e4cd06267a57150e8701f23530ce246bc8bb91d1a141f613f97a2a438a19b3e39aaab815f3e78eb64cf7f31d0404fb03b288db826a6d9 otp-0009-Patch-removes-support-for-SSLv3-protocol-because-it-.patch -c0e5ce015a08eed504a5fa56f608a809b4da00f07ed7ede4d9fb195b85297907eff4c41ef866d205661cbd5e6d9334d04b0303631fd1e5b87a06d2862981807c otp-0010-fix-nteventlog-remove.patch -0f5b2899de78c5481b38250583a1ef8825aec2ac74eaecf35a6ad3d1165ba6422dca6206d349d5a6f61d7fdb26dac688c2dbe13632cf23b671913af674593764 remove-private-unit32.patch -8dc50e4d89173142b6b795bf802c991a1442648f934f623c2a6ddd1ebd075d8dc30d0ec584584cd8f36e8d22e947b9a1062c70e79c14090530c7a1ad678b9eca replace_glibc_check.patch" diff --git a/unmaintained/erlang17/otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch b/unmaintained/erlang17/otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch deleted file mode 100644 index 6aeadc8a4d..0000000000 --- a/unmaintained/erlang17/otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch +++ /dev/null @@ -1,41 +0,0 @@ -From: Peter Lemenkov -Date: Thu, 25 Feb 2010 16:45:28 +0300 -Subject: [PATCH] Do not format man-pages and do not install miscellaneous - utilities for dealing with man-pages. - -Signed-off-by: Peter Lemenkov - -diff --git a/erts/etc/common/Makefile.in b/erts/etc/common/Makefile.in -index 0cf965f..94e82a8 100644 ---- a/erts/etc/common/Makefile.in -+++ b/erts/etc/common/Makefile.in -@@ -550,10 +550,6 @@ endif - ifneq ($(INSTALL_TOP_BIN),) - $(INSTALL_PROGRAM) $(INSTALL_TOP_BIN) "$(RELEASE_PATH)" - endif --ifneq ($(INSTALL_MISC),) -- $(INSTALL_DIR) "$(RELEASE_PATH)/misc" -- $(INSTALL_SCRIPT) $(INSTALL_MISC) "$(RELEASE_PATH)/misc" --endif - ifneq ($(INSTALL_SRC),) - $(INSTALL_DIR) "$(RELEASE_PATH)/erts-$(VSN)/src" - $(INSTALL_DATA) $(INSTALL_SRC) "$(RELEASE_PATH)/erts-$(VSN)/src" -diff --git a/erts/etc/unix/Install.src b/erts/etc/unix/Install.src -index 8eb1db7..9e340bb 100644 ---- a/erts/etc/unix/Install.src -+++ b/erts/etc/unix/Install.src -@@ -140,14 +140,5 @@ cp -p ../releases/%I_SYSTEM_VSN%/start_*.boot . - cp -p ../releases/%I_SYSTEM_VSN%/no_dot_erlang.boot . - cp -p $Name.boot start.boot - cp -p ../releases/%I_SYSTEM_VSN%/$Name.script start.script --# --# Fixing the man pages --# -- --if [ -d "$ERL_ROOT/man" ] --then -- cd "$ERL_ROOT" -- ./misc/format_man_pages "$ERL_ROOT" --fi - - exit 0 diff --git a/unmaintained/erlang17/otp-0002-Remove-rpath.patch b/unmaintained/erlang17/otp-0002-Remove-rpath.patch deleted file mode 100644 index 492734fe30..0000000000 --- a/unmaintained/erlang17/otp-0002-Remove-rpath.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: Peter Lemenkov -Date: Thu, 25 Feb 2010 16:57:43 +0300 -Subject: [PATCH] Remove rpath - -Signed-off-by: Peter Lemenkov - -diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in -index 8c92b5b..5b36c19 100644 ---- a/lib/crypto/c_src/Makefile.in -+++ b/lib/crypto/c_src/Makefile.in -@@ -89,7 +89,7 @@ endif - DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@ - - ifeq ($(DYNAMIC_CRYPTO_LIB),yes) --SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ -+SSL_DED_LD_RUNTIME_LIBRARY_PATH = - CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) - EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB - else -diff --git a/lib/crypto/priv/Makefile b/lib/crypto/priv/Makefile -index 0989f14..0d29444 100644 ---- a/lib/crypto/priv/Makefile -+++ b/lib/crypto/priv/Makefile -@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto.o - # ---------------------------------------------------- - - $(SO_NIFLIB): $(OBJS) -- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \ -+ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \ - -o $@ $^ -lcrypto - - $(DLL_NIFLIB): $(OBJS) diff --git a/unmaintained/erlang17/otp-0003-Do-not-install-C-sources.patch b/unmaintained/erlang17/otp-0003-Do-not-install-C-sources.patch deleted file mode 100644 index f89bcb79ff..0000000000 --- a/unmaintained/erlang17/otp-0003-Do-not-install-C-sources.patch +++ /dev/null @@ -1,161 +0,0 @@ -From: Peter Lemenkov -Date: Fri, 18 Jun 2010 23:41:33 +0400 -Subject: [PATCH] Do not install C sources - -Don't install *.c and *.o files. - -Excepts ones from the internal erl_interface. These -API headers are necessary. See rhbz #818419 for the -explanation why they're necessary for the low-level -interaction with the Erlang nodes: - -https://bugzilla.redhat.com/818419 - -Signed-off-by: Peter Lemenkov - -diff --git a/lib/asn1/c_src/Makefile b/lib/asn1/c_src/Makefile -index a7cd03f..6da4d75 100644 ---- a/lib/asn1/c_src/Makefile -+++ b/lib/asn1/c_src/Makefile -@@ -142,8 +142,6 @@ release_spec: opt - ifneq ($(findstring ose,$(TARGET)),ose) - $(INSTALL_PROGRAM) $(NIF_SHARED_OBJ_FILE) "$(RELSYSDIR)/priv/lib" - endif -- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" -- $(INSTALL_DATA) *.c "$(RELSYSDIR)/c_src" - - release_docs_spec: - -diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in -index 5b36c19..470821e 100644 ---- a/lib/crypto/c_src/Makefile.in -+++ b/lib/crypto/c_src/Makefile.in -@@ -199,14 +199,10 @@ docs: - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" -- $(INSTALL_DATA) $(NIF_MAKEFILE) "$(RELSYSDIR)/priv/obj" - ifneq ($(findstring ose,$(TARGET)),ose) -- $(INSTALL_PROGRAM) $(CRYPTO_OBJS) "$(RELSYSDIR)/priv/obj" - $(INSTALL_PROGRAM) $(NIF_LIB) "$(RELSYSDIR)/priv/lib" - ifeq ($(DYNAMIC_CRYPTO_LIB),yes) -- $(INSTALL_PROGRAM) $(CALLBACK_OBJS) "$(RELSYSDIR)/priv/obj" - $(INSTALL_PROGRAM) $(CALLBACK_LIB) "$(RELSYSDIR)/priv/lib" - endif - endif -diff --git a/lib/erl_interface/src/Makefile.in b/lib/erl_interface/src/Makefile.in -index 7c09b60..2c14f9e 100644 ---- a/lib/erl_interface/src/Makefile.in -+++ b/lib/erl_interface/src/Makefile.in -@@ -904,14 +904,14 @@ ifneq ($(EXE_TARGETS),) - $(INSTALL_PROGRAM) $(EXE_TARGETS) "$(RELSYSDIR)/bin" - endif - $(INSTALL_DATA) $(EXTRA) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) connect/*.[ch] "$(RELSYSDIR)/src/connect" -- $(INSTALL_DATA) decode/*.[ch] "$(RELSYSDIR)/src/decode" -- $(INSTALL_DATA) encode/*.[ch] "$(RELSYSDIR)/src/encode" -- $(INSTALL_DATA) epmd/*.[ch] "$(RELSYSDIR)/src/epmd" -- $(INSTALL_DATA) misc/*.[ch] "$(RELSYSDIR)/src/misc" -- $(INSTALL_DATA) registry/*.[ch] "$(RELSYSDIR)/src/registry" -- $(INSTALL_DATA) legacy/*.[ch] "$(RELSYSDIR)/src/legacy" -- $(INSTALL_DATA) prog/*.[ch] "$(RELSYSDIR)/src/prog" -+ $(INSTALL_DATA) connect/*.h "$(RELSYSDIR)/src/connect" -+ $(INSTALL_DATA) decode/*.h "$(RELSYSDIR)/src/decode" -+ $(INSTALL_DATA) encode/*.h "$(RELSYSDIR)/src/encode" -+ $(INSTALL_DATA) epmd/*.h "$(RELSYSDIR)/src/epmd" -+ $(INSTALL_DATA) misc/*.h "$(RELSYSDIR)/src/misc" -+ $(INSTALL_DATA) registry/*.h "$(RELSYSDIR)/src/registry" -+ $(INSTALL_DATA) legacy/*.h "$(RELSYSDIR)/src/legacy" -+ $(INSTALL_DATA) prog/*.h "$(RELSYSDIR)/src/prog" - - release_docs: - -diff --git a/lib/ic/c_src/Makefile.in b/lib/ic/c_src/Makefile.in -index ed860ab..96206ae 100644 ---- a/lib/ic/c_src/Makefile.in -+++ b/lib/ic/c_src/Makefile.in -@@ -144,12 +144,10 @@ $(OBJDIR)/%.o: %.c - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" - $(INSTALL_DIR) "$(RELEASE_PATH)/usr/include" - $(INSTALL_DIR) "$(RELEASE_PATH)/usr/lib" -- $(INSTALL_DATA) ic.c ic_tmo.c "$(RELSYSDIR)/c_src" - $(INSTALL_DATA) $(IDL_FILES) $(H_FILES) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(LIBRARY) "$(RELSYSDIR)/priv/lib" - $(INSTALL_DATA) $(IDL_FILES) $(H_FILES) "$(RELEASE_PATH)/usr/include" -diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in -index 6111cf2..bd62e8b 100644 ---- a/lib/megaco/src/flex/Makefile.in -+++ b/lib/megaco/src/flex/Makefile.in -@@ -270,7 +270,7 @@ release_spec: opt - $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/flex" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true) -- $(INSTALL_DATA) $(FLEX_FILES) $(C_TARGETS) "$(RELSYSDIR)/src/flex" -+ $(INSTALL_DATA) $(FLEX_FILES) "$(RELSYSDIR)/src/flex" - $(INSTALL_PROGRAM) $(SOLIBS) "$(RELSYSDIR)/priv/lib" - endif - -diff --git a/lib/odbc/c_src/Makefile.in b/lib/odbc/c_src/Makefile.in -index 6572d28..c7093ae 100644 ---- a/lib/odbc/c_src/Makefile.in -+++ b/lib/odbc/c_src/Makefile.in -@@ -128,11 +128,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - ifdef EXE_TARGET -- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" -- $(INSTALL_DATA) $(C_FILES) $(H_FILES) "$(RELSYSDIR)/c_src" - $(INSTALL_DIR) "$(RELSYSDIR)/priv" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/bin" -- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj" - $(INSTALL_PROGRAM) $(EXE_TARGET) "$(RELSYSDIR)/priv/bin" - endif - -diff --git a/lib/os_mon/c_src/Makefile.in b/lib/os_mon/c_src/Makefile.in -index f84ccf7..05d194f 100644 ---- a/lib/os_mon/c_src/Makefile.in -+++ b/lib/os_mon/c_src/Makefile.in -@@ -125,8 +125,6 @@ $(OBJDIR)/memsup.o: memsup.h - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(C_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/bin" - $(INSTALL_PROGRAM) $(TARGET_FILES) "$(RELSYSDIR)/priv/bin" - -diff --git a/lib/runtime_tools/c_src/Makefile.in b/lib/runtime_tools/c_src/Makefile.in -index d46b499..4309aae 100644 ---- a/lib/runtime_tools/c_src/Makefile.in -+++ b/lib/runtime_tools/c_src/Makefile.in -@@ -156,10 +156,8 @@ docs: - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" - ifneq ($(findstring ose,$(TARGET)),ose) -- $(INSTALL_PROGRAM) $(DYNTRACE_OBJS) "$(RELSYSDIR)/priv/obj" - $(INSTALL_PROGRAM) $(NIF_LIB) $(SOLIBS) "$(RELSYSDIR)/priv/lib" - endif - -diff --git a/lib/tools/c_src/Makefile.in b/lib/tools/c_src/Makefile.in -index b1eb69f..1acfdbf 100644 ---- a/lib/tools/c_src/Makefile.in -+++ b/lib/tools/c_src/Makefile.in -@@ -197,8 +197,6 @@ include ../vsn.mk - RELSYSDIR = $(RELEASE_PATH)/lib/tools-$(TOOLS_VSN) - - release_spec: all -- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" -- $(INSTALL_DATA) $(EMEM_SRCS) $(EMEM_HEADERS) "$(RELSYSDIR)/c_src" - ifneq ($(PROGS),) - $(INSTALL_DIR) "$(RELSYSDIR)/bin" - $(INSTALL_PROGRAM) $(PROGS) "$(RELSYSDIR)/bin" diff --git a/unmaintained/erlang17/otp-0004-Do-not-install-Java-sources.patch b/unmaintained/erlang17/otp-0004-Do-not-install-Java-sources.patch deleted file mode 100644 index 65323fa79d..0000000000 --- a/unmaintained/erlang17/otp-0004-Do-not-install-Java-sources.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: Peter Lemenkov -Date: Sat, 19 Jun 2010 09:25:18 +0400 -Subject: [PATCH] Do not install Java sources - -Signed-off-by: Peter Lemenkov - -diff --git a/lib/ic/java_src/com/ericsson/otp/ic/Makefile b/lib/ic/java_src/com/ericsson/otp/ic/Makefile -index 273614e..5b1fb57 100644 ---- a/lib/ic/java_src/com/ericsson/otp/ic/Makefile -+++ b/lib/ic/java_src/com/ericsson/otp/ic/Makefile -@@ -112,8 +112,6 @@ docs: - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/java_src/com/ericsson/otp/ic" -- $(INSTALL_DATA) $(JAVA_FILES) "$(RELSYSDIR)/java_src/com/ericsson/otp/ic" - $(INSTALL_DIR) "$(RELSYSDIR)/priv" - $(INSTALL_DATA) $(JAVA_DEST_ROOT)$(JARFILE) "$(RELSYSDIR)/priv" - -diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile -index ea3ab77..e95757e 100644 ---- a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile -+++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile -@@ -119,8 +119,6 @@ release release_docs release_tests release_html: - $(V_at)$(MAKE) $(MFLAGS) RELEASE_PATH="$(RELEASE_PATH)" $(TARGET_MAKEFILE) $@_spec - - release_spec: opt -- $(V_at)$(INSTALL_DIR) "$(RELSYSDIR)/java_src/com/ericsson/otp/erlang" -- $(V_at)$(INSTALL_DATA) $(JAVA_SRC) "$(RELSYSDIR)/java_src/com/ericsson/otp/erlang" - $(V_at)$(INSTALL_DIR) "$(RELSYSDIR)/priv" - $(V_at)$(INSTALL_DATA) $(JAVA_DEST_ROOT)$(JARFILE) "$(RELSYSDIR)/priv" - $(V_at)$(INSTALL_DIR) "$(RELSYSDIR)/ebin" diff --git a/unmaintained/erlang17/otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch b/unmaintained/erlang17/otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch deleted file mode 100644 index 42a323c9c7..0000000000 --- a/unmaintained/erlang17/otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch +++ /dev/null @@ -1,57 +0,0 @@ -From: Peter Lemenkov -Date: Sat, 19 Jun 2010 09:59:39 +0400 -Subject: [PATCH] Do not install nteventlog and related doc-files on non-win32 - systems - -Signed-off-by: Peter Lemenkov - ---- otp_src_17.5/lib/os_mon/doc/src/Makefile -+++ otp_src_17.5-fixed/lib/os_mon/doc/src/Makefile -@@ -35,12 +35,17 @@ - # Target Specs - # ---------------------------------------------------- - XML_APPLICATION_FILES = ref_man.xml -+ifeq ($(findstring win32,$(TARGET)),win32) -+NTEVENTLOG_DOCFILE=nteventlog.xml -+else -+NTEVENTLOG_DOCFILE= -+endif - XML_REF3_FILES = cpu_sup.xml \ - disksup.xml \ - memsup.xml \ - os_mon_mib.xml \ - os_sup.xml \ -- nteventlog.xml -+ $(NTEVENTLOG_DOCFILE) - - XML_REF6_FILES = os_mon_app.xml - ---- otp_src_17.5/lib/os_mon/src/Makefile -+++ otp_src_17.5-fixed/lib/os_mon/src/Makefile -@@ -33,8 +33,13 @@ - # ---------------------------------------------------- - # Target Specs - # ---------------------------------------------------- -+ifeq ($(findstring win32,$(TARGET)),win32) -+NTEVENTLOG=nteventlog -+else -+NTEVENTLOG= -+endif - MODULES= disksup memsup cpu_sup os_mon os_mon_mib os_sup os_mon_sysinfo \ -- nteventlog -+ $(NTEVENTLOG) - - INCLUDE=../include - CSRC=../c_src -@@ -78,7 +83,11 @@ - # ---------------------------------------------------- - - $(APP_TARGET): $(APP_SRC) ../vsn.mk -+ifeq ($(findstring win32,$(TARGET)),win32) - $(vsn_verbose)sed -e 's;%VSN%;$(VSN);' $< > $@ -+else -+ $(vsn_verbose)sed -e 's;%VSN%;$(VSN);;s;,\s*nteventlog;;' $< > $@ -+endif - - $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk - $(vsn_verbose)sed -e 's;%VSN%;$(VSN);' $< > $@ diff --git a/unmaintained/erlang17/otp-0006-Do-not-install-erlang-sources.patch b/unmaintained/erlang17/otp-0006-Do-not-install-erlang-sources.patch deleted file mode 100644 index 9e0e3a9aba..0000000000 --- a/unmaintained/erlang17/otp-0006-Do-not-install-erlang-sources.patch +++ /dev/null @@ -1,1006 +0,0 @@ -From: Hans Ulrich Niedermann -Date: Mon, 21 Mar 2011 15:41:49 +0100 -Subject: [PATCH] Do not install erlang sources - -Don't install *.erl, *.xrl, *.yrl, and *.asn1 files at all. - -Signed-off-by: Peter Lemenkov -Signed-off-by: Hans Ulrich Niedermann - -diff --git a/erts/preloaded/src/Makefile b/erts/preloaded/src/Makefile -index 4ea2d41..e1466c1 100644 ---- a/erts/preloaded/src/Makefile -+++ b/erts/preloaded/src/Makefile -@@ -85,8 +85,6 @@ $(APP_TARGET): $(APP_SRC) $(ERL_TOP)/erts/vsn.mk - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: $(APP_TARGET) -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(BEAM_FILES) $(STUBS_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(STATIC_TARGET_FILES) $(APP_TARGET) "$(RELSYSDIR)/ebin" - -diff --git a/lib/asn1/src/Makefile b/lib/asn1/src/Makefile -index 6798da0..4e3ae0e 100644 ---- a/lib/asn1/src/Makefile -+++ b/lib/asn1/src/Makefile -@@ -154,7 +154,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(APP_SRC) $(APPUP_SRC) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/examples" - $(INSTALL_DATA) $(EXAMPLES) "$(RELSYSDIR)/examples" - -diff --git a/lib/common_test/src/Makefile b/lib/common_test/src/Makefile -index 8d74546..a25d85d 100644 ---- a/lib/common_test/src/Makefile -+++ b/lib/common_test/src/Makefile -@@ -140,7 +140,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/include" -diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile -index c6d09d8..46dcdf4 100644 ---- a/lib/compiler/src/Makefile -+++ b/lib/compiler/src/Makefile -@@ -165,8 +165,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(EXTRA_FILES) \ -- $(YRL_FILE) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) $(EXTRA_FILES) \ -+ "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(INSTALL_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/cosEvent/src/Makefile b/lib/cosEvent/src/Makefile -index 2864ee0..0e27bb6 100644 ---- a/lib/cosEvent/src/Makefile -+++ b/lib/cosEvent/src/Makefile -@@ -202,7 +202,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include" - -diff --git a/lib/cosEventDomain/src/Makefile b/lib/cosEventDomain/src/Makefile -index b4b74bd..420f566 100644 ---- a/lib/cosEventDomain/src/Makefile -+++ b/lib/cosEventDomain/src/Makefile -@@ -171,7 +171,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(EXTERNAL_GEN_HRL_FILES) "$(RELSYSDIR)/include" - -diff --git a/lib/cosFileTransfer/src/Makefile b/lib/cosFileTransfer/src/Makefile -index 9d3abb9..c3d83a5 100644 ---- a/lib/cosFileTransfer/src/Makefile -+++ b/lib/cosFileTransfer/src/Makefile -@@ -179,9 +179,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) $(GEN_HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" -- $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include" - - release_docs_spec: -diff --git a/lib/cosNotification/src/Makefile b/lib/cosNotification/src/Makefile -index 13153bd..0860700 100644 ---- a/lib/cosNotification/src/Makefile -+++ b/lib/cosNotification/src/Makefile -@@ -370,8 +370,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) $(YECC_FILES) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(IDL_FILES) $(YECC_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include" - -diff --git a/lib/cosProperty/src/Makefile b/lib/cosProperty/src/Makefile -index d7b75d8..fba8746 100644 ---- a/lib/cosProperty/src/Makefile -+++ b/lib/cosProperty/src/Makefile -@@ -179,8 +179,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include" - -diff --git a/lib/cosTime/src/Makefile b/lib/cosTime/src/Makefile -index 0ab2b41..c29caeb 100644 ---- a/lib/cosTime/src/Makefile -+++ b/lib/cosTime/src/Makefile -@@ -198,8 +198,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include" - -diff --git a/lib/cosTransactions/src/Makefile b/lib/cosTransactions/src/Makefile -index 7b4a9cf..290707c 100644 ---- a/lib/cosTransactions/src/Makefile -+++ b/lib/cosTransactions/src/Makefile -@@ -173,7 +173,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILE) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) $(IDL_FILE) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(EXTERNAL_GEN_HRL_FILES) "$(RELSYSDIR)/include" - -diff --git a/lib/crypto/src/Makefile b/lib/crypto/src/Makefile -index c185c15..68bacba 100644 ---- a/lib/crypto/src/Makefile -+++ b/lib/crypto/src/Makefile -@@ -81,8 +81,6 @@ docs: - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) \ - $(APPUP_TARGET) "$(RELSYSDIR)/ebin" -diff --git a/lib/debugger/src/Makefile b/lib/debugger/src/Makefile -index d61519f..bfdb0c9 100644 ---- a/lib/debugger/src/Makefile -+++ b/lib/debugger/src/Makefile -@@ -116,7 +116,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(TOOLBOX_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(TOOLBOX_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(TARGET_TOOLBOX_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/dialyzer/src/Makefile b/lib/dialyzer/src/Makefile -index 91fbdca..01fb30c 100644 ---- a/lib/dialyzer/src/Makefile -+++ b/lib/dialyzer/src/Makefile -@@ -151,7 +151,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(EXTRA_FILES) \ -+ $(INSTALL_DATA) $(HRL_FILES) $(EXTRA_FILES) \ - "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(INSTALL_FILES) "$(RELSYSDIR)/ebin" -diff --git a/lib/diameter/src/Makefile b/lib/diameter/src/Makefile -index 9afccf2..107d65b 100644 ---- a/lib/diameter/src/Makefile -+++ b/lib/diameter/src/Makefile -@@ -250,11 +250,8 @@ release_spec: opt - $(MAKE) $(EXAMPLE_DIRS:%/=release_examples_%) - - $(TARGET_DIRS:%/=release_src_%): release_src_%: -- $(INSTALL_DIR) "$(RELSYSDIR)/src/$*" -- $(INSTALL_DATA) $(filter $*/%, $(TARGET_MODULES:%=%.erl) \ -- $(INTERNAL_HRLS)) \ -- $(filter $*/%, compiler/$(DICT_YRL).yrl) \ -- "$(RELSYSDIR)/src/$*" -+ $(INSTALL_DATA) $(filter $*/%, $(INTERNAL_HRLS)) \ -+ "$(RELSYSDIR)/src/$*" || true - - $(EXAMPLE_DIRS:%/=release_examples_%): release_examples_%: - $(INSTALL_DIR) "$(RELSYSDIR)/examples/$*" -diff --git a/lib/edoc/src/Makefile b/lib/edoc/src/Makefile -index 4e5a418..c0bb0c3 100644 ---- a/lib/edoc/src/Makefile -+++ b/lib/edoc/src/Makefile -@@ -88,7 +88,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(OBJECTS) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(SOURCES) $(HRL_FILES) $(YRL_FILE) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" - - release_docs_spec: - -diff --git a/lib/eldap/src/Makefile b/lib/eldap/src/Makefile -index 2e1110e..b7f9b09 100644 ---- a/lib/eldap/src/Makefile -+++ b/lib/eldap/src/Makefile -@@ -98,10 +98,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" -- $(INSTALL_DIR) "$(RELSYSDIR)/asn1" -- $(INSTALL_DATA) ../asn1/$(ASN1_FILES) "$(RELSYSDIR)/asn1" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(EXTERNAL_HRL_FILES) "$(RELSYSDIR)/include" - -diff --git a/lib/erl_docgen/src/Makefile b/lib/erl_docgen/src/Makefile -index ef96f5d..d9a2f0d 100644 ---- a/lib/erl_docgen/src/Makefile -+++ b/lib/erl_docgen/src/Makefile -@@ -89,8 +89,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/et/src/Makefile b/lib/et/src/Makefile -index 377e593..668e278 100644 ---- a/lib/et/src/Makefile -+++ b/lib/et/src/Makefile -@@ -108,7 +108,6 @@ release_spec: opt - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" -diff --git a/lib/eunit/src/Makefile b/lib/eunit/src/Makefile -index 47aef10..78ddc74 100644 ---- a/lib/eunit/src/Makefile -+++ b/lib/eunit/src/Makefile -@@ -120,7 +120,6 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(PARSE_TRANSFORM_BIN) $(OBJECTS) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(PARSE_TRANSFORM) $(SOURCES) "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(INCLUDE_DELIVERABLES) "$(RELSYSDIR)/include" -diff --git a/lib/gs/src/Makefile b/lib/gs/src/Makefile -index f0200ca..86d3f74 100644 ---- a/lib/gs/src/Makefile -+++ b/lib/gs/src/Makefile -@@ -108,8 +108,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(APP_SRC) $(ERL_FILES) $(HRL_FILES) $(GEN_HRL_FILES) \ -- $(GSTK_GENERIC) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) $(GEN_HRL_FILES) \ -+ "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/bitmap" -diff --git a/lib/hipe/cerl/Makefile b/lib/hipe/cerl/Makefile -index d13dfb3..b09d62b 100644 ---- a/lib/hipe/cerl/Makefile -+++ b/lib/hipe/cerl/Makefile -@@ -101,7 +101,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/cerl" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/cerl" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/cerl" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/hipe/flow/Makefile b/lib/hipe/flow/Makefile -index 75e156b..5e394ca 100644 ---- a/lib/hipe/flow/Makefile -+++ b/lib/hipe/flow/Makefile -@@ -101,7 +101,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/flow" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(INC_FILES) "$(RELSYSDIR)/flow" -+ $(INSTALL_DATA) $(HRL_FILES) $(INC_FILES) "$(RELSYSDIR)/flow" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/hipe/icode/Makefile b/lib/hipe/icode/Makefile -index 87015aa..84f870d 100644 ---- a/lib/hipe/icode/Makefile -+++ b/lib/hipe/icode/Makefile -@@ -119,7 +119,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/icode" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/icode" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/icode" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/hipe/llvm/Makefile b/lib/hipe/llvm/Makefile -index 92f3789..82f3e77 100644 ---- a/lib/hipe/llvm/Makefile -+++ b/lib/hipe/llvm/Makefile -@@ -102,7 +102,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) $(RELSYSDIR)/llvm -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)/llvm -+ $(INSTALL_DATA) $(HRL_FILES) $(RELSYSDIR)/llvm - $(INSTALL_DIR) $(RELSYSDIR)/ebin - $(INSTALL_DATA) $(TARGET_FILES) $(RELSYSDIR)/ebin - -diff --git a/lib/hipe/main/Makefile b/lib/hipe/main/Makefile -index 66e4c3e..2f11670 100644 ---- a/lib/hipe/main/Makefile -+++ b/lib/hipe/main/Makefile -@@ -117,7 +117,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DATA) ../vsn.mk "$(RELSYSDIR)" - $(INSTALL_DIR) "$(RELSYSDIR)/main" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/main" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/main" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/hipe/misc/Makefile b/lib/hipe/misc/Makefile -index 16166f5..0ba5845 100644 ---- a/lib/hipe/misc/Makefile -+++ b/lib/hipe/misc/Makefile -@@ -101,7 +101,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/misc" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/misc" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/misc" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/hipe/rtl/Makefile b/lib/hipe/rtl/Makefile -index 751e876..98b7911 100644 ---- a/lib/hipe/rtl/Makefile -+++ b/lib/hipe/rtl/Makefile -@@ -104,7 +104,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/rtl" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/rtl" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/rtl" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/hipe/util/Makefile b/lib/hipe/util/Makefile -index a5ee232..f03e41d 100644 ---- a/lib/hipe/util/Makefile -+++ b/lib/hipe/util/Makefile -@@ -49,7 +49,6 @@ HIPE_MODULES = - endif - MODULES = hipe_timing hipe_dot hipe_digraph $(HIPE_MODULES) - --HRL_FILES= - ERL_FILES= $(MODULES:%=%.erl) - TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) - DOC_FILES= $(MODULES:%=$(DOCS)/%.html) -@@ -103,8 +102,6 @@ $(DOCS)/%.html:%.erl - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/util" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/util" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/ic/src/Makefile b/lib/ic/src/Makefile -index e8769d2..965d0e7 100644 ---- a/lib/ic/src/Makefile -+++ b/lib/ic/src/Makefile -@@ -199,7 +199,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/examples" - $(INSTALL_DIR) "$(RELSYSDIR)/examples/c-client" - $(INSTALL_DATA) $(CCL_EX_FILES) "$(RELSYSDIR)/examples/c-client" -diff --git a/lib/inets/src/ftp/Makefile b/lib/inets/src/ftp/Makefile -index 2c3d2b6..de0450e 100644 ---- a/lib/inets/src/ftp/Makefile -+++ b/lib/inets/src/ftp/Makefile -@@ -90,7 +90,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/ftp" -- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/ftp" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/ftp" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/inets/src/http_client/Makefile b/lib/inets/src/http_client/Makefile -index f0d4ce1..35c4ffc 100644 ---- a/lib/inets/src/http_client/Makefile -+++ b/lib/inets/src/http_client/Makefile -@@ -91,7 +91,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/http_client" -- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_client" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_client" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/inets/src/http_lib/Makefile b/lib/inets/src/http_lib/Makefile -index 51167b3..a623824 100644 ---- a/lib/inets/src/http_lib/Makefile -+++ b/lib/inets/src/http_lib/Makefile -@@ -89,7 +89,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/http_lib" -- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_lib" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_lib" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/inets/src/http_server/Makefile b/lib/inets/src/http_server/Makefile -index 2660d04..c873a27 100644 ---- a/lib/inets/src/http_server/Makefile -+++ b/lib/inets/src/http_server/Makefile -@@ -126,7 +126,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/http_server" -- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/http_server" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/http_server" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/inets/src/inets_app/Makefile b/lib/inets/src/inets_app/Makefile -index 22426ee..0b0cfb8 100644 ---- a/lib/inets/src/inets_app/Makefile -+++ b/lib/inets/src/inets_app/Makefile -@@ -113,7 +113,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/inets_app" -- $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/inets_app" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/inets_app" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(EXTERNAL_HRL_FILES) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" -diff --git a/lib/inets/src/tftp/Makefile b/lib/inets/src/tftp/Makefile -index b368b12..5eddaf0 100644 ---- a/lib/inets/src/tftp/Makefile -+++ b/lib/inets/src/tftp/Makefile -@@ -95,7 +95,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/tftp" -- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src/tftp" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/tftp" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(BEHAVIOUR_TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/kernel/src/Makefile b/lib/kernel/src/Makefile -index c7c70ad..3e1792f 100644 ---- a/lib/kernel/src/Makefile -+++ b/lib/kernel/src/Makefile -@@ -199,7 +199,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" -diff --git a/lib/megaco/src/app/Makefile b/lib/megaco/src/app/Makefile -index d18da53..4a9f4d2 100644 ---- a/lib/megaco/src/app/Makefile -+++ b/lib/megaco/src/app/Makefile -@@ -113,7 +113,7 @@ release_spec: opt - $(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/app" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/app" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/app" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(EXTERNAL_HRL_FILES) "$(RELSYSDIR)/include" - -diff --git a/lib/megaco/src/binary/Makefile b/lib/megaco/src/binary/Makefile -index c1fd66b..0699ffa 100644 ---- a/lib/megaco/src/binary/Makefile -+++ b/lib/megaco/src/binary/Makefile -@@ -175,7 +175,7 @@ release_spec: opt - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/binary" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(ASN1_FILES) "$(RELSYSDIR)/src/binary" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/binary" - - - release_docs_spec: -diff --git a/lib/megaco/src/engine/Makefile b/lib/megaco/src/engine/Makefile -index 7cecef1..841a88a 100644 ---- a/lib/megaco/src/engine/Makefile -+++ b/lib/megaco/src/engine/Makefile -@@ -101,7 +101,7 @@ release_spec: opt - $(INSTALL_DATA) $(BEHAVIOUR_TARGET_FILES) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/engine" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/engine" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/engine" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - - -diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in -index bd62e8b..cce5a8d 100644 ---- a/lib/megaco/src/flex/Makefile.in -+++ b/lib/megaco/src/flex/Makefile.in -@@ -267,8 +267,6 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src/flex" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" - $(INSTALL_DIR) "$(RELSYSDIR)/include" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/flex" -- $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true) - $(INSTALL_DATA) $(FLEX_FILES) "$(RELSYSDIR)/src/flex" - $(INSTALL_PROGRAM) $(SOLIBS) "$(RELSYSDIR)/priv/lib" -diff --git a/lib/megaco/src/tcp/Makefile b/lib/megaco/src/tcp/Makefile -index 0c30aba..aa553ff 100644 ---- a/lib/megaco/src/tcp/Makefile -+++ b/lib/megaco/src/tcp/Makefile -@@ -93,7 +93,7 @@ release_spec: opt - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/tcp" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/tcp" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/tcp" - - - release_docs_spec: -diff --git a/lib/megaco/src/text/Makefile b/lib/megaco/src/text/Makefile -index cab4256..d5cf217 100644 ---- a/lib/megaco/src/text/Makefile -+++ b/lib/megaco/src/text/Makefile -@@ -134,7 +134,7 @@ release_spec: opt - $(INSTALL_DATA) $(BEAM_TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/text" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_YRL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/text" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/text" - - - release_docs_spec: -diff --git a/lib/megaco/src/udp/Makefile b/lib/megaco/src/udp/Makefile -index 9486804..ea4830c 100644 ---- a/lib/megaco/src/udp/Makefile -+++ b/lib/megaco/src/udp/Makefile -@@ -93,7 +93,7 @@ release_spec: opt - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/udp" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/udp" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/udp" - - - release_docs_spec: -diff --git a/lib/mnesia/src/Makefile b/lib/mnesia/src/Makefile -index ac38fa0..20bce7e 100644 ---- a/lib/mnesia/src/Makefile -+++ b/lib/mnesia/src/Makefile -@@ -132,7 +132,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/observer/src/Makefile b/lib/observer/src/Makefile -index c120865..6831d23 100644 ---- a/lib/observer/src/Makefile -+++ b/lib/observer/src/Makefile -@@ -149,7 +149,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/examples" - $(INSTALL_DATA) $(EXAMPLE_FILES) "$(RELSYSDIR)/examples" -diff --git a/lib/odbc/src/Makefile b/lib/odbc/src/Makefile -index bfbda8a..6e4ad54 100644 ---- a/lib/odbc/src/Makefile -+++ b/lib/odbc/src/Makefile -@@ -109,7 +109,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(EXT_HRL_FILES) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" -diff --git a/lib/orber/COSS/CosNaming/Makefile b/lib/orber/COSS/CosNaming/Makefile -index 8140620..73df530 100644 ---- a/lib/orber/COSS/CosNaming/Makefile -+++ b/lib/orber/COSS/CosNaming/Makefile -@@ -144,8 +144,8 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/COSS/CosNaming" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(IDL_FILE) "$(RELSYSDIR)/COSS/CosNaming" -- $(INSTALL_DATA) $(GEN_FILES) "$(RELSYSDIR)/COSS/CosNaming" -+ $(INSTALL_DATA) $(HRL_FILES) $(IDL_FILE) "$(RELSYSDIR)/COSS/CosNaming" -+ $(INSTALL_DATA) $(GEN_HRL_FILES) $(GEN_EXT_HRL_FILES) "$(RELSYSDIR)/COSS/CosNaming" - - - release_docs_spec: -diff --git a/lib/orber/src/Makefile b/lib/orber/src/Makefile -index 398e481..f079e77 100644 ---- a/lib/orber/src/Makefile -+++ b/lib/orber/src/Makefile -@@ -252,7 +252,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(GEN_HRL_FILES_LOC) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(GEN_HRL_FILES_LOC) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(EXTERNAL_HRL_FILES) $(GEN_HRL_FILES_EXT) "$(RELSYSDIR)/include" - -diff --git a/lib/os_mon/src/Makefile b/lib/os_mon/src/Makefile -index 4e78cf8..69d434c 100644 ---- a/lib/os_mon/src/Makefile -+++ b/lib/os_mon/src/Makefile -@@ -104,7 +104,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" -diff --git a/lib/ose/src/Makefile b/lib/ose/src/Makefile -index 88f8957..ab08a88 100644 ---- a/lib/ose/src/Makefile -+++ b/lib/ose/src/Makefile -@@ -93,9 +93,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" -- $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/otp_mibs/src/Makefile b/lib/otp_mibs/src/Makefile -index 6096240..cbc41e6 100644 ---- a/lib/otp_mibs/src/Makefile -+++ b/lib/otp_mibs/src/Makefile -@@ -95,8 +95,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGETS) "$(RELSYSDIR)/ebin" - -diff --git a/lib/parsetools/src/Makefile b/lib/parsetools/src/Makefile -index 2ee2285..ea075ed 100644 ---- a/lib/parsetools/src/Makefile -+++ b/lib/parsetools/src/Makefile -@@ -90,8 +90,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/include" -diff --git a/lib/percept/src/Makefile b/lib/percept/src/Makefile -index 0282d63..5902da3 100644 ---- a/lib/percept/src/Makefile -+++ b/lib/percept/src/Makefile -@@ -96,7 +96,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - # $(INSTALL_DIR) "$(RELSYSDIR)/include" - # $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" -diff --git a/lib/public_key/asn1/Makefile b/lib/public_key/asn1/Makefile -index c1b3bc8..3d021cf 100644 ---- a/lib/public_key/asn1/Makefile -+++ b/lib/public_key/asn1/Makefile -@@ -95,8 +95,8 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/asn1" -- $(INSTALL_DATA) $(ASN_ASNS) $(ASN_ERLS) $(ASN_HRLS) $(ASN_CONFIGS) \ -- $(GEN_ERLS) "$(RELSYSDIR)/asn1" -+ $(INSTALL_DATA) $(ASN_ASNS) $(ASN_HRLS) $(ASN_CONFIGS) \ -+ "$(RELSYSDIR)/asn1" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/public_key/src/Makefile b/lib/public_key/src/Makefile -index 09393e8..eb4c54d 100644 ---- a/lib/public_key/src/Makefile -+++ b/lib/public_key/src/Makefile -@@ -49,8 +49,6 @@ MODULES = \ - - HRL_FILES = $(INCLUDE)/public_key.hrl - --INTERNAL_HRL_FILES = -- - ERL_FILES = $(MODULES:%=%.erl) - - TARGET_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) -@@ -103,8 +101,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" -diff --git a/lib/reltool/src/Makefile b/lib/reltool/src/Makefile -index b8387ff..2012af9 100644 ---- a/lib/reltool/src/Makefile -+++ b/lib/reltool/src/Makefile -@@ -99,7 +99,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin" -diff --git a/lib/runtime_tools/src/Makefile b/lib/runtime_tools/src/Makefile -index 8d2bcfe..d1a9cac 100644 ---- a/lib/runtime_tools/src/Makefile -+++ b/lib/runtime_tools/src/Makefile -@@ -96,8 +96,6 @@ docs: - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/examples" -diff --git a/lib/sasl/src/Makefile b/lib/sasl/src/Makefile -index ab2d3a3..bb53a67 100644 ---- a/lib/sasl/src/Makefile -+++ b/lib/sasl/src/Makefile -@@ -92,7 +92,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" -diff --git a/lib/snmp/src/agent/Makefile b/lib/snmp/src/agent/Makefile -index beed696..752072d 100644 ---- a/lib/snmp/src/agent/Makefile -+++ b/lib/snmp/src/agent/Makefile -@@ -130,7 +130,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/agent" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/agent" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/agent" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \ - "$(RELSYSDIR)/ebin" -diff --git a/lib/snmp/src/app/Makefile b/lib/snmp/src/app/Makefile -index b8cc4b8..d806efb 100644 ---- a/lib/snmp/src/app/Makefile -+++ b/lib/snmp/src/app/Makefile -@@ -131,7 +131,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/app" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/app" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/app" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \ - "$(RELSYSDIR)/ebin" -diff --git a/lib/snmp/src/compile/Makefile b/lib/snmp/src/compile/Makefile -index f63fc18..9759451 100644 ---- a/lib/snmp/src/compile/Makefile -+++ b/lib/snmp/src/compile/Makefile -@@ -122,7 +122,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/compiler" -- $(INSTALL_DATA) $(ESCRIPT_SRC) $(PARSER_SRC) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/compiler" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/compiler" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(EBIN_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/bin" -diff --git a/lib/snmp/src/manager/Makefile b/lib/snmp/src/manager/Makefile -index c76dbac..548823a 100644 ---- a/lib/snmp/src/manager/Makefile -+++ b/lib/snmp/src/manager/Makefile -@@ -113,7 +113,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/manager" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/manager" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/manager" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - # $(INSTALL_DIR) "$(RELSYSDIR)/include" -diff --git a/lib/snmp/src/misc/Makefile b/lib/snmp/src/misc/Makefile -index 698c341..3344a0c 100644 ---- a/lib/snmp/src/misc/Makefile -+++ b/lib/snmp/src/misc/Makefile -@@ -111,7 +111,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/misc" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src/misc" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src/misc" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - # $(INSTALL_DIR) "$(RELSYSDIR)/include" -diff --git a/lib/ssh/src/Makefile b/lib/ssh/src/Makefile -index 90d7110..e725c6c 100644 ---- a/lib/ssh/src/Makefile -+++ b/lib/ssh/src/Makefile -@@ -135,7 +135,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(BEHAVIOUR_TARGET_FILES) $(TARGET_FILES) $(APP_TARGET) \ - $(APPUP_TARGET) "$(RELSYSDIR)/ebin" -diff --git a/lib/ssl/src/Makefile b/lib/ssl/src/Makefile -index 0c00a65..acec405 100644 ---- a/lib/ssl/src/Makefile -+++ b/lib/ssl/src/Makefile -@@ -137,7 +137,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(BEHAVIOUR_TARGET_FILES) $(TARGET_FILES) $(APP_TARGET) \ - $(APPUP_TARGET) "$(RELSYSDIR)/ebin" -diff --git a/lib/stdlib/src/Makefile b/lib/stdlib/src/Makefile -index 9ab2cd4..876bfd2 100644 ---- a/lib/stdlib/src/Makefile -+++ b/lib/stdlib/src/Makefile -@@ -203,7 +203,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) erl_parse.yrl "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" -diff --git a/lib/syntax_tools/src/Makefile b/lib/syntax_tools/src/Makefile -index c9fbad8..2fc7f18 100644 ---- a/lib/syntax_tools/src/Makefile -+++ b/lib/syntax_tools/src/Makefile -@@ -82,8 +82,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(OBJECTS) "$(RELSYSDIR)/ebin" -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(SOURCES) "$(RELSYSDIR)/src" - - release_docs_spec: - -diff --git a/lib/test_server/src/Makefile b/lib/test_server/src/Makefile -index 35bbad3..deb7caf 100644 ---- a/lib/test_server/src/Makefile -+++ b/lib/test_server/src/Makefile -@@ -123,7 +123,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DATA) $(INTERNAL_HRL_FILES) $(TS_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" -diff --git a/lib/tools/src/Makefile b/lib/tools/src/Makefile -index e606b97..1beb8cc 100644 ---- a/lib/tools/src/Makefile -+++ b/lib/tools/src/Makefile -@@ -106,7 +106,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(YRL_FILE) $(HRL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \ - "$(RELSYSDIR)/ebin" -diff --git a/lib/typer/src/Makefile b/lib/typer/src/Makefile -index a7059de..0b1ae2a 100644 ---- a/lib/typer/src/Makefile -+++ b/lib/typer/src/Makefile -@@ -101,9 +101,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(YRL_FILES) \ -- "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(INSTALL_FILES) "$(RELSYSDIR)/ebin" - -diff --git a/lib/webtool/src/Makefile b/lib/webtool/src/Makefile -index af565c8..6c65b26 100644 ---- a/lib/webtool/src/Makefile -+++ b/lib/webtool/src/Makefile -@@ -87,8 +87,6 @@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) \ - "$(RELSYSDIR)/ebin" -diff --git a/lib/wx/src/Makefile b/lib/wx/src/Makefile -index 26574ed..266a5d6 100644 ---- a/lib/wx/src/Makefile -+++ b/lib/wx/src/Makefile -@@ -121,9 +121,9 @@ $(EBIN)/%.beam: $(EGEN)/%.erl $(HEADER_FILES) - include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(HRL_FILES) $(ERL_FILES) "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/src/gen" -- $(INSTALL_DATA) $(GEN_HRL) $(GEN_FILES) "$(RELSYSDIR)/src/gen" -+ $(INSTALL_DATA) $(GEN_HRL) "$(RELSYSDIR)/src/gen" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(EXT_HRL) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" -diff --git a/lib/xmerl/src/Makefile b/lib/xmerl/src/Makefile -index d5ce3fe..e21e4b1 100644 ---- a/lib/xmerl/src/Makefile -+++ b/lib/xmerl/src/Makefile -@@ -217,9 +217,7 @@ release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/ebin" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) $(APP_SRC) $(APPUP_SRC) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) xmerl_xpath_parse.yrl "$(RELSYSDIR)/src" -- $(INSTALL_DATA) xmerl_b64Bin.yrl "$(RELSYSDIR)/src" -+ $(INSTALL_DATA) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(HRL_FILES) "$(RELSYSDIR)/include" - diff --git a/unmaintained/erlang17/otp-0007-Split-off-webtool-dependency-from-tools.patch b/unmaintained/erlang17/otp-0007-Split-off-webtool-dependency-from-tools.patch deleted file mode 100644 index f2de8ac471..0000000000 --- a/unmaintained/erlang17/otp-0007-Split-off-webtool-dependency-from-tools.patch +++ /dev/null @@ -1,40 +0,0 @@ -From: Peter Lemenkov -Date: Sat, 8 Nov 2014 22:54:57 +0300 -Subject: [PATCH] Split off webtool dependency from tools - -Signed-off-by: Peter Lemenkov - -diff --git a/lib/tools/src/cover_web.erl b/lib/tools/src/cover_web.erl -index 69f2f3b..9085300 100644 ---- a/lib/tools/src/cover_web.erl -+++ b/lib/tools/src/cover_web.erl -@@ -50,14 +50,25 @@ - %%%---------------------------------------------------------------------- - %% Start webtool and webcover from erlang shell - start() -> -- webtool:start(), -- webtool:start_tools([],"app=webcover"), -+ try -+ % Disable automatic dependency picking up -+ erlang:apply(webtool, start, []), -+ erlang:apply(webtool, start_tools, [[],"app=webcover"]) -+ catch -+ error:undef -> error_logger:error_msg("No erlang-webtool found.~nPlease install erlang-webtool package first.~n") -+ end, - ok. - - %% Stop webtool and webcover from erlang shell - stop() -> -- webtool:stop_tools([],"app=webcover"), -- webtool:stop(). -+ try -+ % Disable automatic dependency picking up -+ erlang:apply(webtool, stop_tools, [[],"app=webcover"]), -+ erlang:apply(webtool, stop, []) -+ catch -+ error:undef -> error_logger:error_msg("No erlang-webtool found.~nPlease install erlang-webtool package first.~n") -+ end, -+ ok. - - - diff --git a/unmaintained/erlang17/otp-0008-Introduce-os-getenv-2.patch b/unmaintained/erlang17/otp-0008-Introduce-os-getenv-2.patch deleted file mode 100644 index 6c48db2122..0000000000 --- a/unmaintained/erlang17/otp-0008-Introduce-os-getenv-2.patch +++ /dev/null @@ -1,63 +0,0 @@ -From: Peter Lemenkov -Date: Sat, 8 Nov 2014 15:11:04 +0300 -Subject: [PATCH] Introduce os:getenv/2 - -Signed-off-by: Peter Lemenkov - -diff --git a/lib/kernel/doc/src/os.xml b/lib/kernel/doc/src/os.xml -index 2b57e75..8b85f24 100644 ---- a/lib/kernel/doc/src/os.xml -+++ b/lib/kernel/doc/src/os.xml -@@ -100,6 +100,19 @@ DirOut = os:cmd("dir"), % on Win32 platform - - - -+ -+ Get the value of an environment variable -+ -+

Returns the Value of the environment variable -+ VarName, or DefaultValue if the environment variable -+ is undefined.

-+

If Unicode file name encoding is in effect (see the erl manual -+ page), the strings (both VarName and -+ Value) may contain characters with codepoints > 255.

-+
-+
-+ - - Return the process identifier of the emulator process - -diff --git a/lib/kernel/src/os.erl b/lib/kernel/src/os.erl -index 187fd00..8aaf13b 100644 ---- a/lib/kernel/src/os.erl -+++ b/lib/kernel/src/os.erl -@@ -26,7 +26,7 @@ - - %%% BIFs - ---export([getenv/0, getenv/1, getpid/0, putenv/2, timestamp/0, unsetenv/1]). -+-export([getenv/0, getenv/1, getenv/2, getpid/0, putenv/2, timestamp/0, unsetenv/1]). - - -spec getenv() -> [string()]. - -@@ -39,6 +39,19 @@ getenv() -> erlang:nif_error(undef). - getenv(_) -> - erlang:nif_error(undef). - -+-spec getenv(VarName, DefaultValue) -> Value when -+ VarName :: string(), -+ DefaultValue :: string(), -+ Value :: string(). -+ -+getenv(VarName, DefaultValue) -> -+ case os:getenv(VarName) of -+ false -> -+ DefaultValue; -+ Value -> -+ Value -+ end. -+ - -spec getpid() -> Value when - Value :: string(). - diff --git a/unmaintained/erlang17/otp-0009-Patch-removes-support-for-SSLv3-protocol-because-it-.patch b/unmaintained/erlang17/otp-0009-Patch-removes-support-for-SSLv3-protocol-because-it-.patch deleted file mode 100644 index fa55663342..0000000000 --- a/unmaintained/erlang17/otp-0009-Patch-removes-support-for-SSLv3-protocol-because-it-.patch +++ /dev/null @@ -1,100 +0,0 @@ -From: Sergei Golovan -Date: Sun, 30 Nov 2014 20:20:41 +0300 -Subject: [PATCH] Patch removes support for SSLv3 protocol because it is proved - to be insecure and nobody should use it anymore. - - -diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml -index b53344e..b245621 100644 ---- a/lib/ssl/doc/src/ssl.xml -+++ b/lib/ssl/doc/src/ssl.xml -@@ -123,7 +123,7 @@ - -

sslsocket() - opaque to the user.

- --

protocol() = sslv3 | tlsv1 | 'tlsv1.1' | 'tlsv1.2'

-+

protocol() = tlsv1 | 'tlsv1.1' | 'tlsv1.2'

- -

ciphers() = [ciphersuite()] | string() (according to old API)

- -diff --git a/lib/ssl/doc/src/ssl_app.xml b/lib/ssl/doc/src/ssl_app.xml -index 43cb393..ff12e04 100644 ---- a/lib/ssl/doc/src/ssl_app.xml -+++ b/lib/ssl/doc/src/ssl_app.xml -@@ -47,10 +47,10 @@ -

-

Note that the environment parameters can be set on the command line, - for instance,

--

erl ... -ssl protocol_version '[sslv3, tlsv1]' .... -+

erl ... -ssl protocol_version '[tlsv1.1, tlsv1]' .... -

- -- ]]>. -+ ]]>. - -

Protocol that will be supported by started clients and - servers. If this option is not set it will default to all -@@ -58,6 +58,9 @@ - Note that this option may be overridden by the version option - to ssl:connect/[2,3] and ssl:listen/2. -

-+

For Debian GNU/Linux distribution the sslv3 protocol was -+ disabled due to its security issues. -+

-
- - ]]> -diff --git a/lib/ssl/src/ssl_internal.hrl b/lib/ssl/src/ssl_internal.hrl -index 75efb64..155fa81 100644 ---- a/lib/ssl/src/ssl_internal.hrl -+++ b/lib/ssl/src/ssl_internal.hrl -@@ -67,8 +67,8 @@ - -define(TRUE, 0). - -define(FALSE, 1). - ---define(ALL_SUPPORTED_VERSIONS, ['tlsv1.2', 'tlsv1.1', tlsv1, sslv3]). ---define(MIN_SUPPORTED_VERSIONS, ['tlsv1.1', tlsv1, sslv3]). -+-define(ALL_SUPPORTED_VERSIONS, ['tlsv1.2', 'tlsv1.1', tlsv1]). -+-define(MIN_SUPPORTED_VERSIONS, ['tlsv1.1', tlsv1]). - -define(ALL_DATAGRAM_SUPPORTED_VERSIONS, ['dtlsv1.2', dtlsv1]). - -define(MIN_DATAGRAM_SUPPORTED_VERSIONS, ['dtlsv1.2', dtlsv1]). - -diff --git a/lib/ssl/src/ssl_record.hrl b/lib/ssl/src/ssl_record.hrl -index 6aab35d..1511abd 100644 ---- a/lib/ssl/src/ssl_record.hrl -+++ b/lib/ssl/src/ssl_record.hrl -@@ -144,6 +144,7 @@ - %% }). - - -define(LOWEST_MAJOR_SUPPORTED_VERSION, 3). -+-define(LOWEST_MINOR_SUPPORTED_VERSION, 1). - - - -record(generic_stream_cipher, { -diff --git a/lib/ssl/src/tls_record.erl b/lib/ssl/src/tls_record.erl -index f50ea22..aa4fc8d 100644 ---- a/lib/ssl/src/tls_record.erl -+++ b/lib/ssl/src/tls_record.erl -@@ -276,14 +276,20 @@ supported_protocol_versions([_|_] = Vsns) -> - %%-------------------------------------------------------------------- - -spec is_acceptable_version(tls_version()) -> boolean(). - is_acceptable_version({N,_}) -- when N >= ?LOWEST_MAJOR_SUPPORTED_VERSION -> -+ when N > ?LOWEST_MAJOR_SUPPORTED_VERSION -> -+ true; -+is_acceptable_version({N,M}) -+ when N == ?LOWEST_MAJOR_SUPPORTED_VERSION andalso M >= ?LOWEST_MINOR_SUPPORTED_VERSION -> - true; - is_acceptable_version(_) -> - false. - - -spec is_acceptable_version(tls_version(), Supported :: [tls_version()]) -> boolean(). - is_acceptable_version({N,_} = Version, Versions) -- when N >= ?LOWEST_MAJOR_SUPPORTED_VERSION -> -+ when N > ?LOWEST_MAJOR_SUPPORTED_VERSION -> -+ lists:member(Version, Versions); -+is_acceptable_version({N,M} = Version, Versions) -+ when N == ?LOWEST_MAJOR_SUPPORTED_VERSION andalso M >= ?LOWEST_MINOR_SUPPORTED_VERSION -> - lists:member(Version, Versions); - is_acceptable_version(_,_) -> - false. diff --git a/unmaintained/erlang17/otp-0010-fix-nteventlog-remove.patch b/unmaintained/erlang17/otp-0010-fix-nteventlog-remove.patch deleted file mode 100644 index 5fa5731a20..0000000000 --- a/unmaintained/erlang17/otp-0010-fix-nteventlog-remove.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- otp_src_17.5-orig/lib/os_mon/ebin/os_mon.app -+++ otp_src_17.5-fixed/lib/os_mon/ebin/os_mon.app -@@ -21,7 +21,7 @@ - [{description, "CPO CXC 138 46"}, - {vsn, "2.3.1"}, - {modules, [os_mon, os_mon_mib, os_sup, -- disksup, memsup, cpu_sup, os_mon_sysinfo, nteventlog]}, -+ disksup, memsup, cpu_sup, os_mon_sysinfo]}, - {registered, [os_mon_sup, os_mon_sysinfo, disksup, memsup, cpu_sup, - os_sup_server]}, - {applications, [kernel, stdlib, sasl]}, diff --git a/unmaintained/erlang17/remove-private-unit32.patch b/unmaintained/erlang17/remove-private-unit32.patch deleted file mode 100644 index cfc08cc1fe..0000000000 --- a/unmaintained/erlang17/remove-private-unit32.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- otp_src_17.4/erts/emulator/sys/common/erl_poll.h -+++ otp_src_17.4-fixed/erts/emulator/sys/common/erl_poll.h -@@ -129,7 +129,7 @@ - #include - - #define ERTS_POLL_EV_E2N(EV) \ -- ((__uint32_t) (EV)) -+ ((uint32_t) (EV)) - #define ERTS_POLL_EV_N2E(EV) \ - ((ErtsPollEvents) (EV)) - diff --git a/unmaintained/erlang17/replace_glibc_check.patch b/unmaintained/erlang17/replace_glibc_check.patch deleted file mode 100644 index 170bbbb118..0000000000 --- a/unmaintained/erlang17/replace_glibc_check.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- otp_src_17.4/lib/erl_interface/src/connect/ei_resolve.c -+++ otp_src_17.4-fixed/lib/erl_interface/src/connect/ei_resolve.c -@@ -615,7 +615,7 @@ - #ifndef HAVE_GETHOSTBYNAME_R - return my_gethostbyaddr_r(addr,length,type,hostp,buffer,buflen,h_errnop); - #else --#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000) || defined(__DragonFly__)) -+#if (defined(_BSD_SOURCE) || (__FreeBSD_version >= 602000) || defined(__DragonFly__)) - struct hostent *result; - - gethostbyaddr_r(addr, length, type, hostp, buffer, buflen, &result, -@@ -642,7 +642,7 @@ - #ifndef HAVE_GETHOSTBYNAME_R - return my_gethostbyname_r(name,hostp,buffer,buflen,h_errnop); - #else --#if (defined(__GLIBC__) || (__FreeBSD_version >= 602000) || defined(__DragonFly__) || defined(__ANDROID__)) -+#if (defined(_BSD_SOURCE) || (__FreeBSD_version >= 602000) || defined(__DragonFly__) || defined(__ANDROID__)) - struct hostent *result; - - gethostbyname_r(name, hostp, buffer, buflen, &result, h_errnop); diff --git a/unmaintained/etherdump/APKBUILD b/unmaintained/etherdump/APKBUILD deleted file mode 100644 index b0543a611a..0000000000 --- a/unmaintained/etherdump/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=etherdump -pkgver=2.11 -pkgrel=1 -pkgdesc="An extremely small packet sniffer" -url="http://freshmeat.net/projects/etherdump/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="" -install="" -subpackages="" -source="http://psydev.syw4e.info/new/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -Dm755 "$pkgname" "$pkgdir"/usr/bin/$pkgname || return 1 -} - -md5sums="74013efee212baa8860eda10187aed78 etherdump-2.11.tar.gz" -sha256sums="b4b345441da5582caf69202c9723dab6061c538c25734cbad3622498fb11e93a etherdump-2.11.tar.gz" -sha512sums="a3a1f10ddc2ff81af9501699ffd4eaba2b171c45d6c839870eb3efdda178d3ae07a399922308f3a8b327e530dcd49dd995db522b072e23dd352e7579e4848db7 etherdump-2.11.tar.gz" diff --git a/unmaintained/ethumb/APKBUILD b/unmaintained/ethumb/APKBUILD deleted file mode 100644 index ca13a103cd..0000000000 --- a/unmaintained/ethumb/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=ethumb -pkgver=1.7.9 -pkgrel=0 -pkgdesc="A thumbnail generation library" -url="http://trac.enlightenment.org/e/wiki/Ethumb" -arch="all" -license="BSD" -depends="" -depends_dev="eina-dev evas-dev ecore-dev edje-dev e_dbus-dev libexif-dev - emotion-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/ethumb-$pkgver.tar.gz" - -_builddir="$srcdir"/ethumb-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="d71a6fbcce2c6a8f46ea9b9b9d53cbab ethumb-1.7.9.tar.gz" -sha256sums="a97c39a9184ec7e1b352a7f251d97992b8082e3a0d6735ea1f34e4e40129a12f ethumb-1.7.9.tar.gz" -sha512sums="70b77a902bf1005d5e5d9a9c3531e9d119e083b7a94e9e28750d3005bc386bd1d57bc2111d42c19924c1fc0a10ea0bfe6c5d1d8ae679c9546157c098991a5795 ethumb-1.7.9.tar.gz" diff --git a/unmaintained/etracer/APKBUILD b/unmaintained/etracer/APKBUILD deleted file mode 100644 index 0642b7c5b4..0000000000 --- a/unmaintained/etracer/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=etracer -pkgver=0.6.0 -pkgrel=0 -pkgdesc="A racing game where you race tux down a mountain" -url="http://extremetuxracer.com/" -arch="all" -license="GPL2+" -depends="" -makedepends="sdl-dev mesa-dev sdl_mixer-dev tcl-dev freetype-dev libpng-dev - libx11-dev libxext-dev libxmu-dev libxi-dev libxt-dev glu-dev autoconf - automake sdl_image-dev" -install="" -source="http://downloads.sourceforge.net/extremetuxracer/etr-$pkgver.tar.xz" - -_builddir="${srcdir}"/etr-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - autoreconf -f -s -i -m -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="c85690864b14f9d422b73025cb01aa8d etr-0.6.0.tar.xz" -sha256sums="44312719a1e9aa33e5aa0c8ad50bb52df702d64fd2d16bf2abda62ee27bf893a etr-0.6.0.tar.xz" -sha512sums="c3127dd1f8d9b856cc42808713a53b48a64821f020ecf3bfaae8be96e36eaddfadfedcf394d445ea1f49df650763b50d35a5ad9cac03308bcb1a4a473e4906d8 etr-0.6.0.tar.xz" diff --git a/unmaintained/etracer/etracer-finite.patch b/unmaintained/etracer/etracer-finite.patch deleted file mode 100644 index ecfca4f260..0000000000 --- a/unmaintained/etracer/etracer-finite.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- extremetuxracer-0.4.orig/src/etracer.h -+++ extremetuxracer-0.4/src/etracer.h -@@ -142,7 +142,7 @@ - #elif defined( HAVE__ISNAN ) - # define FINITE(x) (!_isnan(x)) - #else --# error "You don't have finite(), _finite(), isnan(), or _isnan() on your system!" -+# define FINITE(x) (isfinite(x)) - #endif - - diff --git a/unmaintained/etracer/etracer-png.patch b/unmaintained/etracer/etracer-png.patch deleted file mode 100644 index 4a3469cd1f..0000000000 --- a/unmaintained/etracer/etracer-png.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp -+++ extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp -@@ -77,7 +77,7 @@ - - - png_get_IHDR(png_ptr, info_ptr, &width, &height, -- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL); -+ &bit_depth, &color_type, &interlace_type, (int *) NULL, (int *) NULL); - - if(bit_depth == 16) - png_set_strip_16(png_ptr); -@@ -88,7 +88,7 @@ - png_set_expand(png_ptr); - png_read_update_info(png_ptr, info_ptr); - png_get_IHDR(png_ptr, info_ptr, &width, &height, -- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL); -+ &bit_depth, &color_type, &interlace_type, (int *) NULL, (int *) NULL); - } - - if( color_type == PNG_COLOR_TYPE_GRAY || -@@ -96,7 +96,7 @@ - png_set_gray_to_rgb(png_ptr); - png_read_update_info(png_ptr, info_ptr); - png_get_IHDR(png_ptr, info_ptr, &width, &height, -- &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL); -+ &bit_depth, &color_type, &interlace_type, (int *) NULL, (int *) NULL); - } - - this->width=width; -@@ -114,7 +114,7 @@ - } - - png_read_end(png_ptr, info_ptr); -- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); -+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - fclose(fp); - } - diff --git a/unmaintained/ettercap/APKBUILD b/unmaintained/ettercap/APKBUILD deleted file mode 100644 index 7ae738ff86..0000000000 --- a/unmaintained/ettercap/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Leonardo Arena -# Maintainer: Fabian Affolter -pkgname=ettercap -pkgver=0.8.0 -pkgrel=0 -pkgdesc="Comprehensive suite for man in the middle attacks" -url="http://ettercap.github.io/ettercap/" -arch="all" -license="GPL2+" -depends="ethtool" -depends_dev="" -makedepends="$depends_dev autoconf automake bison cmake curl-dev flex - ghostscript groff libnet-dev libpcap-dev ncurses-dev - openssl-dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - mkdir build && cd build -} - -build() { - cd "$_builddir"/build - cmake \ - -D ENABLE_GTK=OFF \ - -D CMAKE_INSTALL_PREFIX=/usr \ - -D INSTALL_PREFIX=/usr \ - -D MAN_INSTALLDIR=/usr/share/man \ - -D CMAKE_SKIP_RPATH=ON \ - -D ENABLE_IPV6=yes \ - ../ || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="067514bb53ff76b81d578676e2048319 ettercap-0.8.0.tar.gz" -sha256sums="8013e2bbfc69af2939d8a40e6b31de5016fe75401e4b73207a0a8ac9053ac9bc ettercap-0.8.0.tar.gz" -sha512sums="6d32b229378af5aea1dc82537f84a36c557021a01ccf40f228e69f6e39baa3f3becbb6138417bcad2951811d9ea57e89f960f7bb132fc09502e0b08f7a4ca813 ettercap-0.8.0.tar.gz" diff --git a/unmaintained/evas/APKBUILD b/unmaintained/evas/APKBUILD deleted file mode 100644 index b5bb00afcb..0000000000 --- a/unmaintained/evas/APKBUILD +++ /dev/null @@ -1,78 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=evas -pkgver=1.7.9 -pkgrel=0 -pkgdesc="A hardware-accelerated retained canvas API" -url="http://trac.enlightenment.org/e/wiki/Evas" -arch="all" -license="BSD" -depends="" -depends_dev=" - eet-dev - eina-dev - fontconfig-dev - freetype-dev - fribidi-dev - harfbuzz-dev - " -makedepends="$depends_dev - automake autoconf libtool - giflib-dev - libice-dev - libjpeg-turbo-dev - libpng-dev - librsvg-dev - librsvg-dev - libx11-dev - libxcb-dev - libxrender-dev - mesa-dev - sdl-dev - tiff-dev - xcb-util-image-dev - " - -install="" -subpackages="$pkgname-dev" -source="http://download.enlightenment.org/releases/evas-$pkgver.tar.gz - fribidi-cflags.patch - " - -_builddir="$srcdir"/evas-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - libtoolize --force && aclocal && autoconf \ - && automake --add-missing --force || return 1 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --enable-gl-xlib \ - --enable-software-16-x11 \ - --enable-software-xcb \ - --enable-pthreads \ - --enable-async-events \ - --enable-async-preload \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="c96a23ede14cd0adb7e8e549e8acdee1 evas-1.7.9.tar.gz -ba33f6c8f3bfacea79532c706a7a6b63 fribidi-cflags.patch" -sha256sums="1fd687e43ebe3031be4ac7628043eae1aafca83ce6d1d1f06ff3b59fb4c027f0 evas-1.7.9.tar.gz -1b911f25b6a7911e1fa1c93d249f0f592b7bab187d1ceaf92915fb64dbe3288b fribidi-cflags.patch" -sha512sums="b92954926932a610fc0c48eff0c218495afad7e811f502b1b535e6f544741423e490f3a60f3c8a529fc92b113465749d08885854680df5dd6242f8b3095f5b20 evas-1.7.9.tar.gz -06f8e3ecd81a85c698b6c5c2bc8351d34f3f12ab5ac917d82846708143766d66b98c1fd9d4e267460ca8a534009aee6b49e95363ed60db79e2e9d3110c142f1a fribidi-cflags.patch" diff --git a/unmaintained/evas/fribidi-cflags.patch b/unmaintained/evas/fribidi-cflags.patch deleted file mode 100644 index b9a9cd0291..0000000000 --- a/unmaintained/evas/fribidi-cflags.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/modules/engines/software_x11/Makefile.am b/src/modules/engines/software_x11/Makefile.am -index 8c0961d..edab474 100644 ---- a/src/modules/engines/software_x11/Makefile.am -+++ b/src/modules/engines/software_x11/Makefile.am -@@ -40,6 +40,7 @@ AM_CPPFLAGS = \ - @FREETYPE_CFLAGS@ \ - @PIXMAN_CFLAGS@ \ - @EVAS_GENERAL_CFLAGS@ \ -+@FRIBIDI_CFLAGS@ \ - @evas_engine_software_xcb_cflags@ - - SOFTWARE_X11_SOURCES += \ diff --git a/unmaintained/evas_generic_loaders/APKBUILD b/unmaintained/evas_generic_loaders/APKBUILD deleted file mode 100644 index 8b8a5e5afb..0000000000 --- a/unmaintained/evas_generic_loaders/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=evas_generic_loaders -pkgver=1.7.9 -pkgrel=0 -pkgdesc="Extra loaders for GPL loaders and unstable libraries" -url="http://trac.enlightenment.org/e/wiki/Evas_Generic_Loaders" -arch="all" -license="BSD" -depends="" -makedepends="eina-dev poppler-dev gstreamer-dev gst-plugins-base-dev - libraw-dev librsvg-dev" -install="" -subpackages="" -source="http://download.enlightenment.org/releases/evas_generic_loaders-$pkgver.tar.gz" - -_builddir="$srcdir"/evas_generic_loaders-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --enable-poppler \ - --disable-spectre \ - --enable-libraw \ - --enable-svg \ - --enable-gstreamer \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="01bb7cf2c97014f087bbba4de237b3e8 evas_generic_loaders-1.7.9.tar.gz" -sha256sums="e163a97db7311cbc8489572f201c404929a52099b3156e54a9af2181f8389824 evas_generic_loaders-1.7.9.tar.gz" -sha512sums="991229bebd0c07b22e69fbbd104587eced03ae9032431b54a4ea4c12f76a5165c22dc8b1eff35ee1f9890d8a2a3ccdc9c78c59a3097431f9007007279666b417 evas_generic_loaders-1.7.9.tar.gz" diff --git a/unmaintained/evilwm/APKBUILD b/unmaintained/evilwm/APKBUILD deleted file mode 100644 index c5d0a2c6a5..0000000000 --- a/unmaintained/evilwm/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=evilwm -pkgver=1.1.0 -_myver="${pkgver//_/}" -pkgrel=0 -pkgdesc="A minimalist window manager for the X Window System" -url="http://www.6809.org.uk/evilwm/" -arch="all" -license="custom" -depends="" -depends_dev="" -makedepends="libx11-dev libxext-dev libxrandr-dev" -install="" -subpackages="$pkgname-doc" -source="http://www.6809.org.uk/evilwm/evilwm-$_myver.tar.gz" - -_builddir="$srcdir"/evilwm-$_myver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="5f14cc3019320860c85bb07c60a76bd7 evilwm-1.1.0.tar.gz" -sha256sums="cdc763c875b64ee3734f3cb764249e91ec659f550177ec1bb564304260ef0c75 evilwm-1.1.0.tar.gz" -sha512sums="e0df42422431698623cc41ccec7b626cc59f7ef4c17a90169e6410e374cc602de12fc075d42e7ed5699b2ca363c22a9e5361117a8748aceca9c66175fde46d25 evilwm-1.1.0.tar.gz" diff --git a/unmaintained/exaile/APKBUILD b/unmaintained/exaile/APKBUILD deleted file mode 100644 index e53066701e..0000000000 --- a/unmaintained/exaile/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Alan Lacerda -# Maintainer: Alan Lacerda -pkgname=exaile -pkgver=3.4.2 -pkgrel=2 -pkgdesc="A music player with a simple interface and powerful music management capabilities" -url="http://www.exaile.org/" -arch="noarch" -license="GPL2" -depends="python py-gtk py-dbus py-mutagen py-gst0.10 py-libxml2 - gst-plugins-base0.10 gst-plugins-good0.10" -depends_dev="" -makedepends="$depends_dev gettext" -install="" -subpackages="$pkgname-lang" -source="https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make PREFIX=/usr DESTDIR="${pkgdir}" install || return 1 -} - -md5sums="ff0081f548bc17435877c2c65b05c9b8 3.4.2.tar.gz" -sha256sums="0e280c317871e37cbe9db8d54d37a5bee99cf36ebd0f55048e41787d0461e4bf 3.4.2.tar.gz" -sha512sums="1a13585afc4eaa2b03c3be0bd25394e8c6df824999b676349f6efeabe9286d7c773eaf5938d7a644e9facb9b6184c02cc465fe1ec0d22057ab2cb8a521357312 3.4.2.tar.gz" diff --git a/unmaintained/exfat-utils/APKBUILD b/unmaintained/exfat-utils/APKBUILD deleted file mode 100644 index 8ae74f06aa..0000000000 --- a/unmaintained/exfat-utils/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=exfat-utils -pkgver=1.2.2 -pkgrel=0 -pkgdesc="Utilities for exFAT file system" -url="https://github.com/relan/exfat" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="https://github.com/relan/exfat/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir"/exfat-utils-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - - ./configure --prefix=/usr --sbindir=/usr/bin || return 1 - make CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}" \ - || return 1 - -} - -package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" install || return 1 - - # Install man pages - install -Dm444 dump/dumpexfat.8 "${pkgdir}/usr/share/man/man8/dumpexfat.8" \ - || return 1 - install -m444 fsck/exfatfsck.8 "${pkgdir}/usr/share/man/man8" \ - || return 1 - install -m444 mkfs/mkexfatfs.8 "${pkgdir}/usr/share/man/man8" \ - || return 1 - install -m444 label/exfatlabel.8 "${pkgdir}/usr/share/man/man8" \ - || return 1 -} - -md5sums="ae918dd8a360f1da2299f3c748c53253 exfat-utils-1.2.2.tar.gz" -sha256sums="60e33b51db5a8f79b035031bc61b120cdac3075dd27fad156ece4feeb82871f7 exfat-utils-1.2.2.tar.gz" -sha512sums="bd3c4d57b05aee7064e05a8af7ff8d7a1bf7b9a891d804c45fb6c5fcc19d877b75a25c32cfee462133f203a1bead3a65c40d5e32061b5dc4943f36c2a961c2b8 exfat-utils-1.2.2.tar.gz" diff --git a/unmaintained/fakechroot/APKBUILD b/unmaintained/fakechroot/APKBUILD deleted file mode 100644 index 06f0c9f5bc..0000000000 --- a/unmaintained/fakechroot/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=fakechroot -pkgver=2.16 -pkgrel=1 -pkgdesc="A fakeroot-like utility for chrooting" -url="http://github.com/fakechroot/fakechroot" -arch="all" -license="LGPL2+" -depends="" -depends_dev="" -makedepends="$depends_dev autoconf automake libtool" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/fakechroot/fakechroot/archive/${pkgver}.tar.gz" - -_builddir="${srcdir}/$pkgname-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - ./autogen.sh -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" || return 1 -} - -md5sums="f5f7326eaddaaf0229d70f22a0aef859 fakechroot-2.16.tar.gz" -sha256sums="c9baaa6aea853c1602ef5f3d8bdb153d5b5765f1e69cdf8244bab7417d61700c fakechroot-2.16.tar.gz" -sha512sums="c8cebf44ddd3ff21630db745b83f98984320d4730b53fbdaa9b7df545341146c87b8b9c2d85a4f31a516b7dcbc15aa83c5a9bf2bfc426de6e75fc88ce4e710f9 fakechroot-2.16.tar.gz" diff --git a/unmaintained/fancontroled/APKBUILD b/unmaintained/fancontroled/APKBUILD deleted file mode 100644 index 4d04858b43..0000000000 --- a/unmaintained/fancontroled/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=fancontroled -pkgver=0.1 -pkgrel=2 -pkgdesc="A temperature dependent fan speed control" -url="http://fancontroled.lukaperkov.net/" -arch="all" -license="GPL3" -depends="" -makedepends="lm_sensors-dev" -install="" -subpackages="" -source="http://code.lukaperkov.net/fancontroled/fancontroled-$pkgver.tar - link.patch - fancontroled.confd - fancontroled.initd - " - -_builddir="$srcdir"/fancontroled-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/sbin - make install DESTDIR="$pkgdir" || return 1 - install -Dm644 "$srcdir"/fancontroled.confd \ - "$pkgdir"/etc/conf.d/fancontroled || return 1 - install -Dm755 "$srcdir"/fancontroled.initd \ - "$pkgdir"/etc/init.d/fancontroled || return 1 -} - -md5sums="8c3a7efa99e58216ad4633d1e6ed1358 fancontroled-0.1.tar -099a824ba948f1f01da8d374024357fd link.patch -3b9e5e1557ad4877e23f88411e8b84f0 fancontroled.confd -b7e49fce1d8182559b808b1ce3b60e7b fancontroled.initd" -sha256sums="94b4602dfb913a846e2f40dd87e7085cddb5cd622a46744198a8abde2dcf44b4 fancontroled-0.1.tar -985490bb1c79cac191b160fe79f0f4d461cdea71d8f16c06b5a21d6613b1949a link.patch -3b9cc54a16bda45e81874966fa11b866a167f5cd2538da4b275899bc57d739b4 fancontroled.confd -18e780d5454c2de16641c758e5aeb1e1442eddfe03338230a5e14ba420d468be fancontroled.initd" -sha512sums="cd59b8db8d44798be31693138dcebe261a684e4a10fc08ffb24488d8d5a9eac6f827e82cf3632509acf91c461308c279fae70f40237d7fe9f48b480ce1cb56bd fancontroled-0.1.tar -6be24b0445ad2b3e6e7331192e1caba16fa8aa649a6e945ae5fb88d90f38310b4945216ee63facb9c817d1894f90959f056eff65956d7a1bdf5971400f0f7e4a link.patch -250637ce329d6d28ad801980563eb756b20aa222ca5ad5c8e79f5df51ac154a3ab1577d157e031f1a38409caabbf03e5900992177318393d4b32bbb87599d9ec fancontroled.confd -4784ad205f719338d23b3e5fe8515c51aa8ceb2a892f7ae05e668a1f2e61f425d195186bd321b13d7ac78a502401ed563d41f226411af09d2e3451b6dbd32ace fancontroled.initd" diff --git a/unmaintained/fancontroled/fancontroled.confd b/unmaintained/fancontroled/fancontroled.confd deleted file mode 100644 index 803a9c38d8..0000000000 --- a/unmaintained/fancontroled/fancontroled.confd +++ /dev/null @@ -1,17 +0,0 @@ -# possible options for FANCONTROLED_OPTS: -# -t --temp-sensor-chip Temperature sensor chip (e.g. lm75) -# -r --temp-read-field Temperature read fild (e.g. temp1_input) -# -m --min-temp Min fan speed on this temperature (°C) -# -M --max-temp Max fan speed on this temperature (°C) -# -f --fan-sensor-chip Fan sensor chip (e.g. g760a) -# -c --fan-control-field Fan control field (e.g. pwm1) -# -p --pwm-fan-min Min fan PWM -# -P --pwm-fan-max Max fan PWM -# -# example: -# FANCONTROLED_OPTS="-t lm75 -r temp1_input -m 30 -M 50 -f g760a -c pwm1 -p 1 -P 180" -# -# see http://fancontroled.lukaperkov.net/ for more info - -FANCONTROLED_OPTS="" - diff --git a/unmaintained/fancontroled/fancontroled.initd b/unmaintained/fancontroled/fancontroled.initd deleted file mode 100644 index 1da4422e83..0000000000 --- a/unmaintained/fancontroled/fancontroled.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/runscript - -command=/usr/sbin/fancontroled -command_args="${FANCONTROLED_OPTS}" -pidfile=/var/run/fancontroled.pid -description="Temperature dependent fan speed control" - -depend() { - need modules -} - -start_pre() { - if [ -z "$FANCONTROLED_OPTS" ]; then - eerror "Please set FANCONTROLED_OPTS in /etc/conf.d/$RC_SVCNAME" - return 1 - fi -} - diff --git a/unmaintained/fancontroled/link.patch b/unmaintained/fancontroled/link.patch deleted file mode 100644 index 328e78062d..0000000000 --- a/unmaintained/fancontroled/link.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./Makefile.orig -+++ ./Makefile -@@ -12,7 +12,7 @@ - OBJECTS = $(SOURCES:.c=.o) - - $(FANCONTROLED_TARGET): $(OBJECTS) $(HEADERS) -- $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(LIBS) $(OBJECTS) -D $(MACROS) -o $(FANCONTROLED_TARGET) -+ $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(OBJECTS) -D $(MACROS) -o $(FANCONTROLED_TARGET) $(LIBS) - - $(OBJECTS): $(SOURCES) - $(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(LIBS) -D $(MACROS) -c $(@:.o=.c) diff --git a/unmaintained/fetch-crl/APKBUILD b/unmaintained/fetch-crl/APKBUILD deleted file mode 100644 index 180d01c246..0000000000 --- a/unmaintained/fetch-crl/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=fetch-crl -pkgver=2.7.0 -pkgrel=1 -pkgdesc="Tool to keep Certificate Revocation Lists (CRLs) up-to-date" -url="http://dist.eugridpma.info/distribution/util/fetch-crl/" -arch="all" -license="custom" -subpackages="$pkgname-doc" -source=" - http://dist.eugridpma.info/distribution/util/$pkgname/$pkgname-$pkgver.tar.gz - $pkgname-2.7.0-bb-wget.patch - " - -build() { - cd "$srcdir/$pkgname-$pkgver" - - sed -i -e 's:etc/sysconfig:etc/fetch-crl:g' \ - edg-fetch-crl fetch-crl.cron fetch-crl.8 - sed -i -e 's:bin/bash:bin/sh:' fetch-crl.cron - patch -p1 -i "$srcdir"/$pkgname-2.7.0-bb-wget.patch || return 1 - - - _r=$pkgname-$pkgver - install -m755 -D edg-fetch-crl "$pkgdir"/usr/sbin/fetch-crl - install -m644 -D fetch-crl.sysconfig "$pkgdir"/etc/fetch-crl/fetch-crl - - install -m644 -D fetch-crl.8 "$pkgdir"/usr/share/man/man8/fetch-crl.8 - install -m644 -D README "$pkgdir"/usr/share/doc/$_r/README - install -m644 -D CHANGES "$pkgdir"/usr/share/doc/$_r/CHANGES - install -m755 -D fetch-crl.cron "$pkgdir"/usr/share/doc/$_r/fetch-crl.periodic -} - -md5sums="6b0ba042ac3d155f1cd9c7b0baf3c708 fetch-crl-2.7.0.tar.gz -613e4987db52cbd231cd4d7a46070d74 fetch-crl-2.7.0-bb-wget.patch" diff --git a/unmaintained/fetch-crl/fetch-crl-2.7.0-bb-wget.patch b/unmaintained/fetch-crl/fetch-crl-2.7.0-bb-wget.patch deleted file mode 100644 index 48fa7457e5..0000000000 --- a/unmaintained/fetch-crl/fetch-crl-2.7.0-bb-wget.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- fetch-crl-2.7.0/edg-fetch-crl.orig 2009-02-26 08:54:17 +0000 -+++ fetch-crl-2.7.0/edg-fetch-crl 2009-02-26 09:20:27 +0000 -@@ -94,8 +94,8 @@ - allWarnings=no # warnings follow verbosity - - # get defaults --WGET_RETRIES=2 --WGET_TIMEOUT=10 -+#WGET_RETRIES=2 -+#WGET_TIMEOUT=10 - FETCH_CRL_SYSCONFIG="${FETCH_CRL_SYSCONFIG:-/etc/fetch-crl/fetch-crl}" - - # specific work-around for incidental filesystem corruption -@@ -149,7 +149,15 @@ - fi - - # add the other default arguments -- wgetOptions="${wgetOptions} -t $WGET_RETRIES -T $WGET_TIMEOUT " -+ if [ -n "$WGET_RETRIES" ]; then -+ wgetOptions="${wgetOptions} -t $WGET_RETRIES " -+ fi -+ if [ -n "$WGET_TIMEOUT" ]; then -+ wgetOptions="${wgetOptions} -T $WGET_TIMEOUT " -+ fi -+ if [ -n "$WGET_TIMESTAMPING" ] && [ "$WGET_TIMESTAMPING" != "no" ]; then -+ wgetOptions="${wgetOptions} -N " -+ fi - - # only add "-q" if the extra options do not have a -v. They are exclusive - expr match "${wgetAdditionalOptions}" '.*-v' >/dev/null 2>&1 -@@ -175,8 +183,8 @@ - ${rm} -f "${cacheDirectory}/${hash}/pre" - ${cp} "${cacheDirectory}/${hash}/"* \ - "${cacheDirectory}/${hash}/pre" >/dev/null 2>&1 -- PrintDebug ${wget} ${wgetOptions} -N -P "${cacheDirectory}/${hash}" "${url}" -- ${wget} ${wgetOptions} -N -P "${cacheDirectory}/${hash}" "${url}" -+ PrintDebug ${wget} ${wgetOptions} -P "${cacheDirectory}/${hash}" "${url}" -+ ${wget} ${wgetOptions} -P "${cacheDirectory}/${hash}" "${url}" - rc=$? - if [ $rc -ne 0 ]; then - PrintWarning "RetrieveFileByURL: wget download error $rc for ${url}" diff --git a/unmaintained/fish-irssi/APKBUILD b/unmaintained/fish-irssi/APKBUILD deleted file mode 100644 index 270f7a7369..0000000000 --- a/unmaintained/fish-irssi/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=fish-irssi -pkgver=1.4 -pkgrel=0 -pkgdesc="irssi FiSH plugin" -url="https://github.com/falsovsky/FiSH-irssi" -arch="all" -license="custom" -depends="" -depends_dev="" -makedepends="$depends_dev irssi-dev openssl-dev glib-dev cmake" -install="" -subpackages="$pkgname-doc" -source="FiSH-irssi-$pkgver.tar.gz::https://github.com/falsovsky/FiSH-irssi/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/FiSH-irssi-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddirs" - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=True \ - -DCMAKE_BUILD_TYPE=Release \ - || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return -} - -md5sums="cf3a77c87e5b7377a8f6d544c24549bb FiSH-irssi-1.4.tar.gz" -sha256sums="2aa3efd91e23e2dde538168394c9c9eb86372340a672b3419c8aaaebdc93c48a FiSH-irssi-1.4.tar.gz" -sha512sums="445c9b3d447d69550693344bcab365a2a3ef66244e6ea30a8a2ed9a3f0027fb325336ec86c872e3b1cf9bd40453bcad6f151634a37727ec85bd5aee5b4c6db20 FiSH-irssi-1.4.tar.gz" diff --git a/unmaintained/flashcache-grsec/APKBUILD b/unmaintained/flashcache-grsec/APKBUILD deleted file mode 100644 index 1c5206a336..0000000000 --- a/unmaintained/flashcache-grsec/APKBUILD +++ /dev/null @@ -1,79 +0,0 @@ -# Maintainer: Natanael Copa -_flavor=${FLAVOR:-grsec} -_kpkg=linux-$_flavor -_realname=flashcache -_name=$_realname-$_flavor - -_kver=4.4.14 -_kpkgrel=1 - -_realver=3.1.2 -_mypkgrel=0 - -# source the kernel version -if [ -f ../linux-$_flavor/APKBUILD ]; then - . ../linux-$_flavor/APKBUILD - [ "$_kver" != "$pkgver" ] && die "$_name: Please update _kver to $pkgver" - [ "$_kpkgrel" != "$pkgrel" ] && die "$_name: Please update _kpkgrel to $pkgrel" -fi - -_kernelver=$_kver-r$_kpkgrel -_abi_release=${_kver}-${_kpkgrel}-${_flavor} - -pkgname=$_name -pkgver=$_kver -pkgrel=$(($_kpkgrel + $_mypkgrel)) -pkgdesc="a general purpose writeback block cache for Linux" -url="https://github.com/facebook/flashcache/" -arch="" -license="GPL" -depends="linux-${_flavor}=${_kernelver}" -makedepends="linux-${_flavor}-dev=${_kernelver}" -install= -install_if="linux-$_flavor=$_kernelver $_realname" -subpackages= -source="$_realname-$_realver.tar.gz::https://github.com/facebook/flashcache/archive/$_realver.tar.gz - depmod.patch - kernel-3.18.patch - kernel-4.2.patch - " - - -# override kernel's prepare() -prepare() { - cd "$srcdir/$_realname-$_realver" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$srcdir/$_realname-$_realver"/src - make CC="${CC:-gcc}" KCFLAGS="-fno-pie" \ - KERNEL_SOURCE_VERSION=$_abi_release modules \ - || return 1 -} - -package() { - cd "$srcdir/$_realname-$_realver"/src - - make DESTDIR="$pkgdir" CC="${CC:-gcc}" \ - KCFLAGS="-fno-pie" \ - KERNEL_SOURCE_VERSION=$_abi_release \ - DEPMOD=: modules_install || return 1 -} - -md5sums="b569604f7efce881e87752c9efc01965 flashcache-3.1.2.tar.gz -ef9bd511f2b964bf22863814679bfba3 depmod.patch -24462dd41268d045bd91ba88274115fb kernel-3.18.patch -29d3529370a569327a9a258f88dd30cc kernel-4.2.patch" -sha256sums="f1d97395c744850a909e5f57b69a0ce87c773f2761e0147dd78de5fec3ea61e2 flashcache-3.1.2.tar.gz -05c0fefaaaea624c12b9ff3e66e0029b8dcc0c0d3246e10683bf217e10b3c450 depmod.patch -34a008e4c2382c757e030280fc6ce66c739251ca7883ef7d45feba44e2a05134 kernel-3.18.patch -cf21af11f507fe81094933e3c79379067661a32d834f2ac2378a4dd67f50d080 kernel-4.2.patch" -sha512sums="03d88b2622b7a41b66cd5cf4637be52c3bd6f25ac1099d7ea247e8e9bdad8a040bf0d10bcee2f49de8621f0da755dfd8a03810d709faaa330b78b6c564872e72 flashcache-3.1.2.tar.gz -55543347d76171352199294a29bcf19ba6b511f57e63c2a4254c4ebad8829912c65cdbef95bc7485d079dd66c56c1624b9570e7faf038cc5cb80e81079fcadc6 depmod.patch -f09255bdc66711e35736a018f870b7a398bf05e3f1e8e4574a84967672152c510a4d6f8687ced49f52cfa63c57b407a393805e4df900de8ee6817e9c8c455306 kernel-3.18.patch -82b1c885e2884a1ece0e003b726067ed0818f40f92689145b15aff1e15e14e5c34ed9b38f35010519d584dd5c6d5dda3393ed09d716bd1bf9aa4e85524fdd2a2 kernel-4.2.patch" diff --git a/unmaintained/flashcache-grsec/depmod.patch b/unmaintained/flashcache-grsec/depmod.patch deleted file mode 100644 index 15c0615057..0000000000 --- a/unmaintained/flashcache-grsec/depmod.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ./src/Makefile.orig 2013-08-15 11:20:54.575932175 +0000 -+++ ./src/Makefile 2013-08-15 11:21:37.813472296 +0000 -@@ -24,6 +24,8 @@ - KERNEL_TREE := $(RHEL5_TREE) - endif - -+DEPMOD ?= depmod -+ - obj-m += flashcache.o - flashcache-objs := flashcache_conf.o flashcache_main.o flashcache_subr.o flashcache_ioctl.o flashcache_procfs.o - -@@ -42,7 +44,7 @@ - modules_install: modules - install -o root -g root -m 0755 -d $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/flashcache/ - install -o root -g root -m 0755 flashcache.ko $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/flashcache/ -- depmod -a $(KERNEL_SOURCE_VERSION) -+ $(DEPMOD) -a $(KERNEL_SOURCE_VERSION) - - .PHONY: utils_install - utils_install: utils diff --git a/unmaintained/flashcache-grsec/kernel-3.18.patch b/unmaintained/flashcache-grsec/kernel-3.18.patch deleted file mode 100644 index ba0dc631a3..0000000000 --- a/unmaintained/flashcache-grsec/kernel-3.18.patch +++ /dev/null @@ -1,288 +0,0 @@ -From 387fce7bf2143b55147ce4822cd68f694c0bc49a Mon Sep 17 00:00:00 2001 -From: Mohan Srinivasan -Date: Mon, 3 Nov 2014 11:57:38 -0800 -Subject: [PATCH] 3.17. 3.18 compilation fixes. - -Summary: -3.17. 3.18 compilation fixes. - -Test Plan: - -Reviewers: - -CC: - -Task ID: # - -Blame Rev: ---- - src/flashcache_conf.c | 32 ++++++++++++++++++++++++++++- - src/flashcache_procfs.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 85 insertions(+), 1 deletion(-) - -diff --git a/src/flashcache_conf.c b/src/flashcache_conf.c -index 36d1e25..ad20539 100644 ---- a/src/flashcache_conf.c -+++ b/src/flashcache_conf.c -@@ -91,12 +91,14 @@ static void flashcache_sync_for_remove(struct cache_c *dmc); - - extern char *flashcache_sw_version; - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) - static int - flashcache_wait_schedule(void *unused) - { - schedule(); - return 0; - } -+#endif - - static int - flashcache_jobs_init(void) -@@ -1222,13 +1224,21 @@ flashcache_ctr(struct dm_target *ti, unsigned int argc, char **argv) - seq_io_move_to_lruhead(dmc, &dmc->seq_recent_ios[i]); - } - dmc->seq_io_tail = &dmc->seq_recent_ios[0]; -- -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) - (void)wait_on_bit_lock(&flashcache_control->synch_flags, FLASHCACHE_UPDATE_LIST, - flashcache_wait_schedule, TASK_UNINTERRUPTIBLE); -+#else -+ (void)wait_on_bit_lock(&flashcache_control->synch_flags, FLASHCACHE_UPDATE_LIST, -+ TASK_UNINTERRUPTIBLE); -+#endif - dmc->next_cache = cache_list_head; - cache_list_head = dmc; - clear_bit(FLASHCACHE_UPDATE_LIST, &flashcache_control->synch_flags); -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) - smp_mb__after_clear_bit(); -+#else -+ smp_mb__after_atomic(); -+#endif - wake_up_bit(&flashcache_control->synch_flags, FLASHCACHE_UPDATE_LIST); - - for (i = 0 ; i < dmc->size ; i++) { -@@ -1438,10 +1448,16 @@ flashcache_dtr(struct dm_target *ti) - VERIFY(dmc->num_blacklist_pids == 0); - dm_put_device(ti, dmc->disk_dev); - dm_put_device(ti, dmc->cache_dev); -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) - (void)wait_on_bit_lock(&flashcache_control->synch_flags, - FLASHCACHE_UPDATE_LIST, - flashcache_wait_schedule, - TASK_UNINTERRUPTIBLE); -+#else -+ (void)wait_on_bit_lock(&flashcache_control->synch_flags, -+ FLASHCACHE_UPDATE_LIST, -+ TASK_UNINTERRUPTIBLE); -+#endif - nodepp = &cache_list_head; - while (*nodepp != NULL) { - if (*nodepp == dmc) { -@@ -1451,7 +1467,11 @@ flashcache_dtr(struct dm_target *ti) - nodepp = &((*nodepp)->next_cache); - } - clear_bit(FLASHCACHE_UPDATE_LIST, &flashcache_control->synch_flags); -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) - smp_mb__after_clear_bit(); -+#else -+ smp_mb__after_atomic(); -+#endif - wake_up_bit(&flashcache_control->synch_flags, FLASHCACHE_UPDATE_LIST); - kfree(dmc); - } -@@ -1735,10 +1755,16 @@ flashcache_notify_reboot(struct notifier_block *this, - { - struct cache_c *dmc; - -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) - (void)wait_on_bit_lock(&flashcache_control->synch_flags, - FLASHCACHE_UPDATE_LIST, - flashcache_wait_schedule, - TASK_UNINTERRUPTIBLE); -+#else -+ (void)wait_on_bit_lock(&flashcache_control->synch_flags, -+ FLASHCACHE_UPDATE_LIST, -+ TASK_UNINTERRUPTIBLE); -+#endif - for (dmc = cache_list_head ; - dmc != NULL ; - dmc = dmc->next_cache) { -@@ -1750,7 +1776,11 @@ flashcache_notify_reboot(struct notifier_block *this, - } - } - clear_bit(FLASHCACHE_UPDATE_LIST, &flashcache_control->synch_flags); -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) - smp_mb__after_clear_bit(); -+#else -+ smp_mb__after_atomic(); -+#endif - wake_up_bit(&flashcache_control->synch_flags, FLASHCACHE_UPDATE_LIST); - return NOTIFY_DONE; - } -diff --git a/src/flashcache_procfs.c b/src/flashcache_procfs.c -index 2ff33c0..23c5a81 100644 ---- a/src/flashcache_procfs.c -+++ b/src/flashcache_procfs.c -@@ -70,12 +70,18 @@ static char *flashcache_cons_sysctl_devname(struct cache_c *dmc); - #define FLASHCACHE_PROC_ROOTDIR_NAME "flashcache" - - static int -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+flashcache_io_latency_init(struct ctl_table *table, int write, -+ void __user *buffer, -+ size_t *length, loff_t *ppos) -+#else - flashcache_io_latency_init(ctl_table *table, int write, - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) - struct file *file, - #endif - void __user *buffer, - size_t *length, loff_t *ppos) -+#endif - { - struct cache_c *dmc = (struct cache_c *)table->extra1; - -@@ -97,12 +103,18 @@ flashcache_io_latency_init(ctl_table *table, int write, - } - - static int -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+flashcache_sync_sysctl(struct ctl_table *table, int write, -+ void __user *buffer, -+ size_t *length, loff_t *ppos) -+#else - flashcache_sync_sysctl(ctl_table *table, int write, - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) - struct file *file, - #endif - void __user *buffer, - size_t *length, loff_t *ppos) -+#endif - { - struct cache_c *dmc = (struct cache_c *)table->extra1; - -@@ -123,12 +135,18 @@ flashcache_sync_sysctl(ctl_table *table, int write, - } - - static int -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+flashcache_zerostats_sysctl(struct ctl_table *table, int write, -+ void __user *buffer, -+ size_t *length, loff_t *ppos) -+#else - flashcache_zerostats_sysctl(ctl_table *table, int write, - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) - struct file *file, - #endif - void __user *buffer, - size_t *length, loff_t *ppos) -+#endif - { - struct cache_c *dmc = (struct cache_c *)table->extra1; - -@@ -151,12 +169,18 @@ flashcache_zerostats_sysctl(ctl_table *table, int write, - } - - static int -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+flashcache_fallow_clean_speed_sysctl(struct ctl_table *table, int write, -+ void __user *buffer, -+ size_t *length, loff_t *ppos) -+#else - flashcache_fallow_clean_speed_sysctl(ctl_table *table, int write, - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) - struct file *file, - #endif - void __user *buffer, - size_t *length, loff_t *ppos) -+#endif - { - struct cache_c *dmc = (struct cache_c *)table->extra1; - -@@ -176,12 +200,18 @@ flashcache_fallow_clean_speed_sysctl(ctl_table *table, int write, - } - - static int -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+flashcache_dirty_thresh_sysctl(struct ctl_table *table, int write, -+ void __user *buffer, -+ size_t *length, loff_t *ppos) -+#else - flashcache_dirty_thresh_sysctl(ctl_table *table, int write, - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) - struct file *file, - #endif - void __user *buffer, - size_t *length, loff_t *ppos) -+#endif - { - struct cache_c *dmc = (struct cache_c *)table->extra1; - -@@ -204,12 +234,18 @@ flashcache_dirty_thresh_sysctl(ctl_table *table, int write, - } - - static int -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+flashcache_lru_hot_pct_sysctl(struct ctl_table *table, int write, -+ void __user *buffer, -+ size_t *length, loff_t *ppos) -+#else - flashcache_lru_hot_pct_sysctl(ctl_table *table, int write, - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) - struct file *file, - #endif - void __user *buffer, - size_t *length, loff_t *ppos) -+#endif - { - struct cache_c *dmc = (struct cache_c *)table->extra1; - -@@ -236,10 +272,17 @@ flashcache_lru_hot_pct_sysctl(ctl_table *table, int write, - - static struct flashcache_writeback_sysctl_table { - struct ctl_table_header *sysctl_header; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+ struct ctl_table vars[FLASHCACHE_NUM_WRITEBACK_SYSCTLS]; -+ struct ctl_table dev[2]; -+ struct ctl_table dir[2]; -+ struct ctl_table root[2]; -+#else - ctl_table vars[FLASHCACHE_NUM_WRITEBACK_SYSCTLS]; - ctl_table dev[2]; - ctl_table dir[2]; - ctl_table root[2]; -+#endif - } flashcache_writeback_sysctl = { - .vars = { - { -@@ -510,10 +553,17 @@ static struct flashcache_writeback_sysctl_table { - - static struct flashcache_writethrough_sysctl_table { - struct ctl_table_header *sysctl_header; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+ struct ctl_table vars[FLASHCACHE_NUM_WRITETHROUGH_SYSCTLS]; -+ struct ctl_table dev[2]; -+ struct ctl_table dir[2]; -+ struct ctl_table root[2]; -+#else - ctl_table vars[FLASHCACHE_NUM_WRITETHROUGH_SYSCTLS]; - ctl_table dev[2]; - ctl_table dir[2]; - ctl_table root[2]; -+#endif - } flashcache_writethrough_sysctl = { - .vars = { - { -@@ -668,7 +718,11 @@ static struct flashcache_writethrough_sysctl_table { - }; - - int * -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) -+flashcache_find_sysctl_data(struct cache_c *dmc, struct ctl_table *vars) -+#else - flashcache_find_sysctl_data(struct cache_c *dmc, ctl_table *vars) -+#endif - { - if (strcmp(vars->procname, "io_latency_hist") == 0) - return &dmc->sysctl_io_latency_hist; diff --git a/unmaintained/flashcache-grsec/kernel-4.2.patch b/unmaintained/flashcache-grsec/kernel-4.2.patch deleted file mode 100644 index 7f2b5c6e01..0000000000 --- a/unmaintained/flashcache-grsec/kernel-4.2.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 0feecf4de9d94cd903a7db373b8cd5cb0eef1987 Mon Sep 17 00:00:00 2001 -From: Vinson Lee -Date: Wed, 1 Jul 2015 14:12:47 -0700 -Subject: [PATCH] Fix Linux 4.2 compilation errors. - -Signed-off-by: Vinson Lee ---- - src/flashcache_conf.c | 1 + - src/flashcache_kcopy.c | 1 + - src/flashcache_subr.c | 1 + - 3 files changed, 3 insertions(+) - -diff --git a/src/flashcache_conf.c b/src/flashcache_conf.c -index 43f4387..0ca05f7 100644 ---- a/src/flashcache_conf.c -+++ b/src/flashcache_conf.c -@@ -41,6 +41,7 @@ - #include - #include - #include -+#include - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) - #include "dm.h" -diff --git a/src/flashcache_subr.c b/src/flashcache_subr.c -index 8d0bae5..ef931d4 100644 ---- a/src/flashcache_subr.c -+++ b/src/flashcache_subr.c -@@ -41,6 +41,7 @@ - #include - #include - #include -+#include - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) - #include "dm.h" diff --git a/unmaintained/fluidsynth/APKBUILD b/unmaintained/fluidsynth/APKBUILD deleted file mode 100644 index 7518fab4c9..0000000000 --- a/unmaintained/fluidsynth/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=fluidsynth -pkgver=1.1.6 -pkgrel=0 -pkgdesc="Real-time software synthesizer" -url="http://www.fluidsynth.org/" -arch="all" -license="LGPLv2+" -depends="" -depends_dev="" -makedepends="$depends_dev alsa-lib-dev cmake dbus-dev ladspa-dev ncurses-dev - jack-dev glib-dev libsndfile-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" -source="http://downloads.sourceforge.net/fluidsynth/fluidsynth-$pkgver.tar.bz2" - -_builddir="$srcdir"/fluidsynth-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="f6e696690e989098f70641364fdffad7 fluidsynth-1.1.6.tar.bz2" -sha256sums="d28b47dfbf7f8e426902ae7fa2981d821fbf84f41da9e1b85be933d2d748f601 fluidsynth-1.1.6.tar.bz2" -sha512sums="0ead8bf86c0edf6d98044eb16b52b85fac8bc3bdeb9c1478d0bceb4f5b38ca28218fcf2cd18cdd5608190dc70b7c39bde681765d01787bc84bc97c6ab3bbf946 fluidsynth-1.1.6.tar.bz2" diff --git a/unmaintained/flunym0us/APKBUILD b/unmaintained/flunym0us/APKBUILD deleted file mode 100644 index 41a04297c5..0000000000 --- a/unmaintained/flunym0us/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=flunym0us -pkgver=2.1 -pkgrel=0 -pkgdesc="A vulnerability scanner for wordpress and moodle" -url="http://code.google.com/p/flunym0us/" -arch="noarch" -license="GPL3" -depends="python" -depends_dev="" -makedepends="python-dev" -install="" -subpackages="" -source="http://flunym0us.googlecode.com/files/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 - for _file in moodle-plugins.lst wp-plugins.lst; do - install -Dm644 "$srcdir"/$pkgname-$pkgver/$pkgname/$_file \ - "$pkgdir"/usr/share/$pkgname/$_file || return 1 - done -} - -md5sums="5f437c2797b39b03b6f80e8c1ef66f85 flunym0us-2.1.tar.gz" -sha256sums="97dc5896ca61b0a1e16933cb5c6369efe0b8bc83d2538a951bd03d5ffdd0675a flunym0us-2.1.tar.gz" -sha512sums="3ff2e0d3727604af8602b1fc2257c6cba90a96d19aff3b30d6793692086b533a234118698db24c5efcef7286196c29c21e8e54a47236e7a25c278cac301bf611 flunym0us-2.1.tar.gz" diff --git a/unmaintained/flyspray/APKBUILD b/unmaintained/flyspray/APKBUILD deleted file mode 100644 index ffdcb8b62f..0000000000 --- a/unmaintained/flyspray/APKBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=flyspray -pkgver=0.9.9.7 -pkgrel=1 -pkgdesc="A PHP web-based bug tracker" -url="http://www.flyspray.org/" -arch="noarch" -license="GPL2.1" -depends="php php-xml" -depends_dev="" -makedepends="$depends_dev" -install="$pkgname.post-install" -pkggroups="www-data" -subpackages="$pkgname-mysql $pkgname-mysqli $pkgname-pgsql" -source="http://flyspray.org/$pkgname-$pkgver.zip" -_builddir=$srcdir -_instdir="/usr/share/webapps/$pkgname" -prepare() { - sed -i -e "s/split/explode/" adodb/drivers/adodb-postgres64.inc.php -} - -build() { - return 0 -} - -package() { - cd "$_builddir" - mkdir -p $pkgdir"$_instdir" - cp -ar $srcdir/* $pkgdir"$_instdir" - rm $pkgdir"$_instdir"/$pkgname-$pkgver.zip - echo "deny from all" > $pkgdir"$_instdir"/.htaccess - chgrp -R www-data $pkgdir"$_instdir" -} - -pgsql() { - arch="noarch" - pkgdesc="Flyspray PostgreSQL support" - depends="flyspray php-pgsql php-pdo_pgsql php-pear-mdb2-driver-pgsql" - mkdir -p "$subpkgdir"$_instdir -} - -mysql() { - arch="noarch" - pkgdesc="Flyspray MySQL support" - depends="flyspray php-mysql php-pdo_mysql php-pear-mdb2-driver-mysql" - mkdir -p "$subpkgdir"$_instdir -} - -mysqli() { - arch="noarch" - pkgdesc="Flyspray MySQLi support" - depends="flyspray php-mysqli php-pear-mdb2-driver-mysqli" - mkdir -p "$subpkgdir"$_instdir -} - - - -md5sums="3a218c5447d64af18f19bc63bb825e58 flyspray-0.9.9.7.zip" -sha256sums="f05fb71d61ee3b4ab42a61efea7b2c4fc53fd4ad762c9f3ced7de664661c2f2d flyspray-0.9.9.7.zip" -sha512sums="17d8126bfe393527ae7e64377c6580274a118e4fd449f1191190471e242479b6ed50f8451dd7074afc39fda430c0fa5dee3845092ee0ca83d3254ecc6f0b8885 flyspray-0.9.9.7.zip" diff --git a/unmaintained/flyspray/flyspray.post-install b/unmaintained/flyspray/flyspray.post-install deleted file mode 100644 index de166dac84..0000000000 --- a/unmaintained/flyspray/flyspray.post-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -echo -e "\nRemember to make a symlink from /usr/share/webapps/flyspray to the document root -or whatever- of your preferred webserver\n" -exit 0 diff --git a/unmaintained/fonts-base/APKBUILD b/unmaintained/fonts-base/APKBUILD deleted file mode 100644 index dd6f3a16bb..0000000000 --- a/unmaintained/fonts-base/APKBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=fonts-base -pkgver=1.0 -pkgrel=0 -pkgdesc="Basic set of fonts (meta package)" -url="http://alpinelinux.org/" -arch="noarch" -license="none" -depends="ttf-dejavu - ttf-courier-prime - ttf-heuristica - ttf-liberation - ttf-noto - ttf-symbola" - -build() { - return 0 -} - -package() { - mkdir -p "$pkgdir" -} - diff --git a/unmaintained/fonts-extra/APKBUILD b/unmaintained/fonts-extra/APKBUILD deleted file mode 100644 index b9ad7a08dd..0000000000 --- a/unmaintained/fonts-extra/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=fonts-extra -pkgver=1.0 -pkgrel=0 -pkgdesc="Extra set of free fonts (meta package)" -url="http://alpinelinux.org/" -arch="noarch" -license="none" -depends="fonts-base - otf-cantarell - otf-oswald - otf-quintessential - otf-tex-gyre - t1-cursor - t1-urw-fonts - ttf-caladea - ttf-cantoraone - ttf-carlito - ttf-droid - ttf-gelasio - ttf-merriweather - ttf-merriweather-sans - ttf-opensans - ttf-signika-family - ttf-ubuntu-font-family" - -build() { - return 0 -} - -package() { - mkdir -p "$pkgdir" -} - diff --git a/unmaintained/foo2zjs/APKBUILD b/unmaintained/foo2zjs/APKBUILD deleted file mode 100644 index a863665fbf..0000000000 --- a/unmaintained/foo2zjs/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=foo2zjs -pkgver=20150704 -pkgrel=0 -pkgdesc="a linux printer driver for XQX stream protocol" -url="http://foo2xqx.rkkda.com/" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev ghostscript-dev bc coreutils groff cups-dev - foomatic-db-engine" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::http://foo2zjs.rkkda.com/foo2zjs.tar.gz" - -_builddir="$srcdir/$pkgname" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -j1 || return 1 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/lib/cups/filter/ - make -j1 DESTDIR="$pkgdir" install || return 1 -} - -md5sums="2c16316720c1cc29fb3644284e2a57b7 foo2zjs-20150704.tar.gz" -sha256sums="6ba509fd20e70ec511f48e7627ffa1bb14d8cbe390a71923e00c10e649000e8b foo2zjs-20150704.tar.gz" -sha512sums="33ae74428f9d100723a4aae96a678ba818a2e72c34de1d2ea7eeb1b39b8633d1c380e067a15e63ebe38d54e5483e61d2c936cdf8541b0b085d6f844540f0febc foo2zjs-20150704.tar.gz" diff --git a/unmaintained/foomatic-db-engine/APKBUILD b/unmaintained/foomatic-db-engine/APKBUILD deleted file mode 100644 index 8c3ed2906e..0000000000 --- a/unmaintained/foomatic-db-engine/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=foomatic-db-engine -pkgver=4.0.12 -pkgrel=0 -pkgdesc="Tools for using the foomatic database of printers and printer drivers" -url="http://www.linuxprinting.org" -arch="all" -license="GPL2+" -depends="cups-filters perl" -depends_dev="" -makedepends="perl-dev libxml2-dev cups-dev ghostscript-dev" -install="" -subpackages="$pkgname-doc" -source="http://www.openprinting.org/download/foomatic/foomatic-db-engine-$pkgver.tar.gz" - -_builddir="$srcdir"/foomatic-db-engine-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - # avoid #!/bin/bash in foomatic-getpjloptions - SH=/bin/sh ./configure --prefix=/usr \ - --sysconfdir=/etc \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="b8049e61a3dad76044e83dde0087e0a0 foomatic-db-engine-4.0.12.tar.gz" -sha256sums="66143b76ed5b325b7025e261ad917b543de534c6d0a6e495d5489a20cace7c21 foomatic-db-engine-4.0.12.tar.gz" -sha512sums="b7e99ace6a632e9b0213183bd2c6c2d11ca072ea0414e8ca569082b7ec183dd81c80594ad63fdee82d761ae36d4fce9d3c881569a95a6085ec326ef7fd21154f foomatic-db-engine-4.0.12.tar.gz" diff --git a/unmaintained/foremost/APKBUILD b/unmaintained/foremost/APKBUILD deleted file mode 100644 index 4fbff540a1..0000000000 --- a/unmaintained/foremost/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Jesse Young -# Maintainer: Jesse Young - -pkgname=foremost -pkgver=1.5.7 -pkgrel=1 -pkgdesc="A console program to recover files based on their headers, footers, and internal data structures" -url="http://foremost.sourceforge.net/" -arch="all" -license="custom" -depends_dev="" -depends="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://foremost.sourceforge.net/pkg/${pkgname}-${pkgver}.tar.gz \ - ${pkgname}-makefile.patch" - -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -} - -package () { - cd "$_builddir" - for f in etc usr/bin usr/share/man/man8 usr/share/licenses/foremost; do - install -dm755 "${pkgdir}/${f}" - done - make DESTDIR="$pkgdir" install - ./foremost -V > "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" -} - -md5sums="860119c49665c2a3fb2b0b1d3dbad02a foremost-1.5.7.tar.gz -e78b7e14ef18a7941bb558af00f3b294 foremost-makefile.patch" -sha256sums="502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34 foremost-1.5.7.tar.gz -80592050c42571b7254a7e166d56b9761a6c72050406dc8adf35aff934bd242a foremost-makefile.patch" -sha512sums="8827c29d52496783be26374f3943eb26a154d842f34e50fb489f87b3a5045bf85f1e44d7d8d8b12b2355ba3fe4b06a0db979cc22c0f431593c5976001eb931ab foremost-1.5.7.tar.gz -22c28169e19c3fedb1f9ad470a6218ce63091f813257a222bda66d2ae04933e2694bc17ba4635b75db94f5375485ac0d5c1583c175b4d1674a9ff58c29967caa foremost-makefile.patch" diff --git a/unmaintained/foremost/foremost-makefile.patch b/unmaintained/foremost/foremost-makefile.patch deleted file mode 100644 index 445471e011..0000000000 --- a/unmaintained/foremost/foremost-makefile.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/Makefile 2008-10-14 02:09:13.000000000 +0200 -+++ b/Makefile 2008-10-14 18:31:38.000000000 +0200 -@@ -26,5 +26,5 @@ - # Where we get installed --BIN = /usr/local/bin --MAN = /usr/share/man/man8 --CONF= /usr/local/etc -+BIN = $(DESTDIR)/usr/bin -+MAN = $(DESTDIR)/usr/share/man/man8 -+CONF= $(DESTDIR)/etc - # Setup for compiling and cross-compiling for Windows -diff -uNr foremost-1.4.orig/config.c foremost-1.4/config.c ---- a/config.c 2006-08-31 17:50:47.000000000 +0100 -+++ b/config.c 2006-08-31 17:51:09.000000000 +0100 -@@ -288,7 +288,7 @@ - #ifdef __WIN32 - set_config_file(s, "/Program Files/foremost/foremost.conf"); - #else -- set_config_file(s, "/usr/local/etc/foremost.conf"); -+ set_config_file(s, "/etc/foremost.conf"); - #endif - if ((f = fopen(get_config_file(s), "r")) == NULL) - { diff --git a/unmaintained/forked-daapd/APKBUILD b/unmaintained/forked-daapd/APKBUILD deleted file mode 100644 index 1e2530383c..0000000000 --- a/unmaintained/forked-daapd/APKBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=forked-daapd -pkgver=22.3 -pkgrel=0 -pkgdesc="an updated version of the original forked-daapd" -url="https://github.com/ejurgensen/forked-daapd" -arch="all" -license="custom" -depends="" -depends_dev="libgcrypt-dev ffmpeg-dev flac-dev avahi-dev gettext-dev alsa-lib-dev - sqlite-dev libantlr3c-dev libunistring-dev confuse-dev ffmpeg-dev - mxml-dev libevent-dev libogg-dev taglib-dev libavl-dev libplist-dev" -makedepends="$depends_dev autoconf automake libtool openjdk7-jre-base gperf bash bsd-compat-headers" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/ejurgensen/forked-daapd/archive/$pkgver.tar.gz - http://www.antlr3.org/download/antlr-3.4-complete.jar" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - OLD_PATH=$PATH - export PATH="$srcdir:$PATH" - echo "#!/bin/bash" > $srcdir/antlr3 - echo "exec java -cp $srcdir/antlr-3.4-complete.jar org.antlr.Tool \"\$@\"" >> $srcdir/antlr3 - chmod a+x $srcdir/antlr3 - autoreconf -i -v || return 1 - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-flac \ - --enable-musepack \ - --enable-itunes \ - || return 1 - make || return 1 - export PATH=$OLD_PATH -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="f1862aa6e42dd3a432925cff5de5caed forked-daapd-22.3.tar.gz -1b91dea1c7d480b3223f7c8a9aa0e172 antlr-3.4-complete.jar" -sha256sums="0aaa5995d1bd10343890634bb0e3176b781175125a98f77d7f182402c8133c91 forked-daapd-22.3.tar.gz -9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7 antlr-3.4-complete.jar" -sha512sums="b109b057c3b79054d52a9ab2d5aad4bc00dc828bba61e70bc405f526bf75fb6b3c5f4aca0981b332495aa9ef97731f84f440470edb9f21123e0e500091abc7a8 forked-daapd-22.3.tar.gz -04be4dfba3a21f3ab9d9e439a64958bd8e844a9f151b798383bd9e0dd6ebc416783ae7cb1d1dbb27fb7288ab9756b13b8338cdb8ceb41a10949c852ad45ab1f2 antlr-3.4-complete.jar" diff --git a/unmaintained/fotoxx/APKBUILD b/unmaintained/fotoxx/APKBUILD deleted file mode 100644 index 8ac4baee6f..0000000000 --- a/unmaintained/fotoxx/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=fotoxx -pkgver=12.08 -pkgrel=0 -pkgdesc="Photo editing and collection management" -url="http://kornelix.squarespace.com/fotoxx" -arch="all" -license="GPL3" -depends="xdg-utils exiftool" -makedepends="gtk+3.0-dev tiff-dev" -install= -subpackages="$pkgname-doc" -source="http://www.kornelix.com/uploads/1/3/0/3/13035936/fotoxx-$pkgver.tar.gz - no-xdg-desktop-menu.patch" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make PREFIX=/usr LDFLAGS="$LFDLAGS" CXXFLAGS="$CFLAGS" || return 1 -} - -package() { - cd "$_builddir" - make PREFIX=/usr DESTDIR="$pkgdir" install -} - -md5sums="b4b2ae2395223487df8f435789fbc60a fotoxx-12.08.tar.gz -8c988a8ced48cfe3a5a49be4a705b045 no-xdg-desktop-menu.patch" diff --git a/unmaintained/fotoxx/no-xdg-desktop-menu.patch b/unmaintained/fotoxx/no-xdg-desktop-menu.patch deleted file mode 100644 index 0e2813fb81..0000000000 --- a/unmaintained/fotoxx/no-xdg-desktop-menu.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ./Makefile.orig -+++ ./Makefile -@@ -76,7 +76,6 @@ - rm -f fotoxx.1.gz - # menu (desktop) file - cp -f desktop $(DESTDIR)$(MENUFILE) -- xdg-desktop-menu install $(DESTDIR)$(MENUFILE) - - uninstall: - rm -f $(DESTDIR)$(BINDIR)/fotoxx diff --git a/unmaintained/freealut/APKBUILD b/unmaintained/freealut/APKBUILD deleted file mode 100644 index e51fcecb35..0000000000 --- a/unmaintained/freealut/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=freealut -pkgver=1.1.0 -pkgrel=2 -pkgdesc="A free audio library user toolkit" -url="https://github.com/vancegroup/freealut" -arch="all" -license="GPL2" -depends= -depends_dev="openal-soft-dev" -makedepends="$depends_dev autoconf automake libtool" -install="" -subpackages="$pkgname-dev" -source="https://github.com/vancegroup/freealut/archive/freealut_${pkgver//./_}.tar.gz" - -_builddir="$srcdir"/freealut-freealut_${pkgver//./_} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh || return 1 - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="66e21cb1d2aee23f587d9304ac6cbddc freealut_1_1_0.tar.gz" -sha256sums="c3880d7dbb90c7db54e1d6b88aa0a34dd9e2d828fd389be0d2cbb2632b0885dd freealut_1_1_0.tar.gz" -sha512sums="c9dead230434b3916f91e219913c2b2c877c4594d74b63641246a6704e28fe8d415131127cc00b51355f2fdf4e2bbf8aaf2b802fec479b05927e39a8698c251e freealut_1_1_0.tar.gz" diff --git a/unmaintained/freeciv/APKBUILD b/unmaintained/freeciv/APKBUILD deleted file mode 100644 index 445de914ba..0000000000 --- a/unmaintained/freeciv/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=freeciv -pkgver=2.4.3 -pkgrel=0 -pkgdesc="civilization 2 clone" -url="http://freeciv.wikia.org/" -arch="all" -license="GPL" -depends="$pkgname-server" -makedepends="gtk+-dev gzip curl-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-server $pkgname-data $pkgname-lang" -source="http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2" - -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -server() { - replaces="freeciv" - depends="freeciv-data" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/freeciv-server "$subpkgdir"/usr/bin/freeciv-server -} - -data() { - arch="noarch" - mkdir -p "$subpkgdir"/usr/share - mv "$pkgdir"/usr/share/freeciv "$subpkgdir"/usr/share/freeciv -} - -md5sums="437f9a4aadb80619a7c5ae9643142b8b freeciv-2.4.3.tar.bz2" -sha256sums="7f107fe3b09f37934410dc7a64ac1b99a95997ddf53da53933b75d4da79fa899 freeciv-2.4.3.tar.bz2" -sha512sums="7abed9b3c0f65aa5ed856080a6da68152a8fe9ea285a070858f9a92ec32fb27bfb48fb77b7098a23bbf3e092c982ed455b6ea795230295c9d14f4832378ee3ba freeciv-2.4.3.tar.bz2" diff --git a/unmaintained/fswebcam/APKBUILD b/unmaintained/fswebcam/APKBUILD deleted file mode 100644 index 90787a1bdc..0000000000 --- a/unmaintained/fswebcam/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=fswebcam -pkgver=20140113 -pkgrel=0 -pkgdesc="A neat and simple webcam app" -url="http://www.firestorm.cx/fswebcam" -arch="all" -license="GPL2" -depends="" -depends_dev="gd-dev gzip" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://www.firestorm.cx/$pkgname/files/$pkgname-$pkgver.tar.xz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - ./configure --prefix=/usr - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - sed "s_^_#_g" -i example.conf - install -Dm644 example.conf "$pkgdir/etc/fswebcam.conf" -} - -md5sums="1bfdb21904e816f100370ec8f4df986b fswebcam-20140113.tar.xz" -sha256sums="444d6a8a82102e09e935540c64a731021de36db03e1e74181f41ca6f39aa6474 fswebcam-20140113.tar.xz" -sha512sums="eb7a40da546ac413dd7783ccd808d70fc4117b6334a6ba6626d2af4a130e35597652328117333961af66a9c1e578cdb1c313b286fa728313820160544c5a43cb fswebcam-20140113.tar.xz" diff --git a/unmaintained/geh/APKBUILD b/unmaintained/geh/APKBUILD deleted file mode 100644 index afa3b555b2..0000000000 --- a/unmaintained/geh/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=geh -pkgver=0.2.0 -pkgrel=2 -pkgdesc="a simple commandline image viewer written in C/Gtk+" -url="https://projects.pekdon.net/projects/geh" -arch="all" -license="GPL" -depends= -makedepends="gtk+-dev intltool" -install= -subpackages="$pkgname-doc" -source="http://projects.pekdon.net/projects/geh/files/geh-$pkgver.tar.gz" - -# append extra dependencies to -dev subpackage -# remove if not used. -# depends_dev="somepackage-dev" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - - # remove the 2 lines below (and this) if there is no init.d script - # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname -} - -md5sums="2349b774e7f0c288061fcfc8c296f20d geh-0.2.0.tar.gz" diff --git a/unmaintained/genext2fs/APKBUILD b/unmaintained/genext2fs/APKBUILD deleted file mode 100644 index 0809bd3a68..0000000000 --- a/unmaintained/genext2fs/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=genext2fs -pkgver=1.4.1 -pkgrel=0 -pkgdesc="Tool for generating an ext2 filesystem as non-root" -url="http://genext2fs.sourceforge.net/" -arch="all" -license="GPLv2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/genext2fs/genext2fs/$pkgver/genext2fs-$pkgver.tar.gz" - -_builddir="$srcdir"/genext2fs-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="b7b6361bcce2cedff1ae437fadafe53b genext2fs-1.4.1.tar.gz" -sha256sums="404dbbfa7a86a6c3de8225c8da254d026b17fd288e05cec4df2cc7e1f4feecfc genext2fs-1.4.1.tar.gz" -sha512sums="1b9ec7044014423345ae6b09862ba6903f5b3e0f68fb8bbcf97daf2705471cc1633a9fdbc5e00afe1b191e1af7bed87bde2e538bc7365469218f2a00b062845c genext2fs-1.4.1.tar.gz" diff --git a/unmaintained/giggle/APKBUILD b/unmaintained/giggle/APKBUILD deleted file mode 100644 index 78cda69bea..0000000000 --- a/unmaintained/giggle/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=giggle -pkgver=0.5 -pkgrel=1 -pkgdesc="graphical frontend for the git content tracker" -url="http://live.gnome.org/giggle" -arch="all" -license="GPL" -depends= -makedepends="gtk+-dev gtksourceview-dev vte-dev" -install="" -subpackages="$pkgname-dev" -source="http://ftp.gnome.org/pub/GNOME/sources/giggle/$pkgver/giggle-$pkgver.tar.bz2" - -_builddir="$srcdir"/giggle-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-evolution-data-server \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="91d2000fb97c5cb0bb0027edf444ecff giggle-0.5.tar.bz2" diff --git a/unmaintained/gitstats/APKBUILD b/unmaintained/gitstats/APKBUILD deleted file mode 100644 index a85fb7fe56..0000000000 --- a/unmaintained/gitstats/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=gitstats -pkgver=2013.12.07 -pkgrel=0 -pkgdesc="Git history statistics generator" -url="http://gitstats.sourceforge.net/" -arch="noarch" -license="GPL2+" -depends="python gnuplot git" -depends_dev="" -makedepends="" -install="" -subpackages="" -source="http://ftp.de.debian.org/debian/pool/main/g/$pkgname/"$pkgname"_$pkgver.orig.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - install -m755 -D "$_builddir"/$pkgname \ - "$pkgdir"/usr/sbin/$pkgname || return 1 - - for _file in gitstats.css sortable.js *.gif; do - install -Dm644 "$_builddir"/$_file \ - "$pkgdir"/usr/share/$pkgname/$_file || return 1 - done - -} - -md5sums="1a26e835b067d7eb45b73df49afe34ab gitstats_2013.12.07.orig.tar.gz" -sha256sums="1250b78ac3a1f1946d4ee2ff98b7005c9dd8137647a95593e733d3de8d65f82f gitstats_2013.12.07.orig.tar.gz" -sha512sums="3984b6236a1957fb457ea4b444b8b56f385451d50212af138412d5d040bc7d0ef67e5e2bb74b34b2193f7e25a8cd932a1477e5babd937578c4d83f50da0e25c0 gitstats_2013.12.07.orig.tar.gz" diff --git a/unmaintained/gitstats/gitstats-output.patch b/unmaintained/gitstats/gitstats-output.patch deleted file mode 100644 index 118a4cbb34..0000000000 --- a/unmaintained/gitstats/gitstats-output.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- gitstats/gitstats.orig -+++ gitstats/gitstats -@@ -1376,10 +1376,8 @@ - exectime_internal = time_end - time_start - print 'Execution time %.5f secs, %.5f secs (%.2f %%) in external commands)' % (exectime_internal, exectime_external, (100.0 * exectime_external) / exectime_internal) - if sys.stdin.isatty(): -- print 'You may now run:' -- print -- print ' sensible-browser \'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''") -- print -+ print 'The report is available at:' -+ print '\'%s\'' % os.path.join(outputpath, 'index.html').replace("'", "'\\''") - - if __name__=='__main__': - g = GitStats() diff --git a/unmaintained/gjs/APKBUILD b/unmaintained/gjs/APKBUILD deleted file mode 100644 index 1f2875588d..0000000000 --- a/unmaintained/gjs/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=gjs -pkgver=0.7.10 -pkgrel=1 -pkgdesc="GNOME javascript platform" -url="http://live.gnome.org/gjs" -arch="" -license="LGPL" -depends="xulrunner" -depends_dev="xulrunner-dev gtk+-dev glib-dev cairo-dev dbus-glib-dev nspr-dev" -makedepends="$depends_dev gobject-introspection-dev" -install="" -subpackages="$pkgname-dev" -source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" - -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --disable-scrollkeeper || return 1 - make -j1 || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -j1 || return 1 -} - -md5sums="12df4ed701ef4e2dc742cfbea6bb43eb gjs-0.7.10.tar.bz2" diff --git a/unmaintained/gnash/APKBUILD b/unmaintained/gnash/APKBUILD deleted file mode 100644 index c9369f1b34..0000000000 --- a/unmaintained/gnash/APKBUILD +++ /dev/null @@ -1,85 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=gnash -pkgver=0.8.10 -pkgrel=7 -pkgdesc="GNU flash player implementation" -url="http://www.gnashdev.org/" -arch="all" -license="GPL" -depends= -depends_dev="agg-dev cairo-dev gstreamer-dev gst-plugins-base-dev - mesa-dev gtk+-dev sdl-dev boost-dev giflib-dev - speex-dev libxml2-dev jpeg-dev xulrunner-dev gtkglext-dev - curl-dev libxmu-dev libx11-dev" -makedepends="$depends_dev libtool" -install="" -subpackages="$pkgname-doc $pkgname-dev $pkgname-mozilla $pkgname-sdl - $pkgname-fb $pkgname-lang" -source="http://ftp.gnu.org/pub/gnu/gnash/$pkgver/gnash-$pkgver.tar.bz2 - gnash-ffmpeg.patch - aslr-fix.patch - gnash-0.8.10-giflib5.patch" - -_builddir="$srcdir"/gnash-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - # append system-mt to avoid underlinking - sed -i -e 's/^[[:space:]]\+boost_libs="\(.*\)"/boost_libs="\1 system-mt"/' configure -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-media=gst \ - --without-gconf \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -sdl() { - pkgdesc="$pkgdesc (sdl player)" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/sdl-gnash "$subpkgdir"/usr/bin -} - -fb() { - pkgdesc="$pkgdesc (framebuffer player)" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/fb-gnash "$subpkgdir"/usr/bin -} - -mozilla() { - depends="gnash" - pkgdesc="$pkgdesc (mozilla plugin)" - mkdir -p "$subpkgdir"/usr/lib/mozilla/plugins - mv "$_builddir"/plugin/npapi/.libs/libgnashplugin.so "$subpkgdir"/usr/lib/mozilla/plugins -} - -md5sums="63e9f79c41d93d48c5a2fa94856548c4 gnash-0.8.10.tar.bz2 -b324b3fee1e017d8fcc4d991146266f8 gnash-ffmpeg.patch -64cea4c0b4963b7fd5308beb1b20fed6 aslr-fix.patch -d83b151957d2ecbe49321193b90422dd gnash-0.8.10-giflib5.patch" -sha256sums="9625072e45df92baa2c28fc9999d4e2deb66bc827530baedfad2e4e2292d1224 gnash-0.8.10.tar.bz2 -8be32eb434fba546eddc2699939bd5e2d43898ff6953cac0ceb0a8ee781fcf69 gnash-ffmpeg.patch -13bde56f92492c5cec4f7f60ce7c58042aa5b8d28195db8c34ae47794e3495d7 aslr-fix.patch -d1597ce496d95913a7d5873a0a3c58e4f40fa4ec6e3fc7ae939a66f1362b3e57 gnash-0.8.10-giflib5.patch" -sha512sums="4937782809b086dddd4c290de3893e8d8af677ac4d73bd37143aca2f210979222166f9ccb029f43a63f70c2e0820bb2432447067097fa1dfb1eba8365d07d85e gnash-0.8.10.tar.bz2 -b8b9739f01f7f2008e9c62dfcef2fc0732eab0ee7a587fa20da573e090d3cf965c1d607d7660386b946c4854aea13367fe6982698a2f2c5beac2565ff79f823c gnash-ffmpeg.patch -1f93e114844607d7e2719dd5e10bc758f6e684f77ad70dcb64e2dba89d6e40849117ad6700baa8497860494bfc43d637a33a85927135e140e5c4c90098295596 aslr-fix.patch -8fb96df3ba38297dc66277c1d15d7a93e91b10c24f0ac94f1a19375eee8c5dc7e16d24ac2d6bc1fd07166e7ae0c1eda1b9e7dd093d667ec397539fef9fffa6b4 gnash-0.8.10-giflib5.patch" diff --git a/unmaintained/gnash/aslr-fix.patch b/unmaintained/gnash/aslr-fix.patch deleted file mode 100644 index 632443b602..0000000000 --- a/unmaintained/gnash/aslr-fix.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff -Naur gnash-0.8.10.alt/libbase/jemalloc.c gnash-0.8.10/libbase/jemalloc.c ---- gnash-0.8.10.alt/libbase/jemalloc.c 2012-02-07 09:39:41.000000000 +0100 -+++ gnash-0.8.10/libbase/jemalloc.c 2012-02-24 18:36:47.000000000 +0100 -@@ -429,7 +429,7 @@ - static const bool __isthreaded = true; - #endif - --#if defined(MOZ_MEMORY_SOLARIS) && defined(MAP_ALIGN) && !defined(JEMALLOC_NEVER_USES_MAP_ALIGN) -+#if defined(MOZ_MEMORY_SOLARIS) && defined(MAP_ALIGN) && !defined(JEMALLOC_NEVER_USES_MAP_ALIGN) || defined(MOZ_MEMORY_LINUX) - #define JEMALLOC_USES_MAP_ALIGN /* Required on Solaris 10. Might improve performance elsewhere. */ - #endif - -@@ -2238,6 +2238,7 @@ - * We don't use MAP_FIXED here, because it can cause the *replacement* - * of existing mappings, and we only want to create new mappings. - */ -+#ifndef MOZ_MEMORY_LINUX - #ifdef MALLOC_PAGEFILE - if (pfd != -1) { - ret = mmap((void *)alignment, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | -@@ -2252,6 +2253,31 @@ - - if (ret == MAP_FAILED) - ret = NULL; -+#else /* MOZ_MEMORY_LINUX */ -+#ifdef MALLOC_PAGEFILE -+ if (pfd != -1) { -+ ret = mmap((void *)alignment, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | -+ MAP_NOSYNC, pfd, 0); -+ } else -+#endif -+ { -+ ret = mmap(NULL, size + alignment, PROT_READ | PROT_WRITE, MAP_PRIVATE | -+ MAP_NOSYNC | MAP_ANON, -1, 0); -+ } -+ assert(ret != NULL); -+ -+ if (ret == MAP_FAILED) -+ return NULL; -+ -+ uintptr_t aligned_ret; -+ size_t extra_size; -+ aligned_ret = (uintptr_t)ret + alignment - 1; -+ aligned_ret &= ~(alignment - 1); -+ extra_size = aligned_ret - (uintptr_t)ret; -+ munmap(ret, extra_size); -+ munmap(ret + extra_size + size, alignment - extra_size); -+ ret = (void*)aligned_ret; -+#endif /* ifndef MOZ_MEMORY_LINUX*/ - return (ret); - } - #endif diff --git a/unmaintained/gnash/gnash-0.8.10-giflib5.patch b/unmaintained/gnash/gnash-0.8.10-giflib5.patch deleted file mode 100644 index 2ca7032bb1..0000000000 --- a/unmaintained/gnash/gnash-0.8.10-giflib5.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -rupN a/libbase/GnashImageGif.cpp b/libbase/GnashImageGif.cpp ---- a/libbase/GnashImageGif.cpp 2012-01-19 19:17:48.000000000 +0000 -+++ b/libbase/GnashImageGif.cpp 2013-07-30 09:08:37.707930583 +0000 -@@ -269,7 +269,7 @@ GifInput::processRecord(GifRecordType re - void - GifInput::read() - { -- _gif = DGifOpen(_inStream.get(), &readData); -+ _gif = DGifOpen(_inStream.get(), &readData, NULL); - - GifRecordType record; - diff --git a/unmaintained/gnash/gnash-ffmpeg.patch b/unmaintained/gnash/gnash-ffmpeg.patch deleted file mode 100644 index dc78e81c59..0000000000 --- a/unmaintained/gnash/gnash-ffmpeg.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- gnash-0.8.9.orig/libmedia/ffmpeg/MediaParserFfmpeg.cpp -+++ gnash-0.8.9/libmedia/ffmpeg/MediaParserFfmpeg.cpp -@@ -52,8 +52,8 @@ - return p->readPacket(buf, buf_size); - } - --boost::int64_t --MediaParserFfmpeg::seekMediaWrapper(void *opaque, boost::int64_t offset, int whence) -+::int64_t -+MediaParserFfmpeg::seekMediaWrapper(void *opaque, ::int64_t offset, int whence) - { - MediaParserFfmpeg* p = static_cast(opaque); - return p->seekMedia(offset, whence); ---- gnash-0.8.9.orig/libmedia/ffmpeg/MediaParserFfmpeg.h -+++ gnash-0.8.9/libmedia/ffmpeg/MediaParserFfmpeg.h -@@ -126,7 +126,7 @@ - boost::int64_t seekMedia(boost::int64_t offset, int whence); - - /// ffmpeg callback function -- static boost::int64_t seekMediaWrapper(void *opaque, boost::int64_t offset, int whence); -+ static int64_t seekMediaWrapper(void *opaque, int64_t offset, int whence); - - /// Read some of the input to figure an AVInputFormat - AVInputFormat* probeStream(); diff --git a/unmaintained/gnump3d/APKBUILD b/unmaintained/gnump3d/APKBUILD deleted file mode 100644 index 7f16002ce9..0000000000 --- a/unmaintained/gnump3d/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Michael Mason -# Maintainer: Michael Mason -pkgname=gnump3d -pkgver=3.0 -pkgrel=1 -pkgdesc="A streaming server for MP3, OGG vorbis and other streamable files" -url="http://www.gnump3d.org/" -arch="all" -license="GPL2" -depends="perl" -makedepends="" -install= -subpackages="$pkgname-doc" -source="http://savannah.gnu.org/download/gnump3d/$pkgname-$pkgver.tar.gz - gnump3d.confd - gnump3d.initd" - -build() { - cd "$srcdir"/$pkgname-$pkgver - - make PREFIX="$pkgdir" install - - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - mv "$pkgdir"/usr/local "$pkgdir"-doc/ -} - -md5sums="d2b665c3267253cc8cae29659131b9b4 gnump3d-3.0.tar.gz -59f0286d4c943226a67ab7b7787547c6 gnump3d.confd -0fd5435e668ce34e5f9f783f3e0ac8ea gnump3d.initd" diff --git a/unmaintained/gnump3d/gnump3d.confd b/unmaintained/gnump3d/gnump3d.confd deleted file mode 100644 index 1d6cf397d2..0000000000 --- a/unmaintained/gnump3d/gnump3d.confd +++ /dev/null @@ -1,6 +0,0 @@ -# Set this to 0 to stop the init script from indexing your mp3s. -# It takes the longest on the first time, but after that, it only does -# updates. - -DO_INDEX=1 - diff --git a/unmaintained/gnump3d/gnump3d.initd b/unmaintained/gnump3d/gnump3d.initd deleted file mode 100644 index ae5e018b35..0000000000 --- a/unmaintained/gnump3d/gnump3d.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/media-sound/gnump3d/files/gnump3d.init.d,v 1.4 2008/06/03 14:52:33 beandog Exp $ - -extra_commands="index" - -depend() { - need net - after netmount nfsmount -} - -start() { - ebegin "Starting gnump3d" - - if [ ${DO_INDEX} -eq 1 ]; then - ebegin "Updating index of music files (may take a while for the first time)" - /usr/bin/gnump3d-index - eend $? - fi - - start-stop-daemon --start --quiet --exec /usr/bin/gnump3d2 --make-pidfile \ - --pidfile /var/run/gnump3d.pid --background -- --quiet - eend $? -} - -stop() { - ebegin "Stopping gnump3d" - start-stop-daemon --stop --quiet --pidfile /var/run/gnump3d.pid - eend $? -} - -index() { - ebegin "Indexing music files" - /usr/bin/gnump3d-index - eend $? -} diff --git a/unmaintained/gpm/01-Iheaders.patch b/unmaintained/gpm/01-Iheaders.patch deleted file mode 100644 index e0f2892d98..0000000000 --- a/unmaintained/gpm/01-Iheaders.patch +++ /dev/null @@ -1,40 +0,0 @@ -commit 462cd6c81a2321872a5807e652780eb90a0fb40e -Author: Isaac Dunham -Date: Tue Jul 15 14:39:37 2014 -0700 - - Add -Iheaders so we can find gpm.h - -diff --git a/src/Makefile.in b/src/Makefile.in -index d3b1dcd..1f8a4dc 100644 ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -65,7 +65,7 @@ prog/%: prog/%.o - $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $^ @LIBS@ $(LIBS) - - %.o: %.c -- $(CC) @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@ $< -+ $(CC) -Iheaders @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@ $< - - %.lo: %.c - $(CC) @CPPFLAGS@ $(CPPFLAGS) @PICFLAGS@ @CFLAGS@ $(CFLAGS) -c -o $@ $< -@@ -96,7 +96,7 @@ $(DEPFILE) dep: prog/gpm-root.c - - # create dependencies - for DEPS in `echo *.c */*.c`; do \ -- $(CC) -I. -I $(srcdir) -M @CPPFLAGS@ $(CPPFLAGS) $$DEPS | \ -+ $(CC) -I. -Iheaders -I $(srcdir) -M @CPPFLAGS@ $(CPPFLAGS) $$DEPS | \ - $(SED) 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> $(DEPFILE) ; done - - ### INSTALL -diff --git a/src/daemon/open_console.c b/src/daemon/open_console.c -index 98297c9..f7df875 100644 ---- a/src/daemon/open_console.c -+++ b/src/daemon/open_console.c -@@ -22,6 +22,7 @@ - #include /* open and co. */ - #include /* stat() */ - #include /* ioctl */ -+#include /* major() */ - - /* Linux specific (to be outsourced in gpm2 */ - #include /* for serial console check */ diff --git a/unmaintained/gpm/02-sys-select.patch b/unmaintained/gpm/02-sys-select.patch deleted file mode 100644 index 31c4ed0660..0000000000 --- a/unmaintained/gpm/02-sys-select.patch +++ /dev/null @@ -1,138 +0,0 @@ -commit 6d05d3d02fac411080363665e1c4fc7a2c84f7aa -Author: Isaac Dunham -Date: Tue Jul 15 17:11:04 2014 -0700 - - Add sys/select.h to headers - -diff --git a/src/daemon/old_main.c b/src/daemon/old_main.c -index 9cd4e56..0ea0b84 100644 ---- a/src/daemon/old_main.c -+++ b/src/daemon/old_main.c -@@ -26,6 +26,7 @@ - #include /* guess again */ - #include /* unlink */ - #include /* chmod */ -+#include /* fd_set, FD_ZERO */ - - #include /* linux hd* */ - -diff --git a/src/daemon/processmouse.c b/src/daemon/processmouse.c -index b3f3994..af3400a 100644 ---- a/src/daemon/processmouse.c -+++ b/src/daemon/processmouse.c -@@ -30,6 +30,7 @@ - #include /* close */ - #include /* time */ - #include /* gettimeofday */ -+#include /* FD_ZERO */ - - #include "headers/message.h" /* messaging in gpm */ - #include "headers/daemon.h" /* daemon internals */ -diff --git a/src/lib/libcurses.c b/src/lib/libcurses.c -index e7ebf84..e6fa877 100644 ---- a/src/lib/libcurses.c -+++ b/src/lib/libcurses.c -@@ -26,6 +26,7 @@ - #include /* select(); */ - #include /* timeval */ - #include /* socket() */ -+#include /* FD_ZERO */ - - #include "headers/gpmInt.h" - -diff --git a/src/lib/liblow.c b/src/lib/liblow.c -index e789d09..e449321 100644 ---- a/src/lib/liblow.c -+++ b/src/lib/liblow.c -@@ -35,6 +35,7 @@ - #include /* struct sockaddr_un */ - #include /* O_RDONLY */ - #include /* stat() */ -+#include /* FD_ZERO */ - - #ifdef SIGTSTP /* true if BSD system */ - #include -diff --git a/src/lib/libxtra.c b/src/lib/libxtra.c -index e6dd4aa..b7ec631 100644 ---- a/src/lib/libxtra.c -+++ b/src/lib/libxtra.c -@@ -25,6 +25,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/src/mice.c b/src/mice.c -index 6cbd491..6989f92 100644 ---- a/src/mice.c -+++ b/src/mice.c -@@ -55,6 +55,7 @@ - #include - #include /* stat() */ - #include /* select() */ -+#include /* select() */ - - #include /* MAJOR */ - #include -diff --git a/src/prog/display-buttons.c b/src/prog/display-buttons.c -index de8e5b2..2385bf0 100644 ---- a/src/prog/display-buttons.c -+++ b/src/prog/display-buttons.c -@@ -37,6 +37,7 @@ - #include /* time() */ - #include /* errno */ - #include /* gpm information */ -+#include /* FD_ZERO */ - - /* display resulting data */ - int display_data(Gpm_Event *event, void *data) -diff --git a/src/prog/display-coords.c b/src/prog/display-coords.c -index ed15c8a..5aa7228 100644 ---- a/src/prog/display-coords.c -+++ b/src/prog/display-coords.c -@@ -37,6 +37,7 @@ - #include /* printf() */ - #include /* time() */ - #include /* errno */ -+#include /* FD_ZERO() */ - #include /* gpm information */ - - /* display resulting data */ -diff --git a/src/prog/mev.c b/src/prog/mev.c -index 97622d4..22cfb05 100644 ---- a/src/prog/mev.c -+++ b/src/prog/mev.c -@@ -36,6 +36,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/src/prog/mouse-test.c b/src/prog/mouse-test.c -index 0bb1982..9a1b624 100644 ---- a/src/prog/mouse-test.c -+++ b/src/prog/mouse-test.c -@@ -37,6 +37,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/src/synaptics.c b/src/synaptics.c -index 2418c75..ea40a53 100644 ---- a/src/synaptics.c -+++ b/src/synaptics.c -@@ -216,6 +216,7 @@ - #include - #include - #include -+#include - - #include "headers/gpm.h" - #include "headers/daemon.h" /* which_mouse */ diff --git a/unmaintained/gpm/03-gpmroot.patch b/unmaintained/gpm/03-gpmroot.patch deleted file mode 100644 index bbfdfc7028..0000000000 --- a/unmaintained/gpm/03-gpmroot.patch +++ /dev/null @@ -1,39 +0,0 @@ -commit 9b66298a4262bfd90f3701c7f48c9dcf7a157cac -Author: Isaac Dunham -Date: Thu Feb 11 16:54:32 2016 -0800 - - make gpm-root build - - * use sigemptyset() instead of nonportable equivalents - * if SA_INTERRUPT is undefined, set sa_flags to 0 because the implementation - defaults to interrupt mode (thanks to nsz for pointing out missing - initialization) - -diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y -index 069d801..ed363f4 100644 ---- a/src/prog/gpm-root.y -+++ b/src/prog/gpm-root.y -@@ -76,6 +76,10 @@ - #undef YYDEBUG - #endif - -+#ifndef SA_INTERRUPT -+#define SA_INTERRUPT 0 -+#endif -+ - #define USER_CFG ".gpm-root" - #define SYSTEM_CFG SYSCONFDIR "/gpm-root.conf" - -@@ -1196,11 +1200,7 @@ int main(int argc, char **argv) - LOG_DAEMON : LOG_USER); - /* reap your zombies */ - childaction.sa_handler=reap_children; --#if defined(__GLIBC__) -- __sigemptyset(&childaction.sa_mask); --#else /* __GLIBC__ */ -- childaction.sa_mask=0; --#endif /* __GLIBC__ */ -+ sigemptyset(&childaction.sa_mask); - childaction.sa_flags=SA_INTERRUPT; /* need to break the select() call */ - sigaction(SIGCHLD,&childaction,NULL); - diff --git a/unmaintained/gpm/APKBUILD b/unmaintained/gpm/APKBUILD deleted file mode 100644 index d80c54bb0c..0000000000 --- a/unmaintained/gpm/APKBUILD +++ /dev/null @@ -1,90 +0,0 @@ -# Contributor: Jeff Pohlmeyer -# Maintainer: Jeff Pohlmeyer -pkgname=gpm -pkgver=1.20.7 -pkgrel=3 -pkgdesc="A mouse server for the console" -url="http://www.nico.schottelius.org/software/gpm/" -arch="all" -license="GPL" -depends="" -depends_dev="$pkgname-libs" -makedepends="$depends_dev texinfo autoconf automake libtool bison linux-headers ncurses-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-utils" -source="http://www.nico.schottelius.org/software/gpm/archives/$pkgname-$pkgver.tar.bz2 - error-format.patch - 01-Iheaders.patch - 02-sys-select.patch - 03-gpmroot.patch - $pkgname.initd - $pkgname.confd - " - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 - - chmod 755 "$pkgdir"/usr/lib/libgpm.so.* -} - -utils() { - depends="$pkgname" - pkgdesc="Mouse utilities for console" - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ || return 1 - rmdir "$pkgdir"/usr/lib || return 1 -} - -md5sums="bf84143905a6a903dbd4d4b911a2a2b8 gpm-1.20.7.tar.bz2 -ba7ffe9a3b6e3f672081a5b7d17f4766 error-format.patch -3adbe10e28d14d5b498a83bbccbba427 01-Iheaders.patch -6b6ef5234d6903c666e0f12eb8a1b958 02-sys-select.patch -e248dda6c8fb4dae5262a3e15cadb1c9 03-gpmroot.patch -c2d6e7341dc2bd285e276b14336b4bf6 gpm.initd -887ce2e3743ac8ea9baf9f723876dc4b gpm.confd" -sha256sums="f011b7dc7afb824e0a017b89b7300514e772853ece7fc4ee640310889411a48d gpm-1.20.7.tar.bz2 -290e032640c8cfb95d5a8dddfd99e11887100b08750b9f5ceaec6e3209e3ebf3 error-format.patch -4b99946b86d9f21d7ec4f3e366dab18a57133903c480408bf0eb838fccc2f11d 01-Iheaders.patch -04487ddfe3e2f5ada548d55bc0e62bf5f36e92641d254f4f24ee0428253b26a5 02-sys-select.patch -48a60c2661f675cc17c6fdc7d2f55f8836624df3c1c490160a321e846a9925aa 03-gpmroot.patch -d3b6ba9da912f628572d9679311f562a2fb318765ae7397da535df830ccd09ba gpm.initd -260b40ffebc7eca901203ca7083cfd72a8ffb5da7210840b389ddc2317e80dba gpm.confd" -sha512sums="51c1141ed502f8b6bc846485a8e315bafe3cf2b7c9d1ea8a710d9748ff2058f29c7ab5715fc1730a8437c613181d2050f37b134e9288c69ba8ff7fb0be7ec0d1 gpm-1.20.7.tar.bz2 -caad0472374b9bb9bdf8f31480f88895b2d65dc0565611932fa185592ffcc18065bb66b433f54f0df9f6173056b6c34ec5d57f79bd19f38edefeca57603bc76c error-format.patch -cb9fa2c48b5fa7f06ccfa8be57e421ee228b49707027094a2fdca5809407e7e277484c820ed4ee0800ef1a36bfc322ac33b2f29b4411ffab345c900931113863 01-Iheaders.patch -24fbc48408388a7481dadbccc6da3edbd5f82a644460e5a9ca6039fbac2d2eff6c16002b2158c1955fbd2677655b8b1acd1e12b94b9c29eeddb1a883e813e2a7 02-sys-select.patch -e6bdef0847e06bb4fd15bae315cd8cdbdc5b02e7241da575127592689aad6da1b331e4442a70ae6fcb8068e844adf2de509f61c318572a91b97ab00efa6444fd 03-gpmroot.patch -d268504bd0cf83706863a8af5c5719b0d192c34ae6a78ff0378521841eca242b39a6e6891080a5fc5512732f84e7439697ba92bfda3ecc1aaebd36b16e946477 gpm.initd -0e7c96f29222d33301fc9c5c8cf409b7dbe6cbb1e79d76444ae5724e8b793679d3ea597a8ad64187e85680799847632095e469445ae56f893616cb0235a29f3a gpm.confd" diff --git a/unmaintained/gpm/error-format.patch b/unmaintained/gpm/error-format.patch deleted file mode 100644 index 8c9628f492..0000000000 --- a/unmaintained/gpm/error-format.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/lib/report-lib.c b/src/lib/report-lib.c -index c0ae086..1b9754d 100644 ---- a/src/lib/report-lib.c -+++ b/src/lib/report-lib.c -@@ -47,7 +47,7 @@ void gpm_report(int line, char *file, int stat, char *text, ... ) - log_level = LOG_CRIT; break; - } - #ifdef HAVE_VSYSLOG -- syslog(log_level, string); -+ syslog(log_level, "%s", string); - vsyslog(log_level, text, ap); - #else - fprintf(stderr,"%s[%s(%d)]:\n",string,file,line); diff --git a/unmaintained/gpm/gpm.confd b/unmaintained/gpm/gpm.confd deleted file mode 100644 index eb77c711fe..0000000000 --- a/unmaintained/gpm/gpm.confd +++ /dev/null @@ -1,8 +0,0 @@ -# gpm conf.d file for alpine linux - -# -# Specify gpm mouse daemon options here. -# - -#gpm_opts="-m /dev/input/mice -t imps2" - diff --git a/unmaintained/gpm/gpm.initd b/unmaintained/gpm/gpm.initd deleted file mode 100644 index 85b292c317..0000000000 --- a/unmaintained/gpm/gpm.initd +++ /dev/null @@ -1,10 +0,0 @@ -#!/sbin/openrc-run - -pidfile=/var/run/gpm.pid -command=/usr/sbin/gpm -command_args=${gpm_opts:--m /dev/input/mice -t imps2} - -depend() { - after localmount - use hotplug logger -} diff --git a/unmaintained/grantlee/APKBUILD b/unmaintained/grantlee/APKBUILD deleted file mode 100644 index 452d1c8fd5..0000000000 --- a/unmaintained/grantlee/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor:k0r10n -# Maintainer: -pkgname=grantlee -pkgver=0.4.0 -pkgrel=0 -pkgdesc="Grantlee is a set of free software libraries written using the Qt framework" -url="http://www.gitorious.org/grantlee/pages/Home" -arch="all" -license="LGPL3" -depends= -depends_dev="cmake qt-dev doxygen" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://downloads.grantlee.org/${pkgname}-${pkgver}.tar.gz" - -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="fa8a2e9be7be7e3a89e700679e6f3014 grantlee-0.4.0.tar.gz" -sha256sums="13a2d8121392404bb3be4ed470b211bc098cd98da795ef7bf41517d2fb640d3f grantlee-0.4.0.tar.gz" -sha512sums="6ff539eb7aaf366487214b02131d67b9967713c42d20314ff56129e9543516fdf2d129b9c3015f0959c89c6f0ee9ad085af91fed4293bd0613d8e888bc850ca7 grantlee-0.4.0.tar.gz" diff --git a/unmaintained/grc/APKBUILD b/unmaintained/grc/APKBUILD deleted file mode 100644 index 31daf763cb..0000000000 --- a/unmaintained/grc/APKBUILD +++ /dev/null @@ -1,20 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=grc -pkgver=1.7 -pkgrel=1 -pkgdesc='colouriser for beautifying your logfiles or output of commands' -arch='noarch' -url='http://kassiopeia.juls.savba.sk/~garabik/software/grc.html' -license='GPL' -depends='python' -source="grc-$pkgver.tar.gz::https://github.com/garabik/grc/archive/v$pkgver.tar.gz" -_builddir="$srcdir/$pkgname-$pkgver" - -package() { - cd "$_builddir" - ./install.sh "$pkgdir" -} - -md5sums="8d60bbe162d5f007afd26719a781f914 grc-1.7.tar.gz" -sha256sums="20430dc71f843316bc10ae26c7318e2eb7ba65c61048ee0c02f961e459d47602 grc-1.7.tar.gz" -sha512sums="737e16df139723cdae51249dab2ede5efd1b1eaee6b3316346f2167e4effecc223a1bfe9f6e07bfe36e135cd9610840f358d35594b6b3e65ed56a780e90fb6a9 grc-1.7.tar.gz" diff --git a/unmaintained/greybird-themes/APKBUILD b/unmaintained/greybird-themes/APKBUILD deleted file mode 100644 index 2f0568ef01..0000000000 --- a/unmaintained/greybird-themes/APKBUILD +++ /dev/null @@ -1,79 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=greybird-themes -pkgver=1.6.2 -pkgrel=1 -pkgdesc="A clean minimalistic theme for Xfce, GTK+ 2 and 3" -url="http://shimmerproject.org/project/greybird/" -arch="noarch" -license="GPLv2+ or CC-BY-SA" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-gtk2 $pkgname-gtk3 $pkgname-metacity $pkgname-xfwm4 - $pkgname-xfce4-notifyd:_notify $pkgname-unity" -source="greybird-$pkgver.tar.gz::https://github.com/shimmerproject/Greybird/archive/v$pkgver.tar.gz - gtk-3.14-fix.patch - " - -_builddir="$srcdir"/Greybird-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - # Cleanup - # Remove Unity theme - rm -f gtk-3.0/apps/unity.css - rm -f gtk-3.0/apps/lightdm-unity-greeter.css - - sed -i '/unity\.css/d' gtk-3.0/gtk.css - sed -i '/lightdm-unity-greeter\.css/d' gtk-3.0/gtk.css - sed -i '/lightdm-gtk-greeter\.css/d' gtk-3.0/gtk.css -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/themes/Greybird - cp -pr * "$pkgdir"/usr/share/themes/Greybird -} - -_mv() { - pkgdesc="$1" - install_if="$pkgname=$pkgver-r$pkgrel $2"; - depends= - local _i - shift; shift - mkdir -p "$subpkgdir"/usr/share/themes/Greybird - for _i; do - msg "moving $_i" - mv "$pkgdir"/usr/share/themes/Greybird/$_i \ - "$subpkgdir"/usr/share/themes/Greybird || return 1 - done -} - - -gtk2() { - _mv "Greybird GTK+2 themes" gtk+2.0 gtk-2.0 - depends="gtk-murrine-engine" -} - -gtk3() { _mv "Greybird GTK+3 themes" gtk+3.0 gtk-3.0; } -metacity() { _mv "Greybird Metacity themes" metacity metacity-1; } -xfwm4() { _mv "Greybird Xfce4 themes" xfwm4 xfwm4 'xfwm4-*'; } -_notify() { _mv "Greybird Xfce4-notifyd themes" xfce4-notifyd 'xfce-notify-*'; } -unity() { _mv "Greybird Unity themes" unity 'unity'; } - -md5sums="542cfd641cd5ff723ee2fcdfdb1eabbd greybird-1.6.2.tar.gz -ef3882cc1ea6c00fb1c372c911b563fe gtk-3.14-fix.patch" -sha256sums="473a38b379381311b68dcc579005c0d5bbfbabefe1de7107d897c68b81e6b460 greybird-1.6.2.tar.gz -00d0c58a96c5c1090adcf8ec479d5d608e68d1141e79cebb1112f3430ae7a482 gtk-3.14-fix.patch" -sha512sums="eddd6b89880dbc034ee32cc17751b6ee1b18b55eef31d745c64f865b96d0fbf36fe6ab59dbe89dbdd032b3ed01395850f9597bdc1897e276b0433e93353d893f greybird-1.6.2.tar.gz -6cb7912dda0b82065e58a51533ce0b7d6341af5e7e996dd2f2870c8e2db6c439e7c47f12e7bccb24c74021de6516ebbc9a0ac32c5323b048002b7abf87365722 gtk-3.14-fix.patch" diff --git a/unmaintained/greybird-themes/gtk-3.14-fix.patch b/unmaintained/greybird-themes/gtk-3.14-fix.patch deleted file mode 100644 index 61f23c5c6d..0000000000 --- a/unmaintained/greybird-themes/gtk-3.14-fix.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css -index 3428f75..619f566 100644 ---- a/gtk-3.0/gtk-widgets.css -+++ b/gtk-3.0/gtk-widgets.css -@@ -4153,3 +4153,11 @@ GtkBubbleWindow .toolbar { - box-shadow: 0 3px 5px alpha(black, 0.5), - 0 0 0 1px alpha(black, 0.2); - } -+ -+.toolbar .button , .toolbar .button:insensitive { -+ border: 1px solid transparent; -+ background: none; -+ border-color: none; -+ box-shadow: inset 0 0 , -+ inset 0 0 ; -+} - diff --git a/unmaintained/gssdp/APKBUILD b/unmaintained/gssdp/APKBUILD deleted file mode 100644 index d224666bf2..0000000000 --- a/unmaintained/gssdp/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=gssdp -pkgver=0.12.2 -pkgrel=0 -pkgdesc="Resource discovery and announcement over SSDP" -url="http://www.gupnp.org/" -arch="all" -license="LGPL2" -depends= -depends_dev="dbus-glib-dev glib-dev gtk+-dev libsoup-dev libxml2-dev" -makedepends="$depends_dev gobject-introspection-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz - gssdp-fixdso.patch" - -_builddir="$srcdir"/gssdp-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-introspection=yes \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="7805d3062706bdba4f088ce7e96a9293 gssdp-0.12.2.tar.xz -44a768c4245e69b54b96b985143a6faa gssdp-fixdso.patch" diff --git a/unmaintained/gssdp/gssdp-fixdso.patch b/unmaintained/gssdp/gssdp-fixdso.patch deleted file mode 100644 index 597e41e3cf..0000000000 --- a/unmaintained/gssdp/gssdp-fixdso.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gssdp-0.7.2/tests/Makefile.in.orig 2010-04-09 13:55:16.000000000 +0100 -+++ gssdp-0.7.2/tests/Makefile.in 2010-04-09 18:07:19.357276589 +0100 -@@ -129,7 +129,7 @@ - INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ - INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ - LD = @LD@ --LDFLAGS = @LDFLAGS@ -+LDFLAGS = @LDFLAGS@ -lgobject-2.0 -lglib-2.0 - LIBGSSDP_CFLAGS = @LIBGSSDP_CFLAGS@ - LIBGSSDP_LIBS = @LIBGSSDP_LIBS@ - LIBGTK_CFLAGS = @LIBGTK_CFLAGS@ diff --git a/unmaintained/gst-plugin-libde265_0.10/APKBUILD b/unmaintained/gst-plugin-libde265_0.10/APKBUILD deleted file mode 100644 index 782a46612d..0000000000 --- a/unmaintained/gst-plugin-libde265_0.10/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=gst-plugin-libde265_0.10 -pkgver=0.1.11 -pkgrel=0 -pkgdesc="Libde265 gstreamer plugin" -url="https://github.com/strukturag/gstreamer-libde265" -arch="all" -license="LGPL" -depends="" -depends_dev="gstreamer0.10-dev gst-plugins-base0.10-dev gst-plugins-bad0.10-dev - bzip2-dev libde265-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="https://github.com/strukturag/gstreamer-libde265/releases/download/v$pkgver/gstreamer-libde265-$pkgver.tar.gz" - -_builddir="$srcdir"/gstreamer-libde265-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-gstreamer0.10 \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="7d855cccc653f296ec0a2c3f3c216c9f gstreamer-libde265-0.1.11.tar.gz" -sha256sums="59e987e4ee985cc8b712936990c4d7a94d469d905d137f85f4ca5f7363d1d5b1 gstreamer-libde265-0.1.11.tar.gz" -sha512sums="66241bb956487db65fab903ab2bbee481fc7eb6859cfbbac4ea1c0422acaff23c312defdae83fd4e7615d4f09dcdf26c68887df96ddb1b6c350692a51df6e177 gstreamer-libde265-0.1.11.tar.gz" diff --git a/unmaintained/gthumb/APKBUILD b/unmaintained/gthumb/APKBUILD deleted file mode 100644 index 59b76127dd..0000000000 --- a/unmaintained/gthumb/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: ScrumpyJack -# Maintainer: -pkgname=gthumb -pkgver=3.4.0 -pkgrel=0 -pkgdesc="gThumb is an image viewer and browser for GNOME" -url="https://wiki.gnome.org/Apps/gthumb" -arch="all" -license="GPL" -depends="gsettings-desktop-schemas" -depends_dev="" -makedepends="gtk+3.0-dev libintl exiv2 intltool libraw-dev flex docbook-xsl\ - tiff-dev libgnome gstreamer1-dev glib-dev gconf libunique-dev \ - itstool gsettings-desktop-schemas" -install="" -subpackages="$pkgname-lang $pkgname-doc" -source="http://ftp.acc.umu.se/pub/gnome/sources/${pkgname}/${pkgver/\.0/}/${pkgname}-${pkgver}.tar.xz" - -_builddir=${srcdir}/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --disable-schemas-compile - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="c920d76705094141a339c97b9df8d3e7 gthumb-3.4.0.tar.xz" -sha256sums="abd1afe457c65289af31c6db7037452faa3838356480857d8cdc19f0ecde4933 gthumb-3.4.0.tar.xz" -sha512sums="04b962ada75ab46a6be2ad192dfc9b34bd5f7b0189d970e688d0ec89130a766ab7e5a23d34b305829092c3b8756baad83d0367f4a972e384dac16fcff0255d85 gthumb-3.4.0.tar.xz" diff --git a/unmaintained/gtk-equinox-engine/APKBUILD b/unmaintained/gtk-equinox-engine/APKBUILD deleted file mode 100644 index 3f5b3ad2bd..0000000000 --- a/unmaintained/gtk-equinox-engine/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=gtk-equinox-engine -pkgver=1.50 -pkgrel=0 -pkgdesc="enhanced cairo-based GTK+ engine" -url="http://gnome-look.org/content/show.php/Equinox+GTK+Engine" -license="GPL" -arch="all" -depends= -makedepends="gtk+-dev" -install= -subpackages= -source="http://gnome-look.org/CONTENT/content-files/121881-equinox-$pkgver.tar.gz" - -_builddir="$srcdir"/equinox-${pkgver} - -prepare() { - cd "$srcdir" - - msg "Unpacking GTK+ engine" - tar zxf equinox-gtk-engine.tar.gz - - cd "$_builddir" -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - - mkdir -p "$pkgdir"/usr/share/themes - cd "$pkgdir"/usr/share/themes - - msg "Unpacking themes" - tar zxf "$srcdir"/equinox-themes.tar.gz - -} - -md5sums="f5ab68e50e128ee5186265b80d5cf1bd 121881-equinox-1.50.tar.gz" diff --git a/unmaintained/gtk-qt-engine/APKBUILD b/unmaintained/gtk-qt-engine/APKBUILD deleted file mode 100644 index b118cc6a65..0000000000 --- a/unmaintained/gtk-qt-engine/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=gtk-qt-engine -pkgver=1.1 -pkgrel=0 -pkgdesc="GTK QT engine" -url="http://gtk-qt-engine.googlecode.com/" -arch="x86 x86_64" -license="GPL" -depends= -depends_dev="kde-workspace-dev gtk+-dev" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="$pkgname-lang" -source="http://gtk-qt-engine.googlecode.com/files/gtk-qt-engine-$pkgver.tar.bz2 - stdlib.patch" -install_if="kdebase-workspace" - -_builddir="$srcdir"/gtk-qt-engine -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON . || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="de8048baef7dfe6c97cd97c463d66152 gtk-qt-engine-1.1.tar.bz2 -1658c0431dd13bef9c3f72183815c6f3 stdlib.patch" diff --git a/unmaintained/gtk-qt-engine/stdlib.patch b/unmaintained/gtk-qt-engine/stdlib.patch deleted file mode 100644 index 44fd2c49e5..0000000000 --- a/unmaintained/gtk-qt-engine/stdlib.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- gtk-qt-engine.orig/src/qt_theme_draw.c -+++ gtk-qt-engine/src/qt_theme_draw.c -@@ -19,6 +19,7 @@ - ***************************************************************************/ - - #include -+#include - #include - #include - #include diff --git a/unmaintained/gtkhtml/APKBUILD b/unmaintained/gtkhtml/APKBUILD deleted file mode 100644 index be980d8f5e..0000000000 --- a/unmaintained/gtkhtml/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: Natanael Copa -pkgname=gtkhtml -pkgver=3.32.2 -pkgrel=1 -pkgdesc="GTK HTML renderer" -url="http://projects.gnome.org/evolution" -arch="all" -license="LGPL" -depends="iso-codes gnome-icon-theme" -depends_dev="gtk+-dev libxml2-dev gnome-vfs-dev libxrandr-dev libxau-dev libxi-dev libxt-dev libxrender-dev libxcursor-dev libxdmcp-dev libxcomposite-dev - enchant-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" - -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --disable-deprecated-warning-flags \ - --disable-scrollkeeper || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - - -md5sums="3e1a1d56beef147aa0a95e5ebbf61c8c gtkhtml-3.32.2.tar.bz2" diff --git a/unmaintained/gtkimageview/APKBUILD b/unmaintained/gtkimageview/APKBUILD deleted file mode 100644 index 058ec9f531..0000000000 --- a/unmaintained/gtkimageview/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=gtkimageview -pkgver=1.6.4 -pkgrel=1 -pkgdesc="image viewing widget for GTK+" -url="http://trac.bjourne.webfactional.com/" -arch="all" -license="LGPL" -depends= -depends_dev="gtk+-dev gdk-pixbuf-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="${pkgname}-${pkgver}.tar.gz::http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/${pkgname}-${pkgver}.tar.gz?format=raw" - -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="501367b3f50e69a12208dc9c6ad00b18 gtkimageview-1.6.4.tar.gz" diff --git a/unmaintained/gumbo-parser/APKBUILD b/unmaintained/gumbo-parser/APKBUILD deleted file mode 100644 index 4e87808a6e..0000000000 --- a/unmaintained/gumbo-parser/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Leonardo Arena -# Maintainer: -pkgname=gumbo-parser -pkgver=0.10.1 -pkgrel=1 -pkgdesc="HTML5 parsing algorithm implemented as a pure C99 library" -url="https://github.com/google/gumbo-parser" -arch="all" -license="Apache 2.0" -depends= -depends_dev= -makedepends="$depends_dev autoconf automake libtool" -install= -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/v$pkgver.tar.gz" - - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here -} - -build() { - cd "$_builddir" - ./autogen.sh - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - - # remove the 2 lines below (and this) if there is no init.d script - # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname -} - -md5sums="c6f75c9eda65e897c242f8958a34aed0 gumbo-parser-0.10.1.tar.gz" -sha256sums="28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad gumbo-parser-0.10.1.tar.gz" -sha512sums="bb1fb55cd07076ab6a9f38dc14db50397dbdca9a04ace4895dfba8b8cbc09038a96e26070c09c75fa929ada2e815affe233c1e2ecd8afe2aba6201647cf277d1 gumbo-parser-0.10.1.tar.gz" diff --git a/unmaintained/gupnp/APKBUILD b/unmaintained/gupnp/APKBUILD deleted file mode 100644 index 905d9441fa..0000000000 --- a/unmaintained/gupnp/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=gupnp -pkgver=0.16.1 -pkgrel=2 -pkgdesc="A framework for creating UPnP devices & control points" -url="http://www.gupnp.org/" -arch="all" -license="LGPLv2+" -depends= -depends_dev="dbus-dev libsoup-dev libxml2-dev util-linux-dev gssdp-dev" -makedepends="$depends_dev gobject-introspection-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://www.gupnp.org/sites/all/files/sources/gupnp-$pkgver.tar.gz" - -_builddir="$srcdir"/gupnp-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-introspection=yes \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="021bb237741532af4bca50157ff326e4 gupnp-0.16.1.tar.gz" diff --git a/unmaintained/halfscan6/APKBUILD b/unmaintained/halfscan6/APKBUILD deleted file mode 100644 index 2c9c14b63f..0000000000 --- a/unmaintained/halfscan6/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=halfscan6 -pkgver=0.2 -pkgrel=0 -pkgdesc="An simple IPv6 tcp port scanner" -url="http://www.habets.pp.se/synscan/programs.php?prog=halfscan6" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://www.habets.pp.se/synscan/files/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -Dm755 halfscan6 "$pkgdir"/usr/bin/$pkgname -} - -md5sums="a77f0341aa2ccde43cd41157103fbd92 halfscan6-0.2.tar.gz" -sha256sums="544531f7bc114f97c57872ad8d803ef44245cebcdd6d1e6c106b1be10ca98050 halfscan6-0.2.tar.gz" -sha512sums="b363714edd60ee66547d401811a042a9760dd8e94faef7ceeb68d0e88e03c0d179e82b7c8ddd0ccca5b9f67a1fad05b446a6c762a903cfc0a205049536e5933e halfscan6-0.2.tar.gz" diff --git a/unmaintained/hardinfo/APKBUILD b/unmaintained/hardinfo/APKBUILD deleted file mode 100644 index 968ba57d17..0000000000 --- a/unmaintained/hardinfo/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=hardinfo -pkgver=0.5.1 -pkgrel=5 -pkgdesc="A system information and benchmark tool." -url="http://hardinfo.berlios.de/wiki/index.php/Main_Page" -arch="all" -license="GPL2" -makedepends="gtk+-dev libsoup-dev>=2.4.0 gnutls-dev>=2.4.1" -depends= -source="http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2 - fixsensors.patch - uclibc.patch - hardinfo-alpine.patch" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - # configure scrip says bash but bb ash works just fine - sed -i -e '1,1s/bash/sh/' configure -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -d "$pkgdir"/etc - echo "Alpine Linux" > "$pkgdir"/etc/hardinfo.distro -} -md5sums="6fb38992e140f2fab16518ae1f38e188 hardinfo-0.5.1.tar.bz2 -05c212db07b9f152cdea052ff7bb28fa fixsensors.patch -e5dfccb5d3cb46acd36072f9e2396ff4 uclibc.patch -41651eb55dc219b6d9c279227a17514a hardinfo-alpine.patch" diff --git a/unmaintained/hardinfo/fixsensors.patch b/unmaintained/hardinfo/fixsensors.patch deleted file mode 100644 index 812c294589..0000000000 --- a/unmaintained/hardinfo/fixsensors.patch +++ /dev/null @@ -1,13 +0,0 @@ - diff -upNr hardinfo-0.4.2.2.orign/util.c hardinfo-0.4.2.2/util.c ---- hardinfo-0.4.2.2.orign/util.c 2007-07-20 16:45:08.000000000 +0200 -+++ hardinfo-0.4.2.2/util.c 2007-07-26 10:15:32.000000000 +0200 -@@ -996,7 +996,8 @@ gchar *h_strdup_cprintf(const gchar * fo - if (source) { - retn = g_strconcat(source, buffer, NULL); - g_free(buffer); -- g_free(source); -+ if(strlen(source)) -+ g_free(source); - } else { - retn = buffer; - } diff --git a/unmaintained/hardinfo/hardinfo-alpine.patch b/unmaintained/hardinfo/hardinfo-alpine.patch deleted file mode 100644 index 47e3cb73a8..0000000000 --- a/unmaintained/hardinfo/hardinfo-alpine.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ./computer.h.orig -+++ ./computer.h -@@ -23,6 +23,7 @@ - static struct { - gchar *file, *codename; - } distro_db[] = { -+ { DB_PREFIX "alpine-release", "al" }, - { DB_PREFIX "debian_version", "deb" }, - { DB_PREFIX "slackware-version", "slk" }, - { DB_PREFIX "mandrake-release", "mdk" }, diff --git a/unmaintained/hardinfo/uclibc.patch b/unmaintained/hardinfo/uclibc.patch deleted file mode 100644 index c24e9ea1a1..0000000000 --- a/unmaintained/hardinfo/uclibc.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/arch/linux/common/os.h b/arch/linux/common/os.h -index f3c2c2d..78bc78b 100644 ---- a/arch/linux/common/os.h -+++ b/arch/linux/common/os.h -@@ -49,6 +49,9 @@ err: - static gchar * - get_libc_version(void) - { -+#if defined(__UCLIBC__) -+ return g_strdup("uClibc"); -+#else - FILE *libc; - gchar buf[256], *tmp, *p; - -@@ -70,6 +73,7 @@ get_libc_version(void) - strstr(buf, " stable ") ? "" : "un"); - err: - return g_strdup("Unknown"); -+#endif - } - - static gchar * diff --git a/unmaintained/hardlink/APKBUILD b/unmaintained/hardlink/APKBUILD deleted file mode 100644 index 76b1848e74..0000000000 --- a/unmaintained/hardlink/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Valery McHno -pkgname=hardlink -pkgver=0.3.0 -pkgrel=0 -pkgdesc="Finds multiple copies of files and replaces them with hardlinks" -url="http://jak-linux.org/projects/hardlink/" -arch="all" -license="MIT" -depends="" -makedepends="pcre musl-dev attr-dev" -subpackages="$pkgname-doc" -source="http://jak-linux.org/projects/hardlink/${pkgname}_${pkgver}.tar.xz" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 -} - -md5sums="72f1a460adb6874c151deab766e434ad hardlink_0.3.0.tar.xz" -sha256sums="e8c93dfcb24aeb44a75281ed73757cb862cc63b225d565db1c270af9dbb7300f hardlink_0.3.0.tar.xz" -sha512sums="22a8945ce5dac74b05bb1231959823aec0cd364d6db9ad808df4acf232d894170c006ac1e88509604ce1859d41bd4a5d91e2b12c8010aa7fc7e19a77922c4486 hardlink_0.3.0.tar.xz" diff --git a/unmaintained/hessling-editor/APKBUILD b/unmaintained/hessling-editor/APKBUILD deleted file mode 100644 index 7153775cae..0000000000 --- a/unmaintained/hessling-editor/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=hessling-editor -_pkgname=THE -pkgver=3.3_rc1 -_pkgver=3.3RC1 -pkgrel=1 -pkgdesc="Powerful text editor modelled on the XEDIT with the best features of Kedit." -url="http://hessling-editor.sourceforge.net/" -arch="all" -license="GPL" -depends="" -depends_dev= -makedepends="ncurses-dev regina-rexx" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$_pkgname-$_pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$_pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --with-rexx=regina --with-ncurses --prefix=/usr || return 1 - make all || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="e46b63e533bc458f6f701983b7f2150b THE-3.3RC1.tar.gz" diff --git a/unmaintained/hexcurse/APKBUILD b/unmaintained/hexcurse/APKBUILD deleted file mode 100644 index 7bf023913b..0000000000 --- a/unmaintained/hexcurse/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=hexcurse -pkgver=1.55 -pkgrel=0 -pkgdesc="Versatile ncurses-based hex editor" -url="http://directory.fsf.org/project/HexCurse" -arch="all" -license="GPL" -depends= -depends_dev="ncurses-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/hexcurse-$pkgver.tar.gz - hexcurse-alloca.patch" - -_builddir="$srcdir"/hexcurse-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="c9f9485490300b5111aa429eabfef789 hexcurse-1.55.tar.gz -5aae74a76923ee8e4fe033e0aa381a82 hexcurse-alloca.patch" diff --git a/unmaintained/hexcurse/hexcurse-alloca.patch b/unmaintained/hexcurse/hexcurse-alloca.patch deleted file mode 100644 index 2ea060f2d8..0000000000 --- a/unmaintained/hexcurse/hexcurse-alloca.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- hexcurse/src/getopt.c 2002-03-21 17:55:54.000000000 +0100 -+++ hexcurse/src/getopt.c 2004-08-09 12:52:39.592951560 +0200 -@@ -36,8 +36,8 @@ - * enables hexcurse to be compiled with SGI's proprietary compiler */ - #ifdef _SGIAPI - #include --#else --char *alloca (); -+//#else -+//char *alloca (); - #endif - #define __alloca alloca - /* end of modification */ - diff --git a/unmaintained/html2ps/APKBUILD b/unmaintained/html2ps/APKBUILD deleted file mode 100644 index c57f659c6a..0000000000 --- a/unmaintained/html2ps/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=html2ps -pkgver=1.0b5 -pkgrel=0 -pkgdesc="Perl version of html2ps" -url="http://user.it.uu.se/~jan/html2ps.html" -arch="all" -license="GPL" -depends="perl wget imagemagick" -makedepends="" -install= -subpackages="$pkgname-doc" -source="http://user.it.uu.se/~jan/$pkgname-$pkgver.tar.gz - html2ps-conf.patch" - -build() { - cd "$srcdir"/$pkgname-$pkgver - for i in ../*.patch; do - msg "Applying $i" - patch < $i || return 1 - done - mv install install.sh - - install -m755 -D "$srcdir"/$pkgname-$pkgver/html2ps "$pkgdir"/usr/bin/html2ps - install -m644 -D "$srcdir"/$pkgname-$pkgver/sample "$pkgdir"/etc/html2ps.conf - install -m644 -D "$srcdir"/$pkgname-$pkgver/html2ps.1 "$pkgdir"/usr/share/man/man1/html2ps.1 - install -m644 -D "$srcdir"/$pkgname-$pkgver/html2psrc.5 "$pkgdir"/usr/share/man/man5/html2psrc.5 -} - -md5sums="0998fefa4c8f9a04c88cfac7a83df629 html2ps-1.0b5.tar.gz -336a9e908578aeee303660a083b58c03 html2ps-conf.patch" diff --git a/unmaintained/html2ps/html2ps-conf.patch b/unmaintained/html2ps/html2ps-conf.patch deleted file mode 100644 index e96e1e1e8d..0000000000 --- a/unmaintained/html2ps/html2ps-conf.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- html2ps-1.0b5.orig/html2ps Wed Aug 5 19:54:09 2009 -+++ html2ps-1.0b5/html2ps Wed Aug 5 19:54:34 2009 -@@ -26,7 +26,7 @@ - # Set the name of the global configuration file. See the installation notes - # and manual page for more details on configuration files. - --$globrc='/opt/misc/lib/html2ps/html2psrc'; -+$globrc='/etc/html2ps.conf'; - $ug='/opt/misc/lib/html2ps/html2ps.html'; - - $conf=<<'EOR'; diff --git a/unmaintained/httest/APKBUILD b/unmaintained/httest/APKBUILD deleted file mode 100644 index d1686311a5..0000000000 --- a/unmaintained/httest/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=httest -pkgver=2.4.12 -pkgrel=0 -pkgdesc="A script based tool for testing and benchmarking web applications" -url="http://htt.sourceforge.net" -arch="all" -license="ASL 2.0" -depends="" -depends_dev="" -makedepends="apr-dev apr-util-dev pcre-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/project/htt/htt2.4/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="6ef11879e714739b55ebc314c9ed889b httest-2.4.12.tar.gz" -sha256sums="fd18cdc996c199d56d77e9355c07e1e1701d5550c03fbecb06a255ce72d79bd1 httest-2.4.12.tar.gz" -sha512sums="a8253b7eb5fa544f279cba5825d1485f571398ec4646c012ed697fe870e42809bf6f14454b865ad59a50864cb5367c53afc614941318e130d9948f1499c2985f httest-2.4.12.tar.gz" diff --git a/unmaintained/httperf/APKBUILD b/unmaintained/httperf/APKBUILD deleted file mode 100644 index c8d2e81bfc..0000000000 --- a/unmaintained/httperf/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: -# Maintainer: Corentin Henry -pkgname=httperf -pkgver=0.9.0 -pkgrel=0 -pkgdesc="A tool for measuring web server performance." -url="https://github.com/httperf/httperf" -arch="x86_64" -license="GPL2" -depends="" -depends_dev="" -makedepends="openssl-dev" -install="" -subpackages="$pkgname-doc" -source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz" - -_builddir=$srcdir/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - update_config_sub -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="2968c36b9ecf3d98fc1f2c1c9c0d9341 httperf-0.9.0.tar.gz" -sha256sums="e1a0bf56bcb746c04674c47b6cfa531fad24e45e9c6de02aea0d1c5f85a2bf1c httperf-0.9.0.tar.gz" -sha512sums="58ea6a3b8a82181a89e5df22fdf18d5be8c7b533c404108702cc03fc727fb1599a43e620d83d41630f8a951d80e48ed99d0c3dd8469ee1fc7626449b777971e1 httperf-0.9.0.tar.gz" diff --git a/unmaintained/httpup/10-getcwd.patch b/unmaintained/httpup/10-getcwd.patch deleted file mode 100644 index c3acbeb38d..0000000000 --- a/unmaintained/httpup/10-getcwd.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- httpup-0.4.0k.orig/main.cpp -+++ httpup-0.4.0k/main.cpp -@@ -12,6 +12,7 @@ - #include - #include - #include -+#include - using namespace std; - - #include "httpup.h" diff --git a/unmaintained/httpup/APKBUILD b/unmaintained/httpup/APKBUILD deleted file mode 100644 index 166573fe6e..0000000000 --- a/unmaintained/httpup/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: z3bra -# Maintainer: -pkgname=httpup -pkgver=0.4.0l -pkgrel=0 -pkgdesc="One way sync over http (CRUX port)" -url="http://jw.tks6.net/files/crux/${pkgname}_manual.html" -arch="all" -license="GPL" -depends="curl" -depends_dev="curl-dev" -makedepends="$depends_dev" -subpackages="httpup-doc" -source="http://jw.tks6.net/files/crux/$pkgname-$pkgver.tar.gz - 10-getcwd.patch" - -_builddir=$srcdir/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - sed -i 's/usr/local/usr' Makefile -} - -build() { - cd "$_builddir" - make - -} - -package() { - cd "$_builddir" - - make DESTDIR=$pkgdir install - - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING -} - -md5sums="c0e2973f0dbd7655dcbb5e5979ddc199 httpup-0.4.0l.tar.gz -a158568d4e6fe8cc5d5e3becc1508b31 10-getcwd.patch" -sha256sums="005079b7d96b23e27dd645492e21f9f93a9a3ebd2ad061069bc038180c04a549 httpup-0.4.0l.tar.gz -0f6ae9ef93cc835631dae836d3040deaf2f435b8bad6c4b5ea60bce36683b9d2 10-getcwd.patch" -sha512sums="8e4aab2abc0792de1c9274c2df5ff50e1362d18bcb94fb908e4c9b691de9bb557f39908be015ae436cf4335e54ac4536a7292a304eac4a39a1425d92e36a8fee httpup-0.4.0l.tar.gz -ba184e443539ddc935041e9cfc075bc8fc16df17329bc626ce6489ae754cee31906fa6339601c2e58333f44ac67fbfdce12b0eff602f83a234c206bfe649f774 10-getcwd.patch" diff --git a/unmaintained/ibniz/APKBUILD b/unmaintained/ibniz/APKBUILD deleted file mode 100644 index a1ef5ff7fe..0000000000 --- a/unmaintained/ibniz/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Johannes Matheis -# Maintainer: Johannes Matheis -pkgname=ibniz -pkgver=1.18 -pkgrel=0 -pkgdesc="A virtual machine designed for extremely compact low-level audiovisual programs" -url="http://pelulamu.net/ibniz/" -arch="all" -license="zlib" -depends="" -depends_dev="sdl-dev" -makedepends="$depends_dev" -install="" -source="${url}/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make - -} - -package() { - cd "$_builddir" - install -D -m755 ibniz "$pkgdir/usr/bin/ibniz" - install -D -m644 licence.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - -} - -md5sums="81ee96b253111cfe2abdc7a843757287 ibniz-1.18.tar.gz" -sha256sums="e2f292641a67abd477fac8f2c455fa1579ba854c1f15152a41fef48fd46c6481 ibniz-1.18.tar.gz" -sha512sums="63448e3eb639a831b847cc3a737040a661ff4107e53ff70b9c33ba951c584ca903729547efd27afff9ac0b9e25a315a1d36670a4f4722c3d2287f375cb1bd760 ibniz-1.18.tar.gz" diff --git a/unmaintained/ibus/APKBUILD b/unmaintained/ibus/APKBUILD deleted file mode 100644 index 7a63805339..0000000000 --- a/unmaintained/ibus/APKBUILD +++ /dev/null @@ -1,79 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ibus -pkgver=1.5.13 -pkgrel=0 -pkgdesc="Intelligent Input Bus" -url="https://github.com/ibus/ibus/wiki" -arch="all" -license="LGPL" -depends="hicolor-icon-theme" -depends_dev="glib-dev gtk+3.0-dev gtk+2.0-dev gobject-introspection-dev libnotify-dev - dconf-dev gconf-dev" -makedepends="$depends_dev intltool iso-codes vala iso-codes-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs $pkgname-gtk2 $pkgname-gtk3" -source="https://github.com/ibus/ibus/releases/download/$pkgver/ibus-$pkgver.tar.gz" - -_builddir="$srcdir"/ibus-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-ui \ - --disable-gconf \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -libs() { - pkgdesc="ibus libraries" - depends="" - cd "$_builddir" - mkdir -p "$subpkgdir"/usr/lib/girepository-1.0 - mv "$pkgdir"/usr/lib/libibus-*.so.* \ - "$subpkgdir"/usr/lib/ || return 1 - mv "$pkgdir"/usr/lib/girepository-1.0/IBus-1.0.typelib \ - "$subpkgdir"/usr/lib/girepository-1.0/ || return 1 -} - -gtk2() { - pkgdesc="ibus Gtk 2.0 bindings" - depends="" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/gtk-2.0 \ - "$subpkgdir"/usr/lib/ || return 1 -} - -gtk3() { - pkgdesc="ibus Gtk 3.0 bindings" - depends="" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/gtk-3.0 \ - "$subpkgdir"/usr/lib/ || return 1 -} - -md5sums="314c5e4fbfa7a52e6bbe4d1fe87c33f4 ibus-1.5.13.tar.gz" -sha256sums="ed73d80542dfdcca190b7958431048cd6830c2ce25c467384630b6a7e957a5f1 ibus-1.5.13.tar.gz" -sha512sums="bffb3cecf984ec6e383a111b4e62506390f083476f59404e2e9b90251e6e06853d7f1dc06194456ab5064b5d375820510be1ab12ebd29b966d6a7f5b8aca07ab ibus-1.5.13.tar.gz" diff --git a/unmaintained/icewm/APKBUILD b/unmaintained/icewm/APKBUILD deleted file mode 100644 index e6af9ccfc1..0000000000 --- a/unmaintained/icewm/APKBUILD +++ /dev/null @@ -1,70 +0,0 @@ -# Contributor: Isaac Dunham -# Maintainer: Isaac Dunham -pkgname=icewm -pkgver=1.3.8 -pkgrel=3 -pkgdesc="A lightweight Win95/Motif-style window manager in C++" -url="http://www.icewm.org" -arch="all" -license="LGPL2" -depends="" -depends_dev="" -makedepends="gdk-pixbuf-dev libx11-dev util-macros fontconfig-dev freetype-dev - bash libxft-dev libxinerama-dev libice-dev libxrandr-dev libsm-dev" -install="" -subpackages="$pkgname-doc $pkgname-lang" -source="http://downloads.sourceforge.net/icewm/icewm-$pkgver.tar.gz -backtrace_on_glibc.patch" - -_builddir="$srcdir"/icewm-$pkgver -prepare() { - local i - cd "$_builddir" - cp /usr/share/abuild/config.sub ./ - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-guievents \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - sed -e 's/rxvt/urxvt/g' \ - -e 's/\(prog xterm.*\)/\1\nprog Terminal xterm xfce4-terminal/' \ - -e 's/\(prog xterm.*\)/\1\nprog st xterm st/' \ - -e 's/\(prog xterm.*\)/\1\nprog mrxvt xterm mrxvt/' \ - -e 's/prog Mozil.*/\nprog Firefox mozilla firefox\nprog Midori midori midori/' \ - -i "$pkgdir"/usr/share/icewm/menu -} -doc() { - cd "$_builddir" - make DESTDIR="$subpkgdir" install-docs install-man || return 1 - for _doc in AUTHORS BUGS README TODO; do - install -Dm644 "$srcdir"/$pkgname-$pkgver/$_doc "$subpkgdir"/usr/share/doc/$pkgname/$_doc || return 1 - done - install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING -} - -md5sums="6d61aced3bd20b9e7caeb7e8380368c8 icewm-1.3.8.tar.gz -9abf33b667e9b0b802da94bdcf974252 backtrace_on_glibc.patch" -sha256sums="17588d9e0bbbb23587bc04c83da9dd94fd4da6894ecfee6d7f3ed50d780dcd18 icewm-1.3.8.tar.gz -9894a8d8cd5f8f372662633e2b264ef1cea8d3ea10e4586ef210f493afdd443c backtrace_on_glibc.patch" -sha512sums="ce9bf3e736a2f3fad4bbf731647b4e4ad0168cd2c4af66b1c43beef9ceeee39d14909714d2fc73ab13f6c285a74dfe31fffc9677ae8bd2d1077716cd6d6afb72 icewm-1.3.8.tar.gz -b844bd0a0e839580e8212b22af9638503b6969c64f98a89bdeadef8e0121fd8668a3246d304e30fe4ba9097ce7767961ec87ac0e8df04abdbc5ec17ae3ce2451 backtrace_on_glibc.patch" diff --git a/unmaintained/icewm/backtrace_on_glibc.patch b/unmaintained/icewm/backtrace_on_glibc.patch deleted file mode 100644 index ceba2b7630..0000000000 --- a/unmaintained/icewm/backtrace_on_glibc.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/misc.cc b/src/misc.cc -index 8b7905a..1eee766 100644 ---- a/src/misc.cc -+++ b/src/misc.cc -@@ -15,7 +15,7 @@ - #include - #endif - --#ifdef linux -+#ifdef __GLIBC__ - #include - #endif - -@@ -539,7 +539,7 @@ bool isreg(char const *path) { - } - - void show_backtrace() { --#ifdef linux -+#ifdef __GLIBC__ - const char head[] = "\nbacktrace:\n"; - const char tail[] = "end\n"; - void *array[20]; diff --git a/unmaintained/icli/APKBUILD b/unmaintained/icli/APKBUILD deleted file mode 100644 index 4fc0d25fe4..0000000000 --- a/unmaintained/icli/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=icli -_realname=App-Icli -pkgver=0.48 -pkgrel=0 -pkgdesc="Icinga Command Line Interface" -url="http://finalrewind.org/projects/App-Icli/" -arch="noarch" -license="custom" -depends="perl-datetime perl-datetime-format-strptime perl-datetime-timezone - perl-list-moreutils perl-term-size" -depends_dev="" -makedepends="$depends_dev perl-module-build perl-test-compile - perl-test-pod perl-test-command" -install="" -subpackages="$pkgname-doc" -source="http://finalrewind.org/projects/${_realname}/${_realname}-${pkgver}.tar.gz" - -_builddir="$srcdir"/$_realname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - perl Build.PL installdirs=vendor destdir="${pkgdir}" \ - --icli-object-file=/var/spool/icinga/objects.cache \ - --icli-status-file=/var/spool/icinga/status.dat \ - --icli-command-file=/var/spool/icinga/rw/icinga.cmd - ./Build -} - -check() { - cd "$_builddir" - ./Build test -} - -package() { - cd "$_builddir" - ./Build install - install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING -} -md5sums="bc8a49aa80784553cd880ecafe059597 App-Icli-0.48.tar.gz" -sha256sums="f5dfd9c67a1e458d4d895be05d36e61f00b03eb8315e0942dbf6069593afb3ce App-Icli-0.48.tar.gz" -sha512sums="b3f5b9a626a3eea9406f63cbb7c06e6415d57ca9c3cb2ad5890e182a385842d819cd35b186e16ed5d78ce1eeba32bba4f0cfb3abff401f292aa64dfbb46686bf App-Icli-0.48.tar.gz" diff --git a/unmaintained/id3lib/00-add-libz-to-compilation.patch b/unmaintained/id3lib/00-add-libz-to-compilation.patch deleted file mode 100644 index e937877364..0000000000 --- a/unmaintained/id3lib/00-add-libz-to-compilation.patch +++ /dev/null @@ -1,14 +0,0 @@ -This patch was first introduced in version 3.8.3-3 - -It fixes http://bugs.debian.org/208672 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -74,6 +74,8 @@ - - if ID3_NEEDZLIB - LDADD = $(top_builddir)/zlib/src/libz.la -+else -+libid3_la_LIBADD = -lz - endif - - libid3_la_LDFLAGS = \ diff --git a/unmaintained/id3lib/05-create-m4-directory.patch b/unmaintained/id3lib/05-create-m4-directory.patch deleted file mode 100644 index d8111205eb..0000000000 --- a/unmaintained/id3lib/05-create-m4-directory.patch +++ /dev/null @@ -1,12 +0,0 @@ -Create a local m4 subdirectory ---- a/Makefile.am -+++ b/Makefile.am -@@ -12,6 +12,8 @@ - # require automake 1.5 - AUTOMAKE_OPTIONS = 1.5 - -+ACLOCAL_AMFLAGS = -I m4 -+ - EXTRA_DIST = \ - HISTORY \ - config.h.win32 \ diff --git a/unmaintained/id3lib/10-fix-compilation-with-cpp-headers.patch b/unmaintained/id3lib/10-fix-compilation-with-cpp-headers.patch deleted file mode 100644 index a9b45ab02c..0000000000 --- a/unmaintained/id3lib/10-fix-compilation-with-cpp-headers.patch +++ /dev/null @@ -1,22 +0,0 @@ -This patch imports the proper C++ headers ---- a/include/id3/id3lib_strings.h -+++ b/include/id3/id3lib_strings.h -@@ -30,6 +30,7 @@ - #define _ID3LIB_STRINGS_H_ - - #include -+#include - - #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000)) - namespace std ---- a/include/id3/writers.h -+++ b/include/id3/writers.h -@@ -30,7 +30,7 @@ - - #include "id3/writer.h" - #include "id3/id3lib_streams.h" --//#include -+#include - - class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer - { diff --git a/unmaintained/id3lib/15-fix-headers-of-main-functions.patch b/unmaintained/id3lib/15-fix-headers-of-main-functions.patch deleted file mode 100644 index 48e01d145f..0000000000 --- a/unmaintained/id3lib/15-fix-headers-of-main-functions.patch +++ /dev/null @@ -1,45 +0,0 @@ -This patch fixes some function headers in demo code used during 'make check' ---- a/examples/demo_info.cpp -+++ b/examples/demo_info.cpp -@@ -309,7 +309,7 @@ - - #define DEBUG - --int main( unsigned int argc, char * const argv[]) -+int main(int argc, char * const argv[]) - { - ID3D_INIT_DOUT(); - ---- a/examples/demo_convert.cpp -+++ b/examples/demo_convert.cpp -@@ -84,7 +84,7 @@ - } - } - --int main( unsigned int argc, char * const argv[]) -+int main(int argc, char * const argv[]) - { - flags_t ulFlag = ID3TT_ALL; - gengetopt_args_info args; ---- a/examples/demo_copy.cpp -+++ b/examples/demo_copy.cpp -@@ -81,7 +81,7 @@ - } - } - --int main( unsigned int argc, char * const argv[]) -+int main(int argc, char * const argv[]) - { - int ulFlag = ID3TT_ID3; - ID3D_INIT_DOUT(); ---- a/examples/demo_tag.cpp -+++ b/examples/demo_tag.cpp -@@ -46,7 +46,7 @@ - os << "v2"; - } - --int main( unsigned int argc, char * const argv[]) -+int main(int argc, char * const argv[]) - { - int ulFlag = ID3TT_ID3; - ID3D_INIT_DOUT(); diff --git a/unmaintained/id3lib/20-create-manpages.patch b/unmaintained/id3lib/20-create-manpages.patch deleted file mode 100644 index cebf3d4d40..0000000000 --- a/unmaintained/id3lib/20-create-manpages.patch +++ /dev/null @@ -1,198 +0,0 @@ -This patch adds debian-made man pages ---- /dev/null -+++ b/doc/man/id3info.1 -@@ -0,0 +1,31 @@ -+.TH ID3INFO 1 "May 2000" local "User Command" -+.SH NAME -+id3info \- Display id3 tag information. -+.SH SYNOPSIS -+.B id3info -+.RB [ -+.I OPTION -+.RB ] -+.RB [ -+.I FILE -+.RB ] -+.br -+.SH DESCRIPTION -+.B Id3info -+displays both the id3v1 and id3v2 tag information for a file. -+Id3info will not differentiate between the two types of tags. -+.SH OPTIONS -+.TP -+.B \-h, \-\-help -+Display help and exit -+.TP -+.B \-v, \-\-version -+Display version information and exit -+.SH SEE ALSO -+id3convert(1), id3tag(1), id3v2(1) -+.SH AUTHOR -+.B id3lib -+was originally designed and implemented by Dirk Mahoney and is -+maintained by Scott Thomas Haug . Manual page written for -+Debian GNU/Linux by Robert Woodcock . -+ ---- /dev/null -+++ b/doc/man/id3tag.1 -@@ -0,0 +1,69 @@ -+.TH ID3TAG 1 "May 2000" local "User Command" -+.SH NAME -+id3tag \- Tags an mp3 file with id3v1 and/or id3v2 tags. -+.SH SYNOPSIS -+.B id3tag -+.RB [ -+.I OPTION -+.RB ] ... -+.RB [ -+.I FILE -+.RB ] ... -+.br -+.SH DESCRIPTION -+.B Id3tag -+will render both types of tag by default. Only the last -+tag type indicated in the option list will be used. Non- -+rendered will remain unchanged in the original file. Will -+also parse and convert Lyrics3 v2.0 frames, but will not -+render them. -+ -+.SH OPTIONS -+.TP -+.B \-1, \-\-v1tag -+Render only the id3v1 tag -+.TP -+.B \-2, \-\-v2tag -+Render only the id3v2 tag -+.TP -+.B \-h, \-\-help -+Display help and exit -+.TP -+.B \-v, \-\-version -+Display version information and exit -+.TP -+.B \-a, \-\-artist ARTIST -+Set the artist information -+.TP -+.B \-s, \-\-song SONG -+Set the song title information -+.TP -+.B \-A, \-\-album ALBUM -+Set the album title information -+.TP -+.B \-c, \-\-comment COMMENT -+Set the comment information -+.TP -+.B \-C, \-\-desc DESCRIPTION -+Set the comment description -+.TP -+.B \-g, \-\-genre num -+Set the genre number -+.TP -+.B \-y, \-\-year num -+Set the year -+.TP -+.B \-t, \-\-track num -+Set the track number -+.TP -+.B \-T, \-\-total num -+Set the total number of tracks on the album -+ -+.SH SEE ALSO -+id3convert(1), id3info(1), id3v2(1) -+.SH AUTHOR -+.B id3lib -+was originally designed and implemented by Dirk Mahoney and is -+maintained by Scott Thomas Haug . Manual page written for -+Debian GNU/Linux by Robert Woodcock . -+ ---- /dev/null -+++ b/doc/man/id3convert.1 -@@ -0,0 +1,47 @@ -+.TH ID3CONVERT 1 "May 2000" local "User Command" -+.SH NAME -+id3convert \- Converts between id3v1 and id3v2 tags of an mp3 file. -+.SH SYNOPSIS -+.B id3convert -+.RB [ -+.I OPTION -+.RB ] -+.RB [ -+.I FILE -+.RB ] -+.br -+.SH DESCRIPTION -+.B Id3convert -+converts between id3v1 and id3v2 tags of an mp3 file. Id3convert will render -+both types of tag by default. Only the last tag type indicated in the option -+list will be used. Non-rendered tags will remain unchanged in the original -+file. Id3convert will also parse and convert Lyrics3 v2.0 frames, but will -+not render them. -+ -+.SH OPTIONS -+.TP -+.B \-1, \-\-v1tag -+Render only the id3v1 tag -+.TP -+.B \-2, \-\-v2tag -+Render only the id3v2 tag -+.TP -+.B \-s, \-\-strip -+Strip, rather than render, the tags -+.TP -+.B \-p, \-\-padding -+Use padding in the tag -+.TP -+.B \-h, \-\-help -+Display help and exit -+.TP -+.B \-v, \-\-version -+Display version information and exit -+ -+.SH SEE ALSO -+id3tag(1), id3info(1), id3v2(1) -+.SH AUTHOR -+.B id3lib -+was originally designed and implemented by Dirk Mahoney and is -+maintained by Scott Thomas Haug . Manual page written for -+Debian GNU/Linux by Robert Woodcock . ---- /dev/null -+++ b/doc/man/id3cp.1 -@@ -0,0 +1,38 @@ -+.TH ID3CP 1 "July 2001" local "User Command" -+.SH NAME -+id3cp \- Copies tags from one file to another. -+.SH SYNOPSIS -+.B id3cp -+.RB [ -+.I OPTION -+.RB ] ... -+.RB [ -+.I SOURCE -+.RB ] -+.RB [ -+.I DEST -+.RB ] -+.br -+.SH DESCRIPTION -+.B Id3cp -+copies tags from SOURCE to DEST. -+.SH OPTIONS -+.TP -+.B \-1, \-\-v1tag -+Render only the id3v1 tag -+.TP -+.B \-2, \-\-v2tag -+Render only the id3v2 tag -+.TP -+.B \-h, \-\-help -+Display help and exit -+.TP -+.B \-v, \-\-version -+Display version information and exit -+.SH SEE ALSO -+id3convert(1), id3info(1), id3v2(1) -+.SH AUTHOR -+.B id3lib -+was originally designed and implemented by Dirk Mahoney and is -+maintained by Scott Thomas Haug . Manual page written for -+Debian GNU/Linux by Robert Woodcock . diff --git a/unmaintained/id3lib/30-fix-utf16.patch b/unmaintained/id3lib/30-fix-utf16.patch deleted file mode 100644 index 3d3f50fed6..0000000000 --- a/unmaintained/id3lib/30-fix-utf16.patch +++ /dev/null @@ -1,38 +0,0 @@ -Patch from 'Spoon' to fix issues with writing certain unicode characters ---- a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,8 @@ -+2006-02-17 Jerome Couderc -+ -+ * Patch from Spoon to fix UTF-16 writing bug -+ http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979 -+ - 2003-03-02 Sunday 17:38 Thijmen Klok - - * THANKS (1.20): added more people ---- a/src/io_helpers.cpp -+++ b/src/io_helpers.cpp -@@ -363,11 +363,22 @@ - // Write the BOM: 0xFEFF - unicode_t BOM = 0xFEFF; - writer.writeChars((const unsigned char*) &BOM, 2); -+ // Patch from Spoon : 2004-08-25 14:17 -+ // http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979 -+ // Wrong code -+ //for (size_t i = 0; i < size; i += 2) -+ //{ -+ // unicode_t ch = (data[i] << 8) | data[i+1]; -+ // writer.writeChars((const unsigned char*) &ch, 2); -+ //} -+ // Right code -+ unsigned char *pdata = (unsigned char *) data.c_str(); - for (size_t i = 0; i < size; i += 2) - { -- unicode_t ch = (data[i] << 8) | data[i+1]; -+ unicode_t ch = (pdata[i] << 8) | pdata[i+1]; - writer.writeChars((const unsigned char*) &ch, 2); - } -+ // End patch - } - return writer.getCur() - beg; - } diff --git a/unmaintained/id3lib/40-deal-with-mkstemp.patch b/unmaintained/id3lib/40-deal-with-mkstemp.patch deleted file mode 100644 index 36c84179fc..0000000000 --- a/unmaintained/id3lib/40-deal-with-mkstemp.patch +++ /dev/null @@ -1,54 +0,0 @@ -This patch fixes an issues where temporary files were created in an insecure -way. - -It was first intruduced in version 3.8.3-7 and fixes -http://bugs.debian.org/438540 ---- a/src/tag_file.cpp -+++ b/src/tag_file.cpp -@@ -242,8 +242,8 @@ - strcpy(sTempFile, filename.c_str()); - strcat(sTempFile, sTmpSuffix.c_str()); - --#if ((defined(__GNUC__) && __GNUC__ >= 3 ) || !defined(HAVE_MKSTEMP)) -- // This section is for Windows folk && gcc 3.x folk -+#if !defined(HAVE_MKSTEMP) -+ // This section is for Windows folk - fstream tmpOut; - createFile(sTempFile, tmpOut); - -@@ -257,7 +257,7 @@ - tmpOut.write((char *)tmpBuffer, nBytes); - } - --#else //((defined(__GNUC__) && __GNUC__ >= 3 ) || !defined(HAVE_MKSTEMP)) -+#else //!defined(HAVE_MKSTEMP) - - // else we gotta make a temp file, copy the tag into it, copy the - // rest of the old file after the tag, delete the old file, rename -@@ -270,7 +270,7 @@ - //ID3_THROW_DESC(ID3E_NoFile, "couldn't open temp file"); - } - -- ofstream tmpOut(fd); -+ ofstream tmpOut(sTempFile); - if (!tmpOut) - { - tmpOut.close(); -@@ -285,14 +285,14 @@ - uchar tmpBuffer[BUFSIZ]; - while (file) - { -- file.read(tmpBuffer, BUFSIZ); -+ file.read((char *)tmpBuffer, BUFSIZ); - size_t nBytes = file.gcount(); -- tmpOut.write(tmpBuffer, nBytes); -+ tmpOut.write((char *)tmpBuffer, nBytes); - } - - close(fd); //closes the file - --#endif ////((defined(__GNUC__) && __GNUC__ >= 3 ) || !defined(HAVE_MKSTEMP)) -+#endif ////!defined(HAVE_MKSTEMP) - - tmpOut.close(); - file.close(); diff --git a/unmaintained/id3lib/50-remove-outdated-check.patch b/unmaintained/id3lib/50-remove-outdated-check.patch deleted file mode 100644 index 386da2771b..0000000000 --- a/unmaintained/id3lib/50-remove-outdated-check.patch +++ /dev/null @@ -1,11 +0,0 @@ -We don't actually need iomanip.h ---- a/configure.in -+++ b/configure.in -@@ -227,7 +227,6 @@ - ) - AC_CHECK_HEADERS( \ - string \ -- iomanip.h \ - ,,AC_MSG_ERROR([Missing a vital header file for id3lib]) - ) - diff --git a/unmaintained/id3lib/60-add-c-wrapper-functions.patch b/unmaintained/id3lib/60-add-c-wrapper-functions.patch deleted file mode 100644 index d72e81c0ec..0000000000 --- a/unmaintained/id3lib/60-add-c-wrapper-functions.patch +++ /dev/null @@ -1,58 +0,0 @@ -This patch adds C wrapper functions for field encoding. - -It was first introduced in version 3.8.3-8 and fixes -http://bugs.debian.org/281292 ---- a/include/id3.h -+++ b/include/id3.h -@@ -104,6 +104,9 @@ - ID3_C_EXPORT void CCONV ID3Field_GetBINARY (const ID3Field *field, uchar *buffer, size_t buffLength); - ID3_C_EXPORT void CCONV ID3Field_FromFile (ID3Field *field, const char *fileName); - ID3_C_EXPORT void CCONV ID3Field_ToFile (const ID3Field *field, const char *fileName); -+ ID3_C_EXPORT bool CCONV ID3Field_SetEncoding (ID3Field *field, ID3_TextEnc enc); -+ ID3_C_EXPORT ID3_TextEnc CCONV ID3Field_GetEncoding (const ID3Field *field); -+ ID3_C_EXPORT bool CCONV ID3Field_IsEncodable (const ID3Field *field); - - /* field-info wrappers */ - ID3_C_EXPORT char* CCONV ID3FrameInfo_ShortName (ID3_FrameID frameid); ---- a/src/c_wrapper.cpp -+++ b/src/c_wrapper.cpp -@@ -681,6 +681,39 @@ - } - } - -+ ID3_C_EXPORT bool CCONV -+ ID3Field_SetEncoding(ID3Field *field, ID3_TextEnc enc) -+ { -+ bool changed = false; -+ if (field) -+ { -+ ID3_CATCH(changed = reinterpret_cast(field)->SetEncoding(enc)); -+ } -+ return changed; -+ } -+ -+ ID3_C_EXPORT ID3_TextEnc CCONV -+ ID3Field_GetEncoding(const ID3Field *field) -+ { -+ ID3_TextEnc enc = ID3TE_NONE; -+ if (field) -+ { -+ ID3_CATCH(enc = reinterpret_cast(field)->GetEncoding()); -+ } -+ return enc; -+ } -+ -+ ID3_C_EXPORT bool CCONV -+ ID3Field_IsEncodable(const ID3Field *field) -+ { -+ bool isEncodable = false; -+ if (field) -+ { -+ ID3_CATCH(isEncodable = reinterpret_cast(field)->IsEncodable()); -+ } -+ return isEncodable; -+ } -+ - #ifdef __cplusplus - } - #endif /* __cplusplus */ diff --git a/unmaintained/id3lib/60-fix_make_check.patch b/unmaintained/id3lib/60-fix_make_check.patch deleted file mode 100644 index e2bb1b0518..0000000000 --- a/unmaintained/id3lib/60-fix_make_check.patch +++ /dev/null @@ -1,50 +0,0 @@ -This patch fixes some function headers and imports in order for 'make check' -to work. - -It was first introduced in version 3.8.3-9 -diff -Naur id3lib-3.8.3.orig/examples/findeng.cpp id3lib-3.8.3/examples/findeng.cpp ---- id3lib-3.8.3.orig/examples/findeng.cpp 2003-03-02 01:23:00.000000000 +0100 -+++ id3lib-3.8.3/examples/findeng.cpp 2009-12-10 00:58:12.173795997 +0100 -@@ -9,7 +9,7 @@ - using std::cout; - using std::endl; - --int main(unsigned argc, char* argv[]) -+int main(int argc, char* argv[]) - { - ID3D_INIT_DOUT(); - ID3D_INIT_WARNING(); -diff -Naur id3lib-3.8.3.orig/examples/findstr.cpp id3lib-3.8.3/examples/findstr.cpp ---- id3lib-3.8.3.orig/examples/findstr.cpp 2003-03-02 01:23:00.000000000 +0100 -+++ id3lib-3.8.3/examples/findstr.cpp 2009-12-10 00:57:48.036819825 +0100 -@@ -9,7 +9,7 @@ - using std::cout; - using std::endl; - --int main(unsigned argc, char* argv[]) -+int main(int argc, char* argv[]) - { - ID3D_INIT_DOUT(); - ID3D_INIT_WARNING(); -diff -Naur id3lib-3.8.3.orig/examples/test_io.cpp id3lib-3.8.3/examples/test_io.cpp ---- id3lib-3.8.3.orig/examples/test_io.cpp 2003-03-02 01:23:00.000000000 +0100 -+++ id3lib-3.8.3/examples/test_io.cpp 2009-12-10 00:57:03.612111640 +0100 -@@ -11,6 +11,9 @@ - #include - #include - -+using std::cin; -+using std::hex; -+using std::dec; - using std::cout; - using std::endl; - using std::cerr; -@@ -18,7 +21,7 @@ - using namespace dami; - - int --main(size_t argc, const char** argv) -+main(int argc, const char** argv) - { - ID3D_INIT_DOUT(); - ID3D_INIT_WARNING(); diff --git a/unmaintained/id3lib/60-id3lib-missing-nullpointer-check.patch b/unmaintained/id3lib/60-id3lib-missing-nullpointer-check.patch deleted file mode 100644 index d4ca5d292f..0000000000 --- a/unmaintained/id3lib/60-id3lib-missing-nullpointer-check.patch +++ /dev/null @@ -1,12 +0,0 @@ -This patch adds a check for a null pointer ---- a/src/header_tag.cpp -+++ b/src/header_tag.cpp -@@ -54,7 +54,7 @@ - { - size_t bytesUsed = ID3_TagHeader::SIZE; - -- if (_info->is_extended) -+ if (_info && _info->is_extended) - { - bytesUsed += _info->extended_bytes; - } diff --git a/unmaintained/id3lib/60-spelling.patch b/unmaintained/id3lib/60-spelling.patch deleted file mode 100644 index 7547aa3d54..0000000000 --- a/unmaintained/id3lib/60-spelling.patch +++ /dev/null @@ -1,107 +0,0 @@ -This patch fixes some minor spelling mistakes -diff -Naur id3lib-3.8.3.orig//ChangeLog id3lib-3.8.3//ChangeLog ---- id3lib-3.8.3.orig//ChangeLog 2010-06-08 05:21:47.817061336 +0200 -+++ id3lib-3.8.3//ChangeLog 2010-06-08 05:21:05.320811354 +0200 -@@ -2266,7 +2266,7 @@ - * examples/demo_info.cpp (1.19): - (PrintInformation): When printing synced lyrics info, now uses a - MemoryReader, BinaryNumberReader, and TextReader to extract the -- infromation from the binary field. This is a cheat, since these -+ information from the binary field. This is a cheat, since these - classes aren't normally exposed to folks using the library. - Hopefully they will be exposed soon enough for the next major - release. -diff -Naur id3lib-3.8.3.orig//doc/id3v2.3.0.html id3lib-3.8.3//doc/id3v2.3.0.html ---- id3lib-3.8.3.orig//doc/id3v2.3.0.html 2010-06-08 05:21:47.859810543 +0200 -+++ id3lib-3.8.3//doc/id3v2.3.0.html 2010-06-08 05:21:05.373811128 +0200 -@@ -2157,7 +2157,7 @@ - 64.Native American - 65.Cabaret - 66.New Wave -- 67.Psychadelic -+ 67.Psychedelic - 68.Rave - 69.Showtunes - 70.Trailer -@@ -2254,4 +2254,4 @@ - Email: johan@id3.org -

- -- -\ No newline at end of file -+ -diff -Naur id3lib-3.8.3.orig//doc/id3v2.3.0.txt id3lib-3.8.3//doc/id3v2.3.0.txt ---- id3lib-3.8.3.orig//doc/id3v2.3.0.txt 2010-06-08 05:21:47.860810639 +0200 -+++ id3lib-3.8.3//doc/id3v2.3.0.txt 2010-06-08 05:21:05.374811307 +0200 -@@ -1929,7 +1929,7 @@ - 64.Native American - 65.Cabaret - 66.New Wave -- 67.Psychadelic -+ 67.Psychedelic - 68.Rave - 69.Showtunes - 70.Trailer -diff -Naur id3lib-3.8.3.orig//id3com/id3com.idl id3lib-3.8.3//id3com/id3com.idl ---- id3lib-3.8.3.orig//id3com/id3com.idl 2010-06-08 05:21:47.818060988 +0200 -+++ id3lib-3.8.3//id3com/id3com.idl 2010-06-08 05:21:05.355061546 +0200 -@@ -179,7 +179,7 @@ - /* USER */ ID3_TERMSOFUSE, /**< Terms of use */ - /* USLT */ ID3_UNSYNCEDLYRICS, /**< Unsynchronized lyric/text transcription */ - /* WCOM */ ID3_WWWCOMMERCIALINFO, /**< Commercial information */ -- /* WCOP */ ID3_WWWCOPYRIGHT, /**< Copyright/Legal infromation */ -+ /* WCOP */ ID3_WWWCOPYRIGHT, /**< Copyright/Legal information */ - /* WOAF */ ID3_WWWAUDIOFILE, /**< Official audio file webpage */ - /* WOAR */ ID3_WWWARTIST, /**< Official artist/performer webpage */ - /* WOAS */ ID3_WWWAUDIOSOURCE, /**< Official audio source webpage */ -diff -Naur id3lib-3.8.3.orig//include/id3/globals.h id3lib-3.8.3//include/id3/globals.h ---- id3lib-3.8.3.orig//include/id3/globals.h 2010-06-08 05:21:47.818060988 +0200 -+++ id3lib-3.8.3//include/id3/globals.h 2010-06-08 05:22:27.395811102 +0200 -@@ -313,7 +313,7 @@ - /* USER */ ID3FID_TERMSOFUSE, /**< Terms of use */ - /* USLT */ ID3FID_UNSYNCEDLYRICS, /**< Unsynchronized lyric/text transcription */ - /* WCOM */ ID3FID_WWWCOMMERCIALINFO, /**< Commercial information */ -- /* WCOP */ ID3FID_WWWCOPYRIGHT, /**< Copyright/Legal infromation */ -+ /* WCOP */ ID3FID_WWWCOPYRIGHT, /**< Copyright/Legal information */ - /* WOAF */ ID3FID_WWWAUDIOFILE, /**< Official audio file webpage */ - /* WOAR */ ID3FID_WWWARTIST, /**< Official artist/performer webpage */ - /* WOAS */ ID3FID_WWWAUDIOSOURCE, /**< Official audio source webpage */ -@@ -608,7 +608,7 @@ - "Native American", //64 - "Cabaret", //65 - "New Wave", //66 -- "Psychadelic", //67 -+ "Psychedelic", //67 - "Rave", //68 - "Showtunes", //69 - "Trailer", //70 -@@ -686,7 +686,7 @@ - "Christian Rock ", //141 - "Merengue", //142 - "Salsa", //143 -- "Trash Metal", //144 -+ "Thrash Metal", //144 - "Anime", //145 - "JPop", //146 - "Synthpop" //147 -diff -Naur id3lib-3.8.3.orig//src/field.cpp id3lib-3.8.3//src/field.cpp ---- id3lib-3.8.3.orig//src/field.cpp 2010-06-08 05:21:47.818060988 +0200 -+++ id3lib-3.8.3//src/field.cpp 2010-06-08 05:21:05.373811128 +0200 -@@ -719,7 +719,7 @@ - // USER ID3FID_TERMSOFUSE Terms of use - // USLT ULT ID3FID_UNSYNCEDLYRICS Unsynchronized lyric/text transcription - // WCOM WCM ID3FID_WWWCOMMERCIALINFO Commercial information --// WCOP WCM ID3FID_WWWCOPYRIGHT Copyright/Legal infromation -+// WCOP WCM ID3FID_WWWCOPYRIGHT Copyright/Legal information - // WOAF WCP ID3FID_WWWAUDIOFILE Official audio file webpage - // WOAR WAF ID3FID_WWWARTIST Official artist/performer webpage - // WOAS WAR ID3FID_WWWAUDIOSOURCE Official audio source webpage -@@ -813,7 +813,7 @@ - {ID3FID_TERMSOFUSE, "" , "USER", false, false, ID3FD_TermsOfUse, "Terms of use"}, - {ID3FID_UNSYNCEDLYRICS, "ULT", "USLT", false, false, ID3FD_GeneralText, "Unsynchronized lyric/text transcription"}, - {ID3FID_WWWCOMMERCIALINFO, "WCM", "WCOM", false, false, ID3FD_URL, "Commercial information"}, -- {ID3FID_WWWCOPYRIGHT, "WCP", "WCOP", false, false, ID3FD_URL, "Copyright/Legal infromation"}, -+ {ID3FID_WWWCOPYRIGHT, "WCP", "WCOP", false, false, ID3FD_URL, "Copyright/Legal information"}, - {ID3FID_WWWAUDIOFILE, "WAF", "WOAF", false, false, ID3FD_URL, "Official audio file webpage"}, - {ID3FID_WWWARTIST, "WAR", "WOAR", false, false, ID3FD_URL, "Official artist/performer webpage"}, - {ID3FID_WWWAUDIOSOURCE, "WAS", "WOAS", false, false, ID3FD_URL, "Official audio source webpage"}, diff --git a/unmaintained/id3lib/61-fix_vbr_stack_smash.patch b/unmaintained/id3lib/61-fix_vbr_stack_smash.patch deleted file mode 100644 index 9bf33e9787..0000000000 --- a/unmaintained/id3lib/61-fix_vbr_stack_smash.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: Fix crashes when reading VBR MP3 file. -Bug-Ubuntu: https://launchpad.net/bugs/444466 -Origin: upstream, http://sourceforge.net/tracker/?func=detail&aid=937707&group_id=979&atid=300979 -Forwarded: yes -Author: Urs Fleisch - -Index: id3lib3.8.3-3.8.3/src/mp3_parse.cpp -=================================================================== ---- id3lib3.8.3-3.8.3.orig/src/mp3_parse.cpp 2009-10-06 23:12:10.381250132 +0200 -+++ id3lib3.8.3-3.8.3/src/mp3_parse.cpp 2009-10-06 23:14:09.545252591 +0200 -@@ -465,7 +465,7 @@ - // from http://www.xingtech.com/developer/mp3/ - - const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed -- const size_t VBR_HEADER_MAX_SIZE = 116; // frames, bytes, toc and scale are optional -+ const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional - - if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE) - { diff --git a/unmaintained/id3lib/APKBUILD b/unmaintained/id3lib/APKBUILD deleted file mode 100644 index 9831d42311..0000000000 --- a/unmaintained/id3lib/APKBUILD +++ /dev/null @@ -1,108 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=id3lib -pkgver=3.8.3 -pkgrel=0 -pkgdesc="Library for reading, writing, and manipulating ID3v1 and ID3v2 tags" -url="http://id3lib.sourceforge.net/" -arch="all" -license="LGPL" -depends="" -depends_dev="zlib-dev" -makedepends="$depends_dev libtool automake autoconf" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/sourceforge/id3lib/id3lib-$pkgver.tar.gz - 00-add-libz-to-compilation.patch - 15-fix-headers-of-main-functions.patch - 40-deal-with-mkstemp.patch - 60-fix_make_check.patch - 61-fix_vbr_stack_smash.patch - 05-create-m4-directory.patch - 20-create-manpages.patch - 50-remove-outdated-check.patch - 60-id3lib-missing-nullpointer-check.patch - 10-fix-compilation-with-cpp-headers.patch - 30-fix-utf16.patch - 60-add-c-wrapper-functions.patch - 60-spelling.patch" - -_builddir="$srcdir"/id3lib-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - libtoolize -fc || return 1 - aclocal || return 1 - autoconf || return 1 - automake --add-missing --copy || return 1 - update_config_sub || return 1 - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -d "${pkgdir}"/usr/share/man/man1 || return 1 - cp doc/man/* "${pkgdir}"/usr/share/man/man1 || return 1 -} - -md5sums="19f27ddd2dda4b2d26a559a4f0f402a7 id3lib-3.8.3.tar.gz -9428ef38283d13adb6e349089537a63f 00-add-libz-to-compilation.patch -b3de841cd2eda0d37c8c8330119e12d4 15-fix-headers-of-main-functions.patch -d2d06d46df3867d73746f584d1e6fcc5 40-deal-with-mkstemp.patch -5c4b53a3d5543c5c50b23d6d5b9f230b 60-fix_make_check.patch -0973e285cdc420130b984a259cdd8ae0 61-fix_vbr_stack_smash.patch -5a78e0fe586fba334eae2a29e4bf5a28 05-create-m4-directory.patch -0c7c939943bdfcc3a0f6be95fe9b2367 20-create-manpages.patch -d3a61d07a2bfa83f4ac6290794789022 50-remove-outdated-check.patch -964fa0db0da7b1495b34b81bd36539fd 60-id3lib-missing-nullpointer-check.patch -88f21f1bf4f697be8030706bbec11705 10-fix-compilation-with-cpp-headers.patch -74ba59c03f91fedbe4dd8045b29c7e15 30-fix-utf16.patch -93ef4b26ad08027e28d3f80ad6e492b4 60-add-c-wrapper-functions.patch -26c74a90267892bbaca1e162919121d0 60-spelling.patch" -sha256sums="2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079 id3lib-3.8.3.tar.gz -e884395cf0bd7b44a550fc8785d79c0992d749be1edc45b00d289cbbd179c6d5 00-add-libz-to-compilation.patch -042deb7c2df1afa0851622b6086e8eb4b007cc6cfcd70210852d5c25e39b08b1 15-fix-headers-of-main-functions.patch -d7999cdb425ba8013dd11da7fb570e875d368e5b1236c2b094abee8446f04218 40-deal-with-mkstemp.patch -88aded7423f266d2fedb0eef9dbb272b53cc776ae98bd71dd5afb30b6ac48515 60-fix_make_check.patch -5a24d460c9dd1e643ac57b817ea9cec87f44c1d49381065f83879b2eea36adf7 61-fix_vbr_stack_smash.patch -c41ec6889b775119f71c25fa09bb5110bcf550a14e6aac80597479df453de5fb 05-create-m4-directory.patch -97442e14a5147df36f35d6a396e2b3fb6e155060ec672d91a68bd1a742234b4e 20-create-manpages.patch -f908af7715fb164081d191c766b040cefa0a94f1414e98f60bc38b3e0b1aa309 50-remove-outdated-check.patch -85f20c4d3467f48df1bcaa4150bae55e95270cabb542589f167a914b2f553d04 60-id3lib-missing-nullpointer-check.patch -5fb24595095596ff55d876fb3e5277000f04c4f7a3e07aff5c05e11639dc2165 10-fix-compilation-with-cpp-headers.patch -a7cce4176df773677bfc6a527a0465d460fe60a269402af9bdfc9dd6104ea6a4 30-fix-utf16.patch -1b06c5d2c36e6a1f2236c4603a934d8cd675414dcfd52b997cb584404c0bc77d 60-add-c-wrapper-functions.patch -b31bfa7213325776f6784a684f082814d3affb050d36a7c41cf1b1df07228c5c 60-spelling.patch" -sha512sums="3787e261f86933c1c2f2bff2c4b349b42f5d8636e489e4f39f9d75e6dfbdc79b87009a0f4ce4b786f2fb3dbc01ca9d56c4112095b46244f897e6c9a28573adaf id3lib-3.8.3.tar.gz -54a476e207f7998db5bfe287fedd50dbc5fc41a746265f39136dddd1a62beedc088631de7deae7c4fdd4583de061f251ce4391733831cf988e0d14ca95de23a1 00-add-libz-to-compilation.patch -05b74296368dfb50efce70d59114e2411add2c2a316133d6f83c5571b822bf650c32a720d2801d83538066604e7a67f394a73bff6c202051607b35a902fa2d21 15-fix-headers-of-main-functions.patch -97b1686ca3b7feefe7c2cc5f90a31f42fb55fd7baf45b0abe07c6d879bdf752f21305a6a883241c18e20847c43175c3d2c911dce14aa5f382f46bf44c07759f1 40-deal-with-mkstemp.patch -ec1333b83aca18c7d662b5f0c8d209f3f10da49194eebae66fce27c2d483bcb3528d9f39549eb1365e9dd4bd34f9fa2f86b528a17838537ba11c366aa57b38c7 60-fix_make_check.patch -b4fe59876edf87ed06183e2557b72e1b40f1d09ebd707bf1695d522ee5ad8eb75b80f3011a861505929b4e28ae9ed4037bbb2eefc3d7e8de83ef5bc495df67c5 61-fix_vbr_stack_smash.patch -46cd3b0635debc7b6445ad1bc81b14c7ee3edb0352c5f0cadceda6597c776f9d771e229ba87288a086fa2ba612dd9e089151851e033681ff31ea96190fc0f256 05-create-m4-directory.patch -a986c8186d821baef372ef61ea4c3130bc8b2d5a30d4dafbe3afdcc02b37ef3c98d300a1b43ec9c9731edc92e94acce3e975a270209b2f4fbe125fe1f484133d 20-create-manpages.patch -137732ceee8ec7fc8b686e46bd43276fba6bdcbdce166e85108e7c4b456523b4a29b11ff3101a37489e2386c92dfbe7f088f79c9c054f30515095f2b68c89f48 50-remove-outdated-check.patch -ebb536a3bce83ee8752905766f93c7920d548e85262704d617b3e608a020bca0909f5c59525caa2bbc2f034e2d11fb3eb0842d2b167e00c3ef4551c9eb57adf9 60-id3lib-missing-nullpointer-check.patch -3dffc437465c377fcc70eae27c126c9b717d22160597e01b470fb0e295eb31c4e13c27d46a5d91776793bc352f67ead7f72e041eda825dc510a3889f1cf93c36 10-fix-compilation-with-cpp-headers.patch -811e1cc121a965fd0b6162a8937475e3d7dc2a477289707a28f6961ca2b9886b98508a954b12a36c27206202673ebd9ae6ec37d175c947e4e560ac112309ec6d 30-fix-utf16.patch -404515ffe06e7d0cda8352e656fd7f55112c5edece752bcb3c1e0a9c525626f7e7d7b22cd4ef62f5da7cf43f62a2d00542dd6dd484fb0d7d7da0478ae95a373b 60-add-c-wrapper-functions.patch -a69363faa763ba589ede68edcf35ba1bded9f0ef07eeb91b38e1a7937e6791059d3fb3881bed0d3ff252064c5eb4a95285138a4d70f59fe745760f3384ddb184 60-spelling.patch" diff --git a/unmaintained/ideviceinstaller/APKBUILD b/unmaintained/ideviceinstaller/APKBUILD deleted file mode 100644 index 48a81cf32f..0000000000 --- a/unmaintained/ideviceinstaller/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=ideviceinstaller -pkgver=1.1.0 -pkgrel=0 -pkgdesc="Manage Applications of an iPhone or iPod Touch" -url="http://www.libimobiledevice.org/" -arch="all" -license="LGPL2.1" -depends="" -depends_dev="" -makedepends="$depends_dev libimobiledevice-dev libzip-dev" -install="" -subpackages="$pkgname-doc" -source="http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed -i -e 's:-Werror -g::' configure || return 1 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="20bd74111c1e8bf7ce393f8f0919263c ideviceinstaller-1.1.0.tar.bz2" -sha256sums="0821b8d3ca6153d9bf82ceba2706f7bd0e3f07b90a138d79c2448e42362e2f53 ideviceinstaller-1.1.0.tar.bz2" -sha512sums="8bf5dc30b8fa2f0c171ec3705db8d8d143d2520b2875fc05d9d325bd4f1ffdf29230557e57f3e824654ab3bb71bbaf9019aa573d4b1cce29a9c75bf15024d623 ideviceinstaller-1.1.0.tar.bz2" diff --git a/unmaintained/ifplugd/APKBUILD b/unmaintained/ifplugd/APKBUILD deleted file mode 100644 index 109da89bd6..0000000000 --- a/unmaintained/ifplugd/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Contributor: Pablo Castorino -# Maintainer: -pkgname=ifplugd -pkgver=0.28 -pkgrel=4 -pkgdesc="Detect and take action when an ethernet cable is unplugged" -url="http://0pointer.de/lennart/projects/ifplugd" -arch="all" -license="GPL2+" -depends="" -depends_dev="libdaemon-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://dev.alpinelinux.org/archive/ifplugd-$pkgver.tar.gz - $pkgname.initd - musl-type.patch" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-lynx \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -m755 -D "$pkgdir"/etc/init.d/$pkgname "$pkgdir"/usr/sbin/$pkgname-helper - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname -} - -md5sums="df6f4bab52f46ffd6eb1f5912d4ccee3 ifplugd-0.28.tar.gz -7d7d45d6cf8edcb46ff18bedf7cfb961 ifplugd.initd -e96027299ece16ac8e48bf9244d75222 musl-type.patch" -sha256sums="474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0 ifplugd-0.28.tar.gz -f9c9e4872cedca9dc9d68fcba67359f802f1a0b89b85ed983d619b6e55e87372 ifplugd.initd -29df5d6628ebc22e5ba76591d326e031bd040c8e42d116614aa68a7b0c7430d9 musl-type.patch" -sha512sums="c606e456f81f224eba9f8912e11fb76b759c160313d1db3c9035775b8c1ca57ca10c88dfb33318ba02f5c025218a377ca78ee160fc3d9a31ac6e95b92f340d4f ifplugd-0.28.tar.gz -ea0393d2dd0c047d9164881b1fdd4ab4e3581e8758e167a8ae22b2c4b5f361a05dbd126d4c0238204e87322127ebfe70a24b0c9773c3372257180e6cc29a7b1d ifplugd.initd -bd221a2074c3f4310501d51659dddf9a84ca3d93457abdd176ca7c843ee05909f831d5808832945d6d0442b0246a1e1573fdbbc6e6fd40cae5d2460d41587d32 musl-type.patch" diff --git a/unmaintained/ifplugd/ifplugd.initd b/unmaintained/ifplugd/ifplugd.initd deleted file mode 100644 index c5b8ec53d2..0000000000 --- a/unmaintained/ifplugd/ifplugd.initd +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/files/ifplugd.init,v 1.2 2007/02/25 09:57:18 mrness Exp $ - -depend() { - need net - after firewall opennhrp -} - -checkconfig() { - if [ ! -e /etc/ifplugd/ifplugd.conf ] ; then - eerror "You need to create /etc/ifplugd/ifplugd.conf first." - return 1 - fi -} - -start() { - checkconfig || return 1 - - ebegin "Starting ifplugd" - sh /usr/sbin/ifplugd-helper start - result=$? - eend $result -} - -stop() { - ebegin "Stopping ifplugd" - sh /usr/sbin/ifplugd-helper stop - result=$? - eend $result -} diff --git a/unmaintained/ifplugd/musl-type.patch b/unmaintained/ifplugd/musl-type.patch deleted file mode 100644 index fa8a232cec..0000000000 --- a/unmaintained/ifplugd/musl-type.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/src/ethtool-local.h.orig -+++ b/src/ethtool-local.h -@@ -22,9 +22,9 @@ - */ - - typedef unsigned long long u64; --typedef __uint32_t u32; --typedef __uint16_t u16; --typedef __uint8_t u8; -+typedef uint32_t u32; -+typedef uint16_t u16; -+typedef uint8_t u8; - - #include "ethtool-kernel.h" - diff --git a/unmaintained/ifuse/APKBUILD b/unmaintained/ifuse/APKBUILD deleted file mode 100644 index de43d98eb0..0000000000 --- a/unmaintained/ifuse/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=ifuse -pkgver=1.1.3 -pkgrel=0 -pkgdesc="A fuse filesystem to access the contents of an iPhone or iPod Touch" -url="http://libimobiledevice.org" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev libimobiledevice-dev gnutls-dev libusb-dev fuse-dev - glib-dev libxml2-dev" -install="" -subpackages="$pkgname-doc" -source="http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="${pkgdir}" install -} - -md5sums="83478c7b531b26db286c293bb25bd917 ifuse-1.1.3.tar.bz2" -sha256sums="a788de66fb7720c84a5a775df415f78bbfb7c467a76c732d23292c6986252add ifuse-1.1.3.tar.bz2" -sha512sums="bacf0b00ebc7681022f6e85daa005ee19c99f3222e5db5c4ea6630c2c46111dd3ccd7efcfdbcfabf06cc18ceb58b054c1adb2d106d9b3b7d60a12f3b79c64a3c ifuse-1.1.3.tar.bz2" diff --git a/unmaintained/ii/APKBUILD b/unmaintained/ii/APKBUILD deleted file mode 100644 index 54405269a7..0000000000 --- a/unmaintained/ii/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Sam Dodrill -# Maintainer: Sam Dodrill -pkgname=ii -pkgver=1.7 -pkgrel=1 -pkgdesc="A minimalist FIFO-based IRC client" -url="http://tools.suckless.org/ii/" -arch="all" -license="MIT" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make PREFIX=/usr || return 1 -} - -package() { - cd "$_builddir" - make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 -} - -md5sums="6191008ca09770873d84f40270493d0e ii-1.7.tar.gz" -sha256sums="3a72ac6606d5560b625c062c71f135820e2214fed098e6d624fc40632dc7cc9c ii-1.7.tar.gz" -sha512sums="1fa744bc9b4291b5c6c56e023d982aad59001137db6c7682284a2d63e649a32d558adbb85ae3407e312ae5436852b4278c2c522d4ef03f47cf54ea3a1f13ca90 ii-1.7.tar.gz" diff --git a/unmaintained/iksemel/APKBUILD b/unmaintained/iksemel/APKBUILD deleted file mode 100644 index b24e91ddf5..0000000000 --- a/unmaintained/iksemel/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=iksemel -pkgver=1.4 -pkgrel=0 -pkgdesc="eXtensible Markup Language parser library designed for Jabber applications" -url="https://github.com/meduketto/iksemel" -arch="all" -license="LGPL2.1" -depends= -depends_dev="" -makedepends="$depends_dev openssl-dev" -install="" -subpackages="$pkgname-libs $pkgname-doc $pkgname-dev" -source="https://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$_builddir" - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="532e77181694f87ad5eb59435d11c1ca iksemel-1.4.tar.gz" -sha256sums="458c1b8fb3349076a6cecf26c29db1d561315d84e16bfcfba419f327f502e244 iksemel-1.4.tar.gz" -sha512sums="902e326647b63a5e58b1c396a401bdd136ad01ecabca81b543c0ed76ebd8d2110377015fec1be09551b92651ee093e480fa37aa2186f7791147f29e0933852cc iksemel-1.4.tar.gz" diff --git a/unmaintained/imagination/APKBUILD b/unmaintained/imagination/APKBUILD deleted file mode 100644 index 28104e612d..0000000000 --- a/unmaintained/imagination/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=imagination -pkgver=3.0 -pkgrel=0 -pkgdesc="Lightweight and simple DVD slide show maker" -url="http://imagination.sourceforge.net/" -arch="all" -license="GPL3" -depends= -makedepends="gtk+-dev ffmpeg-dev sox-dev docbook-xsl" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/imagination/imagination/$pkgver/imagination-$pkgver.tar.gz" - -_builddir="$srcdir"/imagination-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib/*.la \ - "$pkgdir"/usr/lib/imagination/*.la -} - -md5sums="ec7e6cf234020801a2af0fa04cfefef1 imagination-3.0.tar.gz" diff --git a/unmaintained/imapproxy/APKBUILD b/unmaintained/imapproxy/APKBUILD deleted file mode 100644 index e7504ef4c9..0000000000 --- a/unmaintained/imapproxy/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=imapproxy -pkgver=1.2.7 -pkgrel=1 -pkgdesc="A session pooling imap proxy" -url="http://imapproxy.org" -arch="all" -license="GPL2+" -depends="" -makedepends="ncurses-dev openssl-dev" -install="" -subpackages="" -source="http://prdownloads.sourceforge.net/squirrelmail/squirrelmail-imap_proxy-$pkgver.tar.bz2" - -_builddir="$srcdir/squirrelmail-imap_proxy-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make EBIN="$pkgdir"/usr/sbin install || return 1 -} - -md5sums="c46524414a2375310557686e723bd120 squirrelmail-imap_proxy-1.2.7.tar.bz2" -sha256sums="dd8ad40e3e457bd76fc9f19ef1c0d89911e3e3cc722415d1183f765dcac1ae48 squirrelmail-imap_proxy-1.2.7.tar.bz2" -sha512sums="4b341fe5ea13241983c780ad2487ad5bd97136652b095f54ccf8f61d0f0818236d0d6e1005d46811cf3bd15896160fb172a40ae805ccc3ce7d6fc984099d2b2e squirrelmail-imap_proxy-1.2.7.tar.bz2" diff --git a/unmaintained/inotail/APKBUILD b/unmaintained/inotail/APKBUILD deleted file mode 100644 index b1df9c3482..0000000000 --- a/unmaintained/inotail/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=inotail -pkgver=0.5 -pkgrel=0 -pkgdesc="A fast and lightweight version of tail using inotify" -url="http://distanz.ch/inotail/" -arch="all" -license="GPL2" -depends="" -makedepends="linux-headers" -install="" -subpackages="$pkgname-doc" -source="http://distanz.ch/$pkgname/$pkgname-$pkgver.tar.bz2" -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - make || return 1 -} - -package() { - cd "$builddir" - make prefix="$pkgdir"/usr install -} - -md5sums="82d4d05f86d6069e95c4b73e4004f15f inotail-0.5.tar.bz2" -sha256sums="476dd5020e5f7aa7b077cdc79d62d1f3f27ae6d8a5d48e247cebe4f85807e90e inotail-0.5.tar.bz2" -sha512sums="f8f06e0771f43f3251fbfb75f25ea569e651c9e878f7d855135016aca6af659e8b16ddadfeec77b80667fdff7069606a1d20eed83436836a6fc1cb6040ec8e7a inotail-0.5.tar.bz2" diff --git a/unmaintained/ipgrab/APKBUILD b/unmaintained/ipgrab/APKBUILD deleted file mode 100644 index d808fdbf97..0000000000 --- a/unmaintained/ipgrab/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=ipgrab -pkgver=0.9.8 -pkgrel=0 -pkgdesc="A verbose packet sniffer for hosts" -url="http://ipgrab.sourceforge.net/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="libpcap-dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/ipgrab/ipgrab-$pkgver.tar.gz" - -_builddir="$srcdir"/ipgrab-$pkgver -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="73404aeee6e8c07b6b7d260ffe80b692 ipgrab-0.9.8.tar.gz" -sha256sums="f56c2be55fa42f0a508a83d99349834aaaaab7ad2f2fd73504b9e17b999b7901 ipgrab-0.9.8.tar.gz" -sha512sums="d796c65bb4e0b2f71fc8c91dd257ea654bff514fd8f6efcc1bc4b733be21e91e2d6facc3c1867750ea6416bbbd1835e51d8c923f83abd955f8aa62b972414ca7 ipgrab-0.9.8.tar.gz" diff --git a/unmaintained/ipmiutil/APKBUILD b/unmaintained/ipmiutil/APKBUILD deleted file mode 100644 index f56c02f0ee..0000000000 --- a/unmaintained/ipmiutil/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ipmiutil -pkgver=2.9.2 -pkgrel=1 -pkgdesc="IPMI Management Utilities" -url="http://ipmiutil.sourceforge.net/" -arch="all" -license="BSD" -depends="" -depends_dev="openssl-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://switch.dl.sourceforge.net/project/ipmiutil/ipmiutil-$pkgver.tar.gz -fixups.patch" - -_builddir="$srcdir"/ipmiutil-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-systemd \ - --enable-sha256 \ - --enable-gpl \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="17637b9b5569e5646806d86f595ba596 ipmiutil-2.9.2.tar.gz -2759e748ae36b0dfa4a283e7c0f948e4 fixups.patch" -sha256sums="c32687d233390364a91d16920dcd7df80c06365ade9e51d74b2af5c5d1acead8 ipmiutil-2.9.2.tar.gz -87b9165ca06254256a35bf7666d60479ded78747a44b91adbbec5257b57254de fixups.patch" -sha512sums="8c7643042232792ba51cf0546e756f409e055433940fc54907de07eb39de504128fa4613f8253997ea145c17d6e38a8888cf6b98b8e45c7130f383ad18798264 ipmiutil-2.9.2.tar.gz -3b7dd14ab2db875419b7110f56d40c1032e1c105ef3b2dd5ceec1efe206dbff66a967ac4b781dc4f1e36e24bdf832408a173e3de3082ae7b8649680f57f85f2f fixups.patch" diff --git a/unmaintained/ipmiutil/fixups.patch b/unmaintained/ipmiutil/fixups.patch deleted file mode 100644 index dea7adae02..0000000000 --- a/unmaintained/ipmiutil/fixups.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/util/imb_api.h -+++ b/util/imb_api.h -@@ -49,8 +49,8 @@ - /* DOS defines wchar_t in stdlib.h */ - #else - // defined(LINUX) | defined(SOLARIS) --#ifndef _WCHAR_T --#define _WCHAR_T -+#ifndef __DEFINED_wchar_t -+#define __DEFINED_wchar_t - typedef long wchar_t; - #endif - #endif ---- a/util/mem_if.c -+++ b/util/mem_if.c -@@ -65,6 +65,7 @@ - #include - #include - #include -+#include - #endif - #if defined(SOLARIS) || defined(BSD) - #define EXEC_PAGESIZE 4096 ---- a/util/ipmimv.c -+++ b/util/ipmimv.c -@@ -62,6 +62,7 @@ - #include - #include - #include -+#include - #if defined(MACOS) - #include - #else diff --git a/unmaintained/ipt-netflow/APKBUILD b/unmaintained/ipt-netflow/APKBUILD deleted file mode 100644 index c6eecb08e2..0000000000 --- a/unmaintained/ipt-netflow/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Rush Future -# Maintainer: Natanael Copa -pkgname=ipt-netflow -pkgver=2.0 -_ver=${pkgver%_git*} -pkgrel=0 -pkgdesc="Kernel netflow sensor" -url="http://ipt-netflow.sourceforge.net." -arch="all" -license="GPL3+" -makedepends="iptables-dev bash" -source="$pkgname-$_ver.tar.gz::https://github.com/aabc/ipt-netflow/archive/v$_ver.tar.gz - kernel-vs-userspace.patch - " - -_builddir="$srcdir/$pkgname-$_ver" -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --ipt-inc=/usr/include \ - --disable-kernel \ - || return 1 - make libipt_NETFLOW.so || return 1 -} - -package() { - cd "$_builddir" - make linstall DESTDIR=$pkgdir || return 1 -} - -md5sums="d1b40ee12b563edc4faae5e3234c3436 ipt-netflow-2.0.tar.gz -1056dd9b4d28b306f45028d2960469eb kernel-vs-userspace.patch" -sha256sums="547ca6c2e8d82fc7d3d113d2ab3f602106d1efa7739167f8c7850a43e5bbe46e ipt-netflow-2.0.tar.gz -9f376ee65e14a3dd5d59547d2f6480061217bf05d4effa4ce34f4d4496c75619 kernel-vs-userspace.patch" -sha512sums="7bf330ac665180218ea4cc42fe6ac6d365b45632039ff9601559f7a4675738c409853433b15dd431dba68cfe36269d6992754154411e2761041fec021e19bf8d ipt-netflow-2.0.tar.gz -eb5c5bcbacfa87ba61753a8d6bd092a296d948fc91d34825f6f461b39f180b7a06a7ee7cef061c947822c170743db05389dace9bed13f3f93da0593cc1187307 kernel-vs-userspace.patch" diff --git a/unmaintained/ipt-netflow/git.patch b/unmaintained/ipt-netflow/git.patch deleted file mode 100644 index faa49ffdc7..0000000000 --- a/unmaintained/ipt-netflow/git.patch +++ /dev/null @@ -1,4308 +0,0 @@ -diff --git a/Makefile.in b/Makefile.in -index 30ebbfe..0a82c67 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -1,43 +1,73 @@ --# -+# Edit Makefile.in and run ./configure - - KVERSION = @KVERSION@ - KDIR = @KDIR@ -+KINSTDIR = $(shell dirname @KDIR@) - IPTABLES_CFLAGS = @IPTABLES_CFLAGS@ - IPTABLES_MODULES = @IPTABLES_MODULES@ -+DEPMOD = depmod -a - -+# https://www.kernel.org/doc/Documentation/kbuild/modules.txt -+# https://www.kernel.org/doc/Documentation/kbuild/makefiles.txt - obj-m = ipt_NETFLOW.o - --ipt_NETFLOW.ko: ipt_NETFLOW.c ipt_NETFLOW.h -+all: ipt_NETFLOW.ko libipt_NETFLOW.so libip6t_NETFLOW.so -+ipt_NETFLOW.ko: version.h ipt_NETFLOW.c ipt_NETFLOW.h Makefile - @echo Compiling for kernel $(KVERSION) - make -C $(KDIR) M=$(CURDIR) modules --all: ipt_NETFLOW.ko libipt_NETFLOW.so --minstall: -- make -C $(KDIR) M=$(CURDIR) modules_install -+ @touch $@ -+sparse: | version.h ipt_NETFLOW.c ipt_NETFLOW.h Makefile -+ @rm -f ipt_NETFLOW.ko ipt_NETFLOW.o -+ @echo Compiling for kernel $(KVERSION) -+ make -C $(KDIR) M=$(CURDIR) modules C=1 -+ @touch ipt_NETFLOW.ko -+minstall: | ipt_NETFLOW.ko -+ make -C $(KDIR) M=$(CURDIR) modules_install INSTALL_MOD_PATH=$(DESTDIR) -+ $(DEPMOD) - mclean: - make -C $(KDIR) M=$(CURDIR) clean - lclean: - -rm -f *.so *_sh.o - clean: mclean lclean -- -rm -f *.so *.o modules.order -+ -rm -f *.so *.o modules.order version.h -+ -+%_sh.o: libipt_NETFLOW.c -+ gcc -O2 -Wall -Wunused $(IPTABLES_CFLAGS) -fPIC -o $@ -c libipt_NETFLOW.c -+ -+%.so: %_sh.o -+ gcc -shared -o $@ $< - --libipt_NETFLOW.so: libipt_NETFLOW.c -- gcc -O2 -Wall -Wunused -I$(KDIR)/include $(IPTABLES_CFLAGS) -fPIC -o libipt_NETFLOW_sh.o -c libipt_NETFLOW.c -- gcc -shared -o libipt_NETFLOW.so libipt_NETFLOW_sh.o -+version.h: ipt_NETFLOW.c ipt_NETFLOW.h Makefile -+ @if [ -d .git ] && type git >/dev/null 2>&1; then \ -+ echo "#define GITVERSION \"`git describe --dirty`\""; \ -+ fi > version.h - --linstall: ipt_NETFLOW.ko libipt_NETFLOW.so -- cp -a libipt_NETFLOW.so $(IPTABLES_MODULES) -+linstall: | libipt_NETFLOW.so libip6t_NETFLOW.so -+ install -D libipt_NETFLOW.so $(DESTDIR)$(IPTABLES_MODULES)/libipt_NETFLOW.so -+ install -D libip6t_NETFLOW.so $(DESTDIR)$(IPTABLES_MODULES)/libip6t_NETFLOW.so - - install: minstall linstall - -+uninstall: -+ -rm -f $(DESTDIR)$(IPTABLES_MODULES)/libipt_NETFLOW.so -+ -rm -f $(DESTDIR)$(IPTABLES_MODULES)/libip6t_NETFLOW.so -+ -rm -f $(DESTDIR)$(KINSTDIR)/extra/ipt_NETFLOW.ko -+ - Makefile: Makefile.in configure - ./configure --make - - load: all -- insmod ipt_NETFLOW.ko active_timeout=5 -- iptables -A OUTPUT -d 0/0 -j NETFLOW -- iptables -A INPUT -d 0/0 -j NETFLOW -+ -insmod ipt_NETFLOW.ko active_timeout=5 protocol=9 -+ -iptables -I OUTPUT -j NETFLOW -+ -iptables -I INPUT -j NETFLOW -+ -ip6tables -I OUTPUT -j NETFLOW -+ -ip6tables -I INPUT -j NETFLOW - - unload: -- iptables -D OUTPUT -d 0/0 -j NETFLOW -- iptables -D INPUT -d 0/0 -j NETFLOW -- rmmod ipt_NETFLOW.ko -+ -iptables -D OUTPUT -j NETFLOW -+ -iptables -D INPUT -j NETFLOW -+ -ip6tables -D OUTPUT -j NETFLOW -+ -ip6tables -D INPUT -j NETFLOW -+ -rmmod ipt_NETFLOW.ko -+ -+reload: unload load -diff --git a/README b/README -index 213f02c..56a4fde 100644 ---- a/README -+++ b/README -@@ -1,10 +1,17 @@ --ipt_NETFLOW linux 2.6 kernel module by -- 11 Feb 2008 -+ipt_NETFLOW linux 2.6.x-3.x kernel module by -- 2008-2013. -+ -+ High performance NetFlow v5, v9, IPFIX flow data export module for Linux -+ kernel. Supporting IPv4 and IPv6. Created to be useful for highly loaded -+ linux router. It should be used as iptables target. Also can export NAT -+ translation events using NetFlow Event Logging (NEL) for v9, IPFIX, or -+ specially crafted v5 flows. -+ - - ============================ - = OBTAINING LATEST VERSION = - ============================ - -- $ git clone git://ipt-netflow.git.sourceforge.net/gitroot/ipt-netflow/ipt-netflow -+ $ git clone git://git.code.sf.net/p/ipt-netflow/code ipt-netflow - $ cd ipt-netflow - - -@@ -12,94 +19,220 @@ ipt_NETFLOW linux 2.6 kernel module by -- 11 Feb 2008 - = INSTALLATION = - ================ - --1. Besides kernel you will need iptables/netfilter source matching your -- installation or just fresh install from there: ftp://ftp.netfilter.org/pub/iptables/snapshot/ -- I have this: ftp://ftp.netfilter.org/pub/iptables/snapshot/iptables-1.3.7-20070329.tar.bz2 -- Unpack it somewhere and build with make. -+ Four easy steps. -+ -+** 1. Prepare Kernel source -+ -+ If you have package system install kernel-devel package, otherwise install -+ raw kernel source from http://kernel.org matching _exactly_ version of your -+ installed kernel. -+ -+ a) What to do for Centos: -+ -+ ~# yum install kernel-devel -+ -+ b) What to do for Debian: -+ -+ ~# apt-get install module-assistant -+ ~# m-a prepare -+ -+ c) Otherwise, if you downloaded raw kernel sources don't forget to create -+ .config by copying it from your distribution's kernel. Its copy could reside -+ in /boot or sometimes in /proc, examples: -+ -+ kernel-src-dir/# cp /boot/config-`uname -r` .config -+ or -+ kernel-src-dir/# zcat /proc/config.gz > .config -+ -+ Assuming you unpacked kernel source into `kernel-src-dir/' directory. -+ Then run: -+ -+ kernel-src-dir/# make oldconfig -+ -+ After that you'll need to prepare kernel for modules build: -+ -+ kernel-src-dir/# make prepare modules_prepare -+ -+ Note: Don't try to `make prepare' in Centos kernel-devel package directory -+ (which is usually something like /usr/src/kernels/2.6.32-431.el6.x86_64) -+ as this is wrong and meaningless. -+ -+** 2. Prepare Iptables -+ -+ Before this step it also would be useful to install pkg-config if don't -+ already have. -+ -+ If you have package system just install iptables-devel (or iptables-dev) -+ package, otherwise install iptables source matching version of your -+ installation from ftp://ftp.netfilter.org/pub/iptables/ -+ -+ a) What to do for Centos: -+ -+ # yum install iptables-devel -+ -+ b) What to do for Debian: -+ -+ # apt-get install iptables-dev pkg-config - --2. Run ./configure script and it will create Makefile -+ c) Otherwise, for raw iptables source build it and make install. - --3. make all install; depmod -- This will install kernel module and iptable specific library. -+** 3. Now, to actually build the module run: - --Troubleshooting: -- 1) Sometimes you will want to add CC=gcc-3 to make command. -- Example: make CC=gcc-3.3 -+ ~/ipt-netflow# ./configure -+ ~/ipt-netflow# make all install -+ ~/ipt-netflow# depmod - -- 2) Compile module with actual kernel source compiled. -- I.e. first compile kernel and boot into it, and then compile module. -+ This will install kernel module and iptables specific library. - -- 3) For autoloading module after reboot: set net.netflow.destination (or load -- module, if idestination set on load) after interfaces are up. Becasue module -- needs exporting interface (usually lo) to establish export connection. -+ Troubleshooting: - --4. After this point you should be able to load module -- and use -j NETFLOW target in your iptables. See next section. -+ a) Sometimes you will want to add CC=gcc-3 to make command. -+ Example: make CC=gcc-3.3 -+ -+ b) Compile module with actual kernel source compiled. -+ I.e. first compile kernel and boot into it, and then compile module. -+ If you are using kernel-devel package check that its version matches -+ your kernel package. -+ -+ c) If you have sources in non-standard places or configure isn't able to -+ find something run ./configure --help to see how to specify paths manually. -+ -+** 4. After this point you should be able to load module and -+ use -j NETFLOW target in your iptables. See next section. - - - =========== - = RUNNING = - =========== - --1. You can load module by insmod like this: -- # insmod ipt_NETFLOW.ko destination=127.0.0.1:2055 debug=1 -+1. You can load module directly by insmod like this: -+ -+ # insmod ipt_NETFLOW.ko destination=127.0.0.1:2055 debug=1 - - Or if properly installed (make install; depmod) by this: -- # modprobe ipt_NETFLOW destination=127.0.0.1:2055 -+ -+ # modprobe ipt_NETFLOW destination=127.0.0.1:2055 - - See, you may add options in insmod/modprobe command line, or add -- them in /etc/ to modules.conf or modprobe.conf like thus: -- options ipt_NETFLOW destination=127.0.0.1:2055 -+ them in /etc/modprobe.conf or /etc/modprobe.d/ipt_NETFLOW.conf -+ like thus: -+ -+ options ipt_NETFLOW destination=127.0.0.1:2055 protocol=9 natevents=1 - - 2. Statistics is in /proc/net/stat/ipt_netflow -- To view slab statistics: grep ipt_netflow /proc/slabinfo -+ To view boring slab statistics: grep ipt_netflow /proc/slabinfo - - 3. You can view parameters and control them via sysctl, example: -- # sysctl -w net.netflow.hashsize=32768 - --4. Example of directing all traffic into module: -- # iptables -A FORWARD -j NETFLOW -- # iptables -A INPUT -j NETFLOW -- # iptables -A OUTPUT -j NETFLOW -+ # sysctl net.netflow -+ # sysctl net.netflow.hashsize=32768 -+ -+ Note: For after-reboot configuration I recommend to store module parameters -+ in modprobe configs instead of storing them in /etc/sysctl.conf, as it's -+ less clear when init process will apply sysctl.conf, before of after -+ module's load. -+ -+4. Example of directing all IPv4 traffic into the module: -+ -+ # iptables -I FORWARD -j NETFLOW -+ # iptables -I INPUT -j NETFLOW -+ # iptables -I OUTPUT -j NETFLOW -+ -+ Note: It is preferable (because easier to understand) to _insert_ -+ NETFLOW target at the top of the chain, otherwise not all traffic may -+ reach NETFLOW if your iptables configuration is complicated and some -+ other rule inadvertently consume the traffic (dropping or acepting before -+ NETFLOW is reached). It's always good to test your configuration. -+ Use iptables -L -nvx to check pkts/bytes counters on the rules. -+ -+5. If you want to account IPv6 traffic you should use protocol 9 or 10. -+ Example of directing all IPv6 traffic into the module: - -+ # sysctl net.netflow.protocol=10 -+ # ip6tables -I FORWARD -j NETFLOW -+ # ip6tables -I INPUT -j NETFLOW -+ # ip6tables -I OUTPUT -j NETFLOW -+ -+ Note: First enable right version of protocol and after that add ip6tables -+ rules, otherwise you will get errors in dmesg. -+ -+6. If you want to account NAT events (NEL): -+ -+ # sysctl net.netflow.natevents=1 -+ -+ Note that natevents feature is completely independent from traffic accounting -+ (it's using so called conntrack events), thus you don't need to set or change -+ any iptables rules to use that. You may need to enable kernel config option -+ CONFIG_NF_CONNTRACK_EVENTS though (if it isn't already enabled). -+ For details on how they are exported for different protocol versions see -+ below. - - =========== - = OPTIONS = - =========== - -+ protocol=5 -+ - what version of NetFlow protocol to use. Default is 5. -+ You can choose from 5, 9, or 10 (where 10 is IPFIX). If you plan -+ to account IPv6 traffic you should use protocol 9 or 10 (IPFIX), -+ because NetFlow v5 isn't compatible with IPv6. -+ - destination=127.0.0.1:2055 - - where to export netflow, to this ip address - You will see this connection in netstat like this: - udp 0 0 127.0.0.1:32772 127.0.0.1:2055 ESTABLISHED - - destination=127.0.0.1:2055,192.0.0.1:2055 -- - mirror flows to two (can be more) addresses, -- separate addresses with comma. -+ - mirror flows to two (can be more) addresses, separate addresses -+ with comma. -+ -+ natevents=1 -+ - Collect and send NAT translation events as NetFlow Event Logging (NEL) -+ for NetFlow v9/IPFIX, or as dummy flows compatible with NetFlow v5. -+ Default is 0 (don't send). -+ -+ For NetFlow v5 protocol meaning of fields in dummy flows are such: -+ Src IP, Src Port is Pre-nat source address. -+ Dst IP, Dst Port is Post-nat destination address. -+ - These two fields made equal to data flows catched in FORWARD chain. -+ Nexthop, Src AS is Post-nat source address for SNAT. Or, -+ Nexthop, Dst AS is Pre-nat destination address for DNAT. -+ TCP Flags is SYN+SCK for start event, RST+FIN for stop event. -+ Pkt/Traffic size is 0 (zero), so it won't interfere with accounting. - - inactive_timeout=15 - - export flow after it's inactive 15 seconds. Default value is 15. - - active_timeout=1800 -- - export flow after it's active 1800 seconds (30 minutes). Default value is 1800. -+ - export flow after it's active 1800 seconds (30 minutes). Default valuae -+ is 1800. -+ -+ refresh-rate=20 -+ - for NetFlow v9 and IPFIX it's rate how frequently to re-send templates -+ (per packets). You probably don't need to change default (which is 20). -+ -+ timeout-rate=30 -+ - for NetFlow v9 and IPFIX it's rate when to re-send old templates (in -+ minutes). No need to change it. - - debug=0 - - debug level (none). - - sndbuf=number -- - size of output socket buffer in bytes. Recommend you to put -+ - size of output socket buffer in bytes. I recommend you to put - higher value if you experience netflow packet drops (can be - seen in statistics as 'sock: fail' number.) - Default value is system default. - - hashsize=number - - Hash table bucket size. Used for performance tuning. -- Abstractly speaking, it should be two times bigger than flows -+ Abstractly speaking, it should be minimum two times bigger than flows - you usually have, but not need to. - Default is system memory dependent small enough value. - - maxflows=2000000 -- - Maximum number of flows to account. It's here to prevent DOS attacks. After -- this limit reached new flows will not be accounted. Default is -+ - Maximum number of flows to account. It's here to prevent DOS attacks. -+ After this limit reached new flows will not be accounted. Default is - 2000000, zero is unlimited. - - aggregation=string.. -@@ -130,14 +263,15 @@ Troubleshooting: - = HOW TO READ STAT = - ==================== - -- Statistics is your friend to fine tune and understand netflow module performance. -+ Statistics is your friend to fine tune and understand netflow module -+ performance. - - To see stat: - # cat /proc/net/stat/ipt_netflow - - How to interpret the data: - --> Flows: active 5187 (peak 83905 reached 0d0h1m ago, maxflows 2000000), mem 283K -+> Flows: active 5187 (peak 83905 reached 0d0h1m ago, maxflows 2000000), mem 283K, worker delay 100/1000. - - active X: currently active flows in memory cache. - - for optimum CPU performance it is recommended to set hash table size to -@@ -146,8 +280,9 @@ Troubleshooting: - mem XK: how much kilobytes of memory currently taken by active flows. - - one active flow taking 56 bytes of memory. - - there is system limit on cache size too. -+ worker delay X/HZ: how frequently exporter scan flows table per second. - --> Hash: size 8192 (mem 32K), metric 1.0, 1.0, 1.0, 1.0. MemTraf: 1420 pkt, 364 K (pdu 0, 0). -+> Hash: size 8192 (mem 32K), metric 1.00, [1.00, 1.00, 1.00]. MemTraf: 1420 pkt, 364 K (pdu 0, 0). - - Hash: size X: current hash size/limit. - - you can control this by sysctl net.netflow.hashsize variable. -@@ -156,18 +291,22 @@ Troubleshooting: - - optimal value is twice of average of active flows. - mem XK: how much memory occupied by hash table. - - hash table is fixed size by nature, taking 4 bytes per entry. -- metric X, X, X, X: how optimal is your hash table being used. -+ metric X, [X, X, X]: how optimal is your hash table being used. - - lesser value mean more optimal hash table use, min is 1.0. -- - this is moving average (EWMA) of hash table access divided -- by match rate (searches / matches) for 4sec, and 1, 5, 15 minutes. -- Sort of hash table load average. -+ - last three numbers in squares is moving average (EWMA) of hash table -+ access divided by match rate (searches / matches) for 4sec, and 1, 5, and -+ 15 minutes. Sort of hash table load average. First value is instantaneous. -+ You can try to increase hashsize if averages more than 1 (increase -+ certainly if >= 2). - MemTraf: X pkt, X K: how much traffic accounted for flows that are in memory. - - these flows that are residing in internal hash table. - pdu X, X: how much traffic in flows preparing to be exported. - - it is included already in aforementioned MemTraf total. - --> Timeout: active 1800, inactive 15. Maxflows 2000000 -+> Protocol version 10 (ipfix), refresh-rate 20, timeout-rate 30, (templates 2, active 2). Timeouts: active 5, inactive 15. Maxflows 2000000 - -+ Protocol version currently in use. Refresh-rate and timeout-rate -+ for v9 and IPFIX. Total templates generated and currently active. - Timeout: active X: how much seconds to wait before exporting active flow. - - same as sysctl net.netflow.active_timeout variable. - inactive X: how much seconds to wait before exporting inactive flow. -@@ -180,20 +319,22 @@ Troubleshooting: - - - Module throughput values for 1 second, 1 minute, and 5 minutes. - --> cpu# stat: , sock: , traffic: , drop: --> cpu0 stat: 980540 10473 180600, 0 0 0 0, sock: 4983 928 0, 7124 K, traffic: 188765, 14 MB, drop: 27863, 1142 K -+> cpu# stat: , sock: , traffic: , drop: -+> cpu0 stat: 980540 10473 180600 [1.03], 0 0 0 0, sock: 4983 928 0, 7124 K, traffic: 188765, 14 MB, drop: 27863, 1142 K - - cpu#: this is Total and per CPU statistics for: - stat: : internal stat for: - search found new: hash table searched, found, and not found counters. -- trunc: how much truncated packets is ignored -+ [metric]: average hash metric since module load. -+ trunc: how much truncated packets are ignored - - these are that possible don't have valid IP header. - - accounted in drop packets counter but not in drop bytes. - frag: how much fragmented packets have seen. - - kernel always defragments INPUT/OUTPUT chains for us. - - these packets are not ignored but not reassembled either, so: -- - if there is no enough data in fragment (ex. tcp ports) it is considered zero. -- alloc: how much cache memory allocations is failed. -+ - if there is no enough data in fragment (ex. tcp ports) it is considered -+ zero. -+ alloc: how much cache memory allocations are failed. - - packets ignored and accounted in drop stat. - - probably increase system memory if this ever happen. - maxflows: how much packets ignored on maxflows (maximum active flows reached). -@@ -203,7 +344,8 @@ Troubleshooting: - sock: : table of exporting stats for: - ok: how much Netflow PDUs are exported (i.e. UDP packets sent by module). - fail: how much socket errors (i.e. packets failed to be sent). -- - packets dropped and their internal statistics cumulatively accounted in drop stat. -+ - packets dropped and their internal statistics cumulatively accounted in -+ drop stat. - cberr: how much connection refused ICMP errors we got from export target. - - probably you not launched collector software on destination, - - or specified wrong destination address. -@@ -225,20 +367,34 @@ Troubleshooting: - packet is for new flow but maxflows is already reached, - all flows in export packets that got socket error. - --> sock0: 10.0.0.2:2055, sndbuf 106496, filled 0, peak 106848; err: sndbuf reached 928, other 0 -+> Natevents disabled, count start 0, stop 0. -+ -+ - Natevents mode disabled or enabled, and how much start or stop events -+ are reported. -+ -+> sock0: 10.0.0.2:2055 unconnected (1 attempts). -+ -+ If socket is unconnected (for example if module loaded before interfaces is -+ up) it shows now much connection attempts was failed. It will try to connect -+ until success. -+ -+> sock0: 10.0.0.2:2055, sndbuf 106496, filled 0, peak 106848; err: sndbuf reached 928, connect 0, other 0 - - sockX: per destination stats for: - X.X.X.X:Y: destination ip address and port. - - controlled by sysctl net.netflow.destination variable. - sndbuf X: how much data socket can hold in buffers. - - controlled by sysctl net.netflow.sndbuf variable. -- - if you have packet drops due to sndbuf reached (error -11) increase this value. -+ - if you have packet drops due to sndbuf reached (error -11) increase this -+ value. - filled X: how much data in socket buffers right now. - peak X: peak value of how much data in socket buffers was. - - you will be interested to keep it below sndbuf value. - err: how much packets are dropped due to errors. - - all flows from them will be accounted in drop stat. -- sndbuf reached X: how much packets dropped due to sndbuf being too small (error -11). -+ sndbuf reached X: how much packets dropped due to sndbuf being too small -+ (error -11). -+ connect X: how much connection attempts was failed. - other X: dropped due to other possible errors. - - > aggr0: ... -diff --git a/README.promisc b/README.promisc -index 60ca922..31d774f 100644 ---- a/README.promisc -+++ b/README.promisc -@@ -2,9 +2,14 @@ Hello, - - If you wish to account with netflow module traffic mirrored on switch you may follow this example: - --************** --* Solution 1 * --************** -+ -+ Solution 1: General kernel patch. -+ Solution 2: Alternative w/o kernel patch. -+ -+ -+ ************** -+ * Solution 1 * -+ ************** - - 1. Patch your kernel with `raw_promisc.patch' to enable raw table to see promisc traffic. - -@@ -33,17 +38,7 @@ If you wish to account with netflow module traffic mirrored on switch you may fo - # /sbin/vconfig add eth1 47 - # /sbin/ifconfig eth1.47 up - --5. Recompile ipt_netflow module with #define RAW_PROMISC_HACK uncommented: -- -- Find this line in ipt_NETFLOW.c (should be line 7): -- --//#define RAW_PROMISC_HACK -- -- And remove two slashes at beginning of the line, so it become like this: -- --#define RAW_PROMISC_HACK -- -- Re-compile module: -+5. Compile module: - - # make clean all install - -@@ -55,13 +50,14 @@ If you wish to account with netflow module traffic mirrored on switch you may fo - - # /sbin/iptables -A PREROUTING -t raw -i eth1.47 -j NETFLOW - -- - Voila. - -+ps. For Debian Squeeze instructions look at raw_promisc_debian_squeeze6.patch - --************** --* Solution 2 * --************** -+ -+ ************** -+ * Solution 2 * -+ ************** - - By Anonymous. - -@@ -81,4 +77,3 @@ Sometimes you may need to run: - - for this scheme to work. - -- -diff --git a/configure b/configure -index 677dd7f..3f10e2a 100755 ---- a/configure -+++ b/configure -@@ -3,7 +3,7 @@ - PATH=$PATH:/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/sbin - - error() { -- echo "! Error: $@" -+ echo -e "! Error: $@" - exit 1 - } - -@@ -56,19 +56,20 @@ get_lib_from_lib() { - } - - iptables_inc() { -- echo -n "Iptables include path: " -+ echo -n "Iptables include flags: " - if [ "$IPTINC" ]; then -- echo "$IPTINC (user specified)" - IPTINC="-I$IPTINC" -+ echo "$IPTINC (user specified)" -+ elif [ "$PKGVER" ]; then -+ IPTINC="$PKGINC" -+ echo "$IPTINC (pkg-config)" -+ elif [ "$NOIPTSRC" ]; then -+ IPTINC= -+ echo "none (default)" - else -- if [ "$PKGINC" ]; then -- IPTINC="$PKGINC" -- echo "$IPTINC (pkg-config)" -- else -- IPTINC="$IPTSRC/include" -- echo "$IPTINC (from source)" -- IPTINC="-I$IPTINC" -- fi -+ IPTINC="$IPTSRC/include" -+ IPTINC="-I$IPTINC" -+ echo "$IPTINC (from source)" - fi - } - -@@ -109,7 +110,16 @@ try_dir2() { - test -d "$1" && try_dir `dirname $1` && return 0 - } - --iptables_ver() { -+check_pkg_config() { -+ test "$PKGWARN" && return 1 -+ if ! which pkg-config >/dev/null 2>&1; then -+ echo "! You don't have pkg-config, it may be useful to install it." -+ PKGWARN=1 -+ return 1 -+ fi -+ return 0 -+} -+iptables_find_version() { - echo -n "Iptables binary version: " - if [ "$IPTVER" ]; then - echo "$IPTVER (user specified)" -@@ -121,6 +131,7 @@ iptables_ver() { - else - echo "no iptables binary found" - fi -+ check_pkg_config - PKGVER=`pkg-config --modversion xtables 2>/dev/null` - if [ "$PKGVER" ]; then - IPTVER="$PKGVER" -@@ -131,44 +142,90 @@ iptables_ver() { - fi - } - --iptables_dir() { -- test "$IPTINC" && return 1 -- test "$PKGINC" && return 1 -- -- VER="iptables-$IPTVER" -- if [ "$IPTSRC" ]; then -- echo "User specified source directory: $IPTSRC" -- try_dir $IPTSRC || error "Specified directory is not iptables source.." -+compile_libitp_test() { -+ echo -n "Checking for presence of $@... " -+ echo " -+#define __EXPORTED_HEADERS__ -+#include <$*>" > test.c -+ gcc -c test.c >/dev/null 2>&1 -+ RET=$? -+ if [ $RET = 0 ]; then -+ echo Yes; - else -- echo "Searching for $VER sources.." -- try_dir "./$VER" && return 0 -- try_dir "../$VER" && return 0 -- try_dir "/usr/src/$VER" && return 0 -- try_dirg "iptables" && return 0 -- try_dirg "../iptables" && return 0 -- try_dirg "/usr/src/iptables" && return 0 -- try_dir2 `locate $VER/extensions | head -1` && return 0 -- error "Can not find iptables source directory, try setting it with --ipt-src=" -+ echo No; - fi -+ rm -f test.c test.o -+ return $RET - } - --iptables_pkg_config() { -+iptables_try_pkgconfig() { - if [ ! "$PKGVER" ]; then -+ check_pkg_config -+ PKGVER=`pkg-config --modversion xtables 2>/dev/null` -+ TRYPKGVER=`pkg-config --modversion xtables 2>/dev/null` - echo -n "pkg-config for version $IPTVER exists: " -- PKGVER=`pkg-config --exact-version=$IPTVER --modversion xtables 2>/dev/null` -+ pkg-config --exact-version=$IPTVER xtables 2>/dev/null - if [ $? = 0 ]; then - echo "Yes" -+ PKGVER=$TRYPKGVER - else -- echo "No (reported: $PKGVER)" -- unset PKGVER -+ if [ "$TRYPKGVER" ]; then -+ echo "No (reported: $TRYPKGVER)" -+ else -+ echo "No" -+ fi - fi - fi - if [ "$PKGVER" ]; then -+ check_pkg_config -+ PKGVER=`pkg-config --modversion xtables 2>/dev/null` - PKGINC=`pkg-config --cflags xtables` - PKGLIB=`pkg-config --variable=xtlibdir xtables` -- IPTCFLAGS="-DXTABLES" - else -- IPTCFLAGS="-DIPTABLES_VERSION=\\\\\"$IPTVER\\\\\"" -+ # Newer versions of iptables should not have -I/kernel/include! -+ # So I assume that newer version will have correct pkg-config set up -+ # and if not, then it's older who need it. -+ IPTCFLAGS="-I$KDIR/include -DIPTABLES_VERSION=\\\\\"$IPTVER\\\\\"" -+ fi -+ if compile_libitp_test xtables.h; then -+ IPTCFLAGS="-DXTABLES $IPTCFLAGS" -+ elif ! compile_libitp_test iptables.h; then -+ echo "! Iptables headers not found. You may need to specify --ipt-inc=..." -+ if [ -s /etc/debian_version ]; then -+ echo "! " -+ echo "! Under Debian simply run this:" -+ echo "! root# apt-get install iptables-dev pkg-config" -+ elif [ -s /etc/redhat-release ]; then -+ echo "! " -+ arch=.`uname -m` -+ echo "! Under Centos simply run this:" -+ echo "! root# yum install iptables-devel$arch pkgconfig" -+ fi -+ exit 1 -+ fi -+ -+} -+ -+iptables_find_src() { -+ test "$IPTINC" && return 1 -+ test "$PKGVER" && return 1 -+ -+ VER="iptables-$IPTVER" -+ if [ "$IPTSRC" ]; then -+ echo "User specified source directory: $IPTSRC" -+ try_dir $IPTSRC || error "Specified directory is not iptables source.." -+ else -+ echo "Searching for $VER sources.." -+ try_dir "./$VER" && return 0 -+ try_dir "../$VER" && return 0 -+ try_dir "/usr/src/$VER" && return 0 -+ try_dirg "iptables" && return 0 -+ try_dirg "../iptables" && return 0 -+ try_dirg "/usr/src/iptables" && return 0 -+ try_dir2 `locate $VER/extensions 2>/dev/null | head -1` && return 0 -+ echo "! Can not find iptables source directory, you may try setting it with --ipt-src=" -+ echo "! This is not fatal error, yet. Will be just using default include dir." -+ NOIPTSRC=1 - fi - } - -@@ -206,18 +263,110 @@ do - esac - done - --test "$KVERSION" || KVERSION=`uname -r` --echo Kernel version: $KVERSION -+kernel_find_version() { -+ KHOW=requested -+ test "$KVERSION" && return 0 -+ -+ if grep -q '#.*Debian' /proc/version; then -+ KHOW=proc -+ KVERSION=`sed -n 's/.*#.*Debian \([0-9\.]\+\)-.*/\1/p' /proc/version` -+ KLIBMOD=`uname -r` -+ else -+ KHOW=uname -+ KVERSION=`uname -r` -+ fi -+ test "$KDIR" || return 0 -+ -+ test -s $KDIR/Makefile || return 1 -+ test -s $KDIR/include/config/kernel.release || return 1 -+ KVERSION=`cat $KDIR/include/config/kernel.release` -+ KHOW=sources -+} -+ -+kernel_check_src() { -+ if [ -s "$1/Makefile" ]; then -+ KDIR="$1" -+ return 0 -+ fi -+ return 1 -+} -+ -+kernel_find_source() { -+ KSHOW=requested -+ test "$KDIR" && return 0 -+ KSHOW=found -+ kernel_check_src /lib/modules/$KLIBMOD/build && return 0 -+ kernel_check_src /lib/modules/$KVERSION/build && return 0 -+ kernel_check_src /usr/src/kernels/$KVERSION && return 0 -+ kernel_check_src /usr/src/linux-$KVERSION && return 0 -+ echo "! Linux source not found. Don't panic. You may specify kernel source" -+ echo "! directory with --kdir=..., or try to install kernel-devel package," -+ echo "! or just raw sources for linux-$KVERSION from kernel.org." -+ if grep -q -i centos /proc/version 2>/dev/null; then -+ echo "! " -+ arch=.`uname -m` -+ echo "! Under Centos simply run this:" -+ echo "! root# yum install kernel-devel iptables-devel$arch pkgconfig" -+ fi -+ if grep -q -i debian /proc/version 2>/dev/null; then -+ echo "! " -+ echo "! Under Debian simply run this:" -+ echo "! root# apt-get install module-assistant iptables-dev pkg-config" -+ echo "! root# m-a prepare" -+ fi -+ exit 1 -+} -+ -+kernel_check_consistency() { -+ if test -s $KDIR/include/config/kernel.release; then -+ SRCVER=`cat $KDIR/include/config/kernel.release` -+ test "$KVERSION" != "$SRCVER" && error "$KHOW kernel version ($KVERSION) and $KSHOW version of kernel source ($SRCVER) doesn't match!\n!" \ -+ "You may try to specify only kernel source tree with --kdir=$KDIR\n!" \ -+ "and configure will pick up version properly." -+ else -+ test -e "$KDIR/.config" || error ".config in kernel source not found, run make menuconfig in $KDIR" -+ test -d "$KDIR/include/config" || error "kernel is not prepared, run make prepare modules_prepare in $KDIR" -+ fi -+} -+ -+kconfig() { -+ KCONFIG=$KDIR/.config -+ if ! grep -q "^$1=" $KCONFIG 2>/dev/null; then -+ if [ "$KCONFIGREPORTED" != true ]; then -+ KCONFIGREPORTED=true -+ echo Kernel config file checked: $KCONFIG -+ echo -+ fi -+ echo "! Attention: $1 is undefined in your kernel configuration" -+ echo "! Without this option enabled $2 will not work." -+ echo -+ fi -+} -+ -+kernel_check_config() { -+ kconfig CONFIG_SYSCTL "sysctl interface" -+ kconfig CONFIG_PROC_FS "proc interface" -+ kconfig CONFIG_NF_NAT_NEEDED "natevents" -+ kconfig CONFIG_NF_CONNTRACK_EVENTS "natevents" -+ kconfig CONFIG_NF_CONNTRACK_MARK "connmark tracking" -+ kconfig CONFIG_IPV6 "IPv6" -+ kconfig CONFIG_IP6_NF_IPTABLES "ip6tables target" -+} - --test "$KDIR" || KDIR=/lib/modules/$KVERSION/build --echo Kernel sources: $KDIR -+kernel_find_version #KVERSION -+test "$KLIBMOD" || KLIBMOD=$KVERSION -+echo "Kernel version: $KVERSION ($KHOW)" -+kernel_find_source #KDIR -+echo "Kernel sources: $KDIR ($KSHOW)" -+kernel_check_consistency -+kernel_check_config - - test "$IPTBIN" || IPTBIN=`which iptables` - --iptables_ver #IPTVER --iptables_pkg_config --iptables_dir #IPTSRC --iptables_src_version #check IPTSRC match to IPTVER -+iptables_find_version #IPTVER -+iptables_try_pkgconfig #try to configure from pkg-config -+iptables_find_src #IPTSRC -+iptables_src_version #check that IPTSRC match to IPTVER - iptables_inc #IPTINC - iptables_modules #IPTLIB - -@@ -225,7 +374,6 @@ REPLACE="\ - s!@KVERSION@!$KVERSION!;\ - s!@KDIR@!$KDIR!;\ - s!@IPTABLES_VERSION@!$IPTVER!;\ --s!@IPTABLES_INCLUDES@!$IPTINC!;\ - s!@IPTABLES_CFLAGS@!$IPTCFLAGS $IPTINC!;\ - s!@IPTABLES_MODULES@!$IPTLIB!" - -diff --git a/ipt_NETFLOW.c b/ipt_NETFLOW.c -index d4c91e1..ad974c5 100644 ---- a/ipt_NETFLOW.c -+++ b/ipt_NETFLOW.c -@@ -1,6 +1,6 @@ - /* - * This is NetFlow exporting module (NETFLOW target) for linux -- * (c) 2008-2012 -+ * (c) 2008-2013 - * - * - * This program is free software: you can redistribute it and/or modify -@@ -18,8 +18,6 @@ - * - */ - --//#define RAW_PROMISC_HACK -- - #include - #include - #include -@@ -31,16 +29,26 @@ - #include - #include - #include --#include -+#include -+#include -+#include - #include - #include -+#include - #include - #include -+#include - #include - #include -+#if defined(CONFIG_NF_NAT_NEEDED) || defined(CONFIG_NF_CONNTRACK_MARK) -+#include -+#include -+#include -+#endif - #include - #include - #include "ipt_NETFLOW.h" -+#include "murmur3.h" - #ifdef CONFIG_BRIDGE_NETFILTER - #include - #endif -@@ -74,41 +82,66 @@ - #define ipt_target xt_target - #endif - --#define IPT_NETFLOW_VERSION "1.8" -+#define IPT_NETFLOW_VERSION "1.8.2" /* Note that if you are using git, you -+ will see version in other format. */ -+#include "version.h" -+#ifdef GITVERSION -+#undef IPT_NETFLOW_VERSION -+#define IPT_NETFLOW_VERSION GITVERSION -+#endif - - MODULE_LICENSE("GPL"); - MODULE_AUTHOR(""); - MODULE_DESCRIPTION("iptables NETFLOW target module"); - MODULE_VERSION(IPT_NETFLOW_VERSION); -+MODULE_ALIAS("ip6t_NETFLOW"); - - #define DST_SIZE 256 - static char destination_buf[DST_SIZE] = "127.0.0.1:2055"; - static char *destination = destination_buf; --module_param(destination, charp, 0400); -+module_param(destination, charp, 0444); - MODULE_PARM_DESC(destination, "export destination ipaddress:port"); - - static int inactive_timeout = 15; --module_param(inactive_timeout, int, 0600); -+module_param(inactive_timeout, int, 0644); - MODULE_PARM_DESC(inactive_timeout, "inactive flows timeout in seconds"); - - static int active_timeout = 30 * 60; --module_param(active_timeout, int, 0600); -+module_param(active_timeout, int, 0644); - MODULE_PARM_DESC(active_timeout, "active flows timeout in seconds"); - - static int debug = 0; --module_param(debug, int, 0600); -+module_param(debug, int, 0644); - MODULE_PARM_DESC(debug, "debug verbosity level"); - - static int sndbuf; --module_param(sndbuf, int, 0400); -+module_param(sndbuf, int, 0444); - MODULE_PARM_DESC(sndbuf, "udp socket SNDBUF size"); - -+static int protocol = 5; -+module_param(protocol, int, 0444); -+MODULE_PARM_DESC(protocol, "netflow protocol version (5, 9, 10)"); -+ -+static unsigned int refresh_rate = 20; -+module_param(refresh_rate, uint, 0644); -+MODULE_PARM_DESC(refresh_rate, "NetFlow v9/IPFIX refresh rate (packets)"); -+ -+static unsigned int timeout_rate = 30; -+module_param(timeout_rate, uint, 0644); -+MODULE_PARM_DESC(timeout_rate, "NetFlow v9/IPFIX timeout rate (minutes)"); -+ -+#ifdef CONFIG_NF_NAT_NEEDED -+static int natevents = 0; -+module_param(natevents, int, 0444); -+MODULE_PARM_DESC(natevents, "send NAT Events"); -+#endif -+ - static int hashsize; --module_param(hashsize, int, 0400); -+module_param(hashsize, int, 0444); - MODULE_PARM_DESC(hashsize, "hash table size"); - - static int maxflows = 2000000; --module_param(maxflows, int, 0600); -+module_param(maxflows, int, 0644); - MODULE_PARM_DESC(maxflows, "maximum number of flows"); - static int peakflows = 0; - static unsigned long peakflows_at; -@@ -121,22 +154,52 @@ MODULE_PARM_DESC(aggregation, "aggregation ruleset"); - - static DEFINE_PER_CPU(struct ipt_netflow_stat, ipt_netflow_stat); - static LIST_HEAD(usock_list); --static DEFINE_RWLOCK(sock_lock); -+static DEFINE_MUTEX(sock_lock); - -+#define LOCK_COUNT (1<<8) -+#define LOCK_COUNT_MASK (LOCK_COUNT-1) -+static spinlock_t htable_locks[LOCK_COUNT] = { -+ [0 ... LOCK_COUNT - 1] = __SPIN_LOCK_UNLOCKED(htable_locks) -+}; -+static DEFINE_RWLOCK(htable_rwlock); /* global lock to protect htable_locks change */ - static unsigned int ipt_netflow_hash_rnd; --struct hlist_head *ipt_netflow_hash __read_mostly; /* hash table memory */ -+static struct hlist_head *ipt_netflow_hash __read_mostly; /* hash table memory */ - static unsigned int ipt_netflow_hash_size __read_mostly = 0; /* buckets */ - static LIST_HEAD(ipt_netflow_list); /* all flows */ -+static DEFINE_SPINLOCK(hlist_lock); /* should almost always be locked w/o _bh */ - static LIST_HEAD(aggr_n_list); - static LIST_HEAD(aggr_p_list); - static DEFINE_RWLOCK(aggr_lock); -+#ifdef CONFIG_NF_NAT_NEEDED -+static LIST_HEAD(nat_list); /* nat events */ -+static DEFINE_SPINLOCK(nat_lock); -+static unsigned long nat_events_start = 0; -+static unsigned long nat_events_stop = 0; -+#endif - static struct kmem_cache *ipt_netflow_cachep __read_mostly; /* ipt_netflow memory */ - static atomic_t ipt_netflow_count = ATOMIC_INIT(0); --static DEFINE_SPINLOCK(ipt_netflow_lock); /* hash table lock */ - --static long long pdu_packets = 0, pdu_traf = 0; --static struct netflow5_pdu pdu; --static unsigned long pdu_ts_mod; -+static long long pdu_packets = 0, pdu_traf = 0; /* how much accounted traffic in pdu */ -+static unsigned int pdu_count = 0; -+static unsigned int pdu_seq = 0; -+static unsigned int pdu_data_records = 0; -+static unsigned int pdu_tpl_records = 0; -+static unsigned long pdu_ts_mod; /* ts of last flow */ -+static union { -+ struct netflow5_pdu v5; -+ struct netflow9_pdu v9; -+ struct ipfix_pdu ipfix; -+} pdu; -+static int engine_id = 0; /* Observation Domain */ -+static __u8 *pdu_data_used; -+static __u8 *pdu_high_wm; /* high watermark */ -+static unsigned int pdu_max_size; /* sizeof pdu */ -+static struct flowset_data *pdu_flowset = NULL; /* current data flowset */ -+ -+static void (*netflow_export_flow)(struct ipt_netflow *nf); -+static void (*netflow_export_pdu)(void); /* called on timeout */ -+static void netflow_switch_version(int ver); -+ - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) - static void netflow_work_fn(void *work); - static DECLARE_WORK(netflow_work, netflow_work_fn, NULL); -@@ -146,19 +209,26 @@ static DECLARE_DELAYED_WORK(netflow_work, netflow_work_fn); - #endif - static struct timer_list rate_timer; - -+#define TCP_SYN_ACK 0x12 - #define TCP_FIN_RST 0x05 - - static long long sec_prate = 0, sec_brate = 0; - static long long min_prate = 0, min_brate = 0; - static long long min5_prate = 0, min5_brate = 0; --static unsigned int metric = 10, min15_metric = 10, min5_metric = 10, min_metric = 10; /* hash metrics */ -+static unsigned int metric = 100, min15_metric = 100, min5_metric = 100, min_metric = 100; /* hash metrics */ - - static int set_hashsize(int new_size); - static void destination_removeall(void); - static int add_destinations(char *ptr); - static void aggregation_remove(struct list_head *list); - static int add_aggregation(char *ptr); --static void netflow_scan_and_export(int flush); -+static int netflow_scan_and_export(int flush); -+enum { -+ DONT_FLUSH, AND_FLUSH -+}; -+static int template_ids = FLOWSET_DATA_FIRST; -+static int tpl_count = 0; /* how much active templates */ -+ - - static inline __be32 bits2mask(int bits) { - return (bits? 0xffffffff << (32 - bits) : 0); -@@ -175,28 +245,46 @@ static inline int mask2bits(__be32 mask) { - /* under that lock worker is always stopped and not rescheduled, - * and we can call worker sub-functions manually */ - static DEFINE_MUTEX(worker_lock); --static inline void __start_scan_worker(void) -+#define MIN_DELAY 1 -+#define MAX_DELAY (HZ / 10) -+static int worker_delay = HZ / 10; -+static inline void _schedule_scan_worker(const int status) - { -- schedule_delayed_work(&netflow_work, HZ / 10); -+ /* rudimentary congestion avoidance */ -+ if (status > 0) -+ worker_delay -= status; -+ else if (status < 0) -+ worker_delay /= 2; -+ else -+ worker_delay++; -+ if (worker_delay < MIN_DELAY) -+ worker_delay = MIN_DELAY; -+ else if (worker_delay > MAX_DELAY) -+ worker_delay = MAX_DELAY; -+ schedule_delayed_work(&netflow_work, worker_delay); - } - --static inline void start_scan_worker(void) -+/* This is only called soon after pause_scan_worker. */ -+static inline void cont_scan_worker(void) - { -- __start_scan_worker(); -+ _schedule_scan_worker(0); - mutex_unlock(&worker_lock); - } - --/* we always stop scanner before write_lock(&sock_lock) -- * to let it never hold that spin lock */ --static inline void __stop_scan_worker(void) -+static inline void _unschedule_scan_worker(void) - { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) -+ cancel_rearming_delayed_work(&netflow_work); -+#else - cancel_delayed_work_sync(&netflow_work); -+#endif - } - --static inline void stop_scan_worker(void) -+/* This is only used for quick pause (in procctl). */ -+static inline void pause_scan_worker(void) - { - mutex_lock(&worker_lock); -- __stop_scan_worker(); -+ _unschedule_scan_worker(); - } - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) -@@ -223,11 +311,14 @@ static int nf_seq_show(struct seq_file *seq, void *v) - int snum = 0; - int peak = (jiffies - peakflows_at) / HZ; - -- seq_printf(seq, "Flows: active %u (peak %u reached %ud%uh%um ago), mem %uK\n", -+ seq_printf(seq, "ipt_NETFLOW version " IPT_NETFLOW_VERSION ", srcversion %s\n", -+ THIS_MODULE->srcversion); -+ seq_printf(seq, "Flows: active %u (peak %u reached %ud%uh%um ago), mem %uK, worker delay %d/%d.\n", - nr_flows, - peakflows, - peak / (60 * 60 * 24), (peak / (60 * 60)) % 24, (peak / 60) % 60, -- (unsigned int)((nr_flows * sizeof(struct ipt_netflow)) >> 10)); -+ (unsigned int)((nr_flows * sizeof(struct ipt_netflow)) >> 10), -+ worker_delay, HZ); - - for_each_present_cpu(cpu) { - struct ipt_netflow_stat *st = &per_cpu(ipt_netflow_stat, cpu); -@@ -252,93 +343,123 @@ static int nf_seq_show(struct seq_file *seq, void *v) - } - - #define FFLOAT(x, prec) (int)(x) / prec, (int)(x) % prec -- seq_printf(seq, "Hash: size %u (mem %uK), metric %d.%d, %d.%d, %d.%d, %d.%d. MemTraf: %llu pkt, %llu K (pdu %llu, %llu).\n", -- ipt_netflow_hash_size, -- (unsigned int)((ipt_netflow_hash_size * sizeof(struct hlist_head)) >> 10), -- FFLOAT(metric, 10), -- FFLOAT(min_metric, 10), -- FFLOAT(min5_metric, 10), -- FFLOAT(min15_metric, 10), -- pkt_total - pkt_out + pdu_packets, -- (traf_total - traf_out + pdu_traf) >> 10, -- pdu_packets, -- pdu_traf); -- -- seq_printf(seq, "Timeout: active %d, inactive %d. Maxflows %u\n", -- active_timeout, -- inactive_timeout, -- maxflows); -- -- seq_printf(seq, "Rate: %llu bits/sec, %llu packets/sec; Avg 1 min: %llu bps, %llu pps; 5 min: %llu bps, %llu pps\n", -- sec_brate, sec_prate, min_brate, min_prate, min5_brate, min5_prate); -- -- seq_printf(seq, "cpu# stat: , sock: , traffic: , drop: \n"); -- -- seq_printf(seq, "Total stat: %6llu %6llu %6llu, %4u %4u %4u %4u, sock: %6u %u %u, %llu K, traffic: %llu, %llu MB, drop: %llu, %llu K\n", -- (unsigned long long)searched, -- (unsigned long long)found, -- (unsigned long long)notfound, -- truncated, frags, alloc_err, maxflows_err, -- send_success, send_failed, sock_errors, -- (unsigned long long)exported_size >> 10, -- (unsigned long long)pkt_total, (unsigned long long)traf_total >> 20, -- (unsigned long long)pkt_drop, (unsigned long long)traf_drop >> 10); -+ seq_printf(seq, "Hash: size %u (mem %uK), metric %d.%02d [%d.%02d, %d.%02d, %d.%02d]." -+ " MemTraf: %llu pkt, %llu K (pdu %llu, %llu), Out %llu pkt, %llu K.\n", -+ ipt_netflow_hash_size, -+ (unsigned int)((ipt_netflow_hash_size * sizeof(struct hlist_head)) >> 10), -+ FFLOAT(metric, 100), -+ FFLOAT(min_metric, 100), -+ FFLOAT(min5_metric, 100), -+ FFLOAT(min15_metric, 100), -+ pkt_total - pkt_out + pdu_packets, -+ (traf_total - traf_out + pdu_traf) >> 10, -+ pdu_packets, -+ pdu_traf, -+ pkt_out, -+ traf_out >> 10); -+ -+ seq_printf(seq, "Rate: %llu bits/sec, %llu packets/sec;" -+ " Avg 1 min: %llu bps, %llu pps; 5 min: %llu bps, %llu pps\n", -+ sec_brate, sec_prate, min_brate, min_prate, min5_brate, min5_prate); -+ -+ seq_printf(seq, "cpu# stat: ," -+ " sock: , traffic: , drop: \n"); -+ -+#define SAFEDIV(x,y) ((y)? ({ u64 __tmp = x; do_div(__tmp, y); (int)__tmp; }) : 0) -+ seq_printf(seq, "Total stat: %6llu %6llu %6llu [%d.%02d], %4u %4u %4u %4u," -+ " sock: %6u %u %u, %llu K, traffic: %llu, %llu MB, drop: %llu, %llu K\n", -+ searched, -+ (unsigned long long)found, -+ (unsigned long long)notfound, -+ FFLOAT(SAFEDIV(100LL * (searched + found + notfound), (found + notfound)), 100), -+ truncated, frags, alloc_err, maxflows_err, -+ send_success, send_failed, sock_errors, -+ (unsigned long long)exported_size >> 10, -+ (unsigned long long)pkt_total, (unsigned long long)traf_total >> 20, -+ (unsigned long long)pkt_drop, (unsigned long long)traf_drop >> 10); - - if (num_present_cpus() > 1) { - for_each_present_cpu(cpu) { - struct ipt_netflow_stat *st; - - st = &per_cpu(ipt_netflow_stat, cpu); -- seq_printf(seq, "cpu%u stat: %6llu %6llu %6llu, %4u %4u %4u %4u, sock: %6u %u %u, %llu K, traffic: %llu, %llu MB, drop: %llu, %llu K\n", -- cpu, -- (unsigned long long)st->searched, -- (unsigned long long)st->found, -- (unsigned long long)st->notfound, -- st->truncated, st->frags, st->alloc_err, st->maxflows_err, -- st->send_success, st->send_failed, st->sock_errors, -- (unsigned long long)st->exported_size >> 10, -- (unsigned long long)st->pkt_total, (unsigned long long)st->traf_total >> 20, -- (unsigned long long)st->pkt_drop, (unsigned long long)st->traf_drop >> 10); -+ seq_printf(seq, "cpu%u stat: %6llu %6llu %6llu [%d.%02d], %4u %4u %4u %4u," -+ " sock: %6u %u %u, %llu K, traffic: %llu, %llu MB, drop: %llu, %llu K\n", -+ cpu, -+ (unsigned long long)st->searched, -+ (unsigned long long)st->found, -+ (unsigned long long)st->notfound, -+ FFLOAT(SAFEDIV(100LL * (st->searched + st->found + st->notfound), (st->found + st->notfound)), 100), -+ st->truncated, st->frags, st->alloc_err, st->maxflows_err, -+ st->send_success, st->send_failed, st->sock_errors, -+ (unsigned long long)st->exported_size >> 10, -+ (unsigned long long)st->pkt_total, (unsigned long long)st->traf_total >> 20, -+ (unsigned long long)st->pkt_drop, (unsigned long long)st->traf_drop >> 10); - } - } - -- read_lock(&sock_lock); -+ seq_printf(seq, "Protocol version %d", protocol); -+ if (protocol == 10) -+ seq_printf(seq, " (ipfix)"); -+ else -+ seq_printf(seq, " (netflow)"); -+ if (protocol >= 9) -+ seq_printf(seq, ", refresh-rate %u, timeout-rate %u, (templates %d, active %d)", -+ refresh_rate, timeout_rate, template_ids - FLOWSET_DATA_FIRST, tpl_count); -+ -+ seq_printf(seq, ". Timeouts: active %d, inactive %d. Maxflows %u\n", -+ active_timeout, -+ inactive_timeout, -+ maxflows); -+ -+#ifdef CONFIG_NF_NAT_NEEDED -+ seq_printf(seq, "Natevents %s, count start %lu, stop %lu.\n", natevents? "enabled" : "disabled", -+ nat_events_start, nat_events_stop); -+#endif -+ -+ mutex_lock(&sock_lock); - list_for_each_entry(usock, &usock_list, list) { -- struct sock *sk = usock->sock->sk; -- -- seq_printf(seq, "sock%d: %u.%u.%u.%u:%u, sndbuf %u, filled %u, peak %u; err: sndbuf reached %u, other %u\n", -- snum, -- usock->ipaddr >> 24, -- (usock->ipaddr >> 16) & 255, -- (usock->ipaddr >> 8) & 255, -- usock->ipaddr & 255, -- usock->port, -- sk->sk_sndbuf, -- atomic_read(&sk->sk_wmem_alloc), -- atomic_read(&usock->wmem_peak), -- atomic_read(&usock->err_full), -- atomic_read(&usock->err_other)); -+ seq_printf(seq, "sock%d: %u.%u.%u.%u:%u", -+ snum, -+ HIPQUAD(usock->ipaddr), -+ usock->port); -+ if (usock->sock) { -+ struct sock *sk = usock->sock->sk; -+ -+ seq_printf(seq, ", sndbuf %u, filled %u, peak %u;" -+ " err: sndbuf reached %u, connect %u, other %u\n", -+ sk->sk_sndbuf, -+ atomic_read(&sk->sk_wmem_alloc), -+ atomic_read(&usock->wmem_peak), -+ atomic_read(&usock->err_full), -+ atomic_read(&usock->err_connect), -+ atomic_read(&usock->err_other)); -+ } else -+ seq_printf(seq, " unconnected (%u attempts).\n", -+ atomic_read(&usock->err_connect)); - snum++; - } -- read_unlock(&sock_lock); -+ mutex_unlock(&sock_lock); - - read_lock_bh(&aggr_lock); - snum = 0; - list_for_each_entry(aggr_n, &aggr_n_list, list) { -- seq_printf(seq, "aggr#%d net: match %u.%u.%u.%u/%d strip %d\n", -- snum, -- HIPQUAD(aggr_n->addr), -- mask2bits(aggr_n->mask), -- mask2bits(aggr_n->aggr_mask)); -+ seq_printf(seq, "aggr#%d net: match %u.%u.%u.%u/%d strip %d (usage %u)\n", -+ snum, -+ HIPQUAD(aggr_n->addr), -+ mask2bits(aggr_n->mask), -+ mask2bits(aggr_n->aggr_mask), -+ atomic_read(&aggr_n->usage)); - snum++; - } - snum = 0; - list_for_each_entry(aggr_p, &aggr_p_list, list) { -- seq_printf(seq, "aggr#%d port: ports %u-%u replace %u\n", -- snum, -- aggr_p->port1, -- aggr_p->port2, -- aggr_p->aggr_port); -+ seq_printf(seq, "aggr#%d port: ports %u-%u replace %u (usage %u)\n", -+ snum, -+ aggr_p->port1, -+ aggr_p->port2, -+ aggr_p->aggr_port, -+ atomic_read(&aggr_p->usage)); - snum++; - } - read_unlock_bh(&aggr_lock); -@@ -367,8 +488,13 @@ static struct file_operations nf_seq_fops = { - #define BEFORE2632(x,y) - #endif - -+/* PAX need to know that we are allowed to write */ -+#ifndef CONSTIFY_PLUGIN -+#define ctl_table_no_const ctl_table -+#endif -+ - /* sysctl /proc/sys/net/netflow */ --static int hsize_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,) -+static int hsize_procctl(ctl_table_no_const *ctl, int write, BEFORE2632(struct file *filp,) - void __user *buffer, size_t *lenp, loff_t *fpos) - { - void *orig = ctl->data; -@@ -386,20 +512,21 @@ static int hsize_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp - return ret; - } - --static int sndbuf_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,) -+static int sndbuf_procctl(ctl_table_no_const *ctl, int write, BEFORE2632(struct file *filp,) - void __user *buffer, size_t *lenp, loff_t *fpos) - { - int ret; - struct ipt_netflow_sock *usock; -- -- read_lock(&sock_lock); -+ -+ mutex_lock(&sock_lock); - if (list_empty(&usock_list)) { -- read_unlock(&sock_lock); -+ mutex_unlock(&sock_lock); - return -ENOENT; - } - usock = list_first_entry(&usock_list, struct ipt_netflow_sock, list); -- sndbuf = usock->sock->sk->sk_sndbuf; -- read_unlock(&sock_lock); -+ if (usock->sock) -+ sndbuf = usock->sock->sk->sk_sndbuf; -+ mutex_unlock(&sock_lock); - - ctl->data = &sndbuf; - ret = proc_dointvec(ctl, write, BEFORE2632(filp,) buffer, lenp, fpos); -@@ -407,13 +534,14 @@ static int sndbuf_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *fil - return ret; - if (sndbuf < SOCK_MIN_SNDBUF) - sndbuf = SOCK_MIN_SNDBUF; -- stop_scan_worker(); -- write_lock(&sock_lock); -+ pause_scan_worker(); -+ mutex_lock(&sock_lock); - list_for_each_entry(usock, &usock_list, list) { -- usock->sock->sk->sk_sndbuf = sndbuf; -+ if (usock->sock) -+ usock->sock->sk->sk_sndbuf = sndbuf; - } -- write_unlock(&sock_lock); -- start_scan_worker(); -+ mutex_unlock(&sock_lock); -+ cont_scan_worker(); - return ret; - } - -@@ -424,10 +552,10 @@ static int destination_procctl(ctl_table *ctl, int write, BEFORE2632(struct file - - ret = proc_dostring(ctl, write, BEFORE2632(filp,) buffer, lenp, fpos); - if (ret >= 0 && write) { -- stop_scan_worker(); -+ pause_scan_worker(); - destination_removeall(); - add_destinations(destination_buf); -- start_scan_worker(); -+ cont_scan_worker(); - } - return ret; - } -@@ -446,13 +574,12 @@ static int aggregation_procctl(ctl_table *ctl, int write, BEFORE2632(struct file - return ret; - } - --static int flush_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,) -+static int flush_procctl(ctl_table_no_const *ctl, int write, BEFORE2632(struct file *filp,) - void __user *buffer, size_t *lenp, loff_t *fpos) - { - int ret; -- int val; -+ int val = 0; - -- val = 0; - ctl->data = &val; - ret = proc_dointvec(ctl, write, BEFORE2632(filp,) buffer, lenp, fpos); - -@@ -461,14 +588,67 @@ static int flush_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp - - if (val > 0) { - printk(KERN_INFO "ipt_NETFLOW: forced flush\n"); -- stop_scan_worker(); -- netflow_scan_and_export(1); -- start_scan_worker(); -+ pause_scan_worker(); -+ netflow_scan_and_export(AND_FLUSH); -+ cont_scan_worker(); -+ } -+ -+ return ret; -+} -+ -+static int protocol_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,) -+ void __user *buffer, size_t *lenp, loff_t *fpos) -+{ -+ int ret; -+ int ver = protocol; -+ -+ ctl->data = &ver; -+ ret = proc_dointvec(ctl, write, BEFORE2632(filp,) buffer, lenp, fpos); -+ -+ if (!write) -+ return ret; -+ -+ switch (ver) { -+ case 5: -+ case 9: -+ case 10: -+ printk(KERN_INFO "ipt_NETFLOW: forced flush (protocol version change)\n"); -+ pause_scan_worker(); -+ netflow_scan_and_export(AND_FLUSH); -+ netflow_switch_version(ver); -+ cont_scan_worker(); -+ break; -+ default: -+ return -EPERM; - } - - return ret; - } - -+#ifdef CONFIG_NF_NAT_NEEDED -+static void register_ct_events(void); -+static void unregister_ct_events(void); -+static int natevents_procctl(ctl_table *ctl, int write, BEFORE2632(struct file *filp,) -+ void __user *buffer, size_t *lenp, loff_t *fpos) -+{ -+ int ret; -+ int val = natevents; -+ -+ ctl->data = &val; -+ ret = proc_dointvec(ctl, write, BEFORE2632(filp,) buffer, lenp, fpos); -+ -+ if (!write) -+ return ret; -+ -+ if (natevents && !val) -+ unregister_ct_events(); -+ else if (!natevents && val) -+ register_ct_events(); -+ -+ return ret; -+} -+#endif -+ - static struct ctl_table_header *netflow_sysctl_header; - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) -@@ -547,6 +727,38 @@ static struct ctl_table netflow_sysctl_table[] = { - .maxlen = sizeof(int), - .proc_handler = &flush_procctl, - }, -+ { -+ _CTL_NAME(10) -+ .procname = "protocol", -+ .mode = 0644, -+ .maxlen = sizeof(int), -+ .proc_handler = &protocol_procctl, -+ }, -+ { -+ _CTL_NAME(11) -+ .procname = "refresh-rate", -+ .mode = 0644, -+ .data = &refresh_rate, -+ .maxlen = sizeof(int), -+ .proc_handler = &proc_dointvec, -+ }, -+ { -+ _CTL_NAME(12) -+ .procname = "timeout-rate", -+ .mode = 0644, -+ .data = &timeout_rate, -+ .maxlen = sizeof(int), -+ .proc_handler = &proc_dointvec, -+ }, -+#ifdef CONFIG_NF_NAT_NEEDED -+ { -+ _CTL_NAME(13) -+ .procname = "natevents", -+ .mode = 0644, -+ .maxlen = sizeof(int), -+ .proc_handler = &natevents_procctl, -+ }, -+#endif - { } - }; - -@@ -588,18 +800,69 @@ static struct ctl_path netflow_sysctl_path[] = { - static void sk_error_report(struct sock *sk) - { - /* clear connection refused errors if any */ -- write_lock_bh(&sk->sk_callback_lock); - if (debug > 1) -- printk(KERN_INFO "NETFLOW: socket error <%d>\n", sk->sk_err); -+ printk(KERN_INFO "ipt_NETFLOW: socket error <%d>\n", sk->sk_err); - sk->sk_err = 0; - NETFLOW_STAT_INC(sock_errors); -- write_unlock_bh(&sk->sk_callback_lock); - return; - } - -+static struct socket *_usock_alloc(const __be32 ipaddr, const unsigned short port) -+{ -+ struct sockaddr_in sin; -+ struct socket *sock; -+ int error; -+ -+ if ((error = sock_create_kern(PF_INET, SOCK_DGRAM, IPPROTO_UDP, &sock)) < 0) { -+ printk(KERN_ERR "ipt_NETFLOW: sock_create_kern error %d\n", -error); -+ return NULL; -+ } -+ sock->sk->sk_allocation = GFP_ATOMIC; -+ sock->sk->sk_prot->unhash(sock->sk); /* hidden from input */ -+ sock->sk->sk_error_report = &sk_error_report; /* clear ECONNREFUSED */ -+ if (sndbuf) -+ sock->sk->sk_sndbuf = sndbuf; -+ else -+ sndbuf = sock->sk->sk_sndbuf; -+ memset(&sin, 0, sizeof(sin)); -+ sin.sin_family = AF_INET; -+ sin.sin_addr.s_addr = htonl(ipaddr); -+ sin.sin_port = htons(port); -+ if ((error = sock->ops->connect(sock, (struct sockaddr *)&sin, -+ sizeof(sin), 0)) < 0) { -+ printk(KERN_ERR "ipt_NETFLOW: error connecting UDP socket %d," -+ " don't worry, will try reconnect later.\n", -error); -+ /* ENETUNREACH when no interfaces */ -+ sock_release(sock); -+ return NULL; -+ } -+ return sock; -+} -+ -+static void usock_connect(struct ipt_netflow_sock *usock, const int sendmsg) -+{ -+ usock->sock = _usock_alloc(usock->ipaddr, usock->port); -+ if (usock->sock) { -+ if (sendmsg || debug) -+ printk(KERN_INFO "ipt_NETFLOW: connected %u.%u.%u.%u:%u\n", -+ HIPQUAD(usock->ipaddr), -+ usock->port); -+ } else { -+ atomic_inc(&usock->err_connect); -+ if (debug) -+ printk(KERN_INFO "ipt_NETFLOW: connect to %u.%u.%u.%u:%u failed%s.\n", -+ HIPQUAD(usock->ipaddr), -+ usock->port, -+ (sendmsg)? " (pdu lost)" : ""); -+ } -+ atomic_set(&usock->wmem_peak, 0); -+ atomic_set(&usock->err_full, 0); -+ atomic_set(&usock->err_other, 0); -+} -+ - // return numbers of sends succeded, 0 if none - /* only called in scan worker path */ --static int netflow_send_pdu(void *buffer, int len) -+static void netflow_sendmsg(void *buffer, const int len) - { - struct msghdr msg = { .msg_flags = MSG_DONTWAIT|MSG_NOSIGNAL }; - struct kvec iov = { buffer, len }; -@@ -607,9 +870,16 @@ static int netflow_send_pdu(void *buffer, int len) - int snum = 0; - struct ipt_netflow_sock *usock; - -+ mutex_lock(&sock_lock); - list_for_each_entry(usock, &usock_list, list) { -+ if (!usock->sock) -+ usock_connect(usock, 1); -+ if (!usock->sock) { -+ NETFLOW_STAT_INC_ATOMIC(send_failed); -+ continue; -+ } - if (debug) -- printk(KERN_INFO "netflow_send_pdu: sendmsg(%d, %d) [%u %u]\n", -+ printk(KERN_INFO "netflow_sendmsg: sendmsg(%d, %d) [%u %u]\n", - snum, - len, - atomic_read(&usock->sock->sk->sk_wmem_alloc), -@@ -624,7 +894,7 @@ static int netflow_send_pdu(void *buffer, int len) - suggestion = ": increase sndbuf!"; - } else - atomic_inc(&usock->err_other); -- printk(KERN_ERR "netflow_send_pdu[%d]: sendmsg error %d: data loss %llu pkt, %llu bytes%s\n", -+ printk(KERN_ERR "ipt_NETFLOW: sendmsg[%d] error %d: data loss %llu pkt, %llu bytes%s\n", - snum, ret, pdu_packets, pdu_traf, suggestion); - } else { - unsigned int wmem = atomic_read(&usock->sock->sk->sk_wmem_alloc); -@@ -636,98 +906,67 @@ static int netflow_send_pdu(void *buffer, int len) - } - snum++; - } -- return retok; -+ mutex_unlock(&sock_lock); -+ if (retok == 0) { -+ /* not least one send succeded, account stat for dropped packets */ -+ NETFLOW_STAT_ADD_ATOMIC(pkt_drop, pdu_packets); -+ NETFLOW_STAT_ADD_ATOMIC(traf_drop, pdu_traf); -+ } - } - --static void usock_free(struct ipt_netflow_sock *usock) -+static void usock_close_free(struct ipt_netflow_sock *usock) - { -- printk(KERN_INFO "netflow: remove destination %u.%u.%u.%u:%u (%p)\n", -+ printk(KERN_INFO "ipt_NETFLOW: removed destination %u.%u.%u.%u:%u\n", - HIPQUAD(usock->ipaddr), -- usock->port, -- usock->sock); -+ usock->port); - if (usock->sock) - sock_release(usock->sock); - usock->sock = NULL; -- vfree(usock); -+ vfree(usock); - } - - static void destination_removeall(void) - { -- write_lock(&sock_lock); -+ mutex_lock(&sock_lock); - while (!list_empty(&usock_list)) { - struct ipt_netflow_sock *usock; - - usock = list_entry(usock_list.next, struct ipt_netflow_sock, list); - list_del(&usock->list); -- write_unlock(&sock_lock); -- usock_free(usock); -- write_lock(&sock_lock); -+ mutex_unlock(&sock_lock); -+ usock_close_free(usock); -+ mutex_lock(&sock_lock); - } -- write_unlock(&sock_lock); -+ mutex_unlock(&sock_lock); - } - - static void add_usock(struct ipt_netflow_sock *usock) - { - struct ipt_netflow_sock *sk; - -- /* don't need empty sockets */ -- if (!usock->sock) { -- usock_free(usock); -- return; -- } -- -- write_lock(&sock_lock); -+ mutex_lock(&sock_lock); - /* don't need duplicated sockets */ - list_for_each_entry(sk, &usock_list, list) { - if (sk->ipaddr == usock->ipaddr && - sk->port == usock->port) { -- write_unlock(&sock_lock); -- usock_free(usock); -+ mutex_unlock(&sock_lock); -+ usock_close_free(usock); - return; - } - } - list_add_tail(&usock->list, &usock_list); -- printk(KERN_INFO "netflow: added destination %u.%u.%u.%u:%u\n", -+ printk(KERN_INFO "ipt_NETFLOW: added destination %u.%u.%u.%u:%u%s\n", - HIPQUAD(usock->ipaddr), -- usock->port); -- write_unlock(&sock_lock); --} -- --static struct socket *usock_alloc(__be32 ipaddr, unsigned short port) --{ -- struct sockaddr_in sin; -- struct socket *sock; -- int error; -- -- if ((error = sock_create_kern(PF_INET, SOCK_DGRAM, IPPROTO_UDP, &sock)) < 0) { -- printk(KERN_ERR "netflow: sock_create_kern error %d\n", error); -- return NULL; -- } -- sock->sk->sk_allocation = GFP_ATOMIC; -- sock->sk->sk_prot->unhash(sock->sk); /* hidden from input */ -- sock->sk->sk_error_report = &sk_error_report; /* clear ECONNREFUSED */ -- if (sndbuf) -- sock->sk->sk_sndbuf = sndbuf; -- else -- sndbuf = sock->sk->sk_sndbuf; -- memset(&sin, 0, sizeof(sin)); -- sin.sin_family = AF_INET; -- sin.sin_addr.s_addr = htonl(ipaddr); -- sin.sin_port = htons(port); -- if ((error = sock->ops->connect(sock, (struct sockaddr *)&sin, -- sizeof(sin), 0)) < 0) { -- printk(KERN_ERR "netflow: error connecting UDP socket %d\n", error); -- sock_release(sock); -- return NULL; -- } -- return sock; -+ usock->port, -+ (!usock->sock)? " (unconnected)" : ""); -+ mutex_unlock(&sock_lock); - } - - #define SEPARATORS " ,;\t\n" - static int add_destinations(char *ptr) - { - while (ptr) { -- unsigned char ip[4]; -+ unsigned char ip[4]; - unsigned short port; - - ptr += strspn(ptr, SEPARATORS); -@@ -737,17 +976,15 @@ static int add_destinations(char *ptr) - struct ipt_netflow_sock *usock; - - if (!(usock = vmalloc(sizeof(*usock)))) { -- printk(KERN_ERR "netflow: can't vmalloc socket\n"); -+ printk(KERN_ERR "ipt_NETFLOW: can't vmalloc socket\n"); - return -ENOMEM; - } - - memset(usock, 0, sizeof(*usock)); -+ atomic_set(&usock->err_connect, 0); - usock->ipaddr = ntohl(*(__be32 *)ip); - usock->port = port; -- usock->sock = usock_alloc(usock->ipaddr, port); -- atomic_set(&usock->wmem_peak, 0); -- atomic_set(&usock->err_full, 0); -- atomic_set(&usock->err_other, 0); -+ usock_connect(usock, 0); - add_usock(usock); - } else - break; -@@ -781,7 +1018,7 @@ static int add_aggregation(char *ptr) - LIST_HEAD(old_aggr_list); - - while (ptr && *ptr) { -- unsigned char ip[4]; -+ unsigned char ip[4]; - unsigned int mask; - unsigned int port1, port2; - unsigned int aggr_to; -@@ -792,16 +1029,16 @@ static int add_aggregation(char *ptr) - ip, ip + 1, ip + 2, ip + 3, &mask, &aggr_to) == 6) { - - if (!(aggr_n = vmalloc(sizeof(*aggr_n)))) { -- printk(KERN_ERR "netflow: can't vmalloc aggr\n"); -+ printk(KERN_ERR "ipt_NETFLOW: can't vmalloc aggr\n"); - return -ENOMEM; - } - memset(aggr_n, 0, sizeof(*aggr_n)); - -- aggr_n->addr = ntohl(*(__be32 *)ip); - aggr_n->mask = bits2mask(mask); -+ aggr_n->addr = ntohl(*(__be32 *)ip) & aggr_n->mask; - aggr_n->aggr_mask = bits2mask(aggr_to); - aggr_n->prefix = mask; -- printk(KERN_INFO "netflow: add aggregation [%u.%u.%u.%u/%u=%u]\n", -+ printk(KERN_INFO "ipt_NETFLOW: add aggregation [%u.%u.%u.%u/%u=%u]\n", - HIPQUAD(aggr_n->addr), mask, aggr_to); - list_add_tail(&aggr_n->list, &new_aggr_n_list); - -@@ -809,7 +1046,7 @@ static int add_aggregation(char *ptr) - sscanf(ptr, "%u=%u", &port2, &aggr_to) == 2) { - - if (!(aggr_p = vmalloc(sizeof(*aggr_p)))) { -- printk(KERN_ERR "netflow: can't vmalloc aggr\n"); -+ printk(KERN_ERR "ipt_NETFLOW: can't vmalloc aggr\n"); - return -ENOMEM; - } - memset(aggr_p, 0, sizeof(*aggr_p)); -@@ -817,11 +1054,11 @@ static int add_aggregation(char *ptr) - aggr_p->port1 = port1; - aggr_p->port2 = port2; - aggr_p->aggr_port = aggr_to; -- printk(KERN_INFO "netflow: add aggregation [%u-%u=%u]\n", -+ printk(KERN_INFO "ipt_NETFLOW: add aggregation [%u-%u=%u]\n", - port1, port2, aggr_to); - list_add_tail(&aggr_p->list, &new_aggr_p_list); - } else { -- printk(KERN_ERR "netflow: bad aggregation rule: %s (ignoring)\n", ptr); -+ printk(KERN_ERR "ipt_NETFLOW: bad aggregation rule: %s (ignoring)\n", ptr); - break; - } - -@@ -846,17 +1083,23 @@ static int add_aggregation(char *ptr) - - static inline u_int32_t hash_netflow(const struct ipt_netflow_tuple *tuple) - { -- /* tuple is rounded to u32s */ -- return jhash2((u32 *)tuple, NETFLOW_TUPLE_SIZE, ipt_netflow_hash_rnd) % ipt_netflow_hash_size; -+ return murmur3(tuple, sizeof(struct ipt_netflow_tuple), ipt_netflow_hash_rnd) % ipt_netflow_hash_size; - } - - static struct ipt_netflow * --ipt_netflow_find(const struct ipt_netflow_tuple *tuple, unsigned int hash) -+ipt_netflow_find(const struct ipt_netflow_tuple *tuple, const unsigned int hash) - { - struct ipt_netflow *nf; -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) -+#define compat_hlist_for_each_entry hlist_for_each_entry -+#define compat_hlist_for_each_entry_safe hlist_for_each_entry_safe - struct hlist_node *pos; -+#else /* since 3.9.0 */ -+#define compat_hlist_for_each_entry(a,pos,c,d) hlist_for_each_entry(a,c,d) -+#define compat_hlist_for_each_entry_safe(a,pos,c,d,e) hlist_for_each_entry_safe(a,c,d,e) -+#endif - -- hlist_for_each_entry(nf, pos, &ipt_netflow_hash[hash], hlist) { -+ compat_hlist_for_each_entry(nf, pos, &ipt_netflow_hash[hash], hlist) { - if (ipt_netflow_tuple_equal(tuple, &nf->tuple) && - nf->nr_bytes < FLOW_FULL_WATERMARK) { - NETFLOW_STAT_INC(found); -@@ -868,7 +1111,7 @@ ipt_netflow_find(const struct ipt_netflow_tuple *tuple, unsigned int hash) - return NULL; - } - --static struct hlist_head *alloc_hashtable(int size) -+static struct hlist_head *alloc_hashtable(const int size) - { - struct hlist_head *hash; - -@@ -879,19 +1122,18 @@ static struct hlist_head *alloc_hashtable(int size) - for (i = 0; i < size; i++) - INIT_HLIST_HEAD(&hash[i]); - } else -- printk(KERN_ERR "netflow: unable to vmalloc hash table.\n"); -+ printk(KERN_ERR "ipt_NETFLOW: unable to vmalloc hash table.\n"); - - return hash; - } - --static int set_hashsize(int new_size) -+static int set_hashsize(const int new_size) - { - struct hlist_head *new_hash, *old_hash; -- unsigned int hash; - struct ipt_netflow *nf; - int rnd; - -- printk(KERN_INFO "netflow: allocating new hash table %u -> %u buckets\n", -+ printk(KERN_INFO "ipt_NETFLOW: allocating new hash table %u -> %u buckets\n", - ipt_netflow_hash_size, new_size); - new_hash = alloc_hashtable(new_size); - if (!new_hash) -@@ -900,19 +1142,24 @@ static int set_hashsize(int new_size) - get_random_bytes(&rnd, 4); - - /* rehash */ -- spin_lock_bh(&ipt_netflow_lock); -+ write_lock_bh(&htable_rwlock); - old_hash = ipt_netflow_hash; - ipt_netflow_hash = new_hash; - ipt_netflow_hash_size = new_size; - ipt_netflow_hash_rnd = rnd; - /* hash_netflow() is dependent on ipt_netflow_hash_* values */ -+ spin_lock(&hlist_lock); - list_for_each_entry(nf, &ipt_netflow_list, list) { -+ unsigned int hash; -+ - hash = hash_netflow(&nf->tuple); - /* hlist_add_head overwrites hlist pointers for this node - * so it's good */ - hlist_add_head(&nf->hlist, &new_hash[hash]); -+ nf->lock = &htable_locks[hash & LOCK_COUNT_MASK]; - } -- spin_unlock_bh(&ipt_netflow_lock); -+ spin_unlock(&hlist_lock); -+ write_unlock_bh(&htable_rwlock); - - vfree(old_hash); - -@@ -920,14 +1167,14 @@ static int set_hashsize(int new_size) - } - - static struct ipt_netflow * --ipt_netflow_alloc(struct ipt_netflow_tuple *tuple) -+ipt_netflow_alloc(const struct ipt_netflow_tuple *tuple) - { - struct ipt_netflow *nf; - long count; - - nf = kmem_cache_alloc(ipt_netflow_cachep, GFP_ATOMIC); - if (!nf) { -- printk(KERN_ERR "Can't allocate netflow.\n"); -+ printk(KERN_ERR "ipt_NETFLOW: Can't allocate flow.\n"); - return NULL; - } - -@@ -945,13 +1192,15 @@ ipt_netflow_alloc(struct ipt_netflow_tuple *tuple) - - static void ipt_netflow_free(struct ipt_netflow *nf) - { -+ if (IS_DUMMY_FLOW(nf)) -+ return; - atomic_dec(&ipt_netflow_count); - kmem_cache_free(ipt_netflow_cachep, nf); - } - - static struct ipt_netflow * --init_netflow(struct ipt_netflow_tuple *tuple, -- struct sk_buff *skb, unsigned int hash) -+init_netflow(const struct ipt_netflow_tuple *tuple, -+ const struct sk_buff *skb, const unsigned int hash) - { - struct ipt_netflow *nf; - -@@ -959,93 +1208,774 @@ init_netflow(struct ipt_netflow_tuple *tuple, - if (!nf) - return NULL; - -+ nf->lock = &htable_locks[hash & LOCK_COUNT_MASK]; - hlist_add_head(&nf->hlist, &ipt_netflow_hash[hash]); -+ spin_lock(&hlist_lock); - list_add(&nf->list, &ipt_netflow_list); -+ spin_unlock(&hlist_lock); - - return nf; - } - - /* cook pdu, send, and clean */ - /* only called in scan worker path */ --static void netflow_export_pdu(void) -+static void netflow_export_pdu_v5(void) - { - struct timeval tv; - int pdusize; - -- if (!pdu.nr_records) -+ if (!pdu_data_records) - return; - - if (debug > 1) -- printk(KERN_INFO "netflow_export_pdu with %d records\n", pdu.nr_records); -- do_gettimeofday(&tv); -- -- pdu.version = htons(5); -- pdu.ts_uptime = htonl(jiffies_to_msecs(jiffies)); -- pdu.ts_usecs = htonl(tv.tv_sec); -- pdu.ts_unsecs = htonl(tv.tv_usec); -- //pdu.eng_type = 0; -- //pdu.eng_id = 0; -- //pdu.padding = 0; -+ printk(KERN_INFO "netflow_export_pdu_v5 with %d records\n", pdu_data_records); - -- pdusize = NETFLOW5_HEADER_SIZE + sizeof(struct netflow5_record) * pdu.nr_records; -- -- /* especially fix nr_records before export */ -- pdu.nr_records = htons(pdu.nr_records); -+ pdu.v5.version = htons(5); -+ pdu.v5.nr_records = htons(pdu_data_records); -+ pdu.v5.ts_uptime = htonl(jiffies_to_msecs(jiffies)); -+ do_gettimeofday(&tv); -+ pdu.v5.ts_usecs = htonl(tv.tv_sec); -+ pdu.v5.ts_unsecs = htonl(tv.tv_usec); -+ pdu.v5.seq = htonl(pdu_seq); -+ //pdu.v5.eng_type = 0; -+ pdu.v5.eng_id = engine_id; -+ //pdu.v5.padding = 0; - -- if (netflow_send_pdu(&pdu, pdusize) == 0) { -- /* not least one send succeded, account stat for dropped packets */ -- NETFLOW_STAT_ADD_ATOMIC(pkt_drop, pdu_packets); -- NETFLOW_STAT_ADD_ATOMIC(traf_drop, pdu_traf); -- } -+ pdusize = NETFLOW5_HEADER_SIZE + sizeof(struct netflow5_record) * pdu_data_records; - -- pdu.seq = htonl(ntohl(pdu.seq) + ntohs(pdu.nr_records)); -+ netflow_sendmsg(&pdu.v5, pdusize); - -- pdu.nr_records = 0; - pdu_packets = 0; -- pdu_traf = 0; -+ pdu_traf = 0; -+ -+ pdu_seq += pdu_data_records; -+ pdu_count++; -+ pdu_data_records = 0; - } - - /* only called in scan worker path */ --static void netflow_export_flow(struct ipt_netflow *nf) -+static void netflow_export_flow_v5(struct ipt_netflow *nf) - { - struct netflow5_record *rec; - -- if (debug > 2) -- printk(KERN_INFO "adding flow to export (%d)\n", pdu.nr_records); -+ if (unlikely(debug > 2)) -+ printk(KERN_INFO "adding flow to export (%d)\n", pdu_data_records); - - pdu_packets += nf->nr_packets; - pdu_traf += nf->nr_bytes; - pdu_ts_mod = jiffies; -- rec = &pdu.flow[pdu.nr_records++]; -+ rec = &pdu.v5.flow[pdu_data_records++]; - - /* make V5 flow record */ -- rec->s_addr = nf->tuple.s_addr; -- rec->d_addr = nf->tuple.d_addr; -- //rec->nexthop = 0; -+ rec->s_addr = nf->tuple.src.ip; -+ rec->d_addr = nf->tuple.dst.ip; -+ rec->nexthop = nf->nh.ip; - rec->i_ifc = htons(nf->tuple.i_ifc); - rec->o_ifc = htons(nf->o_ifc); - rec->nr_packets = htonl(nf->nr_packets); - rec->nr_octets = htonl(nf->nr_bytes); -- rec->ts_first = htonl(jiffies_to_msecs(nf->ts_first)); -- rec->ts_last = htonl(jiffies_to_msecs(nf->ts_last)); -+ rec->first_ms = htonl(jiffies_to_msecs(nf->ts_first)); -+ rec->last_ms = htonl(jiffies_to_msecs(nf->ts_last)); - rec->s_port = nf->tuple.s_port; - rec->d_port = nf->tuple.d_port; -- //rec->reserved = 0; -+ //rec->reserved = 0; /* pdu is always zeroized for v5 in netflow_switch_version */ - rec->tcp_flags = nf->tcp_flags; - rec->protocol = nf->tuple.protocol; - rec->tos = nf->tuple.tos; -- //rec->s_as = 0; -- //rec->d_as = 0; -+#ifdef CONFIG_NF_NAT_NEEDED -+ rec->s_as = nf->s_as; -+ rec->d_as = nf->d_as; -+#endif - rec->s_mask = nf->s_mask; - rec->d_mask = nf->d_mask; - //rec->padding = 0; - ipt_netflow_free(nf); - -- if (pdu.nr_records == NETFLOW5_RECORDS_MAX) -+ if (pdu_data_records == NETFLOW5_RECORDS_MAX) -+ netflow_export_pdu_v5(); -+} -+ -+/* pdu is initially blank, export current pdu, and prepare next for filling. */ -+static void netflow_export_pdu_v9(void) -+{ -+ struct timeval tv; -+ int pdusize; -+ -+ if (pdu_data_used <= pdu.v9.data) -+ return; -+ -+ if (debug > 1) -+ printk(KERN_INFO "netflow_export_pdu_v9 with %d records\n", -+ pdu_data_records + pdu_tpl_records); -+ -+ pdu.v9.version = htons(9); -+ pdu.v9.nr_records = htons(pdu_data_records + pdu_tpl_records); -+ pdu.v9.sys_uptime_ms = htonl(jiffies_to_msecs(jiffies)); -+ do_gettimeofday(&tv); -+ pdu.v9.export_time_s = htonl(tv.tv_sec); -+ pdu.v9.seq = htonl(pdu_seq); -+ pdu.v9.source_id = engine_id; -+ -+ pdusize = pdu_data_used - (unsigned char *)&pdu.v9; -+ -+ netflow_sendmsg(&pdu.v9, pdusize); -+ -+ pdu_packets = 0; -+ pdu_traf = 0; -+ -+ pdu_seq++; -+ pdu_count++; -+ pdu_data_records = pdu_tpl_records = 0; -+ pdu_data_used = pdu.v9.data; -+ pdu_flowset = NULL; -+} -+ -+static void netflow_export_pdu_ipfix(void) -+{ -+ struct timeval tv; -+ int pdusize; -+ -+ if (pdu_data_used <= pdu.ipfix.data) -+ return; -+ -+ if (debug > 1) -+ printk(KERN_INFO "netflow_export_pduX with %d records\n", -+ pdu_data_records); -+ -+ pdu.ipfix.version = htons(10); -+ do_gettimeofday(&tv); -+ pdu.ipfix.export_time_s = htonl(tv.tv_sec); -+ pdu.ipfix.seq = htonl(pdu_seq); -+ pdu.ipfix.odomain_id = engine_id; -+ pdusize = pdu_data_used - (unsigned char *)&pdu; -+ pdu.ipfix.length = htons(pdusize); -+ -+ netflow_sendmsg(&pdu.ipfix, pdusize); -+ -+ pdu_packets = 0; -+ pdu_traf = 0; -+ -+ pdu_seq += pdu_data_records; -+ pdu_count++; -+ pdu_data_records = pdu_tpl_records = 0; -+ pdu_data_used = pdu.ipfix.data; -+ pdu_flowset = NULL; -+} -+ -+static inline int pdu_have_space(const size_t size) -+{ -+ return ((pdu_data_used + size) <= pdu_high_wm); -+} -+ -+static inline unsigned char *pdu_grab_space(const size_t size) -+{ -+ unsigned char *ptr = pdu_data_used; -+ pdu_data_used += size; -+ return ptr; -+} -+ -+// allocate data space in pdu, or fail if pdu is reallocated. -+static inline unsigned char *pdu_alloc_fail(const size_t size) -+{ -+ if (!pdu_have_space(size)) { - netflow_export_pdu(); -+ return NULL; -+ } -+ return pdu_grab_space(size); -+} -+ -+/* doesn't fail, but can provide empty pdu. */ -+static unsigned char *pdu_alloc(const size_t size) -+{ -+ return pdu_alloc_fail(size) ?: pdu_grab_space(size); -+} -+ -+/* global table of sizes of template field types */ -+static u_int8_t tpl_element_sizes[] = { -+ [IN_BYTES] = 4, -+ [IN_PKTS] = 4, -+ [PROTOCOL] = 1, -+ [TOS] = 1, -+ [TCP_FLAGS] = 1, -+ [L4_SRC_PORT] = 2, -+ [IPV4_SRC_ADDR] = 4, -+ [SRC_MASK] = 1, -+ [INPUT_SNMP] = 2, -+ [L4_DST_PORT] = 2, -+ [IPV4_DST_ADDR] = 4, -+ [DST_MASK] = 1, -+ [OUTPUT_SNMP] = 2, -+ [IPV4_NEXT_HOP] = 4, -+ //[SRC_AS] = 2, -+ //[DST_AS] = 2, -+ //[BGP_IPV4_NEXT_HOP] = 4, -+ //[MUL_DST_PKTS] = 4, -+ //[MUL_DST_BYTES] = 4, -+ [LAST_SWITCHED] = 4, -+ [FIRST_SWITCHED]= 4, -+ [IPV6_SRC_ADDR] = 16, -+ [IPV6_DST_ADDR] = 16, -+ [IPV6_FLOW_LABEL] = 3, -+ [ICMP_TYPE] = 2, -+ [MUL_IGMP_TYPE] = 1, -+ //[TOTAL_BYTES_EXP] = 4, -+ //[TOTAL_PKTS_EXP] = 4, -+ //[TOTAL_FLOWS_EXP] = 4, -+ [IPV6_NEXT_HOP] = 16, -+ [IPV6_OPTION_HEADERS] = 2, -+ [commonPropertiesId] = 4, -+ [ipv4Options] = 4, -+ [tcpOptions] = 4, -+ [postNATSourceIPv4Address] = 4, -+ [postNATDestinationIPv4Address] = 4, -+ [postNAPTSourceTransportPort] = 2, -+ [postNAPTDestinationTransportPort] = 2, -+ [natEvent] = 1, -+ [postNATSourceIPv6Address] = 16, -+ [postNATDestinationIPv6Address] = 16, -+ [IPSecSPI] = 4, -+ [observationTimeMilliseconds] = 8, -+ [observationTimeMicroseconds] = 8, -+ [observationTimeNanoseconds] = 8, -+}; -+ -+#define TEMPLATES_HASH_BSIZE 8 -+#define TEMPLATES_HASH_SIZE (1<tpl_mask == tmask) -+ return tpl; -+ -+ tnum = 0; -+ if (tmask & BTPL_IP4) { -+ tlist[tnum++] = &template_ipv4; -+ if (tmask & BTPL_OPTIONS4) -+ tlist[tnum++] = &template_options4; -+ if (tmask & BTPL_MASK4) -+ tlist[tnum++] = &template_ipv4_mask; -+ } else if (tmask & BTPL_IP6) { -+ tlist[tnum++] = &template_ipv6; -+ if (tmask & BTPL_LABEL6) -+ tlist[tnum++] = &template_label6; -+ if (tmask & BTPL_OPTIONS6) -+ tlist[tnum++] = &template_options6; -+ } else if (tmask & BTPL_NAT4) -+ tlist[tnum++] = &template_nat4; -+ if (tmask & BTPL_PORTS) -+ tlist[tnum++] = &template_ports; -+ if (tmask & BTPL_BASE) -+ tlist[tnum++] = &template_base; -+ if (tmask & BTPL_TCPOPTIONS) -+ tlist[tnum++] = &template_tcpoptions; -+ if (tmask & BTPL_ICMP) -+ tlist[tnum++] = &template_icmp; -+ if (tmask & BTPL_IGMP) -+ tlist[tnum++] = &template_igmp; -+ if (tmask & BTPL_IPSEC) -+ tlist[tnum++] = &template_ipsec; -+ if (tmask & BTPL_MARK) -+ tlist[tnum++] = &template_mark; -+ -+ /* calc memory size */ -+ length = 0; -+ for (i = 0; i < tnum; i++) { -+ if (!tlist[i]->length) { -+ for (k = 0; tlist[i]->types[k]; k++); -+ tlist[i]->length = k; -+ } -+ length += tlist[i]->length; -+ } -+ /* elements are pairs + one termiantor */ -+ tpl = kmalloc(sizeof(struct data_template) + (length * 2 + 1) * sizeof(u_int16_t), GFP_KERNEL); -+ if (!tpl) { -+ printk(KERN_ERR "ipt_NETFLOW: unable to kmalloc template.\n"); -+ return NULL; -+ } -+ tpl->tpl_mask = tmask; -+ tpl->length = length; -+ tpl->tpl_size = sizeof(struct flowset_template); -+ tpl->rec_size = 0; -+ tpl->template_id_n = htons(template_ids++); -+ tpl->exported_cnt = 0; -+ tpl->exported_ts = 0; -+ -+ j = 0; -+ for (i = 0; i < tnum; i++) { -+ struct base_template *btpl = tlist[i]; -+ -+ for (k = 0; k < btpl->length; k++) { -+ int size; -+ int type = btpl->types[k]; -+ -+ tpl->fields[j++] = type; -+ size = tpl_element_sizes[type]; -+ tpl->fields[j++] = size; -+ tpl->rec_size += size; -+ } -+ tpl->tpl_size += btpl->length * TPL_FIELD_NSIZE; -+ } -+ tpl->fields[j++] = 0; -+ -+ hlist_add_head(&tpl->hlist, &templates_hash[hash]); -+ tpl_count++; -+ -+ return tpl; -+} -+ -+static void pdu_add_template(struct data_template *tpl) -+{ -+ int i; -+ unsigned char *ptr; -+ struct flowset_template *ntpl; -+ __be16 *sptr; -+ -+ ptr = pdu_alloc(tpl->tpl_size); -+ ntpl = (struct flowset_template *)ptr; -+ ntpl->flowset_id = protocol == 9? htons(FLOWSET_TEMPLATE) : htons(IPFIX_TEMPLATE); -+ ntpl->length = htons(tpl->tpl_size); -+ ntpl->template_id = tpl->template_id_n; -+ ntpl->field_count = htons(tpl->length); -+ ptr += sizeof(struct flowset_template); -+ sptr = (__be16 *)ptr; -+ for (i = 0; ; ) { -+ int type = tpl->fields[i++]; -+ if (!type) -+ break; -+ *sptr++ = htons(type); -+ *sptr++ = htons(tpl->fields[i++]); -+ } -+ -+ tpl->exported_cnt = pdu_count; -+ tpl->exported_ts = jiffies; -+ -+ pdu_flowset = NULL; -+ pdu_tpl_records++; -+} -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) -+static inline s64 portable_ktime_to_ms(const ktime_t kt) -+{ -+ struct timeval tv = ktime_to_timeval(kt); -+ return (s64) tv.tv_sec * MSEC_PER_SEC + tv.tv_usec / USEC_PER_MSEC; -+} -+#define ktime_to_ms portable_ktime_to_ms -+#endif -+ -+/* encode one field */ -+typedef struct in6_addr in6_t; -+static inline void add_ipv4_field(__u8 *ptr, const int type, const struct ipt_netflow *nf) -+{ -+ switch (type) { -+ case IN_BYTES: *(__be32 *)ptr = htonl(nf->nr_bytes); break; -+ case IN_PKTS: *(__be32 *)ptr = htonl(nf->nr_packets); break; -+ case FIRST_SWITCHED: *(__be32 *)ptr = htonl(jiffies_to_msecs(nf->ts_first)); break; -+ case LAST_SWITCHED: *(__be32 *)ptr = htonl(jiffies_to_msecs(nf->ts_last)); break; -+ case IPV4_SRC_ADDR: *(__be32 *)ptr = nf->tuple.src.ip; break; -+ case IPV4_DST_ADDR: *(__be32 *)ptr = nf->tuple.dst.ip; break; -+ case IPV4_NEXT_HOP: *(__be32 *)ptr = nf->nh.ip; break; -+ case L4_SRC_PORT: *(__be16 *)ptr = nf->tuple.s_port; break; -+ case L4_DST_PORT: *(__be16 *)ptr = nf->tuple.d_port; break; -+ case INPUT_SNMP: *(__be16 *)ptr = htons(nf->tuple.i_ifc); break; -+ case OUTPUT_SNMP: *(__be16 *)ptr = htons(nf->o_ifc); break; -+ case PROTOCOL: *ptr = nf->tuple.protocol; break; -+ case TCP_FLAGS: *ptr = nf->tcp_flags; break; -+ case TOS: *ptr = nf->tuple.tos; break; -+ case IPV6_SRC_ADDR: *(in6_t *)ptr = nf->tuple.src.in6; break; -+ case IPV6_DST_ADDR: *(in6_t *)ptr = nf->tuple.dst.in6; break; -+ case IPV6_NEXT_HOP: *(in6_t *)ptr = nf->nh.in6; break; -+ case IPV6_FLOW_LABEL: *ptr++ = nf->flow_label >> 16; -+ *(__be16 *)ptr = nf->flow_label; -+ break; -+ case tcpOptions: *(__be32 *)ptr = htonl(nf->tcpoptions); break; -+ case ipv4Options: *(__be32 *)ptr = htonl(nf->options); break; -+ case IPV6_OPTION_HEADERS: *(__be16 *)ptr = htons(nf->options); break; -+#ifdef CONFIG_NF_CONNTRACK_MARK -+ case commonPropertiesId: -+ *(__be32 *)ptr = htonl(nf->mark); break; -+#endif -+ case SRC_MASK: *ptr = nf->s_mask; break; -+ case DST_MASK: *ptr = nf->d_mask; break; -+ case ICMP_TYPE: *(__be16 *)ptr = nf->tuple.d_port; break; -+ case MUL_IGMP_TYPE: *ptr = nf->tuple.d_port; break; -+#ifdef CONFIG_NF_NAT_NEEDED -+ case postNATSourceIPv4Address: *(__be32 *)ptr = nf->nat->post.s_addr; break; -+ case postNATDestinationIPv4Address: *(__be32 *)ptr = nf->nat->post.d_addr; break; -+ case postNAPTSourceTransportPort: *(__be16 *)ptr = nf->nat->post.s_port; break; -+ case postNAPTDestinationTransportPort: *(__be16 *)ptr = nf->nat->post.d_port; break; -+ case natEvent: *ptr = nf->nat->nat_event; break; -+#endif -+ case IPSecSPI: *(__u32 *)ptr = (nf->tuple.s_port << 16) | nf->tuple.d_port; break; -+ case observationTimeMilliseconds: -+ *(__be64 *)ptr = cpu_to_be64(ktime_to_ms(nf->ts_obs)); break; -+ case observationTimeMicroseconds: -+ *(__be64 *)ptr = cpu_to_be64(ktime_to_us(nf->ts_obs)); break; -+ case observationTimeNanoseconds: -+ *(__be64 *)ptr = cpu_to_be64(ktime_to_ns(nf->ts_obs)); break; -+ default: -+ memset(ptr, 0, tpl_element_sizes[type]); -+ } -+} -+ -+#define PAD_SIZE 4 /* rfc prescribes flowsets to be padded */ -+ -+/* cache timeout_rate in jiffies */ -+static inline unsigned long timeout_rate_j(void) -+{ -+ static unsigned int t_rate = 0; -+ static unsigned long t_rate_j = 0; -+ -+ if (unlikely(timeout_rate != t_rate)) { -+ struct timeval tv = { .tv_sec = timeout_rate * 60, .tv_usec = 0 }; -+ -+ t_rate = timeout_rate; -+ t_rate_j = timeval_to_jiffies(&tv); -+ } -+ return t_rate_j; -+} -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) -+#define IPPROTO_UDPLITE 136 -+#endif -+ -+#ifndef time_is_before_jiffies -+#define time_is_before_jiffies(a) time_after(jiffies, a) -+#endif -+ -+static void netflow_export_flow_tpl(struct ipt_netflow *nf) -+{ -+ unsigned char *ptr; -+ int i; -+ struct data_template *tpl; -+ int tpl_mask = BTPL_BASE; -+ -+ if (unlikely(debug > 2)) -+ printk(KERN_INFO "adding flow to export (%d)\n", -+ pdu_data_records + pdu_tpl_records); -+ -+ if (likely(nf->tuple.l3proto == AF_INET)) { -+ tpl_mask |= BTPL_IP4; -+ if (unlikely(nf->options)) -+ tpl_mask |= BTPL_OPTIONS4; -+ } else { -+ tpl_mask |= BTPL_IP6; -+ if (unlikely(nf->options)) -+ tpl_mask |= BTPL_OPTIONS6; -+ if (unlikely(nf->flow_label)) -+ tpl_mask |= BTPL_LABEL6; -+ } -+ if (unlikely(nf->tcpoptions)) -+ tpl_mask |= BTPL_TCPOPTIONS; -+ if (unlikely(nf->s_mask || nf->d_mask)) -+ tpl_mask |= BTPL_MASK4; -+ if (likely(nf->tuple.protocol == IPPROTO_TCP || -+ nf->tuple.protocol == IPPROTO_UDP || -+ nf->tuple.protocol == IPPROTO_SCTP || -+ nf->tuple.protocol == IPPROTO_UDPLITE)) -+ tpl_mask |= BTPL_PORTS; -+ else if (nf->tuple.protocol == IPPROTO_ICMP) -+ tpl_mask |= BTPL_ICMP; -+ else if (nf->tuple.protocol == IPPROTO_IGMP) -+ tpl_mask |= BTPL_IGMP; -+#ifdef CONFIG_NF_CONNTRACK_MARK -+ if (nf->mark) -+ tpl_mask |= BTPL_MARK; -+#endif -+#ifdef CONFIG_NF_NAT_NEEDED -+ if (nf->nat) -+ tpl_mask = BTPL_NAT4; -+#endif -+ -+ tpl = get_template(tpl_mask); -+ if (unlikely(!tpl)) { -+ printk(KERN_INFO "ipt_NETFLOW: template allocation failed.\n"); -+ NETFLOW_STAT_INC(alloc_err); -+ NETFLOW_STAT_ADD_ATOMIC(pkt_drop, nf->nr_packets); -+ NETFLOW_STAT_ADD_ATOMIC(traf_drop, nf->nr_bytes); -+ ipt_netflow_free(nf); -+ return; -+ } -+ -+ if (unlikely(!pdu_flowset || -+ pdu_flowset->flowset_id != tpl->template_id_n || -+ !(ptr = pdu_alloc_fail(tpl->rec_size)))) { -+ -+ /* if there was previous data template we should pad it to 4 bytes */ -+ if (pdu_flowset) { -+ int padding = (PAD_SIZE - ntohs(pdu_flowset->length) % PAD_SIZE) % PAD_SIZE; -+ if (padding && (ptr = pdu_alloc_fail(padding))) { -+ pdu_flowset->length = htons(ntohs(pdu_flowset->length) + padding); -+ for (; padding; padding--) -+ *ptr++ = 0; -+ } -+ } -+ -+ if (!tpl->exported_ts || -+ pdu_count > (tpl->exported_cnt + refresh_rate) || -+ time_is_before_jiffies(tpl->exported_ts + timeout_rate_j())) { -+ pdu_add_template(tpl); -+ } -+ -+ ptr = pdu_alloc(sizeof(struct flowset_data) + tpl->rec_size); -+ pdu_flowset = (struct flowset_data *)ptr; -+ pdu_flowset->flowset_id = tpl->template_id_n; -+ pdu_flowset->length = htons(sizeof(struct flowset_data)); -+ ptr += sizeof(struct flowset_data); -+ } -+ -+ /* encode all fields */ -+ for (i = 0; ; ) { -+ int type = tpl->fields[i++]; -+ -+ if (!type) -+ break; -+ add_ipv4_field(ptr, type, nf); -+ ptr += tpl->fields[i++]; -+ } -+ -+ pdu_data_records++; -+ pdu_flowset->length = htons(ntohs(pdu_flowset->length) + tpl->rec_size); -+ -+ pdu_packets += nf->nr_packets; -+ pdu_traf += nf->nr_bytes; -+ -+ ipt_netflow_free(nf); -+ pdu_ts_mod = jiffies; -+} -+ -+static void netflow_switch_version(const int ver) -+{ -+ protocol = ver; -+ if (protocol == 5) { -+ memset(&pdu, 0, sizeof(pdu)); -+ netflow_export_flow = &netflow_export_flow_v5; -+ netflow_export_pdu = &netflow_export_pdu_v5; -+ } else if (protocol == 9) { -+ pdu_data_used = pdu.v9.data; -+ pdu_max_size = sizeof(pdu.v9); -+ pdu_high_wm = (unsigned char *)&pdu + pdu_max_size; -+ netflow_export_flow = &netflow_export_flow_tpl; -+ netflow_export_pdu = &netflow_export_pdu_v9; -+ } else { /* IPFIX */ -+ pdu_data_used = pdu.ipfix.data; -+ pdu_max_size = sizeof(pdu.ipfix); -+ pdu_high_wm = (unsigned char *)&pdu + pdu_max_size; -+ netflow_export_flow = &netflow_export_flow_tpl; -+ netflow_export_pdu = &netflow_export_pdu_ipfix; -+ } -+ if (protocol != 5) -+ free_templates(); -+ pdu_data_records = pdu_tpl_records = 0; -+ pdu_flowset = NULL; -+ printk(KERN_INFO "ipt_NETFLOW protocol version %d (%s) enabled.\n", -+ protocol, protocol == 10? "IPFIX" : "NetFlow"); -+} -+ -+#ifdef CONFIG_NF_NAT_NEEDED -+static void export_nat_event(struct nat_event *nel) -+{ -+ static struct ipt_netflow nf = { { NULL } }; -+ -+ nf.tuple.l3proto = AF_INET; -+ nf.tuple.protocol = nel->protocol; -+ nf.nat = nel; /* this is also flag of dummy flow */ -+ nf.tcp_flags = (nel->nat_event == NAT_DESTROY)? TCP_FIN_RST : TCP_SYN_ACK; -+ if (protocol >= 9) { -+ nf.ts_obs = nel->ts_ktime; -+ nf.tuple.src.ip = nel->pre.s_addr; -+ nf.tuple.dst.ip = nel->pre.d_addr; -+ nf.tuple.s_port = nel->pre.s_port; -+ nf.tuple.d_port = nel->pre.d_port; -+ netflow_export_flow(&nf); -+ } else { /* v5 */ -+ /* The weird v5 packet(s). -+ * src and dst will be same as in data flow from the FORWARD chain -+ * where src is pre-nat src ip and dst is post-nat dst ip. -+ * What we lacking here is external src ip for SNAT, or -+ * pre-nat dst ip for DNAT. We will put this into Nexthop field -+ * with port into src/dst AS field. tcp_flags will distinguish it's -+ * start or stop event. Two flows in case of full nat. */ -+ nf.tuple.src.ip = nel->pre.s_addr; -+ nf.tuple.s_port = nel->pre.s_port; -+ nf.tuple.dst.ip = nel->post.d_addr; -+ nf.tuple.d_port = nel->post.d_port; -+ -+ nf.ts_first = nel->ts_jiffies; -+ nf.ts_last = nel->ts_jiffies; -+ if (nel->pre.s_addr != nel->post.s_addr || -+ nel->pre.s_port != nel->post.s_port) { -+ nf.nh.ip = nel->post.s_addr; -+ nf.s_as = nel->post.s_port; -+ nf.d_as = 0; -+ netflow_export_flow(&nf); -+ } -+ if (nel->pre.d_addr != nel->post.d_addr || -+ nel->pre.d_port != nel->post.d_port) { -+ nf.nh.ip = nel->pre.d_addr; -+ nf.s_as = 0; -+ nf.d_as = nel->pre.d_port; -+ netflow_export_flow(&nf); -+ } -+ } -+ kfree(nel); - } -+#endif /* CONFIG_NF_NAT_NEEDED */ - --static inline int active_needs_export(struct ipt_netflow *nf, long a_timeout) -+static inline int active_needs_export(const struct ipt_netflow *nf, const long a_timeout) - { - /* active too long, finishing, or having too much bytes */ - return ((jiffies - nf->ts_first) > a_timeout) || -@@ -1057,42 +1987,77 @@ static inline int active_needs_export(struct ipt_netflow *nf, long a_timeout) - - /* could be called with zero to flush cache and pdu */ - /* this function is guaranteed to be called non-concurrently */ --static void netflow_scan_and_export(int flush) -+/* return -1 is trylockfailed, 0 if nothin gexported, >=1 if exported something */ -+static int netflow_scan_and_export(const int flush) - { - long i_timeout = inactive_timeout * HZ; - long a_timeout = active_timeout * HZ; -+ int trylock_failed = 0; -+ int pdu_c = pdu_count; - - if (flush) - i_timeout = 0; - -- spin_lock_bh(&ipt_netflow_lock); -- while (!list_empty(&ipt_netflow_list)) { -+ local_bh_disable(); -+ spin_lock(&hlist_lock); -+ /* This is different order of locking than elsewhere, -+ * so we trylock&break to avoid deadlock. */ -+ -+ while (likely(!list_empty(&ipt_netflow_list))) { - struct ipt_netflow *nf; -- -+ -+ /* Last entry, which is usually oldest. */ - nf = list_entry(ipt_netflow_list.prev, struct ipt_netflow, list); -+ if (!spin_trylock(nf->lock)) { -+ trylock_failed = 1; -+ break; -+ } - /* Note: i_timeout checked with >= to allow specifying zero timeout - * to purge all flows on module unload */ - if (((jiffies - nf->ts_last) >= i_timeout) || - active_needs_export(nf, a_timeout)) { - hlist_del(&nf->hlist); -+ spin_unlock(nf->lock); -+ - list_del(&nf->list); -+ spin_unlock(&hlist_lock); -+ local_bh_enable(); -+ - NETFLOW_STAT_ADD(pkt_out, nf->nr_packets); - NETFLOW_STAT_ADD(traf_out, nf->nr_bytes); -- spin_unlock_bh(&ipt_netflow_lock); - netflow_export_flow(nf); -- spin_lock_bh(&ipt_netflow_lock); -+ -+ local_bh_disable(); -+ spin_lock(&hlist_lock); - } else { -+ spin_unlock(nf->lock); - /* all flows which need to be exported is always at the tail - * so if no more exportable flows we can break */ - break; - } - } -- spin_unlock_bh(&ipt_netflow_lock); -- -+ spin_unlock(&hlist_lock); -+ local_bh_enable(); -+ -+#ifdef CONFIG_NF_NAT_NEEDED -+ spin_lock_bh(&nat_lock); -+ while (!list_empty(&nat_list)) { -+ struct nat_event *nel; -+ -+ nel = list_entry(nat_list.next, struct nat_event, list); -+ list_del(&nel->list); -+ spin_unlock_bh(&nat_lock); -+ export_nat_event(nel); -+ spin_lock_bh(&nat_lock); -+ } -+ spin_unlock_bh(&nat_lock); -+#endif - /* flush flows stored in pdu if there no new flows for too long */ - /* Note: using >= to allow flow purge on zero timeout */ - if ((jiffies - pdu_ts_mod) >= i_timeout) - netflow_export_pdu(); -+ -+ return trylock_failed? -1 : pdu_count - pdu_c; - } - - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) -@@ -1101,8 +2066,10 @@ static void netflow_work_fn(void *dummy) - static void netflow_work_fn(struct work_struct *dummy) - #endif - { -- netflow_scan_and_export(0); -- __start_scan_worker(); -+ int status; -+ -+ status = netflow_scan_and_export(DONT_FLUSH); -+ _schedule_scan_worker(status); - } - - #define RATESHIFT 2 -@@ -1154,7 +2121,7 @@ static void rate_timer_calc(unsigned long dummy) - old_found = found; - old_notfound = notfound; - /* if there is no access to hash keep rate steady */ -- metric = (dfnd + dnfnd)? 10 * (dsrch + dfnd + dnfnd) / (dfnd + dnfnd) : metric; -+ metric = (dfnd + dnfnd)? 100 * (dsrch + dfnd + dnfnd) / (dfnd + dnfnd) : metric; - CALC_RATE(min15_metric, (unsigned long long)metric, 15); - CALC_RATE(min5_metric, (unsigned long long)metric, 5); - CALC_RATE(min_metric, (unsigned long long)metric, 1); -@@ -1162,6 +2129,262 @@ static void rate_timer_calc(unsigned long dummy) - mod_timer(&rate_timer, jiffies + (HZ * SAMPLERATE)); - } - -+#ifdef CONFIG_NF_NAT_NEEDED -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) -+static struct nf_ct_event_notifier *saved_event_cb __read_mostly = NULL; -+static int netflow_conntrack_event(const unsigned int events, struct nf_ct_event *item) -+#else -+static int netflow_conntrack_event(struct notifier_block *this, unsigned long events, void *ptr) -+#endif -+{ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) -+ struct nf_conn *ct = item->ct; -+#else -+ struct nf_conn *ct = (struct nf_conn *)ptr; -+#endif -+ struct nat_event *nel; -+ const struct nf_conntrack_tuple *t; -+ int ret = NOTIFY_DONE; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) -+ struct nf_ct_event_notifier *notifier; -+ -+ /* Call netlink first. */ -+ notifier = rcu_dereference(saved_event_cb); -+ if (likely(notifier)) -+ ret = notifier->fcn(events, item); -+#endif -+ if (unlikely(!natevents)) -+ return ret; -+ -+ if (!(events & ((1 << IPCT_NEW) | (1 << IPCT_RELATED) | (1 << IPCT_DESTROY)))) -+ return ret; -+ -+ if (!(ct->status & IPS_NAT_MASK)) -+ return ret; -+ -+ if (unlikely(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num != AF_INET || -+ ct->tuplehash[IP_CT_DIR_REPLY].tuple.src.l3num != AF_INET)) { -+ /* Well, there is no linux NAT for IPv6 anyway. */ -+ return ret; -+ } -+ -+ if (!(nel = kmalloc(sizeof(struct nat_event), GFP_ATOMIC))) { -+ printk(KERN_ERR "ipt_NETFLOW: can't kmalloc nat event\n"); -+ return ret; -+ } -+ memset(nel, 0, sizeof(struct nat_event)); -+ nel->ts_ktime = ktime_get_real(); -+ nel->ts_jiffies = jiffies; -+ t = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; -+ nel->protocol = t->dst.protonum; -+ nel->pre.s_addr = t->src.u3.ip; -+ nel->pre.d_addr = t->dst.u3.ip; -+ nel->pre.s_port = t->src.u.all; -+ nel->pre.d_port = t->dst.u.all; -+ t = &ct->tuplehash[IP_CT_DIR_REPLY].tuple; -+ /* reply is reversed */ -+ nel->post.s_addr = t->dst.u3.ip; -+ nel->post.d_addr = t->src.u3.ip; -+ nel->post.s_port = t->dst.u.all; -+ nel->post.d_port = t->src.u.all; -+ if (events & (1 << IPCT_DESTROY)) { -+ nel->nat_event = NAT_DESTROY; -+ nat_events_stop++; -+ } else { -+ nel->nat_event = NAT_CREATE; -+ nat_events_start++; -+ } -+ -+ spin_lock_bh(&nat_lock); -+ list_add_tail(&nel->list, &nat_list); -+ spin_unlock_bh(&nat_lock); -+ -+ return ret; -+} -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31) -+static struct notifier_block ctnl_notifier = { -+ .notifier_call = netflow_conntrack_event -+}; -+#else -+static struct nf_ct_event_notifier ctnl_notifier = { -+ .fcn = netflow_conntrack_event -+}; -+#endif /* since 2.6.31 */ -+#endif /* CONFIG_NF_NAT_NEEDED */ -+ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) && \ -+ LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) -+static bool -+#else -+static int -+#endif -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) -+netflow_target_check(const char *tablename, const void *entry, const struct xt_target *target, -+ void *targinfo, -+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18) -+ unsigned int targinfosize, -+#endif -+ unsigned int hook_mask) -+{ -+#else -+netflow_target_check(const struct xt_tgchk_param *par) -+{ -+ const char *tablename = par->table; -+ const struct xt_target *target = par->target; -+#endif -+ if (strcmp("nat", tablename) == 0) { -+ /* In the nat table we only see single packet per flow, which is useless. */ -+ printk(KERN_ERR "%s target: is not valid in %s table\n", target->name, tablename); -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) -+#define CHECK_FAIL 0 -+#define CHECK_OK 1 -+#else -+#define CHECK_FAIL -EINVAL -+#define CHECK_OK 0 -+#endif -+ return CHECK_FAIL; -+ } -+ if (target->family == AF_INET6 && protocol == 5) { -+ printk(KERN_ERR "ip6tables NETFLOW target is meaningful for protocol 9 or 10 only.\n"); -+ return CHECK_FAIL; -+ } -+ return CHECK_OK; -+} -+ -+#define SetXBit(x) (0x8000 >> (x)) /* Proper bit for htons later. */ -+#ifndef IPPROTO_MH -+#define IPPROTO_MH 135 -+#endif -+static inline __u16 observed_hdrs(const __u8 currenthdr) -+{ -+ switch (currenthdr) { -+ case IPPROTO_TCP: -+ case IPPROTO_UDP: -+ /* For speed, in case switch is not optimized. */ -+ return 0; -+ case IPPROTO_DSTOPTS: return SetXBit(0); -+ case IPPROTO_HOPOPTS: return SetXBit(1); -+ case IPPROTO_ROUTING: return SetXBit(5); -+ case IPPROTO_MH: return SetXBit(12); -+ case IPPROTO_ESP: return SetXBit(13); -+ case IPPROTO_AH: return SetXBit(14); -+ case IPPROTO_COMP: return SetXBit(15); -+ case IPPROTO_FRAGMENT: /* Handled elsewhere. */ -+ /* Next is known headers. */ -+ case IPPROTO_ICMPV6: -+ case IPPROTO_UDPLITE: -+ case IPPROTO_IPIP: -+ case IPPROTO_PIM: -+ case IPPROTO_GRE: -+ case IPPROTO_SCTP: -+#ifdef IPPROTO_L2TP -+ case IPPROTO_L2TP: -+#endif -+ case IPPROTO_DCCP: -+ return 0; -+ } -+ return SetXBit(3); /* Unknown header. */ -+} -+ -+/* http://www.iana.org/assignments/ip-parameters/ip-parameters.xhtml */ -+static const __u8 ip4_opt_table[] = { -+ [7] = 0, /* RR */ /* parsed manually becasue of 0 */ -+ [134] = 1, /* CIPSO */ -+ [133] = 2, /* E-SEC */ -+ [68] = 3, /* TS */ -+ [131] = 4, /* LSR */ -+ [130] = 5, /* SEC */ -+ [1] = 6, /* NOP */ -+ [0] = 7, /* EOOL */ -+ [15] = 8, /* ENCODE */ -+ [142] = 9, /* VISA */ -+ [205] = 10, /* FINN */ -+ [12] = 11, /* MTUR */ -+ [11] = 12, /* MTUP */ -+ [10] = 13, /* ZSU */ -+ [137] = 14, /* SSR */ -+ [136] = 15, /* SID */ -+ [151] = 16, /* DPS */ -+ [150] = 17, /* NSAPA */ -+ [149] = 18, /* SDB */ -+ [147] = 19, /* ADDEXT */ -+ [148] = 20, /* RTRALT */ -+ [82] = 21, /* TR */ -+ [145] = 22, /* EIP */ -+ [144] = 23, /* IMITD */ -+ [30] = 25, /* EXP */ -+ [94] = 25, /* EXP */ -+ [158] = 25, /* EXP */ -+ [222] = 25, /* EXP */ -+ [25] = 30, /* QS */ -+ [152] = 31, /* UMP */ -+}; -+/* Parse IPv4 Options array int ipv4Options IPFIX value. */ -+static inline __u32 ip4_options(const u_int8_t *p, const unsigned int optsize) -+{ -+ __u32 ret = 0; -+ unsigned int i; -+ -+ for (i = 0; likely(i < optsize); ) { -+ u_int8_t op = p[i++]; -+ -+ if (op == 7) /* RR: bit 0 */ -+ ret |= 1; -+ else if (likely(op < ARRAY_SIZE(ip4_opt_table))) { -+ /* Btw, IANA doc is messed up in a crazy way: -+ * http://www.ietf.org/mail-archive/web/ipfix/current/msg06008.html (2011) -+ * I decided to follow IANA _text_ description from -+ * http://www.iana.org/assignments/ipfix/ipfix.xhtml (2013-09-18) -+ * -+ * Set proper bit for htonl later. */ -+ if (ip4_opt_table[op]) -+ ret |= 1 << (32 - ip4_opt_table[op]); -+ } -+ if (likely(i >= optsize || op == 0)) -+ break; -+ else if (unlikely(op == 1)) -+ continue; -+ else if (unlikely(p[i] < 2)) -+ break; -+ else -+ i += p[i] - 1; -+ } -+ return ret; -+} -+ -+#define TCPHDR_MAXSIZE (4 * 15) -+/* List of options: http://www.iana.org/assignments/tcp-parameters/tcp-parameters.xhtml */ -+static inline __u32 tcp_options(const struct sk_buff *skb, const unsigned int ptr, const struct tcphdr *th) -+{ -+ const unsigned int optsize = th->doff * 4 - sizeof(struct tcphdr); -+ __u8 _opt[TCPHDR_MAXSIZE]; -+ const u_int8_t *p; -+ __u32 ret; -+ unsigned int i; -+ -+ p = skb_header_pointer(skb, ptr + sizeof(struct tcphdr), optsize, _opt); -+ if (unlikely(!p)) -+ return 0; -+ ret = 0; -+ for (i = 0; likely(i < optsize); ) { -+ u_int8_t opt = p[i++]; -+ -+ if (likely(opt < 32)) { -+ /* IANA doc is messed up, see above. */ -+ ret |= 1 << (32 - opt); -+ } -+ if (likely(i >= optsize || opt == 0)) -+ break; -+ else if (unlikely(opt == 1)) -+ continue; -+ else if (unlikely(p[i] < 2)) /* "silly options" */ -+ break; -+ else -+ i += p[i] - 1; -+ } -+ return ret; -+} - /* packet receiver */ - static unsigned int netflow_target( - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) -@@ -1192,27 +2415,38 @@ static unsigned int netflow_target( - ) - { - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) -- struct sk_buff *skb = *pskb; -+ const struct sk_buff *skb = *pskb; -+#endif -+ union { -+ struct iphdr ip; -+ struct ipv6hdr ip6; -+ } _iph, *iph; -+ unsigned int hash; -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) -+ const int family = target->family; -+#else -+ const int family = par->family; - #endif -- struct iphdr _iph, *iph; - struct ipt_netflow_tuple tuple; - struct ipt_netflow *nf; - __u8 tcp_flags; - struct netflow_aggr_n *aggr_n; - struct netflow_aggr_p *aggr_p; - __u8 s_mask, d_mask; -- unsigned int hash; -- -- iph = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); //iph = ip_hdr(skb); -- -- if (iph == NULL) { -+ unsigned int ptr; -+ int fragment; -+ size_t pkt_len; -+ int options = 0; -+ int tcpoptions = 0; -+ -+ iph = skb_header_pointer(skb, 0, (likely(family == AF_INET))? sizeof(_iph.ip) : sizeof(_iph.ip6), &iph); -+ if (unlikely(iph == NULL)) { - NETFLOW_STAT_INC(truncated); - NETFLOW_STAT_INC(pkt_drop); - return IPT_CONTINUE; - } - -- tuple.s_addr = iph->saddr; -- tuple.d_addr = iph->daddr; -+ tuple.l3proto = family; - tuple.s_port = 0; - tuple.d_port = 0; - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) -@@ -1220,30 +2454,118 @@ static unsigned int netflow_target( - #else - tuple.i_ifc = par->in? par->in->ifindex : -1; - #endif -- tuple.protocol = iph->protocol; -- tuple.tos = iph->tos; - tcp_flags = 0; /* Cisco sometimes have TCP ACK for non TCP packets, don't get it */ - s_mask = 0; - d_mask = 0; - -- if (iph->frag_off & htons(IP_OFFSET)) -+ if (likely(family == AF_INET)) { -+ tuple.src = (union nf_inet_addr){ .ip = iph->ip.saddr }; -+ tuple.dst = (union nf_inet_addr){ .ip = iph->ip.daddr }; -+ tuple.tos = iph->ip.tos; -+ tuple.protocol = iph->ip.protocol; -+ fragment = unlikely(iph->ip.frag_off & htons(IP_OFFSET)); -+ ptr = iph->ip.ihl * 4; -+ pkt_len = ntohs(iph->ip.tot_len); -+ -+#define IPHDR_MAXSIZE (4 * 15) -+ if (unlikely(iph->ip.ihl * 4 > sizeof(struct iphdr))) { -+ u_int8_t _opt[IPHDR_MAXSIZE - sizeof(struct iphdr)]; -+ const u_int8_t *op; -+ unsigned int optsize = iph->ip.ihl * 4 - sizeof(struct iphdr); -+ -+ op = skb_header_pointer(skb, sizeof(struct iphdr), optsize, _opt); -+ if (likely(op)) -+ options = ip4_options(op, optsize); -+ } -+ } else { -+ __u8 currenthdr; -+ -+ tuple.src.in6 = iph->ip6.saddr; -+ tuple.dst.in6 = iph->ip6.daddr; -+ tuple.tos = iph->ip6.priority; -+ fragment = 0; -+ ptr = sizeof(struct ipv6hdr); -+ pkt_len = ntohs(iph->ip6.payload_len) + sizeof(struct ipv6hdr); -+ -+ currenthdr = iph->ip6.nexthdr; -+ while (currenthdr != NEXTHDR_NONE && ipv6_ext_hdr(currenthdr)) { -+ struct ipv6_opt_hdr _hdr; -+ const struct ipv6_opt_hdr *hp; -+ unsigned int hdrlen = 0; -+ -+ options |= observed_hdrs(currenthdr); -+ hp = skb_header_pointer(skb, ptr, sizeof(_hdr), &_hdr); -+ if (hp == NULL) { -+ /* We have src/dst, so must account something. */ -+ tuple.protocol = currenthdr; -+ fragment = 3; -+ goto do_protocols; -+ } -+ -+ switch (currenthdr) { -+ case IPPROTO_FRAGMENT: { -+ struct frag_hdr _fhdr; -+ const struct frag_hdr *fh; -+ -+ fh = skb_header_pointer(skb, ptr, sizeof(_fhdr), -+ &_fhdr); -+ if (fh == NULL) { -+ tuple.protocol = currenthdr; -+ fragment = 2; -+ goto do_protocols; -+ } -+ fragment = 1; -+#define FRA0 SetXBit(4) /* Fragment header - first fragment */ -+#define FRA1 SetXBit(6) /* Fragmentation header - not first fragment */ -+ options |= (ntohs(fh->frag_off) & 0xFFF8)? FRA1 : FRA0; -+ hdrlen = 8; -+ break; -+ } -+ case IPPROTO_AH: { -+ struct ip_auth_hdr _hdr, *hp; -+ -+ if (likely(hp = skb_header_pointer(skb, ptr, 8, &_hdr))) { -+ tuple.s_port = hp->spi >> 16; -+ tuple.d_port = hp->spi; -+ } -+ hdrlen = (hp->hdrlen + 2) << 2; -+ break; -+ } -+ default: -+ hdrlen = ipv6_optlen(hp); -+ } -+ currenthdr = hp->nexthdr; -+ ptr += hdrlen; -+ } -+ tuple.protocol = currenthdr; -+ options |= observed_hdrs(currenthdr); -+ } -+ -+do_protocols: -+ if (fragment) { -+ /* if conntrack is enabled it should defrag on pre-routing and local-out */ - NETFLOW_STAT_INC(frags); -- else { -+ } else { - switch (tuple.protocol) { - case IPPROTO_TCP: { - struct tcphdr _hdr, *hp; - -- if ((hp = skb_header_pointer(skb, iph->ihl * 4, 14, &_hdr))) { -+ if (likely(hp = skb_header_pointer(skb, ptr, 14, &_hdr))) { - tuple.s_port = hp->source; - tuple.d_port = hp->dest; - tcp_flags = (u_int8_t)(ntohl(tcp_flag_word(hp)) >> 16); -+ -+ if (unlikely(hp->doff * 4 > sizeof(struct tcphdr))) -+ tcpoptions = tcp_options(skb, ptr, hp); - } - break; - } -- case IPPROTO_UDP: { -+ case IPPROTO_UDP: -+ case IPPROTO_UDPLITE: -+ case IPPROTO_SCTP: { - struct udphdr _hdr, *hp; - -- if ((hp = skb_header_pointer(skb, iph->ihl * 4, 4, &_hdr))) { -+ if (likely(hp = skb_header_pointer(skb, ptr, 4, &_hdr))) { - tuple.s_port = hp->source; - tuple.d_port = hp->dest; - } -@@ -1252,72 +2574,111 @@ static unsigned int netflow_target( - case IPPROTO_ICMP: { - struct icmphdr _hdr, *hp; - -- if ((hp = skb_header_pointer(skb, iph->ihl * 4, 2, &_hdr))) -- tuple.d_port = (hp->type << 8) | hp->code; -+ if (likely(family == AF_INET && -+ (hp = skb_header_pointer(skb, ptr, 2, &_hdr)))) -+ tuple.d_port = htons((hp->type << 8) | hp->code); - break; - } -+ case IPPROTO_ICMPV6: { -+ struct icmp6hdr _icmp6h, *ic; -+ -+ if (likely(family == AF_INET6 && -+ (ic = skb_header_pointer(skb, ptr, 2, &_icmp6h)))) -+ tuple.d_port = htons((ic->icmp6_type << 8) | ic->icmp6_code); -+ break; -+ } - case IPPROTO_IGMP: { -- struct igmphdr *_hdr, *hp; -+ struct igmphdr _hdr, *hp; - -- if ((hp = skb_header_pointer(skb, iph->ihl * 4, 1, &_hdr))) -+ if (likely(hp = skb_header_pointer(skb, ptr, 1, &_hdr))) - tuple.d_port = hp->type; - } - break; -+ case IPPROTO_AH: { /* IPSEC */ -+ struct ip_auth_hdr _hdr, *hp; -+ -+ if (likely(family == AF_INET && /* For IPv6 it's parsed above. */ -+ (hp = skb_header_pointer(skb, ptr, 8, &_hdr)))) { -+ tuple.s_port = hp->spi >> 16; -+ tuple.d_port = hp->spi; -+ } -+ break; -+ } -+ case IPPROTO_ESP: { -+ struct ip_esp_hdr _hdr, *hp; -+ -+ if (likely(hp = skb_header_pointer(skb, ptr, 4, &_hdr))) -+ tuple.s_port = hp->spi >> 16; -+ tuple.d_port = hp->spi; -+ } -+ break; - } - } /* not fragmented */ - - /* aggregate networks */ - read_lock_bh(&aggr_lock); -- list_for_each_entry(aggr_n, &aggr_n_list, list) -- if ((ntohl(tuple.s_addr) & aggr_n->mask) == aggr_n->addr) { -- tuple.s_addr &= htonl(aggr_n->aggr_mask); -- s_mask = aggr_n->prefix; -- break; -- } -- list_for_each_entry(aggr_n, &aggr_n_list, list) -- if ((ntohl(tuple.d_addr) & aggr_n->mask) == aggr_n->addr) { -- tuple.d_addr &= htonl(aggr_n->aggr_mask); -- d_mask = aggr_n->prefix; -- break; -- } -+ if (family == AF_INET) { -+ list_for_each_entry(aggr_n, &aggr_n_list, list) -+ if (unlikely((ntohl(tuple.src.ip) & aggr_n->mask) == aggr_n->addr)) { -+ tuple.src.ip &= htonl(aggr_n->aggr_mask); -+ s_mask = aggr_n->prefix; -+ atomic_inc(&aggr_n->usage); -+ break; -+ } -+ list_for_each_entry(aggr_n, &aggr_n_list, list) -+ if (unlikely((ntohl(tuple.dst.ip) & aggr_n->mask) == aggr_n->addr)) { -+ tuple.dst.ip &= htonl(aggr_n->aggr_mask); -+ d_mask = aggr_n->prefix; -+ atomic_inc(&aggr_n->usage); -+ break; -+ } -+ } - -- /* aggregate ports */ -- list_for_each_entry(aggr_p, &aggr_p_list, list) -- if (ntohs(tuple.s_port) >= aggr_p->port1 && -- ntohs(tuple.s_port) <= aggr_p->port2) { -- tuple.s_port = htons(aggr_p->aggr_port); -- break; -- } -+ if (tuple.protocol == IPPROTO_TCP || -+ tuple.protocol == IPPROTO_UDP || -+ tuple.protocol == IPPROTO_SCTP || -+ tuple.protocol == IPPROTO_UDPLITE) { -+ /* aggregate ports */ -+ list_for_each_entry(aggr_p, &aggr_p_list, list) -+ if (unlikely(ntohs(tuple.s_port) >= aggr_p->port1 && -+ ntohs(tuple.s_port) <= aggr_p->port2)) { -+ tuple.s_port = htons(aggr_p->aggr_port); -+ atomic_inc(&aggr_p->usage); -+ break; -+ } - -- list_for_each_entry(aggr_p, &aggr_p_list, list) -- if (ntohs(tuple.d_port) >= aggr_p->port1 && -- ntohs(tuple.d_port) <= aggr_p->port2) { -- tuple.d_port = htons(aggr_p->aggr_port); -- break; -- } -+ list_for_each_entry(aggr_p, &aggr_p_list, list) -+ if (unlikely(ntohs(tuple.d_port) >= aggr_p->port1 && -+ ntohs(tuple.d_port) <= aggr_p->port2)) { -+ tuple.d_port = htons(aggr_p->aggr_port); -+ atomic_inc(&aggr_p->usage); -+ break; -+ } -+ } - read_unlock_bh(&aggr_lock); - - hash = hash_netflow(&tuple); -- spin_lock_bh(&ipt_netflow_lock); -+ read_lock_bh(&htable_rwlock); -+ spin_lock(&htable_locks[hash & LOCK_COUNT_MASK]); - /* record */ - nf = ipt_netflow_find(&tuple, hash); -- if (!nf) { -- if (maxflows > 0 && atomic_read(&ipt_netflow_count) >= maxflows) { -+ if (unlikely(!nf)) { -+ struct rtable *rt; -+ -+ if (unlikely(maxflows > 0 && atomic_read(&ipt_netflow_count) >= maxflows)) { - /* This is DOS attack prevention */ - NETFLOW_STAT_INC(maxflows_err); - NETFLOW_STAT_INC(pkt_drop); -- NETFLOW_STAT_ADD(traf_drop, ntohs(iph->tot_len)); -- spin_unlock_bh(&ipt_netflow_lock); -- return IPT_CONTINUE; -+ NETFLOW_STAT_ADD(traf_drop, pkt_len); -+ goto unlock_return; - } - - nf = init_netflow(&tuple, skb, hash); -- if (!nf || IS_ERR(nf)) { -+ if (unlikely(!nf || IS_ERR(nf))) { - NETFLOW_STAT_INC(alloc_err); - NETFLOW_STAT_INC(pkt_drop); -- NETFLOW_STAT_ADD(traf_drop, ntohs(iph->tot_len)); -- spin_unlock_bh(&ipt_netflow_lock); -- return IPT_CONTINUE; -+ NETFLOW_STAT_ADD(traf_drop, pkt_len); -+ goto unlock_return; - } - - nf->ts_first = jiffies; -@@ -1330,31 +2691,68 @@ static unsigned int netflow_target( - nf->s_mask = s_mask; - nf->d_mask = d_mask; - -- if (debug > 2) -- printk(KERN_INFO "ipt_netflow: new (%u) %hd:%hd SRC=%u.%u.%u.%u:%u DST=%u.%u.%u.%u:%u\n", -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) -+ rt = (struct rtable *)skb->dst; -+#else /* since 2.6.26 */ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31) -+ rt = skb->rtable; -+#else /* since 2.6.31 */ -+ rt = skb_rtable(skb); -+#endif -+#endif -+ if (likely(family == AF_INET)) { -+ if (rt) -+ nf->nh.ip = rt->rt_gateway; -+ } else { -+ if (rt) -+ nf->nh.in6 = ((struct rt6_info *)rt)->rt6i_gateway; -+ nf->flow_label = (iph->ip6.flow_lbl[0] << 16) | -+ (iph->ip6.flow_lbl[1] << 8) | (iph->ip6.flow_lbl[2]); -+ } -+#if 0 -+ if (unlikely(debug > 2)) -+ printk(KERN_INFO "ipt_NETFLOW: new (%u) %hd:%hd SRC=%u.%u.%u.%u:%u DST=%u.%u.%u.%u:%u\n", - atomic_read(&ipt_netflow_count), - tuple.i_ifc, nf->o_ifc, - NIPQUAD(tuple.s_addr), ntohs(tuple.s_port), - NIPQUAD(tuple.d_addr), ntohs(tuple.d_port)); -+#endif - } else { - /* ipt_netflow_list is sorted by access time: - * most recently accessed flows are at head, old flows remain at tail - * this function bubble up flow to the head */ -+ spin_lock(&hlist_lock); - list_move(&nf->list, &ipt_netflow_list); -+ spin_unlock(&hlist_lock); - } - -+#ifdef CONFIG_NF_CONNTRACK_MARK -+ { -+ struct nf_conn *ct; -+ enum ip_conntrack_info ctinfo; -+ ct = nf_ct_get(skb, &ctinfo); -+ if (ct) -+ nf->mark = ct->mark; -+ } -+#endif -+ - nf->nr_packets++; -- nf->nr_bytes += ntohs(iph->tot_len); -+ nf->nr_bytes += pkt_len; - nf->ts_last = jiffies; - nf->tcp_flags |= tcp_flags; -+ nf->options |= options; -+ if (tuple.protocol == IPPROTO_TCP) -+ nf->tcpoptions |= tcpoptions; - - NETFLOW_STAT_INC(pkt_total); -- NETFLOW_STAT_ADD(traf_total, ntohs(iph->tot_len)); -+ NETFLOW_STAT_ADD(traf_total, pkt_len); - -- if (active_needs_export(nf, active_timeout * HZ)) { -+ if (likely(active_needs_export(nf, active_timeout * HZ))) { - /* ok, if this active flow to be exported - * bubble it to the tail */ -+ spin_lock(&hlist_lock); - list_move_tail(&nf->list, &ipt_netflow_list); -+ spin_unlock(&hlist_lock); - - /* Blog: I thought about forcing timer to wake up sooner if we have - * enough exportable flows, but in fact this doesn't have much sense, -@@ -1363,35 +2761,194 @@ static unsigned int netflow_target( - * limited size). But yes, this is disputable. */ - } - -- spin_unlock_bh(&ipt_netflow_lock); -+unlock_return: -+ spin_unlock(&htable_locks[hash & LOCK_COUNT_MASK]); -+ read_unlock_bh(&htable_rwlock); - - return IPT_CONTINUE; - } - --static struct ipt_target ipt_netflow_reg = { -- .name = "NETFLOW", -- .target = netflow_target, -- .family = AF_INET, --#ifndef RAW_PROMISC_HACK -- .table = "filter", --#ifndef NF_IP_LOCAL_IN /* 2.6.25 */ -- .hooks = (1 << NF_INET_LOCAL_IN) | (1 << NF_INET_FORWARD) | -- (1 << NF_INET_LOCAL_OUT), --#else -- .hooks = (1 << NF_IP_LOCAL_IN) | (1 << NF_IP_FORWARD) | -- (1 << NF_IP_LOCAL_OUT), --#endif /* NF_IP_LOCAL_IN */ -+#ifdef CONFIG_NF_NAT_NEEDED -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) -+ /* Below 2.6.31 we don't need to handle callback chain manually. */ -+ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0) -+#define NET_STRUCT struct net *net -+#define NET_ARG net, -+#define nf_conntrack_event_cb net->ct.nf_conntrack_event_cb - #else -- .table = "raw", --#ifndef NF_IP_LOCAL_IN -- .hooks = (1 << NF_INET_LOCAL_IN) | (1 << NF_INET_FORWARD) | -- (1 << NF_INET_LOCAL_OUT) | (1 << NF_INET_PRE_ROUTING), -+#define NET_STRUCT void -+#define NET_ARG -+#endif -+static int set_notifier_cb(NET_STRUCT) -+{ -+ struct nf_ct_event_notifier *notifier; -+ -+ notifier = rcu_dereference(nf_conntrack_event_cb); -+ if (notifier == NULL) { -+ /* Polite mode. */ -+ nf_conntrack_register_notifier(NET_ARG &ctnl_notifier); -+ } else if (notifier != &ctnl_notifier) { -+ if (!saved_event_cb) -+ saved_event_cb = notifier; -+ else if (saved_event_cb != notifier) -+ printk(KERN_ERR "natevents_net_init: %p != %p (report error.)\n", -+ saved_event_cb, notifier); -+ rcu_assign_pointer(nf_conntrack_event_cb, &ctnl_notifier); -+ } else -+ printk(KERN_ERR "ipt_NETFLOW: natevents already enabled.\n"); -+ return 0; -+} -+static void unset_notifier_cb(NET_STRUCT) -+{ -+ struct nf_ct_event_notifier *notifier; -+ -+ notifier = rcu_dereference(nf_conntrack_event_cb); -+ if (notifier == &ctnl_notifier) { -+ if (saved_event_cb == NULL) -+ nf_conntrack_unregister_notifier(NET_ARG &ctnl_notifier); -+ else -+ rcu_assign_pointer(nf_conntrack_event_cb, saved_event_cb); -+ } else -+ printk(KERN_ERR "ipt_NETFLOW: natevents already disabled.\n"); -+} -+ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0) -+#undef nf_conntrack_event_cb -+static struct pernet_operations natevents_net_ops = { -+ .init = set_notifier_cb, -+ .exit = unset_notifier_cb -+}; -+#endif -+#endif /* since 2.6.31 */ -+ -+static DEFINE_MUTEX(events_lock); -+/* Both functions may be called multiple times. */ -+static void register_ct_events(void) -+{ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) -+#define NETLINK_M "nf_conntrack_netlink" -+ struct module *netlink_m; -+ static int referenced = 0; -+#endif -+ -+ printk(KERN_INFO "ipt_NETFLOW: enable natevents.\n"); -+ mutex_lock(&events_lock); -+ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) -+ /* Pre-load netlink module who will be first notifier -+ * user, and then hijack nf_conntrack_event_cb from it. */ -+ if ( -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0) -+ !rcu_dereference(nf_conntrack_event_cb) || -+#endif -+ !(netlink_m = find_module(NETLINK_M))) { -+ printk("Loading " NETLINK_M "\n"); -+ request_module(NETLINK_M); -+ } -+ /* Reference netlink module to prevent it's unsafe unload before us. */ -+ if (!referenced && (netlink_m = find_module(NETLINK_M))) { -+ referenced++; -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35) -+#define use_module ref_module -+#endif -+ use_module(THIS_MODULE, netlink_m); -+ } -+ -+ /* Register ct events callback. */ -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0) -+ register_pernet_subsys(&natevents_net_ops); - #else -- .hooks = (1 << NF_IP_LOCAL_IN) | (1 << NF_IP_FORWARD) | -- (1 << NF_IP_LOCAL_OUT) | (1 << NF_IP_PRE_ROUTING), --#endif /* NF_IP_LOCAL_IN */ --#endif /* !RAW_PROMISC_HACK */ -- .me = THIS_MODULE -+ set_notifier_cb(); -+#endif -+#else /* below v2.6.31 */ -+ if (!natevents && nf_conntrack_register_notifier(&ctnl_notifier) < 0) -+ printk(KERN_ERR "Can't register conntrack notifier, natevents disabled.\n"); -+ else -+#endif -+ natevents = 1; -+ mutex_unlock(&events_lock); -+} -+ -+static void unregister_ct_events(void) -+{ -+ printk(KERN_INFO "ipt_NETFLOW: disable natevents.\n"); -+ mutex_lock(&events_lock); -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0) -+ unregister_pernet_subsys(&natevents_net_ops); -+#else /* < v3.2 */ -+ unset_notifier_cb(); -+#endif /* v3.2 */ -+ rcu_assign_pointer(saved_event_cb, NULL); -+#else /* < v2.6.31 */ -+ nf_conntrack_unregister_notifier(&ctnl_notifier); -+#endif -+ natevents = 0; -+ mutex_unlock(&events_lock); -+} -+#endif /* CONFIG_NF_NAT_NEEDED */ -+ -+#ifndef NF_IP_LOCAL_IN /* 2.6.25 */ -+#define NF_IP_PRE_ROUTING NF_INET_PRE_ROUTING -+#define NF_IP_LOCAL_IN NF_INET_LOCAL_IN -+#define NF_IP_FORWARD NF_INET_FORWARD -+#define NF_IP_LOCAL_OUT NF_INET_LOCAL_OUT -+#define NF_IP_POST_ROUTING NF_INET_POST_ROUTING -+#endif -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) -+/* net/netfilter/x_tables.c */ -+static void xt_unregister_targets(struct xt_target *target, unsigned int n) -+{ -+ unsigned int i; -+ -+ for (i = 0; i < n; i++) -+ xt_unregister_target(&target[i]); -+} -+static int xt_register_targets(struct xt_target *target, unsigned int n) -+{ -+ unsigned int i; -+ -+ int err = 0; -+ for (i = 0; i < n; i++) -+ if ((err = xt_register_target(&target[i]))) -+ goto err; -+ return err; -+err: -+ if (i > 0) -+ xt_unregister_targets(target, i); -+ return err; -+} -+#endif -+ -+static struct ipt_target ipt_netflow_reg[] __read_mostly = { -+ { -+ .name = "NETFLOW", -+ .target = netflow_target, -+ .checkentry = netflow_target_check, -+ .family = AF_INET, -+ .hooks = -+ (1 << NF_IP_PRE_ROUTING) | -+ (1 << NF_IP_LOCAL_IN) | -+ (1 << NF_IP_FORWARD) | -+ (1 << NF_IP_LOCAL_OUT) | -+ (1 << NF_IP_POST_ROUTING), -+ .me = THIS_MODULE -+ }, -+ { -+ .name = "NETFLOW", -+ .target = netflow_target, -+ .checkentry = netflow_target_check, -+ .family = AF_INET6, -+ .hooks = -+ (1 << NF_IP_PRE_ROUTING) | -+ (1 << NF_IP_LOCAL_IN) | -+ (1 << NF_IP_FORWARD) | -+ (1 << NF_IP_LOCAL_OUT) | -+ (1 << NF_IP_POST_ROUTING), -+ .me = THIS_MODULE -+ }, - }; - - static int __init ipt_netflow_init(void) -@@ -1399,11 +2956,16 @@ static int __init ipt_netflow_init(void) - #ifdef CONFIG_PROC_FS - struct proc_dir_entry *proc_stat; - #endif -+ printk(KERN_INFO "ipt_NETFLOW version %s, srcversion %s\n", -+ IPT_NETFLOW_VERSION, THIS_MODULE->srcversion); - - get_random_bytes(&ipt_netflow_hash_rnd, 4); - - /* determine hash size (idea from nf_conntrack_core.c) */ - if (!hashsize) { -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0) -+#define num_physpages totalram_pages -+#endif - hashsize = (((num_physpages << PAGE_SHIFT) / 16384) - / sizeof(struct hlist_head)); - if (num_physpages > (1024 * 1024 * 1024 / PAGE_SIZE)) -@@ -1411,8 +2973,7 @@ static int __init ipt_netflow_init(void) - } - if (hashsize < 16) - hashsize = 16; -- printk(KERN_INFO "ipt_netflow version %s (%u buckets)\n", -- IPT_NETFLOW_VERSION, hashsize); -+ printk(KERN_INFO "ipt_NETFLOW: hashsize %u\n", hashsize); - - ipt_netflow_hash_size = hashsize; - ipt_netflow_hash = alloc_hashtable(ipt_netflow_hash_size); -@@ -1434,12 +2995,18 @@ static int __init ipt_netflow_init(void) - } - - #ifdef CONFIG_PROC_FS -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0) - proc_stat = create_proc_entry("ipt_netflow", S_IRUGO, INIT_NET(proc_net_stat)); -+#else -+ proc_stat = proc_create("ipt_netflow", S_IRUGO, INIT_NET(proc_net_stat), &nf_seq_fops); -+#endif - if (!proc_stat) { - printk(KERN_ERR "Unable to create /proc/net/stat/ipt_netflow entry\n"); - goto err_free_netflow_slab; - } -+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0) - proc_stat->proc_fops = &nf_seq_fops; -+#endif - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) - proc_stat->owner = THIS_MODULE; - #endif -@@ -1480,21 +3047,28 @@ static int __init ipt_netflow_init(void) - } - add_aggregation(aggregation); - -- __start_scan_worker(); -+ netflow_switch_version(protocol); -+ _schedule_scan_worker(0); - setup_timer(&rate_timer, rate_timer_calc, 0); - mod_timer(&rate_timer, jiffies + (HZ * SAMPLERATE)); - -- if (xt_register_target(&ipt_netflow_reg)) -+ peakflows_at = jiffies; -+ if (xt_register_targets(ipt_netflow_reg, ARRAY_SIZE(ipt_netflow_reg))) - goto err_stop_timer; - -- peakflows_at = jiffies; -+#ifdef CONFIG_NF_NAT_NEEDED -+ if (natevents) -+ register_ct_events(); -+#endif - -- printk(KERN_INFO "ipt_netflow loaded.\n"); -+ printk(KERN_INFO "ipt_NETFLOW is loaded.\n"); - return 0; - - err_stop_timer: -- __stop_scan_worker(); -+ _unschedule_scan_worker(); -+ netflow_scan_and_export(AND_FLUSH); - del_timer_sync(&rate_timer); -+ free_templates(); - destination_removeall(); - aggregation_remove(&aggr_n_list); - aggregation_remove(&aggr_p_list); -@@ -1506,17 +3080,18 @@ err_free_proc_stat: - #ifdef CONFIG_PROC_FS - remove_proc_entry("ipt_netflow", INIT_NET(proc_net_stat)); - err_free_netflow_slab: --#endif -+#endif - kmem_cache_destroy(ipt_netflow_cachep); - err_free_hash: - vfree(ipt_netflow_hash); - err: -+ printk(KERN_INFO "ipt_NETFLOW is not loaded.\n"); - return -ENOMEM; - } - - static void __exit ipt_netflow_fini(void) - { -- printk(KERN_INFO "ipt_netflow unloading..\n"); -+ printk(KERN_INFO "ipt_NETFLOW unloading..\n"); - - #ifdef CONFIG_SYSCTL - unregister_sysctl_table(netflow_sysctl_header); -@@ -1524,14 +3099,18 @@ static void __exit ipt_netflow_fini(void) - #ifdef CONFIG_PROC_FS - remove_proc_entry("ipt_netflow", INIT_NET(proc_net_stat)); - #endif -- -- xt_unregister_target(&ipt_netflow_reg); -- __stop_scan_worker(); -- netflow_scan_and_export(1); -+ xt_unregister_targets(ipt_netflow_reg, ARRAY_SIZE(ipt_netflow_reg)); -+#ifdef CONFIG_NF_NAT_NEEDED -+ if (natevents) -+ unregister_ct_events(); -+#endif -+ _unschedule_scan_worker(); -+ netflow_scan_and_export(AND_FLUSH); - del_timer_sync(&rate_timer); - - synchronize_sched(); - -+ free_templates(); - destination_removeall(); - aggregation_remove(&aggr_n_list); - aggregation_remove(&aggr_p_list); -@@ -1539,7 +3118,7 @@ static void __exit ipt_netflow_fini(void) - kmem_cache_destroy(ipt_netflow_cachep); - vfree(ipt_netflow_hash); - -- printk(KERN_INFO "ipt_netflow unloaded.\n"); -+ printk(KERN_INFO "ipt_NETFLOW unloaded.\n"); - } - - module_init(ipt_netflow_init); -diff --git a/ipt_NETFLOW.h b/ipt_NETFLOW.h -index 4a7b645..749f985 100644 ---- a/ipt_NETFLOW.h -+++ b/ipt_NETFLOW.h -@@ -35,8 +35,8 @@ struct netflow5_record { - __be16 o_ifc; - __be32 nr_packets; - __be32 nr_octets; -- __be32 ts_first; -- __be32 ts_last; -+ __be32 first_ms; -+ __be32 last_ms; - __be16 s_port; - __be16 d_port; - __u8 reserved; -@@ -54,9 +54,9 @@ struct netflow5_record { - struct netflow5_pdu { - __be16 version; - __be16 nr_records; -- __be32 ts_uptime; -- __be32 ts_usecs; -- __be32 ts_unsecs; -+ __be32 ts_uptime; /* ms */ -+ __be32 ts_usecs; /* s */ -+ __be32 ts_unsecs; /* ns */ - __be32 seq; - __u8 eng_type; - __u8 eng_id; -@@ -65,42 +65,185 @@ struct netflow5_pdu { - } __attribute__ ((packed)); - #define NETFLOW5_HEADER_SIZE (sizeof(struct netflow5_pdu) - NETFLOW5_RECORDS_MAX * sizeof(struct netflow5_record)) - -+/* NetFlow v9 RFC http://www.ietf.org/rfc/rfc3954.txt */ -+enum { -+ IN_BYTES = 1, -+ IN_PKTS = 2, -+ PROTOCOL = 4, -+ TOS = 5, -+ TCP_FLAGS = 6, -+ L4_SRC_PORT = 7, -+ IPV4_SRC_ADDR = 8, -+ SRC_MASK = 9, -+ INPUT_SNMP = 10, -+ L4_DST_PORT = 11, -+ IPV4_DST_ADDR = 12, -+ DST_MASK = 13, -+ OUTPUT_SNMP = 14, -+ IPV4_NEXT_HOP = 15, -+ //SRC_AS = 16, -+ //DST_AS = 17, -+ //BGP_IPV4_NEXT_HOP = 18, -+ //MUL_DST_PKTS = 19, -+ //MUL_DST_BYTES = 20, -+ LAST_SWITCHED = 21, -+ FIRST_SWITCHED = 22, -+ IPV6_SRC_ADDR = 27, -+ IPV6_DST_ADDR = 28, -+ IPV6_FLOW_LABEL = 31, -+ ICMP_TYPE = 32, -+ MUL_IGMP_TYPE = 33, -+ //TOTAL_BYTES_EXP = 40, -+ //TOTAL_PKTS_EXP = 41, -+ //TOTAL_FLOWS_EXP = 42, -+ IPV6_NEXT_HOP = 62, -+ IPV6_OPTION_HEADERS = 64, -+ commonPropertiesId = 137, /* for MARK */ -+ ipv4Options = 208, -+ tcpOptions = 209, -+ postNATSourceIPv4Address = 225, -+ postNATDestinationIPv4Address = 226, -+ postNAPTSourceTransportPort = 227, -+ postNAPTDestinationTransportPort = 228, -+ natEvent = 230, -+ postNATSourceIPv6Address = 281, -+ postNATDestinationIPv6Address = 282, -+ IPSecSPI = 295, -+ observationTimeMilliseconds = 323, -+ observationTimeMicroseconds = 324, -+ observationTimeNanoseconds = 325, -+}; -+ -+enum { -+ FLOWSET_TEMPLATE = 0, -+ FLOWSET_OPTIONS = 1, -+ IPFIX_TEMPLATE = 2, -+ IPFIX_OPTIONS = 3, -+ FLOWSET_DATA_FIRST = 256, -+}; -+ -+struct flowset_template { -+ __be16 flowset_id; -+ __be16 length; -+ __be16 template_id; -+ __be16 field_count; -+} __attribute__ ((packed)); -+ -+struct flowset_data { -+ __be16 flowset_id; -+ __be16 length; -+} __attribute__ ((packed)); -+ -+/* NetFlow v9 packet. */ -+struct netflow9_pdu { -+ __be16 version; -+ __be16 nr_records; -+ __be32 sys_uptime_ms; -+ __be32 export_time_s; -+ __be32 seq; -+ __be32 source_id; /* Exporter Observation Domain */ -+ __u8 data[1400]; -+} __attribute__ ((packed)); -+ -+/* IPFIX packet. */ -+struct ipfix_pdu { -+ __be16 version; -+ __be16 length; -+ __be32 export_time_s; -+ __be32 seq; -+ __be32 odomain_id; /* Observation Domain ID */ -+ __u8 data[1400]; -+} __attribute__ ((packed)); -+ -+/* Maximum bytes flow can have, after it's reached flow will become -+ * not searchable and will be exported soon. */ -+#define FLOW_FULL_WATERMARK 0xffefffff -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) -+union nf_inet_addr { -+ __be32 ip; -+ __be32 ip6[4]; -+ struct in_addr in; -+ struct in6_addr in6; -+}; -+#endif -+ - /* hashed data which identify unique flow */ -+/* 16+16 + 2+2 + 2+1+1+1 = 41 */ - struct ipt_netflow_tuple { -- __be32 s_addr; // Network byte order -- __be32 d_addr; // -"- -- __be16 s_port; // -"- -+ union nf_inet_addr src; -+ union nf_inet_addr dst; -+ __be16 s_port; // Network byte order - __be16 d_port; // -"- -- __be16 i_ifc; // Local byte order -+ __u16 i_ifc; // Host byte order - __u8 protocol; - __u8 tos; -+ __u8 l3proto; - }; --/* tuple size is rounded to u32s */ --#define NETFLOW_TUPLE_SIZE (sizeof(struct ipt_netflow_tuple) / 4) -- --/* maximum bytes flow can have, after it reached flow become not searchable and will be exported soon */ --#define FLOW_FULL_WATERMARK 0xffefffff - --/* flow entry */ -+/* hlist[2] + tuple[]: 8+8 + 41 = 57 (less than usual cache line, 64) */ - struct ipt_netflow { - struct hlist_node hlist; // hashtable search chain -- struct list_head list; // all flows chain - - /* unique per flow data (hashed, NETFLOW_TUPLE_SIZE) */ - struct ipt_netflow_tuple tuple; - - /* volatile data */ -- __be16 o_ifc; -+ union nf_inet_addr nh; -+ __u16 o_ifc; - __u8 s_mask; - __u8 d_mask; -+ __u8 tcp_flags; /* `OR' of all tcp flags */ - - /* flow statistics */ - u_int32_t nr_packets; - u_int32_t nr_bytes; -- unsigned long ts_first; -- unsigned long ts_last; -- __u8 tcp_flags; /* `OR' of all tcp flags */ -+ union { -+ struct { -+ unsigned long first; -+ unsigned long last; -+ } ts; -+ ktime_t ts_obs; -+ } _ts_un; -+#define ts_first _ts_un.ts.first -+#define ts_last _ts_un.ts.last -+#define ts_obs _ts_un.ts_obs -+ u_int32_t flow_label; /* IPv6 */ -+ u_int32_t options; /* IPv4(16) & IPv6(32) Options */ -+ u_int32_t tcpoptions; -+#ifdef CONFIG_NF_CONNTRACK_MARK -+ u_int32_t mark; /* Exported as commonPropertiesId */ -+#endif -+#ifdef CONFIG_NF_NAT_NEEDED -+ __be32 s_as; -+ __be32 d_as; -+ struct nat_event *nat; -+#endif -+ struct list_head list; // all flows chain -+ spinlock_t *lock; -+}; -+ -+#ifdef CONFIG_NF_NAT_NEEDED -+enum { -+ NAT_CREATE, NAT_DESTROY, NAT_POOLEXHAUSTED - }; -+struct nat_event { -+ struct list_head list; -+ struct { -+ __be32 s_addr; -+ __be32 d_addr; -+ __be16 s_port; -+ __be16 d_port; -+ } pre, post; -+ ktime_t ts_ktime; -+ unsigned long ts_jiffies; -+ __u8 protocol; -+ __u8 nat_event; -+}; -+#define IS_DUMMY_FLOW(nf) (nf->nat) -+#else -+#define IS_DUMMY_FLOW(nf) 0 -+#endif - - static inline int ipt_netflow_tuple_equal(const struct ipt_netflow_tuple *t1, - const struct ipt_netflow_tuple *t2) -@@ -115,11 +258,13 @@ struct ipt_netflow_sock { - unsigned short port; - atomic_t wmem_peak; // sk_wmem_alloc peak value - atomic_t err_full; // socket filled error -+ atomic_t err_connect; // connect errors - atomic_t err_other; // other socket errors - }; - - struct netflow_aggr_n { - struct list_head list; -+ atomic_t usage; - __u32 mask; - __u32 addr; - __u32 aggr_mask; -@@ -128,6 +273,7 @@ struct netflow_aggr_n { - - struct netflow_aggr_p { - struct list_head list; -+ atomic_t usage; - __u16 port1; - __u16 port2; - __u16 aggr_port; -diff --git a/libipt_NETFLOW.c b/libipt_NETFLOW.c -index d85b6d9..a0f9e5d 100644 ---- a/libipt_NETFLOW.c -+++ b/libipt_NETFLOW.c -@@ -58,24 +58,24 @@ - #define _IPT_IP struct ipt_ip - #endif - -+#ifndef IPTABLES_VERSION -+#define IPTABLES_VERSION XTABLES_VERSION -+#endif -+ - static struct option opts[] = { -- {0} -+ { 0 } - }; - - static void help(void) - { -- printf( "NETFLOW target\n"); -+ printf("NETFLOW target\n"); - } - --//static int parse(int c, char **argv, int invert, unsigned int *flags, --// const _IPT_ENTRY *entry, --// struct ipt_entry_target **target) - static int parse(int c, char **argv, int invert, unsigned int *flags, - const _IPT_ENTRY *entry, - struct ipt_entry_target **targetinfo) - - { -- - return 1; - } - -@@ -95,16 +95,9 @@ static void print(const _IPT_IP *ip, - } - - static struct iptables_target netflow = { --#ifdef MOD140 -- .family = AF_INET, --#endif - .next = NULL, - .name = "NETFLOW", --#ifdef XTABLES_VERSION -- .version = XTABLES_VERSION, --#else - .version = IPTABLES_VERSION, --#endif - .size = IPT_ALIGN(0), - .userspacesize = IPT_ALIGN(0), - .help = &help, -diff --git a/murmur3.h b/murmur3.h -new file mode 100644 -index 0000000..57a6006 ---- /dev/null -+++ b/murmur3.h -@@ -0,0 +1,42 @@ -+/* MurmurHash3, based on https://code.google.com/p/smhasher of Austin Appleby. */ -+ -+static __always_inline uint32_t rotl32(const uint32_t x, const int8_t r) -+{ -+ return (x << r) | (x >> (32 - r)); -+} -+ -+static __always_inline uint32_t fmix32(register uint32_t h) -+{ -+ h ^= h >> 16; -+ h *= 0x85ebca6b; -+ h ^= h >> 13; -+ h *= 0xc2b2ae35; -+ h ^= h >> 16; -+ return h; -+} -+ -+static inline uint32_t murmur3(const void *key, const uint32_t len, const uint32_t seed) -+{ -+ const uint32_t c1 = 0xcc9e2d51; -+ const uint32_t c2 = 0x1b873593; -+ const uint32_t *blocks; -+ const uint8_t *tail; -+ register uint32_t h1 = seed; -+ uint32_t k1 = 0; -+ uint32_t i; -+ -+ blocks = (const uint32_t *)key; -+ for (i = len / 4; i; --i) { -+ h1 ^= rotl32(*blocks++ * c1, 15) * c2; -+ h1 = rotl32(h1, 13) * 5 + 0xe6546b64; -+ } -+ tail = (const uint8_t*)blocks; -+ switch (len & 3) { -+ case 3: k1 ^= tail[2] << 16; -+ case 2: k1 ^= tail[1] << 8; -+ case 1: k1 ^= tail[0]; -+ h1 ^= rotl32(k1 * c1, 15) * c2; -+ } -+ return fmix32(h1^ len); -+} -+ -diff --git a/raw_promisc_debian_squeeze6.patch b/raw_promisc_debian_squeeze6.patch -new file mode 100644 -index 0000000..69d0d35 ---- /dev/null -+++ b/raw_promisc_debian_squeeze6.patch -@@ -0,0 +1,37 @@ -+ -+ Short manual and patch for Debian Squeeze -+ suggested by Pavel Odintsov: -+ -+On Thu, Dec 27, 2012 at 07:46:30PM +0400, Pavel Odintsov wrote: -+> -+> Debian Squeeze promisc. -+> -+> cd /usr/src -+> apt-get install -y dpkg-dev -+> apt-get build-dep linux-image-2.6.32-5-amd64 -+> cd linux-2.6-2.6.32/ -+> apt-get source linux-image-2.6.32-5-amd64 -+> -+> wget .... /root/raw_promisc_debian_squeeze6.patch -+> patch -p1 < raw_promisc_debian_squeeze6.patch -+> : -+> debian/rules source -+> -+> : -+> debian/rules binary -+> -+ -+diff -rupN linux-2.6-2.6.32/net/ipv4/ip_input.c linux-2.6-2.6.32_promisc_raw//net/ipv4/ip_input.c -+--- linux-2.6-2.6.32/net/ipv4/ip_input.c 2009-12-03 04:51:21.000000000 +0100 -++++ linux-2.6-2.6.32_promisc_raw//net/ipv4/ip_input.c 2012-06-25 19:13:49.000000000 +0200 -+@@ -383,8 +383,8 @@ int ip_rcv(struct sk_buff *skb, struct n -+ /* When the interface is in promisc. mode, drop all the crap -+ * that it receives, do not try to analyse it. -+ */ -+- if (skb->pkt_type == PACKET_OTHERHOST) -+- goto drop; -++ //if (skb->pkt_type == PACKET_OTHERHOST) -++ // goto drop; -+ -+ -+ IP_UPD_PO_STATS_BH(dev_net(dev), IPSTATS_MIB_IN, skb->len); diff --git a/unmaintained/ipt-netflow/kernel-vs-userspace.patch b/unmaintained/ipt-netflow/kernel-vs-userspace.patch deleted file mode 100644 index ce551e5bd3..0000000000 --- a/unmaintained/ipt-netflow/kernel-vs-userspace.patch +++ /dev/null @@ -1,69 +0,0 @@ ---- ipt-netflow-2.0.orig/configure -+++ ipt-netflow-2.0/configure -@@ -258,9 +258,13 @@ - echo " --enable-vlan enables VLAN Ids for v9/IPFIX" - echo " --enable-direction enables flowDirection(61) Element" - echo " --disable-aggregation disables aggregation rules" -+ echo " --disable-kernel disable kernel module" -+ echo " --disable-ipt disable ipt" - exit 0 - } - -+BUILD_MODULE=true -+BUILD_IPT=true - CARGS="$@" - for ac_option - do -@@ -284,7 +288,8 @@ - --enable-mac*) KOPTS="$KOPTS -DENABLE_MAC" ;; - --enable-vlan*) KOPTS="$KOPTS -DENABLE_VLAN" ;; - --enable-direc*) KOPTS="$KOPTS -DENABLE_DIRECTION" ;; -- --disable-aggr*) KOPTS="$KOPTS -DDISABLE_AGGR" ;; -+ --disable-kernel) BUILD_MODULE=false ;; -+ --disable-ipt) BUILD_IPT=false ;; - --make) echo called from make ;; - -Werror) KOPTS="$KOPTS -Werror" ;; - --help|-h) show_help ;; -@@ -407,23 +412,27 @@ - kernel_check_include include/linux/llist.h -DHAVE_LLIST - } - --kernel_find_version #KVERSION --test "$KLIBMOD" || KLIBMOD=$KVERSION --echo "Kernel version: $KVERSION ($KHOW)" --kernel_find_source #KDIR --echo "Kernel sources: $KDIR ($KSHOW)" --kernel_check_consistency --kernel_check_config --kernel_check_features -+if $BUILD_MODULE; then -+ kernel_find_version #KVERSION -+ test "$KLIBMOD" || KLIBMOD=$KVERSION -+ echo "Kernel version: $KVERSION ($KHOW)" -+ kernel_find_source #KDIR -+ echo "Kernel sources: $KDIR ($KSHOW)" -+ kernel_check_consistency -+ kernel_check_config -+ kernel_check_features -+fi - --test "$IPTBIN" || IPTBIN=`which iptables` -+if $BUILD_IPT; then -+ test "$IPTBIN" || IPTBIN=`which iptables` - --iptables_find_version #IPTVER --iptables_try_pkgconfig #try to configure from pkg-config --iptables_find_src #IPTSRC --iptables_src_version #check that IPTSRC match to IPTVER --iptables_inc #IPTINC --iptables_modules #IPTLIB -+ iptables_find_version #IPTVER -+ iptables_try_pkgconfig #try to configure from pkg-config -+ iptables_find_src #IPTSRC -+ iptables_src_version #check that IPTSRC match to IPTVER -+ iptables_inc #IPTINC -+ iptables_modules #IPTLIB -+fi - - REPLACE="\ - s!@CARGS@!$CARGS!;\ diff --git a/unmaintained/ivtv-utils/APKBUILD b/unmaintained/ivtv-utils/APKBUILD deleted file mode 100644 index 18b9ec6c2e..0000000000 --- a/unmaintained/ivtv-utils/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=ivtv-utils -pkgver=1.4.1 -pkgrel=0 -pkgdesc="Userspace utilities and firmware for Hauppauge PVR cards" -url="http://ivtvdriver.org" -arch="all" -license="GPL2+" -depends="" -makedepends="" -source="http://dl.ivtvdriver.org/ivtv/stable/$pkgname-$pkgver.tar.gz - http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build () { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" PREFIX=/usr install || return 1 - - cd "$srcdir" - for file in *.fw v4l-cx2341x-init.mpg; do - install -D -m644 $file "$pkgdir"/lib/firmware/$file || return 1 - done - rm -rf "$pkgdir"/usr/include -} - -md5sums="3a4219d698262ca2b28e41f0f547b0a2 ivtv-utils-1.4.1.tar.gz -b9a871f1c569025be9c48a77b3515faf ivtv-firmware.tar.gz" -sha256sums="8eebe8bda62f348779c24522f78fb3c0231e33d303b6381185eeb795fe761ef6 ivtv-utils-1.4.1.tar.gz -f9c4250658b24579b9f726bf44097d1728c4a5db3bce64ee9fd0c5e8ff2a79f1 ivtv-firmware.tar.gz" -sha512sums="719c922fb819ba7f0ca3d4bbede571c416dc9f282bd8a7e2fbe7d9b4298541a104f8a848e113379eeec052206658b7a0a2e0eea1b7917e90f2aee37fe0010bed ivtv-utils-1.4.1.tar.gz -1ad00fb55721f5161e0b64d04ea004cd0e24f31b3c47cadb181c0a8f24a0064356b56479cd54d834d4575f6cb5d826bca5fd061634b1e10f0e4b5737c1fb192b ivtv-firmware.tar.gz" diff --git a/unmaintained/jetring/APKBUILD b/unmaintained/jetring/APKBUILD deleted file mode 100644 index d72d247126..0000000000 --- a/unmaintained/jetring/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Sören Tempel -# Maintainer: -pkgname=jetring -pkgver=0.21 -pkgrel=1 -pkgdesc="Tools that allow for gpg keyrings to be maintained using changesets" -url="https://joeyh.name/code/jetring/" -arch="noarch" -license="GPL2" -depends="gnupg perl" -depends_dev="" -makedepends="" -install="" -subpackages="$pkgname-doc" -source="ftp://ftp.debian.org/debian/pool/main/j/${pkgname}/${pkgname}_${pkgver}.tar.gz" - -_builddir="$srcdir"/$pkgname -build() { - return 0 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ - cp -r example/ "$pkgdir"/usr/share/doc/$pkgname/examples/ - - local man= sec= - for man in *.1 *.7; do - sec=${man##*.} - install -Dm644 $man \ - "$pkgdir"/usr/share/man/man${sec}/$man || return 1 - done -} - -md5sums="3399c9ebc5a21ccc0dc8e01c9562f07d jetring_0.21.tar.gz" -sha256sums="6a9ef726c1746ab57361dcda14c6ab0fdfd1dcb4ef1ffda9959251449c7a9814 jetring_0.21.tar.gz" -sha512sums="bc3bfa0afaa7e6e9a79688447bc9a23271fce951646f7d159ffeb4df749c36536612b6a371034586d63f1dfdbfee24aad68ac44a350bd8f1f4b18fd5dbbe1b7b jetring_0.21.tar.gz" diff --git a/unmaintained/jhead/APKBUILD b/unmaintained/jhead/APKBUILD deleted file mode 100644 index 8e8aea3e8f..0000000000 --- a/unmaintained/jhead/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=jhead -pkgver=2.93 -pkgrel=0 -pkgdesc="An Exif jpeg header manipulation tool" -url="http://www.sentex.net/~mwandel/jhead/" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="" -install="" -subpackages="$pkgname-doc" -source="http://www.sentex.net/~mwandel/$pkgname/$pkgname-$pkgver.tar.gz - makefile-destdir.patch" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="23ac51b4aea2df663d684744e282eb7d jhead-2.93.tar.gz -c0daea2a99f121ea84adb2fce47e0a4e makefile-destdir.patch" diff --git a/unmaintained/jhead/makefile-destdir.patch b/unmaintained/jhead/makefile-destdir.patch deleted file mode 100644 index d9c5b1a0b9..0000000000 --- a/unmaintained/jhead/makefile-destdir.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- jhead-2.93/makefile -+++ jhead-2.93/makefile.new -@@ -4,6 +4,7 @@ - OBJ=. - SRC=. - CFLAGS= -O3 -Wall -+prefix= /usr - - all: jhead - -@@ -20,4 +21,5 @@ - rm -f $(objs) jhead - - install: -- cp jhead ${DESTDIR}/usr/local/bin/ -+ install -Dp -m 0755 jhead $(DESTDIR)$(prefix)/bin/jhead -+ install -m644 -D jhead.1 $(DESTDIR)$(prefix)/share/man/man1/jhead.1 diff --git a/unmaintained/js/APKBUILD b/unmaintained/js/APKBUILD deleted file mode 100644 index 776e8696f5..0000000000 --- a/unmaintained/js/APKBUILD +++ /dev/null @@ -1,73 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=js -pkgver=1.8.5 -_ver=${pkgver//./}-1.0.0 -pkgrel=0 -pkgdesc="JavaScript interpreter and libraries" -url="http://www.mozilla.org/js/" -arch="" -license="GPLv2+ or LGPLv2+ or MPLv1.1" -depends="" -depends_dev="nspr-dev" -makedepends="$depends_dev zip readline-dev ncurses-dev python perl" -install="" -subpackages="$pkgname-dev" -source="http://ftp.mozilla.org/pub/mozilla.org/js/js$_ver.tar.gz - js185-destdir.patch - isfinite.patch" - -_builddir="$srcdir"/js-1.8.5/js/src -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - # create pkg-config file - cat > libjs.pc << EOF -prefix=/usr -exec_prefix=/usr -libdir=/usr/lib -includedir=/usr/include - -Name: libjs -Description: JS library -Requires: nspr >= 4.7 -Version: $pkgver -Libs: -L\${libdir} -ljs -Cflags: -DXP_UNIX=1 -DJS_THREADSAFE=1 -I\${includedir}/js -EOF -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --with-system-nspr \ - --enable-threadsafe \ - --enable-readline \ - --disable-warnings-as-errors \ - || return 1 - make -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" || return 1 - install -Dm 0644 libjs.pc "$pkgdir"/usr/lib/pkgconfig/ - # compat symlinks - ln -s libmozjs185.so.1.0 "$pkgdir"/usr/lib/libmozjs.so.1 - ln -s libmozjs185.so.1.0 "$pkgdir"/usr/lib/libjs.so.1 - ln -s libmozjs185.so "$pkgdir"/usr/lib/libmozjs.so - ln -s libmozjs185.so "$pkgdir"/usr/lib/libjs.so - -} - -md5sums="a4574365938222adca0a6bd33329cb32 js185-1.0.0.tar.gz -ca5cd660341767b60c09701f8dd6bf38 js185-destdir.patch -8f5db1b780888900c7fa8caec9c37275 isfinite.patch" diff --git a/unmaintained/js/isfinite.patch b/unmaintained/js/isfinite.patch deleted file mode 100644 index e0f09f3898..0000000000 --- a/unmaintained/js/isfinite.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./jsnum.h.orig -+++ ./jsnum.h -@@ -101,7 +101,7 @@ - #ifdef WIN32 - return _finite(d); - #else -- return finite(d); -+ return isfinite(d); - #endif - } - diff --git a/unmaintained/js/js185-destdir.patch b/unmaintained/js/js185-destdir.patch deleted file mode 100644 index e648e3c41b..0000000000 --- a/unmaintained/js/js185-destdir.patch +++ /dev/null @@ -1,15 +0,0 @@ -#https://bugzilla.mozilla.org/show_bug.cgi?id=628723 - ---- ./Makefile.in.old 2011-04-10 04:21:19.918608008 -0700 -+++ ./Makefile.in 2011-04-10 04:21:58.088607992 -0700 -@@ -888,8 +888,8 @@ - ifeq (,$(HOST_BIN_SUFFIX)) - mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER) - @[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER) -- ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER) -- ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER) -+ ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER) -+ ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER) - endif - endif - ifneq (,$(IMPORT_LIBRARY)) diff --git a/unmaintained/judy/APKBUILD b/unmaintained/judy/APKBUILD deleted file mode 100644 index d6396c9e55..0000000000 --- a/unmaintained/judy/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=judy -pkgver=1.0.5 -pkgrel=0 -pkgdesc="C library creating and accessing dynamic arrays" -url="http://judy.sourceforge.net/" -arch="all" -license="LGPL2+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://kent.dl.sourceforge.net/project/judy/judy/Judy-$pkgver/Judy-$pkgver.tar.gz" - -_builddir="$srcdir"/judy-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make -j1 || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 -} - -md5sums="115a0d26302676e962ae2f70ec484a54 Judy-1.0.5.tar.gz" -sha256sums="d2704089f85fdb6f2cd7e77be21170ced4b4375c03ef1ad4cf1075bd414a63eb Judy-1.0.5.tar.gz" -sha512sums="1a0d59b092c80d95270a3089cd25ee0ddad1d591101b03784e2e46dfc73bce445a7fb495b449043544a366c09b35b833556053bf3bf65dd00abbd786d26c6980 Judy-1.0.5.tar.gz" diff --git a/unmaintained/kactivities/APKBUILD b/unmaintained/kactivities/APKBUILD deleted file mode 100644 index 6879eb1589..0000000000 --- a/unmaintained/kactivities/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=kactivities -pkgver=4.13.3 -pkgrel=0 -pkgdesc="API for using and interacting with the Activity Manager" -url="https://projects.kde.org/projects/kde/kdelibs/kactivities" -arch="all" -license="FDL GPL" -depends= -depends_dev="kdelibs-dev" -makedepends="$depends_dev automoc4 cmake" -install="" -subpackages="$pkgname-dev" -source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DKDE4_BUILD_TESTS=OFF \ - -DWITH_NepomukCore=OFF \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="e56a3aead6f418d973c0acd9c889deb8 kactivities-4.13.3.tar.xz" -sha256sums="c7cb9d023f6e5cd01d76568c3590303ea3ecb4ebe9535b31862957846f5e898a kactivities-4.13.3.tar.xz" -sha512sums="1d248ae6045a7ae8d54ce5355100cd76be954c2a57be3abaab968d8ff2693d09aa9b1d0242266de4eedf6005bedfde38df69a84a9a5a0b16606fe958159b31bc kactivities-4.13.3.tar.xz" diff --git a/unmaintained/kde-base-artwork/APKBUILD b/unmaintained/kde-base-artwork/APKBUILD deleted file mode 100644 index 1b04cfa2aa..0000000000 --- a/unmaintained/kde-base-artwork/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=kde-base-artwork -pkgver=4.13.3 -pkgrel=0 -pkgdesc="artwork for KDE desktop" -url="http://www.kde.org/" -arch="noarch" -license="GPL LGPL" -depends= -depends_dev="kdelibs-dev" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="" -source="http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" -install_if="kdebase-workspace" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="db31357719eb419c2da9bea80bcb0248 kde-base-artwork-4.13.3.tar.xz" -sha256sums="c89759ff99519b6aa7c5a091daa274ed1f38e979273bff2e36ec19b2444ea5ab kde-base-artwork-4.13.3.tar.xz" -sha512sums="31b90034122914a5edde5fe82df4bb9c86aeb6489b65b680b55e8f13686daf75aec910a66f1ee251fd321605df82d3fda2f421423058455c47cf23f665d5f0da kde-base-artwork-4.13.3.tar.xz" diff --git a/unmaintained/kde-baseapps/APKBUILD b/unmaintained/kde-baseapps/APKBUILD deleted file mode 100644 index 818ccd8ad2..0000000000 --- a/unmaintained/kde-baseapps/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=kde-baseapps -pkgver=4.13.3 -pkgrel=0 -pkgdesc="Dolphin (file manager) and Konqueror (web browser)" -url="http://www.kde.org/" -arch="all" -license="GPL" -depends= -depends_dev="kactivities-dev kfilemetadata-dev baloo-dev baloo-widgets-dev" -makedepends="$depends_dev automoc4 cmake" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="aaee916bfc87b618f9305d9a4bcefafb kde-baseapps-4.13.3.tar.xz" -sha256sums="427164598d3a33ce18056af11073e46510e093eb30f8ce4854c4fa0abc303804 kde-baseapps-4.13.3.tar.xz" -sha512sums="c6d54a17abf00f414d1f2b932796ca400327ad2b5e8c17838bdddda2550c81725d0f7aa6fff1ffdbe0d3e07af6ec7fafb6a62085a26a03e76bcf0ec016690eed kde-baseapps-4.13.3.tar.xz" diff --git a/unmaintained/kde-core/APKBUILD b/unmaintained/kde-core/APKBUILD deleted file mode 100644 index b84223a33d..0000000000 --- a/unmaintained/kde-core/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=kde-core -pkgver=4.13.3 -pkgrel=0 -pkgdesc="Meta package for KDE core" -url="http://kde.org" -arch="noarch" -license="GPL" -makedepends="" -depends=" - kde-runtime - kde-base-artwork - kde-baseapps - kde-workspace - kdegraphics-mobipocket - polkit-kde-agent - oxygen-icons - " -install= -subpackages="" -source="" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - return 0 -} - -build() { - return 0 -} - -package() { - mkdir -p "$pkgdir" - return 0 -} - -md5sums= diff --git a/unmaintained/kde-runtime/APKBUILD b/unmaintained/kde-runtime/APKBUILD deleted file mode 100644 index f39131d644..0000000000 --- a/unmaintained/kde-runtime/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=kde-runtime -pkgver=4.13.3 -pkgrel=1 -pkgdesc="KDE base runtime" -url="http://www.kde.org/" -arch="all" -license="LGPL" -depends= -depends_dev="kactivities-dev kdepimlibs-dev libgcrypt-dev - samba-dev libssh-dev libcanberra-dev openslp-dev" -makedepends="$depends_dev cmake automoc4" -install="" -options="suid" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DSYSCONF_INSTALL_DIR=/etc \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_BUILD_TYPE=Release \ - -DSAMBA_INCLUDE_DIR=/usr/include/samba-4.0 \ - -DWITH_NepomukCore:BOOL=OFF \ - -DWITH_PulseAudio:BOOL=OFF \ - -DWITH_NetworkManager:BOOL=OFF \ - -Wno-dev \ - "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 - ln -sfv /usr/lib/kde4/libexec/kdesu \ - "$pkgdir"/usr/bin/kdesu || return 1 - rm "$pkgdir"/usr/share/icons/hicolor/index.theme || return 1 -} - -md5sums="8b7b7e217744779f33dd8aa38015efa0 kde-runtime-4.13.3.tar.xz" -sha256sums="d35dbf930d212e86154e87e3566797827af1ed666099e5d5df8df76b874318f0 kde-runtime-4.13.3.tar.xz" -sha512sums="785f6d392e7d573487e38316976eb64061bba417ec68edff6e1aad1499f5932c15db3ee21daf357fcb5be72c13fb658f7359dbc493c4214df6b2d34072dacfb5 kde-runtime-4.13.3.tar.xz" diff --git a/unmaintained/kde-workspace/APKBUILD b/unmaintained/kde-workspace/APKBUILD deleted file mode 100644 index 6cf3cf3849..0000000000 --- a/unmaintained/kde-workspace/APKBUILD +++ /dev/null @@ -1,86 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=kde-workspace -pkgver=4.13.3 -pkgrel=2 -pkgdesc="base kde applications" -url="http://www.kde.org/" -arch="x86 x86_64" -license="GPL" -depends= -options="suid" -depends_dev="kde-runtime-dev qimageblitz-dev libxkbfile-dev - consolekit-dev libxcursor-dev libxrandr-dev libraw1394-dev - libxcomposite-dev libxtst-dev libxcb-dev xcb-util-dev - xcb-util-image-dev xcb-util-keysyms-dev xcb-util-renderutil-dev - pciutils-dev linux-pam-dev libusb-compat-dev lm_sensors-dev" -makedepends="$depends_dev cmake automoc4" -install="$pkgname.pre-install" -subpackages="$pkgname-dev $pkgname-doc" -source="http://download.kde.org/stable/${pkgver}/src/${pkgname}-4.11.11.tar.xz - uint-fadeeffect-4.11.11.patch - fix-headers-4.11.11.patch - kdm.initd - kde.pam - kde-np.pam - kscreensaver.pam" - -_builddir="$srcdir"/${pkgname}-4.11.11 -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DSYSCONF_INSTALL_DIR=/etc \ - -DKDE4_BUILD_TESTS:BOOL=OFF \ - -DWITH_Xmms:BOOL=OFF \ - -DWITH_libgps:BOOL=OFF \ - -DWITH_NepomukCore:BOOL=OFF \ - -DWITH_Soprano:BOOL=OFF \ - -DWITH_CkConnector:BOOL=OFF \ - -DCMAKE_BUILD_TYPE=Release \ - -DPYTHON_EXECUTABLE=/usr/bin/python2 \ - -DINSTALL_PYTHON_FILES_IN_PYTHON_PREFIX=TRUE \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 - mkdir -p "$pkgdir"/usr/share/xsessions || return 1 - ln -sf /usr/share/apps/kdm/sessions/kde-plasma.desktop \ - "$pkgdir"/usr/share/xsessions/kde-plasma.desktop || return 1 - install -Dm755 "$srcdir"/kdm.initd "$pkgdir"/etc/init.d/kdm || return 1 -} - -md5sums="cbd3311713b42d4856c66281fbe7a212 kde-workspace-4.11.11.tar.xz -1f4ee19c55cc52371219c170806c65ad uint-fadeeffect-4.11.11.patch -33775f5785b5fc70569e9d27dd33052d fix-headers-4.11.11.patch -c7f28b898cb1a3916105c5919e7e7b5b kdm.initd -83d73eb700bcf6d3bbc93008ed7e43e4 kde.pam -fd2a1c362a1e3c7f2f1e81773599b9cf kde-np.pam -c2bd6228bd83ef8e7ab43866b70842fc kscreensaver.pam" -sha256sums="f188b003c56d2a40f71d4eea8c91b7ae0febcf25c252c383913281fce73c4d73 kde-workspace-4.11.11.tar.xz -ca14056388ec4ebe08af105c52ae63e983b0959608e528814c91ed7da063ba99 uint-fadeeffect-4.11.11.patch -191b08a7e556d31be927e23aeab7e811d0123a55d53bfb4bb06d843da4c79051 fix-headers-4.11.11.patch -088283e0b36be851a1081f9c7bb42d05a6754b4cf92aabf0c850f9c8593cfca3 kdm.initd -d3a77d44ba510b7dc5aab6f8ebbd642c77513aec21079f817220d31f3dda8417 kde.pam -f00127469095832ef665732d505e7df146dc060fa15aadf44197da53cbb464ee kde-np.pam -c71bb9071cb0f51db9bd4a19a1cc3d50048b012389c4b543fef48e202f227aad kscreensaver.pam" -sha512sums="0f8076150f498e84875da1b18f8d596b0c16a3f5ddf5a838133fc9345f79c10faa7ff9c0f627c17b5dac5058af39c367d8a62b51d212ccbd07a0faded390d5f7 kde-workspace-4.11.11.tar.xz -355ad1d959ded30e2556faa5a2c6583466ccc550277c1e5db1dea6724d23612723b4f951f35e43bc447c6de4bcfff10f0f1d2eece5f7dcba9b08ba4c47cc1e39 uint-fadeeffect-4.11.11.patch -e452a9ea35193045fa11bb0e2cb1017b43051ca0b3d439144ce2bedb2ce48da9391031db2c99166db208d1cd3667c81e62c31a1d5d3169ea5d39cea43a24a9a5 fix-headers-4.11.11.patch -4de002fd46f97e7e94e989c4f69ec6a967aa11446c8c3d0ce0b3bef2006809b2d6c05d56f2c65cececcffd8310cb5c7f54235f5bd8c0954d258a1d45425be2fb kdm.initd -a3a69852c7479c826a6502a81ed41e182e8dbb1b8ecf672e0b7229c7f385cbe7467b3d60f98d0fdf96d50fb476cbf7d5952d16750294d47addfcbbbd3456ae99 kde.pam -41dbf4c4e31d3139fcea3d27c459e013c045a73e35b1dc3534791705a18ec30b3659ba734258313eff407bf9c803845f609e1426d09df78a1ee578dff10c210f kde-np.pam -91e19415db832a67dcf9494af869c07f5cbfe8e16a74f3857c2b1940a17a1317c1b074446428f5f5d7b5aaf10eee8274e3b9df02935101d7fc73d8e01dc03e76 kscreensaver.pam" diff --git a/unmaintained/kde-workspace/fix-headers-4.11.11.patch b/unmaintained/kde-workspace/fix-headers-4.11.11.patch deleted file mode 100644 index 32813a0cb0..0000000000 --- a/unmaintained/kde-workspace/fix-headers-4.11.11.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- kde-workspace-4.11.11/ksysguard/ksysguardd/Linux/netstat.c.orig -+++ kde-workspace-4.11.11/ksysguard/ksysguardd/Linux/netstat.c -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - - #include "ksysguardd.h" - #include "Command.h" diff --git a/unmaintained/kde-workspace/kde-np.pam b/unmaintained/kde-workspace/kde-np.pam deleted file mode 100644 index 022ebf024f..0000000000 --- a/unmaintained/kde-workspace/kde-np.pam +++ /dev/null @@ -1,10 +0,0 @@ -#%PAM-1.0 -auth requisite pam_nologin.so -auth required pam_env.so - -auth required pam_succeed_if.so uid >= 1000 quiet -auth required pam_permit.so - -account include system-account -password include system-password -session include system-session diff --git a/unmaintained/kde-workspace/kde-workspace.pre-install b/unmaintained/kde-workspace/kde-workspace.pre-install deleted file mode 100644 index a54f3ada6f..0000000000 --- a/unmaintained/kde-workspace/kde-workspace.pre-install +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -name=kdm - -addgroup -S $name 2>/dev/null -adduser -S -D -H -h /var/run/kdm -s /bin/false -G $name -g $name $name 2>/dev/null - -exit 0 diff --git a/unmaintained/kde-workspace/kde.pam b/unmaintained/kde-workspace/kde.pam deleted file mode 100644 index a723cbdecd..0000000000 --- a/unmaintained/kde-workspace/kde.pam +++ /dev/null @@ -1,10 +0,0 @@ -#%PAM-1.0 -auth requisite pam_nologin.so -auth required pam_env.so - -auth required pam_succeed_if.so uid >= 1000 quiet -auth include system-auth - -account include system-account -password include system-password -session include system-session diff --git a/unmaintained/kde-workspace/kdm.initd b/unmaintained/kde-workspace/kdm.initd deleted file mode 100755 index b32a804d32..0000000000 --- a/unmaintained/kde-workspace/kdm.initd +++ /dev/null @@ -1,10 +0,0 @@ -#!/sbin/runscript - -depends() { - needs localmount dbus -} - -description="K Display Manager" -command="/usr/bin/kdm -nodaemon" -pidfile="/var/run/kdm.pid" - diff --git a/unmaintained/kde-workspace/kscreensaver.pam b/unmaintained/kde-workspace/kscreensaver.pam deleted file mode 100644 index 3bd270ad51..0000000000 --- a/unmaintained/kde-workspace/kscreensaver.pam +++ /dev/null @@ -1,3 +0,0 @@ -#%PAM-1.0 -auth include system-auth -account include system-account diff --git a/unmaintained/kde-workspace/uint-fadeeffect-4.11.11.patch b/unmaintained/kde-workspace/uint-fadeeffect-4.11.11.patch deleted file mode 100644 index f4f5f48686..0000000000 --- a/unmaintained/kde-workspace/uint-fadeeffect-4.11.11.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- kde-workspace-4.11.11/ksmserver/fadeeffect.cpp.orig -+++ kde-workspace-4.11.11/ksmserver/fadeeffect.cpp -@@ -237,7 +237,7 @@ - __m128i *result, uint length) - { - length = (length + 15) >> 4; -- register const __m128i alpha = _mm_set1_epi16(__uint16_t (a)); -+ register const __m128i alpha = _mm_set1_epi16(uint16_t (a)); - register const __m128i negalpha = _mm_xor_si128(alpha, _mm_set1_epi16 (0x00ff)); - - for (uint i = 0; i < length; i++) diff --git a/unmaintained/kdegraphics-mobipocket/APKBUILD b/unmaintained/kdegraphics-mobipocket/APKBUILD deleted file mode 100644 index 72a331e273..0000000000 --- a/unmaintained/kdegraphics-mobipocket/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=kdegraphics-mobipocket -pkgver=4.13.3 -pkgrel=0 -pkgdesc="A collection of plugins to handle mobipocket files" -url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket" -arch="all" -license="FDL GPL LGPL" -depends= -depends_dev="kdelibs-dev" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="${pkgname}-dev" -source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DKDE4_BUILD_TESTS=OFF \ - -Wno-dev "$_builddir" || return 1 - make || return 1 - -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 - -} - -md5sums="1ded7de3d63da20a4343e29c5d068a18 kdegraphics-mobipocket-4.13.3.tar.xz" -sha256sums="ceebf07bd3f2f55e2f790e5390f13f737cf75dbfdcec671f954d3876a1b09e1f kdegraphics-mobipocket-4.13.3.tar.xz" -sha512sums="49ec418c7c1597d4ce125b0311e6386101ee2cdafc1978cadb36203ad73abd91987ac4461c334db99f42b20244515af68dae2ca0c1f097f5126fff529294e2ba kdegraphics-mobipocket-4.13.3.tar.xz" diff --git a/unmaintained/kfilemetadata/APKBUILD b/unmaintained/kfilemetadata/APKBUILD deleted file mode 100644 index 56e3b564a7..0000000000 --- a/unmaintained/kfilemetadata/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Łukasz Jendrysik -# Contributor: k0r10n -# Maintainer: -pkgname=kfilemetadata -pkgver=4.13.3 -pkgrel=1 -pkgdesc="A library for extracting file metadata" -url="https://projects.kde.org/projects/kde/kdelibs/kfilemetadata" -arch="all" -license="LGPL" -depends= -depends_dev="kdegraphics-mobipocket-dev ebook-tools-dev - poppler-qt4-dev taglib-dev extra-cmake-modules - ffmpeg-dev" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="$pkgname-dev" -source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="7456cdbe4a3986ed75706049d2c36c2b kfilemetadata-4.13.3.tar.xz" -sha256sums="0777d591dd4328f83bdede9764fe7d70923baed0ccad779d9cc3aaddaefef4cf kfilemetadata-4.13.3.tar.xz" -sha512sums="e8fdb7699c37af227db14e55696fb3b4f012e9f1f3cceec988b52f9f4b9d6406ffc340f60a00ce144764a9fce57d1052979b94bf19ccb3da56495c76a1f10381 kfilemetadata-4.13.3.tar.xz" diff --git a/unmaintained/kismet/APKBUILD b/unmaintained/kismet/APKBUILD deleted file mode 100644 index 86a2d9ae79..0000000000 --- a/unmaintained/kismet/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=kismet -pkgver=2013.03_p1 -_ver=${pkgver/_p/-R}; -_ver=${_ver/./-} -_rev=b -pkgrel=0 -pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system" -url="http://www.kismetwireless.net" -arch="all" -license="GPL" -depends_dev="libpcap-dev libnl-dev pcre-dev ncurses-dev openssl-dev bluez-dev" -makedepends="$depends_dev" -install="" -pkggroups="kismet" -subpackages="$pkgname-doc" -source="http://www.kismetwireless.net/code/kismet-${_ver}${_rev}.tar.gz" -_builddir="${srcdir}"/$pkgname-${_ver}${_rev} -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc/kismet \ - --localstatedir=/var - make dep || return 1 - make || return 1 - make plugins || return 1 -} -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - make plugins-install DESTDIR="$pkgdir" || return 1 - install -o "root" -g "root" -m 4550 kismet_capture "${pkgdir}/usr/bin/" - mkdir -p "$pkgdir"/etc/kismet - install -m644 -D "$_builddir"/conf/kismet.conf "$pkgdir"/etc/kismet/kismet.conf - chown root:kismet "$pkgdir"/usr/bin/kismet_capture - chmod 4550 "$pkgdir"/usr/bin/kismet_capture -} -md5sums="6cdcd78baf2e15edbe8a9de3c5493f02 kismet-2013-03-R1b.tar.gz" -sha256sums="c0bb8a8f47061e2ffc965b0557bab9a1b3d63b5a50b744663f66518aec7fbc77 kismet-2013-03-R1b.tar.gz" -sha512sums="9a6a04f1d6da5ba5aee17806e318b3a7b5ce72c4493e7e4d2f23ed33c4d4190f4bfde97070d58cbde4e4c7c548dc7d6c7cad13d0f15119e2b0f961cdd67d08fd kismet-2013-03-R1b.tar.gz" diff --git a/unmaintained/klavaro/APKBUILD b/unmaintained/klavaro/APKBUILD deleted file mode 100644 index 2879c89af0..0000000000 --- a/unmaintained/klavaro/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Fabio Riga -# Maintainer: -pkgname=klavaro -pkgver=3.01 -pkgrel=0 -pkgdesc="Free touch typing tutor program" -url="http://klavaro.sourceforge.net/" -arch="all" -license="GPL2" -depends="curl gtk+3.0 hicolor-icon-theme" -depends_dev="" -makedepends="intltool gtk+3.0-dev curl-dev" -install="$pkgname.post-install" -subpackages="$pkgname-lang $pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 configure.patch" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - # remove the gtkdatabox shared library - # klavaro links to it statically due to some incompatibility with GTK3 - rm -r "$pkgdir/usr/lib" -} - -md5sums="53e2824ccc89f70dd7dca4d52ccf9c0e klavaro-3.01.tar.bz2 -a86abf4ec807a463aff04013c5d11203 configure.patch" -sha256sums="ed71d522c29113d5d6517a65cbf95dafbe85ca4bb978139b804b98f128015e85 klavaro-3.01.tar.bz2 -82b75b852f8ca40c5feeba25f16343e66552790373b45f7970d2c0b45bae48da configure.patch" -sha512sums="5d58269867d2b39309e07ca9dd6c525d67acaca93dea0010332e39e8f3dd444070dbc75abad00ac4ca3fd4155f41cf871cb8ccee3dc332aa31f85c8b17d7c48b klavaro-3.01.tar.bz2 -19bd10345e912dc5ba0ed95bcb554289d83f0252076322a011932bbd678c9298237828a0e5fb2e508c4aa430229444ccf5a26fb766c7cef8e8c98b02ce5e2a2b configure.patch" diff --git a/unmaintained/klavaro/configure.patch b/unmaintained/klavaro/configure.patch deleted file mode 100644 index 18224512fa..0000000000 --- a/unmaintained/klavaro/configure.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- klavaro-3.01/configure.orig 2014-09-08 14:15:34.000000000 +0200 -+++ klavaro-3.01/configure 2015-02-26 16:35:25.957494496 +0100 -@@ -13088,24 +13088,7 @@ extern int _nl_msg_cat_cntr; - return 0; - } - _ACEOF --if ac_fn_c_try_link "$LINENO"; then : -- DATADIRNAME=share --else -- case $host in -- *-*-solaris*) -- ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" --if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : -- DATADIRNAME=share --else -- DATADIRNAME=lib --fi -- -- ;; -- *) -- DATADIRNAME=lib -- ;; -- esac --fi -+DATADIRNAME=share - rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - fi diff --git a/unmaintained/klavaro/klavaro.post-install b/unmaintained/klavaro/klavaro.post-install deleted file mode 100644 index 0c64f0e088..0000000000 --- a/unmaintained/klavaro/klavaro.post-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -gtk-update-icon-cache -f /usr/share/icons/hicolor/ diff --git a/unmaintained/kmix/APKBUILD b/unmaintained/kmix/APKBUILD deleted file mode 100644 index a725c643c9..0000000000 --- a/unmaintained/kmix/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=kmix -pkgver=4.13.3 -pkgrel=0 -pkgdesc="Mixer for KDE" -url="http://kde.org/applications/multimedia/kmix/" -arch="all" -license="GPL" -depends="" -depends_dev="kdelibs-dev libcanberra-dev" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="$pkgname-doc" -source="http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir "$_builddir"/build || return 1 -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DKDE4_BUILD_TESTS=OFF \ - -Wno-dev \ - "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="9df8965b7a514a679863a5a7917e40ec kmix-4.13.3.tar.xz" -sha256sums="38dfca73cc303e9448eea046f20e04e59ae97e1d7f8b71b41f9f049b1dee232f kmix-4.13.3.tar.xz" -sha512sums="3e19853f8cf6c95bb33aa5b572b212fbbc3d19a4f66376ffafc653d452dd8934d34253e986a28f5608d3a85477652df18c72a524c2565a38ce1fc69b0fff2a7d kmix-4.13.3.tar.xz" diff --git a/unmaintained/kodi-platform/APKBUILD b/unmaintained/kodi-platform/APKBUILD deleted file mode 100644 index e6d6fadbf9..0000000000 --- a/unmaintained/kodi-platform/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=kodi-platform -pkgver=20150323 -_git_hash=68315f04d8a7c3bc4833af7bd56f5b7d905d351d -pkgrel=0 -pkgdesc="Kodi platform support library" -url="https://github.com/xbmc/kodi-platform" -arch="x86 x86_64" -license="GPL" -depends="" -depends_dev="kodi-dev tinyxml-dev" -makedepends="$depends_dev cmake" -install="" -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/xbmc/kodi-platform/archive/$_git_hash.tar.gz - check-for-glibc.patch" - -_builddir="$srcdir"/$pkgname-$_git_hash - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib \ - -DCMAKE_BUILD_TYPE=Release \ - . || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="3d69fa19f6db79283afb56eb6b16f367 kodi-platform-20150323.tar.gz -1d1510ec5caca1b87a7e83e5b903dccb check-for-glibc.patch" -sha256sums="38b26976f9ee711dce7257d3dcdc6862f31ad52f3d181b91a8f7bc04439d4d31 kodi-platform-20150323.tar.gz -d9f4f57c1f48f1ff2df45597e2052190acc5ff8febdeb77973fdca049b128a3f check-for-glibc.patch" -sha512sums="b730c14aa96aac4b58d433175c3e30056944dabb946946566df820dfa80d27c7999098719a1cbb82d12bebb577eb89b2540391a175af4cf2f69bffce9c8baa7a kodi-platform-20150323.tar.gz -7189b9dc2fbcd8a003cf031b130b8d96226432237a80c6fdf24d6f238dcac8de886bc5ec39227dcf66efd4be201f13471ca300246ade8581ed3f6e7356850a0c check-for-glibc.patch" diff --git a/unmaintained/kodi-platform/check-for-glibc.patch b/unmaintained/kodi-platform/check-for-glibc.patch deleted file mode 100644 index 76c03840c2..0000000000 --- a/unmaintained/kodi-platform/check-for-glibc.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/posix/serialport.cpp.orig -+++ b/src/posix/serialport.cpp -@@ -37,7 +37,7 @@ - #include "../util/baudrate.h" - #include "../posix/os-socket.h" - --#if defined(__APPLE__) || defined(__FreeBSD__) -+#ifndef __GLIBC__ - #ifndef XCASE - #define XCASE 0 - #endif diff --git a/unmaintained/kodi-pvr-addons/APKBUILD b/unmaintained/kodi-pvr-addons/APKBUILD deleted file mode 100644 index 8583228488..0000000000 --- a/unmaintained/kodi-pvr-addons/APKBUILD +++ /dev/null @@ -1,87 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=kodi-pvr-addons -pkgver=20150322 -_git_hash=c2f8ea7223e2879c934c4c06b025313e418587c7 -pkgrel=0 -pkgdesc="XBMC PVR add-ons" -url="https://github.com/opdenkamp/xbmc-pvr-addons" -arch="all" -license="GPL" -depends="$pkgname-hts $pkgname-argustv $pkgname-demo $pkgname-dvbviewer - $pkgname-hts $pkgname-mediaportal $pkgname-nextpvr $pkgname-njoy - $pkgname-vdr $pkgname-vuplus $pkgname-mythtv" -depends_dev="mariadb-dev boost-dev" -makedepends="$depends_dev autoconf automake libtool bsd-compat-headers" -install="" -subpackages="$pkgname-argustv:argustv $pkgname-demo:demo - $pkgname-dvbviewer:dvbviewer $pkgname-hts:hts $pkgname-mythtv:mythtv - $pkgname-mediaportal:mediaportal $pkgname-nextpvr:nextpvr - $pkgname-njoy:njoy $pkgname-vdr:vdr $pkgname-vuplus:vuplus - $pkgname-iptvsimple:iptvsimple $pkgname-dvblink:dvblink $pkgname-wmc:wmc" -source="$pkgname-$pkgver.tar.gz::https://github.com/opdenkamp/xbmc-pvr-addons/archive/$_git_hash.tar.gz" - -_builddir="$srcdir/xbmc-pvr-addons-$_git_hash" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./bootstrap || return 1 - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-addons-with-dependencies \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -_mv_addon() { - local ext=$1 - pkgdesc="${ext} addon for XBMC" - depends= - mkdir -p "$subpkgdir"/usr/lib/kodi/addons \ - "$subpkgdir"/usr/share/kodi/addons - mv "$pkgdir"/usr/lib/kodi/addons/$ext \ - "$subpkgdir"/usr/lib/kodi/addons - mv "$pkgdir"/usr/share/kodi/addons/$ext \ - "$subpkgdir"/usr/share/kodi/addons -} - -argustv() { _mv_addon pvr.argustv; } -demo() { _mv_addon pvr.demo; } -dvbviewer() { _mv_addon pvr.dvbviewer; } -hts() { _mv_addon pvr.hts; } -mediaportal() { _mv_addon pvr.mediaportal.tvserver; } -nextpvr() { _mv_addon pvr.nextpvr; } -njoy() { _mv_addon pvr.njoy; } -vdr() { _mv_addon pvr.vdr.vnsi; } -vuplus() { _mv_addon pvr.vuplus; } -mythtv() { _mv_addon pvr.mythtv; } -nextpvr() { _mv_addon pvr.nextpvr; } -dvblink() { _mv_addon pvr.dvblink; } -iptvsimple() { _mv_addon pvr.iptvsimple; } -njoy() { _mv_addon pvr.njoy; } -wmc() { _mv_addon pvr.wmc; } - -md5sums="997d11e72f50636ffd6eb8386951498d kodi-pvr-addons-20150322.tar.gz" -sha256sums="0ae4e4f86889cb1a4aba2a850b1ca89bc776c2746cdb0cc1040eb7625c1f6a25 kodi-pvr-addons-20150322.tar.gz" -sha512sums="e74a9068ca0c9cf95724f7af4de4d10d872da31f6877b67b91a0ce4dd7c55fcb682a1822507159abc9f3119c864fa7a36a9214173dc1ce7b1c582419daf2f2f3 kodi-pvr-addons-20150322.tar.gz" diff --git a/unmaintained/kyotocabinet/APKBUILD b/unmaintained/kyotocabinet/APKBUILD deleted file mode 100644 index 1ebbf935f8..0000000000 --- a/unmaintained/kyotocabinet/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: -pkgname=kyotocabinet -pkgver=1.2.76 -pkgrel=0 -pkgdesc="A straightforward implementation of DBM" -url="http://fallabs.com/kyotocabinet/" -arch="all" -license="GPLv3" -depends="" -depends_dev="" -makedepends="$depends_dev zlib-dev lzo-dev xz-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" -source="http://fallabs.com/kyotocabinet/pkg/kyotocabinet-$pkgver.tar.gz - kyotocabinet-1.2.76-8-byte-atomics.patch - " - -_builddir="$srcdir"/kyotocabinet-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="b925d369d7ed4a37cf0013409046738c kyotocabinet-1.2.76.tar.gz -bb24d2950afee01e8933d87d5ca683e4 kyotocabinet-1.2.76-8-byte-atomics.patch" -sha256sums="812a2d3f29c351db4c6f1ff29d94d7135f9e601d7cc1872ec1d7eed381d0d23c kyotocabinet-1.2.76.tar.gz -2ffa53de979c5a9bde3b147a6842482ba102ada77d134b6f503297350882883e kyotocabinet-1.2.76-8-byte-atomics.patch" -sha512sums="278db7b327eb4c21bf0137d9aa14fb67d74d5ce7ed1cb29fc9120d157a60de165ec0cf842903eb7952e8f998045ae585b958977fa973ba0e0773381de71d9f6a kyotocabinet-1.2.76.tar.gz -cac619578fa354052976a286f6b3630c52eeb41350cc2bf72227b53a759b982c8dc5ddf9a558cd74441830d9ec544edafbd138295522fe1ad239c8a3d0862730 kyotocabinet-1.2.76-8-byte-atomics.patch" diff --git a/unmaintained/kyotocabinet/kyotocabinet-1.2.76-8-byte-atomics.patch b/unmaintained/kyotocabinet/kyotocabinet-1.2.76-8-byte-atomics.patch deleted file mode 100644 index f9417e93c4..0000000000 --- a/unmaintained/kyotocabinet/kyotocabinet-1.2.76-8-byte-atomics.patch +++ /dev/null @@ -1,74 +0,0 @@ -Patch by Shawn Landden for kyotocabinet >= 1.2.76, which fixes -the configure test to handle lack of 8 byte atomics correctly as is the case with ARM 32 -bit on all Fedora releases, Intel 32 bit on RHEL 5 and PowerPC 32 bit on RHEL 5 and all -Fedora releases. - ---- kyotocabinet-1.2.76/configure.in 2012-05-24 13:31:42.000000000 +0200 -+++ kyotocabinet-1.2.76/configure.in.8-byte-atomics 2013-03-01 00:21:21.000000000 +0100 -@@ -238,9 +238,22 @@ - # Atomic operations - if test "$enable_atomic" != "no" - then -- printf 'checking for atomic operations... ' -- AC_TRY_COMPILE([], [__sync_fetch_and_add], [MYGCCATOMIC=yes], [MYGCCATOMIC=no]) -- if test "$MYGCCATOMIC" = "yes" -+ printf 'checking for 8 byte atomic operations... ' -+ if printf ' -+/* Some targets support 4 byte atomics, but not 8 byte atomics, -+ * and will fail at link time if they are used. -+ * -+ * http://gcc.gnu.org/onlinedocs/gcc-4.6.3/gcc/Atomic-Builtins.html -+ * http://gcc.gnu.org/wiki/Atomic -+ */ -+#include -+int -+main () -+{ -+uint64_t n = 0xdeadbeaf; -+__sync_bool_compare_and_swap(&n, 0xdeadbeaf, 0); -+return n; -+}' | $CC -xc -o config.tmp - >/dev/null 2>&1 - then - MYCPPFLAGS="$MYCPPFLAGS -D_MYGCCATOMIC" - printf 'yes\n' ---- kyotocabinet-1.2.76/configure 2012-05-24 13:31:45.000000000 +0200 -+++ kyotocabinet-1.2.76/configure.8-byte-atomics 2013-03-01 00:22:37.000000000 +0100 -@@ -4012,25 +4012,22 @@ - # Atomic operations - if test "$enable_atomic" != "no" - then -- printf 'checking for atomic operations... ' -- cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ -- -+ printf 'checking for 8 byte atomic operations... ' -+ if printf ' -+/* Some targets support 4 byte atomics, but not 8 byte atomics, -+ * and will fail at link time if they are used. -+ * -+ * http://gcc.gnu.org/onlinedocs/gcc-4.6.3/gcc/Atomic-Builtins.html -+ * http://gcc.gnu.org/wiki/Atomic -+ */ -+#include - int - main () - { --__sync_fetch_and_add -- ; -- return 0; --} --_ACEOF --if ac_fn_cxx_try_compile "$LINENO"; then : -- MYGCCATOMIC=yes --else -- MYGCCATOMIC=no --fi --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -- if test "$MYGCCATOMIC" = "yes" -+uint64_t n = 0xdeadbeaf; -+__sync_bool_compare_and_swap(&n, 0xdeadbeaf, 0); -+return n; -+}' | $CC -xc -o config.tmp - >/dev/null 2>&1 - then - MYCPPFLAGS="$MYCPPFLAGS -D_MYGCCATOMIC" - printf 'yes\n' diff --git a/unmaintained/kyototycoon/APKBUILD b/unmaintained/kyototycoon/APKBUILD deleted file mode 100644 index e67b555f65..0000000000 --- a/unmaintained/kyototycoon/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: -pkgname=kyototycoon -pkgver=0.9.56 -pkgrel=0 -pkgdesc="a leightweight cache/storage server" -url="http://fallabs.com/kyototycoon/" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev lua5.1-dev zlib-dev kyotocabinet-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" -source="http://fallabs.com/kyototycoon/pkg/kyototycoon-$pkgver.tar.gz - musl-header-fix.patch - " - -_builddir="$srcdir"/kyototycoon-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --libexecdir=/usr/lib/kyototycoon \ - --disable-static \ - --enable-lua \ - --with-lua=/usr/lua5.1 \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="2e95a4681f6d05f9e363985fbb933948 kyototycoon-0.9.56.tar.gz -765f21d0bdad8b07c283330bc460693d musl-header-fix.patch" -sha256sums="553e4ea83237d9153cc5e17881092cefe0b224687f7ebcc406b061b2f31c75c6 kyototycoon-0.9.56.tar.gz -78b17a2fad4f065bbf7d8b3e1636ab5fed0ca30990b2ebd9393c60d77f2b13e9 musl-header-fix.patch" -sha512sums="7722297287194d67dfaae9e7595439274d7639d139a954eb8dee4a5e6d019e8a1da3773b538e80244eb97b867f0b6d0db592fa66fdbb2bd8d9358a6acd82cd4c kyototycoon-0.9.56.tar.gz -2953c5f3b9cc4ef54d14fa9481b9c4085fd1bb200d03c60582ec947329ecb0da696c164d74e88aa1a766b9475f0ab3c98b17ab18998286de6f3730513255ed0a musl-header-fix.patch" diff --git a/unmaintained/kyototycoon/musl-header-fix.patch b/unmaintained/kyototycoon/musl-header-fix.patch deleted file mode 100644 index 75edaef889..0000000000 --- a/unmaintained/kyototycoon/musl-header-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./ktdbext.h.orig -+++ ./ktdbext.h -@@ -16,6 +16,8 @@ - #ifndef _KTDBEXT_H // duplication check - #define _KTDBEXT_H - -+#include -+ - #include - #include - #include diff --git a/unmaintained/ladspa/0001-proper-build.patch b/unmaintained/ladspa/0001-proper-build.patch deleted file mode 100644 index fa3a6c43ee..0000000000 --- a/unmaintained/ladspa/0001-proper-build.patch +++ /dev/null @@ -1,111 +0,0 @@ -From b87125e3eeb3e3446f80566083e5d66e7a667567 Mon Sep 17 00:00:00 2001 -From: Natanael Copa -Date: Sat, 4 Feb 2012 21:22:13 +0000 -Subject: [PATCH 1/3] proper build - ---- - src/makefile | 50 +++++++++++++++++++++++++++++--------------------- - 1 files changed, 29 insertions(+), 21 deletions(-) - -diff --git a/src/makefile b/src/makefile -index 886237f..10ce82d 100644 ---- a/src/makefile -+++ b/src/makefile -@@ -13,10 +13,12 @@ INSTALL_BINARY_DIR = /usr/bin/ - # GENERAL - # - -+CFLAGS ?= -Wall -Werror -O3 -+CXXFLAGS ?= -Wall -Werror -O3 -+ - INCLUDES = -I. --LIBRARIES = -ldl -lm --CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC --CXXFLAGS = $(CFLAGS) -+DYNAMIC_LD_LIBS = -ldl -+LIBRARIES = $(DYNAMIC_LD_LIBS) -lm - PLUGINS = ../plugins/amp.so \ - ../plugins/delay.so \ - ../plugins/filter.so \ -@@ -25,21 +27,27 @@ PLUGINS = ../plugins/amp.so \ - PROGRAMS = ../bin/analyseplugin \ - ../bin/applyplugin \ - ../bin/listplugins --CC = cc --CPP = c++ -+CC ?= cc -+CXX ?= c++ -+MKDIR_P ?= mkdir -p - - ############################################################################### - # - # RULES TO BUILD PLUGINS FROM C OR C++ CODE - # - -+LDFLAGS_filter = -lm -+ - ../plugins/%.so: plugins/%.c ladspa.h -- $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c -- $(LD) -o ../plugins/$*.so plugins/$*.o -shared -+ $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c -+ $(CC) $(CFLAGS) $(LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared $(LDFLAGS_$*) - - ../plugins/%.so: plugins/%.cpp ladspa.h -- $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp -- $(CPP) -o ../plugins/$*.so plugins/$*.o -shared -+ $(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp -+ $(CXX) $(LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared $(LDFLAGS_$*) -+ -+%.o: %.c -+ $(CC) $(CFLAGS) -DPLUGINDIR=\"$(INSTALL_PLUGINS_DIR)\" -c $< - - ############################################################################### - # -@@ -59,12 +67,12 @@ test: /tmp/test.wav ../snd/noise.wav always - @echo Test complete. - - install: targets -- -mkdirhier $(INSTALL_PLUGINS_DIR) -- -mkdirhier $(INSTALL_INCLUDE_DIR) -- -mkdirhier $(INSTALL_BINARY_DIR) -- cp ../plugins/* $(INSTALL_PLUGINS_DIR) -- cp ladspa.h $(INSTALL_INCLUDE_DIR) -- cp ../bin/* $(INSTALL_BINARY_DIR) -+ -$(MKDIR_P) $(DESTDIR)$(INSTALL_PLUGINS_DIR) -+ -$(MKDIR_P) $(DESTDIR)$(INSTALL_INCLUDE_DIR) -+ -$(MKDIR_P) $(DESTDIR)$(INSTALL_BINARY_DIR) -+ cp ../plugins/* $(DESTDIR)$(INSTALL_PLUGINS_DIR) -+ cp ladspa.h $(DESTDIR)$(INSTALL_INCLUDE_DIR) -+ cp ../bin/* $(DESTDIR)$(INSTALL_BINARY_DIR) - - /tmp/test.wav: targets ../snd/noise.wav - ../bin/listplugins -@@ -90,19 +98,19 @@ targets: $(PLUGINS) $(PROGRAMS) - # - - ../bin/applyplugin: applyplugin.o load.o default.o -- $(CC) $(CFLAGS) $(LIBRARIES) \ -+ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ - -o ../bin/applyplugin \ -- applyplugin.o load.o default.o -+ applyplugin.o load.o default.o $(LIBRARIES) - - ../bin/analyseplugin: analyseplugin.o load.o default.o -- $(CC) $(CFLAGS) $(LIBRARIES) \ -+ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ - -o ../bin/analyseplugin \ -- analyseplugin.o load.o default.o -+ analyseplugin.o load.o default.o $(LIBRARIES) - - ../bin/listplugins: listplugins.o search.o -- $(CC) $(CFLAGS) $(LIBRARIES) \ -+ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \ - -o ../bin/listplugins \ -- listplugins.o search.o -+ listplugins.o search.o $(LIBRARIES) - - ############################################################################### - # --- -1.7.9 - diff --git a/unmaintained/ladspa/0002-plugin-constructor-destructor.patch b/unmaintained/ladspa/0002-plugin-constructor-destructor.patch deleted file mode 100644 index f0061e823d..0000000000 --- a/unmaintained/ladspa/0002-plugin-constructor-destructor.patch +++ /dev/null @@ -1,119 +0,0 @@ -From d281f99e3776027e98f3b9d952fad0d456a75b8a Mon Sep 17 00:00:00 2001 -From: Natanael Copa -Date: Sat, 4 Feb 2012 22:04:33 +0000 -Subject: [PATCH 2/3] plugin constructor destructor - ---- - src/plugins/amp.c | 8 ++++---- - src/plugins/delay.c | 8 ++++---- - src/plugins/filter.c | 8 ++++---- - src/plugins/noise.c | 8 ++++---- - 4 files changed, 16 insertions(+), 16 deletions(-) - -diff --git a/src/plugins/amp.c b/src/plugins/amp.c -index b6d2345..a447fa1 100644 ---- a/src/plugins/amp.c -+++ b/src/plugins/amp.c -@@ -152,8 +152,8 @@ LADSPA_Descriptor * g_psStereoDescriptor = NULL; - - /* _init() is called automatically when the plugin library is first - loaded. */ --void --_init() { -+void __attribute__ ((constructor)) -+my_init() { - - char ** pcPortNames; - LADSPA_PortDescriptor * piPortDescriptors; -@@ -335,8 +335,8 @@ deleteDescriptor(LADSPA_Descriptor * psDescriptor) { - /*****************************************************************************/ - - /* _fini() is called automatically when the library is unloaded. */ --void --_fini() { -+void __attribute__ ((destructor)) -+my_fini() { - deleteDescriptor(g_psMonoDescriptor); - deleteDescriptor(g_psStereoDescriptor); - } -diff --git a/src/plugins/delay.c b/src/plugins/delay.c -index 8b03979..22e477b 100644 ---- a/src/plugins/delay.c -+++ b/src/plugins/delay.c -@@ -228,8 +228,8 @@ LADSPA_Descriptor * g_psDescriptor = NULL; - - /* _init() is called automatically when the plugin library is first - loaded. */ --void --_init() { -+void __attribute__ ((constructor)) -+my_init() { - - char ** pcPortNames; - LADSPA_PortDescriptor * piPortDescriptors; -@@ -322,8 +322,8 @@ _init() { - /*****************************************************************************/ - - /* _fini() is called automatically when the library is unloaded. */ --void --_fini() { -+void __attribute__ ((destructor)) -+my_fini() { - long lIndex; - if (g_psDescriptor) { - free((char *)g_psDescriptor->Label); -diff --git a/src/plugins/filter.c b/src/plugins/filter.c -index 3f50457..06f7bc6 100644 ---- a/src/plugins/filter.c -+++ b/src/plugins/filter.c -@@ -252,8 +252,8 @@ LADSPA_Descriptor * g_psHPFDescriptor = NULL; - - /* _init() is called automatically when the plugin library is first - loaded. */ --void --_init() { -+void __attribute__ ((constructor)) -+my_init() { - - char ** pcPortNames; - LADSPA_PortDescriptor * piPortDescriptors; -@@ -431,8 +431,8 @@ deleteDescriptor(LADSPA_Descriptor * psDescriptor) { - /*****************************************************************************/ - - /* _fini() is called automatically when the library is unloaded. */ --void --_fini() { -+void __attribute__ ((destructor)) -+my_fini() { - deleteDescriptor(g_psLPFDescriptor); - deleteDescriptor(g_psHPFDescriptor); - } -diff --git a/src/plugins/noise.c b/src/plugins/noise.c -index 0fdd938..de6fc81 100644 ---- a/src/plugins/noise.c -+++ b/src/plugins/noise.c -@@ -142,8 +142,8 @@ LADSPA_Descriptor * g_psDescriptor; - - /* _init() is called automatically when the plugin library is first - loaded. */ --void --_init() { -+void __attribute__ ((constructor)) -+my_init() { - - char ** pcPortNames; - LADSPA_PortDescriptor * piPortDescriptors; -@@ -219,8 +219,8 @@ _init() { - /*****************************************************************************/ - - /* _fini() is called automatically when the library is unloaded. */ --void --_fini() { -+void __attribute__ ((destructor)) -+my_fini() { - long lIndex; - if (g_psDescriptor) { - free((char *)g_psDescriptor->Label); --- -1.7.9 - diff --git a/unmaintained/ladspa/0003-plugindir.patch b/unmaintained/ladspa/0003-plugindir.patch deleted file mode 100644 index bd78ee51fc..0000000000 --- a/unmaintained/ladspa/0003-plugindir.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 8e18df685c5fe747c6d250460d265a402f7900b1 Mon Sep 17 00:00:00 2001 -From: Natanael Copa -Date: Sat, 4 Feb 2012 22:05:24 +0000 -Subject: [PATCH 3/3] plugindir - ---- - src/load.c | 2 ++ - src/search.c | 5 +---- - 2 files changed, 3 insertions(+), 4 deletions(-) - -diff --git a/src/load.c b/src/load.c -index c2a5aa7..e221c10 100644 ---- a/src/load.c -+++ b/src/load.c -@@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, int iFlag) { - to search. */ - - pcLADSPAPath = getenv("LADSPA_PATH"); -+ if (! pcLADSPAPath) -+ pcLADSPAPath = PLUGINDIR; - - if (pcLADSPAPath) { - -diff --git a/src/search.c b/src/search.c -index 0006712..a6b2e78 100644 ---- a/src/search.c -+++ b/src/search.c -@@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCallbackFunction fCallbackFunction) { - - pcLADSPAPath = getenv("LADSPA_PATH"); - if (!pcLADSPAPath) { -- fprintf(stderr, -- "Warning: You do not have a LADSPA_PATH " -- "environment variable set.\n"); -- return; -+ pcLADSPAPath = PLUGINDIR; - } - - pcStart = pcLADSPAPath; --- -1.7.9 - diff --git a/unmaintained/ladspa/APKBUILD b/unmaintained/ladspa/APKBUILD deleted file mode 100644 index 573bccf9fd..0000000000 --- a/unmaintained/ladspa/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=ladspa -pkgver=1.13 -pkgrel=0 -pkgdesc="Linux Audio Developer's Simple Plug-in API, examples and tools" -url="http://www.ladspa.org/" -arch="all" -license="LGPLv2+" -depends="" -makedepends="" -install="" -subpackages="$pkgname-dev" -source="http://www.ladspa.org/download/ladspa_sdk_$pkgver.tgz - 0001-proper-build.patch - 0002-plugin-constructor-destructor.patch - 0003-plugindir.patch - " - -_builddir="$srcdir"/ladspa_sdk -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -C src targets || return 1 -} - -package() { - cd "$_builddir" - make -C src install DESTDIR="$pkgdir" || return 1 -} - -md5sums="671be3e1021d0722cadc7fb27054628e ladspa_sdk_1.13.tgz -0e834af5f341081b772848ed3a753d5d 0001-proper-build.patch -4b5c8831519e7485f2dacc5663375872 0002-plugin-constructor-destructor.patch -95943ab38a96051ff4a6caf33182634c 0003-plugindir.patch" diff --git a/unmaintained/lam/APKBUILD b/unmaintained/lam/APKBUILD deleted file mode 100644 index c68c952395..0000000000 --- a/unmaintained/lam/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: Leonardo Arena -pkgname="lam" -_realname="ldap-account-manager" -pkgver="4.2" -pkgrel=1 -pkgdesc="PHP webfrontend for managing various account types in an LDAP directory in an abstract way" -url="https://www.ldap-account-manager.org" -arch="noarch" -license="GPL2" -depends="php php-ldap php-gettext php-json php-xml php-mcrypt php-zip" -depends_dev= -makedepends="$depends_dev" -install="$pkgname.post-install $pkgname.post-upgrade" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$_realname-$pkgver.tar.gz" - - -_builddir="$srcdir"/$_realname-$pkgver - -prepare() { - cd "$_builddir" - # patch -p1 < ../lam-change-config-file-location.patch || exit 1 -} - -build() { - return 0 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/etc/lam || exit 1 - mkdir -p "$pkgdir"/usr/share/webapps/lam || exit 1 - mkdir -p "$pkgdir"/usr/share/doc/lam || exit 1 - mv config/* "$pkgdir"/etc/lam || exit 1 - rm -rf config || exit 1 - ln -s /etc/lam "$pkgdir"/usr/share/webapps/lam/config || exit 1 - mv "$pkgdir"/etc/lam/config.cfg_sample "$pkgdir"/etc/lam/config.cfg || exit 1 - mv docs/* "$pkgdir"/usr/share/doc/lam || exit 1 - for file in COPYING VERSION HISTORY README - do - mv $file "$pkgdir"/usr/share/doc/lam || exit 1 - done - cp -r * "$pkgdir"/usr/share/webapps/lam || exit 1 -} - -md5sums="7a840a98c9aec2a9c21796f0491a6f21 ldap-account-manager-4.2.tar.gz" -sha256sums="992d05c3f05befdb2f36513e4674d67d1408a9249982a8526df4e710fc5c71e5 ldap-account-manager-4.2.tar.gz" -sha512sums="b0599578e58e801879128b511bcb0acd4c71a53d5134a13cf3397730042cc7d42adbdc6affa9be3dfdd20bc42ccfc27edc0ca64ec10cd80dfa91f5916af52ba8 ldap-account-manager-4.2.tar.gz" diff --git a/unmaintained/lam/lam-change-config-file-location.patch b/unmaintained/lam/lam-change-config-file-location.patch deleted file mode 100644 index 0061538c85..0000000000 --- a/unmaintained/lam/lam-change-config-file-location.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/lib/config.inc -+++ b/lib/config.inc -@@ -1386,7 +1386,7 @@ - * Loads preferences from config file - */ - function __construct() { -- $this->conffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/config.cfg"; -+ $this->conffile ="/etc/lam/config.cfg"; - // set default values - $this->sessionTimeout = 30; - $this->logLevel = LOG_NOTICE; diff --git a/unmaintained/lam/lam.post-install b/unmaintained/lam/lam.post-install deleted file mode 100755 index 2f02bd25d5..0000000000 --- a/unmaintained/lam/lam.post-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -echo "*" -echo "* Please give to the webserver user ownership permission to the following directories:" -echo "* /usr/share/webapps/lam/sess" -echo "* /usr/share/webapps/lam/tmp" -echo "* /etc/lam" -echo "*" diff --git a/unmaintained/lam/lam.post-upgrade b/unmaintained/lam/lam.post-upgrade deleted file mode 100755 index 2f02bd25d5..0000000000 --- a/unmaintained/lam/lam.post-upgrade +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -echo "*" -echo "* Please give to the webserver user ownership permission to the following directories:" -echo "* /usr/share/webapps/lam/sess" -echo "* /usr/share/webapps/lam/tmp" -echo "* /etc/lam" -echo "*" diff --git a/unmaintained/lbdb/APKBUILD b/unmaintained/lbdb/APKBUILD deleted file mode 100644 index e65bcfbb23..0000000000 --- a/unmaintained/lbdb/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -pkgname=lbdb -pkgver=0.39 -pkgrel=1 -pkgdesc="The little brother's database for the mutt mail reader" -arch='all' -url="http://www.spinnaker.de/lbdb/" -license="GPL" -depends='perl' -source="http://www.spinnaker.de/debian/${pkgname}_${pkgver}.tar.gz" -subpackages="$pkgname-doc" - -_builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --libdir=/usr/lib/lbdb \ - --sysconfdir=/etc/lbdb \ - || return 1 - make -} - -package() { - cd "$_builddir" - make install_prefix="$pkgdir" \ - sysconfdir=/etc/lbdb \ - libdir=/usr/lib/lbdb \ - install -} -md5sums="b4739fd4e331e41da8a634c24c98a2c8 lbdb_0.39.tar.gz" -sha256sums="4083ce4abde18ac949ca6eab453b3b7227a5aa2c737c9ad8ecbb0152fabfafc6 lbdb_0.39.tar.gz" -sha512sums="f37fd3261fa132d6320039f43765624d4eff3508e20f581688222ab9add4f3846c772fdc6d6bb936d572634b78bae0a2403c6bcf034ed19e2d54d95a744cba1e lbdb_0.39.tar.gz" diff --git a/unmaintained/libamz/APKBUILD b/unmaintained/libamz/APKBUILD deleted file mode 100644 index e7ba03378e..0000000000 --- a/unmaintained/libamz/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=libamz -pkgver=0.0.2 -pkgrel=1 -pkgdesc="library and tools for accessing amazon mp3 download queues" -url="http://nenolod.net/projects/libamz" -arch="all" -license="ISC" -depends= -makedepends="libgcrypt-dev libsoup-dev libxml2-dev gtk+-dev" -install= -subpackages="$pkgname-dev" -source="http://nenolod.net/~nenolod/distfiles/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - # workaround bug in busybox - sed -e "/touch/s/0001010000/200001010000/g" \ - -i configure -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="fcecea69be7b62aa6d31b80b23e8f0db libamz-0.0.2.tar.bz2" diff --git a/unmaintained/libavl/APKBUILD b/unmaintained/libavl/APKBUILD deleted file mode 100644 index e45ab3b867..0000000000 --- a/unmaintained/libavl/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=libavl -pkgver=0.3.5 -pkgrel=0 -pkgdesc="AVLTree is a small implementation of AVL trees" -url="http://ftp.debian.org/debian/pool/main/liba/libavl" -arch="all" -license="LGPL" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://libavl.sourcearchive.com/downloads/0.3.5-3/libavl_$pkgver.orig.tar.gz - libavl_0.3.5-3.patch" -_builddir="$srcdir/avl-$pkgver" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make prefix="$pkgdir" install || return 1 -} -md5sums="882c68ea7f71876ca110f3b84d7ab12d libavl_0.3.5.orig.tar.gz -71a9af7a70f37b1ac17a010872a47712 libavl_0.3.5-3.patch" -sha256sums="4497b9e22cdd61ae2fa893b9d5fd6213dc306726d7c4be08c29e173622dca8a0 libavl_0.3.5.orig.tar.gz -2784d360e5afae8b46104755f72d59317d997ac638b51bcffd1a2b70bf6894e9 libavl_0.3.5-3.patch" -sha512sums="6a409025eb4560961c35bf0d80deb592ada9b448c497955ec7662a478fc4cebfdd46b9f33db0c913af773614752444563d29cea4418f896eb2761a233ee64b6d libavl_0.3.5.orig.tar.gz -dd08c0bed82eefe304355f102d6b0c3a088cd199fcf3ca456a3c747d5da9059bc8621fab72db730d7fe67c52a51c01e7a0835107ef624db4e79a1c2a2e4c899d libavl_0.3.5-3.patch" diff --git a/unmaintained/libavl/libavl_0.3.5-3.patch b/unmaintained/libavl/libavl_0.3.5-3.patch deleted file mode 100644 index 17107a9ca2..0000000000 --- a/unmaintained/libavl/libavl_0.3.5-3.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- libavl-0.3.5.orig/GNUmakefile -+++ libavl-0.3.5/GNUmakefile -@@ -6,7 +6,8 @@ - LDCONFIG ?= /sbin/ldconfig - - # Some suggestions: (-mcpu= generates i386 compatible code) --CFLAGS ?= -O2 -fomit-frame-pointer -pipe -mcpu=i686 -w -+CFLAGS ?= -O2 -pipe -Wall -Werror -+CFLAGS += -fPIC - #CFLAGS = -O2 -fomit-frame-pointer -pipe -march=i586 -Wall -g - #CFLAGS = -O6 -fomit-frame-pointer -pipe -march=i586 -Wall -ansi -pedantic - #CFLAGS = -O6 -fomit-frame-pointer -pipe -march=i686 -Wall -ansi -pedantic -@@ -34,20 +35,21 @@ - $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) - - $(LIBRARY): avl.o -- $(CC) -nostdlib -shared -Wl,-soname,libavl.so.1 $^ -o $@ -lc -+ $(CC) -shared -Wl,-soname,libavl.so.1 $^ -o $@ -lc - - clean: - $(RM) *.o $(PROGRAMS) libavl.* - - install: all - $(INSTALL) -d $(DESTDIR)$(libdir) -- $(INSTALL) avl.h $(DESTDIR)$(includedir) -- $(INSTALL) $(LIBRARIES) $(DESTDIR)$(libdir) -- for i in $(LIBRARIES); do\ -+ $(INSTALL) -d $(DESTDIR)$(includedir) -+ $(INSTALL) -m 755 avl.h $(DESTDIR)$(includedir) -+ $(INSTALL) -m 755 $(LIBRARY) $(DESTDIR)$(libdir) -+ for i in $(LIBRARY); do\ - $(LN) -sf $$i $(DESTDIR)$(libdir)/$${i%.*};\ - $(LN) -sf $${i%.*} $(DESTDIR)$(libdir)/$${i%.*.*};\ - done -- -$(LDCONFIG) -+ #-$(LDCONFIG) - - .PHONY: clean install all - .PRECIOUS: %.h %.c diff --git a/unmaintained/libc6/APKBUILD b/unmaintained/libc6/APKBUILD deleted file mode 100644 index 2eb91a2192..0000000000 --- a/unmaintained/libc6/APKBUILD +++ /dev/null @@ -1,117 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=libc6 -pkgver=2.14 -pkgrel=0 -svnrev=14663 -pkgdesc="Embedded GNU C Library" -url="http://eglibc.org/" -arch="" -license="LGPL" -depends= -depends_dev="linux-headers>=2.6.18" -provides="libiconv" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev - $pkgname-doc - - gconv-modules:gconv - locales - nscd" -options="!strip" -source="http://dev.alpinelinux.org/~nenolod/eglibc-${pkgver}.r${svnrev}.tar.gz - - glibc-2.12-hardened-pie.patch - glibc-2.10-hardened-configure-picdefault.patch - glibc-2.10-hardened-inittls-nosysenter.patch - - chk_fail.c - stack_chk_fail.c - - nscd.initd" - -_srcdir="$srcdir"/eglibc-$pkgver -_builddir="$srcdir"/eglibc-build -prepare() { - local i - cd "$_srcdir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - echo "slibdir=/lib" >> configparms - - cp "$srcdir"/chk_fail.c "$_srcdir"/debug/chk_fail.c - cp "$srcdir"/stack_chk_fail.c "$_srcdir"/debug/stack_chk_fail.c - - mkdir "$_builddir" -} - -build() { - cd "$_builddir" - - export CFLAGS="$CFLAGS -fno-stack-protector" - - "$_srcdir"/configure --prefix=/usr \ - --sysconfdir=/etc \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --with-headers=/usr/include \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-kernel=2.6.18 \ - --enable-add-ons=nptl,libidn \ - --disable-profile \ - --enable-bind-now \ - --with-tls \ - --with-__thread \ - --without-zoneinfo \ - --without-cvs \ - --without-gd \ - --with-pkgversion="Alpine EGLIBC ${pkgver}-r${pkgrel} [svn r${svnrev}]" \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make install_root="$pkgdir" install || return 1 -} - -gconv() { - pkgdesc="GNU iconv character modules" - - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/iconv "$subpkgdir"/usr/lib -} - -locales() { - pkgdesc="Common files for locale support" - - mkdir -p "$subpkgdir"/usr/share - mv "$pkgdir"/usr/share/* "$subpkgdir"/usr/share -} - -nscd() { - pkgdesc="Cache daemon for NIS/DNS" - - mkdir -p "$subpkgdir"/var/db/nscd - mkdir -p "$subpkgdir"/var/run/nscd - - install -Dm 755 "$srcdir"/nscd.initd "$subpkgdir"/etc/init.d/nscd - install -Dm 644 "$srcdir"/libc/nscd/nscd.conf "$subpkgdir"/etc/nscd.conf - - mkdir -p "$subpkgdir"/usr/sbin - mv "$pkgdir"/usr/sbin/nscd "$subpkgdir"/usr/sbin -} - -md5sums="c6de1455fcef3487ee42c14349a72cf4 eglibc-2.14.r14663.tar.gz -03ffc414f8eb9f1fcb93325008f5ecd7 glibc-2.12-hardened-pie.patch -8bca42eb8f6d117107ab8e356566b805 glibc-2.10-hardened-configure-picdefault.patch -d3b50eec50099791bf2f0c10b605ff7c glibc-2.10-hardened-inittls-nosysenter.patch -1b31d2c7a39298da10e3840076514823 chk_fail.c -6a6b9992c76a9bece219eb00a16d7549 stack_chk_fail.c -ff0b0069eeb662145d287d7f98c79447 nscd.initd" diff --git a/unmaintained/libc6/nscd.initd b/unmaintained/libc6/nscd.initd deleted file mode 100644 index 949c49e82a..0000000000 --- a/unmaintained/libc6/nscd.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/runscript - -DAEMON=/usr/sbin/nscd - -start() { - ebegin "Starting nscd" - # remove stale files - rm -f /var/db/nscd/* /var/run/nscd/* 2>/dev/null - start-stop-daemon --start --exec $DAEMON - eend $? -} - -stop () { - ebegin "Stopping nscd" - start-stop-daemon --stop --quiet \ - --pidfile=/var/run/nscd/nscd.pid - eend $? -} diff --git a/unmaintained/libcgroup/APKBUILD b/unmaintained/libcgroup/APKBUILD deleted file mode 100644 index eebbaf9335..0000000000 --- a/unmaintained/libcgroup/APKBUILD +++ /dev/null @@ -1,102 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=libcgroup -pkgver=0.38 -pkgrel=3 -pkgdesc="Library to control and monitor control groups" -url="http://libcg.sourceforge.net/" -arch="all" -license="LGPLv2+" -depends="" -depends_dev="" -makedepends="$depends_dev bison flex linux-headers linux-pam-dev fts-dev" -install="" -options="suid" -subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-pam" -source="http://downloads.sourceforge.net/libcg/libcgroup-$pkgver.tar.bz2 - cgconfig.initd - cgconfig.confd - cgred.initd - cgred.confd - musl-decls-compat.patch - " - -_builddir="$srcdir"/libcgroup-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \ - -i src/libcgroup-internal.h || return 1 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --enable-shared \ - --enable-daemon \ - --enable-tools \ - || return 1 - make LIBS=-lfts || return 1 -} - -package() { - local _sysconfdir="$pkgdir"/etc - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - # config files - install -d "$_sysconfdir" - install -m 644 samples/cgconfig.conf "$_sysconfdir"/cgconfig.conf \ - || return 1 - install -m 644 samples/cgrules.conf "$_sysconfdir"/cgrules.conf \ - || return 1 - install -m 644 samples/cgsnapshot_blacklist.conf \ - "$_sysconfdir"/cgsnapshot_blacklist.conf || return 1 - - # init scripts - for i in $source; do - case $i in - *.initd) install -Dm755 "$srcdir"/$i \ - "$pkgdir"/etc/init.d/${i%.*} || return 1;; - *.confd) install -Dm644 "$srcdir"/$i \ - "$pkgdir"/etc/conf.d/${i%.*} || return 1;; - esac - done -} - -tools() { - pkgdesc="Command-line utility programs, services and daemons for libcgroup" - install -d "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$pkgdir"/usr/sbin "$subpkgdir"/usr/ - mv "$pkgdir"/etc "$subpkgdir"/ -} - -pam() { - pkgdesc="A Pluggable Authentication Module for libcgroup" - install -d "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/security "$subpkgdir"/usr/lib/ -} - -md5sums="f0f7d4060bf36ccc19d75dbf4f1695db libcgroup-0.38.tar.bz2 -79b7a9f739af3a8ac05e4e02faadc036 cgconfig.initd -7743c134ead2422fbd375447c4c9654c cgconfig.confd -7574db63b6f74a3c816cd05d6032a138 cgred.initd -f36926f1a968d3ee5fd7f0d7a6a7167e cgred.confd -f9994beb5511e1381c2878fd9b7d1163 musl-decls-compat.patch" -sha256sums="5d36d1a48b95f62fe9fcdf74a5a4089512e5e43e6011aa1504fd6f2a0909867f libcgroup-0.38.tar.bz2 -53d8e06a64efa338a66ab1c94d185450f99d46f4517e7a0e5fe8fce75fa6dca0 cgconfig.initd -ac52788366561ca6b79bca0e9fc9630568401b4301e386e6851fd8eb75a539ab cgconfig.confd -05f0c39c72cbf53d5a77d8ff056350832140e599f90f0911d87ec06314ffcd19 cgred.initd -72c00285c1f89f3a0564418c33bd02dfbcee2ae90f540a885ef57d1ef940a04c cgred.confd -02d6fb7911c433e1e373e8b548bbcc5c317f058e1aa5db226ce92a29a42696c0 musl-decls-compat.patch" -sha512sums="763e52bee699b0461508eabb6fdf3a79f15d1d8cdbc6631fcae93127eb7648e6bab660cf3a31019b966095113f9a086d55b5351c7999f3654f8e6c95507725d5 libcgroup-0.38.tar.bz2 -e224271db461f7953d8880d7f33b571c69d1237aedb127bcddad356dd3f046504c5917a5a2b00d64051bec72661322b43966ede83587fc54c75a32c16f2c3aaa cgconfig.initd -9bb289c20c3230414888e82be2b7a1389ac652143bcbbc746d0731c46a2f1404b4bc8154c90b59ebc53520107fe2f04c9eb5df742451887947b8a3b7a4c31f00 cgconfig.confd -8be89446fac65ba7f18269bd88d31f60e49da6488d85dfad9aa33304a5b14e700d86258894876d01a05c1bf4db5f5e1d40a361693022e768e11af2bf6cfde61b cgred.initd -871b7e7df26bf6b4164d5ec04e9998b0bd3f354e75ba2306b330e382eadd38ad044f85cfaa122a5a2e600fb4f39e1a7fe7778551a05dfc3e0ae095621c965996 cgred.confd -8b4444b0583817bb6844d01a8d0d956a884a58ab8fb3ddd402a4ba9c5f505a7f8495abf06776685d9b10246b96ced64d74cab73484a84f3ecb53e8273ab76456 musl-decls-compat.patch" diff --git a/unmaintained/libcgroup/cgconfig.confd b/unmaintained/libcgroup/cgconfig.confd deleted file mode 100644 index e41730ae0e..0000000000 --- a/unmaintained/libcgroup/cgconfig.confd +++ /dev/null @@ -1,4 +0,0 @@ -# /etc/conf.d/cgconfig: config file for /etc/init.d/cgconfig - -# Configuration file location -#CONFIG_FILE=/etc/cgroup/cgconfig.conf diff --git a/unmaintained/libcgroup/cgconfig.initd b/unmaintained/libcgroup/cgconfig.initd deleted file mode 100644 index ae64ae1611..0000000000 --- a/unmaintained/libcgroup/cgconfig.initd +++ /dev/null @@ -1,120 +0,0 @@ -#!/sbin/openrc-run -# -# Control Groups Configuration Startup -# -# This script runs the cgconfigparser utility to parse and setup -# the control group filesystem. It uses ${CONFIG_FILE} -# and parses the configuration specified in there. -# -CGCONFIGPARSER="/usr/sbin/cgconfigparser" -CGROUP_FS="cgroup" -CONFIG_FILE=${CONFIG_FILE:-"/etc/cgconfig.conf"} -MOUNTS_FILE="/proc/mounts" -RULES_FILE="/etc/cgrules.conf" - -# Support multiple mount points -MOUNT_POINTS= - -move_all_to_init_class() { - local i - for i in $MOUNT_POINTS; do - local mount_point=${i%:*} - cd ${mount_point} - - if grep -qw "${mount_point}" ${MOUNTS_FILE}; then - local directory - for directory in $(find . -depth -type d); do - if [ "${directory}" != "." ]; then - # cat fails with "Argument list too long" error - sed -nu p < ${directory}/tasks > tasks - rmdir ${directory} - fi - done - else - ewarn "Resource control filesystem not mounted" - fi - - cd - >/dev/null - done -} - -parse_mounts() { - local device mount_point fs_type options other - while read device mount_point fs_type options other; do - if echo ${CGROUP_FS} | grep -q ${device}; then - MOUNT_POINTS="${MOUNT_POINTS} ${mount_point}:${options}" - fi - done < ${MOUNTS_FILE} -} - -umount_fs() { - local i - for i in ${MOUNT_POINTS}; do - umount ${i%:*} - rmdir ${i%:*} - done -} - -depend() { - need local -} - -start() { - ebegin "Starting cgconfig service" - - # Mount filesystem and create cgroups - if ! ${CGCONFIGPARSER} -l ${CONFIG_FILE} >/dev/null; then - eend 1 "Failed to parse ${CONFIG_FILE}" - return 1 - fi - - parse_mounts - - # Find default cgroup name in rules file - local default_cgroup - if [ -f "${RULES_FILE}" ]; then - default_cgroup=$(awk '$1 == "*" {print $3; exit}' ${RULES_FILE}) - if [ $default_cgroup == "*" ]; then - ewarn "${RULES_FILE} incorrect" - ewarn "Overriding it" - default_cgroup= - fi - fi - # Use predefined name if none was found - if [ -z "${default_cgroup}" ]; then - default_cgroup=sysdefault - fi - - # Create a default cgroup for tasks to return back to - local i - for i in $MOUNT_POINTS; do - local mount_point=${i%:*} - local mount_options=${i#*:} - # Ignore if directory already exists - mkdir -p ${mount_point}/${default_cgroup} - find ${mount_point}/ -name tasks | xargs chmod a+rw - chmod go-w ${mount_point}/tasks - - # Special rule for cpusets - if echo ${mount_options} | grep -qw cpuset; then - cat ${mount_point}/cpuset.cpus > ${mount_point}/${default_cgroup}/cpuset.cpus - cat ${mount_point}/cpuset.mems > ${mount_point}/${default_cgroup}/cpuset.mems - fi - - # Classify everything to default cgroup - local j - for j in $(ps --no-headers -eL o tid); do - echo $j > ${mount_point}/${default_cgroup}/tasks 2>/dev/null - done - done - - eend 0 -} - -stop() { - ebegin "Stopping cgconfig service" - parse_mounts - move_all_to_init_class - umount_fs - eend 0 -} diff --git a/unmaintained/libcgroup/cgred.confd b/unmaintained/libcgroup/cgred.confd deleted file mode 100644 index 663ffc0c7d..0000000000 --- a/unmaintained/libcgroup/cgred.confd +++ /dev/null @@ -1,17 +0,0 @@ -# /etc/conf.d/cgred.conf: config file for /etc/init.d/cgred - -# Uncomment the following line to log to specified file instead of syslog -#LOG_FILE="/var/log/cgrulesengd.log" - -# Uncomment the second line to run CGroup Rules Engine in non-daemon mode -#NODAEMON="" -NODAEMON="--nodaemon" - -# Uncomment the second line to disable logging for CGroup Rules Engine -# Uncomment the third line to enable more verbose logging. -#LOG="" -LOG="--nolog" -#LOG="-v" - -# PID file -PID_FILE=/var/run/cgred.pid diff --git a/unmaintained/libcgroup/cgred.initd b/unmaintained/libcgroup/cgred.initd deleted file mode 100644 index e5d027f2d3..0000000000 --- a/unmaintained/libcgroup/cgred.initd +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run -# -# CGroups Rules Engine Daemon -# -# This is a daemon for automatically classifying processes into cgroups based -# on UID/GID. -# -extra_started_commands="reload" - -name="CGroup Rules Engine Daemon" -command="/usr/sbin/cgrulesengd" -pidfile=${PID_FILE:-"/var/run/cgred.pid"} -command_args="${NODAEMON} ${LOG}" -start_stop_daemon_args="--make-pidfile --background --stdout /dev/null" - - -depend() { - need cgconfig - use logger -} - -start_pre() { - if [ -n "${LOG_FILE}" ]; then - command_args="${command_args} --log-file=${LOG_FILE}" - fi -} - -reload() { - ebegin "Reloading ${name}" - start-stop-daemon --signal USR2 --pidfile "${pidfile}" \ - --exec "${command}" - eend $? -} - diff --git a/unmaintained/libcgroup/musl-decls-compat.patch b/unmaintained/libcgroup/musl-decls-compat.patch deleted file mode 100644 index 985a22696a..0000000000 --- a/unmaintained/libcgroup/musl-decls-compat.patch +++ /dev/null @@ -1,207 +0,0 @@ -commit ca780b4f7f71abeeb04a585f2a4d889caaa985fa -Author: Isaac Dunham -Date: Fri Sep 5 22:35:32 2014 -0700 - - Remove __.*DECLS nonsense - -diff --git a/include/libcgroup/config.h b/include/libcgroup/config.h -index 2dfdd32..859f7b5 100644 ---- a/include/libcgroup/config.h -+++ b/include/libcgroup/config.h -@@ -9,7 +9,9 @@ - #include - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_config 5. Configuration -@@ -77,6 +79,8 @@ int cgroup_config_set_default(struct cgroup *new_default); - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /*_LIBCGROUP_CONFIG_H*/ -diff --git a/include/libcgroup/error.h b/include/libcgroup/error.h -index 91b5c1c..02115f5 100644 ---- a/include/libcgroup/error.h -+++ b/include/libcgroup/error.h -@@ -9,7 +9,9 @@ - #include - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_errors 6. Error handling -@@ -104,6 +106,8 @@ int cgroup_get_last_errno(void); - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_INIT_H */ -diff --git a/include/libcgroup/groups.h b/include/libcgroup/groups.h -index 39596a1..451fbbd 100644 ---- a/include/libcgroup/groups.h -+++ b/include/libcgroup/groups.h -@@ -11,7 +11,9 @@ - #include - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * Flags for cgroup_delete_cgroup_ext(). -@@ -570,6 +572,8 @@ int cg_chmod_recursive(struct cgroup *cgroup, mode_t dir_mode, - */ - - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_GROUPS_H */ -diff --git a/include/libcgroup/init.h b/include/libcgroup/init.h -index 3709096..8ef69ec 100644 ---- a/include/libcgroup/init.h -+++ b/include/libcgroup/init.h -@@ -9,7 +9,9 @@ - #include - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_init 1. Initialization -@@ -54,6 +56,8 @@ int cgroup_get_subsys_mount_point(const char *controller, char **mount_point); - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_INIT_H */ -diff --git a/include/libcgroup/iterators.h b/include/libcgroup/iterators.h -index c6d453d..fb47d01 100644 ---- a/include/libcgroup/iterators.h -+++ b/include/libcgroup/iterators.h -@@ -11,7 +11,9 @@ - #include - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** - * @defgroup group_iterators 3. Iterators -@@ -423,6 +425,8 @@ int cgroup_get_subsys_mount_point_end(void **handle); - * @} - */ - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_ITERATORS_H */ -diff --git a/include/libcgroup/tasks.h b/include/libcgroup/tasks.h -index fb728f4..2f2e486 100644 ---- a/include/libcgroup/tasks.h -+++ b/include/libcgroup/tasks.h -@@ -12,7 +12,9 @@ - #include - #endif - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - /** Flags for cgroup_change_cgroup_uid_gid(). */ - enum cgflags { -@@ -189,6 +191,8 @@ int cgroup_register_unchanged_process(pid_t pid, int flags); - * @} - * @} - */ --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _LIBCGROUP_TASKS_H */ -diff --git a/src/daemon/cgrulesengd.h b/src/daemon/cgrulesengd.h -index 97c62f1..23607d0 100644 ---- a/src/daemon/cgrulesengd.h -+++ b/src/daemon/cgrulesengd.h -@@ -17,7 +17,9 @@ - - #include - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - #include "config.h" - #include "libcgroup.h" -@@ -112,7 +114,9 @@ void cgre_flash_rules(int signum); - */ - void cgre_catch_term(int signum); - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif /* _CGRULESENGD_H */ - -diff --git a/src/libcgroup-internal.h b/src/libcgroup-internal.h -index b9d7b6b..46d1f56 100644 ---- a/src/libcgroup-internal.h -+++ b/src/libcgroup-internal.h -@@ -16,7 +16,9 @@ - - #define __LIBCG_INTERNAL - --__BEGIN_DECLS -+#ifdef __cplusplus -+extern "C" { -+#endif - - #include "config.h" - #include -@@ -269,6 +271,8 @@ extern void cgroup_dictionary_iterator_end(void **handle); - */ - int cg_chmod_path(const char *path, mode_t mode, int owner_is_umask); - --__END_DECLS -+#ifdef __cplusplus -+} -+#endif - - #endif diff --git a/unmaintained/libdbusmenu-qt/APKBUILD b/unmaintained/libdbusmenu-qt/APKBUILD deleted file mode 100644 index 1b6bc5daac..0000000000 --- a/unmaintained/libdbusmenu-qt/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=libdbusmenu-qt -pkgver=0.8.2 -pkgrel=0 -pkgdesc="library to export QMenu over DBusMenu protocol" -url="http://people.canonical.com/~agateau/dbusmenu/index.html" -arch="all" -license="LGPL" -depends= -depends_dev="qt-dev" -makedepends="$depends_dev cmake automoc4 doxygen" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://launchpad.net/libdbusmenu-qt/trunk/$pkgver/+download/libdbusmenu-qt-$pkgver.tar.bz2" - -_builddir="$srcdir"/libdbusmenu-qt-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="88be2548e00acf988c66ed3a35844f64 libdbusmenu-qt-0.8.2.tar.bz2" diff --git a/unmaintained/libde265/APKBUILD b/unmaintained/libde265/APKBUILD deleted file mode 100644 index f3568aec55..0000000000 --- a/unmaintained/libde265/APKBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=libde265 -pkgver=0.9 -pkgrel=1 -pkgdesc="Open h.265 video codec implementation" -url="https://github.com/strukturag/libde265" -arch="all" -license="LGPL" -depends="" -depends_dev="" -makedepends="$depends_dev qt5-qtbase-dev sdl-dev ffmpeg-dev" -install="" -subpackages="$pkgname-dev $pkgname-dec $pkgname-sherlock" -source="https://github.com/strukturag/libde265/releases/download/v$pkgver/libde265-$pkgver.tar.gz" - -_builddir="$srcdir"/libde265-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - - -dec() { - pkgname="libde265 decoder" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/dec265 \ - "$subpkgdir"/usr/bin/ || return 1 -} - -sherlock() { - pkgname="libde265 Qt-based video player" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/sherlock265 \ - "$subpkgdir"/usr/bin/ || return 1 -} - -md5sums="09613faccdc87960700c87baabf10ff6 libde265-0.9.tar.gz" -sha256sums="b6791191f0a936dd99cad41fdf04e1a97d9ac902f8b8e01416266bb050fa1930 libde265-0.9.tar.gz" -sha512sums="bf4250285b72b63e3856530c585511321cf35741ac2a2365a008122ae202d167eed790278746a878fb33e3093d8db5ed3590c32ef369cb3f529037bdadf323fa libde265-0.9.tar.gz" diff --git a/unmaintained/libdlna/APKBUILD b/unmaintained/libdlna/APKBUILD deleted file mode 100644 index bc0a22da1e..0000000000 --- a/unmaintained/libdlna/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Łukasz Jendrysik -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=libdlna -pkgver=0.2.4 -pkgrel=2 -pkgdesc="An open-source implementation of DLNA (Digital Living Network Alliance) standards" -url="http://libdlna.geexbox.org" -arch="all" -license="LGPL" -depends="ctags" -depends_dev="ffmpeg-dev" -makedepends="$depends_dev" -subpackages="$pkgname-dev" -source="http://libdlna.geexbox.org/releases/$pkgname-$pkgver.tar.bz2" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - sed -i -e 's/cat -n/cat/' configure - sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' \ - ./configure src/profiles.h src/*.c || return 1 - sed -i 's|ffmpeg/avcodec.h|libavcodec/avcodec.h|' \ - ./configure src/profiles.h src/*.c || return 1 - -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --includedir=/usr/include/libavformat \ - --with-ffmpeg-dir=/usr/lib \ - --disable-static - make lib || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="64d7de57aff5a729f2434fc5e69b4ffc libdlna-0.2.4.tar.bz2" diff --git a/unmaintained/libdlna/avmedia_type.patch b/unmaintained/libdlna/avmedia_type.patch deleted file mode 100644 index b4caa1892e..0000000000 --- a/unmaintained/libdlna/avmedia_type.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- ./src/profiles.c.orig -+++ ./src/profiles.c -@@ -205,13 +205,13 @@ - for (i = 0; i < ctx->nb_streams; i++) - { - if (audio_stream == -1 && -- ctx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO) -+ ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) - { - audio_stream = i; - continue; - } - else if (video_stream == -1 && -- ctx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO) -+ ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) - { - video_stream = i; - continue; diff --git a/unmaintained/libecap/APKBUILD b/unmaintained/libecap/APKBUILD deleted file mode 100644 index 4bf2dab0d0..0000000000 --- a/unmaintained/libecap/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Roger Newman -pkgname=libecap -pkgver=0.2.0 -pkgrel=0 -pkgdesc="eCAP allows an HTTP proxy or an ICAP server, to outsource content analysis and adaptation to a loadable module" -url="http://www.e-cap.org/" -arch="all" -license="BSD" -depends="" -subpackages="$pkgname-dev" -source="http://www.measurement-factory.com/tmp/ecap/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --libdir=/lib \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make install \ - libdir=/usr/lib \ - pkgconfigdir="/usr/lib/pkgconfig" \ - DESTDIR="$pkgdir" || return 1 - -} - -md5sums="e65a855f4fbb0f3136af7fe28249e883 libecap-0.2.0.tar.gz" -sha256sums="19e195d60cf67ec3b49fe4d109823d753546b5da115230499ad1a9cb65ca92d2 libecap-0.2.0.tar.gz" -sha512sums="5d39444ec79846b14a7f4292e51bb880befd2cbf581b257d5087517cfae1dce55e4439a90c08e0b8f5b3e8b2431dde8c6fab771c826489024f17625cfc8c777e libecap-0.2.0.tar.gz" diff --git a/unmaintained/libgflags/APKBUILD b/unmaintained/libgflags/APKBUILD deleted file mode 100644 index a1f4f73dfb..0000000000 --- a/unmaintained/libgflags/APKBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Contributor: David Huffman -# Maintainer: David Huffman -pkgname=libgflags -pkgver=2.1.2 -_srcname=gflags-$pkgver -pkgrel=0 -pkgdesc="A C++ library that implements commandline flags processing" -url="https://gflags.github.io/gflags" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev cmake" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-bash-completion:bashcomp" -source="https://github.com/gflags/gflags/archive/v$pkgver/$_srcname.tar.gz" - -_builddir="$srcdir/$_srcname" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake -Wno-dev \ - -DBUILD_gflags_nothreads_LIB=OFF \ - -DBUILD_SHARED_LIBS=ON \ - -DBUILD_STATIC_LIBS=ON \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - || return 1 - make || return 1 -} - -package() { - local docdir="$pkgdir/usr/share/doc/$pkgname-$pkgver" - mkdir -p "$docdir" || return 1 - - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - cp AUTHORS.txt ChangeLog.txt COPYING.txt "$docdir" - cp -r doc "$docdir/html" -} - -bashcomp() { - depends="" - pkgdesc="Bash completion for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - arch="noarch" - - install -Dm644 "$pkgdir/usr/bin/gflags_completions.sh" \ - "$subpkgdir/usr/share/bash-completion/completions/gflags" -} - -md5sums="ac432de923f9de1e9780b5254884599f gflags-2.1.2.tar.gz" -sha256sums="d8331bd0f7367c8afd5fcb5f5e85e96868a00fd24b7276fa5fcee1e5575c2662 gflags-2.1.2.tar.gz" -sha512sums="f636023c1150e4d536d2d472e40d643ff0b02d3c96d8cb7f31544df23e6255fa6c4fd927ef94a3660c250d3faeae7d8d78519fc5e856749a577347a78d9d9ab5 gflags-2.1.2.tar.gz" diff --git a/unmaintained/libiodbc/10-sqltypes-libiodbc-3.52.7.patch b/unmaintained/libiodbc/10-sqltypes-libiodbc-3.52.7.patch deleted file mode 100644 index 2961cdea2f..0000000000 --- a/unmaintained/libiodbc/10-sqltypes-libiodbc-3.52.7.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- libiodbc-3.52.7/include/sqltypes.h.orig -+++ libiodbc-3.52.7/include/sqltypes.h -@@ -401,6 +401,7 @@ - # include - - # if defined(__cplusplus) || \ -+ defined(__NEED_wchar_t) || \ - defined(_WCHAR_T) || \ - defined(_WCHAR_T_DEFINED) || \ - defined(_WCHAR_T_DEFINED_) || \ diff --git a/unmaintained/libiodbc/APKBUILD b/unmaintained/libiodbc/APKBUILD deleted file mode 100644 index 47cd5b2a1b..0000000000 --- a/unmaintained/libiodbc/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=libiodbc -pkgver=3.52.7 -pkgrel=1 -pkgdesc="iODBC ODBC implementation" -url="http://www.iodbc.org/" -arch="all" -license="BSD" -depends= -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://www.iodbc.org/downloads/iODBC/libiodbc-$pkgver.tar.gz - 10-sqltypes-libiodbc-3.52.7.patch" - -_builddir="$srcdir"/libiodbc-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-gui \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="ddbd274cb31d65be6a78da58fc09079a libiodbc-3.52.7.tar.gz -c6dfc4ec015d61f9e68e56d234ed2e6f 10-sqltypes-libiodbc-3.52.7.patch" -sha256sums="d7002cc7e566785f1203f6096dcb49b0aad02a9d9946a8eca5d663ac1a85c0c7 libiodbc-3.52.7.tar.gz -208d2af418a8917af6bbb85878c413b07a100e17fff869e7f9cd9feef77446c1 10-sqltypes-libiodbc-3.52.7.patch" -sha512sums="a0274cd40d8fa7445f9442541e7e1d90427273a137fc2d3227e81e8af42fb35a8a38a3601f445ee821a0f88cca732d56cec8b7f08e94492da3aca609063f1a1e libiodbc-3.52.7.tar.gz -3daf5d15ebfd60d5b90c0e253669f07812afd470dad9a9c8bbfcb558a7a5b6cd9326abc2fcb901d90e53cc45bcdb3f3e633a04b1ac9c0cea0388910e93354ad0 10-sqltypes-libiodbc-3.52.7.patch" diff --git a/unmaintained/liblo/APKBUILD b/unmaintained/liblo/APKBUILD deleted file mode 100644 index c5f25e5a99..0000000000 --- a/unmaintained/liblo/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=liblo -pkgver=0.26 -pkgrel=0 -pkgdesc="Open Sound Control library" -url="http://liblo.sourceforge.net" -arch="all" -license="LGPL2+" -depends="" -makedepends="" -install="" -subpackages="$pkgname-dev" -source="http://download.sf.net/sourceforge/liblo/liblo-$pkgver.tar.gz" - -_builddir="$srcdir"/liblo-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --enable-ipv6 \ - --disable-static \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="5351de14262560e15e7f23865293b16f liblo-0.26.tar.gz" diff --git a/unmaintained/liblrdf/APKBUILD b/unmaintained/liblrdf/APKBUILD deleted file mode 100644 index 39d004044c..0000000000 --- a/unmaintained/liblrdf/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=liblrdf -pkgver=0.5.0 -pkgrel=0 -pkgdesc="Library for manipulating RDF files describing LADSPA plugins" -url="https://github.com/swh/LRDF" -arch="all" -license="GPLv2+" -depends="" -depends_dev="raptor2-dev openssl-dev" -makedepends="$depends_dev autoconf automake libtool" -install="" -subpackages="$pkgname-dev" -source="http://dev.alpinelinux.org/archive/liblrdf/liblrdf-$pkgver.tar.gz" - -_builddir="$srcdir"/liblrdf-$pkgver - -# How to create archive from git: -# -# abuild snapshot -# - -_gitrepo=LRDF.git -_giturl="git://github.com/swh/$_gitrepo" -_gittag=$pkgver - -snapshot() { - local _tarball=$pkgname-$pkgver.tar.gz - msg "Creating $_tarball.." - mkdir -p "$srcdir" - cd "${SRCDEST:-$srcdir}" - if ! [ -d "$_gitrepo" ]; then - git clone --bare $_giturl || return 1 - else - git --git-dir=$_gitrepo fetch || return 1 - fi - - git --git-dir=$_gitrepo archive --prefix=$pkgname-$pkgver/ \ - -o "$SRCDEST"/$_tarball $_gittag || return 1 - - msg "Uploading $_tarball" - scp "$SRCDEST"/$_tarball dev.alpinelinux.org:/archive/$pkgname/ -} - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" || return 1 -} - -md5sums="9acf9143da25f2e0c46d24758371ff4b liblrdf-0.5.0.tar.gz" diff --git a/unmaintained/libmbfl/APKBUILD b/unmaintained/libmbfl/APKBUILD deleted file mode 100644 index f1ec645ee2..0000000000 --- a/unmaintained/libmbfl/APKBUILD +++ /dev/null @@ -1,110 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=libmbfl -pkgver=1.3.2 -pkgrel=0 -pkgdesc="A streamable multibyte character code filter and converter library" -url="https://github.com/moriyoshi/libmbfl" -arch="all" -license="LGPLv2.1" -depends= -makedepends="libtool autoconf automake" -install= -subpackages="$pkgname-dev" -source="https://github.com/moriyoshi/libmbfl/archive/$pkgname-$pkgver.tar.gz - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-2.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-3.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-4.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-5.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-6.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-7.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-8.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-9.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-10.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-11.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-13.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-14.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-15.TXT - ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-16.TXT - ftp://ftp.unicode.org/Public/UNIDATA/EastAsianWidth.txt - filters_makefile.patch" - -_builddir="$srcdir"/$pkgname-$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - cp "$srcdir"/*.TXT "$srcdir"/*.txt filters/ -} - -build(){ - cd "$_builddir" - ./buildconf || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="22a1fb428c9fb8a6cefbe6c44e60a67a libmbfl-1.3.2.tar.gz -04f22df04cebd74fb65aa0f14c73aa9a 8859-1.TXT -e1254b30bc85cd26419e3cbcd221bde0 8859-2.TXT -05466acf5341fbf64fc83f8cb4d38197 8859-3.TXT -0d7f82192ed7edfa29365118520e479f 8859-4.TXT -b1937e0d002863973f71f717a895ade2 8859-5.TXT -2be96800894d08174bee321eb7a69f2e 8859-6.TXT -30a928e51972cf052e0e07e3e090a934 8859-7.TXT -7388bc3a3fc90aa94a7c33f897cc50b8 8859-8.TXT -0f1c09d8374ba15515351c2acddfed1f 8859-9.TXT -893e17d4a8154f6794fb2516f2a31137 8859-10.TXT -3b2a17877945be528e3238aa1e9f4be9 8859-11.TXT -e259f8e7fa5bc2afd4fa16bb837d07c0 8859-13.TXT -9c812fe49ba18422737f92f1d5210bc7 8859-14.TXT -997b91806425e100ab76f82fc618bd1a 8859-15.TXT -a23f0901df4c1ffa1aa4943d83774d93 8859-16.TXT -e4782d8f5ea275085b68bb0914a1599b EastAsianWidth.txt -fa059f370036988652491a7e5ba0cc88 filters_makefile.patch" -sha256sums="b20abb2712d5d8e51d8e3e38bd96b68e3a3c3e85e53f353801ab71a819e39d4d libmbfl-1.3.2.tar.gz -2a06a462bf74ae65a77b700f235ac05156ac20f4aaefe39f09cc20d50628bb5e 8859-1.TXT -020946e114335b17e7d29fe8a8449786cffed714cf409b11d0b3a375197188d1 8859-2.TXT -23b2d7815946cb1232c71a1543033afc396c750ffa19a3771662cf23e6194552 8859-3.TXT -e717699903bef2144234279a598ce39b44502942c9cc23a2ce2069a65f46b00d 8859-4.TXT -9a2efea39673f95c5daa277c46ad09a41e95f27c225270424a604d033db9bd8f 8859-5.TXT -7012241bd7143a3bf98861e497cd3cc092edebc3e063fc7d576420f22d22f11e 8859-6.TXT -94f4a1c89ba6b2e1c1f8b30676cb5d15f232dbac36ae4ad20018a65e0f3fb9a3 8859-7.TXT -cbe3205c5c6f92589d6a8673d56c51d89659ae290185457e6e2f81fee7a1ad2d 8859-8.TXT -4397082eb5cbbc299264b3b73405cc0946ec5c79328eb9de75f8a5da1ab8e712 8859-9.TXT -3441c37377c6721586255282ef4302c0ca61796674361959b3a2591f823a0e67 8859-10.TXT -a6c8891b5e43bbcf55ac356b0a31be8c8322a09fba183b7b7507e9252587bc13 8859-11.TXT -375cc8d45b331c29e5630bf5c821c85572ffba60487d4d279341bbd13f46750f 8859-13.TXT -5e72e1c79b2907504111c0965953261c4584cb984465cd88d616452c12fd3782 8859-14.TXT -bc72d7bd5be1d15bdad8e684f9ae9f573c361bb73812c3084ed1b7622a05e58f 8859-15.TXT -9164ce844b2bf3f56805c2e9ab8453cc53868757e7f75c4b8dcee7376894d55c 8859-16.TXT -ccc571829b384b8a2c24b7a62f8aa6a891a6e8c48f08513ef84fd6da26dba4bb EastAsianWidth.txt -12a14d533f539604c19e926e6527e653bddafce8f2153653d180051015b947cb filters_makefile.patch" -sha512sums="266b50a87f1e9114d84c349dd78d765a48ce6d604a011510bf8a82badb54736a44fb5642e3607fed4006ddb0b5f7394935d2a6eff13140b382620832b9e9f3fe libmbfl-1.3.2.tar.gz -9152a07fae83cde8ee22b741f5ee24fd3148eb3f9af9cf9bc8107e0c7a21e8ec43c54255257ed1120be69b4e360545f3facc11b45638ea4ea7b394483a99e5b1 8859-1.TXT -bc481c48c9879e87b4da465f14d7a1019181d17335ad86a033a8b82952936f7345c08794e77c34b32a5cfd83b836d257c3145a79ebc656cbfd0d01ef33709206 8859-2.TXT -59a2e89347341237909a40332d577518b3f00493a14d1c868b7bb4eeb0a398149579f724e4160e21ea091928215d9b32894cba72cff2d518a92a789524924cde 8859-3.TXT -36ea52a15188edf8cdcab7b183bf28b7d2a3e69205fac3cd753a67fcd0a5ea6608fd7ab3724ad5ec4768bd1e2a7a6b14cef4cfd3e8d8c253f7a785b10eb694a7 8859-4.TXT -ca816ce33039ce77178eafccb94f114bfa06394c100f883ac7e5ee1d233d5e2cc6d683403959e857eb8b702f253dfb7b54edb925283fae82ab2704cef1e58a45 8859-5.TXT -c9c4720b59440f39a4d9c3e4318cebb7e67536ba2c9e9d211c5e52dec9a1a4e5b3f9233917e1dde59b21b3aa88cf245c7e04890ac4d1b9c203b72cd21b5c18f1 8859-6.TXT -4a72ff7adddcf62447195f03fefc0e2f2452c9836198dd1566374f98661e1eede8bdb75e5fd1333b3f6b73cd93cf427aef19cbc317759b25f96bd780ba1c2743 8859-7.TXT -e644bc0e88baa93c52d97caf269a68d83b803aabb340d7ee51d8f51fc4e6de04b7178befab604bc0fd1e5e18149f62a0269be1354caa37a91b49955f72da450b 8859-8.TXT -1784890a296b718ca18924dbe794ae7073dcb66d31290dd652e3a5cd52131cacb343bb92e3baad044385a153cee6380e394b325fa84a4250b3d90521cd503c6d 8859-9.TXT -9fd4f9c3634b02adccf25d4a816ccf527028bab935c7bb4d7b4fcacb130d70aaaa44f90cf33997cbf38864641162f386dc7f19a686bf36d1762f9abc92d21035 8859-10.TXT -59c8e871ce6ba3847aec2b2136a677637c422ac1efe18f96be70a8614dd6e56f14b00f7ae855d508eca24a283513011039d371a61c5a2cefd5b493dc13aa6ed3 8859-11.TXT -f2d47a222c0052723c194014f96c591dbd9b766f5bb7d605dcca0e39cd56908244a7386078783888119aa9604e46eee31f6287af877083ceb40959ba18a32577 8859-13.TXT -eb62606eb2bce8c2a29f963b4ad8efab8e4b261f29190b6f0467ba834190d701a371b5bbef8f52b7a2394ddf2be95c1b687f1b9bdfa11dacda6941120c95b86b 8859-14.TXT -363c9fb2c3f6ce07b6a2afd6f0160550212dfa70c38985a6f525b912a79b1cb35c90cfbe435b7025a1b53d8bbc4cf3a5d32b1bd4b12f059d98799099191157cb 8859-15.TXT -2bc12bb3e041f44cf30236997ebc4f6f6d210a8665ff74f67d33af415778ac8e6b83cc09dae826ccabdfb9724f142b4b0ff4b81c8ea71b3c7d6d332abba23d66 8859-16.TXT -1f66848d3dd3ebf68847de3132bb8a9fe5686964c28df69b8f39a6990b5d13fd0fa92cad0945dbed67b310063fb5c51ec85b0aa8ca7e69a55f09457d554d00f0 EastAsianWidth.txt -7964e0fc8e8825136cca30f81f5929746a326119b238f1c72c16fd7ea51787ef0cdc05180290d28d71ce07cf86e6c0aba7a57ec922f3c5bfa16f85aac5245a57 filters_makefile.patch" diff --git a/unmaintained/libmbfl/filters_makefile.patch b/unmaintained/libmbfl/filters_makefile.patch deleted file mode 100644 index 1863b18f9a..0000000000 --- a/unmaintained/libmbfl/filters_makefile.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- old/filters/Makefile.am -+++ new/filters/Makefile.am -@@ -55,7 +55,7 @@ - mbfilter_euc_kr.c \ - mbfilter_uhc.c \ - mbfilter_iso2022_jp_ms.c \ -- mbfilter_iso2022_jp_2004.c \ -+ mbfilter_iso2022jp_2004.c \ - mbfilter_gb18030.c \ - mbfilter_iso2022_kr.c \ - mbfilter_cp866.c \ -@@ -90,7 +90,7 @@ - mbfilter_htmlent.h \ - mbfilter_hz.h \ - mbfilter_iso2022_jp_ms.h \ -- mbfilter_iso2022_jp_2004.h \ -+ mbfilter_iso2022jp_2004.h \ - mbfilter_iso2022_kr.h \ - mbfilter_iso8859_1.h \ - mbfilter_iso8859_10.h \ diff --git a/unmaintained/libnatspec/APKBUILD b/unmaintained/libnatspec/APKBUILD deleted file mode 100644 index d337a285b8..0000000000 --- a/unmaintained/libnatspec/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=libnatspec -pkgver=0.3.0 -pkgrel=0 -pkgdesc="Library for national and language-specific issues" -url="http://natspec.sourceforge.net" -arch="all" -license="LGPLv2" -depends="" -depends_dev="popt-dev" -makedepends="autoconf automake libtool $depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" -source="http://downloads.sourceforge.net/project/natspec/natspec/0.3.0/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - autoreconf --install --force || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -tools() { - pkgdesc="$pkgdesc (tools)" - install -d "$subpkgdir"/usr || return 1 - mv "$pkgdir"/usr/bin "$subpkgdir"/usr || return 1 -} -md5sums="1bacec86f8688415a821a6ffae55532e libnatspec-0.3.0.tar.bz2" -sha256sums="678db5f2e25be3e79183ecc9ff6b19fb66775bcb6c3c962ba7716bc4a8ecce71 libnatspec-0.3.0.tar.bz2" -sha512sums="5c04358d20be5b6ffc7038bddd4514c4b5b4e9940fb6247070b832da9d059b31fd1306cf29f54e4a1b8be1d909176bd72e6ffa98e4b750840764f9b2c250d31c libnatspec-0.3.0.tar.bz2" diff --git a/unmaintained/libpwquality/APKBUILD b/unmaintained/libpwquality/APKBUILD deleted file mode 100644 index 22912cfe51..0000000000 --- a/unmaintained/libpwquality/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: -pkgname=libpwquality -pkgver=1.2.4 -pkgrel=0 -pkgdesc="A library for password generation and password quality checking" -url="http://libpwquality.fedorahosted.org/" -arch="all" -license="BSD or GPLv2+" -depends="" -depends_dev="cracklib-dev" -makedepends="$depends_dev python-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc py-pwquality:_py" -source="http://fedorahosted.org/releases/l/i/libpwquality/libpwquality-$pkgver.tar.bz2" - -_builddir="$srcdir"/libpwquality-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} -_py() { - pkgdesc="Python bindings for the libpwquality library" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ -} - -md5sums="5c8b1d984a9c184fc62a4d07bb36b922 libpwquality-1.2.4.tar.bz2" -sha256sums="9ad67be364a66dc8b334a473c77d9f531137ee0e9d85d81f567f410a375857c7 libpwquality-1.2.4.tar.bz2" -sha512sums="63ead296320e8eadc1a3341c28b015f9dbbf30e610e9226a11018d81aeb412d0e211753ebdb45f959c35cedfc6ed580bba9e6b0f8822c3b5f38062428f637049 libpwquality-1.2.4.tar.bz2" diff --git a/unmaintained/libqb/APKBUILD b/unmaintained/libqb/APKBUILD deleted file mode 100644 index fa0207e83b..0000000000 --- a/unmaintained/libqb/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=libqb -pkgver=0.17.1 -pkgrel=0 -pkgdesc="An IPC library for high performance servers" -url="https://github.com/clusterlabs/libqb/wiki" -arch="all" -license="LGPLv2+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="https://fedorahosted.org/releases/q/u/quarterback/libqb-$pkgver.tar.xz - fix-headers.patch - " - -_builddir="$srcdir"/libqb-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="5770b343baa4528f6fec90120ec55048 libqb-0.17.1.tar.xz -1825f2c3b4405ccc5795fa2b6bbfce32 fix-headers.patch" -sha256sums="7a2115f83bfe20eaa5f2e4ed235e8f2994235d3b87e3e5ca41ba47b320f12e29 libqb-0.17.1.tar.xz -3be824e898e5b32d2a2869ebad3e930606b4bcee850f437e9bd9d126c28cbc4e fix-headers.patch" -sha512sums="9705b291a61ca278fd0c9ab631af2cb844cdfc73b19501dd2e12eb162b37f0eded800860127a8a5c5c7c2a0e8db53e4780d3ab9697b099f4560a9a87aa8ec9ca libqb-0.17.1.tar.xz -1b32bb6c82477b00434644b21e1ae450b9e5f5d3e4f6fd0428aafa117f7f129bfd94412544472affe0a273113222d238264da9bb874a25918fbeb2c4938e6d56 fix-headers.patch" diff --git a/unmaintained/libqb/fix-headers.patch b/unmaintained/libqb/fix-headers.patch deleted file mode 100644 index 474f4c2fd5..0000000000 --- a/unmaintained/libqb/fix-headers.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ./include/qb/qbipcs.h.orig -+++ ./include/qb/qbipcs.h -@@ -31,6 +31,7 @@ - - #include - #include -+#include - #include - #include - #include diff --git a/unmaintained/libsearpc/APKBUILD b/unmaintained/libsearpc/APKBUILD deleted file mode 100644 index c5ff291be4..0000000000 --- a/unmaintained/libsearpc/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: -# Maintainer: Natanael Copa -pkgname=libsearpc -pkgver=3.0.7 -pkgrel=0 -pkgdesc="A simple and easy-to-use C language RPC framework" -url="https://github.com/haiwen/libsearpc/" -arch="all" -license="LGPL2.1" -makedepends="autoconf automake bash glib-dev jansson-dev libtool python-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/haiwen/libsearpc/archive/v3.0-latest.tar.gz" -subpackages="$pkgname-dev py-$pkgname:py" - -_builddir="${srcdir}"/${pkgname}-3.0-latest - -prepare() { - local pf - cd "${_builddir}" - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done -} - -build() { - cd "${_builddir}" - ./autogen.sh - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "${_builddir}" - make DESTDIR="${pkgdir}" install || return 1 - rm "${pkgdir}"/usr/lib/libsearpc.la - echo ${pkgdir}/usr/lib/pkgconfig/libsearpc.pc - sed -i -e 's/(DESTDIR)//' "${pkgdir}"/usr/lib/pkgconfig/libsearpc.pc - sed -i -e 's/prefix=.*/prefix=\/usr/' "${pkgdir}"/usr/lib/pkgconfig/libsearpc.pc -} - -py() { - arch="noarch" - cd "$_builddir" - pkgdesc="$pkgname python bindings" - install -d "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ -} -md5sums="32a6eaafe16d8c0c0e320b4a08a4d8f6 libsearpc-3.0.7.tar.gz" -sha256sums="56313771e0ad7dc075c4590b6a75daeb3939937b21716d82c91be2612133b8cd libsearpc-3.0.7.tar.gz" -sha512sums="f5706d5490eb6abd05a25963ae204b358e7ebdcf153ab4bfe76819fd4538f1a957d7eaf84d8e60e076d978f9c1605adb2e6ec7ded55950c551304eb7665b15e8 libsearpc-3.0.7.tar.gz" diff --git a/unmaintained/libsieve/APKBUILD b/unmaintained/libsieve/APKBUILD deleted file mode 100644 index befaaab520..0000000000 --- a/unmaintained/libsieve/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=libsieve -pkgver=2.2.7 -pkgrel=1 -pkgdesc="Sieve interpretator lib" -url="http://libsieve.sourceforge.net/" -arch="all" -license="LGPL2+" -depends= -depends_dev= -makedepends="$depends_dev flex" -install="" -subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/sourceforge/libsieve/libsieve-$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver/src" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="7415e7cfe40cfc6cf43ae26efb5f0fb7 libsieve-2.2.7.tar.gz" diff --git a/unmaintained/libsrs2/APKBUILD b/unmaintained/libsrs2/APKBUILD deleted file mode 100644 index c953f30203..0000000000 --- a/unmaintained/libsrs2/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -#Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=libsrs2 -pkgver=1.0.18 -pkgrel=0 -pkgdesc="Sender Rewriting Scheme library, a part of the SPF/SRS protocol pair" -url="http://www.libsrs2.org" -arch="all" -license="LGPL2.1 BSD-2" -subpackages="$pkgname-dev $pkgname-tools" -makedepends= -depends= -source="http://www.libsrs2.org/srs/$pkgname-$pkgver.tar.gz - " - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --disable-static \ - --with-pic \ - || return 1 - make -j1 || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 -} - -tools() { - pkgdesc="SRS command-line utility" - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/bin "$subpkgdir"/usr -} - -md5sums="2178b8cf587eb6e65d4b9753c4a6c67d libsrs2-1.0.18.tar.gz" -sha256sums="9d1191b705d7587a5886736899001d04168392bbb6ed6345a057ade50943a492 libsrs2-1.0.18.tar.gz" -sha512sums="b9c189caa227487e90566f65430345f09a3d545fc286a3eb0c445aee3a74905c1a9248ce78b36a7cfb6a2936f6cd1efbe99ba7b8df49a613a81c6435396f5422 libsrs2-1.0.18.tar.gz" diff --git a/unmaintained/libstrophe/APKBUILD b/unmaintained/libstrophe/APKBUILD deleted file mode 100644 index 6da6326f2f..0000000000 --- a/unmaintained/libstrophe/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: -# Contributor: Bartłomiej Piotrowski - -pkgname=libstrophe -pkgver=0.8.6 -pkgrel=0 -epoch=1 -pkgdesc='Simple, lightweight C library for writing XMPP clients' -arch=all -url='http://strophe.im/libstrophe/' -license='MIT' -depends= -makedepends='openssl-dev expat-dev check-dev autoconf automake libtool' -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/strophe/libstrophe/archive/$pkgver.tar.gz" - -prepare() { - cd "$srcdir"/$pkgname-$pkgver - ./bootstrap.sh || return 1 -} - -build() { - cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr || return 1 - make || return 1 - make check || return 1 -} - -package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 - install -Dm644 MIT-LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-MIT -} - -md5sums="5ab28dc86c47177819ca49ed9c0041e0 libstrophe-0.8.6.tar.gz" -sha256sums="a2158134381e544a7697e9379f45abe18da817cd05eb3272eabec2151599d702 libstrophe-0.8.6.tar.gz" -sha512sums="5c93a199d223d0995c99688dcd9af1586e17ce825d0df3cdac33498c87af62a41a60b4a727910754f064541c64f9b79d5db899a265a1cc3d9c4380e42b525e5a libstrophe-0.8.6.tar.gz" diff --git a/unmaintained/libsyncml/APKBUILD b/unmaintained/libsyncml/APKBUILD deleted file mode 100644 index 09d45d6741..0000000000 --- a/unmaintained/libsyncml/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=libsyncml -pkgver=0.5.4 -pkgrel=1 -pkgdesc="Implementation of the SyncML protocol" -url="http://libsyncml.opensync.org/" -arch="all" -license="LGPL2.1" -depends= -makedepends="glib-dev libxml2-dev libwbxml-dev openobex-dev bluez-dev cmake" -install= -subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/libsyncml/libsyncml-$pkgver.tar.bz2" - -_srcdir="$srcdir"/$pkgname-$pkgver -_builddir="$srcdir"/build - -prepare() { - mkdir -p "$_builddir" -} - -build() { - cd "$_builddir" - cmake -DCMAKE_INSTALL_PREFIX=/usr "$_srcdir" - make -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" -} - -md5sums="b8ce1f222cccc12acdcd6807d65c1aea libsyncml-0.5.4.tar.bz2" diff --git a/unmaintained/libtar/APKBUILD b/unmaintained/libtar/APKBUILD deleted file mode 100644 index 77aaf18822..0000000000 --- a/unmaintained/libtar/APKBUILD +++ /dev/null @@ -1,73 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=libtar -pkgver=1.2.20 -pkgrel=0 -pkgdesc="C library for manipulating POSIX tar files" -url="http://repo.or.cz/w/libtar.git" -arch="all" -license="BSD" -depends="" -depends_dev="zlib-dev" -makedepends="$depends_dev automake autoconf libtool" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$pkgver.tar.gz::http://repo.or.cz/w/libtar.git/snapshot/0907a9034eaf2a57e8e4a9439f793f3f05d446cd.tar.gz - libtar-1.2.11-mem-deref.patch - libtar-1.2.20-fix-resource-leaks.patch - libtar-1.2.11-bz729009.patch - libtar-1.2.11-missing-protos.patch - libtar-1.2.20-no-static-buffer.patch" - -_builddir="$srcdir"/libtar -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - autoreconf -ivf - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-static \ - --disable-encap \ - --disable-epkg-install \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="863a457f6e19763c6c8f5108b85d24cc libtar-1.2.20.tar.gz -46b80e57e35ac14b0122ed0608e76c0e libtar-1.2.11-mem-deref.patch -784bee46d827e39435eadbdba4165a9d libtar-1.2.20-fix-resource-leaks.patch -15b6aea663be015569331aaa1c198b42 libtar-1.2.11-bz729009.patch -8d3e423b2db39f044c87f662bbbf12ab libtar-1.2.11-missing-protos.patch -01249bb7ea03a15c40547cafbb6afe47 libtar-1.2.20-no-static-buffer.patch" -sha256sums="d1b2660d0af735fed2d2a0c3369dda7bea7445a4b1ef2f2742b352b1e1eec5f8 libtar-1.2.20.tar.gz -1420e4ca7b54f19f6c1665fa768919671378ecdae5f085756031243ac939d984 libtar-1.2.11-mem-deref.patch -664cd4476890a5969c61c7cb47f2399c3b43fab2b449d3049651187ca558c932 libtar-1.2.20-fix-resource-leaks.patch -b202918e6842ce8c80e6ead70a3af6dd6f1be37d2623048bb82b6ad7ccc5fa17 libtar-1.2.11-bz729009.patch -83838ef1e49690f446c3732a8ac89cd72b47c65155a819b29dfddfd4f5ce8fc1 libtar-1.2.11-missing-protos.patch -c1d330b6663015211605bef1efc193cfe59075de6a55f9efd2a52842f0ad0d27 libtar-1.2.20-no-static-buffer.patch" -sha512sums="675011b996848ac730d2f3663550e5389fed2ffcb0f2a8ca7078caa3a29d24e7ecae41e59d257585828101a3b37fe9c83e64eb7b086f0e7275c18bb2fdca4621 libtar-1.2.20.tar.gz -e7179581b523dc209965244f384f80f7b6b2a37595c6363347e4ff1270f918c4e729341670994c1e7f9578403f18445a569c165ee62ce5f87e30dec983cadb08 libtar-1.2.11-mem-deref.patch -06f6df6b681dc49a2249be57e9507db33ad90f6797c9f35b9f38c9eafcc31164245b40d4eaf696f295fff477daaacd51833976132710c902c78d6fe84472667f libtar-1.2.20-fix-resource-leaks.patch -12470f357e0df579cd8ef9bd09121e2d742754d56517c1d153036e1436155324268bc86145e504c56761571ac9df1be6d13448d7349a3a51a30e82c4c65e162f libtar-1.2.11-bz729009.patch -8ac4eea5ed2aa7f3893b44468b33fc668f2b026bd55282179c0920ae18fbc197a850523eb12624524e599ae4b0380c7322b296d4952c5d263e8971459dace021 libtar-1.2.11-missing-protos.patch -f6db3c9dfb537fb583ef87f3a10105378d20d7950184c67e4af2f4a4edc7a38ed9229dc389300bc5554e1fc1cce8adbd947c2c56cea2a1a4a00a23fb92e18244 libtar-1.2.20-no-static-buffer.patch" diff --git a/unmaintained/libtar/libtar-1.2.11-bz729009.patch b/unmaintained/libtar/libtar-1.2.11-bz729009.patch deleted file mode 100644 index 2adfce313f..0000000000 --- a/unmaintained/libtar/libtar-1.2.11-bz729009.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 1f2ec801cf4ac954f84c81e7587ce11998f78911 Mon Sep 17 00:00:00 2001 -From: Kamil Dudka -Date: Tue, 9 Aug 2011 12:02:26 +0200 -Subject: [PATCH] libtar - rhbz #729009 - ---- - libtar/Makefile.in | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/libtar/Makefile.in b/libtar/Makefile.in -index 4e7bca4..94bd198 100644 ---- a/libtar/Makefile.in -+++ b/libtar/Makefile.in -@@ -20,7 +20,7 @@ SHELL = @SHELL@ - - ### Installation programs and flags - INSTALL = @INSTALL@ --INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ - INSTALL_DATA = @INSTALL_DATA@ - LN_S = @LN_S@ - MKDIR = @MKDIR@ --- -1.7.4.4 - diff --git a/unmaintained/libtar/libtar-1.2.11-mem-deref.patch b/unmaintained/libtar/libtar-1.2.11-mem-deref.patch deleted file mode 100644 index 8a618a0a22..0000000000 --- a/unmaintained/libtar/libtar-1.2.11-mem-deref.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- libtar-1.2.11/lib/libtar.h.deref 2009-12-30 16:37:03.790121122 +0100 -+++ libtar-1.2.11/lib/libtar.h 2009-12-30 16:37:35.521246633 +0100 -@@ -172,6 +172,7 @@ int th_write(TAR *t); - #define TH_ISDIR(t) ((t)->th_buf.typeflag == DIRTYPE \ - || S_ISDIR((mode_t)oct_to_int((t)->th_buf.mode)) \ - || ((t)->th_buf.typeflag == AREGTYPE \ -+ && strlen((t)->th_buf.name) \ - && ((t)->th_buf.name[strlen((t)->th_buf.name) - 1] == '/'))) - #define TH_ISFIFO(t) ((t)->th_buf.typeflag == FIFOTYPE \ - || S_ISFIFO((mode_t)oct_to_int((t)->th_buf.mode))) ---- libtar-1.2.11/lib/util.c.deref 2003-01-07 02:41:00.000000000 +0100 -+++ libtar-1.2.11/lib/util.c 2009-12-30 17:35:51.860121660 +0100 -@@ -148,9 +148,7 @@ oct_to_int(char *oct) - { - int i; - -- sscanf(oct, "%o", &i); -- -- return i; -+ return sscanf(oct, "%o", &i) == 1 ? i : 0; - } - - - diff --git a/unmaintained/libtar/libtar-1.2.11-missing-protos.patch b/unmaintained/libtar/libtar-1.2.11-missing-protos.patch deleted file mode 100644 index 8a65c2a628..0000000000 --- a/unmaintained/libtar/libtar-1.2.11-missing-protos.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -up libtar-1.2.11/lib/append.c.foo libtar-1.2.11/lib/append.c ---- libtar-1.2.11/lib/append.c.foo 2003-01-07 02:40:59.000000000 +0100 -+++ libtar-1.2.11/lib/append.c 2008-04-03 15:08:07.000000000 +0200 -@@ -13,6 +13,8 @@ - #include - - #include -+#include -+#include - #include - #include - #include -diff -up libtar-1.2.11/lib/output.c~ libtar-1.2.11/lib/output.c ---- libtar-1.2.11/lib/output.c~ 2008-04-03 15:11:07.000000000 +0200 -+++ libtar-1.2.11/lib/output.c 2008-04-03 15:11:07.000000000 +0200 -@@ -13,6 +13,7 @@ - #include - - #include -+#include - #include - #include - #include -diff -up libtar-1.2.11/lib/wrapper.c~ libtar-1.2.11/lib/wrapper.c ---- libtar-1.2.11/lib/wrapper.c~ 2008-04-03 15:11:28.000000000 +0200 -+++ libtar-1.2.11/lib/wrapper.c 2008-04-03 15:11:28.000000000 +0200 -@@ -13,6 +13,7 @@ - #include - - #include -+#include - #include - #include - #include diff --git a/unmaintained/libtar/libtar-1.2.20-fix-resource-leaks.patch b/unmaintained/libtar/libtar-1.2.20-fix-resource-leaks.patch deleted file mode 100644 index bdca92ebcd..0000000000 --- a/unmaintained/libtar/libtar-1.2.20-fix-resource-leaks.patch +++ /dev/null @@ -1,241 +0,0 @@ -From abd0274e6b2f708e9eaa29414b07b3f542cec694 Mon Sep 17 00:00:00 2001 -From: Kamil Dudka -Date: Tue, 15 Oct 2013 19:48:41 -0400 -Subject: [PATCH 1/3] fix file descriptor leaks reported by cppcheck - -Bug: https://bugzilla.redhat.com/785760 ---- - lib/append.c | 14 +++++++++----- - lib/extract.c | 4 ++++ - libtar/libtar.c | 3 +++ - 3 files changed, 16 insertions(+), 5 deletions(-) - -diff --git a/lib/append.c b/lib/append.c -index e8bd89d..ff58532 100644 ---- a/lib/append.c -+++ b/lib/append.c -@@ -216,6 +216,7 @@ tar_append_regfile(TAR *t, const char *realname) - int filefd; - int i, j; - size_t size; -+ int rv = -1; - - filefd = open(realname, O_RDONLY); - if (filefd == -1) -@@ -234,25 +235,28 @@ tar_append_regfile(TAR *t, const char *realname) - { - if (j != -1) - errno = EINVAL; -- return -1; -+ goto fail; - } - if (tar_block_write(t, &block) == -1) -- return -1; -+ goto fail; - } - - if (i > 0) - { - j = read(filefd, &block, i); - if (j == -1) -- return -1; -+ goto fail; - memset(&(block[i]), 0, T_BLOCKSIZE - i); - if (tar_block_write(t, &block) == -1) -- return -1; -+ goto fail; - } - -+ /* success! */ -+ rv = 0; -+fail: - close(filefd); - -- return 0; -+ return rv; - } - - -diff --git a/lib/extract.c b/lib/extract.c -index 36357e7..9fc6ad5 100644 ---- a/lib/extract.c -+++ b/lib/extract.c -@@ -228,13 +228,17 @@ tar_extract_regfile(TAR *t, char *realname) - { - if (k != -1) - errno = EINVAL; -+ close(fdout); - return -1; - } - - /* write block to output file */ - if (write(fdout, buf, - ((i > T_BLOCKSIZE) ? T_BLOCKSIZE : i)) == -1) -+ { -+ close(fdout); - return -1; -+ } - } - - /* close output file */ -diff --git a/libtar/libtar.c b/libtar/libtar.c -index 9fa92b2..bb5644c 100644 ---- a/libtar/libtar.c -+++ b/libtar/libtar.c -@@ -83,7 +83,10 @@ gzopen_frontend(char *pathname, int oflags, int mode) - return -1; - - if ((oflags & O_CREAT) && fchmod(fd, mode)) -+ { -+ close(fd); - return -1; -+ } - - gzf = gzdopen(fd, gzoflags); - if (!gzf) --- -1.7.1 - - -From 36629a41208375f5105427e98078127551692028 Mon Sep 17 00:00:00 2001 -From: Huzaifa Sidhpurwala -Date: Tue, 15 Oct 2013 20:02:58 -0400 -Subject: [PATCH 2/3] fix memleak on tar_open() failure - ---- - lib/handle.c | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/lib/handle.c b/lib/handle.c -index 33a262c..002d23c 100644 ---- a/lib/handle.c -+++ b/lib/handle.c -@@ -82,6 +82,7 @@ tar_open(TAR **t, const char *pathname, tartype_t *type, - (*t)->fd = (*((*t)->type->openfunc))(pathname, oflags, mode); - if ((*t)->fd == -1) - { -+ libtar_hash_free((*t)->h, NULL); - free(*t); - return -1; - } --- -1.7.1 - - -From f3c711cf3054ff366a1a3500cdc8c64ecc2d2da6 Mon Sep 17 00:00:00 2001 -From: Huzaifa Sidhpurwala -Date: Tue, 15 Oct 2013 20:05:04 -0400 -Subject: [PATCH 3/3] fix memleaks in libtar sample program - ---- - libtar/libtar.c | 29 ++++++++++++++++++----------- - 1 files changed, 18 insertions(+), 11 deletions(-) - -diff --git a/libtar/libtar.c b/libtar/libtar.c -index bb5644c..23f8741 100644 ---- a/libtar/libtar.c -+++ b/libtar/libtar.c -@@ -253,6 +253,7 @@ extract(char *tarfile, char *rootdir) - if (tar_extract_all(t, rootdir) != 0) - { - fprintf(stderr, "tar_extract_all(): %s\n", strerror(errno)); -+ tar_close(t); - return -1; - } - -@@ -270,12 +271,13 @@ extract(char *tarfile, char *rootdir) - - - void --usage() -+usage(void *rootdir) - { - printf("Usage: %s [-C rootdir] [-g] [-z] -x|-t filename.tar\n", - progname); - printf(" %s [-C rootdir] [-g] [-z] -c filename.tar ...\n", - progname); -+ free(rootdir); - exit(-1); - } - -@@ -292,6 +294,7 @@ main(int argc, char *argv[]) - int c; - int mode = 0; - libtar_list_t *l; -+ int return_code = -2; - - progname = basename(argv[0]); - -@@ -313,17 +316,17 @@ main(int argc, char *argv[]) - break; - case 'c': - if (mode) -- usage(); -+ usage(rootdir); - mode = MODE_CREATE; - break; - case 'x': - if (mode) -- usage(); -+ usage(rootdir); - mode = MODE_EXTRACT; - break; - case 't': - if (mode) -- usage(); -+ usage(rootdir); - mode = MODE_LIST; - break; - #ifdef HAVE_LIBZ -@@ -332,7 +335,7 @@ main(int argc, char *argv[]) - break; - #endif /* HAVE_LIBZ */ - default: -- usage(); -+ usage(rootdir); - } - - if (!mode || ((argc - optind) < (mode == MODE_CREATE ? 2 : 1))) -@@ -341,7 +344,7 @@ main(int argc, char *argv[]) - printf("argc - optind == %d\tmode == %d\n", argc - optind, - mode); - #endif -- usage(); -+ usage(rootdir); - } - - #ifdef DEBUG -@@ -351,21 +354,25 @@ main(int argc, char *argv[]) - switch (mode) - { - case MODE_EXTRACT: -- return extract(argv[optind], rootdir); -+ return_code = extract(argv[optind], rootdir); -+ break; - case MODE_CREATE: - tarfile = argv[optind]; - l = libtar_list_new(LIST_QUEUE, NULL); - for (c = optind + 1; c < argc; c++) - libtar_list_add(l, argv[c]); -- return create(tarfile, rootdir, l); -+ return_code = create(tarfile, rootdir, l); -+ libtar_list_free(l, NULL); -+ break; - case MODE_LIST: -- return list(argv[optind]); -+ return_code = list(argv[optind]); -+ break; - default: - break; - } - -- /* NOTREACHED */ -- return -2; -+ free(rootdir); -+ return return_code; - } - - --- -1.7.1 - diff --git a/unmaintained/libtar/libtar-1.2.20-no-static-buffer.patch b/unmaintained/libtar/libtar-1.2.20-no-static-buffer.patch deleted file mode 100644 index a30baca88a..0000000000 --- a/unmaintained/libtar/libtar-1.2.20-no-static-buffer.patch +++ /dev/null @@ -1,148 +0,0 @@ -From ba16223652cfaa656d9c0c2d7bc7ab39dbd12467 Mon Sep 17 00:00:00 2001 -From: Kamil Dudka -Date: Wed, 23 Oct 2013 15:04:22 +0200 -Subject: [PATCH 1/3] decode: avoid using a static buffer in th_get_pathname() - -A solution suggested by Chris Frey: -https://lists.feep.net:8080/pipermail/libtar/2013-October/000377.html - -Note this can break programs that expect sizeof(TAR) to be fixed. - -[upstream commit ec613af2e9371d7a3e1f7c7a6822164a4255b4d1] ---- - lib/decode.c | 24 +++++++++++++++++------- - lib/handle.c | 1 + - lib/libtar.h | 3 +++ - 3 files changed, 21 insertions(+), 7 deletions(-) - -diff --git a/lib/decode.c b/lib/decode.c -index c16ea2d..edb2185 100644 ---- a/lib/decode.c -+++ b/lib/decode.c -@@ -26,20 +26,30 @@ - char * - th_get_pathname(TAR *t) - { -- static TLS_THREAD char filename[MAXPATHLEN]; -- - if (t->th_buf.gnu_longname) - return t->th_buf.gnu_longname; - -- if (t->th_buf.prefix[0] != '\0') -+ /* allocate the th_pathname buffer if not already */ -+ if (t->th_pathname == NULL) -+ { -+ t->th_pathname = malloc(MAXPATHLEN * sizeof(char)); -+ if (t->th_pathname == NULL) -+ /* out of memory */ -+ return NULL; -+ } -+ -+ if (t->th_buf.prefix[0] == '\0') -+ { -+ snprintf(t->th_pathname, MAXPATHLEN, "%.100s", t->th_buf.name); -+ } -+ else - { -- snprintf(filename, sizeof(filename), "%.155s/%.100s", -+ snprintf(t->th_pathname, MAXPATHLEN, "%.155s/%.100s", - t->th_buf.prefix, t->th_buf.name); -- return filename; - } - -- snprintf(filename, sizeof(filename), "%.100s", t->th_buf.name); -- return filename; -+ /* will be deallocated in tar_close() */ -+ return t->th_pathname; - } - - -diff --git a/lib/handle.c b/lib/handle.c -index 002d23c..a19c046 100644 ---- a/lib/handle.c -+++ b/lib/handle.c -@@ -122,6 +122,7 @@ tar_close(TAR *t) - libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY - ? free - : (libtar_freefunc_t)tar_dev_free)); -+ free(t->th_pathname); - free(t); - - return i; -diff --git a/lib/libtar.h b/lib/libtar.h -index 7fc4d03..08a8e0f 100644 ---- a/lib/libtar.h -+++ b/lib/libtar.h -@@ -85,6 +85,9 @@ typedef struct - int options; - struct tar_header th_buf; - libtar_hash_t *h; -+ -+ /* introduced in libtar 1.2.21 */ -+ char *th_pathname; - } - TAR; - --- -1.7.1 - - -From 8ef92e48bba35d60208cc09be2bab74f69273d15 Mon Sep 17 00:00:00 2001 -From: Chris Frey -Date: Thu, 24 Oct 2013 17:55:12 -0400 -Subject: [PATCH 2/3] Check for NULL before freeing th_pathname - -Thanks to Harald Koch for pointing out that AIX 4 and 5 still need this. - -[upstream commit 495d0c0eabc5648186e7d58ad54b508d14af38f4] - -Signed-off-by: Kamil Dudka ---- - lib/handle.c | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - -diff --git a/lib/handle.c b/lib/handle.c -index a19c046..28a7dc2 100644 ---- a/lib/handle.c -+++ b/lib/handle.c -@@ -122,7 +122,8 @@ tar_close(TAR *t) - libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY - ? free - : (libtar_freefunc_t)tar_dev_free)); -- free(t->th_pathname); -+ if (t->th_pathname != NULL) -+ free(t->th_pathname); - free(t); - - return i; --- -1.7.1 - - -From 71101392dbab09718d38fabd151bb3cf22fc8b80 Mon Sep 17 00:00:00 2001 -From: Chris Frey -Date: Thu, 24 Oct 2013 17:58:47 -0400 -Subject: [PATCH 3/3] Added stdlib.h for malloc() in lib/decode.c - -[upstream commit 20aa09bd7775094a2beb0f136c2c7d9e9fd6c7e6] - -Signed-off-by: Kamil Dudka ---- - lib/decode.c | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/lib/decode.c b/lib/decode.c -index edb2185..35312be 100644 ---- a/lib/decode.c -+++ b/lib/decode.c -@@ -13,6 +13,7 @@ - #include - - #include -+#include - #include - #include - #include --- -1.7.1 - diff --git a/unmaintained/libubox/APKBUILD b/unmaintained/libubox/APKBUILD deleted file mode 100644 index 87c1e1978a..0000000000 --- a/unmaintained/libubox/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Leonardo Arena -# Maintainer: -pkgname=libubox -pkgver=0_git20150921 -pkgrel=1 -pkgdesc="C utility functions for OpenWrt" -url="https://github.com/xfguo/libubox" -arch="all" -license="GPL" -depends= -depends_dev= -makedepends="$depends_dev autoconf cmake json-c-dev" -subpackages="$pkgname-dev" -install= -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz - json-pkgconf-detect.patch - includes.patch - " -giturl="https://github.com/xfguo/libubox.git" -disturl="dev.alpinelinux.org:/archive/$pkgname" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done -} - -build() { - cd "$_builddir" - cmake CMakeLists.txt -DBUILD_LUA=OFF -DCMAKE_INSTALL_PREFIX=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="ec55e215665beb746086c733d2b270e2 libubox-0_git20150921.tar.gz -eb218033a9c32ea192e5b7b7950588e2 json-pkgconf-detect.patch -5abfaee650e28f4e1211633a84d88d47 includes.patch" -sha256sums="df7ef8903c81b87408f8bca0158c7a5bb146c999dbd5def4b27a919b9ea60fe7 libubox-0_git20150921.tar.gz -891e69fe1d5d5ca9f8a70cc73c4a066d6f11437372cd1f61de6e9f0d5da1eafe json-pkgconf-detect.patch -0bc997c6d7355c30f43f3168caaad5f8b7e9b58b4e909d6b0c9dbe5c86d153e3 includes.patch" -sha512sums="db2ecc70ab84781d5ca96ae18fc51decea95a236c42efab943bb148b91fbc65ca60729360d6c7bd8e8655ab373bfb07cabf0845954a74adee8a077f0535be45d libubox-0_git20150921.tar.gz -a7ad77529f9976d9e991f72009c851743d8ff7435d2a831bb14fe929834ae59b5afbfb158c5faca4c4a6edd7076bb533875813d95e3672f065474dc4a63323a2 json-pkgconf-detect.patch -9db73110f57f33ce08f078cafb7eff4a22905415391d5d7a2bc69651517f714fb042b4a5c7f975f4b0d2e2d1193b593af0910f544309bf7eb70c5d7db4d2c212 includes.patch" diff --git a/unmaintained/libubox/includes.patch b/unmaintained/libubox/includes.patch deleted file mode 100644 index 2ba75aaf1b..0000000000 --- a/unmaintained/libubox/includes.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/blobmsg_json.h -+++ b/blobmsg_json.h -@@ -19,7 +19,7 @@ - #ifdef JSONC - #include - #else -- #include -+ #include - #endif - - #include diff --git a/unmaintained/libubox/json-pkgconf-detect.patch b/unmaintained/libubox/json-pkgconf-detect.patch deleted file mode 100644 index c566fd2b4a..0000000000 --- a/unmaintained/libubox/json-pkgconf-detect.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -13,7 +13,7 @@ - ENDIF() - - INCLUDE(FindPkgConfig) --PKG_CHECK_MODULES(JSONC json-c json) -+PKG_CHECK_MODULES(JSONC json-c) - IF(JSONC_FOUND) - ADD_DEFINITIONS(-DJSONC) - INCLUDE_DIRECTORIES(${JSONC_INCLUDE_DIRS}) diff --git a/unmaintained/libuniso/APKBUILD b/unmaintained/libuniso/APKBUILD deleted file mode 100644 index 70ad9bc326..0000000000 --- a/unmaintained/libuniso/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=libuniso -pkgver=0.1 -pkgrel=1 -pkgdesc="Library to unpack files from CDROM (ISO-9660) images" -url="http://code.google.com/p/libuniso" -arch="all" -license="LGPLv2.1" -depends="" -depends_dev="" -makedepends="lua-dev" -install="" -subpackages="$pkgname-dev lua-uniso:_lua" -source="http://libuniso.googlecode.com/files/libuniso-$pkgver.tar.bz2 - musl-missing-typesh.patch" - -_builddir="$srcdir"/libuniso-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - echo ENABLE_LUA=yes > config.mk - echo ENABLE_SHARED=yes >> config.mk - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -_lua() { - pkgdesc="Lua module for libuniso" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/lua "$subpkgdir"/usr/lib/ -} - -md5sums="9c1e65ceecce5786ff33c5dd82bea897 libuniso-0.1.tar.bz2 -e0948a860bbc3d93bfa7ebf25e0440ec musl-missing-typesh.patch" -sha256sums="fc6a80200d6f8b20a99cd888cbcb0d55c8b45c5a3a6b540b99bbedb54a0248ad libuniso-0.1.tar.bz2 -9840e7c7a2d0459e8f7652d901b172de4fdcf6de46461b7c56fac127b3dda142 musl-missing-typesh.patch" -sha512sums="dea27691b3e53bd6d7ff4c3530cb0e3d8c353bf03cbd7057910f37aa478fc95d66d4300a4dfa1c410957fafbce2d28e0b39a4e34928f6b0a562d3d6043e0f8e6 libuniso-0.1.tar.bz2 -56db43a674afc969f742524680eb02ae9685818022d4310ed8d1a6c727f5a185ccee9ed6553140b91403053311dd89a30d00602d4ee9d29bb3a96406d0462c95 musl-missing-typesh.patch" diff --git a/unmaintained/libuniso/musl-missing-typesh.patch b/unmaintained/libuniso/musl-missing-typesh.patch deleted file mode 100644 index 098cbc46ce..0000000000 --- a/unmaintained/libuniso/musl-missing-typesh.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/libuniso.c.orig -+++ b/libuniso.c -@@ -30,6 +30,7 @@ - #include - #include - #include -+#include - - #include "uniso.h" - diff --git a/unmaintained/libwbxml/APKBUILD b/unmaintained/libwbxml/APKBUILD deleted file mode 100644 index 190e3ca4ac..0000000000 --- a/unmaintained/libwbxml/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=libwbxml -pkgver=0.10.8 -pkgrel=0 -pkgdesc="libwbxml is a library to encode and decode WAP Binary XML" -url="https://libwbxml.opensync.org" -arch="all" -license="LGPL" -depends= -makedepends="cmake expat-dev" -depends_dev="libxml2-dev" -install= -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/libwbxml/libwbxml-$pkgver.tar.bz2" - -_srcdir="$srcdir"/$pkgname-$pkgver -_builddir="$srcdir"/build - -prepare() { - mkdir -p "$_builddir" -} - -build() { - cd "$_builddir" - cmake -DCMAKE_INSTALL_PREFIX=/usr "$_srcdir" - make -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" -} - -md5sums="7b51c425fc2ff9f502cd9b1e291b1955 libwbxml-0.10.8.tar.bz2" diff --git a/unmaintained/libx86/APKBUILD b/unmaintained/libx86/APKBUILD deleted file mode 100644 index 0bb12c5b21..0000000000 --- a/unmaintained/libx86/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=libx86 -pkgver=1.1 -pkgrel=0 -pkgdesc="Library for making real-mode x86 calls" -url="http://www.codon.org.uk/~mjg59/libx86" -arch="x86 x86_64" -license="MIT" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev" -source="http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-$pkgver.tar.gz - libx86-add-pkgconfig.patch - libx86-mmap-offset.patch - " - -_builddir="$srcdir"/libx86-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make BACKEND=x86emu || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="41bee1f8e22b82d82b5f7d7ba51abc2a libx86-1.1.tar.gz -7958f84486ebe60cebd85ae3807c5e58 libx86-add-pkgconfig.patch -cfa7e8b178d2d14431dc0c3e9d5f842d libx86-mmap-offset.patch" diff --git a/unmaintained/libx86/libx86-add-pkgconfig.patch b/unmaintained/libx86/libx86-add-pkgconfig.patch deleted file mode 100644 index 3aeaff7918..0000000000 --- a/unmaintained/libx86/libx86-add-pkgconfig.patch +++ /dev/null @@ -1,64 +0,0 @@ -From fc4f25c4d16aaff7dcb5dd42cc20b292f4eb2218 Mon Sep 17 00:00:00 2001 -From: Dave Airlie -Date: Tue, 4 Aug 2009 13:08:42 +1000 -Subject: [PATCH] git add x86.pc - ---- - Makefile | 15 ++++++++++++--- - x86.pc.in | 10 ++++++++++ - 2 files changed, 22 insertions(+), 3 deletions(-) - create mode 100644 x86.pc.in - -diff --git a/Makefile b/Makefile -index 951b617..953a499 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,6 +1,7 @@ - OBJECTS = x86-common.o - CFLAGS ?= -O2 -Wall -DDEBUG -g - LIBDIR ?= /usr/lib -+INCLUDEDIR ?= /usr/include - - ifeq ($(BACKEND),x86emu) - OBJECTS += thunk.o x86emu/decode.o x86emu/debug.o x86emu/fpu.o \ -@@ -29,10 +30,18 @@ objclean: - rm -f *.o *~ - - clean: objclean -- rm -f *.so.1 *.a -+ rm -f *.so.1 *.a x86.pc - --install: libx86.so.1 -+x86.pc: -+ sed -e's,@prefix@,/usr,' x86.pc.in > x86.pc -+ sed -e's,@exec_prefix@,/usr,' -i x86.pc -+ sed -e's,@libdir@,${LIBDIR},' -i x86.pc -+ sed -e's,@includedir@,${INCLUDEDIR},' -i x86.pc -+ sed -e's,@PACKAGE_VERSION@,1.1,' -i x86.pc -+ -+install: libx86.so.1 x86.pc - install -D libx86.so.1 $(DESTDIR)$(LIBDIR)/libx86.so.1 - install -D libx86.a $(DESTDIR)$(LIBDIR)/libx86.a -+ install -D x86.pc $(DESTDIR)$(LIBDIR)/pkgconfig/x86.pc - ln -sf libx86.so.1 $(DESTDIR)$(LIBDIR)/libx86.so -- install -p -m 0644 -D lrmi.h $(DESTDIR)/usr/include/libx86.h -+ install -p -m 0644 -D lrmi.h $(DESTDIR)$(INCLUDEDIR)/libx86.h -diff --git a/x86.pc.in b/x86.pc.in -new file mode 100644 -index 0000000..711d90d ---- /dev/null -+++ b/x86.pc.in -@@ -0,0 +1,10 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: x86 -+Description: Library providing x86 emulator access -+Version: @PACKAGE_VERSION@ -+Cflags: -I${includedir} -+Libs: -L${libdir} -lx86 --- -1.5.4.1 - diff --git a/unmaintained/libx86/libx86-mmap-offset.patch b/unmaintained/libx86/libx86-mmap-offset.patch deleted file mode 100644 index 881bc6615d..0000000000 --- a/unmaintained/libx86/libx86-mmap-offset.patch +++ /dev/null @@ -1,187 +0,0 @@ -diff -ur libx86-1.1/lrmi.c libx86-1.1.hack/lrmi.c ---- libx86-1.1/lrmi.c 2006-10-30 15:10:16.000000000 -0500 -+++ libx86-1.1.hack/lrmi.c 2009-10-26 15:55:42.000000000 -0400 -@@ -136,7 +136,7 @@ - if (context.ready) - return 1; - -- if (!LRMI_common_init()) -+ if (!LRMI_common_init(0)) - return 0; - - /* -diff -ur libx86-1.1/thunk.c libx86-1.1.hack/thunk.c ---- libx86-1.1/thunk.c 2008-04-02 20:48:00.000000000 -0400 -+++ libx86-1.1.hack/thunk.c 2009-10-26 16:05:39.000000000 -0400 -@@ -139,11 +139,11 @@ - int i; - X86EMU_intrFuncs intFuncs[256]; - -- if (!LRMI_common_init()) -+ mmap_addr = LRMI_common_init(1); -+ -+ if (!mmap_addr) - return 0; - -- mmap_addr = 0; -- - X86EMU_pioFuncs pioFuncs = { - (&x_inb), - (&x_inw), -@@ -169,10 +169,10 @@ - X86_ESP = 0xFFF9; - memset (stack, 0, 64*1024); - -- *((char *)0) = 0x4f; /* Make sure that we end up jumping back to a -- halt instruction */ -+ *mmap_addr = 0x4f; /* Make sure that we end up jumping back to a -+ halt instruction */ - -- M.mem_base = 0; -+ M.mem_base = (unsigned long)mmap_addr; - M.mem_size = 1024*1024; - - return 1; -diff -ur libx86-1.1/x86-common.c libx86-1.1.hack/x86-common.c ---- libx86-1.1/x86-common.c 2008-05-16 12:56:23.000000000 -0400 -+++ libx86-1.1.hack/x86-common.c 2009-10-26 16:03:21.000000000 -0400 -@@ -45,14 +45,15 @@ - static struct { - int ready; - int count; -+ void *offset; - struct mem_block blocks[REAL_MEM_BLOCKS]; - } mem_info = { 0 }; - - static int --real_mem_init(void) -+real_mem_init(int high_page) - { - void *m; -- int fd_zero; -+ int fd_zero, flags = MAP_SHARED; - - if (mem_info.ready) - return 1; -@@ -63,9 +64,12 @@ - return 0; - } - -+ if (!high_page) -+ flags |= MAP_FIXED; -+ - m = mmap((void *)REAL_MEM_BASE, REAL_MEM_SIZE, -- PROT_READ | PROT_WRITE | PROT_EXEC, -- MAP_FIXED | MAP_SHARED, fd_zero, 0); -+ PROT_READ | PROT_WRITE | PROT_EXEC, -+ flags, fd_zero, 0); - - if (m == (void *)-1) { - perror("mmap /dev/zero"); -@@ -76,6 +80,7 @@ - close(fd_zero); - - mem_info.ready = 1; -+ mem_info.offset = m; - mem_info.count = 1; - mem_info.blocks[0].size = REAL_MEM_SIZE; - mem_info.blocks[0].free = 1; -@@ -87,7 +92,7 @@ - real_mem_deinit(void) - { - if (mem_info.ready) { -- munmap((void *)REAL_MEM_BASE, REAL_MEM_SIZE); -+ munmap(mem_info.offset, REAL_MEM_SIZE); - mem_info.ready = 0; - } - } -@@ -119,7 +124,7 @@ - LRMI_alloc_real(int size) - { - int i; -- char *r = (char *)REAL_MEM_BASE; -+ char *r = (char *)mem_info.offset; - - if (!mem_info.ready) - return NULL; -@@ -151,7 +156,7 @@ - LRMI_free_real(void *m) - { - int i; -- char *r = (char *)REAL_MEM_BASE; -+ char *r = (char *)mem_info.offset; - - if (!mem_info.ready) - return; -@@ -200,13 +205,15 @@ - return *(unsigned short *)(i * 4); - } - --int LRMI_common_init(void) -+void *LRMI_common_init(int high_page) - { -- void *m; -+ void *m, *offset; - int fd_mem; - -- if (!real_mem_init()) -- return 0; -+ if (!real_mem_init(high_page)) -+ return NULL; -+ -+ offset = mem_info.offset - REAL_MEM_BASE; - - /* - Map the Interrupt Vectors (0x0 - 0x400) + BIOS data (0x400 - 0x502) -@@ -217,33 +224,33 @@ - if (fd_mem == -1) { - real_mem_deinit(); - perror("open /dev/mem"); -- return 0; -+ return NULL; - } - -- m = mmap((void *)0, 0x502, -- PROT_READ | PROT_WRITE | PROT_EXEC, -- MAP_FIXED | MAP_SHARED, fd_mem, 0); -+ m = mmap(offset, 0x502, -+ PROT_READ | PROT_WRITE | PROT_EXEC, -+ MAP_FIXED | MAP_SHARED, fd_mem, 0); - - if (m == (void *)-1) { - close(fd_mem); - real_mem_deinit(); - perror("mmap /dev/mem"); -- return 0; -+ return NULL; - } - -- m = mmap((void *)0xa0000, 0x100000 - 0xa0000, -+ m = mmap(offset+0xa0000, 0x100000 - 0xa0000, - PROT_READ | PROT_WRITE | PROT_EXEC, - MAP_FIXED | MAP_SHARED, fd_mem, 0xa0000); - - if (m == (void *)-1) { -- munmap((void *)0, 0x502); -+ munmap(offset, 0x502); - close(fd_mem); - real_mem_deinit(); - perror("mmap /dev/mem"); -- return 0; -+ return NULL; - } - - close(fd_mem); - -- return 1; -+ return offset; - } -diff -ur libx86-1.1/x86-common.h libx86-1.1.hack/x86-common.h ---- libx86-1.1/x86-common.h 2006-09-07 18:44:27.000000000 -0400 -+++ libx86-1.1.hack/x86-common.h 2009-10-26 16:01:19.000000000 -0400 -@@ -40,4 +40,4 @@ - - void *LRMI_alloc_real(int size); - void LRMI_free_real(void *m); --int LRMI_common_init(void); -+void *LRMI_common_init(int high_page); diff --git a/unmaintained/lightdm-gtk-greeter/APKBUILD b/unmaintained/lightdm-gtk-greeter/APKBUILD deleted file mode 100644 index b291f717ed..0000000000 --- a/unmaintained/lightdm-gtk-greeter/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=lightdm-gtk-greeter -pkgver=1.8.5 -pkgrel=0 -pkgdesc="LightDM GTK+ Greeter" -url="https://launchpad.net/lightdm-gtk-greeter" -arch="all" -license="GPLv3+" -depends="" -depends_dev="" -makedepends="$depends_dev gnome-doc-utils gobject-introspection-dev gtk+3.0-dev - intltool lightdm-dev" -install="" -subpackages="$pkgname-lang $pkgname-doc" -source="https://launchpad.net/lightdm-gtk-greeter/1.8/$pkgver/+download/lightdm-gtk-greeter-$pkgver.tar.gz - lightdm-gtk-greeter-1.8.5-bg_crash.patch - " - -_builddir="$srcdir"/lightdm-gtk-greeter-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - DATADIRNAME=share ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="ce1384d6738a5757d26091792f29f1e1 lightdm-gtk-greeter-1.8.5.tar.gz -36ea04fef15e79e6b1bccf901c832b20 lightdm-gtk-greeter-1.8.5-bg_crash.patch" -sha256sums="22386e787dc64ac372c63cf2cdce47bfa1c791d1cf8b5d3df68df24ecfbf7d68 lightdm-gtk-greeter-1.8.5.tar.gz -ea8e12973b4e1a75c436564cbd44851a40057d8c6b51c4dc86ed5c37dee154f0 lightdm-gtk-greeter-1.8.5-bg_crash.patch" -sha512sums="e1091b6e7d470259859b5f76f59db3402ab33e327eaff650275c0a44c8e17858f14c0afbd6815ec9c3283bd09a496ed5b65b27518755ca282719df44a8f6ee18 lightdm-gtk-greeter-1.8.5.tar.gz -c7273946c1343f56503e2cdc91784a46952db84c3699984c4c0e8bee412c2daba7f0a773dba9e4e2db2f8cdb60e40e67b1008b8cc0b21709c071671753ff01bb lightdm-gtk-greeter-1.8.5-bg_crash.patch" diff --git a/unmaintained/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch b/unmaintained/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch deleted file mode 100644 index 1941eddc90..0000000000 --- a/unmaintained/lightdm-gtk-greeter/lightdm-gtk-greeter-1.8.5-bg_crash.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c.bg_crash lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c ---- lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c.bg_crash 2014-05-05 13:39:10.833190035 -0500 -+++ lightdm-gtk-greeter-1.8.5/src/lightdm-gtk-greeter.c 2014-05-05 13:41:53.725481558 -0500 -@@ -2060,7 +2060,7 @@ set_background (GdkPixbuf *new_bg) - { - gdk_screen_get_monitor_geometry (screen, monitor, &monitor_geometry); - -- if (bg) -+ if (bg && (monitor_geometry.width > 0) && (monitor_geometry.height > 0)) - { - p_width = gdk_pixbuf_get_width (bg); - p_height = gdk_pixbuf_get_height (bg); diff --git a/unmaintained/linux_logo/APKBUILD b/unmaintained/linux_logo/APKBUILD deleted file mode 100644 index 8437cc20be..0000000000 --- a/unmaintained/linux_logo/APKBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=linux_logo -pkgver=5.11 -pkgrel=0 -pkgdesc="Text-based logo and system information program" -url="http://www.deater.net/weave/vmwprod/linux_logo" -arch="all" -license="GPL" -depends="gettext" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc $pkgname-lang" -source="http://www.deater.net/weave/vmwprod/$pkgname/$pkgname-$pkgver.tar.gz - alpinelinux.logo - $pkgname.initd - $pkgname.conf" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - cp "$srcdir"/alpinelinux.logo logos/distributions/ - echo "./logos/distributions/alpinelinux.logo" >logo_config - echo "./logos/distributions/gnu-linux.logo" >>logo_config - echo "./logos/banner.logo" >>logo_config - echo "./logos/classic.logo" >>logo_config -} - -build() { - cd "$_builddir" - export LDFLAGS="$LDFLAGS -lintl" - ./configure --prefix=/usr - make || return 1 -} - -package() { - cd "$_builddir" - make PREFIX="${pkgdir}/usr" install - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/ -} - -md5sums="8e52af520368980ceba978330881e36e linux_logo-5.11.tar.gz -490d8222bf5b11770a042fd8fc37b4ff alpinelinux.logo -072c6af5ce1ec477d1b9ac31ab4f65ab linux_logo.initd -cd06a9c659d80c7dbd4af676e8ce18fa linux_logo.conf" -sha256sums="f56634d7b6bebd6598705d973997435fdc9cb9115dea3cc1d63398c92ebe72d9 linux_logo-5.11.tar.gz -673517275bb58228a802af3c17b502aad85bb35943a5c5237b8ca3ebf8fb094e alpinelinux.logo -b7611ae9d685158d66fe575a9575c7111470dedd4193486fbf621b079a5de0d5 linux_logo.initd -9695f48979b2c206d05aa3f10dfb677b49b0b7554db6e110482c686c34afd0b8 linux_logo.conf" -sha512sums="3c11d59eeb1ea613eb66d3ea5ef2d7c9ef906cb12430b9350570a6a1937ec174bdd974e6227358339c3fd2e0647a5066a0bea22289c4aa9bc8b03afb0033f114 linux_logo-5.11.tar.gz -3a1f3cc5e85f5914bbe4003b770325925e1ed6b2369705c3c8c52c7c5feb25ade8e3b168ec2078b2fd1f5ddbac5ab30a022ce871c1c0063b5e7bc26551c6a8a3 alpinelinux.logo -0c021418a4e7e31df3aada8bd3c7cebd97f8e812d086a45aaff5d5779650195e92e87072a3627a3bb50384f10fccafd78cd966c8daed6775bbe58f6305e6db53 linux_logo.initd -d4da673171c28c594f8f3fad1e7e3b218e48d27857c94509bdfc5df5ba45d07199c19b3326ee7c9dc8bdf1a67cfc22f84526cf3e13c4f1d4054b20b92bbb4b94 linux_logo.conf" diff --git a/unmaintained/linux_logo/alpinelinux.logo b/unmaintained/linux_logo/alpinelinux.logo deleted file mode 100644 index 0a03722620..0000000000 --- a/unmaintained/linux_logo/alpinelinux.logo +++ /dev/null @@ -1,54 +0,0 @@ -# Alpine Linux ANSI and ASCII Logo v0.1 -# Drawn by Francesco Colista -# Released under GPL2 - -SYSINFO_POSITION bottom - -NAME alpine - -DESCRIPTION_STRING The Alpine Linux Logo - - - -BEGIN_ASCII_LOGO - ''''''''''''''` '' - `''''''''''''''' '' - ''''''''''''''''; '' - ,''''''''''''''''' '' - ''''''''''''''''''' '' - ;''''''''''''''''''' ,;;;, '' ,;;;` :;;;` - ''''''''''''''''''''' ,'''''''' '' ''''''''` '' '''''''' .''''''''; - '''''''' `'''''''''''', :''';:;'''' ;' '''';;'''', `' '''';;'''' '''''''''''' - .''''''' .''; '''''''' '': .'' ; ''` ''' '. ''' ''' ''', '' - ''''''' .' ''''''': ''' '', '' ''' ''; '' '' '' '' '' - ,'''''' , ''''''' ''` ;'' '' '', .'' '' ,'' '' .'' .....;'' - '''''' '' .: ''''''' '' ,'' '' ''. '' '' :'' ''`;'' ''''''''' -;''''' '''' .; '''''' '' .'' '' ''. `'' '' :'' ''`;'' '''''''` - '''' ,,'''' .; ''''' ''. .'' '' ''. .'' '' :'' ''`,'' - ,'' , ,''''' `; ''' ''' .'' ''' ''. ''; '' :'' ''` '' - '''';''';'''''':'''';''': ''; .'' `''; ''` ''' '' :'' ''` ''' - `''''''''''''''''''''''' :'''', .'' ;''';. '; ,'''', '' :'' ''` ''';........ - ''''''''''''''''''''''. .'''' .'' .'''' ;` ''''. '' :'' ''` ''''''''''' - ''''''''''''''''''''' `'' '' `'' ''` ''` '' :'' ,'` `''''''''' - :''''''''''''''''''' ''` . - ''''''''''''''''''; ''` . ` ,;;, . : , : - ,''''''''''''''''' ''` . . ' ; , ' `. - '''''''''''''''': ''` . . : : . ' . - ''''''''''''''' ''` ; . : : ' : `. - ;:::::::::::::` ::` ,;;; ` , , .;;` , : -END_ASCII_LOGO - -BEGIN_LOGO - 8;8%8t8S8;8 %8  - X88@@88XX88@X 88  - 8S8t8X8%8S8t8X8 8 8S 8  - 8:@@8; @@8@@@8;@8 8:@@8;@ 8 8:@88;@ 8 8:@88;@8 8:@@8;@@  - @t8S8t 8 %8t8S@ ;8 %8 t 8S 8; 8 %8 t 8S @; - @88X X 88@@ 88 8X 88 @@ 88 X X8 8@ @ 88XX888 -8X8% 8S8t 8X8% 8 S8 t8 X8 %8 S 8t 8X 8  - 8;@ @88@@8;@@88 @@8 ;8 88 8@8 8; 8@ 8 :@ @8 ;8  - @;8%8t8S8;8%8t8S@ ;8%8 88 S8; @ %8t8 S 8; 8% @t8S8;8%8 - X88@@88XX88@@88 XX  - 8S8t8X8%8S8t8 X8  - 8:@@8;@@8:@ @8  -END_LOGO diff --git a/unmaintained/linux_logo/linux_logo.conf b/unmaintained/linux_logo/linux_logo.conf deleted file mode 100644 index e98971989a..0000000000 --- a/unmaintained/linux_logo/linux_logo.conf +++ /dev/null @@ -1,18 +0,0 @@ -# /etc/linux_logo.conf -# -# This conf file controls linux_logo. Place your command-line options -# for linux_logo on the first line of this file. Users may use a -# ~/.linux_logo file which will over-ride this file. -# -# The following logos are compiled in to the ArchLinux version of linux_logo: -# -# Num Type Ascii Name Description -# 1 Classic Yes arch The ArchLinux Logo -# 2 Classic Yes gnu_linux Classic GNU/Linux -# 3 Banner Yes banner The Default Banner Logo -# 4 Classic Yes classic The Default Classic Logo -# -# See the man page or the output of linux_logo -h for a complete -# list a command-line options. - --L alpine diff --git a/unmaintained/linux_logo/linux_logo.initd b/unmaintained/linux_logo/linux_logo.initd deleted file mode 100644 index 68a6700aec..0000000000 --- a/unmaintained/linux_logo/linux_logo.initd +++ /dev/null @@ -1,36 +0,0 @@ -#!/sbin/openrc-run - -ISSUE_BACKUP_FILE="/etc/issue.linux-logo.backup" -ISSUE_NET_BACKUP_FILE="/etc/issue.net.linux-logo.backup" - -start() { - ebegin "Starting linux_logo" - - if [ ! -x /usr/bin/linux_logo ] - then - eerror "ERROR: linux_logo not found !" - return 1 - fi - - ebegin " Creating /etc/issue" - cp /etc/issue ${ISSUE_BACKUP_FILE} 2> /dev/null - /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMAT}" > /etc/issue - eend $? " Failed to create /etc/issue" - - if [ -f /etc/issue.net ] - then - ebegin " Creating /etc/issue.net" - cp /etc/issue.net ${ISSUE_NET_BACKUP_FILE} 2> /dev/null - /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMATNET}" > \ - /etc/issue.net - eend $? " Failed to create /etc/issue.net" - fi -} - -stop() { - ebegin "Stopping linux_logo" - [ -f ${ISSUE_NET_BACKUP_FILE} ] && \ - mv ${ISSUE_NET_BACKUP_FILE} /etc/issue.net 2> /dev/null - [ -f ${ISSUE_BACKUP_FILE} ] && \ - mv ${ISSUE_BACKUP_FILE} /etc/issue 2> /dev/null -} diff --git a/unmaintained/lnav/APKBUILD b/unmaintained/lnav/APKBUILD deleted file mode 100644 index b2002d8c3c..0000000000 --- a/unmaintained/lnav/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=lnav -pkgver=0.6.1 -pkgrel=0 -pkgdesc="A curses-based tool for viewing and analyzing log files" -url="http://lnav.org" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="python-dev ncurses-dev openssl-dev pcre-dev readline-dev - sqlite-dev zlib-dev autoconf automake" -install="" -subpackages="" -source="https://github.com/tstack/lnav/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="293d09de03f8a3d18dea9da9db5a5e6d lnav-0.6.1.tar.gz" -sha256sums="a952f5e6f8d08a9b96c1219b6beac09319a6be1521d783a645cdb6b4352a7fc9 lnav-0.6.1.tar.gz" -sha512sums="a44a0041bf52242f03b0d9ee0551430d148faa6a967467e69619c60524d079e79b27914c9488af34b39c6a66ee0e12b1fa70b8c4bed6ef7ea5fd8d07263a6801 lnav-0.6.1.tar.gz" diff --git a/unmaintained/lok/APKBUILD b/unmaintained/lok/APKBUILD deleted file mode 100644 index 7a076a7ffe..0000000000 --- a/unmaintained/lok/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Sören Tempel -# Maintainer: -pkgname=lok -pkgver=5.8 -pkgrel=0 -pkgdesc="A Linux port of OpenBSD's awk" -url="https://github.com/dimkr/lok" -arch="all" -license="ISC" -depends="!gawk" -depends_dev="" -makedepends="" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/dimkr/${pkgname}/archive/${pkgver}.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - make -C "$_builddir" || return 1 -} - -package() { - make DESTDIR="$pkgdir" \ - PREFIX="/usr" \ - MANDIR="/usr/share/man" \ - -C "$_builddir" install || return 1 -} - -md5sums="24e5aee5b03a49689ca480f988ec39f9 lok-5.8.tar.gz" -sha256sums="ada34686b959598e5d9ec484571eb6598ad690ca6f0d02039281135cb712d1a4 lok-5.8.tar.gz" -sha512sums="6bcbb4cde51477f05a37b552010a148e17c524ec083d1e10e0367f731bd4f04331acfeed7d2c1cdb165e59180a12345efbc454aee05aad38cb9f565916e7246d lok-5.8.tar.gz" diff --git a/unmaintained/lrzsz/APKBUILD b/unmaintained/lrzsz/APKBUILD deleted file mode 100644 index 782c7a2f9d..0000000000 --- a/unmaintained/lrzsz/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=lrzsz -pkgver=0.12.20 -pkgrel=0 -pkgdesc="xmodem, ymodem and zmodem file transfer protocols" -url="http://www.ohse.de/uwe/software/lrzsz.html" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://www.ohse.de/uwe/releases/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - # make install tries to remove stuff from /usr/bin - sed -i -e '/rm -f $(bindir)/d' src/Makefile.in -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --program-transform-name=s/l// - make -j1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install -} - -md5sums="b5ce6a74abc9b9eb2af94dffdfd372a4 lrzsz-0.12.20.tar.gz" diff --git a/unmaintained/lua-base64url/APKBUILD b/unmaintained/lua-base64url/APKBUILD deleted file mode 100644 index 11f083a146..0000000000 --- a/unmaintained/lua-base64url/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=lua-base64url -pkgver=5.1.20121219 -pkgrel=1 -pkgdesc="A urlsafe base64 library for Lua" -url="https://github.com/ncopa/lbase64url" -arch="all" -license="Public Domain" -depends=lua -makedepends="lua-dev" -install= -subpackages= -source="http://dev.alpinelinux.org/archive/lbase64url/lbase64url-$pkgver.tar.gz" - -_builddir="$srcdir"/base64url - -prepare() { - cd "$_builddir" -} - -build() { - cd "$_builddir" - make LUABIN=/usr/bin || return 1 -} - -package() { - cd "$_builddir" - local cmod=$(pkg-config --variable INSTALL_CMOD lua) - mkdir -p "$pkgdir"/$cmod - cp -a *.so "$pkgdir"/$cmod/ -} - -md5sums="041e640987a6e5c9bb087d333faba8b9 lbase64url-5.1.20121219.tar.gz" diff --git a/unmaintained/lua-cloud_storage/APKBUILD b/unmaintained/lua-cloud_storage/APKBUILD deleted file mode 100644 index 4fb06ac3c4..0000000000 --- a/unmaintained/lua-cloud_storage/APKBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=lua-cloud_storage -pkgver=0.1.0 -_luaversions="5.1 5.2 5.3" -pkgrel=3 -pkgdesc="A Lua library for communicating with Google Cloud Storage" -url="https://github.com/leafo/cloud_storage" -arch="noarch" -license="MIT" -depends="" -depends_dev="" -makedepends="$depends_dev lua-moonscript" -install="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/leafo/cloud_storage/archive/v$pkgver.tar.gz" -for _v in $_luaversions; do - subpackages="$subpackages lua$_v-cloud_storage:split_${_v/./_}" -done - -_builddir="$srcdir"/cloud_storage-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - mkdir -p "$pkgdir" -} - -_split() { - cd "$_builddir" - local _ver="$1" - pkgdesc="A Lua $_ver library for communicating with Google Cloud Storage" - install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" - depends="lua${_ver}-socket lua${_ver}-cjson lua${_ver}-mimetypes - lua${_ver}-crypto lua${_ver}-expat lua${_ver}-date" - mkdir -p "$subpkgdir"/usr/share/lua/$_ver/cloud_storage - cp cloud_storage/*.lua \ - "$subpkgdir"/usr/share/lua/$_ver/cloud_storage/ || return 1 - mv "$subpkgdir"/usr/share/lua/$_ver/cloud_storage/google.lua \ - "$subpkgdir"/usr/share/lua/$_ver/ || return 1 -} - -for _v in $_luaversions; do - eval "split_${_v/./_}() { _split $_v; }" -done - -md5sums="dae6fcd15554368f3b9fcc8d9be40542 lua-cloud_storage-0.1.0.tar.gz" -sha256sums="58eb6c8767daa07c05accf0a0624fa4ef5574865cfac631dff9768ec2dfdea29 lua-cloud_storage-0.1.0.tar.gz" -sha512sums="d1fe7811469cc2dce11319692500c1d3d78b39a8e3c6ad9513a1ad694c080ee8fc1872c76c08cdc3d777098407ad46574c18de95eb453d3333394b24c727e0ad lua-cloud_storage-0.1.0.tar.gz" diff --git a/unmaintained/lua-date/APKBUILD b/unmaintained/lua-date/APKBUILD deleted file mode 100644 index bd4e9987ed..0000000000 --- a/unmaintained/lua-date/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=lua-date -pkgver=2.1.1 -_luaversions="5.1 5.2 5.3" -pkgrel=0 -pkgdesc="Date & Time module for Lua" -url="http://tieske.github.io/date/" -arch="noarch" -license="MIT" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/Tieske/date/archive/version_$pkgver.tar.gz" -for _v in $_luaversions; do - subpackages="$subpackages lua$_v-date:split_${_v/./_}" -done - -_builddir="$srcdir"/date-version_$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - mkdir -p "$pkgdir" -} - -_split() { - cd "$_builddir" - local _ver="$1" - pkgdesc="Date & Time module for Lua $_ver" - install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" - install -Dm644 date.lua \ - "$subpkgdir"/usr/share/lua/$_ver/date.lua || return 1 -} - -for _v in $_luaversions; do - eval "split_${_v/./_}() { _split $_v; }" -done - -md5sums="fbf98dc124b6c2e6600ae8b43a0752f7 lua-date-2.1.1.tar.gz" -sha256sums="4a27cc920f884b86b90b4c93fd06647743214fedfd27b801dcf597a954eafae5 lua-date-2.1.1.tar.gz" -sha512sums="aa7726edcebd500a99267b7f380579940c774d4bfcb85de55ad0d31072a7b7e84232b3e30fc1b04f2b0bd03be646a70ce1d86ef746766e23e441ce97932fbc1e lua-date-2.1.1.tar.gz" diff --git a/unmaintained/lua-ejdb/APKBUILD b/unmaintained/lua-ejdb/APKBUILD deleted file mode 100644 index a846c9337f..0000000000 --- a/unmaintained/lua-ejdb/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=lua-ejdb -pkgver=1.2.3 -pkgrel=0 -pkgdesc="EJDB Lua binding for Lua 5.1" -url="https://github.com/Softmotions/ejdb-lua" -arch="all" -license="GPLv2" -depends="lua5.1-inspect" -depends_dev="" -makedepends="$depends_dev lua5.1-dev ejdb-dev" -install="" -subpackages="" -source="http://dev.alpinelinux.org/archive/lua-ejdb/lua-ejdb-$pkgver.tar.gz - unbundle-inspect.patch" - -_builddir="$srcdir/ejdb-lua-master" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ${CC:-gcc} $CFLAGS $(pkg-config --cflags libejdb) -shared -fPIC -o \ - luaejdb.so luaejdb.c luabson.c $(pkg-config --libs libejdb) -} - -package() { - cd "$_builddir" - install -Dm644 luaejdb.so \ - "$pkgdir"/usr/lib/lua/5.1/luaejdb.so || return 1 - install -Dm644 ejdb.lua \ - "$pkgdir"/usr/share/lua/5.1/ejdb.lua || return 1 -} - -md5sums="d2295fd8aa3e5bc1188ee261a8645a66 lua-ejdb-1.2.3.tar.gz -6ffcbd12d1e97b6dc53b29e1f349396b unbundle-inspect.patch" -sha256sums="75866565110c0c7e3566794b01a79394179b24685fd89c28f7ca93e651435404 lua-ejdb-1.2.3.tar.gz -da4f1d9b0f9825ba5a832c572d3a3cd5a3e1a45cd91dc4628bdd1f36c4caf8f9 unbundle-inspect.patch" -sha512sums="d1fc7f2051fdf95a366f140d0f17e4552398138b25f580292bd1cbe2c4d1a373297fb003f103e5703bb296290ca9ad748175cff32ee3c5e1473fd6d00b23f524 lua-ejdb-1.2.3.tar.gz -de4a79222358e368e740c3c41208ea6562212093e0e214153f137bd1a82ed99623cdc3037094dee713d75ea680a4a43f1c9318fcb4288c78ca4926acff4df386 unbundle-inspect.patch" diff --git a/unmaintained/lua-ejdb/unbundle-inspect.patch b/unmaintained/lua-ejdb/unbundle-inspect.patch deleted file mode 100644 index a2694a004f..0000000000 --- a/unmaintained/lua-ejdb/unbundle-inspect.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- ./ejdb.lua.orig -+++ ./ejdb.lua -@@ -1,6 +1,6 @@ - local luaejdb = require("luaejdb") - assert(type(luaejdb) == "table") --local inspect = require("ejdb.inspect") -+local inspect = require("inspect") - - -- ------------ Misc ----------------------- - -@@ -532,4 +532,4 @@ - }) - luaejdb.Q = luaejdb.B -- Name variations - --return luaejdb; -\ No newline at end of file -+return luaejdb; diff --git a/unmaintained/lua-event/APKBUILD b/unmaintained/lua-event/APKBUILD deleted file mode 100644 index d67c4c7312..0000000000 --- a/unmaintained/lua-event/APKBUILD +++ /dev/null @@ -1,81 +0,0 @@ -# Contributor: Johannes Matheis -# Maintainer: Johannes Matheis - -_luaversions="5.1 5.2" -pkgname=lua-event -_n=${pkgname#lua-} -pkgver=0.4.3 -pkgrel=2 -pkgdesc="Lua binding for libevent" -url="https://github.com/harningt/luaevent" -arch="all" -license="MIT" -depends="" -depends_dev="libevent-dev" -makedepends="$depends_dev" -install="" -source="${url}/archive/v${pkgver}.tar.gz" - -for _i in $_luaversions; do - makedepends="$makedepends lua${_i}-dev" - subpackages="$subpackages lua${_i}-${_n}:_split${_i/./}" -done - - -_builddir="${srcdir}/luaevent-${pkgver}" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - - cd "$srcdir" - for i in $_luaversions; do - cp -r "$_builddir" build-$i - done -} - -build() { - cd "$_builddir" - for i in $_luaversions; do - cd "$srcdir"/build-$i - make LUA_INC_DIR=/usr/include/lua$i || return 1 - done -} - -package() { - cd "$_builddir" - for i in $_luaversions; do - cd "$srcdir"/build-$i - make install \ - DESTDIR="$pkgdir" \ - INSTALL_DIR_LUA=/usr/share/lua/$i \ - INSTALL_DIR_BIN=/usr/lib/lua/$i \ - || return 1 - done -} - -_split() { - local d= _ver=$1 - pkgdesc="$pkgdesc - for Lua $_ver" - depends= - install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" - for d in usr/lib/lua usr/share/lua; do - if [ -d "$pkgdir"/$d/$_ver ]; then - mkdir -p "$subpkgdir"/$d - mv "$pkgdir"/$d/$_ver "$subpkgdir"/$d/ || return 1 - fi - done -} - -for _i in $_luaversions; do - eval "_split${_i/./}() { _split $_i; }" -done - -md5sums="3d0efc3d3751fddecedba0c25e0652df v0.4.3.tar.gz" -sha256sums="9a3ea7671caa95af2763a7125818991b3742168db75b3025d04af5241349d9c5 v0.4.3.tar.gz" -sha512sums="5f02c9d40e59589a2b932b49d27230ca6650174feeda2cf412769c33af056c9df52d38fdd5fc12f0f6318b788e29a2deef54f11beb4becc48818edd27185f161 v0.4.3.tar.gz" diff --git a/unmaintained/lua-json/APKBUILD b/unmaintained/lua-json/APKBUILD deleted file mode 100644 index 062b624aff..0000000000 --- a/unmaintained/lua-json/APKBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=lua-json -pkgver=20140920.13 -pkgrel=1 -pkgdesc="Simple JSON encoding and decoding in pure Lua" -url="http://regex.info/blog/lua/json" -arch="noarch" -license="AS-IS" -depends="" -makedepends="lua-dev lua" -install="" -subpackages="" -source="http://dev.alpinelinux.org/archive/lua-json-20140920.13.tar.gz" -build() { - return 0 -} - -package() { - local _lmoddir=$(pkg-config --variable=INSTALL_LMOD lua) - install -Dm644 "$srcdir"/JSON.lua "${pkgdir}$_lmoddir"/JSON.lua -} - -md5sums="c083c14032cedecf7243d50d68b12538 lua-json-20140920.13.tar.gz" -sha256sums="e30a6efa30173a90d1bba1fadb25784030db3cc9b2540a6b49cc5ac678fd1cb7 lua-json-20140920.13.tar.gz" -sha512sums="bc5eebecbf2d6b27ecb4ca9a18f3d20c0b0d6a757968b8ccaffee52799b2228b4f8dc42271d261119e75db4843121c21891e6893fe93ff321be446a8e8e5be0d lua-json-20140920.13.tar.gz" diff --git a/unmaintained/lua-lbase64/APKBUILD b/unmaintained/lua-lbase64/APKBUILD deleted file mode 100644 index e87ab130eb..0000000000 --- a/unmaintained/lua-lbase64/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=lua-lbase64 -pkgver=5.1.2012.08.20 -pkgrel=0 -pkgdesc="A base64 library for Lua" -url="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbase64" -arch="all" -license="Public Domain" -depends=lua -makedepends="lua-dev" -install= -subpackages= - -# For date and checksum see: -# http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/release.txt - -source="http://dev.alpinelinux.org/archive/lbase64/lbase64-$pkgver.tar.gz" - -_builddir="$srcdir"/base64 - -prepare() { - cd "$_builddir" -} - -build() { - cd "$_builddir" - make LUABIN=/usr/bin || return 1 -} - -package() { - cd "$_builddir" - local cmod=$(pkg-config --variable INSTALL_CMOD lua) - mkdir -p "$pkgdir"/$cmod - cp -a *.so "$pkgdir"/$cmod/ -} - -md5sums="4834045fe79facef524990e968783dab lbase64-5.1.2012.08.20.tar.gz" diff --git a/unmaintained/lua-ljsyscall/APKBUILD b/unmaintained/lua-ljsyscall/APKBUILD deleted file mode 100644 index e4c5f446d6..0000000000 --- a/unmaintained/lua-ljsyscall/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Michael Zuo -# Maintainer: Michael Zuo -pkgname=lua-ljsyscall -pkgver=0.11 -pkgrel=0 -pkgdesc="LuaJIT Unix syscall FFI" -url="http://www.myriabit.com/ljsyscall/" -arch="all" -license="MIT" -depends="" -makedepends="luajit" -source="${pkgname#lua-}-$pkgver.tar.gz::https://github.com/justincormack/ljsyscall/archive/v$pkgver.tar.gz" -options="!archcheck" - -_builddir="$srcdir/${pkgname#lua-}-$pkgver" -build() { - cd "$_builddir" - find syscall/* -maxdepth 0 \ - -type d \ - -not -name linux \ - -not -name shared \ - -exec rm -r {} + - # we don't target mips, so no special case - find -H syscall/linux/* -maxdepth 0 \ - -type d \ - -not -name "`luajit -e 'print(jit.arch)'`" \ - -exec rm -r {} + -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir/usr/share/lua/5.1" - cp -a syscall.lua syscall "$pkgdir/usr/share/lua/5.1" -} - -md5sums="bd4a13b7bbb3b21cdfe18d7be4d53483 ljsyscall-0.11.tar.gz" -sha256sums="2353f8e512db4b19f86b499cb12396e5915a41f000a80c61435297a72330c6f3 ljsyscall-0.11.tar.gz" -sha512sums="0a78dc6601a0192011428447b5ab18d700ca005720d7e7c9f51fa7f38dc8f8410702da65feb72b7aa161d3934e62b5d2be3d7f345ad19e0d5356b1aa3cef3d7e ljsyscall-0.11.tar.gz" diff --git a/unmaintained/lua-llthreads/APKBUILD b/unmaintained/lua-llthreads/APKBUILD deleted file mode 100644 index 7ca39dbfa7..0000000000 --- a/unmaintained/lua-llthreads/APKBUILD +++ /dev/null @@ -1,88 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -_luaversions="5.1 5.2" - -pkgname=lua-llthreads -pkgver=1.2 -pkgrel=3 -pkgdesc="Low-Level native threads module for Lua" -url="https://github.com/Neopallium/lua-llthreads" -arch="all" -license="MIT" -depends="" -makedepends="cmake" -install="" -subpackages= -for _i in $_luaversions; do - makedepends="$makedepends lua$_i-dev" - subpackages="$subpackages lua$_i-llthreads:split_${_i/./_}" -done -source="lua-llthreads-$pkgver.tar.gz::https://github.com/Neopallium/lua-llthreads/archive/v$pkgver.tar.gz - bindings-1.patch - bindings-2.patch - lua-5.2.patch" - -_sdir="$srcdir"/lua-llthreads-$pkgver - -prepare() { - local i - cd "$_sdir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - cd "$srcdir" - for _i in $_luaversions; do - mkdir -p "$srcdir"/build-$_i - done -} - -build() { - for _i in $_luaversions; do - cd "$srcdir"/build-$_i - msg "build for Lua $_i" - CFLAGS="$CFLAGS $(pkg-config --cflags lua$_i)" cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DINSTALL_CMOD=/usr/lib/lua/$_i \ - "$_sdir" || return 1 - make VERBOSE=1 || return 1 - done -} - -package() { - for _i in $_luaversions; do - cd "$srcdir"/build-$_i - make install DESTDIR="$pkgdir" || return 1 - done -} - -_split() { - local d= _ver=$1 - pkgdesc="Low-Level native threads module for Lua $_ver" - install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" - depends= - for d in usr/lib/lua usr/share/lua; do - if [ -d "$pkgdir"/$d/$_ver ]; then - mkdir -p "$subpkgdir"/$d - mv "$pkgdir"/$d/$_ver "$subpkgdir"/$d/ || return 1 - fi - done -} - -for _i in $_luaversions; do - eval "split_${_i/./_}() { _split $_i; }" -done - -md5sums="d4adb2e6d4859bf33ebdb3bd6b6c6bb5 lua-llthreads-1.2.tar.gz -399fa42d7dfa7ec2335bd7111b17935e bindings-1.patch -f892e9cb699eef2d5df406063a26d044 bindings-2.patch -5f4a0b8c23968a521072c96c42435475 lua-5.2.patch" -sha256sums="32df7dc903760825536def63fba834466c42e6bd17022d430893c9a6ca3ba8f2 lua-llthreads-1.2.tar.gz -20c2cc64f09dd601fb85d867e7e57b8849a66d9b1992c647282a84af92127902 bindings-1.patch -3bb62563bdd5e4b5261612b5d0498bed4b327f02c7b5ff4a85329b9bc7867b3c bindings-2.patch -5c7f28e7a3ef4e8d1ac6f0ef5cf5680ba58d0aa76e77260d6fe1c4ed74c4b586 lua-5.2.patch" -sha512sums="d8b006e7f135e9c45d88c93d6acf30d41024bee66bd0747ba8112e28c2fe03fbd8f869d6235261108f3df30a08f3a812595a763c82a57674b5ec54a8ca915fa7 lua-llthreads-1.2.tar.gz -eace4eb6226527697aa82b5e455b7ece3d651966f3525471f07476d84714550bb4f75447be34569d57f2ed52bbfd708458305b527621179cfa2f843ae684d931 bindings-1.patch -fd5be1ec7293c0e279877ee139de53c1772c28957c30e276f5fe8e05314c31e81ae6ea18553fe67d912b3f9902b48cd88b962480f5855037783477bbb633e019 bindings-2.patch -234e0afe81bbd2a40689a858febec8778962273553da6d7b876871bd996ed0ad28ca33a15b7e155c313b63f10b0f8bab3ee0a83c0cd14d3378884d0031df720d lua-5.2.patch" diff --git a/unmaintained/lua-llthreads/bindings-1.patch b/unmaintained/lua-llthreads/bindings-1.patch deleted file mode 100644 index 72c116f4fa..0000000000 --- a/unmaintained/lua-llthreads/bindings-1.patch +++ /dev/null @@ -1,650 +0,0 @@ -From dee5a6fabc51c22607fefb5f7a9dd8fe32d098aa Mon Sep 17 00:00:00 2001 -From: "Robert G. Jakabosky" -Date: Mon, 13 Feb 2012 01:47:15 -0800 -Subject: [PATCH] Update pre-generated bindings. - ---- - src/pre_generated-llthreads.nobj.c | 378 +++++++++++++++++++++++++++++-------- - 1 file changed, 302 insertions(+), 76 deletions(-) - -diff --git a/src/pre_generated-llthreads.nobj.c b/src/pre_generated-llthreads.nobj.c -index 6f53fe5..a7ce73a 100644 ---- a/src/pre_generated-llthreads.nobj.c -+++ b/src/pre_generated-llthreads.nobj.c -@@ -10,13 +10,14 @@ - #include "lauxlib.h" - #include "lualib.h" - -- -- - #define REG_PACKAGE_IS_CONSTRUCTOR 0 -+#define REG_MODULES_AS_GLOBALS 0 - #define REG_OBJECTS_AS_GLOBALS 0 - #define OBJ_DATA_HIDDEN_METATABLE 1 --#define LUAJIT_FFI 0 - #define USE_FIELD_GET_SET_METHODS 0 -+#define LUAJIT_FFI 0 -+ -+ - - - -@@ -95,19 +96,26 @@ - #define assert_obj_type(type, obj) - #endif - --#ifndef obj_type_free -+void *nobj_realloc(void *ptr, size_t osize, size_t nsize); -+ -+void *nobj_realloc(void *ptr, size_t osize, size_t nsize) { -+ (void)osize; -+ if(0 == nsize) { -+ free(ptr); -+ return NULL; -+ } -+ return realloc(ptr, nsize); -+} -+ - #define obj_type_free(type, obj) do { \ - assert_obj_type(type, obj); \ -- free((obj)); \ -+ nobj_realloc((obj), sizeof(type), 0); \ - } while(0) --#endif - --#ifndef obj_type_new - #define obj_type_new(type, obj) do { \ - assert_obj_type(type, obj); \ -- (obj) = malloc(sizeof(type)); \ -+ (obj) = nobj_realloc(NULL, 0, sizeof(type)); \ - } while(0) --#endif - - typedef struct obj_type obj_type; - -@@ -165,15 +173,22 @@ struct obj_type { - uint32_t flags; /**< is_writable:1bit */ - } obj_field; - -+typedef enum { -+ REG_OBJECT, -+ REG_PACKAGE, -+ REG_META, -+} module_reg_type; -+ - typedef struct reg_sub_module { - obj_type *type; -- int is_package; -+ module_reg_type req_type; - const luaL_reg *pub_funcs; - const luaL_reg *methods; - const luaL_reg *metas; - const obj_base *bases; - const obj_field *fields; - const obj_const *constants; -+ int bidirectional_consts; - } reg_sub_module; - - #define OBJ_UDATA_FLAG_OWN (1<<0) -@@ -185,18 +200,26 @@ struct obj_type { - } obj_udata; - - /* use static pointer as key to weak userdata table. */ --static char *obj_udata_weak_ref_key = "obj_udata_weak_ref_key"; -+static char obj_udata_weak_ref_key[] = "obj_udata_weak_ref_key"; -+ -+/* use static pointer as key to module's private table. */ -+static char obj_udata_private_key[] = "obj_udata_private_key"; - - #if LUAJIT_FFI -+typedef int (*ffi_export_func_t)(void); - typedef struct ffi_export_symbol { - const char *name; -- void *sym; -+ union { -+ void *data; -+ ffi_export_func_t func; -+ } sym; - } ffi_export_symbol; - #endif - - - - -+ - static obj_type obj_types[] = { - #define obj_type_id_Lua_LLThread 0 - #define obj_type_Lua_LLThread (obj_types[obj_type_id_Lua_LLThread]) -@@ -205,10 +228,101 @@ struct obj_type { - }; - - -+#if LUAJIT_FFI -+ -+/* nobj_ffi_support_enabled_hint should be set to 1 when FFI support is enabled in at-least one -+ * instance of a LuaJIT state. It should never be set back to 0. */ -+static int nobj_ffi_support_enabled_hint = 0; -+static const char nobj_ffi_support_key[] = "LuaNativeObject_FFI_SUPPORT"; -+static const char nobj_check_ffi_support_code[] = -+"local stat, ffi=pcall(require,\"ffi\")\n" /* try loading LuaJIT`s FFI module. */ -+"if not stat then return false end\n" -+"return true\n"; -+ -+static int nobj_check_ffi_support(lua_State *L) { -+ int rc; -+ int err; -+ -+ /* check if ffi test has already been done. */ -+ lua_pushstring(L, nobj_ffi_support_key); -+ lua_rawget(L, LUA_REGISTRYINDEX); -+ if(!lua_isnil(L, -1)) { -+ rc = lua_toboolean(L, -1); -+ lua_pop(L, 1); -+ return rc; /* return results of previous check. */ -+ } -+ lua_pop(L, 1); /* pop nil. */ -+ -+ err = luaL_loadbuffer(L, nobj_check_ffi_support_code, -+ sizeof(nobj_check_ffi_support_code) - 1, nobj_ffi_support_key); -+ if(0 == err) { -+ err = lua_pcall(L, 0, 1, 0); -+ } -+ if(err) { -+ const char *msg = ""; -+ if(lua_isstring(L, -1)) { -+ msg = lua_tostring(L, -1); -+ } -+ printf("Error when checking for FFI-support: %s\n", msg); -+ lua_pop(L, 1); /* pop error message. */ -+ return 0; -+ } -+ /* check results of test. */ -+ rc = lua_toboolean(L, -1); -+ lua_pop(L, 1); /* pop results. */ -+ /* cache results. */ -+ lua_pushstring(L, nobj_ffi_support_key); -+ lua_pushboolean(L, rc); -+ lua_rawset(L, LUA_REGISTRYINDEX); -+ -+ /* turn-on hint that there is FFI code enabled. */ -+ if(rc) { -+ nobj_ffi_support_enabled_hint = 1; -+ } -+ -+ return rc; -+} -+ -+static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, -+ const char *ffi_init_code, const ffi_export_symbol *ffi_exports, int priv_table) -+{ -+ int err; -+ -+ /* export symbols to priv_table. */ -+ while(ffi_exports->name != NULL) { -+ lua_pushstring(L, ffi_exports->name); -+ lua_pushlightuserdata(L, ffi_exports->sym.data); -+ lua_settable(L, priv_table); -+ ffi_exports++; -+ } -+ err = luaL_loadbuffer(L, ffi_init_code, strlen(ffi_init_code), ffi_mod_name); -+ if(0 == err) { -+ lua_pushvalue(L, -2); /* dup C module's table. */ -+ lua_pushvalue(L, priv_table); /* move priv_table to top of stack. */ -+ lua_remove(L, priv_table); -+ lua_pushvalue(L, LUA_REGISTRYINDEX); -+ err = lua_pcall(L, 3, 0, 0); -+ } -+ if(err) { -+ const char *msg = ""; -+ if(lua_isstring(L, -1)) { -+ msg = lua_tostring(L, -1); -+ } -+ printf("Failed to install FFI-based bindings: %s\n", msg); -+ lua_pop(L, 1); /* pop error message. */ -+ } -+ return err; -+} -+#endif -+ - #ifndef REG_PACKAGE_IS_CONSTRUCTOR - #define REG_PACKAGE_IS_CONSTRUCTOR 1 - #endif - -+#ifndef REG_MODULES_AS_GLOBALS -+#define REG_MODULES_AS_GLOBALS 0 -+#endif -+ - #ifndef REG_OBJECTS_AS_GLOBALS - #define REG_OBJECTS_AS_GLOBALS 0 - #endif -@@ -296,6 +410,25 @@ static FUNC_UNUSED obj_udata *obj_udata_luacheck_internal(lua_State *L, int _ind - return ud; - } - } -+ } else { -+ /* handle cdata. */ -+ /* get private table. */ -+ lua_pushlightuserdata(L, obj_udata_private_key); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* private table. */ -+ /* get cdata type check function from private table. */ -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, -2); -+ -+ /* pass cdata value to type checking function. */ -+ lua_pushvalue(L, _index); -+ lua_call(L, 1, 1); -+ if(!lua_isnil(L, -1)) { -+ /* valid type get pointer from cdata. */ -+ lua_pop(L, 2); -+ *obj = *(void **)lua_topointer(L, _index); -+ return ud; -+ } -+ lua_pop(L, 2); - } - if(not_delete) { - luaL_typerror(L, _index, type->name); /* is not a userdata value. */ -@@ -309,6 +442,15 @@ static FUNC_UNUSED void *obj_udata_luacheck(lua_State *L, int _index, obj_type * - return obj; - } - -+static FUNC_UNUSED void *obj_udata_luaoptional(lua_State *L, int _index, obj_type *type) { -+ void *obj = NULL; -+ if(lua_isnil(L, _index)) { -+ return obj; -+ } -+ obj_udata_luacheck_internal(L, _index, &(obj), type, 1); -+ return obj; -+} -+ - static FUNC_UNUSED void *obj_udata_luadelete(lua_State *L, int _index, obj_type *type, int *flags) { - void *obj; - obj_udata *ud = obj_udata_luacheck_internal(L, _index, &(obj), type, 0); -@@ -327,6 +469,17 @@ static FUNC_UNUSED void obj_udata_luapush(lua_State *L, void *obj, obj_type *typ - lua_pushnil(L); - return; - } -+#if LUAJIT_FFI -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+ if(nobj_ffi_support_enabled_hint && lua_isfunction(L, -1)) { -+ /* call special FFI "void *" to FFI object convertion function. */ -+ lua_pushlightuserdata(L, obj); -+ lua_pushinteger(L, flags); -+ lua_call(L, 2, 1); -+ return; -+ } -+#endif - /* check for type caster. */ - if(type->dcaster) { - (type->dcaster)(&obj, &type); -@@ -336,8 +489,12 @@ static FUNC_UNUSED void obj_udata_luapush(lua_State *L, void *obj, obj_type *typ - ud->obj = obj; - ud->flags = flags; - /* get obj_type metatable. */ -+#if LUAJIT_FFI -+ lua_insert(L, -2); /* move userdata below metatable. */ -+#else - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+#endif - lua_setmetatable(L, -2); - } - -@@ -383,6 +540,18 @@ static FUNC_UNUSED void obj_udata_luapush_weak(lua_State *L, void *obj, obj_type - } - lua_pop(L, 1); /* pop nil. */ - -+#if LUAJIT_FFI -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+ if(nobj_ffi_support_enabled_hint && lua_isfunction(L, -1)) { -+ lua_remove(L, -2); -+ /* call special FFI "void *" to FFI object convertion function. */ -+ lua_pushlightuserdata(L, obj); -+ lua_pushinteger(L, flags); -+ lua_call(L, 2, 1); -+ return; -+ } -+#endif - /* create new userdata. */ - ud = (obj_udata *)lua_newuserdata(L, sizeof(obj_udata)); - -@@ -390,8 +559,12 @@ static FUNC_UNUSED void obj_udata_luapush_weak(lua_State *L, void *obj, obj_type - ud->obj = obj; - ud->flags = flags; - /* get obj_type metatable. */ -+#if LUAJIT_FFI -+ lua_insert(L, -2); /* move userdata below metatable. */ -+#else - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+#endif - lua_setmetatable(L, -2); - - /* add weak reference to object. */ -@@ -455,15 +628,39 @@ static FUNC_UNUSED void * obj_simple_udata_luacheck(lua_State *L, int _index, ob - return ud; - } - } -+ } else { -+ /* handle cdata. */ -+ /* get private table. */ -+ lua_pushlightuserdata(L, obj_udata_private_key); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* private table. */ -+ /* get cdata type check function from private table. */ -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, -2); -+ -+ /* pass cdata value to type checking function. */ -+ lua_pushvalue(L, _index); -+ lua_call(L, 1, 1); -+ if(!lua_isnil(L, -1)) { -+ /* valid type get pointer from cdata. */ -+ lua_pop(L, 2); -+ return (void *)lua_topointer(L, _index); -+ } -+ lua_pop(L, 2); - } - luaL_typerror(L, _index, type->name); /* is not a userdata value. */ - return NULL; - } - --static FUNC_UNUSED void * obj_simple_udata_luadelete(lua_State *L, int _index, obj_type *type, int *flags) { -+static FUNC_UNUSED void * obj_simple_udata_luaoptional(lua_State *L, int _index, obj_type *type) { -+ if(lua_isnil(L, _index)) { -+ return NULL; -+ } -+ return obj_simple_udata_luacheck(L, _index, type); -+} -+ -+static FUNC_UNUSED void * obj_simple_udata_luadelete(lua_State *L, int _index, obj_type *type) { - void *obj; - obj = obj_simple_udata_luacheck(L, _index, type); -- *flags = OBJ_UDATA_FLAG_OWN; - /* clear the metatable to invalidate userdata. */ - lua_pushnil(L); - lua_setmetatable(L, _index); -@@ -472,12 +669,26 @@ static FUNC_UNUSED void * obj_simple_udata_luadelete(lua_State *L, int _index, o - - static FUNC_UNUSED void *obj_simple_udata_luapush(lua_State *L, void *obj, int size, obj_type *type) - { -+#if LUAJIT_FFI -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+ if(nobj_ffi_support_enabled_hint && lua_isfunction(L, -1)) { -+ /* call special FFI "void *" to FFI object convertion function. */ -+ lua_pushlightuserdata(L, obj); -+ lua_call(L, 1, 1); -+ return obj; -+ } -+#endif - /* create new userdata. */ - void *ud = lua_newuserdata(L, size); - memcpy(ud, obj, size); - /* get obj_type metatable. */ -+#if LUAJIT_FFI -+ lua_insert(L, -2); /* move userdata below metatable. */ -+#else - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+#endif - lua_setmetatable(L, -2); - - return ud; -@@ -526,7 +737,8 @@ static int obj_constructor_call_wrapper(lua_State *L) { - return lua_gettop(L); - } - --static void obj_type_register_constants(lua_State *L, const obj_const *constants, int tab_idx) { -+static void obj_type_register_constants(lua_State *L, const obj_const *constants, int tab_idx, -+ int bidirectional) { - /* register constants. */ - while(constants->name != NULL) { - lua_pushstring(L, constants->name); -@@ -544,6 +756,22 @@ static void obj_type_register_constants(lua_State *L, const obj_const *constants - lua_pushnil(L); - break; - } -+ /* map values back to keys. */ -+ if(bidirectional) { -+ /* check if value already exists. */ -+ lua_pushvalue(L, -1); -+ lua_rawget(L, tab_idx - 3); -+ if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); -+ /* add value->key mapping. */ -+ lua_pushvalue(L, -1); -+ lua_pushvalue(L, -3); -+ lua_rawset(L, tab_idx - 4); -+ } else { -+ /* value already exists. */ -+ lua_pop(L, 1); -+ } -+ } - lua_rawset(L, tab_idx - 2); - constants++; - } -@@ -558,20 +786,48 @@ static void obj_type_register_package(lua_State *L, const reg_sub_module *type_r - luaL_register(L, NULL, reg_list); - } - -- obj_type_register_constants(L, type_reg->constants, -1); -+ obj_type_register_constants(L, type_reg->constants, -1, type_reg->bidirectional_consts); - - lua_pop(L, 1); /* drop package table */ - } - -+static void obj_type_register_meta(lua_State *L, const reg_sub_module *type_reg) { -+ const luaL_reg *reg_list; -+ -+ /* create public functions table. */ -+ reg_list = type_reg->pub_funcs; -+ if(reg_list != NULL && reg_list[0].name != NULL) { -+ /* register functions */ -+ luaL_register(L, NULL, reg_list); -+ } -+ -+ obj_type_register_constants(L, type_reg->constants, -1, type_reg->bidirectional_consts); -+ -+ /* register methods. */ -+ luaL_register(L, NULL, type_reg->methods); -+ -+ /* create metatable table. */ -+ lua_newtable(L); -+ luaL_register(L, NULL, type_reg->metas); /* fill metatable */ -+ /* setmetatable on meta-object. */ -+ lua_setmetatable(L, -2); -+ -+ lua_pop(L, 1); /* drop meta-object */ -+} -+ - static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int priv_table) { - const luaL_reg *reg_list; - obj_type *type = type_reg->type; - const obj_base *base = type_reg->bases; - -- if(type_reg->is_package == 1) { -+ if(type_reg->req_type == REG_PACKAGE) { - obj_type_register_package(L, type_reg); - return; - } -+ if(type_reg->req_type == REG_META) { -+ obj_type_register_meta(L, type_reg); -+ return; -+ } - - /* create public functions table. */ - reg_list = type_reg->pub_funcs; -@@ -620,14 +876,10 @@ static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int - lua_pushvalue(L, -2); /* dup metatable. */ - lua_rawset(L, LUA_REGISTRYINDEX); /* REGISTRY[type] = metatable */ - --#if LUAJIT_FFI - /* add metatable to 'priv_table' */ - lua_pushstring(L, type->name); - lua_pushvalue(L, -2); /* dup metatable. */ - lua_rawset(L, priv_table); /* priv_table[""] = metatable */ --#else -- (void)priv_table; --#endif - - luaL_register(L, NULL, type_reg->metas); /* fill metatable */ - -@@ -638,7 +890,7 @@ static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int - base++; - } - -- obj_type_register_constants(L, type_reg->constants, -2); -+ obj_type_register_constants(L, type_reg->constants, -2, type_reg->bidirectional_consts); - - lua_pushliteral(L, "__index"); - lua_pushvalue(L, -3); /* dup methods table */ -@@ -658,54 +910,12 @@ static FUNC_UNUSED int lua_checktype_ref(lua_State *L, int _index, int _type) { - return luaL_ref(L, LUA_REGISTRYINDEX); - } - --#if LUAJIT_FFI --static int nobj_udata_new_ffi(lua_State *L) { -- size_t size = luaL_checkinteger(L, 1); -- luaL_checktype(L, 2, LUA_TTABLE); -- lua_settop(L, 2); -- /* create userdata. */ -- lua_newuserdata(L, size); -- lua_replace(L, 1); -- /* set userdata's metatable. */ -- lua_setmetatable(L, 1); -- return 1; --} -- --static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, -- const char *ffi_init_code, const ffi_export_symbol *ffi_exports, int priv_table) --{ -- int err; -- -- /* export symbols to priv_table. */ -- while(ffi_exports->name != NULL) { -- lua_pushstring(L, ffi_exports->name); -- lua_pushlightuserdata(L, ffi_exports->sym); -- lua_settable(L, priv_table); -- ffi_exports++; -- } -- err = luaL_loadbuffer(L, ffi_init_code, strlen(ffi_init_code), ffi_mod_name); -- if(0 == err) { -- lua_pushvalue(L, -2); /* dup C module's table. */ -- lua_pushvalue(L, priv_table); /* move priv_table to top of stack. */ -- lua_remove(L, priv_table); -- lua_pushcfunction(L, nobj_udata_new_ffi); -- err = lua_pcall(L, 3, 0, 0); -- } -- if(err) { -- const char *msg = ""; -- if(lua_isstring(L, -1)) { -- msg = lua_tostring(L, -1); -- } -- printf("Failed to install FFI-based bindings: %s\n", msg); -- lua_pop(L, 1); /* pop error message. */ -- } -- return err; --} --#endif - - - #define obj_type_Lua_LLThread_check(L, _index) \ - obj_udata_luacheck(L, _index, &(obj_type_Lua_LLThread)) -+#define obj_type_Lua_LLThread_optional(L, _index) \ -+ obj_udata_luaoptional(L, _index, &(obj_type_Lua_LLThread)) - #define obj_type_Lua_LLThread_delete(L, _index, flags) \ - obj_udata_luadelete_weak(L, _index, &(obj_type_Lua_LLThread), flags) - #define obj_type_Lua_LLThread_push(L, obj, flags) \ -@@ -714,8 +924,6 @@ static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, - - - -- -- - /* maximum recursive depth of table copies. */ - #define MAX_COPY_DEPTH 30 - -@@ -1106,7 +1314,7 @@ static Lua_LLThread *llthread_create(lua_State *L, const char *code, size_t code - - - --/* method: delete */ -+/* method: _priv */ - static int Lua_LLThread__delete__meth(lua_State *L) { - int this_flags_idx1 = 0; - Lua_LLThread * this_idx1 = obj_type_Lua_LLThread_delete(L,1,&(this_flags_idx1)); -@@ -1264,14 +1472,21 @@ static int llthreads__new__func(lua_State *L) { - - - static const reg_sub_module reg_sub_modules[] = { -- { &(obj_type_Lua_LLThread), 0, obj_Lua_LLThread_pub_funcs, obj_Lua_LLThread_methods, obj_Lua_LLThread_metas, obj_Lua_LLThread_bases, obj_Lua_LLThread_fields, obj_Lua_LLThread_constants}, -- {NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL} -+ { &(obj_type_Lua_LLThread), REG_OBJECT, obj_Lua_LLThread_pub_funcs, obj_Lua_LLThread_methods, obj_Lua_LLThread_metas, obj_Lua_LLThread_bases, obj_Lua_LLThread_fields, obj_Lua_LLThread_constants, 0}, -+ {NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, 0} - }; - - - - - -+#if LUAJIT_FFI -+static const ffi_export_symbol llthreads_ffi_export[] = { -+ {NULL, { .data = NULL } } -+}; -+#endif -+ -+ - - - static const luaL_Reg submodule_libs[] = { -@@ -1304,20 +1519,26 @@ LUA_NOBJ_API int luaopen_llthreads(lua_State *L) { - const luaL_Reg *submodules = submodule_libs; - int priv_table = -1; - --#if LUAJIT_FFI - /* private table to hold reference to object metatables. */ - lua_newtable(L); - priv_table = lua_gettop(L); --#endif -+ lua_pushlightuserdata(L, obj_udata_private_key); -+ lua_pushvalue(L, priv_table); -+ lua_rawset(L, LUA_REGISTRYINDEX); /* store private table in registry. */ - - /* create object cache. */ - create_object_instance_cache(L); - - /* module table. */ -+#if REG_MODULES_AS_GLOBALS - luaL_register(L, "llthreads", llthreads_function); -+#else -+ lua_newtable(L); -+ luaL_register(L, NULL, llthreads_function); -+#endif - - /* register module constants. */ -- obj_type_register_constants(L, llthreads_constants, -1); -+ obj_type_register_constants(L, llthreads_constants, -1, 0); - - for(; submodules->func != NULL ; submodules++) { - lua_pushcfunction(L, submodules->func); -@@ -1338,9 +1559,14 @@ LUA_NOBJ_API int luaopen_llthreads(lua_State *L) { - } - - #if LUAJIT_FFI -- nobj_try_loading_ffi(L, "llthreads", llthreads_ffi_lua_code, -- llthreads_ffi_export, priv_table); -+ if(nobj_check_ffi_support(L)) { -+ nobj_try_loading_ffi(L, "llthreads", llthreads_ffi_lua_code, -+ llthreads_ffi_export, priv_table); -+ } - #endif -+ -+ -+ - return 1; - } - --- -1.8.1.6 - diff --git a/unmaintained/lua-llthreads/bindings-2.patch b/unmaintained/lua-llthreads/bindings-2.patch deleted file mode 100644 index 226ba322c6..0000000000 --- a/unmaintained/lua-llthreads/bindings-2.patch +++ /dev/null @@ -1,109 +0,0 @@ -From 25687f0babcc2b3cdc8b42c7ecf8a34f751062d6 Mon Sep 17 00:00:00 2001 -From: "Robert G. Jakabosky" -Date: Fri, 2 Mar 2012 17:34:04 -0800 -Subject: [PATCH] Re-generate bindings. - ---- - src/pre_generated-llthreads.nobj.c | 35 +++++++++++++++++++++++++++++------ - 1 file changed, 29 insertions(+), 6 deletions(-) - -diff --git a/src/pre_generated-llthreads.nobj.c b/src/pre_generated-llthreads.nobj.c -index b2d1185..d016651 100644 ---- a/src/pre_generated-llthreads.nobj.c -+++ b/src/pre_generated-llthreads.nobj.c -@@ -56,7 +56,7 @@ - #define true 1 - #endif - #ifndef false --#define false 1 -+#define false 0 - #endif - - #endif -@@ -250,7 +250,8 @@ static int nobj_check_ffi_support(lua_State *L) { - if(!lua_isnil(L, -1)) { - rc = lua_toboolean(L, -1); - lua_pop(L, 1); -- return rc; /* return results of previous check. */ -+ /* use results of previous check. */ -+ goto finished; - } - lua_pop(L, 1); /* pop nil. */ - -@@ -276,6 +277,7 @@ static int nobj_check_ffi_support(lua_State *L) { - lua_pushboolean(L, rc); - lua_rawset(L, LUA_REGISTRYINDEX); - -+finished: - /* turn-on hint that there is FFI code enabled. */ - if(rc) { - nobj_ffi_support_enabled_hint = 1; -@@ -284,9 +286,29 @@ static int nobj_check_ffi_support(lua_State *L) { - return rc; - } - -+typedef struct { -+ const char **ffi_init_code; -+ int offset; -+} nobj_reader_state; -+ -+static const char *nobj_lua_Reader(lua_State *L, void *data, size_t *size) { -+ nobj_reader_state *state = (nobj_reader_state *)data; -+ const char *ptr; -+ -+ ptr = state->ffi_init_code[state->offset]; -+ if(ptr != NULL) { -+ *size = strlen(ptr); -+ state->offset++; -+ } else { -+ *size = 0; -+ } -+ return ptr; -+} -+ - static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, -- const char *ffi_init_code, const ffi_export_symbol *ffi_exports, int priv_table) -+ const char *ffi_init_code[], const ffi_export_symbol *ffi_exports, int priv_table) - { -+ nobj_reader_state state = { ffi_init_code, 0 }; - int err; - - /* export symbols to priv_table. */ -@@ -296,7 +318,7 @@ static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, - lua_settable(L, priv_table); - ffi_exports++; - } -- err = luaL_loadbuffer(L, ffi_init_code, strlen(ffi_init_code), ffi_mod_name); -+ err = lua_load(L, nobj_lua_Reader, &state, ffi_mod_name); - if(0 == err) { - lua_pushvalue(L, -2); /* dup C module's table. */ - lua_pushvalue(L, priv_table); /* move priv_table to top of stack. */ -@@ -670,6 +692,7 @@ static FUNC_UNUSED void * obj_simple_udata_luadelete(lua_State *L, int _index, o - - static FUNC_UNUSED void *obj_simple_udata_luapush(lua_State *L, void *obj, int size, obj_type *type) - { -+ void *ud; - #if LUAJIT_FFI - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -@@ -681,7 +704,7 @@ static FUNC_UNUSED void *obj_simple_udata_luapush(lua_State *L, void *obj, int s - } - #endif - /* create new userdata. */ -- void *ud = lua_newuserdata(L, size); -+ ud = lua_newuserdata(L, size); - memcpy(ud, obj, size); - /* get obj_type metatable. */ - #if LUAJIT_FFI -@@ -1483,7 +1506,7 @@ static int llthreads__new__func(lua_State *L) { - - #if LUAJIT_FFI - static const ffi_export_symbol llthreads_ffi_export[] = { -- {NULL, { .data = NULL } } -+ {NULL, { NULL } } - }; - #endif - --- -1.8.1.6 - diff --git a/unmaintained/lua-llthreads/lua-5.2.patch b/unmaintained/lua-llthreads/lua-5.2.patch deleted file mode 100644 index 354b4d42a4..0000000000 --- a/unmaintained/lua-llthreads/lua-5.2.patch +++ /dev/null @@ -1,336 +0,0 @@ -From 58b5d127c94138e1c46fdbed993bea52c90585fd Mon Sep 17 00:00:00 2001 -From: "Robert G. Jakabosky" -Date: Tue, 16 Oct 2012 00:52:40 -0700 -Subject: [PATCH] Add support for Lua 5.2 - ---- - src/pre_generated-llthreads.nobj.c | 117 +++++++++++++++++++++++++++++-------- - src/thread.nobj.lua | 19 +++++- - 2 files changed, 110 insertions(+), 26 deletions(-) - -diff --git a/src/pre_generated-llthreads.nobj.c b/src/pre_generated-llthreads.nobj.c -index ed9c43b..ff70704 100644 ---- a/src/pre_generated-llthreads.nobj.c -+++ b/src/pre_generated-llthreads.nobj.c -@@ -10,6 +10,54 @@ - #include "lauxlib.h" - #include "lualib.h" - -+/* some Lua 5.0 compatibility support. */ -+#if !defined(lua_pushliteral) -+#define lua_pushliteral(L, s) lua_pushstring(L, "" s, (sizeof(s)/sizeof(char))-1) -+#endif -+ -+#if !defined(LUA_VERSION_NUM) -+#define lua_pushinteger(L, n) lua_pushnumber(L, (lua_Number)n) -+#define luaL_Reg luaL_reg -+#endif -+ -+/* some Lua 5.1 compatibility support. */ -+#if !defined(LUA_VERSION_NUM) || (LUA_VERSION_NUM == 501) -+/* -+** Adapted from Lua 5.2.0 -+*/ -+static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) { -+ luaL_checkstack(L, nup, "too many upvalues"); -+ for (; l->name != NULL; l++) { /* fill the table with given functions */ -+ int i; -+ for (i = 0; i < nup; i++) /* copy upvalues to the top */ -+ lua_pushvalue(L, -nup); -+ lua_pushstring(L, l->name); -+ lua_pushcclosure(L, l->func, nup); /* closure with those upvalues */ -+ lua_settable(L, -(nup + 3)); -+ } -+ lua_pop(L, nup); /* remove upvalues */ -+} -+ -+#define lua_load_no_mode(L, reader, data, source) \ -+ lua_load(L, reader, data, source) -+ -+#define lua_rawlen(L, idx) lua_objlen(L, idx) -+ -+#endif -+ -+#if LUA_VERSION_NUM == 502 -+ -+#define lua_load_no_mode(L, reader, data, source) \ -+ lua_load(L, reader, data, source, NULL) -+ -+static int luaL_typerror (lua_State *L, int narg, const char *tname) { -+ const char *msg = lua_pushfstring(L, "%s expected, got %s", -+ tname, luaL_typename(L, narg)); -+ return luaL_argerror(L, narg, msg); -+} -+ -+#endif -+ - #define REG_PACKAGE_IS_CONSTRUCTOR 0 - #define REG_MODULES_AS_GLOBALS 0 - #define REG_OBJECTS_AS_GLOBALS 0 -@@ -189,9 +237,9 @@ struct obj_type { - typedef struct reg_sub_module { - obj_type *type; - module_reg_type req_type; -- const luaL_reg *pub_funcs; -- const luaL_reg *methods; -- const luaL_reg *metas; -+ const luaL_Reg *pub_funcs; -+ const luaL_Reg *methods; -+ const luaL_Reg *metas; - const obj_base *bases; - const obj_field *fields; - const obj_const *constants; -@@ -326,7 +374,7 @@ static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, - lua_settable(L, priv_table); - ffi_exports++; - } -- err = lua_load(L, nobj_lua_Reader, &state, ffi_mod_name); -+ err = lua_load_no_mode(L, nobj_lua_Reader, &state, ffi_mod_name); - if(0 == err) { - lua_pushvalue(L, -2); /* dup C module's table. */ - lua_pushvalue(L, priv_table); /* move priv_table to top of stack. */ -@@ -531,6 +579,12 @@ static void obj_type_register_implements(lua_State *L, const reg_impl *impls) { - #define REG_MODULES_AS_GLOBALS 0 - #endif - -+/* For Lua 5.2 don't register modules as globals. */ -+#if LUA_VERSION_NUM == 502 -+#undef REG_MODULES_AS_GLOBALS -+#define REG_MODULES_AS_GLOBALS 0 -+#endif -+ - #ifndef REG_OBJECTS_AS_GLOBALS - #define REG_OBJECTS_AS_GLOBALS 0 - #endif -@@ -591,7 +645,7 @@ static FUNC_UNUSED obj_udata *obj_udata_toobj(lua_State *L, int _index) { - luaL_typerror(L, _index, "userdata"); /* is not a userdata value. */ - } - /* verify userdata size. */ -- len = lua_objlen(L, _index); -+ len = lua_rawlen(L, _index); - if(len != sizeof(obj_udata)) { - /* This shouldn't be possible */ - luaL_error(L, "invalid userdata size: size=%d, expected=%d", len, sizeof(obj_udata)); -@@ -1007,9 +1061,9 @@ static FUNC_UNUSED void *obj_simple_udata_luapush(lua_State *L, void *obj, int s - /* default simple object equal method. */ - static FUNC_UNUSED int obj_simple_udata_default_equal(lua_State *L) { - void *ud1 = obj_simple_udata_toobj(L, 1); -- size_t len1 = lua_objlen(L, 1); -+ size_t len1 = lua_rawlen(L, 1); - void *ud2 = obj_simple_udata_toobj(L, 2); -- size_t len2 = lua_objlen(L, 2); -+ size_t len2 = lua_rawlen(L, 2); - - if(len1 == len2) { - lua_pushboolean(L, (memcmp(ud1, ud2, len1) == 0)); -@@ -1088,12 +1142,12 @@ static void obj_type_register_constants(lua_State *L, const obj_const *constants - } - - static void obj_type_register_package(lua_State *L, const reg_sub_module *type_reg) { -- const luaL_reg *reg_list = type_reg->pub_funcs; -+ const luaL_Reg *reg_list = type_reg->pub_funcs; - - /* create public functions table. */ - if(reg_list != NULL && reg_list[0].name != NULL) { - /* register functions */ -- luaL_register(L, NULL, reg_list); -+ luaL_setfuncs(L, reg_list, 0); - } - - obj_type_register_constants(L, type_reg->constants, -1, type_reg->bidirectional_consts); -@@ -1102,23 +1156,23 @@ static void obj_type_register_package(lua_State *L, const reg_sub_module *type_r - } - - static void obj_type_register_meta(lua_State *L, const reg_sub_module *type_reg) { -- const luaL_reg *reg_list; -+ const luaL_Reg *reg_list; - - /* create public functions table. */ - reg_list = type_reg->pub_funcs; - if(reg_list != NULL && reg_list[0].name != NULL) { - /* register functions */ -- luaL_register(L, NULL, reg_list); -+ luaL_setfuncs(L, reg_list, 0); - } - - obj_type_register_constants(L, type_reg->constants, -1, type_reg->bidirectional_consts); - - /* register methods. */ -- luaL_register(L, NULL, type_reg->methods); -+ luaL_setfuncs(L, type_reg->methods, 0); - - /* create metatable table. */ - lua_newtable(L); -- luaL_register(L, NULL, type_reg->metas); /* fill metatable */ -+ luaL_setfuncs(L, type_reg->metas, 0); /* fill metatable */ - /* setmetatable on meta-object. */ - lua_setmetatable(L, -2); - -@@ -1126,7 +1180,7 @@ static void obj_type_register_meta(lua_State *L, const reg_sub_module *type_reg) - } - - static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int priv_table) { -- const luaL_reg *reg_list; -+ const luaL_Reg *reg_list; - obj_type *type = type_reg->type; - const obj_base *base = type_reg->bases; - -@@ -1143,7 +1197,7 @@ static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int - reg_list = type_reg->pub_funcs; - if(reg_list != NULL && reg_list[0].name != NULL) { - /* register "constructors" as to object's public API */ -- luaL_register(L, NULL, reg_list); /* fill public API table. */ -+ luaL_setfuncs(L, reg_list, 0); /* fill public API table. */ - - /* make public API table callable as the default constructor. */ - lua_newtable(L); /* create metatable */ -@@ -1173,7 +1227,7 @@ static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int - #endif - } - -- luaL_register(L, NULL, type_reg->methods); /* fill methods table. */ -+ luaL_setfuncs(L, type_reg->methods, 0); /* fill methods table. */ - - luaL_newmetatable(L, type->name); /* create metatable */ - lua_pushliteral(L, ".name"); -@@ -1191,7 +1245,7 @@ static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int - lua_pushvalue(L, -2); /* dup metatable. */ - lua_rawset(L, priv_table); /* priv_table[""] = metatable */ - -- luaL_register(L, NULL, type_reg->metas); /* fill metatable */ -+ luaL_setfuncs(L, type_reg->metas, 0); /* fill metatable */ - - /* add obj_bases to metatable. */ - while(base->id >= 0) { -@@ -1348,7 +1402,7 @@ static FUNC_UNUSED void *nobj_delete_callback_state(lua_State *L, int owner_idx) - #define ERROR_LEN 1024 - - /****************************************************************************** --* traceback() function from Lua 5.1.x source. -+* traceback() function from Lua 5.1/5.2 source. - * Copyright (C) 1994-2008 Lua.org, PUC-Rio. All rights reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining -@@ -1370,10 +1424,12 @@ static FUNC_UNUSED void *nobj_delete_callback_state(lua_State *L, int owner_idx) - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ******************************************************************************/ -+#if !defined(LUA_VERSION_NUM) || (LUA_VERSION_NUM == 501) -+/* from Lua 5.1 */ - static int traceback (lua_State *L) { - if (!lua_isstring(L, 1)) /* 'message' not a string? */ - return 1; /* keep it intact */ -- lua_getfield(L, LUA_GLOBALSINDEX, "debug"); -+ lua_getglobal(L, "debug"); - if (!lua_istable(L, -1)) { - lua_pop(L, 1); - return 1; -@@ -1388,6 +1444,19 @@ static int traceback (lua_State *L) { - lua_call(L, 2, 1); /* call debug.traceback */ - return 1; - } -+#else -+/* from Lua 5.2 */ -+static int traceback (lua_State *L) { -+ const char *msg = lua_tostring(L, 1); -+ if (msg) -+ luaL_traceback(L, L, msg, 1); -+ else if (!lua_isnoneornil(L, 1)) { /* is there an error object? */ -+ if (!luaL_callmeta(L, 1, "__tostring")) /* try its 'tostring' metamethod */ -+ lua_pushliteral(L, "(no error message)"); -+ } -+ return 1; -+} -+#endif - - static Lua_LLThread_child *llthread_child_new() { - Lua_LLThread_child *this; -@@ -1831,17 +1900,17 @@ static int llthreads__new__func(lua_State *L) { - - - --static const luaL_reg obj_Lua_LLThread_pub_funcs[] = { -+static const luaL_Reg obj_Lua_LLThread_pub_funcs[] = { - {NULL, NULL} - }; - --static const luaL_reg obj_Lua_LLThread_methods[] = { -+static const luaL_Reg obj_Lua_LLThread_methods[] = { - {"start", Lua_LLThread__start__meth}, - {"join", Lua_LLThread__join__meth}, - {NULL, NULL} - }; - --static const luaL_reg obj_Lua_LLThread_metas[] = { -+static const luaL_Reg obj_Lua_LLThread_metas[] = { - {"__gc", Lua_LLThread__delete__meth}, - {"__tostring", obj_udata_default_tostring}, - {"__eq", obj_udata_default_equal}, -@@ -1864,7 +1933,7 @@ static int llthreads__new__func(lua_State *L) { - {NULL, NULL} - }; - --static const luaL_reg llthreads_function[] = { -+static const luaL_Reg llthreads_function[] = { - {"new", llthreads__new__func}, - {NULL, NULL} - }; -@@ -1941,7 +2010,7 @@ LUA_NOBJ_API int luaopen_llthreads(lua_State *L) { - luaL_register(L, "llthreads", llthreads_function); - #else - lua_newtable(L); -- luaL_register(L, NULL, llthreads_function); -+ luaL_setfuncs(L, llthreads_function, 0); - #endif - - /* register module constants. */ -diff --git a/src/thread.nobj.lua b/src/thread.nobj.lua -index 8d4ef54..626022f 100644 ---- a/src/thread.nobj.lua -+++ b/src/thread.nobj.lua -@@ -59,7 +59,7 @@ typedef struct Lua_LLThread { - #define ERROR_LEN 1024 - - /****************************************************************************** --* traceback() function from Lua 5.1.x source. -+* traceback() function from Lua 5.1/5.2 source. - * Copyright (C) 1994-2008 Lua.org, PUC-Rio. All rights reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining -@@ -81,10 +81,12 @@ typedef struct Lua_LLThread { - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ******************************************************************************/ -+#if !defined(LUA_VERSION_NUM) || (LUA_VERSION_NUM == 501) -+/* from Lua 5.1 */ - static int traceback (lua_State *L) { - if (!lua_isstring(L, 1)) /* 'message' not a string? */ - return 1; /* keep it intact */ -- lua_getfield(L, LUA_GLOBALSINDEX, "debug"); -+ lua_getglobal(L, "debug"); - if (!lua_istable(L, -1)) { - lua_pop(L, 1); - return 1; -@@ -99,6 +101,19 @@ static int traceback (lua_State *L) { - lua_call(L, 2, 1); /* call debug.traceback */ - return 1; - } -+#else -+/* from Lua 5.2 */ -+static int traceback (lua_State *L) { -+ const char *msg = lua_tostring(L, 1); -+ if (msg) -+ luaL_traceback(L, L, msg, 1); -+ else if (!lua_isnoneornil(L, 1)) { /* is there an error object? */ -+ if (!luaL_callmeta(L, 1, "__tostring")) /* try its 'tostring' metamethod */ -+ lua_pushliteral(L, "(no error message)"); -+ } -+ return 1; -+} -+#endif - - static Lua_LLThread_child *llthread_child_new() { - Lua_LLThread_child *this; --- -1.8.1.6 - diff --git a/unmaintained/lua-mimetypes/APKBUILD b/unmaintained/lua-mimetypes/APKBUILD deleted file mode 100644 index 595c25b23b..0000000000 --- a/unmaintained/lua-mimetypes/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=lua-mimetypes -pkgver=1.0.0 -_luaversions="5.1 5.2 5.3" -pkgrel=0 -pkgdesc="non-server-bound database of MIME type" -url="https://bitbucket.org/leafstorm/lua-mimetypes" -arch="noarch" -license="custom" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://dev.alpinelinux.org/archive/lua-mimetypes/lua-mimetypes-$pkgver.tar.bz2" -for _v in $_luaversions; do - subpackages="$subpackages lua$_v-mimetypes:split_${_v/./_}" -done - -_builddir="$srcdir"/leafstorm-lua-mimetypes-02100ff1171e - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - mkdir -p "$pkgdir" -} - -_split() { - cd "$_builddir" - local _ver="$1" - pkgdesc="A Lua $_ver non-server-bound database of MIME type" - install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" - install -Dm644 mimetypes.lua \ - "$subpkgdir"/usr/share/lua/$_ver/mimetypes.lua || return 1 -} - -for _v in $_luaversions; do - eval "split_${_v/./_}() { _split $_v; }" -done - -md5sums="79fe30b1c58cdb632d6c52aa540374c8 lua-mimetypes-1.0.0.tar.bz2" -sha256sums="5519b1a15f17e92d12b0c615ad312d508a09fe18715ce35d20b701ca6f837564 lua-mimetypes-1.0.0.tar.bz2" -sha512sums="11b26e8e9133979ace0f40000548cec168f9ad9c3c68ac9d8a2a0c92a939a0a0e619e0fac9b2796a4231f1dbd20730a687aaa72d9cd61b0f25c9b06211b209d3 lua-mimetypes-1.0.0.tar.bz2" diff --git a/unmaintained/lua-moonscript/APKBUILD b/unmaintained/lua-moonscript/APKBUILD deleted file mode 100644 index c2568d32fc..0000000000 --- a/unmaintained/lua-moonscript/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=lua-moonscript -pkgver=0.3.2 -_lua_version="5.3" -pkgrel=0 -pkgdesc="Dynamic scripting language that compiles into Lua" -url="http://moonscript.org/" -arch="noarch" -license="MIT" -depends="lua-filesystem lua-alt-getopt lua-lpeg lua${_lua_version}" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="moonscript-$pkgver.tar.gz::https://github.com/leafo/moonscript/archive/v$pkgver.tar.gz - alt_getopt-compat.patch" - -_builddir="$srcdir"/moonscript-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - mkdir -p $pkgdir/usr/bin - cp -p bin/moon bin/moonc $pkgdir/usr/bin/ - mkdir -p $pkgdir/usr/share/lua/$_lua_version - cp -pr moon moonscript $pkgdir/usr/share/lua/$_lua_version/ - sed -i "s/env lua/env lua$_lua_version/" \ - $pkgdir/usr/bin/moon \ - $pkgdir/usr/bin/moonc || return 1 -} - -md5sums="daee6628cb844c2f79b7e308452ffc6b moonscript-0.3.2.tar.gz -76eae0a78c93e63f4f1ae4f72a27856e alt_getopt-compat.patch" -sha256sums="1fb616c1ed43008a03e10579cb9b3eabc9a95fae4f97d3e261819afdbaa6c4b0 moonscript-0.3.2.tar.gz -80a232b2c61babcd59c1676a822ac788ccb392c5e5df7e8bf08925d282d86611 alt_getopt-compat.patch" -sha512sums="6b0744bd5d7f5d9f4051d8b294d20cf812c252d2083ba44882dfc4816d8b1fbcc02f2c366cb56a1986f0b19215ac54beb3abfcf4da56143f8bc957550ffadeb3 moonscript-0.3.2.tar.gz -3241efaf75f57bb149aa9db918186e3901fe64dc8b39f23d9570ba8a1c547b4217520029613dba840e9615054de47a95eca0ffc412e512ab9ef18d480e877f49 alt_getopt-compat.patch" diff --git a/unmaintained/lua-moonscript/alt_getopt-compat.patch b/unmaintained/lua-moonscript/alt_getopt-compat.patch deleted file mode 100644 index c38f06a3f5..0000000000 --- a/unmaintained/lua-moonscript/alt_getopt-compat.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- ./bin/moon.orig -+++ ./bin/moon -@@ -1,6 +1,6 @@ - #!/usr/bin/env lua - --require "alt_getopt" -+local alt_getopt = require "alt_getopt" - local moonscript = require "moonscript.base" - - local util = require "moonscript.util" diff --git a/unmaintained/lua-sec-prosody/APKBUILD b/unmaintained/lua-sec-prosody/APKBUILD deleted file mode 100644 index afb2ef2ad4..0000000000 --- a/unmaintained/lua-sec-prosody/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Borys Zhukov -# Maintainer: -pkgname=lua-sec-prosody -_name=luasec-prosody -pkgver=0.5.1 -pkgrel=0 -pkgdesc="Temporary fork of lua-sec necessary for prosody to support certificate authentication" -url="https://prosody.im/doc/depends/luasec/prosody" -arch="all" -license="MIT" -depends="lua-socket" -makedepends="lua-dev openssl-dev" -install= -subpackages="$pkgname-doc" -source=" - https://prosody.im/tmp/luasec-prosody-$pkgver.tar.gz - Makefile.patch - " - -_builddir="$srcdir"/$_name-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make linux || return 1 -} - -package() { - _luasharedir=/usr/share/lua/5.1 - _lualibdir=/usr/lib/lua/5.1 - cd "$_builddir" - mkdir -p "$pkgdir"/$_luasharedir "$pkgdir"/$_lualibdir - make LUAPATH="$pkgdir"/$_luasharedir \ - LUACPATH="$pkgdir"/$_lualibdir \ - install - mkdir -p "$pkgdir"/usr/share/doc/$pkgname - cp -r samples "$pkgdir"/usr/share/doc/$pkgname/ -} -md5sums="fbe70f5b43419bec16afdfee2b21c34b luasec-prosody-0.5.1.tar.gz -668380897f8711fa3b213c685592cf1f Makefile.patch" -sha256sums="2fd34cf9c59a6491937c98ba33921d4fc418b160c0c89545f7bae4f246280ad4 luasec-prosody-0.5.1.tar.gz -0957c69d587519f3083a8d92171442fe67993e725bd0c645f5600509e8a3ad6c Makefile.patch" -sha512sums="eadae7f59e957ebc8df074c8e43b181380393e8dd2042bbd098576bf2d7710aa0abb4ccc87eb1b52d28e0473cc52626be6e06eabdec8821deca1cda82ad7cfe7 luasec-prosody-0.5.1.tar.gz -f250506a7425502932ca784e3ea0c5784f0d3668f525fa8ea5d91eb198bb3b747d67b547f6f2d4ea42546f72df7a66607e2318ce823e612edb7c966466767781 Makefile.patch" diff --git a/unmaintained/lua-sec-prosody/Makefile.patch b/unmaintained/lua-sec-prosody/Makefile.patch deleted file mode 100644 index 958c24a1be..0000000000 --- a/unmaintained/lua-sec-prosody/Makefile.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/Makefile.orig -+++ b/src/Makefile -@@ -22,7 +22,7 @@ - - INSTALL ?= install - CC ?= cc --LD ?= $(MYENV) cc -+LD = $(MYENV) cc - CFLAGS += $(MYCFLAGS) - LDFLAGS += $(MYLDFLAGS) - DESTDIR ?= / diff --git a/unmaintained/lua-tar/APKBUILD b/unmaintained/lua-tar/APKBUILD deleted file mode 100644 index f13d417876..0000000000 --- a/unmaintained/lua-tar/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=lua-tar -pkgver=0.0 -pkgrel=0 -pkgdesc="Lua tar" -url="http://luaforge.net/projects/luatar/" -arch="all" -license="GPL" -depends="" -depends_dev="lua-dev libtar-dev bzip2-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://files.luaforge.net/releases/luatar/luatar/luatar-$pkgver/luatar-$pkgver.tar.gz - enable-pic.patch" - -_builddir="$srcdir"/luatar-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make HAVE_LIBTAR=1 DEBUG=0 || return 1 -} - -package() { - cd "$_builddir" - install -m644 -D tar.lua \ - $pkgdir/usr/share/lua/5.1/tar.lua || return 1 - install -m755 -D ltar.so \ - $pkgdir/usr/lib/lua/5.1/ltar.so || return 1 -} - -md5sums="d85e342e65c41e98daf285ef280e71ec luatar-0.0.tar.gz -de6b512d8216b5ff03a2439963c51bd6 enable-pic.patch" -sha256sums="5fafa306425f17996a9288c828b41f94c8eb17d0a01f541b3b221e4e9cc2a398 luatar-0.0.tar.gz -44794ae4ddd1e4873a3b885607dd14015b9eed5a023740547f3e61d294347024 enable-pic.patch" -sha512sums="11077a7c8806041654dc75dac0dac8c49497ff8ea55031f86c3bec7266624a164c403899f1bd8a41eeb06e076e0386927685b3c4eb600ff31e17c42c038b9acb luatar-0.0.tar.gz -d1680dd9fbc96d3f58349f69820df0f879ad139703086e7934f60cbdeadb649ac744a9d3c9257273a088a3895e899b780d2eca5278096ea623277fd5b1d59600 enable-pic.patch" diff --git a/unmaintained/lua-tar/enable-pic.patch b/unmaintained/lua-tar/enable-pic.patch deleted file mode 100644 index ab234e2cea..0000000000 --- a/unmaintained/lua-tar/enable-pic.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile.orig -+++ b/Makefile -@@ -13,7 +13,7 @@ - DEPS = $(SRCS:.c=.d) - - CC = gcc --CFLAGS = -O2 -Wall -+CFLAGS = -O2 -Wall -fPIC - LDFLAGS = -s - LIBS = - DLEXT = so diff --git a/unmaintained/lua-telescope/APKBUILD b/unmaintained/lua-telescope/APKBUILD deleted file mode 100644 index 3e9e267618..0000000000 --- a/unmaintained/lua-telescope/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: -pkgname=lua-telescope -pkgver=0.4.1 -pkgrel=1 -pkgdesc="Test library for Lua" -url=https://github.com/norman/telescope -arch=noarch -license=MIT -depends=lua -source=https://github.com/downloads/norman/telescope/telescope-$pkgver.tar.gz - -_builddir=$srcdir/telescope-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - : -} - -package() { - cd "$_builddir" - local bindir=$pkgdir/usr/bin - local luadir=$pkgdir/usr/share/lua/5.1 - install -d "$bindir" - install tsc "$bindir" - install -d "$luadir" - install -m 644 telescope.lua "$luadir" -} - -md5sums="e240350716994873fe1ad7f67918c3b2 telescope-0.4.1.tar.gz" diff --git a/unmaintained/lua-tnetstrings/APKBUILD b/unmaintained/lua-tnetstrings/APKBUILD deleted file mode 100644 index efd5834bc1..0000000000 --- a/unmaintained/lua-tnetstrings/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: -pkgname=lua-tnetstrings -pkgver=1.1.0 -pkgrel=0 -pkgdesc="Tagged netstrings implementation for Lua" -url=https://github.com/jsimmons/tnetstrings.lua -arch=noarch -license=BSD -depends=lua -source=http://github.com/downloads/jsimmons/tnetstrings.lua/tnetstrings-$pkgver.tar.bz2 - -_builddir=$srcdir/tnetstrings-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - : -} - -package() { - cd "$_builddir" - local dir=$pkgdir/usr/share/lua/5.1 - install -d "$dir" - install -m 644 "$_builddir/tnetstrings.lua" "$dir" -} - -md5sums="7ff1f79d9711f9e1f307bc747d75a522 tnetstrings-1.1.0.tar.bz2" diff --git a/unmaintained/lua-xmlrpc/APKBUILD b/unmaintained/lua-xmlrpc/APKBUILD deleted file mode 100644 index e7e981e86c..0000000000 --- a/unmaintained/lua-xmlrpc/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Natanael Copa -_luaver=5.1 -pkgname=lua-xmlrpc -_name=$pkgname -pkgver=1.2.1 -pkgrel=0 -pkgdesc="Lua package to access and provide XML-RPC services" -url="https://github.com/timn/lua-xmlrpc" -arch="noarch" -license="MIT" -depends="lua-expat lua-socket" -makedepends="lua-dev" -install= -source="lua-xmlrcp-$pkgver.tar.gz::https://github.com/timn/lua-xmlrpc/archive/v$pkgver.tar.gz" - -_builddir="$srcdir/$_name-$pkgver" - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - cd "$_builddir" - make install LUA_DIR="$pkgdir"/usr/share/lua/$_luaver -} - -md5sums="422b830ca5706bb109ed8a28b8e82a32 lua-xmlrcp-1.2.1.tar.gz" -sha256sums="0047e353ed4357d33479e923ddd8be3ec29edb9264f79dd2fd1993557ae4ad71 lua-xmlrcp-1.2.1.tar.gz" -sha512sums="27123ec0fe006ebe7dbb88ccdb2b2a028d592fcb97138ee2891e89e89c48563a06ec05ea543a6068eda1e71bbe7d82a1791fdf734ed08f3613d5d252fbb7d77f lua-xmlrcp-1.2.1.tar.gz" diff --git a/unmaintained/lua-zip/APKBUILD b/unmaintained/lua-zip/APKBUILD deleted file mode 100644 index ca5a389cd8..0000000000 --- a/unmaintained/lua-zip/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Mika Havela -# Maintainer: Mika Havela -pkgname=lua-zip -pkgver="1.2.3" -pkgrel=0 -pkgdesc="Lua extension library used to read files stored inside zip files" -url="http://luaforge.net/projects/luazip/" -arch="all" -license="MIT" -depends="lua" -makedepends="lua-dev zziplib-dev" -install="" -subpackages="" -source="http://archive.ubuntu.com/ubuntu/pool/universe/l/lua-zip/lua-zip_${pkgver}.orig.tar.gz" - -_builddir="$srcdir/luazip-$pkgver" -prepare() { - cd "$_builddir" - sed -i -e '/LUA_VERSION_NUM/d' config - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make CFLAGS="$CFLAGS" CC="${CC:-gcc}" -} - -package() { - cd "$_builddir" - local _lua_libdir="$(pkg-config --variable=INSTALL_CMOD lua)" - make LUA_LIBDIR="${pkgdir}${_lua_libdir}" \ - install || return 1 -} - -md5sums="8129ba93a8df6ebd324fee9adca23fae lua-zip_1.2.3.orig.tar.gz" diff --git a/unmaintained/lua-zlib/APKBUILD b/unmaintained/lua-zlib/APKBUILD deleted file mode 100644 index 92becfeac9..0000000000 --- a/unmaintained/lua-zlib/APKBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Maintainer: Natanael Copa - -_luaversions="5.1 5.2" - -pkgname=lua-zlib -pkgver=0.3 -pkgrel=0 -pkgdesc="Simple streaming interface to zlib for Lua" -url="https://github.com/brimworks/lua-zlib" -arch="all" -license="MIT" -depends="" -makedepends="zlib-dev" -subpackages= -for _i in $_luaversions; do - depends="$depends lua$_i-zlib" - makedepends="$makedepends lua$_i-dev" - subpackages="$subpackages lua$_i-zlib:_zlib_${_i/./_}" -done -install= -source="$pkgname-$pkgver.tar.gz::https://github.com/brimworks/lua-zlib/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/lua-zlib-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here - for _i in $_luaversions; do - cp -a "$_builddir" "$srcdir"/build-$_i || return 1 - done -} - -build() { - cd "$_builddir" - for _i in $_luaversions; do - cd "$srcdir"/build-$_i - msg "build for Lua $_i" - make zlib.so \ - CFLAGS="$CFLAGS -fPIC $(pkg-config --cflags lua$_i)" \ - LDFLAGS="$LDFLAGS -shared" \ - LIBS="-lz -lm" \ - || return 1 - done -} - -package() { - mkdir -p "$pkgdir" -} - -_split_zlib() { - local _ver=$1 - pkgdesc="$pkgdesc $_ver" - depends="" - - cd "$srcdir"/build-$_ver - install -Dm755 zlib.so "$subpkgdir"/usr/lib/lua/$_ver/zlib.so -} - -for _i in $_luaversions; do - eval "_zlib_${_i/./_}() { _split_zlib $_i; }" -done - -md5sums="3ac4122776d6c86514d1a6235b803955 lua-zlib-0.3.tar.gz" -sha256sums="3c9412b1c97bc7182c478c2536ad9890d7a472a2844e10ae736403894781cf4a lua-zlib-0.3.tar.gz" -sha512sums="c6045aaa2b5969afa54d6be979b1f367464cbfc738423eb0a4928b8c515a238150a480b619ac63047d4b24078bedac469404deace9c4cec9c9ea25178a5d11a9 lua-zlib-0.3.tar.gz" diff --git a/unmaintained/lua-zmq/APKBUILD b/unmaintained/lua-zmq/APKBUILD deleted file mode 100644 index b98713b523..0000000000 --- a/unmaintained/lua-zmq/APKBUILD +++ /dev/null @@ -1,80 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa - -_luaversions="5.1 5.2" - -pkgname=lua-zmq -pkgver=1.1_git20130709 -_ver=${pkgver%_git*} -pkgrel=2 -pkgdesc="Lua zeromq2 binding" -url="https://github.com/Neopallium/lua-zmq" -arch="" -license="MIT" -makedepends="zeromq-dev cmake" -for _i in $_luaversions; do - makedepends="$makedepends lua$_i-dev" - subpackages="$subpackages lua$_i-zmq:split_${_i/./_}" -done -install="" -source="$pkgname-$_ver.tar.gz::https://github.com/Neopallium/lua-zmq/archive/v$_ver.tar.gz - git-${pkgver##*_git}.patch" - -_sdir="$srcdir"/lua-zmq-$_ver - -prepare() { - local i - cd "$_sdir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - for _i in $_luaversions; do - mkdir -p "$srcdir"/build-$_i || return 1 - done -} - -build() { - for _i in $_luaversions; do - cd "$srcdir"/build-$_i - msg "build for Lua $_i" - CFLAGS="$CFLAGS $(pkg-config --cflags lua$_i)" cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DINSTALL_CMOD=/usr/lib/lua/$_i \ - -DINSTALL_LMOD=/usr/share/lua/$_i \ - "$_sdir" || return 1 - make || return 1 - done -} - -package() { - for _i in $_luaversions; do - cd "$srcdir"/build-$_i - make install DESTDIR="$pkgdir" || return 1 - done -} - -_split() { - local d= _ver=$1 - pkgdesc="Filesystem functions for Lua $_ver" - install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" - depends="lua$_ver-llthreads" - for d in usr/lib/lua usr/share/lua; do - if [ -d "$pkgdir"/$d/$_ver ]; then - mkdir -p "$subpkgdir"/$d - mv "$pkgdir"/$d/$_ver "$subpkgdir"/$d/ || return 1 - fi - done -} - -for _i in $_luaversions; do - eval "split_${_i/./_}() { _split $_i; }" -done - -md5sums="cb4df81b4c884bf97bf6add88fcfa58d lua-zmq-1.1.tar.gz -e68a07c32d77fbea78165d6ae49027cb git-20130709.patch" -sha256sums="f2bdf3142b744971da4eb8bdb12020a34b62f8ba384be44d8448b4ef05ec3dcc lua-zmq-1.1.tar.gz -f0266865ac2ebc10e74877686e8536caec88db286408170b22543243235fa608 git-20130709.patch" -sha512sums="35d7da6215a96b80ea59b52591082473d2c54bcb9577ae95ead1235de894d5ef226b6c4e3030c327b2b146e07af6b3998d91c5b520dfb35e87c85e958069362d lua-zmq-1.1.tar.gz -c9080a53b3f6f63a03bc105fc2d49bdf664fccfdcd35414f21972cee30db466744024727418491dbff6ac845186e1b77f684832ccbbf0c209759303ede8150bb git-20130709.patch" diff --git a/unmaintained/lua-zmq/git-20130709.patch b/unmaintained/lua-zmq/git-20130709.patch deleted file mode 100644 index fce538bc48..0000000000 --- a/unmaintained/lua-zmq/git-20130709.patch +++ /dev/null @@ -1,14529 +0,0 @@ -diff --git a/.travis.yml b/.travis.yml -new file mode 100644 -index 0000000..9a579b2 ---- /dev/null -+++ b/.travis.yml -@@ -0,0 +1,68 @@ -+language: c -+ -+env: -+ matrix: -+ - LUA=lua5.1 LIBLUA=liblua5.1-dev LUA_INCDIR=/usr/include/lua5.1 LUA_LIB=lua5.1 -+ - LUA=lua5.2 LIBLUA=liblua5.2-dev LUA_INCDIR=/usr/include/lua5.2 LUA_LIB=lua5.2 -+ - LUA=luajit LIBLUA=libluajit-5.1-dev LUA_INCDIR=/usr/include/luajit-2.0 LUA_LIB=luajit-5.1 -+ -+branches: -+ only: -+ - master -+ -+compiler: -+ - gcc -+ -+before_install: -+ - if [ $LUA = "luajit" ]; then -+ sudo add-apt-repository ppa:mwild1/ppa -y && sudo apt-get update -y; -+ fi -+ -+install: -+ - sudo apt-get install libzmq3-dev -y -+ - sudo apt-get install $LUA -y -+ - sudo apt-get install $LIBLUA -y -+ - LUA_LIBDIR=`pkg-config $LUA --variable=libdir` -+ - INSTALL_LMOD=`pkg-config $LUA --variable=INSTALL_LMOD` -+ - INSTALL_CMOD=`pkg-config $LUA --variable=INSTALL_CMOD` -+ ## make sure there is a 'lua' command. -+ - if [ ! -x /usr/bin/lua ]; then -+ sudo ln -s `which $LUA` /usr/bin/lua; -+ fi -+ ## install lua-llthreads -+ - git clone git://github.com/Neopallium/lua-llthreads.git -+ - cd lua-llthreads ; mkdir build ; cd build -+ - cmake .. -DLUA_LIBRARIES=$LUA_LIBDIR -DLUA_INCLUDE_DIR=$LUA_INCDIR -+ -DINSTALL_LMOD=$INSTALL_LMOD -DINSTALL_CMOD=$INSTALL_CMOD -+ - make -+ - sudo make install -+ - cd ../.. -+ -+script: -+ #### build using pre-generated bindings. -+ - mkdir build; cd build -+ - cmake .. -DLUA_LIBRARIES=$LUA_LIBDIR -DLUA_INCLUDE_DIR=$LUA_INCDIR -+ -DINSTALL_LMOD=$INSTALL_LMOD -DINSTALL_CMOD=$INSTALL_CMOD -+ - make -+ - sudo make install -+ # Run tests. -+ - $LUA ../tests/test_inproc.lua -+ - $LUA ../perf/thread_lat.lua 1 1000 -+ - cd .. ; rm -rf build -+ #### Re-Generate bindings. -+ - git clone git://github.com/Neopallium/LuaNativeObjects.git; -+ - mkdir build; cd build -+ - cmake .. -DLUA_LIBRARIES=$LUA_LIBDIR -DLUA_INCLUDE_DIR=$LUA_INCDIR -+ -DLUA_NATIVE_OBJECTS_PATH=$TRAVIS_BUILD_DIR/LuaNativeObjects -+ -DUSE_PRE_GENERATED_BINDINGS=OFF -DGENERATE_LUADOCS=OFF -+ -DINSTALL_LMOD=$INSTALL_LMOD -DINSTALL_CMOD=$INSTALL_CMOD -+ - make -+ - sudo make install -+ # Run tests. -+ - $LUA ../tests/test_inproc.lua -+ - $LUA ../perf/thread_lat.lua 1 1000 -+ -+notifications: -+ email: -+ on_failure: always -+ on_success: change -diff --git a/API.md b/API.md -index f15da79..9cdcb8e 100644 ---- a/API.md -+++ b/API.md -@@ -147,6 +147,14 @@ See [zmq_msg_copy(3)](http://api.zeromq.org/zmq_msg_copy.html). - - msg1:copy(msg2) -- copy contents from msg2 -> msg1 - -+## set_size(size) -+ -+Re-initialize the message with a new size. The current contents will be lost. -+See [zmq_msg_init_size(3)](http://api.zeromq.org/zmq_msg_init_size.html). -+ -+ msg:set_size(size) -- re-initialize message if size is different from current size. -+ local buf = msg:data() -- get buffer to fill message with new contents. -+ - ## set_data(data) - - Change the message contents. -@@ -156,7 +164,7 @@ See [zmq_msg_data(3)](http://api.zeromq.org/zmq_msg_data.html). - - ## data() - --Get the message contents. -+Get a lightuserdata pointer to the message contents. - See [zmq_msg_data(3)](http://api.zeromq.org/zmq_msg_data.html). - - local data = msg:data() -- get the message contents -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6c3ed78..6471a17 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -9,12 +9,10 @@ set(BUILD_SHARED_LIBS TRUE) - - set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) - --set(INSTALL_LMOD share/lua/5.1 CACHE PATH "Directory to install Lua source modules (configure lua via LUA_PATH)") --set(INSTALL_CMOD lib/lua/5.1 CACHE PATH "Directory to install Lua binary modules (configure lua via LUA_CPATH)") --set(LUA_NATIVE_OBJECTS_PATH ../LuaNativeObjects CACHE PATH -- "Directory to LuaNativeObjects bindings generator.") --set(USE_PRE_GENERATED_BINDINGS TRUE CACHE BOOL -- "Set this to FALSE to re-generate bindings using LuaNativeObjects") -+set(INSTALL_LMOD ${CMAKE_INSTALL_PREFIX}/share/lua/5.1 CACHE PATH -+ "Directory to install Lua source modules (configure lua via LUA_PATH)") -+set(INSTALL_CMOD ${CMAKE_INSTALL_PREFIX}/lib/lua/5.1 CACHE PATH -+ "Directory to install Lua binary modules (configure lua via LUA_CPATH)") - set(ZMQ_PATH "" CACHE PATH - "Directory to libzmq. (by default use pkg-config to detect path)") - -@@ -27,6 +25,17 @@ include(FindLua51) - if(NOT ${LUA51_FOUND}) - message(FATAL_ERROR "The FindLua51 module could not find lua :-(") - endif() -+if(WIN32) -+ set(COMMON_CFLAGS "${COMMON_CFLAGS} -I${LUA_INCLUDE_DIR}") -+ set(COMMON_LDFLAGS "${COMMON_LDFLAGS} ${LUA_LIBRARY}") -+ if(NOT MSVC) -+ set(COMMON_LDFLAGS "${COMMON_LDFLAGS} -Wl,--export-all-symbols") -+ endif() -+endif() -+## MAC OSX needs extra linker flags -+if(APPLE) -+ set(COMMON_LDFLAGS "${COMMON_LDFLAGS} -undefined dynamic_lookup") -+endif() - - ## LibZMQ - if(WIN32) -@@ -38,8 +47,13 @@ if(WIN32) - endif() - if(IS_DIRECTORY ${ZMQ_PATH}) - set(COMMON_CFLAGS "${COMMON_CFLAGS} -I${ZMQ_PATH}/include") -- set(COMMON_LDFLAGS "${COMMON_LDFLAGS} -L${ZMQ_PATH}/lib") -- set(COMMON_LIBS "${COMMON_LIBS};zmq") -+ if(MSVC) -+ set(COMMON_LIBS "${COMMON_LIBS};libzmq") -+ else() -+ set(COMMON_LDFLAGS "${COMMON_LDFLAGS} -L${ZMQ_PATH}/lib") -+ set(COMMON_LIBS "${COMMON_LIBS};zmq") -+ endif() -+ link_directories(${ZMQ_PATH}/lib) - else() - ## fallback to using pkg-config - include(FindPkgConfig) -@@ -51,13 +65,12 @@ endif() - - ## LuaNativeObjects - include(LuaNativeObjects) -+include(CustomMacros) - - include_directories(${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - ${LUA_INCLUDE_DIR}) - --link_directories(${ZMQ_LIBRARY_DIRS}) -- - ## LuaZMQ - set(LUA_ZMQ_SRC - zmq.nobj.lua -@@ -79,8 +92,8 @@ endif() - add_library(lua-zmq MODULE ${LUA_ZMQ_SRC}) - target_link_libraries(lua-zmq ${COMMON_LIBS}) - set_target_properties(lua-zmq PROPERTIES PREFIX "") --set_target_properties(lua-zmq PROPERTIES COMPILE_FLAGS "${COMMON_CFLAGS}") --set_target_properties(lua-zmq PROPERTIES LINK_FLAGS "${COMMON_LDFLAGS}") -+add_target_properties(lua-zmq COMPILE_FLAGS "${COMMON_CFLAGS}") -+add_target_properties(lua-zmq LINK_FLAGS "${LD_FLAGS} ${COMMON_LDFLAGS}") - set_target_properties(lua-zmq PROPERTIES OUTPUT_NAME zmq) - - install(TARGETS lua-zmq -diff --git a/COPYRIGHT b/COPYRIGHT -new file mode 100644 -index 0000000..9840d93 ---- /dev/null -+++ b/COPYRIGHT -@@ -0,0 +1,19 @@ -+Copyright (c) 2011 by Robert G. Jakabosky -+ -+Permission is hereby granted, free of charge, to any person obtaining a copy -+of this software and associated documentation files (the "Software"), to deal -+in the Software without restriction, including without limitation the rights -+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+copies of the Software, and to permit persons to whom the Software is -+furnished to do so, subject to the following conditions: -+ -+The above copyright notice and this permission notice shall be included in -+all copies or substantial portions of the Software. -+ -+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+THE SOFTWARE. -diff --git a/README.md b/README.md -index eac5f5f..0b3b15d 100644 ---- a/README.md -+++ b/README.md -@@ -1,8 +1,15 @@ - About - ===== - -+[![travis-ci status](https://secure.travis-ci.org/Neopallium/lua-zmq.png?branch=master)](http://travis-ci.org/Neopallium/lua-zmq/builds) -+ - Lua bindings to zeromq2. Check out the [ZeroMQ Guide with Lua examples](http://zguide.zeromq.org/lua:all). - -+Windows -+======= -+ -+Download a compiled version of [LuaJIT 2.0.0-beta11 + lua-zmq + zeromq2.2.0](https://github.com/downloads/Neopallium/lua-zmq/luajit2.0_beta11_zmq2.2_llthreads.zip) 32bit & 64bit. -+ - API - === - -@@ -12,7 +19,7 @@ See [API.md](https://github.com/Neopallium/lua-zmq/blob/master/API.md) and - Requirements - ============ - --* ZeroMQ version 2.1.x. -+* ZeroMQ version 2.1, 2.2 or 3.2. - * Might work with some 2.0.x versions (2.0.6 and lower are not supported). - - For Ubuntu 10.10 users: -@@ -22,7 +29,7 @@ For Ubuntu 10.10 users: - Installation - ============ - --It is recommended to either compile Lua with the "-pthread" flag or preload libpthread.so on Linux when using this module ([See this glibc bug report](http://sourceware.org/bugzilla/show_bug.cgi?id=10652): -+It is recommended to either compile Lua with the "-pthread" flag or preload libpthread.so on Linux when using this module ([see this glibc bug report](http://sourceware.org/bugzilla/show_bug.cgi?id=10652)): - - $ LD_PRELOAD=/lib/libpthread.so lua - -@@ -45,12 +52,12 @@ Latest Git revision - - With LuaRocks 2.0.4.1: - -- $ sudo luarocks install https://github.com/Neopallium/lua-zmq/raw/master/rockspecs/lua-zmq-scm-1.rockspec -+ $ sudo luarocks install https://raw.github.com/Neopallium/lua-zmq/master/rockspecs/lua-zmq-scm-1.rockspec - - For threads support: - -- $ sudo luarocks install https://github.com/Neopallium/lua-llthreads/raw/master/rockspecs/lua-llthreads-scm-0.rockspec -- $ sudo luarocks install https://github.com/Neopallium/lua-zmq/raw/master/rockspecs/lua-zmq-threads-scm-0.rockspec -+ $ sudo luarocks install https://raw.github.com/Neopallium/lua-llthreads/master/rockspecs/lua-llthreads-scm-0.rockspec -+ $ sudo luarocks install https://raw.github.com/Neopallium/lua-zmq/master/rockspecs/lua-zmq-threads-scm-0.rockspec - - With CMake: - -diff --git a/README.regenerate.md b/README.regenerate.md -new file mode 100644 -index 0000000..e3b288e ---- /dev/null -+++ b/README.regenerate.md -@@ -0,0 +1,13 @@ -+To re-generating the bindings -+----------------------------- -+ -+You will need to install LuaNativeObjects and set the CMake variable `USE_PRE_GENERATED_BINDINGS` to FALSE. -+By default CMake will use the pre-generated bindings that are include in the project. -+ -+Build Dependencies -+------------------ -+ -+Optional dependency for re-generating Lua bindings from `*.nobj.lua` files: -+ -+* [LuaNativeObjects](https://github.com/Neopallium/LuaNativeObjects), this is the bindings generator used to convert the `*.nobj.lua` files into a native Lua module. -+ -diff --git a/cmake/CustomMacros.cmake b/cmake/CustomMacros.cmake -new file mode 100644 -index 0000000..312eeff ---- /dev/null -+++ b/cmake/CustomMacros.cmake -@@ -0,0 +1,61 @@ -+## Orignal Macros copied from lighttpd 2.0 -+ -+## modules are without the "lib" prefix -+ -+macro(setup_static_modules TARGET) -+ file(WRITE ${TARGET}_builtins.h "/* auto-generated by CMake build do not edit */\n\n") -+endmacro(setup_static_modules) -+ -+macro(add_module TARGET MODNAME) -+ set(_static_mod ${BUILD_STATIC}) -+ -+ ## create list of module source files. -+ set(_srcfiles) -+ set(_def_module_src ${CMAKE_CURRENT_SOURCE_DIR}/modules/${MODNAME}.c) -+ if(EXISTS ${_def_module_src}) -+ set(_srcfiles ${_def_module_src}) -+ endif(EXISTS ${_def_module_src}) -+ foreach(_srcfile ${ARGN}) -+ if(_srcfile STREQUAL "STATIC") -+ set(_static_mod TRUE) -+ else(_srcfile STREQUAL "STATIC") -+ set(_srcfiles ${_srcfiles} ${_srcfile}) -+ endif(_srcfile STREQUAL "STATIC") -+ endforeach(_srcfile) -+ -+ if(_static_mod) -+ set(STATIC_MODULE_SRC ${STATIC_MODULE_SRC} ${_srcfiles}) -+ file(APPEND ${TARGET}_builtins.h "STATIC_MOD(${MODNAME})\n") -+ else(_static_mod) -+ add_library(${MODNAME} MODULE ${_srcfiles}) -+ set(MODULE_TARGETS ${MODULE_TARGETS} ${MODNAME}) -+ -+ add_target_properties(${MODNAME} LINK_FLAGS ${COMMON_LDFLAGS}) -+ add_target_properties(${MODNAME} COMPILE_FLAGS ${COMMON_CFLAGS}) -+ set_target_properties(${MODNAME} PROPERTIES CMAKE_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) -+ -+ ## Windows likes to link it this way back to app! -+ if(WIN32) -+ set_target_properties(${MODNAME} PROPERTIES LINK_FLAGS ${TARGET}.lib) -+ endif(WIN32) -+ -+ if(APPLE) -+ set_target_properties(${MODNAME} PROPERTIES LINK_FLAGS "-flat_namespace -undefined suppress") -+ endif(APPLE) -+ endif(_static_mod) -+endmacro(add_module) -+ -+macro(add_target_properties _target _name) -+ set(_properties) -+ foreach(_prop ${ARGN}) -+ set(_properties "${_properties} ${_prop}") -+ endforeach(_prop) -+ get_target_property(_old_properties ${_target} ${_name}) -+ ##message(STATUS "adding property to ${_target} ${_name}:" ${_properties}) -+ if(NOT _old_properties) -+ # in case it's NOTFOUND -+ set(_old_properties) -+ endif(NOT _old_properties) -+ set_target_properties(${_target} PROPERTIES ${_name} "${_old_properties} ${_properties}") -+endmacro(add_target_properties) -+ -diff --git a/cmake/LuaNativeObjects.cmake b/cmake/LuaNativeObjects.cmake -index a1b0e2d..e9e47de 100644 ---- a/cmake/LuaNativeObjects.cmake -+++ b/cmake/LuaNativeObjects.cmake -@@ -1,19 +1,39 @@ - # - # Lua Native Objects - # -+ -+set(LUA_NATIVE_OBJECTS_PATH ${CMAKE_SOURCE_DIR}/../LuaNativeObjects CACHE PATH -+ "Directory to LuaNativeObjects bindings generator.") -+set(USE_PRE_GENERATED_BINDINGS TRUE CACHE BOOL -+ "Set this to FALSE to re-generate bindings using LuaNativeObjects") -+ -+set(GENERATE_LUADOCS TRUE CACHE BOOL -+ "Set this to FALSE to avoid generation of docs using LuaDoc") -+ - macro(GenLuaNativeObjects _src_files_var) - set(_new_src_files) - foreach(_src_file ${${_src_files_var}}) - if(_src_file MATCHES ".nobj.lua") - string(REGEX REPLACE ".nobj.lua" ".nobj.c" _src_file_out ${_src_file}) -- string(REGEX REPLACE ".nobj.lua" ".nobj.h" _header_file_out ${_src_file}) -- add_custom_command(OUTPUT ${_src_file_out} ${_header_file_out} -+ string(REGEX REPLACE ".nobj.lua" ".nobj.ffi.lua" _ffi_file_out ${_src_file}) -+ add_custom_command(OUTPUT ${_src_file_out} ${_ffi_file_out} - COMMAND lua ${LUA_NATIVE_OBJECTS_PATH}/native_objects.lua -outpath ${CMAKE_CURRENT_BINARY_DIR} -gen lua ${_src_file} - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DEPENDS ${_src_file} - ) - set_source_files_properties(${_src_file_out} PROPERTIES GENERATED TRUE) -- set_source_files_properties(${_header_file_out} PROPERTIES GENERATED TRUE) -+ set_source_files_properties(${_ffi_file_out} PROPERTIES GENERATED TRUE) -+ if (${GENERATE_LUADOCS}) -+ string(REGEX REPLACE ".nobj.lua" "" _doc_base ${_src_file}) -+ string(REGEX REPLACE ".nobj.lua" ".luadoc" _doc_file_out ${_src_file}) -+ add_custom_target(${_doc_file_out} ALL -+ COMMAND lua ${LUA_NATIVE_OBJECTS_PATH}/native_objects.lua -outpath docs -gen luadoc ${_src_file} -+ COMMAND luadoc -nofiles -d docs docs -+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -+ DEPENDS ${_src_file} -+ ) -+ endif() -+ set_source_files_properties(${_doc_file_out} PROPERTIES GENERATED TRUE) - set(_new_src_files ${_new_src_files} ${_src_file_out}) - else(_src_file MATCHES ".nobj.lua") - set(_new_src_files ${_new_src_files} ${_src_file}) -diff --git a/examples/client.lua b/examples/client.lua -index 682a549..5e9849c 100644 ---- a/examples/client.lua -+++ b/examples/client.lua -@@ -18,15 +18,24 @@ - -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - -- THE SOFTWARE. - --require("zmq") -+local zmq = require"zmq" - --local ctx = zmq.init(1) -+local N=tonumber(arg[1] or 100) -+ -+local ctx = zmq.init() - local s = ctx:socket(zmq.REQ) - - s:connect("tcp://localhost:5555") - --s:send("SELECT * FROM mytable") --print(s:recv()) -+for i=1,N do -+ s:send("SELECT * FROM mytable") -+ local data, err = s:recv() -+ if data then -+ print(data) -+ else -+ print("s:recv() error:", err) -+ end -+end - - s:close() - ctx:term() -diff --git a/examples/client_multipart.lua b/examples/client_multipart.lua -index e82ca26..4f10c58 100644 ---- a/examples/client_multipart.lua -+++ b/examples/client_multipart.lua -@@ -18,17 +18,26 @@ - -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - -- THE SOFTWARE. - --require("zmq") -+local zmq = require"zmq" - --local ctx = zmq.init(1) -+local N=tonumber(arg[1] or 100) -+ -+local ctx = zmq.init() - local s = ctx:socket(zmq.REQ) - - s:connect("tcp://localhost:5555") - --s:send("SELECT * FROM mytable ", zmq.SNDMORE) --s:send("WHERE library = 'zmq'") -+for i=1,N do -+ s:send("SELECT * FROM mytable ", zmq.SNDMORE) -+ s:send("WHERE library = 'zmq'") - --print(s:recv()) -+ local data, err = s:recv() -+ if data then -+ print(data) -+ else -+ print("s:recv() error:", err) -+ end -+end - - s:close() - ctx:term() -diff --git a/examples/client_poll.lua b/examples/client_poll.lua -new file mode 100644 -index 0000000..c49af9b ---- /dev/null -+++ b/examples/client_poll.lua -@@ -0,0 +1,108 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local poller = require"examples.poller" -+local poll = poller.new() -+ -+local zmq = require"zmq" -+local z_NOBLOCK = zmq.NOBLOCK -+local z_EVENTS = zmq.EVENTS -+local z_POLLIN = zmq.POLLIN -+local z_POLLOUT = zmq.POLLOUT -+local z_POLLIN_OUT = z_POLLIN + z_POLLOUT -+ -+local N=tonumber(arg[1] or 100) -+ -+local ctx = zmq.init() -+local s = ctx:socket(zmq.REQ) -+local s_FD = s:getopt(zmq.FD) -+ -+s:connect("tcp://localhost:5555") -+ -+-- current socket state -+local blocked_state -+local blocked_event -+local on_sock_recv -+local on_sock_send -+ -+-- IO event callback when socket was blocked -+local function on_sock_io() -+ local events = s:getopt(z_EVENTS) -+ local unblocked = false -+ if events == blocked_event then -+ -- got the event the socket was blocked on. -+ unblocked = true -+ elseif events == z_POLLIN_OUT then -+ -- got both in & out events -+ unblocked = true -+ end -+ if unblocked then -+ -- got the event we are blocked on resume. -+ blocked_event = nil -+ blocked_state() -+ -- check if blocked event was processed. -+ if not blocked_event then -+ poll:remove_read(s_FD) -+ end -+ end -+end -+local function sock_blocked(state, event) -+ if not blocked_event then -+ -- need to register socket's fd with event loop -+ poll:add_read(s_FD, on_sock_io) -+ end -+ blocked_state = state -+ blocked_event = event -+end -+ -+-- sock state functions -+function on_sock_send() -+ N = N - 1 -+ if N == 0 then -+ return poll:stop() -+ end -+ local sent, err = s:send("SELECT * FROM mytable", z_NOBLOCK) -+ if not sent then -+ assert(err == 'timeout', "Bad error on zmq socket.") -+ return sock_blocked(on_sock_send, z_POLLOUT) -+ end -+ -- yield back to event loop -+ poll:add_work(on_sock_recv) -+end -+ -+function on_sock_recv() -+ local data, err = s:recv(z_NOBLOCK) -+ if not data then -+ assert(err == 'timeout', "Bad error on zmq socket.") -+ return sock_blocked(on_sock_recv, z_POLLIN) -+ end -+ print(data) -+ return on_sock_send() -+end -+ -+-- start processing of the socket. -+poll:add_work(on_sock_send) -+ -+-- start event loop -+poll:start() -+ -+s:close() -+ctx:term() -+ -diff --git a/examples/ev_subscriber.lua b/examples/ev_subscriber.lua -deleted file mode 100644 -index 876a0ea..0000000 ---- a/examples/ev_subscriber.lua -+++ /dev/null -@@ -1,92 +0,0 @@ ---- Copyright (c) 2010 Aleksey Yeschenko ---- ---- Permission is hereby granted, free of charge, to any person obtaining a copy ---- of this software and associated documentation files (the "Software"), to deal ---- in the Software without restriction, including without limitation the rights ---- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---- copies of the Software, and to permit persons to whom the Software is ---- furnished to do so, subject to the following conditions: ---- ---- The above copyright notice and this permission notice shall be included in ---- all copies or substantial portions of the Software. ---- ---- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN ---- THE SOFTWARE. -- --require("zmq") --local ev = require'ev' --local loop = ev.Loop.default -- ---- define a sub_worker class --local sub_worker_mt = {} --function sub_worker_mt:close(...) -- self.s_io_idle:stop(self.loop) -- self.s_io_read:stop(self.loop) -- return self.socket:close(...) --end --function sub_worker_mt:bind(...) -- return self.socket:bind(...) --end --function sub_worker_mt:connect(...) -- return self.socket:connect(...) --end --function sub_worker_mt:sub(topic) -- return self.socket:setopt(zmq.SUBSCRIBE, topic) --end --function sub_worker_mt:unsub(topic) -- return self.socket:setopt(zmq.UNSUBSCRIBE, topic) --end --sub_worker_mt.__index = sub_worker_mt -- --local function sub_worker(loop, ctx, msg_cb) -- local s = ctx:socket(zmq.SUB) -- local self = { loop = loop, socket = s, msg_cb = msg_cb } -- setmetatable(self, sub_worker_mt) -- -- create ev callbacks for recving data. -- -- need idle watcher since ZeroMQ sockets are edge-triggered instead of level-triggered -- local s_io_idle -- local s_io_read -- s_io_idle = ev.Idle.new(function() -- local msg, err = s:recv(zmq.NOBLOCK) -- if err == 'timeout' then -- -- need to block on read IO -- s_io_idle:stop(loop) -- s_io_read:start(loop) -- return -- end -- self:msg_cb(msg) -- end) -- s_io_idle:start(loop) -- s_io_read = ev.IO.new(function() -- s_io_idle:start(loop) -- s_io_read:stop(loop) -- end, s:getopt(zmq.FD), ev.READ) -- self.s_io_idle = s_io_idle -- self.s_io_read = s_io_read -- return self --end -- --local ctx = zmq.init(1) -- ---- message handling function. --local function handle_msg(worker, msg) -- local msg_id = tonumber(msg) -- if math.mod(msg_id, 10000) == 0 then print(worker.id, msg_id) end --end -- --local sub1 = sub_worker(loop, ctx, handle_msg) --sub1.id = 'sub1' --sub1:sub('') --sub1:connect("tcp://localhost:5555") --local sub2 = sub_worker(loop, ctx, handle_msg) --sub2.id = 'sub2' --sub2:sub('') --sub2:connect("tcp://localhost:5555") -- --loop:loop() -- -diff --git a/examples/forward_poll.lua b/examples/forward_poll.lua -new file mode 100644 -index 0000000..25e1e4f ---- /dev/null -+++ b/examples/forward_poll.lua -@@ -0,0 +1,39 @@ -+local zmq = require'zmq' -+local poller = require"examples.poller" -+local poll_zsock = require"examples.poll_zsock" -+ -+local poll = poller.new() -+poll_zsock.set_poller(poll) -+ -+local c = zmq.init(1) -+local xreq = poll_zsock(c:socket(zmq.XREQ)) -+xreq:bind('tcp://127.0.0.1:13333') -+local xrep = poll_zsock(c:socket(zmq.XREP)) -+xrep:bind('tcp://127.0.0.1:13334') -+ -+local max_recv = 10 -+ -+local function forward_io(src,dst) -+ src.on_data = function() -+ for i=1,max_recv do -+ repeat -+ local data, err = src:recv(zmq.NOBLOCK) -+ if not data then -+ if err == 'timeout' then -+ return -+ else -+ error("socket recv error:" .. err) -+ end -+ end -+ local more = src:getopt(zmq.RCVMORE) > 0 -+ dst:send(data,more and zmq.SNDMORE or 0) -+ until not more -+ end -+ end -+end -+ -+forward_io(xrep,xreq) -+forward_io(xreq,xrep) -+ -+poll:start() -+ -diff --git a/examples/poll_zsock.lua b/examples/poll_zsock.lua -new file mode 100644 -index 0000000..5d2ca04 ---- /dev/null -+++ b/examples/poll_zsock.lua -@@ -0,0 +1,177 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local zmq = require"zmq" -+ -+local z_EVENTS = zmq.EVENTS -+ -+local z_POLLIN = zmq.POLLIN -+local z_POLLOUT = zmq.POLLOUT -+local z_POLLIN_OUT = z_POLLIN + z_POLLOUT -+ -+local poll -+ -+local meths = {} -+local zsock_mt = { __index=meths } -+ -+local function zsock_check_events(self) -+ if not self.check_enabled then -+ -- enable 'on_work' callback to handle checking for socket events. -+ self.check_enabled = true -+ poll:add_work(self.on_work) -+ end -+end -+ -+function meths:events() -+ zsock_check_events(self) -+ return self.sock:events() -+end -+ -+function meths:getopt(opt) -+ if (opt == z_EVENTS) then -+ zsock_check_events(self) -+ end -+ return self.sock:getopt(opt) -+end -+ -+function meths:setopt(opt,val) -+ return self.sock:setopt(opt,val) -+end -+ -+function meths:sub(topic) -+ return self.sock:sub(topic) -+end -+ -+function meths:unsub(topic) -+ return self.sock:unsub(topic) -+end -+ -+function meths:identity(id) -+ return self.sock:identity(id) -+end -+ -+function meths:bind(addr) -+ return self.sock:bind(addr) -+end -+ -+function meths:connect(addr) -+ return self.sock:connect(addr) -+end -+ -+function meths:close() -+ return self.sock:close() -+end -+ -+function meths:send(msg, flags) -+ zsock_check_events(self) -+ local sent, err = self.sock:send(msg, flags) -+ if not sent and err == 'timeout' then -+ self.send_blocked = true -+ end -+ return sent, err -+end -+ -+function meths:send_msg(msg, flags) -+ zsock_check_events(self) -+ local sent, err = self.sock:send_msg(msg, flags) -+ if not sent and err == 'timeout' then -+ self.send_blocked = true -+ end -+ return sent, err -+end -+ -+function meths:recv(flags) -+ zsock_check_events(self) -+ local msg, err = self.sock:recv(flags) -+ if not msg and err == 'timeout' then -+ self.recv_blocked = true -+ end -+ return msg, err -+end -+ -+function meths:recv_msg(msg, flags) -+ zsock_check_events(self) -+ local stat, err = self.sock:recv_msg(msg, flags) -+ if not stat and err == 'timeout' then -+ self.recv_blocked = true -+ end -+ return stat, err -+end -+ -+local function nil_cb() -+end -+ -+local function wrap_zsock(sock, on_data, on_drain) -+ local self = setmetatable({ -+ sock = sock, -+ on_data = on_data or nil_cb, -+ on_drain = on_drain or nil_cb, -+ recv_blocked = false, -+ send_blocked = false, -+ check_enabled = false, -+ }, zsock_mt) -+ -+ local function on_work() -+ self.check_enabled = false -+ local events = sock:events() -+ local read = false -+ local write = false -+ if events == z_POLLIN_OUT then -+ read = true -+ write = true -+ elseif events == z_POLLIN then -+ read = true -+ elseif events == z_POLLOUT then -+ write = true -+ else -+ return -+ end -+ if read then -+ self.recv_blocked = false -+ self:on_data(sock) -+ -- there might be more messages to read. -+ if not self.recv_blocked then -+ zsock_check_events(self) -+ end -+ end -+ if write and self.send_blocked then -+ self:on_drain(sock) -+ end -+ end -+ self.on_work = on_work -+ -+ -- listen for read events to enable socket. -+ poll:add_read(sock:fd(), function() -+ on_work() -+ end) -+ -+ zsock_check_events(self) -+ return self -+end -+ -+return setmetatable({ -+set_poller = function(poller) -+ local old = poll -+ poll = poller -+ return old -+end, -+wrap_zsock = wrap_zsock, -+}, { __call = function(tab, ...) return wrap_zsock(...) end}) -+ -diff --git a/examples/poller.lua b/examples/poller.lua -new file mode 100644 -index 0000000..90bee0a ---- /dev/null -+++ b/examples/poller.lua -@@ -0,0 +1,45 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+-- safe require. -+local require = require -+local function safe_require(...) -+ return pcall(require, ...) -+end -+ -+local mod_name = ... -+ -+local backends = { -+ "epoll", -+ "ev", -+} -+ -+for i=1,#backends do -+ local backend = backends[i] -+ local name = mod_name .. '.' .. backend -+ local status, mod = safe_require(name) -+ if status then -+ --print("Loaded backend:", name) -+ return mod -+ end -+end -+ -+error("Failed to load backend for: " .. mod_name) -+ -diff --git a/examples/poller/epoll.lua b/examples/poller/epoll.lua -new file mode 100644 -index 0000000..d79597c ---- /dev/null -+++ b/examples/poller/epoll.lua -@@ -0,0 +1,121 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local epoll = require"epoll" -+local EPOLLIN = epoll.EPOLLIN -+local EPOLLOUT = epoll.EPOLLOUT -+ -+local poller_meths = {} -+local poller_mt = {__index = poller_meths} -+ -+local function poller_new() -+ local reads = {} -+ -- create closure for epoll io_event callback. -+ local function do_io_event(fd, ev) -+ local cb = reads[fd] -+ return cb(fd, ev) -+ end -+ -+ return setmetatable({ -+ work_cur = {}, -+ work_last = {}, -+ reads = reads, -+ io_events = 0, -+ do_io_event = do_io_event, -+ poller = epoll.new(), -+ }, poller_mt) -+end -+ -+function poller_meths:add_work(task) -+ -- add task to current work queue. -+ self.work_cur[#self.work_cur + 1] = task -+end -+ -+function poller_meths:add_read(fd, cb) -+ -- make sure read event hasn't been registered yet. -+ if not self.reads[fd] then -+ self.io_events = self.io_events + 1 -+ self.reads[fd] = cb -+ return self.poller:add(fd, EPOLLIN, fd) -+ else -+ -- update read callback? -+ self.reads[fd] = cb -+ end -+end -+ -+function poller_meths:remove_read(fd) -+ -- make sure there was a read event registered. -+ if self.reads[fd] then -+ self.io_events = self.io_events - 1 -+ self.reads[fd] = nil -+ return self.poller:del(fd) -+ end -+end -+ -+local function poller_do_work(self) -+ local tasks = #self.work_cur -+ -- check if there is any work -+ if tasks > 0 then -+ -- swap work queues. -+ local last, cur = self.work_cur, self.work_last -+ self.work_cur, self.work_last = cur, last -+ for i=1,tasks do -+ local task = last[i] -+ last[i] = nil -+ task() -+ end -+ -- return new work queue length. -+ return #cur -+ end -+ return tasks -+end -+ -+function poller_meths:start() -+ local do_io_event = self.do_io_event -+ local poller = self.poller -+ self.is_running = true -+ while self.is_running do -+ -- run work task -+ local new_work = poller_do_work(self) -+ -- wait == 0, if there is work to do, else wait == -1 -+ local wait = (new_work > 0) and 0 or -1 -+ -- poll for fd events, if there are events to poll for. -+--print("poller:step()", new_work, self.io_events) -+ if self.io_events > 0 then -+ assert(poller:wait_callback(do_io_event, wait)) -+ else -+ -- no io events to poll, do we still have work? -+ if #self.work_cur == 0 then -+ -- nothing to do, exit event loop -+ self.is_running = false -+ return -+ end -+ end -+ end -+end -+ -+function poller_meths:stop() -+ self.is_running = false -+end -+ -+-- module only exports a 'new' function. -+return { -+new = poller_new, -+} -diff --git a/examples/poller/ev.lua b/examples/poller/ev.lua -new file mode 100644 -index 0000000..f8b1733 ---- /dev/null -+++ b/examples/poller/ev.lua -@@ -0,0 +1,119 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local ev = require'ev' -+local ev_READ = ev.READ -+local ev_WRITE = ev.WRITE -+local loop = ev.Loop.default -+ -+assert(ev.Idle,"Need version > 1.3 of lua-ev that supports Idle watchers.") -+ -+local poller_meths = {} -+local poller_mt = {__index = poller_meths} -+ -+local function poller_new() -+ local self = { -+ work_cur = {}, -+ work_last = {}, -+ io_events = 0, -+ reads = {}, -+ idle_enabled = false, -+ } -+ -+ self.idle = ev.Idle.new(function() -+ local tasks = #self.work_cur -+ -- check if there is any work -+ if tasks > 0 then -+ -- swap work queues. -+ local last, cur = self.work_cur, self.work_last -+ self.work_cur, self.work_last = cur, last -+ for i=1,tasks do -+ local task = last[i] -+ last[i] = nil -+ task() -+ end -+ -- check if there is more work. -+ if #cur > 0 then -+ return -- don't disable idle watcher, when we have work. -+ end -+ end -+--print("STOP IDLE:", #self.work_cur, #self.work_last) -+ -- stop idle watcher, no work. -+ self.idle_enabled = false -+ self.idle:stop(loop) -+ end) -+ -- set priority to max, to make sure the work queue is processed on each loop. -+ self.idle:priority(ev.MAXPRI) -+ -+ return setmetatable(self, poller_mt) -+end -+ -+function poller_meths:add_work(task) -+ local idx = #self.work_cur + 1 -+ -- add task to current work queue. -+ self.work_cur[idx] = task -+ -- make sure the idle watcher is enabled. -+ if not self.idle_enabled then -+ self.idle_enabled = true -+ self.idle:start(loop) -+ end -+end -+ -+function poller_meths:add_read(fd, cb) -+ local io_read = self.reads[fd] -+ -- make sure read event hasn't been registered yet. -+ if not io_read then -+ self.io_events = self.io_events + 1 -+ io_read = ev.IO.new(function() -+ cb(fd) -+ end, fd, ev_READ) -+ self.reads[fd] = io_read -+ io_read:start(loop) -+ else -+ -- update read callback? -+ io_read:callback(cb) -+ -- need to re-start watcher? -+ if not io_read:is_active() then -+ io_read:start(loop) -+ end -+ end -+end -+ -+function poller_meths:remove_read(fd) -+ local io_read = self.reads[fd] -+ -- make sure there was a read event registered. -+ if io_read then -+ self.io_events = self.io_events - 1 -+ io_read:stop(loop) -+ end -+end -+ -+function poller_meths:start() -+ return loop:loop() -+end -+ -+function poller_meths:stop() -+ return loop:unloop() -+end -+ -+-- module only exports a 'new' function. -+return { -+new = poller_new, -+} -diff --git a/examples/publiser.lua b/examples/publiser.lua -deleted file mode 100644 -index 12e240e..0000000 ---- a/examples/publiser.lua -+++ /dev/null -@@ -1,32 +0,0 @@ ---- Copyright (c) 2010 Aleksey Yeschenko ---- ---- Permission is hereby granted, free of charge, to any person obtaining a copy ---- of this software and associated documentation files (the "Software"), to deal ---- in the Software without restriction, including without limitation the rights ---- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ---- copies of the Software, and to permit persons to whom the Software is ---- furnished to do so, subject to the following conditions: ---- ---- The above copyright notice and this permission notice shall be included in ---- all copies or substantial portions of the Software. ---- ---- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ---- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ---- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ---- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ---- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ---- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN ---- THE SOFTWARE. -- --require("zmq") -- --local ctx = zmq.init(1) --local s = ctx:socket(zmq.PUB) -- --s:bind("tcp://lo:5555") -- --local msg_id = 1 --while true do -- s:send(tostring(msg_id)) -- msg_id = msg_id + 1 --end -diff --git a/examples/publisher.lua b/examples/publisher.lua -new file mode 100644 -index 0000000..a5f943e ---- /dev/null -+++ b/examples/publisher.lua -@@ -0,0 +1,32 @@ -+-- Copyright (c) 2010 Aleksey Yeschenko -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local zmq = require"zmq" -+ -+local ctx = zmq.init() -+local s = ctx:socket(zmq.PUB) -+ -+s:bind("tcp://lo:5555") -+ -+local msg_id = 1 -+while true do -+ s:send(tostring(msg_id)) -+ msg_id = msg_id + 1 -+end -diff --git a/examples/publisher_poll.lua b/examples/publisher_poll.lua -new file mode 100644 -index 0000000..0cfbe79 ---- /dev/null -+++ b/examples/publisher_poll.lua -@@ -0,0 +1,95 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local poller = require"examples.poller" -+local poll = poller.new() -+ -+local zmq = require"zmq" -+local z_NOBLOCK = zmq.NOBLOCK -+local z_EVENTS = zmq.EVENTS -+local z_POLLIN = zmq.POLLIN -+local z_POLLOUT = zmq.POLLOUT -+local z_POLLIN_OUT = z_POLLIN + z_POLLOUT -+ -+local ctx = zmq.init() -+local s = ctx:socket(zmq.PUB) -+local s_FD = s:getopt(zmq.FD) -+ -+s:bind("tcp://lo:5555") -+ -+-- current socket state -+local blocked_state -+local blocked_event -+local on_sock_recv -+local on_sock_send -+ -+-- IO event callback when socket was blocked -+local function on_sock_io() -+ local events = s:getopt(z_EVENTS) -+ local unblocked = false -+ if events == blocked_event then -+ -- got the event the socket was blocked on. -+ unblocked = true -+ elseif events == z_POLLIN_OUT then -+ -- got both in & out events -+ unblocked = true -+ end -+ if unblocked then -+ -- got the event we are blocked on resume. -+ blocked_event = nil -+ blocked_state() -+ -- check if blocked event was processed. -+ if not blocked_event then -+ poll:remove_read(s_FD) -+ end -+ end -+end -+local function sock_blocked(state, event) -+ if not blocked_event then -+ -- need to register socket's fd with event loop -+ poll:add_read(s_FD, on_sock_io) -+ end -+ blocked_state = state -+ blocked_event = event -+end -+ -+-- sock state functions -+local msg_id = 1 -+function on_sock_send() -+ local sent, err = s:send(tostring(msg_id), z_NOBLOCK) -+ if not sent then -+ assert(err == 'timeout', "Bad error on zmq socket.") -+ return sock_blocked(on_sock_send, z_POLLOUT) -+ end -+ -- message sent, inc. id -+ msg_id = msg_id + 1 -+ -- yield back to event loop -+ poll:add_work(on_sock_send) -+end -+ -+-- start processing of the socket. -+poll:add_work(on_sock_send) -+ -+-- start event loop -+poll:start() -+ -+s:close() -+ctx:term() -+ -diff --git a/examples/server.lua b/examples/server.lua -index 57bb278..3423c4e 100644 ---- a/examples/server.lua -+++ b/examples/server.lua -@@ -18,14 +18,14 @@ - -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - -- THE SOFTWARE. - --require("zmq") -+local zmq = require"zmq" - --local ctx = zmq.init(1) -+local ctx = zmq.init() - local s = ctx:socket(zmq.REP) - - s:bind("tcp://lo:5555") - - while true do -- print(string.format("Received query: '%s'", s:recv())) -- s:send("OK") -+ print(string.format("Received query: '%s'", s:recv())) -+ s:send("OK") - end -diff --git a/examples/server_multipart.lua b/examples/server_multipart.lua -index 663c3f7..c26e3e0 100644 ---- a/examples/server_multipart.lua -+++ b/examples/server_multipart.lua -@@ -18,18 +18,18 @@ - -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - -- THE SOFTWARE. - --require("zmq") -+local zmq = require"zmq" - --local ctx = zmq.init(1) -+local ctx = zmq.init() - local s = ctx:socket(zmq.REP) - - s:bind("tcp://lo:5555") - - while true do -- local query = s:recv() -- while s:getopt(zmq.RCVMORE) == 1 do -- query = query .. s:recv() -- end -- print(string.format("Received query: '%s'", query)) -- s:send("OK") -+ local query = s:recv() -+ while s:getopt(zmq.RCVMORE) == 1 do -+ query = query .. s:recv() -+ end -+ print(string.format("Received query: '%s'", query)) -+ s:send("OK") - end -diff --git a/examples/server_poll.lua b/examples/server_poll.lua -new file mode 100644 -index 0000000..42c8862 ---- /dev/null -+++ b/examples/server_poll.lua -@@ -0,0 +1,102 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local poller = require"examples.poller" -+local poll = poller.new() -+ -+local zmq = require"zmq" -+local z_NOBLOCK = zmq.NOBLOCK -+local z_EVENTS = zmq.EVENTS -+local z_POLLIN = zmq.POLLIN -+local z_POLLOUT = zmq.POLLOUT -+local z_POLLIN_OUT = z_POLLIN + z_POLLOUT -+ -+local ctx = zmq.init() -+local s = ctx:socket(zmq.REP) -+local s_FD = s:getopt(zmq.FD) -+ -+s:bind("tcp://lo:5555") -+ -+-- current socket state -+local blocked_state -+local blocked_event -+local on_sock_recv -+local on_sock_send -+ -+-- IO event callback when socket was blocked -+local function on_sock_io() -+ local events = s:getopt(z_EVENTS) -+ local unblocked = false -+ if events == blocked_event then -+ -- got the event the socket was blocked on. -+ unblocked = true -+ elseif events == z_POLLIN_OUT then -+ -- got both in & out events -+ unblocked = true -+ end -+ if unblocked then -+ -- got the event we are blocked on resume. -+ blocked_event = nil -+ blocked_state() -+ -- check if blocked event was processed. -+ if not blocked_event then -+ poll:remove_read(s_FD) -+ end -+ end -+end -+local function sock_blocked(state, event) -+ if not blocked_event then -+ -- need to register socket's fd with event loop -+ poll:add_read(s_FD, on_sock_io) -+ end -+ blocked_state = state -+ blocked_event = event -+end -+ -+-- sock state functions -+function on_sock_recv() -+ local data, err = s:recv(z_NOBLOCK) -+ if not data then -+ assert(err == 'timeout', "Bad error on zmq socket.") -+ return sock_blocked(on_sock_recv, z_POLLIN) -+ end -+ print(string.format("Received query: '%s'", data)) -+ return on_sock_send() -+end -+ -+function on_sock_send() -+ local sent, err = s:send("OK", z_NOBLOCK) -+ if not sent then -+ assert(err == 'timeout', "Bad error on zmq socket.") -+ return sock_blocked(on_sock_send, z_POLLOUT) -+ end -+ -- yield back to event loop -+ poll:add_work(on_sock_recv) -+end -+ -+-- start processing of the socket. -+poll:add_work(on_sock_recv) -+ -+-- start event loop -+poll:start() -+ -+s:close() -+ctx:term() -+ -diff --git a/examples/subscriber.lua b/examples/subscriber.lua -index 370b7dc..41434c7 100644 ---- a/examples/subscriber.lua -+++ b/examples/subscriber.lua -@@ -18,14 +18,14 @@ - -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - -- THE SOFTWARE. - --require("zmq") -+local zmq = require"zmq" - --local ctx = zmq.init(1) -+local ctx = zmq.init() - local s = ctx:socket(zmq.SUB) - s:setopt(zmq.SUBSCRIBE, "") - s:connect("tcp://localhost:5555") - while true do -- local msg = s:recv() -- local msg_id = tonumber(msg) -- if math.mod(msg_id, 10000) == 0 then print(msg_id) end -+ local msg = s:recv() -+ local msg_id = tonumber(msg) -+ if math.mod(msg_id, 10000) == 0 then print(msg_id) end - end -diff --git a/examples/subscriber_ev.lua b/examples/subscriber_ev.lua -new file mode 100644 -index 0000000..ae8506c ---- /dev/null -+++ b/examples/subscriber_ev.lua -@@ -0,0 +1,113 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local zmq = require"zmq" -+local z_NOBLOCK = zmq.NOBLOCK -+local z_EVENTS = zmq.EVENTS -+local z_POLLIN = zmq.POLLIN -+local z_POLLOUT = zmq.POLLOUT -+local z_POLLIN_OUT = z_POLLIN + z_POLLOUT -+local ev = require'ev' -+local loop = ev.Loop.default -+ -+-- define a sub_worker class -+local sub_worker_mt = {} -+function sub_worker_mt:close(...) -+ self.s_io_idle:stop(self.loop) -+ self.s_io_read:stop(self.loop) -+ return self.socket:close(...) -+end -+function sub_worker_mt:bind(...) -+ return self.socket:bind(...) -+end -+function sub_worker_mt:connect(...) -+ return self.socket:connect(...) -+end -+function sub_worker_mt:sub(topic) -+ return self.socket:setopt(zmq.SUBSCRIBE, topic) -+end -+function sub_worker_mt:unsub(topic) -+ return self.socket:setopt(zmq.UNSUBSCRIBE, topic) -+end -+sub_worker_mt.__index = sub_worker_mt -+ -+local function sub_worker(loop, ctx, msg_cb) -+ local s = ctx:socket(zmq.SUB) -+ local self = { loop = loop, socket = s, msg_cb = msg_cb } -+ setmetatable(self, sub_worker_mt) -+ -- create ev callbacks for recving data. -+ -- need idle watcher since ZeroMQ sockets are edge-triggered instead of level-triggered -+ local s_io_idle -+ local s_io_read -+ local max_recvs = 10 -+ local function s_recv(recv_cnt) -+ local msg, err = s:recv(z_NOBLOCK) -+ if err == 'timeout' then -+ -- need to block on read IO -+ return false -+ end -+ self:msg_cb(msg) -+ if recv_cnt > 1 then -+ return s_recv(recv_cnt - 1) -+ end -+ return true -+ end -+ s_io_idle = ev.Idle.new(function() -+ if not s_recv(max_recvs) then -+ -- need to block on read IO -+ s_io_idle:stop(loop) -+ s_io_read:start(loop) -+ end -+ end) -+ s_io_idle:start(loop) -+ s_io_read = ev.IO.new(function() -+ local events = s:getopt(z_EVENTS) -+ if events == z_POLLIN or events == z_POLLIN_OUT then -+ if s_recv(max_recvs) then -+ -- read IO is not block, enable idle watcher to handle reads. -+ s_io_idle:start(loop) -+ s_io_read:stop(loop) -+ end -+ end -+ end, s:getopt(zmq.FD), ev.READ) -+ self.s_io_idle = s_io_idle -+ self.s_io_read = s_io_read -+ return self -+end -+ -+local ctx = zmq.init() -+ -+-- message handling function. -+local function handle_msg(worker, msg) -+ local msg_id = tonumber(msg) -+ if math.mod(msg_id, 10000) == 0 then print(worker.id, msg_id) end -+end -+ -+local sub1 = sub_worker(loop, ctx, handle_msg) -+sub1.id = 'sub1' -+sub1:sub('') -+sub1:connect("tcp://localhost:5555") -+local sub2 = sub_worker(loop, ctx, handle_msg) -+sub2.id = 'sub2' -+sub2:sub('') -+sub2:connect("tcp://localhost:5555") -+ -+loop:loop() -+ -diff --git a/examples/subscriber_poll.lua b/examples/subscriber_poll.lua -new file mode 100644 -index 0000000..1be24b2 ---- /dev/null -+++ b/examples/subscriber_poll.lua -@@ -0,0 +1,96 @@ -+-- Copyright (c) 2012 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+local poller = require"examples.poller" -+local poll = poller.new() -+ -+local zmq = require"zmq" -+local z_NOBLOCK = zmq.NOBLOCK -+local z_EVENTS = zmq.EVENTS -+local z_POLLIN = zmq.POLLIN -+local z_POLLOUT = zmq.POLLOUT -+local z_POLLIN_OUT = z_POLLIN + z_POLLOUT -+ -+local N=tonumber(arg[1] or 100) -+ -+local ctx = zmq.init() -+local s = ctx:socket(zmq.SUB) -+local s_FD = s:getopt(zmq.FD) -+ -+s:setopt(zmq.SUBSCRIBE, "") -+s:connect("tcp://localhost:5555") -+ -+-- current socket state -+local blocked_state -+local blocked_event -+local on_sock_recv -+local on_sock_send -+ -+-- IO event callback when socket was blocked -+local function on_sock_io() -+ local events = s:getopt(z_EVENTS) -+ local unblocked = false -+ if events == blocked_event then -+ -- got the event the socket was blocked on. -+ unblocked = true -+ elseif events == z_POLLIN_OUT then -+ -- got both in & out events -+ unblocked = true -+ end -+ if unblocked then -+ -- got the event we are blocked on resume. -+ blocked_event = nil -+ blocked_state() -+ -- check if blocked event was processed. -+ if not blocked_event then -+ poll:remove_read(s_FD) -+ end -+ end -+end -+local function sock_blocked(state, event) -+ if not blocked_event then -+ -- need to register socket's fd with event loop -+ poll:add_read(s_FD, on_sock_io) -+ end -+ blocked_state = state -+ blocked_event = event -+end -+ -+-- sock state functions -+function on_sock_recv() -+ local data, err = s:recv(z_NOBLOCK) -+ if not data then -+ assert(err == 'timeout', "Bad error on zmq socket.") -+ return sock_blocked(on_sock_recv, z_POLLIN) -+ end -+ local msg_id = tonumber(data) -+ if (msg_id % 10000) == 0 then print(data) end -+ return on_sock_recv() -+end -+ -+-- start processing of the socket. -+poll:add_work(on_sock_recv) -+ -+-- start event loop -+poll:start() -+ -+s:close() -+ctx:term() -+ -diff --git a/perf/local_lat.lua b/perf/local_lat.lua -index d6a4ec1..4417c46 100644 ---- a/perf/local_lat.lua -+++ b/perf/local_lat.lua -@@ -30,16 +30,31 @@ local roundtrip_count = tonumber(arg[3]) - local zmq = require"zmq" - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.REP) --s:bind(bind_to) -+local s = assert(ctx:socket(zmq.REP)) -+assert(s:bind(bind_to)) - - local msg = zmq.zmq_msg_t() - -+local timer -+ - for i = 1, roundtrip_count do - assert(s:recv_msg(msg)) -+ if not timer then -+ timer = zmq.stopwatch_start() -+ end - assert(msg:size() == message_size, "Invalid message size") - assert(s:send_msg(msg)) - end - -+local elapsed = timer:stop() -+ - s:close() - ctx:term() -+ -+local latency = elapsed / roundtrip_count / 2 -+ -+print(string.format("mean latency: %.3f [us]", latency)) -+local secs = elapsed / (1000 * 1000) -+print(string.format("elapsed = %f", secs)) -+print(string.format("msg/sec = %f", roundtrip_count / secs)) -+ -diff --git a/perf/local_multipart.lua b/perf/local_multipart.lua -index 7d3ab99..69955dd 100644 ---- a/perf/local_multipart.lua -+++ b/perf/local_multipart.lua -@@ -30,9 +30,9 @@ local message_count = tonumber(arg[3]) - local zmq = require"zmq" - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.PULL) -+local s = assert(ctx:socket(zmq.PULL)) - --s:setopt(zmq.SUBSCRIBE, ""); --s:bind(bind_to) -+assert(s:bind(bind_to)) - - local function recv_msg(s,msg) - assert(s:recv_msg(msg)) -diff --git a/perf/local_pull.lua b/perf/local_pull.lua -index a515f60..2d52b1e 100644 ---- a/perf/local_pull.lua -+++ b/perf/local_pull.lua -@@ -30,8 +30,8 @@ local message_count = tonumber(arg[3]) - local zmq = require"zmq" - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.PULL) --s:bind(bind_to) -+local s = assert(ctx:socket(zmq.PULL)) -+assert(s:bind(bind_to)) - - print(string.format("message size: %i [B]", message_size)) - print(string.format("message count: %i", message_count)) -diff --git a/perf/local_thr.lua b/perf/local_thr.lua -index 572c4e0..c7ede4c 100644 ---- a/perf/local_thr.lua -+++ b/perf/local_thr.lua -@@ -30,9 +30,9 @@ local message_count = tonumber(arg[3]) - local zmq = require"zmq" - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.SUB) --s:setopt(zmq.SUBSCRIBE, ""); --s:bind(bind_to) -+local s = assert(ctx:socket(zmq.SUB)) -+assert(s:setopt(zmq.SUBSCRIBE, "")) -+assert(s:bind(bind_to)) - - print(string.format("message size: %i [B]", message_size)) - print(string.format("message count: %i", message_count)) -diff --git a/perf/local_thr_poll.lua b/perf/local_thr_poll.lua -new file mode 100644 -index 0000000..2c3b7a4 ---- /dev/null -+++ b/perf/local_thr_poll.lua -@@ -0,0 +1,77 @@ -+-- Copyright (c) 2010 Aleksey Yeschenko -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+if not arg[3] then -+ print("usage: lua local_thr.lua ") -+ os.exit() -+end -+ -+local bind_to = arg[1] -+local message_size = tonumber(arg[2]) -+local message_count = tonumber(arg[3]) -+ -+local zmq = require"zmq" -+local z_poller = require"zmq.poller" -+local z_NOBLOCK = zmq.NOBLOCK -+ -+local poller = z_poller(64) -+ -+local ctx = zmq.init(1) -+local s = assert(ctx:socket(zmq.SUB)) -+assert(s:setopt(zmq.SUBSCRIBE, "")) -+assert(s:bind(bind_to)) -+ -+print(string.format("message size: %i [B]", message_size)) -+print(string.format("message count: %i", message_count)) -+ -+local msg -+msg = zmq.zmq_msg_t() -+ -+local cnt = 0 -+ -+poller:add(s, zmq.POLLIN, function(sock) -+ while s:recv_msg(msg, z_NOBLOCK) do -+ --assert(msg:size() == message_size, "Invalid message size") -+ cnt = cnt + 1 -+ if cnt == message_count then -+ poller:stop() -+ end -+ end -+end) -+ -+-- wait for first message -+assert(s:recv_msg(msg)) -+cnt = 1 -+ -+local timer = zmq.stopwatch_start() -+poller:start() -+local elapsed = timer:stop() -+ -+s:close() -+ctx:term() -+ -+if elapsed == 0 then elapsed = 1 end -+ -+local throughput = message_count / (elapsed / 1000000) -+local megabits = throughput * message_size * 8 / 1000000 -+ -+print(string.format("mean throughput: %i [msg/s]", throughput)) -+print(string.format("mean throughput: %.3f [Mb/s]", megabits)) -+ -diff --git a/perf/local_thr_push_pull.lua b/perf/local_thr_push_pull.lua -new file mode 100644 -index 0000000..727c94c ---- /dev/null -+++ b/perf/local_thr_push_pull.lua -@@ -0,0 +1,62 @@ -+-- Copyright (c) 2010 Aleksey Yeschenko -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+if not arg[3] then -+ print("usage: lua local_thr.lua ") -+ os.exit() -+end -+ -+local bind_to = arg[1] -+local message_size = tonumber(arg[2]) -+local message_count = tonumber(arg[3]) -+ -+local zmq = require"zmq" -+ -+local ctx = zmq.init(1) -+local s = assert(ctx:socket(zmq.PULL)) -+assert(s:bind(bind_to)) -+ -+print(string.format("message size: %i [B]", message_size)) -+print(string.format("message count: %i", message_count)) -+ -+local msg -+msg = zmq.zmq_msg_t() -+assert(s:recv_msg(msg)) -+ -+local timer = zmq.stopwatch_start() -+ -+for i = 1, message_count - 1 do -+ assert(s:recv_msg(msg)) -+ assert(msg:size() == message_size, "Invalid message size") -+end -+ -+local elapsed = timer:stop() -+ -+s:close() -+ctx:term() -+ -+if elapsed == 0 then elapsed = 1 end -+ -+local throughput = message_count / (elapsed / 1000000) -+local megabits = throughput * message_size * 8 / 1000000 -+ -+print(string.format("mean throughput: %i [msg/s]", throughput)) -+print(string.format("mean throughput: %.3f [Mb/s]", megabits)) -+ -diff --git a/perf/remote_lat.lua b/perf/remote_lat.lua -index 4376f60..c426279 100644 ---- a/perf/remote_lat.lua -+++ b/perf/remote_lat.lua -@@ -30,8 +30,8 @@ local roundtrip_count = tonumber(arg[3]) - local zmq = require"zmq" - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.REQ) --s:connect(connect_to) -+local s = assert(ctx:socket(zmq.REQ)) -+assert(s:connect(connect_to)) - - local data = ("0"):rep(message_size) - local msg = zmq.zmq_msg_t.init_size(message_size) -@@ -54,3 +54,4 @@ local latency = elapsed / roundtrip_count / 2 - print(string.format("message size: %i [B]", message_size)) - print(string.format("roundtrip count: %i", roundtrip_count)) - print(string.format("mean latency: %.3f [us]", latency)) -+ -diff --git a/perf/remote_multipart.lua b/perf/remote_multipart.lua -index f071555..004120e 100644 ---- a/perf/remote_multipart.lua -+++ b/perf/remote_multipart.lua -@@ -31,8 +31,8 @@ local zmq = require"zmq" - local z_SNDMORE = zmq.SNDMORE - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.PUSH) --s:connect(connect_to) -+local s = assert(ctx:socket(zmq.PUSH)) -+assert(s:connect(connect_to)) - - local data = ("0"):rep(message_size/2) - local msg = zmq.zmq_msg_t.init_size(message_size/2) -diff --git a/perf/remote_push.lua b/perf/remote_push.lua -index a37a189..ff26903 100644 ---- a/perf/remote_push.lua -+++ b/perf/remote_push.lua -@@ -30,8 +30,8 @@ local message_count = tonumber(arg[3]) - local zmq = require"zmq" - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.PUSH) --s:connect(connect_to) -+local s = assert(ctx:socket(zmq.PUSH)) -+assert(s:connect(connect_to)) - - local data = ("0"):rep(message_size) - local msg = zmq.zmq_msg_t.init_size(message_size) -diff --git a/perf/remote_thr.lua b/perf/remote_thr.lua -index 967e08b..74cccb4 100644 ---- a/perf/remote_thr.lua -+++ b/perf/remote_thr.lua -@@ -30,8 +30,12 @@ local message_count = tonumber(arg[3]) - local zmq = require"zmq" - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.PUB) --s:connect(connect_to) -+local s = assert(ctx:socket(zmq.PUB)) -+-- for ZeroMQ 3.x need to change HWM option. -+assert(s:set_hwm(0)) -+assert(s:connect(connect_to)) -+ -+zmq.sleep(1) - - local data = ("0"):rep(message_size) - local msg_data = zmq.zmq_msg_t.init_data(data) -@@ -42,7 +46,6 @@ for i = 1, message_count do - assert(s:send_msg(msg)) - end - ----os.execute("sleep " .. 10) -- - s:close() - ctx:term() -+ -diff --git a/perf/remote_thr_push_pull.lua b/perf/remote_thr_push_pull.lua -new file mode 100644 -index 0000000..3604d6e ---- /dev/null -+++ b/perf/remote_thr_push_pull.lua -@@ -0,0 +1,49 @@ -+-- Copyright (c) 2010 Aleksey Yeschenko -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+if not arg[3] then -+ print("usage: lua remote_thr.lua ") -+ os.exit() -+end -+ -+local connect_to = arg[1] -+local message_size = tonumber(arg[2]) -+local message_count = tonumber(arg[3]) -+ -+local zmq = require"zmq" -+ -+local ctx = zmq.init(1) -+local s = assert(ctx:socket(zmq.PUSH)) -+assert(s:connect(connect_to)) -+ -+zmq.sleep(1) -+ -+local data = ("0"):rep(message_size) -+local msg_data = zmq.zmq_msg_t.init_data(data) -+local msg = zmq.zmq_msg_t.init() -+ -+for i = 1, message_count do -+ msg:copy(msg_data) -+ assert(s:send_msg(msg)) -+end -+ -+s:close() -+ctx:term() -+ -diff --git a/perf/thread_lat.lua b/perf/thread_lat.lua -index 93ed691..3f04689 100644 ---- a/perf/thread_lat.lua -+++ b/perf/thread_lat.lua -@@ -52,8 +52,8 @@ local child_code = [[ - ]] - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.REQ) --s:bind(bind_to) -+local s = assert(ctx:socket(zmq.REQ)) -+assert(s:bind(bind_to)) - - local child_thread = zthreads.runstring(ctx, child_code, connect_to, message_size, roundtrip_count) - child_thread:start() -@@ -64,6 +64,8 @@ local msg = zmq.zmq_msg_t.init_size(message_size) - print(string.format("message size: %i [B]", message_size)) - print(string.format("roundtrip count: %i", roundtrip_count)) - -+zmq.sleep(2) -- wait for child thread to connect. -+ - local timer = zmq.stopwatch_start() - - for i = 1, roundtrip_count do -@@ -81,4 +83,7 @@ ctx:term() - local latency = elapsed / roundtrip_count / 2 - - print(string.format("mean latency: %.3f [us]", latency)) -+local secs = elapsed / (1000 * 1000) -+print(string.format("elapsed = %f", secs)) -+print(string.format("msg/sec = %f", roundtrip_count / secs)) - -diff --git a/perf/thread_push_pull.lua b/perf/thread_push_pull.lua -index f69ff48..5030172 100644 ---- a/perf/thread_push_pull.lua -+++ b/perf/thread_push_pull.lua -@@ -37,17 +37,18 @@ local child_code = [[ - local zthreads = require"zmq.threads" - - local ctx = zthreads.get_parent_ctx() -- local s = ctx:socket(zmq.PUSH) -- s:setopt(zmq.HWM, message_count/4) -- s:connect(connect_to) -+ local s = assert(ctx:socket(zmq.PUSH)) -+ assert(s:setopt(zmq.HWM, message_count/4)) -+ assert(s:connect(connect_to)) - - local data = ("0"):rep(message_size) -- local msg = zmq.zmq_msg_t.init_size(message_size) -+ local msg_data = zmq.zmq_msg_t.init_data(data) -+ local msg = zmq.zmq_msg_t.init() - - local timer = zmq.stopwatch_start() - - for i = 1, message_count do -- msg:set_data(data) -+ msg:copy(msg_data) - assert(s:send_msg(msg)) - end - -@@ -67,8 +68,8 @@ local child_code = [[ - ]] - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.PULL) --s:bind(bind_to) -+local s = assert(ctx:socket(zmq.PULL)) -+assert(s:bind(bind_to)) - - print(string.format("message size: %i [B]", message_size)) - print(string.format("message count: %i", message_count)) -diff --git a/perf/thread_thr.lua b/perf/thread_thr.lua -index 7b9183a..a7a5d11 100644 ---- a/perf/thread_thr.lua -+++ b/perf/thread_thr.lua -@@ -24,8 +24,8 @@ end - - local message_size = tonumber(arg[1] or 1) - local message_count = tonumber(arg[2] or 100000) --local bind_to = arg[3] or 'inproc://thread_lat_test' --local connect_to = arg[4] or 'inproc://thread_lat_test' -+local bind_to = arg[3] or 'inproc://thread_thr_test' -+local connect_to = arg[4] or 'inproc://thread_thr_test' - - local zmq = require"zmq" - local zthreads = require"zmq.threads" -@@ -37,8 +37,10 @@ local child_code = [[ - local zthreads = require"zmq.threads" - - local ctx = zthreads.get_parent_ctx() -- local s = ctx:socket(zmq.PUB) -- s:connect(connect_to) -+ local s = assert(ctx:socket(zmq.PUB)) -+ -- for ZeroMQ 3.x need to change HWM option. -+ assert(s:set_hwm(0)) -+ assert(s:connect(connect_to)) - - local data = ("0"):rep(message_size) - local msg_data = zmq.zmq_msg_t.init_data(data) -@@ -67,9 +69,9 @@ local child_code = [[ - ]] - - local ctx = zmq.init(1) --local s = ctx:socket(zmq.SUB) --s:setopt(zmq.SUBSCRIBE, ""); --s:bind(bind_to) -+local s = assert(ctx:socket(zmq.SUB)) -+assert(s:setopt(zmq.SUBSCRIBE, "")) -+assert(s:bind(bind_to)) - - print(string.format("message size: %i [B]", message_size)) - print(string.format("message count: %i", message_count)) -diff --git a/rockspecs/lua-zmq-scm-1.rockspec b/rockspecs/lua-zmq-scm-1.rockspec -index 10737b7..b3cd3c6 100644 ---- a/rockspecs/lua-zmq-scm-1.rockspec -+++ b/rockspecs/lua-zmq-scm-1.rockspec -@@ -12,12 +12,28 @@ dependencies = { - "lua >= 5.1", - } - external_dependencies = { -+ platforms = { -+ windows = { -+ ZEROMQ = { -+ library = "libzmq", -+ } -+ }, -+ }, - ZEROMQ = { - header = "zmq.h", - library = "zmq", - } - } - build = { -+ platforms = { -+ windows = { -+ modules = { -+ zmq = { -+ libraries = {"libzmq"}, -+ } -+ } -+ }, -+ }, - type = "builtin", - modules = { - zmq = { -diff --git a/rockspecs/lua-zmq-wireshark-scm-0.rockspec b/rockspecs/lua-zmq-wireshark-scm-0.rockspec -new file mode 100644 -index 0000000..5e3e0e1 ---- /dev/null -+++ b/rockspecs/lua-zmq-wireshark-scm-0.rockspec -@@ -0,0 +1,22 @@ -+package = "lua-zmq-wireshark" -+version = "scm-0" -+source = { -+ url = "git://github.com/Neopallium/lua-zmq.git", -+} -+description = { -+ summary = "Lua Wireshark dissector for the ZeroMQ protocol.", -+ homepage = "http://github.com/Neopallium/lua-zmq", -+ -- Wireshark requires dissectors to be licensed under the GPL. -+ license = "GPL", -+} -+dependencies = {} -+build = { -+ type = "none", -+ install = { -+ lua = { -+ ['zmq.ws.dissector'] = "ws/dissector.lua", -+ ['zmq.ws.tap'] = "ws/tap.lua", -+ ['zmq.ws.stats_tap'] = "ws/stats_tap.lua", -+ }, -+ }, -+} -diff --git a/src/ctx.nobj.lua b/src/ctx.nobj.lua -index adc0c42..694520f 100644 ---- a/src/ctx.nobj.lua -+++ b/src/ctx.nobj.lua -@@ -19,6 +19,7 @@ - -- THE SOFTWARE. - - object "ZMQ_Ctx" { -+ sys_include"string.h", - error_on_null = "get_zmq_strerror()", - c_source [[ - typedef struct ZMQ_Ctx ZMQ_Ctx; -@@ -35,5 +36,13 @@ typedef struct ZMQ_Ctx ZMQ_Ctx; - method "socket" { - c_method_call "!ZMQ_Socket *" "zmq_socket" { "int", "type"} - }, -+ method "set" { -+ if_defs = { "VERSION_3_2" }, -+ c_method_call "int" "zmq_ctx_set" { "int", "flag", "int", "value" } -+ }, -+ method "get" { -+ if_defs = { "VERSION_3_2" }, -+ c_method_call "int" "zmq_ctx_get" { "int", "flag" } -+ }, - } - -diff --git a/src/error.nobj.lua b/src/error.nobj.lua -index 4e353f3..b5559c7 100644 ---- a/src/error.nobj.lua -+++ b/src/error.nobj.lua -@@ -18,26 +18,295 @@ - -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - -- THE SOFTWARE. - -+-- E* error values. -+meta_object "ZErrors" { -+ export_definitions { -+ -- Native 0MQ error codes. -+ "EFSM", -+ "ENOCOMPATPROTO", -+ "ETERM", -+ "EMTHREAD", -+ -+ "EPERM", -- Operation not permitted -+ "ENOENT", -- No such file or directory -+ "ESRCH", -- No such process -+ "EINTR", -- Interrupted system call -+ "EIO", -- I/O error -+ "ENXIO", -- No such device or address -+ "E2BIG", -- Argument list too long -+ "ENOEXEC", -- Exec format error -+ "EBADF", -- Bad file number -+ "ECHILD", -- No child processes -+ "EAGAIN", -- Try again -+ "ENOMEM", -- Out of memory -+ "EACCES", -- Permission denied -+ "EFAULT", -- Bad address -+ "ENOTBLK", -- Block device required -+ "EBUSY", -- Device or resource busy -+ "EEXIST", -- File exists -+ "EXDEV", -- Cross-device link -+ "ENODEV", -- No such device -+ "ENOTDIR", -- Not a directory -+ "EISDIR", -- Is a directory -+ "EINVAL", -- Invalid argument -+ "ENFILE", -- File table overflow -+ "EMFILE", -- Too many open files -+ "ENOTTY", -- Not a typewriter -+ "ETXTBSY", -- Text file busy -+ "EFBIG", -- File too large -+ "ENOSPC", -- No space left on device -+ "ESPIPE", -- Illegal seek -+ "EROFS", -- Read-only file system -+ "EMLINK", -- Too many links -+ "EPIPE", -- Broken pipe -+ "EDOM", -- Math argument out of domain of func -+ "ERANGE", -- Math result not representable -+ -+ "EDEADLK", -- Resource deadlock would occur -+ "EDEADLOCK", -- EDEADLK -+ "ENAMETOOLONG", -- File name too long -+ "ENOLCK", -- No record locks available -+ "ENOSYS", -- Function not implemented -+ "ENOTEMPTY", -- Directory not empty -+ "ELOOP", -- Too many symbolic links encountered -+ "EWOULDBLOCK", -- Operation would block -+ "ENOMSG", -- No message of desired type -+ "EIDRM", -- Identifier removed -+ "ECHRNG", -- Channel number out of range -+ "EL2NSYNC", -- Level 2 not synchronized -+ "EL3HLT", -- Level 3 halted -+ "EL3RST", -- Level 3 reset -+ "ELNRNG", -- Link number out of range -+ "EUNATCH", -- Protocol driver not attached -+ "ENOCSI", -- No CSI structure available -+ "EL2HLT", -- Level 2 halted -+ "EBADE", -- Invalid exchange -+ "EBADR", -- Invalid request descriptor -+ "EXFULL", -- Exchange full -+ "ENOANO", -- No anode -+ "EBADRQC", -- Invalid request code -+ "EBADSLT", -- Invalid slot -+ -+ "EBFONT", -- Bad font file format -+ "ENOSTR", -- Device not a stream -+ "ENODATA", -- No data available -+ "ETIME", -- Timer expired -+ "ENOSR", -- Out of streams resources -+ "ENONET", -- Machine is not on the network -+ "ENOPKG", -- Package not installed -+ "EREMOTE", -- Object is remote -+ "ENOLINK", -- Link has been severed -+ "EADV", -- Advertise error -+ "ESRMNT", -- Srmount error -+ "ECOMM", -- Communication error on send -+ "EPROTO", -- Protocol error -+ "EMULTIHOP", -- Multihop attempted -+ "EDOTDOT", -- RFS specific error -+ "EBADMSG", -- Not a data message -+ "EOVERFLOW", -- Value too large for defined data type -+ "ENOTUNIQ", -- Name not unique on network -+ "EBADFD", -- File descriptor in bad state -+ "EREMCHG", -- Remote address changed -+ "ELIBACC", -- Can not access a needed shared library -+ "ELIBBAD", -- Accessing a corrupted shared library -+ "ELIBSCN", -- .lib section in a.out corrupted -+ "ELIBMAX", -- Attempting to link in too many shared libraries -+ "ELIBEXEC", -- Cannot exec a shared library directly -+ "EILSEQ", -- Illegal byte sequence -+ "ERESTART", -- Interrupted system call should be restarted -+ "ESTRPIPE", -- Streams pipe error -+ "EUSERS", -- Too many users -+ "ENOTSOCK", -- Socket operation on non-socket -+ "EDESTADDRREQ", -- Destination address required -+ "EMSGSIZE", -- Message too long -+ "EPROTOTYPE", -- Protocol wrong type for socket -+ "ENOPROTOOPT", -- Protocol not available -+ "EPROTONOSUPPORT", -- Protocol not supported -+ "ESOCKTNOSUPPORT", -- Socket type not supported -+ "EOPNOTSUPP", -- Operation not supported on transport endpoint -+ "EPFNOSUPPORT", -- Protocol family not supported -+ "EAFNOSUPPORT", -- Address family not supported by protocol -+ "EADDRINUSE", -- Address already in use -+ "EADDRNOTAVAIL", -- Cannot assign requested address -+ "ENETDOWN", -- Network is down -+ "ENETUNREACH", -- Network is unreachable -+ "ENETRESET", -- Network dropped connection because of reset -+ "ECONNABORTED", -- Software caused connection abort -+ "ECONNRESET", -- Connection reset by peer -+ "ENOBUFS", -- No buffer space available -+ "EISCONN", -- Transport endpoint is already connected -+ "ENOTCONN", -- Transport endpoint is not connected -+ "ESHUTDOWN", -- Cannot send after transport endpoint shutdown -+ "ETOOMANYREFS", -- Too many references: cannot splice -+ "ETIMEDOUT", -- Connection timed out -+ "ECONNREFUSED", -- Connection refused -+ "EHOSTDOWN", -- Host is down -+ "EHOSTUNREACH", -- No route to host -+ "EALREADY", -- Operation already in progress -+ "EINPROGRESS", -- Operation now in progress -+ "ESTALE", -- Stale NFS file handle -+ "EUCLEAN", -- Structure needs cleaning -+ "ENOTNAM", -- Not a XENIX named type file -+ "ENAVAIL", -- No XENIX semaphores available -+ "EISNAM", -- Is a named type file -+ "EREMOTEIO", -- Remote I/O error -+ "EDQUOT", -- Quota exceeded -+ -+ "ENOMEDIUM", -- No medium found -+ "EMEDIUMTYPE", -- Wrong medium type -+ "ECANCELED", -- Operation Canceled -+ "ENOKEY", -- Required key not available -+ "EKEYEXPIRED", -- Key has expired -+ "EKEYREVOKED", -- Key has been revoked -+ "EKEYREJECTED", -- Key was rejected by service -+ -+ -- for robust mutexes -+ "EOWNERDEAD", -- Owner died -+ "ENOTRECOVERABLE", -- State not recoverable -+ -+ "ERFKILL", -- Operation not possible due to RF-kill -+ }, -+ -+ method "description" { -+ var_in{ "", "err" }, -+ var_out{ "const char *", "msg" }, -+ c_source "pre" [[ -+ int err_type; -+ int err_num = -1; -+]], -+ c_source[[ -+ err_type = lua_type(L, ${err::idx}); -+ if(err_type == LUA_TSTRING) { -+ lua_pushvalue(L, ${err::idx}); -+ lua_rawget(L, ${this::idx}); -+ if(lua_isnumber(L, -1)) { -+ err_num = lua_tointeger(L, -1); -+ } -+ lua_pop(L, 1); -+ } else if(err_type == LUA_TNUMBER) { -+ err_num = lua_tointeger(L, ${err::idx}); -+ } else { -+ return luaL_argerror(L, ${err::idx}, "expected string/number"); -+ } -+ if(err_num < 0) { -+ lua_pushnil(L); -+ lua_pushliteral(L, "UNKNOWN ERROR"); -+ return 2; -+ } -+ ${msg} = strerror(err_num); -+]], -+ }, -+ -+ method "__index" { -+ var_in{ "int", "err" }, -+ var_out{ "const char *", "msg" }, -+ c_source[[ -+ switch(${err}) { -+ case EAGAIN: -+ ${msg} = "timeout"; -+ break; -+ case EINTR: -+ ${msg} = "interrupted"; -+ break; -+#if defined(ETERM) -+ case ETERM: -+ ${msg} = "closed"; -+ break; -+#endif -+ default: -+ ${msg} = zmq_strerror(${err}); -+ break; -+ } -+ lua_pushvalue(L, ${err::idx}); -+ lua_pushstring(L, ${msg}); -+ lua_rawset(L, ${this::idx}); -+]], -+ }, -+} -+ -+ffi_cdef[[ -+int zmq_errno (void); -+]] -+ -+ffi_source "ffi_src" [[ -+-- get ZErrors table to map errno to error name. -+local ZError_names = _M.ZErrors -+ -+local function get_zmq_strerror() -+ return ZError_names[C.zmq_errno()] -+end -+]] -+ -+c_source "extra_code" [[ -+static char *zmq_ZErrors_key = "zmq_ZErrors_key"; -+/* -+ * This wrapper function is to make the EAGAIN/ETERM error messages more like -+ * what is returned by LuaSocket. -+ */ -+static const char *get_zmq_strerror() { -+ int err = zmq_errno(); -+ switch(err) { -+ case EAGAIN: -+ return "timeout"; -+ break; -+ case EINTR: -+ return "interrupted"; -+ break; -+#if defined(ETERM) -+ case ETERM: -+ return "closed"; -+ break; -+#endif -+ default: -+ break; -+ } -+ return zmq_strerror(err); -+} -+ -+]] -+ -+c_source "module_init_src" [[ -+ /* Cache reference to zmq.ZErrors table for errno->string convertion. */ -+ lua_pushlightuserdata(L, zmq_ZErrors_key); -+ lua_getfield(L, -2, "ZErrors"); -+ lua_rawset(L, LUA_REGISTRYINDEX); -+]] -+ - -- Convert ZMQ Error codes into strings. - -- - -- This is an error code wrapper object, it converts C-style 'int' return error code - -- into Lua-style 'nil, "Error message"' return values. - -- - error_code "ZMQ_Error" "int" { -- ffi_cdef[[ --typedef int ZMQ_Error; --]], -+ ffi_type = "int", - is_error_check = function(rec) return "(-1 == ${" .. rec.name .. "})" end, - ffi_is_error_check = function(rec) return "(-1 == ${" .. rec.name .. "})" end, - default = "0", - c_source [[ -+ int num; - if(-1 == err) { -- err_str = get_zmq_strerror(); -+ /* get ZErrors table. */ -+ lua_pushlightuserdata(L, zmq_ZErrors_key); -+ lua_rawget(L, LUA_REGISTRYINDEX); -+ /* convert zmq_errno to string. */ -+ num = zmq_errno(); -+ lua_pushinteger(L, num); -+ lua_gettable(L, -2); -+ /* remove ZErrors table. */ -+ lua_remove(L, -2); -+ if(!lua_isnil(L, -1)) { -+ /* found error. */ -+ return; -+ } -+ /* Unknown error. */ -+ lua_pop(L, 1); -+ lua_pushfstring(L, "UNKNOWN ERROR(%d)", num); -+ return; - } - ]], - ffi_source [[ - if(-1 == err) then -- err_str = get_zmq_strerror(); -+ err_str = ZError_names[C.zmq_errno()] - end - ]], - } -diff --git a/src/msg.nobj.lua b/src/msg.nobj.lua -index 28e18ed..c46e189 100644 ---- a/src/msg.nobj.lua -+++ b/src/msg.nobj.lua -@@ -21,6 +21,22 @@ - object "zmq_msg_t" { - -- store the `zmq_msg_t` structure in Lua userdata object - userdata_type = "embed", -+ implements "Buffer" { -+ implement_method "const_data" { -+ c_function = "zmq_msg_data" -+ }, -+ implement_method "get_size" { -+ c_function = "zmq_msg_size" -+ }, -+ }, -+ implements "MutableBuffer" { -+ implement_method "data" { -+ c_function = "zmq_msg_data" -+ }, -+ implement_method "get_size" { -+ c_function = "zmq_msg_size" -+ }, -+ }, - -- - -- Define zmq_msq_t type & function API for FFI - -- -@@ -34,42 +50,31 @@ struct zmq_msg_t - unsigned char vsm_data [30]; /* that '30' is from 'MAX_VSM_SIZE' */ - }; - --typedef void (zmq_free_fn) (void *data, void *hint); -- - int zmq_msg_init (zmq_msg_t *msg); - int zmq_msg_init_size (zmq_msg_t *msg, size_t size); --int zmq_msg_init_data (zmq_msg_t *msg, void *data, size_t size, zmq_free_fn *ffn, void *hint); - - ]], - constructor "init" { -- var_out{ "ZMQ_Error", "err" }, -- c_source[[ -- zmq_msg_t tmp; -- ${this} = &tmp; -- ${err} = zmq_msg_init(${this}); --]], -+ c_method_call "ZMQ_Error" "zmq_msg_init" {}, - }, - constructor "init_size" { -- var_in{ "size_t", "size" }, -- var_out{ "ZMQ_Error", "err" }, -- c_source[[ -- zmq_msg_t tmp; -- ${this} = &tmp; -- ${err} = zmq_msg_init_size(${this}, ${size}); --]], -+ c_method_call "ZMQ_Error" "zmq_msg_init_size" { "size_t", "size" }, - }, - constructor "init_data" { - var_in{ "const char *", "data" }, -- var_out{ "ZMQ_Error", "err" }, -+ c_method_call { "ZMQ_Error", "err" } "zmq_msg_init_size" { "size_t", "#data" }, - c_source[[ -- zmq_msg_t tmp; -- ${this} = &tmp; -- ${err} = zmq_msg_init_size(${this}, ${data_len}); - if(0 == ${err}) { - /* fill message */ - memcpy(zmq_msg_data(${this}), ${data}, ${data_len}); - } - ]], -+ ffi_source[[ -+ if(0 == ${err}) then -+ -- fill message -+ ffi.copy(C.zmq_msg_data(${this}), ${data}, ${data_len}) -+ end -+]], - }, - destructor { - c_method_call "ZMQ_Error" "zmq_msg_close" {} -@@ -143,7 +148,7 @@ int zmq_msg_init_data (zmq_msg_t *msg, void *data, size_t size, zmq_free_fn *ffn - ]], - }, - method "size" { -- c_method_call "size_t" "zmq_msg_size" {} -+ c_method_call { "size_t", "size", ffi_wrap = "tonumber"} "zmq_msg_size" {} - }, - method "__tostring" { - var_out{ "const char *", "data", has_length = true }, -diff --git a/src/poller.lua b/src/poller.lua -index 8c77337..2ca40ea 100644 ---- a/src/poller.lua -+++ b/src/poller.lua -@@ -34,43 +34,36 @@ local poller_mt = {} - poller_mt.__index = poller_mt - - function poller_mt:add(sock, events, cb) -- self.poller:add(sock, events) -- self.callbacks[sock] = cb -+ local id = self.poller:add(sock, events) -+ self.callbacks[id] = function(revents) return cb(sock, revents) end - end - - function poller_mt:modify(sock, events, cb) -+ local id - if events ~= 0 and cb then -- self.callbacks[sock] = cb -- self.poller:modify(sock, events) -+ id = self.poller:modify(sock, events) -+ self.callbacks[id] = function(revents) return cb(sock, revents) end - else -- self:remove(sock) -+ id = self:remove(sock) -+ self.callbacks[id] = nil - end - end - - function poller_mt:remove(sock) -- self.poller:remove(sock) -- self.callbacks[sock] = nil -+ local id = self.poller:remove(sock) -+ self.callbacks[id] = nil - end - - function poller_mt:poll(timeout) - local poller = self.poller -- local status, err = poller:poll(timeout) -- if not status then -+ local count, err = poller:poll(timeout) -+ if not count then - return nil, err - end - local callbacks = self.callbacks -- local count = 0 -- while true do -- local sock, revents = poller:next_revents() -- if not sock then -- break -- end -- local cb = callbacks[sock] -- if not cb then -- error("Missing callback for sock:" .. tostring(sock)) -- end -- cb(sock, revents) -- count = count + 1 -+ for i=1,count do -+ local id, revents = poller:next_revents_idx() -+ callbacks[id](revents) - end - return count - end -@@ -78,7 +71,7 @@ end - function poller_mt:start() - self.is_running = true - while self.is_running do -- local status, err = self:poll(-1) -+ status, err = self:poll(-1) - if not status then - return false, err - end -@@ -90,14 +83,15 @@ function poller_mt:stop() - self.is_running = false - end - --module(...) -+local M = {} - --function new(pre_alloc) -+function M.new(pre_alloc) - return setmetatable({ - poller = zmq.ZMQ_Poller(pre_alloc), -- callbacks = setmetatable({}, {__mode="k"}), -+ callbacks = {}, - }, poller_mt) - end - --setmetatable(_M, {__call = function(tab, ...) return new(...) end}) -+zmq.poller = M -+return setmetatable(M, {__call = function(tab, ...) return M.new(...) end}) - -diff --git a/src/poller.nobj.lua b/src/poller.nobj.lua -index 66594d2..fc51ac9 100644 ---- a/src/poller.nobj.lua -+++ b/src/poller.nobj.lua -@@ -58,7 +58,24 @@ static int poller_resize_items(ZMQ_Poller *poller, int len) { - return len; - } - --static int poller_find_sock_item(ZMQ_Poller *poller, ZMQ_Socket *sock) { -+void poller_init(ZMQ_Poller *poller, int length) { -+ poller->items = (zmq_pollitem_t *)calloc(length, sizeof(zmq_pollitem_t)); -+ poller->next = -1; -+ poller->count = 0; -+ poller->len = length; -+ poller->free_list = -1; -+} -+ -+void poller_cleanup(ZMQ_Poller *poller) { -+ free(poller->items); -+ poller->items = NULL; -+ poller->next = -1; -+ poller->count = 0; -+ poller->len = 0; -+ poller->free_list = -1; -+} -+ -+int poller_find_sock_item(ZMQ_Poller *poller, ZMQ_Socket *sock) { - zmq_pollitem_t *items; - int count; - int n; -@@ -73,7 +90,7 @@ static int poller_find_sock_item(ZMQ_Poller *poller, ZMQ_Socket *sock) { - return -1; - } - --static int poller_find_fd_item(ZMQ_Poller *poller, socket_t fd) { -+int poller_find_fd_item(ZMQ_Poller *poller, socket_t fd) { - zmq_pollitem_t *items; - int count; - int n; -@@ -88,7 +105,7 @@ static int poller_find_fd_item(ZMQ_Poller *poller, socket_t fd) { - return -1; - } - --static void poller_remove_item(ZMQ_Poller *poller, int idx) { -+void poller_remove_item(ZMQ_Poller *poller, int idx) { - zmq_pollitem_t *items; - int free_list; - int count; -@@ -115,7 +132,7 @@ static void poller_remove_item(ZMQ_Poller *poller, int idx) { - items[idx].revents = 0; - } - --static int poller_get_free_item(ZMQ_Poller *poller) { -+int poller_get_free_item(ZMQ_Poller *poller) { - zmq_pollitem_t *curr; - zmq_pollitem_t *next; - int count; -@@ -191,14 +208,46 @@ static int poller_compact_items(ZMQ_Poller *poller) { - return count; - } - --static int poller_poll(ZMQ_Poller *poller, long timeout) { -+int poller_poll(ZMQ_Poller *poller, long timeout) { - int count; - /* remove free slots from items list. */ -- count = poller_compact_items(poller); -+ if(poller->free_list >= 0) { -+ count = poller_compact_items(poller); -+ } else { -+ count = poller->count; -+ } - /* poll for events. */ - return zmq_poll(poller->items, count, timeout); - } - -+int poller_next_revents(ZMQ_Poller *poller, int *revents) { -+ zmq_pollitem_t *items; -+ int count; -+ int idx; -+ int next; -+ -+ idx = poller->next; -+ /* do we need to poll for more events? */ -+ if(idx < 0) { -+ return idx; -+ } -+ items = poller->items; -+ count = poller->count; -+ /* find next item with pending events. */ -+ for(;idx < count; ++idx) { -+ /* did we find a pending event? */ -+ if(items[idx].revents != 0) { -+ *revents = items[idx].revents; -+ poller->next = idx+1; -+ return idx; -+ } -+ } -+ /* processed all pending events. */ -+ poller->next = -1; -+ *revents = 0; -+ return -1; -+} -+ - ]], - -- - -- Define ZMQ_Poller type & function API for FFI -@@ -212,36 +261,21 @@ typedef struct zmq_pollitem_t { - short revents; - } zmq_pollitem_t; - --int zmq_poll(zmq_pollitem_t *items, int nitems, long timeout); -+int poller_find_sock_item(ZMQ_Poller *poller, ZMQ_Socket *sock); -+int poller_find_fd_item(ZMQ_Poller *poller, socket_t fd); -+int poller_get_free_item(ZMQ_Poller *poller); -+int poller_poll(ZMQ_Poller *poller, long timeout); -+void poller_remove_item(ZMQ_Poller *poller, int idx); -+ - ]], - ffi_cdef(ZMQ_Poller_type), -- ffi_export_function "int" "poller_find_sock_item" "(ZMQ_Poller *poller, ZMQ_Socket *sock)", -- ffi_export_function "int" "poller_find_fd_item" "(ZMQ_Poller *poller, socket_t fd)", -- ffi_export_function "int" "poller_get_free_item" "(ZMQ_Poller *poller)", -- ffi_export_function "int" "poller_poll" "(ZMQ_Poller *poller, long timeout)", -- ffi_export_function "void" "poller_remove_item" "(ZMQ_Poller *poller, int idx)", - - constructor "new" { - var_in{ "unsigned int", "length", is_optional = true, default = 10 }, -- c_source[[ -- ZMQ_Poller poller; -- ${this} = &poller; -- ${this}->items = (zmq_pollitem_t *)calloc(${length}, sizeof(zmq_pollitem_t)); -- ${this}->next = -1; -- ${this}->count = 0; -- ${this}->len = ${length}; -- ${this}->free_list = -1; --]], -+ c_export_method_call "void" "poller_init" { "unsigned int", "length" }, - }, - destructor "close" { -- c_source[[ -- free(${this}->items); -- ${this}->items = NULL; -- ${this}->next = -1; -- ${this}->count = 0; -- ${this}->len = 0; -- ${this}->free_list = -1; --]], -+ c_export_method_call "void" "poller_cleanup" {}, - }, - method "add" { - var_in{ "", "sock" }, -@@ -266,6 +300,23 @@ int zmq_poll(zmq_pollitem_t *items, int nitems, long timeout); - item->fd = fd; - item->events = ${events}; - ]], -+ ffi_source[[ -+ local fd = 0 -+ local sock_type = type(${sock}) -+ local sock -+ if sock_type == 'cdata' then -+ sock = obj_type_ZMQ_Socket_check(${sock}) -+ elseif sock_type == 'number' then -+ fd = ${sock} -+ else -+ error("expected number or ZMQ_Socket") -+ end -+ ${idx} = Cmod.poller_get_free_item(${this}) -+ local item = ${this}.items[${idx}] -+ item.socket = sock -+ item.fd = fd -+ item.events = ${events} -+]], - }, - method "modify" { - var_in{ "", "sock" }, -@@ -302,123 +353,101 @@ int zmq_poll(zmq_pollitem_t *items, int nitems, long timeout); - poller_remove_item(${this}, ${idx}); - } - ]], -+ ffi_source[[ -+ local fd = 0 -+ local sock_type = type(${sock}) -+ local sock -+ if sock_type == 'cdata' then -+ sock = obj_type_ZMQ_Socket_check(${sock}) -+ -- find sock in items list. -+ ${idx} = Cmod.poller_find_sock_item(${this}, sock) -+ elseif sock_type == 'number' then -+ fd = ${sock} -+ -- find fd in items list. -+ ${idx} = Cmod.poller_find_fd_item(${this}, fd); -+ else -+ error("expected number or ZMQ_Socket") -+ end -+ if ${events} ~= 0 then -+ local item = ${this}.items[${idx}] -+ item.socket = sock -+ item.fd = fd -+ item.events = ${events} -+ else -+ Cmod.poller_remove_item(${this}, ${idx}) -+ end -+]], - }, - method "remove" { - var_in{ "", "sock" }, -+ var_out{ "int", "idx" }, - c_source "pre" [[ - ZMQ_Socket *sock; - socket_t fd; -- int idx; - ]], - c_source[[ - /* ZMQ_Socket or fd */ - if(lua_isuserdata(L, ${sock::idx})) { - sock = obj_type_ZMQ_Socket_check(L, ${sock::idx}); - /* find sock in items list. */ -- idx = poller_find_sock_item(${this}, sock); -+ ${idx} = poller_find_sock_item(${this}, sock); - } else if(lua_isnumber(L, ${sock::idx})) { - fd = lua_tonumber(L, ${sock::idx}); - /* find fd in items list. */ -- idx = poller_find_fd_item(${this}, fd); -+ ${idx} = poller_find_fd_item(${this}, fd); - } else { - return luaL_typerror(L, ${sock::idx}, "number or ZMQ_Socket"); - } - /* if sock/fd was found. */ -- if(idx >= 0) { -- poller_remove_item(${this}, idx); -+ if(${idx} >= 0) { -+ poller_remove_item(${this}, ${idx}); - } - ]], -+ ffi_source[[ -+ local fd = 0 -+ local sock_type = type(${sock}) -+ local sock -+ if sock_type == 'cdata' then -+ sock = obj_type_ZMQ_Socket_check(${sock}) -+ -- find sock in items list. -+ ${idx} = Cmod.poller_find_sock_item(${this}, sock) -+ elseif sock_type == 'number' then -+ fd = ${sock} -+ -- find fd in items list. -+ ${idx} = Cmod.poller_find_fd_item(${this}, fd); -+ else -+ error("expected number or ZMQ_Socket") -+ end -+ if ${idx} >= 0 then -+ Cmod.poller_remove_item(${this}, ${idx}) -+ end -+]], - }, - method "poll" { -- var_in{ "long", "timeout" }, -- var_out{ "ZMQ_Error", "err" }, -+ var_out{ "int", "count" }, -+ -- poll for events -+ c_export_method_call { "ZMQ_Error", "err>2" } "poller_poll" { "long", "timeout" }, - c_source[[ -- /* poll for events */ -- ${err} = poller_poll(${this}, ${timeout}); - if(${err} > 0) { - ${this}->next = 0; -+ ${count} = ${err}; - } else { - ${this}->next = -1; -+ ${count} = 0; - } - ]], - ffi_source[[ -- -- poll for events -- ${err} = poller_poll(${this}, ${timeout}) - if(${err} > 0) then - ${this}.next = 0 -+ ${count} = ${err} - else - ${this}.next = -1 -+ ${count} = 0 - end - ]], - }, -- method "next_revents" { -- var_out{ "", "sock" }, -- var_out{ "short", "revents" }, -- c_source "pre" [[ -- zmq_pollitem_t *items; -- int count; -- int idx; --]], -- c_source[[ -- ${revents} = -1; -- idx = ${this}->next; -- if(idx >= 0) { -- count = ${this}->count; -- items = ${this}->items; -- /* find next item with pending events. */ -- while(idx < count && items[idx].revents == 0) ++idx; -- /* did we find a pending event? */ -- if(idx < count) { -- /* push the event's sock/fd. */ -- if(items[idx].socket != NULL) { -- obj_type_ZMQ_Socket_push(L, items[idx].socket, 0); -- } else { -- lua_pushnumber(L, items[idx].fd); -- } -- ${revents} = items[idx].revents; -- /* is this the last event. */ -- ++idx; -- ${this}->next = (idx < count) ? idx : -1; -- } -- } -- if(${revents} < 0) { -- /* no more pending events. */ -- lua_pushnil(L); -- ${this}->next = -1; -- } --]], -- ffi_source[[ -- local sock -- local idx = ${this}.next -- if (idx < 0) then return nil, -1 end -- local count = ${this}.count -- -- find next item with pending events. -- while (idx < count and ${this}.items[idx].revents == 0) do -- idx = idx + 1 -- if (idx >= count) then -- idx = -1 -- break -- end -- end -- -- did we find a pending event? -- if(idx >= 0) then -- -- push the event's sock/fd. -- if(${this}.items[idx].socket ~= nil) then -- sock = obj_type_ZMQ_Socket_push(${this}.items[idx].socket, 0) -- else -- sock = tonumber(${this}.items[idx].fd) -- end -- ${revents} = ${this}.items[idx].revents -- -- is this the last event. -- idx = idx + 1 -- if (idx >= count) then -- idx = -1 -- end -- ${this}.next = idx -- return sock, ${revents} -- end -- ${this}.next = idx --]], -+ method "next_revents_idx" { -+ c_export_method_call { "int", "idx>1" } "poller_next_revents" { "int", "&revents>2" }, - }, - method "count" { - var_out{ "int", "count" }, -diff --git a/src/pre_generated-zmq.nobj.c b/src/pre_generated-zmq.nobj.c -index a6d739d..081807f 100644 ---- a/src/pre_generated-zmq.nobj.c -+++ b/src/pre_generated-zmq.nobj.c -@@ -10,16 +10,65 @@ - #include "lauxlib.h" - #include "lualib.h" - --#include --#include "zmq.h" --#include "zmq_utils.h" -+/* some Lua 5.0 compatibility support. */ -+#if !defined(lua_pushliteral) -+#define lua_pushliteral(L, s) lua_pushstring(L, "" s, (sizeof(s)/sizeof(char))-1) -+#endif -+ -+#if !defined(LUA_VERSION_NUM) -+#define lua_pushinteger(L, n) lua_pushnumber(L, (lua_Number)n) -+#define luaL_Reg luaL_reg -+#endif -+ -+/* some Lua 5.1 compatibility support. */ -+#if !defined(LUA_VERSION_NUM) || (LUA_VERSION_NUM == 501) -+/* -+** Adapted from Lua 5.2.0 -+*/ -+static void luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) { -+ luaL_checkstack(L, nup, "too many upvalues"); -+ for (; l->name != NULL; l++) { /* fill the table with given functions */ -+ int i; -+ for (i = 0; i < nup; i++) /* copy upvalues to the top */ -+ lua_pushvalue(L, -nup); -+ lua_pushstring(L, l->name); -+ lua_pushcclosure(L, l->func, nup); /* closure with those upvalues */ -+ lua_settable(L, -(nup + 3)); -+ } -+ lua_pop(L, nup); /* remove upvalues */ -+} -+ -+#define lua_load_no_mode(L, reader, data, source) \ -+ lua_load(L, reader, data, source) -+ -+#define lua_rawlen(L, idx) lua_objlen(L, idx) -+ -+#endif -+ -+#if LUA_VERSION_NUM == 502 -+ -+#define lua_load_no_mode(L, reader, data, source) \ -+ lua_load(L, reader, data, source, NULL) - -+static int luaL_typerror (lua_State *L, int narg, const char *tname) { -+ const char *msg = lua_pushfstring(L, "%s expected, got %s", -+ tname, luaL_typename(L, narg)); -+ return luaL_argerror(L, narg, msg); -+} -+ -+#endif - - #define REG_PACKAGE_IS_CONSTRUCTOR 0 -+#define REG_MODULES_AS_GLOBALS 1 - #define REG_OBJECTS_AS_GLOBALS 0 - #define OBJ_DATA_HIDDEN_METATABLE 1 --#define LUAJIT_FFI 1 - #define USE_FIELD_GET_SET_METHODS 0 -+#define LUAJIT_FFI 1 -+ -+ -+#include -+#include "zmq.h" -+#include "zmq_utils.h" - - - -@@ -41,6 +90,7 @@ - /* for MinGW32 compiler need to include */ - #ifdef __GNUC__ - #include -+#include - #else - - /* define some standard types missing on Windows. */ -@@ -57,7 +107,7 @@ typedef int bool; - #define true 1 - #endif - #ifndef false --#define false 1 -+#define false 0 - #endif - - #endif -@@ -98,19 +148,26 @@ typedef int bool; - #define assert_obj_type(type, obj) - #endif - --#ifndef obj_type_free -+void *nobj_realloc(void *ptr, size_t osize, size_t nsize); -+ -+void *nobj_realloc(void *ptr, size_t osize, size_t nsize) { -+ (void)osize; -+ if(0 == nsize) { -+ free(ptr); -+ return NULL; -+ } -+ return realloc(ptr, nsize); -+} -+ - #define obj_type_free(type, obj) do { \ - assert_obj_type(type, obj); \ -- free((obj)); \ -+ nobj_realloc((obj), sizeof(type), 0); \ - } while(0) --#endif - --#ifndef obj_type_new - #define obj_type_new(type, obj) do { \ - assert_obj_type(type, obj); \ -- (obj) = malloc(sizeof(type)); \ -+ (obj) = nobj_realloc(NULL, 0, sizeof(type)); \ - } while(0) --#endif - - typedef struct obj_type obj_type; - -@@ -120,6 +177,7 @@ typedef void (*dyn_caster_t)(void **obj, obj_type **type); - - #define OBJ_TYPE_FLAG_WEAK_REF (1<<0) - #define OBJ_TYPE_SIMPLE (1<<1) -+#define OBJ_TYPE_IMPORT (1<<2) - struct obj_type { - dyn_caster_t dcaster; /**< caster to support casting to sub-objects. */ - int32_t id; /**< type's id. */ -@@ -168,15 +226,28 @@ typedef struct obj_field { - uint32_t flags; /**< is_writable:1bit */ - } obj_field; - -+typedef enum { -+ REG_OBJECT, -+ REG_PACKAGE, -+ REG_META, -+} module_reg_type; -+ -+typedef struct reg_impl { -+ const char *if_name; -+ const void *impl; -+} reg_impl; -+ - typedef struct reg_sub_module { - obj_type *type; -- int is_package; -- const luaL_reg *pub_funcs; -- const luaL_reg *methods; -- const luaL_reg *metas; -+ module_reg_type req_type; -+ const luaL_Reg *pub_funcs; -+ const luaL_Reg *methods; -+ const luaL_Reg *metas; - const obj_base *bases; - const obj_field *fields; - const obj_const *constants; -+ const reg_impl *implements; -+ int bidirectional_consts; - } reg_sub_module; - - #define OBJ_UDATA_FLAG_OWN (1<<0) -@@ -188,15 +259,95 @@ typedef struct obj_udata { - } obj_udata; - - /* use static pointer as key to weak userdata table. */ --static char *obj_udata_weak_ref_key = "obj_udata_weak_ref_key"; -+static char obj_udata_weak_ref_key[] = "obj_udata_weak_ref_key"; -+ -+/* use static pointer as key to module's private table. */ -+static char obj_udata_private_key[] = "obj_udata_private_key"; - - #if LUAJIT_FFI -+typedef int (*ffi_export_func_t)(void); - typedef struct ffi_export_symbol { - const char *name; -- void *sym; -+ union { -+ void *data; -+ ffi_export_func_t func; -+ } sym; - } ffi_export_symbol; - #endif - -+/* detect zmq version */ -+#define VERSION_2_0 1 -+#define VERSION_2_1 0 -+#define VERSION_2_2 0 -+#define VERSION_3_0 0 -+#define VERSION_3_2 0 -+#if defined(ZMQ_VERSION_MAJOR) -+# if (ZMQ_VERSION_MAJOR == 2) && (ZMQ_VERSION_MINOR == 2) -+# undef VERSION_2_2 -+# define VERSION_2_2 1 -+# undef VERSION_2_1 -+# define VERSION_2_1 1 -+# endif -+# if (ZMQ_VERSION_MAJOR == 2) && (ZMQ_VERSION_MINOR == 1) -+# undef VERSION_2_1 -+# define VERSION_2_1 1 -+# endif -+# if (ZMQ_VERSION_MAJOR == 3) && (ZMQ_VERSION_MINOR == 3) -+# undef VERSION_2_0 -+# define VERSION_2_0 0 -+# undef VERSION_3_2 -+# define VERSION_3_2 1 -+# undef VERSION_3_0 -+# define VERSION_3_0 1 -+# endif -+# if (ZMQ_VERSION_MAJOR == 3) && (ZMQ_VERSION_MINOR == 2) -+# undef VERSION_2_0 -+# define VERSION_2_0 0 -+# undef VERSION_3_2 -+# define VERSION_3_2 1 -+# undef VERSION_3_0 -+# define VERSION_3_0 1 -+# endif -+# if (ZMQ_VERSION_MAJOR == 3) -+# undef VERSION_2_0 -+# define VERSION_2_0 0 -+# undef VERSION_3_0 -+# define VERSION_3_0 1 -+# endif -+#endif -+ -+/* make sure ZMQ_DONTWAIT & ZMQ_NOBLOCK are both defined. */ -+#ifndef ZMQ_DONTWAIT -+# define ZMQ_DONTWAIT ZMQ_NOBLOCK -+#endif -+#ifndef ZMQ_NOBLOCK -+# define ZMQ_NOBLOCK ZMQ_DONTWAIT -+#endif -+ -+/* make sure DEALER/ROUTER & XREQ/XREP are all defined. */ -+#ifndef ZMQ_DEALER -+# define ZMQ_DEALER ZMQ_XREQ -+#endif -+#ifndef ZMQ_ROUTER -+# define ZMQ_ROUTER ZMQ_XREP -+#endif -+#ifndef ZMQ_XREQ -+# define ZMQ_XREQ ZMQ_DEALER -+#endif -+#ifndef ZMQ_XREP -+# define ZMQ_XREP ZMQ_ROUTER -+#endif -+ -+#if VERSION_2_0 -+# define ZMQ_POLL_MSEC 1000 // zmq_poll is usec -+#elif VERSION_3_0 -+# define ZMQ_POLL_MSEC 1 // zmq_poll is msec -+# ifndef ZMQ_HWM -+# define ZMQ_HWM 1 // backwards compatibility -+# endif -+#endif -+ -+ - - typedef int ZMQ_Error; - -@@ -204,29 +355,329 @@ static void error_code__ZMQ_Error__push(lua_State *L, ZMQ_Error err); - - - static obj_type obj_types[] = { --#define obj_type_id_zmq_msg_t 0 -+#define obj_type_id_ZErrors 0 -+#define obj_type_ZErrors (obj_types[obj_type_id_ZErrors]) -+ { NULL, 0, OBJ_TYPE_FLAG_WEAK_REF, "ZErrors" }, -+#define obj_type_id_zmq_msg_t 1 - #define obj_type_zmq_msg_t (obj_types[obj_type_id_zmq_msg_t]) -- { NULL, 0, OBJ_TYPE_SIMPLE, "zmq_msg_t" }, --#define obj_type_id_ZMQ_Socket 1 -+ { NULL, 1, OBJ_TYPE_SIMPLE, "zmq_msg_t" }, -+#define obj_type_id_ZMQ_Socket 2 - #define obj_type_ZMQ_Socket (obj_types[obj_type_id_ZMQ_Socket]) -- { NULL, 1, OBJ_TYPE_FLAG_WEAK_REF, "ZMQ_Socket" }, --#define obj_type_id_ZMQ_Poller 2 -+ { NULL, 2, OBJ_TYPE_FLAG_WEAK_REF, "ZMQ_Socket" }, -+#define obj_type_id_ZMQ_Poller 3 - #define obj_type_ZMQ_Poller (obj_types[obj_type_id_ZMQ_Poller]) -- { NULL, 2, OBJ_TYPE_SIMPLE, "ZMQ_Poller" }, --#define obj_type_id_ZMQ_Ctx 3 -+ { NULL, 3, OBJ_TYPE_SIMPLE, "ZMQ_Poller" }, -+#define obj_type_id_ZMQ_Ctx 4 - #define obj_type_ZMQ_Ctx (obj_types[obj_type_id_ZMQ_Ctx]) -- { NULL, 3, OBJ_TYPE_FLAG_WEAK_REF, "ZMQ_Ctx" }, --#define obj_type_id_ZMQ_StopWatch 4 -+ { NULL, 4, OBJ_TYPE_FLAG_WEAK_REF, "ZMQ_Ctx" }, -+#define obj_type_id_ZMQ_StopWatch 5 - #define obj_type_ZMQ_StopWatch (obj_types[obj_type_id_ZMQ_StopWatch]) -- { NULL, 4, OBJ_TYPE_FLAG_WEAK_REF, "ZMQ_StopWatch" }, -+ { NULL, 5, OBJ_TYPE_FLAG_WEAK_REF, "ZMQ_StopWatch" }, - {NULL, -1, 0, NULL}, - }; - - -+#if LUAJIT_FFI -+ -+/* nobj_ffi_support_enabled_hint should be set to 1 when FFI support is enabled in at-least one -+ * instance of a LuaJIT state. It should never be set back to 0. */ -+static int nobj_ffi_support_enabled_hint = 0; -+static const char nobj_ffi_support_key[] = "LuaNativeObject_FFI_SUPPORT"; -+static const char nobj_check_ffi_support_code[] = -+"local stat, ffi=pcall(require,\"ffi\")\n" /* try loading LuaJIT`s FFI module. */ -+"if not stat then return false end\n" -+"return true\n"; -+ -+static int nobj_check_ffi_support(lua_State *L) { -+ int rc; -+ int err; -+ -+ /* check if ffi test has already been done. */ -+ lua_pushstring(L, nobj_ffi_support_key); -+ lua_rawget(L, LUA_REGISTRYINDEX); -+ if(!lua_isnil(L, -1)) { -+ rc = lua_toboolean(L, -1); -+ lua_pop(L, 1); -+ /* use results of previous check. */ -+ goto finished; -+ } -+ lua_pop(L, 1); /* pop nil. */ -+ -+ err = luaL_loadbuffer(L, nobj_check_ffi_support_code, -+ sizeof(nobj_check_ffi_support_code) - 1, nobj_ffi_support_key); -+ if(0 == err) { -+ err = lua_pcall(L, 0, 1, 0); -+ } -+ if(err) { -+ const char *msg = ""; -+ if(lua_isstring(L, -1)) { -+ msg = lua_tostring(L, -1); -+ } -+ printf("Error when checking for FFI-support: %s\n", msg); -+ lua_pop(L, 1); /* pop error message. */ -+ return 0; -+ } -+ /* check results of test. */ -+ rc = lua_toboolean(L, -1); -+ lua_pop(L, 1); /* pop results. */ -+ /* cache results. */ -+ lua_pushstring(L, nobj_ffi_support_key); -+ lua_pushboolean(L, rc); -+ lua_rawset(L, LUA_REGISTRYINDEX); -+ -+finished: -+ /* turn-on hint that there is FFI code enabled. */ -+ if(rc) { -+ nobj_ffi_support_enabled_hint = 1; -+ } -+ -+ return rc; -+} -+ -+typedef struct { -+ const char **ffi_init_code; -+ int offset; -+} nobj_reader_state; -+ -+static const char *nobj_lua_Reader(lua_State *L, void *data, size_t *size) { -+ nobj_reader_state *state = (nobj_reader_state *)data; -+ const char *ptr; -+ -+ (void)L; -+ ptr = state->ffi_init_code[state->offset]; -+ if(ptr != NULL) { -+ *size = strlen(ptr); -+ state->offset++; -+ } else { -+ *size = 0; -+ } -+ return ptr; -+} -+ -+static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, -+ const char *ffi_init_code[], const ffi_export_symbol *ffi_exports, int priv_table) -+{ -+ nobj_reader_state state = { ffi_init_code, 0 }; -+ int err; -+ -+ /* export symbols to priv_table. */ -+ while(ffi_exports->name != NULL) { -+ lua_pushstring(L, ffi_exports->name); -+ lua_pushlightuserdata(L, ffi_exports->sym.data); -+ lua_settable(L, priv_table); -+ ffi_exports++; -+ } -+ err = lua_load_no_mode(L, nobj_lua_Reader, &state, ffi_mod_name); -+ if(0 == err) { -+ lua_pushvalue(L, -2); /* dup C module's table. */ -+ lua_pushvalue(L, priv_table); /* move priv_table to top of stack. */ -+ lua_remove(L, priv_table); -+ lua_pushvalue(L, LUA_REGISTRYINDEX); -+ err = lua_pcall(L, 3, 0, 0); -+ } -+ if(err) { -+ const char *msg = ""; -+ if(lua_isstring(L, -1)) { -+ msg = lua_tostring(L, -1); -+ } -+ printf("Failed to install FFI-based bindings: %s\n", msg); -+ lua_pop(L, 1); /* pop error message. */ -+ } -+ return err; -+} -+#endif -+ -+ -+typedef struct { -+ void *impl; -+ void *obj; -+} obj_implement; -+ -+static FUNC_UNUSED void *obj_implement_luaoptional(lua_State *L, int _index, void **impl, char *if_name) { -+ void *ud; -+ if(lua_isnoneornil(L, _index)) { -+ return NULL; -+ } -+ /* get the implements table for this interface. */ -+ lua_pushlightuserdata(L, if_name); -+ lua_rawget(L, LUA_REGISTRYINDEX); -+ -+ /* get pointer to userdata value & check if it is a userdata value. */ -+ ud = (obj_implement *)lua_touserdata(L, _index); -+ if(ud != NULL) { -+ /* get the userdata's metatable */ -+ if(lua_getmetatable(L, _index)) { -+ /* lookup metatable in interface table for this object's implementation of the interface. */ -+ lua_gettable(L, -2); -+ } else { -+ /* no metatable. */ -+ goto no_interface; -+ } -+#if LUAJIT_FFI -+ } else if(nobj_ffi_support_enabled_hint) { /* handle cdata. */ -+ /* get cdata interface check function from interface table. */ -+ lua_getfield(L, -1, "cdata"); -+ if(lua_isfunction(L, -1)) { -+ /* pass cdata to function, return value should be an implmentation. */ -+ lua_pushvalue(L, _index); -+ lua_call(L, 1, 1); -+ /* get pointer to cdata. */ -+ ud = (void *)lua_topointer(L, _index); -+ } else { -+ lua_pop(L, 1); /* pop non-function. */ -+ goto no_interface; -+ } -+#endif -+ } else { -+ goto no_interface; -+ } -+ -+ if(!lua_isnil(L, -1)) { -+ *impl = lua_touserdata(L, -1); -+ lua_pop(L, 2); /* pop interface table & implementation. */ -+ /* object implements interface. */ -+ return ud; -+ } else { -+ lua_pop(L, 1); /* pop nil. */ -+ } -+no_interface: -+ lua_pop(L, 1); /* pop interface table. */ -+ return NULL; -+} -+ -+static FUNC_UNUSED void *obj_implement_luacheck(lua_State *L, int _index, void **impl, char *type) { -+ void *ud = obj_implement_luaoptional(L, _index, impl, type); -+ if(ud == NULL) { -+#define ERROR_BUFFER_SIZE 256 -+ char buf[ERROR_BUFFER_SIZE]; -+ snprintf(buf, ERROR_BUFFER_SIZE-1,"Expected object with %s interface", type); -+ /* value doesn't implement this interface. */ -+ luaL_argerror(L, _index, buf); -+ } -+ return ud; -+} -+ -+/* use static pointer as key to interfaces table. (version 1.0) */ -+static char obj_interfaces_table_key[] = "obj_interfaces<1.0>_table_key"; -+ -+static void obj_get_global_interfaces_table(lua_State *L) { -+ /* get global interfaces table. */ -+ lua_getfield(L, LUA_REGISTRYINDEX, obj_interfaces_table_key); -+ if(lua_isnil(L, -1)) { -+ /* Need to create global interfaces table. */ -+ lua_pop(L, 1); /* pop nil */ -+ lua_createtable(L, 0, 4); /* 0 size array part, small hash part. */ -+ lua_pushvalue(L, -1); /* dup table. */ -+ /* store interfaces table in Lua registery. */ -+ lua_setfield(L, LUA_REGISTRYINDEX, obj_interfaces_table_key); -+ } -+} -+ -+static void obj_get_interface(lua_State *L, const char *name, int global_if_tab) { -+ /* get a interface's implementation table */ -+ lua_getfield(L, global_if_tab, name); -+ if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); /* pop nil */ -+ /* new interface. (i.e. no object implement it yet.) -+ * -+ * create an empty table for this interface that will be used when an -+ * implementation is registered for this interface. -+ */ -+ lua_createtable(L, 0, 2); /* 0 size array part, small hash part. */ -+ lua_pushvalue(L, -1); /* dup table. */ -+ lua_setfield(L, global_if_tab, name); /* store interface in global interfaces table. */ -+ } -+} -+ -+static int obj_get_userdata_interface(lua_State *L) { -+ /* get the userdata's metatable */ -+ if(lua_getmetatable(L, 2)) { -+ /* lookup metatable in interface table for the userdata's implementation of the interface. */ -+ lua_gettable(L, 1); -+ if(!lua_isnil(L, -1)) { -+ /* return the implementation. */ -+ return 1; -+ } -+ } -+ /* no metatable or no implementation. */ -+ return 0; -+} -+ -+static void obj_interface_register(lua_State *L, char *name, int global_if_tab) { -+ /* get the table of implementations for this interface. */ -+ obj_get_interface(L, name, global_if_tab); -+ -+ /* check for 'userdata' function. */ -+ lua_getfield(L, -1, "userdata"); -+ if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); /* pop nil. */ -+ /* add C function for getting a userdata's implementation. */ -+ lua_pushcfunction(L, obj_get_userdata_interface); -+ lua_setfield(L, -2, "userdata"); -+ } else { -+ /* already have function. */ -+ lua_pop(L, 1); /* pop C function. */ -+ } -+ /* we are going to use a lightuserdata pointer for fast lookup of the interface's impl. table. */ -+ lua_pushlightuserdata(L, name); -+ lua_insert(L, -2); -+ lua_settable(L, LUA_REGISTRYINDEX); -+} -+ -+static void obj_register_interfaces(lua_State *L, char *interfaces[]) { -+ int i; -+ int if_tab; -+ /* get global interfaces table. */ -+ obj_get_global_interfaces_table(L); -+ if_tab = lua_gettop(L); -+ -+ for(i = 0; interfaces[i] != NULL ; i++) { -+ obj_interface_register(L, interfaces[i], if_tab); -+ } -+ lua_pop(L, 1); /* pop global interfaces table. */ -+} -+ -+static void obj_type_register_implement(lua_State *L, const reg_impl *impl, int global_if_tab, int mt_tab) { -+ /* get the table of implementations for this interface. */ -+ obj_get_interface(L, impl->if_name, global_if_tab); -+ -+ /* register object's implement in the interface table. */ -+ lua_pushvalue(L, mt_tab); -+ lua_pushlightuserdata(L, (void *)impl->impl); -+ lua_settable(L, -3); -+ -+ lua_pop(L, 1); /* pop inteface table. */ -+} -+ -+static void obj_type_register_implements(lua_State *L, const reg_impl *impls) { -+ int if_tab; -+ int mt_tab; -+ /* get absolute position of object's metatable. */ -+ mt_tab = lua_gettop(L); -+ /* get global interfaces table. */ -+ obj_get_global_interfaces_table(L); -+ if_tab = lua_gettop(L); -+ -+ for(; impls->if_name != NULL ; impls++) { -+ obj_type_register_implement(L, impls, if_tab, mt_tab); -+ } -+ lua_pop(L, 1); /* pop global interfaces table. */ -+} -+ - #ifndef REG_PACKAGE_IS_CONSTRUCTOR - #define REG_PACKAGE_IS_CONSTRUCTOR 1 - #endif - -+#ifndef REG_MODULES_AS_GLOBALS -+#define REG_MODULES_AS_GLOBALS 0 -+#endif -+ -+/* For Lua 5.2 don't register modules as globals. */ -+#if LUA_VERSION_NUM == 502 -+#undef REG_MODULES_AS_GLOBALS -+#define REG_MODULES_AS_GLOBALS 0 -+#endif -+ - #ifndef REG_OBJECTS_AS_GLOBALS - #define REG_OBJECTS_AS_GLOBALS 0 - #endif -@@ -235,6 +686,48 @@ static obj_type obj_types[] = { - #define OBJ_DATA_HIDDEN_METATABLE 1 - #endif - -+static FUNC_UNUSED int obj_import_external_type(lua_State *L, obj_type *type) { -+ /* find the external type's metatable using it's name. */ -+ lua_pushstring(L, type->name); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* external type's metatable. */ -+ if(!lua_isnil(L, -1)) { -+ /* found it. Now we will map our 'type' pointer to the metatable. */ -+ /* REGISTERY[lightuserdata] = REGISTERY[type->name] */ -+ lua_pushlightuserdata(L, type); /* use our 'type' pointer as lookup key. */ -+ lua_pushvalue(L, -2); /* dup. type's metatable. */ -+ lua_rawset(L, LUA_REGISTRYINDEX); /* save external type's metatable. */ -+ /* NOTE: top of Lua stack still has the type's metatable. */ -+ return 1; -+ } else { -+ lua_pop(L, 1); /* pop nil. */ -+ } -+ return 0; -+} -+ -+static FUNC_UNUSED int obj_import_external_ffi_type(lua_State *L, obj_type *type) { -+ /* find the external type's metatable using it's name. */ -+ lua_pushstring(L, type->name); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* external type's metatable. */ -+ if(!lua_isnil(L, -1)) { -+ /* found it. Now we will map our 'type' pointer to the C check function. */ -+ /* _priv_table[lightuserdata] = REGISTERY[type->name].c_check */ -+ lua_getfield(L, -1, "c_check"); -+ lua_remove(L, -2); /* remove metatable. */ -+ if(lua_isfunction(L, -1)) { -+ lua_pushlightuserdata(L, type); /* use our 'type' pointer as lookup key. */ -+ lua_pushvalue(L, -2); /* dup. check function */ -+ lua_rawset(L, -4); /* save check function to module's private table. */ -+ /* NOTE: top of Lua stack still has the type's C check function. */ -+ return 1; -+ } else { -+ lua_pop(L, 1); /* pop non function value. */ -+ } -+ } else { -+ lua_pop(L, 1); /* pop nil. */ -+ } -+ return 0; -+} -+ - static FUNC_UNUSED obj_udata *obj_udata_toobj(lua_State *L, int _index) { - obj_udata *ud; - size_t len; -@@ -245,7 +738,7 @@ static FUNC_UNUSED obj_udata *obj_udata_toobj(lua_State *L, int _index) { - luaL_typerror(L, _index, "userdata"); /* is not a userdata value. */ - } - /* verify userdata size. */ -- len = lua_objlen(L, _index); -+ len = lua_rawlen(L, _index); - if(len != sizeof(obj_udata)) { - /* This shouldn't be possible */ - luaL_error(L, "invalid userdata size: size=%d, expected=%d", len, sizeof(obj_udata)); -@@ -258,10 +751,23 @@ static FUNC_UNUSED int obj_udata_is_compatible(lua_State *L, obj_udata *ud, void - obj_type *ud_type; - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+recheck_metatable: - if(lua_rawequal(L, -1, -2)) { - *obj = ud->obj; - /* same type no casting needed. */ - return 1; -+ } else if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); /* pop nil. */ -+ if((type->flags & OBJ_TYPE_IMPORT) == 0) { -+ /* can't resolve internal type. */ -+ luaL_error(L, "Unknown object type(id=%d, name=%s)", type->id, type->name); -+ } -+ /* try to import external type. */ -+ if(obj_import_external_type(L, type)) { -+ /* imported type, re-try metatable check. */ -+ goto recheck_metatable; -+ } -+ /* External type not yet available, so the object can't be compatible. */ - } else { - /* Different types see if we can cast to the required type. */ - lua_rawgeti(L, -2, type->id); -@@ -314,6 +820,39 @@ static FUNC_UNUSED obj_udata *obj_udata_luacheck_internal(lua_State *L, int _ind - return ud; - } - } -+ } else if(!lua_isnoneornil(L, _index)) { -+ /* handle cdata. */ -+ /* get private table. */ -+ lua_pushlightuserdata(L, obj_udata_private_key); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* private table. */ -+ /* get cdata type check function from private table. */ -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, -2); -+ -+ /* check for function. */ -+ if(!lua_isnil(L, -1)) { -+got_check_func: -+ /* pass cdata value to type checking function. */ -+ lua_pushvalue(L, _index); -+ lua_call(L, 1, 1); -+ if(!lua_isnil(L, -1)) { -+ /* valid type get pointer from cdata. */ -+ lua_pop(L, 2); -+ *obj = *(void **)lua_topointer(L, _index); -+ return ud; -+ } -+ lua_pop(L, 2); -+ } else { -+ lua_pop(L, 1); /* pop nil. */ -+ if(type->flags & OBJ_TYPE_IMPORT) { -+ /* try to import external ffi type. */ -+ if(obj_import_external_ffi_type(L, type)) { -+ /* imported type. */ -+ goto got_check_func; -+ } -+ /* External type not yet available, so the object can't be compatible. */ -+ } -+ } - } - if(not_delete) { - luaL_typerror(L, _index, type->name); /* is not a userdata value. */ -@@ -327,6 +866,15 @@ static FUNC_UNUSED void *obj_udata_luacheck(lua_State *L, int _index, obj_type * - return obj; - } - -+static FUNC_UNUSED void *obj_udata_luaoptional(lua_State *L, int _index, obj_type *type) { -+ void *obj = NULL; -+ if(lua_isnoneornil(L, _index)) { -+ return obj; -+ } -+ obj_udata_luacheck_internal(L, _index, &(obj), type, 1); -+ return obj; -+} -+ - static FUNC_UNUSED void *obj_udata_luadelete(lua_State *L, int _index, obj_type *type, int *flags) { - void *obj; - obj_udata *ud = obj_udata_luacheck_internal(L, _index, &(obj), type, 0); -@@ -335,6 +883,9 @@ static FUNC_UNUSED void *obj_udata_luadelete(lua_State *L, int _index, obj_type - /* null userdata. */ - ud->obj = NULL; - ud->flags = 0; -+ /* clear the metatable in invalidate userdata. */ -+ lua_pushnil(L); -+ lua_setmetatable(L, _index); - return obj; - } - -@@ -345,6 +896,17 @@ static FUNC_UNUSED void obj_udata_luapush(lua_State *L, void *obj, obj_type *typ - lua_pushnil(L); - return; - } -+#if LUAJIT_FFI -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+ if(nobj_ffi_support_enabled_hint && lua_isfunction(L, -1)) { -+ /* call special FFI "void *" to FFI object convertion function. */ -+ lua_pushlightuserdata(L, obj); -+ lua_pushinteger(L, flags); -+ lua_call(L, 2, 1); -+ return; -+ } -+#endif - /* check for type caster. */ - if(type->dcaster) { - (type->dcaster)(&obj, &type); -@@ -354,8 +916,12 @@ static FUNC_UNUSED void obj_udata_luapush(lua_State *L, void *obj, obj_type *typ - ud->obj = obj; - ud->flags = flags; - /* get obj_type metatable. */ -+#if LUAJIT_FFI -+ lua_insert(L, -2); /* move userdata below metatable. */ -+#else - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+#endif - lua_setmetatable(L, -2); - } - -@@ -367,6 +933,9 @@ static FUNC_UNUSED void *obj_udata_luadelete_weak(lua_State *L, int _index, obj_ - /* null userdata. */ - ud->obj = NULL; - ud->flags = 0; -+ /* clear the metatable in invalidate userdata. */ -+ lua_pushnil(L); -+ lua_setmetatable(L, _index); - /* get objects weak table. */ - lua_pushlightuserdata(L, obj_udata_weak_ref_key); - lua_rawget(L, LUA_REGISTRYINDEX); /* weak ref table. */ -@@ -401,6 +970,18 @@ static FUNC_UNUSED void obj_udata_luapush_weak(lua_State *L, void *obj, obj_type - } - lua_pop(L, 1); /* pop nil. */ - -+#if LUAJIT_FFI -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+ if(nobj_ffi_support_enabled_hint && lua_isfunction(L, -1)) { -+ lua_remove(L, -2); -+ /* call special FFI "void *" to FFI object convertion function. */ -+ lua_pushlightuserdata(L, obj); -+ lua_pushinteger(L, flags); -+ lua_call(L, 2, 1); -+ return; -+ } -+#endif - /* create new userdata. */ - ud = (obj_udata *)lua_newuserdata(L, sizeof(obj_udata)); - -@@ -408,8 +989,12 @@ static FUNC_UNUSED void obj_udata_luapush_weak(lua_State *L, void *obj, obj_type - ud->obj = obj; - ud->flags = flags; - /* get obj_type metatable. */ -+#if LUAJIT_FFI -+ lua_insert(L, -2); /* move userdata below metatable. */ -+#else - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+#endif - lua_setmetatable(L, -2); - - /* add weak reference to object. */ -@@ -468,9 +1053,53 @@ static FUNC_UNUSED void * obj_simple_udata_luacheck(lua_State *L, int _index, ob - if(lua_getmetatable(L, _index)) { - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+recheck_metatable: - if(lua_rawequal(L, -1, -2)) { - lua_pop(L, 2); /* pop both metatables. */ - return ud; -+ } else if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); /* pop nil. */ -+ if((type->flags & OBJ_TYPE_IMPORT) == 0) { -+ /* can't resolve internal type. */ -+ luaL_error(L, "Unknown object type(id=%d, name=%s)", type->id, type->name); -+ } -+ /* try to import external type. */ -+ if(obj_import_external_type(L, type)) { -+ /* imported type, re-try metatable check. */ -+ goto recheck_metatable; -+ } -+ /* External type not yet available, so the object can't be compatible. */ -+ return 0; -+ } -+ } -+ } else if(!lua_isnoneornil(L, _index)) { -+ /* handle cdata. */ -+ /* get private table. */ -+ lua_pushlightuserdata(L, obj_udata_private_key); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* private table. */ -+ /* get cdata type check function from private table. */ -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, -2); -+ -+ /* check for function. */ -+ if(!lua_isnil(L, -1)) { -+got_check_func: -+ /* pass cdata value to type checking function. */ -+ lua_pushvalue(L, _index); -+ lua_call(L, 1, 1); -+ if(!lua_isnil(L, -1)) { -+ /* valid type get pointer from cdata. */ -+ lua_pop(L, 2); -+ return (void *)lua_topointer(L, _index); -+ } -+ } else { -+ if(type->flags & OBJ_TYPE_IMPORT) { -+ /* try to import external ffi type. */ -+ if(obj_import_external_ffi_type(L, type)) { -+ /* imported type. */ -+ goto got_check_func; -+ } -+ /* External type not yet available, so the object can't be compatible. */ - } - } - } -@@ -478,10 +1107,16 @@ static FUNC_UNUSED void * obj_simple_udata_luacheck(lua_State *L, int _index, ob - return NULL; - } - --static FUNC_UNUSED void * obj_simple_udata_luadelete(lua_State *L, int _index, obj_type *type, int *flags) { -+static FUNC_UNUSED void * obj_simple_udata_luaoptional(lua_State *L, int _index, obj_type *type) { -+ if(lua_isnoneornil(L, _index)) { -+ return NULL; -+ } -+ return obj_simple_udata_luacheck(L, _index, type); -+} -+ -+static FUNC_UNUSED void * obj_simple_udata_luadelete(lua_State *L, int _index, obj_type *type) { - void *obj; - obj = obj_simple_udata_luacheck(L, _index, type); -- *flags = OBJ_UDATA_FLAG_OWN; - /* clear the metatable to invalidate userdata. */ - lua_pushnil(L); - lua_setmetatable(L, _index); -@@ -490,12 +1125,27 @@ static FUNC_UNUSED void * obj_simple_udata_luadelete(lua_State *L, int _index, o - - static FUNC_UNUSED void *obj_simple_udata_luapush(lua_State *L, void *obj, int size, obj_type *type) - { -+ void *ud; -+#if LUAJIT_FFI -+ lua_pushlightuserdata(L, type); -+ lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+ if(nobj_ffi_support_enabled_hint && lua_isfunction(L, -1)) { -+ /* call special FFI "void *" to FFI object convertion function. */ -+ lua_pushlightuserdata(L, obj); -+ lua_call(L, 1, 1); -+ return obj; -+ } -+#endif - /* create new userdata. */ -- void *ud = lua_newuserdata(L, size); -+ ud = lua_newuserdata(L, size); - memcpy(ud, obj, size); - /* get obj_type metatable. */ -+#if LUAJIT_FFI -+ lua_insert(L, -2); /* move userdata below metatable. */ -+#else - lua_pushlightuserdata(L, type); - lua_rawget(L, LUA_REGISTRYINDEX); /* type's metatable. */ -+#endif - lua_setmetatable(L, -2); - - return ud; -@@ -504,9 +1154,9 @@ static FUNC_UNUSED void *obj_simple_udata_luapush(lua_State *L, void *obj, int s - /* default simple object equal method. */ - static FUNC_UNUSED int obj_simple_udata_default_equal(lua_State *L) { - void *ud1 = obj_simple_udata_toobj(L, 1); -- size_t len1 = lua_objlen(L, 1); -+ size_t len1 = lua_rawlen(L, 1); - void *ud2 = obj_simple_udata_toobj(L, 2); -- size_t len2 = lua_objlen(L, 2); -+ size_t len2 = lua_rawlen(L, 2); - - if(len1 == len2) { - lua_pushboolean(L, (memcmp(ud1, ud2, len1) == 0)); -@@ -544,7 +1194,8 @@ static int obj_constructor_call_wrapper(lua_State *L) { - return lua_gettop(L); - } - --static void obj_type_register_constants(lua_State *L, const obj_const *constants, int tab_idx) { -+static void obj_type_register_constants(lua_State *L, const obj_const *constants, int tab_idx, -+ int bidirectional) { - /* register constants. */ - while(constants->name != NULL) { - lua_pushstring(L, constants->name); -@@ -562,40 +1213,84 @@ static void obj_type_register_constants(lua_State *L, const obj_const *constants - lua_pushnil(L); - break; - } -+ /* map values back to keys. */ -+ if(bidirectional) { -+ /* check if value already exists. */ -+ lua_pushvalue(L, -1); -+ lua_rawget(L, tab_idx - 3); -+ if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); -+ /* add value->key mapping. */ -+ lua_pushvalue(L, -1); -+ lua_pushvalue(L, -3); -+ lua_rawset(L, tab_idx - 4); -+ } else { -+ /* value already exists. */ -+ lua_pop(L, 1); -+ } -+ } - lua_rawset(L, tab_idx - 2); - constants++; - } - } - - static void obj_type_register_package(lua_State *L, const reg_sub_module *type_reg) { -- const luaL_reg *reg_list = type_reg->pub_funcs; -+ const luaL_Reg *reg_list = type_reg->pub_funcs; - - /* create public functions table. */ - if(reg_list != NULL && reg_list[0].name != NULL) { - /* register functions */ -- luaL_register(L, NULL, reg_list); -+ luaL_setfuncs(L, reg_list, 0); - } - -- obj_type_register_constants(L, type_reg->constants, -1); -+ obj_type_register_constants(L, type_reg->constants, -1, type_reg->bidirectional_consts); - - lua_pop(L, 1); /* drop package table */ - } - -+static void obj_type_register_meta(lua_State *L, const reg_sub_module *type_reg) { -+ const luaL_Reg *reg_list; -+ -+ /* create public functions table. */ -+ reg_list = type_reg->pub_funcs; -+ if(reg_list != NULL && reg_list[0].name != NULL) { -+ /* register functions */ -+ luaL_setfuncs(L, reg_list, 0); -+ } -+ -+ obj_type_register_constants(L, type_reg->constants, -1, type_reg->bidirectional_consts); -+ -+ /* register methods. */ -+ luaL_setfuncs(L, type_reg->methods, 0); -+ -+ /* create metatable table. */ -+ lua_newtable(L); -+ luaL_setfuncs(L, type_reg->metas, 0); /* fill metatable */ -+ /* setmetatable on meta-object. */ -+ lua_setmetatable(L, -2); -+ -+ lua_pop(L, 1); /* drop meta-object */ -+} -+ - static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int priv_table) { -- const luaL_reg *reg_list; -+ const luaL_Reg *reg_list; - obj_type *type = type_reg->type; - const obj_base *base = type_reg->bases; - -- if(type_reg->is_package == 1) { -+ if(type_reg->req_type == REG_PACKAGE) { - obj_type_register_package(L, type_reg); - return; - } -+ if(type_reg->req_type == REG_META) { -+ obj_type_register_meta(L, type_reg); -+ return; -+ } - - /* create public functions table. */ - reg_list = type_reg->pub_funcs; - if(reg_list != NULL && reg_list[0].name != NULL) { - /* register "constructors" as to object's public API */ -- luaL_register(L, NULL, reg_list); /* fill public API table. */ -+ luaL_setfuncs(L, reg_list, 0); /* fill public API table. */ - - /* make public API table callable as the default constructor. */ - lua_newtable(L); /* create metatable */ -@@ -625,7 +1320,7 @@ static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int - #endif - } - -- luaL_register(L, NULL, type_reg->methods); /* fill methods table. */ -+ luaL_setfuncs(L, type_reg->methods, 0); /* fill methods table. */ - - luaL_newmetatable(L, type->name); /* create metatable */ - lua_pushliteral(L, ".name"); -@@ -638,16 +1333,12 @@ static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int - lua_pushvalue(L, -2); /* dup metatable. */ - lua_rawset(L, LUA_REGISTRYINDEX); /* REGISTRY[type] = metatable */ - --#if LUAJIT_FFI - /* add metatable to 'priv_table' */ - lua_pushstring(L, type->name); - lua_pushvalue(L, -2); /* dup metatable. */ - lua_rawset(L, priv_table); /* priv_table[""] = metatable */ --#else -- (void)priv_table; --#endif - -- luaL_register(L, NULL, type_reg->metas); /* fill metatable */ -+ luaL_setfuncs(L, type_reg->metas, 0); /* fill metatable */ - - /* add obj_bases to metatable. */ - while(base->id >= 0) { -@@ -656,7 +1347,9 @@ static void obj_type_register(lua_State *L, const reg_sub_module *type_reg, int - base++; - } - -- obj_type_register_constants(L, type_reg->constants, -2); -+ obj_type_register_constants(L, type_reg->constants, -2, type_reg->bidirectional_consts); -+ -+ obj_type_register_implements(L, type_reg->implements); - - lua_pushliteral(L, "__index"); - lua_pushvalue(L, -3); /* dup methods table */ -@@ -676,62 +1369,193 @@ static FUNC_UNUSED int lua_checktype_ref(lua_State *L, int _index, int _type) { - return luaL_ref(L, LUA_REGISTRYINDEX); - } - --#if LUAJIT_FFI --static int nobj_udata_new_ffi(lua_State *L) { -- size_t size = luaL_checkinteger(L, 1); -- void *ud; -- luaL_checktype(L, 2, LUA_TTABLE); -- lua_settop(L, 2); -- /* create userdata. */ -- ud = lua_newuserdata(L, size); -- lua_replace(L, 1); -- /* set userdata's metatable. */ -- lua_setmetatable(L, 1); -- return 1; --} -+/* use static pointer as key to weak callback_state table. */ -+static char obj_callback_state_weak_ref_key[] = "obj_callback_state_weak_ref_key"; - --static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, -- const char *ffi_init_code, const ffi_export_symbol *ffi_exports, int priv_table) --{ -- int err; -+static FUNC_UNUSED void *nobj_get_callback_state(lua_State *L, int owner_idx, int size) { -+ void *cb_state; - -- /* export symbols to priv_table. */ -- while(ffi_exports->name != NULL) { -- lua_pushstring(L, ffi_exports->name); -- lua_pushlightuserdata(L, ffi_exports->sym); -- lua_settable(L, priv_table); -- ffi_exports++; -+ lua_pushlightuserdata(L, obj_callback_state_weak_ref_key); /* key for weak table. */ -+ lua_rawget(L, LUA_REGISTRYINDEX); /* check if weak table exists already. */ -+ if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); /* pop nil. */ -+ /* create weak table for callback_state */ -+ lua_newtable(L); /* weak table. */ -+ lua_newtable(L); /* metatable for weak table. */ -+ lua_pushliteral(L, "__mode"); -+ lua_pushliteral(L, "k"); -+ lua_rawset(L, -3); /* metatable.__mode = 'k' weak keys. */ -+ lua_setmetatable(L, -2); /* add metatable to weak table. */ -+ lua_pushlightuserdata(L, obj_callback_state_weak_ref_key); /* key for weak table. */ -+ lua_pushvalue(L, -2); /* dup weak table. */ -+ lua_rawset(L, LUA_REGISTRYINDEX); /* add weak table to registry. */ - } -- err = luaL_loadbuffer(L, ffi_init_code, strlen(ffi_init_code), ffi_mod_name); -- if(0 == err) { -- lua_pushvalue(L, -2); /* dup C module's table. */ -- lua_pushvalue(L, priv_table); /* move priv_table to top of stack. */ -- lua_remove(L, priv_table); -- lua_pushcfunction(L, nobj_udata_new_ffi); -- err = lua_pcall(L, 3, 0, 0); -+ -+ /* check weak table for callback_state. */ -+ lua_pushvalue(L, owner_idx); /* dup. owner as lookup key. */ -+ lua_rawget(L, -2); -+ if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); /* pop nil. */ -+ lua_pushvalue(L, owner_idx); /* dup. owner as lookup key. */ -+ /* create new callback state. */ -+ cb_state = lua_newuserdata(L, size); -+ lua_rawset(L, -3); -+ lua_pop(L, 1); /* pop */ -+ } else { -+ /* got existing callback state. */ -+ cb_state = lua_touserdata(L, -1); -+ lua_pop(L, 2); /* pop , */ - } -- if(err) { -- const char *msg = ""; -- if(lua_isstring(L, -1)) { -- msg = lua_tostring(L, -1); -- } -- printf("Failed to install FFI-based bindings: %s\n", msg); -- lua_pop(L, 1); /* pop error message. */ -+ -+ return cb_state; -+} -+ -+static FUNC_UNUSED void *nobj_delete_callback_state(lua_State *L, int owner_idx) { -+ void *cb_state = NULL; -+ -+ lua_pushlightuserdata(L, obj_callback_state_weak_ref_key); /* key for weak table. */ -+ lua_rawget(L, LUA_REGISTRYINDEX); /* check if weak table exists already. */ -+ if(lua_isnil(L, -1)) { -+ lua_pop(L, 1); /* pop nil. no weak table, so there is no callback state. */ -+ return NULL; - } -- return err; -+ /* get callback state. */ -+ lua_pushvalue(L, owner_idx); /* dup. owner */ -+ lua_rawget(L, -2); -+ if(lua_isnil(L, -1)) { -+ lua_pop(L, 2); /* pop , nil. No callback state for the owner. */ -+ } else { -+ cb_state = lua_touserdata(L, -1); -+ lua_pop(L, 1); /* pop */ -+ /* remove callback state. */ -+ lua_pushvalue(L, owner_idx); /* dup. owner */ -+ lua_pushnil(L); -+ lua_rawset(L, -3); -+ lua_pop(L, 1); /* pop */ -+ } -+ -+ return cb_state; - } --#endif -+ -+ -+ -+ -+ -+typedef struct Buffer_if { -+ const uint8_t * (* const const_data)(void *this_v); -+ size_t (* const get_size)(void *this_v); -+} BufferIF; -+ -+/* a per-module unique pointer for fast lookup of an interface's implementation table. */ -+static char obj_interface_BufferIF[] = "BufferIF"; -+ -+#define BufferIF_VAR(var_name) \ -+ BufferIF *var_name ## _if; \ -+ void *var_name; -+ -+#define BufferIF_LUA_OPTIONAL(L, _index, var_name) \ -+ var_name = obj_implement_luaoptional(L, _index, (void **)&(var_name ## _if), \ -+ obj_interface_BufferIF) -+ -+#define BufferIF_LUA_CHECK(L, _index, var_name) \ -+ var_name = obj_implement_luacheck(L, _index, (void **)&(var_name ## _if), \ -+ obj_interface_BufferIF) -+ -+ -+ -+ -+ -+ -+typedef struct MutableBuffer_if { -+ uint8_t * (* const data)(void *this_v); -+ size_t (* const get_size)(void *this_v); -+} MutableBufferIF; -+ -+/* a per-module unique pointer for fast lookup of an interface's implementation table. */ -+static char obj_interface_MutableBufferIF[] = "MutableBufferIF"; -+ -+#define MutableBufferIF_VAR(var_name) \ -+ MutableBufferIF *var_name ## _if; \ -+ void *var_name; -+ -+#define MutableBufferIF_LUA_OPTIONAL(L, _index, var_name) \ -+ var_name = obj_implement_luaoptional(L, _index, (void **)&(var_name ## _if), \ -+ obj_interface_MutableBufferIF) -+ -+#define MutableBufferIF_LUA_CHECK(L, _index, var_name) \ -+ var_name = obj_implement_luacheck(L, _index, (void **)&(var_name ## _if), \ -+ obj_interface_MutableBufferIF) -+ -+ -+ -+ -+static char *obj_interfaces[] = { -+ obj_interface_BufferIF, -+ obj_interface_MutableBufferIF, -+ NULL, -+}; -+ -+/** -+ * zmq_msg_t implements Buffer interface -+ */ -+/** -+ * Buffer interface method const_data -+ */ -+static const uint8_t * zmq_msg_t_Buffer_const_data(void *this_v) { -+ zmq_msg_t * this_p = this_v; -+ return zmq_msg_data(this_p); -+} -+/** -+ * Buffer interface method get_size -+ */ -+static size_t zmq_msg_t_Buffer_get_size(void *this_v) { -+ zmq_msg_t * this_p = this_v; -+ return zmq_msg_size(this_p); -+} -+ -+static const BufferIF zmq_msg_t_Buffer = { -+ zmq_msg_t_Buffer_const_data, -+ zmq_msg_t_Buffer_get_size -+}; -+ -+/** -+ * zmq_msg_t implements MutableBuffer interface -+ */ -+/** -+ * MutableBuffer interface method data -+ */ -+static uint8_t * zmq_msg_t_MutableBuffer_data(void *this_v) { -+ zmq_msg_t * this_p = this_v; -+ return zmq_msg_data(this_p); -+} -+/** -+ * MutableBuffer interface method get_size -+ */ -+static size_t zmq_msg_t_MutableBuffer_get_size(void *this_v) { -+ zmq_msg_t * this_p = this_v; -+ return zmq_msg_size(this_p); -+} -+ -+static const MutableBufferIF zmq_msg_t_MutableBuffer = { -+ zmq_msg_t_MutableBuffer_data, -+ zmq_msg_t_MutableBuffer_get_size -+}; -+ - - - #define obj_type_zmq_msg_t_check(L, _index) \ - (zmq_msg_t *)obj_simple_udata_luacheck(L, _index, &(obj_type_zmq_msg_t)) --#define obj_type_zmq_msg_t_delete(L, _index, flags) \ -- (zmq_msg_t *)obj_simple_udata_luadelete(L, _index, &(obj_type_zmq_msg_t), flags) --#define obj_type_zmq_msg_t_push(L, obj, flags) \ -+#define obj_type_zmq_msg_t_optional(L, _index) \ -+ (zmq_msg_t *)obj_simple_udata_luaoptional(L, _index, &(obj_type_zmq_msg_t)) -+#define obj_type_zmq_msg_t_delete(L, _index) \ -+ (zmq_msg_t *)obj_simple_udata_luadelete(L, _index, &(obj_type_zmq_msg_t)) -+#define obj_type_zmq_msg_t_push(L, obj) \ - obj_simple_udata_luapush(L, obj, sizeof(zmq_msg_t), &(obj_type_zmq_msg_t)) - - #define obj_type_ZMQ_Socket_check(L, _index) \ - obj_udata_luacheck(L, _index, &(obj_type_ZMQ_Socket)) -+#define obj_type_ZMQ_Socket_optional(L, _index) \ -+ obj_udata_luaoptional(L, _index, &(obj_type_ZMQ_Socket)) - #define obj_type_ZMQ_Socket_delete(L, _index, flags) \ - obj_udata_luadelete_weak(L, _index, &(obj_type_ZMQ_Socket), flags) - #define obj_type_ZMQ_Socket_push(L, obj, flags) \ -@@ -739,13 +1563,17 @@ static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, - - #define obj_type_ZMQ_Poller_check(L, _index) \ - (ZMQ_Poller *)obj_simple_udata_luacheck(L, _index, &(obj_type_ZMQ_Poller)) --#define obj_type_ZMQ_Poller_delete(L, _index, flags) \ -- (ZMQ_Poller *)obj_simple_udata_luadelete(L, _index, &(obj_type_ZMQ_Poller), flags) --#define obj_type_ZMQ_Poller_push(L, obj, flags) \ -+#define obj_type_ZMQ_Poller_optional(L, _index) \ -+ (ZMQ_Poller *)obj_simple_udata_luaoptional(L, _index, &(obj_type_ZMQ_Poller)) -+#define obj_type_ZMQ_Poller_delete(L, _index) \ -+ (ZMQ_Poller *)obj_simple_udata_luadelete(L, _index, &(obj_type_ZMQ_Poller)) -+#define obj_type_ZMQ_Poller_push(L, obj) \ - obj_simple_udata_luapush(L, obj, sizeof(ZMQ_Poller), &(obj_type_ZMQ_Poller)) - - #define obj_type_ZMQ_Ctx_check(L, _index) \ - obj_udata_luacheck(L, _index, &(obj_type_ZMQ_Ctx)) -+#define obj_type_ZMQ_Ctx_optional(L, _index) \ -+ obj_udata_luaoptional(L, _index, &(obj_type_ZMQ_Ctx)) - #define obj_type_ZMQ_Ctx_delete(L, _index, flags) \ - obj_udata_luadelete_weak(L, _index, &(obj_type_ZMQ_Ctx), flags) - #define obj_type_ZMQ_Ctx_push(L, obj, flags) \ -@@ -753,6 +1581,8 @@ static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, - - #define obj_type_ZMQ_StopWatch_check(L, _index) \ - obj_udata_luacheck(L, _index, &(obj_type_ZMQ_StopWatch)) -+#define obj_type_ZMQ_StopWatch_optional(L, _index) \ -+ obj_udata_luaoptional(L, _index, &(obj_type_ZMQ_StopWatch)) - #define obj_type_ZMQ_StopWatch_delete(L, _index, flags) \ - obj_udata_luadelete_weak(L, _index, &(obj_type_ZMQ_StopWatch), flags) - #define obj_type_ZMQ_StopWatch_push(L, obj, flags) \ -@@ -761,30 +1591,71 @@ static int nobj_try_loading_ffi(lua_State *L, const char *ffi_mod_name, - - - --static const char zmq_ffi_lua_code[] = "local error = error\n" -+static const char *zmq_ffi_lua_code[] = { "local ffi=require\"ffi\"\n" -+"local function ffi_safe_load(name, global)\n" -+" local stat, C = pcall(ffi.load, name, global)\n" -+" if not stat then return nil, C end\n" -+" if global then return ffi.C end\n" -+" return C\n" -+"end\n" -+"local function ffi_load(name, global)\n" -+" return assert(ffi_safe_load(name, global))\n" -+"end\n" -+"\n" -+"local ffi_string = ffi.string\n" -+"\n" -+"local f_cast = ffi.cast\n" -+"local pcall = pcall\n" -+"local error = error\n" - "local type = type\n" - "local tonumber = tonumber\n" - "local tostring = tostring\n" -+"local sformat = require\"string\".format\n" - "local rawset = rawset\n" --"\n" --"-- try loading luajit's ffi\n" --"local stat, ffi=pcall(require,\"ffi\")\n" --"if not stat then\n" --" return\n" -+"local setmetatable = setmetatable\n" -+"local package = (require\"package\") or {}\n" -+"local p_config = package.config\n" -+"local p_cpath = package.cpath\n" -+"\n" -+"\n" -+"local ffi_load_cmodule\n" -+"\n" -+"-- try to detect luvit.\n" -+"if p_config == nil and p_cpath == nil then\n" -+" ffi_load_cmodule = function(name, global)\n" -+" for path,module in pairs(package.loaded) do\n" -+" if module == name then\n" -+" local C, err = ffi_safe_load(path, global)\n" -+" -- return opened library\n" -+" if C then return C end\n" -+" end\n" -+" end\n" -+" error(\"Failed to find: \" .. name)\n" -+" end\n" -+"else\n" -+" ffi_load_cmodule = function(name, global)\n" -+" local dir_sep = p_config:sub(1,1)\n" -+" local path_sep = p_config:sub(3,3)\n" -+" local path_mark = p_config:sub(5,5)\n" -+" local path_match = \"([^\" .. path_sep .. \"]*)\" .. path_sep\n" -+" -- convert dotted name to directory path.\n" -+" name = name:gsub('%.', dir_sep)\n" -+" -- try each path in search path.\n" -+" for path in p_cpath:gmatch(path_match) do\n" -+" local fname = path:gsub(path_mark, name)\n" -+" local C, err = ffi_safe_load(fname, global)\n" -+" -- return opened library\n" -+" if C then return C end\n" -+" end\n" -+" error(\"Failed to find: \" .. name)\n" -+" end\n" - "end\n" - "\n" --"local _M, _priv, udata_new = ...\n" --"\n" --"local band = bit.band\n" --"local d_getmetatable = debug.getmetatable\n" --"local d_setmetatable = debug.setmetatable\n" -+"local _M, _priv, reg_table = ...\n" -+"local REG_OBJECTS_AS_GLOBALS = false\n" -+"local C = ffi.C\n" - "\n" - "local OBJ_UDATA_FLAG_OWN = 1\n" --"local OBJ_UDATA_FLAG_LOOKUP = 2\n" --"local OBJ_UDATA_LAST_FLAG = OBJ_UDATA_FLAG_LOOKUP\n" --"\n" --"local OBJ_TYPE_FLAG_WEAK_REF = 1\n" --"local OBJ_TYPE_SIMPLE = 2\n" - "\n" - "local function ffi_safe_cdef(block_name, cdefs)\n" - " local fake_type = \"struct sentinel_\" .. block_name .. \"_ty\"\n" -@@ -822,151 +1693,101 @@ static const char zmq_ffi_lua_code[] = "local error = error\n" - " uint32_t flags; /**< lua_own:1bit */\n" - "} obj_udata;\n" - "\n" --"]])\n" --"\n" --"-- cache mapping of cdata to userdata\n" --"local weak_objects = setmetatable({}, { __mode = \"v\" })\n" -+"int memcmp(const void *s1, const void *s2, size_t n);\n" - "\n" --"local function obj_udata_luacheck_internal(obj, type_mt, not_delete)\n" --" local obj_mt = d_getmetatable(obj)\n" --" if obj_mt == type_mt then\n" --" -- convert userdata to cdata.\n" --" return ffi.cast(\"obj_udata *\", obj)\n" --" end\n" --" if not_delete then\n" --" error(\"(expected `\" .. type_mt['.name'] .. \"`, got \" .. type(obj) .. \")\", 3)\n" --" end\n" --"end\n" -+"]])\n" - "\n" --"local function obj_udata_luacheck(obj, type_mt)\n" --" local ud = obj_udata_luacheck_internal(obj, type_mt, true)\n" --" return ud.obj\n" --"end\n" -+"local nobj_callback_states = {}\n" -+"local nobj_weak_objects = setmetatable({}, {__mode = \"v\"})\n" -+"local nobj_obj_flags = {}\n" - "\n" --"local function obj_udata_to_cdata(objects, ud_obj, c_type, ud_mt)\n" --" -- convert userdata to cdata.\n" --" local c_obj = ffi.cast(c_type, obj_udata_luacheck(ud_obj, ud_mt))\n" --" -- cache converted cdata\n" --" rawset(objects, ud_obj, c_obj)\n" --" return c_obj\n" -+"local function obj_ptr_to_id(ptr)\n" -+" return tonumber(f_cast('uintptr_t', ptr))\n" - "end\n" - "\n" --"local function obj_udata_luadelete(ud_obj, type_mt)\n" --" local ud = obj_udata_luacheck_internal(ud_obj, type_mt, false)\n" --" if not ud then return nil, 0 end\n" --" local obj, flags = ud.obj, ud.flags\n" --" -- null userdata.\n" --" ud.obj = nil\n" --" ud.flags = 0\n" --" -- invalid userdata, by setting the metatable to nil.\n" --" d_setmetatable(ud_obj, nil)\n" --" return obj, flags\n" -+"local function obj_to_id(ptr)\n" -+" return tonumber(f_cast('uintptr_t', f_cast('void *', ptr)))\n" - "end\n" - "\n" --"local function obj_udata_luapush(obj, type_mt, obj_type, flags)\n" --" if obj == nil then return end\n" --"\n" --" -- apply type's dynamic caster.\n" --" if obj_type.dcaster ~= nil then\n" --" local obj_ptr = ffi.new(\"void *[1]\", obj)\n" --" local type_ptr = ffi.new(\"obj_type *[1]\", obj_type)\n" --" obj_type.dcaster(obj_ptr, type_ptr)\n" --" obj = obj_ptr[1]\n" --" type = type_ptr[1]\n" -+"local function register_default_constructor(_pub, obj_name, constructor)\n" -+" local obj_pub = _pub[obj_name]\n" -+" if type(obj_pub) == 'table' then\n" -+" -- copy table since it might have a locked metatable\n" -+" local new_pub = {}\n" -+" for k,v in pairs(obj_pub) do\n" -+" new_pub[k] = v\n" -+" end\n" -+" setmetatable(new_pub, { __call = function(t,...)\n" -+" return constructor(...)\n" -+" end,\n" -+" __metatable = false,\n" -+" })\n" -+" obj_pub = new_pub\n" -+" else\n" -+" obj_pub = constructor\n" - " end\n" --"\n" --" -- create new userdata\n" --" local ud_obj = udata_new(ffi.sizeof\"obj_udata\", type_mt)\n" --" local ud = ffi.cast(\"obj_udata *\", ud_obj)\n" --" -- init. object\n" --" ud.obj = obj\n" --" ud.flags = flags\n" --"\n" --" return ud_obj\n" --"end\n" --"\n" --"local function obj_udata_luadelete_weak(ud_obj, type_mt)\n" --" local ud = obj_udata_luacheck_internal(ud_obj, type_mt, false)\n" --" if not ud then return nil, 0 end\n" --" local obj, flags = ud.obj, ud.flags\n" --" -- null userdata.\n" --" ud.obj = nil\n" --" ud.flags = 0\n" --" -- invalid userdata, by setting the metatable to nil.\n" --" d_setmetatable(ud_obj, nil)\n" --" -- remove object from weak ref. table.\n" --" local obj_key = tonumber(ffi.cast('uintptr_t', obj))\n" --" weak_objects[obj_key] = nil\n" --" return obj, flags\n" --"end\n" --"\n" --"local function obj_udata_luapush_weak(obj, type_mt, obj_type, flags)\n" --" if obj == nil then return end\n" --"\n" --" -- apply type's dynamic caster.\n" --" if obj_type.dcaster ~= nil then\n" --" local obj_ptr = ffi.new(\"void *[1]\", obj)\n" --" local type_ptr = ffi.new(\"obj_type *[1]\", obj_type)\n" --" obj_type.dcaster(obj_ptr, type_ptr)\n" --" obj = obj_ptr[1]\n" --" type = type_ptr[1]\n" -+" _pub[obj_name] = obj_pub\n" -+" _M[obj_name] = obj_pub\n" -+" if REG_OBJECTS_AS_GLOBALS then\n" -+" _G[obj_name] = obj_pub\n" - " end\n" -+"end\n" - "\n" --" -- lookup object in weak ref. table.\n" --" local obj_key = tonumber(ffi.cast('uintptr_t', obj))\n" --" local ud_obj = weak_objects[obj_key]\n" --" if ud_obj ~= nil then return ud_obj end\n" --"\n" --" -- create new userdata\n" --" ud_obj = udata_new(ffi.sizeof\"obj_udata\", type_mt)\n" --" local ud = ffi.cast(\"obj_udata *\", ud_obj)\n" --" -- init. object\n" --" ud.obj = obj\n" --" ud.flags = flags\n" --"\n" --" -- cache weak reference to object.\n" --" weak_objects[obj_key] = ud_obj\n" - "\n" --" return ud_obj\n" -+"-- detect zmq version\n" -+"local VERSION_2_0 = true\n" -+"local VERSION_2_1 = false\n" -+"local VERSION_2_2 = false\n" -+"local VERSION_3_0 = false\n" -+"local zver = _M.version()\n" -+"if zver[1] == 3 then\n" -+" VERSION_2_0 = false\n" -+" VERSION_3_0 = true\n" -+"elseif zver[1] == 2 and zver[2] == 2 then\n" -+" VERSION_2_2 = true\n" -+" VERSION_2_1 = true\n" -+"elseif zver[1] == 2 and zver[2] == 1 then\n" -+" VERSION_2_1 = true\n" - "end\n" - "\n" --"local function obj_simple_udata_luacheck(ud_obj, type_mt)\n" --" local obj_mt = d_getmetatable(ud_obj)\n" --" if obj_mt == type_mt then\n" --" -- convert userdata to cdata.\n" --" return ffi.cast(\"void *\", ud_obj)\n" --" end\n" --" error(\"(expected `\" .. type_mt['.name'] .. \"`, got \" .. type(ud_obj) .. \")\", 3)\n" --"end\n" -+"if VERSION_2_0 then\n" -+" ffi.cdef[==[\n" -+"typedef int ZMQ_Error;\n" -+"typedef struct ZMQ_Socket ZMQ_Socket;\n" -+"typedef struct zmq_msg_t zmq_msg_t;\n" - "\n" --"local function obj_simple_udata_to_cdata(objects, ud_obj, c_type, ud_mt)\n" --" -- convert userdata to cdata.\n" --" local c_obj = ffi.cast(c_type, obj_simple_udata_luacheck(ud_obj, ud_mt))\n" --" -- cache converted cdata\n" --" rawset(objects, ud_obj, c_obj)\n" --" return c_obj\n" -+"ZMQ_Error zmq_sendmsg(ZMQ_Socket *sock, zmq_msg_t *msg, int flags) __asm__(\"zmq_send\");\n" -+"ZMQ_Error zmq_recvmsg(ZMQ_Socket *sock, zmq_msg_t *msg, int flags) __asm__(\"zmq_recv\");\n" -+"]==]\n" - "end\n" - "\n" --"local function obj_simple_udata_luadelete(ud_obj, type_mt)\n" --" local c_obj = obj_simple_udata_luacheck(ud_obj, type_mt)\n" --" -- invalid userdata, by setting the metatable to nil.\n" --" d_setmetatable(ud_obj, nil)\n" --" return c_obj, OBJ_UDATA_FLAG_OWN\n" --"end\n" -+"ffi_safe_cdef(\"BufferIF\", [[\n" -+"typedef struct Buffer_if {\n" -+" const uint8_t * (* const const_data)(void *this_v);\n" -+" size_t (* const get_size)(void *this_v);\n" -+"} BufferIF;\n" -+"]])\n" - "\n" --"local function obj_simple_udata_luapush(c_obj, size, type_mt)\n" --" if c_obj == nil then return end\n" -+"ffi_safe_cdef(\"FDIF\", [[\n" -+"typedef struct FD_if {\n" -+" int (* const get_fd)(void *this_v);\n" -+" int (* const get_type)(void *this_v);\n" -+"} FDIF;\n" -+"]])\n" - "\n" --" -- create new userdata\n" --" local ud_obj = udata_new(size, type_mt)\n" --" local cdata = ffi.cast(\"void *\", ud_obj)\n" --" -- init. object\n" --" ffi.copy(cdata, c_obj, size)\n" -+"ffi_safe_cdef(\"MutableBufferIF\", [[\n" -+"typedef struct MutableBuffer_if {\n" -+" uint8_t * (* const data)(void *this_v);\n" -+" size_t (* const get_size)(void *this_v);\n" -+"} MutableBufferIF;\n" -+"]])\n" - "\n" --" return ud_obj, cdata\n" --"end\n" -+"local Cmod = ffi_load_cmodule(\"zmq\", false)\n" -+"local C = Cmod\n" - "\n" - "ffi.cdef[[\n" -+"typedef int ZMQ_Error;\n" -+"\n" - "typedef struct zmq_msg_t zmq_msg_t;\n" - "typedef struct ZMQ_Socket ZMQ_Socket;\n" - "typedef struct ZMQ_Poller ZMQ_Poller;\n" -@@ -976,9 +1797,7 @@ static const char zmq_ffi_lua_code[] = "local error = error\n" - "]]\n" - "\n" - "ffi.cdef[[\n" --"typedef const char * (*get_zmq_strerror_func)();\n" --"\n" --"typedef int ZMQ_Error;\n" -+"int zmq_errno (void);\n" - "\n" - "\n" - "struct zmq_msg_t\n" -@@ -989,39 +1808,138 @@ static const char zmq_ffi_lua_code[] = "local error = error\n" - " unsigned char vsm_data [30]; /* that '30' is from 'MAX_VSM_SIZE' */\n" - "};\n" - "\n" --"typedef void (zmq_free_fn) (void *data, void *hint);\n" --"\n" - "int zmq_msg_init (zmq_msg_t *msg);\n" - "int zmq_msg_init_size (zmq_msg_t *msg, size_t size);\n" --"int zmq_msg_init_data (zmq_msg_t *msg, void *data, size_t size, zmq_free_fn *ffn, void *hint);\n" - "\n" - "\n" --"ZMQ_Error zmq_msg_close(zmq_msg_t * this1);\n" -+"ZMQ_Error zmq_msg_init(zmq_msg_t *);\n" -+"\n" -+"ZMQ_Error zmq_msg_init_size(zmq_msg_t *, size_t);\n" -+"\n" -+"ZMQ_Error zmq_msg_close(zmq_msg_t *);\n" -+"\n" -+"ZMQ_Error zmq_msg_move(zmq_msg_t *, zmq_msg_t *);\n" - "\n" --"ZMQ_Error zmq_msg_close(zmq_msg_t * this1);\n" -+"ZMQ_Error zmq_msg_copy(zmq_msg_t *, zmq_msg_t *);\n" - "\n" --"ZMQ_Error zmq_msg_move(zmq_msg_t * this1, zmq_msg_t * src2);\n" -+"void * zmq_msg_data(zmq_msg_t *);\n" - "\n" --"ZMQ_Error zmq_msg_copy(zmq_msg_t * this1, zmq_msg_t * src2);\n" -+"size_t zmq_msg_size(zmq_msg_t *);\n" - "\n" --"void * zmq_msg_data(zmq_msg_t * this1);\n" -+"ZMQ_Error zmq_close(ZMQ_Socket *);\n" - "\n" --"size_t zmq_msg_size(zmq_msg_t * this1);\n" -+"ZMQ_Error zmq_bind(ZMQ_Socket *, const char *);\n" - "\n" --"ZMQ_Error zmq_close(ZMQ_Socket * this1);\n" -+"ZMQ_Error zmq_unbind(ZMQ_Socket *, const char *);\n" - "\n" --"ZMQ_Error zmq_bind(ZMQ_Socket * this1, const char * addr2);\n" -+"ZMQ_Error zmq_connect(ZMQ_Socket *, const char *);\n" - "\n" --"ZMQ_Error zmq_connect(ZMQ_Socket * this1, const char * addr2);\n" -+"ZMQ_Error zmq_disconnect(ZMQ_Socket *, const char *);\n" - "\n" - "int zmq_setsockopt (void *s, int option, const void *optval, size_t optvallen);\n" - "int zmq_getsockopt (void *s, int option, void *optval, size_t *optvallen);\n" - "\n" --"ZMQ_Error zmq_send(ZMQ_Socket * this1, zmq_msg_t * msg2, int flags3);\n" -+"ZMQ_Error zmq_sendmsg(ZMQ_Socket *, zmq_msg_t *, int);\n" -+"\n" -+"ZMQ_Error simple_zmq_send(ZMQ_Socket *, const char *, size_t, int);\n" -+"\n" -+"ZMQ_Error zmq_recvmsg(ZMQ_Socket *, zmq_msg_t *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_hwm(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_hwm(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_swap(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_swap(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_affinity(ZMQ_Socket *, uint64_t*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_affinity(ZMQ_Socket *, uint64_t);\n" -+"\n" -+"ZMQ_Error lzmq_socket_identity(ZMQ_Socket *, char *, size_t*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_identity(ZMQ_Socket *, const char *, size_t);\n" -+"\n" -+"ZMQ_Error lzmq_socket_subscribe(ZMQ_Socket *, const char *, size_t);\n" -+"\n" -+"ZMQ_Error lzmq_socket_unsubscribe(ZMQ_Socket *, const char *, size_t);\n" -+"\n" -+"ZMQ_Error lzmq_socket_rate(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_rate(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_recovery_ivl(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_recovery_ivl(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_mcast_loop(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_mcast_loop(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_sndbuf(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_sndbuf(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_rcvbuf(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_rcvbuf(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_rcvmore(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_fd(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_events(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_type(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_linger(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_linger(ZMQ_Socket *, int);\n" - "\n" --"typedef ZMQ_Error (*simple_zmq_send_func)(ZMQ_Socket *sock, const char *data, size_t data_len, int flags);\n" -+"ZMQ_Error lzmq_socket_reconnect_ivl(ZMQ_Socket *, int*);\n" - "\n" --"ZMQ_Error zmq_recv(ZMQ_Socket * this1, zmq_msg_t * msg2, int flags3);\n" -+"ZMQ_Error lzmq_socket_set_reconnect_ivl(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_backlog(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_backlog(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_recovery_ivl_msec(ZMQ_Socket *, int64_t*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_recovery_ivl_msec(ZMQ_Socket *, int64_t);\n" -+"\n" -+"ZMQ_Error lzmq_socket_reconnect_ivl_max(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_reconnect_ivl_max(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_maxmsgsize(ZMQ_Socket *, int64_t*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_maxmsgsize(ZMQ_Socket *, int64_t);\n" -+"\n" -+"ZMQ_Error lzmq_socket_sndhwm(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_sndhwm(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_rcvhwm(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_rcvhwm(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_multicast_hops(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_multicast_hops(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_rcvtimeo(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_rcvtimeo(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_sndtimeo(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_sndtimeo(ZMQ_Socket *, int);\n" -+"\n" -+"ZMQ_Error lzmq_socket_ipv4only(ZMQ_Socket *, int*);\n" -+"\n" -+"ZMQ_Error lzmq_socket_set_ipv4only(ZMQ_Socket *, int);\n" - "\n" - "typedef int socket_t;\n" - "typedef struct zmq_pollitem_t {\n" -@@ -1031,7 +1949,12 @@ static const char zmq_ffi_lua_code[] = "local error = error\n" - " short revents;\n" - "} zmq_pollitem_t;\n" - "\n" --"int zmq_poll(zmq_pollitem_t *items, int nitems, long timeout);\n" -+"int poller_find_sock_item(ZMQ_Poller *poller, ZMQ_Socket *sock);\n" -+"int poller_find_fd_item(ZMQ_Poller *poller, socket_t fd);\n" -+"int poller_get_free_item(ZMQ_Poller *poller);\n" -+"int poller_poll(ZMQ_Poller *poller, long timeout);\n" -+"void poller_remove_item(ZMQ_Poller *poller, int idx);\n" -+"\n" - "\n" - "struct ZMQ_Poller {\n" - " zmq_pollitem_t *items;\n" -@@ -1041,616 +1964,862 @@ static const char zmq_ffi_lua_code[] = "local error = error\n" - " int len;\n" - "};\n" - "\n" --"typedef int (*poller_find_sock_item_func)(ZMQ_Poller *poller, ZMQ_Socket *sock);\n" -+"void poller_init(ZMQ_Poller *, unsigned int);\n" -+"\n" -+"void poller_cleanup(ZMQ_Poller *);\n" - "\n" --"typedef int (*poller_find_fd_item_func)(ZMQ_Poller *poller, socket_t fd);\n" -+"ZMQ_Error poller_poll(ZMQ_Poller *, long);\n" - "\n" --"typedef int (*poller_get_free_item_func)(ZMQ_Poller *poller);\n" -+"int poller_next_revents(ZMQ_Poller *, int*);\n" - "\n" --"typedef int (*poller_poll_func)(ZMQ_Poller *poller, long timeout);\n" -+"ZMQ_Error zmq_term(ZMQ_Ctx *);\n" - "\n" --"typedef void (*poller_remove_item_func)(ZMQ_Poller *poller, int idx);\n" -+"ZMQ_Socket * zmq_socket(ZMQ_Ctx *, int);\n" - "\n" --"ZMQ_Error zmq_term(ZMQ_Ctx * this1);\n" -+"int zmq_ctx_set(ZMQ_Ctx *, int, int);\n" - "\n" --"ZMQ_Socket * zmq_socket(ZMQ_Ctx * this1, int type2);\n" -+"int zmq_ctx_get(ZMQ_Ctx *, int);\n" - "\n" - "ZMQ_StopWatch * zmq_stopwatch_start();\n" - "\n" --"unsigned long zmq_stopwatch_stop(ZMQ_StopWatch * this1);\n" -+"unsigned long zmq_stopwatch_stop(ZMQ_StopWatch *);\n" - "\n" --"ZMQ_Ctx * zmq_init(int io_threads1);\n" -+"ZMQ_Ctx * zmq_init(int);\n" - "\n" --"ZMQ_Error zmq_device(int device1, ZMQ_Socket * insock2, ZMQ_Socket * outsock3);\n" -+"ZMQ_Error zmq_device(int, ZMQ_Socket *, ZMQ_Socket *);\n" - "\n" --"ZMQ_StopWatch * zmq_stopwatch_start();\n" -+"ZMQ_Error zmq_proxy(ZMQ_Socket *, ZMQ_Socket *, ZMQ_Socket *);\n" - "\n" --"void zmq_sleep(int seconds_1);\n" -+"void zmq_sleep(int);\n" - "\n" - "\n" - "]]\n" - "\n" -+"REG_OBJECTS_AS_GLOBALS = false\n" -+"local _obj_interfaces_ffi = {}\n" - "local _pub = {}\n" - "local _meth = {}\n" -+"local _push = {}\n" -+"local _obj_subs = {}\n" - "for obj_name,mt in pairs(_priv) do\n" --" if type(mt) == 'table' and mt.__index then\n" --" _meth[obj_name] = mt.__index\n" -+" if type(mt) == 'table' then\n" -+" _obj_subs[obj_name] = {}\n" -+" if mt.__index then\n" -+" _meth[obj_name] = mt.__index\n" -+" end\n" - " end\n" - "end\n" --"_pub.zmq = _M\n" - "for obj_name,pub in pairs(_M) do\n" - " _pub[obj_name] = pub\n" - "end\n" - "\n" --"\n" --"local obj_type_zmq_msg_t_check\n" --"local obj_type_zmq_msg_t_delete\n" --"local obj_type_zmq_msg_t_push\n" --"\n" --"(function()\n" --"local zmq_msg_t_mt = _priv.zmq_msg_t\n" --"local zmq_msg_t_objects = setmetatable({}, { __mode = \"k\",\n" --"__index = function(objects, ud_obj)\n" --" return obj_simple_udata_to_cdata(objects, ud_obj, \"zmq_msg_t *\", zmq_msg_t_mt)\n" --"end,\n" --"})\n" --"function obj_type_zmq_msg_t_check(ud_obj)\n" --" return zmq_msg_t_objects[ud_obj]\n" -+"--\n" -+"-- CData Metatable access\n" -+"--\n" -+"local _ctypes = {}\n" -+"local _type_names = {}\n" -+"local _get_mt_key = {}\n" -+"local _ctype_meta_map = {}\n" -+"\n" -+"local f_typeof = ffi.typeof\n" -+"local function get_cdata_type_id(cdata)\n" -+" return tonumber(f_typeof(cdata))\n" - "end\n" --"\n" --"function obj_type_zmq_msg_t_delete(ud_obj)\n" --" zmq_msg_t_objects[ud_obj] = nil\n" --" return obj_simple_udata_luadelete(ud_obj, zmq_msg_t_mt)\n" -+"local function get_cdata_mt(cdata)\n" -+" return _ctype_meta_map[tonumber(f_typeof(cdata))]\n" - "end\n" - "\n" --"local zmq_msg_t_sizeof = ffi.sizeof\"zmq_msg_t\"\n" --"function obj_type_zmq_msg_t_push(c_obj)\n" --" local ud_obj, cdata = obj_simple_udata_luapush(c_obj, zmq_msg_t_sizeof, zmq_msg_t_mt)\n" --" zmq_msg_t_objects[ud_obj] = cdata\n" --" return ud_obj\n" -+"local function obj_register_ctype(name, ctype)\n" -+" local obj_mt = _priv[name]\n" -+" local obj_type = obj_mt['.type']\n" -+" local obj_ctype = ffi.typeof(ctype)\n" -+" local obj_type_id = tonumber(obj_ctype)\n" -+" _ctypes[name] = obj_ctype\n" -+" _type_names[name] = tostring(obj_ctype)\n" -+" _ctype_meta_map[obj_type_id] = obj_mt\n" -+" _ctype_meta_map[obj_mt] = obj_type_id\n" -+" return obj_mt, obj_type, obj_ctype\n" - "end\n" --"end)()\n" - "\n" -+"--\n" -+"-- Interfaces helper code.\n" -+"--\n" -+"local _obj_interfaces_key = \"obj_interfaces<1.0>_table_key\"\n" -+"local _obj_interfaces_ud = reg_table[_obj_interfaces_key]\n" -+"local _obj_interfaces_key_ffi = _obj_interfaces_key .. \"_LJ2_FFI\"\n" -+"_obj_interfaces_ffi = reg_table[_obj_interfaces_key_ffi]\n" -+"if not _obj_interfaces_ffi then\n" -+" -- create missing interfaces table for FFI bindings.\n" -+" _obj_interfaces_ffi = {}\n" -+" reg_table[_obj_interfaces_key_ffi] = _obj_interfaces_ffi\n" -+"end\n" - "\n" --"local obj_type_ZMQ_Socket_check\n" --"local obj_type_ZMQ_Socket_delete\n" --"local obj_type_ZMQ_Socket_push\n" --"\n" --"(function()\n" --"local ZMQ_Socket_mt = _priv.ZMQ_Socket\n" --"local ZMQ_Socket_objects = setmetatable({}, { __mode = \"k\",\n" --"__index = function(objects, ud_obj)\n" --" return obj_udata_to_cdata(objects, ud_obj, \"ZMQ_Socket *\", ZMQ_Socket_mt)\n" --"end,\n" --"})\n" --"function obj_type_ZMQ_Socket_check(ud_obj)\n" --" return ZMQ_Socket_objects[ud_obj]\n" -+"local function obj_get_userdata_interface(if_name, expected_err)\n" -+" local impls_ud = _obj_interfaces_ud[if_name]\n" -+" if not impls_ud then\n" -+" impls_ud = {}\n" -+" _obj_interfaces_ud[if_name] = impls_ud\n" -+" end\n" -+" -- create cdata check function to be used by non-ffi bindings.\n" -+" if not impls_ud.cdata then\n" -+" function impls_ud.cdata(obj)\n" -+" return assert(impls_ud[get_cdata_mt(obj)], expected_err)\n" -+" end\n" -+" end\n" -+" return impls_ud\n" - "end\n" - "\n" --"function obj_type_ZMQ_Socket_delete(ud_obj)\n" --" ZMQ_Socket_objects[ud_obj] = nil\n" --" return obj_udata_luadelete_weak(ud_obj, ZMQ_Socket_mt)\n" -+"local function obj_get_interface_check(if_name, expected_err)\n" -+" local impls_ffi = _obj_interfaces_ffi[if_name]\n" -+" if not impls_ffi then\n" -+" local if_type = ffi.typeof(if_name .. \" *\")\n" -+" local impls_ud = obj_get_userdata_interface(if_name, expected_err)\n" -+" -- create table for FFI-based interface implementations.\n" -+" impls_ffi = setmetatable({}, {\n" -+" __index = function(impls_ffi, mt)\n" -+" local impl = impls_ud[mt]\n" -+" if impl then\n" -+" -- cast to cdata\n" -+" impl = if_type(impl)\n" -+" rawset(impls_ffi, mt, impl)\n" -+" end\n" -+" return impl\n" -+" end})\n" -+" _obj_interfaces_ffi[if_name] = impls_ffi\n" -+"\n" -+" -- create check function for this interface.\n" -+" function impls_ffi.check(obj)\n" -+" local impl\n" -+" if type(obj) == 'cdata' then\n" -+" impl = impls_ffi[get_cdata_type_id(obj)]\n" -+" else\n" -+" impl = impls_ud.userdata(impls_ffi, obj)\n" -+" end\n" -+" return assert(impl, expected_err)\n" -+" end\n" -+" end\n" -+" return impls_ffi.check\n" - "end\n" - "\n" --"local ZMQ_Socket_type = ffi.cast(\"obj_type *\", ZMQ_Socket_mt[\".type\"])\n" --"function obj_type_ZMQ_Socket_push(c_obj, flags)\n" --" local ud_obj = obj_udata_luapush_weak(c_obj, ZMQ_Socket_mt, ZMQ_Socket_type, flags)\n" --" ZMQ_Socket_objects[ud_obj] = c_obj\n" --" return ud_obj\n" -+"local function obj_register_interface(if_name, obj_name)\n" -+" -- loopkup cdata id\n" -+" local obj_mt = _priv[obj_name]\n" -+" local obj_type_id = _ctype_meta_map[obj_mt]\n" -+" local impl_meths = {}\n" -+" local ffi_impls = _obj_interfaces_ffi[if_name]\n" -+" ffi_impls[obj_type_id] = impl_meths\n" -+" _meth[obj_name]['NOBJ_get_' .. if_name] = impl_meths\n" -+" return impl_meths\n" - "end\n" --"end)()\n" - "\n" - "\n" --"local obj_type_ZMQ_Poller_check\n" --"local obj_type_ZMQ_Poller_delete\n" --"local obj_type_ZMQ_Poller_push\n" -+"local obj_type_zmq_msg_t_check\n" -+"local obj_type_zmq_msg_t_delete\n" -+"local obj_type_zmq_msg_t_push\n" - "\n" --"(function()\n" --"local ZMQ_Poller_mt = _priv.ZMQ_Poller\n" --"local ZMQ_Poller_objects = setmetatable({}, { __mode = \"k\",\n" --"__index = function(objects, ud_obj)\n" --" return obj_simple_udata_to_cdata(objects, ud_obj, \"ZMQ_Poller *\", ZMQ_Poller_mt)\n" --"end,\n" --"})\n" --"function obj_type_ZMQ_Poller_check(ud_obj)\n" --" return ZMQ_Poller_objects[ud_obj]\n" --"end\n" -+"do\n" -+" local obj_mt, obj_type, obj_ctype = obj_register_ctype(\"zmq_msg_t\", \"zmq_msg_t\")\n" -+" local zmq_msg_t_sizeof = ffi.sizeof\"zmq_msg_t\"\n" - "\n" --"function obj_type_ZMQ_Poller_delete(ud_obj)\n" --" ZMQ_Poller_objects[ud_obj] = nil\n" --" return obj_simple_udata_luadelete(ud_obj, ZMQ_Poller_mt)\n" --"end\n" -+" function obj_type_zmq_msg_t_check(obj)\n" -+" return obj\n" -+" end\n" - "\n" --"local ZMQ_Poller_sizeof = ffi.sizeof\"ZMQ_Poller\"\n" --"function obj_type_ZMQ_Poller_push(c_obj)\n" --" local ud_obj, cdata = obj_simple_udata_luapush(c_obj, ZMQ_Poller_sizeof, ZMQ_Poller_mt)\n" --" ZMQ_Poller_objects[ud_obj] = cdata\n" --" return ud_obj\n" --"end\n" --"end)()\n" -+" function obj_type_zmq_msg_t_delete(obj)\n" -+" return obj\n" -+" end\n" - "\n" -+" function obj_type_zmq_msg_t_push(obj)\n" -+" return obj\n" -+" end\n" - "\n" --"local obj_type_ZMQ_Ctx_check\n" --"local obj_type_ZMQ_Ctx_delete\n" --"local obj_type_ZMQ_Ctx_push\n" -+" function obj_mt:__tostring()\n" -+" return sformat(\"zmq_msg_t: %p\", self)\n" -+" end\n" - "\n" --"(function()\n" --"local ZMQ_Ctx_mt = _priv.ZMQ_Ctx\n" --"local ZMQ_Ctx_objects = setmetatable({}, { __mode = \"k\",\n" --"__index = function(objects, ud_obj)\n" --" return obj_udata_to_cdata(objects, ud_obj, \"ZMQ_Ctx *\", ZMQ_Ctx_mt)\n" --"end,\n" --"})\n" --"function obj_type_ZMQ_Ctx_check(ud_obj)\n" --" return ZMQ_Ctx_objects[ud_obj]\n" --"end\n" -+" function obj_mt.__eq(val1, val2)\n" -+" if not ffi.istype(obj_ctype, val2) then return false end\n" -+" assert(ffi.istype(obj_ctype, val1), \"expected zmq_msg_t\")\n" -+" return (C.memcmp(val1, val2, zmq_msg_t_sizeof) == 0)\n" -+" end\n" - "\n" --"function obj_type_ZMQ_Ctx_delete(ud_obj)\n" --" ZMQ_Ctx_objects[ud_obj] = nil\n" --" return obj_udata_luadelete_weak(ud_obj, ZMQ_Ctx_mt)\n" --"end\n" -+" -- type checking function for C API.\n" -+" local function c_check(obj)\n" -+" if ffi.istype(obj_ctype, obj) then return obj end\n" -+" return nil\n" -+" end\n" -+" _priv[obj_type] = c_check\n" -+" -- push function for C API.\n" -+" reg_table[obj_type] = function(ptr)\n" -+" local obj = obj_ctype()\n", /* ----- CUT ----- */ -+" ffi.copy(obj, ptr, zmq_msg_t_sizeof);\n" -+" return obj\n" -+" end\n" - "\n" --"local ZMQ_Ctx_type = ffi.cast(\"obj_type *\", ZMQ_Ctx_mt[\".type\"])\n" --"function obj_type_ZMQ_Ctx_push(c_obj, flags)\n" --" local ud_obj = obj_udata_luapush_weak(c_obj, ZMQ_Ctx_mt, ZMQ_Ctx_type, flags)\n" --" ZMQ_Ctx_objects[ud_obj] = c_obj\n" --" return ud_obj\n" -+" -- export check functions for use in other modules.\n" -+" obj_mt.c_check = c_check\n" -+" obj_mt.ffi_check = obj_type_zmq_msg_t_check\n" - "end\n" --"end)()\n" --"\n" - "\n" --"local obj_type_ZMQ_StopWatch_check\n" --"local obj_type_ZMQ_StopWatch_delete\n" --"local obj_type_ZMQ_StopWatch_push\n" - "\n" --"(function()\n" --"local ZMQ_StopWatch_mt = _priv.ZMQ_StopWatch\n" --"local ZMQ_StopWatch_objects = setmetatable({}, { __mode = \"k\",\n" --"__index = function(objects, ud_obj)\n" --" return obj_udata_to_cdata(objects, ud_obj, \"ZMQ_StopWatch *\", ZMQ_StopWatch_mt)\n" --"end,\n" --"})\n" --"function obj_type_ZMQ_StopWatch_check(ud_obj)\n" --" return ZMQ_StopWatch_objects[ud_obj]\n" --"end\n" -+"local obj_type_ZMQ_Socket_check\n" -+"local obj_type_ZMQ_Socket_delete\n" -+"local obj_type_ZMQ_Socket_push\n" - "\n" --"function obj_type_ZMQ_StopWatch_delete(ud_obj)\n" --" ZMQ_StopWatch_objects[ud_obj] = nil\n" --" return obj_udata_luadelete_weak(ud_obj, ZMQ_StopWatch_mt)\n" --"end\n" -+"do\n" -+" local obj_mt, obj_type, obj_ctype = obj_register_ctype(\"ZMQ_Socket\", \"ZMQ_Socket *\")\n" -+"\n" -+" function obj_type_ZMQ_Socket_check(ptr)\n" -+" -- if ptr is nil or is the correct type, then just return it.\n" -+" if not ptr or ffi.istype(obj_ctype, ptr) then return ptr end\n" -+" -- check if it is a compatible type.\n" -+" local ctype = tostring(ffi.typeof(ptr))\n" -+" local bcaster = _obj_subs.ZMQ_Socket[ctype]\n" -+" if bcaster then\n" -+" return bcaster(ptr)\n" -+" end\n" -+" return error(\"Expected 'ZMQ_Socket *'\", 2)\n" -+" end\n" - "\n" --"local ZMQ_StopWatch_type = ffi.cast(\"obj_type *\", ZMQ_StopWatch_mt[\".type\"])\n" --"function obj_type_ZMQ_StopWatch_push(c_obj, flags)\n" --" local ud_obj = obj_udata_luapush_weak(c_obj, ZMQ_StopWatch_mt, ZMQ_StopWatch_type, flags)\n" --" ZMQ_StopWatch_objects[ud_obj] = c_obj\n" --" return ud_obj\n" --"end\n" --"end)()\n" -+" function obj_type_ZMQ_Socket_delete(ptr)\n" -+" local id = obj_ptr_to_id(ptr)\n" -+" local flags = nobj_obj_flags[id]\n" -+" if not flags then return nil, 0 end\n" -+" ffi.gc(ptr, nil)\n" -+" nobj_obj_flags[id] = nil\n" -+" return ptr, flags\n" -+" end\n" - "\n" -+" function obj_type_ZMQ_Socket_push(ptr, flags)\n" -+" local id = obj_ptr_to_id(ptr)\n" -+" -- check weak refs\n" -+" if nobj_obj_flags[id] then return nobj_weak_objects[id] end\n" - "\n" --"local get_zmq_strerror = ffi.new(\"get_zmq_strerror_func\", _priv[\"get_zmq_strerror\"])\n" -+" if flags ~= 0 then\n" -+" nobj_obj_flags[id] = flags\n" -+" ffi.gc(ptr, obj_mt.__gc)\n" -+" end\n" -+" nobj_weak_objects[id] = ptr\n" -+" return ptr\n" -+" end\n" - "\n" --"local simple_zmq_send = ffi.new(\"simple_zmq_send_func\", _priv[\"simple_zmq_send\"])\n" -+" function obj_mt:__tostring()\n" -+" return sformat(\"ZMQ_Socket: %p, flags=%d\", self, nobj_obj_flags[obj_ptr_to_id(self)] or 0)\n" -+" end\n" - "\n" --"local poller_find_sock_item = ffi.new(\"poller_find_sock_item_func\", _priv[\"poller_find_sock_item\"])\n" -+" -- type checking function for C API.\n" -+" _priv[obj_type] = obj_type_ZMQ_Socket_check\n" -+" -- push function for C API.\n" -+" reg_table[obj_type] = function(ptr, flags)\n" -+" return obj_type_ZMQ_Socket_push(ffi.cast(obj_ctype,ptr), flags)\n" -+" end\n" - "\n" --"local poller_find_fd_item = ffi.new(\"poller_find_fd_item_func\", _priv[\"poller_find_fd_item\"])\n" -+" -- export check functions for use in other modules.\n" -+" obj_mt.c_check = obj_type_ZMQ_Socket_check\n" -+" obj_mt.ffi_check = obj_type_ZMQ_Socket_check\n" -+"end\n" - "\n" --"local poller_get_free_item = ffi.new(\"poller_get_free_item_func\", _priv[\"poller_get_free_item\"])\n" - "\n" --"local poller_poll = ffi.new(\"poller_poll_func\", _priv[\"poller_poll\"])\n" -+"local obj_type_ZMQ_Poller_check\n" -+"local obj_type_ZMQ_Poller_delete\n" -+"local obj_type_ZMQ_Poller_push\n" - "\n" --"local poller_remove_item = ffi.new(\"poller_remove_item_func\", _priv[\"poller_remove_item\"])\n" -+"do\n" -+" local obj_mt, obj_type, obj_ctype = obj_register_ctype(\"ZMQ_Poller\", \"ZMQ_Poller\")\n" -+" local ZMQ_Poller_sizeof = ffi.sizeof\"ZMQ_Poller\"\n" - "\n" --"local os_lib_table = {\n" --" [\"Windows\"] = \"libzmq\",\n" --"}\n" --"local C = ffi.load(os_lib_table[ffi.os] or \"zmq\")\n" -+" function obj_type_ZMQ_Poller_check(obj)\n" -+" return obj\n" -+" end\n" - "\n" --"local C_get_zmq_strerror = get_zmq_strerror\n" --"-- make nicer wrapper for exported error function.\n" --"local function get_zmq_strerror()\n" --" return ffi.string(C_get_zmq_strerror())\n" --"end\n" -+" function obj_type_ZMQ_Poller_delete(obj)\n" -+" return obj\n" -+" end\n" - "\n" --"local function error_code__ZMQ_Error__push(err)\n" --" local err_str\n" --" if(-1 == err) then\n" --" err_str = get_zmq_strerror();\n" -+" function obj_type_ZMQ_Poller_push(obj)\n" -+" return obj\n" - " end\n" - "\n" --" return err_str\n" --"end\n" -+" function obj_mt:__tostring()\n" -+" return sformat(\"ZMQ_Poller: %p\", self)\n" -+" end\n" -+"\n" -+" function obj_mt.__eq(val1, val2)\n" -+" if not ffi.istype(obj_ctype, val2) then return false end\n" -+" assert(ffi.istype(obj_ctype, val1), \"expected ZMQ_Poller\")\n" -+" return (C.memcmp(val1, val2, ZMQ_Poller_sizeof) == 0)\n" -+" end\n" -+"\n" -+" -- type checking function for C API.\n" -+" local function c_check(obj)\n" -+" if ffi.istype(obj_ctype, obj) then return obj end\n" -+" return nil\n" -+" end\n" -+" _priv[obj_type] = c_check\n" -+" -- push function for C API.\n" -+" reg_table[obj_type] = function(ptr)\n" -+" local obj = obj_ctype()\n" -+" ffi.copy(obj, ptr, ZMQ_Poller_sizeof);\n" -+" return obj\n" -+" end\n" -+"\n" -+" -- export check functions for use in other modules.\n" -+" obj_mt.c_check = c_check\n" -+" obj_mt.ffi_check = obj_type_ZMQ_Poller_check\n" -+"end\n" -+"\n" -+"\n" -+"local obj_type_ZMQ_Ctx_check\n" -+"local obj_type_ZMQ_Ctx_delete\n" -+"local obj_type_ZMQ_Ctx_push\n" -+"\n" -+"do\n" -+" local obj_mt, obj_type, obj_ctype = obj_register_ctype(\"ZMQ_Ctx\", \"ZMQ_Ctx *\")\n" -+"\n" -+" function obj_type_ZMQ_Ctx_check(ptr)\n" -+" -- if ptr is nil or is the correct type, then just return it.\n" -+" if not ptr or ffi.istype(obj_ctype, ptr) then return ptr end\n" -+" -- check if it is a compatible type.\n" -+" local ctype = tostring(ffi.typeof(ptr))\n" -+" local bcaster = _obj_subs.ZMQ_Ctx[ctype]\n" -+" if bcaster then\n" -+" return bcaster(ptr)\n" -+" end\n" -+" return error(\"Expected 'ZMQ_Ctx *'\", 2)\n" -+" end\n" -+"\n" -+" function obj_type_ZMQ_Ctx_delete(ptr)\n" -+" local id = obj_ptr_to_id(ptr)\n" -+" local flags = nobj_obj_flags[id]\n" -+" if not flags then return nil, 0 end\n" -+" ffi.gc(ptr, nil)\n" -+" nobj_obj_flags[id] = nil\n" -+" return ptr, flags\n" -+" end\n" -+"\n" -+" function obj_type_ZMQ_Ctx_push(ptr, flags)\n" -+" local id = obj_ptr_to_id(ptr)\n" -+" -- check weak refs\n" -+" if nobj_obj_flags[id] then return nobj_weak_objects[id] end\n" -+"\n" -+" if flags ~= 0 then\n" -+" nobj_obj_flags[id] = flags\n" -+" ffi.gc(ptr, obj_mt.__gc)\n" -+" end\n" -+" nobj_weak_objects[id] = ptr\n" -+" return ptr\n" -+" end\n" -+"\n" -+" function obj_mt:__tostring()\n" -+" return sformat(\"ZMQ_Ctx: %p, flags=%d\", self, nobj_obj_flags[obj_ptr_to_id(self)] or 0)\n" -+" end\n" -+"\n" -+" -- type checking function for C API.\n" -+" _priv[obj_type] = obj_type_ZMQ_Ctx_check\n" -+" -- push function for C API.\n" -+" reg_table[obj_type] = function(ptr, flags)\n" -+" return obj_type_ZMQ_Ctx_push(ffi.cast(obj_ctype,ptr), flags)\n" -+" end\n" -+"\n" -+" -- export check functions for use in other modules.\n" -+" obj_mt.c_check = obj_type_ZMQ_Ctx_check\n" -+" obj_mt.ffi_check = obj_type_ZMQ_Ctx_check\n" -+"end\n" -+"\n" -+"\n" -+"local obj_type_ZMQ_StopWatch_check\n" -+"local obj_type_ZMQ_StopWatch_delete\n" -+"local obj_type_ZMQ_StopWatch_push\n" -+"\n" -+"do\n" -+" local obj_mt, obj_type, obj_ctype = obj_register_ctype(\"ZMQ_StopWatch\", \"ZMQ_StopWatch *\")\n" -+"\n" -+" function obj_type_ZMQ_StopWatch_check(ptr)\n" -+" -- if ptr is nil or is the correct type, then just return it.\n" -+" if not ptr or ffi.istype(obj_ctype, ptr) then return ptr end\n" -+" -- check if it is a compatible type.\n" -+" local ctype = tostring(ffi.typeof(ptr))\n" -+" local bcaster = _obj_subs.ZMQ_StopWatch[ctype]\n" -+" if bcaster then\n" -+" return bcaster(ptr)\n" -+" end\n" -+" return error(\"Expected 'ZMQ_StopWatch *'\", 2)\n" -+" end\n" -+"\n" -+" function obj_type_ZMQ_StopWatch_delete(ptr)\n" -+" local id = obj_ptr_to_id(ptr)\n" -+" local flags = nobj_obj_flags[id]\n" -+" if not flags then return nil, 0 end\n" -+" ffi.gc(ptr, nil)\n" -+" nobj_obj_flags[id] = nil\n" -+" return ptr, flags\n" -+" end\n" -+"\n" -+" function obj_type_ZMQ_StopWatch_push(ptr, flags)\n" -+" local id = obj_ptr_to_id(ptr)\n" -+" -- check weak refs\n" -+" if nobj_obj_flags[id] then return nobj_weak_objects[id] end\n" -+"\n" -+" if flags ~= 0 then\n" -+" nobj_obj_flags[id] = flags\n" -+" ffi.gc(ptr, obj_mt.__gc)\n" -+" end\n" -+" nobj_weak_objects[id] = ptr\n" -+" return ptr\n" -+" end\n" -+"\n" -+" function obj_mt:__tostring()\n" -+" return sformat(\"ZMQ_StopWatch: %p, flags=%d\", self, nobj_obj_flags[obj_ptr_to_id(self)] or 0)\n" -+" end\n" -+"\n" -+" -- type checking function for C API.\n" -+" _priv[obj_type] = obj_type_ZMQ_StopWatch_check\n" -+" -- push function for C API.\n" -+" reg_table[obj_type] = function(ptr, flags)\n" -+" return obj_type_ZMQ_StopWatch_push(ffi.cast(obj_ctype,ptr), flags)\n" -+" end\n" -+"\n" -+" -- export check functions for use in other modules.\n" -+" obj_mt.c_check = obj_type_ZMQ_StopWatch_check\n" -+" obj_mt.ffi_check = obj_type_ZMQ_StopWatch_check\n" -+"end\n" -+"\n" -+"\n" -+"local obj_type_Buffer_check =\n" -+" obj_get_interface_check(\"BufferIF\", \"Expected object with Buffer interface\")\n" -+"\n" -+"local obj_type_FD_check =\n" -+" obj_get_interface_check(\"FDIF\", \"Expected object with FD interface\")\n" -+"\n" -+"local obj_type_MutableBuffer_check =\n" -+" obj_get_interface_check(\"MutableBufferIF\", \"Expected object with MutableBuffer interface\")\n" -+"\n" -+"local os_lib_table = {\n" -+" [\"Windows\"] = \"libzmq\",\n" -+"}\n" -+"C = ffi_load(os_lib_table[ffi.os] or \"zmq\")\n" -+"\n" -+"\n" -+"-- Start \"ZErrors\" FFI interface\n" -+"-- End \"ZErrors\" FFI interface\n" -+"\n" -+"-- get ZErrors table to map errno to error name.\n" -+"local ZError_names = _M.ZErrors\n" -+"\n" -+"local function get_zmq_strerror()\n" -+" return ZError_names[C.zmq_errno()]\n" -+"end\n" -+"\n" -+"local function error_code__ZMQ_Error__push(err)\n" -+" local err_str\n" -+" if(-1 == err) then\n" -+" err_str = ZError_names[C.zmq_errno()]\n" -+" end\n" -+"\n" -+" return err_str\n" -+"end\n" - "\n" - "\n" - "-- Start \"zmq_msg_t\" FFI interface\n" -+"-- method: init\n" -+"function _pub.zmq_msg_t.init()\n" -+" local self = ffi.new(\"zmq_msg_t\")\n" -+" local rc_zmq_msg_init2 = 0\n" -+" rc_zmq_msg_init2 = C.zmq_msg_init(self)\n" -+" if (-1 == rc_zmq_msg_init2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_zmq_msg_init2)\n" -+" end\n" -+" return obj_type_zmq_msg_t_push(self)\n" -+"end\n" -+"register_default_constructor(_pub,\"zmq_msg_t\",_pub.zmq_msg_t.init)\n" -+"\n" -+"-- method: init_size\n" -+"function _pub.zmq_msg_t.init_size(size1)\n" -+" \n" -+" local self = ffi.new(\"zmq_msg_t\")\n" -+" local rc_zmq_msg_init_size2 = 0\n" -+" rc_zmq_msg_init_size2 = C.zmq_msg_init_size(self, size1)\n" -+" if (-1 == rc_zmq_msg_init_size2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_zmq_msg_init_size2)\n" -+" end\n" -+" return obj_type_zmq_msg_t_push(self)\n" -+"end\n" -+"\n" -+"-- method: init_data\n" -+"function _pub.zmq_msg_t.init_data(data1)\n" -+" local data_len1 = #data1\n" -+" local self = ffi.new(\"zmq_msg_t\")\n" -+" local err2 = 0\n" -+" err2 = C.zmq_msg_init_size(self, data_len1)\n" -+" if(0 == err2) then\n" -+" -- fill message\n" -+" ffi.copy(C.zmq_msg_data(self), data1, data_len1)\n" -+" end\n" -+"\n" -+" if (-1 == err2) then\n" -+" return nil,error_code__ZMQ_Error__push(err2)\n" -+" end\n" -+" return obj_type_zmq_msg_t_push(self)\n" -+"end\n" -+"\n" - "-- method: __gc\n" - "function _priv.zmq_msg_t.__gc(self)\n" --" local this1,this_flags1 = obj_type_zmq_msg_t_delete(self)\n" --" if(band(this_flags1,OBJ_UDATA_FLAG_OWN) == 0) then return end\n" --" local rc_zmq_msg_close1\n" --" rc_zmq_msg_close1 = C.zmq_msg_close(this1)\n" -+" local self = obj_type_zmq_msg_t_delete(self)\n" -+" if not self then return end\n" -+" local rc_zmq_msg_close1 = 0\n" -+" rc_zmq_msg_close1 = C.zmq_msg_close(self)\n" - " -- check for error.\n" --" local rc_zmq_msg_close1_err\n" - " if (-1 == rc_zmq_msg_close1) then\n" --" rc_zmq_msg_close1_err = error_code__ZMQ_Error__push(rc_zmq_msg_close1)\n" --" rc_zmq_msg_close1 = nil\n" --" else\n" --" rc_zmq_msg_close1 = true\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_msg_close1)\n" - " end\n" --" return rc_zmq_msg_close1, rc_zmq_msg_close1_err\n" -+" return true\n" - "end\n" - "\n" - "-- method: close\n" - "function _meth.zmq_msg_t.close(self)\n" --" local this1 = obj_type_zmq_msg_t_check(self)\n" --" local rc_zmq_msg_close1\n" --" rc_zmq_msg_close1 = C.zmq_msg_close(this1)\n" -+" \n" -+" local rc_zmq_msg_close1 = 0\n" -+" rc_zmq_msg_close1 = C.zmq_msg_close(self)\n" - " -- check for error.\n" --" local rc_zmq_msg_close1_err\n" - " if (-1 == rc_zmq_msg_close1) then\n" --" rc_zmq_msg_close1_err = error_code__ZMQ_Error__push(rc_zmq_msg_close1)\n" --" rc_zmq_msg_close1 = nil\n" --" else\n" --" rc_zmq_msg_close1 = true\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_msg_close1)\n" - " end\n" --" return rc_zmq_msg_close1, rc_zmq_msg_close1_err\n" -+" return true\n" - "end\n" - "\n" - "-- method: move\n" - "function _meth.zmq_msg_t.move(self, src2)\n" --" local this1 = obj_type_zmq_msg_t_check(self)\n" --" src2 = obj_type_zmq_msg_t_check(src2)\n" --" local rc_zmq_msg_move1\n" --" rc_zmq_msg_move1 = C.zmq_msg_move(this1, src2)\n" -+" \n" -+" \n" -+" local rc_zmq_msg_move1 = 0\n" -+" rc_zmq_msg_move1 = C.zmq_msg_move(self, src2)\n" - " -- check for error.\n" --" local rc_zmq_msg_move1_err\n" - " if (-1 == rc_zmq_msg_move1) then\n" --" rc_zmq_msg_move1_err = error_code__ZMQ_Error__push(rc_zmq_msg_move1)\n" --" rc_zmq_msg_move1 = nil\n" --" else\n" --" rc_zmq_msg_move1 = true\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_msg_move1)\n" - " end\n" --" return rc_zmq_msg_move1, rc_zmq_msg_move1_err\n" -+" return true\n" - "end\n" - "\n" - "-- method: copy\n" - "function _meth.zmq_msg_t.copy(self, src2)\n" --" local this1 = obj_type_zmq_msg_t_check(self)\n" --" src2 = obj_type_zmq_msg_t_check(src2)\n" --" local rc_zmq_msg_copy1\n" --" rc_zmq_msg_copy1 = C.zmq_msg_copy(this1, src2)\n" -+" \n" -+" \n" -+" local rc_zmq_msg_copy1 = 0\n" -+" rc_zmq_msg_copy1 = C.zmq_msg_copy(self, src2)\n" - " -- check for error.\n" --" local rc_zmq_msg_copy1_err\n" - " if (-1 == rc_zmq_msg_copy1) then\n" --" rc_zmq_msg_copy1_err = error_code__ZMQ_Error__push(rc_zmq_msg_copy1)\n" --" rc_zmq_msg_copy1 = nil\n" --" else\n" --" rc_zmq_msg_copy1 = true\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_msg_copy1)\n" - " end\n" --" return rc_zmq_msg_copy1, rc_zmq_msg_copy1_err\n" -+" return true\n" - "end\n" - "\n" - "-- method: set_data\n" - "function _meth.zmq_msg_t.set_data(self, data2)\n" --" local this1 = obj_type_zmq_msg_t_check(self)\n" -+" \n" - " local data_len2 = #data2\n" --" local err1\n" -+" local err1 = 0\n" - " -- check message data size.\n" --" if (C.zmq_msg_size(this1) ~= data_len2) then\n" -+" if (C.zmq_msg_size(self) ~= data_len2) then\n" - " -- need to resize message.\n" --" C.zmq_msg_close(this1); -- close old message, to free old data.\n" --" err1 = C.zmq_msg_init_size(this1, data_len2); -- re-initialize message.\n" -+" C.zmq_msg_close(self); -- close old message, to free old data.\n" -+" err1 = C.zmq_msg_init_size(self, data_len2); -- re-initialize message.\n" - " if (0 ~= err1) then\n" - " error(\"set_data() failed: \" .. get_zmq_strerror());\n" - " end\n" - " end\n" - " -- copy data into message\n" --" ffi.copy(C.zmq_msg_data(this1), data2, data_len2);\n" -+" ffi.copy(C.zmq_msg_data(self), data2, data_len2);\n" - "\n" - " -- check for error.\n" --" local err1_err\n" - " if (-1 == err1) then\n" --" err1_err = error_code__ZMQ_Error__push(err1)\n" --" err1 = nil\n" --" else\n" --" err1 = true\n" -+" return nil, error_code__ZMQ_Error__push(err1)\n" - " end\n" --" return err1, err1_err\n" -+" return true\n" - "end\n" - "\n" - "-- method: data\n" - "function _meth.zmq_msg_t.data(self)\n" --" local this1 = obj_type_zmq_msg_t_check(self)\n" -+" \n" - " local rc_zmq_msg_data1\n" --" rc_zmq_msg_data1 = C.zmq_msg_data(this1)\n" --" rc_zmq_msg_data1 = rc_zmq_msg_data1\n" -+" rc_zmq_msg_data1 = C.zmq_msg_data(self)\n" - " return rc_zmq_msg_data1\n" - "end\n" - "\n" - "-- method: set_size\n" - "function _meth.zmq_msg_t.set_size(self, size2)\n" --" local this1 = obj_type_zmq_msg_t_check(self)\n" - " \n" --" local err1\n" -+" \n" -+" local err1 = 0\n" - " -- check message data size.\n" --" if (C.zmq_msg_size(this1) ~= size2) then\n" -+" if (C.zmq_msg_size(self) ~= size2) then\n" - " -- need to resize message.\n" --" C.zmq_msg_close(this1); -- close old message, to free old data.\n" --" err1 = C.zmq_msg_init_size(this1, size2); -- re-initialize message.\n" -+" C.zmq_msg_close(self); -- close old message, to free old data.\n" -+" err1 = C.zmq_msg_init_size(self, size2); -- re-initialize message.\n" - " if (0 ~= err1) then\n" - " error(\"set_size() failed: \" .. get_zmq_strerror());\n" - " end\n" - " end\n" - "\n" - " -- check for error.\n" --" local err1_err\n" - " if (-1 == err1) then\n" --" err1_err = error_code__ZMQ_Error__push(err1)\n" --" err1 = nil\n" --" else\n" --" err1 = true\n" -+" return nil, error_code__ZMQ_Error__push(err1)\n" - " end\n" --" return err1, err1_err\n" -+" return true\n" - "end\n" - "\n" - "-- method: size\n" - "function _meth.zmq_msg_t.size(self)\n" --" local this1 = obj_type_zmq_msg_t_check(self)\n" --" local rc_zmq_msg_size1\n" --" rc_zmq_msg_size1 = C.zmq_msg_size(this1)\n" --" rc_zmq_msg_size1 = rc_zmq_msg_size1\n" --" return rc_zmq_msg_size1\n" -+" \n" -+" local size1 = 0\n" -+" size1 = C.zmq_msg_size(self)\n" -+" return tonumber(size1)\n" - "end\n" - "\n" - "-- method: __tostring\n" - "function _priv.zmq_msg_t.__tostring(self)\n" --" local this1 = obj_type_zmq_msg_t_check(self)\n" -+" \n" - " local data_len1 = 0\n" - " local data1\n" --" data1 = C.zmq_msg_data(this1);\n" --" data_len1 = C.zmq_msg_size(this1);\n" -+" data1 = C.zmq_msg_data(self);\n" -+" data_len1 = C.zmq_msg_size(self);\n" -+"\n" -+" return data1 ~= nil and ffi_string(data1,data_len1) or nil\n" -+"end\n" -+"\n" -+"-- zmq_msg_t implements Buffer interface\n" -+"do\n" -+" local impl_meths = obj_register_interface(\"BufferIF\", \"zmq_msg_t\")\n" -+"-- Buffer interface method const_data\n" -+"impl_meths.const_data = C.zmq_msg_data\n" -+"-- Buffer interface method get_size\n" -+"impl_meths.get_size = C.zmq_msg_size\n" -+"end\n" - "\n" --" data1 = ((nil ~= data1) and ffi.string(data1,data_len1))\n" --" return data1\n" -+"-- zmq_msg_t implements MutableBuffer interface\n" -+"do\n" -+" local impl_meths = obj_register_interface(\"MutableBufferIF\", \"zmq_msg_t\")\n" -+"-- MutableBuffer interface method data\n" -+"impl_meths.data = C.zmq_msg_data\n" -+"-- MutableBuffer interface method get_size\n" -+"impl_meths.get_size = C.zmq_msg_size\n" - "end\n" - "\n" -+"_push.zmq_msg_t = obj_type_zmq_msg_t_push\n" -+"ffi.metatype(\"zmq_msg_t\", _priv.zmq_msg_t)\n" - "-- End \"zmq_msg_t\" FFI interface\n" - "\n" - "\n" - "-- Start \"ZMQ_Socket\" FFI interface\n" - "-- method: close\n" - "function _meth.ZMQ_Socket.close(self)\n" --" local this1,this_flags1 = obj_type_ZMQ_Socket_delete(self)\n" --" if(band(this_flags1,OBJ_UDATA_FLAG_OWN) == 0) then return end\n" --" local rc_zmq_close1\n" --" rc_zmq_close1 = C.zmq_close(this1)\n" -+" local self,this_flags1 = obj_type_ZMQ_Socket_delete(self)\n" -+" if not self then return end\n" -+" local rc_zmq_close1 = 0\n" -+" rc_zmq_close1 = C.zmq_close(self)\n" - " -- check for error.\n" --" local rc_zmq_close1_err\n" - " if (-1 == rc_zmq_close1) then\n" --" rc_zmq_close1_err = error_code__ZMQ_Error__push(rc_zmq_close1)\n" --" rc_zmq_close1 = nil\n" --" else\n" --" rc_zmq_close1 = true\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_close1)\n" - " end\n" --" return rc_zmq_close1, rc_zmq_close1_err\n" -+" return true\n" - "end\n" -+"_priv.ZMQ_Socket.__gc = _meth.ZMQ_Socket.close\n" - "\n" - "-- method: bind\n" - "function _meth.ZMQ_Socket.bind(self, addr2)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" -+" \n" - " local addr_len2 = #addr2\n" --" local rc_zmq_bind1\n" --" rc_zmq_bind1 = C.zmq_bind(this1, addr2)\n" -+" local rc_zmq_bind1 = 0\n" -+" rc_zmq_bind1 = C.zmq_bind(self, addr2)\n" - " -- check for error.\n" --" local rc_zmq_bind1_err\n" - " if (-1 == rc_zmq_bind1) then\n" --" rc_zmq_bind1_err = error_code__ZMQ_Error__push(rc_zmq_bind1)\n" --" rc_zmq_bind1 = nil\n" --" else\n" --" rc_zmq_bind1 = true\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_bind1)\n" - " end\n" --" return rc_zmq_bind1, rc_zmq_bind1_err\n" -+" return true\n" -+"end\n" -+"\n" -+"-- method: unbind\n" -+"if (_meth.ZMQ_Socket.unbind) then\n" -+"function _meth.ZMQ_Socket.unbind(self, addr2)\n" -+" \n" -+" local addr_len2 = #addr2\n" -+" local rc_zmq_unbind1 = 0\n" -+" rc_zmq_unbind1 = C.zmq_unbind(self, addr2)\n" -+" -- check for error.\n" -+" if (-1 == rc_zmq_unbind1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_unbind1)\n" -+" end\n" -+" return true\n" -+"end\n" - "end\n" - "\n" - "-- method: connect\n" - "function _meth.ZMQ_Socket.connect(self, addr2)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" -+" \n" - " local addr_len2 = #addr2\n" --" local rc_zmq_connect1\n" --" rc_zmq_connect1 = C.zmq_connect(this1, addr2)\n" -+" local rc_zmq_connect1 = 0\n" -+" rc_zmq_connect1 = C.zmq_connect(self, addr2)\n" - " -- check for error.\n" --" local rc_zmq_connect1_err\n" - " if (-1 == rc_zmq_connect1) then\n" --" rc_zmq_connect1_err = error_code__ZMQ_Error__push(rc_zmq_connect1)\n" --" rc_zmq_connect1 = nil\n" --" else\n" --" rc_zmq_connect1 = true\n" --" end\n" --" return rc_zmq_connect1, rc_zmq_connect1_err\n" --"end\n" --"\n" --"local option_types = {\n" --"[zmq.HWM] = 'uint64_t[1]',\n" --"[zmq.SWAP] = 'int64_t[1]',\n" --"[zmq.AFFINITY] = 'uint64_t[1]',\n" --"[zmq.IDENTITY] = 'string',\n" --"[zmq.SUBSCRIBE] = 'string',\n" --"[zmq.UNSUBSCRIBE] = 'string',\n" --"[zmq.RATE] = 'int64_t[1]',\n" --"[zmq.RECOVERY_IVL] = 'int64_t[1]',\n" --"[zmq.MCAST_LOOP] = 'int64_t[1]',\n" --"[zmq.SNDBUF] = 'uint64_t[1]',\n" --"[zmq.RCVBUF] = 'uint64_t[1]',\n" --"[zmq.RCVMORE] = 'int64_t[1]',\n" --"[zmq.FD] = 'int[1]',\n" --"[zmq.EVENTS] = 'uint32_t[1]',\n" --"[zmq.TYPE] = 'int[1]',\n" --"[zmq.LINGER] = 'int[1]',\n" --"[zmq.RECONNECT_IVL] = 'int[1]',\n" --"[zmq.BACKLOG] = 'int[1]',\n" --"}\n" --"local option_len = {}\n" --"local option_tmps = {}\n" --"for k,v in pairs(option_types) do\n" --" if v ~= 'string' then\n" --" option_len[k] = ffi.sizeof(v)\n" --" option_tmps[k] = ffi.new(v, 0)\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_connect1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"\n" -+"-- method: disconnect\n" -+"if (_meth.ZMQ_Socket.disconnect) then\n" -+"function _meth.ZMQ_Socket.disconnect(self, addr2)\n" -+" \n" -+" local addr_len2 = #addr2\n" -+" local rc_zmq_disconnect1 = 0\n" -+" rc_zmq_disconnect1 = C.zmq_disconnect(self, addr2)\n" -+" -- check for error.\n" -+" if (-1 == rc_zmq_disconnect1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_disconnect1)\n" - " end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"local option_gets = {}\n" -+"local option_sets = {}\n" -+"\n" -+"do\n" -+" local opt_name\n" -+" local methods = _meth.ZMQ_Socket\n" -+" setmetatable(option_gets,{__index = function(tab,opt)\n" -+" local opt_name = opt_name[opt]\n" -+" if not opt_name then return nil end\n" -+" local method = methods[opt_name]\n" -+" rawset(tab, opt, method)\n" -+" return method\n" -+" end})\n" -+" setmetatable(option_sets,{__index = function(tab,opt)\n" -+" local opt_name = opt_name[opt]\n" -+" if not opt_name then return nil end\n" -+" local method = methods['set_' .. opt_name] or methods[opt_name]\n" -+" rawset(tab, opt, method)\n" -+" return method\n" -+" end})\n" -+" opt_name = {\n" -+" [1] = 'hwm',\n" -+" [3] = 'swap',\n" -+" [4] = 'affinity',\n" -+" [5] = 'identity',\n" -+" [6] = 'subscribe',\n" -+" [7] = 'unsubscribe',\n", /* ----- CUT ----- */ -+" [8] = 'rate',\n" -+" [9] = 'recovery_ivl',\n" -+" [10] = 'mcast_loop',\n" -+" [11] = 'sndbuf',\n" -+" [12] = 'rcvbuf',\n" -+" [13] = 'rcvmore',\n" -+" [14] = 'fd',\n" -+" [15] = 'events',\n" -+" [16] = 'type',\n" -+" [17] = 'linger',\n" -+" [18] = 'reconnect_ivl',\n" -+" [19] = 'backlog',\n" -+" [20] = 'recovery_ivl_msec',\n" -+" [21] = 'reconnect_ivl_max',\n" -+" [27] = 'rcvtimeo',\n" -+" [28] = 'sndtimeo',\n" -+" [22] = 'maxmsgsize',\n" -+" [23] = 'sndhwm',\n" -+" [24] = 'rcvhwm',\n" -+" [25] = 'multicast_hops',\n" -+" [31] = 'ipv4only',\n" -+"}\n" - "end\n" - "\n" - "\n" - "-- method: setopt\n" - "function _meth.ZMQ_Socket.setopt(self, opt2, val3)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" --" \n" --" local err1\n" --" local ctype = option_types[opt2]\n" --" local tval\n" --" local tval_len = 0\n" --" if ctype == 'string' then\n" --" tval = tostring(val3)\n" --" tval_len = #val3\n" -+" \n" -+" \n" -+" local err1 = 0\n" -+" local set = option_sets[opt2]\n" -+" if set then\n" -+" return set(self,val3)\n" - " else\n" --" tval = option_tmps[opt2]\n" --" tval[0] = val3\n" --" tval_len = option_len[opt2]\n" -+" error(\"Invalid socket option.\")\n" - " end\n" --" err1 = C.zmq_setsockopt(this1, opt2, tval, tval_len)\n" - "\n" - " -- check for error.\n" --" local err1_err\n" - " if (-1 == err1) then\n" --" err1_err = error_code__ZMQ_Error__push(err1)\n" --" err1 = nil\n" --" else\n" --" err1 = true\n" -+" return nil, error_code__ZMQ_Error__push(err1)\n" - " end\n" --" return err1, err1_err\n" -+" return true\n" - "end\n" - "\n" - "local tmp_val_len = ffi.new('size_t[1]', 4)\n" - "\n" - "-- method: getopt\n" - "function _meth.ZMQ_Socket.getopt(self, opt2)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" -+" \n" - " \n" - " local val1\n" --" local err2\n" --" local ctype = option_types[opt2]\n" --" local val\n" --" local val_len = tmp_val_len\n" --" if ctype == 'string' then\n" --" val_len[0] = 255\n" --" val = ffi.new('uint8_t[?]', val_len[0])\n" --" ffi.fill(val, val_len[0])\n" -+" local err2 = 0\n" -+" local get = option_gets[opt2]\n" -+" if get then\n" -+" return get(self)\n" - " else\n" --" val = option_tmps[opt2]\n" --" val[0] = 0\n" --" val_len[0] = option_len[opt2]\n" --" end\n" --" err2 = C.zmq_getsockopt(this1, opt2, val, val_len)\n" --" if err2 == 0 then\n" --" if ctype == 'string' then\n" --" val_len = val_len[0]\n" --" return ffi.string(val, val_len)\n" --" else\n" --" return tonumber(val[0])\n" --" end\n" -+" error(\"Invalid socket option.\")\n" - " end\n" - "\n" --" err2 = error_code__ZMQ_Error__push(err2)\n" --" return val1, err2\n" --"end\n" --"\n" --"-- temp. values for 'events' function.\n" --"local events_tmp = ffi.new('uint32_t[1]', 0)\n" --"local events_tmp_size = ffi.sizeof('uint32_t')\n" --"local events_tmp_len = ffi.new('size_t[1]', events_tmp_size)\n" --"local ZMQ_EVENTS = _M.EVENTS\n" --"\n" --"-- method: events\n" --"function _meth.ZMQ_Socket.events(self)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" --" local events1\n" --" local err2\n" --" events_tmp_len[0] = events_tmp_size\n" --" err2 = C.zmq_getsockopt(this1, ZMQ_EVENTS, events_tmp, events_tmp_len);\n" --" events1 = events_tmp[0]\n" --"\n" --" if not (-1 == err2) then\n" --" events1 = events1\n" --" else\n" --" events1 = nil\n" --" end\n" --" err2 = error_code__ZMQ_Error__push(err2)\n" --" return events1, err2\n" -+" return val1\n" - "end\n" - "\n" - "-- method: send_msg\n" - "function _meth.ZMQ_Socket.send_msg(self, msg2, flags3)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" --" msg2 = obj_type_zmq_msg_t_check(msg2)\n" --" flags3 = flags3 or 0\n" --" local rc_zmq_send1\n" --" rc_zmq_send1 = C.zmq_send(this1, msg2, flags3)\n" -+" \n" -+" \n" -+" flags3 = flags3 or 0\n" -+" local rc_zmq_sendmsg1 = 0\n" -+" rc_zmq_sendmsg1 = C.zmq_sendmsg(self, msg2, flags3)\n" - " -- check for error.\n" --" local rc_zmq_send1_err\n" --" if (-1 == rc_zmq_send1) then\n" --" rc_zmq_send1_err = error_code__ZMQ_Error__push(rc_zmq_send1)\n" --" rc_zmq_send1 = nil\n" --" else\n" --" rc_zmq_send1 = true\n" -+" if (-1 == rc_zmq_sendmsg1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_sendmsg1)\n" - " end\n" --" return rc_zmq_send1, rc_zmq_send1_err\n" -+" return true\n" - "end\n" - "\n" - "-- method: send\n" - "function _meth.ZMQ_Socket.send(self, data2, flags3)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" -+" \n" - " local data_len2 = #data2\n" --" flags3 = flags3 or 0\n" --" local err1\n" --" err1 = simple_zmq_send(this1, data2, data_len2, flags3);\n" --"\n" -+" flags3 = flags3 or 0\n" -+" local rc_simple_zmq_send1 = 0\n" -+" rc_simple_zmq_send1 = Cmod.simple_zmq_send(self, data2, data_len2, flags3)\n" - " -- check for error.\n" --" local err1_err\n" --" if (-1 == err1) then\n" --" err1_err = error_code__ZMQ_Error__push(err1)\n" --" err1 = nil\n" --" else\n" --" err1 = true\n" -+" if (-1 == rc_simple_zmq_send1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_simple_zmq_send1)\n" - " end\n" --" return err1, err1_err\n" -+" return true\n" - "end\n" - "\n" - "-- method: recv_msg\n" - "function _meth.ZMQ_Socket.recv_msg(self, msg2, flags3)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" --" msg2 = obj_type_zmq_msg_t_check(msg2)\n" --" flags3 = flags3 or 0\n" --" local rc_zmq_recv1\n" --" rc_zmq_recv1 = C.zmq_recv(this1, msg2, flags3)\n" -+" \n" -+" \n" -+" flags3 = flags3 or 0\n" -+" local rc_zmq_recvmsg1 = 0\n" -+" rc_zmq_recvmsg1 = C.zmq_recvmsg(self, msg2, flags3)\n" - " -- check for error.\n" --" local rc_zmq_recv1_err\n" --" if (-1 == rc_zmq_recv1) then\n" --" rc_zmq_recv1_err = error_code__ZMQ_Error__push(rc_zmq_recv1)\n" --" rc_zmq_recv1 = nil\n" --" else\n" --" rc_zmq_recv1 = true\n" -+" if (-1 == rc_zmq_recvmsg1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_recvmsg1)\n" - " end\n" --" return rc_zmq_recv1, rc_zmq_recv1_err\n" -+" return true\n" - "end\n" - "\n" - "local tmp_msg = ffi.new('zmq_msg_t')\n" - "\n" - "-- method: recv\n" - "function _meth.ZMQ_Socket.recv(self, flags2)\n" --" local this1 = obj_type_ZMQ_Socket_check(self)\n" --" flags2 = flags2 or 0\n" -+" \n" -+" flags2 = flags2 or 0\n" - " local data_len1 = 0\n" - " local data1\n" --" local err2\n" -+" local err2 = 0\n" - " local msg = tmp_msg\n" - " -- initialize blank message.\n" - " if C.zmq_msg_init(msg) < 0 then\n" -@@ -1658,1106 +2827,3603 @@ static const char zmq_ffi_lua_code[] = "local error = error\n" - " end\n" - "\n" - " -- receive message\n" --" err2 = C.zmq_recv(this1, msg, flags2)\n" --" if 0 == err2 then\n" -+" err2 = C.zmq_recvmsg(self, msg, flags2)\n" -+" if err2 >= 0 then\n" - " local data = ffi.string(C.zmq_msg_data(msg), C.zmq_msg_size(msg))\n" - " -- close message\n" - " C.zmq_msg_close(msg)\n" - " return data\n" - " end\n" - "\n" --" if not (-1 == err2) then\n" --" data1 = ((nil ~= data1) and ffi.string(data1,data_len1))\n" --" else\n" --" data1 = nil\n" -+" if (-1 == err2) then\n" -+" return nil,error_code__ZMQ_Error__push(err2)\n" - " end\n" --" err2 = error_code__ZMQ_Error__push(err2)\n" - " -- close message\n" - " C.zmq_msg_close(msg)\n" - "\n" --" return data1, err2\n" -+" return data1 ~= nil and ffi_string(data1,data_len1) or nil\n" - "end\n" - "\n" --"-- End \"ZMQ_Socket\" FFI interface\n" --"\n" -+"do\n" -+" local hwm_value_tmp = ffi.new(\"int[1]\")\n" - "\n" --"-- Start \"ZMQ_Poller\" FFI interface\n" --"-- method: poll\n" --"function _meth.ZMQ_Poller.poll(self, timeout2)\n" --" local this1 = obj_type_ZMQ_Poller_check(self)\n" -+"-- method: hwm\n" -+"if (_meth.ZMQ_Socket.hwm) then\n" -+"function _meth.ZMQ_Socket.hwm(self)\n" - " \n" --" local err1\n" --" -- poll for events\n" --" err1 = poller_poll(this1, timeout2)\n" --" if(err1 > 0) then\n" --" this1.next = 0\n" --" else\n" --" this1.next = -1\n" --" end\n" -+" local value1\n" -+" local rc_lzmq_socket_hwm2 = 0\n" -+" rc_lzmq_socket_hwm2 = Cmod.lzmq_socket_hwm(self, hwm_value_tmp)\n" -+" value1 = hwm_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_hwm2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_hwm2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" - "\n" -+"-- method: set_hwm\n" -+"if (_meth.ZMQ_Socket.set_hwm) then\n" -+"function _meth.ZMQ_Socket.set_hwm(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_hwm1 = 0\n" -+" rc_lzmq_socket_set_hwm1 = Cmod.lzmq_socket_set_hwm(self, value2)\n" - " -- check for error.\n" --" local err1_err\n" --" if (-1 == err1) then\n" --" err1_err = error_code__ZMQ_Error__push(err1)\n" --" err1 = nil\n" --" else\n" --" err1 = true\n" -+" if (-1 == rc_lzmq_socket_set_hwm1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_hwm1)\n" - " end\n" --" return err1, err1_err\n" -+" return true\n" -+"end\n" - "end\n" - "\n" --"-- method: next_revents\n" --"function _meth.ZMQ_Poller.next_revents(self)\n" --" local this1 = obj_type_ZMQ_Poller_check(self)\n" --" local sock1\n" --" local revents2\n" --" local sock\n" --" local idx = this1.next\n" --" if (idx < 0) then return nil, -1 end\n" --" local count = this1.count\n" --" -- find next item with pending events.\n" --" while (idx < count and this1.items[idx].revents == 0) do\n" --" idx = idx + 1\n" --" if (idx >= count) then\n" --" idx = -1\n" --" break\n" --" end\n" --" end\n" --" -- did we find a pending event?\n" --" if(idx >= 0) then\n" --" -- push the event's sock/fd.\n" --" if(this1.items[idx].socket ~= nil) then\n" --" sock = obj_type_ZMQ_Socket_push(this1.items[idx].socket, 0)\n" --" else\n" --" sock = tonumber(this1.items[idx].fd)\n" --" end\n" --" revents2 = this1.items[idx].revents\n" --" -- is this the last event.\n" --" idx = idx + 1\n" --" if (idx >= count) then\n" --" idx = -1\n" --" end\n" --" this1.next = idx\n" --" return sock, revents2\n" --" end\n" --" this1.next = idx\n" -+"do\n" -+" local swap_value_tmp = ffi.new(\"int[1]\")\n" - "\n" --" revents2 = revents2\n" --" return sock1, revents2\n" -+"-- method: swap\n" -+"if (_meth.ZMQ_Socket.swap) then\n" -+"function _meth.ZMQ_Socket.swap(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_swap2 = 0\n" -+" rc_lzmq_socket_swap2 = Cmod.lzmq_socket_swap(self, swap_value_tmp)\n" -+" value1 = swap_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_swap2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_swap2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" - "end\n" - "\n" --"-- method: count\n" --"function _meth.ZMQ_Poller.count(self)\n" --" local this1 = obj_type_ZMQ_Poller_check(self)\n" --" local count1\n" --" count1 = this1.count;\n" --"\n" --" count1 = count1\n" --" return count1\n" -+"-- method: set_swap\n" -+"if (_meth.ZMQ_Socket.set_swap) then\n" -+"function _meth.ZMQ_Socket.set_swap(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_swap1 = 0\n" -+" rc_lzmq_socket_set_swap1 = Cmod.lzmq_socket_set_swap(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_swap1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_swap1)\n" -+" end\n" -+" return true\n" -+"end\n" - "end\n" - "\n" --"-- End \"ZMQ_Poller\" FFI interface\n" -+"do\n" -+" local affinity_value_tmp = ffi.new(\"uint64_t[1]\")\n" - "\n" -+"-- method: affinity\n" -+"if (_meth.ZMQ_Socket.affinity) then\n" -+"function _meth.ZMQ_Socket.affinity(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_affinity2 = 0\n" -+" rc_lzmq_socket_affinity2 = Cmod.lzmq_socket_affinity(self, affinity_value_tmp)\n" -+" value1 = affinity_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_affinity2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_affinity2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" - "\n" --"-- Start \"ZMQ_Ctx\" FFI interface\n" --"-- method: term\n" --"function _meth.ZMQ_Ctx.term(self)\n" --" local this1,this_flags1 = obj_type_ZMQ_Ctx_delete(self)\n" --" if(band(this_flags1,OBJ_UDATA_FLAG_OWN) == 0) then return end\n" --" local rc_zmq_term1\n" --" rc_zmq_term1 = C.zmq_term(this1)\n" -+"-- method: set_affinity\n" -+"if (_meth.ZMQ_Socket.set_affinity) then\n" -+"function _meth.ZMQ_Socket.set_affinity(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_affinity1 = 0\n" -+" rc_lzmq_socket_set_affinity1 = Cmod.lzmq_socket_set_affinity(self, value2)\n" - " -- check for error.\n" --" local rc_zmq_term1_err\n" --" if (-1 == rc_zmq_term1) then\n" --" rc_zmq_term1_err = error_code__ZMQ_Error__push(rc_zmq_term1)\n" --" rc_zmq_term1 = nil\n" --" else\n" --" rc_zmq_term1 = true\n" -+" if (-1 == rc_lzmq_socket_set_affinity1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_affinity1)\n" - " end\n" --" return rc_zmq_term1, rc_zmq_term1_err\n" -+" return true\n" -+"end\n" - "end\n" - "\n" --"-- method: socket\n" --"function _meth.ZMQ_Ctx.socket(self, type2)\n" --" local this1 = obj_type_ZMQ_Ctx_check(self)\n" -+"do\n" -+" local identity_value_len_tmp = ffi.new(\"size_t[1]\")\n" -+"\n" -+"-- method: identity\n" -+"if (_meth.ZMQ_Socket.identity) then\n" -+"function _meth.ZMQ_Socket.identity(self)\n" - " \n" --" local rc_zmq_socket_flags1 = OBJ_UDATA_FLAG_OWN\n" --" local rc_zmq_socket1\n" --" rc_zmq_socket1 = C.zmq_socket(this1, type2)\n" --" local rc_zmq_socket1_err\n" --" if (nil == rc_zmq_socket1) then\n" --" rc_zmq_socket1_err = get_zmq_strerror()\n" --" else\n" --" rc_zmq_socket1 = obj_type_ZMQ_Socket_push(rc_zmq_socket1, rc_zmq_socket_flags1)\n" -+" local value_len1 = 0\n" -+" local value1\n" -+" local rc_lzmq_socket_identity2 = 0\n" -+" rc_lzmq_socket_identity2 = Cmod.lzmq_socket_identity(self, value1, identity_value_len_tmp)\n" -+" value_len1 = identity_value_len_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_identity2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_identity2)\n" - " end\n" --" return rc_zmq_socket1, rc_zmq_socket1_err\n" -+" return value1 ~= nil and ffi_string(value1,value_len1) or nil\n" -+"end\n" -+"end\n" - "end\n" - "\n" --"-- End \"ZMQ_Ctx\" FFI interface\n" --"\n" -+"-- method: set_identity\n" -+"if (_meth.ZMQ_Socket.set_identity) then\n" -+"function _meth.ZMQ_Socket.set_identity(self, value2)\n" -+" \n" -+" local value_len2 = #value2\n" -+" local rc_lzmq_socket_set_identity1 = 0\n" -+" rc_lzmq_socket_set_identity1 = Cmod.lzmq_socket_set_identity(self, value2, value_len2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_identity1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_identity1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" - "\n" --"-- Start \"ZMQ_StopWatch\" FFI interface\n" --"-- method: start\n" --"function _pub.ZMQ_StopWatch.start()\n" --" local this_flags1 = OBJ_UDATA_FLAG_OWN\n" --" local this1\n" --" this1 = C.zmq_stopwatch_start()\n" --" this1 = obj_type_ZMQ_StopWatch_push(this1, this_flags1)\n" --" return this1\n" -+"-- method: subscribe\n" -+"if (_meth.ZMQ_Socket.subscribe) then\n" -+"function _meth.ZMQ_Socket.subscribe(self, value2)\n" -+" \n" -+" local value_len2 = #value2\n" -+" local rc_lzmq_socket_subscribe1 = 0\n" -+" rc_lzmq_socket_subscribe1 = Cmod.lzmq_socket_subscribe(self, value2, value_len2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_subscribe1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_subscribe1)\n" -+" end\n" -+" return true\n" -+"end\n" - "end\n" - "\n" --"-- method: stop\n" --"function _meth.ZMQ_StopWatch.stop(self)\n" --" local this1,this_flags1 = obj_type_ZMQ_StopWatch_delete(self)\n" --" if(band(this_flags1,OBJ_UDATA_FLAG_OWN) == 0) then return end\n" --" local usecs1\n" --" usecs1 = C.zmq_stopwatch_stop(this1)\n" --" usecs1 = tonumber(usecs1)\n" --" return usecs1\n" -+"-- method: unsubscribe\n" -+"if (_meth.ZMQ_Socket.unsubscribe) then\n" -+"function _meth.ZMQ_Socket.unsubscribe(self, value2)\n" -+" \n" -+" local value_len2 = #value2\n" -+" local rc_lzmq_socket_unsubscribe1 = 0\n" -+" rc_lzmq_socket_unsubscribe1 = Cmod.lzmq_socket_unsubscribe(self, value2, value_len2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_unsubscribe1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_unsubscribe1)\n" -+" end\n" -+" return true\n" -+"end\n" - "end\n" - "\n" --"-- End \"ZMQ_StopWatch\" FFI interface\n" -+"do\n" -+" local rate_value_tmp = ffi.new(\"int[1]\")\n" - "\n" --"-- method: init\n" --"function _pub.zmq.init(io_threads1)\n" -+"-- method: rate\n" -+"if (_meth.ZMQ_Socket.rate) then\n" -+"function _meth.ZMQ_Socket.rate(self)\n" - " \n" --" local rc_zmq_init_flags1 = OBJ_UDATA_FLAG_OWN\n" --" local rc_zmq_init1\n" --" rc_zmq_init1 = C.zmq_init(io_threads1)\n" --" local rc_zmq_init1_err\n" --" if (nil == rc_zmq_init1) then\n" --" rc_zmq_init1_err = get_zmq_strerror()\n" --" else\n" --" rc_zmq_init1 = obj_type_ZMQ_Ctx_push(rc_zmq_init1, rc_zmq_init_flags1)\n" -+" local value1\n" -+" local rc_lzmq_socket_rate2 = 0\n" -+" rc_lzmq_socket_rate2 = Cmod.lzmq_socket_rate(self, rate_value_tmp)\n" -+" value1 = rate_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_rate2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_rate2)\n" - " end\n" --" return rc_zmq_init1, rc_zmq_init1_err\n" -+" return value1\n" -+"end\n" -+"end\n" - "end\n" - "\n" --"-- method: init_ctx\n" --"function _pub.zmq.init_ctx(ptr1)\n" --" local ctx1\n" --" local p_type = type(ptr1)\n" --" if p_type == 'userdata' then\n" --" ctx1 = ffi.cast('void *', ptr1);\n" --" elseif p_type == 'cdata' then\n" --" ctx1 = ptr1;\n" --" else\n" --" return error(\"expected lightuserdata/cdata\");\n" --" end\n" -+"-- method: set_rate\n" -+"if (_meth.ZMQ_Socket.set_rate) then\n" -+"function _meth.ZMQ_Socket.set_rate(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_rate1 = 0\n" -+" rc_lzmq_socket_set_rate1 = Cmod.lzmq_socket_set_rate(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_rate1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_rate1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" - "\n" --" local ctx1_err\n" --" if (nil == ctx1) then\n" --" ctx1_err = get_zmq_strerror()\n" --" else\n" --" ctx1 = obj_type_ZMQ_Ctx_push(ctx1, 0)\n" -+"do\n" -+" local recovery_ivl_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: recovery_ivl\n" -+"if (_meth.ZMQ_Socket.recovery_ivl) then\n" -+"function _meth.ZMQ_Socket.recovery_ivl(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_recovery_ivl2 = 0\n" -+" rc_lzmq_socket_recovery_ivl2 = Cmod.lzmq_socket_recovery_ivl(self, recovery_ivl_value_tmp)\n" -+" value1 = recovery_ivl_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_recovery_ivl2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_recovery_ivl2)\n" - " end\n" --" return ctx1, ctx1_err\n" -+" return value1\n" -+"end\n" -+"end\n" - "end\n" - "\n" --"-- method: device\n" --"function _pub.zmq.device(device1, insock2, outsock3)\n" -+"-- method: set_recovery_ivl\n" -+"if (_meth.ZMQ_Socket.set_recovery_ivl) then\n" -+"function _meth.ZMQ_Socket.set_recovery_ivl(self, value2)\n" - " \n" --" insock2 = obj_type_ZMQ_Socket_check(insock2)\n" --" outsock3 = obj_type_ZMQ_Socket_check(outsock3)\n" --" local rc_zmq_device1\n" --" rc_zmq_device1 = C.zmq_device(device1, insock2, outsock3)\n" -+" \n" -+" local rc_lzmq_socket_set_recovery_ivl1 = 0\n" -+" rc_lzmq_socket_set_recovery_ivl1 = Cmod.lzmq_socket_set_recovery_ivl(self, value2)\n" - " -- check for error.\n" --" local rc_zmq_device1_err\n" --" if (-1 == rc_zmq_device1) then\n" --" rc_zmq_device1_err = error_code__ZMQ_Error__push(rc_zmq_device1)\n" --" rc_zmq_device1 = nil\n" --" else\n" --" rc_zmq_device1 = true\n" -+" if (-1 == rc_lzmq_socket_set_recovery_ivl1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_recovery_ivl1)\n" - " end\n" --" return rc_zmq_device1, rc_zmq_device1_err\n" -+" return true\n" - "end\n" --"\n" --"-- method: stopwatch_start\n" --"function _pub.zmq.stopwatch_start()\n" --" local rc_zmq_stopwatch_start_flags1 = OBJ_UDATA_FLAG_OWN\n" --" local rc_zmq_stopwatch_start1\n" --" rc_zmq_stopwatch_start1 = C.zmq_stopwatch_start()\n" --" rc_zmq_stopwatch_start1 = obj_type_ZMQ_StopWatch_push(rc_zmq_stopwatch_start1, rc_zmq_stopwatch_start_flags1)\n" --" return rc_zmq_stopwatch_start1\n" - "end\n" - "\n" --"-- method: sleep\n" --"function _pub.zmq.sleep(seconds_1)\n" -+"do\n" -+" local mcast_loop_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: mcast_loop\n" -+"if (_meth.ZMQ_Socket.mcast_loop) then\n" -+"function _meth.ZMQ_Socket.mcast_loop(self)\n" - " \n" --" C.zmq_sleep(seconds_1)\n" --" return \n" -+" local value1\n" -+" local rc_lzmq_socket_mcast_loop2 = 0\n" -+" rc_lzmq_socket_mcast_loop2 = Cmod.lzmq_socket_mcast_loop(self, mcast_loop_value_tmp)\n" -+" value1 = mcast_loop_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_mcast_loop2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_mcast_loop2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" - "end\n" - "\n" --""; -- --/* detect zmq version >= 2.1.0 */ --#define VERSION_2_1 0 --#if defined(ZMQ_VERSION) --#if (ZMQ_VERSION >= ZMQ_MAKE_VERSION(2,1,0)) --#undef VERSION_2_1 --#define VERSION_2_1 1 -+"-- method: set_mcast_loop\n" -+"if (_meth.ZMQ_Socket.set_mcast_loop) then\n" -+"function _meth.ZMQ_Socket.set_mcast_loop(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_mcast_loop1 = 0\n" -+" rc_lzmq_socket_set_mcast_loop1 = Cmod.lzmq_socket_set_mcast_loop(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_mcast_loop1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_mcast_loop1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local sndbuf_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: sndbuf\n" -+"if (_meth.ZMQ_Socket.sndbuf) then\n" -+"function _meth.ZMQ_Socket.sndbuf(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_sndbuf2 = 0\n" -+" rc_lzmq_socket_sndbuf2 = Cmod.lzmq_socket_sndbuf(self, sndbuf_value_tmp)\n" -+" value1 = sndbuf_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_sndbuf2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_sndbuf2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_sndbuf\n" -+"if (_meth.ZMQ_Socket.set_sndbuf) then\n" -+"function _meth.ZMQ_Socket.set_sndbuf(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_sndbuf1 = 0\n" -+" rc_lzmq_socket_set_sndbuf1 = Cmod.lzmq_socket_set_sndbuf(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_sndbuf1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_sndbuf1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local rcvbuf_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: rcvbuf\n" -+"if (_meth.ZMQ_Socket.rcvbuf) then\n" -+"function _meth.ZMQ_Socket.rcvbuf(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_rcvbuf2 = 0\n" -+" rc_lzmq_socket_rcvbuf2 = Cmod.lzmq_socket_rcvbuf(self, rcvbuf_value_tmp)\n" -+" value1 = rcvbuf_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_rcvbuf2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_rcvbuf2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_rcvbuf\n" -+"if (_meth.ZMQ_Socket.set_rcvbuf) then\n" -+"function _meth.ZMQ_Socket.set_rcvbuf(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_rcvbuf1 = 0\n" -+" rc_lzmq_socket_set_rcvbuf1 = Cmod.lzmq_socket_set_rcvbuf(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_rcvbuf1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_rcvbuf1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local rcvmore_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: rcvmore\n" -+"if (_meth.ZMQ_Socket.rcvmore) then\n" -+"function _meth.ZMQ_Socket.rcvmore(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_rcvmore2 = 0\n" -+" rc_lzmq_socket_rcvmore2 = Cmod.lzmq_socket_rcvmore(self, rcvmore_value_tmp)\n" -+" value1 = rcvmore_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_rcvmore2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_rcvmore2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local fd_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: fd\n" -+"if (_meth.ZMQ_Socket.fd) then\n" -+"function _meth.ZMQ_Socket.fd(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_fd2 = 0\n" -+" rc_lzmq_socket_fd2 = Cmod.lzmq_socket_fd(self, fd_value_tmp)\n" -+" value1 = fd_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_fd2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_fd2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local events_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: events\n" -+"if (_meth.ZMQ_Socket.events) then\n" -+"function _meth.ZMQ_Socket.events(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_events2 = 0\n" -+" rc_lzmq_socket_events2 = Cmod.lzmq_socket_events(self, events_value_tmp)\n" -+" value1 = events_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_events2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_events2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local type_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: type\n" -+"if (_meth.ZMQ_Socket.type) then\n" -+"function _meth.ZMQ_Socket.type(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_type2 = 0\n" -+" rc_lzmq_socket_type2 = Cmod.lzmq_socket_type(self, type_value_tmp)\n" -+" value1 = type_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_type2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_type2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local linger_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: linger\n" -+"if (_meth.ZMQ_Socket.linger) then\n" -+"function _meth.ZMQ_Socket.linger(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_linger2 = 0\n" -+" rc_lzmq_socket_linger2 = Cmod.lzmq_socket_linger(self, linger_value_tmp)\n" -+" value1 = linger_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_linger2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_linger2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_linger\n" -+"if (_meth.ZMQ_Socket.set_linger) then\n" -+"function _meth.ZMQ_Socket.set_linger(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_linger1 = 0\n" -+" rc_lzmq_socket_set_linger1 = Cmod.lzmq_socket_set_linger(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_linger1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_linger1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n", /* ----- CUT ----- */ -+"do\n" -+" local reconnect_ivl_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: reconnect_ivl\n" -+"if (_meth.ZMQ_Socket.reconnect_ivl) then\n" -+"function _meth.ZMQ_Socket.reconnect_ivl(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_reconnect_ivl2 = 0\n" -+" rc_lzmq_socket_reconnect_ivl2 = Cmod.lzmq_socket_reconnect_ivl(self, reconnect_ivl_value_tmp)\n" -+" value1 = reconnect_ivl_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_reconnect_ivl2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_reconnect_ivl2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_reconnect_ivl\n" -+"if (_meth.ZMQ_Socket.set_reconnect_ivl) then\n" -+"function _meth.ZMQ_Socket.set_reconnect_ivl(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_reconnect_ivl1 = 0\n" -+" rc_lzmq_socket_set_reconnect_ivl1 = Cmod.lzmq_socket_set_reconnect_ivl(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_reconnect_ivl1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_reconnect_ivl1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local backlog_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: backlog\n" -+"if (_meth.ZMQ_Socket.backlog) then\n" -+"function _meth.ZMQ_Socket.backlog(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_backlog2 = 0\n" -+" rc_lzmq_socket_backlog2 = Cmod.lzmq_socket_backlog(self, backlog_value_tmp)\n" -+" value1 = backlog_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_backlog2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_backlog2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_backlog\n" -+"if (_meth.ZMQ_Socket.set_backlog) then\n" -+"function _meth.ZMQ_Socket.set_backlog(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_backlog1 = 0\n" -+" rc_lzmq_socket_set_backlog1 = Cmod.lzmq_socket_set_backlog(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_backlog1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_backlog1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local recovery_ivl_msec_value_tmp = ffi.new(\"int64_t[1]\")\n" -+"\n" -+"-- method: recovery_ivl_msec\n" -+"if (_meth.ZMQ_Socket.recovery_ivl_msec) then\n" -+"function _meth.ZMQ_Socket.recovery_ivl_msec(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_recovery_ivl_msec2 = 0\n" -+" rc_lzmq_socket_recovery_ivl_msec2 = Cmod.lzmq_socket_recovery_ivl_msec(self, recovery_ivl_msec_value_tmp)\n" -+" value1 = recovery_ivl_msec_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_recovery_ivl_msec2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_recovery_ivl_msec2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_recovery_ivl_msec\n" -+"if (_meth.ZMQ_Socket.set_recovery_ivl_msec) then\n" -+"function _meth.ZMQ_Socket.set_recovery_ivl_msec(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_recovery_ivl_msec1 = 0\n" -+" rc_lzmq_socket_set_recovery_ivl_msec1 = Cmod.lzmq_socket_set_recovery_ivl_msec(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_recovery_ivl_msec1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_recovery_ivl_msec1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local reconnect_ivl_max_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: reconnect_ivl_max\n" -+"if (_meth.ZMQ_Socket.reconnect_ivl_max) then\n" -+"function _meth.ZMQ_Socket.reconnect_ivl_max(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_reconnect_ivl_max2 = 0\n" -+" rc_lzmq_socket_reconnect_ivl_max2 = Cmod.lzmq_socket_reconnect_ivl_max(self, reconnect_ivl_max_value_tmp)\n" -+" value1 = reconnect_ivl_max_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_reconnect_ivl_max2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_reconnect_ivl_max2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_reconnect_ivl_max\n" -+"if (_meth.ZMQ_Socket.set_reconnect_ivl_max) then\n" -+"function _meth.ZMQ_Socket.set_reconnect_ivl_max(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_reconnect_ivl_max1 = 0\n" -+" rc_lzmq_socket_set_reconnect_ivl_max1 = Cmod.lzmq_socket_set_reconnect_ivl_max(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_reconnect_ivl_max1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_reconnect_ivl_max1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local maxmsgsize_value_tmp = ffi.new(\"int64_t[1]\")\n" -+"\n" -+"-- method: maxmsgsize\n" -+"if (_meth.ZMQ_Socket.maxmsgsize) then\n" -+"function _meth.ZMQ_Socket.maxmsgsize(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_maxmsgsize2 = 0\n" -+" rc_lzmq_socket_maxmsgsize2 = Cmod.lzmq_socket_maxmsgsize(self, maxmsgsize_value_tmp)\n" -+" value1 = maxmsgsize_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_maxmsgsize2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_maxmsgsize2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_maxmsgsize\n" -+"if (_meth.ZMQ_Socket.set_maxmsgsize) then\n" -+"function _meth.ZMQ_Socket.set_maxmsgsize(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_maxmsgsize1 = 0\n" -+" rc_lzmq_socket_set_maxmsgsize1 = Cmod.lzmq_socket_set_maxmsgsize(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_maxmsgsize1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_maxmsgsize1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local sndhwm_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: sndhwm\n" -+"if (_meth.ZMQ_Socket.sndhwm) then\n" -+"function _meth.ZMQ_Socket.sndhwm(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_sndhwm2 = 0\n" -+" rc_lzmq_socket_sndhwm2 = Cmod.lzmq_socket_sndhwm(self, sndhwm_value_tmp)\n" -+" value1 = sndhwm_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_sndhwm2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_sndhwm2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_sndhwm\n" -+"if (_meth.ZMQ_Socket.set_sndhwm) then\n" -+"function _meth.ZMQ_Socket.set_sndhwm(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_sndhwm1 = 0\n" -+" rc_lzmq_socket_set_sndhwm1 = Cmod.lzmq_socket_set_sndhwm(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_sndhwm1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_sndhwm1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local rcvhwm_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: rcvhwm\n" -+"if (_meth.ZMQ_Socket.rcvhwm) then\n" -+"function _meth.ZMQ_Socket.rcvhwm(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_rcvhwm2 = 0\n" -+" rc_lzmq_socket_rcvhwm2 = Cmod.lzmq_socket_rcvhwm(self, rcvhwm_value_tmp)\n" -+" value1 = rcvhwm_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_rcvhwm2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_rcvhwm2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_rcvhwm\n" -+"if (_meth.ZMQ_Socket.set_rcvhwm) then\n" -+"function _meth.ZMQ_Socket.set_rcvhwm(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_rcvhwm1 = 0\n" -+" rc_lzmq_socket_set_rcvhwm1 = Cmod.lzmq_socket_set_rcvhwm(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_rcvhwm1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_rcvhwm1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local multicast_hops_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: multicast_hops\n" -+"if (_meth.ZMQ_Socket.multicast_hops) then\n" -+"function _meth.ZMQ_Socket.multicast_hops(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_multicast_hops2 = 0\n" -+" rc_lzmq_socket_multicast_hops2 = Cmod.lzmq_socket_multicast_hops(self, multicast_hops_value_tmp)\n" -+" value1 = multicast_hops_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_multicast_hops2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_multicast_hops2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_multicast_hops\n" -+"if (_meth.ZMQ_Socket.set_multicast_hops) then\n" -+"function _meth.ZMQ_Socket.set_multicast_hops(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_multicast_hops1 = 0\n" -+" rc_lzmq_socket_set_multicast_hops1 = Cmod.lzmq_socket_set_multicast_hops(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_multicast_hops1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_multicast_hops1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local rcvtimeo_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: rcvtimeo\n" -+"if (_meth.ZMQ_Socket.rcvtimeo) then\n" -+"function _meth.ZMQ_Socket.rcvtimeo(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_rcvtimeo2 = 0\n" -+" rc_lzmq_socket_rcvtimeo2 = Cmod.lzmq_socket_rcvtimeo(self, rcvtimeo_value_tmp)\n" -+" value1 = rcvtimeo_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_rcvtimeo2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_rcvtimeo2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_rcvtimeo\n" -+"if (_meth.ZMQ_Socket.set_rcvtimeo) then\n" -+"function _meth.ZMQ_Socket.set_rcvtimeo(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_rcvtimeo1 = 0\n" -+" rc_lzmq_socket_set_rcvtimeo1 = Cmod.lzmq_socket_set_rcvtimeo(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_rcvtimeo1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_rcvtimeo1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local sndtimeo_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: sndtimeo\n" -+"if (_meth.ZMQ_Socket.sndtimeo) then\n" -+"function _meth.ZMQ_Socket.sndtimeo(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_sndtimeo2 = 0\n" -+" rc_lzmq_socket_sndtimeo2 = Cmod.lzmq_socket_sndtimeo(self, sndtimeo_value_tmp)\n" -+" value1 = sndtimeo_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_sndtimeo2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_sndtimeo2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_sndtimeo\n" -+"if (_meth.ZMQ_Socket.set_sndtimeo) then\n" -+"function _meth.ZMQ_Socket.set_sndtimeo(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_sndtimeo1 = 0\n" -+" rc_lzmq_socket_set_sndtimeo1 = Cmod.lzmq_socket_set_sndtimeo(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_sndtimeo1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_sndtimeo1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"do\n" -+" local ipv4only_value_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: ipv4only\n" -+"if (_meth.ZMQ_Socket.ipv4only) then\n" -+"function _meth.ZMQ_Socket.ipv4only(self)\n" -+" \n" -+" local value1\n" -+" local rc_lzmq_socket_ipv4only2 = 0\n" -+" rc_lzmq_socket_ipv4only2 = Cmod.lzmq_socket_ipv4only(self, ipv4only_value_tmp)\n" -+" value1 = ipv4only_value_tmp[0]\n" -+" if (-1 == rc_lzmq_socket_ipv4only2) then\n" -+" return nil,error_code__ZMQ_Error__push(rc_lzmq_socket_ipv4only2)\n" -+" end\n" -+" return value1\n" -+"end\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: set_ipv4only\n" -+"if (_meth.ZMQ_Socket.set_ipv4only) then\n" -+"function _meth.ZMQ_Socket.set_ipv4only(self, value2)\n" -+" \n" -+" \n" -+" local rc_lzmq_socket_set_ipv4only1 = 0\n" -+" rc_lzmq_socket_set_ipv4only1 = Cmod.lzmq_socket_set_ipv4only(self, value2)\n" -+" -- check for error.\n" -+" if (-1 == rc_lzmq_socket_set_ipv4only1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_lzmq_socket_set_ipv4only1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"_push.ZMQ_Socket = obj_type_ZMQ_Socket_push\n" -+"ffi.metatype(\"ZMQ_Socket\", _priv.ZMQ_Socket)\n" -+"-- End \"ZMQ_Socket\" FFI interface\n" -+"\n" -+"\n" -+"-- Start \"ZMQ_Poller\" FFI interface\n" -+"-- method: new\n" -+"function _pub.ZMQ_Poller.new(length1)\n" -+" length1 = length1 or 10\n" -+" local self = ffi.new(\"ZMQ_Poller\")\n" -+" Cmod.poller_init(self, length1)\n" -+" return obj_type_ZMQ_Poller_push(self)\n" -+"end\n" -+"register_default_constructor(_pub,\"ZMQ_Poller\",_pub.ZMQ_Poller.new)\n" -+"\n" -+"-- method: close\n" -+"function _meth.ZMQ_Poller.close(self)\n" -+" local self = obj_type_ZMQ_Poller_delete(self)\n" -+" if not self then return end\n" -+" Cmod.poller_cleanup(self)\n" -+" return \n" -+"end\n" -+"_priv.ZMQ_Poller.__gc = _meth.ZMQ_Poller.close\n" -+"\n" -+"-- method: add\n" -+"function _meth.ZMQ_Poller.add(self, sock2, events3)\n" -+" \n" -+" \n" -+" local idx1 = 0\n" -+" local fd = 0\n" -+" local sock_type = type(sock2)\n" -+" local sock\n" -+" if sock_type == 'cdata' then\n" -+" sock = obj_type_ZMQ_Socket_check(sock2)\n" -+" elseif sock_type == 'number' then\n" -+" fd = sock2\n" -+" else\n" -+" error(\"expected number or ZMQ_Socket\")\n" -+" end\n" -+" idx1 = Cmod.poller_get_free_item(self)\n" -+" local item = self.items[idx1]\n" -+" item.socket = sock\n" -+" item.fd = fd\n" -+" item.events = events3\n" -+"\n" -+" return idx1\n" -+"end\n" -+"\n" -+"-- method: modify\n" -+"function _meth.ZMQ_Poller.modify(self, sock2, events3)\n" -+" \n" -+" \n" -+" local idx1 = 0\n" -+" local fd = 0\n" -+" local sock_type = type(sock2)\n" -+" local sock\n" -+" if sock_type == 'cdata' then\n" -+" sock = obj_type_ZMQ_Socket_check(sock2)\n" -+" -- find sock in items list.\n" -+" idx1 = Cmod.poller_find_sock_item(self, sock)\n" -+" elseif sock_type == 'number' then\n" -+" fd = sock2\n" -+" -- find fd in items list.\n" -+" idx1 = Cmod.poller_find_fd_item(self, fd);\n" -+" else\n" -+" error(\"expected number or ZMQ_Socket\")\n" -+" end\n" -+" if events3 ~= 0 then\n" -+" local item = self.items[idx1]\n" -+" item.socket = sock\n" -+" item.fd = fd\n" -+" item.events = events3\n" -+" else\n" -+" Cmod.poller_remove_item(self, idx1)\n" -+" end\n" -+"\n" -+" return idx1\n" -+"end\n" -+"\n" -+"-- method: remove\n" -+"function _meth.ZMQ_Poller.remove(self, sock2)\n" -+" \n" -+" local idx1 = 0\n" -+" local fd = 0\n" -+" local sock_type = type(sock2)\n" -+" local sock\n" -+" if sock_type == 'cdata' then\n" -+" sock = obj_type_ZMQ_Socket_check(sock2)\n" -+" -- find sock in items list.\n" -+" idx1 = Cmod.poller_find_sock_item(self, sock)\n" -+" elseif sock_type == 'number' then\n" -+" fd = sock2\n" -+" -- find fd in items list.\n" -+" idx1 = Cmod.poller_find_fd_item(self, fd);\n" -+" else\n" -+" error(\"expected number or ZMQ_Socket\")\n" -+" end\n" -+" if idx1 >= 0 then\n" -+" Cmod.poller_remove_item(self, idx1)\n" -+" end\n" -+"\n" -+" return idx1\n" -+"end\n" -+"\n" -+"-- method: poll\n" -+"function _meth.ZMQ_Poller.poll(self, timeout2)\n" -+" \n" -+" \n" -+" local count1 = 0\n" -+" local err2 = 0\n" -+" err2 = Cmod.poller_poll(self, timeout2)\n" -+" if(err2 > 0) then\n" -+" self.next = 0\n" -+" count1 = err2\n" -+" else\n" -+" self.next = -1\n" -+" count1 = 0\n" -+" end\n" -+"\n" -+" if (-1 == err2) then\n" -+" return nil,error_code__ZMQ_Error__push(err2)\n" -+" end\n" -+" return count1\n" -+"end\n" -+"\n" -+"do\n" -+" local next_revents_idx_revents_tmp = ffi.new(\"int[1]\")\n" -+"\n" -+"-- method: next_revents_idx\n" -+"function _meth.ZMQ_Poller.next_revents_idx(self)\n" -+" \n" -+" local idx1 = 0\n" -+" local revents2\n" -+" idx1 = Cmod.poller_next_revents(self, next_revents_idx_revents_tmp)\n" -+" revents2 = next_revents_idx_revents_tmp[0]\n" -+" return idx1, revents2\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: count\n" -+"function _meth.ZMQ_Poller.count(self)\n" -+" \n" -+" local count1 = 0\n" -+" count1 = self.count;\n" -+"\n" -+" return count1\n" -+"end\n" -+"\n" -+"_push.ZMQ_Poller = obj_type_ZMQ_Poller_push\n" -+"ffi.metatype(\"ZMQ_Poller\", _priv.ZMQ_Poller)\n" -+"-- End \"ZMQ_Poller\" FFI interface\n" -+"\n" -+"\n" -+"-- Start \"ZMQ_Ctx\" FFI interface\n" -+"-- method: term\n" -+"function _meth.ZMQ_Ctx.term(self)\n" -+" local self,this_flags1 = obj_type_ZMQ_Ctx_delete(self)\n" -+" if not self then return end\n" -+" local rc_zmq_term1 = 0\n" -+" rc_zmq_term1 = C.zmq_term(self)\n" -+" -- check for error.\n" -+" if (-1 == rc_zmq_term1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_term1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"_priv.ZMQ_Ctx.__gc = _meth.ZMQ_Ctx.term\n" -+"\n" -+"-- method: socket\n" -+"function _meth.ZMQ_Ctx.socket(self, type2)\n" -+" \n" -+" \n" -+" local rc_zmq_socket_flags1 = OBJ_UDATA_FLAG_OWN\n" -+" local rc_zmq_socket1\n" -+" rc_zmq_socket1 = C.zmq_socket(self, type2)\n" -+" if (nil == rc_zmq_socket1) then\n" -+" return nil, get_zmq_strerror()\n" -+" end\n" -+" return obj_type_ZMQ_Socket_push(rc_zmq_socket1, rc_zmq_socket_flags1)\n" -+"end\n" -+"\n", /* ----- CUT ----- */ -+"-- method: set\n" -+"if (_meth.ZMQ_Ctx.set) then\n" -+"function _meth.ZMQ_Ctx.set(self, flag2, value3)\n" -+" \n" -+" \n" -+" \n" -+" local rc_zmq_ctx_set1 = 0\n" -+" rc_zmq_ctx_set1 = C.zmq_ctx_set(self, flag2, value3)\n" -+" return rc_zmq_ctx_set1\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: get\n" -+"if (_meth.ZMQ_Ctx.get) then\n" -+"function _meth.ZMQ_Ctx.get(self, flag2)\n" -+" \n" -+" \n" -+" local rc_zmq_ctx_get1 = 0\n" -+" rc_zmq_ctx_get1 = C.zmq_ctx_get(self, flag2)\n" -+" return rc_zmq_ctx_get1\n" -+"end\n" -+"end\n" -+"\n" -+"_push.ZMQ_Ctx = obj_type_ZMQ_Ctx_push\n" -+"ffi.metatype(\"ZMQ_Ctx\", _priv.ZMQ_Ctx)\n" -+"-- End \"ZMQ_Ctx\" FFI interface\n" -+"\n" -+"\n" -+"-- Start \"ZMQ_StopWatch\" FFI interface\n" -+"-- method: start\n" -+"function _pub.ZMQ_StopWatch.start()\n" -+" local this_flags1 = OBJ_UDATA_FLAG_OWN\n" -+" local self\n" -+" self = C.zmq_stopwatch_start()\n" -+" return obj_type_ZMQ_StopWatch_push(self, this_flags1)\n" -+"end\n" -+"register_default_constructor(_pub,\"ZMQ_StopWatch\",_pub.ZMQ_StopWatch.start)\n" -+"\n" -+"-- method: stop\n" -+"function _meth.ZMQ_StopWatch.stop(self)\n" -+" local self,this_flags1 = obj_type_ZMQ_StopWatch_delete(self)\n" -+" if not self then return end\n" -+" local usecs1 = 0\n" -+" usecs1 = C.zmq_stopwatch_stop(self)\n" -+" return tonumber(usecs1)\n" -+"end\n" -+"_priv.ZMQ_StopWatch.__gc = _meth.ZMQ_StopWatch.stop\n" -+"\n" -+"_push.ZMQ_StopWatch = obj_type_ZMQ_StopWatch_push\n" -+"ffi.metatype(\"ZMQ_StopWatch\", _priv.ZMQ_StopWatch)\n" -+"-- End \"ZMQ_StopWatch\" FFI interface\n" -+"\n" -+"-- method: init\n" -+"function _M.init(io_threads1)\n" -+" io_threads1 = io_threads1 or 1\n" -+" local rc_zmq_init_flags1 = OBJ_UDATA_FLAG_OWN\n" -+" local rc_zmq_init1\n" -+" rc_zmq_init1 = C.zmq_init(io_threads1)\n" -+" if (nil == rc_zmq_init1) then\n" -+" return nil, get_zmq_strerror()\n" -+" end\n" -+" return obj_type_ZMQ_Ctx_push(rc_zmq_init1, rc_zmq_init_flags1)\n" -+"end\n" -+"\n" -+"-- method: init_ctx\n" -+"function _M.init_ctx(ptr1)\n" -+" local ctx1\n" -+" local p_type = type(ptr1)\n" -+" if p_type == 'userdata' then\n" -+" ctx1 = ffi.cast('ZMQ_Ctx *', ptr1);\n" -+" elseif p_type == 'cdata' and ffi.istype('void *', ptr1) then\n" -+" ctx1 = ffi.cast('ZMQ_Ctx *', ptr1);\n" -+" else\n" -+" return error(\"expected lightuserdata/cdata\");\n" -+" end\n" -+"\n" -+" if (nil == ctx1) then\n" -+" return nil, get_zmq_strerror()\n" -+" end\n" -+" return obj_type_ZMQ_Ctx_push(ctx1, 0)\n" -+"end\n" -+"\n" -+"-- method: device\n" -+"if (_M.device) then\n" -+"function _M.device(device1, insock2, outsock3)\n" -+" \n" -+" \n" -+" \n" -+" local rc_zmq_device1 = 0\n" -+" rc_zmq_device1 = C.zmq_device(device1, insock2, outsock3)\n" -+" -- check for error.\n" -+" if (-1 == rc_zmq_device1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_device1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: proxy\n" -+"if (_M.proxy) then\n" -+"function _M.proxy(frontend1, backend2, capture3)\n" -+" \n" -+" \n" -+" capture3 = capture3 and obj_type_ZMQ_Socket_check(capture3) or nil\n" -+" local rc_zmq_proxy1 = 0\n" -+" rc_zmq_proxy1 = C.zmq_proxy(frontend1, backend2, capture3)\n" -+" -- check for error.\n" -+" if (-1 == rc_zmq_proxy1) then\n" -+" return nil, error_code__ZMQ_Error__push(rc_zmq_proxy1)\n" -+" end\n" -+" return true\n" -+"end\n" -+"end\n" -+"\n" -+"-- method: stopwatch_start\n" -+"function _M.stopwatch_start()\n" -+" local rc_zmq_stopwatch_start_flags1 = OBJ_UDATA_FLAG_OWN\n" -+" local rc_zmq_stopwatch_start1\n" -+" rc_zmq_stopwatch_start1 = C.zmq_stopwatch_start()\n" -+" return obj_type_ZMQ_StopWatch_push(rc_zmq_stopwatch_start1, rc_zmq_stopwatch_start_flags1)\n" -+"end\n" -+"\n" -+"-- method: sleep\n" -+"function _M.sleep(seconds_1)\n" -+" \n" -+" C.zmq_sleep(seconds_1)\n" -+" return \n" -+"end\n" -+"\n", NULL }; -+static char *zmq_ZErrors_key = "zmq_ZErrors_key"; -+/* -+ * This wrapper function is to make the EAGAIN/ETERM error messages more like -+ * what is returned by LuaSocket. -+ */ -+static const char *get_zmq_strerror() { -+ int err = zmq_errno(); -+ switch(err) { -+ case EAGAIN: -+ return "timeout"; -+ break; -+ case EINTR: -+ return "interrupted"; -+ break; -+#if defined(ETERM) -+ case ETERM: -+ return "closed"; -+ break; -+#endif -+ default: -+ break; -+ } -+ return zmq_strerror(err); -+} -+ -+ -+ -+/* detect really old ZeroMQ 2.0.x series. */ -+#if !defined(ZMQ_RCVMORE) -+# error "Your version of ZeroMQ is too old. Please upgrade to version 2.1 or to the latest 2.0.x" -+#endif -+ -+typedef struct ZMQ_Socket ZMQ_Socket; -+ -+#ifdef _WIN32 -+#include -+typedef SOCKET socket_t; -+#else -+typedef int socket_t; -+#endif -+ -+#if VERSION_2_0 -+# define zmq_sendmsg zmq_send -+# define zmq_recvmsg zmq_recv - #endif -+ -+/* socket option types. */ -+#define OPT_TYPE_NONE 0 -+#define OPT_TYPE_INT 1 -+#define OPT_TYPE_UINT32 2 -+#define OPT_TYPE_UINT64 3 -+#define OPT_TYPE_INT64 4 -+#define OPT_TYPE_BLOB 5 -+#define OPT_TYPE_FD 6 -+ -+static const int opt_types[] = { -+ OPT_TYPE_NONE, /* 0 unused */ -+#if VERSION_2_0 -+#define VERSION_2_0_MAX_OPT 13 -+ OPT_TYPE_UINT64, /* 1 ZMQ_HWM */ -+ OPT_TYPE_NONE, /* 2 unused */ -+ OPT_TYPE_INT64, /* 3 ZMQ_SWAP */ -+ OPT_TYPE_UINT64, /* 4 ZMQ_AFFINITY */ -+ OPT_TYPE_BLOB, /* 5 ZMQ_IDENTITY */ -+ OPT_TYPE_BLOB, /* 6 ZMQ_SUBSCRIBE */ -+ OPT_TYPE_BLOB, /* 7 ZMQ_UNSUBSCRIBE */ -+ OPT_TYPE_INT64, /* 8 ZMQ_RATE */ -+ OPT_TYPE_INT64, /* 9 ZMQ_RECOVERY_IVL */ -+ OPT_TYPE_INT64, /* 10 ZMQ_MCAST_LOOP */ -+ OPT_TYPE_UINT64, /* 11 ZMQ_SNDBUF */ -+ OPT_TYPE_UINT64, /* 12 ZMQ_RCVBUF */ -+ OPT_TYPE_INT64, /* 13 ZMQ_RCVMORE */ -+#endif /* #if VERSION_2_0 */ -+#if VERSION_2_1 -+#define VERSION_2_1_MAX_OPT 21 -+ OPT_TYPE_FD, /* 14 ZMQ_FD */ -+ OPT_TYPE_UINT32, /* 15 ZMQ_EVENTS */ -+ OPT_TYPE_INT, /* 16 ZMQ_TYPE */ -+ OPT_TYPE_INT, /* 17 ZMQ_LINGER */ -+ OPT_TYPE_INT, /* 18 ZMQ_RECONNECT_IVL */ -+ OPT_TYPE_INT, /* 19 ZMQ_BACKLOG */ -+ OPT_TYPE_INT64, /* 20 ZMQ_RECOVERY_IVL_MSEC */ -+ OPT_TYPE_INT, /* 21 ZMQ_RECONNECT_IVL_MAX */ -+#endif /* #if VERSION_2_1 */ -+#if VERSION_2_2 -+#define VERSION_2_2_MAX_OPT 28 -+ OPT_TYPE_NONE, /* 22 unused */ -+ OPT_TYPE_NONE, /* 23 unused */ -+ OPT_TYPE_NONE, /* 24 unused */ -+ OPT_TYPE_NONE, /* 25 unused */ -+ OPT_TYPE_NONE, /* 26 unused */ -+ OPT_TYPE_INT, /* 27 ZMQ_RCVTIMEO */ -+ OPT_TYPE_INT, /* 28 ZMQ_SNDTIMEO */ -+#endif /* #if VERSION_2_2 */ -+#if VERSION_3_0 -+#define VERSION_3_0_MAX_OPT 31 -+ OPT_TYPE_INT, /* 1 ZMQ_HWM */ -+ OPT_TYPE_NONE, /* 2 unused */ -+ OPT_TYPE_NONE, /* 3 unused */ -+ OPT_TYPE_UINT64, /* 4 ZMQ_AFFINITY */ -+ OPT_TYPE_BLOB, /* 5 ZMQ_IDENTITY */ -+ OPT_TYPE_BLOB, /* 6 ZMQ_SUBSCRIBE */ -+ OPT_TYPE_BLOB, /* 7 ZMQ_UNSUBSCRIBE */ -+ OPT_TYPE_INT, /* 8 ZMQ_RATE */ -+ OPT_TYPE_INT, /* 9 ZMQ_RECOVERY_IVL */ -+ OPT_TYPE_NONE, /* 10 unused */ -+ OPT_TYPE_INT, /* 11 ZMQ_SNDBUF */ -+ OPT_TYPE_INT, /* 12 ZMQ_RCVBUF */ -+ OPT_TYPE_INT, /* 13 ZMQ_RCVMORE */ -+ OPT_TYPE_FD, /* 14 ZMQ_FD */ -+ OPT_TYPE_INT, /* 15 ZMQ_EVENTS */ -+ OPT_TYPE_INT, /* 16 ZMQ_TYPE */ -+ OPT_TYPE_INT, /* 17 ZMQ_LINGER */ -+ OPT_TYPE_INT, /* 18 ZMQ_RECONNECT_IVL */ -+ OPT_TYPE_INT, /* 19 ZMQ_BACKLOG */ -+ OPT_TYPE_NONE, /* 20 unused */ -+ OPT_TYPE_INT, /* 21 ZMQ_RECONNECT_IVL_MAX */ -+ OPT_TYPE_INT64, /* 22 ZMQ_MAXMSGSIZE */ -+ OPT_TYPE_INT, /* 23 ZMQ_SNDHWM */ -+ OPT_TYPE_INT, /* 24 ZMQ_RCVHWM */ -+ OPT_TYPE_INT, /* 25 ZMQ_MULTICAST_HOPS */ -+ OPT_TYPE_NONE, /* 26 unused */ -+ OPT_TYPE_INT, /* 27 ZMQ_RCVTIMEO */ -+ OPT_TYPE_INT, /* 28 ZMQ_SNDTIMEO */ -+ OPT_TYPE_NONE, /* 29 unused */ -+ OPT_TYPE_NONE, /* 30 unused */ -+ OPT_TYPE_INT, /* 31 ZMQ_IPV4ONLY */ -+#endif /* #if VERSION_3_0 */ -+#if VERSION_3_0 -+# define MAX_OPTS VERSION_3_0_MAX_OPT -+#else -+# if VERSION_2_2 -+# define MAX_OPTS VERSION_2_2_MAX_OPT -+# elif VERSION_2_1 -+# define MAX_OPTS VERSION_2_1_MAX_OPT -+# else -+# define MAX_OPTS VERSION_2_0_MAX_OPT -+# endif - #endif -+}; -+ -+#if VERSION_2_0 -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_hwm(ZMQ_Socket *sock, int value) { -+ uint64_t val = (uint64_t)value; -+ return zmq_setsockopt(sock, ZMQ_HWM, &val, sizeof(val)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_hwm(ZMQ_Socket *sock, int *value) { -+ uint64_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_HWM, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_swap(ZMQ_Socket *sock, int value) { -+ int64_t val = (int64_t)value; -+ return zmq_setsockopt(sock, ZMQ_SWAP, &val, sizeof(val)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_swap(ZMQ_Socket *sock, int *value) { -+ int64_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_SWAP, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_affinity(ZMQ_Socket *sock, uint64_t value) { -+ return zmq_setsockopt(sock, ZMQ_AFFINITY, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_affinity(ZMQ_Socket *sock, uint64_t *value) { -+ size_t val_len = sizeof(uint64_t); -+ return zmq_getsockopt(sock, ZMQ_AFFINITY, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_identity(ZMQ_Socket *sock, const char *value, size_t str_len) { -+ return zmq_setsockopt(sock, ZMQ_IDENTITY, value, str_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_identity(ZMQ_Socket *sock, char *value, size_t *len) { -+ return zmq_getsockopt(sock, ZMQ_IDENTITY, value, len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_subscribe(ZMQ_Socket *sock, const char *value, size_t str_len) { -+ return zmq_setsockopt(sock, ZMQ_SUBSCRIBE, value, str_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_unsubscribe(ZMQ_Socket *sock, const char *value, size_t str_len) { -+ return zmq_setsockopt(sock, ZMQ_UNSUBSCRIBE, value, str_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_rate(ZMQ_Socket *sock, int value) { -+ int64_t val = (int64_t)value; -+ return zmq_setsockopt(sock, ZMQ_RATE, &val, sizeof(val)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rate(ZMQ_Socket *sock, int *value) { -+ int64_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_RATE, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_recovery_ivl(ZMQ_Socket *sock, int value) { -+ int64_t val = (int64_t)value; -+ return zmq_setsockopt(sock, ZMQ_RECOVERY_IVL, &val, sizeof(val)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_recovery_ivl(ZMQ_Socket *sock, int *value) { -+ int64_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_RECOVERY_IVL, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_mcast_loop(ZMQ_Socket *sock, int value) { -+ int64_t val = (int64_t)value; -+ return zmq_setsockopt(sock, ZMQ_MCAST_LOOP, &val, sizeof(val)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_mcast_loop(ZMQ_Socket *sock, int *value) { -+ int64_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_MCAST_LOOP, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_sndbuf(ZMQ_Socket *sock, int value) { -+ uint64_t val = (uint64_t)value; -+ return zmq_setsockopt(sock, ZMQ_SNDBUF, &val, sizeof(val)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_sndbuf(ZMQ_Socket *sock, int *value) { -+ uint64_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_SNDBUF, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_rcvbuf(ZMQ_Socket *sock, int value) { -+ uint64_t val = (uint64_t)value; -+ return zmq_setsockopt(sock, ZMQ_RCVBUF, &val, sizeof(val)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rcvbuf(ZMQ_Socket *sock, int *value) { -+ uint64_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_RCVBUF, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rcvmore(ZMQ_Socket *sock, int *value) { -+ int64_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_RCVMORE, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+#endif /* #if VERSION_2_0 */ -+#if VERSION_2_1 -+LUA_NOBJ_API ZMQ_Error lzmq_socket_fd(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_FD, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_events(ZMQ_Socket *sock, int *value) { -+ uint32_t val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ZMQ_EVENTS, &val, &val_len); -+ *value = (int)val; -+ return rc; -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_type(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_TYPE, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_linger(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_LINGER, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_linger(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_LINGER, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_reconnect_ivl(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RECONNECT_IVL, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_reconnect_ivl(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RECONNECT_IVL, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_backlog(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_BACKLOG, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_backlog(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_BACKLOG, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_recovery_ivl_msec(ZMQ_Socket *sock, int64_t value) { -+ return zmq_setsockopt(sock, ZMQ_RECOVERY_IVL_MSEC, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_recovery_ivl_msec(ZMQ_Socket *sock, int64_t *value) { -+ size_t val_len = sizeof(int64_t); -+ return zmq_getsockopt(sock, ZMQ_RECOVERY_IVL_MSEC, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_reconnect_ivl_max(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RECONNECT_IVL_MAX, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_reconnect_ivl_max(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RECONNECT_IVL_MAX, value, &val_len); -+} -+ -+#endif /* #if VERSION_2_1 */ -+#if VERSION_2_2 -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_rcvtimeo(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RCVTIMEO, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rcvtimeo(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RCVTIMEO, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_sndtimeo(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_SNDTIMEO, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_sndtimeo(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_SNDTIMEO, value, &val_len); -+} -+ -+#endif /* #if VERSION_2_2 */ -+#if VERSION_3_0 -+ZMQ_Error lzmq_socket_set_hwm(ZMQ_Socket *sock, int value) { -+ int val; -+ int rc; -+ val = (int)value; -+ rc = zmq_setsockopt(sock, ZMQ_SNDHWM, &value, sizeof(value)); -+ if(-1 == rc) return rc; -+ val = (int)value; -+ return zmq_setsockopt(sock, ZMQ_RCVHWM, &value, sizeof(value)); -+} -+ZMQ_Error lzmq_socket_hwm(ZMQ_Socket *sock, int *value) { -+ size_t val_len; -+ int rc; -+ val_len = sizeof(value); -+ rc = zmq_getsockopt(sock, ZMQ_SNDHWM, value, &val_len); -+ if(-1 == rc) return rc; -+ val_len = sizeof(value); -+ return zmq_getsockopt(sock, ZMQ_RCVHWM, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_affinity(ZMQ_Socket *sock, uint64_t value) { -+ return zmq_setsockopt(sock, ZMQ_AFFINITY, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_affinity(ZMQ_Socket *sock, uint64_t *value) { -+ size_t val_len = sizeof(uint64_t); -+ return zmq_getsockopt(sock, ZMQ_AFFINITY, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_identity(ZMQ_Socket *sock, const char *value, size_t str_len) { -+ return zmq_setsockopt(sock, ZMQ_IDENTITY, value, str_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_identity(ZMQ_Socket *sock, char *value, size_t *len) { -+ return zmq_getsockopt(sock, ZMQ_IDENTITY, value, len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_subscribe(ZMQ_Socket *sock, const char *value, size_t str_len) { -+ return zmq_setsockopt(sock, ZMQ_SUBSCRIBE, value, str_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_unsubscribe(ZMQ_Socket *sock, const char *value, size_t str_len) { -+ return zmq_setsockopt(sock, ZMQ_UNSUBSCRIBE, value, str_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_rate(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RATE, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rate(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RATE, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_recovery_ivl(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RECOVERY_IVL, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_recovery_ivl(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RECOVERY_IVL, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_sndbuf(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_SNDBUF, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_sndbuf(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_SNDBUF, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_rcvbuf(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RCVBUF, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rcvbuf(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RCVBUF, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rcvmore(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RCVMORE, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_fd(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_FD, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_events(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_EVENTS, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_type(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_TYPE, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_linger(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_LINGER, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_linger(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_LINGER, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_reconnect_ivl(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RECONNECT_IVL, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_reconnect_ivl(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RECONNECT_IVL, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_backlog(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_BACKLOG, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_backlog(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_BACKLOG, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_reconnect_ivl_max(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RECONNECT_IVL_MAX, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_reconnect_ivl_max(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RECONNECT_IVL_MAX, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_maxmsgsize(ZMQ_Socket *sock, int64_t value) { -+ return zmq_setsockopt(sock, ZMQ_MAXMSGSIZE, &value, sizeof(value)); -+} - --/* detect really old ZeroMQ 2.0.x series. */ --#if !defined(ZMQ_RCVMORE) --#error "Your version of ZeroMQ is too old. Please upgrade to version 2.1 or to the latest 2.0.x" -+LUA_NOBJ_API ZMQ_Error lzmq_socket_maxmsgsize(ZMQ_Socket *sock, int64_t *value) { -+ size_t val_len = sizeof(int64_t); -+ return zmq_getsockopt(sock, ZMQ_MAXMSGSIZE, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_sndhwm(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_SNDHWM, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_sndhwm(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_SNDHWM, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_rcvhwm(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RCVHWM, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rcvhwm(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RCVHWM, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_multicast_hops(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_MULTICAST_HOPS, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_multicast_hops(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_MULTICAST_HOPS, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_rcvtimeo(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_RCVTIMEO, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_rcvtimeo(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_RCVTIMEO, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_sndtimeo(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_SNDTIMEO, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_sndtimeo(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_SNDTIMEO, value, &val_len); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_set_ipv4only(ZMQ_Socket *sock, int value) { -+ return zmq_setsockopt(sock, ZMQ_IPV4ONLY, &value, sizeof(value)); -+} -+ -+LUA_NOBJ_API ZMQ_Error lzmq_socket_ipv4only(ZMQ_Socket *sock, int *value) { -+ size_t val_len = sizeof(int); -+ return zmq_getsockopt(sock, ZMQ_IPV4ONLY, value, &val_len); -+} -+ -+#endif /* #if VERSION_3_0 */ -+ -+LUA_NOBJ_API ZMQ_Error simple_zmq_send(ZMQ_Socket *sock, const char *data, size_t data_len, int flags) { -+ ZMQ_Error err; -+ zmq_msg_t msg; -+ /* initialize message */ -+ err = zmq_msg_init_size(&msg, data_len); -+ if(0 == err) { -+ /* fill message */ -+ memcpy(zmq_msg_data(&msg), data, data_len); -+ /* send message */ -+ err = zmq_sendmsg(sock, &msg, flags); -+ /* close message */ -+ zmq_msg_close(&msg); -+ } -+ return err; -+} -+ -+struct ZMQ_Poller { -+ zmq_pollitem_t *items; -+ int next; -+ int count; -+ int free_list; -+ int len; -+}; -+ -+ -+typedef struct ZMQ_Poller ZMQ_Poller; -+ -+#define FREE_ITEM_EVENTS_TAG ((short)0xFFFF) -+ -+#define ITEM_TO_INDEX(items, item) (item - (items)) -+ -+static int poller_resize_items(ZMQ_Poller *poller, int len) { -+ int old_len = poller->len; -+ -+ /* make sure new length is atleast as large as items count. */ -+ len = (poller->count <= len) ? len : poller->count; -+ -+ /* if the new length is the same as the old length, then don't try to resize. */ -+ if(old_len == len) return len; -+ -+ poller->items = (zmq_pollitem_t *)realloc(poller->items, len * sizeof(zmq_pollitem_t)); -+ poller->len = len; -+ if(len > old_len) { -+ /* clear new space. */ -+ memset(&(poller->items[old_len]), 0, (len - old_len) * sizeof(zmq_pollitem_t)); -+ } -+ return len; -+} -+ -+void poller_init(ZMQ_Poller *poller, int length) { -+ poller->items = (zmq_pollitem_t *)calloc(length, sizeof(zmq_pollitem_t)); -+ poller->next = -1; -+ poller->count = 0; -+ poller->len = length; -+ poller->free_list = -1; -+} -+ -+void poller_cleanup(ZMQ_Poller *poller) { -+ free(poller->items); -+ poller->items = NULL; -+ poller->next = -1; -+ poller->count = 0; -+ poller->len = 0; -+ poller->free_list = -1; -+} -+ -+int poller_find_sock_item(ZMQ_Poller *poller, ZMQ_Socket *sock) { -+ zmq_pollitem_t *items; -+ int count; -+ int n; -+ -+ /* find ZMQ_Socket */ -+ items = poller->items; -+ count = poller->count; -+ for(n=0; n < count; n++) { -+ if(items[n].socket == sock) return n; -+ } -+ /* not found. */ -+ return -1; -+} -+ -+int poller_find_fd_item(ZMQ_Poller *poller, socket_t fd) { -+ zmq_pollitem_t *items; -+ int count; -+ int n; -+ -+ /* find fd */ -+ items = poller->items; -+ count = poller->count; -+ for(n=0; n < count; n++) { -+ if(items[n].fd == fd) return n; -+ } -+ /* not found. */ -+ return -1; -+} -+ -+void poller_remove_item(ZMQ_Poller *poller, int idx) { -+ zmq_pollitem_t *items; -+ int free_list; -+ int count; -+ -+ count = poller->count; -+ /* no item to remove. */ -+ if(idx >= count || count == 0) return; -+ -+ items = poller->items; -+ free_list = poller->free_list; -+ -+ /* link new free slot to head of free list. */ -+ if(free_list >= 0 && free_list < count) { -+ /* use socket pointer for free list's 'next' field. */ -+ items[idx].socket = &(items[free_list]); -+ } else { -+ /* free list is empty mark poller slot as the end. */ -+ items[idx].socket = NULL; -+ } -+ poller->free_list = idx; -+ /* mark poller slot as a free slot. */ -+ items[idx].events = FREE_ITEM_EVENTS_TAG; -+ /* clear old revents. */ -+ items[idx].revents = 0; -+} -+ -+int poller_get_free_item(ZMQ_Poller *poller) { -+ zmq_pollitem_t *curr; -+ zmq_pollitem_t *next; -+ int count; -+ int idx; -+ -+ count = poller->count; -+ idx = poller->free_list; -+ /* check for a free slot in the free list. */ -+ if(idx >= 0 && idx < count) { -+ /* remove free slot from free list. */ -+ curr = &(poller->items[idx]); -+ /* valid free slot. */ -+ assert(curr->events == FREE_ITEM_EVENTS_TAG); -+ /* is poller the last free slot? */ -+ next = ((zmq_pollitem_t *)curr->socket); -+ if(next != NULL) { -+ /* set next free slot as head of free list. */ -+ poller->free_list = ITEM_TO_INDEX(poller->items, next); -+ } else { -+ /* free list is empty now. */ -+ poller->free_list = -1; -+ } -+ /* clear slot */ -+ memset(curr, 0, sizeof(zmq_pollitem_t)); -+ return idx; -+ } -+ -+ idx = count; -+ poller->count = ++count; -+ /* make room for new item. */ -+ if(count >= poller->len) { -+ poller_resize_items(poller, poller->len + 10); -+ } -+ return idx; -+} -+ -+static int poller_compact_items(ZMQ_Poller *poller) { -+ zmq_pollitem_t *items; -+ int count; -+ int old_count; -+ int next; -+ -+ count = poller->count; -+ /* if no free slot, then return. */ -+ if(poller->free_list < 0) return count; -+ old_count = count; -+ -+ items = poller->items; -+ next = 0; -+ /* find first free slot. */ -+ while(next < count && items[next].events != FREE_ITEM_EVENTS_TAG) { -+ ++next; -+ } -+ -+ /* move non-free slots into free slot. */ -+ count = next; -+ ++next; -+ while(next < old_count) { -+ if(items[next].events != FREE_ITEM_EVENTS_TAG) { -+ /* found non-free slot, move it to the current free slot. */ -+ items[count] = items[next]; -+ ++count; -+ } -+ ++next; -+ } -+ -+ /* clear old used-space */ -+ memset(&(items[count]), 0, ((old_count - count) * sizeof(zmq_pollitem_t))); -+ poller->count = count; -+ poller->free_list = -1; /* free list is now empty. */ -+ -+ assert(count <= poller->len); -+ return count; -+} -+ -+int poller_poll(ZMQ_Poller *poller, long timeout) { -+ int count; -+ /* remove free slots from items list. */ -+ if(poller->free_list >= 0) { -+ count = poller_compact_items(poller); -+ } else { -+ count = poller->count; -+ } -+ /* poll for events. */ -+ return zmq_poll(poller->items, count, timeout); -+} -+ -+int poller_next_revents(ZMQ_Poller *poller, int *revents) { -+ zmq_pollitem_t *items; -+ int count; -+ int idx; -+ int next; -+ -+ idx = poller->next; -+ /* do we need to poll for more events? */ -+ if(idx < 0) { -+ return idx; -+ } -+ items = poller->items; -+ count = poller->count; -+ /* find next item with pending events. */ -+ for(;idx < count; ++idx) { -+ /* did we find a pending event? */ -+ if(items[idx].revents != 0) { -+ *revents = items[idx].revents; -+ poller->next = idx+1; -+ return idx; -+ } -+ } -+ /* processed all pending events. */ -+ poller->next = -1; -+ *revents = 0; -+ return -1; -+} -+ -+ -+typedef struct ZMQ_Ctx ZMQ_Ctx; -+ -+typedef struct ZMQ_StopWatch ZMQ_StopWatch; -+ -+ -+ -+/* method: description */ -+static int ZErrors__description__meth(lua_State *L) { -+ const char * msg1 = NULL; -+ int err_type; -+ int err_num = -1; -+ -+ err_type = lua_type(L, 2); -+ if(err_type == LUA_TSTRING) { -+ lua_pushvalue(L, 2); -+ lua_rawget(L, 1); -+ if(lua_isnumber(L, -1)) { -+ err_num = lua_tointeger(L, -1); -+ } -+ lua_pop(L, 1); -+ } else if(err_type == LUA_TNUMBER) { -+ err_num = lua_tointeger(L, 2); -+ } else { -+ return luaL_argerror(L, 2, "expected string/number"); -+ } -+ if(err_num < 0) { -+ lua_pushnil(L); -+ lua_pushliteral(L, "UNKNOWN ERROR"); -+ return 2; -+ } -+ msg1 = strerror(err_num); -+ -+ lua_pushstring(L, msg1); -+ return 1; -+} -+ -+/* method: __index */ -+static int ZErrors____index__meth(lua_State *L) { -+ int err2; -+ const char * msg1 = NULL; -+ err2 = luaL_checkinteger(L,2); -+ switch(err2) { -+ case EAGAIN: -+ msg1 = "timeout"; -+ break; -+ case EINTR: -+ msg1 = "interrupted"; -+ break; -+#if defined(ETERM) -+ case ETERM: -+ msg1 = "closed"; -+ break; - #endif -+ default: -+ msg1 = zmq_strerror(err2); -+ break; -+ } -+ lua_pushvalue(L, 2); -+ lua_pushstring(L, msg1); -+ lua_rawset(L, 1); - --typedef struct ZMQ_Socket ZMQ_Socket; -- --#ifdef _WIN32 --#include --typedef SOCKET socket_t; --#else --typedef int socket_t; --#endif -+ lua_pushstring(L, msg1); -+ return 1; -+} - --/* socket option types. */ --#define OPT_TYPE_NONE 0 --#define OPT_TYPE_INT 1 --#define OPT_TYPE_UINT32 2 --#define OPT_TYPE_UINT64 3 --#define OPT_TYPE_INT64 4 --#define OPT_TYPE_STR 5 --#define OPT_TYPE_FD 6 -+static void error_code__ZMQ_Error__push(lua_State *L, ZMQ_Error err) { -+ const char *err_str = NULL; -+ int num; -+ if(-1 == err) { -+ /* get ZErrors table. */ -+ lua_pushlightuserdata(L, zmq_ZErrors_key); -+ lua_rawget(L, LUA_REGISTRYINDEX); -+ /* convert zmq_errno to string. */ -+ num = zmq_errno(); -+ lua_pushinteger(L, num); -+ lua_gettable(L, -2); -+ /* remove ZErrors table. */ -+ lua_remove(L, -2); -+ if(!lua_isnil(L, -1)) { -+ /* found error. */ -+ return; -+ } -+ /* Unknown error. */ -+ lua_pop(L, 1); -+ lua_pushfstring(L, "UNKNOWN ERROR(%d)", num); -+ return; -+ } - --static const int opt_types[] = { -- OPT_TYPE_NONE, /* 0 unused */ -- OPT_TYPE_UINT64, /* 1 ZMQ_HWM */ -- OPT_TYPE_NONE, /* 2 unused */ -- OPT_TYPE_INT64, /* 3 ZMQ_SWAP */ -- OPT_TYPE_UINT64, /* 4 ZMQ_AFFINITY */ -- OPT_TYPE_STR, /* 5 ZMQ_IDENTITY */ -- OPT_TYPE_STR, /* 6 ZMQ_SUBSCRIBE */ -- OPT_TYPE_STR, /* 7 ZMQ_UNSUBSCRIBE */ -- OPT_TYPE_INT64, /* 8 ZMQ_RATE */ -- OPT_TYPE_INT64, /* 9 ZMQ_RECOVERY_IVL */ -- OPT_TYPE_INT64, /* 10 ZMQ_MCAST_LOOP */ -- OPT_TYPE_UINT64, /* 11 ZMQ_SNDBUF */ -- OPT_TYPE_UINT64, /* 12 ZMQ_RCVBUF */ -- OPT_TYPE_INT64, /* 13 ZMQ_RCVMORE */ -+ if(err_str) { -+ lua_pushstring(L, err_str); -+ } else { -+ lua_pushnil(L); -+ } -+} - --#if VERSION_2_1 -- OPT_TYPE_FD, /* 14 ZMQ_FD */ -- OPT_TYPE_UINT32, /* 15 ZMQ_EVENTS */ -- OPT_TYPE_INT, /* 16 ZMQ_TYPE */ -- OPT_TYPE_INT, /* 17 ZMQ_LINGER */ -- OPT_TYPE_INT, /* 18 ZMQ_RECONNECT_IVL */ -- OPT_TYPE_INT, /* 19 ZMQ_BACKLOG */ --#endif --}; --#if VERSION_2_1 --#define MAX_OPTS ZMQ_BACKLOG --#else --#define MAX_OPTS ZMQ_RCVMORE --#endif -+/* method: init */ -+static int zmq_msg_t__init__meth(lua_State *L) { -+ zmq_msg_t this1_store; -+ zmq_msg_t * this1 = &(this1_store); -+ ZMQ_Error rc_zmq_msg_init2 = 0; -+ rc_zmq_msg_init2 = zmq_msg_init(this1); -+ if(!(-1 == rc_zmq_msg_init2)) { -+ obj_type_zmq_msg_t_push(L, this1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_zmq_msg_init2); -+ return 2; -+} - -+/* method: init_size */ -+static int zmq_msg_t__init_size__meth(lua_State *L) { -+ size_t size1; -+ zmq_msg_t this1_store; -+ zmq_msg_t * this1 = &(this1_store); -+ ZMQ_Error rc_zmq_msg_init_size2 = 0; -+ size1 = luaL_checkinteger(L,1); -+ rc_zmq_msg_init_size2 = zmq_msg_init_size(this1, size1); -+ if(!(-1 == rc_zmq_msg_init_size2)) { -+ obj_type_zmq_msg_t_push(L, this1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_zmq_msg_init_size2); -+ return 2; -+} - --static ZMQ_Error simple_zmq_send(ZMQ_Socket *sock, const char *data, size_t data_len, int flags) { -- ZMQ_Error err; -- zmq_msg_t msg; -- /* initialize message */ -- err = zmq_msg_init_size(&msg, data_len); -- if(0 == err) { -+/* method: init_data */ -+static int zmq_msg_t__init_data__meth(lua_State *L) { -+ size_t data_len1; -+ const char * data1; -+ zmq_msg_t this1_store; -+ zmq_msg_t * this1 = &(this1_store); -+ ZMQ_Error err2 = 0; -+ data1 = luaL_checklstring(L,1,&(data_len1)); -+ err2 = zmq_msg_init_size(this1, data_len1); -+ if(0 == err2) { - /* fill message */ -- memcpy(zmq_msg_data(&msg), data, data_len); -- /* send message */ -- err = zmq_send(sock, &msg, flags); -- /* close message */ -- zmq_msg_close(&msg); -+ memcpy(zmq_msg_data(this1), data1, data_len1); - } -- return err; -+ -+ if(!(-1 == err2)) { -+ obj_type_zmq_msg_t_push(L, this1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, err2); -+ return 2; - } - --struct ZMQ_Poller { -- zmq_pollitem_t *items; -- int next; -- int count; -- int free_list; -- int len; --}; -+/* method: _priv */ -+static int zmq_msg_t__delete__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ ZMQ_Error rc_zmq_msg_close1 = 0; -+ this1 = obj_type_zmq_msg_t_delete(L,1); -+ rc_zmq_msg_close1 = zmq_msg_close(this1); -+ /* check for error. */ -+ if((-1 == rc_zmq_msg_close1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_msg_close1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - -+/* method: close */ -+static int zmq_msg_t__close__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ ZMQ_Error rc_zmq_msg_close1 = 0; -+ this1 = obj_type_zmq_msg_t_check(L,1); -+ rc_zmq_msg_close1 = zmq_msg_close(this1); -+ /* check for error. */ -+ if((-1 == rc_zmq_msg_close1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_msg_close1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - --typedef struct ZMQ_Poller ZMQ_Poller; -+/* method: move */ -+static int zmq_msg_t__move__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ zmq_msg_t * src2; -+ ZMQ_Error rc_zmq_msg_move1 = 0; -+ this1 = obj_type_zmq_msg_t_check(L,1); -+ src2 = obj_type_zmq_msg_t_check(L,2); -+ rc_zmq_msg_move1 = zmq_msg_move(this1, src2); -+ /* check for error. */ -+ if((-1 == rc_zmq_msg_move1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_msg_move1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - --#define FREE_ITEM_EVENTS_TAG ((short)0xFFFF) -+/* method: copy */ -+static int zmq_msg_t__copy__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ zmq_msg_t * src2; -+ ZMQ_Error rc_zmq_msg_copy1 = 0; -+ this1 = obj_type_zmq_msg_t_check(L,1); -+ src2 = obj_type_zmq_msg_t_check(L,2); -+ rc_zmq_msg_copy1 = zmq_msg_copy(this1, src2); -+ /* check for error. */ -+ if((-1 == rc_zmq_msg_copy1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_msg_copy1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - --#define ITEM_TO_INDEX(items, item) (item - (items)) -+/* method: set_data */ -+static int zmq_msg_t__set_data__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ size_t data_len2; -+ const char * data2; -+ ZMQ_Error err1 = 0; -+ this1 = obj_type_zmq_msg_t_check(L,1); -+ data2 = luaL_checklstring(L,2,&(data_len2)); -+ /* check message data size. */ -+ if(zmq_msg_size(this1) != data_len2) { -+ /* need to resize message. */ -+ zmq_msg_close(this1); /* close old message, to free old data. */ -+ err1 = zmq_msg_init_size(this1, data_len2); /* re-initialize message. */ -+ if(0 != err1) { -+ luaL_error(L, "set_data() failed: %s", get_zmq_strerror()); -+ } -+ } -+ /* copy data into message */ -+ memcpy(zmq_msg_data(this1), data2, data_len2); - --static int poller_resize_items(ZMQ_Poller *poller, int len) { -- int old_len = poller->len; -+ /* check for error. */ -+ if((-1 == err1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, err1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+ -+/* method: data */ -+static int zmq_msg_t__data__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ void * rc_zmq_msg_data1 = NULL; -+ this1 = obj_type_zmq_msg_t_check(L,1); -+ rc_zmq_msg_data1 = zmq_msg_data(this1); -+ lua_pushlightuserdata(L, rc_zmq_msg_data1); -+ return 1; -+} -+ -+/* method: set_size */ -+static int zmq_msg_t__set_size__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ size_t size2; -+ ZMQ_Error err1 = 0; -+ this1 = obj_type_zmq_msg_t_check(L,1); -+ size2 = luaL_checkinteger(L,2); -+ /* check message data size. */ -+ if(zmq_msg_size(this1) != size2) { -+ /* need to resize message. */ -+ zmq_msg_close(this1); /* close old message, to free old data. */ -+ err1 = zmq_msg_init_size(this1, size2); /* re-initialize message. */ -+ if(0 != err1) { -+ luaL_error(L, "set_size() failed: %s", get_zmq_strerror()); -+ } -+ } -+ -+ /* check for error. */ -+ if((-1 == err1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, err1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+ -+/* method: size */ -+static int zmq_msg_t__size__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ size_t size1 = 0; -+ this1 = obj_type_zmq_msg_t_check(L,1); -+ size1 = zmq_msg_size(this1); -+ lua_pushinteger(L, size1); -+ return 1; -+} -+ -+/* method: __tostring */ -+static int zmq_msg_t____tostring__meth(lua_State *L) { -+ zmq_msg_t * this1; -+ size_t data_len1 = 0; -+ const char * data1 = NULL; -+ this1 = obj_type_zmq_msg_t_check(L,1); -+ data1 = zmq_msg_data(this1); -+ data_len1 = zmq_msg_size(this1); -+ -+ if(data1 == NULL) lua_pushnil(L); else lua_pushlstring(L, data1,data_len1); -+ return 1; -+} -+ -+/* method: close */ -+static int ZMQ_Socket__close__meth(lua_State *L) { -+ int this_flags1 = 0; -+ ZMQ_Socket * this1; -+ ZMQ_Error rc_zmq_close1 = 0; -+ this1 = obj_type_ZMQ_Socket_delete(L,1,&(this_flags1)); -+ if(!(this_flags1 & OBJ_UDATA_FLAG_OWN)) { return 0; } -+ rc_zmq_close1 = zmq_close(this1); -+ /* check for error. */ -+ if((-1 == rc_zmq_close1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_close1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+ -+/* method: bind */ -+static int ZMQ_Socket__bind__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t addr_len2; -+ const char * addr2; -+ ZMQ_Error rc_zmq_bind1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ addr2 = luaL_checklstring(L,2,&(addr_len2)); -+ rc_zmq_bind1 = zmq_bind(this1, addr2); -+ /* check for error. */ -+ if((-1 == rc_zmq_bind1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_bind1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - -- /* make sure new length is atleast as large as items count. */ -- len = (poller->count <= len) ? len : poller->count; -+/* method: unbind */ -+#if (VERSION_3_2) -+static int ZMQ_Socket__unbind__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t addr_len2; -+ const char * addr2; -+ ZMQ_Error rc_zmq_unbind1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ addr2 = luaL_checklstring(L,2,&(addr_len2)); -+ rc_zmq_unbind1 = zmq_unbind(this1, addr2); -+ /* check for error. */ -+ if((-1 == rc_zmq_unbind1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_unbind1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - -- /* if the new length is the same as the old length, then don't try to resize. */ -- if(old_len == len) return len; -+/* method: connect */ -+static int ZMQ_Socket__connect__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t addr_len2; -+ const char * addr2; -+ ZMQ_Error rc_zmq_connect1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ addr2 = luaL_checklstring(L,2,&(addr_len2)); -+ rc_zmq_connect1 = zmq_connect(this1, addr2); -+ /* check for error. */ -+ if((-1 == rc_zmq_connect1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_connect1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - -- poller->items = (zmq_pollitem_t *)realloc(poller->items, len * sizeof(zmq_pollitem_t)); -- poller->len = len; -- if(len > old_len) { -- /* clear new space. */ -- memset(&(poller->items[old_len]), 0, (len - old_len) * sizeof(zmq_pollitem_t)); -- } -- return len; -+/* method: disconnect */ -+#if (VERSION_3_2) -+static int ZMQ_Socket__disconnect__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t addr_len2; -+ const char * addr2; -+ ZMQ_Error rc_zmq_disconnect1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ addr2 = luaL_checklstring(L,2,&(addr_len2)); -+ rc_zmq_disconnect1 = zmq_disconnect(this1, addr2); -+ /* check for error. */ -+ if((-1 == rc_zmq_disconnect1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_disconnect1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; - } -+#endif - --static int poller_find_sock_item(ZMQ_Poller *poller, ZMQ_Socket *sock) { -- zmq_pollitem_t *items; -- int count; -- int n; -+/* method: setopt */ -+static int ZMQ_Socket__setopt__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ uint32_t opt2; -+ ZMQ_Error err1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ opt2 = luaL_checkinteger(L,2); -+ size_t val_len; -+ const void *val; - -- /* find ZMQ_Socket */ -- items = poller->items; -- count = poller->count; -- for(n=0; n < count; n++) { -- if(items[n].socket == sock) return n; -+#if defined(VERSION_2_1) || defined(VERSION_3_0) -+ socket_t fd_val; -+#endif -+ int int_val; -+ uint32_t uint32_val; -+ uint64_t uint64_val; -+ int64_t int64_val; -+ -+#if VERSION_3_0 -+ /* 3.0 backwards compatibility support for HWM. */ -+ if(opt2 == ZMQ_HWM) { -+ int_val = luaL_checklong(L, 3); -+ val = &int_val; -+ val_len = sizeof(int_val); -+ err1 = zmq_setsockopt(this1, ZMQ_SNDHWM, val, val_len); -+ if(-1 != err1) { -+ err1 = zmq_setsockopt(this1, ZMQ_RCVHWM, val, val_len); -+ } -+ goto finished; - } -- /* not found. */ -- return -1; --} -+#endif - --static int poller_find_fd_item(ZMQ_Poller *poller, socket_t fd) { -- zmq_pollitem_t *items; -- int count; -- int n; -+ if(opt2 > MAX_OPTS) { -+ return luaL_argerror(L, 2, "Invalid socket option."); -+ } - -- /* find fd */ -- items = poller->items; -- count = poller->count; -- for(n=0; n < count; n++) { -- if(items[n].fd == fd) return n; -+ switch(opt_types[opt2]) { -+#if defined(VERSION_2_1) || defined(VERSION_3_0) -+ case OPT_TYPE_FD: -+ fd_val = luaL_checklong(L, 3); -+ val = &fd_val; -+ val_len = sizeof(fd_val); -+ break; -+#endif -+ case OPT_TYPE_INT: -+ int_val = luaL_checklong(L, 3); -+ val = &int_val; -+ val_len = sizeof(int_val); -+ break; -+ case OPT_TYPE_UINT32: -+ uint32_val = luaL_checklong(L, 3); -+ val = &uint32_val; -+ val_len = sizeof(uint32_val); -+ break; -+ case OPT_TYPE_UINT64: -+ uint64_val = luaL_checklong(L, 3); -+ val = &uint64_val; -+ val_len = sizeof(uint64_val); -+ break; -+ case OPT_TYPE_INT64: -+ int64_val = luaL_checklong(L, 3); -+ val = &int64_val; -+ val_len = sizeof(int64_val); -+ break; -+ case OPT_TYPE_BLOB: -+ val = luaL_checklstring(L, 3, &(val_len)); -+ break; -+ default: -+ printf("Invalid socket option type, this shouldn't happen.\n"); -+ abort(); -+ break; - } -- /* not found. */ -- return -1; --} -+ err1 = zmq_setsockopt(this1, opt2, val, val_len); -+finished: - --static void poller_remove_item(ZMQ_Poller *poller, int idx) { -- zmq_pollitem_t *items; -- int free_list; -- int count; -+ /* check for error. */ -+ if((-1 == err1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, err1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - -- count = poller->count; -- /* no item to remove. */ -- if(idx >= count || count == 0) return; -+/* method: getopt */ -+static int ZMQ_Socket__getopt__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ uint32_t opt2; -+ ZMQ_Error err2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ opt2 = luaL_checkinteger(L,2); -+ size_t val_len; - -- items = poller->items; -- free_list = poller->free_list; -+#if defined(VERSION_2_1) || defined(VERSION_3_0) -+ socket_t fd_val; -+#endif -+ int int_val; -+ uint32_t uint32_val; -+ uint64_t uint64_val; -+ int64_t int64_val; -+#define STR_MAX 255 -+ char str_val[STR_MAX]; - -- /* link new free slot to head of free list. */ -- if(free_list >= 0 && free_list < count) { -- /* use socket pointer for free list's 'next' field. */ -- items[idx].socket = &(items[free_list]); -- } else { -- /* free list is empty mark poller slot as the end. */ -- items[idx].socket = NULL; -+ if(opt2 > MAX_OPTS) { -+ lua_pushnil(L); -+ lua_pushliteral(L, "Invalid socket option."); -+ return 2; - } -- poller->free_list = idx; -- /* mark poller slot as a free slot. */ -- items[idx].events = FREE_ITEM_EVENTS_TAG; -- /* clear old revents. */ -- items[idx].revents = 0; --} -- --static int poller_get_free_item(ZMQ_Poller *poller) { -- zmq_pollitem_t *curr; -- zmq_pollitem_t *next; -- int count; -- int idx; - -- count = poller->count; -- idx = poller->free_list; -- /* check for a free slot in the free list. */ -- if(idx >= 0 && idx < count) { -- /* remove free slot from free list. */ -- curr = &(poller->items[idx]); -- /* valid free slot. */ -- assert(curr->events == FREE_ITEM_EVENTS_TAG); -- /* is poller the last free slot? */ -- next = ((zmq_pollitem_t *)curr->socket); -- if(next != NULL) { -- /* set next free slot as head of free list. */ -- poller->free_list = ITEM_TO_INDEX(poller->items, next); -- } else { -- /* free list is empty now. */ -- poller->free_list = -1; -+ switch(opt_types[opt2]) { -+#if defined(VERSION_2_1) || defined(VERSION_3_0) -+ case OPT_TYPE_FD: -+ val_len = sizeof(fd_val); -+ err2 = zmq_getsockopt(this1, opt2, &fd_val, &val_len); -+ if(0 == err2) { -+ lua_pushinteger(L, (lua_Integer)fd_val); -+ return 1; - } -- /* clear slot */ -- memset(curr, 0, sizeof(zmq_pollitem_t)); -- return idx; -+ break; -+#endif -+ case OPT_TYPE_INT: -+ val_len = sizeof(int_val); -+ err2 = zmq_getsockopt(this1, opt2, &int_val, &val_len); -+ if(0 == err2) { -+ lua_pushinteger(L, (lua_Integer)int_val); -+ return 1; -+ } -+ break; -+ case OPT_TYPE_UINT32: -+ val_len = sizeof(uint32_val); -+ err2 = zmq_getsockopt(this1, opt2, &uint32_val, &val_len); -+ if(0 == err2) { -+ lua_pushinteger(L, (lua_Integer)uint32_val); -+ return 1; -+ } -+ break; -+ case OPT_TYPE_UINT64: -+ val_len = sizeof(uint64_val); -+ err2 = zmq_getsockopt(this1, opt2, &uint64_val, &val_len); -+ if(0 == err2) { -+ lua_pushinteger(L, (lua_Integer)uint64_val); -+ return 1; -+ } -+ break; -+ case OPT_TYPE_INT64: -+ val_len = sizeof(int64_val); -+ err2 = zmq_getsockopt(this1, opt2, &int64_val, &val_len); -+ if(0 == err2) { -+ lua_pushinteger(L, (lua_Integer)int64_val); -+ return 1; -+ } -+ break; -+ case OPT_TYPE_BLOB: -+ val_len = STR_MAX; -+ err2 = zmq_getsockopt(this1, opt2, str_val, &val_len); -+ if(0 == err2) { -+ lua_pushlstring(L, str_val, val_len); -+ return 1; -+ } -+#undef STR_MAX -+ break; -+ default: -+ printf("Invalid socket option type, this shouldn't happen.\n"); -+ abort(); -+ break; - } -+ lua_pushnil(L); - -- idx = count; -- poller->count = ++count; -- /* make room for new item. */ -- if(count >= poller->len) { -- poller_resize_items(poller, poller->len + 10); -- } -- return idx; -+ error_code__ZMQ_Error__push(L, err2); -+ return 2; - } - --static int poller_compact_items(ZMQ_Poller *poller) { -- zmq_pollitem_t *items; -- int count; -- int old_count; -- int next; -+/* method: send_msg */ -+static int ZMQ_Socket__send_msg__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ zmq_msg_t * msg2; -+ int flags3; -+ ZMQ_Error rc_zmq_sendmsg1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ msg2 = obj_type_zmq_msg_t_check(L,2); -+ flags3 = luaL_optinteger(L,3,0); -+ rc_zmq_sendmsg1 = zmq_sendmsg(this1, msg2, flags3); -+ /* check for error. */ -+ if((-1 == rc_zmq_sendmsg1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_sendmsg1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - -- count = poller->count; -- /* if no free slot, then return. */ -- if(poller->free_list < 0) return count; -- old_count = count; -+/* method: send */ -+static int ZMQ_Socket__send__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t data_len2; -+ const char * data2; -+ int flags3; -+ ZMQ_Error rc_simple_zmq_send1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ data2 = luaL_checklstring(L,2,&(data_len2)); -+ flags3 = luaL_optinteger(L,3,0); -+ rc_simple_zmq_send1 = simple_zmq_send(this1, data2, data_len2, flags3); -+ /* check for error. */ -+ if((-1 == rc_simple_zmq_send1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_simple_zmq_send1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - -- items = poller->items; -- next = 0; -- /* find first free slot. */ -- while(next < count && items[next].events != FREE_ITEM_EVENTS_TAG) { -- ++next; -- } -+/* method: recv_msg */ -+static int ZMQ_Socket__recv_msg__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ zmq_msg_t * msg2; -+ int flags3; -+ ZMQ_Error rc_zmq_recvmsg1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ msg2 = obj_type_zmq_msg_t_check(L,2); -+ flags3 = luaL_optinteger(L,3,0); -+ rc_zmq_recvmsg1 = zmq_recvmsg(this1, msg2, flags3); -+ /* check for error. */ -+ if((-1 == rc_zmq_recvmsg1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_recvmsg1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - -- /* move non-free slots into free slot. */ -- count = next; -- ++next; -- while(next < old_count) { -- if(items[next].events != FREE_ITEM_EVENTS_TAG) { -- /* found non-free slot, move it to the current free slot. */ -- items[count] = items[next]; -- ++count; -+/* method: recv */ -+static int ZMQ_Socket__recv__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int flags2; -+ size_t data_len1 = 0; -+ const char * data1 = NULL; -+ ZMQ_Error err2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ flags2 = luaL_optinteger(L,2,0); -+ zmq_msg_t msg; -+ /* initialize message */ -+ err2 = zmq_msg_init(&msg); -+ if(0 == err2) { -+ /* receive message */ -+ err2 = zmq_recvmsg(this1, &msg, flags2); -+ if(err2 >= 0) { -+ data1 = zmq_msg_data(&msg); -+ data_len1 = zmq_msg_size(&msg); - } -- ++next; - } - -- /* clear old used-space */ -- memset(&(items[count]), 0, ((old_count - count) * sizeof(zmq_pollitem_t))); -- poller->count = count; -- poller->free_list = -1; /* free list is now empty. */ -+ if(!(-1 == err2)) { -+ if(data1 == NULL) lua_pushnil(L); else lua_pushlstring(L, data1,data_len1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, err2); -+ /* close message */ -+ zmq_msg_close(&msg); - -- assert(count <= poller->len); -- return count; -+ return 2; - } - --static int poller_poll(ZMQ_Poller *poller, long timeout) { -- int count; -- /* remove free slots from items list. */ -- count = poller_compact_items(poller); -- /* poll for events. */ -- return zmq_poll(poller->items, count, timeout); -+/* method: hwm */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__hwm__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_hwm2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_hwm2 = lzmq_socket_hwm(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_hwm2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_hwm2); -+ return 2; - } -+#endif - -+/* method: set_hwm */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__set_hwm__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_hwm1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_hwm1 = lzmq_socket_set_hwm(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_hwm1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_hwm1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - --typedef struct ZMQ_Ctx ZMQ_Ctx; -+/* method: swap */ -+#if (VERSION_2_0) -+static int ZMQ_Socket__swap__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_swap2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_swap2 = lzmq_socket_swap(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_swap2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_swap2); -+ return 2; -+} -+#endif - --typedef struct ZMQ_StopWatch ZMQ_StopWatch; -+/* method: set_swap */ -+#if (VERSION_2_0) -+static int ZMQ_Socket__set_swap__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_swap1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_swap1 = lzmq_socket_set_swap(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_swap1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_swap1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - --/* -- * This wrapper function is to make the EAGAIN/ETERM error messages more like -- * what is returned by LuaSocket. -- */ --static const char *get_zmq_strerror() { -- int err = zmq_errno(); -- switch(err) { -- case EAGAIN: -- return "timeout"; -- break; --#if defined(ETERM) -- case ETERM: -- return "closed"; -- break; -+/* method: affinity */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__affinity__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ uint64_t value1 = 0; -+ ZMQ_Error rc_lzmq_socket_affinity2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_affinity2 = lzmq_socket_affinity(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_affinity2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_affinity2); -+ return 2; -+} - #endif -- default: -- break; -- } -- return zmq_strerror(err); -+ -+/* method: set_affinity */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__set_affinity__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ uint64_t value2; -+ ZMQ_Error rc_lzmq_socket_set_affinity1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_affinity1 = lzmq_socket_set_affinity(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_affinity1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_affinity1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; - } -+#endif - -+/* method: identity */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__identity__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t value_len1 = 0; -+ char * value1 = NULL; -+ ZMQ_Error rc_lzmq_socket_identity2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_identity2 = lzmq_socket_identity(this1, value1, &(value_len1)); -+ if(!(-1 == rc_lzmq_socket_identity2)) { -+ if(value1 == NULL) lua_pushnil(L); else lua_pushlstring(L, value1,value_len1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_identity2); -+ return 2; -+} -+#endif - -+/* method: set_identity */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__set_identity__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t value_len2; -+ const char * value2; -+ ZMQ_Error rc_lzmq_socket_set_identity1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checklstring(L,2,&(value_len2)); -+ rc_lzmq_socket_set_identity1 = lzmq_socket_set_identity(this1, value2, value_len2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_identity1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_identity1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - -+/* method: subscribe */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__subscribe__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t value_len2; -+ const char * value2; -+ ZMQ_Error rc_lzmq_socket_subscribe1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checklstring(L,2,&(value_len2)); -+ rc_lzmq_socket_subscribe1 = lzmq_socket_subscribe(this1, value2, value_len2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_subscribe1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_subscribe1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - --static void error_code__ZMQ_Error__push(lua_State *L, ZMQ_Error err) { -- const char *err_str = NULL; -- if(-1 == err) { -- err_str = get_zmq_strerror(); -- } -+/* method: unsubscribe */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__unsubscribe__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ size_t value_len2; -+ const char * value2; -+ ZMQ_Error rc_lzmq_socket_unsubscribe1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checklstring(L,2,&(value_len2)); -+ rc_lzmq_socket_unsubscribe1 = lzmq_socket_unsubscribe(this1, value2, value_len2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_unsubscribe1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_unsubscribe1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - -- if(err_str) { -- lua_pushstring(L, err_str); -- } else { -- lua_pushnil(L); -- } -+/* method: rate */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__rate__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_rate2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_rate2 = lzmq_socket_rate(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_rate2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_rate2); -+ return 2; - } -+#endif - --/* method: init */ --static int zmq_msg_t__init__meth(lua_State *L) { -- int this_flags1 = OBJ_UDATA_FLAG_OWN; -- zmq_msg_t * this1; -- ZMQ_Error err2 = 0; -- zmq_msg_t tmp; -- this1 = &tmp; -- err2 = zmq_msg_init(this1); -+/* method: set_rate */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__set_rate__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_rate1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_rate1 = lzmq_socket_set_rate(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_rate1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_rate1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - -- if(!(-1 == err2)) { -- obj_type_zmq_msg_t_push(L, this1, this_flags1); -+/* method: recovery_ivl */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__recovery_ivl__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_recovery_ivl2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_recovery_ivl2 = lzmq_socket_recovery_ivl(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_recovery_ivl2)) { -+ lua_pushinteger(L, value1); - } else { - lua_pushnil(L); - } -- error_code__ZMQ_Error__push(L, err2); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_recovery_ivl2); - return 2; - } -+#endif - --/* method: init_size */ --static int zmq_msg_t__init_size__meth(lua_State *L) { -- size_t size1 = luaL_checkinteger(L,1); -- int this_flags1 = OBJ_UDATA_FLAG_OWN; -- zmq_msg_t * this1; -- ZMQ_Error err2 = 0; -- zmq_msg_t tmp; -- this1 = &tmp; -- err2 = zmq_msg_init_size(this1, size1); -+/* method: set_recovery_ivl */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__set_recovery_ivl__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_recovery_ivl1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_recovery_ivl1 = lzmq_socket_set_recovery_ivl(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_recovery_ivl1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_recovery_ivl1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - -- if(!(-1 == err2)) { -- obj_type_zmq_msg_t_push(L, this1, this_flags1); -+/* method: mcast_loop */ -+#if (VERSION_2_0) -+static int ZMQ_Socket__mcast_loop__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_mcast_loop2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_mcast_loop2 = lzmq_socket_mcast_loop(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_mcast_loop2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_mcast_loop2); -+ return 2; -+} -+#endif -+ -+/* method: set_mcast_loop */ -+#if (VERSION_2_0) -+static int ZMQ_Socket__set_mcast_loop__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_mcast_loop1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_mcast_loop1 = lzmq_socket_set_mcast_loop(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_mcast_loop1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_mcast_loop1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif -+ -+/* method: sndbuf */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__sndbuf__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_sndbuf2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_sndbuf2 = lzmq_socket_sndbuf(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_sndbuf2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_sndbuf2); -+ return 2; -+} -+#endif -+ -+/* method: set_sndbuf */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__set_sndbuf__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_sndbuf1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_sndbuf1 = lzmq_socket_set_sndbuf(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_sndbuf1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_sndbuf1); - } else { -+ lua_pushboolean(L, 1); - lua_pushnil(L); - } -- error_code__ZMQ_Error__push(L, err2); - return 2; - } -+#endif - --/* method: init_data */ --static int zmq_msg_t__init_data__meth(lua_State *L) { -- size_t data_len1; -- const char * data1 = luaL_checklstring(L,1,&(data_len1)); -- int this_flags1 = OBJ_UDATA_FLAG_OWN; -- zmq_msg_t * this1; -- ZMQ_Error err2 = 0; -- zmq_msg_t tmp; -- this1 = &tmp; -- err2 = zmq_msg_init_size(this1, data_len1); -- if(0 == err2) { -- /* fill message */ -- memcpy(zmq_msg_data(this1), data1, data_len1); -- } -- -- if(!(-1 == err2)) { -- obj_type_zmq_msg_t_push(L, this1, this_flags1); -+/* method: rcvbuf */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__rcvbuf__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_rcvbuf2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_rcvbuf2 = lzmq_socket_rcvbuf(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_rcvbuf2)) { -+ lua_pushinteger(L, value1); - } else { - lua_pushnil(L); - } -- error_code__ZMQ_Error__push(L, err2); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_rcvbuf2); - return 2; - } -+#endif - --/* method: delete */ --static int zmq_msg_t__delete__meth(lua_State *L) { -- int this_flags1 = 0; -- zmq_msg_t * this1 = obj_type_zmq_msg_t_delete(L,1,&(this_flags1)); -- ZMQ_Error rc_zmq_msg_close1 = 0; -- if(!(this_flags1 & OBJ_UDATA_FLAG_OWN)) { return 0; } -- rc_zmq_msg_close1 = zmq_msg_close(this1); -+/* method: set_rcvbuf */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__set_rcvbuf__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_rcvbuf1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_rcvbuf1 = lzmq_socket_set_rcvbuf(this1, value2); - /* check for error. */ -- if((-1 == rc_zmq_msg_close1)) { -+ if((-1 == rc_lzmq_socket_set_rcvbuf1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_msg_close1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_rcvbuf1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -+#endif - --/* method: close */ --static int zmq_msg_t__close__meth(lua_State *L) { -- zmq_msg_t * this1 = obj_type_zmq_msg_t_check(L,1); -- ZMQ_Error rc_zmq_msg_close1 = 0; -- rc_zmq_msg_close1 = zmq_msg_close(this1); -- /* check for error. */ -- if((-1 == rc_zmq_msg_close1)) { -- lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_msg_close1); -+/* method: rcvmore */ -+#if (VERSION_2_0|VERSION_3_0) -+static int ZMQ_Socket__rcvmore__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_rcvmore2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_rcvmore2 = lzmq_socket_rcvmore(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_rcvmore2)) { -+ lua_pushinteger(L, value1); - } else { -- lua_pushboolean(L, 1); - lua_pushnil(L); - } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_rcvmore2); - return 2; - } -+#endif - --/* method: move */ --static int zmq_msg_t__move__meth(lua_State *L) { -- zmq_msg_t * this1 = obj_type_zmq_msg_t_check(L,1); -- zmq_msg_t * src2 = obj_type_zmq_msg_t_check(L,2); -- ZMQ_Error rc_zmq_msg_move1 = 0; -- rc_zmq_msg_move1 = zmq_msg_move(this1, src2); -- /* check for error. */ -- if((-1 == rc_zmq_msg_move1)) { -- lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_msg_move1); -+/* method: fd */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__fd__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_fd2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_fd2 = lzmq_socket_fd(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_fd2)) { -+ lua_pushinteger(L, value1); - } else { -- lua_pushboolean(L, 1); - lua_pushnil(L); - } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_fd2); - return 2; - } -+#endif - --/* method: copy */ --static int zmq_msg_t__copy__meth(lua_State *L) { -- zmq_msg_t * this1 = obj_type_zmq_msg_t_check(L,1); -- zmq_msg_t * src2 = obj_type_zmq_msg_t_check(L,2); -- ZMQ_Error rc_zmq_msg_copy1 = 0; -- rc_zmq_msg_copy1 = zmq_msg_copy(this1, src2); -- /* check for error. */ -- if((-1 == rc_zmq_msg_copy1)) { -+/* method: events */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__events__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_events2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_events2 = lzmq_socket_events(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_events2)) { -+ lua_pushinteger(L, value1); -+ } else { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_msg_copy1); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_events2); -+ return 2; -+} -+#endif -+ -+/* method: type */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__type__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_type2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_type2 = lzmq_socket_type(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_type2)) { -+ lua_pushinteger(L, value1); - } else { -- lua_pushboolean(L, 1); - lua_pushnil(L); - } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_type2); - return 2; - } -+#endif - --/* method: set_data */ --static int zmq_msg_t__set_data__meth(lua_State *L) { -- zmq_msg_t * this1 = obj_type_zmq_msg_t_check(L,1); -- size_t data_len2; -- const char * data2 = luaL_checklstring(L,2,&(data_len2)); -- ZMQ_Error err1 = 0; -- /* check message data size. */ -- if(zmq_msg_size(this1) != data_len2) { -- /* need to resize message. */ -- zmq_msg_close(this1); /* close old message, to free old data. */ -- err1 = zmq_msg_init_size(this1, data_len2); /* re-initialize message. */ -- if(0 != err1) { -- luaL_error(L, "set_data() failed: %s", get_zmq_strerror()); -- } -- } -- /* copy data into message */ -- memcpy(zmq_msg_data(this1), data2, data_len2); -+/* method: linger */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__linger__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_linger2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_linger2 = lzmq_socket_linger(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_linger2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_linger2); -+ return 2; -+} -+#endif - -+/* method: set_linger */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__set_linger__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_linger1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_linger1 = lzmq_socket_set_linger(this1, value2); - /* check for error. */ -- if((-1 == err1)) { -+ if((-1 == rc_lzmq_socket_set_linger1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, err1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_linger1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -+#endif - --/* method: data */ --static int zmq_msg_t__data__meth(lua_State *L) { -- zmq_msg_t * this1 = obj_type_zmq_msg_t_check(L,1); -- void * rc_zmq_msg_data1 = NULL; -- rc_zmq_msg_data1 = zmq_msg_data(this1); -- lua_pushlightuserdata(L, rc_zmq_msg_data1); -- return 1; -+/* method: reconnect_ivl */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__reconnect_ivl__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_reconnect_ivl2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_reconnect_ivl2 = lzmq_socket_reconnect_ivl(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_reconnect_ivl2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_reconnect_ivl2); -+ return 2; - } -+#endif - --/* method: set_size */ --static int zmq_msg_t__set_size__meth(lua_State *L) { -- zmq_msg_t * this1 = obj_type_zmq_msg_t_check(L,1); -- size_t size2 = luaL_checkinteger(L,2); -- ZMQ_Error err1 = 0; -- /* check message data size. */ -- if(zmq_msg_size(this1) != size2) { -- /* need to resize message. */ -- zmq_msg_close(this1); /* close old message, to free old data. */ -- err1 = zmq_msg_init_size(this1, size2); /* re-initialize message. */ -- if(0 != err1) { -- luaL_error(L, "set_size() failed: %s", get_zmq_strerror()); -- } -- } -- -+/* method: set_reconnect_ivl */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__set_reconnect_ivl__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_reconnect_ivl1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_reconnect_ivl1 = lzmq_socket_set_reconnect_ivl(this1, value2); - /* check for error. */ -- if((-1 == err1)) { -+ if((-1 == rc_lzmq_socket_set_reconnect_ivl1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, err1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_reconnect_ivl1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -+#endif - --/* method: size */ --static int zmq_msg_t__size__meth(lua_State *L) { -- zmq_msg_t * this1 = obj_type_zmq_msg_t_check(L,1); -- size_t rc_zmq_msg_size1 = 0; -- rc_zmq_msg_size1 = zmq_msg_size(this1); -- lua_pushinteger(L, rc_zmq_msg_size1); -- return 1; --} -- --/* method: __tostring */ --static int zmq_msg_t____tostring__meth(lua_State *L) { -- zmq_msg_t * this1 = obj_type_zmq_msg_t_check(L,1); -- size_t data_len1 = 0; -- const char * data1 = NULL; -- data1 = zmq_msg_data(this1); -- data_len1 = zmq_msg_size(this1); -- -- if(data1 == NULL) lua_pushnil(L); else lua_pushlstring(L, data1,data_len1); -- return 1; -+/* method: backlog */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__backlog__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_backlog2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_backlog2 = lzmq_socket_backlog(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_backlog2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_backlog2); -+ return 2; - } -+#endif - --/* method: close */ --static int ZMQ_Socket__close__meth(lua_State *L) { -- int this_flags1 = 0; -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_delete(L,1,&(this_flags1)); -- ZMQ_Error rc_zmq_close1 = 0; -- if(!(this_flags1 & OBJ_UDATA_FLAG_OWN)) { return 0; } -- rc_zmq_close1 = zmq_close(this1); -+/* method: set_backlog */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__set_backlog__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_backlog1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_backlog1 = lzmq_socket_set_backlog(this1, value2); - /* check for error. */ -- if((-1 == rc_zmq_close1)) { -+ if((-1 == rc_lzmq_socket_set_backlog1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_close1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_backlog1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -+#endif - --/* method: bind */ --static int ZMQ_Socket__bind__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- size_t addr_len2; -- const char * addr2 = luaL_checklstring(L,2,&(addr_len2)); -- ZMQ_Error rc_zmq_bind1 = 0; -- rc_zmq_bind1 = zmq_bind(this1, addr2); -- /* check for error. */ -- if((-1 == rc_zmq_bind1)) { -- lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_bind1); -+/* method: recovery_ivl_msec */ -+#if (VERSION_2_1) -+static int ZMQ_Socket__recovery_ivl_msec__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int64_t value1 = 0; -+ ZMQ_Error rc_lzmq_socket_recovery_ivl_msec2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_recovery_ivl_msec2 = lzmq_socket_recovery_ivl_msec(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_recovery_ivl_msec2)) { -+ lua_pushinteger(L, value1); - } else { -- lua_pushboolean(L, 1); - lua_pushnil(L); - } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_recovery_ivl_msec2); - return 2; - } -+#endif - --/* method: connect */ --static int ZMQ_Socket__connect__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- size_t addr_len2; -- const char * addr2 = luaL_checklstring(L,2,&(addr_len2)); -- ZMQ_Error rc_zmq_connect1 = 0; -- rc_zmq_connect1 = zmq_connect(this1, addr2); -+/* method: set_recovery_ivl_msec */ -+#if (VERSION_2_1) -+static int ZMQ_Socket__set_recovery_ivl_msec__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int64_t value2; -+ ZMQ_Error rc_lzmq_socket_set_recovery_ivl_msec1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_recovery_ivl_msec1 = lzmq_socket_set_recovery_ivl_msec(this1, value2); - /* check for error. */ -- if((-1 == rc_zmq_connect1)) { -+ if((-1 == rc_lzmq_socket_set_recovery_ivl_msec1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_connect1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_recovery_ivl_msec1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -- --/* method: setopt */ --static int ZMQ_Socket__setopt__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- uint32_t opt2 = luaL_checkinteger(L,2); -- ZMQ_Error err1 = 0; -- size_t val_len; -- const void *val; -- --#if VERSION_2_1 -- socket_t fd_val; - #endif -- int int_val; -- uint32_t uint32_val; -- uint64_t uint64_val; -- int64_t int64_val; -- -- if(opt2 > MAX_OPTS) { -- return luaL_argerror(L, 2, "Invalid socket option."); -- } - -- switch(opt_types[opt2]) { --#if VERSION_2_1 -- case OPT_TYPE_FD: -- fd_val = luaL_checklong(L, 3); -- val = &fd_val; -- val_len = sizeof(fd_val); -- break; -+/* method: reconnect_ivl_max */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__reconnect_ivl_max__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_reconnect_ivl_max2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_reconnect_ivl_max2 = lzmq_socket_reconnect_ivl_max(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_reconnect_ivl_max2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_reconnect_ivl_max2); -+ return 2; -+} - #endif -- case OPT_TYPE_INT: -- int_val = luaL_checklong(L, 3); -- val = &int_val; -- val_len = sizeof(int_val); -- break; -- case OPT_TYPE_UINT32: -- uint32_val = luaL_checklong(L, 3); -- val = &uint32_val; -- val_len = sizeof(uint32_val); -- break; -- case OPT_TYPE_UINT64: -- uint64_val = luaL_checklong(L, 3); -- val = &uint64_val; -- val_len = sizeof(uint64_val); -- break; -- case OPT_TYPE_INT64: -- int64_val = luaL_checklong(L, 3); -- val = &int64_val; -- val_len = sizeof(int64_val); -- break; -- case OPT_TYPE_STR: -- val = luaL_checklstring(L, 3, &(val_len)); -- break; -- default: -- printf("Invalid socket option type, this shouldn't happen.\n"); -- abort(); -- break; -- } -- err1 = zmq_setsockopt(this1, opt2, val, val_len); - -+/* method: set_reconnect_ivl_max */ -+#if (VERSION_2_1|VERSION_3_0) -+static int ZMQ_Socket__set_reconnect_ivl_max__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_reconnect_ivl_max1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_reconnect_ivl_max1 = lzmq_socket_set_reconnect_ivl_max(this1, value2); - /* check for error. */ -- if((-1 == err1)) { -+ if((-1 == rc_lzmq_socket_set_reconnect_ivl_max1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, err1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_reconnect_ivl_max1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -- --/* method: getopt */ --static int ZMQ_Socket__getopt__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- uint32_t opt2 = luaL_checkinteger(L,2); -- ZMQ_Error err2 = 0; -- size_t val_len; -- --#if VERSION_2_1 -- socket_t fd_val; - #endif -- int int_val; -- uint32_t uint32_val; -- uint64_t uint64_val; -- int64_t int64_val; --#define STR_MAX 255 -- char str_val[STR_MAX]; - -- if(opt2 > MAX_OPTS) { -- lua_pushnil(L); -- lua_pushliteral(L, "Invalid socket option."); -- return 2; -- } -+/* method: maxmsgsize */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__maxmsgsize__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int64_t value1 = 0; -+ ZMQ_Error rc_lzmq_socket_maxmsgsize2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_maxmsgsize2 = lzmq_socket_maxmsgsize(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_maxmsgsize2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_maxmsgsize2); -+ return 2; -+} -+#endif - -- switch(opt_types[opt2]) { --#if VERSION_2_1 -- case OPT_TYPE_FD: -- val_len = sizeof(fd_val); -- err2 = zmq_getsockopt(this1, opt2, &fd_val, &val_len); -- if(0 == err2) { -- lua_pushinteger(L, (lua_Integer)fd_val); -- return 1; -- } -- break; -+/* method: set_maxmsgsize */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__set_maxmsgsize__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int64_t value2; -+ ZMQ_Error rc_lzmq_socket_set_maxmsgsize1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_maxmsgsize1 = lzmq_socket_set_maxmsgsize(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_maxmsgsize1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_maxmsgsize1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - #endif -- case OPT_TYPE_INT: -- val_len = sizeof(int_val); -- err2 = zmq_getsockopt(this1, opt2, &int_val, &val_len); -- if(0 == err2) { -- lua_pushinteger(L, (lua_Integer)int_val); -- return 1; -- } -- break; -- case OPT_TYPE_UINT32: -- val_len = sizeof(uint32_val); -- err2 = zmq_getsockopt(this1, opt2, &uint32_val, &val_len); -- if(0 == err2) { -- lua_pushinteger(L, (lua_Integer)uint32_val); -- return 1; -- } -- break; -- case OPT_TYPE_UINT64: -- val_len = sizeof(uint64_val); -- err2 = zmq_getsockopt(this1, opt2, &uint64_val, &val_len); -- if(0 == err2) { -- lua_pushinteger(L, (lua_Integer)uint64_val); -- return 1; -- } -- break; -- case OPT_TYPE_INT64: -- val_len = sizeof(int64_val); -- err2 = zmq_getsockopt(this1, opt2, &int64_val, &val_len); -- if(0 == err2) { -- lua_pushinteger(L, (lua_Integer)int64_val); -- return 1; -- } -- break; -- case OPT_TYPE_STR: -- val_len = STR_MAX; -- err2 = zmq_getsockopt(this1, opt2, str_val, &val_len); -- if(0 == err2) { -- lua_pushlstring(L, str_val, val_len); -- return 1; -- } --#undef STR_MAX -- break; -- default: -- printf("Invalid socket option type, this shouldn't happen.\n"); -- abort(); -- break; -- } -- lua_pushnil(L); - -- error_code__ZMQ_Error__push(L, err2); -+/* method: sndhwm */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__sndhwm__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_sndhwm2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_sndhwm2 = lzmq_socket_sndhwm(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_sndhwm2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_sndhwm2); - return 2; - } -+#endif - --/* method: events */ --static int ZMQ_Socket__events__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- uint32_t events1 = 0; -- ZMQ_Error err2 = 0; --#if VERSION_2_1 -- size_t val_len = sizeof(events1); -- err2 = zmq_getsockopt(this1, ZMQ_EVENTS, &(events1), &val_len); --#else -- luaL_error(L, "'events' method only supported in 0MQ version >= 2.1"); -+/* method: set_sndhwm */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__set_sndhwm__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_sndhwm1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_sndhwm1 = lzmq_socket_set_sndhwm(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_sndhwm1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_sndhwm1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} - #endif - -- if(!(-1 == err2)) { -- lua_pushinteger(L, events1); -+/* method: rcvhwm */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__rcvhwm__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_rcvhwm2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_rcvhwm2 = lzmq_socket_rcvhwm(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_rcvhwm2)) { -+ lua_pushinteger(L, value1); - } else { - lua_pushnil(L); - } -- error_code__ZMQ_Error__push(L, err2); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_rcvhwm2); - return 2; - } -+#endif - --/* method: send_msg */ --static int ZMQ_Socket__send_msg__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- zmq_msg_t * msg2 = obj_type_zmq_msg_t_check(L,2); -- int flags3 = luaL_optinteger(L,3,0); -- ZMQ_Error rc_zmq_send1 = 0; -- rc_zmq_send1 = zmq_send(this1, msg2, flags3); -+/* method: set_rcvhwm */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__set_rcvhwm__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_rcvhwm1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_rcvhwm1 = lzmq_socket_set_rcvhwm(this1, value2); - /* check for error. */ -- if((-1 == rc_zmq_send1)) { -+ if((-1 == rc_lzmq_socket_set_rcvhwm1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_send1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_rcvhwm1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -+#endif - --/* method: send */ --static int ZMQ_Socket__send__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- size_t data_len2; -- const char * data2 = luaL_checklstring(L,2,&(data_len2)); -- int flags3 = luaL_optinteger(L,3,0); -- ZMQ_Error err1 = 0; -- err1 = simple_zmq_send(this1, data2, data_len2, flags3); -+/* method: multicast_hops */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__multicast_hops__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_multicast_hops2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_multicast_hops2 = lzmq_socket_multicast_hops(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_multicast_hops2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_multicast_hops2); -+ return 2; -+} -+#endif - -+/* method: set_multicast_hops */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__set_multicast_hops__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_multicast_hops1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_multicast_hops1 = lzmq_socket_set_multicast_hops(this1, value2); - /* check for error. */ -- if((-1 == err1)) { -+ if((-1 == rc_lzmq_socket_set_multicast_hops1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, err1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_multicast_hops1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -+#endif - --/* method: recv_msg */ --static int ZMQ_Socket__recv_msg__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- zmq_msg_t * msg2 = obj_type_zmq_msg_t_check(L,2); -- int flags3 = luaL_optinteger(L,3,0); -- ZMQ_Error rc_zmq_recv1 = 0; -- rc_zmq_recv1 = zmq_recv(this1, msg2, flags3); -+/* method: rcvtimeo */ -+#if (VERSION_2_2|VERSION_3_0) -+static int ZMQ_Socket__rcvtimeo__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_rcvtimeo2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_rcvtimeo2 = lzmq_socket_rcvtimeo(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_rcvtimeo2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_rcvtimeo2); -+ return 2; -+} -+#endif -+ -+/* method: set_rcvtimeo */ -+#if (VERSION_2_2|VERSION_3_0) -+static int ZMQ_Socket__set_rcvtimeo__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_rcvtimeo1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_rcvtimeo1 = lzmq_socket_set_rcvtimeo(this1, value2); - /* check for error. */ -- if((-1 == rc_zmq_recv1)) { -+ if((-1 == rc_lzmq_socket_set_rcvtimeo1)) { - lua_pushnil(L); -- error_code__ZMQ_Error__push(L, rc_zmq_recv1); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_rcvtimeo1); - } else { - lua_pushboolean(L, 1); - lua_pushnil(L); - } - return 2; - } -+#endif - --/* method: recv */ --static int ZMQ_Socket__recv__meth(lua_State *L) { -- ZMQ_Socket * this1 = obj_type_ZMQ_Socket_check(L,1); -- int flags2 = luaL_optinteger(L,2,0); -- size_t data_len1 = 0; -- const char * data1 = NULL; -- ZMQ_Error err2 = 0; -- zmq_msg_t msg; -- /* initialize message */ -- err2 = zmq_msg_init(&msg); -- if(0 == err2) { -- /* receive message */ -- err2 = zmq_recv(this1, &msg, flags2); -- if(0 == err2) { -- data1 = zmq_msg_data(&msg); -- data_len1 = zmq_msg_size(&msg); -- } -- } -+/* method: sndtimeo */ -+#if (VERSION_2_2|VERSION_3_0) -+static int ZMQ_Socket__sndtimeo__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_sndtimeo2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_sndtimeo2 = lzmq_socket_sndtimeo(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_sndtimeo2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_sndtimeo2); -+ return 2; -+} -+#endif - -- if(!(-1 == err2)) { -- if(data1 == NULL) lua_pushnil(L); else lua_pushlstring(L, data1,data_len1); -+/* method: set_sndtimeo */ -+#if (VERSION_2_2|VERSION_3_0) -+static int ZMQ_Socket__set_sndtimeo__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_sndtimeo1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_sndtimeo1 = lzmq_socket_set_sndtimeo(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_sndtimeo1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_sndtimeo1); - } else { -+ lua_pushboolean(L, 1); - lua_pushnil(L); - } -- error_code__ZMQ_Error__push(L, err2); -- /* close message */ -- zmq_msg_close(&msg); -+ return 2; -+} -+#endif -+ -+/* method: ipv4only */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__ipv4only__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value1 = 0; -+ ZMQ_Error rc_lzmq_socket_ipv4only2 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ rc_lzmq_socket_ipv4only2 = lzmq_socket_ipv4only(this1, &(value1)); -+ if(!(-1 == rc_lzmq_socket_ipv4only2)) { -+ lua_pushinteger(L, value1); -+ } else { -+ lua_pushnil(L); -+ } -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_ipv4only2); -+ return 2; -+} -+#endif - -+/* method: set_ipv4only */ -+#if (VERSION_3_0) -+static int ZMQ_Socket__set_ipv4only__meth(lua_State *L) { -+ ZMQ_Socket * this1; -+ int value2; -+ ZMQ_Error rc_lzmq_socket_set_ipv4only1 = 0; -+ this1 = obj_type_ZMQ_Socket_check(L,1); -+ value2 = luaL_checkinteger(L,2); -+ rc_lzmq_socket_set_ipv4only1 = lzmq_socket_set_ipv4only(this1, value2); -+ /* check for error. */ -+ if((-1 == rc_lzmq_socket_set_ipv4only1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_lzmq_socket_set_ipv4only1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } - return 2; - } -+#endif - - /* method: new */ - static int ZMQ_Poller__new__meth(lua_State *L) { -- unsigned int length1 = luaL_optinteger(L,1,10); -- int this_flags1 = OBJ_UDATA_FLAG_OWN; -- ZMQ_Poller * this1; -- ZMQ_Poller poller; -- this1 = &poller; -- this1->items = (zmq_pollitem_t *)calloc(length1, sizeof(zmq_pollitem_t)); -- this1->next = -1; -- this1->count = 0; -- this1->len = length1; -- this1->free_list = -1; -- -- obj_type_ZMQ_Poller_push(L, this1, this_flags1); -+ unsigned int length1; -+ ZMQ_Poller this1_store; -+ ZMQ_Poller * this1 = &(this1_store); -+ length1 = luaL_optinteger(L,1,10); -+ poller_init(this1, length1); -+ obj_type_ZMQ_Poller_push(L, this1); - return 1; - } - - /* method: close */ - static int ZMQ_Poller__close__meth(lua_State *L) { -- int this_flags1 = 0; -- ZMQ_Poller * this1 = obj_type_ZMQ_Poller_delete(L,1,&(this_flags1)); -- if(!(this_flags1 & OBJ_UDATA_FLAG_OWN)) { return 0; } -- free(this1->items); -- this1->items = NULL; -- this1->next = -1; -- this1->count = 0; -- this1->len = 0; -- this1->free_list = -1; -- -+ ZMQ_Poller * this1; -+ this1 = obj_type_ZMQ_Poller_delete(L,1); -+ poller_cleanup(this1); - return 0; - } - - /* method: add */ - static int ZMQ_Poller__add__meth(lua_State *L) { -- ZMQ_Poller * this1 = obj_type_ZMQ_Poller_check(L,1); -- short events3 = luaL_checkinteger(L,3); -+ ZMQ_Poller * this1; -+ short events3; - int idx1 = 0; - zmq_pollitem_t *item; - ZMQ_Socket *sock = NULL; - socket_t fd = 0; - -+ this1 = obj_type_ZMQ_Poller_check(L,1); -+ events3 = luaL_checkinteger(L,3); - if(lua_isuserdata(L, 2)) { - sock = obj_type_ZMQ_Socket_check(L, 2); - } else if(lua_isnumber(L, 2)) { -@@ -2777,13 +6443,15 @@ static int ZMQ_Poller__add__meth(lua_State *L) { - - /* method: modify */ - static int ZMQ_Poller__modify__meth(lua_State *L) { -- ZMQ_Poller * this1 = obj_type_ZMQ_Poller_check(L,1); -- short events3 = luaL_checkinteger(L,3); -+ ZMQ_Poller * this1; -+ short events3; - int idx1 = 0; - zmq_pollitem_t *item; - ZMQ_Socket *sock = NULL; - socket_t fd = 0; - -+ this1 = obj_type_ZMQ_Poller_check(L,1); -+ events3 = luaL_checkinteger(L,3); - if(lua_isuserdata(L, 2)) { - sock = obj_type_ZMQ_Socket_check(L, 2); - /* find sock in items list. */ -@@ -2815,98 +6483,76 @@ static int ZMQ_Poller__modify__meth(lua_State *L) { - - /* method: remove */ - static int ZMQ_Poller__remove__meth(lua_State *L) { -- ZMQ_Poller * this1 = obj_type_ZMQ_Poller_check(L,1); -+ ZMQ_Poller * this1; -+ int idx1 = 0; - ZMQ_Socket *sock; - socket_t fd; -- int idx; - -+ this1 = obj_type_ZMQ_Poller_check(L,1); - /* ZMQ_Socket or fd */ - if(lua_isuserdata(L, 2)) { - sock = obj_type_ZMQ_Socket_check(L, 2); - /* find sock in items list. */ -- idx = poller_find_sock_item(this1, sock); -+ idx1 = poller_find_sock_item(this1, sock); - } else if(lua_isnumber(L, 2)) { - fd = lua_tonumber(L, 2); - /* find fd in items list. */ -- idx = poller_find_fd_item(this1, fd); -+ idx1 = poller_find_fd_item(this1, fd); - } else { - return luaL_typerror(L, 2, "number or ZMQ_Socket"); - } - /* if sock/fd was found. */ -- if(idx >= 0) { -- poller_remove_item(this1, idx); -+ if(idx1 >= 0) { -+ poller_remove_item(this1, idx1); - } - -- return 0; -+ lua_pushinteger(L, idx1); -+ return 1; - } - - /* method: poll */ - static int ZMQ_Poller__poll__meth(lua_State *L) { -- ZMQ_Poller * this1 = obj_type_ZMQ_Poller_check(L,1); -- long timeout2 = luaL_checkinteger(L,2); -- ZMQ_Error err1 = 0; -- /* poll for events */ -- err1 = poller_poll(this1, timeout2); -- if(err1 > 0) { -+ ZMQ_Poller * this1; -+ long timeout2; -+ int count1 = 0; -+ ZMQ_Error err2 = 0; -+ this1 = obj_type_ZMQ_Poller_check(L,1); -+ timeout2 = luaL_checkinteger(L,2); -+ err2 = poller_poll(this1, timeout2); -+ if(err2 > 0) { - this1->next = 0; -+ count1 = err2; - } else { - this1->next = -1; -+ count1 = 0; - } - -- /* check for error. */ -- if((-1 == err1)) { -- lua_pushnil(L); -- error_code__ZMQ_Error__push(L, err1); -+ if(!(-1 == err2)) { -+ lua_pushinteger(L, count1); - } else { -- lua_pushboolean(L, 1); - lua_pushnil(L); - } -+ error_code__ZMQ_Error__push(L, err2); - return 2; - } - --/* method: next_revents */ --static int ZMQ_Poller__next_revents__meth(lua_State *L) { -- ZMQ_Poller * this1 = obj_type_ZMQ_Poller_check(L,1); -- short revents2 = 0; -- zmq_pollitem_t *items; -- int count; -- int idx; -- -- revents2 = -1; -- idx = this1->next; -- if(idx >= 0) { -- count = this1->count; -- items = this1->items; -- /* find next item with pending events. */ -- while(idx < count && items[idx].revents == 0) ++idx; -- /* did we find a pending event? */ -- if(idx < count) { -- /* push the event's sock/fd. */ -- if(items[idx].socket != NULL) { -- obj_type_ZMQ_Socket_push(L, items[idx].socket, 0); -- } else { -- lua_pushnumber(L, items[idx].fd); -- } -- revents2 = items[idx].revents; -- /* is this the last event. */ -- ++idx; -- this1->next = (idx < count) ? idx : -1; -- } -- } -- if(revents2 < 0) { -- /* no more pending events. */ -- lua_pushnil(L); -- this1->next = -1; -- } -- -+/* method: next_revents_idx */ -+static int ZMQ_Poller__next_revents_idx__meth(lua_State *L) { -+ ZMQ_Poller * this1; -+ int idx1 = 0; -+ int revents2 = 0; -+ this1 = obj_type_ZMQ_Poller_check(L,1); -+ idx1 = poller_next_revents(this1, &(revents2)); -+ lua_pushinteger(L, idx1); - lua_pushinteger(L, revents2); - return 2; - } - - /* method: count */ - static int ZMQ_Poller__count__meth(lua_State *L) { -- ZMQ_Poller * this1 = obj_type_ZMQ_Poller_check(L,1); -+ ZMQ_Poller * this1; - int count1 = 0; -+ this1 = obj_type_ZMQ_Poller_check(L,1); - count1 = this1->count; - - lua_pushinteger(L, count1); -@@ -2916,8 +6562,9 @@ static int ZMQ_Poller__count__meth(lua_State *L) { - /* method: term */ - static int ZMQ_Ctx__term__meth(lua_State *L) { - int this_flags1 = 0; -- ZMQ_Ctx * this1 = obj_type_ZMQ_Ctx_delete(L,1,&(this_flags1)); -+ ZMQ_Ctx * this1; - ZMQ_Error rc_zmq_term1 = 0; -+ this1 = obj_type_ZMQ_Ctx_delete(L,1,&(this_flags1)); - if(!(this_flags1 & OBJ_UDATA_FLAG_OWN)) { return 0; } - rc_zmq_term1 = zmq_term(this1); - /* check for error. */ -@@ -2933,8 +6580,9 @@ static int ZMQ_Ctx__term__meth(lua_State *L) { - - /* method: lightuserdata */ - static int ZMQ_Ctx__lightuserdata__meth(lua_State *L) { -- ZMQ_Ctx * this1 = obj_type_ZMQ_Ctx_check(L,1); -+ ZMQ_Ctx * this1; - void * ptr1 = NULL; -+ this1 = obj_type_ZMQ_Ctx_check(L,1); - ptr1 = this1; - - lua_pushlightuserdata(L, ptr1); -@@ -2943,20 +6591,53 @@ static int ZMQ_Ctx__lightuserdata__meth(lua_State *L) { - - /* method: socket */ - static int ZMQ_Ctx__socket__meth(lua_State *L) { -- ZMQ_Ctx * this1 = obj_type_ZMQ_Ctx_check(L,1); -- int type2 = luaL_checkinteger(L,2); -+ ZMQ_Ctx * this1; -+ int type2; - int rc_zmq_socket_flags1 = OBJ_UDATA_FLAG_OWN; - ZMQ_Socket * rc_zmq_socket1; -+ this1 = obj_type_ZMQ_Ctx_check(L,1); -+ type2 = luaL_checkinteger(L,2); - rc_zmq_socket1 = zmq_socket(this1, type2); - if((NULL == rc_zmq_socket1)) { - lua_pushnil(L); - lua_pushstring(L, get_zmq_strerror()); -+ return 2; - } else { - obj_type_ZMQ_Socket_push(L, rc_zmq_socket1, rc_zmq_socket_flags1); - } - return 1; - } - -+/* method: set */ -+#if (VERSION_3_2) -+static int ZMQ_Ctx__set__meth(lua_State *L) { -+ ZMQ_Ctx * this1; -+ int flag2; -+ int value3; -+ int rc_zmq_ctx_set1 = 0; -+ this1 = obj_type_ZMQ_Ctx_check(L,1); -+ flag2 = luaL_checkinteger(L,2); -+ value3 = luaL_checkinteger(L,3); -+ rc_zmq_ctx_set1 = zmq_ctx_set(this1, flag2, value3); -+ lua_pushinteger(L, rc_zmq_ctx_set1); -+ return 1; -+} -+#endif -+ -+/* method: get */ -+#if (VERSION_3_2) -+static int ZMQ_Ctx__get__meth(lua_State *L) { -+ ZMQ_Ctx * this1; -+ int flag2; -+ int rc_zmq_ctx_get1 = 0; -+ this1 = obj_type_ZMQ_Ctx_check(L,1); -+ flag2 = luaL_checkinteger(L,2); -+ rc_zmq_ctx_get1 = zmq_ctx_get(this1, flag2); -+ lua_pushinteger(L, rc_zmq_ctx_get1); -+ return 1; -+} -+#endif -+ - /* method: start */ - static int ZMQ_StopWatch__start__meth(lua_State *L) { - int this_flags1 = OBJ_UDATA_FLAG_OWN; -@@ -2969,8 +6650,9 @@ static int ZMQ_StopWatch__start__meth(lua_State *L) { - /* method: stop */ - static int ZMQ_StopWatch__stop__meth(lua_State *L) { - int this_flags1 = 0; -- ZMQ_StopWatch * this1 = obj_type_ZMQ_StopWatch_delete(L,1,&(this_flags1)); -+ ZMQ_StopWatch * this1; - unsigned long usecs1 = 0; -+ this1 = obj_type_ZMQ_StopWatch_delete(L,1,&(this_flags1)); - if(!(this_flags1 & OBJ_UDATA_FLAG_OWN)) { return 0; } - usecs1 = zmq_stopwatch_stop(this1); - lua_pushinteger(L, usecs1); -@@ -2996,13 +6678,15 @@ static int zmq__version__func(lua_State *L) { - - /* method: init */ - static int zmq__init__func(lua_State *L) { -- int io_threads1 = luaL_checkinteger(L,1); -+ int io_threads1; - int rc_zmq_init_flags1 = OBJ_UDATA_FLAG_OWN; - ZMQ_Ctx * rc_zmq_init1; -+ io_threads1 = luaL_optinteger(L,1,1); - rc_zmq_init1 = zmq_init(io_threads1); - if((NULL == rc_zmq_init1)) { - lua_pushnil(L); - lua_pushstring(L, get_zmq_strerror()); -+ return 2; - } else { - obj_type_ZMQ_Ctx_push(L, rc_zmq_init1, rc_zmq_init_flags1); - } -@@ -3021,6 +6705,7 @@ static int zmq__init_ctx__func(lua_State *L) { - if((NULL == ctx1)) { - lua_pushnil(L); - lua_pushstring(L, get_zmq_strerror()); -+ return 2; - } else { - obj_type_ZMQ_Ctx_push(L, ctx1, 0); - } -@@ -3028,11 +6713,15 @@ static int zmq__init_ctx__func(lua_State *L) { - } - - /* method: device */ -+#if (VERSION_2_0|VERSION_3_2) - static int zmq__device__func(lua_State *L) { -- int device1 = luaL_checkinteger(L,1); -- ZMQ_Socket * insock2 = obj_type_ZMQ_Socket_check(L,2); -- ZMQ_Socket * outsock3 = obj_type_ZMQ_Socket_check(L,3); -+ int device1; -+ ZMQ_Socket * insock2; -+ ZMQ_Socket * outsock3; - ZMQ_Error rc_zmq_device1 = 0; -+ device1 = luaL_checkinteger(L,1); -+ insock2 = obj_type_ZMQ_Socket_check(L,2); -+ outsock3 = obj_type_ZMQ_Socket_check(L,3); - rc_zmq_device1 = zmq_device(device1, insock2, outsock3); - /* check for error. */ - if((-1 == rc_zmq_device1)) { -@@ -3044,6 +6733,30 @@ static int zmq__device__func(lua_State *L) { - } - return 2; - } -+#endif -+ -+/* method: proxy */ -+#if (VERSION_3_2) -+static int zmq__proxy__func(lua_State *L) { -+ ZMQ_Socket * frontend1; -+ ZMQ_Socket * backend2; -+ ZMQ_Socket * capture3; -+ ZMQ_Error rc_zmq_proxy1 = 0; -+ frontend1 = obj_type_ZMQ_Socket_check(L,1); -+ backend2 = obj_type_ZMQ_Socket_check(L,2); -+ capture3 = obj_type_ZMQ_Socket_optional(L,3); -+ rc_zmq_proxy1 = zmq_proxy(frontend1, backend2, capture3); -+ /* check for error. */ -+ if((-1 == rc_zmq_proxy1)) { -+ lua_pushnil(L); -+ error_code__ZMQ_Error__push(L, rc_zmq_proxy1); -+ } else { -+ lua_pushboolean(L, 1); -+ lua_pushnil(L); -+ } -+ return 2; -+} -+#endif - - /* method: stopwatch_start */ - static int zmq__stopwatch_start__func(lua_State *L) { -@@ -3056,32 +6769,452 @@ static int zmq__stopwatch_start__func(lua_State *L) { - - /* method: sleep */ - static int zmq__sleep__func(lua_State *L) { -- int seconds_1 = luaL_checkinteger(L,1); -+ int seconds_1; -+ seconds_1 = luaL_checkinteger(L,1); - zmq_sleep(seconds_1); - return 0; - } - --/* method: dump_ffi */ --static int zmq__dump_ffi__func(lua_State *L) { -- size_t ffi_code_len1 = 0; -- const char * ffi_code1 = NULL; -- ffi_code1 = zmq_ffi_lua_code; -- ffi_code_len1 = sizeof(zmq_ffi_lua_code) - 1; - -- if(ffi_code1 == NULL) lua_pushnil(L); else lua_pushlstring(L, ffi_code1,ffi_code_len1); -- return 1; --} - -+static const luaL_Reg obj_ZErrors_pub_funcs[] = { -+ {NULL, NULL} -+}; -+ -+static const luaL_Reg obj_ZErrors_methods[] = { -+ {"description", ZErrors__description__meth}, -+ {NULL, NULL} -+}; -+ -+static const luaL_Reg obj_ZErrors_metas[] = { -+ {"__index", ZErrors____index__meth}, -+ {NULL, NULL} -+}; -+ -+static const obj_const obj_ZErrors_constants[] = { -+#ifdef ELNRNG -+ {"ELNRNG", NULL, ELNRNG, CONST_NUMBER}, -+#endif -+#ifdef EPFNOSUPPORT -+ {"EPFNOSUPPORT", NULL, EPFNOSUPPORT, CONST_NUMBER}, -+#endif -+#ifdef EBADR -+ {"EBADR", NULL, EBADR, CONST_NUMBER}, -+#endif -+#ifdef ENOLINK -+ {"ENOLINK", NULL, ENOLINK, CONST_NUMBER}, -+#endif -+#ifdef ENOSTR -+ {"ENOSTR", NULL, ENOSTR, CONST_NUMBER}, -+#endif -+#ifdef ERESTART -+ {"ERESTART", NULL, ERESTART, CONST_NUMBER}, -+#endif -+#ifdef EUCLEAN -+ {"EUCLEAN", NULL, EUCLEAN, CONST_NUMBER}, -+#endif -+#ifdef ELIBSCN -+ {"ELIBSCN", NULL, ELIBSCN, CONST_NUMBER}, -+#endif -+#ifdef EROFS -+ {"EROFS", NULL, EROFS, CONST_NUMBER}, -+#endif -+#ifdef EBADE -+ {"EBADE", NULL, EBADE, CONST_NUMBER}, -+#endif -+#ifdef ENOTSOCK -+ {"ENOTSOCK", NULL, ENOTSOCK, CONST_NUMBER}, -+#endif -+#ifdef ENOTCONN -+ {"ENOTCONN", NULL, ENOTCONN, CONST_NUMBER}, -+#endif -+#ifdef EREMOTE -+ {"EREMOTE", NULL, EREMOTE, CONST_NUMBER}, -+#endif -+#ifdef ECOMM -+ {"ECOMM", NULL, ECOMM, CONST_NUMBER}, -+#endif -+#ifdef ENODATA -+ {"ENODATA", NULL, ENODATA, CONST_NUMBER}, -+#endif -+#ifdef EPERM -+ {"EPERM", NULL, EPERM, CONST_NUMBER}, -+#endif -+#ifdef EBADRQC -+ {"EBADRQC", NULL, EBADRQC, CONST_NUMBER}, -+#endif -+#ifdef ENOSR -+ {"ENOSR", NULL, ENOSR, CONST_NUMBER}, -+#endif -+#ifdef ELIBMAX -+ {"ELIBMAX", NULL, ELIBMAX, CONST_NUMBER}, -+#endif -+#ifdef EDOTDOT -+ {"EDOTDOT", NULL, EDOTDOT, CONST_NUMBER}, -+#endif -+#ifdef EFSM -+ {"EFSM", NULL, EFSM, CONST_NUMBER}, -+#endif -+#ifdef ENOPROTOOPT -+ {"ENOPROTOOPT", NULL, ENOPROTOOPT, CONST_NUMBER}, -+#endif -+#ifdef EBFONT -+ {"EBFONT", NULL, EBFONT, CONST_NUMBER}, -+#endif -+#ifdef ENOCOMPATPROTO -+ {"ENOCOMPATPROTO", NULL, ENOCOMPATPROTO, CONST_NUMBER}, -+#endif -+#ifdef EKEYREVOKED -+ {"EKEYREVOKED", NULL, EKEYREVOKED, CONST_NUMBER}, -+#endif -+#ifdef ESRMNT -+ {"ESRMNT", NULL, ESRMNT, CONST_NUMBER}, -+#endif -+#ifdef EOVERFLOW -+ {"EOVERFLOW", NULL, EOVERFLOW, CONST_NUMBER}, -+#endif -+#ifdef EDQUOT -+ {"EDQUOT", NULL, EDQUOT, CONST_NUMBER}, -+#endif -+#ifdef EFBIG -+ {"EFBIG", NULL, EFBIG, CONST_NUMBER}, -+#endif -+#ifdef EIDRM -+ {"EIDRM", NULL, EIDRM, CONST_NUMBER}, -+#endif -+#ifdef EDOM -+ {"EDOM", NULL, EDOM, CONST_NUMBER}, -+#endif -+#ifdef EPROTO -+ {"EPROTO", NULL, EPROTO, CONST_NUMBER}, -+#endif -+#ifdef EMULTIHOP -+ {"EMULTIHOP", NULL, EMULTIHOP, CONST_NUMBER}, -+#endif -+#ifdef ENOCSI -+ {"ENOCSI", NULL, ENOCSI, CONST_NUMBER}, -+#endif -+#ifdef EDEADLOCK -+ {"EDEADLOCK", NULL, EDEADLOCK, CONST_NUMBER}, -+#endif -+#ifdef ENOPKG -+ {"ENOPKG", NULL, ENOPKG, CONST_NUMBER}, -+#endif -+#ifdef EPIPE -+ {"EPIPE", NULL, EPIPE, CONST_NUMBER}, -+#endif -+#ifdef EADDRINUSE -+ {"EADDRINUSE", NULL, EADDRINUSE, CONST_NUMBER}, -+#endif -+#ifdef EFAULT -+ {"EFAULT", NULL, EFAULT, CONST_NUMBER}, -+#endif -+#ifdef EDEADLK -+ {"EDEADLK", NULL, EDEADLK, CONST_NUMBER}, -+#endif -+#ifdef ENFILE -+ {"ENFILE", NULL, ENFILE, CONST_NUMBER}, -+#endif -+#ifdef EAGAIN -+ {"EAGAIN", NULL, EAGAIN, CONST_NUMBER}, -+#endif -+#ifdef ECONNABORTED -+ {"ECONNABORTED", NULL, ECONNABORTED, CONST_NUMBER}, -+#endif -+#ifdef EMLINK -+ {"EMLINK", NULL, EMLINK, CONST_NUMBER}, -+#endif -+#ifdef EBADMSG -+ {"EBADMSG", NULL, EBADMSG, CONST_NUMBER}, -+#endif -+#ifdef ERFKILL -+ {"ERFKILL", NULL, ERFKILL, CONST_NUMBER}, -+#endif -+#ifdef ENOTTY -+ {"ENOTTY", NULL, ENOTTY, CONST_NUMBER}, -+#endif -+#ifdef ELIBACC -+ {"ELIBACC", NULL, ELIBACC, CONST_NUMBER}, -+#endif -+#ifdef ETIME -+ {"ETIME", NULL, ETIME, CONST_NUMBER}, -+#endif -+#ifdef ECHILD -+ {"ECHILD", NULL, ECHILD, CONST_NUMBER}, -+#endif -+#ifdef ENOTRECOVERABLE -+ {"ENOTRECOVERABLE", NULL, ENOTRECOVERABLE, CONST_NUMBER}, -+#endif -+#ifdef EISCONN -+ {"EISCONN", NULL, EISCONN, CONST_NUMBER}, -+#endif -+#ifdef ENAVAIL -+ {"ENAVAIL", NULL, ENAVAIL, CONST_NUMBER}, -+#endif -+#ifdef EDESTADDRREQ -+ {"EDESTADDRREQ", NULL, EDESTADDRREQ, CONST_NUMBER}, -+#endif -+#ifdef EREMOTEIO -+ {"EREMOTEIO", NULL, EREMOTEIO, CONST_NUMBER}, -+#endif -+#ifdef ESTALE -+ {"ESTALE", NULL, ESTALE, CONST_NUMBER}, -+#endif -+#ifdef ESTRPIPE -+ {"ESTRPIPE", NULL, ESTRPIPE, CONST_NUMBER}, -+#endif -+#ifdef EHOSTUNREACH -+ {"EHOSTUNREACH", NULL, EHOSTUNREACH, CONST_NUMBER}, -+#endif -+#ifdef ENOTBLK -+ {"ENOTBLK", NULL, ENOTBLK, CONST_NUMBER}, -+#endif -+#ifdef EEXIST -+ {"EEXIST", NULL, EEXIST, CONST_NUMBER}, -+#endif -+#ifdef ENOTDIR -+ {"ENOTDIR", NULL, ENOTDIR, CONST_NUMBER}, -+#endif -+#ifdef EWOULDBLOCK -+ {"EWOULDBLOCK", NULL, EWOULDBLOCK, CONST_NUMBER}, -+#endif -+#ifdef EREMCHG -+ {"EREMCHG", NULL, EREMCHG, CONST_NUMBER}, -+#endif -+#ifdef ELOOP -+ {"ELOOP", NULL, ELOOP, CONST_NUMBER}, -+#endif -+#ifdef ENOTUNIQ -+ {"ENOTUNIQ", NULL, ENOTUNIQ, CONST_NUMBER}, -+#endif -+#ifdef EMEDIUMTYPE -+ {"EMEDIUMTYPE", NULL, EMEDIUMTYPE, CONST_NUMBER}, -+#endif -+#ifdef ENOLCK -+ {"ENOLCK", NULL, ENOLCK, CONST_NUMBER}, -+#endif -+#ifdef EUNATCH -+ {"EUNATCH", NULL, EUNATCH, CONST_NUMBER}, -+#endif -+#ifdef EPROTONOSUPPORT -+ {"EPROTONOSUPPORT", NULL, EPROTONOSUPPORT, CONST_NUMBER}, -+#endif -+#ifdef EHOSTDOWN -+ {"EHOSTDOWN", NULL, EHOSTDOWN, CONST_NUMBER}, -+#endif -+#ifdef EINTR -+ {"EINTR", NULL, EINTR, CONST_NUMBER}, -+#endif -+#ifdef ETIMEDOUT -+ {"ETIMEDOUT", NULL, ETIMEDOUT, CONST_NUMBER}, -+#endif -+#ifdef EOWNERDEAD -+ {"EOWNERDEAD", NULL, EOWNERDEAD, CONST_NUMBER}, -+#endif -+#ifdef EL2HLT -+ {"EL2HLT", NULL, EL2HLT, CONST_NUMBER}, -+#endif -+#ifdef ETERM -+ {"ETERM", NULL, ETERM, CONST_NUMBER}, -+#endif -+#ifdef EBADSLT -+ {"EBADSLT", NULL, EBADSLT, CONST_NUMBER}, -+#endif -+#ifdef ESHUTDOWN -+ {"ESHUTDOWN", NULL, ESHUTDOWN, CONST_NUMBER}, -+#endif -+#ifdef EIO -+ {"EIO", NULL, EIO, CONST_NUMBER}, -+#endif -+#ifdef ENOANO -+ {"ENOANO", NULL, ENOANO, CONST_NUMBER}, -+#endif -+#ifdef EACCES -+ {"EACCES", NULL, EACCES, CONST_NUMBER}, -+#endif -+#ifdef EOPNOTSUPP -+ {"EOPNOTSUPP", NULL, EOPNOTSUPP, CONST_NUMBER}, -+#endif -+#ifdef EKEYREJECTED -+ {"EKEYREJECTED", NULL, EKEYREJECTED, CONST_NUMBER}, -+#endif -+#ifdef ESOCKTNOSUPPORT -+ {"ESOCKTNOSUPPORT", NULL, ESOCKTNOSUPPORT, CONST_NUMBER}, -+#endif -+#ifdef ENOKEY -+ {"ENOKEY", NULL, ENOKEY, CONST_NUMBER}, -+#endif -+#ifdef ELIBBAD -+ {"ELIBBAD", NULL, ELIBBAD, CONST_NUMBER}, -+#endif -+#ifdef ENODEV -+ {"ENODEV", NULL, ENODEV, CONST_NUMBER}, -+#endif -+#ifdef ECANCELED -+ {"ECANCELED", NULL, ECANCELED, CONST_NUMBER}, -+#endif -+#ifdef ENOBUFS -+ {"ENOBUFS", NULL, ENOBUFS, CONST_NUMBER}, -+#endif -+#ifdef ENETUNREACH -+ {"ENETUNREACH", NULL, ENETUNREACH, CONST_NUMBER}, -+#endif -+#ifdef EL3HLT -+ {"EL3HLT", NULL, EL3HLT, CONST_NUMBER}, -+#endif -+#ifdef ENXIO -+ {"ENXIO", NULL, ENXIO, CONST_NUMBER}, -+#endif -+#ifdef ENETRESET -+ {"ENETRESET", NULL, ENETRESET, CONST_NUMBER}, -+#endif -+#ifdef ENOENT -+ {"ENOENT", NULL, ENOENT, CONST_NUMBER}, -+#endif -+#ifdef ENOMSG -+ {"ENOMSG", NULL, ENOMSG, CONST_NUMBER}, -+#endif -+#ifdef EL3RST -+ {"EL3RST", NULL, EL3RST, CONST_NUMBER}, -+#endif -+#ifdef EMFILE -+ {"EMFILE", NULL, EMFILE, CONST_NUMBER}, -+#endif -+#ifdef ENOEXEC -+ {"ENOEXEC", NULL, ENOEXEC, CONST_NUMBER}, -+#endif -+#ifdef ENOTEMPTY -+ {"ENOTEMPTY", NULL, ENOTEMPTY, CONST_NUMBER}, -+#endif -+#ifdef EMTHREAD -+ {"EMTHREAD", NULL, EMTHREAD, CONST_NUMBER}, -+#endif -+#ifdef EISNAM -+ {"EISNAM", NULL, EISNAM, CONST_NUMBER}, -+#endif -+#ifdef EINVAL -+ {"EINVAL", NULL, EINVAL, CONST_NUMBER}, -+#endif -+#ifdef ERANGE -+ {"ERANGE", NULL, ERANGE, CONST_NUMBER}, -+#endif -+#ifdef E2BIG -+ {"E2BIG", NULL, E2BIG, CONST_NUMBER}, -+#endif -+#ifdef ENOTNAM -+ {"ENOTNAM", NULL, ENOTNAM, CONST_NUMBER}, -+#endif -+#ifdef ENONET -+ {"ENONET", NULL, ENONET, CONST_NUMBER}, -+#endif -+#ifdef EADDRNOTAVAIL -+ {"EADDRNOTAVAIL", NULL, EADDRNOTAVAIL, CONST_NUMBER}, -+#endif -+#ifdef ENOSYS -+ {"ENOSYS", NULL, ENOSYS, CONST_NUMBER}, -+#endif -+#ifdef EINPROGRESS -+ {"EINPROGRESS", NULL, EINPROGRESS, CONST_NUMBER}, -+#endif -+#ifdef EBUSY -+ {"EBUSY", NULL, EBUSY, CONST_NUMBER}, -+#endif -+#ifdef EBADFD -+ {"EBADFD", NULL, EBADFD, CONST_NUMBER}, -+#endif -+#ifdef EISDIR -+ {"EISDIR", NULL, EISDIR, CONST_NUMBER}, -+#endif -+#ifdef EADV -+ {"EADV", NULL, EADV, CONST_NUMBER}, -+#endif -+#ifdef ECONNRESET -+ {"ECONNRESET", NULL, ECONNRESET, CONST_NUMBER}, -+#endif -+#ifdef ENOSPC -+ {"ENOSPC", NULL, ENOSPC, CONST_NUMBER}, -+#endif -+#ifdef ETOOMANYREFS -+ {"ETOOMANYREFS", NULL, ETOOMANYREFS, CONST_NUMBER}, -+#endif -+#ifdef EXFULL -+ {"EXFULL", NULL, EXFULL, CONST_NUMBER}, -+#endif -+#ifdef EPROTOTYPE -+ {"EPROTOTYPE", NULL, EPROTOTYPE, CONST_NUMBER}, -+#endif -+#ifdef ESRCH -+ {"ESRCH", NULL, ESRCH, CONST_NUMBER}, -+#endif -+#ifdef EMSGSIZE -+ {"EMSGSIZE", NULL, EMSGSIZE, CONST_NUMBER}, -+#endif -+#ifdef EAFNOSUPPORT -+ {"EAFNOSUPPORT", NULL, EAFNOSUPPORT, CONST_NUMBER}, -+#endif -+#ifdef ESPIPE -+ {"ESPIPE", NULL, ESPIPE, CONST_NUMBER}, -+#endif -+#ifdef ENETDOWN -+ {"ENETDOWN", NULL, ENETDOWN, CONST_NUMBER}, -+#endif -+#ifdef ECHRNG -+ {"ECHRNG", NULL, ECHRNG, CONST_NUMBER}, -+#endif -+#ifdef ENOMEM -+ {"ENOMEM", NULL, ENOMEM, CONST_NUMBER}, -+#endif -+#ifdef ECONNREFUSED -+ {"ECONNREFUSED", NULL, ECONNREFUSED, CONST_NUMBER}, -+#endif -+#ifdef ETXTBSY -+ {"ETXTBSY", NULL, ETXTBSY, CONST_NUMBER}, -+#endif -+#ifdef EKEYEXPIRED -+ {"EKEYEXPIRED", NULL, EKEYEXPIRED, CONST_NUMBER}, -+#endif -+#ifdef ENOMEDIUM -+ {"ENOMEDIUM", NULL, ENOMEDIUM, CONST_NUMBER}, -+#endif -+#ifdef EUSERS -+ {"EUSERS", NULL, EUSERS, CONST_NUMBER}, -+#endif -+#ifdef EILSEQ -+ {"EILSEQ", NULL, EILSEQ, CONST_NUMBER}, -+#endif -+#ifdef ELIBEXEC -+ {"ELIBEXEC", NULL, ELIBEXEC, CONST_NUMBER}, -+#endif -+#ifdef EALREADY -+ {"EALREADY", NULL, EALREADY, CONST_NUMBER}, -+#endif -+#ifdef ENAMETOOLONG -+ {"ENAMETOOLONG", NULL, ENAMETOOLONG, CONST_NUMBER}, -+#endif -+#ifdef EXDEV -+ {"EXDEV", NULL, EXDEV, CONST_NUMBER}, -+#endif -+#ifdef EBADF -+ {"EBADF", NULL, EBADF, CONST_NUMBER}, -+#endif -+#ifdef EL2NSYNC -+ {"EL2NSYNC", NULL, EL2NSYNC, CONST_NUMBER}, -+#endif -+ {NULL, NULL, 0.0 , 0} -+}; - -+static const reg_impl obj_ZErrors_implements[] = { -+ {NULL, NULL} -+}; - --static const luaL_reg obj_zmq_msg_t_pub_funcs[] = { -+static const luaL_Reg obj_zmq_msg_t_pub_funcs[] = { - {"init", zmq_msg_t__init__meth}, - {"init_size", zmq_msg_t__init_size__meth}, - {"init_data", zmq_msg_t__init_data__meth}, - {NULL, NULL} - }; - --static const luaL_reg obj_zmq_msg_t_methods[] = { -+static const luaL_Reg obj_zmq_msg_t_methods[] = { - {"close", zmq_msg_t__close__meth}, - {"move", zmq_msg_t__move__meth}, - {"copy", zmq_msg_t__copy__meth}, -@@ -3092,7 +7225,7 @@ static const luaL_reg obj_zmq_msg_t_methods[] = { - {NULL, NULL} - }; - --static const luaL_reg obj_zmq_msg_t_metas[] = { -+static const luaL_Reg obj_zmq_msg_t_metas[] = { - {"__gc", zmq_msg_t__delete__meth}, - {"__tostring", zmq_msg_t____tostring__meth}, - {"__eq", obj_simple_udata_default_equal}, -@@ -3111,25 +7244,182 @@ static const obj_const obj_zmq_msg_t_constants[] = { - {NULL, NULL, 0.0 , 0} - }; - --static const luaL_reg obj_ZMQ_Socket_pub_funcs[] = { -+static const reg_impl obj_zmq_msg_t_implements[] = { -+ { "BufferIF", &(zmq_msg_t_Buffer) }, -+ -+ { "MutableBufferIF", &(zmq_msg_t_MutableBuffer) }, -+ -+ {NULL, NULL} -+}; -+ -+static const luaL_Reg obj_ZMQ_Socket_pub_funcs[] = { - {NULL, NULL} - }; - --static const luaL_reg obj_ZMQ_Socket_methods[] = { -+static const luaL_Reg obj_ZMQ_Socket_methods[] = { - {"close", ZMQ_Socket__close__meth}, - {"bind", ZMQ_Socket__bind__meth}, -+#if (VERSION_3_2) -+ {"unbind", ZMQ_Socket__unbind__meth}, -+#endif - {"connect", ZMQ_Socket__connect__meth}, -+#if (VERSION_3_2) -+ {"disconnect", ZMQ_Socket__disconnect__meth}, -+#endif - {"setopt", ZMQ_Socket__setopt__meth}, - {"getopt", ZMQ_Socket__getopt__meth}, -- {"events", ZMQ_Socket__events__meth}, - {"send_msg", ZMQ_Socket__send_msg__meth}, - {"send", ZMQ_Socket__send__meth}, - {"recv_msg", ZMQ_Socket__recv_msg__meth}, - {"recv", ZMQ_Socket__recv__meth}, -+#if (VERSION_2_0|VERSION_3_0) -+ {"hwm", ZMQ_Socket__hwm__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"set_hwm", ZMQ_Socket__set_hwm__meth}, -+#endif -+#if (VERSION_2_0) -+ {"swap", ZMQ_Socket__swap__meth}, -+#endif -+#if (VERSION_2_0) -+ {"set_swap", ZMQ_Socket__set_swap__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"affinity", ZMQ_Socket__affinity__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"set_affinity", ZMQ_Socket__set_affinity__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"identity", ZMQ_Socket__identity__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"set_identity", ZMQ_Socket__set_identity__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"subscribe", ZMQ_Socket__subscribe__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"unsubscribe", ZMQ_Socket__unsubscribe__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"rate", ZMQ_Socket__rate__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"set_rate", ZMQ_Socket__set_rate__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"recovery_ivl", ZMQ_Socket__recovery_ivl__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"set_recovery_ivl", ZMQ_Socket__set_recovery_ivl__meth}, -+#endif -+#if (VERSION_2_0) -+ {"mcast_loop", ZMQ_Socket__mcast_loop__meth}, -+#endif -+#if (VERSION_2_0) -+ {"set_mcast_loop", ZMQ_Socket__set_mcast_loop__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"sndbuf", ZMQ_Socket__sndbuf__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"set_sndbuf", ZMQ_Socket__set_sndbuf__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"rcvbuf", ZMQ_Socket__rcvbuf__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"set_rcvbuf", ZMQ_Socket__set_rcvbuf__meth}, -+#endif -+#if (VERSION_2_0|VERSION_3_0) -+ {"rcvmore", ZMQ_Socket__rcvmore__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"fd", ZMQ_Socket__fd__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"events", ZMQ_Socket__events__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"type", ZMQ_Socket__type__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"linger", ZMQ_Socket__linger__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"set_linger", ZMQ_Socket__set_linger__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"reconnect_ivl", ZMQ_Socket__reconnect_ivl__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"set_reconnect_ivl", ZMQ_Socket__set_reconnect_ivl__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"backlog", ZMQ_Socket__backlog__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"set_backlog", ZMQ_Socket__set_backlog__meth}, -+#endif -+#if (VERSION_2_1) -+ {"recovery_ivl_msec", ZMQ_Socket__recovery_ivl_msec__meth}, -+#endif -+#if (VERSION_2_1) -+ {"set_recovery_ivl_msec", ZMQ_Socket__set_recovery_ivl_msec__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"reconnect_ivl_max", ZMQ_Socket__reconnect_ivl_max__meth}, -+#endif -+#if (VERSION_2_1|VERSION_3_0) -+ {"set_reconnect_ivl_max", ZMQ_Socket__set_reconnect_ivl_max__meth}, -+#endif -+#if (VERSION_3_0) -+ {"maxmsgsize", ZMQ_Socket__maxmsgsize__meth}, -+#endif -+#if (VERSION_3_0) -+ {"set_maxmsgsize", ZMQ_Socket__set_maxmsgsize__meth}, -+#endif -+#if (VERSION_3_0) -+ {"sndhwm", ZMQ_Socket__sndhwm__meth}, -+#endif -+#if (VERSION_3_0) -+ {"set_sndhwm", ZMQ_Socket__set_sndhwm__meth}, -+#endif -+#if (VERSION_3_0) -+ {"rcvhwm", ZMQ_Socket__rcvhwm__meth}, -+#endif -+#if (VERSION_3_0) -+ {"set_rcvhwm", ZMQ_Socket__set_rcvhwm__meth}, -+#endif -+#if (VERSION_3_0) -+ {"multicast_hops", ZMQ_Socket__multicast_hops__meth}, -+#endif -+#if (VERSION_3_0) -+ {"set_multicast_hops", ZMQ_Socket__set_multicast_hops__meth}, -+#endif -+#if (VERSION_2_2|VERSION_3_0) -+ {"rcvtimeo", ZMQ_Socket__rcvtimeo__meth}, -+#endif -+#if (VERSION_2_2|VERSION_3_0) -+ {"set_rcvtimeo", ZMQ_Socket__set_rcvtimeo__meth}, -+#endif -+#if (VERSION_2_2|VERSION_3_0) -+ {"sndtimeo", ZMQ_Socket__sndtimeo__meth}, -+#endif -+#if (VERSION_2_2|VERSION_3_0) -+ {"set_sndtimeo", ZMQ_Socket__set_sndtimeo__meth}, -+#endif -+#if (VERSION_3_0) -+ {"ipv4only", ZMQ_Socket__ipv4only__meth}, -+#endif -+#if (VERSION_3_0) -+ {"set_ipv4only", ZMQ_Socket__set_ipv4only__meth}, -+#endif - {NULL, NULL} - }; - --static const luaL_reg obj_ZMQ_Socket_metas[] = { -+static const luaL_Reg obj_ZMQ_Socket_metas[] = { - {"__gc", ZMQ_Socket__close__meth}, - {"__tostring", obj_udata_default_tostring}, - {"__eq", obj_udata_default_equal}, -@@ -3148,23 +7438,27 @@ static const obj_const obj_ZMQ_Socket_constants[] = { - {NULL, NULL, 0.0 , 0} - }; - --static const luaL_reg obj_ZMQ_Poller_pub_funcs[] = { -+static const reg_impl obj_ZMQ_Socket_implements[] = { -+ {NULL, NULL} -+}; -+ -+static const luaL_Reg obj_ZMQ_Poller_pub_funcs[] = { - {"new", ZMQ_Poller__new__meth}, - {NULL, NULL} - }; - --static const luaL_reg obj_ZMQ_Poller_methods[] = { -+static const luaL_Reg obj_ZMQ_Poller_methods[] = { - {"close", ZMQ_Poller__close__meth}, - {"add", ZMQ_Poller__add__meth}, - {"modify", ZMQ_Poller__modify__meth}, - {"remove", ZMQ_Poller__remove__meth}, - {"poll", ZMQ_Poller__poll__meth}, -- {"next_revents", ZMQ_Poller__next_revents__meth}, -+ {"next_revents_idx", ZMQ_Poller__next_revents_idx__meth}, - {"count", ZMQ_Poller__count__meth}, - {NULL, NULL} - }; - --static const luaL_reg obj_ZMQ_Poller_metas[] = { -+static const luaL_Reg obj_ZMQ_Poller_metas[] = { - {"__gc", ZMQ_Poller__close__meth}, - {"__tostring", obj_simple_udata_default_tostring}, - {"__eq", obj_simple_udata_default_equal}, -@@ -3183,18 +7477,28 @@ static const obj_const obj_ZMQ_Poller_constants[] = { - {NULL, NULL, 0.0 , 0} - }; - --static const luaL_reg obj_ZMQ_Ctx_pub_funcs[] = { -+static const reg_impl obj_ZMQ_Poller_implements[] = { - {NULL, NULL} - }; - --static const luaL_reg obj_ZMQ_Ctx_methods[] = { -+static const luaL_Reg obj_ZMQ_Ctx_pub_funcs[] = { -+ {NULL, NULL} -+}; -+ -+static const luaL_Reg obj_ZMQ_Ctx_methods[] = { - {"term", ZMQ_Ctx__term__meth}, - {"lightuserdata", ZMQ_Ctx__lightuserdata__meth}, - {"socket", ZMQ_Ctx__socket__meth}, -+#if (VERSION_3_2) -+ {"set", ZMQ_Ctx__set__meth}, -+#endif -+#if (VERSION_3_2) -+ {"get", ZMQ_Ctx__get__meth}, -+#endif - {NULL, NULL} - }; - --static const luaL_reg obj_ZMQ_Ctx_metas[] = { -+static const luaL_Reg obj_ZMQ_Ctx_metas[] = { - {"__gc", ZMQ_Ctx__term__meth}, - {"__tostring", obj_udata_default_tostring}, - {"__eq", obj_udata_default_equal}, -@@ -3213,17 +7517,21 @@ static const obj_const obj_ZMQ_Ctx_constants[] = { - {NULL, NULL, 0.0 , 0} - }; - --static const luaL_reg obj_ZMQ_StopWatch_pub_funcs[] = { -+static const reg_impl obj_ZMQ_Ctx_implements[] = { -+ {NULL, NULL} -+}; -+ -+static const luaL_Reg obj_ZMQ_StopWatch_pub_funcs[] = { - {"start", ZMQ_StopWatch__start__meth}, - {NULL, NULL} - }; - --static const luaL_reg obj_ZMQ_StopWatch_methods[] = { -+static const luaL_Reg obj_ZMQ_StopWatch_methods[] = { - {"stop", ZMQ_StopWatch__stop__meth}, - {NULL, NULL} - }; - --static const luaL_reg obj_ZMQ_StopWatch_metas[] = { -+static const luaL_Reg obj_ZMQ_StopWatch_metas[] = { - {"__gc", ZMQ_StopWatch__stop__meth}, - {"__tostring", obj_udata_default_tostring}, - {"__eq", obj_udata_default_equal}, -@@ -3242,87 +7550,226 @@ static const obj_const obj_ZMQ_StopWatch_constants[] = { - {NULL, NULL, 0.0 , 0} - }; - --static const luaL_reg zmq_function[] = { -+static const reg_impl obj_ZMQ_StopWatch_implements[] = { -+ {NULL, NULL} -+}; -+ -+static const luaL_Reg zmq_function[] = { - {"version", zmq__version__func}, - {"init", zmq__init__func}, - {"init_ctx", zmq__init_ctx__func}, -+#if (VERSION_2_0|VERSION_3_2) - {"device", zmq__device__func}, -+#endif -+#if (VERSION_3_2) -+ {"proxy", zmq__proxy__func}, -+#endif - {"stopwatch_start", zmq__stopwatch_start__func}, - {"sleep", zmq__sleep__func}, -- {"dump_ffi", zmq__dump_ffi__func}, - {NULL, NULL} - }; - - static const obj_const zmq_constants[] = { -- {"TYPE", NULL, 16, CONST_NUMBER}, -- {"RCVMORE", NULL, 13, CONST_NUMBER}, -- {"LINGER", NULL, 17, CONST_NUMBER}, -- {"SWAP", NULL, 3, CONST_NUMBER}, -- {"MSG_SHARED", NULL, 128, CONST_NUMBER}, -- {"SNDBUF", NULL, 11, CONST_NUMBER}, -- {"STREAMER", NULL, 1, CONST_NUMBER}, -- {"NOBLOCK", NULL, 1, CONST_NUMBER}, -- {"RCVBUF", NULL, 12, CONST_NUMBER}, -- {"FORWARDER", NULL, 2, CONST_NUMBER}, -- {"RATE", NULL, 8, CONST_NUMBER}, -- {"IDENTITY", NULL, 5, CONST_NUMBER}, -- {"SUB", NULL, 2, CONST_NUMBER}, -- {"FD", NULL, 14, CONST_NUMBER}, -- {"PUB", NULL, 1, CONST_NUMBER}, -- {"DELIMITER", NULL, 31, CONST_NUMBER}, -- {"BACKLOG", NULL, 19, CONST_NUMBER}, -- {"SNDMORE", NULL, 2, CONST_NUMBER}, -- {"POLLIN", NULL, 1, CONST_NUMBER}, -- {"REP", NULL, 4, CONST_NUMBER}, -- {"POLLERR", NULL, 4, CONST_NUMBER}, -- {"MAX_VSM_SIZE", NULL, 30, CONST_NUMBER}, -- {"PUSH", NULL, 8, CONST_NUMBER}, -- {"HWM", NULL, 1, CONST_NUMBER}, -- {"MSG_MORE", NULL, 1, CONST_NUMBER}, -- {"REQ", NULL, 3, CONST_NUMBER}, -- {"UNSUBSCRIBE", NULL, 7, CONST_NUMBER}, -- {"PULL", NULL, 7, CONST_NUMBER}, -- {"PAIR", NULL, 0, CONST_NUMBER}, -- {"QUEUE", NULL, 3, CONST_NUMBER}, -- {"EVENTS", NULL, 15, CONST_NUMBER}, -- {"XREQ", NULL, 5, CONST_NUMBER}, -- {"XREP", NULL, 6, CONST_NUMBER}, -- {"SUBSCRIBE", NULL, 6, CONST_NUMBER}, -- {"MCAST_LOOP", NULL, 10, CONST_NUMBER}, -- {"VSM", NULL, 32, CONST_NUMBER}, -- {"RECOVERY_IVL", NULL, 9, CONST_NUMBER}, -- {"RECONNECT_IVL", NULL, 18, CONST_NUMBER}, -- {"POLLOUT", NULL, 2, CONST_NUMBER}, -- {"AFFINITY", NULL, 4, CONST_NUMBER}, -+#ifdef ZMQ_TYPE -+ {"TYPE", NULL, ZMQ_TYPE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RCVMORE -+ {"RCVMORE", NULL, ZMQ_RCVMORE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_LINGER -+ {"LINGER", NULL, ZMQ_LINGER, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_REP -+ {"REP", NULL, ZMQ_REP, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_MAX_VSM_SIZE -+ {"MAX_VSM_SIZE", NULL, ZMQ_MAX_VSM_SIZE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_MSG_SHARED -+ {"MSG_SHARED", NULL, ZMQ_MSG_SHARED, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_MULTICAST_HOPS -+ {"MULTICAST_HOPS", NULL, ZMQ_MULTICAST_HOPS, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_XSUB -+ {"XSUB", NULL, ZMQ_XSUB, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_PAIR -+ {"PAIR", NULL, ZMQ_PAIR, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_MSG_MORE -+ {"MSG_MORE", NULL, ZMQ_MSG_MORE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_STREAMER -+ {"STREAMER", NULL, ZMQ_STREAMER, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_MAXMSGSIZE -+ {"MAXMSGSIZE", NULL, ZMQ_MAXMSGSIZE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_DEALER -+ {"DEALER", NULL, ZMQ_DEALER, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_ROUTER -+ {"ROUTER", NULL, ZMQ_ROUTER, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_NOBLOCK -+ {"NOBLOCK", NULL, ZMQ_NOBLOCK, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RCVBUF -+ {"RCVBUF", NULL, ZMQ_RCVBUF, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_FORWARDER -+ {"FORWARDER", NULL, ZMQ_FORWARDER, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RATE -+ {"RATE", NULL, ZMQ_RATE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_IDENTITY -+ {"IDENTITY", NULL, ZMQ_IDENTITY, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_PULL -+ {"PULL", NULL, ZMQ_PULL, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_IO_THREADS -+ {"IO_THREADS", NULL, ZMQ_IO_THREADS, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RCVHWM -+ {"RCVHWM", NULL, ZMQ_RCVHWM, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_SNDHWM -+ {"SNDHWM", NULL, ZMQ_SNDHWM, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_AFFINITY -+ {"AFFINITY", NULL, ZMQ_AFFINITY, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_SUB -+ {"SUB", NULL, ZMQ_SUB, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_UNSUBSCRIBE -+ {"UNSUBSCRIBE", NULL, ZMQ_UNSUBSCRIBE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_PUSH -+ {"PUSH", NULL, ZMQ_PUSH, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_XREQ -+ {"XREQ", NULL, ZMQ_XREQ, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RCVLABEL -+ {"RCVLABEL", NULL, ZMQ_RCVLABEL, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_PUB -+ {"PUB", NULL, ZMQ_PUB, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_DELIMITER -+ {"DELIMITER", NULL, ZMQ_DELIMITER, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_BACKLOG -+ {"BACKLOG", NULL, ZMQ_BACKLOG, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_SNDMORE -+ {"SNDMORE", NULL, ZMQ_SNDMORE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_EVENTS -+ {"EVENTS", NULL, ZMQ_EVENTS, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_SNDBUF -+ {"SNDBUF", NULL, ZMQ_SNDBUF, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_MAX_SOCKETS -+ {"MAX_SOCKETS", NULL, ZMQ_MAX_SOCKETS, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_POLLIN -+ {"POLLIN", NULL, ZMQ_POLLIN, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_FD -+ {"FD", NULL, ZMQ_FD, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_POLLERR -+ {"POLLERR", NULL, ZMQ_POLLERR, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RCVTIMEO -+ {"RCVTIMEO", NULL, ZMQ_RCVTIMEO, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_SNDTIMEO -+ {"SNDTIMEO", NULL, ZMQ_SNDTIMEO, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_HWM -+ {"HWM", NULL, ZMQ_HWM, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_XPUB -+ {"XPUB", NULL, ZMQ_XPUB, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_REQ -+ {"REQ", NULL, ZMQ_REQ, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RECONNECT_IVL_MAX -+ {"RECONNECT_IVL_MAX", NULL, ZMQ_RECONNECT_IVL_MAX, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RECONNECT_IVL_MSEC -+ {"RECONNECT_IVL_MSEC", NULL, ZMQ_RECONNECT_IVL_MSEC, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_SNDLABEL -+ {"SNDLABEL", NULL, ZMQ_SNDLABEL, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_QUEUE -+ {"QUEUE", NULL, ZMQ_QUEUE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_VSM -+ {"VSM", NULL, ZMQ_VSM, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_SWAP -+ {"SWAP", NULL, ZMQ_SWAP, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_XREP -+ {"XREP", NULL, ZMQ_XREP, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_SUBSCRIBE -+ {"SUBSCRIBE", NULL, ZMQ_SUBSCRIBE, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_MCAST_LOOP -+ {"MCAST_LOOP", NULL, ZMQ_MCAST_LOOP, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_DONTWAIT -+ {"DONTWAIT", NULL, ZMQ_DONTWAIT, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RECOVERY_IVL -+ {"RECOVERY_IVL", NULL, ZMQ_RECOVERY_IVL, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_RECONNECT_IVL -+ {"RECONNECT_IVL", NULL, ZMQ_RECONNECT_IVL, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_POLLOUT -+ {"POLLOUT", NULL, ZMQ_POLLOUT, CONST_NUMBER}, -+#endif -+#ifdef ZMQ_POLL_MSEC -+ {"POLL_MSEC", NULL, ZMQ_POLL_MSEC, CONST_NUMBER}, -+#endif - {NULL, NULL, 0.0 , 0} - }; - --static const ffi_export_symbol zmq_ffi_export[] = { --{ "get_zmq_strerror", get_zmq_strerror }, --{ "simple_zmq_send", simple_zmq_send }, --{ "poller_find_sock_item", poller_find_sock_item }, --{ "poller_find_fd_item", poller_find_fd_item }, --{ "poller_get_free_item", poller_get_free_item }, --{ "poller_poll", poller_poll }, --{ "poller_remove_item", poller_remove_item }, -- {NULL, NULL} --}; -- - - - static const reg_sub_module reg_sub_modules[] = { -- { &(obj_type_zmq_msg_t), 0, obj_zmq_msg_t_pub_funcs, obj_zmq_msg_t_methods, obj_zmq_msg_t_metas, obj_zmq_msg_t_bases, obj_zmq_msg_t_fields, obj_zmq_msg_t_constants}, -- { &(obj_type_ZMQ_Socket), 0, obj_ZMQ_Socket_pub_funcs, obj_ZMQ_Socket_methods, obj_ZMQ_Socket_metas, obj_ZMQ_Socket_bases, obj_ZMQ_Socket_fields, obj_ZMQ_Socket_constants}, -- { &(obj_type_ZMQ_Poller), 0, obj_ZMQ_Poller_pub_funcs, obj_ZMQ_Poller_methods, obj_ZMQ_Poller_metas, obj_ZMQ_Poller_bases, obj_ZMQ_Poller_fields, obj_ZMQ_Poller_constants}, -- { &(obj_type_ZMQ_Ctx), 0, obj_ZMQ_Ctx_pub_funcs, obj_ZMQ_Ctx_methods, obj_ZMQ_Ctx_metas, obj_ZMQ_Ctx_bases, obj_ZMQ_Ctx_fields, obj_ZMQ_Ctx_constants}, -- { &(obj_type_ZMQ_StopWatch), 0, obj_ZMQ_StopWatch_pub_funcs, obj_ZMQ_StopWatch_methods, obj_ZMQ_StopWatch_metas, obj_ZMQ_StopWatch_bases, obj_ZMQ_StopWatch_fields, obj_ZMQ_StopWatch_constants}, -- {NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL} -+ { &(obj_type_ZErrors), REG_META, obj_ZErrors_pub_funcs, obj_ZErrors_methods, obj_ZErrors_metas, NULL, NULL, obj_ZErrors_constants, NULL, 0}, -+ { &(obj_type_zmq_msg_t), REG_OBJECT, obj_zmq_msg_t_pub_funcs, obj_zmq_msg_t_methods, obj_zmq_msg_t_metas, obj_zmq_msg_t_bases, obj_zmq_msg_t_fields, obj_zmq_msg_t_constants, obj_zmq_msg_t_implements, 0}, -+ { &(obj_type_ZMQ_Socket), REG_OBJECT, obj_ZMQ_Socket_pub_funcs, obj_ZMQ_Socket_methods, obj_ZMQ_Socket_metas, obj_ZMQ_Socket_bases, obj_ZMQ_Socket_fields, obj_ZMQ_Socket_constants, obj_ZMQ_Socket_implements, 0}, -+ { &(obj_type_ZMQ_Poller), REG_OBJECT, obj_ZMQ_Poller_pub_funcs, obj_ZMQ_Poller_methods, obj_ZMQ_Poller_metas, obj_ZMQ_Poller_bases, obj_ZMQ_Poller_fields, obj_ZMQ_Poller_constants, obj_ZMQ_Poller_implements, 0}, -+ { &(obj_type_ZMQ_Ctx), REG_OBJECT, obj_ZMQ_Ctx_pub_funcs, obj_ZMQ_Ctx_methods, obj_ZMQ_Ctx_metas, obj_ZMQ_Ctx_bases, obj_ZMQ_Ctx_fields, obj_ZMQ_Ctx_constants, obj_ZMQ_Ctx_implements, 0}, -+ { &(obj_type_ZMQ_StopWatch), REG_OBJECT, obj_ZMQ_StopWatch_pub_funcs, obj_ZMQ_StopWatch_methods, obj_ZMQ_StopWatch_metas, obj_ZMQ_StopWatch_bases, obj_ZMQ_StopWatch_fields, obj_ZMQ_StopWatch_constants, obj_ZMQ_StopWatch_implements, 0}, -+ {NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0} - }; - - - - - -+#if LUAJIT_FFI -+static const ffi_export_symbol zmq_ffi_export[] = { -+ {NULL, { NULL } } -+}; -+#endif -+ -+ - - - static const luaL_Reg submodule_libs[] = { -@@ -3355,20 +7802,29 @@ LUA_NOBJ_API int luaopen_zmq(lua_State *L) { - const luaL_Reg *submodules = submodule_libs; - int priv_table = -1; - --#if LUAJIT_FFI -+ /* register interfaces */ -+ obj_register_interfaces(L, obj_interfaces); -+ - /* private table to hold reference to object metatables. */ - lua_newtable(L); - priv_table = lua_gettop(L); --#endif -+ lua_pushlightuserdata(L, obj_udata_private_key); -+ lua_pushvalue(L, priv_table); -+ lua_rawset(L, LUA_REGISTRYINDEX); /* store private table in registry. */ - - /* create object cache. */ - create_object_instance_cache(L); - - /* module table. */ -+#if REG_MODULES_AS_GLOBALS - luaL_register(L, "zmq", zmq_function); -+#else -+ lua_newtable(L); -+ luaL_setfuncs(L, zmq_function, 0); -+#endif - - /* register module constants. */ -- obj_type_register_constants(L, zmq_constants, -1); -+ obj_type_register_constants(L, zmq_constants, -1, 0); - - for(; submodules->func != NULL ; submodules++) { - lua_pushcfunction(L, submodules->func); -@@ -3389,9 +7845,19 @@ LUA_NOBJ_API int luaopen_zmq(lua_State *L) { - } - - #if LUAJIT_FFI -- nobj_try_loading_ffi(L, "zmq", zmq_ffi_lua_code, -- zmq_ffi_export, priv_table); -+ if(nobj_check_ffi_support(L)) { -+ nobj_try_loading_ffi(L, "zmq.nobj.ffi.lua", zmq_ffi_lua_code, -+ zmq_ffi_export, priv_table); -+ } - #endif -+ -+ /* Cache reference to zmq.ZErrors table for errno->string convertion. */ -+ lua_pushlightuserdata(L, zmq_ZErrors_key); -+ lua_getfield(L, -2, "ZErrors"); -+ lua_rawset(L, LUA_REGISTRYINDEX); -+ -+ -+ - return 1; - } - -diff --git a/src/socket.nobj.lua b/src/socket.nobj.lua -index 207f52b..9c9b067 100644 ---- a/src/socket.nobj.lua -+++ b/src/socket.nobj.lua -@@ -18,21 +18,416 @@ - -- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - -- THE SOFTWARE. - -+------------------------------------------------------------------------------------- -+-- -+-- Generate ZeroMQ socket option code customized for each version of zmq (2.0,2.1,3.x) -+-- -+------------------------------------------------------------------------------------- -+ -+local OPT_TYPES = { -+NONE = "NONE", -+INT = "int", -+UINT32 = "uint32_t", -+UINT64 = "uint64_t", -+INT64 = "int64_t", -+BLOB = "const char *", -+FD = "int", -+} -+local get_set_prefix = { -+rw = { c_get = "lzmq_socket_", get='', c_set = "lzmq_socket_set_", set='set_' }, -+r = { c_get = "lzmq_socket_", get='' }, -+w = { c_set = "lzmq_socket_", set='' }, -+} -+ -+local socket_options = { -+ { ver_def = 'VERSION_2_0', major = 2, minor = 0, -+ [1] = { name="hwm", otype="UINT64", mode="rw", ltype="int" }, -+ [2] = { }, -+ [3] = { name="swap", otype="INT64", mode="rw", ltype="int" }, -+ [4] = { name="affinity", otype="UINT64", mode="rw", ltype="uint64_t" }, -+ [5] = { name="identity", otype="BLOB", mode="rw", ltype="const char *" }, -+ [6] = { name="subscribe", otype="BLOB", mode="w", ltype="const char *" }, -+ [7] = { name="unsubscribe", otype="BLOB", mode="w", ltype="const char *" }, -+ [8] = { name="rate", otype="INT64", mode="rw", ltype="int" }, -+ [9] = { name="recovery_ivl", otype="INT64", mode="rw", ltype="int" }, -+ [10] = { name="mcast_loop", otype="INT64", mode="rw", ltype="int" }, -+ [11] = { name="sndbuf", otype="UINT64", mode="rw", ltype="int" }, -+ [12] = { name="rcvbuf", otype="UINT64", mode="rw", ltype="int" }, -+ [13] = { name="rcvmore", otype="INT64", mode="r", ltype="int" }, -+ }, -+ { ver_def = 'VERSION_2_1', major = 2, minor = 1, -+ [14] = { name="fd", otype="FD", mode="r", ltype="int" }, -+ [15] = { name="events", otype="UINT32", mode="r", ltype="int" }, -+ [16] = { name="type", otype="INT", mode="r", ltype="int" }, -+ [17] = { name="linger", otype="INT", mode="rw", ltype="int" }, -+ [18] = { name="reconnect_ivl", otype="INT", mode="rw", ltype="int" }, -+ [19] = { name="backlog", otype="INT", mode="rw", ltype="int" }, -+ [20] = { name="recovery_ivl_msec", otype="INT64", mode="rw", ltype="int64_t" }, -+ [21] = { name="reconnect_ivl_max", otype="INT", mode="rw", ltype="int" }, -+ }, -+ { ver_def = 'VERSION_2_2', major = 2, minor = 2, -+ [22] = { }, -+ [23] = { }, -+ [24] = { }, -+ [25] = { }, -+ [26] = { }, -+ [27] = { name="rcvtimeo", otype="INT", mode="rw", ltype="int" }, -+ [28] = { name="sndtimeo", otype="INT", mode="rw", ltype="int" }, -+ }, -+ { ver_def = 'VERSION_3_0', major = 3, minor = 0, -+ [1] = { name="hwm", otype="INT", mode="rw", -+custom = [[ -+ZMQ_Error lzmq_socket_set_hwm(ZMQ_Socket *sock, int value) { -+ int val; -+ int rc; -+ val = (int)value; -+ rc = zmq_setsockopt(sock, ZMQ_SNDHWM, &value, sizeof(value)); -+ if(-1 == rc) return rc; -+ val = (int)value; -+ return zmq_setsockopt(sock, ZMQ_RCVHWM, &value, sizeof(value)); -+} -+ZMQ_Error lzmq_socket_hwm(ZMQ_Socket *sock, int *value) { -+ size_t val_len; -+ int rc; -+ val_len = sizeof(value); -+ rc = zmq_getsockopt(sock, ZMQ_SNDHWM, value, &val_len); -+ if(-1 == rc) return rc; -+ val_len = sizeof(value); -+ return zmq_getsockopt(sock, ZMQ_RCVHWM, value, &val_len); -+} -+ -+]] }, -+ [2] = { }, -+ [3] = { }, -+ [4] = { name="affinity", otype="UINT64", mode="rw", ltype="uint64_t" }, -+ [5] = { name="identity", otype="BLOB", mode="rw", ltype="const char *" }, -+ [6] = { name="subscribe", otype="BLOB", mode="w", ltype="const char *" }, -+ [7] = { name="unsubscribe", otype="BLOB", mode="w", ltype="const char *" }, -+ [8] = { name="rate", otype="INT", mode="rw", ltype="int" }, -+ [9] = { name="recovery_ivl", otype="INT", mode="rw", ltype="int" }, -+ [10] = { }, -+ [11] = { name="sndbuf", otype="INT", mode="rw", ltype="int" }, -+ [12] = { name="rcvbuf", otype="INT", mode="rw", ltype="int" }, -+ [13] = { name="rcvmore", otype="INT", mode="r", ltype="int" }, -+ [14] = { name="fd", otype="FD", mode="r", ltype="int" }, -+ [15] = { name="events", otype="INT", mode="r", ltype="int" }, -+ [16] = { name="type", otype="INT", mode="r", ltype="int" }, -+ [17] = { name="linger", otype="INT", mode="rw", ltype="int" }, -+ [18] = { name="reconnect_ivl", otype="INT", mode="rw", ltype="int" }, -+ [19] = { name="backlog", otype="INT", mode="rw", ltype="int" }, -+ [20] = { }, -+ [21] = { name="reconnect_ivl_max", otype="INT", mode="rw", ltype="int" }, -+ [22] = { name="maxmsgsize", otype="INT64", mode="rw", ltype="int64_t" }, -+ [23] = { name="sndhwm", otype="INT", mode="rw", ltype="int" }, -+ [24] = { name="rcvhwm", otype="INT", mode="rw", ltype="int" }, -+ [25] = { name="multicast_hops", otype="INT", mode="rw", ltype="int" }, -+ [26] = { }, -+ [27] = { name="rcvtimeo", otype="INT", mode="rw", ltype="int" }, -+ [28] = { name="sndtimeo", otype="INT", mode="rw", ltype="int" }, -+ [29] = { }, -+ [30] = { }, -+ [31] = { name="ipv4only", otype="INT", mode="rw", ltype="int" }, -+ }, -+} -+local max_options = 50 -+ -+local function foreach_opt(func) -+ for i=1,#socket_options do -+ local ver_opts = socket_options[i] -+ for num=1,max_options do -+ local opt = ver_opts[num] -+ if opt then -+ func(num, opt, ver_opts) -+ end -+ end -+ end -+end -+local add=function(t,val) return table.insert(t,val) end -+local function template(data, templ) -+ return templ:gsub("%${(.-)}", data) -+end -+ -+local socket_methods = {} -+local ffi_opt_names = {} -+local max_methods = 0 -+local function get_methods(opt, ver) -+ local num = opt.num -+ -- check if methods have been created -+ local methods = socket_methods[num] -+ -+ if not methods then -+ add(ffi_opt_names, "\t\t[".. num .. "] = '" .. opt.name .. "',\n") -+ -- need to create methods info. -+ methods = { -+ num=num, -+ name=opt.name, -+ get=opt.get, set=opt.set, c_get=opt.c_get, c_set=opt.c_set, -+ ltype=opt.ltype, otype=opt.otype, mode=opt.mode, -+ versions = {}, -+ } -+ -+ -- initialize all version as not-supported. -+ for i=1,#socket_options do -+ local ver_opts = socket_options[i] -+ methods[ver_opts.ver_def] = false -+ end -+ -+ if num > max_methods then max_methods = num end -+ -+ socket_methods[num] = methods -+ end -+ -+ -- mark this version as supporting the option. -+ methods[ver.ver_def] = true -+ add(methods.versions, ver) -+ -+ return methods -+end -+ -+-- do pre-processing of options. -+foreach_opt(function(num, opt, ver) -+ opt.num = num -+ if not opt.name then -+ opt.name = 'none' -+ opt.otype = 'NONE' -+ opt.DEF = 'unused' -+ return -+ end -+ -- track max option number for each version. -+ if not ver.max_opt or ver.max_opt < num then -+ ver.max_opt = num -+ end -+ opt.DEF = "ZMQ_" .. opt.name:upper() -+ -- ctype & ffi_type -+ local ctype = OPT_TYPES[opt.otype] -+ opt.ctype = ctype -+ if opt.otype == 'BLOB' then -+ opt.ffi_type = 'string' -+ opt.set_len_param = ', size_t value_len' -+ opt.set_val_name = 'value' -+ opt.set_len_name = 'value_len' -+ elseif ctype ~= 'NONE' then -+ opt.ffi_type = ctype .. '[1]' -+ opt.set_len_param = '' -+ opt.set_val_name = '&value' -+ opt.set_len_name = 'sizeof(value)' -+ end -+ -- getter/setter names -+ for meth,prefix in pairs(get_set_prefix[opt.mode]) do -+ opt[meth] = prefix .. opt.name -+ end -+ -- create common list of option get/set methods. -+ local methods = get_methods(opt, ver) -+end) -+ -+local options_c_code = {} -+local opt_types = {} -+ -+local function if_def(def) -+ local code = "#if " .. def .. "\n" -+ add(options_c_code, code) -+ add(opt_types, code) -+end -+local function endif(def) -+ local code = "#endif /* #if " .. def .. " */\n" -+ add(options_c_code, code) -+ add(opt_types, code) -+end -+ -+-- build C code for socket options setters/getters -+local last_ver -+foreach_opt(function(num, opt, ver) -+ if ver ~= last_ver then -+ if last_ver then -+ endif(last_ver.ver_def) -+ end -+ last_ver = ver -+ if_def(ver.ver_def) -+ add(opt_types, template(ver,[[ -+#define ${ver_def}_MAX_OPT ${max_opt} -+]])) -+ end -+ add(opt_types, template(opt,[[ -+ OPT_TYPE_${otype}, /* ${num} ${DEF} */ -+]])) -+ if opt.name == 'none' then return end -+ -- generate setter -+ local set = '' -+ local get = '' -+ if opt.c_set then -+ if opt.otype == 'BLOB' then -+ set = [[ -+LUA_NOBJ_API ZMQ_Error ${c_set}(ZMQ_Socket *sock, const char *value, size_t str_len) { -+ return zmq_setsockopt(sock, ${DEF}, value, str_len); -+]] -+ elseif opt.ctype == opt.ltype then -+ set = [[ -+LUA_NOBJ_API ZMQ_Error ${c_set}(ZMQ_Socket *sock, ${ltype} value) { -+ return zmq_setsockopt(sock, ${DEF}, &value, sizeof(value)); -+]] -+ else -+ set = [[ -+LUA_NOBJ_API ZMQ_Error ${c_set}(ZMQ_Socket *sock, ${ltype} value) { -+ ${ctype} val = (${ctype})value; -+ return zmq_setsockopt(sock, ${DEF}, &val, sizeof(val)); -+]] -+ end -+ set = set .. "}\n\n" -+ end -+ -- generate getter -+ if opt.c_get then -+ if opt.otype == 'BLOB' then -+ get = [[ -+LUA_NOBJ_API ZMQ_Error ${c_get}(ZMQ_Socket *sock, char *value, size_t *len) { -+ return zmq_getsockopt(sock, ${DEF}, value, len); -+]] -+ elseif opt.ctype == opt.ltype then -+ get = [[ -+LUA_NOBJ_API ZMQ_Error ${c_get}(ZMQ_Socket *sock, ${ltype} *value) { -+ size_t val_len = sizeof(${ltype}); -+ return zmq_getsockopt(sock, ${DEF}, value, &val_len); -+]] -+ else -+ get = [[ -+LUA_NOBJ_API ZMQ_Error ${c_get}(ZMQ_Socket *sock, ${ltype} *value) { -+ ${ctype} val; -+ size_t val_len = sizeof(val); -+ int rc = zmq_getsockopt(sock, ${DEF}, &val, &val_len); -+ *value = (${ltype})val; -+ return rc; -+]] -+ end -+ get = get .. "}\n\n" -+ end -+ local templ -+ if opt.custom then -+ templ = opt.custom -+ else -+ templ = set .. get -+ end -+ add(options_c_code, template(opt,templ)) -+end) -+endif(last_ver.ver_def) -+ -+add(opt_types, [[ -+#if VERSION_3_0 -+# define MAX_OPTS VERSION_3_0_MAX_OPT -+#else -+# if VERSION_2_2 -+# define MAX_OPTS VERSION_2_2_MAX_OPT -+# elif VERSION_2_1 -+# define MAX_OPTS VERSION_2_1_MAX_OPT -+# else -+# define MAX_OPTS VERSION_2_0_MAX_OPT -+# endif -+#endif -+}; -+ -+]]) -+ -+options_c_code = table.concat(options_c_code) -+opt_types = table.concat(opt_types) -+ffi_opt_names = table.concat(ffi_opt_names) -+ -+local function tunpack(tab, idx, max) -+ if idx == max then return tab[idx] end -+ return tab[idx], tunpack(tab, idx + 1, max) -+end -+ -+local function build_meth_if_def(meth) -+ local v = {} -+ for i=1,#socket_options do -+ local ver_opts = socket_options[i] -+ if meth[ver_opts.ver_def] then -+ v[#v+1] = ver_opts.ver_def -+ end -+ end -+ return v -+end -+ -+local function build_option_methods() -+ local m = {} -+ -+ for i=1,max_methods do -+ local meth = socket_methods[i] -+ if meth then -+ local ltype = meth.ltype -+ local name -+ -- get list of version defs for this method. -+ local if_defs = build_meth_if_def(meth) -+ -- generate getter method. -+ name = meth.get -+ if name then -+ local args = { ltype, "&value" } -+ local val_out = { ltype, "&value" } -+ if meth.otype == 'BLOB' then -+ val_out = { 'char *', "value", has_length = true } -+ args = { 'char *', "value", "size_t", "&#value" } -+ end -+ m[#m+1] = method (name) { if_defs = if_defs, -+ var_out(val_out), -+ c_export_method_call "ZMQ_Error" (meth.c_get) (args), -+ } -+ end -+ -- generate setter method. -+ name = meth.set -+ if name then -+ local args = { ltype, "value" } -+ if meth.otype == 'BLOB' then -+ args = { ltype, "value", "size_t", "#value" } -+ end -+ m[#m+1] = method (name) { if_defs = if_defs, -+ c_export_method_call "ZMQ_Error" (meth.c_set) (args), -+ } -+ end -+ end -+ end -+ -+ return tunpack(m, 1, #m) -+end -+ -+------------------------------------------------------------------------------------- -+-- -+-- ZeroMQ socket object. -+-- -+------------------------------------------------------------------------------------- -+ - object "ZMQ_Socket" { - error_on_null = "get_zmq_strerror()", -- c_source [[ --/* detect zmq version >= 2.1.0 */ --#define VERSION_2_1 0 --#if defined(ZMQ_VERSION) --#if (ZMQ_VERSION >= ZMQ_MAKE_VERSION(2,1,0)) --#undef VERSION_2_1 --#define VERSION_2_1 1 --#endif --#endif -+ ffi_source "ffi_pre_cdef" [[ -+ -+-- detect zmq version -+local VERSION_2_0 = true -+local VERSION_2_1 = false -+local VERSION_2_2 = false -+local VERSION_3_0 = false -+local zver = _M.version() -+if zver[1] == 3 then -+ VERSION_2_0 = false -+ VERSION_3_0 = true -+elseif zver[1] == 2 and zver[2] == 2 then -+ VERSION_2_2 = true -+ VERSION_2_1 = true -+elseif zver[1] == 2 and zver[2] == 1 then -+ VERSION_2_1 = true -+end -+ -+if VERSION_2_0 then -+ ffi.cdef[==[ -+typedef int ZMQ_Error; -+typedef struct ZMQ_Socket ZMQ_Socket; -+typedef struct zmq_msg_t zmq_msg_t; -+ -+ZMQ_Error zmq_sendmsg(ZMQ_Socket *sock, zmq_msg_t *msg, int flags) __asm__("zmq_send"); -+ZMQ_Error zmq_recvmsg(ZMQ_Socket *sock, zmq_msg_t *msg, int flags) __asm__("zmq_recv"); -+]==] -+end -+]], -+ c_source ([[ - - /* detect really old ZeroMQ 2.0.x series. */ - #if !defined(ZMQ_RCVMORE) --#error "Your version of ZeroMQ is too old. Please upgrade to version 2.1 or to the latest 2.0.x" -+# error "Your version of ZeroMQ is too old. Please upgrade to version 2.1 or to the latest 2.0.x" - #endif - - typedef struct ZMQ_Socket ZMQ_Socket; -@@ -44,47 +439,23 @@ typedef SOCKET socket_t; - typedef int socket_t; - #endif - -+#if VERSION_2_0 -+# define zmq_sendmsg zmq_send -+# define zmq_recvmsg zmq_recv -+#endif -+ - /* socket option types. */ - #define OPT_TYPE_NONE 0 - #define OPT_TYPE_INT 1 - #define OPT_TYPE_UINT32 2 - #define OPT_TYPE_UINT64 3 - #define OPT_TYPE_INT64 4 --#define OPT_TYPE_STR 5 -+#define OPT_TYPE_BLOB 5 - #define OPT_TYPE_FD 6 - - static const int opt_types[] = { -- OPT_TYPE_NONE, /* 0 unused */ -- OPT_TYPE_UINT64, /* 1 ZMQ_HWM */ -- OPT_TYPE_NONE, /* 2 unused */ -- OPT_TYPE_INT64, /* 3 ZMQ_SWAP */ -- OPT_TYPE_UINT64, /* 4 ZMQ_AFFINITY */ -- OPT_TYPE_STR, /* 5 ZMQ_IDENTITY */ -- OPT_TYPE_STR, /* 6 ZMQ_SUBSCRIBE */ -- OPT_TYPE_STR, /* 7 ZMQ_UNSUBSCRIBE */ -- OPT_TYPE_INT64, /* 8 ZMQ_RATE */ -- OPT_TYPE_INT64, /* 9 ZMQ_RECOVERY_IVL */ -- OPT_TYPE_INT64, /* 10 ZMQ_MCAST_LOOP */ -- OPT_TYPE_UINT64, /* 11 ZMQ_SNDBUF */ -- OPT_TYPE_UINT64, /* 12 ZMQ_RCVBUF */ -- OPT_TYPE_INT64, /* 13 ZMQ_RCVMORE */ -- --#if VERSION_2_1 -- OPT_TYPE_FD, /* 14 ZMQ_FD */ -- OPT_TYPE_UINT32, /* 15 ZMQ_EVENTS */ -- OPT_TYPE_INT, /* 16 ZMQ_TYPE */ -- OPT_TYPE_INT, /* 17 ZMQ_LINGER */ -- OPT_TYPE_INT, /* 18 ZMQ_RECONNECT_IVL */ -- OPT_TYPE_INT, /* 19 ZMQ_BACKLOG */ --#endif --}; --#if VERSION_2_1 --#define MAX_OPTS ZMQ_BACKLOG --#else --#define MAX_OPTS ZMQ_RCVMORE --#endif -- --]], -+ OPT_TYPE_NONE, /* 0 unused */ -+]] .. opt_types .. options_c_code), - - destructor "close" { - c_method_call "ZMQ_Error" "zmq_close" {} -@@ -92,44 +463,47 @@ static const int opt_types[] = { - method "bind" { - c_method_call "ZMQ_Error" "zmq_bind" { "const char *", "addr" } - }, -+ method "unbind" { -+ if_defs = { "VERSION_3_2" }, -+ c_method_call "ZMQ_Error" "zmq_unbind" { "const char *", "addr" } -+ }, - method "connect" { - c_method_call "ZMQ_Error" "zmq_connect" { "const char *", "addr" } - }, -+ method "disconnect" { -+ if_defs = { "VERSION_3_2" }, -+ c_method_call "ZMQ_Error" "zmq_disconnect" { "const char *", "addr" } -+ }, - ffi_cdef[[ - int zmq_setsockopt (void *s, int option, const void *optval, size_t optvallen); - int zmq_getsockopt (void *s, int option, void *optval, size_t *optvallen); - ]], -- ffi_source[[ --local option_types = { --[zmq.HWM] = 'uint64_t[1]', --[zmq.SWAP] = 'int64_t[1]', --[zmq.AFFINITY] = 'uint64_t[1]', --[zmq.IDENTITY] = 'string', --[zmq.SUBSCRIBE] = 'string', --[zmq.UNSUBSCRIBE] = 'string', --[zmq.RATE] = 'int64_t[1]', --[zmq.RECOVERY_IVL] = 'int64_t[1]', --[zmq.MCAST_LOOP] = 'int64_t[1]', --[zmq.SNDBUF] = 'uint64_t[1]', --[zmq.RCVBUF] = 'uint64_t[1]', --[zmq.RCVMORE] = 'int64_t[1]', --[zmq.FD] = 'int[1]', --[zmq.EVENTS] = 'uint32_t[1]', --[zmq.TYPE] = 'int[1]', --[zmq.LINGER] = 'int[1]', --[zmq.RECONNECT_IVL] = 'int[1]', --[zmq.BACKLOG] = 'int[1]', --} --local option_len = {} --local option_tmps = {} --for k,v in pairs(option_types) do -- if v ~= 'string' then -- option_len[k] = ffi.sizeof(v) -- option_tmps[k] = ffi.new(v, 0) -- end -+ ffi_source([[ -+local option_gets = {} -+local option_sets = {} -+ -+do -+ local opt_name -+ local methods = _meth.${object_name} -+ setmetatable(option_gets,{__index = function(tab,opt) -+ local opt_name = opt_name[opt] -+ if not opt_name then return nil end -+ local method = methods[opt_name] -+ rawset(tab, opt, method) -+ return method -+ end}) -+ setmetatable(option_sets,{__index = function(tab,opt) -+ local opt_name = opt_name[opt] -+ if not opt_name then return nil end -+ local method = methods['set_' .. opt_name] or methods[opt_name] -+ rawset(tab, opt, method) -+ return method -+ end}) -+ opt_name = { -+]] .. ffi_opt_names .. [[} - end - --]], -+]]), - method "setopt" { - var_in{ "uint32_t", "opt" }, - var_in{ "", "val" }, -@@ -138,7 +512,7 @@ end - size_t val_len; - const void *val; - --#if VERSION_2_1 -+#if defined(VERSION_2_1) || defined(VERSION_3_0) - socket_t fd_val; - #endif - int int_val; -@@ -146,12 +520,26 @@ end - uint64_t uint64_val; - int64_t int64_val; - -+#if VERSION_3_0 -+ /* 3.0 backwards compatibility support for HWM. */ -+ if(${opt} == ZMQ_HWM) { -+ int_val = luaL_checklong(L, ${val::idx}); -+ val = &int_val; -+ val_len = sizeof(int_val); -+ ${err} = zmq_setsockopt(${this}, ZMQ_SNDHWM, val, val_len); -+ if(-1 != ${err}) { -+ ${err} = zmq_setsockopt(${this}, ZMQ_RCVHWM, val, val_len); -+ } -+ goto finished; -+ } -+#endif -+ - if(${opt} > MAX_OPTS) { - return luaL_argerror(L, ${opt::idx}, "Invalid socket option."); - } - - switch(opt_types[${opt}]) { --#if VERSION_2_1 -+#if defined(VERSION_2_1) || defined(VERSION_3_0) - case OPT_TYPE_FD: - fd_val = luaL_checklong(L, ${val::idx}); - val = &fd_val; -@@ -178,7 +566,7 @@ end - val = &int64_val; - val_len = sizeof(int64_val); - break; -- case OPT_TYPE_STR: -+ case OPT_TYPE_BLOB: - val = luaL_checklstring(L, ${val::idx}, &(val_len)); - break; - default: -@@ -187,20 +575,15 @@ end - break; - } - ${err} = zmq_setsockopt(${this}, ${opt}, val, val_len); -+finished: - ]], - ffi_source[[ -- local ctype = option_types[${opt}] -- local tval -- local tval_len = 0 -- if ctype == 'string' then -- tval = tostring(${val}) -- tval_len = #${val} -+ local set = option_sets[${opt}] -+ if set then -+ return set(${this},${val}) - else -- tval = option_tmps[${opt}] -- tval[0] = ${val} -- tval_len = option_len[${opt}] -+ error("Invalid socket option.") - end -- ${err} = C.zmq_setsockopt(${this}, ${opt}, tval, tval_len) - ]], - }, - ffi_source[[ -@@ -213,7 +596,7 @@ local tmp_val_len = ffi.new('size_t[1]', 4) - c_source[[ - size_t val_len; - --#if VERSION_2_1 -+#if defined(VERSION_2_1) || defined(VERSION_3_0) - socket_t fd_val; - #endif - int int_val; -@@ -230,7 +613,7 @@ local tmp_val_len = ffi.new('size_t[1]', 4) - } - - switch(opt_types[${opt}]) { --#if VERSION_2_1 -+#if defined(VERSION_2_1) || defined(VERSION_3_0) - case OPT_TYPE_FD: - val_len = sizeof(fd_val); - ${err} = zmq_getsockopt(${this}, ${opt}, &fd_val, &val_len); -@@ -272,7 +655,7 @@ local tmp_val_len = ffi.new('size_t[1]', 4) - return 1; - } - break; -- case OPT_TYPE_STR: -+ case OPT_TYPE_BLOB: - val_len = STR_MAX; - ${err} = zmq_getsockopt(${this}, ${opt}, str_val, &val_len); - if(0 == ${err}) { -@@ -289,62 +672,23 @@ local tmp_val_len = ffi.new('size_t[1]', 4) - lua_pushnil(L); - ]], - ffi_source[[ -- local ctype = option_types[${opt}] -- local val -- local val_len = tmp_val_len -- if ctype == 'string' then -- val_len[0] = 255 -- val = ffi.new('uint8_t[?]', val_len[0]) -- ffi.fill(val, val_len[0]) -+ local get = option_gets[${opt}] -+ if get then -+ return get(${this}) - else -- val = option_tmps[${opt}] -- val[0] = 0 -- val_len[0] = option_len[${opt}] -- end -- ${err} = C.zmq_getsockopt(${this}, ${opt}, val, val_len) -- if ${err} == 0 then -- if ctype == 'string' then -- val_len = val_len[0] -- return ffi.string(val, val_len) -- else -- return tonumber(val[0]) -- end -+ error("Invalid socket option.") - end - ]], - }, -- ffi_source[[ ---- temp. values for 'events' function. --local events_tmp = ffi.new('uint32_t[1]', 0) --local events_tmp_size = ffi.sizeof('uint32_t') --local events_tmp_len = ffi.new('size_t[1]', events_tmp_size) --local ZMQ_EVENTS = _M.EVENTS --]], -- method "events" { -- var_out{ "uint32_t", "events" }, -- var_out{ "ZMQ_Error", "err" }, -- c_source[[ --#if VERSION_2_1 -- size_t val_len = sizeof(${events}); -- ${err} = zmq_getsockopt(${this}, ZMQ_EVENTS, &(${events}), &val_len); --#else -- luaL_error(L, "'events' method only supported in 0MQ version >= 2.1"); --#endif --]], -- ffi_source[[ -- events_tmp_len[0] = events_tmp_size -- ${err} = C.zmq_getsockopt(${this}, ZMQ_EVENTS, events_tmp, events_tmp_len); -- ${events} = events_tmp[0] --]], -- }, - -- - -- zmq_send - -- - method "send_msg" { -- c_method_call "ZMQ_Error" "zmq_send" { "zmq_msg_t *", "msg", "int", "flags?" }, -+ c_method_call "ZMQ_Error" "zmq_sendmsg" { "zmq_msg_t *", "msg", "int", "flags?" }, - }, - -- create helper function for `zmq_send` - c_source[[ --static ZMQ_Error simple_zmq_send(ZMQ_Socket *sock, const char *data, size_t data_len, int flags) { -+LUA_NOBJ_API ZMQ_Error simple_zmq_send(ZMQ_Socket *sock, const char *data, size_t data_len, int flags) { - ZMQ_Error err; - zmq_msg_t msg; - /* initialize message */ -@@ -353,32 +697,22 @@ static ZMQ_Error simple_zmq_send(ZMQ_Socket *sock, const char *data, size_t data - /* fill message */ - memcpy(zmq_msg_data(&msg), data, data_len); - /* send message */ -- err = zmq_send(sock, &msg, flags); -+ err = zmq_sendmsg(sock, &msg, flags); - /* close message */ - zmq_msg_close(&msg); - } - return err; - } - ]], -- -- export helper function. -- ffi_export_function "ZMQ_Error" "simple_zmq_send" -- "(ZMQ_Socket *sock, const char *data, size_t data_len, int flags)", - method "send" { -- var_in{ "const char *", "data" }, -- var_in{ "int", "flags?" }, -- var_out{ "ZMQ_Error", "err" }, -- c_source[[ -- ${err} = simple_zmq_send(${this}, ${data}, ${data_len}, ${flags}); --]], -- ffi_source[[ -- ${err} = simple_zmq_send(${this}, ${data}, ${data_len}, ${flags}); --]], -+ c_export_method_call "ZMQ_Error" "simple_zmq_send" -+ { "const char *", "data", "size_t", "#data", "int", "flags?"} - }, - -- - -- zmq_recv - -- - method "recv_msg" { -- c_method_call "ZMQ_Error" "zmq_recv" { "zmq_msg_t *", "msg", "int", "flags?" }, -+ c_method_call "ZMQ_Error" "zmq_recvmsg" { "zmq_msg_t *", "msg", "int", "flags?" }, - }, - ffi_source[[ - local tmp_msg = ffi.new('zmq_msg_t') -@@ -393,8 +727,8 @@ local tmp_msg = ffi.new('zmq_msg_t') - ${err} = zmq_msg_init(&msg); - if(0 == ${err}) { - /* receive message */ -- ${err} = zmq_recv(${this}, &msg, ${flags}); -- if(0 == ${err}) { -+ ${err} = zmq_recvmsg(${this}, &msg, ${flags}); -+ if(${err} >= 0) { - ${data} = zmq_msg_data(&msg); - ${data_len} = zmq_msg_size(&msg); - } -@@ -412,8 +746,8 @@ local tmp_msg = ffi.new('zmq_msg_t') - end - - -- receive message -- ${err} = C.zmq_recv(${this}, msg, ${flags}) -- if 0 == ${err} then -+ ${err} = C.zmq_recvmsg(${this}, msg, ${flags}) -+ if ${err} >= 0 then - local data = ffi.string(C.zmq_msg_data(msg), C.zmq_msg_size(msg)) - -- close message - C.zmq_msg_close(msg) -@@ -425,5 +759,8 @@ local tmp_msg = ffi.new('zmq_msg_t') - C.zmq_msg_close(msg) - ]], - }, -+ -+ -- build option set/get methods. THIS MUST BE LAST. -+ build_option_methods(), - } - -diff --git a/src/threads.lua b/src/threads.lua -index 99257ea..dbdd3e7 100644 ---- a/src/threads.lua -+++ b/src/threads.lua -@@ -25,21 +25,6 @@ - local zmq = require"zmq" - local llthreads = require"llthreads" - --local setmetatable = setmetatable --local tonumber = tonumber --local assert = assert -- --local thread_mt = {} --thread_mt.__index = thread_mt -- --function thread_mt:start(detached) -- return self.thread:start(detached) --end -- --function thread_mt:join() -- return self.thread:join() --end -- - local bootstrap_pre = [[ - local action, action_arg, parent_ctx = ... - local func -@@ -79,32 +64,31 @@ local function new_thread(ctx, action, action_arg, ...) - if ctx then - ctx = ctx:lightuserdata() - end -- local thread = llthreads.new(bootstrap_code, action, action_arg, ctx, ...) -- return setmetatable({ -- thread = thread, -- }, thread_mt) -+ return llthreads.new(bootstrap_code, action, action_arg, ctx, ...) - end - --module(...) -+local M = {} - --function set_bootstrap_prelude(code) -+function M.set_bootstrap_prelude(code) - bootstrap_code = bootstrap_pre .. code .. bootstrap_post - end - --function runfile(ctx, file, ...) -+function M.runfile(ctx, file, ...) - return new_thread(ctx, 'runfile', file, ...) - end - --function runstring(ctx, code, ...) -+function M.runstring(ctx, code, ...) - return new_thread(ctx, 'runstring', code, ...) - end - - local parent_ctx = nil --function set_parent_ctx(ctx) -+function M.set_parent_ctx(ctx) - parent_ctx = ctx - end - --function get_parent_ctx(ctx) -+function M.get_parent_ctx(ctx) - return parent_ctx - end - -+zmq.threads = M -+return M -diff --git a/tests/test_inproc.lua b/tests/test_inproc.lua -new file mode 100644 -index 0000000..a3c2d70 ---- /dev/null -+++ b/tests/test_inproc.lua -@@ -0,0 +1,75 @@ -+-- Copyright (c) 2011 Robert G. Jakabosky -+-- -+-- Permission is hereby granted, free of charge, to any person obtaining a copy -+-- of this software and associated documentation files (the "Software"), to deal -+-- in the Software without restriction, including without limitation the rights -+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -+-- copies of the Software, and to permit persons to whom the Software is -+-- furnished to do so, subject to the following conditions: -+-- -+-- The above copyright notice and this permission notice shall be included in -+-- all copies or substantial portions of the Software. -+-- -+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -+-- THE SOFTWARE. -+ -+if #arg < 1 then -+ print("usage: lua " .. arg[0] .. " [message-size] [roundtrip-count] [bind-to] [connect-to]") -+end -+ -+local message_size = tonumber(arg[1] or 1) -+local roundtrip_count = tonumber(arg[2] or 100) -+local bind_to = arg[3] or 'inproc://thread_lat_test' -+local connect_to = arg[4] or 'inproc://thread_lat_test' -+ -+local zmq = require"zmq" -+ -+local ctx = zmq.init(1) -+local server = assert(ctx:socket(zmq.REQ)) -+assert(server:bind(bind_to)) -+ -+local client = ctx:socket(zmq.REP) -+client:connect(connect_to) -+ -+local data = ("0"):rep(message_size) -+local msg = zmq.zmq_msg_t.init_size(message_size) -+local client_msg = zmq.zmq_msg_t() -+ -+print(string.format("message size: %i [B]", message_size)) -+print(string.format("roundtrip count: %i", roundtrip_count)) -+ -+local timer = zmq.stopwatch_start() -+ -+for i = 1, roundtrip_count do -+ -- server send -+ assert(server:send_msg(msg)) -+ -+ -- client recv -+ assert(client:recv_msg(client_msg)) -+ assert(client_msg:size() == message_size, "Invalid message size") -+ -- client send -+ assert(client:send_msg(client_msg)) -+ -+ -- server recv -+ assert(server:recv_msg(msg)) -+ assert(msg:size() == message_size, "Invalid message size") -+end -+ -+local elapsed = timer:stop() -+ -+server:close() -+client:close() -+ctx:term() -+ -+local latency = elapsed / roundtrip_count / 2 -+ -+print(string.format("mean latency: %.3f [us]", latency)) -+local secs = elapsed / (1000 * 1000) -+print(string.format("elapsed = %f", secs)) -+print(string.format("msg/sec = %f", roundtrip_count / secs)) -+ -diff --git a/ws/LICENSE_GPL.txt b/ws/LICENSE_GPL.txt -new file mode 100644 -index 0000000..94a9ed0 ---- /dev/null -+++ b/ws/LICENSE_GPL.txt -@@ -0,0 +1,674 @@ -+ GNU GENERAL PUBLIC LICENSE -+ Version 3, 29 June 2007 -+ -+ Copyright (C) 2007 Free Software Foundation, Inc. -+ Everyone is permitted to copy and distribute verbatim copies -+ of this license document, but changing it is not allowed. -+ -+ Preamble -+ -+ The GNU General Public License is a free, copyleft license for -+software and other kinds of works. -+ -+ The licenses for most software and other practical works are designed -+to take away your freedom to share and change the works. By contrast, -+the GNU General Public License is intended to guarantee your freedom to -+share and change all versions of a program--to make sure it remains free -+software for all its users. We, the Free Software Foundation, use the -+GNU General Public License for most of our software; it applies also to -+any other work released this way by its authors. You can apply it to -+your programs, too. -+ -+ When we speak of free software, we are referring to freedom, not -+price. Our General Public Licenses are designed to make sure that you -+have the freedom to distribute copies of free software (and charge for -+them if you wish), that you receive source code or can get it if you -+want it, that you can change the software or use pieces of it in new -+free programs, and that you know you can do these things. -+ -+ To protect your rights, we need to prevent others from denying you -+these rights or asking you to surrender the rights. Therefore, you have -+certain responsibilities if you distribute copies of the software, or if -+you modify it: responsibilities to respect the freedom of others. -+ -+ For example, if you distribute copies of such a program, whether -+gratis or for a fee, you must pass on to the recipients the same -+freedoms that you received. You must make sure that they, too, receive -+or can get the source code. And you must show them these terms so they -+know their rights. -+ -+ Developers that use the GNU GPL protect your rights with two steps: -+(1) assert copyright on the software, and (2) offer you this License -+giving you legal permission to copy, distribute and/or modify it. -+ -+ For the developers' and authors' protection, the GPL clearly explains -+that there is no warranty for this free software. For both users' and -+authors' sake, the GPL requires that modified versions be marked as -+changed, so that their problems will not be attributed erroneously to -+authors of previous versions. -+ -+ Some devices are designed to deny users access to install or run -+modified versions of the software inside them, although the manufacturer -+can do so. This is fundamentally incompatible with the aim of -+protecting users' freedom to change the software. The systematic -+pattern of such abuse occurs in the area of products for individuals to -+use, which is precisely where it is most unacceptable. Therefore, we -+have designed this version of the GPL to prohibit the practice for those -+products. If such problems arise substantially in other domains, we -+stand ready to extend this provision to those domains in future versions -+of the GPL, as needed to protect the freedom of users. -+ -+ Finally, every program is threatened constantly by software patents. -+States should not allow patents to restrict development and use of -+software on general-purpose computers, but in those that do, we wish to -+avoid the special danger that patents applied to a free program could -+make it effectively proprietary. To prevent this, the GPL assures that -+patents cannot be used to render the program non-free. -+ -+ The precise terms and conditions for copying, distribution and -+modification follow. -+ -+ TERMS AND CONDITIONS -+ -+ 0. Definitions. -+ -+ "This License" refers to version 3 of the GNU General Public License. -+ -+ "Copyright" also means copyright-like laws that apply to other kinds of -+works, such as semiconductor masks. -+ -+ "The Program" refers to any copyrightable work licensed under this -+License. Each licensee is addressed as "you". "Licensees" and -+"recipients" may be individuals or organizations. -+ -+ To "modify" a work means to copy from or adapt all or part of the work -+in a fashion requiring copyright permission, other than the making of an -+exact copy. The resulting work is called a "modified version" of the -+earlier work or a work "based on" the earlier work. -+ -+ A "covered work" means either the unmodified Program or a work based -+on the Program. -+ -+ To "propagate" a work means to do anything with it that, without -+permission, would make you directly or secondarily liable for -+infringement under applicable copyright law, except executing it on a -+computer or modifying a private copy. Propagation includes copying, -+distribution (with or without modification), making available to the -+public, and in some countries other activities as well. -+ -+ To "convey" a work means any kind of propagation that enables other -+parties to make or receive copies. Mere interaction with a user through -+a computer network, with no transfer of a copy, is not conveying. -+ -+ An interactive user interface displays "Appropriate Legal Notices" -+to the extent that it includes a convenient and prominently visible -+feature that (1) displays an appropriate copyright notice, and (2) -+tells the user that there is no warranty for the work (except to the -+extent that warranties are provided), that licensees may convey the -+work under this License, and how to view a copy of this License. If -+the interface presents a list of user commands or options, such as a -+menu, a prominent item in the list meets this criterion. -+ -+ 1. Source Code. -+ -+ The "source code" for a work means the preferred form of the work -+for making modifications to it. "Object code" means any non-source -+form of a work. -+ -+ A "Standard Interface" means an interface that either is an official -+standard defined by a recognized standards body, or, in the case of -+interfaces specified for a particular programming language, one that -+is widely used among developers working in that language. -+ -+ The "System Libraries" of an executable work include anything, other -+than the work as a whole, that (a) is included in the normal form of -+packaging a Major Component, but which is not part of that Major -+Component, and (b) serves only to enable use of the work with that -+Major Component, or to implement a Standard Interface for which an -+implementation is available to the public in source code form. A -+"Major Component", in this context, means a major essential component -+(kernel, window system, and so on) of the specific operating system -+(if any) on which the executable work runs, or a compiler used to -+produce the work, or an object code interpreter used to run it. -+ -+ The "Corresponding Source" for a work in object code form means all -+the source code needed to generate, install, and (for an executable -+work) run the object code and to modify the work, including scripts to -+control those activities. However, it does not include the work's -+System Libraries, or general-purpose tools or generally available free -+programs which are used unmodified in performing those activities but -+which are not part of the work. For example, Corresponding Source -+includes interface definition files associated with source files for -+the work, and the source code for shared libraries and dynamically -+linked subprograms that the work is specifically designed to require, -+such as by intimate data communication or control flow between those -+subprograms and other parts of the work. -+ -+ The Corresponding Source need not include anything that users -+can regenerate automatically from other parts of the Corresponding -+Source. -+ -+ The Corresponding Source for a work in source code form is that -+same work. -+ -+ 2. Basic Permissions. -+ -+ All rights granted under this License are granted for the term of -+copyright on the Program, and are irrevocable provided the stated -+conditions are met. This License explicitly affirms your unlimited -+permission to run the unmodified Program. The output from running a -+covered work is covered by this License only if the output, given its -+content, constitutes a covered work. This License acknowledges your -+rights of fair use or other equivalent, as provided by copyright law. -+ -+ You may make, run and propagate covered works that you do not -+convey, without conditions so long as your license otherwise remains -+in force. You may convey covered works to others for the sole purpose -+of having them make modifications exclusively for you, or provide you -+with facilities for running those works, provided that you comply with -+the terms of this License in conveying all material for which you do -+not control copyright. Those thus making or running the covered works -+for you must do so exclusively on your behalf, under your direction -+and control, on terms that prohibit them from making any copies of -+your copyrighted material outside their relationship with you. -+ -+ Conveying under any other circumstances is permitted solely under -+the conditions stated below. Sublicensing is not allowed; section 10 -+makes it unnecessary. -+ -+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law. -+ -+ No covered work shall be deemed part of an effective technological -+measure under any applicable law fulfilling obligations under article -+11 of the WIPO copyright treaty adopted on 20 December 1996, or -+similar laws prohibiting or restricting circumvention of such -+measures. -+ -+ When you convey a covered work, you waive any legal power to forbid -+circumvention of technological measures to the extent such circumvention -+is effected by exercising rights under this License with respect to -+the covered work, and you disclaim any intention to limit operation or -+modification of the work as a means of enforcing, against the work's -+users, your or third parties' legal rights to forbid circumvention of -+technological measures. -+ -+ 4. Conveying Verbatim Copies. -+ -+ You may convey verbatim copies of the Program's source code as you -+receive it, in any medium, provided that you conspicuously and -+appropriately publish on each copy an appropriate copyright notice; -+keep intact all notices stating that this License and any -+non-permissive terms added in accord with section 7 apply to the code; -+keep intact all notices of the absence of any warranty; and give all -+recipients a copy of this License along with the Program. -+ -+ You may charge any price or no price for each copy that you convey, -+and you may offer support or warranty protection for a fee. -+ -+ 5. Conveying Modified Source Versions. -+ -+ You may convey a work based on the Program, or the modifications to -+produce it from the Program, in the form of source code under the -+terms of section 4, provided that you also meet all of these conditions: -+ -+ a) The work must carry prominent notices stating that you modified -+ it, and giving a relevant date. -+ -+ b) The work must carry prominent notices stating that it is -+ released under this License and any conditions added under section -+ 7. This requirement modifies the requirement in section 4 to -+ "keep intact all notices". -+ -+ c) You must license the entire work, as a whole, under this -+ License to anyone who comes into possession of a copy. This -+ License will therefore apply, along with any applicable section 7 -+ additional terms, to the whole of the work, and all its parts, -+ regardless of how they are packaged. This License gives no -+ permission to license the work in any other way, but it does not -+ invalidate such permission if you have separately received it. -+ -+ d) If the work has interactive user interfaces, each must display -+ Appropriate Legal Notices; however, if the Program has interactive -+ interfaces that do not display Appropriate Legal Notices, your -+ work need not make them do so. -+ -+ A compilation of a covered work with other separate and independent -+works, which are not by their nature extensions of the covered work, -+and which are not combined with it such as to form a larger program, -+in or on a volume of a storage or distribution medium, is called an -+"aggregate" if the compilation and its resulting copyright are not -+used to limit the access or legal rights of the compilation's users -+beyond what the individual works permit. Inclusion of a covered work -+in an aggregate does not cause this License to apply to the other -+parts of the aggregate. -+ -+ 6. Conveying Non-Source Forms. -+ -+ You may convey a covered work in object code form under the terms -+of sections 4 and 5, provided that you also convey the -+machine-readable Corresponding Source under the terms of this License, -+in one of these ways: -+ -+ a) Convey the object code in, or embodied in, a physical product -+ (including a physical distribution medium), accompanied by the -+ Corresponding Source fixed on a durable physical medium -+ customarily used for software interchange. -+ -+ b) Convey the object code in, or embodied in, a physical product -+ (including a physical distribution medium), accompanied by a -+ written offer, valid for at least three years and valid for as -+ long as you offer spare parts or customer support for that product -+ model, to give anyone who possesses the object code either (1) a -+ copy of the Corresponding Source for all the software in the -+ product that is covered by this License, on a durable physical -+ medium customarily used for software interchange, for a price no -+ more than your reasonable cost of physically performing this -+ conveying of source, or (2) access to copy the -+ Corresponding Source from a network server at no charge. -+ -+ c) Convey individual copies of the object code with a copy of the -+ written offer to provide the Corresponding Source. This -+ alternative is allowed only occasionally and noncommercially, and -+ only if you received the object code with such an offer, in accord -+ with subsection 6b. -+ -+ d) Convey the object code by offering access from a designated -+ place (gratis or for a charge), and offer equivalent access to the -+ Corresponding Source in the same way through the same place at no -+ further charge. You need not require recipients to copy the -+ Corresponding Source along with the object code. If the place to -+ copy the object code is a network server, the Corresponding Source -+ may be on a different server (operated by you or a third party) -+ that supports equivalent copying facilities, provided you maintain -+ clear directions next to the object code saying where to find the -+ Corresponding Source. Regardless of what server hosts the -+ Corresponding Source, you remain obligated to ensure that it is -+ available for as long as needed to satisfy these requirements. -+ -+ e) Convey the object code using peer-to-peer transmission, provided -+ you inform other peers where the object code and Corresponding -+ Source of the work are being offered to the general public at no -+ charge under subsection 6d. -+ -+ A separable portion of the object code, whose source code is excluded -+from the Corresponding Source as a System Library, need not be -+included in conveying the object code work. -+ -+ A "User Product" is either (1) a "consumer product", which means any -+tangible personal property which is normally used for personal, family, -+or household purposes, or (2) anything designed or sold for incorporation -+into a dwelling. In determining whether a product is a consumer product, -+doubtful cases shall be resolved in favor of coverage. For a particular -+product received by a particular user, "normally used" refers to a -+typical or common use of that class of product, regardless of the status -+of the particular user or of the way in which the particular user -+actually uses, or expects or is expected to use, the product. A product -+is a consumer product regardless of whether the product has substantial -+commercial, industrial or non-consumer uses, unless such uses represent -+the only significant mode of use of the product. -+ -+ "Installation Information" for a User Product means any methods, -+procedures, authorization keys, or other information required to install -+and execute modified versions of a covered work in that User Product from -+a modified version of its Corresponding Source. The information must -+suffice to ensure that the continued functioning of the modified object -+code is in no case prevented or interfered with solely because -+modification has been made. -+ -+ If you convey an object code work under this section in, or with, or -+specifically for use in, a User Product, and the conveying occurs as -+part of a transaction in which the right of possession and use of the -+User Product is transferred to the recipient in perpetuity or for a -+fixed term (regardless of how the transaction is characterized), the -+Corresponding Source conveyed under this section must be accompanied -+by the Installation Information. But this requirement does not apply -+if neither you nor any third party retains the ability to install -+modified object code on the User Product (for example, the work has -+been installed in ROM). -+ -+ The requirement to provide Installation Information does not include a -+requirement to continue to provide support service, warranty, or updates -+for a work that has been modified or installed by the recipient, or for -+the User Product in which it has been modified or installed. Access to a -+network may be denied when the modification itself materially and -+adversely affects the operation of the network or violates the rules and -+protocols for communication across the network. -+ -+ Corresponding Source conveyed, and Installation Information provided, -+in accord with this section must be in a format that is publicly -+documented (and with an implementation available to the public in -+source code form), and must require no special password or key for -+unpacking, reading or copying. -+ -+ 7. Additional Terms. -+ -+ "Additional permissions" are terms that supplement the terms of this -+License by making exceptions from one or more of its conditions. -+Additional permissions that are applicable to the entire Program shall -+be treated as though they were included in this License, to the extent -+that they are valid under applicable law. If additional permissions -+apply only to part of the Program, that part may be used separately -+under those permissions, but the entire Program remains governed by -+this License without regard to the additional permissions. -+ -+ When you convey a copy of a covered work, you may at your option -+remove any additional permissions from that copy, or from any part of -+it. (Additional permissions may be written to require their own -+removal in certain cases when you modify the work.) You may place -+additional permissions on material, added by you to a covered work, -+for which you have or can give appropriate copyright permission. -+ -+ Notwithstanding any other provision of this License, for material you -+add to a covered work, you may (if authorized by the copyright holders of -+that material) supplement the terms of this License with terms: -+ -+ a) Disclaiming warranty or limiting liability differently from the -+ terms of sections 15 and 16 of this License; or -+ -+ b) Requiring preservation of specified reasonable legal notices or -+ author attributions in that material or in the Appropriate Legal -+ Notices displayed by works containing it; or -+ -+ c) Prohibiting misrepresentation of the origin of that material, or -+ requiring that modified versions of such material be marked in -+ reasonable ways as different from the original version; or -+ -+ d) Limiting the use for publicity purposes of names of licensors or -+ authors of the material; or -+ -+ e) Declining to grant rights under trademark law for use of some -+ trade names, trademarks, or service marks; or -+ -+ f) Requiring indemnification of licensors and authors of that -+ material by anyone who conveys the material (or modified versions of -+ it) with contractual assumptions of liability to the recipient, for -+ any liability that these contractual assumptions directly impose on -+ those licensors and authors. -+ -+ All other non-permissive additional terms are considered "further -+restrictions" within the meaning of section 10. If the Program as you -+received it, or any part of it, contains a notice stating that it is -+governed by this License along with a term that is a further -+restriction, you may remove that term. If a license document contains -+a further restriction but permits relicensing or conveying under this -+License, you may add to a covered work material governed by the terms -+of that license document, provided that the further restriction does -+not survive such relicensing or conveying. -+ -+ If you add terms to a covered work in accord with this section, you -+must place, in the relevant source files, a statement of the -+additional terms that apply to those files, or a notice indicating -+where to find the applicable terms. -+ -+ Additional terms, permissive or non-permissive, may be stated in the -+form of a separately written license, or stated as exceptions; -+the above requirements apply either way. -+ -+ 8. Termination. -+ -+ You may not propagate or modify a covered work except as expressly -+provided under this License. Any attempt otherwise to propagate or -+modify it is void, and will automatically terminate your rights under -+this License (including any patent licenses granted under the third -+paragraph of section 11). -+ -+ However, if you cease all violation of this License, then your -+license from a particular copyright holder is reinstated (a) -+provisionally, unless and until the copyright holder explicitly and -+finally terminates your license, and (b) permanently, if the copyright -+holder fails to notify you of the violation by some reasonable means -+prior to 60 days after the cessation. -+ -+ Moreover, your license from a particular copyright holder is -+reinstated permanently if the copyright holder notifies you of the -+violation by some reasonable means, this is the first time you have -+received notice of violation of this License (for any work) from that -+copyright holder, and you cure the violation prior to 30 days after -+your receipt of the notice. -+ -+ Termination of your rights under this section does not terminate the -+licenses of parties who have received copies or rights from you under -+this License. If your rights have been terminated and not permanently -+reinstated, you do not qualify to receive new licenses for the same -+material under section 10. -+ -+ 9. Acceptance Not Required for Having Copies. -+ -+ You are not required to accept this License in order to receive or -+run a copy of the Program. Ancillary propagation of a covered work -+occurring solely as a consequence of using peer-to-peer transmission -+to receive a copy likewise does not require acceptance. However, -+nothing other than this License grants you permission to propagate or -+modify any covered work. These actions infringe copyright if you do -+not accept this License. Therefore, by modifying or propagating a -+covered work, you indicate your acceptance of this License to do so. -+ -+ 10. Automatic Licensing of Downstream Recipients. -+ -+ Each time you convey a covered work, the recipient automatically -+receives a license from the original licensors, to run, modify and -+propagate that work, subject to this License. You are not responsible -+for enforcing compliance by third parties with this License. -+ -+ An "entity transaction" is a transaction transferring control of an -+organization, or substantially all assets of one, or subdividing an -+organization, or merging organizations. If propagation of a covered -+work results from an entity transaction, each party to that -+transaction who receives a copy of the work also receives whatever -+licenses to the work the party's predecessor in interest had or could -+give under the previous paragraph, plus a right to possession of the -+Corresponding Source of the work from the predecessor in interest, if -+the predecessor has it or can get it with reasonable efforts. -+ -+ You may not impose any further restrictions on the exercise of the -+rights granted or affirmed under this License. For example, you may -+not impose a license fee, royalty, or other charge for exercise of -+rights granted under this License, and you may not initiate litigation -+(including a cross-claim or counterclaim in a lawsuit) alleging that -+any patent claim is infringed by making, using, selling, offering for -+sale, or importing the Program or any portion of it. -+ -+ 11. Patents. -+ -+ A "contributor" is a copyright holder who authorizes use under this -+License of the Program or a work on which the Program is based. The -+work thus licensed is called the contributor's "contributor version". -+ -+ A contributor's "essential patent claims" are all patent claims -+owned or controlled by the contributor, whether already acquired or -+hereafter acquired, that would be infringed by some manner, permitted -+by this License, of making, using, or selling its contributor version, -+but do not include claims that would be infringed only as a -+consequence of further modification of the contributor version. For -+purposes of this definition, "control" includes the right to grant -+patent sublicenses in a manner consistent with the requirements of -+this License. -+ -+ Each contributor grants you a non-exclusive, worldwide, royalty-free -+patent license under the contributor's essential patent claims, to -+make, use, sell, offer for sale, import and otherwise run, modify and -+propagate the contents of its contributor version. -+ -+ In the following three paragraphs, a "patent license" is any express -+agreement or commitment, however denominated, not to enforce a patent -+(such as an express permission to practice a patent or covenant not to -+sue for patent infringement). To "grant" such a patent license to a -+party means to make such an agreement or commitment not to enforce a -+patent against the party. -+ -+ If you convey a covered work, knowingly relying on a patent license, -+and the Corresponding Source of the work is not available for anyone -+to copy, free of charge and under the terms of this License, through a -+publicly available network server or other readily accessible means, -+then you must either (1) cause the Corresponding Source to be so -+available, or (2) arrange to deprive yourself of the benefit of the -+patent license for this particular work, or (3) arrange, in a manner -+consistent with the requirements of this License, to extend the patent -+license to downstream recipients. "Knowingly relying" means you have -+actual knowledge that, but for the patent license, your conveying the -+covered work in a country, or your recipient's use of the covered work -+in a country, would infringe one or more identifiable patents in that -+country that you have reason to believe are valid. -+ -+ If, pursuant to or in connection with a single transaction or -+arrangement, you convey, or propagate by procuring conveyance of, a -+covered work, and grant a patent license to some of the parties -+receiving the covered work authorizing them to use, propagate, modify -+or convey a specific copy of the covered work, then the patent license -+you grant is automatically extended to all recipients of the covered -+work and works based on it. -+ -+ A patent license is "discriminatory" if it does not include within -+the scope of its coverage, prohibits the exercise of, or is -+conditioned on the non-exercise of one or more of the rights that are -+specifically granted under this License. You may not convey a covered -+work if you are a party to an arrangement with a third party that is -+in the business of distributing software, under which you make payment -+to the third party based on the extent of your activity of conveying -+the work, and under which the third party grants, to any of the -+parties who would receive the covered work from you, a discriminatory -+patent license (a) in connection with copies of the covered work -+conveyed by you (or copies made from those copies), or (b) primarily -+for and in connection with specific products or compilations that -+contain the covered work, unless you entered into that arrangement, -+or that patent license was granted, prior to 28 March 2007. -+ -+ Nothing in this License shall be construed as excluding or limiting -+any implied license or other defenses to infringement that may -+otherwise be available to you under applicable patent law. -+ -+ 12. No Surrender of Others' Freedom. -+ -+ If conditions are imposed on you (whether by court order, agreement or -+otherwise) that contradict the conditions of this License, they do not -+excuse you from the conditions of this License. If you cannot convey a -+covered work so as to satisfy simultaneously your obligations under this -+License and any other pertinent obligations, then as a consequence you may -+not convey it at all. For example, if you agree to terms that obligate you -+to collect a royalty for further conveying from those to whom you convey -+the Program, the only way you could satisfy both those terms and this -+License would be to refrain entirely from conveying the Program. -+ -+ 13. Use with the GNU Affero General Public License. -+ -+ Notwithstanding any other provision of this License, you have -+permission to link or combine any covered work with a work licensed -+under version 3 of the GNU Affero General Public License into a single -+combined work, and to convey the resulting work. The terms of this -+License will continue to apply to the part which is the covered work, -+but the special requirements of the GNU Affero General Public License, -+section 13, concerning interaction through a network will apply to the -+combination as such. -+ -+ 14. Revised Versions of this License. -+ -+ The Free Software Foundation may publish revised and/or new versions of -+the GNU General Public License from time to time. Such new versions will -+be similar in spirit to the present version, but may differ in detail to -+address new problems or concerns. -+ -+ Each version is given a distinguishing version number. If the -+Program specifies that a certain numbered version of the GNU General -+Public License "or any later version" applies to it, you have the -+option of following the terms and conditions either of that numbered -+version or of any later version published by the Free Software -+Foundation. If the Program does not specify a version number of the -+GNU General Public License, you may choose any version ever published -+by the Free Software Foundation. -+ -+ If the Program specifies that a proxy can decide which future -+versions of the GNU General Public License can be used, that proxy's -+public statement of acceptance of a version permanently authorizes you -+to choose that version for the Program. -+ -+ Later license versions may give you additional or different -+permissions. However, no additional obligations are imposed on any -+author or copyright holder as a result of your choosing to follow a -+later version. -+ -+ 15. Disclaimer of Warranty. -+ -+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -+ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -+ -+ 16. Limitation of Liability. -+ -+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -+SUCH DAMAGES. -+ -+ 17. Interpretation of Sections 15 and 16. -+ -+ If the disclaimer of warranty and limitation of liability provided -+above cannot be given local legal effect according to their terms, -+reviewing courts shall apply local law that most closely approximates -+an absolute waiver of all civil liability in connection with the -+Program, unless a warranty or assumption of liability accompanies a -+copy of the Program in return for a fee. -+ -+ END OF TERMS AND CONDITIONS -+ -+ How to Apply These Terms to Your New Programs -+ -+ If you develop a new program, and you want it to be of the greatest -+possible use to the public, the best way to achieve this is to make it -+free software which everyone can redistribute and change under these terms. -+ -+ To do so, attach the following notices to the program. It is safest -+to attach them to the start of each source file to most effectively -+state the exclusion of warranty; and each file should have at least -+the "copyright" line and a pointer to where the full notice is found. -+ -+ -+ Copyright (C) -+ -+ This program 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 3 of the License, or -+ (at your option) any later version. -+ -+ This program 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, see . -+ -+Also add information on how to contact you by electronic and paper mail. -+ -+ If the program does terminal interaction, make it output a short -+notice like this when it starts in an interactive mode: -+ -+ Copyright (C) -+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. -+ This is free software, and you are welcome to redistribute it -+ under certain conditions; type `show c' for details. -+ -+The hypothetical commands `show w' and `show c' should show the appropriate -+parts of the General Public License. Of course, your program's commands -+might be different; for a GUI interface, you would use an "about box". -+ -+ You should also get your employer (if you work as a programmer) or school, -+if any, to sign a "copyright disclaimer" for the program, if necessary. -+For more information on this, and how to apply and follow the GNU GPL, see -+. -+ -+ The GNU General Public License does not permit incorporating your program -+into proprietary programs. If your program is a subroutine library, you -+may consider it more useful to permit linking proprietary applications with -+the library. If this is what you want to do, use the GNU Lesser General -+Public License instead of this License. But first, please read -+. -diff --git a/ws/dissector.lua b/ws/dissector.lua -new file mode 100644 -index 0000000..58fd043 ---- /dev/null -+++ b/ws/dissector.lua -@@ -0,0 +1,306 @@ -+-- Copyright (c) 2011, Robert G. Jakabosky All rights reserved. -+ -+-- cache globals to local for speed. -+local format=string.format -+local tostring=tostring -+local tonumber=tonumber -+local sqrt=math.sqrt -+local pairs=pairs -+ -+-- wireshark API globals -+local Pref = Pref -+local Proto = Proto -+local ProtoField = ProtoField -+local DissectorTable = DissectorTable -+local ByteArray = ByteArray -+local PI_MALFORMED = PI_MALFORMED -+local PI_ERROR = PI_ERROR -+ -+-- zmq protocol example -+-- declare our protocol -+local zmq_proto = Proto("zmq","ZMQ","ZeroMQ Protocol") -+ -+-- setup preferences -+zmq_proto.prefs["tcp_port_start"] = -+ Pref.string("TCP port range start", "5555", "First TCP port to decode as this protocol") -+zmq_proto.prefs["tcp_port_end"] = -+ Pref.string("TCP port range end", "5555", "Last TCP port to decode as this protocol") -+-- current preferences settings. -+local current_settings = { -+tcp_port_start = -1, -+tcp_port_end = -1, -+} -+ -+-- setup protocol fields. -+zmq_proto.fields = {} -+local fds = zmq_proto.fields -+fds.frame = ProtoField.new("Frame", "zmq.frame", "ftypes.BYTES", nil, "base.NONE") -+fds.length = ProtoField.new("Frame Length", "zmq.frame.len", "ftypes.UINT64", nil, "base.DEC") -+fds.length8 = ProtoField.new("Frame 8bit Length", "zmq.frame.len8", "ftypes.UINT8", nil, "base.DEC") -+fds.length64 = ProtoField.new("Frame 64bit Length", "zmq.frame.len64", "ftypes.UINT64", nil, "base.DEC") -+fds.flags = ProtoField.new("Frame Flags", "zmq.frame.flags", "ftypes.UINT8", nil, "base.HEX", "0xFF") -+fds.flags_more = ProtoField.new("More", "zmq.frame.flags.more", "ftypes.UINT8", nil, "base.HEX", "0x01") -+fds.body = ProtoField.new("Frame body", "zmq.frame.body", "ftypes.BYTES", nil, "base.NONE") -+ -+-- un-register zmq to handle tcp port range -+local function unregister_tcp_port_range(start_port, end_port) -+ if not start_port or start_port <= 0 or not end_port or end_port <= 0 then -+ return -+ end -+ local tcp_port_table = DissectorTable.get("tcp.port") -+ for port = start_port,end_port do -+ tcp_port_table:remove(port,zmq_proto) -+ end -+end -+ -+-- register zmq to handle tcp port range -+local function register_tcp_port_range(start_port, end_port) -+ if not start_port or start_port <= 0 or not end_port or end_port <= 0 then -+ return -+ end -+ local tcp_port_table = DissectorTable.get("tcp.port") -+ for port = start_port,end_port do -+ tcp_port_table:add(port,zmq_proto) -+ end -+end -+ -+-- handle preferences changes. -+function zmq_proto.init(arg1, arg2) -+ local old_start, old_end -+ local new_start, new_end -+ -- check if preferences have changed. -+ for pref_name,old_v in pairs(current_settings) do -+ local new_v = zmq_proto.prefs[pref_name] -+ if new_v ~= old_v then -+ if pref_name == "tcp_port_start" then -+ old_start = old_v -+ new_start = new_v -+ elseif pref_name == "tcp_port_end" then -+ old_end = old_v -+ new_end = new_v -+ end -+ -- save new value. -+ current_settings[pref_name] = new_v -+ end -+ end -+ -- un-register old port range -+ if old_start and old_end then -+ unregister_tcp_port_range(tonumber(old_start), tonumber(old_end)) -+ end -+ -- register new port range. -+ if new_start and new_end then -+ register_tcp_port_range(tonumber(new_start), tonumber(new_end)) -+ end -+end -+ -+-- parse flag bits. -+local BITS = { -+ MORE = 0x01, -+ RESERVED = 0x7E, -+} -+local flag_names = {"MORE"} -+local bits_lookup = {} -+local bits_list = { -+ {}, -+ {MORE = true}, -+ {MORE = true, RESERVED = true}, -+ {RESERVED = true}, -+} -+local function parse_flags(flags) -+ return bits_lookup[flags] or bits_lookup[1] -+end -+ -+-- make bits object -+local function make_bits(bits) -+ local proxy = newproxy(true) -+ local meta = getmetatable(proxy) -+ meta.__index = bits -+ meta.__tostring = function() -+ return bits.flags -+ end -+ -- combind bits into string description. -+ local flags = nil -+ for i=1,#flag_names do -+ local name = flag_names[i] -+ if bits[name] then -+ if flags then -+ flags = flags .. ',' .. name -+ else -+ flags = name -+ end -+ end -+ end -+ -- combind bits into one byte value. -+ local byte = 0x00 -+ for k,v in pairs(bits) do -+ local bit = assert(BITS[k], "Invalid bit name.") -+ byte = byte + BITS[k] -+ end -+ bits.flags = flags or '' -+ bits.byte = byte -+ return proxy -+end -+-- make bits objects in bis_lookup -+for i=1,#bits_list do -+ local bits = bits_list[i] -+ bits = make_bits(bits) -+ bits_lookup[bits.byte] = bits -+end -+ -+local function zmq_dissect_frame(buffer, pinfo, frame_tree, tap) -+ local rang,offset -+ -- Frame length -+ offset = 0 -+ local len_off = offset -+ local len8_rang = buffer(offset,1) -+ local len_rang = len8_rang -+ local frame_len = len8_rang:uint() -+ -- 8bit length field -+ local ti = frame_tree:add(fds.length8, len8_rang) -+ ti:set_hidden() -+ offset = offset + 1 -+ if frame_len == 255 then -+ local len64_rang = buffer(offset, 8) -+ len_rang = buffer(len_off, 9) -+ frame_len = tonumber(tostring(len64_rang:uint64())) -+ -- 64bit length field. -+ local ti = frame_tree:add(fds.length64, len64_rang) -+ ti:set_hidden() -+ offset = offset + 8 -+ local ti = frame_tree:add(fds.length, len_rang) -+ ti:set_text(format("Frame Length: %d", frame_length)) -+ else -+ frame_tree:add(fds.length, len_rang) -+ end -+ -- Frame flags -+ rang = buffer(offset,1) -+ local flags = rang:uint() -+ local flags_bits = parse_flags(flags) -+ local flags_list = flags_bits.flags -+ local flags_tree = frame_tree:add(fds.flags, rang) -+ flags_tree:set_text(format('Flags: 0x%02X (%s)', flags, flags_list)) -+ flags_tree:add(fds.flags_more, rang) -+ offset = offset + 1 -+ if flags_bits.MORE then -+ tap.more = tap.more + 1 -+ else -+ -- if the 'more' flag is not set then this is the last frame in a message. -+ tap.msgs = tap.msgs + 1 -+ end -+ -- Frame body -+ local body_len = frame_len - 1 -+ local body = '' -+ if body_len > 0 then -+ tap.body_bytes = tap.body_bytes + body_len -+ rang = buffer(offset, body_len) -+ local ti = frame_tree:add_le(fds.body, rang) -+ if body_len <= 4 then -+ body = format("%08x", rang:uint()) -+ else -+ body = tostring(rang) -+ end -+ ti:set_text(format("%s", body)) -+ end -+ offset = offset + body_len -+ -- frame summary -+ if body_len > 0 then -+ if flags_bits.MORE then -+ frame_tree:set_text(format("Frame: [MORE] Body[%u]=%s", body_len, body)) -+ else -+ frame_tree:set_text(format("Frame: Body[%u]=%s", body_len, body)) -+ end -+ else -+ if flags_bits.MORE then -+ frame_tree:set_text(format("Frame: [MORE] No data")) -+ else -+ frame_tree:set_text(format("Frame: No data")) -+ end -+ end -+end -+ -+local DESEGMENT_ONE_MORE_SEGMENT = 0x0fffffff -+local DESEGMENT_UNTIL_FIN = 0x0ffffffe -+ -+-- packet dissector -+function zmq_proto.dissector(tvb,pinfo,tree) -+ local offset = 0 -+ local tvb_length = tvb:len() -+ local reported_length = tvb:reported_len() -+ local length_remaining -+ local zmq_tree -+ local rang -+ local frames = 0 -+ local tap = {} -+ -+ tap.frames = 0 -+ tap.msgs = 0 -+ tap.more = 0 -+ tap.body_bytes = 0 -+ -+ while(offset < reported_length and offset < tvb_length) do -+ length_remaining = tvb_length - offset -+ -- check for fixed part of PDU -+ if length_remaining < 2 then -+ pinfo.desegment_offset = offset -+ pinfo.desegment_len = DESEGMENT_ONE_MORE_SEGMENT -+ break -+ end -+ -- decode frame length -+ -- decode single byte frame length -+ rang = tvb(offset, 1) -+ local frame_len = rang:le_uint() -+ local pdu_len = frame_len + 1 -+ if frame_len == 255 then -+ -- make sure there is enough bytes -+ if length_remaining < 10 then -+ pinfo.desegment_offset = offset -+ pinfo.desegment_len = DESEGMENT_ONE_MORE_SEGMENT -+ break -+ end -+ -- decode extra long frame length. -+ rang = tvb(offset + 1, 8) -+ frame_len = tonumber(tostring(rang:uint64())) -+ pdu_len = frame_len + 9 -+ end -+ -- provide hints to tcp -+ if not pinfo.visited then -+ local remaining_bytes = reported_length - offset -+ if pdu_len > remaining_bytes then -+ pinfo.want_pdu_tracking = 2 -+ pinfo.bytes_until_next_pdu = pdu_len - remaining_bytes -+ end -+ end -+ -- check if we need more bytes to dissect this frame. -+ if length_remaining < pdu_len then -+ pinfo.desegment_offset = offset -+ pinfo.desegment_len = (pdu_len - length_remaining) -+ break -+ end -+ -- dissect zmq frame -+ if not zmq_tree then -+ zmq_tree = tree:add(zmq_proto,tvb(),"ZMQ frames") -+ end -+ rang = tvb(offset, pdu_len) -+ local frame_tree = zmq_tree:add(fds.frame, rang) -+ zmq_dissect_frame(rang:tvb(), pinfo, frame_tree, tap) -+ frames = frames + 1 -+ -- step to next frame. -+ local offset_before = offset -+ offset = offset + pdu_len -+ if offset < offset_before then break end -+ end -+ if zmq_tree then -+ zmq_tree:set_text(format("ZMQ frames=%u", frames)) -+ end -+ if frames > 0 then -+ tap.frames = frames -+ pinfo.tap_data = tap -+ end -+ -- Info column -+ pinfo.cols.protocol = "ZMQ" -+ pinfo.cols.info = format('ZMQ frames=%u',frames) -+end -+ -+-- register zmq to handle tcp ports 5550-5560 -+register_tcp_port_range(5550,5560) -+ -diff --git a/ws/init.lua b/ws/init.lua -new file mode 100644 -index 0000000..0282fba ---- /dev/null -+++ b/ws/init.lua -@@ -0,0 +1,16 @@ -+ -+local prequire = function(name) -+ local status, result1 = pcall(require, name) -+ if not status then -+ debug("Failed to load " .. name .. ": " .. result1) -+ end -+ return result1 -+end -+ -+prequire("zmq.ws.dissector") -+ -+-- if running from wireshark, register all taps. -+if gui_enabled() then -+ prequire("zmq.ws.stats_tap") -+end -+ -diff --git a/ws/stats_tap.lua b/ws/stats_tap.lua -new file mode 100644 -index 0000000..1d39f16 ---- /dev/null -+++ b/ws/stats_tap.lua -@@ -0,0 +1,58 @@ -+-- Copyright (c) 2011, Robert G. Jakabosky All rights reserved. -+ -+local tap = require"zmq.ws.tap" -+ -+local format = string.format -+ -+local stats_tap_mt = {} -+stats_tap_mt.__index = stats_tap_mt -+ -+function stats_tap_mt:packet(pinfo, tvb, tree, data) -+ -- count all ZeroMQ packets -+ self.count = self.count + 1 -+ data = data or pinfo.tap_data -+ if not data then -+ return -+ end -+ -- frames -+ self.frames = self.frames + (data.frames or 0) -+ -- frames with more flag set -+ self.more = self.more + (data.more or 0) -+ -- whole messages. -+ self.msgs = self.msgs + (data.msgs or 0) -+ -- total bytes in frame bodies. -+ self.body_bytes = self.body_bytes + (data.body_bytes or 0) -+end -+ -+function stats_tap_mt:draw() -+ return format([[ -+ZeroMQ Packets: %d -+Frames: %d -+Messages: %d -+Flags: More: %d -+Payload bytes: %d -+]], -+ self.count, -+ self.frames, -+ self.msgs, -+ self.more, -+ self.body_bytes) -+end -+ -+function stats_tap_mt:reset() -+ self.count = 0 -+ self.frames = 0 -+ self.msgs = 0 -+ self.more = 0 -+ self.body_bytes = 0 -+end -+ -+local function create_stats_tap() -+ local tap = setmetatable({}, stats_tap_mt) -+ -+ tap:reset() -- initialize tap. -+ return tap, 'zmq', 'lua' -+end -+ -+tap("ZeroMQ stats tap", create_stats_tap) -+ -diff --git a/ws/tap.lua b/ws/tap.lua -new file mode 100644 -index 0000000..096332d ---- /dev/null -+++ b/ws/tap.lua -@@ -0,0 +1,84 @@ -+-- Copyright (c) 2011, Robert G. Jakabosky All rights reserved. -+ -+local gui_enabled = gui_enabled -+local register_menu = register_menu -+local MENU_TOOLS_UNSORTED = MENU_TOOLS_UNSORTED -+ -+local win_instances = 0 -+ -+local function create_window_tap(name, create) -+ win_instances = win_instances + 1 -+ -+ local td, tap_filter, tap_type = create() -+ -+ -- tap's output window. -+ local win = TextWindow.new(name .. " " .. win_instances) -+ -+ -- this tap will be local to the menu_function that called it -+ local tap = Listener.new(tap_type, tap_filter) -+ -+ -- callback to remove the tap when the text window closes -+ function remove_tap() -+ if tap and tap.remove then -+ tap:remove() -+ end -+ end -+ -+ -- make sure the tap doesn't hang around after the window was closed -+ win:set_atclose(remove_tap) -+ -+ -- this function will be called for every packet -+ function tap.packet(pinfo,tvb, tree, tapdata) -+ return td:packet(pinfo, tvb, tree, tapdata) -+ end -+ -+ -- this function will be called once every few seconds to redraw the window -+ function tap.draw() -+ local text = td:draw() -+ win:set(text) -+ end -+ -+ -- this function will be called at the end of the capture run. -+ function tap.reset() -+ return td:reset() -+ end -+end -+ -+local function create_tshark_tap(name, create) -+ -+ local td, tap_filter, tap_type = create() -+ -+ -- this tap will be local to the menu_function that called it -+ local tap = Listener.new(tap_type, tap_filter) -+ -+ -- this function will be called for every packet -+ function tap.packet(pinfo,tvb,tapdata) -+ return td:packet(pinfo, tvb, tapdata) -+ end -+ -+ -- this function will be called once every few seconds to redraw the window -+ function tap.draw() -+ local text = td:draw() -+ debug(name .. " results:\n" .. text) -+ end -+ -+ -- this function will be called at the end of the capture run. -+ function tap.reset() -+ return td:reset() -+ end -+end -+ -+return function (name, create) -+ if gui_enabled() then -+ -- menu callback. -+ local create_tap = function() -+ create_window_tap(name, create) -+ end -+ -- register menu item if running from wireshark -+ register_menu(name, create_tap, MENU_TOOLS_UNSORTED) -+ else -+ -- we are running from tshark, create a non-gui tap now. -+ create_tshark_tap(name, create) -+ end -+end -+ -diff --git a/zmq.nobj.lua b/zmq.nobj.lua -index 83c0aa5..e46193c 100644 ---- a/zmq.nobj.lua -+++ b/zmq.nobj.lua -@@ -23,110 +23,178 @@ set_variable_format "%s%d" - - c_module "zmq" { - -- module settings. -+module_globals = true, -- support old code that doesn't do: local zmq = require"zmq" - use_globals = false, - hide_meta_info = true, - luajit_ffi = true, -- --sys_include "string.h", --include "zmq.h", -+-- needed for functions exported from module. -+luajit_ffi_load_cmodule = true, - - ffi_load { - "zmq", -- default lib name. - Windows = "libzmq", -- lib name for on windows. - }, - --c_source[[ --/* -- * This wrapper function is to make the EAGAIN/ETERM error messages more like -- * what is returned by LuaSocket. -- */ --static const char *get_zmq_strerror() { -- int err = zmq_errno(); -- switch(err) { -- case EAGAIN: -- return "timeout"; -- break; --#if defined(ETERM) -- case ETERM: -- return "closed"; -- break; -+sys_include "string.h", -+include "zmq.h", -+ -+c_source "typedefs" [[ -+/* detect zmq version */ -+#define VERSION_2_0 1 -+#define VERSION_2_1 0 -+#define VERSION_2_2 0 -+#define VERSION_3_0 0 -+#define VERSION_3_2 0 -+#if defined(ZMQ_VERSION_MAJOR) -+# if (ZMQ_VERSION_MAJOR == 2) && (ZMQ_VERSION_MINOR == 2) -+# undef VERSION_2_2 -+# define VERSION_2_2 1 -+# undef VERSION_2_1 -+# define VERSION_2_1 1 -+# endif -+# if (ZMQ_VERSION_MAJOR == 2) && (ZMQ_VERSION_MINOR == 1) -+# undef VERSION_2_1 -+# define VERSION_2_1 1 -+# endif -+# if (ZMQ_VERSION_MAJOR == 3) && (ZMQ_VERSION_MINOR == 3) -+# undef VERSION_2_0 -+# define VERSION_2_0 0 -+# undef VERSION_3_2 -+# define VERSION_3_2 1 -+# undef VERSION_3_0 -+# define VERSION_3_0 1 -+# endif -+# if (ZMQ_VERSION_MAJOR == 3) && (ZMQ_VERSION_MINOR == 2) -+# undef VERSION_2_0 -+# define VERSION_2_0 0 -+# undef VERSION_3_2 -+# define VERSION_3_2 1 -+# undef VERSION_3_0 -+# define VERSION_3_0 1 -+# endif -+# if (ZMQ_VERSION_MAJOR == 3) -+# undef VERSION_2_0 -+# define VERSION_2_0 0 -+# undef VERSION_3_0 -+# define VERSION_3_0 1 -+# endif - #endif -- default: -- break; -- } -- return zmq_strerror(err); --} - --]], -+/* make sure ZMQ_DONTWAIT & ZMQ_NOBLOCK are both defined. */ -+#ifndef ZMQ_DONTWAIT -+# define ZMQ_DONTWAIT ZMQ_NOBLOCK -+#endif -+#ifndef ZMQ_NOBLOCK -+# define ZMQ_NOBLOCK ZMQ_DONTWAIT -+#endif - ---- export helper function 'get_zmq_strerror' to FFI code. --ffi_export_function "const char *" "get_zmq_strerror" "()", --ffi_source[[ --local C_get_zmq_strerror = get_zmq_strerror ---- make nicer wrapper for exported error function. --local function get_zmq_strerror() -- return ffi.string(C_get_zmq_strerror()) --end -+/* make sure DEALER/ROUTER & XREQ/XREP are all defined. */ -+#ifndef ZMQ_DEALER -+# define ZMQ_DEALER ZMQ_XREQ -+#endif -+#ifndef ZMQ_ROUTER -+# define ZMQ_ROUTER ZMQ_XREP -+#endif -+#ifndef ZMQ_XREQ -+# define ZMQ_XREQ ZMQ_DEALER -+#endif -+#ifndef ZMQ_XREP -+# define ZMQ_XREP ZMQ_ROUTER -+#endif -+ -+#if VERSION_2_0 -+# define ZMQ_POLL_MSEC 1000 // zmq_poll is usec -+#elif VERSION_3_0 -+# define ZMQ_POLL_MSEC 1 // zmq_poll is msec -+# ifndef ZMQ_HWM -+# define ZMQ_HWM 1 // backwards compatibility -+# endif -+#endif - ]], - - -- - -- Module constants - -- --constants { --MAX_VSM_SIZE = 30, -+export_definitions { -+MAX_VSM_SIZE = "ZMQ_MAX_VSM_SIZE", -+ -+-- context settings -+MAX_SOCKETS = "ZMQ_MAX_SOCKETS", -+IO_THREADS = "ZMQ_IO_THREADS", - - -- message types --DELIMITER = 31, --VSM = 32, -+DELIMITER = "ZMQ_DELIMITER", -+VSM = "ZMQ_VSM", - - -- message flags --MSG_MORE = 1, --MSG_SHARED = 128, -+MSG_MORE = "ZMQ_MSG_MORE", -+MSG_SHARED = "ZMQ_MSG_SHARED", - - -- socket types --PAIR = 0, --PUB = 1, --SUB = 2, --REQ = 3, --REP = 4, --XREQ = 5, --XREP = 6, --PULL = 7, --PUSH = 8, -+PAIR = "ZMQ_PAIR", -+PUB = "ZMQ_PUB", -+SUB = "ZMQ_SUB", -+REQ = "ZMQ_REQ", -+REP = "ZMQ_REP", -+PULL = "ZMQ_PULL", -+PUSH = "ZMQ_PUSH", -+ -+DEALER = "ZMQ_DEALER", -+ROUTER = "ZMQ_ROUTER", -+XREQ = "ZMQ_XREQ", -+XREP = "ZMQ_XREP", -+ -+-- new 3.1 socket types -+XPUB = "ZMQ_XPUB", -+XSUB = "ZMQ_XSUB", - - -- socket options --HWM = 1, --SWAP = 3, --AFFINITY = 4, --IDENTITY = 5, --SUBSCRIBE = 6, --UNSUBSCRIBE = 7, --RATE = 8, --RECOVERY_IVL = 9, --MCAST_LOOP = 10, --SNDBUF = 11, --RCVBUF = 12, --RCVMORE = 13, --FD = 14, --EVENTS = 15, --TYPE = 16, --LINGER = 17, --RECONNECT_IVL = 18, --BACKLOG = 19, -+HWM = "ZMQ_HWM", -+SWAP = "ZMQ_SWAP", -+AFFINITY = "ZMQ_AFFINITY", -+IDENTITY = "ZMQ_IDENTITY", -+SUBSCRIBE = "ZMQ_SUBSCRIBE", -+UNSUBSCRIBE = "ZMQ_UNSUBSCRIBE", -+RATE = "ZMQ_RATE", -+RECOVERY_IVL = "ZMQ_RECOVERY_IVL", -+MCAST_LOOP = "ZMQ_MCAST_LOOP", -+SNDBUF = "ZMQ_SNDBUF", -+RCVBUF = "ZMQ_RCVBUF", -+RCVMORE = "ZMQ_RCVMORE", -+FD = "ZMQ_FD", -+EVENTS = "ZMQ_EVENTS", -+TYPE = "ZMQ_TYPE", -+LINGER = "ZMQ_LINGER", -+RECONNECT_IVL = "ZMQ_RECONNECT_IVL", -+RECONNECT_IVL_MSEC= "ZMQ_RECONNECT_IVL_MSEC", -+BACKLOG = "ZMQ_BACKLOG", -+RECONNECT_IVL_MAX = "ZMQ_RECONNECT_IVL_MAX", -+MAXMSGSIZE = "ZMQ_MAXMSGSIZE", -+SNDHWM = "ZMQ_SNDHWM", -+RCVHWM = "ZMQ_RCVHWM", -+MULTICAST_HOPS = "ZMQ_MULTICAST_HOPS", -+RCVTIMEO = "ZMQ_RCVTIMEO", -+SNDTIMEO = "ZMQ_SNDTIMEO", -+RCVLABEL = "ZMQ_RCVLABEL", - - -- send/recv flags --NOBLOCK = 1, --SNDMORE = 2, -+NOBLOCK = "ZMQ_NOBLOCK", -+DONTWAIT = "ZMQ_DONTWAIT", -+SNDMORE = "ZMQ_SNDMORE", -+SNDLABEL = "ZMQ_SNDLABEL", - - -- poll events --POLLIN = 1, --POLLOUT = 2, --POLLERR = 4, -+POLLIN = "ZMQ_POLLIN", -+POLLOUT = "ZMQ_POLLOUT", -+POLLERR = "ZMQ_POLLERR", -+ -+-- poll milliseconds. -+POLL_MSEC = "ZMQ_POLL_MSEC", - - -- devices --STREAMER = 1, --FORWARDER = 2, --QUEUE = 3, -+STREAMER = "ZMQ_STREAMER", -+FORWARDER = "ZMQ_FORWARDER", -+QUEUE = "ZMQ_QUEUE", - }, - - -@@ -159,6 +227,7 @@ c_function "version" { - ]], - }, - c_function "init" { -+ var_in{ "int", "io_threads?", default = "1" }, - c_call "!ZMQ_Ctx *" "zmq_init" { "int", "io_threads" }, - }, - c_function "init_ctx" { -@@ -174,18 +243,22 @@ c_function "init_ctx" { - ffi_source[[ - local p_type = type(${ptr}) - if p_type == 'userdata' then -- ${ctx} = ffi.cast('void *', ${ptr}); -- elseif p_type == 'cdata' then -- ${ctx} = ${ptr}; -+ ${ctx} = ffi.cast('ZMQ_Ctx *', ${ptr}); -+ elseif p_type == 'cdata' and ffi.istype('void *', ${ptr}) then -+ ${ctx} = ffi.cast('ZMQ_Ctx *', ${ptr}); - else - return error("expected lightuserdata/cdata"); - end - ]], - }, --c_function "device" { -+c_function "device" { if_defs = { "VERSION_2_0", "VERSION_3_2" }, - c_call "ZMQ_Error" "zmq_device" - { "int", "device", "ZMQ_Socket *", "insock", "ZMQ_Socket *", "outsock" }, - }, -+c_function "proxy" { if_defs = "VERSION_3_2", -+ c_call "ZMQ_Error" "zmq_proxy" -+ { "ZMQ_Socket *", "frontend", "ZMQ_Socket *", "backend", "ZMQ_Socket *", "capture?" }, -+}, - - -- - -- zmq_utils.h -@@ -197,16 +270,5 @@ c_function "stopwatch_start" { - c_function "sleep" { - c_call "void" "zmq_sleep" { "int", "seconds_" }, - }, ---- ---- This dump function is for getting a copy of the FFI-based bindings code and is ---- only for debugging. ---- --c_function "dump_ffi" { -- var_out{ "const char *", "ffi_code", has_length = true, }, -- c_source[[ -- ${ffi_code} = ${module_c_name}_ffi_lua_code; -- ${ffi_code_len} = sizeof(${module_c_name}_ffi_lua_code) - 1; --]], --}, - } - diff --git a/unmaintained/lua5.2-json4/APKBUILD b/unmaintained/lua5.2-json4/APKBUILD deleted file mode 100644 index cf75f8b9fd..0000000000 --- a/unmaintained/lua5.2-json4/APKBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Maintainer: Natanael Copa -_luaver=5.2 -pkgname=lua${_luaver}-json4 -_name=json4lua -pkgver=0.9.50 -pkgrel=1 -pkgdesc="JSON encoding / decoding module for Lua $_luaver (JSON4lua)" -url="http://json.luaforge.net/" -arch="noarch" -license="GPL2" -depends="" -source="http://files.luaforge.net/releases/json/json/$pkgver/json4lua-$pkgver.zip" - -build() { - return 0 -} - -package() { - install -D "$srcdir"/$_name-$pkgver/json/json.lua "$pkgdir"/usr/share/lua/${_luaver}/json.lua -} - -md5sums="d04a44972ec697a14e89b3a7f14c2d29 json4lua-0.9.50.zip" -sha256sums="9565ebd1b0a95d84915221f2f401f913de92e7135c6d6ebdb38eff636a934ef1 json4lua-0.9.50.zip" -sha512sums="7cfe0f68eea2e40e59f45359e1e867fb8aa306bdc211be3596ba6c2718687401564f365975cbbbce3d05e76bde46a42303c37a2b320ffa77212902465fac0ae6 json4lua-0.9.50.zip" diff --git a/unmaintained/lua5.2-sec-prosody/APKBUILD b/unmaintained/lua5.2-sec-prosody/APKBUILD deleted file mode 100644 index ac0372f894..0000000000 --- a/unmaintained/lua5.2-sec-prosody/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Borys Zhukov -# Maintainer: Natanael Copa -_luaver=5.2 -pkgname=lua$_luaver-sec-prosody -_name=luasec-prosody -pkgver=0.5.1 -pkgrel=0 -pkgdesc="Temporary fork of lua-sec necessary for prosody to support certificate authentication" -url="https://prosody.im/doc/depends/luasec/prosody" -arch="all" -license="MIT" -depends="lua$_luaver-socket" -makedepends="lua$_luaver-dev openssl-dev" -install= -subpackages="$pkgname-doc" -source=" - https://prosody.im/tmp/luasec-prosody-$pkgver.tar.gz - " - -_builddir="$srcdir"/$_name-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make linux \ - CC="${CC:-gcc}" \ - LD="${CC:-gcc}" \ - MYCFLAGS="$CFLAGS" \ - MYLDFLAGS="$LDFLAGS" \ - INC_PATH="$(pkg-config lua$_luaver --cflags)" \ - || return 1 -} - -package() { - _luasharedir=/usr/share/lua/$_luaver - _lualibdir=/usr/lib/lua/$_luaver - cd "$_builddir" - mkdir -p "$pkgdir"/$_luasharedir "$pkgdir"/$_lualibdir - make LUAPATH="$pkgdir"/$_luasharedir \ - LUACPATH="$pkgdir"/$_lualibdir \ - install - mkdir -p "$pkgdir"/usr/share/doc/$pkgname - cp -r samples "$pkgdir"/usr/share/doc/$pkgname/ -} -md5sums="fbe70f5b43419bec16afdfee2b21c34b luasec-prosody-0.5.1.tar.gz" -sha256sums="2fd34cf9c59a6491937c98ba33921d4fc418b160c0c89545f7bae4f246280ad4 luasec-prosody-0.5.1.tar.gz" -sha512sums="eadae7f59e957ebc8df074c8e43b181380393e8dd2042bbd098576bf2d7710aa0abb4ccc87eb1b52d28e0473cc52626be6e06eabdec8821deca1cda82ad7cfe7 luasec-prosody-0.5.1.tar.gz" diff --git a/unmaintained/lua5.2-sec-prosody/Makefile.patch b/unmaintained/lua5.2-sec-prosody/Makefile.patch deleted file mode 100644 index 958c24a1be..0000000000 --- a/unmaintained/lua5.2-sec-prosody/Makefile.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/Makefile.orig -+++ b/src/Makefile -@@ -22,7 +22,7 @@ - - INSTALL ?= install - CC ?= cc --LD ?= $(MYENV) cc -+LD = $(MYENV) cc - CFLAGS += $(MYCFLAGS) - LDFLAGS += $(MYLDFLAGS) - DESTDIR ?= / diff --git a/unmaintained/lua5.2-xctrl/APKBUILD b/unmaintained/lua5.2-xctrl/APKBUILD deleted file mode 100644 index 39c608acc2..0000000000 --- a/unmaintained/lua5.2-xctrl/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Natanael Copa -_luaver=5.2 -pkgname=lua$_luaver-xctrl -pkgver=2013.06.20 -_x=${pkgver%%.*} -_y=${pkgver%.*} -_y=${_y#*.} -_z=${pkgver##*.} -_ver=${_x}-${_y}-${_z} -pkgrel=0 -pkgdesc="Lua $_luaver module to query and manipulate X11 window managers" -url="http://code.google.com/p/xctrl/" -arch="all" -license="GPL2" -depends= -makedepends="lua$_luaver-dev libx11-dev libxmu-dev" -install= -subpackages="$pkgname-doc" -source="http://xctrl.googlecode.com/files/xctrl-$_ver.tar.gz" - -_builddir="$srcdir"/xctrl-$_ver -_lua_libdir=/usr/lib/lua/$_luaver -prepare() { - cd "$_builddir" -} - -build() { - cd "$_builddir" - export EXTRA_CFLAGS="-fPIC $( pkg-config lua$_luaver --cflags )" - make -C src LUA=lua5.2 || return 1 -} - -package() { - cd "$_builddir" - install -d "$pkgdir"/$_lua_libdir "$pkgdir"/usr/share/doc/$pkgname - install src/xctrl.so "$pkgdir"/$_lua_libdir/xctrl.so - install doc/lxctrl.html "$pkgdir"/usr/share/doc/$pkgname/lxctrl.html -} - -md5sums="789f39228436e4c806911c6cbaae444a xctrl-2013-06-20.tar.gz" -sha256sums="9089ff10f5396e0a74b3f80c03d8f54395219d72f6ea0084e2858d7195ececbf xctrl-2013-06-20.tar.gz" -sha512sums="ebfbd3b13c0d5432c71afa6bc70984c794242204c9ce9eaaf391092f7cf5c99dbe0c66335bb9c97413d304f1f77529bddf6a0f37fb10eeab5fbcb7d75dc92d48 xctrl-2013-06-20.tar.gz" diff --git a/unmaintained/lusca/APKBUILD b/unmaintained/lusca/APKBUILD deleted file mode 100644 index 77121877f6..0000000000 --- a/unmaintained/lusca/APKBUILD +++ /dev/null @@ -1,117 +0,0 @@ -# Maintainer: Diaz Devera Victor - -pkgname=lusca -pkgver=r14942 -pkgrel=2 -pkgdesc="A full-featured Web proxy cache server Fork from Squid 2 series." -url="https://code.google.com/p/lusca-cache/" -install="lusca.pre-install lusca.pre-upgrade" -pkgusers="lusca" -pkggroups="lusca" -arch="all" -license="GPL2" -depends="logrotate" -makedepends="libressl-dev perl-dev autoconf automake heimdal-dev libtool - libcap-dev linux-headers" -subpackages="$pkgname-doc" -linguas="Armenian Czech Estonian Greek Japanese Portuguese Serbian Swedish Ukrainian-koi8-u -Azerbaijani Danish Finnish Hebrew Korean Romanian Simplify_Chinese Traditional_Chinese Ukrainian-utf8 -Bulgarian Dutch French Hungarian Lithuanian Russian-1251 Slovak Turkish templates -Catalan English German Italian Polish Russian-koi8-r Spanish Ukrainian-1251" -langdir="/usr/share/lusca/errors" - -source="https://xvk988.googlecode.com/files/LUSCA_HEAD-$pkgver.tar.bz2 - alpine.patch - $pkgname.initd - $pkgname.confd - $pkgname.logrotate" - -_builddir="$srcdir"/LUSCA_HEAD-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - ./bootstrap.sh - find -name config.sub | xargs chmod u+w -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --exec_prefix=/usr \ - --bindir=/usr/sbin \ - --sbindir=/usr/sbin \ - --libexecdir=/usr/lib/$pkgname \ - --sysconfdir=/etc/lusca \ - --localstatedir=/var/spool/$pkgname \ - --datadir=/usr/share/$pkgname \ - --enable-async-io=24 \ - --with-aufs-threads=24 \ - --with-pthreads \ - --enable-storeio=aufs \ - --enable-linux-netfilter \ - --enable-arp-acl \ - --enable-epoll \ - --enable-removal-policies=lru,heap \ - --with-aio \ - --with-dl \ - --enable-snmp \ - --enable-delay-pools \ - --enable-htcp \ - --enable-cache-digests \ - --disable-unlinkd \ - --enable-large-cache-files \ - --with-large-files \ - --enable-auth=basic,digest,ntlm,negotiate \ - --enable-referer-log \ - --enable-follow-x-forwarded-for \ - --with-maxfd=65536 \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - install -m644 -D "$srcdir"/$pkgname.logrotate \ - "$pkgdir"/etc/logrotate.d/$pkgname - install -d -o lusca -g lusca \ - "$pkgdir"/var/cache/$pkgname \ - "$pkgdir"/var/log/$pkgname \ - "$pkgdir"/var/run/$pkgname - - mv "$pkgdir"/etc/lusca/squid.conf.default "$pkgdir"/etc/lusca/$pkgname.conf.default - mv "$pkgdir"/etc/lusca/squid.conf.clean "$pkgdir"/etc/lusca/$pkgname.conf.clean - mv "$pkgdir"/etc/lusca/squid.conf "$pkgdir"/etc/lusca/$pkgname.conf - - mv "$pkgdir"/usr/sbin/squid "$pkgdir"/usr/sbin/$pkgname - mv "$pkgdir"/usr/sbin/squidclient "$pkgdir"/usr/sbin/luscaclient - chmod +x "$pkgdir"/usr/lib/$pkgname/* -} - -md5sums="25d852d20372ad9ba623ca3eb6d7e44a LUSCA_HEAD-r14942.tar.bz2 -c06fc0964158f36578c86d8c262267d4 alpine.patch -ab9c58c553b803ae0f2f3cea2afd102e lusca.confd -bbad1a149da4d1b0d5b1d54ce715ec09 lusca.initd -54fbba7f7795a69e6df66b0c7f36c78d lusca.logrotate" - -sha256sums="0cbf6c1908d62e8d5538f0144a970440b8315089e770d3653bed6757a5602d12 LUSCA_HEAD-r14942.tar.bz2 -c8954f28f7b1f8fa304558b534b6ba3666a1fcfee2624b3195e66c2d86193d52 alpine.patch -2fff1bee04477eaa21d6d4d45b9c4b30a21f10a319ea8b64c7ff52eb9de45ff2 lusca.confd -8b7ece5c63840716e451fe7bfd0bff8c38e98ba9510dc84d1ed6282521ae5625 lusca.initd -b7dc2c4cf17c0088827298d13e419891a9c52b96afcecf49f764fb8bb16fc234 lusca.logrotate" - -sha512sums="60abf830cf07318a772f86c68672a549a804861962b29f9626ec7362369515ba4794b32d66d31ae50ac2e3a3b9520cc1226d0cdf99e5e70c86d4cee622b640b8 LUSCA_HEAD-r14942.tar.bz2 -b216a67f5809fe7b2ebd8a741f500338dc480bbf6b3768c78db0418f3b99fc93e9d1b61a668b2e4276deeeabeeb89dbb4a25473eafb21afbe5f610cf314c0ece alpine.patch -8ce68ccf7b5ada41deea44febebff4aa854bfc4f7797435465afe55055e2fd3c46abe7f753cbfd0135537c44cfe8589cc673e254844e9a60c49c4178c2ec7335 lusca.confd -e768a2b95d9411c80114d1b87b231028556aa60826ff90812a0bdbf21174ac9f5510a2da6b9f21b50b16c263146a4e3af1219422dff49b73e78a6a59f44371cf lusca.initd -785475dbbcd03aa4aaa635ae5aeb5f0682004002ec93036054c3092db5c7c109bbc93b5f3109a690515a89554993cc6d36b9fdc655369a837004a39bb0c12ed4 lusca.logrotate" diff --git a/unmaintained/lusca/alpine.patch b/unmaintained/lusca/alpine.patch deleted file mode 100644 index e138f915a5..0000000000 --- a/unmaintained/lusca/alpine.patch +++ /dev/null @@ -1,43 +0,0 @@ -Description:minor corrections to compile in Alpine Linux -Author: Diaz Devera Victor -Last-Update: 2014-09-15 - ---- a/libcore/kb.h -+++ b/libcore/kb.h -@@ -1,6 +1,6 @@ - #ifndef __LIBCORE_KB_H__ - #define __LIBCORE_KB_H__ -- -+#include - - /* - * XXX this strictly shouldn't be here! ---- a/libcore/tools.h -+++ b/libcore/tools.h -@@ -1,5 +1,6 @@ - #ifndef __LIBCORE_TOOLS_H__ - #define __LIBCORE_TOOLS_H__ -+#include - - #define MB ((size_t)1024*1024) - extern double toMB(size_t size); ---- a/libmem/MemPool.h -+++ b/libmem/MemPool.h -@@ -1,5 +1,6 @@ - #ifndef __LIBMEM_MEMPOOL_H__ - #define __LIBMEM_MEMPOOL_H__ -+#include - - /* object to track per-action memory usage (e.g. #idle objects) */ - struct _MemMeter { ---- a/src/acl.c -+++ b/src/acl.c -@@ -3176,7 +3176,7 @@ - #if defined(_SQUID_NETBSD_) || defined(_SQUID_OPENBSD_) - #undef free - #endif --#include -+#include - #endif - #ifdef _SQUID_LINUX_ - #include diff --git a/unmaintained/lusca/lusca.confd b/unmaintained/lusca/lusca.confd deleted file mode 100644 index 83a53bad06..0000000000 --- a/unmaintained/lusca/lusca.confd +++ /dev/null @@ -1,4 +0,0 @@ -# Config file for /etc/init.d/lusca - -LUSCA_OPTS="-YCD" - diff --git a/unmaintained/lusca/lusca.initd b/unmaintained/lusca/lusca.initd deleted file mode 100644 index dfe98bcca2..0000000000 --- a/unmaintained/lusca/lusca.initd +++ /dev/null @@ -1,120 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/squid/files/squid.initd-r3,v 1.1 2013/01/11 15:25:49 eras Exp $ - -extra_started_commands="reload rotate" - -depend() { - use dns - need net - after firewall -} - -checkconfig() { - if [ ! -f /etc/lusca/${SVCNAME}.conf ]; then - eerror "You need to create /etc/lusca/${SVCNAME}.conf first." - eerror "An example can be found in /etc/lusca/lusca.conf.default" - return 1 - fi - - local PIDFILE=$(awk '/^[ \t]*pid_filename[ \t]+/ { print $2 }' < /etc/lusca/${SVCNAME}.conf) - [ -z ${PIDFILE} ] && PIDFILE=/var/run/lusca.pid - if [ /var/run/${SVCNAME}.pid != ${PIDFILE} ]; then - eerror "/etc/lusca/${SVCNAME}.conf must set pid_filename to" - eerror " /var/run/${SVCNAME}.pid" - eerror "CAUTION: http_port, cache_dir and *_log parameters must be different than" - eerror " in any other instance of lusca." - return 1 - fi - - local CACHE_SWAP=$(awk '/^[ \t]*cache_dir[ \t]+/ { if ($2 == "coss" ) printf "%s/stripe ", $3 ; else printf "%s/00 ", $3; }' < /etc/lusca/${SVCNAME}.conf) - [ -z "$CACHE_SWAP" ] && CACHE_SWAP="/var/cache/lusca/00" - - local x - for x in $CACHE_SWAP ; do - if [ ! -e $x ] ; then - ebegin "Initializing cache directory ${x%/*}" - local ORIG_UMASK=$(umask) - umask 027 - - if ! (mkdir -p ${x%/*} && chown lusca ${x%/*}) ; then - eend 1 - return 1 - fi - - local INIT_CACHE_RESPONSE="$(/usr/sbin/lusca -z -N -f /etc/lusca/${SVCNAME}.conf 2>&1)" - if [ $? != 0 ] || echo "$INIT_CACHE_RESPONSE" | grep -q "erminated abnormally" ; then - umask $ORIG_UMASK - eend 1 - echo "$INIT_CACHE_RESPONSE" - return 1 - fi - - umask $ORIG_UMASK - eend 0 - break - fi - done - - return 0 -} - -limits() { - ulimit -c unlimited - ulimit -d unlimited - ulimit -f unlimited - ulimit -n 819200 - ulimit -v unlimited - ulimit -s 8192 - ulimit -l unlimited -} - -start() { - checkconfig || return 1 - ebegin "Starting ${SVCNAME}" - limits - KRB5_KTNAME="${LUSCA_KEYTAB}" /usr/sbin/lusca ${LUSCA_OPTS} -f /etc/lusca/${SVCNAME}.conf - eend $? && sleep 1 -} - -stop() { - ebegin "Stopping ${SVCNAME}" - if /usr/sbin/lusca -k shutdown -f /etc/lusca/${SVCNAME}.conf ; then - # Now we have to wait until lusca has _really_ stopped. - sleep 1 - if [ -f /var/run/${SVCNAME}.pid ] ; then - einfon "Waiting for lusca to shutdown ." - cnt=0 - while [ -f /var/run/${SVCNAME}.pid ] ; do - cnt=$(expr $cnt + 1) - if [ $cnt -gt 60 ] ; then - # Waited 120 seconds now. Fail. - echo - eend 1 "Failed." - break - fi - sleep 2 - echo -n "." - done - echo - fi - else - eerror "lusca shutdown failed, probably service is already down." - fi - eend 0 -} - -reload() { - checkconfig || return 1 - ebegin "Reloading ${SVCNAME}" - /usr/sbin/lusca -k reconfigure -f /etc/lusca/${SVCNAME}.conf - eend $? -} - -rotate() { - service_started ${SVCNAME} || return 1 - ebegin "Rotating ${SVCNAME} logs" - /usr/sbin/lusca -k rotate -f /etc/lusca/${SVCNAME}.conf - eend $? -} diff --git a/unmaintained/lusca/lusca.logrotate b/unmaintained/lusca/lusca.logrotate deleted file mode 100644 index 348e53cdfc..0000000000 --- a/unmaintained/lusca/lusca.logrotate +++ /dev/null @@ -1,11 +0,0 @@ -/var/log/lusca/*.log { - daily - compress - rotate 5 - missingok - nocreate - sharedscripts - postrotate - /usr/sbin/lusca -k rotate - endscript -} diff --git a/unmaintained/lusca/lusca.pre-install b/unmaintained/lusca/lusca.pre-install deleted file mode 100644 index e73a38b80e..0000000000 --- a/unmaintained/lusca/lusca.pre-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -adduser -S -D -h /var/cache/lusca -s /sbin/nologin -g lusca lusca 2>/dev/null -addgroup -S winbind 2>/dev/null -addgroup lusca winbind 2>/dev/null - -exit 0 diff --git a/unmaintained/lusca/lusca.pre-upgrade b/unmaintained/lusca/lusca.pre-upgrade deleted file mode 120000 index 97faee07a8..0000000000 --- a/unmaintained/lusca/lusca.pre-upgrade +++ /dev/null @@ -1 +0,0 @@ -lusca.pre-install \ No newline at end of file diff --git a/unmaintained/lwm/APKBUILD b/unmaintained/lwm/APKBUILD deleted file mode 100644 index 411291b273..0000000000 --- a/unmaintained/lwm/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Michael Zhou -# Maintainer: -pkgname=lwm -pkgver=1.2.2 -pkgrel=0 -pkgdesc="Lightweight Window Manager that tries to keep out of your face" -url="http://www.jfc.org.uk/software/lwm.html" -arch="all" -license="GPL" -depends="" -makedepends="libx11-dev libsm-dev" -install="" -subpackages="" -source=" - http://www.jfc.org.uk/files/$pkgname/$pkgname-$pkgver.tar.gz - no_xmkmf_makefile.patch -" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -f no_xmkmf_makefile || return 1 -} - -package() { - cd "$_builddir" - install -d "$pkgdir"/usr/bin - install lwm "$pkgdir"/usr/bin -} - -md5sums="1748722a293e03d632b615275ef84498 lwm-1.2.2.tar.gz -cbfa8518daed50927fe4cc8ae5d2e550 no_xmkmf_makefile.patch" diff --git a/unmaintained/lwm/no_xmkmf_makefile.patch b/unmaintained/lwm/no_xmkmf_makefile.patch deleted file mode 100644 index 6b7ff60f0f..0000000000 --- a/unmaintained/lwm/no_xmkmf_makefile.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/no_xmkmf_makefile -+++ b/no_xmkmf_makefile -@@ -24,7 +24,7 @@ - #DEFINES = -D_POSIX_C_SOURCE=2 - - # Add any strange libraries your system needs here. --LDFLAGS = -lXext -lX11 -lICE -lSM -+LDFLAGS = -lX11 -lICE -lSM - - # ----------------------------------------------------------------------------- - diff --git a/unmaintained/lxde-common/APKBUILD b/unmaintained/lxde-common/APKBUILD deleted file mode 100644 index b18dbf86cf..0000000000 --- a/unmaintained/lxde-common/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Bartłomiej Piotrowski - -pkgname=lxde-common -pkgver=0.5.5 -pkgrel=0 -pkgdesc='Common files of the LXDE Desktop' -arch='noarch' -url='http://lxde.org/' -license='GPL2' -depends='lxsession' -source="http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz - startlxde.patch" - -prepare() { - cd "$srcdir"/$pkgname-$pkgver - patch -Np0 -i $srcdir/startlxde.patch || return 1 -} - -build() { - cd "$srcdir"/$pkgname-$pkgver - ./configure --sysconfdir=/etc --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 - install -Dm644 lxde-logout.desktop \ - "$pkgdir"/usr/share/applications/lxde-logout.desktop || return 1 -} -md5sums="e51a6b2a815a89fda1f497b509465a97 lxde-common-0.5.5.tar.gz -11aca3bcc2ea8fa2c03e72056a52d1fc startlxde.patch" -sha256sums="ee18a09b64a442b33c1b54f0269649a1b4d9490460c400a07ed785d41bf6dde6 lxde-common-0.5.5.tar.gz -0b4192c52142369677d02474133a1da733a250a0e2ed9a4b55275428b90e38aa startlxde.patch" -sha512sums="44848286ccf3aa269df1680e14a8d3c41be1c2af956bd5121fc05d97a892fdc13d1e74191a2a11a40e96a8f31f8be37b1cfb9afeac4474fcab88d07508647c7f lxde-common-0.5.5.tar.gz -dd25e91d9b350784b3434390c68ffaa763a966e0977c0a8ee57fe920c5793f2ecc42446ca332f294cc2e840f951099ab348f052f54ae9aac22d8e77d19f30919 startlxde.patch" diff --git a/unmaintained/lxde-common/startlxde.patch b/unmaintained/lxde-common/startlxde.patch deleted file mode 100644 index 27315d4f05..0000000000 --- a/unmaintained/lxde-common/startlxde.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- startlxde.in.orig 2011-08-03 21:59:05.000000000 +0200 -+++ startlxde.in 2012-07-02 19:40:19.982368074 +0200 -@@ -8,7 +8,7 @@ fi - PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm/LXDE" - if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then - mkdir -p "$PCMANFM_CONF_DIR" -- cp @prefix@/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" -+ cp @sysconfdir@/xdg/pcmanfm/LXDE/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" - fi - - # Ensure the existance of openbox config file diff --git a/unmaintained/lxde-icon-theme/APKBUILD b/unmaintained/lxde-icon-theme/APKBUILD deleted file mode 100644 index 4dce079a57..0000000000 --- a/unmaintained/lxde-icon-theme/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=lxde-icon-theme -pkgver=0.5.0 -pkgrel=0 -pkgdesc="LXDE default icon theme based on nuoveXT2" -url="http://lxde.org" -arch="noarch" -license="GPL" -depends="gtk+2.0 gtk+3.0" -depends_dev="gtk+2.0-dev gtk+3.0-dev" -makedepends="$depends_dev coreutils" -install="" -subpackages="" -source="http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.bz2" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="346e1aecf805892b106b4d4b0f26e5cc lxde-icon-theme-0.5.0.tar.bz2" -sha256sums="49dc61c46c4a0ca9298f9e0866bcf7212a08ddaa71f15bfabfb0220fe1efa848 lxde-icon-theme-0.5.0.tar.bz2" -sha512sums="4ca3e94b5826f7fe87d840feddf0c130fa77e8f14f22a59d9749252a5106d54661237e3c9286f4880d0aaa50bd330cb4bfb9d663ca35d6ee4b9e3c2af30fe9ab lxde-icon-theme-0.5.0.tar.bz2" diff --git a/unmaintained/lxmenu-data/APKBUILD b/unmaintained/lxmenu-data/APKBUILD deleted file mode 100644 index a899f81ac5..0000000000 --- a/unmaintained/lxmenu-data/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=lxmenu-data -pkgver=0.1.2 -pkgrel=1 -pkgdesc="freedesktop.org desktop menus for LXDE" -url="http://lxde.org/" -arch="noarch" -license="GPL2" -depends="" -depends_dev="intltool" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="2184ab3746d572477f1bea7e98e230a8 lxmenu-data-0.1.2.tar.gz" -sha256sums="34c285a0430404e815263a4bb33a79eb47b168c56469be0f7ffb19730a57a045 lxmenu-data-0.1.2.tar.gz" -sha512sums="8e18d5a0309d69fbd410f8e3e5393f8a49852c2684aa2d2f0c460cf9e1f0fb88810885551d6b3dee1c6270a2a8a8a14973ca5e72b714898d1b6b9b676e3bf922 lxmenu-data-0.1.2.tar.gz" diff --git a/unmaintained/mac-robber/APKBUILD b/unmaintained/mac-robber/APKBUILD deleted file mode 100644 index b8e9c864dc..0000000000 --- a/unmaintained/mac-robber/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=mac-robber -pkgver=1.02 -pkgrel=0 -pkgdesc="Tool to create a timeline of file activity for mounted file systems" -url="http://sourceforge.net/projects/mac-robber/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="" -install="" -subpackages="" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz - include-paramh.patch" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -Dpm 0755 $pkgname "$pkgdir"/usr/bin/$pkgname || return 1 -} - -md5sums="6d6d99aa882a46b2bc5231d195fdb595 mac-robber-1.02.tar.gz -c2b45c05cd35ef2fa59b13124fe908fa include-paramh.patch" -sha256sums="5895d332ec8d87e15f21441c61545b7f68830a2ee2c967d381773bd08504806d mac-robber-1.02.tar.gz -f69e14c2e0f7431d16b711b719a5112ab3797520110fcf61b1c8fa1c53816bb1 include-paramh.patch" -sha512sums="5330f766eb08aa766ca3f430684e0a40ecf29b7230a582c30a36bbaaa481d52c2a8519fa04e82762f09259ada9e77466c1430aebdff22615a511d519916d54a7 mac-robber-1.02.tar.gz -4fc0ac48132d2dfbf150fb297d6a740d867c8308215970ac9bce433961cac3d2e32ca57060e4a5f948598f832cdafe931583993df27e9fd4d24139977311cf20 include-paramh.patch" diff --git a/unmaintained/mac-robber/include-paramh.patch b/unmaintained/mac-robber/include-paramh.patch deleted file mode 100644 index 1bf20fda5d..0000000000 --- a/unmaintained/mac-robber/include-paramh.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/mac-robber.c.orig -+++ b/mac-robber.c -@@ -44,6 +44,7 @@ - - #include - #include -+#include - #include - #include - #include diff --git a/unmaintained/madwimax/APKBUILD b/unmaintained/madwimax/APKBUILD deleted file mode 100644 index a06da00cd7..0000000000 --- a/unmaintained/madwimax/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Sergey -# Maintainer: Natanael Copa -pkgname=madwimax -pkgver=0.1.1 -pkgrel=4 -pkgdesc="WiMAX driver for the Samsung SWC-U200 and similar USB modems" -url="http://code.google.com/p/madwimax/" -arch="all" -license="GPL2" -depends= -makedepends="libusb-dev" -install= -subpackages="$pkgname-doc" -source="http://madwimax.googlecode.com/files/madwimax-0.1.1.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --without-man-pages \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - -#2009-10-07,SP: you can start it simply by /usr/sbin/madwimax -d -#, so no init.d script so far... - -} - -md5sums="4ebd2d74e887e6f9d6f23067a4ad8272 madwimax-0.1.1.tar.gz" diff --git a/unmaintained/maildrop/APKBUILD b/unmaintained/maildrop/APKBUILD deleted file mode 100644 index fb70f05e62..0000000000 --- a/unmaintained/maildrop/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Juraj Sujan -# Maintainer: Juraj Sujan -pkgname=maildrop -pkgver=2.5.2 -pkgrel=1 -pkgdesc="Mail delivery agent with filtering abilities" -url="http://courier-mta.org/maildrop/" -arch="all" -license="GPL3" -depends= -makedepends="perl pcre-dev" -install= -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/courier/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 - maildrop-2.3.0-dovecotauth.patch" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here - if ! patch --verbose -p1 -i ../maildrop-2.3.0-dovecotauth.patch; then - error "dovecotauth patch failed" - return 1 - fi -} - -build() { - cd "$_builddir" - # workaround for strange detection of default mailbox file/dir - export QMAIL="foo" - ./configure --prefix=/usr \ - --disable-authlib \ - --without-db \ - --enable-syslog=1 \ - --with-default-maildrop=./Maildir || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - mkdir "$pkgdir"/usr/share/doc - mv "$pkgdir"/usr/share/maildrop "$pkgdir"/usr/share/doc/ - cp README.dovecotauth "$pkgdir"/usr/share/doc/maildrop/ -} -md5sums="3edb56534ae442a494255db6c8aaab99 maildrop-2.5.2.tar.bz2 -8e56645ecf8ddb52550ab69103ae8d43 maildrop-2.3.0-dovecotauth.patch" -sha256sums="c1996773baf2d0147299f2ae3d588937e350b175d60bd7efb4551d39cd0a4190 maildrop-2.5.2.tar.bz2 -0a75ec0b8f9797712bbdc695f9b3043b85c2480c1d627f657336439b6e9eecfe maildrop-2.3.0-dovecotauth.patch" -sha512sums="b2ab4f1a600e6e45eb2e130e61501d30df8474232a6e95aa7b282cb28f362b017fc84a72ae6f39c6d0fe75682441ee9a83133a3cd2d705a8894657dc15ab3cdd maildrop-2.5.2.tar.bz2 -9425d3ac875414044e6258788eacd7fb80de68a83cf7ac91912044dc897f14d6f9dbc5d9e9148251ea7f3f9ec8cffca756dc76fca2be56d3acb96453b4a5d21f maildrop-2.3.0-dovecotauth.patch" diff --git a/unmaintained/maildrop/maildrop-2.3.0-dovecotauth.patch b/unmaintained/maildrop/maildrop-2.3.0-dovecotauth.patch deleted file mode 100644 index 1b9319c51e..0000000000 --- a/unmaintained/maildrop/maildrop-2.3.0-dovecotauth.patch +++ /dev/null @@ -1,820 +0,0 @@ -diff -Naur maildrop-2.3.0/maildrop/dovecotauth.c maildrop-2.3.0-dovecotauth/maildrop/dovecotauth.c ---- maildrop-2.3.0/maildrop/dovecotauth.c 1970-01-01 01:00:00.000000000 +0100 -+++ maildrop-2.3.0-dovecotauth/maildrop/dovecotauth.c 2010-01-31 15:01:38.000000000 +0100 -@@ -0,0 +1,480 @@ -+/* -+** Copyright 2009 Marko Njezic -+** Licensed under the same terms as Courier Authlib AND/OR Courier Maildrop. -+** -+** Partially based on authdaemonlib.c from Courier Authlib, which had the following statement: -+** -+** Copyright 2000-2006 Double Precision, Inc. See COPYING for -+** distribution information. -+** -+** Code that was taken from authdaemonlib.c is as follows: -+** - s_connect() function -+** - opensock() function with modification to accept socket address -+** - writeauth() function -+** - readline() function with related support functions (with modification -+** to time-out after TIMEOUT_READ seconds) -+*/ -+ -+#include "dovecotauth.h" -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+ -+static const char rcsid[]="$Id$"; -+ -+static int TIMEOUT_SOCK=10, -+ TIMEOUT_WRITE=10, -+ TIMEOUT_READ=30; -+ -+static int s_connect(int sockfd, -+ const struct sockaddr *addr, -+ size_t addr_s, -+ time_t connect_timeout) -+{ -+ fd_set fdr; -+ struct timeval tv; -+ int rc; -+ -+#ifdef SOL_KEEPALIVE -+ setsockopt(sockfd, SOL_SOCKET, SOL_KEEPALIVE, -+ (const char *)&dummy, sizeof(dummy)); -+#endif -+ -+#ifdef SOL_LINGER -+ { -+ struct linger l; -+ -+ l.l_onoff=0; -+ l.l_linger=0; -+ -+ setsockopt(sockfd, SOL_SOCKET, SOL_LINGER, -+ (const char *)&l, sizeof(l)); -+ } -+#endif -+ -+ /* -+ ** If configuration says to use the kernel's timeout settings, -+ ** just call connect, and be done with it. -+ */ -+ -+ if (connect_timeout == 0) -+ return ( connect(sockfd, addr, addr_s)); -+ -+ /* Asynchronous connect with timeout. */ -+ -+ if (fcntl(sockfd, F_SETFL, O_NONBLOCK) < 0) return (-1); -+ -+ if ( connect(sockfd, addr, addr_s) == 0) -+ { -+ /* That was easy, we're done. */ -+ -+ if (fcntl(sockfd, F_SETFL, 0) < 0) return (-1); -+ return (0); -+ } -+ -+ if (errno != EINPROGRESS) -+ return -1; -+ -+ /* Wait for the connection to go through, until the timeout expires */ -+ -+ FD_ZERO(&fdr); -+ FD_SET(sockfd, &fdr); -+ tv.tv_sec=connect_timeout; -+ tv.tv_usec=0; -+ -+ rc=select(sockfd+1, 0, &fdr, 0, &tv); -+ if (rc < 0) return (-1); -+ -+ if (!FD_ISSET(sockfd, &fdr)) -+ { -+ errno=ETIMEDOUT; -+ return (-1); -+ } -+ -+ { -+ int gserr; -+ socklen_t gslen = sizeof(gserr); -+ -+ if (getsockopt(sockfd, SOL_SOCKET, -+ SO_ERROR, -+ (char *)&gserr, &gslen)==0) -+ { -+ if (gserr == 0) -+ return 0; -+ -+ errno=gserr; -+ } -+ } -+ return (-1); -+} -+ -+static int opensock(const char *addr) -+{ -+ int s=socket(PF_UNIX, SOCK_STREAM, 0); -+ struct sockaddr_un skun; -+ -+ skun.sun_family=AF_UNIX; -+ strncpy(skun.sun_path, addr, sizeof(skun.sun_path)); -+ -+ if (s < 0) -+ { -+ perror("CRIT: dovecotauth: socket() failed"); -+ return (-1); -+ } -+ -+ { -+ const char *p=getenv("TIMEOUT_SOCK"); -+ int n=atoi(p ? p:"0"); -+ -+ if (n > 0) -+ TIMEOUT_SOCK=n; -+ } -+ -+ { -+ const char *p=getenv("TIMEOUT_READ"); -+ int n=atoi(p ? p:"0"); -+ -+ if (n > 0) -+ TIMEOUT_READ=n; -+ } -+ -+ { -+ const char *p=getenv("TIMEOUT_WRITE"); -+ int n=atoi(p ? p:"0"); -+ -+ if (n > 0) -+ TIMEOUT_WRITE=n; -+ } -+ -+ if (s_connect(s, (const struct sockaddr *)&skun, sizeof(skun), -+ TIMEOUT_SOCK)) -+ { -+ perror("ERR: dovecotauth: s_connect() failed"); -+ if (errno == ETIMEDOUT || errno == ECONNREFUSED) -+ fprintf(stderr, "ERR: [Hint: perhaps dovecot-auth daemon is not running?]\n"); -+ close(s); -+ return (-1); -+ } -+ return (s); -+} -+ -+static int writeauth(int fd, const char *p, unsigned pl) -+{ -+fd_set fds; -+struct timeval tv; -+ -+ while (pl) -+ { -+ int n; -+ -+ FD_ZERO(&fds); -+ FD_SET(fd, &fds); -+ tv.tv_sec=TIMEOUT_WRITE; -+ tv.tv_usec=0; -+ if (select(fd+1, 0, &fds, 0, &tv) <= 0 || !FD_ISSET(fd, &fds)) -+ return (-1); -+ n=write(fd, p, pl); -+ if (n <= 0) return (-1); -+ p += n; -+ pl -= n; -+ } -+ return (0); -+} -+ -+struct enum_getch { -+ char buffer[BUFSIZ]; -+ char *buf_ptr; -+ size_t buf_left; -+}; -+ -+#define getauthc(fd,eg) ((eg)->buf_left-- ? \ -+ (unsigned char)*((eg)->buf_ptr)++:\ -+ fillgetauthc((fd),(eg))) -+ -+static int fillgetauthc(int fd, struct enum_getch *eg) -+{ -+ time_t end_time, curtime; -+ -+ time(&end_time); -+ end_time += TIMEOUT_READ; -+ -+ for (;;) -+ { -+ int n; -+ fd_set fds; -+ struct timeval tv; -+ -+ time(&curtime); -+ if (curtime >= end_time) -+ break; -+ -+ FD_ZERO(&fds); -+ FD_SET(fd, &fds); -+ tv.tv_sec=end_time - curtime; -+ tv.tv_usec=0; -+ if (select(fd+1, &fds, 0, 0, &tv) <= 0 || !FD_ISSET(fd, &fds)) -+ break; -+ -+ n=read(fd, eg->buffer, sizeof(eg->buffer)); -+ if (n <= 0) -+ break; -+ -+ eg->buf_ptr=eg->buffer; -+ eg->buf_left=n; -+ -+ --eg->buf_left; -+ return (unsigned char)*(eg->buf_ptr)++; -+ } -+ return EOF; -+} -+ -+static int readline(int fd, struct enum_getch *eg, -+ char *buf, -+ size_t bufsize) -+{ -+ if (bufsize == 0) -+ return EOF; -+ -+ while (--bufsize) -+ { -+ int ch=getauthc(fd, eg); -+ -+ if (ch == EOF) -+ return -1; -+ if (ch == '\n') -+ break; -+ -+ *buf++=ch; -+ } -+ *buf=0; -+ return 0; -+} -+ -+/* -+** The actual implementation of Dovecot authentication protocol handling follows. -+** Full specification of the protocol can be found at: http://wiki.dovecot.org/Authentication%20Protocol -+** We are only interested in the "master" type requests for user information. -+*/ -+ -+int parse_userinfo(const char *user, const char *linebuf, -+ int (*func)(struct dovecotauthinfo *, void *), void *arg) -+{ -+ int return_value=1; -+ struct dovecotauthinfo a; -+ char *buf, *p; -+ uid_t u; -+ -+ /* Validate input arguments */ -+ if (!user || !linebuf) -+ return (1); -+ -+ /* Try to allocate buffer */ -+ buf = (char *)malloc(strlen(linebuf)+1); -+ if (!buf) -+ return (1); -+ strcpy(buf, linebuf); -+ -+ memset(&a, 0, sizeof(a)); -+ a.homedir=""; -+ -+ p = strtok(buf, "\t"); -+ if (p) -+ a.address=p; -+ else -+ a.address=user; -+ -+ /* Parse any additional parameters */ -+ while ((p = strtok(0, "\t")) != 0) -+ { -+ if (strncmp(p, "uid=", 4) == 0) -+ { -+ u=atol(p+4); -+ a.sysuserid = &u; -+ if (u == 0) -+ { -+ fprintf(stderr, "ERR: dovecotauth: Received invalid uid from auth socket\n"); -+ return_value=1; -+ goto cleanup_parse_userinfo; -+ } -+ } -+ else if (strncmp(p, "gid=", 4) == 0) -+ { -+ a.sysgroupid=atol(p+4); -+ if (a.sysgroupid == 0) -+ { -+ fprintf(stderr, "ERR: dovecotauth: Received invalid gid from auth socket\n"); -+ return_value=1; -+ goto cleanup_parse_userinfo; -+ } -+ } -+ else if (strncmp(p, "system_user=", 12) == 0) -+ { -+ a.sysusername=p+12; -+ if (a.sysusername) -+ { -+ struct passwd *q=getpwnam(a.sysusername); -+ -+ if (q && q->pw_uid == 0) -+ { -+ fprintf(stderr, "ERR: dovecotauth: Received invalid system user from auth socket\n"); -+ return_value=1; -+ goto cleanup_parse_userinfo; -+ } -+ } -+ } -+ else if (strncmp(p, "home=", 5) == 0) -+ { -+ a.homedir=p+5; -+ } -+ else if (strncmp(p, "mail=", 5) == 0) -+ { -+ a.maildir=p+5; -+ } -+ } -+ -+ return_value = (*func)(&a, arg); -+ -+cleanup_parse_userinfo: -+ free(buf); -+ return return_value; -+} -+ -+#define DOVECOTAUTH_LINEBUFSIZE 8192 -+ -+int _dovecotauth_getuserinfo(int wrfd, int rdfd, const char *user, -+ int (*func)(struct dovecotauthinfo *, void *), void *arg) -+{ -+ static char cmdpart1[]="VERSION\t1\t0\nUSER\t1\t"; -+ static char cmdpart2[]="\tservice=maildrop\n"; -+ int return_value=1, handshake=0; -+ struct enum_getch eg; -+ char *cmdbuf, *linebuf; -+ -+ /* Validate input arguments */ -+ if (!user) -+ return (1); -+ -+ /* Try to allocate buffers */ -+ cmdbuf=(char *)malloc(strlen(cmdpart1)+strlen(cmdpart2)+strlen(user)+20); -+ if (!cmdbuf) -+ return (1); -+ -+ linebuf=(char *)malloc(DOVECOTAUTH_LINEBUFSIZE); -+ if (!linebuf) -+ return (1); -+ -+ /* Initial handshake */ -+ eg.buf_left=0; -+ while (readline(rdfd, &eg, linebuf, DOVECOTAUTH_LINEBUFSIZE) == 0) -+ { -+ if (strncmp(linebuf, "VERSION\t", 8) == 0) -+ { -+ if (strncmp(linebuf+8, "1\t", 2) != 0) -+ { -+ fprintf(stderr, "ERR: dovecotauth: Authentication protocol version mismatch\n"); -+ return_value=1; -+ goto cleanup_dovecotauth_getuserinfo; -+ } -+ } -+ else if (strncmp(linebuf, "SPID\t", 5) == 0) -+ { -+ /* End of server side handshake */ -+ handshake=1; -+ break; -+ } -+ } -+ -+ if (!handshake) -+ { -+ fprintf(stderr, "ERR: dovecotauth: Did not receive proper server handshake from auth socket\n"); -+ return_value=1; -+ goto cleanup_dovecotauth_getuserinfo; -+ } -+ -+ /* -+ ** Try to be helpful in case that user tries to connect to the wrong auth socket. -+ ** There's a slight chance that this won't execute in case that the previously -+ ** returned line ends exactly at the buffer end, but we won't handle that case, -+ ** since this is just a hint to the user, and not really neccessary. -+ ** Normally, if user tries to communicate with wrong auth socket, -+ ** we would simply time-out, while waiting for information. -+ */ -+ if (eg.buf_left > 0 && readline(rdfd, &eg, linebuf, DOVECOTAUTH_LINEBUFSIZE) == 0) -+ { -+ if (strncmp(linebuf, "CUID\t", 5) == 0) -+ { -+ fprintf(stderr, "ERR: dovecotauth: Trying to connect to what appears to be a client auth socket, instead of a master auth socket\n"); -+ return_value=1; -+ goto cleanup_dovecotauth_getuserinfo; -+ } -+ } -+ -+ /* Generate our part of communication */ -+ strcat(strcat(strcpy(cmdbuf, cmdpart1), user), cmdpart2); -+ -+ /* Send our part of communication */ -+ if (writeauth(wrfd, cmdbuf, strlen(cmdbuf))) -+ { -+ return_value=1; -+ goto cleanup_dovecotauth_getuserinfo; -+ } -+ -+ /* Parse returned information */ -+ eg.buf_left=0; -+ if (readline(rdfd, &eg, linebuf, DOVECOTAUTH_LINEBUFSIZE) == 0) -+ { -+ if (strncmp(linebuf, "USER\t1\t", 7) == 0) -+ { -+ /* User was found in the database and we now parse returned information */ -+ return_value=parse_userinfo(user, linebuf+7, func, arg); -+ goto cleanup_dovecotauth_getuserinfo; -+ } -+ else if (strcmp(linebuf, "NOTFOUND\t1") == 0) -+ { -+ /* User was not found in the database */ -+ return_value=-1; /* Negative return value means that user is not found! */ -+ goto cleanup_dovecotauth_getuserinfo; -+ } -+ else if (strncmp(linebuf, "FAIL\t1", 6) == 0) -+ { -+ /* An internal error has occurred on Dovecot's end */ -+ return_value=1; -+ goto cleanup_dovecotauth_getuserinfo; -+ } -+ else -+ { -+ fprintf(stderr, "ERR: dovecotauth: Received unknown input from auth socket\n"); -+ } -+ } -+ else -+ fprintf(stderr, "ERR: dovecotauth: Did not receive proper input from auth socket\n"); -+ -+cleanup_dovecotauth_getuserinfo: -+ free(cmdbuf); -+ free(linebuf); -+ return return_value; -+} -+ -+int dovecotauth_getuserinfo(const char *addr, const char *user, -+ int (*func)(struct dovecotauthinfo *, void *), void *arg) -+{ -+ int s=opensock(addr); -+ int rc; -+ -+ if (s < 0) -+ { -+ return (1); -+ } -+ rc = _dovecotauth_getuserinfo(s, s, user, func, arg); -+ close(s); -+ return rc; -+} -diff -Naur maildrop-2.3.0/maildrop/dovecotauth.h maildrop-2.3.0-dovecotauth/maildrop/dovecotauth.h ---- maildrop-2.3.0/maildrop/dovecotauth.h 1970-01-01 01:00:00.000000000 +0100 -+++ maildrop-2.3.0-dovecotauth/maildrop/dovecotauth.h 2010-01-31 15:01:38.000000000 +0100 -@@ -0,0 +1,59 @@ -+#ifndef dovecotauth_h -+#define dovecotauth_h -+ -+/* -+** Copyright 2009 Marko Njezic -+** Licensed under the same terms as Courier Authlib AND/OR Courier Maildrop. -+** -+** Partially based on courierauth.h from Courier Authlib, which had the following statement: -+** -+** Copyright 2004 Double Precision, Inc. See COPYING for -+** distribution information. -+*/ -+ -+#include -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+static const char dovecotauth_h_rcsid[]="$Id$"; -+ -+struct dovecotauthinfo { -+ const char *address; -+ const char *sysusername; -+ const uid_t *sysuserid; -+ gid_t sysgroupid; -+ const char *homedir; -+ const char *maildir; -+ } ; -+ -+/* -+ This structure is modeled after authinfo structure from Courier Authlib. -+ -+ Either sysusername or sysuserid may be NULL, but not both of them. -+ They, and sysgroupid, specify the authenticated user's system -+ userid and groupid. homedir points to the authenticated user's -+ home directory. address and maildir, are obvious. -+ -+ After populating this tructure, the lookup function calls the -+ callback function that's specified in its second argument. The -+ callback function receives a pointer to the authinfo structure. -+ -+ The callback function also receives a context pointer, which is -+ the third argument to the lookup function. -+ -+ The lookup function should return a negative value if the userid -+ does not exist, a positive value if there was a temporary error -+ looking up the userid, or whatever is the return code from the -+ callback function, if the user exists. -+*/ -+ -+int dovecotauth_getuserinfo(const char *addr, const char *user, -+ int (*func)(struct dovecotauthinfo *, void *), void *arg); -+ -+#ifdef __cplusplus -+} -+#endif -+ -+#endif -diff -Naur maildrop-2.3.0/maildrop/main.C maildrop-2.3.0-dovecotauth/maildrop/main.C ---- maildrop-2.3.0/maildrop/main.C 2009-09-06 01:12:45.000000000 +0200 -+++ maildrop-2.3.0-dovecotauth/maildrop/main.C 2010-01-31 15:11:08.000000000 +0100 -@@ -32,6 +32,16 @@ - #include - #include - #include "../dbobj.h" -+ -+/* -+** This switch can later be moved to config.h file with appropriate -+** configure option like --with-dovecotauth or something similar -+*/ -+#define DOVECOTAUTH 1 -+#if DOVECOTAUTH -+#include "dovecotauth.h" -+#endif -+ - #if AUTHLIB - #include - #endif -@@ -171,6 +181,14 @@ - "\n" - #endif - #endif -+#if DOVECOTAUTH -+ "Dovecot Authentication extension enabled." -+#if CRLF_TERM -+ "\r\n" -+#else -+ "\n" -+#endif -+#endif - #if AUTHLIB - "Courier Authentication Library extension enabled." - #if CRLF_TERM -@@ -337,6 +355,98 @@ - } - #endif - -+#if DOVECOTAUTH -+static int callback_dovecotauth(struct dovecotauthinfo *auth, -+ void *void_arg) -+{ -+ Maildrop &maildrop=*(Maildrop *)void_arg; -+ -+ if (VerboseLevel() > 1) -+ { -+ Buffer b; -+ -+ b.set(auth->sysgroupid); -+ b.push(0); -+ -+ merr << "maildrop: dovecotauth: groupid=" -+ << b << "\n"; -+ } -+ -+ setgroupid(auth->sysgroupid); -+ -+ uid_t u; -+ if (auth->sysusername) -+ { -+ struct passwd *q=getpwnam(auth->sysusername); -+ -+ if (q == NULL) -+ { -+ merr << "Cannot find system user " -+ << auth->sysusername -+ << "\n"; -+ -+ nochangeuidgid(); -+ } -+ -+ u=q->pw_uid; -+ } -+ else -+ u=*auth->sysuserid; -+ -+ if (VerboseLevel() > 1) -+ { -+ Buffer b; -+ -+ b.set(u); -+ b.push(0); -+ -+ merr << "maildrop: dovecotauth: userid=" -+ << b << "\n"; -+ } -+ -+ setuid(u); -+ -+ if ( getuid() != u) -+ nochangeuidgid(); -+ -+ if (VerboseLevel() > 1) -+ { -+ merr << "maildrop: dovecotauth: logname=" -+ << auth->address -+ << ", home=" -+ << auth->homedir -+ << ", mail=" -+ << (auth->maildir ? auth->maildir:"(default)") -+ << "\n"; -+ } -+ -+ maildrop.init_home=auth->homedir; -+ maildrop.init_logname=auth->address; -+ maildrop.init_shell="/bin/sh"; -+ maildrop.init_default=auth->maildir ? auth->maildir: -+ GetDefaultMailbox(auth->address); -+ -+ return 0; -+} -+ -+int find_in_dovecotauth(const char *addr, Maildrop *maildrop, const char* user) -+{ -+ int rc=dovecotauth_getuserinfo(addr, -+ user, callback_dovecotauth, maildrop); -+ -+ if (rc == 0) -+ return 1; -+ -+ if (rc > 0) -+ { -+ errexit=EX_TEMPFAIL; -+ throw "Temporary authentication failure."; -+ } -+ -+ return 0; -+} -+#endif -+ - static void tempfail(const char *msg) - { - errexit = EX_TEMPFAIL; -@@ -361,6 +471,9 @@ - const char *numuidgid=0; - #endif - #endif -+#if DOVECOTAUTH -+const char *dovecotauth_addr=0; -+#endif - - - umask( 0007 ); -@@ -446,6 +559,18 @@ - case 'a': - maildrop.authlib_essential=1; - break; -+#if DOVECOTAUTH -+ case 't': -+ if (!*optarg && argn < argc) optarg=argv[argn++]; -+ if (!*optarg) -+ { -+ mout << "You didn't specify the location of Dovecot auth socket.\n"; -+ return (EX_TEMPFAIL); -+ } -+ else -+ dovecotauth_addr=optarg; -+ break; -+#endif - case 'h': - help(); - return (EX_TEMPFAIL); -@@ -467,7 +592,17 @@ - - if (*deliverymode) - { -- found = find_in_authlib(&maildrop, deliverymode); -+ -+#if DOVECOTAUTH -+ if (dovecotauth_addr) -+ { -+ found = find_in_dovecotauth(dovecotauth_addr, &maildrop, deliverymode); -+ } -+ else -+#endif -+ { -+ found = find_in_authlib(&maildrop, deliverymode); -+ } - - if ( !found ) - { -diff -Naur maildrop-2.3.0/maildrop/Makefile.am maildrop-2.3.0-dovecotauth/maildrop/Makefile.am ---- maildrop-2.3.0/maildrop/Makefile.am 2009-11-14 23:16:32.000000000 +0100 -+++ maildrop-2.3.0-dovecotauth/maildrop/Makefile.am 2010-01-31 15:01:38.000000000 +0100 -@@ -46,7 +46,7 @@ - recipe.C recipe.h recipenode.C recipenode.h recipeparse.C reeval.C \ - reeval.h regexpnode.h rematch.C rematch.h rematchmsg.C rematchmsg.h \ - rematchstr.C rematchstr.h search.C search.h token.C \ -- token.h varlist.C varlist.h -+ token.h varlist.C varlist.h dovecotauth.c dovecotauth.h - - maildrop_DEPENDENCIES = libmdcommon.la ../maildir/maildir.libdeps - -diff -Naur maildrop-2.3.0/maildrop/Makefile.in maildrop-2.3.0-dovecotauth/maildrop/Makefile.in ---- maildrop-2.3.0/maildrop/Makefile.in 2009-12-25 23:14:47.000000000 +0100 -+++ maildrop-2.3.0-dovecotauth/maildrop/Makefile.in 2010-01-31 15:01:38.000000000 +0100 -@@ -88,7 +88,7 @@ - re.$(OBJEXT) recipe.$(OBJEXT) recipenode.$(OBJEXT) \ - recipeparse.$(OBJEXT) reeval.$(OBJEXT) rematch.$(OBJEXT) \ - rematchmsg.$(OBJEXT) rematchstr.$(OBJEXT) search.$(OBJEXT) \ -- token.$(OBJEXT) varlist.$(OBJEXT) -+ token.$(OBJEXT) varlist.$(OBJEXT) dovecotauth.$(OBJEXT) - maildrop_OBJECTS = $(am_maildrop_OBJECTS) - maildrop_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ -@@ -308,7 +308,7 @@ - recipe.C recipe.h recipenode.C recipenode.h recipeparse.C reeval.C \ - reeval.h regexpnode.h rematch.C rematch.h rematchmsg.C rematchmsg.h \ - rematchstr.C rematchstr.h search.C search.h token.C \ -- token.h varlist.C varlist.h -+ token.h varlist.C varlist.h dovecotauth.c dovecotauth.h - - maildrop_DEPENDENCIES = libmdcommon.la ../maildir/maildir.libdeps - maildrop_LDADD = libmdcommon.la `cat ../maildir/maildir.libdeps`\ -@@ -471,6 +471,7 @@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tempfile.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/token.Po@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/varlist.Po@am__quote@ -+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dovecotauth.Po@am__quote@ - - .C.o: - @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -diff -Naur maildrop-2.3.0/README.dovecotauth maildrop-2.3.0-dovecotauth/README.dovecotauth ---- maildrop-2.3.0/README.dovecotauth 1970-01-01 01:00:00.000000000 +0100 -+++ maildrop-2.3.0-dovecotauth/README.dovecotauth 2010-01-31 15:01:38.000000000 +0100 -@@ -0,0 +1,46 @@ -+Dovecot Authentication extension for maildrop -+============================================= -+** Copyright 2009 Marko Njezic -+** Licensed under the same terms as Courier Authlib AND/OR Courier Maildrop. -+ -+When you patch maildrop to include Dovecot Authentication extension, you'll be -+able to do user database lookups against Dovecot. This extension can happily -+coexist with Courier Authlib extension if it is also compiled. -+ -+In order to use it you'll need to specify additional option "-t" that will point -+to the location of Dovecot's auth master socket when starting maildrop in -+delivery mode. For example: -+ -+maildrop -d USER -t /var/run/dovecot/auth-master -+ -+By specifying "-t" option, maildrop will first try user lookup against Dovecot's -+database. If user is not found, maildrop will fallback to local user database -+(i.e. passwd), as usual. Lookups against Courier Authlib will not be done when -+"-t" option is specified. If you want to perform such lookup when both -+extensions are compiled, simply remove "-t" option and maildrop will behave as -+usual. -+ -+One significant difference compared to Courier Authlib extension is that Dovecot -+Authentication extension will never return uid/gid that's equal to zero. If such -+value was returned from database, maildrop will exit with temporary failure. -+This was done in order to prevent accidental mistakes. If you really want to -+deliver as/to root, you'll have to start maildrop without "-t" option and let -+it directly query system user database on its own. -+ -+Make sure that correct permissions are set on Dovecot's auth master socket so -+that maildrop can communicate with it. Also, depending on what type of users are -+being served from Dovecot's database, if user lookup returns local user -+accounts, you may end up with problems when maildrop tries to write mails to the -+spool directory if wrong permission are set on it, since maildrop will reset its -+permissions (uid/gid) to the values returned from user database. This behavior -+is the same as the behavior of lookups against Courier Authlib, since they also -+reset maildrop's permissions. When you want maildrop to deliver to the local -+users, it's best to let it directly query system user database on its own, -+since then it can apply its own "RESET_GID" magic, which will hopefully result -+in "correct" permissions that will allow maildrop to write to the spool -+directory. -+ -+And last but not least, I hope that you'll find this extension useful. -+Especially if you already have an existing user database in Dovecot, but would -+like to use maildrop (with its powerful "xfilter" command) to deliver e-mails, -+without setting up another authentication user database, like Courier Authlib. diff --git a/unmaintained/mapnik/APKBUILD b/unmaintained/mapnik/APKBUILD deleted file mode 100644 index d27f7c58e9..0000000000 --- a/unmaintained/mapnik/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -pkgname=mapnik -pkgver=3.0.0_rc1 -_ver=${pkgver/_rc/-rc} -pkgrel=1 -pkgdesc="Toolkit and API for developing mapping application" -url="http://mapnik.org/" -arch="all" -license="LGPL" -options="" -depends="python ttf-dejavu" -makedepends="freetype-dev libxml2-dev zlib-dev icu-dev proj4-dev - libjpeg-turbo-dev libpng-dev tiff-dev boost-dev - sqlite-dev postgresql-dev cairo-dev py-cairo-dev - harfbuzz-dev" -subpackages="$pkgname-dev" -source="$pkgname-$_ver.tar.gz::https://github.com/mapnik/mapnik/archive/v$_ver.tar.gz - boost-1.57-geojson.patch - " - -_builddir="$srcdir"/$pkgname-$_ver -prepare() { - cd "$_builddir" || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build () { - cd "$_builddir" - python scons/scons.py sh configure -j ${JOBS:-1} \ - DESTDIR="$pkgdir" \ - SYSTEM_FONTS="/usr/share/fonts/TTF/" \ - CUSTOM_CFLAGS="$CFLAGS" \ - CUSTOM_LDFLAGS="$LDFLAGS" \ - PREFIX="/usr" \ - || return 1 - make -} - -package() { - cd "$_builddir" - make install || return 1 -} - -md5sums="c7231574639ec2688d957831a5c16341 mapnik-3.0.0-rc1.tar.gz -15fbf2b3478699f1d2f9c7c1f10256ab boost-1.57-geojson.patch" -sha256sums="b4aef9a5910b25cb694b1a67beaf3e8dfbd4d629615d5012eb2378f39a63b379 mapnik-3.0.0-rc1.tar.gz -f2b49482abd85d62e80cef5602890385d4c39aa67a2a4d9341af83bc4485b32d boost-1.57-geojson.patch" -sha512sums="00fd5479424dc06c9e22e201495fe6a178e5f656445bb5739045c87eda7985bad1598e1eb34bc9bcce6cae2b72200489728a059ba08f32283ddc45dd8d6dc47b mapnik-3.0.0-rc1.tar.gz -88d830765b7c1404f9b14ca165b1dd546ba3da2fd69c89786cc80a24147acb5807f1bc0b8e5b7d55eadd9d18d3530fc14b254822984856508c04a22e2a14f978 boost-1.57-geojson.patch" diff --git a/unmaintained/mapnik/boost-1.57-geojson.patch b/unmaintained/mapnik/boost-1.57-geojson.patch deleted file mode 100644 index 7c971b6ba0..0000000000 --- a/unmaintained/mapnik/boost-1.57-geojson.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./plugins/input/geojson/geojson_datasource.hpp.orig -+++ ./plugins/input/geojson/geojson_datasource.hpp -@@ -73,7 +73,7 @@ - choose_by_content_diff_tag, - split_default_tag, - linear_tag, -- node_s_mem_static_tag>; -+ node_variant_static_tag>; - }; - - }}}}} diff --git a/unmaintained/masscan/APKBUILD b/unmaintained/masscan/APKBUILD deleted file mode 100644 index a21c2aa108..0000000000 --- a/unmaintained/masscan/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=masscan -pkgver=1.0.1 -pkgrel=0 -pkgdesc="A TCP port scanner" -url="https://github.com/robertdavidgraham/masscan" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="libpcap-dev " -install="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/robertdavidgraham/masscan/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -m755 -D "$_builddir"/bin/$pkgname \ - "$pkgdir"/usr/bin/$pkgname || return 1 -} - -md5sums="f22c77fdaef4e2018d3b25532c1b1e6e masscan-1.0.1.tar.gz" -sha256sums="821c3bae851b50b9d47b3bef6c4b18b7d46c14c3f3bb5b4710dda19fff8bef86 masscan-1.0.1.tar.gz" -sha512sums="5991c4d4994bd4e7d4f4d7c6e6b1dcdb5c39e9a1b4f6d46ff3eff78d376e2658f199493c7e33fe660a5f405402a817a525d7a6dd7c810d47496d9accec52b3a7 masscan-1.0.1.tar.gz" diff --git a/unmaintained/mathomatic/APKBUILD b/unmaintained/mathomatic/APKBUILD deleted file mode 100644 index 7a3ae6050a..0000000000 --- a/unmaintained/mathomatic/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=mathomatic -pkgver=16.0.5 -pkgrel=0 -pkgdesc="A software computer algebra system (CAS)" -url="http://www.mathomatic.org/math/" -arch="all" -license="LGPL2+" -depends="m4" -depends_dev="readline-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://mathomatic.orgserve.de/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make -f makefile READLINE=1 CC_OPTIMIZE="$CFLAGS" prefix="/usr" || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" prefix="/usr" m4install-degrees || return 1 -} - - -md5sums="dd04913a98a5073b56f3bc78a01820f3 mathomatic-16.0.5.tar.bz2" -sha256sums="976e6fed1014586bcd584e417c074fa86e4ca6a0fcc2950254da2efde99084ca mathomatic-16.0.5.tar.bz2" -sha512sums="c44c60183442226562df9eefb1d77e5bafd96b7a5d3ad34a76963c586d398647366e782c75ffcf27c2b7d9d4be56678bbbc4d37ac71687a39f04b3fef450cc73 mathomatic-16.0.5.tar.bz2" diff --git a/unmaintained/mathomatic/busybox.patch b/unmaintained/mathomatic/busybox.patch deleted file mode 100644 index 07061ca60c..0000000000 --- a/unmaintained/mathomatic/busybox.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mathomatic-15.7.1.orig/makefile -+++ mathomatic-15.7.1/makefile -@@ -33,7 +33,7 @@ - CC ?= gcc # C compiler to use; this statement doesn't work usually, instead using cc. - M4 ?= m4 # Change this to gm4 in Unix or a non-GNU system. - INSTALL ?= install # Installer utility to use; change to ginstall under Unix. --INSTALL_PROGRAM ?= $(INSTALL) -Cv # Command to install executable program files; compares to see if any differences, first. -+INSTALL_PROGRAM ?= $(INSTALL) -c # Command to install executable program files; compares to see if any differences, first. - INSTALL_DATA ?= $(INSTALL) -m 0644 # command to install data files - - CC_OPTIMIZE ?= -O3 # Default C compiler optimization flags that are safe. diff --git a/unmaintained/mbuffer/APKBUILD b/unmaintained/mbuffer/APKBUILD deleted file mode 100644 index 4cd190545a..0000000000 --- a/unmaintained/mbuffer/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=mbuffer -pkgver=20140310 -pkgrel=0 -pkgdesc="Measuring Buffer is an enhanced version of buffer" -url="http://www.maier-komor.de/mbuffer.html" -arch="all" -license="GPL3+" -depends="" -depends_dev="" -makedepends="mt-st mhash-dev" -install="" -subpackages="$pkgname-doc" -source="http://www.maier-komor.de/software/mbuffer/$pkgname-$pkgver.tgz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="9937d7f666c19a2e6b2499b04dbecc44 mbuffer-20140310.tgz" -sha256sums="ab90b6fdce16db2bf08bcda0bc5d2bfb053a9a163d2a24f95fbf246460549b99 mbuffer-20140310.tgz" -sha512sums="cb845eaf4c84281de65d082cd8350edcef90a11fd49533f74b63aa366c9c6b8f6b4be014b0f75ae9a4aa8b058ad080d64e21fd14eb2f51f18c2f238c341b345a mbuffer-20140310.tgz" diff --git a/unmaintained/mdev-like-a-boss/00-update-to-git-a5682fe.patch b/unmaintained/mdev-like-a-boss/00-update-to-git-a5682fe.patch deleted file mode 100644 index 0662e75684..0000000000 --- a/unmaintained/mdev-like-a-boss/00-update-to-git-a5682fe.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/LICENSE b/LICENSE -new file mode 100644 -index 0000000..10206e3 ---- /dev/null -+++ b/LICENSE -@@ -0,0 +1,10 @@ -+Copyright (c) 2012-2015, Piotr Karbowski -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -+ * Neither the name of the Piotr Karbowski nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -diff --git a/README.rst b/README.rst -index 56f420b..1a055b6 100644 ---- a/README.rst -+++ b/README.rst -@@ -62,3 +62,4 @@ Random notes - - Keycodes under Xorg may be different than with evdev, for example mute keycode is no longer 121 but 160. Install 'xev' and check your keycodes if you remap or bind them with xmodmap. - - Mdev does not support udev's udisks and so on, Full blown desktop environments may not really like the change, you will lost your DE's automount stuff etc. But there is ``pmount`` and you can always config automount script in ``/etc/mdev.conf`` - - Unmerging udev may not be good idea, as for example chromium need libudev to compile. Better append ``sys-fs/udev -*`` to package.use and put ``sys-fs/udev-init-scripts-10`` into ``/etc/portage/profile/package.provided``. Then you can rebuild udev with all USE flags disabled and remove udev-init-scripts. -+- `lsusb` seems to run `/etc/udev/hwids.bin` to identify devices. One may need to add `udev` USE flag to the hwids package if wishes to see the device names. -diff --git a/helpers/storage-device b/helpers/storage-device -index 8c0d0ac..ecedff3 100755 ---- a/helpers/storage-device -+++ b/helpers/storage-device -@@ -94,7 +94,7 @@ drop_symlinks() { - [ -f "${storage_dir}/storage_symlink_${type}_${MDEV}" ] || continue - local target_symlink="$(cat "${storage_dir}/storage_symlink_${type}_${MDEV}" 2>/dev/null)" - [ "${target_symlink}" ] || continue -- -+ - local target_symlink_device="$(readlink "${target_symlink}")" - if [ "${target_symlink_device}" = "/dev/${MDEV}" ]; then - rm "${target_symlink}" diff --git a/unmaintained/mdev-like-a-boss/0001-adjust-sample-conf-for-alpine-packaging.patch b/unmaintained/mdev-like-a-boss/0001-adjust-sample-conf-for-alpine-packaging.patch deleted file mode 100644 index 1e50f7cc54..0000000000 --- a/unmaintained/mdev-like-a-boss/0001-adjust-sample-conf-for-alpine-packaging.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 3d1e9fa5fad1746cf9058f4ef709e0e69d9f4cf2 Mon Sep 17 00:00:00 2001 -From: Isaac Dunham -Date: Sun, 31 Jan 2016 20:27:13 -0800 -Subject: [PATCH] adjust sample conf for alpine packaging - ---- - mdev.conf | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -diff --git a/mdev.conf b/mdev.conf -index d23b083..161e5bf 100644 ---- a/mdev.conf -+++ b/mdev.conf -@@ -45,19 +45,19 @@ ttyS[0-9]* root:uucp 660 - # block devices - ram([0-9]*) root:disk 660 >rd/%1 - loop([0-9]+) root:disk 660 >loop/%1 --sd[a-z].* root:disk 660 */opt/mdev/helpers/storage-device --vd[a-z].* root:disk 660 */opt/mdev/helpers/storage-device --hd[a-z].* root:disk 660 */opt/mdev/helpers/storage-device --md[0-9]* root:disk 660 */opt/mdev/helpers/storage-device --dm-[0-9]* root:disk 660 */opt/mdev/helpers/storage-device --bcache[0-9]* root:disk 660 */opt/mdev/helpers/storage-device --mmcblk[0-9].* root:disk 660 */opt/mdev/helpers/storage-device -+sd[a-z].* root:disk 660 */lib/mdev-like-a-boss/storage-device -+vd[a-z].* root:disk 660 */lib/mdev-like-a-boss/storage-device -+hd[a-z].* root:disk 660 */lib/mdev-like-a-boss/storage-device -+md[0-9]* root:disk 660 */lib/mdev-like-a-boss/storage-device -+dm-[0-9]* root:disk 660 */lib/mdev-like-a-boss/storage-device -+bcache[0-9]* root:disk 660 */lib/mdev-like-a-boss/storage-device -+mmcblk[0-9].* root:disk 660 */lib/mdev-like-a-boss/storage-device - sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom - fd[0-9]* root:floppy 660 - - # Run settle-nics every time new NIC appear. --# If you don't want to auto-populate /etc/mactab with NICs, run 'settle-nis' without '--write-mactab' param. ---SUBSYSTEM=net;DEVPATH=.*/net/.*;.* root:root 600 @/opt/mdev/helpers/settle-nics --write-mactab -+# If you don't want to auto-populate /etc/mactab with NICs, run 'settle-nics' without '--write-mactab' param. -+-SUBSYSTEM=net;DEVPATH=.*/net/.*;.* root:root 600 @/lib/mdev-like-a-boss/settle-nics --write-mactab - - net/tun[0-9]* root:kvm 660 - net/tap[0-9]* root:root 600 -@@ -111,7 +111,7 @@ cpu([0-9]+) root:root 600 =cpu/%1/cpuid - msr([0-9]+) root:root 600 =cpu/%1/msr - - # Populate /dev/bus/usb. --SUBSYSTEM=usb;DEVTYPE=usb_device;.* root:root 660 */opt/mdev/helpers/proc-bus-usb -+SUBSYSTEM=usb;DEVTYPE=usb_device;.* root:root 660 */lib/mdev-like-a-boss/proc-bus-usb - - # Catch-all other devices, Right now useful only for debuging. --#.* root:root 660 */opt/mdev/helpers/catch-all -+#.* root:root 660 */lib/mdev-like-a-boss/catch-all --- -2.7.0 - diff --git a/unmaintained/mdev-like-a-boss/APKBUILD b/unmaintained/mdev-like-a-boss/APKBUILD deleted file mode 100644 index bd4cb7b8f9..0000000000 --- a/unmaintained/mdev-like-a-boss/APKBUILD +++ /dev/null @@ -1,75 +0,0 @@ -# Contributor: Isaac Dunham -# Maintainer: Isaac Dunham -pkgname=mdev-like-a-boss -pkgver=20140928 -pkgrel=0 -pkgdesc="Extras for using mdev instead of udev" -url="https://github.com/slashbeast/mdev-like-a-boss" -arch="all" -license="custom:BSD" -depends="busybox-initscripts" -makedepends="" -install="" -subpackages="$pkgname-xorg $pkgname-doc" -provides="udev" -source="mdev-like-a-boss-$pkgver.tar.gz::https://github.com/slashbeast/mdev-like-a-boss/archive/$pkgver.tar.gz - 00-update-to-git-a5682fe.patch - 0001-adjust-sample-conf-for-alpine-packaging.patch - README.alpine - " - -_builddir="$srcdir"/mdev-like-a-boss-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" || return 1 - mkdir -p -m 0755 \ - "$pkgdir/lib/mdev-like-a-boss" \ - "$pkgdir/usr/share/doc/mdev-like-a-boss" \ - "$pkgdir/usr/share/licenses/mdev-like-a-boss" || return 1 - cp helpers/* "$pkgdir"/lib/mdev-like-a-boss/ || return 1 - cp LICENSE "$pkgdir"/usr/share/licenses/mdev-like-a-boss/ || return 1 - cp -R keymaps/ "$pkgdir"/lib/mdev-like-a-boss/ || return 1 - cp README.rst TODO mdev.conf "$pkgdir"/usr/share/doc/mdev-like-a-boss \ - || return 1 - cp "$srcdir"/README.alpine "$pkgdir"/usr/share/doc/mdev-like-a-boss \ - || return 1 -} - -xorg() { - # try to suppress a package that setup-xorg-base adds; - # the evdev driver needs udev - provides="xf86-input-evdev" - # Should this drag in synaptics as well? - depends="xf86-input-mouse xf86-input-keyboard" - pkgdesc="$pkgdesc (extras for udev-less xorg)" - install_if="$pkgname=$pkgver-r$pkgrel xorg-server" - cd "$_builddir" || return 1 - mkdir -p -m 0755 "$subpkgdir/usr/share/X11/" && \ - cp -R xorg.conf.d/ "$subpkgdir/usr/share/X11/" || return 1 -} - -md5sums="4ad1e0bfc42345fc98eef7608235ca19 mdev-like-a-boss-20140928.tar.gz -1fbc8687351b24031e220ca1049ff058 00-update-to-git-a5682fe.patch -5fc798745e270dced84585abdc3d147f 0001-adjust-sample-conf-for-alpine-packaging.patch -10ae564fb545d267da1df672f96871b4 README.alpine" -sha256sums="b5b1d9f4ea60c788883e9eff6889cb3d330bc0c2cfdeeb583b2fed7642339a25 mdev-like-a-boss-20140928.tar.gz -1860b7da927b5f03cde68225adfa06e6c24804c70595a06b903e1c78fce44fb2 00-update-to-git-a5682fe.patch -f35d2df28e37f2618c3310197bc9649108fed15c04057e3e9cd4be26228030e7 0001-adjust-sample-conf-for-alpine-packaging.patch -1d2a2b2b00946466aef3acd5f180e3685ca56575a4be0ba4154cae6d8e14acbb README.alpine" -sha512sums="c8405c03bab4d80fd5a7495e6bb09113cda1eab687ef0dddf758472ef30f72252275623966d107cf2e00b15c6a3313fb1a8bba1e46b8b6e28a06c9fe75236efb mdev-like-a-boss-20140928.tar.gz -782c0795ee60050d03a0c92ceff94b48bd07f2ce73f1629151842f4462978688c0358fed314cf8b145d572c6572de0ce43aff6f0ee7b77026b4c14d3ef739280 00-update-to-git-a5682fe.patch -9ad565ea1a1bb77fb6f66fc3609770bc467f9e13a35fb8ae68915a9735d2ee9c769653fcaedae57f45be3245d32c078061ef4f1310a03c48458c2ff739f84d38 0001-adjust-sample-conf-for-alpine-packaging.patch -de8be8ee2330f3e89250021cbd4329119ba2445df506cecac3908f64d3b9dba4cffbc6a202ebe5f4902db45fa58cb0bed7a12c1fc43be6fa002611a047c109da README.alpine" diff --git a/unmaintained/mdev-like-a-boss/README.alpine b/unmaintained/mdev-like-a-boss/README.alpine deleted file mode 100644 index c18e1bfacb..0000000000 --- a/unmaintained/mdev-like-a-boss/README.alpine +++ /dev/null @@ -1,12 +0,0 @@ -This package was originally written for Gentoo; under Alpine, the documentation -is of limited usefulness: -- the helpers are installed in /lib/mdev-like-a-boss instead of /opt/mdev/helpers -- mdev.conf is not installed in /etc, so the helpers aren't used. - (Refer to /usr/share/doc/mdev-like-a-boss/mdev.conf if you want to use them) - -The 'keymaps' in /lib/mdev-like-a-boss/keymaps are short scripts that can -be run from a custom boot-time script; select the right one for your computer. - -Probably the most useful part is the mdev-like-a-boss-xorg package; it will -help get X running without udev. - diff --git a/unmaintained/mediaproxy/APKBUILD b/unmaintained/mediaproxy/APKBUILD deleted file mode 100644 index 7cb0d472f3..0000000000 --- a/unmaintained/mediaproxy/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=mediaproxy -pkgver=2.6.1 -pkgrel=0 -pkgdesc="MediaProxy" -url="http://www.ag-projects.com/MediaProxy/" -pkgusers="kamailio" -pkggroups="kamailio" -arch="noarch" -license="GPL" -depends="python py-application py-gnutls py-twisted py-cjson iptables" -makedepends="libnetfilter_conntrack-dev libnfnetlink-dev py-buildutils - py-setuptools python-dev iptables-dev" -install= -subpackages="" -#subpackages="$pkgname-dev $pkgname-doc" -source="http://download.ag-projects.com/MediaProxy/$pkgname-$pkgver.tar.gz - mediaproxy-dispatcher.initd - mediaproxy-relay.initd - config.ini -" - -build() { - cd "$srcdir"/$pkgname-$pkgver - mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages - - python setup.py install --root="$pkgdir" - - echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" \ - > "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth -} - -package() { - cd "$srcdir"/$pkgname-$pkgver - - install -D -m755 "$srcdir"/$pkgname-dispatcher.initd \ - "$pkgdir"/etc/init.d/$pkgname-dispatcher - install -D -m755 "$srcdir"/$pkgname-relay.initd \ - "$pkgdir"/etc/init.d/$pkgname-relay - install -D -m755 "$srcdir"/config.ini \ - "$pkgdir"/etc/mediaproxy/config.ini - install -d -o kamailio "$pkgdir"/etc/mediaproxy/tls/ - install -d -o kamailio "$pkgdir"/var/run/$pkgname -} - -md5sums="72443d6137c77c3c9cd446ca98ec5d21 mediaproxy-2.6.1.tar.gz -cf081e451ab5d8d5ff66a8d9fa6707d6 mediaproxy-dispatcher.initd -1add855d86ead49c19798e9d86c69efe mediaproxy-relay.initd -d3df3569543d696ca102f131f7ad95e4 config.ini" -sha256sums="a424893f951f233d3f31e286034aabde07b9625f8d79a808ff28d2cf3eda0854 mediaproxy-2.6.1.tar.gz -f0574385a12799038f162d2845f8d5719b894d5c757ac299a8fefdba529eac57 mediaproxy-dispatcher.initd -f8397afb079dc7a93f72943a021a3f3e27c670f842f3ae41f8cd3e57fef5a231 mediaproxy-relay.initd -80765183172bab483ba749222af9a685ff44b3399426d8fba6562b6afba75ad2 config.ini" -sha512sums="f4da0dcf2347911feacfa9b6757738d94d8f1fdd7eae885ba13e49aa590bb9f195c76c8928b11564d7e51d7f0e2e89ee277e0b58e7450b6a68f91d56b8428c8a mediaproxy-2.6.1.tar.gz -4c4d38c846e8e75cf4d65e95d5ead8f953566a1ed5bb14d54b628cc19235b87f39e2a4207df44924df4ae5bbe97189187b80db57c3a9e9e88f0012bd117cedcc mediaproxy-dispatcher.initd -cda84a3afe5240c0ad18e558c6b734135c978e3fc32331413b1c4c7690724aad95a34757fdf6e2fdbc3de85861283fed2d734c7a36e8a604cf8d852226f58c93 mediaproxy-relay.initd -f911664ac80024086a391c4d8653c36d82a9c626f0eef9c4758dd8c7a0276a814e1e8889afcf43aabf9460a6bb8037ca0d584a0a2de6e2a020711b151156c898 config.ini" diff --git a/unmaintained/mediaproxy/config.ini b/unmaintained/mediaproxy/config.ini deleted file mode 100644 index 995c006d2b..0000000000 --- a/unmaintained/mediaproxy/config.ini +++ /dev/null @@ -1,19 +0,0 @@ -[Dispatcher] -socket = /var/run/mediaproxy/proxydispatcher.sock -defaultproxy = /var/run/mediaproxy/mediaproxy.sock - -[MediaProxy] -start = yes -socket = /var/run/mediaproxy/mediaproxy.sock -group = kamailio -listen = 0.0.0.0 -allow = None -proxyIP = # This is where your Kamailio is installed -portRange = 9000:9049 # These values are set same in ATA's configs for RTP Port Range -idleTimeout = 60 -holdTimeout = 180 -forceClose = 0 - -[Accounting] -accounting = off - diff --git a/unmaintained/mediaproxy/mediaproxy-dispatcher.initd b/unmaintained/mediaproxy/mediaproxy-dispatcher.initd deleted file mode 100644 index 9b37a7e064..0000000000 --- a/unmaintained/mediaproxy/mediaproxy-dispatcher.initd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript - -daemon=/usr/bin/media-dispatcher -pidfile=/var/run/mediaproxy/dispatcher.pid - -depend() { - need net - after firewall - after kamailio -} - -start() { - ebegin "Starting Mediaproxy Dispatcher" - start-stop-daemon --start --verbose --pidfile $pidfile --exec $daemon - eend $? -} - -stop() { - ebegin "Stopping Mediaproxy Dispatcher" - start-stop-daemon --stop --quiet --pidfile $pidfile - eend $? -} diff --git a/unmaintained/mediaproxy/mediaproxy-relay.initd b/unmaintained/mediaproxy/mediaproxy-relay.initd deleted file mode 100644 index 09b842f072..0000000000 --- a/unmaintained/mediaproxy/mediaproxy-relay.initd +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript - -daemon=/usr/bin/media-relay -pidfile=/var/run/mediaproxy/relay.pid - -depend() { - need net - after firewall - after mediaproxy-dispatcher -} - -start() { - ebegin "Starting Mediaproxy Relay" - start-stop-daemon --start --quiet --pidfile $pidfile --exec $daemon - eend $? -} - -stop() { - ebegin "Stopping Mediaproxy Relay" - start-stop-daemon --stop --quiet --pidfile $pidfile - eend $? -} diff --git a/unmaintained/megactl/APKBUILD b/unmaintained/megactl/APKBUILD deleted file mode 100644 index 252048086c..0000000000 --- a/unmaintained/megactl/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=megactl -pkgver=0.4.1 -pkgrel=0 -pkgdesc="Tools for LSI megaraid adapters" -url="http://sourceforge.net/projects/megactl/" -arch="all" -license="GPLv2" -depends="" -depends_dev="" -makedepends="$depends_dev linux-headers" -install="" -subpackages="" -source="http://downloads.sourceforge.net/project/megactl/megactl/$pkgver%20beta%20source%20package/megactl-$pkgver.tar.gz" - -_builddir="$srcdir"/megactl-$pkgver/src -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make ARCH= megactl megasasctl -} - -package() { - cd "$_builddir" - install -d "$pkgdir"/usr/bin - install megactl megasasctl "$pkgdir"/usr/bin/ || return 1 -} - -md5sums="5d2b2752e3f623d86220ffd9d91afb44 megactl-0.4.1.tar.gz" -sha256sums="d7aee98035c97a1ff098450192f073565c4f2355079763f6dc6202be121720e8 megactl-0.4.1.tar.gz" -sha512sums="65a97f03fbe1c76375d2e16016c1e57c7e4544bfd7185b13a330560819caf48ecad8e9f1feb1d448b45d4f862abf2799868bd357d120019a709088c90b58ac92 megactl-0.4.1.tar.gz" diff --git a/unmaintained/meiga/APKBUILD b/unmaintained/meiga/APKBUILD deleted file mode 100644 index ea25106e0a..0000000000 --- a/unmaintained/meiga/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=meiga -pkgver=0.4.0 -pkgrel=0 -pkgdesc="Tool for sharing directories via web" -url="http://meiga.igalia.com/" -arch="all" -license="GPLv2" -depends= -makedepends="gtk+-dev libsoup-dev dbus-glib-dev vala gupnp-dev" -install= -subpackages= -source="http://meiga.igalia.com/packages/src/meiga-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="4108c48af075f733c66adcc78dbafa7d meiga-0.4.0.tar.gz" diff --git a/unmaintained/memtest86+/APKBUILD b/unmaintained/memtest86+/APKBUILD deleted file mode 100644 index 7c01099970..0000000000 --- a/unmaintained/memtest86+/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: Leonardo Arena -pkgname="memtest86+" -pkgver=4.20 -pkgrel=3 -pkgdesc="A tool for memory failure detection" -url="http://www.memtest.org" -arch="x86 x86_64" -license="GPL" -depends= -depends_dev= -makedepends= -install= -subpackages="" -source="http://www.memtest.org/download/$pkgver/$pkgname-$pkgver.bin.gz" - -prepare() { - return 0 -} - -build() { - return 0 -} - -package() { - gunzip "$srcdir"/$pkgname-$pkgver.bin.gz - install -m644 -D "$srcdir"/$pkgname-$pkgver.bin "$pkgdir"/boot/memtest -} - -md5sums="4640a702c3e7a5a74af069f51ab8345f memtest86+-4.20.bin.gz" diff --git a/unmaintained/mhash/APKBUILD b/unmaintained/mhash/APKBUILD deleted file mode 100644 index 255e51c00c..0000000000 --- a/unmaintained/mhash/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=mhash -pkgver=0.9.9.9 -pkgrel=1 -pkgdesc="A thread-safe hash library which provides a uniform interface to hash algorithms (MD5, SHA-1, HAVAL, etc" -url="http://mhash.sourceforge.net/" -arch="all" -license="LGPL" -depends= -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/sourceforge/mhash/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="f91c74f9ccab2b574a98be5bc31eb280 mhash-0.9.9.9.tar.bz2" diff --git a/unmaintained/microxml/APKBUILD b/unmaintained/microxml/APKBUILD deleted file mode 100644 index 59a1a6418b..0000000000 --- a/unmaintained/microxml/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Leonardo Arena -# Maintainer: -pkgname=microxml -pkgver=0_git20150918 -pkgrel=0 -pkgdesc="Micro XML library" -url="http://www.freecwmp.org/" -arch="all" -license="GPL" -depends= -depends_dev= -makedepends="$depends_dev autoconf" -install= -subpackages= -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz" -giturl="git://dev.freecwmp.org/microxml" -disturl="dev.alpinelinux.org:/archive/$pkgname" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here - autoconf -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DSTROOT="$pkgdir" install - - # remove the 2 lines below (and this) if there is no init.d script - # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname -} - -md5sums="4a18c6863d8e8defb955d1d21bdf796e microxml-0_git20150918.tar.gz" -sha256sums="e1ccc83ff12c1ce00c70dd01d03cabcb09c39078c2b5af473fd0ce109c361c59 microxml-0_git20150918.tar.gz" -sha512sums="f0df12c28f7bdca8425cc0eb2c3104cc9eb77af89e7efae0810fa22224614f8f027e4454a3e41d529c71f5fb172af4aba5b1af5415d460012305cc6b6eda3568 microxml-0_git20150918.tar.gz" diff --git a/unmaintained/minitube/APKBUILD b/unmaintained/minitube/APKBUILD deleted file mode 100644 index b5a4bf27f7..0000000000 --- a/unmaintained/minitube/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=minitube -pkgver=2.2 -pkgrel=0 -pkgdesc="Youtube desktop application" -url="http://flavio.tordini.org/minitube" -arch="all" -license="GPLv2" -depends="" -depends_dev="" -makedepends="$depends_dev qt-dev phonon-dev" -install="" -subpackages="" -source="http://flavio.tordini.org/files/minitube/minitube-$pkgver.tar.gz" - -_builddir="$srcdir"/minitube - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - qmake && make "CXX=${CXX:-g++}" CXXFLAGS="$CXXFLAGS" || return 1 -} - -package() { - cd "$_builddir" - make install INSTALL_ROOT="$pkgdir" -} - -md5sums="b8483b2cfc4be460f347ed9342e3789f minitube-2.2.tar.gz" -sha256sums="1076981044d62e5c0b52754d34acde46be5e8bdf4813ae7cead7c9ae038133e1 minitube-2.2.tar.gz" -sha512sums="75c783f22171e56875d2d2ba3260f5402ab3c638fb84f5d0c97d3bc05597b66e45f9d8e9bdfec9c30574af1aca5e74a40ad879c8943767271414968ea98221a1 minitube-2.2.tar.gz" diff --git a/unmaintained/mkdocs/APKBUILD b/unmaintained/mkdocs/APKBUILD deleted file mode 100644 index 105c3e67f1..0000000000 --- a/unmaintained/mkdocs/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=mkdocs -pkgver=0.14.0 -pkgrel=1 -pkgdesc="Project documentation with Markdown" -url="http://www.mkdocs.org/" -arch="noarch" -license="BSD" -depends="python py-tornado py-yaml py-markdown py-livereload py-jinja2 py-click - py-mkdocs-bootswatch py-mkdocs-bootstrap py-setuptools py-six" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="mkdocs-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/mkdocs-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="de422d15a17a5f752df7a542d6b75aa3 mkdocs-0.14.0.tar.gz" -sha256sums="fd3e1623dcd7027dbac55f4d8c4f1c1b990e87588ee463999e717b5083556b73 mkdocs-0.14.0.tar.gz" -sha512sums="47c95f258362df8b124a9689a79a9927d26b1f7816b027fd14d193c79bb5340bdea8770c47566e00452edcdf801fe858569f4c76aa9d3f1799e6e7100bb916ff mkdocs-0.14.0.tar.gz" diff --git a/unmaintained/moinmoin/APKBUILD b/unmaintained/moinmoin/APKBUILD deleted file mode 100644 index 3e303a5daa..0000000000 --- a/unmaintained/moinmoin/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -pkgname=moinmoin -pkgver=1.9.8 -pkgrel=0 -pkgdesc="Python Wiki" -url="http://moinmo.in/" -arch="noarch" -license="GPL" -depends="python py-jabberbot" -depends_dev="python-dev" -makedepends="$depends_dev" -subpackages="" -source="http://static.moinmo.in/files/moin-$pkgver.tar.gz" - -build() { - cd "$srcdir"/moin-$pkgver - python setup.py build -} - -package() { - - cd "$srcdir"/moin-$pkgver - python setup.py install --root="$pkgdir" -} - -md5sums="375a57b62565c789488c4d5b759c182c moin-1.9.8.tar.gz" -sha256sums="a74ba7fd8cf09b9e8415a4c45d7389ea910c09932da50359ea9796e3a30911a6 moin-1.9.8.tar.gz" -sha512sums="587e45c474357d318a423db16d9bc65b30c8dc6f7c6d8b1d3a7c59c6ac67387ad304c647ff0f2caa1f5233b6bb69f191f2f563f20094c5f30656575a67e1a932 moin-1.9.8.tar.gz" diff --git a/unmaintained/mongodb/APKBUILD b/unmaintained/mongodb/APKBUILD deleted file mode 100644 index aabedd2a7c..0000000000 --- a/unmaintained/mongodb/APKBUILD +++ /dev/null @@ -1,130 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=mongodb -pkgver=2.4.4 -pkgrel=3 -pkgdesc="High-performance, schema-free document-oriented database" -url="http://www.mongodb.org" -arch="x86" -license="AGPLv3 and zlib and ASL 2.0" -depends="" -depends_dev="boost-dev python-dev pcre-dev readline-dev libpcap-dev - snappy-dev v8-dev openssl-dev" -makedepends="scons $depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-libs $pkgname-server" -source="http://fastdl.mongodb.org/src/mongodb-src-r$pkgver.tar.gz - mongodb-2.2-r1-fix-scons.patch - mongodb-2.4.4-fix-sharedclient.patch - mongodb-2.2.4-use-system-version.patch - uclibc-libc-version.patch - - mongodb.confd - mongodb.initd - mongodb.logrotate - mongos.confd - mongos.initd - " - -_builddir="$srcdir"/mongodb-src-r$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -# sed -i -e '/Werror/d' SConstruct || return 1 -} - -build() { - cd "$_builddir" - export SCONSFLAGS="$MAKEFLAGS" - scons \ - --cc="$CC" \ - --cxx="$CXX" \ - --full \ - --nostrip \ - --prefix="$pkgdir"/usr \ - --sharedclient \ - --ssl \ - --use-system-all \ - --usev8 \ - . \ - || return 1 -} - -package() { - cd "$_builddir" - export SCONSFLAGS="$MAKEFLAGS" - scons install . \ - --cc="$CC" \ - --cxx="$CXX" \ - --full \ - --nostrip \ - --prefix="$pkgdir"/usr \ - --sharedclient \ - --ssl \ - --use-system-all \ - --usev8 \ - || return 1 - rm "$pkgdir"/usr/lib/*.a || return 1 - - for i in $source; do - local _mode _dir - case $i in - *.initd) _mode=755; _dir="$pkgdir"/etc/init.d ;; - *.confd) _mode=644; _dir="$pkgdir"/etc/conf.d ;; - *.logrotate) _mode=644; _dir="$pkgdir"/etc/logrotate.d ;; - *) continue;; - esac - install -D -m $_mode "$srcdir"/$i "$_dir"/${i%.*} || return 1 - done -} - -libs() { - pkgdesc="MongoDB shared libraries" - mkdir -p "$subpkgdir"/usr - mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ -} - -server() { - pkgdesc="MongoDB server, sharding server" - mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/etc - mv "$pkgdir"/usr/bin/mongod \ - "$pkgdir"/usr/bin/mongos \ - "$subpkgdir"/usr/bin/ || return 1 - mv "$pkgdir"/etc/* "$subpkgdir"/etc/ || return 1 -} - -md5sums="6674d22591c52dc7009b84800e9295b5 mongodb-src-r2.4.4.tar.gz -624887501b5a8b99ecf7f6043a4873d4 mongodb-2.2-r1-fix-scons.patch -48dd5de6ddd588ede2909009e1372b19 mongodb-2.4.4-fix-sharedclient.patch -a5933e42383e887adcb35986c4e359a8 mongodb-2.2.4-use-system-version.patch -fc38e47db518165b6663ba45af17a4ea uclibc-libc-version.patch -7d2f94bed7bfacd32fcd52dfd931f077 mongodb.confd -7bfbe9bd5da9254ab4981c7c3b8ac2bc mongodb.initd -49df78833de4cb6e2b9b1ab9da52c3ac mongodb.logrotate -33b23ee722f6e5d15eb6d9c2723a346f mongos.confd -e2e7904c561364545a48077ba4e84dc3 mongos.initd" -sha256sums="ea3db3e730290d030853f7a22cbbc5edfbe33dd538ec67d551a7e88f6d4db240 mongodb-src-r2.4.4.tar.gz -cd136dea1ee03cfe8009cfe1e787478115f1f73209f3a770794c36813d1374df mongodb-2.2-r1-fix-scons.patch -30ab8a6eb6f410b58df478276037ec1b694f72d3772311130b6258123c906cc5 mongodb-2.4.4-fix-sharedclient.patch -a70eebd1cef135d2940dda2705012f5bfab68580f54d62d4d56995e27a725d51 mongodb-2.2.4-use-system-version.patch -01f5974e74554c6b2456984f387ab8e753cbdd5dd6a401e51ee1b1876cc11b74 uclibc-libc-version.patch -a4ca29c577428c02cd0b0a8b46756df5f53a05519c9d13c270533cf99b9b819d mongodb.confd -ee590071ade60cffdd28ce5bd1e685bcfb49878fb88a21adea0cf30867587ade mongodb.initd -76994c32d999def5c925bd7be3f96687b3406f1d67b89aa6a4df8053025b1e01 mongodb.logrotate -2afd582564623da0e928ca667d37bef467334c82d08b49301f1f6c16ba177767 mongos.confd -0b7dafba846962f473c406e09d80923e07cf03bb8ba727b3e0408fbef28b23da mongos.initd" -sha512sums="f72aee0a9c979756741902eb87775d154de45660596ec4507274a7719d376869510f192cf7777840821cb491cfe009beced8891e3f243c761ee758ab023a457d mongodb-src-r2.4.4.tar.gz -741c4438b1f2060023ddb053317021f680a33d535299350f8775f602fd0221e7f96be0ca2694861611dfe449cb09fea4f3075018a6fc9f3c32ee978c075f3e97 mongodb-2.2-r1-fix-scons.patch -4f3e3e57ff38b5173fac972dbafa68119afccda505a8ca77326e78b715cf81401fa36bcd04297a52782b877c0c58cccee21938e6d780d30fbcf23cdf14ada5dd mongodb-2.4.4-fix-sharedclient.patch -bb91d6eb5ec9d1c44b0a95d6831b3cf75401c62f15649f01cecf0ef3b976658f3508220dab887155e8bda0bc28b868cb069d985e51d386b1633124acb445d781 mongodb-2.2.4-use-system-version.patch -59993b64edef35490d3fd765850046f8757d10f6eb7fe2e5a9488cb020cffcc0ca690ca2a1807fe66ffb40b0a2d583ba240f09982c9d9c0ca1cab7fbedc37eb6 uclibc-libc-version.patch -9bcd870742c31bf25f34188ddc3c414de1103e9860dea9f54eee276b89bc2cf1226abab1749c5cda6a6fb0880e541373754e5e83d63cc7189d4b9c274fd555c3 mongodb.confd -c0634af4653a3b3ca1a72671460e8ea11cce99b84a48782c5cdcc27453d7ead1e89a61d0ce225febda68913dd04e972b4d6a911060b1e5c4ecfbfc1e991e7b12 mongodb.initd -8c089b1a11f494e4148fb4646265964c925bf937633a65e395ee1361d42facf837871dd493a9a2e0f480ae0e0829dbd3ed60794c5334e2716332e131fc5c2c51 mongodb.logrotate -61d8734cef644187eeadc821c89e63a3fbf61860fe2db6e74557b1c6760fe83ba7549cb04f9e3aacea4d8e7e4d81a3b1bc0d5e29715eca33c4761adb17ea9ab7 mongos.confd -28b54e19efd977721549b95e23d34b070c1af0648d5ae60e2457c86a3c18e5cbb6a56fa147d13a38ac540cf9315ac8f74cddaa3c7baafc56c8c6e5596ebef0c0 mongos.initd" diff --git a/unmaintained/mongodb/mongodb-2.2-r1-fix-scons.patch b/unmaintained/mongodb/mongodb-2.2-r1-fix-scons.patch deleted file mode 100644 index 2d08fb454d..0000000000 --- a/unmaintained/mongodb/mongodb-2.2-r1-fix-scons.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- a/SConstruct 2012-08-29 16:21:35.107094792 +0200 -+++ b/SConstruct 2012-08-29 19:09:16.964893217 +0200 -@@ -677,7 +677,6 @@ - # -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used. - env.Append( CCFLAGS=["-fPIC", - "-fno-strict-aliasing", -- "-ggdb", - "-pthread", - "-Wall", - "-Wsign-compare", -@@ -685,14 +684,15 @@ - "-Winvalid-pch"] ) - # env.Append( " -Wconversion" ) TODO: this doesn't really work yet - if linux: -- env.Append( CCFLAGS=["-Werror", "-pipe"] ) -+ # env.Append( CPPDEFINES=["XP_UNIX=1"] ) - if not has_option('clang'): - env.Append( CCFLAGS=["-fno-builtin-memcmp"] ) # glibc's memcmp is faster than gcc's - - env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] ) -- env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] ) -+ env.Append( CXXFLAGS=os.environ['CXXFLAGS']) -+ env.Append( LINKFLAGS=os.environ['LDFLAGS'] ) - env.Append( LINKFLAGS=["-fPIC", "-pthread", "-rdynamic"] ) -- env.Append( LIBS=[] ) -+ env.Append( LIBS=['pcre', 'pcrecpp', 'snappy'] ) - - #make scons colorgcc friendly - for key in ('HOME', 'TERM'): -@@ -703,6 +703,7 @@ - - if linux and has_option( "sharedclient" ): - env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " ) -+ env.Append( SHLINKFLAGS=" -Wl,-soname=libmongoclient.so " ) - - if linux and has_option( "gcov" ): - env.Append( CXXFLAGS=" -fprofile-arcs -ftest-coverage " ) -@@ -712,7 +713,7 @@ - env.Append( CCFLAGS=["-O0", "-fstack-protector"] ) - env['ENV']['GLIBCXX_FORCE_NEW'] = 1; # play nice with valgrind - else: -- env.Append( CCFLAGS=["-O3"] ) -+ env.Append( CXXFLAGS=["-O3"] ) - - if debugLogging: - env.Append( CPPDEFINES=["_DEBUG"] ); diff --git a/unmaintained/mongodb/mongodb-2.2.4-use-system-version.patch b/unmaintained/mongodb/mongodb-2.2.4-use-system-version.patch deleted file mode 100644 index 3f9ec2d3df..0000000000 --- a/unmaintained/mongodb/mongodb-2.2.4-use-system-version.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -urp mongodb-src-r2.2.4.orig/SConstruct mongodb-src-r2.2.4/SConstruct ---- mongodb-src-r2.2.4.orig/SConstruct 2013-05-02 14:59:37.226000000 -0500 -+++ mongodb-src-r2.2.4/SConstruct 2013-05-02 15:04:25.164000000 -0500 -@@ -249,7 +249,7 @@ def printLocalInfo(): - - printLocalInfo() - --boostLibs = [ "thread" , "filesystem" , "program_options", "system" ] -+boostLibs = [ "thread" , "filesystem" , "iostreams" , "program_options", "system" ] - - onlyServer = len( COMMAND_LINE_TARGETS ) == 0 or ( len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) in [ "mongod" , "mongos" , "test" ] ) - nix = False -@@ -791,6 +791,28 @@ def doConfigure(myenv): - print( "c++ compiler not installed!" ) - Exit(1) - -+ if use_system_version_of_library("snappy"): -+ if not conf.CheckCXXHeader("snappy.h"): -+ print( "can't find snappy header" ) -+ Exit(1) -+ if not conf.CheckLib("libsnappy"): -+ print( "can't find snappy library" ) -+ Exit(1) -+ -+ if use_system_version_of_library("pcre"): -+ if not conf.CheckCXXHeader("pcre.h"): -+ print( "can't find pcre header" ) -+ Exit(1) -+ if not conf.CheckLib("libpcre"): -+ print( "can't find pcre library" ) -+ Exit(1) -+ if not conf.CheckCXXHeader("pcrecpp.h"): -+ print( "can't find pcrecpp header" ) -+ Exit(1) -+ if not conf.CheckLib("libpcrecpp"): -+ print( "can't find pcrecpp library" ) -+ Exit(1) -+ - if use_system_version_of_library("boost"): - if not conf.CheckCXXHeader( "boost/filesystem/operations.hpp" ): - print( "can't find boost headers" ) -Only in mongodb-src-r2.2.4: SConstruct.orig diff --git a/unmaintained/mongodb/mongodb-2.4.4-fix-sharedclient.patch b/unmaintained/mongodb/mongodb-2.4.4-fix-sharedclient.patch deleted file mode 100644 index 345b60222d..0000000000 --- a/unmaintained/mongodb/mongodb-2.4.4-fix-sharedclient.patch +++ /dev/null @@ -1,132 +0,0 @@ -diff --git a/src/mongo/SConscript b/src/mongo/SConscript -index c026ce9..bbd900c 100644 ---- a/src/mongo/SConscript -+++ b/src/mongo/SConscript -@@ -452,7 +452,7 @@ - env.Library('stacktrace', 'util/stacktrace.cpp') - - env.Program('lame_stacktrace_test', 'util/lame_stacktrace_test.cpp', -- LIBDEPS=['stacktrace', -+ LIBDEPS=['stacktrace', 'foundation', 'mongocommon', 'alltools', - '$BUILD_DIR/mongo/base/base']) - - serverOnlyFiles += mmapFiles -@@ -654,10 +654,6 @@ - "defaultversion", - "gridfs", - "notmongodormongos"]) --env.Library("allclient", "client/clientOnly.cpp", LIBDEPS=["clientandshell"]) -- --if has_option( "sharedclient" ): -- sharedClientLibName = str( env.SharedLibrary( "mongoclient", [], LIBDEPS=["allclient"] )[0] ) - - # dbtests test binary - env.StaticLibrary('testframework', ['dbtests/framework.cpp'], LIBDEPS=['unittest/unittest']) -@@ -806,12 +802,6 @@ - env.Install( "$INSTALL_DIR/include/" + id, Glob( id + "*.h" ) ) - env.Install( "$INSTALL_DIR/include/" + id, Glob( id + "*.hpp" ) ) - --#lib --if installSetup.libraries: -- env.Install('$INSTALL_DIR/$NIX_LIB_DIR', '#${LIBPREFIX}mongoclient${LIBSUFFIX}') -- if has_option( "sharedclient" ): -- env.Install( "$INSTALL_DIR/$NIX_LIB_DIR", '#${SHLIBPREFIX}mongoclient${SHLIBSUFFIX}') -- - # Stage the top-level mongodb banners - distsrc = env.Dir('#distsrc') - env.Append(MODULE_BANNERS = [distsrc.File('README'), -@@ -842,8 +832,8 @@ - '#/${SERVER_ARCHIVE}', - ['#buildscripts/make_archive.py'] + env["MODULE_BANNERS"] + distBinaries, - ' '.join(['$PYTHON ${SOURCES[0]} -o $TARGET'] + module_banner_transforms + [ -- '--transform ${str(Dir(BUILD_DIR))}/mongo/stripped=$SERVER_DIST_BASENAME/bin', -- '--transform ${str(Dir(BUILD_DIR))}/mongo=$SERVER_DIST_BASENAME/bin', -+ '--transform "${str(Dir(BUILD_DIR))}/mongo/stripped=$SERVER_DIST_BASENAME/bin"', -+ '--transform "${str(Dir(BUILD_DIR))}/mongo=$SERVER_DIST_BASENAME/bin"', - '${TEMPFILE(SOURCES[1:])}'])) - - #final alias -diff --git a/src/SConscript.client b/src/SConscript.client -index b88a54f..a15bbb3 100644 ---- a/src/SConscript.client -+++ b/src/SConscript.client -@@ -4,6 +4,7 @@ - # programs. - - Import('env clientEnv') -+Import("has_option") - - env.Command(['mongo/base/error_codes.h', 'mongo/base/error_codes.cpp',], - ['mongo/base/generate_error_codes.py', 'mongo/base/error_codes.err'], -@@ -36,7 +37,6 @@ clientSourceBasic = [ - 'mongo/client/dbclient.cpp', - 'mongo/client/dbclient_rs.cpp', - 'mongo/client/dbclientcursor.cpp', -- 'mongo/client/distlock.cpp', - 'mongo/client/gridfs.cpp', - 'mongo/client/model.cpp', - 'mongo/client/sasl_client_authenticate.cpp', -@@ -83,7 +83,6 @@ clientSourceBasic = [ - 'mongo/util/timer.cpp', - 'mongo/util/trace.cpp', - 'mongo/util/util.cpp', -- 'mongo/util/version.cpp', - ] - - clientSourceSasl = ['mongo/client/sasl_client_authenticate_impl.cpp', -@@ -93,6 +92,7 @@ clientSourceAll = clientSourceBasic + clientSourceSasl - - if env['MONGO_BUILD_SASL_CLIENT']: - clientSource = clientSourceAll -+ env.Append(LIBS="sasl2") - else: - clientSource = clientSourceBasic - -@@ -133,16 +133,18 @@ for path in clientHeaderDirectories: - clientHeaders.extend(Glob('mongo/%s/*.h' % path)) - clientHeaders.extend(Glob('mongo/%s/*.hpp' % path)) - --mongoclient_lib = env.Library('mongoclient', clientSource), --mongoclient_install = env.Install('#/', [ -- mongoclient_lib, -- #env.SharedLibrary('mongoclient', clientSource), -- ]) -+ -+mongoclient_libs = [ env.Library('mongoclient', clientSource) ] -+if has_option( "sharedclient" ): -+ mongoclient_libs.append( env.SharedLibrary('mongoclient', clientSource) ) -+ -+mongoclient_install = env.Install('#/', mongoclient_libs) -+ - env.Alias('mongoclient', mongoclient_install) - - clientTests = clientEnv.Install('#/', [ - clientEnv.Program(target, -- [source, mongoclient_lib]) for (target, source) in exampleSourceMap]) -+ [source, mongoclient_libs[-1]]) for (target, source) in exampleSourceMap]) - - clientTests.append( - clientEnv.Install('#/', clientEnv.Program('bsondemo', 'mongo/bson/bsondemo/bsondemo.cpp'))) -@@ -168,16 +170,18 @@ - 'mongo/bson/bsondemo/bsondemo.cpp', - ], - '${PYTHON} ${SOURCES[0]} -o $TARGET ' -- '--transform ${str(Dir(BUILD_DIR))}/client_build=$CLIENT_DIST_BASENAME/src ' -- '--transform ${str(Dir(BUILD_DIR))}=$CLIENT_DIST_BASENAME/src ' -- '--transform distsrc/client=$CLIENT_DIST_BASENAME ' -- '--transform =$CLIENT_DIST_BASENAME/ ' -+ '--transform "${str(Dir(BUILD_DIR))}/client_build=$CLIENT_DIST_BASENAME/src" ' -+ '--transform "${str(Dir(BUILD_DIR))}=$CLIENT_DIST_BASENAME/src" ' -+ '--transform "distsrc/client=$CLIENT_DIST_BASENAME" ' -+ '--transform "=$CLIENT_DIST_BASENAME/" ' - '${TEMPFILE(SOURCES[1:])}')) - - # install - prefix = GetOption("prefix") - - env.Install(prefix + "/lib", '${LIBPREFIX}mongoclient${LIBSUFFIX}') -+if has_option( "sharedclient" ): -+ env.Install(prefix + "/lib", '${SHLIBPREFIX}mongoclient${SHLIBSUFFIX}') - - for x in clientHeaderDirectories: - inst = env.Install(prefix + "/include/mongo/" + x, diff --git a/unmaintained/mongodb/mongodb.confd b/unmaintained/mongodb/mongodb.confd deleted file mode 100644 index 4f76c5a79f..0000000000 --- a/unmaintained/mongodb/mongodb.confd +++ /dev/null @@ -1,14 +0,0 @@ -# Mongodb essentials -MONGODB_EXEC="/usr/bin/mongod" -MONGODB_RUN="/var/run/mongodb" -MONGODB_DATA="/var/lib/mongodb" -MONGODB_USER="mongodb" - -# Listen to specified IP, comment this to listen to all -MONGODB_IP="127.0.0.1" - -# Listen to specified port -MONGODB_PORT="27017" - -# Set extra options here, such as disabling the admin web server -MONGODB_OPTIONS="--journal" diff --git a/unmaintained/mongodb/mongodb.initd b/unmaintained/mongodb/mongodb.initd deleted file mode 100644 index 5b7b77eebf..0000000000 --- a/unmaintained/mongodb/mongodb.initd +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd,v 1.5 2013/01/18 11:19:27 ultrabug Exp $ - -depend() { - need net -} - -start() { - checkpath -d -m 0750 -o "${MONGODB_USER}":mongodb "${MONGODB_RUN}" - - # Listen to MONGODB_IP if configured - [ -z "${MONGODB_IP}" ] || MONGODB_OPTIONS="--bind_ip ${MONGODB_IP} ${MONGODB_OPTIONS}" - - # Baselayout-1 user should use --chuid instead of --user - local USEROPT="--user" - if [ ! -f /etc/init.d/sysfs ]; then - USEROPT="--chuid" - fi - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --background --start --make-pidfile \ - --pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid \ - ${USEROPT} ${MONGODB_USER:-mongodb} \ - --exec ${MONGODB_EXEC:-/usr/bin/mongod} \ - -- \ - --port ${MONGODB_PORT:-27017} \ - --dbpath ${MONGODB_DATA:-/var/lib/mongodb} \ - --unixSocketPrefix ${MONGODB_RUN:-/var/run/mongodb} \ - --logappend --logpath /var/log/mongodb/${SVCNAME}.log \ - ${MONGODB_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid - eend $? -} diff --git a/unmaintained/mongodb/mongodb.logrotate b/unmaintained/mongodb/mongodb.logrotate deleted file mode 100644 index f95a438b5b..0000000000 --- a/unmaintained/mongodb/mongodb.logrotate +++ /dev/null @@ -1,13 +0,0 @@ -# Default log rotation / compression keeps 1 year of logs. -/var/log/mongodb/*.log { - daily - rotate 365 - dateext - copytruncate - delaycompress - compress - notifempty - extension gz - sharedscripts - missingok -} diff --git a/unmaintained/mongodb/mongos.confd b/unmaintained/mongodb/mongos.confd deleted file mode 100644 index 644cd0a252..0000000000 --- a/unmaintained/mongodb/mongos.confd +++ /dev/null @@ -1,16 +0,0 @@ -# Mongos essentials -MONGOS_EXEC="/usr/bin/mongos" -MONGOS_RUN="/var/run/mongodb" -MONGOS_USER="mongodb" - -# Listen to specified IP, comment this to listen to all -MONGOS_IP="127.0.0.1" - -# Listen to specified port -MONGOS_PORT="27018" - -# 1 to 3 comma separated config servers (mandatory) -MONGOS_CONFIGDB="" - -# Set extra options here -MONGOS_OPTIONS="" diff --git a/unmaintained/mongodb/mongos.initd b/unmaintained/mongodb/mongos.initd deleted file mode 100644 index 2f9bd9a6ea..0000000000 --- a/unmaintained/mongodb/mongos.initd +++ /dev/null @@ -1,45 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd,v 1.3 2013/01/18 11:19:27 ultrabug Exp $ - -depend() { - need net -} - -checkconfig() { - if [ -z "${MONGOS_CONFIGDB}" ]; then - eerror "MONGOS_CONFIGDB is not defined, check your configuration file !" - return 1 - fi - return 0 -} - -start() { - checkconfig || return 1 - - checkpath -d -m 0750 -o "${MONGOS_USER}":mongodb "${MONGOS_RUN}" - - # Listen to MONGOS_IP if configured - [ -z "${MONGOS_IP}" ] || MONGOS_OPTIONS="--bind_ip ${MONGOS_IP} ${MONGOS_OPTIONS}" - - local USEROPT="--user" - ebegin "Starting ${SVCNAME}" - start-stop-daemon --background --start --make-pidfile \ - --pidfile ${MONGOS_RUN:-/var/run/mongodb}/${SVCNAME}.pid \ - ${USEROPT} ${MONGOS_USER:-mongodb} \ - --exec ${MONGOS_EXEC:-/usr/bin/mongos} \ - -- \ - --port ${MONGOS_PORT:-27018} \ - --unixSocketPrefix ${MONGOS_RUN:-/var/run/mongodb} \ - --logappend --logpath /var/log/mongodb/${SVCNAME}.log \ - --configdb ${MONGOS_CONFIGDB} \ - ${MONGOS_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --pidfile ${MONGOS_RUN:-/var/run/mongodb}/${SVCNAME}.pid - eend $? -} diff --git a/unmaintained/mongodb/uclibc-libc-version.patch b/unmaintained/mongodb/uclibc-libc-version.patch deleted file mode 100644 index a8d32daa97..0000000000 --- a/unmaintained/mongodb/uclibc-libc-version.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- ./src/mongo/util/processinfo_linux2.cpp.orig 2013-06-10 19:46:43.082371900 +0000 -+++ ./src/mongo/util/processinfo_linux2.cpp 2013-06-10 20:01:45.581386405 +0000 -@@ -20,7 +20,11 @@ - #include - #include - #include -+#if defined(__UCLIBC__) -+#define gnu_get_libc_version(x) "uClibc" -+#else - #include -+#endif - #include - - #include "processinfo.h" diff --git a/unmaintained/mongrel2/APKBUILD b/unmaintained/mongrel2/APKBUILD deleted file mode 100644 index eb7dd24420..0000000000 --- a/unmaintained/mongrel2/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=mongrel2 -pkgver=1.8.0 -pkgrel=0 -pkgdesc="Web server for web applications" -url="http://mongrel2.org/" -arch="all" -license="GPL" -depends= -makedepends="zeromq-dev sqlite-dev" -install= -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/zedshaw/mongrel2/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/mongrel2-$pkgver -prepare() { - # apply patches here - return 0 -} - -build() { - cd "$_builddir" - make PREFIX=/usr -j1 || return 1 -} - -package() { - cd "$_builddir" - make PREFIX=/usr DESTDIR="$pkgdir" install -} - -md5sums="2492b774e46299434e344b1ec797b250 mongrel2-1.8.0.tar.gz" -sha256sums="67d15f6a32a1011010c5c7f51480b697d9f7ba9becdb9dad4998dc4681096373 mongrel2-1.8.0.tar.gz" -sha512sums="2ca95d275b8ea5648fc60a49866e4aa1482abab46970e43bfb7e398fcd76de153b174237892bb1e8b0480d841b92b9d03b7b4ea283a4aa1697fb2126f30f2a73 mongrel2-1.8.0.tar.gz" diff --git a/unmaintained/mp3info/APKBUILD b/unmaintained/mp3info/APKBUILD deleted file mode 100644 index a033ee8360..0000000000 --- a/unmaintained/mp3info/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Carlo Landmeter -pkgname=mp3info -pkgver=0.8.5a -pkgrel=1 -pkgdesc="An MP3 technical info viewer and ID3 1.x tag editor" -url="http://www.ibiblio.org/mp3info/" -arch="all" -license="GPL" -depends= -makedepends="ncurses-dev" -subpackages="" -source="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-0.8.5a.tgz - escape_chars.patch - types.patch" - -build() { - cd "$srcdir/$pkgname-$pkgver" - - patch -p1 -i "$srcdir"/escape_chars.patch || return 1 - patch -p1 -i "$srcdir"/types.patch || return 1 - - make mp3info || return 1 -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - install -Dm755 mp3info "$pkgdir"/usr/bin/mp3info - install -Dm644 mp3info.1 "$pkgdir"/usr/share/man/man1/mp3info.1 - -} - -md5sums="cb7b619a10a40aaac2113b87bb2b2ea2 mp3info-0.8.5a.tgz -d0be1068503056b775bf10f05a8497b8 escape_chars.patch -0ecc00596019ca4530af8eae6f5d4ce3 types.patch" -sha256sums="0438ac68e9f04947fb14ca5573d27c62454cb9db3a93b7f1d2c226cd3e0b4e10 mp3info-0.8.5a.tgz -452edfebd1d9a647e89b9d88712b1eaec9f7aa4982eeae5c3c884aa21c283df5 escape_chars.patch -fa63e57cc3e3ddb0e23ecab99bcce5bb95f18dce83214f307bddbfe3dcd431c2 types.patch" -sha512sums="30e0ef62deaa090fc115317f6c372f408077dfceed7e05faa6744b8516291e38d21f1742732f6532585f0c3d8c705d8c7026c2bed84c97e1f497d433637affd2 mp3info-0.8.5a.tgz -e2768cb89514e7cec47552384b5166774037fd188caa6e8ed0f6bd6b3a688e0b747c056eddfe3af4613b3947181d3df2bb68a786c9a764598995b8401c561b25 escape_chars.patch -52378d1b27cd6ae002c99a93854efbef5166cedd1c078aca071f822bdefb1b1d457ef00d3949e96a27e09d2309d320d7ace2417bb25117762ad4536ac68785fa types.patch" diff --git a/unmaintained/mp3info/escape_chars.patch b/unmaintained/mp3info/escape_chars.patch deleted file mode 100644 index ec697a2863..0000000000 --- a/unmaintained/mp3info/escape_chars.patch +++ /dev/null @@ -1,138 +0,0 @@ ---- orig/mp3info-0.8.5a/mp3info.c Mon Nov 6 04:03:17 2006 -+++ mp3info-0.8.5a/mp3info.c Thu Mar 19 12:33:27 2009 -@@ -32,6 +32,7 @@ - #undef __MAIN - #include - -+char *escape_chars=NULL; - char FILENAME_FORMAT_STRING[]="File: %F\n"; - char ID3_FORMAT_STRING[]="Title: %-30t Track: %n\nArtist: %a\nAlbum: %-30l Year: %y\nComment: %-30c Genre: %g [%G]\n"; - char TECH_FORMAT_STRING[]="Media Type: MPEG %2.1v Layer %L\nAudio: %r KB/s, %qKHz (%o)\nEmphasis: %e\nCRC: %E\nCopyright: %C\nOriginal: %O\nPadding: %p\nLength: %m:%02s\n"; -@@ -66,7 +67,7 @@ - - - -- while ((c=getopt(argc,argv,"vhGidfxFt:a:l:y:c:n:g:p:r:"))!=-1) { -+ while ((c=getopt(argc,argv,"vhGidfxFmt:a:l:y:c:n:g:p:r:e:"))!=-1) { - - switch(c) { - case 'v': /* View mode is now automatic when no changes are -@@ -159,6 +160,12 @@ - } - break; - case 'F': quickscan=0; break; -+ case 'e': -+ escape_chars = optarg; -+ break; -+ case 'm': -+ escape_chars = "'\"\b\n\r\t\\"; -+ break; - } - } - ---- orig/mp3info-0.8.5a/mp3info.h Fri Nov 10 00:14:52 2006 -+++ mp3info-0.8.5a/mp3info.h Thu Mar 19 10:42:07 2009 -@@ -111,6 +111,7 @@ - extern int galphagenreindex [MAXGENRE+2]; - #endif - -+extern char *escape_chars; - void tagedit_curs(char *filename, int filenum, int fileoutof, id3tag *tag); - - ---- orig/mp3info-0.8.5a/textfunc.c Mon Nov 6 08:59:12 2006 -+++ mp3info-0.8.5a/textfunc.c Thu Mar 19 12:24:52 2009 -@@ -24,6 +24,7 @@ - */ - - #include "mp3info.h" -+#include "libgen.h" - - char *layer_text[] = { - "I", "II", "III" -@@ -70,6 +71,8 @@ - "\t-n track\tSpecify ID3 v1.1 track number\n"\ - "\t-t title\tSpecify ID3 track title\n"\ - "\t-y year\t\tSpecify ID3 copyright year\n\n"\ -+ "\t-m\t\tMySQL safe output\n"\ -+ "\t-e\t\tCharacters to escape\n"\ - "\t-G\t\tDisplay valid genres\n"\ - "\t-h\t\tDisplay this help page\n"\ - "\t-x\t\tDisplay technical attributes of the MP3 file\n"\ -@@ -85,6 +88,7 @@ - "\n\t\tConversion Specifiers\n\n"\ - "\t\t%%f\tFilename without the path (string)\n"\ - "\t\t%%F\tFilename with the path (string)\n"\ -+ "\t\t%%d\tPath without filename (string)\n"\ - "\t\t%%k\tFile size in KB (integer)\n"\ - "\n\t\t%%a\tArtist (string)\n"\ - "\t\t%%c\tComment (string)\n"\ -@@ -217,7 +221,27 @@ - } - } - -+/* const char *escape_chars = "'\"\b\n\r\t\\%_"; */ -+/* escape the chars so its sql safe */ -+char *escape_string(char *str) -+{ -+ static char buf[8192]; -+ char *src = str; -+ char *dest = buf; - -+ /* we might want a cmdline flag to enable escaping */ -+ if (escape_chars == NULL || str == NULL) -+ return str; -+ -+ while (*src && dest < (buf + sizeof(buf) - 1)) { -+ if (strchr(escape_chars, *src)) -+ *dest++ = '\\'; -+ *dest++ = *src++; -+ } -+ *dest = '\0'; -+ return buf; -+} -+ - void format_output (char *format_string,mp3info *mp3, int vbr_report) { - - char genre[40]=""; -@@ -242,16 +266,16 @@ - mod[modlen]=0; - mod[modlen-1]='s'; - switch (*code) { -- case 't': printf(mod,mp3->id3.title); break; -+ case 't': printf(mod,escape_string(mp3->id3.title)); break; - case 'f': pos = (pos=strrchr(mp3->filename,'/')) ? - pos+1 : mp3->filename; -- printf(mod,pos); break; -- case 'F': printf(mod,mp3->filename); break; -- case 'a': printf(mod,mp3->id3.artist); break; -- case 'l': printf(mod,mp3->id3.album); break; -+ printf(mod,escape_string(pos)); break; -+ case 'F': printf(mod,escape_string(mp3->filename)); break; -+ case 'a': printf(mod,escape_string(mp3->id3.artist)); break; -+ case 'l': printf(mod,escape_string(mp3->id3.album)); break; - case 'k': mod[modlen-1] = 'd'; printf(mod,mp3->datasize / 1024); break; -- case 'y': printf(mod,mp3->id3.year); break; -- case 'c': printf(mod,mp3->id3.comment); break; -+ case 'y': printf(mod,escape_string(mp3->id3.year)); break; -+ case 'c': printf(mod,escape_string(mp3->id3.comment)); break; - case 'n': if(mp3->id3_isvalid && mp3->id3.track[0]) { - mod[modlen-1]='d'; - printf(mod, (int) mp3->id3.track[0]); -@@ -259,7 +283,7 @@ - break; - case 'g': if(mp3->id3_isvalid) { - text_genre(mp3->id3.genre,genre); -- printf(mod,genre); -+ printf(mod,escape_string(genre)); - } - break; - case 'G': if(mp3->id3_isvalid) { -@@ -348,6 +372,7 @@ - } - break; - case '%': printf("%%"); break; -+ case 'd': printf(mod,escape_string(dirname(mp3->filename))); break; - default: printf("%%%c",*(code=percent+1)); break; - } - format=code+1; diff --git a/unmaintained/mp3info/types.patch b/unmaintained/mp3info/types.patch deleted file mode 100644 index 760ebf708d..0000000000 --- a/unmaintained/mp3info/types.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./mp3tech.c.orig -+++ ./mp3tech.c -@@ -279,7 +279,7 @@ - } - - int sameConstant(mp3header *h1, mp3header *h2) { -- if((*(uint*)h1) == (*(uint*)h2)) return 1; -+ if((*(unsigned int*)h1) == (*(unsigned int*)h2)) return 1; - - if((h1->version == h2->version ) && - (h1->layer == h2->layer ) && diff --git a/unmaintained/mpop/APKBUILD b/unmaintained/mpop/APKBUILD deleted file mode 100644 index cc26629f50..0000000000 --- a/unmaintained/mpop/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: z3bra -# Maintainer: Fabian Affolter -pkgname=mpop -pkgver=1.2.2 -pkgrel=0 -pkgdesc="A small an fast POP3 client" -url="http://$pkgname.sourceforge.net/" -arch="all" -license="GPL3" -depends="" -depends_dev="gnutls-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz" - -_builddir=$srcdir/$pkgname-$pkgver -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --with-ssl=gnutls \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} -md5sums="4ff3088fcbc94c70c66d6002435bfe9c mpop-1.2.2.tar.xz" -sha256sums="d1e7d7d18147996cfc6195cdfb936ca51620cb841a7460043d8cc838ca48bfc3 mpop-1.2.2.tar.xz" -sha512sums="5cb78ac088fa5da4e6c8f049510e0aab986b73f062b05169482adf6b14cb9abe04f93bd4672837c3b406880f86e4bbf6f5dd8c5b98b1bcad485ac43ea48ae7c7 mpop-1.2.2.tar.xz" diff --git a/unmaintained/ms-sys/APKBUILD b/unmaintained/ms-sys/APKBUILD deleted file mode 100644 index 86858917b7..0000000000 --- a/unmaintained/ms-sys/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=ms-sys -pkgver=2.4.0 -pkgrel=0 -pkgdesc="A tool for creating Microsoft compatible boot records" -url="http://ms-sys.sourceforge.net/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="$depends_dev linux-headers" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/ms-sys/ms-sys-$pkgver.tar.gz - nls.patch" - -_builddir="$srcdir"/ms-sys-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make PREFIX=/usr NLS=no || return 1 -} - -package() { - cd "$_builddir" - make PREFIX=/usr MANDIR=/usr/share/man DESTDIR="$pkgdir" NLS=no \ - install || return 1 - rm -rf "$pkgdir"/usr/share/locale -} - -md5sums="6742dd1a058b1ce32cb991853d9d6bec ms-sys-2.4.0.tar.gz -e99ecd149e6e83a60647dbb96409b949 nls.patch" -sha256sums="afcfefb52350f632bbd4671c3f97df09e42a60d0de3e56d42682450c7ebf689e ms-sys-2.4.0.tar.gz -0cde6bb2fbe958380b2cd058095da3b6da690d9462909a4acf867dab9e19d6e8 nls.patch" -sha512sums="17e2496d2e4815180b9f33fa0f206953fb3484e01c115a2e67d110fb04d421be7e694a434d991a7518579eadb9dce4e907dbd849dbaf6fb506758c425faa14ec ms-sys-2.4.0.tar.gz -02115f778a74cc8b048872d437745e1b9c272b3c3597dc180ffa9fd6a977bf97d0744bc18ebc4a2ce08942f2ec94a96cda2f85d36289140d53e32aa20f8b75ee nls.patch" diff --git a/unmaintained/ms-sys/nls.patch b/unmaintained/ms-sys/nls.patch deleted file mode 100644 index 29c77a62c2..0000000000 --- a/unmaintained/ms-sys/nls.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- ./inc/nls.h.orig -+++ ./inc/nls.h -@@ -1,11 +1,10 @@ - #ifndef NLS_H - #define NLS_H - --#include -- - #ifdef NO_LIBINTL_OR_GETTEXT - #define _(String) (String) - #else -+#include - #define _(String) gettext(String) - #endif - #define gettext_noop(String) (String) ---- ./Makefile.orig -+++ ./Makefile -@@ -80,10 +80,14 @@ - - MAN_SRC = $(wildcard $(MAN)/*.*) - -+ifeq ($(NLS),no) -+CFLAGS += -DNO_LIBINTL_OR_GETTEXT -+else - PO_FILES = $(filter-out $(MESSAGES),$(wildcard $(PO)/*.po)) - MO_FILES = $(PO_FILES:$(PO)/%.po=$(MO)/%.mo) - LANGUAGES ?= $(PO_FILES:$(PO)/%.po=%) - NLS_FILES = $(LANGUAGES:%=$(DESTDIR)$(LOCALEDIR)/%/$(MESSDIR)/$(PACKAGE).mo) -+endif - MAN_FILES = $(foreach FILE, $(MAN_SRC), \ - $(DESTDIR)$(MANDIR)/man$(subst .,,$(suffix $(FILE)))/$(FILE:$(MAN)/%=%)) - diff --git a/unmaintained/mutter/APKBUILD b/unmaintained/mutter/APKBUILD deleted file mode 100644 index 3b3820251a..0000000000 --- a/unmaintained/mutter/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=mutter -pkgver=2.31.5 -pkgrel=6 -pkgdesc="clutter-based window manager for GNOME" -url="http://www.gnome.org/" -arch="all" -license="GPL" -depends="zenity" -depends_dev="clutter-dev libcanberra-dev gconf-dev startup-notification-dev python-dev" -makedepends="$depends_dev gobject-introspection-dev intltool gnome-doc-utils" -install="$pkgname.pre-deinstall $pkgname.post-install $pkgname.post-upgrade" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 - mutter-gtk2.patch" - -_builddir="${srcdir}/${pkgname}-${pkgver}" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-compile-warnings=no \ - --disable-static || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="0bec58091d4a3b1df6d5d6c05a1dd7cd mutter-2.31.5.tar.bz2 -e2f03d7771bf45069f2fba0af8f6b57d mutter-gtk2.patch" diff --git a/unmaintained/mutter/mutter-gtk2.patch b/unmaintained/mutter/mutter-gtk2.patch deleted file mode 100644 index 70f7c6fd28..0000000000 --- a/unmaintained/mutter/mutter-gtk2.patch +++ /dev/null @@ -1,82 +0,0 @@ ---- mutter-2.31.5.orig/src/ui/frames.c -+++ mutter-2.31.5/src/ui/frames.c -@@ -2004,47 +2004,26 @@ - return TRUE; - } - --/* Cut and paste from GDK */ --static GdkGC * --get_bg_gc (GdkWindow *window, int x_offset, int y_offset) -+static void -+setup_bg_cr (cairo_t *cr, GdkWindow *window, int x_offset, int y_offset) - { - GdkWindow *parent = gdk_window_get_parent (window); -- GdkPixmap *back_pixmap; -- gboolean parent_relative; -- guint gc_mask = 0; -- GdkGCValues gc_values; -+ cairo_pattern_t *bg_pattern; - -- gdk_window_get_back_pixmap (window, &back_pixmap, &parent_relative); -- if (parent_relative && parent) -+ bg_pattern = gdk_window_get_background_pattern (window); -+ if (bg_pattern == NULL && parent) - { - gint window_x, window_y; - - gdk_window_get_position (window, &window_x, &window_y); -- return get_bg_gc (parent, -- x_offset + window_x, -- y_offset + window_y); -+ setup_bg_cr (cr, parent, x_offset + window_x, y_offset + window_y); - } -- else if (back_pixmap) -+ else if (bg_pattern) - { -- gc_values.fill = GDK_TILED; -- gc_values.tile = back_pixmap; -- gc_values.ts_x_origin = x_offset; -- gc_values.ts_y_origin = y_offset; -- -- gc_mask = GDK_GC_FILL | GDK_GC_TILE | GDK_GC_TS_X_ORIGIN | GDK_GC_TS_Y_ORIGIN; -- -- return gdk_gc_new_with_values (window, &gc_values, gc_mask); -+ cairo_translate (cr, - x_offset, - y_offset); -+ cairo_set_source (cr, bg_pattern); -+ cairo_translate (cr, x_offset, y_offset); - } -- else -- { -- GdkColor bg_color; -- GdkGC *gc = gdk_gc_new (window); -- -- gdk_window_get_background (window, &bg_color); -- gdk_gc_set_foreground (gc, &bg_color); -- -- return gc; -- } - } - - static void -@@ -2052,12 +2031,16 @@ - GdkWindow *window, - int xoffset, int yoffset) - { -- GdkGC *tmp_gc = get_bg_gc (window, xoffset, yoffset); -+ int width, height; -+ cairo_t *cr = gdk_cairo_create (pixmap); - -- gdk_draw_rectangle (pixmap, tmp_gc, TRUE, -- 0, 0, -1, -1); -- -- g_object_unref (tmp_gc); -+ setup_bg_cr (cr, window, xoffset, yoffset); -+ -+ gdk_drawable_get_size (GDK_DRAWABLE (pixmap), &width, &height); -+ cairo_rectangle (cr, 0, 0, width, height); -+ cairo_fill (cr); -+ -+ cairo_destroy (cr); - } - - /* Returns a pixmap with a piece of the windows frame painted on it. diff --git a/unmaintained/mutter/mutter.post-install b/unmaintained/mutter/mutter.post-install deleted file mode 100644 index fdaf4e4f4a..0000000000 --- a/unmaintained/mutter/mutter.post-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -for i in mutter.schemas; do - echo "Installing GConf2 schema $i." - GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ - /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null -done diff --git a/unmaintained/mutter/mutter.post-upgrade b/unmaintained/mutter/mutter.post-upgrade deleted file mode 100644 index fdaf4e4f4a..0000000000 --- a/unmaintained/mutter/mutter.post-upgrade +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -for i in mutter.schemas; do - echo "Installing GConf2 schema $i." - GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ - /usr/bin/gconftool-2 --makefile-install-rule /etc/gconf/schemas/$i >/dev/null -done diff --git a/unmaintained/mutter/mutter.pre-deinstall b/unmaintained/mutter/mutter.pre-deinstall deleted file mode 100644 index 6ec3c545d6..0000000000 --- a/unmaintained/mutter/mutter.pre-deinstall +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -for i in mutter.schemas; do - echo "Uninstalling GConf2 schema $i." - GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \ - /usr/bin/gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/$i >/dev/null -done diff --git a/unmaintained/mysql-connector-odbc/APKBUILD b/unmaintained/mysql-connector-odbc/APKBUILD deleted file mode 100644 index 4a95b3e167..0000000000 --- a/unmaintained/mysql-connector-odbc/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=mysql-connector-odbc -pkgver=5.2.7 -pkgrel=0 -pkgdesc="ODBC driver for MySQL" -url="http://dev.mysql.com/downloads/connector/odbc/" -arch="all" -license="GPLv2 with exceptions" -depends="" -depends_dev="" -makedepends="$depends_dev mysql-dev unixodbc-dev cmake" -install="" -subpackages="" -source="http://dev.mysql.com/get/Downloads/Connector-ODBC/${pkgver%.*}/mysql-connector-odbc-$pkgver-src.tar.gz" - -_builddir="$srcdir"/mysql-connector-odbc-$pkgver-src -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake . -G "Unix Makefiles" \ - -DWITH_UNIXODBC=1 \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DMYSQLCLIENT_LIB_NAME=mysqlclient \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -r "$pkgdir"/usr/[A-Z]* \ - "$pkgdir"/usr/bin \ - "$pkgdir"/usr/test \ - || return 1 - -} - -md5sums="4e1e313fd4e2fe46741802b026c4c5fe mysql-connector-odbc-5.2.7-src.tar.gz" -sha256sums="0ad8fcccb4c41c7100fe02ec0aa87938d33329d23f7b68d1b9031c87750392c9 mysql-connector-odbc-5.2.7-src.tar.gz" -sha512sums="f54ac8a23ade71da85e1335e95eccdccfd68a8687d17a584ced103812bdc5aee8014769a84eaa22724bb2cb23d34c7188c964d3283723defeaef5157a4b3c60f mysql-connector-odbc-5.2.7-src.tar.gz" diff --git a/unmaintained/mysql/APKBUILD b/unmaintained/mysql/APKBUILD deleted file mode 100644 index b5980d00cd..0000000000 --- a/unmaintained/mysql/APKBUILD +++ /dev/null @@ -1,202 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=mysql -pkgver=5.5.40 -pkgrel=1 -pkgdesc="A fast SQL database server" -url="http://www.mysql.com/" -pkgusers="mysql" -pkggroups="mysql" -arch="all" -license='GPL' -depends="mysql-common" -depends_dev="openssl-dev zlib-dev" -makedepends="libtool readline-dev openssl-dev ncurses-dev zlib-dev cmake bison perl libaio-dev" -source="ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/mysql-$pkgver.tar.gz - mysql-prefer-dynamic-library.patch - mysql-va-list.patch - $pkgname.initd - " -subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-test:mytest - $pkgname-common $pkgname-client $pkgname-bench" - -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake . -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DDEFAULT_CHARSET=utf8 \ - -DDEFAULT_COLLATION=utf8_general_ci \ - -DENABLED_LOCAL_INFILE=ON \ - -DINSTALL_DOCDIR=share/doc/mysql \ - -DINSTALL_DOCREADMEDIR=share/doc/mysql \ - -DINSTALL_INCLUDEDIR=include/mysql \ - -DINSTALL_INFODIR=share/info \ - -DINSTALL_LAYOUT=RPM \ - -DINSTALL_LIBDIR=lib \ - -DINSTALL_MANDIR=share/man \ - -DINSTALL_MYSQLDATADIR="/var/lib/mysql" \ - -DINSTALL_MYSQLSHAREDIR=share/mysql \ - -DINSTALL_MYSQLTESTDIR=share/mysql-test \ - -DINSTALL_PLUGINDIR=lib/mysql/plugin \ - -DINSTALL_SCRIPTDIR=bin \ - -DINSTALL_SHAREDIR=share/mysql \ - -DINSTALL_SQLBENCHDIR=share \ - -DINSTALL_SUPPORTFILESDIR=share/mysql \ - -DMYSQL_DATADIR="/var/lib/mysql" \ - -DMYSQL_UNIX_ADDR="/var/run/mysqld/mysqld.sock" \ - -DSYSCONFDIR=/etc/mysql \ - -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 \ - -DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 \ - -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \ - -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \ - -DWITH_EMBEDDED_SERVER=ON \ - -DWITH_EXTRA_CHARSETS=complex \ - -DWITH_INNOBASE_STORAGE_ENGINE=1 \ - -DWITH_PARTITION_STORAGE_ENGINE=1 \ - -DWITH_READLINE=ON \ - -DWITH_SSL=system \ - -DWITH_ZLIB=system \ - || return 1 - make || return 1 -} - -# -DWITH_LIBWRAP=ON \ -package() { - cd "$_builddir" - make DESTDIR="$pkgdir/" install || return 1 - - install -Dm 755 "$startdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - - # use small example config as default, which has tcp disabled - install -D "$pkgdir"/usr/share/mysql/my-medium.cnf \ - "$pkgdir"/etc/mysql/my.cnf || return 1 - - install -dDo mysql "$pkgdir"/var/log/mysql || return 1 - install -dDo mysql "$pkgdir"/var/run/mysqld || return 1 - - # libmysqlclient_r is no more. Upstream tries to replace it with - # symlinks but that really doesn't work (wrong soname in particular). - # We'll keep just the devel libmysqlclient_r.so link, so that - # rebuilding without any source change is enough to get rid of - # dependency on libmysqlclient_r. - rm -f "$pkgdir"/usr/lib/libmysqlclient_r.so* - ln -s libmysqlclient.so "$pkgdir"/usr/lib/libmysqlclient_r.so - - # mysql-test includes one executable that doesn't belong under - # /usr/share, so move it and provide a symlink - mv "$pkgdir"/usr/share/mysql-test/lib/My/SafeProcess/my_safe_process \ - "$pkgdir"/usr/bin - ln -s ../../../../../bin/my_safe_process \ - "$pkgdir"/usr/share/mysql-test/lib/My/SafeProcess/my_safe_process - -} - -dev(){ - default_dev - replaces="libmysqlclient" -} - -libs() { - pkgdesc="MySQL client library" - # some files moved - replaces="mysql libmysqlclient" - depends="mysql-common" - mkdir -p "$subpkgdir"/usr/lib \ - "$subpkgdir"/usr/share/mysql \ - || return 1 - mv "$pkgdir"/usr/lib/libmysqlclient.so* \ - "$subpkgdir"/usr/lib/ || return 1 -} - -common() { - pkgdesc="MySQL common files for both server and client" - replaces="mysql" - depends= - mkdir -p "$subpkgdir"/usr/share/mysql \ - mv "$pkgdir"/etc "$subpkgdir"/ || return 1 - mv "$pkgdir"/usr/share/mysql/english \ - "$pkgdir"/usr/share/mysql/czech \ - "$pkgdir"/usr/share/mysql/danish \ - "$pkgdir"/usr/share/mysql/dutch \ - "$pkgdir"/usr/share/mysql/estonian \ - "$pkgdir"/usr/share/mysql/french \ - "$pkgdir"/usr/share/mysql/german \ - "$pkgdir"/usr/share/mysql/greek \ - "$pkgdir"/usr/share/mysql/hungarian \ - "$pkgdir"/usr/share/mysql/italian \ - "$pkgdir"/usr/share/mysql/japanese \ - "$pkgdir"/usr/share/mysql/korean \ - "$pkgdir"/usr/share/mysql/norwegian \ - "$pkgdir"/usr/share/mysql/norwegian-ny \ - "$pkgdir"/usr/share/mysql/polish \ - "$pkgdir"/usr/share/mysql/portuguese \ - "$pkgdir"/usr/share/mysql/romanian \ - "$pkgdir"/usr/share/mysql/russian \ - "$pkgdir"/usr/share/mysql/serbian \ - "$pkgdir"/usr/share/mysql/slovak \ - "$pkgdir"/usr/share/mysql/spanish \ - "$pkgdir"/usr/share/mysql/swedish \ - "$pkgdir"/usr/share/mysql/ukrainian \ - "$pkgdir"/usr/share/mysql/charsets \ - "$subpkgdir"/usr/share/mysql/ \ - || return 1 -} - -mytest() { - pkgdesc="The test suite distributed with MySQL" - mkdir -p "$subpkgdir"/usr/bin || return 1 - mv "$pkgdir"/usr/share/mysql-test \ - "$subpkgdir"/usr/share/ \ - || return 1 - mv "$pkgdir"/usr/bin/mysql_client_test \ - "$pkgdir"/usr/bin/my_safe_process \ - "$subpkgdir"/usr/bin/ \ - || return 1 -} - -client() { - pkgdesc="client for the MySQL database" - depends="mysql-common" - install="" - local bins="myisam_ftdump mysql mysqlaccess mysqladmin mysqlbug - mysqlcheck mysqldump mysqldumpslow mysql_find_rows - mysql_fix_extensions mysqlimport mysqlshow mysql_waitpid" - - mkdir -p "$subpkgdir"/usr/bin/ || return 1 - - for i in $bins; do - mv "$pkgdir"/usr/bin/${i} "$subpkgdir"/usr/bin/ || return 1 - done -} - -bench() { - pkgdesc="MySQL benchmark scripts and data" - replaces="mysql" - mkdir -p "$subpkgdir"/usr/share/ - mv "$pkgdir"/usr/share/sql-bench "$subpkgdir"/usr/share/ -} - -md5sums="90c5a7b69e833c393de5f07659b786bd mysql-5.5.40.tar.gz -b2b038b1905fa5b80f6723d0ee2f811f mysql-prefer-dynamic-library.patch -b08bf0844d4e52ab4a78a825511845fc mysql-va-list.patch -01fe0055305d8f974c35d0898245014b mysql.initd" -sha256sums="4d3721761a31c28866e8ee0fde47558a3e9047aaef3b89135ae8d45eebb74960 mysql-5.5.40.tar.gz -83d685f6c03d0a1c4811b82ff973e617c3758a72e5d1659b409194221d0cc1c7 mysql-prefer-dynamic-library.patch -9398daa424cf15518566dda6fbf6faed476da902e54e39b7acf222a3f5c7ab2e mysql-va-list.patch -cbf3c99c41310033ed092b38ae0f55bc74334ce4531a6c82f21feff26f25008d mysql.initd" -sha512sums="9adc3c0ace48a84ee87fb7e1f36b2f3d3e5cd95d50ca3012828c7fb33b723cfbfdf85760a30ea38c719a90cc449613747e974768b7f0b070dc346e05a5c418b3 mysql-5.5.40.tar.gz -2b6dfe1262a68f08f6d9aa53d204b7fb7bb88af2c5d1e8f84bd83529ea0fb2521c2f10fdfb730ecc29c6d0acfca762badbd89a3679a05315572e679e4f3c12b0 mysql-prefer-dynamic-library.patch -cd07298193db594f971adfe0f89939c38975b6aedd9480153920a9f65977f94daddc0bd35c287a81e76aaec52f311ce02517231ae44dea221d77a730749f45dc mysql-va-list.patch -fccc31e8e67dc21087c4feb3a36d2ac129dccfe6d393172b58834b408faa85ab6f9f70ec423c88ab7613df9ae258a8db990f3c48d69ef2a1906f7e3b4e18c892 mysql.initd" diff --git a/unmaintained/mysql/mysql-prefer-dynamic-library.patch b/unmaintained/mysql/mysql-prefer-dynamic-library.patch deleted file mode 100644 index 49435d1dad..0000000000 --- a/unmaintained/mysql/mysql-prefer-dynamic-library.patch +++ /dev/null @@ -1,58 +0,0 @@ ---- ./client/CMakeLists.txt.orig -+++ ./client/CMakeLists.txt -@@ -28,44 +28,44 @@ - ADD_DEFINITIONS(${READLINE_DEFINES}) - ADD_DEFINITIONS(${SSL_DEFINES}) - MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc sql_string.cc) --TARGET_LINK_LIBRARIES(mysql mysqlclient) -+TARGET_LINK_LIBRARIES(mysql libmysql mysqlclient) - IF(UNIX) - TARGET_LINK_LIBRARIES(mysql ${READLINE_LIBRARY}) - ENDIF(UNIX) - - MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test) - SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS") --TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex) -+TARGET_LINK_LIBRARIES(mysqltest libmysql mysqlclient regex) - - - MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c) --TARGET_LINK_LIBRARIES(mysqlcheck mysqlclient) -+TARGET_LINK_LIBRARIES(mysqlcheck libmysql mysqlclient) - - MYSQL_ADD_EXECUTABLE(mysqldump mysqldump.c ../sql-common/my_user.c) --TARGET_LINK_LIBRARIES(mysqldump mysqlclient) -+TARGET_LINK_LIBRARIES(mysqldump libmysql mysqlclient) - - MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c) --TARGET_LINK_LIBRARIES(mysqlimport mysqlclient) -+TARGET_LINK_LIBRARIES(mysqlimport libmysql mysqlclient) - - MYSQL_ADD_EXECUTABLE(mysql_upgrade mysql_upgrade.c) --TARGET_LINK_LIBRARIES(mysql_upgrade mysqlclient) -+TARGET_LINK_LIBRARIES(mysql_upgrade libmysql mysqlclient) - ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs) - - MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c) --TARGET_LINK_LIBRARIES(mysqlshow mysqlclient) -+TARGET_LINK_LIBRARIES(mysqlshow libmysql mysqlclient) - - MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c) --TARGET_LINK_LIBRARIES(mysql_plugin mysqlclient) -+TARGET_LINK_LIBRARIES(mysql_plugin libmysql mysqlclient) - - MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc) --TARGET_LINK_LIBRARIES(mysqlbinlog mysqlclient) -+TARGET_LINK_LIBRARIES(mysqlbinlog libmysql mysqlclient) - - MYSQL_ADD_EXECUTABLE(mysqladmin mysqladmin.cc) --TARGET_LINK_LIBRARIES(mysqladmin mysqlclient) -+TARGET_LINK_LIBRARIES(mysqladmin libmysql mysqlclient) - - MYSQL_ADD_EXECUTABLE(mysqlslap mysqlslap.c) - SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS") --TARGET_LINK_LIBRARIES(mysqlslap mysqlclient) -+TARGET_LINK_LIBRARIES(mysqlslap libmysql mysqlclient) - - # "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/". - IF(WIN32) diff --git a/unmaintained/mysql/mysql-va-list.patch b/unmaintained/mysql/mysql-va-list.patch deleted file mode 100644 index 5b7c182120..0000000000 --- a/unmaintained/mysql/mysql-va-list.patch +++ /dev/null @@ -1,51 +0,0 @@ -http://bugs.mysql.com/bug.php?id=62769 - -diff -Naur mysql-5.5.16.orig/sql-common/client_plugin.c mysql-5.5.16/sql-common/client_plugin.c ---- mysql-5.5.16.orig/sql-common/client_plugin.c 2011-09-09 11:56:39.000000000 -0400 -+++ mysql-5.5.16/sql-common/client_plugin.c 2011-10-16 23:00:00.708799138 -0400 -@@ -228,11 +228,13 @@ - { - MYSQL mysql; - struct st_mysql_client_plugin **builtin; -+ va_list unused; - - if (initialized) - return 0; - - bzero(&mysql, sizeof(mysql)); /* dummy mysql for set_mysql_extended_error */ -+ bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */ - - pthread_mutex_init(&LOCK_load_client_plugin, MY_MUTEX_INIT_SLOW); - init_alloc_root(&mem_root, 128, 128); -@@ -244,7 +246,7 @@ - pthread_mutex_lock(&LOCK_load_client_plugin); - - for (builtin= mysql_client_builtins; *builtin; builtin++) -- add_plugin(&mysql, *builtin, 0, 0, 0); -+ add_plugin(&mysql, *builtin, 0, 0, unused); - - pthread_mutex_unlock(&LOCK_load_client_plugin); - -@@ -288,9 +290,13 @@ - mysql_client_register_plugin(MYSQL *mysql, - struct st_mysql_client_plugin *plugin) - { -+ va_list unused; -+ - if (is_not_initialized(mysql, plugin->name)) - return NULL; - -+ bzero(&unused, sizeof(unused)); /* suppress uninitialized-value warnings */ -+ - pthread_mutex_lock(&LOCK_load_client_plugin); - - /* make sure the plugin wasn't loaded meanwhile */ -@@ -302,7 +308,7 @@ - plugin= NULL; - } - else -- plugin= add_plugin(mysql, plugin, 0, 0, 0); -+ plugin= add_plugin(mysql, plugin, 0, 0, unused); - - pthread_mutex_unlock(&LOCK_load_client_plugin); - return plugin; diff --git a/unmaintained/mysql/mysql.initd b/unmaintained/mysql/mysql.initd deleted file mode 100644 index 27632856cb..0000000000 --- a/unmaintained/mysql/mysql.initd +++ /dev/null @@ -1,58 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/mysql.init,v 1.7 2004/07/14 21:41:15 agriffis Exp $ - -extra_stopped_commands="setup" -pidfile=/var/run/mysqld/mysqld.pid - -depend() { - need net - after firewall - use dns -} - -setup() { - ebegin "Creating a new MySQL database" - mysql_install_db --user=mysql --rpm - eend $? -} - -checkconfig() { - if [ ! -f /etc/mysql/my.cnf ] ; then - eerror "No /etc/mysql/my.cnf file exists!" - fi - - dir=`my_print_defaults mysqld | grep -- --datadir | sed -e "s|^.*=\(.*\)|\1|"` - - dir=${dir:-/var/lib/mysql} - [ -d ${dir}/mysql ] && return 0 - - if [ -z "$AUTO_SETUP" ] ; then - eerror "Database not found in $dir" - eerror "You can run '/etc/init.d/mysql setup' to setup a new database." - return 1 - fi - setup -} - -start() { - checkconfig || return 1 - ebegin "Starting mysqld" - start-stop-daemon --pidfile $pidfile \ - --start \ - --background \ - --stdout /dev/null \ - --stderr /dev/null \ - --wait 1500 \ - -- \ - /usr/bin/mysqld_safe --pid-file=$pidfile - eend $? -} - -stop () { - ebegin "Stopping mysqld" - start-stop-daemon --stop --quiet \ - --pidfile $pidfile --retry 20 - eend $? -} diff --git a/unmaintained/mytop/APKBUILD b/unmaintained/mytop/APKBUILD deleted file mode 100644 index 22191b6cb1..0000000000 --- a/unmaintained/mytop/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=mytop -pkgver=1.6 -pkgrel=0 -pkgdesc="A top clone for MySQL" -url="http://jeremy.zawodny.com/mysql/mytop/" -arch="noarch" -license="GPL2" -depends="perl perl-term-readkey perl-dbd-mysql" -depends_dev="" -makedepends="perl-dev" -install="" -subpackages="$pkgname-doc" -source="http://jeremy.zawodny.com/mysql/mytop/${pkgname}-${pkgver}.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - sed -i 's#"long|!"#"long!"#' $pkgname || return 1 -} - -build() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make && make test || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="4127c3e486eb664fed60f40849372a9f mytop-1.6.tar.gz" diff --git a/unmaintained/nagiosql/APKBUILD b/unmaintained/nagiosql/APKBUILD deleted file mode 100644 index 8e2353e5bc..0000000000 --- a/unmaintained/nagiosql/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Maintainer: Jeff Bilyk -_php=php5 -pkgname=nagiosql -pkgver=3.0.3 -_pkgverdown=303 -_pkgvermaj=3 -pkgrel=2 -pkgdesc="Web frontend to configure Nagios" -url="http://www.nagiosql.org" -arch="all" -license="GPL" -depends="lighttpd $_php ${_php}-gettext ${_php}-ftp ${_php}-pear" -makedepends= -source="http://downloads.sourceforge.net/$pkgname/${pkgname}${_pkgverdown}.tar.gz -http://download.pear.php.net/package/HTML_Template_IT-1.3.0.tgz" - -_builddir="$srcdir"/${pkgname}${_pkgvermaj} - -build() { - cd "$_builddir" - return 0 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/webapps/nagiosql - mkdir -p "$pkgdir"/usr/share/pear - cp -r "$srcdir"/HTML_Template_IT-1.3.0/* "$pkgdir"/usr/share/pear/ - cp -r "$_builddir"/* "$pkgdir"/usr/share/webapps/nagiosql/ - touch "$pkgdir"/usr/share/webapps/nagiosql/install/ENABLE_INSTALLER -} - -md5sums="3b15650942cf0fea3b6bbec1700ace38 nagiosql303.tar.gz -cbd2fcffd32a39da7b260397156bddbb HTML_Template_IT-1.3.0.tgz" diff --git a/unmaintained/nbtscan/APKBUILD b/unmaintained/nbtscan/APKBUILD deleted file mode 100644 index 61cbb2bddb..0000000000 --- a/unmaintained/nbtscan/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=nbtscan -pkgver=1.5.1 -pkgrel=0 -pkgdesc="A NetBIOS name network scanner" -url="http://www.inetcat.net/software/nbtscan.html" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://www.sourcefiles.org/Networking/Tools/Miscellanenous/nbtscan-1.5.1.tar.gz - $pkgname-$pkgver-makefile.patch" -_builddir="$srcdir"/$pkgname-"$pkgver"a - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="85bb085077c380b82a6ff73e0de0c154 nbtscan-1.5.1.tar.gz -513430ac89e76bfdb2fd9f8bfce4cca2 nbtscan-1.5.1-makefile.patch" -sha256sums="f9f95d5555356c8d467a576e69d9d348bf2a821ded9a85f895b5e6d21e2aa7eb nbtscan-1.5.1.tar.gz -b2787e59b5b21f6f5a3d766438889daea25c3a321406c4bd275493b8cd8742ed nbtscan-1.5.1-makefile.patch" -sha512sums="2e2ac6a3ce7b188552c4f5f82b1e2bb99049bd0cd6f69361c59066c0b262d9311186aabc0c03c3096b7d2c48276052b1ddf230eba43051e221019c9bf223ae3e nbtscan-1.5.1.tar.gz -75668565aef5d07d848c55d322c543b9394d372898d239bfb04eb2265bb0262e3b89c5bd35772db6775f4b825e13914dc792b38e09260e26a1a512e39059e1fa nbtscan-1.5.1-makefile.patch" diff --git a/unmaintained/nbtscan/nbtscan-1.5.1-makefile.patch b/unmaintained/nbtscan/nbtscan-1.5.1-makefile.patch deleted file mode 100644 index 300f2a6aef..0000000000 --- a/unmaintained/nbtscan/nbtscan-1.5.1-makefile.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- nbtscan-1.5.1a/Makefile.in.orig -+++ nbtscan-1.5.1a/Makefile.in -@@ -5,6 +5,7 @@ - OBJECTS=nbtscan.o statusq.o range.o list.o - DEFS=@DEFS@ - TARGET=@TARGET@ -+DESTDIR= - - prefix = @prefix@ - exec_prefix = @exec_prefix@ -@@ -14,7 +15,8 @@ - $(CC) $(CFLAGS) -o nbtscan $(OBJECTS) $(LIBS) - - install: -- $(INSTALL) $(TARGET) $(BINDIR)/$(TARGET) -+ mkdir -p $(DESTDIR)$(BINDIR) -+ $(INSTALL) $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET) - - nbtscan.o: nbtscan.c statusq.h range.h list.h - $(CC) $(CFLAGS) $(DEFS) -c nbtscan.c diff --git a/unmaintained/ncrack/APKBUILD b/unmaintained/ncrack/APKBUILD deleted file mode 100644 index 29c519d3a0..0000000000 --- a/unmaintained/ncrack/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=ncrack -pkgver=0.4 -pkgrel=0.alpha -pkgdesc="A network authentication cracking tool" -url="http://nmap.org/ncrack/" -arch="all" -license="GPL2 with exceptions" -depends="" -depends_dev="" -makedepends="openssl-dev" -install="" -subpackages="$pkgname-doc" -source="http://nmap.org/ncrack/dist/$pkgname-"$pkgver"ALPHA.tar.gz - missing-typesh.patch" -_builddir="$srcdir"/$pkgname-"$pkgver"ALPHA - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --without-zlib-version-check \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="db9be165469c04650ddc7403b29eb472 ncrack-0.4ALPHA.tar.gz -19b5756d27f0f7c271cb9d76bf08c1d3 missing-typesh.patch" -sha256sums="f8bd7e0ef68559490064ec0a5f139b2b9c49aeaf9f6323e080db9ff344c87603 ncrack-0.4ALPHA.tar.gz -05a5d6637e50533f4d33ba381aec3b60a8f66a4e7639c7d3aeff1b4023293192 missing-typesh.patch" -sha512sums="19f547f7f6e809d2bca3c20bbb0be5bc46d2ead8330b847a2fb4cc767548ba1fb8a05badaa9d128f9f5c925c5ed41285de0f12a46061354ec1ae0d29b14a364d ncrack-0.4ALPHA.tar.gz -2fcb3b7b5d622396c733cb350f91cf66d9446d321472c624dc80b975d459754a3d7410539e21c982468b43578b603a66a125c841332d779caa2580dc6c1c8a31 missing-typesh.patch" diff --git a/unmaintained/ncrack/missing-typesh.patch b/unmaintained/ncrack/missing-typesh.patch deleted file mode 100644 index ad651b0167..0000000000 --- a/unmaintained/ncrack/missing-typesh.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/Buf.h.org -+++ b/Buf.h -@@ -93,6 +93,7 @@ - #define BUF_H - - #include "utils.h" -+#include - - #define BUFFER_MAX_CHUNK 0x100000 - #define BUFFER_MAX_LEN 0xa00000 diff --git a/unmaintained/ndisc6/APKBUILD b/unmaintained/ndisc6/APKBUILD deleted file mode 100644 index 10367115f1..0000000000 --- a/unmaintained/ndisc6/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=ndisc6 -pkgver=1.0.2 -pkgrel=0 -pkgdesc="ipv6 neighbor discovery debugging tools" -url="http://www.remlab.net/ndisc6" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="perl autoconf automake libtool" -install="" -subpackages="$pkgname-doc" -source="http://www.remlab.net/files/ndisc6/ndisc6-$pkgver.tar.bz2 - disable-rltraceroute6.patch" - -_builddir="$srcdir"/ndisc6-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - autoreconf -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-suid-install \ - || return 1 - make V=1 || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="50cb4c19606cf6ff2b7388e71832f579 ndisc6-1.0.2.tar.bz2 -7fee44cbd6cbf45718ad833986c8766e disable-rltraceroute6.patch" diff --git a/unmaintained/ndisc6/disable-rltraceroute6.patch b/unmaintained/ndisc6/disable-rltraceroute6.patch deleted file mode 100644 index f6b85c43e6..0000000000 --- a/unmaintained/ndisc6/disable-rltraceroute6.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- ndisc6-1.0.2.orig/src/Makefile.am -+++ ndisc6-1.0.2/src/Makefile.am -@@ -12,9 +12,8 @@ - -DLOCALEDIR=\"$(localedir)\" - AM_LIBADD = @top_builddir@/compat/libcompat.a - --mysuidexec_PROGRAMS = ndisc6 rdisc6 rltraceroute6 -+mysuidexec_PROGRAMS = ndisc6 rdisc6 - myexec_PROGRAMS = tcptraceroute6 --myexec_SCRIPTS = tracert6 - bin_PROGRAMS = tcpspray name2addr - bin_SCRIPTS = tcpspray6 dnssort addr2name - noinst_HEADERS = gettime.h -@@ -41,15 +40,9 @@ - rdisc6_LDADD = $(LIBRT) $(AM_LIBADD) - - # traceroute6 --rltraceroute6_SOURCES = traceroute.c traceroute.h \ -- trace-tcp.c trace-udp.c trace-icmp.c --rltraceroute6_LDADD = $(LIBRT) $(AM_LIBADD) - tcptraceroute6_SOURCES = tcptraceroute.c - tcptraceroute6_CPPFLAGS = $(AM_CPPFLAGS) \ - -DRLTRACEROUTE6=\"`echo rltraceroute6 | sed '$(transform)'`\" -- --tracert6: Makefile.am gen-alias -- $(alias_verbose)$(gen_alias) tracert6 rltraceroute6 -I - - # tcpspray - tcpspray_SOURCES = tcpspray.c diff --git a/unmaintained/neard/APKBUILD b/unmaintained/neard/APKBUILD deleted file mode 100644 index 7defd290bf..0000000000 --- a/unmaintained/neard/APKBUILD +++ /dev/null @@ -1,61 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=neard -pkgver=0.14 -pkgrel=0 -pkgdesc="Near Field Communication manager" -url="https://01.org/linux-nfc/" -arch="all" -license="GPLv2" -depends="" -depends_dev="" -makedepends="$depends_dev glib-dev dbus-dev libnl3-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="https://www.kernel.org/pub/linux/network/nfc/neard-$pkgver.tar.xz - neard.initd - " - -_builddir="$srcdir"/neard-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - install -d "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d - echo 'NEARD_OPTS=""' > "$pkgdir"/etc/conf.d/neard - - install -m755 "$srcdir"/neard.initd "$pkgdir"/etc/init.d/neard \ - || return 1 - -} - -md5sums="692ba2653d60155255244c87396c486b neard-0.14.tar.xz -ae70699a277238d9b64f2c457e987996 neard.initd" -sha256sums="6ea724b443d39d679168fc7776a965d1f64727c3735391df2c01469ee7cd8cca neard-0.14.tar.xz -df6f500b1e4eb113dc1d0a4c18c62c4007c8559ef5206d1425d88d1079b653f6 neard.initd" -sha512sums="e5a3caac5be088047f18f6998ce6a13ae50f671c864d658237310abd8c587a0b34cc11a81e7d1e69223458215eac583e3935c799bdc0b301ee41bbfd27e28cac neard-0.14.tar.xz -fb461dc3b8173ea6282357e39f3c4639784b7221fddda8c9b50799ded85ec60eb2fa1ccd516558e97a9e7840beab29b9c613950f7ee872c7ab0433207409bbc1 neard.initd" diff --git a/unmaintained/neard/neard.initd b/unmaintained/neard/neard.initd deleted file mode 100644 index 37cc40e280..0000000000 --- a/unmaintained/neard/neard.initd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Purpose License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/neard/files/neard.rc,v 1.1 2013/06/21 19:39:06 vapier Exp $ - -name="NFC daemon" - -command="/usr/libexec/nfc/neard" -command_args="${NEARD_OPTS}" - -start_stop_daemon_args="--exec /usr/libexec/nfc/neard" - -depend() { - need dbus -} - -start_pre() { - if [ -e /proc/modules ] ; then - if ! grep -qs NFC_RAW /proc/net/protocols ; then - modprobe -q nfc - fi - fi -} diff --git a/unmaintained/nebula/APKBUILD b/unmaintained/nebula/APKBUILD deleted file mode 100644 index 9e66f7dfa6..0000000000 --- a/unmaintained/nebula/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=nebula -pkgver=0.2.3 -pkgrel=1 -pkgdesc="An Intrusion Signature Generator" -url="http://nebula.carnivore.it/" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="zlib-dev" -install="" -subpackages="$pkgname-client" -source="http://downloads.sourceforge.net/nebula/$pkgname-$pkgver.tar.gz - musl-fixes.patch" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make AM_CFLAGS=-D_GNU_SOURCE || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -client() { - #cd "$_builddir" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/"$pkgname"client "$subpkgdir"/usr/bin/ -} - -md5sums="06eabd66634e7969203465fb94900f18 nebula-0.2.3.tar.gz -393c6ba03578214aa720cd8a703d8b1b musl-fixes.patch" -sha256sums="6d90fe1c5c1d81045134485e8ee4e888e9fce5d4323a2b6b321bf8a9765fc856 nebula-0.2.3.tar.gz -e35212e0b65711fd9ead733e15fe76c79a15de7ac7c417a4c26df400df6f590b musl-fixes.patch" -sha512sums="9202be7ca3c78e7dadf559180a3a9a331ed0ddd4b04aa16ac0c65856f513e600e4e04b7908d4be412360c3fc7e91a286723be1151c74333f0111a4307e323023 nebula-0.2.3.tar.gz -790c3682e3a32da44e83bcfc44c1483b866d526efdfee6522a42878a9ac3aab65341515c9a080e22e44f5e9daff3b4c55c3e53da6ee68e6580df74850e3b44dd musl-fixes.patch" diff --git a/unmaintained/nebula/musl-fixes.patch b/unmaintained/nebula/musl-fixes.patch deleted file mode 100644 index a23d8a1a0f..0000000000 --- a/unmaintained/nebula/musl-fixes.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- nebula-0.2.3/src/hash.h -+++ nebula-0.2.3/src/hash.h -@@ -24,7 +24,7 @@ - #if HAVE_CONFIG_H - # include - #endif -- -+#include "sys/types.h" - - struct cluster; - ---- nebula-0.2.3/src/spamsum.h -+++ nebula-0.2.3/src/spamsum.h -@@ -24,7 +24,7 @@ - #if HAVE_CONFIG_H - # include - #endif -- -+#include "sys/types.h" - - char *spamsum(const u_char *in, size_t length, uint32_t bsize); - uint32_t spamsum_match(const char *str1, const char *str2); ---- nebula-0.2.3/src/trie.h -+++ nebula-0.2.3/src/trie.h -@@ -24,6 +24,7 @@ - #if HAVE_CONFIG_H - # include - #endif -+#include "sys/types.h" - - struct trie_node; - typedef struct trie_node *trie; diff --git a/unmaintained/nemo/APKBUILD b/unmaintained/nemo/APKBUILD deleted file mode 100644 index 41b022486e..0000000000 --- a/unmaintained/nemo/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=nemo -pkgver=2.0.8 -pkgrel=1 -pkgdesc="Cinnamon file manager (Nautilus fork)" -url="https://github.com/linuxmint/nemo" -arch="all" -license="GPL" -depends="gnome-icon-theme" -depends_dev="glib-dev gtk+3.0-dev gobject-introspection-dev dconf-dev libexif-dev - cinnamon-desktop-dev libnotify-dev" -makedepends="$depends_dev autoconf automake libtool gnome-common intltool gtk-doc" -install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall" -subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/nemo/tarball/$pkgver - stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch" - -_builddir="$srcdir/linuxmint-nemo-562e147" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-update-mimedb \ - --disable-schemas-compile \ - --disable-gtk-doc-html \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="2e1b4900c37fa36a95f0c2373171b5a4 nemo-2.0.8.tar.gz -f8e90e6ea69e5cfff17e0557c9300d02 stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch" -sha256sums="6a40868e46fd2ed6c27e694e76c160996d16e2d27681bf5126e6b0e647c24033 nemo-2.0.8.tar.gz -9a30dc0168fd5fbd9c3d9a64924f505f6a3ec02b1a7853b28920b6e96bc575b1 stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch" -sha512sums="75a3fee5d7f65cee3aa5961de6b9983c04d58d22943529bbfe08187e9c61cb4d3b39ceb2f76ba488c690836ddd10f7af66b02856de652d220dd525197c1753d8 nemo-2.0.8.tar.gz -3fd37210ac2516320ac525c7e9a708ecfe3f1c9da23fed4c85dd15aa706d768c44153689351d69b578a40090d39ac4b19c6fdb609bc4020266ed290d5d0473bc stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch" diff --git a/unmaintained/nemo/nemo.post-deinstall b/unmaintained/nemo/nemo.post-deinstall deleted file mode 100644 index 772791e6f3..0000000000 --- a/unmaintained/nemo/nemo.post-deinstall +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -echo "Compiling glib schemas" - -/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas - diff --git a/unmaintained/nemo/nemo.post-install b/unmaintained/nemo/nemo.post-install deleted file mode 100644 index 772791e6f3..0000000000 --- a/unmaintained/nemo/nemo.post-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -echo "Compiling glib schemas" - -/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas - diff --git a/unmaintained/nemo/nemo.post-upgrade b/unmaintained/nemo/nemo.post-upgrade deleted file mode 100644 index 772791e6f3..0000000000 --- a/unmaintained/nemo/nemo.post-upgrade +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -echo "Compiling glib schemas" - -/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas - diff --git a/unmaintained/nemo/stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch b/unmaintained/nemo/stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch deleted file mode 100644 index f093d96560..0000000000 --- a/unmaintained/nemo/stop-gtk-stock-deprecated-errors-for-gtk-3.10.patch +++ /dev/null @@ -1,24 +0,0 @@ -From ec95b5461c3e88e96e1049ef2650a28d347c13ba Mon Sep 17 00:00:00 2001 -From: leigh123linux -Date: Sat, 2 Nov 2013 22:29:35 +0000 -Subject: [PATCH] Stop GTK_STOCK deprecated errors for gtk-3.10 - ---- - configure.in | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 0e7498e..557b6c6 100644 ---- a/configure.in -+++ b/configure.in -@@ -296,7 +296,6 @@ PKG_CHECK_MODULES(NEMO, [ - AC_SUBST(NEMO_CFLAGS) - AC_SUBST(NEMO_LIBS) - --DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED" - AC_SUBST(DISABLE_DEPRECATED_CFLAGS) - - dnl Multimedia keys --- -1.8.5.1 - diff --git a/unmaintained/netdiscover/APKBUILD b/unmaintained/netdiscover/APKBUILD deleted file mode 100644 index 5a72b68bfc..0000000000 --- a/unmaintained/netdiscover/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=netdiscover -pkgver=0.3 -pkgrel=1.beta6 -pkgdesc="A network address discovering tool" -url="http://nixgeneration.com/~jaime/netdiscover/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="libnet-dev libpcap-dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/netdiscover/netdiscover-$pkgver-beta6.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver-beta6 -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -rf "$pkgdir"/usr/doc/ -} - -md5sums="0919227a91ecaeeb2443cff249417be2 netdiscover-0.3-beta6.tar.gz" -sha256sums="19c367f823c49999e2c05c485cac0a5d5685d23c6b33deae1e957406571924db netdiscover-0.3-beta6.tar.gz" -sha512sums="b8205322c34684642d52bf58f8fffa12a0dea387da713caf2935ba348c74b2e6cac717bf1626c9de816e45dce7c42b6b9584b5253351040af806f7ba262ce4d2 netdiscover-0.3-beta6.tar.gz" diff --git a/unmaintained/netdot/APKBUILD b/unmaintained/netdot/APKBUILD deleted file mode 100644 index dc229ea17b..0000000000 --- a/unmaintained/netdot/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Łukasz Jendrysik -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=netdot -pkgver=1.0.7 -pkgrel=1 -pkgdesc="A Network Documentation Tool project" -url="http://netdot.uoregon.edu" -arch="noarch" -license="GPL2+" -depends="perl-dbd-mysql perl-dbd-pg perl-class-dbi perl-class-dbi-abstractsearch - perl-html-mason perl-uri perl-dbix-datasource graphviz-dev perl-sql-translator - perl-net-snmp perl-netaddr-ip perl-apache-session perl-log-dispatch perl-log-log4perl - perl-parallel-forkmanager perl-net-iptrie perl-radiusperl perl-rrd perl-test-tester - perl-time-local perl-pathtools perl-net-appliance-session perl-bind-config-parser - perl-net-dns perl-carp-assert perl-net-dns-zonefile-fast perl-socket6 perl-xml-simple - perl-net-irr perl-graphviz perl-apache-authcookie rrdtool - perl-libapreq2 perl-net-patricia perl-apache2-sitecontrol" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://netdot.uoregon.edu/pub/dists/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - # patch to correctly identify alpine packages - sed -i -e "s/libauthen-radius-perl/perl-radiusperl/" bin/perldeps.pl - sed -i -e "s/perl-Authen-Radius/perl-radiusperl/" bin/perldeps.pl - sed -i -e '22 i\print \"usage: ./initdb initdb dropdb generate oui\\n\";\' bin/initdb -} - -build() { - cd "$_builddir" - make testdeps -} - -package() { - cd "$_builddir" - make -j1 install PREFIX="$pkgdir/usr/share/webapps/netdot" REPLACE_PREFIX="/usr/share/webapps/netdot" || return 1 - install -Dm755 "$_builddir/bin/initdb" "$pkgdir"/usr/share/webapps/netdot/bin/initdb - install -Dm755 "$_builddir/etc/default_data" "$pkgdir"/usr/share/webapps/netdot/etc/default_data -} - -md5sums="d3178e1af575d80234053f383a0d934a netdot-1.0.7.tar.gz" -sha256sums="f8fe9804973d09f953dd520795312d5ef2b595151fadd595a1fec2758d99d79c netdot-1.0.7.tar.gz" -sha512sums="7d52841d4479901ed904b3b8684eddafb55d9eee0f8c5d4c000e790d9a07e09f2045e85f164ca127de57620ef2b657282497aa44d8d87237ae95232a285981b2 netdot-1.0.7.tar.gz" diff --git a/unmaintained/nethack/APKBUILD b/unmaintained/nethack/APKBUILD deleted file mode 100644 index a7d4f467c9..0000000000 --- a/unmaintained/nethack/APKBUILD +++ /dev/null @@ -1,72 +0,0 @@ -# Contributor: Jesse Young -# Maintainer: -pkgname=nethack -pkgver=3.4.3 -pkgrel=0 -pkgdesc='A single player dungeon exploration game' -arch='all' -url='http://www.nethack.org/index.html' -license='custom' -depends='ncurses gzip' -makedepends='ncurses-dev byacc flex linux-headers' -subpackages="$pkgname-doc" -install="" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-${pkgver//.}-src.tgz - nethack.bin" - -build(){ - cd $srcdir/$pkgname-$pkgver/ - sh sys/unix/setup.sh - - sed -e '/define HACKDIR/ s|/usr/games/lib/nethackdir|/usr/lib/nethack/|' \ - -e "/^#define COMPRESS\s/ s|/usr/bin/compress|$(which gzip)|" \ - -e '/^#define COMPRESS_EXTENSION/ s|".Z"|".gz"|' \ - -e 's|^/\* \(#define DLB\) \*/|\1|' -i include/config.h - - sed -e 's|^/\* \(#define LINUX\) \*/|\1|' \ - -e 's|^/\* \(#define TIMED_DELAY\) \*/|\1|' -i include/unixconf.h - - sed -e 's|^# \(WINTTYLIB = -lncurses\)|\1|' \ - -e 's|^WINTTYLIB = -ltermlib|#&|' -i src/Makefile - - sed -e '/^GAMEDIR\s*=/ s|/games/.*$|/usr/lib/$(GAME)|' \ - -e '/^GAMEPERM\s*=/ s|04755|0755|' \ - -e '/^GAMEUID\s*=/ s|games|root|' \ - -e '/^GAMEGRP\s*=/ s|bin|root|' \ - -e '/^CHOWN\s*=/ s|chown|true|' \ - -e '/^CHGRP\s*=/ s|chgrp|true|' \ - -e '/^SHELLDIR\s*=/ s|/games|/usr/bin|' -i Makefile - - sed -e "/^MANDIR\s*=/s|/usr/man/man6|$pkgdir/usr/share/man/man6|" -i doc/Makefile - - sed -e "s/^LEX\s*=.*$/LEX=flex/" -i util/Makefile - - make -} - -package() { - cd $srcdir/$pkgname-$pkgver/ - - install -dm755 $pkgdir/usr/share/man/man6 - install -dm755 $pkgdir/usr/share/doc/nethack - install -dm755 $pkgdir/usr/share/nethack - make PREFIX=$pkgdir install manpages - rm -f $pkgdir/usr/bin/nethack - rm -f $pkgdir/usr/lib/nethack/license - rm -f $pkgdir/usr/lib/nethack/logfile - rm -f $pkgdir/usr/lib/nethack/perm - rm -f $pkgdir/usr/lib/nethack/record - rm -rf $pkgdir/usr/lib/nethack/save - mv $pkgdir/usr/lib/nethack/nhdat $pkgdir/usr/share/nethack/nhdat - - install -m755 $srcdir/nethack.bin $pkgdir/usr/bin/nethack - - install -Dm644 doc/Guidebook.txt $pkgdir/usr/share/doc/nethack/Guidebook.txt - install -Dm644 dat/license $pkgdir/usr/share/licenses/$pkgname/LICENSE -} -md5sums="21479c95990eefe7650df582426457f9 nethack-343-src.tgz -2498972119efd501fbe9d3a0cacfa107 nethack.bin" -sha256sums="bb39c3d2a9ee2df4a0c8fdde708fbc63740853a7608d2f4c560b488124866fe4 nethack-343-src.tgz -e9efd10d5a57bfcfefda6720308fdff9c14a2e71b0b4c68f2267dc59e7b7e3cf nethack.bin" -sha512sums="052342c19619219f291571d48cf7799f962eb6ec6f8a276427225c0abbd833eada18abeff9fbd647919f2a9e3bb097d7f154675e283fe48abc4752f24c192d8f nethack-343-src.tgz -0846b0a22451e420366c790b128e8c6b9ba902595e963f51bbbb61c7b7bebdeee2a13e51fc7f786e2da95834372ec6a5792d7a0308250c98b6bd48026d881eb0 nethack.bin" diff --git a/unmaintained/nethack/nethack.bin b/unmaintained/nethack/nethack.bin deleted file mode 100755 index 272e23f085..0000000000 --- a/unmaintained/nethack/nethack.bin +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -set -e -set -u - -die () { echo "nethack:" "$@" >&2 ; exit 1 ; } - -[ "x${HOME:-}" = x ] && die "\$HOME not set" -cd "$HOME" -[ -d .nethack ] || mkdir -p .nethack -cd .nethack -[ -f nhdat ] || ln -s /usr/share/nethack/nhdat nhdat -[ -d save ] || mkdir -p save -[ -f logfile ] || : > logfile -[ -f perm ] || : > perm -[ -f record ] || : > record - -HACKDIR="$HOME/.nethack" -export HACKDIR -HACK=/usr/lib/nethack/nethack -MAXNROFPLAYERS=4 - -# Since Nethack.ad is installed in HACKDIR, add it to XUSERFILESEARCHPATH -case "x${XUSERFILESEARCHPATH:-}" in -x) XUSERFILESEARCHPATH="$HACKDIR/%N.ad" - ;; -*) XUSERFILESEARCHPATH="$XUSERFILESEARCHPATH:$HACKDIR/%N.ad" - ;; -esac -export XUSERFILESEARCHPATH - -# see if we can find the full path name of PAGER, so help files work properly -# assume that if someone sets up a special variable (HACKPAGER) for NetHack, -# it will already be in a form acceptable to NetHack -# ideas from brian@radio.astro.utoronto.ca -if test \( "xxx${PAGER:-}" != xxx \) -a \( "xxx${HACKPAGER:-}" = xxx \) -then - HACKPAGER="$PAGER" -# use only the first word of the pager variable -# this prevents problems when looking for file names with trailing -# options, but also makes the options unavailable for later use from -# NetHack - for i in $HACKPAGER - do - HACKPAGER="$i" - break - done - - if test ! -f "$HACKPAGER" - then - IFS=: - for i in $PATH - do - if test -f "$i/$HACKPAGER" - then - HACKPAGER="$i/$HACKPAGER" - export HACKPAGER - break - fi - done - IFS=' ' - fi - if test ! -f "$HACKPAGER" - then - echo "Cannot find $PAGER -- unsetting PAGER." >&2 - unset HACKPAGER - unset PAGER - fi -fi - -case "x${1:-}" in - x-s*) exec "$HACK" "$@" ;; - x*) exec "$HACK" "$@" "$MAXNROFPLAYERS" ;; -esac diff --git a/unmaintained/netsniff-ng/APKBUILD b/unmaintained/netsniff-ng/APKBUILD deleted file mode 100644 index 81fbf5db07..0000000000 --- a/unmaintained/netsniff-ng/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=netsniff-ng -pkgver=0.5.8 -pkgrel=0 -pkgdesc="A network analyzer and networking toolkit" -url="http://netsniff-ng.org/" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="bash perl gzip libpcap-dev libnl3-dev zlib-dev ncurses-dev - libnetfilter_conntrack-dev coreutils" -install="" -subpackages="$pkgname-doc" -source="http://www.netsniff-ng.org/pub/netsniff-ng/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - || return 1 - make PREFIX=/usr ETCDIR=/etc || return 1 -} - -package() { - cd "$_builddir" - make PREFIX=/usr ETCDIR=/etc DESTDIR="$pkgdir" install || return 1 -} - -md5sums="5711c99c44a3b573c9f75599f164ecc2 netsniff-ng-0.5.8.tar.gz" -sha256sums="80436a306947e6c541d573c897cf64e1f223b867f571fabe74cea2ab512aa13c netsniff-ng-0.5.8.tar.gz" -sha512sums="fbbd9a48f2f4dc559c10dc3028cbefa881ef72177c993c57fdf09db84c5d7945ded75cec94fe216c6f7db3f2044aa46e7a15bd09b2ab41521416eee1bb464904 netsniff-ng-0.5.8.tar.gz" diff --git a/unmaintained/netsniff-ng/netsniff-ng-unkown.patch b/unmaintained/netsniff-ng/netsniff-ng-unkown.patch deleted file mode 100644 index 14c1ae998d..0000000000 --- a/unmaintained/netsniff-ng/netsniff-ng-unkown.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- netsniff-ng/src/Makefile.orig -+++ netsniff-ng/src/Makefile -@@ -39,9 +39,9 @@ - @install -D $(target) $(DESTDIR)/$(BINDIR)/$(target) - @install -d $(DESTDIR)/$(ETCDIR)/$(target)/rules - @cp -r rules/*.bpf $(DESTDIR)/$(ETCDIR)/$(target)/rules/ -- @cat $(MANDIR_LOCAL)/$(target).8 | gzip --best > \ -+ @cat $(MANDIR_LOCAL)/$(target).8 | gzip > \ - $(MANDIR_LOCAL)/$(target).8.gz -- @install -D $(MANDIR_LOCAL)/$(target).8.gz \ -+ @install -Dm644 $(MANDIR_LOCAL)/$(target).8.gz \ - $(DESTDIR)/$(MANDIR)/$(target).8.gz - - uninstall: diff --git a/unmaintained/netstat-nat/APKBUILD b/unmaintained/netstat-nat/APKBUILD deleted file mode 100644 index 4adecd9b3a..0000000000 --- a/unmaintained/netstat-nat/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Marcin Mankiewicz -# Maintainer: -pkgname=netstat-nat -pkgver=1.4.10 -pkgrel=0 -pkgdesc="Netstat-nat displays NAT connections, managed by netfilter/iptables which comes with the > 2.4.x linux kernels." -url="http://tweegy.nl/projects/netstat-nat/" -arch="all" -license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev" -subpackages="$pkgname-doc" -source="http://tweegy.nl/download/netstat-nat-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure - make || return 1 -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" -} -md5sums="c1bbb3ee9774ebfa27c440e2d9dd7286 netstat-nat-1.4.10.tar.gz" -sha256sums="e945faa283a49f33af15de915a949c9273a230fc17154925364c547adab676ca netstat-nat-1.4.10.tar.gz" -sha512sums="2089119b26039e656fbe76701e556f7d766159c96b18968195f255e15072af37972c83a8f05edb0b767a12f0521598975673d10d8ba5e6ed6b754a927d4f069d netstat-nat-1.4.10.tar.gz" diff --git a/unmaintained/network-manager-applet/APKBUILD b/unmaintained/network-manager-applet/APKBUILD deleted file mode 100644 index 8a906f21d3..0000000000 --- a/unmaintained/network-manager-applet/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=network-manager-applet -pkgver=1.0.10 -pkgrel=0 -pkgdesc="gtk applet for network manager" -url="http://projects.gnome.org/NetworkManager" -arch="all" -license="GPL" -depends= -depends_dev= -makedepends="$depends_dev - networkmanager-dev - libgnome-keyring-dev - libnotify-dev - libsecret-dev - iso-codes-dev - " -install= -subpackages="$pkgname-dev $pkgname-lang $pkgname-doc" -source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz" - -_builddir="$srcdir"/network-manager-applet-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-introspection \ - --with-bluetooth \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="86b17e1bf1a37c649874883b587c6db6 network-manager-applet-1.0.10.tar.xz" -sha256sums="b045ac3eaa68ccbbefe91510ad67b4002a7e09d1e5ce1c4bf9a67619bd2cf0eb network-manager-applet-1.0.10.tar.xz" -sha512sums="dc13881243e5232d0c45563442f906a93c4d196a69c52c45d335f755bbc73c4d3131ba59180a102f65ca2066d40127b9db8cf85da2b41ec18efda482a9d210aa network-manager-applet-1.0.10.tar.xz" diff --git a/unmaintained/nfspy/APKBUILD b/unmaintained/nfspy/APKBUILD deleted file mode 100644 index db0e6a7116..0000000000 --- a/unmaintained/nfspy/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=nfspy -_pkgname=NfSpy -pkgver=1.0 -pkgrel=0 -pkgdesc="An ID-spoofing NFS client" -url="https://github.com/bonsaiviking/NfSpy" -arch="noarch" -license="MIT" -depends="python py-fuse" -depends_dev="" -makedepends="python-dev" -install="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/bonsaiviking/NfSpy/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="c8437ae053001efabb871a69e81d92d8 nfspy-1.0.tar.gz" -sha256sums="1b4a61eeb3b44b37326590847e8d45346dd2bcf3e1d64b8935ba4c8ce85f0119 nfspy-1.0.tar.gz" -sha512sums="dce93054e242acdfa6db78d92cdc4538b1187a981573d5aa530717db73b777acbda3570531d80d8401fc78eee848f5eebb74eafff82e4b176505c40d8d841b29 nfspy-1.0.tar.gz" diff --git a/unmaintained/nfswatch/APKBUILD b/unmaintained/nfswatch/APKBUILD deleted file mode 100644 index 55be10fbcb..0000000000 --- a/unmaintained/nfswatch/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=nfswatch -pkgver=4.99.11 -pkgrel=0 -pkgdesc="An NFS traffic monitoring tool" -url="http://nfswatch.sourceforge.net/" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="libpcap-dev ncurses-dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz - bb-gzip.patch" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="c1e5f342fab90ef8b9f4ee291cda96cc nfswatch-4.99.11.tar.gz -ca541c462acfcf58cca91fb0e8b63c63 bb-gzip.patch" diff --git a/unmaintained/nfswatch/bb-gzip.patch b/unmaintained/nfswatch/bb-gzip.patch deleted file mode 100644 index fd80bf1b31..0000000000 --- a/unmaintained/nfswatch/bb-gzip.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.orig -+++ Makefile -@@ -184,7 +184,7 @@ - *.gz) \ - SUF=`echo $(MANSUF)|sed 's/\.gz//'`; \ - $(INSTALL) -c -m 0644 nfswatch.8 $(DESTDIR)$(MANDIR)/nfswatch.$$SUF; \ -- gzip --best $(DESTDIR)$(MANDIR)/nfswatch.$$SUF; \ -+ gzip $(DESTDIR)$(MANDIR)/nfswatch.$$SUF; \ - ;; \ - *) \ - $(INSTALL) -c -m 0644 nfswatch.8 $(DESTDIR)$(MANDIR)/nfswatch.$(MANSUF); \ -@@ -199,7 +199,7 @@ - *.gz) \ - SUF=`echo $(MANSUF)|sed 's/\.gz//'`; \ - $(INSTALL) -c -m 0644 nfslogsum.8 $(DESTDIR)$(MANDIR)/nfslogsum.$$SUF; \ -- gzip --best $(DESTDIR)$(MANDIR)/nfslogsum.$$SUF; \ -+ gzip $(DESTDIR)$(MANDIR)/nfslogsum.$$SUF; \ - ;; \ - *) \ - $(INSTALL) -c -m 0644 nfslogsum.8 $(DESTDIR)$(MANDIR)/nfslogsum.$(MANSUF); \ diff --git a/unmaintained/nilfs-utils/APKBUILD b/unmaintained/nilfs-utils/APKBUILD deleted file mode 100644 index 17da71cc4b..0000000000 --- a/unmaintained/nilfs-utils/APKBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: -pkgname=nilfs-utils -pkgver=2.2.2 -pkgrel=0 -pkgdesc="Utilities for managing NILFS v2 filesystems" -url="http://nilfs.sourceforge.net" -arch="all" -license="GPLv2+" -depends="" -depends_dev="" -makedepends="$depends_dev util-linux-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://nilfs.sourceforge.net/download/nilfs-utils-$pkgver.tar.bz2 - max-input.patch - rpc-types.patch" - -_builddir="$srcdir"/nilfs-utils-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - update_config_sub || return 1 -} - -build() { - cd "$_builddir" - LDCONFIG=/bin/true \ - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-static \ - --without-selinux \ - || return 1 - sed -i -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ - -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ - libtool || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="17033394c30515c41c8ae08f83d1cbbe nilfs-utils-2.2.2.tar.bz2 -502f124b1c6def25dab791b6d56d7bb5 max-input.patch -eeeed9b3e7485b0fb164cbbada47ece7 rpc-types.patch" -sha256sums="14376ff6ca4e286030aa65cf09e224e02ae8aacd1352711e1cc083243c2f51f0 nilfs-utils-2.2.2.tar.bz2 -a389724e0b7c020ead9556a6e28ac1f203bae083979ed72c470c23ac25100cf1 max-input.patch -57c6eadb917691deeeec11339d4806a89d3e8b6344c4f4d08d19d3ab60009bfa rpc-types.patch" -sha512sums="2ac0f1f25472d8900732db9f31e6b824e7e591bf306aa18d8b55c5d93807f4f7ceb65ba7e49540a39c7f285ad63c5f4ab795d34b2a04398d91cd2beb5fc6edce nilfs-utils-2.2.2.tar.bz2 -2561be048bbe3a931d8f39073667c5f1730fb1741dc194cf3d7c89d2d8780985d15b4ac960d03fe7ad5638111ff3c4db248f899623f8fa47558c27791d9f5c53 max-input.patch -6604102ead3ee4cb261cb71b9a1dc46c8e344061724f0a5e8a6d037f6b72ee7f5a983a21f691fbc6a66e441e982b9d727eed9499925b92cebefacd9ec9dd6ea3 rpc-types.patch" diff --git a/unmaintained/nilfs-utils/max-input.patch b/unmaintained/nilfs-utils/max-input.patch deleted file mode 100644 index 5241ea55c0..0000000000 --- a/unmaintained/nilfs-utils/max-input.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- ./bin/rmcp.c.orig -+++ ./bin/rmcp.c -@@ -51,6 +51,9 @@ - #include "nilfs.h" - #include "parser.h" - -+#ifndef MAX_INPUT -+#define MAX_INPUT _POSIX_MAX_INPUT -+#endif - - #ifdef _GNU_SOURCE - #include diff --git a/unmaintained/nilfs-utils/rpc-types.patch b/unmaintained/nilfs-utils/rpc-types.patch deleted file mode 100644 index ce55c439a2..0000000000 --- a/unmaintained/nilfs-utils/rpc-types.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./sbin/mount/sundries.h.orig -+++ ./sbin/mount/sundries.h -@@ -15,7 +15,7 @@ - #include - #include - #include --#if !defined(bool_t) && !defined(__GLIBC__) -+#if !defined(bool_t) && !defined(__GLIBC__) && HAVE_RPC_TYPES_H - #include - #endif - diff --git a/unmaintained/noip/APKBUILD b/unmaintained/noip/APKBUILD deleted file mode 100644 index eb6b396fc4..0000000000 --- a/unmaintained/noip/APKBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Contributor: crow -# Maintainer: -pkgname=noip -pkgver=2.1.9 -_pkgver=2.1.9-1 -pkgrel=2 -pkgdesc="Dynamic DNS Client Updater for no-ip.com services" -url="http://www.no-ip.com/downloads.php?page=linux" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz - noip-2.1.9-flags.patch - noip-2.1.9-daemon.patch - noip.initd - " - -_builddir="$srcdir"/noip-$_pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed -i '/^#define CONFIG_FILEPATH/s/PREFIX//' noip2.c || return 1 - sed -i '/^#define CONFIG_FILENAME/s/PREFIX//' noip2.c || return 1 -} - -build() { - cd "$_builddir" - cc -Wall $CLFAGS $LDFLAGS -g -Dlinux -DPREFIX=/usr noip2.c -o noip2 -Wno-unused-but-set-variable -} - -package() { - cd "$_builddir" - - install -Dm755 "$_builddir"/noip2 \ - "$pkgdir"/usr/sbin/noip2 || return 1 - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 -} - -md5sums="3b0f5f2ff8637c73ab337be403252a60 noip-duc-linux.tar.gz -1959f3f0f57b8455c8701b9c5e5feafe noip-2.1.9-flags.patch -d41d8cd98f00b204e9800998ecf8427e noip-2.1.9-daemon.patch -db8264ecaa50e47f952b232beae6ef86 noip.initd" -sha256sums="82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593 noip-duc-linux.tar.gz -07ddd46b9fb7579e20e7f32de061aa9e4fe70bda389b1b780ce3807661b1e543 noip-2.1.9-flags.patch -e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 noip-2.1.9-daemon.patch -21b5b1d99742bd4771d160e071e4c11d0a9c7f97832ac18514ebca4beeaca23f noip.initd" -sha512sums="6c32397f31e6f4875a2429398c2627cbe52abba569830ddc1190fed3f4c6cb23e232e60b23d9fa97940f98a1c5c019a89812844f92a655c6ebf275b784015125 noip-duc-linux.tar.gz -d825dcd16ee8c424865b51d6cd7de64bbde5f772c5ff63d76014ec13b18196208ed09df5a81dd606a8c49cfc422db3ac5d6a306c81137d1447c979158bd164e8 noip-2.1.9-flags.patch -cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e noip-2.1.9-daemon.patch -d9a94817337fa79a442171e170189125258ac06443c9763d7d5096e6ea2b1d577dca662dec3c0c3df579923782fe51c84a6972c1429b3cfdaaa139fe7dd510c6 noip.initd" diff --git a/unmaintained/noip/noip-2.1.9-daemon.patch b/unmaintained/noip/noip-2.1.9-daemon.patch deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/unmaintained/noip/noip-2.1.9-flags.patch b/unmaintained/noip/noip-2.1.9-flags.patch deleted file mode 100644 index 372b582869..0000000000 --- a/unmaintained/noip/noip-2.1.9-flags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -22,7 +22,7 @@ - # ARCH=sun - - ${TGT}: Makefile ${TGT}.c -- ${CC} -Wall -g -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS} -+ ${CC} ${CFLAGS} -D${ARCH} -DPREFIX=\"${PREFIX}\" ${TGT}.c -o ${TGT} ${LIBS} ${LDFLAGS} - - install: ${TGT} - if [ ! -d ${BINDIR} ]; then mkdir -p ${BINDIR};fi diff --git a/unmaintained/noip/noip.initd b/unmaintained/noip/noip.initd deleted file mode 100644 index 141c3e5a20..0000000000 --- a/unmaintained/noip/noip.initd +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/runscript - -depend() { - use logger dns - need net - after firewall -} - -checkconfig() { - if [ ! -f /etc/no-ip2.conf ] - then - einfo "Answer the following questions about your no-ip account." - noip2 -C || return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting noip" - start-stop-daemon --quiet --start -x /usr/sbin/noip2 -- -c /etc/no-ip2.conf - eend $? "noip did not start, error code $?" -} - -stop() { - ebegin "Stopping noip" - start-stop-daemon --quiet --stop -x /usr/sbin/noip2 - noip_ecode=$? - eend $noip_ecode "Error stopping the noip daemon, error $noip_ecode" - checkconfig || return 1 - ebegin "Setting noip addresses to 0.0.0.0" - noip2 -c /etc/no-ip2.conf -i 0.0.0.0 >& /dev/null - eend $? "Failed to set noip addresses to 0.0.0.0, error $?" - return $noip_ecode -} \ No newline at end of file diff --git a/unmaintained/ntfsprogs/APKBUILD b/unmaintained/ntfsprogs/APKBUILD deleted file mode 100644 index 30aad9759f..0000000000 --- a/unmaintained/ntfsprogs/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Leonardo Arena -pkgname=ntfsprogs -pkgver=2.0.0 -pkgrel=0 -pkgdesc="User space utilities for NTFS partitions" -url="http://sourceforge.net/projects/linux-ntfs/" -arch="all" -license="GPL" -depends= -depends_dev= -makedepends="$depends_dev" -install= -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/project/linux-ntfs/NTFS%20Tools%20and%20Library/2.0.0/$pkgname-$pkgver.tar.gz" - - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - return 0 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -md5sums="2c402b647bb7aeb1d3f8ce1cc354fd68 ntfsprogs-2.0.0.tar.gz" diff --git a/unmaintained/nwipe/APKBUILD b/unmaintained/nwipe/APKBUILD deleted file mode 100644 index bafead7251..0000000000 --- a/unmaintained/nwipe/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=nwipe -pkgver=0.16 -pkgrel=0 -pkgdesc="Securely erase disks using a variety of recognized methods" -url="http://nwipe.sourceforge.net" -arch="all" -license="GPL2" -depends="" -depends_dev="" -makedepends="parted-dev ncurses-dev autoconf automake" -install="" -subpackages="" -source="http://downloads.sourceforge.net/nwipe/nwipe-$pkgver.tar.gz" -_builddir="$srcdir"/nwipe-$pkgver - -prepare() { - cd "$_builddir" - aclocal && autoconf && autoheader && automake --add-missing -} - -build() { - cd "$_builddir" - CFLAGS="$CFLAGS -D_GNU_SOURCE" \ - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="98487303370494b65df47e98649a054a nwipe-0.16.tar.gz" -sha256sums="509aebba371272764cacb446efce3f87b6a47bbc6e6717a1830b5bed4e0fb4bc nwipe-0.16.tar.gz" -sha512sums="65985b9b963e2815c5aecdf1d728c802e4b4e97cd496a8e725e8a4c9040dd20ef7f727bfcd0fc012a1f5484f79322831c932e5e4c025c7a1704a687fd956d42a nwipe-0.16.tar.gz" diff --git a/unmaintained/obexftp/APKBUILD b/unmaintained/obexftp/APKBUILD deleted file mode 100644 index b033c90037..0000000000 --- a/unmaintained/obexftp/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=obexftp -pkgver=0.23 -pkgrel=4 -pkgdesc="A tool for transfer files to/from any OBEX enabled device" -url="http://openobex.triq.net/obexftp/obexftp" -arch="all" -license="GPL" -depends= -makedepends="pkgconfig openobex-dev bluez-dev python-dev" -subpackages="$pkgname-dev $pkgname-doc $pkgname-libs py-$pkgname:py" -source="http://downloads.sourceforge.net/sourceforge/openobex/obexftp-$pkgver.tar.bz2 - obexftp-0.23-gentoo.patch" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case "$i" in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --enable-bluetooth \ - --disable-perl \ - --enable-python \ - --disable-ruby || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -libs() { - pkgdesc="OBEX shared library" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib -} - -py() { - pkgdesc="Python library to access devices via the OBEX protocol" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ -} - -md5sums="f20762061b68bc921e80be4aebc349eb obexftp-0.23.tar.bz2 -90b4fadb913673c339bbd04cebc4f9d2 obexftp-0.23-gentoo.patch" diff --git a/unmaintained/obexftp/obexftp-0.23-gentoo.patch b/unmaintained/obexftp/obexftp-0.23-gentoo.patch deleted file mode 100644 index b805bc6250..0000000000 --- a/unmaintained/obexftp/obexftp-0.23-gentoo.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Nru obexftp-0.23.orig/obexftp/client.c obexftp-0.23/obexftp/client.c ---- obexftp-0.23.orig/obexftp/client.c 2009-02-17 18:27:48.000000000 +0000 -+++ obexftp-0.23/obexftp/client.c 2009-03-22 16:12:05.000000000 +0000 -@@ -51,8 +51,6 @@ - - #ifdef HAVE_BLUETOOTH - #include "bt_kit.h" --#else --#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT - #endif /* HAVE_BLUETOOTH */ - - #include -diff -Nru obexftp-0.23.orig/apps/obexftp.c obexftp-0.23/apps/obexftp.c ---- obexftp-0.23.orig/apps/obexftp.c 2009-02-17 18:27:48.000000000 +0000 -+++ obexftp-0.23/apps/obexftp.c 2009-03-22 16:19:29.000000000 +0000 -@@ -29,6 +29,8 @@ - - #include - -+#include -+ - #ifdef HAVE_SYS_TIMES_H - #include - #endif diff --git a/unmaintained/obmenu/APKBUILD b/unmaintained/obmenu/APKBUILD deleted file mode 100644 index 6f5d35c91e..0000000000 --- a/unmaintained/obmenu/APKBUILD +++ /dev/null @@ -1,19 +0,0 @@ -# Maintainer: Michael Zhou -pkgname=obmenu -pkgver=1.0 -pkgrel=0 -pkgdesc="Graphical Openbox menu editor" -url="http://obmenu.sourceforge.net" -arch="noarch" -license="GPL" -depends="python py-gtk" -makedepends="py-setuptools" -install="" -subpackages="" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -package() { - cd "$_builddir" - python setup.py install --root=$pkgdir -} -md5sums="710036a5edc9886d6d563ce46c747432 obmenu-1.0.tar.gz" diff --git a/unmaintained/oksh/APKBUILD b/unmaintained/oksh/APKBUILD deleted file mode 100644 index d2b214c623..0000000000 --- a/unmaintained/oksh/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Contributor: Orion -# Maintainer: -pkgname=omorfi -pkgver=20150326 -pkgrel=0 -pkgdesc="Open morphology for Finnish" -url="https://github.com/flammie/omorfi" -arch="noarch" -license="GPL3" -depends="hfst bash" -depends_dev="" -makedepends="$depends_dev autoconf automake libtool zip hfst-python3" -install="" -subpackages="ormofi-doc omorfi-utils omorfi-voikko omorfi-python3" -source="$pkgname-$pkgver.tar.gz::https://github.com/flammie/omorfi/archive/$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -rf "$pkgdir"/usr/share/pkgconfig -} - -utils() { - depends="bash" - mkdir -p "$subpkgdir"/usr/ - cp -r "$pkgdir"/usr/bin "$subpkgdir"/usr/ -} - -voikko() { - depends="voikko" - mkdir -p "$subpkgdir"/usr/lib/ - cp -r "$pkgdir"/usr/lib/voikko "$subpkgdir"/usr/lib/ -} - -python3() { - depends="python3" - mkdir -p "$subpkgdir"/usr/lib/ - cp -r "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/ -} - -md5sums="6a3e7b16c85e78c0ce0e5214c2e8db7d omorfi-20150326.tar.gz" -sha256sums="359d34c93ef07d5852d53774da3454ab649d8d22b8f22bb4a7910dbaae8db82f omorfi-20150326.tar.gz" -sha512sums="618884ec8909efa23a4f77df0a934056dee4a7d235285a108381d0c5ce62d941cc7ff55f788a1618e3257a7541193fd661e1c6c78a71606473c88d68cc73ea78 omorfi-20150326.tar.gz" diff --git a/unmaintained/onesixtyone/APKBUILD b/unmaintained/onesixtyone/APKBUILD deleted file mode 100644 index 6768765620..0000000000 --- a/unmaintained/onesixtyone/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=onesixtyone -pkgver=0.3.2 -pkgrel=0 -pkgdesc="An efficient SNMP scanner" -url="http://www.phreedom.org/software/onesixtyone/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://www.phreedom.org/software/onesixtyone/releases/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -m755 -D "$_builddir"/$pkgname \ - "$pkgdir"/usr/bin/$pkgname || return 1 - install -m644 -D "$_builddir"/dict.txt \ - "$pkgdir"/usr/share/$pkgname/dict.txt || return 1 -} - -md5sums="b08ac88615c04fa50d4eeecd75882e3f onesixtyone-0.3.2.tar.gz" -sha256sums="450806718f72a75ea108e3675ca7856f15c518fcf517df68483c486c39910d02 onesixtyone-0.3.2.tar.gz" -sha512sums="8756bfd24cc4b164c2288733970d486ab2f81e0eef95e008dd5749d24cfe690ff6fbf9d1d3bf3f1a916da4d7c0e408e9783fda912fc4ac70d190f55d01cac01a onesixtyone-0.3.2.tar.gz" diff --git a/unmaintained/opal/APKBUILD b/unmaintained/opal/APKBUILD deleted file mode 100644 index ff018007b8..0000000000 --- a/unmaintained/opal/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Mika Havela -# Maintainer: Natanael Copa -pkgname=opal -pkgver=3.10.10 -pkgrel=0 -pkgdesc="Open Phone Abstraction Library" -url="http://www.opalvoip.org/" -arch="all" -license="MPLv1.0" -depends="" -depends_dev="openssl-dev ptlib-dev speex-dev" -makedepends="$depends_dev sdl-dev libtheora-dev" -install="" -subpackages="$pkgname-dev" -source="http://download.gnome.org/sources/opal/3.10/opal-$pkgver.tar.xz" - -_builddir="$srcdir"/opal-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -dev() { - default_dev - mkdir -p "$subpkgdir"/usr/share/opal/make - install -m644 "$_builddir"/opal_defs.mak \ - "$_builddir"/opal_inc.mak \ - "$subpkgdir"/usr/share/opal/make -} - -md5sums="6efa1b4c5e0ad6460019b4c6df0898d7 opal-3.10.10.tar.xz" -sha256sums="f208985003461b2743575eccac13ad890b3e5baac35b68ddef17162460aff864 opal-3.10.10.tar.xz" -sha512sums="b72a058e001b5bf69de64467e6fc90280ec83bf31f46fa9f504e921b4702450f8732c7df333b9677e04cf1d33d27efbe22056211da94b879e013f5d7bcaa8465 opal-3.10.10.tar.xz" diff --git a/unmaintained/openjpeg1/APKBUILD b/unmaintained/openjpeg1/APKBUILD deleted file mode 100644 index 9cfedcf241..0000000000 --- a/unmaintained/openjpeg1/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=openjpeg1 -pkgver=1.5.2 -pkgrel=0 -pkgdesc="An open source JPEG 2000 codec" -url="http://www.openjpeg.org" -arch="all" -license="BSD" -depends="" -depends_dev="tiff-dev libpng-dev lcms2-dev" -makedepends="$depends_dev automake autoconf libtool" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/openjpeg.mirror/openjpeg-$pkgver.tar.gz" - -_builddir="$srcdir"/openjpeg-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./bootstrap.sh || return 1 - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-shared \ - --disable-static \ - --disable-silent-rules - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="c41772c30fb1c272358b3707233134a1 openjpeg-1.5.2.tar.gz" -sha256sums="15df7b194a5d8dba0052cd21c17a4dc761149a770a907d73fffb972078c28a87 openjpeg-1.5.2.tar.gz" -sha512sums="b945cf4f8b5e3227a0c07120c94b0ed5bf30c901de73059ee1d47975f46744fb62bbe84cdb2917c6431128f400020874eb07160af870b5448ced897998b08862 openjpeg-1.5.2.tar.gz" diff --git a/unmaintained/openlldp/APKBUILD b/unmaintained/openlldp/APKBUILD deleted file mode 100644 index 868c8870a7..0000000000 --- a/unmaintained/openlldp/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Maintainer: Leonardo Arena -pkgname=openlldp -pkgver=0.4a -_realver=${pkgver/a/alpha} -pkgrel=2 -pkgdesc="Open Source implementation of the IEEE standard 802.1AB Link Layer Discovery Protocol (LLDP)" -url="http://openlldp.sourceforge.net/" -arch="all" -license="GPL" -depends= -makedepends="autoconf automake" -install= -subpackages="" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$_realver.tar.gz - procfs.patch - $pkgname.initd - $pkgname.confd" - -_builddir="$srcdir"/$pkgname-$_realver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - aclocal && autoconf && automake --add-missing || return 1 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - install -m755 -D ../../$pkgname.initd "$pkgdir"/etc/init.d/lldpd - install -m644 -D ../../$pkgname.confd "$pkgdir"/etc/conf.d/lldpd -} - -md5sums="f48ffd632b96246cbf0f5c485dea3b01 openlldp-0.4alpha.tar.gz -c1e81927d2ea0ebcfaee52e79e9122c7 procfs.patch -7e1a489d8ccdd204cac68ce87e0ce360 openlldp.initd -7ac497e5a8b2f68532816c5718f5bf62 openlldp.confd" -sha256sums="266fd0e1a15f237cfb84ae2d225996836774ea3d4c1c2e2be3a2a6927a00f2b1 openlldp-0.4alpha.tar.gz -57726f4157daec0388960c28a014796e8de18a6e1841565f2f64b14f5d4cd02f procfs.patch -9f40286ae7fea71c6e8396bac4bce5e132f399275e5d3d5375ad463ed6b961a2 openlldp.initd -01b523f3f5e1e9a99518ff309eb965406452aefb5bad024e3735970af884ad6c openlldp.confd" -sha512sums="5418678a82703a373d5aaeda924ddd34ccb002b5bfc40f243e06f8201fb5407bd46b25aea6d6e2760a1065f0928025e33dcd1dfc42dd9b436d0e5467132b176a openlldp-0.4alpha.tar.gz -1301d9d952ee0f3d8044e5eafd39ea16f9aa671597dc3fea0a57251beabd9e4f140171ddef5e32c5120d3ab42cfeb8878e863d63b4716313e4a94f24c75f0af2 procfs.patch -93ef1fc1268321a5faf760d07758ee341ba965500c11625f52fc246580e86bff7fbd73a2c1dce276ba07a34a2468c6d4a1c0f2be6b98f425c8330573bb6baa30 openlldp.initd -3817778b61974b17940ea058a1a46f19a432689cc43ab8e9f466bf71de496a61fd9c089a2be9f621556f1376f3a6ec7b8ee35ec820ecbbae0e520bea3079b804 openlldp.confd" diff --git a/unmaintained/openlldp/openlldp.confd b/unmaintained/openlldp/openlldp.confd deleted file mode 100644 index 38d9613483..0000000000 --- a/unmaintained/openlldp/openlldp.confd +++ /dev/null @@ -1,2 +0,0 @@ -# Remove existing pid file at startup -OPTS="-s" diff --git a/unmaintained/openlldp/openlldp.initd b/unmaintained/openlldp/openlldp.initd deleted file mode 100755 index 4ab856addc..0000000000 --- a/unmaintained/openlldp/openlldp.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/runscript - -NAME="lldpd" -DAEMON="/usr/sbin/$NAME" -pidfile=/var/run/$NAME.pid - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting ${NAME}" - start-stop-daemon --start --quiet --pidfile ${pidfile} \ - --exec ${DAEMON} -- ${OPTS} - eend $? -} - -stop() { - ebegin "Stopping ${NAME}" - start-stop-daemon --stop --exec ${DAEMON} - eend $? -} - diff --git a/unmaintained/openlldp/procfs.patch b/unmaintained/openlldp/procfs.patch deleted file mode 100644 index 56ea7b5d31..0000000000 --- a/unmaintained/openlldp/procfs.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- ./configure.ac.orig -+++ ./configure.ac -@@ -188,16 +188,6 @@ - AC_MSG_CHECKING([for platform OS]) - AC_MSG_RESULT($platform) - --AS_IF([test $framer = "linux"], -- [ MORELIBS="${MORELIBS} -lm" -- AC_MSG_CHECKING([for procfs support]) -- if test -r /proc/net/dev; then -- AC_MSG_RESULT(okay) -- else -- AC_MSG_ERROR([You must have ProcFS enabled in your kernel!]); -- fi], -- []) -- - AS_IF([test $framer = "generic"], - MORELIBS="${MORELIBS} -lwpcap -lpcap -ldnet", - []) diff --git a/unmaintained/opennebula/APKBUILD b/unmaintained/opennebula/APKBUILD deleted file mode 100644 index 2cc1e687a5..0000000000 --- a/unmaintained/opennebula/APKBUILD +++ /dev/null @@ -1,91 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=opennebula -pkgver=4.9.80 -pkgrel=2 -pkgdesc="Virtual management infrastructure as a service (IaaS) toolkit for cloud computing" -url="http://opennebula.org" -arch="" -license="Apache" -depends="ruby-json ruby-sequel ruby-nokogiri ruby-sqlite ruby-mysql2 ruby-nokogiri - ruby-rack14 ruby-sinatra ruby-thin ruby-crack ruby-thin ruby-net-ldap - ruby-uuidtools ruby-curb ruby-amazon-ec2 ruby-io-console bash - curl wget" -depends_dev="xmlrpc-c-dev sqlite-dev openssl-dev libxml2-dev curl-dev" -makedepends="$depends_dev scons ruby bash" -install="opennebula.pre-install" -pkgusers=oneadmin -pkggroups=oneadmin -subpackages="$pkgname-dev $pkgname-doc $pkgname-node-kvm:node_kvm" -source="http://downloads.opennebula.org/packages/opennebula-$pkgver/opennebula-$pkgver.tar.gz - opennebula.initd - opennebula.confd - getopt.patch - ssh.config - one_auth" - -_builddir="$srcdir"/opennebula-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - scons -j${JOBS:-2} || return 1 -} - -package() { - cd "$_builddir" - DESTDIR="$pkgdir" ./install.sh \ - -u $pkgusers -g $pkggroups || return 1 - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 - install -o $pkgusers -g $pkggroups -d \ - "$pkgdir"/var/lib/one/.ssh \ - "$pkgdir"/var/lib/one/.one || return 1 - install -m600 -o $pkgusers -g $pkggroups -D \ - "$srcdir"/ssh.config \ - "$pkgdir"/var/lib/one/.ssh/config || return 1 - install -m600 -o $pkgusers -g $pkggroups -D \ - "$srcdir"/one_auth \ - "$pkgdir"/var/lib/one/.one/one_auth || return 1 - # set the default emulator - echo -e "\nEMULATOR = /usr/bin/qemu-system-x86_64" >> \ - "$pkgdir"/etc/one/vmm_exec/vmm_exec_kvm.conf || return 1 -} - -node_kvm() { - pkgdesc="KVM node for OpenNebula" - arch="noarch" - install="opennebula-node-kvm.pre-install" - depends="ruby openssh qemu-x86_64 libvirt-qemu procps bash" - mkdir -p "$subpkgdir" -} - -md5sums="43ef6a658b5ae121ad4461178abdbd88 opennebula-4.9.80.tar.gz -44ecaf28b2f0293d55aa401e0ec49948 opennebula.initd -0b9c5ef240d1cb13d35b21c081e756ad opennebula.confd -8f1a346b4020b7c3e2853f42cc38d35b getopt.patch -37b82927bd6b0c1dd9cbde2a3728e719 ssh.config -3ae86352df192e0aae9fdee58532610e one_auth" -sha256sums="8e69dedd69001bce6d224661649bc3f5b1608bf87e69dd1ac5ff1e774745a3c9 opennebula-4.9.80.tar.gz -20ea2103ccd37988c1426a7e39f37c9923465e1769cc3669dc47751876f3266a opennebula.initd -296d445dfaee90c114a5cd8ecb208c495a3a22dabde13ec9ece623368f5627a1 opennebula.confd -072ad62b3ef18eb3c9d33b47acb7a867d076c3083ce561bdbffcf98bb852d663 getopt.patch -e934a2b5083a04126e5948a6abf1adfa8e557bb086010453824b44282dafdc8b ssh.config -4af1f964af87ed62f2b953e8b0269b2ad8dfbcba57b5eebddcb9e8f0cc4379da one_auth" -sha512sums="54aff34770a29262a4e3ef886957044489f4d4b1905e847522adff6ad1012df21e9c2caa46bc060fbbbb9d1ce23cb41768f28ca90af5c4e5844b054c0d0d7349 opennebula-4.9.80.tar.gz -2b87e93bce79325ecd57be053e08cc626bdec2bfd9048635452957efc88e5104cbbf74d3c2757e3e42738276b7bd37db2c9845e85570b7ff5f27117dad1d06e2 opennebula.initd -0b5c98642a74a804e36729f0a0abb5434a55ecaa5a9c29620f8940ba69b141f47fa1693a63bc22298e735bba61d3f0b15c82278b5d8071eeb19f02398332f6ae opennebula.confd -7f39da47a89011bd368217bc7cb33a1647b49d43960bf47f22b742dfa109d04e9b18ad0827d5d3b4c05bd6b31d723322b9c899520fbb2db5b4217a38bab9eefe getopt.patch -9da0adff52401e5bd50b25a0ec240e781257330f9084c55c6ca741c9179c29681ee6855bc3607d05949124559828f6fdd029b3ea01b881f472292c96489c64cf ssh.config -8aaab56ae8c8bf7d1c06a47f4f3339c9e62486270b9ab00751dd21fabee19824f05b20b3d979741886539570e761fd3227acd5ef55a04a9273f0b706f93c813f one_auth" diff --git a/unmaintained/opennebula/getopt.patch b/unmaintained/opennebula/getopt.patch deleted file mode 100644 index 3fcf7bd46e..0000000000 --- a/unmaintained/opennebula/getopt.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- opennebula-4.0.1/install.sh.orig -+++ opennebula-4.0.1/install.sh -@@ -51,11 +51,7 @@ - - PARAMETERS="hkrlcsou:g:d:" - --if [ $(getopt --version | tr -d " ") = "--" ]; then -- TEMP_OPT=`getopt $PARAMETERS "$@"` --else -- TEMP_OPT=`getopt -o $PARAMETERS -n 'install.sh' -- "$@"` --fi -+TEMP_OPT=`getopt $PARAMETERS "$@"` - - if [ $? != 0 ] ; then - usage diff --git a/unmaintained/opennebula/one_auth b/unmaintained/opennebula/one_auth deleted file mode 100644 index 8a5c9a6663..0000000000 --- a/unmaintained/opennebula/one_auth +++ /dev/null @@ -1 +0,0 @@ -admin:admin diff --git a/unmaintained/opennebula/opennebula-node-kvm.pre-install b/unmaintained/opennebula/opennebula-node-kvm.pre-install deleted file mode 100644 index fa541642ec..0000000000 --- a/unmaintained/opennebula/opennebula-node-kvm.pre-install +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -addgroup -S oneadmin 2>/dev/null -addgroup -S libvirt 2>/dev/null -adduser -S -D \ - -h /var/lib/one -s /bin/ash -G oneadmin \ - -g "OpenNebula user" oneadmin 2>/dev/null -addgroup oneadmin libvirt 2>/dev/null -addgroup oneadmin readproc 2>/dev/null -addgroup oneadmin kvm 2>/dev/null -passwd -u oneadmin 2>/dev/null - -exit 0 diff --git a/unmaintained/opennebula/opennebula.confd b/unmaintained/opennebula/opennebula.confd deleted file mode 100644 index fcda1cc4a7..0000000000 --- a/unmaintained/opennebula/opennebula.confd +++ /dev/null @@ -1,25 +0,0 @@ -# opennebula home directory -HOME="/var/lib/one" - -# opennebula user -USER="oneadmin" -GROUP="oneadmin" - -# options for oned -ONED_OPTIONS="" - -# scheduler pid file -SCHED_PIDFILE="/var/run/one/sched.pid" - -# The following command line arguments are supported by mm_shed: -# [-p port] to connect to oned - default: 2633 -# [-t timer] seconds between two scheduling actions - default: 30 -# [-m machines limit] max number of VMs managed in each scheduling action -# - default: 300 -# [-d dispatch limit] max number of VMs dispatched in each scheduling action -# - default: 30 -# [-h host dispatch] max number of VMs dispatched to a given host in each -# scheduling action - default: 1 -SCHED_OPTIONS="" - - diff --git a/unmaintained/opennebula/opennebula.initd b/unmaintained/opennebula/opennebula.initd deleted file mode 100644 index 0da1099049..0000000000 --- a/unmaintained/opennebula/opennebula.initd +++ /dev/null @@ -1,60 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -depend() { - after mysql -} - -start() { - checkconfig || return 1 - - ebegin "Starting OpenNebula daemon" - start-stop-daemon \ - --start \ - --exec /usr/bin/oned \ - --user ${USER}:${GROUP} \ - -- ${ONED_OPTIONS} - eend $? - - ebegin "Starting OpenNebula scheduler" - start-stop-daemon \ - --start \ - --exec /usr/bin/mm_sched \ - --pidfile "${SCHED_PIDFILE}" \ - --make-pidfile \ - --background \ - --user ${USER}:${GROUP} \ - -- ${SCHED_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping OpenNebula daemon" - start-stop-daemon \ - --stop \ - --exec /usr/bin/oned - eend $? - - ebegin "Stopping OpenNebula scheduler" - start-stop-daemon \ - --stop \ - --exec /usr/bin/mm_sched \ - --pidfile "${SCHED_PIDFILE}" - eend $? -} - -gen_key() { - ebegin "Generating ssh key" - su - ${USER} -c "ssh-keygen -q -t dsa -N '' -f ${HOME}/.ssh/id_dsa" - cp -p "${HOME}/.ssh/id_dsa.pub" "${HOME}/.ssh/authorized_keys" - eend $? -} - -checkconfig() { - if [ ! -f "${HOME}/.ssh/id_dsa" ] ; then - gen_key || return 1 - fi -} - diff --git a/unmaintained/opennebula/opennebula.pre-install b/unmaintained/opennebula/opennebula.pre-install deleted file mode 100644 index d54936abe7..0000000000 --- a/unmaintained/opennebula/opennebula.pre-install +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -addgroup -S oneadmin 2>/dev/null -adduser -S -D -H \ - -s /bin/ash -h /var/lib/one -G oneadmin \ - -g "OpenNebula user" oneadmin 2>/dev/null -passwd -u oneadmin 2>/dev/null - -exit 0 diff --git a/unmaintained/opennebula/ssh.config b/unmaintained/opennebula/ssh.config deleted file mode 100644 index 9fa48e01c6..0000000000 --- a/unmaintained/opennebula/ssh.config +++ /dev/null @@ -1,4 +0,0 @@ -UserKnownHostsFile /dev/null -ConnectTimeout 5 -Host * - StrictHostKeyChecking no diff --git a/unmaintained/opensips-cp/APKBUILD b/unmaintained/opensips-cp/APKBUILD deleted file mode 100644 index 1d21e1f8fc..0000000000 --- a/unmaintained/opensips-cp/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=opensips-cp -pkgver=2.0 -pkgrel=0 -pkgdesc="Web Control Panel Application for the OpenSIPS SIP server" -url="http://opensips-cp.sourceforge.net/" -arch="all" -license="GPL" -depends="php" -makedepends="" -install= -options="!strip" -#subpackages="$pkgname-doc $pkgname-dev" -source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tgz" - -build() { - return 0 -} - -package() { - mkdir -p "$pkgdir"/usr/share/webapps - cp -r "$srcdir"/$pkgname "$pkgdir"/usr/share/webapps/$pkgname -} - -md5sums="a9c3b142c7f74eb0201ae2ab0b252c32 opensips-cp_2.0.tgz" diff --git a/unmaintained/openslp/APKBUILD b/unmaintained/openslp/APKBUILD deleted file mode 100644 index cf5fd38fa0..0000000000 --- a/unmaintained/openslp/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=openslp -pkgver=2.0.0 -pkgrel=0 -pkgdesc="Open source implementation of Service Location Protocol" -url="http://www.openslp.org/" -arch="all" -license="BSD" -depends= -depends_dev="openssl-dev" -makedepends="$depends_dev bash" -install="" -subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/project/openslp/${pkgver}/2.0.0%20Release/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="18cf7940bcc444e32592cf34e84f833f openslp-2.0.0.tar.gz" -sha256sums="924337a2a8e5be043ebaea2a78365c7427ac6e9cee24610a0780808b2ba7579b openslp-2.0.0.tar.gz" -sha512sums="e7627417d45d5d0cc83d6e13d62fe192702ce7b763f1b4fb51aa5da8285405b16a34c3ac4f0a1ecffdf59557b29ec7d24925941e56ddee277c8897162f597ade openslp-2.0.0.tar.gz" diff --git a/unmaintained/otf-cantarell/45-cantarell.conf b/unmaintained/otf-cantarell/45-cantarell.conf deleted file mode 100644 index ab8645507f..0000000000 --- a/unmaintained/otf-cantarell/45-cantarell.conf +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Cantarell - - sans-serif - - - - diff --git a/unmaintained/otf-cantarell/90-non-tt-cantarell.conf b/unmaintained/otf-cantarell/90-non-tt-cantarell.conf deleted file mode 100644 index 081668b68e..0000000000 --- a/unmaintained/otf-cantarell/90-non-tt-cantarell.conf +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - Cantarell - - - true - - - hintslight - - - true - - - true - - - - - - Cantarell - - - medium - - - 10.5 - - - 13.5 - - - false - - - hintfull - - - true - - - true - - - - diff --git a/unmaintained/otf-cantarell/APKBUILD b/unmaintained/otf-cantarell/APKBUILD deleted file mode 100644 index 7cb3e9cbeb..0000000000 --- a/unmaintained/otf-cantarell/APKBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=otf-cantarell -pkgver=0.0.16 -pkgrel=0 -pkgdesc="Cantarell font family." -url="http://abattis.org/cantarell/" -arch="noarch" -license="GPL2" -depends="fontconfig" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -# added fontconfig configuration from: -# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings -source="https://download.gnome.org/sources/cantarell-fonts/0.0/cantarell-fonts-$pkgver.tar.xz - 45-cantarell.conf - 90-non-tt-cantarell.conf" - -_builddir="$srcdir"/cantarell-fonts-$pkgver - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --with-fontdir=/usr/share/fonts/$pkgname \ - --with-configdir=/etc/fonts/conf.avail \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - mkdir -p "$pkgdir"/etc/fonts/conf.avail \ - "$pkgdir"/etc/fonts/conf.d - for j in "$srcdir"/*.conf; do - install -m644 "$j" \ - "$pkgdir"/etc/fonts/conf.avail/ || return 1 - done - for k in "$pkgdir"/etc/fonts/conf.avail/*.conf; do - cd "$pkgdir"/etc/fonts/conf.d - ln -sf /etc/fonts/conf.avail/"${k##*/}" - done -} - -md5sums="6665af844817ec1390f8ae2a16feb369 cantarell-fonts-0.0.16.tar.xz -e47490547662d4ffc08a30ceef41ebae 45-cantarell.conf -ece1ab6af1de1a56c368d8fa814ad9c2 90-non-tt-cantarell.conf" -sha256sums="15bf87555321556750bc68ace360f3df420359a8ab257e15c44fb69710152f1c cantarell-fonts-0.0.16.tar.xz -26e2eaff8c5f930602be0b247aef7d67a74d7c0a30c16202c7f75bb51a770154 45-cantarell.conf -7f6b723cdd15c61b8b21912a7269d4e710af74222af8263de7cdd778110a7dbc 90-non-tt-cantarell.conf" -sha512sums="12936e56d1dd3eac3db5a02b854769ba7c8bd06bf4942c505d81ea20529ee450e07f0f347e3861a49212ef7291452716537c05375f74877246f49d186ad681b0 cantarell-fonts-0.0.16.tar.xz -eabc77c0e4b490341ca3d29cf3f6361005d3be2e2f91a9c821bd7ff0d7ee7d16e71793fbcdf42c922491c62474f421128f76f7b3412ceb833faef3a019ec94b6 45-cantarell.conf -8e67b3ce3fc57243a146ad8f52fd1062f160759a89c2b0d999e26e52dbe2c95159b3190b3ae6dc90b1df246ca57eef14442393fa764ad657a7cecfe1663a54ae 90-non-tt-cantarell.conf" diff --git a/unmaintained/otf-oswald/45-oswald.conf b/unmaintained/otf-oswald/45-oswald.conf deleted file mode 100644 index aa909676e1..0000000000 --- a/unmaintained/otf-oswald/45-oswald.conf +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Oswald - - fantasy - - - - diff --git a/unmaintained/otf-oswald/90-non-tt-oswald.conf b/unmaintained/otf-oswald/90-non-tt-oswald.conf deleted file mode 100644 index 2858a3da3b..0000000000 --- a/unmaintained/otf-oswald/90-non-tt-oswald.conf +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - Oswald - - - true - - - hintslight - - - true - - - true - - - - diff --git a/unmaintained/otf-oswald/APKBUILD b/unmaintained/otf-oswald/APKBUILD deleted file mode 100644 index aa67b96220..0000000000 --- a/unmaintained/otf-oswald/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=otf-oswald -pkgver=3.0 -_hash=9dd0521c8c06dd24998fe5d9cd644dab9cbbacca -pkgrel=0 -pkgdesc="Oswald is a reworking of the classic Gothic and Grotesque type styles." -url="http://oswaldfont.com" -arch="noarch" -license="OFL" -depends="fontconfig" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -# added fontconfig configuration from: -# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings -source="$pkgname-$pkgver.tar.gz::https://github.com/vernnobile/OswaldFont/archive/$_hash.tar.gz - 45-oswald.conf - 90-non-tt-oswald.conf" - -_builddir="$srcdir"/OswaldFont-$_hash/3.0 - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ - "$pkgdir"/etc/fonts/conf.avail \ - "$pkgdir"/etc/fonts/conf.d - - install -m644 Italic/*/src/*.otf \ - "${pkgdir}"/usr/share/fonts/"${pkgname}" || return 1 - install -m644 Roman/*/src/*.otf \ - "${pkgdir}"/usr/share/fonts/"${pkgname}" || return 1 - - for j in "$srcdir"/*.conf; do - install -m644 "$j" \ - "$pkgdir"/etc/fonts/conf.avail/ || return 1 - cd "$pkgdir"/etc/fonts/conf.d - ln -sf /etc/fonts/conf.avail/${j##*/} - done -} - -md5sums="55d151288b5f20ae263b39181dc957f8 otf-oswald-3.0.tar.gz -3abe7ce6d6444a06b49735ac94523666 45-oswald.conf -68374ff2058339aac6235774abc1134f 90-non-tt-oswald.conf" -sha256sums="a4924d1ca5c894a390cf255ca4ba1a74718ff0b718e742bc8737367cbed022fa otf-oswald-3.0.tar.gz -0e26f5ca0f056339cef370a5b62f81fccd426957f7456f271c3d1fabe83fba0b 45-oswald.conf -e16f4e34197563187d755bab934644fceebd6ac961d303fbb3c6f4e8c7265a04 90-non-tt-oswald.conf" -sha512sums="a8050eb01e3aa8ab35de9b782434aa9bd6213dd3e9cf5f5b89d50ed11639da38aec9cc69f2362ff9c8d9071add6fc5831dc8b0d25a0d426c4041c95f9dd86564 otf-oswald-3.0.tar.gz -73b1be04339ead8d22000a48180a74fdcc324dbe5f5dc9fb832c76304eaaa6473865c15d5243c6f4abf71a85d16cb042a3c4f8ae9426753cd24c7c5b8d21a603 45-oswald.conf -24921f12096b08764e9ee31de66f0a36f74a32a0b38a754c646a5d87f1ce5911fddd88db08c1e5b22632802b369854701925f312aaca241fe9bfdef20f00d3b1 90-non-tt-oswald.conf" diff --git a/unmaintained/otf-quintessential/45-quintessential.conf b/unmaintained/otf-quintessential/45-quintessential.conf deleted file mode 100644 index 0e0a0f83ad..0000000000 --- a/unmaintained/otf-quintessential/45-quintessential.conf +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Quintessential - - cursive - - - - diff --git a/unmaintained/otf-quintessential/90-non-tt-quintessential.conf b/unmaintained/otf-quintessential/90-non-tt-quintessential.conf deleted file mode 100644 index eead1b186d..0000000000 --- a/unmaintained/otf-quintessential/90-non-tt-quintessential.conf +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - Quintessential - - - true - - - hintslight - - - true - - - true - - - - diff --git a/unmaintained/otf-quintessential/APKBUILD b/unmaintained/otf-quintessential/APKBUILD deleted file mode 100644 index 047baea613..0000000000 --- a/unmaintained/otf-quintessential/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=otf-quintessential -pkgver=1.000 -pkgrel=0 -pkgdesc="The Quintessential typeface is a calligraphic lettering style based on the Italic Hand." -url="http://www.impallari.com" -arch="noarch" -license="OFL" -depends="fontconfig" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -# added fontconfig configuration from: -# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings -source="http://googlefontdirectory.googlecode.com/hg/ofl/quintessential/src/Quintessential-Regular.otf - 45-quintessential.conf - 90-non-tt-quintessential.conf" - -_builddir="$srcdir" - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ - "$pkgdir"/etc/fonts/conf.avail \ - "$pkgdir"/etc/fonts/conf.d - install -Dm644 *.otf \ - "${pkgdir}"/usr/share/fonts/"${pkgname}" || return 1 - - for j in "$srcdir"/*.conf; do - install -m644 "$j" \ - "$pkgdir"/etc/fonts/conf.avail/ || return 1 - cd "$pkgdir"/etc/fonts/conf.d - ln -sf /etc/fonts/conf.avail/${j##*/} - done -} -md5sums="a8324545c8c11da13d440855400cd0e6 Quintessential-Regular.otf -a01dd1b0fab960cc85c360dbb3f49ad4 45-quintessential.conf -12812943d242a2458b6d35eb70d97601 90-non-tt-quintessential.conf" -sha256sums="3490a47283b18390ded494938605810073354e9444e0ad3bb1525c9f40698fb8 Quintessential-Regular.otf -a2d8634952dc67fac7064acec999b4fd914a151c9ed8b548baeba627af122866 45-quintessential.conf -deb7279000a6591a594bcb485eaa84f074ef8e6e9cf810f78e504f7b9c213bbf 90-non-tt-quintessential.conf" -sha512sums="e51d17ba4f89fe33bfe8de1e3e206911ee69b14c7f3ebcf86bd972f457f36c1467d82905f9d6477f31363a37d67bb434b7d3abdca4a5fda7f5da06475337ba11 Quintessential-Regular.otf -a93d3ba56621dca42f6f58763cab0300128b2de068c94234a5fb081cfdfb4f389f873f3de663a39158c61af892d619e6cfcc66e50366bd854d6b0ad96a953cca 45-quintessential.conf -31bf9b35c61dfd4d1621570e7d7b833055daf8ac86e2da50bc94a02616d819ce0b2bf387a160221b6c011ee93f05247973beead846a154bcc9448e92318ba593 90-non-tt-quintessential.conf" diff --git a/unmaintained/otf-tex-gyre/45-tex-gyre.conf b/unmaintained/otf-tex-gyre/45-tex-gyre.conf deleted file mode 100644 index 75b332b51d..0000000000 --- a/unmaintained/otf-tex-gyre/45-tex-gyre.conf +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - TeX Gyre Adventor - - sans-serif - - - - - TeX Gyre Bonum - - serif - - - - - TeX Gyre Bonum Math - - serif - - - - - TeX Gyre Chorus - - cursive - - - - - TeX Gyre Cursor - - monospace - - - - - TeX Gyre Heros - - sans-serif - - - - - TeX Gyre Heros Cn - - sans-serif - - - - - TeX Gyre Pagella - - serif - - - - - TeX Gyre Pagella Math - - serif - - - - - TeX Gyre Schola - - serif - - - - - TeX Gyre Termes - - serif - - - - - TeX Gyre Termes Math - - serif - - - - diff --git a/unmaintained/otf-tex-gyre/90-non-tt-tex-gyre.conf b/unmaintained/otf-tex-gyre/90-non-tt-tex-gyre.conf deleted file mode 100644 index 08cf8b1bd0..0000000000 --- a/unmaintained/otf-tex-gyre/90-non-tt-tex-gyre.conf +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - TeX Gyre Adventor - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Bonum - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Bonum Math - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Chorus - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Cursor - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Heros - - - false - - - hintslight - - - true - - - true - - - - - - TeX Gyre Heros Cn - - - false - - - hintslight - - - true - - - true - - - - - - TeX Gyre Pagella - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Pagella Math - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Schola - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Termes - - - true - - - hintslight - - - true - - - true - - - - - - TeX Gyre Termes Math - - - true - - - hintslight - - - true - - - true - - - - diff --git a/unmaintained/otf-tex-gyre/APKBUILD b/unmaintained/otf-tex-gyre/APKBUILD deleted file mode 100644 index bc64038ea6..0000000000 --- a/unmaintained/otf-tex-gyre/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=otf-tex-gyre -pkgver=2.005 -pkgrel=0 -pkgdesc="The TeX Gyre (TG) Collection of Fonts." -url="http://www.gust.org.pl/projects/e-foundry/tex-gyre/" -arch="noarch" -license="GFL" -depends="fontconfig" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -# added fontconfig configuration from: -# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings -source="http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-${pkgver}otf.zip - 45-tex-gyre.conf - 90-non-tt-tex-gyre.conf" - -_builddir="$srcdir" - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ - "$pkgdir"/etc/fonts/conf.avail \ - "$pkgdir"/etc/fonts/conf.d - install -m644 *.otf \ - "${pkgdir}"/usr/share/fonts/"${pkgname}" - for j in "$srcdir"/*.conf; do - install -m644 "$j" \ - "$pkgdir"/etc/fonts/conf.avail/ || return 1 - cd "$pkgdir"/etc/fonts/conf.d - ln -sf /etc/fonts/conf.avail/${j##*/} - done -} -md5sums="3774af603b5a13d374bf4668967bff57 tg-2.005otf.zip -b4ac89e4df3907a6cd9b91642ff9c8a5 45-tex-gyre.conf -1717b23af91c9ad79618bf0174acd73a 90-non-tt-tex-gyre.conf" -sha256sums="6158bdb106e5b017743cb6e9ddb6ad4c7153e82fafadd6eb5d62c9f3064df04e tg-2.005otf.zip -e0a49b011eac2e51dbb844706825c3b84f4c9a0a1640d2d6f8b462dd29bb2fe7 45-tex-gyre.conf -63ac80d34f712bc6bb400875793e26add4905b91a5a65bc0bacf71ea886e20b3 90-non-tt-tex-gyre.conf" -sha512sums="881886115604a7ec2634f621693177278bf3f6842dd42f64460e3afd26f302c2f8847e03b7bd83b354ae0366dcdfa057f16b1cbf64e8c5172d27d2bda7b98db9 tg-2.005otf.zip -63c356e4d3ed0986c03ffdb1e37b85adc4de5e9ee5e0a5431157bd52798fa7952f1230f04e401e2e010e2531269aecff0bb6c0efbe4c573cb02393920a3b986e 45-tex-gyre.conf -0e118ea843ca40bba2461790e4dca61cf936dadb5be9efbf05add974cd7531d49ed66b900d8ab85312566a0efed79b7eb8b551b95d0e2bf9c441bb13338ecaaa 90-non-tt-tex-gyre.conf" diff --git a/unmaintained/otter-browser/APKBUILD b/unmaintained/otter-browser/APKBUILD deleted file mode 100644 index 81ef5e5d7f..0000000000 --- a/unmaintained/otter-browser/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Isaac Dunham -# Maintainer: Isaac Dunham -pkgname=otter-browser -# We build from the weekly releases. -# Unfortunately, upstream version numbering is rather annoying: -# they use -dev -pkgver=0.9.05_pre56 -_pkgver=${pkgver/_pre/-dev} -# Weekly releases may be in otter-browser-weekly or otter-browser- -_weekly=${pkgver/*_pre/weekly} - -pkgrel=0 -pkgdesc="Web browser controlled by the user, not vice-versa" -url="http://otter-browser.org/" -arch="all" -license="GPL3" -depends="" -depends_dev="" -makedepends="$depends_dev qt5-qtbase-dev qt5-qtwebkit-dev qt5-qtscript-dev - qt5-qtmultimedia-dev cmake libpng-dev jpeg-dev openssl-dev" -install="" -subpackages="$pkgname-lang" -langdir="/usr/share/$pkgname/locale" -source="http://downloads.sourceforge.net/otter-browser/otter-browser-${_weekly}/otter-browser-$_pkgver.tar.bz2" - -_builddir="$srcdir"/otter-browser-$_pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - mkdir build && cd build || return 1 - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ../ && make || return 1 -} - -package() { - cd "$_builddir"/build || return 1 - make install DESTDIR="$pkgdir" || return 1 -} - -md5sums="1cd0dd4e79907e07638c596c700cc7c0 otter-browser-0.9.05-dev56.tar.bz2" -sha256sums="1bc0542cbc152e0d07a1f21acbee1a400cee25062db2be6989732f64e5ad4158 otter-browser-0.9.05-dev56.tar.bz2" -sha512sums="3c427d50846b39e14c0d5a258ec3785b850b2426f93fa1b719f9442d0f11d687a4f82b0324521e6321538771521bd8cd9e5ebc895ed173bf491d32351edde2a4 otter-browser-0.9.05-dev56.tar.bz2" diff --git a/unmaintained/oxygen-icons/APKBUILD b/unmaintained/oxygen-icons/APKBUILD deleted file mode 100644 index 9ba50e41d7..0000000000 --- a/unmaintained/oxygen-icons/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=oxygen-icons -pkgver=4.13.3 -pkgrel=0 -pkgdesc="oxygen icon set" -url="http://www.oxygen-icons.org/" -arch="noarch" -license="LGPL" -depends= -depends_dev="cmake" -makedepends="$depends_dev automoc4" -install="" -subpackages="" -source="ftp://ftp.kde.org/pub/kde/stable/4.13.3/src/${pkgname}-${pkgver}.tar.xz" -install_if="kdebase-workspace" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DKDE4_BUILD_TESTS=OFF \ - "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="25d5e555aa82a98ee82c6ec3b23a2763 oxygen-icons-4.13.3.tar.xz" -sha256sums="1478e0224020a881bea93e7c84cde9c1592ee299333f3e762ffa8f7229641075 oxygen-icons-4.13.3.tar.xz" -sha512sums="c8b4c97d714190a1b02b75d4980aab62d4d686d0a9b3fc886c7d89de6f9478f0b4572c3a4d890304e1d51a4dd2464c1cd59e7c9f92cee02a3c866110c2bb2147 oxygen-icons-4.13.3.tar.xz" diff --git a/unmaintained/pacemaker/APKBUILD b/unmaintained/pacemaker/APKBUILD deleted file mode 100644 index a1c2887f69..0000000000 --- a/unmaintained/pacemaker/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=pacemaker -pkgver=1.1.12 -pkgrel=0 -pkgdesc="Scalable High-Availability cluster resource manager" -url="http://www.clusterlabs.org" -arch="all" -license="GPL2" -depends="" -depends_dev="glib-dev libxml2-dev libxslt-dev bzip2-dev gnutls-dev - cluster-glue-dev resource-agents-dev corosync-dev" -makedepends="$depends_dev automake autoconf libtool libltdl wget docbook-xsl" -install="" -subpackages="$pkgname-doc $pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/ClusterLabs/pacemaker/archive/Pacemaker-$pkgver.tar.gz - fix-headers.patch - fix-SIGCHLD.patch - $pkgname.initd" - -_builddir="$srcdir"/pacemaker-Pacemaker-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - libtoolize --force && aclocal -I m4 && autoheader && autoconf \ - && automake --add-missing || return 1 -} - -build() { - cd "$_builddir" - ./configure \ - --enable-fatal-warnings=no \ - --with-corosync - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - -} - -libs() { - pkgdesc="$pkgname libraries" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/lib*.so.* \ - "$subpkgdir"/usr/lib/ -} - -md5sums="c5c28013efb08441ab74a12034d9e9b4 pacemaker-1.1.12.tar.gz -fad579ccd7adf446c2037329961772ab fix-headers.patch -6af4189cd1c2dbd23f5e9e13a330de86 fix-SIGCHLD.patch -aca8b793c4a977294121615ed3ce6398 pacemaker.initd" -sha256sums="f5c72b609fac18d362880d120f08f990e8afd9388e6ff86c55cd93900ba54d9c pacemaker-1.1.12.tar.gz -48e2fb2432175eeceebfa77f00506d5175f2eaa88206d3efe92e0c8dc0a60b91 fix-headers.patch -d0118f3ce94dcc9fbccda9777a0ea864a01a08b7dfc400ea48e85795890a7603 fix-SIGCHLD.patch -0253da4a3a91d8c3aa7badd30062cbba32a0626b77f1a27db1d731d1bbe133af pacemaker.initd" -sha512sums="cf88a313f5e91f445a159a5d800d27fd891f63c082c92d3f09bfd2aff856325e8ef6e0ebab8c0b2b9cd6eb15cc593c58c8e23e888e17d5286ebc651dd096f9c1 pacemaker-1.1.12.tar.gz -fbd60b0f7117b1dd645494db12bb5730cd8aeb7b3424affe7141bf7e6bd74ab5bab65ebe7ebf718788002c413bbe003bab7d0f8424f11265fdb0515b44d1a4e6 fix-headers.patch -289a8ee8d3def43d672f321643eb7c9ab7c1c46f0a05d9532d130ca06057949cc4528defa7d564751b49aeda7a008d438750fab0050e35388277e2c593b95903 fix-SIGCHLD.patch -ccd15fb4401863e51cf7639f3f143e35a969b11a53e0fcff49f70f33e78975051c7b879a299c082951e0b10db32eb9f53a52aaadfaab27cd27cc85be742e264a pacemaker.initd" diff --git a/unmaintained/pacemaker/fix-SIGCHLD.patch b/unmaintained/pacemaker/fix-SIGCHLD.patch deleted file mode 100644 index b221600284..0000000000 --- a/unmaintained/pacemaker/fix-SIGCHLD.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./tools/crm_mon.c.orig -+++ ./tools/crm_mon.c -@@ -518,7 +518,7 @@ - - #if !defined (ON_DARWIN) && !defined (ON_BSD) - /* prevent zombies */ -- signal(SIGCLD, SIG_IGN); -+ signal(SIGCHLD, SIG_IGN); - #endif - - if (strcmp(crm_system_name, "crm_mon.cgi") == 0) { diff --git a/unmaintained/pacemaker/fix-headers.patch b/unmaintained/pacemaker/fix-headers.patch deleted file mode 100644 index c343ecfcb5..0000000000 --- a/unmaintained/pacemaker/fix-headers.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/cib/cib_remote.c.orig -+++ ./lib/cib/cib_remote.c -@@ -53,7 +53,7 @@ - #endif - - #include --#ifndef ON_BSD -+#ifdef HAVE_SGTTY_H - # include - #endif - diff --git a/unmaintained/pacemaker/pacemaker.initd b/unmaintained/pacemaker/pacemaker.initd deleted file mode 100644 index 4231425f88..0000000000 --- a/unmaintained/pacemaker/pacemaker.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/files/pacemaker.initd,v 1.1 2011/02/21 14:39:28 ultrabug Exp $ - -PIDFILE=/var/run/pacemaker.pid - -depend() { - need net corosync - use syslog -} - -start() { - nc=0 - ebegin "Starting Pacemaker Cluster Manager" - einfon "Waiting for Corosync startup ." - while true; do - /usr/sbin/corosync-cfgtool -s &>/dev/null && break - nc=$(expr $nc + 1) - if [ $nc -gt 30 ]; then - echo - eend 1 "Failed to detect Corosync startup, is it really running ?" - exit 1 - fi - sleep 1 - echo -n "." - done - echo - start-stop-daemon --start -q --exec /usr/sbin/pacemakerd \ - --pidfile "${PIDFILE}" --make-pidfile --background \ - -- -f - eend $? -} - -stop() { - ebegin "Stopping Pacemaker Cluster Manager" - start-stop-daemon --stop -q --pidfile "${PIDFILE}" - eend $? -} diff --git a/unmaintained/packagekit/APKBUILD b/unmaintained/packagekit/APKBUILD deleted file mode 100644 index 52eb8d9719..0000000000 --- a/unmaintained/packagekit/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=packagekit -pkgver=0.8.3 -pkgrel=0 -pkgdesc="Package management service" -url="http://www.packagekit.org" -arch="all" -license="GPLv2+ and LGPLv2+" -depends="" -depends_dev="" -makedepends="dbus-glib-dev polkit-dev bash intltool sqlite-dev gtk+-dev" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="http://www.packagekit.org/releases/PackageKit-$pkgver.tar.xz" - -_builddir="$srcdir"/PackageKit-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-qt \ - --disable-systemd \ - --enable-gtk-module \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="53210d9a54d3c9044e4c6edc16c99bd4 PackageKit-0.8.3.tar.xz" diff --git a/unmaintained/parcellite/APKBUILD b/unmaintained/parcellite/APKBUILD deleted file mode 100644 index 6d2f92a7e5..0000000000 --- a/unmaintained/parcellite/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: August Klein -# Maintainer: August Klein -pkgname=parcellite -pkgver=1.1.9 -pkgrel=0 -pkgdesc="A lightweight GTK+ clipboard manager" -url="http://parcellite.sourceforge.net" -arch="all" -license="GPL3" -depends="" -depends_dev="gtk+2.0-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-lang $pkgname-doc" -source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz - fix-crash.patch" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="6c3b70165c2dee9341a81a2a8481e446 parcellite-1.1.9.tar.gz -f2cc1986e573d49c92ea3d81efd5d574 fix-crash.patch" -sha256sums="cba89585082eebbe848ac1c0023cc71a0184c0db24ebc5f8a21039e46d7f11d4 parcellite-1.1.9.tar.gz -8fe1e86958d371c9fa9474fe64b203ed483f636f3f98152237402ea84b2d2cbd fix-crash.patch" -sha512sums="24721dbd4f049f65a40f4e4c6914344062d49dfb50e3cf6496c6f14d9aff02bef5b88d3a714e8176955c84b1324c9ca1f35b389e8033d1232dd3c802c40e32bf parcellite-1.1.9.tar.gz -3cfbf5e22ff33d4c33696fb2a8e4c24b91ded0a36b30188e47f56532e315184eed69e66f3dc4dd9cd1dcaa1310d9343e79d19238012acf76fb36418766e007c9 fix-crash.patch" diff --git a/unmaintained/parcellite/fix-crash.patch b/unmaintained/parcellite/fix-crash.patch deleted file mode 100644 index a8ce712e1a..0000000000 --- a/unmaintained/parcellite/fix-crash.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/preferences.c.orig 2013-11-11 14:39:32.000000000 +0400 -+++ b/src/preferences.c 2013-11-11 14:40:03.970776522 +0400 -@@ -381,7 +381,7 @@ - } - /**now go through and make sure we have no duplicates */ - for (i=0;NULL != keylist[i].name; ++i){ -- if(0 != keylist[i].keyval[0]){ -+ if(NULL != keylist[i].keyval && 0 != keylist[i].keyval[0]){ - /**see if it exists elsewhere */ - for (l=0;NULL != keylist[l].name; ++l){ - if(l!=i && 0 != keylist[l].keyval[0]){ diff --git a/unmaintained/passwdgen/APKBUILD b/unmaintained/passwdgen/APKBUILD deleted file mode 100644 index d50ae552c7..0000000000 --- a/unmaintained/passwdgen/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=passwdgen -pkgver=0.1.2 -pkgrel=0 -pkgdesc="A random password generator" -url="http://code.google.com/p/passwdgen/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="" -install="" -subpackages="$pkgname-doc" -source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="d1b954610935a26ca257e4fc7c870f1e passwdgen-0.1.2.tar.gz" diff --git a/unmaintained/pastebinc/APKBUILD b/unmaintained/pastebinc/APKBUILD deleted file mode 100644 index d9123bf203..0000000000 --- a/unmaintained/pastebinc/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Jeremy Thomerson -# Maintainer: Jeremy Thomerson -pkgname=pastebinc -pkgver=0.9.1 -pkgrel=1 -pkgdesc="utility to pipe data into a paste on pastebin.com or a similar site" -url="https://github.com/jthomerson/pastebinc" -arch="all" -license="ASL 2.0" -depends= -depends_dev= -makedepends="wget glib-dev curl-dev" -install="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/jthomerson/pastebinc/archive/RELEASE_$pkgver.tar.gz" -_builddir="$srcdir/pastebinc-RELEASE_$pkgver" - -makeparams="VERSION=$pkgver-$pkgrel CONFDIR=/etc/pastebinc prefix=/usr" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make $makeparams clean || return 1 - make $makeparams || return 1 -} - -package() { - cd "$_builddir" - make $makeparams DESTDIR="$pkgdir" install || return 1 -} - -md5sums="761446cc029b61db0870d89e97a393de pastebinc-0.9.1.tar.gz" -sha256sums="ea262fd31a2ce7952cfbe201bf990c16c537d3fe3af5b3d8e97d5c31ebfd7e07 pastebinc-0.9.1.tar.gz" -sha512sums="84f8f2879572a9c6ee5c990b7b94e2b311141bf555a4ca4afd39d24211b267b7bc87e67ecf64632d27ac6ac5901b3dd9e7bb76dfb33276c81a9931009244bc29 pastebinc-0.9.1.tar.gz" diff --git a/unmaintained/pcapy/APKBUILD b/unmaintained/pcapy/APKBUILD deleted file mode 100644 index c688dba60a..0000000000 --- a/unmaintained/pcapy/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=pcapy -pkgver=0.10.8 -pkgrel=0 -pkgdesc="Module to interfaces with the libpcap packet capture library" -url="http://oss.coresecurity.com/projects/pcapy.html" -arch="all" -license="ASL" -depends="" -depends_dev="" -makedepends="python-dev libpcap-dev" -install="" -subpackages="$pkgname-doc" -source="pcapy-$pkgver.tar.gz::https://github.com/CoreSecurity/pcapy/archive/0.10.8.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="0223adaa81726e5a4699a93bfaf0c8de pcapy-0.10.8.tar.gz" -sha256sums="b0a3b97e84489f4f0cac82a8cdb2ccdbbd5279dc0b55d3ef4866f7df3e7d4bd3 pcapy-0.10.8.tar.gz" -sha512sums="94d5ef53d069df938205770223a03d4ae753e7c53a1905687b8cb3b308d58c01cf22b340ff6b9f77225b0c733ad5f2d9d0b57a766163832efbaf216b0125554b pcapy-0.10.8.tar.gz" diff --git a/unmaintained/pdns-gui/0010-replace-bash-with-sh.patch b/unmaintained/pdns-gui/0010-replace-bash-with-sh.patch deleted file mode 100644 index e684009bff..0000000000 --- a/unmaintained/pdns-gui/0010-replace-bash-with-sh.patch +++ /dev/null @@ -1,81 +0,0 @@ ---- ./batch/install.sh.orig -+++ ./batch/install.sh -@@ -1,10 +1,11 @@ --#!/bin/bash -+#!/bin/sh - --abspath=$(cd ${0%/*} && pwd -P) -+abspath=${0%/*} -+php=$(which php) - --if [[ `which php` == "" ]]; then -+if [ -z "$php" ]; then - echo "Error: can't locate PHP CLI interpreter" - exit 1 - fi - --php -q $abspath/install.php -+$php -q $abspath/install.php ---- ./batch/install.php.orig -+++ ./batch/install.php -@@ -110,7 +110,7 @@ - echo "\n\nAnd make sure 'mod_rewrite' is enabled.\n\n"; - /** - * Interactively prompts for input without echoing to the terminal. -- * Requires a bash shell or Windows and won't work with -+ * Requires a sh shell or Windows and won't work with - * safe_mode settings (Uses `shell_exec`) - */ - function prompt_silent($prompt = "Enter Password:") { -@@ -125,12 +125,12 @@ - unlink($vbscript); - return $password; - } else { -- $command = "/usr/bin/env bash -c 'echo OK'"; -+ $command = "/usr/bin/env sh -c 'echo OK'"; - if (rtrim(shell_exec($command)) !== 'OK') { -- trigger_error("Can't invoke bash"); -+ trigger_error("Can't invoke sh"); - return; - } -- $command = "/usr/bin/env bash -c 'read -s -p \"" -+ $command = "/usr/bin/env sh -c 'read -s -p \"" - . addslashes($prompt) - . "\" mypassword && echo \$mypassword'"; - $password = rtrim(shell_exec($command)); ---- ./batch/upgrade.sh.orig -+++ ./batch/upgrade.sh -@@ -1,10 +1,11 @@ --#!/bin/bash -+#!/bin/sh - --abspath=$(cd ${0%/*} && pwd -P) -+abspath=${0%/*} -+php=$(which php) - --if [[ `which php` == "" ]]; then -+if [ -z "$php" ]; then - echo "Error: can't locate PHP CLI interpreter" - exit 1 - fi - --php -q $abspath/upgrade.php -+$php -q $abspath/upgrade.php ---- ./batch/dev/refresh.sh.orig -+++ ./batch/dev/refresh.sh -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/bin/sh - - echo "" - echo "" -@@ -15,8 +15,7 @@ - echo -n " Do you want to continue [no]: " - read confirm - --if [[ "$confirm" != "YES" ]] --then -+if [ "$confirm" != "YES" ]; then - exit 0 - fi - diff --git a/unmaintained/pdns-gui/0020-update-for-mysql55.patch b/unmaintained/pdns-gui/0020-update-for-mysql55.patch deleted file mode 100644 index 2f2800a202..0000000000 --- a/unmaintained/pdns-gui/0020-update-for-mysql55.patch +++ /dev/null @@ -1,67 +0,0 @@ ---- ./data/sql/lib.model.schema.sql.orig -+++ ./data/sql/lib.model.schema.sql -@@ -21,7 +21,7 @@ - `account` VARCHAR(40), - PRIMARY KEY (`id`), - UNIQUE KEY `name_index` (`name`) --)Type=MyISAM; -+) Engine=MyISAM; - - #----------------------------------------------------------------------------- - #-- records -@@ -47,7 +47,7 @@ - CONSTRAINT `records_FK_1` - FOREIGN KEY (`domain_id`) - REFERENCES `domains` (`id`) --)Type=MyISAM; -+) Engine=MyISAM; - - #----------------------------------------------------------------------------- - #-- supermasters -@@ -63,7 +63,7 @@ - `account` VARCHAR(40), - `id` INTEGER NOT NULL AUTO_INCREMENT, - PRIMARY KEY (`id`) --)Type=MyISAM; -+) Engine=MyISAM; - - #----------------------------------------------------------------------------- - #-- template -@@ -78,7 +78,7 @@ - `name` VARCHAR(255), - `type` VARCHAR(45), - PRIMARY KEY (`id`) --)Type=MyISAM; -+) Engine=MyISAM; - - #----------------------------------------------------------------------------- - #-- template_record -@@ -101,7 +101,7 @@ - CONSTRAINT `template_record_FK_1` - FOREIGN KEY (`template_id`) - REFERENCES `template` (`id`) --)Type=MyISAM; -+) Engine=MyISAM; - - #----------------------------------------------------------------------------- - #-- setting -@@ -115,7 +115,7 @@ - `name` VARCHAR(255) NOT NULL, - `value` TEXT, - PRIMARY KEY (`name`) --)Type=MyISAM; -+) Engine=MyISAM; - - # This restores the fkey checks, after having unset them earlier - SET FOREIGN_KEY_CHECKS = 1; ---- ./data/sql/plugins.sfPropelAuditPlugin.lib.model.schema.sql.orig -+++ ./data/sql/plugins.sfPropelAuditPlugin.lib.model.schema.sql -@@ -22,7 +22,7 @@ - `type` VARCHAR(255), - `created_at` DATETIME, - PRIMARY KEY (`id`) --)Type=MyISAM; -+) Engine=MyISAM; - - # This restores the fkey checks, after having unset them earlier - SET FOREIGN_KEY_CHECKS = 1; diff --git a/unmaintained/pdns-gui/0030-remove-zend.ze1_compatibility_mode-option.patch b/unmaintained/pdns-gui/0030-remove-zend.ze1_compatibility_mode-option.patch deleted file mode 100644 index 6c3c5a7aa8..0000000000 --- a/unmaintained/pdns-gui/0030-remove-zend.ze1_compatibility_mode-option.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- ./data/symfony/config/php.yml.orig -+++ ./data/symfony/config/php.yml -@@ -4,9 +4,6 @@ - arg_separator.output: | - & - --check: -- zend.ze1_compatibility_mode: off -- - warn: - magic_quotes_gpc: off - register_globals: off diff --git a/unmaintained/pdns-gui/0040-alpine-default-htaccess-fix.patch b/unmaintained/pdns-gui/0040-alpine-default-htaccess-fix.patch deleted file mode 100644 index 4842a425ff..0000000000 --- a/unmaintained/pdns-gui/0040-alpine-default-htaccess-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./web/.htaccess.orig -+++ ./web/.htaccess -@@ -5,7 +5,7 @@ - - # uncomment the following line, if you are having trouble - # getting no_script_name to work -- #RewriteBase / -+ RewriteBase /pdns-gui - - # we skip all files with .something - # comment the following 3 lines to allow periods in routes diff --git a/unmaintained/pdns-gui/APKBUILD b/unmaintained/pdns-gui/APKBUILD deleted file mode 100644 index 4812790124..0000000000 --- a/unmaintained/pdns-gui/APKBUILD +++ /dev/null @@ -1,63 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -pkgname=pdns-gui -pkgver=0.3.3 -pkgrel=1 -pkgdesc="Web-based GUI for administering PowerDNS" -url="http://code.google.com/p/pdns-gui/" -arch="noarch" -license="GPL" -depends="mysql php php-cli php-mysql php-xsl pdns pdns-backend-mysql" -depends_dev= -makedepends="$depends_dev" -install="$pkgname.post-install $pkgname.post-upgrade" -subpackages= -source="http://$pkgname.googlecode.com/files/$pkgname.$pkgver.tgz - 0010-replace-bash-with-sh.patch - 0020-update-for-mysql55.patch - 0030-remove-zend.ze1_compatibility_mode-option.patch - 0040-alpine-default-htaccess-fix.patch - $pkgname.apache2.conf - " - -_builddir="$srcdir"/$pkgname.$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - # copy pdns-gui - mkdir -p "$pkgdir"/usr/share/webapps/$pkgname || return 1 - cp -a "$_builddir"/* "$pkgdir"/usr/share/webapps/$pkgname/ || return 1 - - # move log directory - mkdir -p "$pkgdir"/var/log/$pkgname || return 1 - chmod 2755 "$pkgdir"/var/log/$pkgname || return 1 - rm -rf "$pkgdir"/usr/share/webapps/$pkgname/log || return 1 - ln -fs /var/log/$pkgname "$pkgdir"/usr/share/webapps/$pkgname/log \ - || return 1 - - # remove the install file - rm "$pkgdir"/usr/share/webapps/$pkgname/INSTALL || return 1 - - # install the apache2 config - install -Dm644 "$srcdir"/$pkgname.apache2.conf \ - "$pkgdir"/etc/apache2/conf.d/$pkgname.conf || return 1 -} - -md5sums="caa45c5408764ccd98cfffd69e5e976f pdns-gui.0.3.3.tgz -98acdea457a4805c77cea373a6d57029 0010-replace-bash-with-sh.patch -21683d18b30aef6082803339413f8c42 0020-update-for-mysql55.patch -8865c965b6c81dbf2d9de5f8956b0ae0 0030-remove-zend.ze1_compatibility_mode-option.patch -d621eecb4f688640cb514aff1ea8ef7d 0040-alpine-default-htaccess-fix.patch -2a4d9133e4ac0c22ed7bd408052b5de0 pdns-gui.apache2.conf" diff --git a/unmaintained/pdns-gui/pdns-gui.apache2.conf b/unmaintained/pdns-gui/pdns-gui.apache2.conf deleted file mode 100644 index 35e866853b..0000000000 --- a/unmaintained/pdns-gui/pdns-gui.apache2.conf +++ /dev/null @@ -1,7 +0,0 @@ -Alias /pdns-gui "/usr/share/webapps/pdns-gui/web" - - AllowOverride All - Options FollowSymlinks - Order allow,deny - Allow from all - diff --git a/unmaintained/pdns-gui/pdns-gui.post-install b/unmaintained/pdns-gui/pdns-gui.post-install deleted file mode 100644 index 4bc6d990a0..0000000000 --- a/unmaintained/pdns-gui/pdns-gui.post-install +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -echo "*" >&2 -echo "* pdns-gui has been installed in: /usr/share/webapps/pdns-gui" >&2 -echo "* pdns-gui logs are at : /var/log/pdns-gui" >&2 -echo "* pdns-gui apache2 config is at : /etc/apache2/conf.d/pdns-gui.conf" >&2 -echo "*" >&2 -echo "* To finish installing pdns-gui, please run the following script:" >&2 -echo "* /usr/share/webapps/pdns-gui/batch/install.sh" >&2 -echo "*" >&2 - -exit 0 diff --git a/unmaintained/pdns-gui/pdns-gui.post-upgrade b/unmaintained/pdns-gui/pdns-gui.post-upgrade deleted file mode 100644 index 7d9922a5d1..0000000000 --- a/unmaintained/pdns-gui/pdns-gui.post-upgrade +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -echo "*" >&2 -echo "* To finish upgrading pdns-gui, please run the following script:" >&2 -echo "* /usr/share/webapps/pdns-gui/batch/upgrade.sh" >&2 -echo "*" >&2 - -exit 0 diff --git a/unmaintained/perl-alien-base/APKBUILD b/unmaintained/perl-alien-base/APKBUILD deleted file mode 100644 index d9dd61fa3d..0000000000 --- a/unmaintained/perl-alien-base/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-alien-base -_pkgreal=Alien-Base -pkgver=0.023 -pkgrel=1 -pkgdesc="A base class for Alien:: modules" -url="http://search.cpan.org/dist/Alien-Base/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-file-chdir perl-sort-versions perl-file-sharedir - perl-ffi-checklib perl-capture-tiny perl-shell-config-generate - perl-shell-guess perl-uri perl-list-moreutils - " -cpanmakedepends="perl-archive-extract perl-module-build" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="d91d30f88e292170adb02f8f327340d5 Alien-Base-0.023.tar.gz" -sha256sums="dbe91f7d681c2b05046b31743711d0fd8b97d79ad26aa1ff069d7760fa9d9f56 Alien-Base-0.023.tar.gz" -sha512sums="39751304d2ba45decb34ec4f813c157e36a6b1acc367ecb791a636864b4fdd18055d1a09b0adb85978c16bc6f8b39fc767b30528adcf887474f6caafb60e36b5 Alien-Base-0.023.tar.gz" diff --git a/unmaintained/perl-alien-libgumbo/APKBUILD b/unmaintained/perl-alien-libgumbo/APKBUILD deleted file mode 100644 index 458ff82b37..0000000000 --- a/unmaintained/perl-alien-libgumbo/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-alien-libgumbo -_pkgreal=Alien-LibGumbo -pkgver=0.02 -pkgrel=2 -pkgdesc="Perl module for Alien-LibGumbo" -url="http://search.cpan.org/dist/Alien-LibGumbo/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl perl-alien-base gumbo-parser" -cpanmakedepends="perl-module-build perl-alien-base perl-archive-extract - perl-path-class libtool autoconf automake" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -source="http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/$_pkgreal-$pkgver.tar.gz" -subpackages="$pkgname-doc" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL installdirs=vendor || return 1 - else - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi -} - -build() { - ./Build PERL_MM_USE_DEFAULT=1 INSTALLDIRS=vendor || return 1 -} - -package() { - cd "$_builddir" - install -m0644 -D lib/Alien/LibGumbo.pm \ - "$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo.pm - install -m0644 -D blib/lib/Alien/LibGumbo/Install/Files.pm \ - "$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo/Install/Files.pm - install -m0644 -D blib/lib/Alien/LibGumbo/ConfigData.pm \ - "$pkgdir"/usr/share/perl5/vendor_perl/Alien/LibGumbo/ConfigData.pm - install -m0644 -D blib/libdoc/Alien::LibGumbo::ConfigData.3pm \ - "$pkgdir"/usr/share/man/man3 - mkdir -p "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib - ln -s /usr/lib/libgumbo.so.1.0.0 \ - "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib/libgumbo.so.1 - ln -s /usr/lib/libgumbo.so.1.0.0 \ - "$pkgdir"/usr/share/perl5/vendor_perl/auto/share/dist/Alien-LibGumbo/lib/libgumbo.so -} - -md5sums="9dbcfb65d56c17c09082079bbb42848c Alien-LibGumbo-0.02.tar.gz" -sha256sums="ae4a4ec476dbfe7b9a2ba30041f43e01497c9b6ab761bc88b096a17a156c235f Alien-LibGumbo-0.02.tar.gz" -sha512sums="bbfac21491382f536aea2ff0c5e4f6b8bbc31a317f42fce75dcd3ced97f3733b9fac19a06807016ee78fbc1b56e0a684469e3349c488610259ffc130224dfb04 Alien-LibGumbo-0.02.tar.gz" diff --git a/unmaintained/perl-apache-authcookie/APKBUILD b/unmaintained/perl-apache-authcookie/APKBUILD deleted file mode 100644 index e25a5a8501..0000000000 --- a/unmaintained/perl-apache-authcookie/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-apache-authcookie -_pkgreal=Apache-AuthCookie -pkgver=3.24 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Apache-AuthCookie/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="apache2-mod-perl" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev perl-class-load perl-scope-guard perl-autobox $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MS/MSCHOUT/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="757516efec96965b6bb41b3fe8bd79d9 Apache-AuthCookie-3.24.tar.gz" -sha256sums="af153ba6ad362d5834565b4484b0e06e2eca64a5d3e8d83eda6be03e23f9b5f9 Apache-AuthCookie-3.24.tar.gz" -sha512sums="023cc9c695d5b43a92a46b80a2c8ce556d89f0f3ed83d05cb068db5b50d96e1a0e4cd52491d2eb5f0e680e073bc16b36c214b2527a5c5d31eee1a37ed6cd2f60 Apache-AuthCookie-3.24.tar.gz" diff --git a/unmaintained/perl-apache-session-browseable/APKBUILD b/unmaintained/perl-apache-session-browseable/APKBUILD deleted file mode 100644 index d17313e652..0000000000 --- a/unmaintained/perl-apache-session-browseable/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Xavier Guimard -pkgname=perl-apache-session-browseable -_pkgreal=Apache-Session-Browseable -pkgver=1.1 -pkgrel=0 -pkgdesc="An implementation of Apache::Session" -url="https://metacpan.org/pod/Apache::Session::LDAP" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-apache-session" -cpanmakedepends="perl-module-build-tiny perl-dbd-sqlite perl-dbi" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends perl-module-build" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/C/CO/COUDOT/Apache-Session-Browseable-1.1.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Build.PL --installdirs vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install --destdir "$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="49be2eb67e029c78344149ab20815eec Apache-Session-Browseable-1.1.tar.gz" -sha256sums="d71924fe9b10bec196f680008fb94451b59348a6ff64e04d12c2b8ef14a178e3 Apache-Session-Browseable-1.1.tar.gz" -sha512sums="0b5cca3963179127bb988cfa4c8dd1db58256285a1b1120b99b2688aa5dbbad3e2d92c3d70acccf66d3c83ae232158978dbdbfb72d158c6af597dbbaa754c279 Apache-Session-Browseable-1.1.tar.gz" diff --git a/unmaintained/perl-apache-session-ldap/APKBUILD b/unmaintained/perl-apache-session-ldap/APKBUILD deleted file mode 100644 index 7b7e4b0ce1..0000000000 --- a/unmaintained/perl-apache-session-ldap/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: Xavier Guimard -pkgname=perl-apache-session-ldap -_pkgreal=Apache-Session-LDAP -pkgver=0.4 -pkgrel=0 -pkgdesc="An implementation of Apache::Session" -url="https://metacpan.org/pod/Apache::Session::LDAP" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-ldap perl-apache-session" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/C/CO/COUDOT/Apache-Session-LDAP-0.4.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="491e6389ef71822c0eeda7fe4019a569 Apache-Session-LDAP-0.4.tar.gz" -sha256sums="394ad609a12d4f8290cb96797cc7251b614664a2cc28be8da9ac9d53df62dadc Apache-Session-LDAP-0.4.tar.gz" -sha512sums="284986fe2fec0298b43c587816e18c56ee4197097438abdc5a5ad8035844ef1d412c848bea8385269b59f3d4f718b098a1ba0b34866b39dd19bc3018b0bbc227 Apache-Session-LDAP-0.4.tar.gz" diff --git a/unmaintained/perl-apache-test/APKBUILD b/unmaintained/perl-apache-test/APKBUILD deleted file mode 100644 index a1a454bacb..0000000000 --- a/unmaintained/perl-apache-test/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-apache-test -_pkgreal=Apache-Test -pkgver=1.38 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Apache-Test/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="dc7edf358dfea5bcf6ef4cdfe81e5dad Apache-Test-1.38.tar.gz" -sha256sums="321717f58636ed0aa85cba6d69fc01e2ccbc90ba71ec2dcc2134d8401af65145 Apache-Test-1.38.tar.gz" -sha512sums="416a89990e1947dfd970b806a28b52197165bbe1a482402aa5649f6e2692866a54cc8a4a7adcce83350e2f16aada409fd6c506c0d139b624319c5ebaa58604cc Apache-Test-1.38.tar.gz" diff --git a/unmaintained/perl-apache2-sitecontrol/APKBUILD b/unmaintained/perl-apache2-sitecontrol/APKBUILD deleted file mode 100644 index 516e88eb71..0000000000 --- a/unmaintained/perl-apache2-sitecontrol/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-apache2-sitecontrol -_pkgreal=Apache2-SiteControl -pkgver=1.05 -pkgrel=1 -pkgdesc="Perl module for Apache2-SiteControl" -url="http://search.cpan.org/dist/Apache2-SiteControl/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="apache2 perl-crypt-cast5 perl-crypt-cbc" -depends="$cpandepends" -makedepends="perl-dev perl-libapreq2 perl-apache-authcookie perl-apache-session $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AW/AWKAY/Apache2/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 -} - -build() { - cd "$_builddir" - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="28beba3deeb24b3a4980f6491eb655f7 Apache2-SiteControl-1.05.tar.gz" -sha256sums="4e9ee37e1a8e3d5df4587e9085621c2f6d253035c2cd2749cb16f6d8e7dbcc4c Apache2-SiteControl-1.05.tar.gz" -sha512sums="ee329ca6abeee251e9c7028da89e0d7fa524f39c7b4714ced2fd9b3aef976f31695c482718c6e1a8da5254cd002df5c13ef289acf6a483900cf1d174e39a6d0a Apache2-SiteControl-1.05.tar.gz" diff --git a/unmaintained/perl-app-perlfind/APKBUILD b/unmaintained/perl-app-perlfind/APKBUILD deleted file mode 100644 index 1c8282696d..0000000000 --- a/unmaintained/perl-app-perlfind/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-app-perlfind -_pkgreal=App-perlfind -pkgver=2.05 -pkgrel=0 -pkgdesc="A more knowledgeable perldoc" -url="http://search.cpan.org/dist/App-perlfind/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-test-differences perl-pod-cpandoc perl-class-trigger" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MA/MARCEL/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make # && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="4e5f0f6e5c41f78849cc788d14ae86c9 App-perlfind-2.05.tar.gz" diff --git a/unmaintained/perl-archive-extract/APKBUILD b/unmaintained/perl-archive-extract/APKBUILD deleted file mode 100644 index 1df182a97f..0000000000 --- a/unmaintained/perl-archive-extract/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-archive-extract -_pkgreal=Archive-Extract -pkgver=0.76 -pkgrel=0 -pkgdesc="Generic archive extracting mechanism" -url="http://search.cpan.org/dist/Archive-Extract/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="110a6000ce4b23da34dcbe890e069f13 Archive-Extract-0.76.tar.gz" -sha256sums="9ae7080ca70346dd7d9845c581d2e112f4513ec0f7d79c2011c0e0a2ce874cfc Archive-Extract-0.76.tar.gz" -sha512sums="b17a490fe6bd0535a3105929677e5f3fa1460aba391a4541bdcb838cca8c8d3f73f744d59b71306abc7c13835b35ebec2902692e4438f7dc8e8284372f5a7dec Archive-Extract-0.76.tar.gz" diff --git a/unmaintained/perl-authen-digestmd5/APKBUILD b/unmaintained/perl-authen-digestmd5/APKBUILD deleted file mode 100644 index 1061a6642c..0000000000 --- a/unmaintained/perl-authen-digestmd5/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=perl-authen-digestmd5 -_pkgreal=Authen-DigestMD5 -pkgver=0.04 -pkgrel=0 -pkgdesc="SASL DIGEST-MD5 authentication (RFC2831) " -url="search.cpan.org/dist/Authen-DigestMD5/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 -} - -build() { - cd "$_builddir" - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="f96d3ccc55c4bf551baf59fd8cb51421 Authen-DigestMD5-0.04.tar.gz" -sha256sums="e568b193fa2f752416102543e06be81cf0dd785b881a6e99ecb77c9a07a2fd6c Authen-DigestMD5-0.04.tar.gz" -sha512sums="b159d487738c22d9a1de2b9e068680697369b905b56370b57e3b3fb46ecea65ce2d3801b5733b032aa7ad8d320b29b551eef1c67304b53a86983e40969e0c14f Authen-DigestMD5-0.04.tar.gz" diff --git a/unmaintained/perl-class-accessor-grouped/APKBUILD b/unmaintained/perl-class-accessor-grouped/APKBUILD deleted file mode 100644 index ce5efafea4..0000000000 --- a/unmaintained/perl-class-accessor-grouped/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-class-accessor-grouped -_pkgreal=Class-Accessor-Grouped -pkgver=0.10004 -pkgrel=0 -pkgdesc="Lets you build groups of accessors" -url="http://search.cpan.org/dist/Class-Accessor-Grouped/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-class-xsaccessor perl-class-inspector perl-sub-name" -cpanmakedepends="perl-test-exception" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="7f415adb577ee181a77c6b04cd5fadab Class-Accessor-Grouped-0.10004.tar.gz" diff --git a/unmaintained/perl-class-base/APKBUILD b/unmaintained/perl-class-base/APKBUILD deleted file mode 100644 index b9bfbdacbc..0000000000 --- a/unmaintained/perl-class-base/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-class-base -_pkgreal=Class-Base -pkgver=0.03 -pkgrel=0 -pkgdesc="useful base class for other modules" -url="http://search.cpan.org/dist/Class-Base/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AB/ABW/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="213f52c9747d2ea861c92bcd02842353 Class-Base-0.03.tar.gz" diff --git a/unmaintained/perl-class-dbi-abstractsearch/APKBUILD b/unmaintained/perl-class-dbi-abstractsearch/APKBUILD deleted file mode 100644 index ea67c7e328..0000000000 --- a/unmaintained/perl-class-dbi-abstractsearch/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-class-dbi-abstractsearch -_pkgreal=Class-DBI-AbstractSearch -pkgver=0.07 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Class-DBI-AbstractSearch/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-class-dbi perl-sql-abstract-limit" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="d40e7301201135fe0246251097132a54 Class-DBI-AbstractSearch-0.07.tar.gz" diff --git a/unmaintained/perl-class-gomor/APKBUILD b/unmaintained/perl-class-gomor/APKBUILD deleted file mode 100644 index db6d2452ff..0000000000 --- a/unmaintained/perl-class-gomor/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: -pkgname=perl-class-gomor -_realname=Class-Gomor -pkgver=1.02 -pkgrel=0 -pkgdesc="Another class and object builder" -url="http://search.cpan.org/~gomor/Class-Gomor-1.02/" -arch="noarch" -license="PerlArtistic" -depends="perl" -depends_dev="" -makedepends="perl-dev" -install="" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/$_realname-$pkgver.tar.gz" -_builddir="$srcdir"/$_realname-$pkgver - -build() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="287c3b3be72fcb4a4089fe232b8b1002 Class-Gomor-1.02.tar.gz" diff --git a/unmaintained/perl-class-makemethods/APKBUILD b/unmaintained/perl-class-makemethods/APKBUILD deleted file mode 100644 index b5ffa3e600..0000000000 --- a/unmaintained/perl-class-makemethods/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-class-makemethods -_pkgreal=Class-MakeMethods -pkgver=1.009 -pkgrel=0 -pkgdesc="Generate common types of methods" -url="http://search.cpan.org/dist/Class-MakeMethods/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/E/EV/EVO/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="ab3240ff45f2351a7a8b52026728c513 Class-MakeMethods-1.009.tar.gz" diff --git a/unmaintained/perl-class-weaksingleton/APKBUILD b/unmaintained/perl-class-weaksingleton/APKBUILD deleted file mode 100644 index ba894a8967..0000000000 --- a/unmaintained/perl-class-weaksingleton/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-class-weaksingleton -_pkgreal=Class-WeakSingleton -pkgver=1.05 -pkgrel=0 -pkgdesc="A Singleton that expires when all the references to it expire" -url="http://search.cpan.org/dist/Class-WeakSingleton/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/J/JJ/JJORE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="58caaec9d9d360eb641bfb1db5cdec82 Class-WeakSingleton-1.05.tar.gz" diff --git a/unmaintained/perl-cwmp/APKBUILD b/unmaintained/perl-cwmp/APKBUILD deleted file mode 100644 index 155b12cd4f..0000000000 --- a/unmaintained/perl-cwmp/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Leonardo Arena -# Maintainer: -pkgname=perl-cwmp -pkgver=0_git20150919 -pkgrel=1 -pkgdesc="Perl ACS server implementing CWMP protocol to manage CPE clients" -url="https://github.com/dpavlin/perl-cwmp" -arch="noarch" -license="GPL2" -depends="perl-class-accessor perl-data-dump perl-file-remove - perl-file-slurp perl-hash-merge perl-module-install perl-ipc-dirqueue - perl-module-pluggable perl-pathtools perl-xml-bare perl-xml-generator - perl-yaml-syck perl-yaml-tiny perl-json-xs perl-yaml perl-common-sense - perl-types-serialiser perl-net-http perl-dbm-deep perl-term-shelly - perl-term-readkey" -depends_dev= -makedepends="perl $depends_dev" -install= -subpackages="$pkgname-doc" -source="http://dev.alpinelinux.org:/archive/$pkgname/$pkgname-$pkgver.tar.gz - " -giturl="https://github.com/dpavlin/perl-cwmp" -disturl="http://dev.alpinelinux.org:/archive/$pkgname" - -_builddir="$srcdir"/$pkgname-$pkgver - - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - for file in acs cli cpe-queue dump dump2test; do - install -D -m0755 bin/${file}.pl "$pkgdir"/usr/bin/${file}.pl - done - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="5533317abb05a198e3ffab05fa848279 perl-cwmp-0_git20150919.tar.gz" -sha256sums="b2855523017734caa80f6d1e0ed21df23571a597dcd4269ea77195feabdf4534 perl-cwmp-0_git20150919.tar.gz" -sha512sums="92211a11c7b23a939211aca51e5f26856fd4451c0b9f0743f622c1df2fa934020dd1bb9427947c668462a9beae106c08366167080556a52179e6b92a76e35588 perl-cwmp-0_git20150919.tar.gz" diff --git a/unmaintained/perl-data-section/APKBUILD b/unmaintained/perl-data-section/APKBUILD deleted file mode 100644 index a907d2ec30..0000000000 --- a/unmaintained/perl-data-section/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-data-section -_pkgreal=Data-Section -pkgver=0.101621 -pkgrel=0 -pkgdesc="read multiple hunks of data out of your DATA section" -url="http://search.cpan.org/dist/Data-Section/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-mro-compat perl-sub-exporter" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="573fd1a74356b13116118d86084a4693 Data-Section-0.101621.tar.gz" diff --git a/unmaintained/perl-data-types/APKBUILD b/unmaintained/perl-data-types/APKBUILD deleted file mode 100644 index 831ed852c4..0000000000 --- a/unmaintained/perl-data-types/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-data-types -_pkgreal=Data-Types -pkgver=0.09 -pkgrel=0 -pkgdesc="Validate and convert data types." -url="http://search.cpan.org/dist/Data-Types/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="13fd546f9306eff1fa3e8d4e79a5d9f3 Data-Types-0.09.tar.gz" diff --git a/unmaintained/perl-dbm-deep/APKBUILD b/unmaintained/perl-dbm-deep/APKBUILD deleted file mode 100644 index 9034ef1e23..0000000000 --- a/unmaintained/perl-dbm-deep/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-dbm-deep -_pkgreal=DBM-Deep -pkgver=2.0012 -pkgrel=0 -pkgdesc="Perl module for DBM-Deep" -url="http://search.cpan.org/dist/DBM-Deep/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-module-build perl-test-deep perl-test-exception perl-test-warn" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RK/RKINYON/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="da911dada2c978ea6bd4d1bac4b4ba46 DBM-Deep-2.0012.tar.gz" -sha256sums="737f06debe60aa9642ba072335f8d8bdf1afd78bde5c4fedfb0453f70a94beed DBM-Deep-2.0012.tar.gz" -sha512sums="6a57a3c819493b9b1f3276aa72e8508c6080e9ac07a3543cf4948de98a9f7946b09489d2f00aa0b2f2511858d00bdae0bc6922464d6bced1703749ef7beb3cfd DBM-Deep-2.0012.tar.gz" diff --git a/unmaintained/perl-devel-checkos/APKBUILD b/unmaintained/perl-devel-checkos/APKBUILD deleted file mode 100644 index b720962f98..0000000000 --- a/unmaintained/perl-devel-checkos/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-devel-checkos -_pkgreal=Devel-CheckOS -pkgver=1.76 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Devel-CheckOS/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-data-compare perl-file-find-rule" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="700ce608fed7a0c0867371e6a6619098 Devel-CheckOS-1.76.tar.gz" -sha256sums="f83fb4cb8de060f607214b1e88c98ac6c4e065371e646fe896f16ea887aecb0c Devel-CheckOS-1.76.tar.gz" -sha512sums="e915281fdd57e6d804a7c2cd1c4fe5114ca02f61f7cc0ef0e9a9c8d23cb54f793d433804a301cc02d9a83fee34b71d9876795b133114c9697703ab7b1681353e Devel-CheckOS-1.76.tar.gz" diff --git a/unmaintained/perl-email-sender/APKBUILD b/unmaintained/perl-email-sender/APKBUILD deleted file mode 100644 index ac0d8fa6b4..0000000000 --- a/unmaintained/perl-email-sender/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-email-sender -_pkgreal=Email-Sender -pkgver=0.120002 -pkgrel=0 -pkgdesc="a library for sending email" -url="http://search.cpan.org/dist/Email-Sender/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-list-moreutils perl-capture-tiny perl-moose perl-email-address perl-email-simple perl-throwable perl-email-abstract perl-try-tiny" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="8671410f17dc316d925bbcdeb97af9c6 Email-Sender-0.120002.tar.gz" diff --git a/unmaintained/perl-exporter-renaming/APKBUILD b/unmaintained/perl-exporter-renaming/APKBUILD deleted file mode 100644 index 7344ef8c65..0000000000 --- a/unmaintained/perl-exporter-renaming/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-exporter-renaming -_pkgreal=Exporter-Renaming -pkgver=1.19 -pkgrel=0 -pkgdesc="Allow renaming of symbols on import" -url="http://search.cpan.org/dist/Exporter-Renaming/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AN/ANNO/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="5af9825c999cd8e5433009ebb430361f Exporter-Renaming-1.19.tar.gz" diff --git a/unmaintained/perl-extutils-parsexs/APKBUILD b/unmaintained/perl-extutils-parsexs/APKBUILD deleted file mode 100644 index 5dabdb1af8..0000000000 --- a/unmaintained/perl-extutils-parsexs/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-extutils-parsexs -_pkgreal=ExtUtils-ParseXS -pkgver=3.22 -pkgrel=0 -pkgdesc="converts Perl XS code into C code" -url="http://search.cpan.org/dist/ExtUtils-ParseXS/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="bf1c862d9b9806eb85408bc6c64583d2 ExtUtils-ParseXS-3.22.tar.gz" -sha256sums="04e57d4f080f71b4ea1e213c9bbf5391d5652f77ac82f3c5dbc480545d1f290e ExtUtils-ParseXS-3.22.tar.gz" -sha512sums="ef303f5b77e66e9ca4c8c000857a0dc87432b4d53fd70b80ade53c4dd1bcb2bb75cb736c1c2dfdea3233979148c8e157003a7d5d4cb83f1fff4cc2692d13f852 ExtUtils-ParseXS-3.22.tar.gz" diff --git a/unmaintained/perl-ffi-checklib/APKBUILD b/unmaintained/perl-ffi-checklib/APKBUILD deleted file mode 100644 index 65ef0113d3..0000000000 --- a/unmaintained/perl-ffi-checklib/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-ffi-checklib -_pkgreal=FFI-CheckLib -pkgver=0.14 -pkgrel=0 -pkgdesc="Check that a library is available for FFI" -url="http://search.cpan.org/dist/FFI-CheckLib/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="4b13b4f090a19a6dfccdc9f2cd4221c7 FFI-CheckLib-0.14.tar.gz" -sha256sums="03dd7474e427d22e056b2af9c595e5fc661b4f4ca010127fb285b00cf7aa616f FFI-CheckLib-0.14.tar.gz" -sha512sums="de675d055c6883f53fd82892c4e2d03eeafa51802f98516ca09512b4b5c88de91d967d3d9f91d979ddce031c40584da67dffe286567ca5a9231f97a2e30cd483 FFI-CheckLib-0.14.tar.gz" diff --git a/unmaintained/perl-file-chdir/APKBUILD b/unmaintained/perl-file-chdir/APKBUILD deleted file mode 100644 index fe8cf9ecaa..0000000000 --- a/unmaintained/perl-file-chdir/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-file-chdir -_pkgreal=File-chdir -pkgver=0.1010 -pkgrel=0 -pkgdesc="a more sensible way to change directories" -url="http://search.cpan.org/dist/File-chdir/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="aacfafa4a8f13d45be67451e0f9b483e File-chdir-0.1010.tar.gz" -sha256sums="efc121f40bd7a0f62f8ec9b8bc70f7f5409d81cd705e37008596c8efc4452b01 File-chdir-0.1010.tar.gz" -sha512sums="0a9390b48d49c2ac0e2f8b409396a6a2ea3518823d1b6d8c23bbf19a438b92d1e784dcf3bc7c0d43b0365b0620557aea1f8d9ef224b68ca9c472fefa8fe1adab File-chdir-0.1010.tar.gz" diff --git a/unmaintained/perl-file-desktopentry/APKBUILD b/unmaintained/perl-file-desktopentry/APKBUILD deleted file mode 100644 index 6175a129fc..0000000000 --- a/unmaintained/perl-file-desktopentry/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Timo Teräs -# Maintainer: Timo Teräs -pkgname=perl-file-desktopentry -_pkgreal=File-DesktopEntry -pkgver=0.08 -pkgrel=0 -pkgdesc="Module to handle .desktop files" -url="http://search.cpan.org/dist/File-DesktopEntry/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-file-basedir " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MI/MICHIELB/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="c2a136852d514552a85ee9392060947e File-DesktopEntry-0.08.tar.gz" -sha256sums="1e51b962f21fb9ce31df88210e305605f48f595845eed536c1f049cf0de09486 File-DesktopEntry-0.08.tar.gz" -sha512sums="bb57c7c3c13980a3cd77255e295e130b0056a54e808bf332ed237ee952328f7f4bb419a5df57de20aabf334e889f4f667fe4e209e10525fdb94ee1f7e8ee8cb8 File-DesktopEntry-0.08.tar.gz" diff --git a/unmaintained/perl-file-find-rule/APKBUILD b/unmaintained/perl-file-find-rule/APKBUILD deleted file mode 100644 index 808713c076..0000000000 --- a/unmaintained/perl-file-find-rule/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-file-find-rule -_pkgreal=File-Find-Rule -pkgver=0.34 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/File-Find-Rule/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-text-glob perl-number-compare" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="a7aa9ad4d8ee87b2a77b8e3722768712 File-Find-Rule-0.34.tar.gz" -sha256sums="7e6f16cc33eb1f29ff25bee51d513f4b8a84947bbfa18edb2d3cc40a2d64cafe File-Find-Rule-0.34.tar.gz" -sha512sums="97328a86578942d214f7ac530cc88fc84dc7ef2018db06b8c0c58907a4045e90c9c97d1848ed4f16838bd8ca591aca4fa9f24649c81fd8dfe9efe7a2f9f2722c File-Find-Rule-0.34.tar.gz" diff --git a/unmaintained/perl-file-homedir/APKBUILD b/unmaintained/perl-file-homedir/APKBUILD deleted file mode 100644 index 0ae2a164ea..0000000000 --- a/unmaintained/perl-file-homedir/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-file-homedir -_pkgreal=File-HomeDir -pkgver=1.00 -pkgrel=0 -pkgdesc="Find your home and other directories on any platform" -url="http://search.cpan.org/dist/File-HomeDir/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-file-which" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="aa290cab9db52e2f76280fd1febf794e File-HomeDir-1.00.tar.gz" diff --git a/unmaintained/perl-file-mimeinfo/APKBUILD b/unmaintained/perl-file-mimeinfo/APKBUILD deleted file mode 100644 index b75d2e67d8..0000000000 --- a/unmaintained/perl-file-mimeinfo/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Timo Teräs -# Maintainer: Timo Teräs -pkgname=perl-file-mimeinfo -_pkgreal=File-MimeInfo -pkgver=0.26 -pkgrel=0 -pkgdesc="Determine file types" -url="http://search.cpan.org/dist/File-MimeInfo/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-file-desktopentry perl-file-basedir " -depends="$cpandepends shared-mime-info" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MI/MICHIELB/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="1caf2827a845d8b734ea1c357bd3d89c File-MimeInfo-0.26.tar.gz" -sha256sums="544f58631a383460754a233a1cb00572c57caa04cc3c11fa7c242caf5f89ceb3 File-MimeInfo-0.26.tar.gz" -sha512sums="ac63d16a1c5761f853e639a020f38cdebb861ea60a6868e6279c15bc2447fd6f7042396e77f116d00c7c858fe265ac84809bf24e8f5c355253442ef21fd40368 File-MimeInfo-0.26.tar.gz" diff --git a/unmaintained/perl-file-type/APKBUILD b/unmaintained/perl-file-type/APKBUILD deleted file mode 100644 index dc75bef16b..0000000000 --- a/unmaintained/perl-file-type/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-file-type -_pkgreal=File-Type -pkgver=0.22 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/File-Type/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PM/PMISON/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="4be3b0b7000b325c60351fcc8a04815d File-Type-0.22.tar.gz" diff --git a/unmaintained/perl-font-ttf/APKBUILD b/unmaintained/perl-font-ttf/APKBUILD deleted file mode 100644 index 7440921344..0000000000 --- a/unmaintained/perl-font-ttf/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=perl-font-ttf -_pkgreal=Font-TTF -pkgver=1.05 -pkgrel=0 -pkgdesc="TTF font support for Perl" -url="http://search.cpan.org/dist/Font-TTF/" -arch="noarch" -license="Artistic-2" -cpandepends="perl-io-string" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MH/MHOSKEN/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name *.txt -o -name *.pod -o -name .packlist -o -name ttfmod.pl \) -delete || return 1 - mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl - rm -fr "$pkgdir"/usr/share/perl5 -} - -md5sums="a9d0acf4cb9ebaee875d71732b83dfe5 Font-TTF-1.05.tar.gz" -sha256sums="26c48e4e76e00f0ac00766b3cfba79f0cb8cbf005b7a39033f0e8e0d9eeafb50 Font-TTF-1.05.tar.gz" -sha512sums="7288a2de63fc92c36f3706f365b2ea886e37361b13400a14f940961b0263f6492b02f73048c653bdcd5c5d1bb714977f3c5326b7217dcf3683b16d5048cd1e63 Font-TTF-1.05.tar.gz" diff --git a/unmaintained/perl-geo-ip/APKBUILD b/unmaintained/perl-geo-ip/APKBUILD deleted file mode 100644 index 524f369eaa..0000000000 --- a/unmaintained/perl-geo-ip/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=perl-geo-ip -_pkgreal=Geo-IP -pkgver=1.45 -pkgrel=0 -pkgdesc="Look up location and network information by IP Address" -url="http://search.cpan.org/dist/Geo-IP/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MA/MAXMIND/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete - mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl - rm -fr "$pkgdir"/usr/share/perl5 -} - -md5sums="781fbf2a6b6505e86e3e5ebe05254928 Geo-IP-1.45.tar.gz" -sha256sums="0eb765c238dde4a29d5c863d475c72078e5361deab2cfc168b9285bc049e3662 Geo-IP-1.45.tar.gz" -sha512sums="0737459b50251f64a0230176721e6a0cf7fb701451b3488c0a0628a183233b5346b7311a80fe35752104ab6812c6791cd4bafbbfa9e7ff51aa6bd4d489655af3 Geo-IP-1.45.tar.gz" diff --git a/unmaintained/perl-glib-ex-connectproperties/APKBUILD b/unmaintained/perl-glib-ex-connectproperties/APKBUILD deleted file mode 100644 index 8b37e021e9..0000000000 --- a/unmaintained/perl-glib-ex-connectproperties/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-glib-ex-connectproperties -_pkgreal=Glib-Ex-ConnectProperties -pkgver=19 -pkgrel=0 -pkgdesc="Link properties between objects." -url="http://search.cpan.org/dist/Glib-Ex-ConnectProperties/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-glib-ex-objectbits" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="e302149bc99d4eeb081e449f066d0f34 Glib-Ex-ConnectProperties-19.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-celllayout-base/APKBUILD b/unmaintained/perl-gtk2-ex-celllayout-base/APKBUILD deleted file mode 100644 index acfcc120a6..0000000000 --- a/unmaintained/perl-gtk2-ex-celllayout-base/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-celllayout-base -_pkgreal=Gtk2-Ex-CellLayout-Base -pkgver=5 -pkgrel=0 -pkgdesc="Basic Gtk2::CellLayout interface implementation." -url="http://search.cpan.org/dist/Gtk2-Ex-CellLayout-Base/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="c5e9a6f32076a9c1d25121408b0a7581 Gtk2-Ex-CellLayout-Base-5.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-clock/APKBUILD b/unmaintained/perl-gtk2-ex-clock/APKBUILD deleted file mode 100644 index dcf2b8a0a4..0000000000 --- a/unmaintained/perl-gtk2-ex-clock/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-clock -_pkgreal=Gtk2-Ex-Clock -pkgver=15 -pkgrel=0 -pkgdesc="Simple digital clock widget." -url="http://search.cpan.org/dist/Gtk2-Ex-Clock/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-glib-ex-objectbits perl-gtk2 perl-i18n-langinfo-wide perl-tie-tz perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="98a5caaf4fe205f685b0504e2ffff501 Gtk2-Ex-Clock-15.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-dashes/APKBUILD b/unmaintained/perl-gtk2-ex-dashes/APKBUILD deleted file mode 100644 index 0444d22b38..0000000000 --- a/unmaintained/perl-gtk2-ex-dashes/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-dashes -_pkgreal=Gtk2-Ex-Dashes -pkgver=2 -pkgrel=0 -pkgdesc="Widget drawing a line of dashes." -url="http://search.cpan.org/dist/Gtk2-Ex-Dashes/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="0849b59eed8a8dac3ac2bb3867f52e85 Gtk2-Ex-Dashes-2.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-datasheet-dbi/APKBUILD b/unmaintained/perl-gtk2-ex-datasheet-dbi/APKBUILD deleted file mode 100644 index c1ebbb7e97..0000000000 --- a/unmaintained/perl-gtk2-ex-datasheet-dbi/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-datasheet-dbi -_pkgreal=Gtk2-Ex-Datasheet-DBI -pkgver=2.1 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Gtk2-Ex-Datasheet-DBI/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-gtk2 perl-dbi perl-gtk2-ex-dialogs perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DK/DKASAK/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="728708c2924a9ff08a21def204241fe1 Gtk2-Ex-Datasheet-DBI-2.1.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-datespinner/APKBUILD b/unmaintained/perl-gtk2-ex-datespinner/APKBUILD deleted file mode 100644 index 1026023b97..0000000000 --- a/unmaintained/perl-gtk2-ex-datespinner/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-datespinner -_pkgreal=Gtk2-Ex-DateSpinner -pkgver=8 -pkgrel=0 -pkgdesc="Date entry widget using spin buttons." -url="http://search.cpan.org/dist/Gtk2-Ex-DateSpinner/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-gtk2-ex-widgetbits perl-date-calc perl-libintl-perl \ - perl-carp-clan perl-test-weaken" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="ab3c996eabdda7ace14e14b1d156a6cf Gtk2-Ex-DateSpinner-8.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-dialogs/APKBUILD b/unmaintained/perl-gtk2-ex-dialogs/APKBUILD deleted file mode 100644 index cc30a1ceb9..0000000000 --- a/unmaintained/perl-gtk2-ex-dialogs/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-dialogs -_pkgreal=Gtk2-Ex-Dialogs -pkgver=0.11 -pkgrel=0 -pkgdesc="Useful tools for Gnome2/Gtk2 Perl GUI design." -url="http://search.cpan.org/dist/Gtk2-Ex-Dialogs/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-gtk2 perl-file-type perl-gtk2-ex-utils" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KC/KCK/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="1ad86e1b3088971835a9393c710dbbfc Gtk2-Ex-Dialogs-0.11.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-dragger/APKBUILD b/unmaintained/perl-gtk2-ex-dragger/APKBUILD deleted file mode 100644 index 754e71a6af..0000000000 --- a/unmaintained/perl-gtk2-ex-dragger/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-dragger -_pkgreal=Gtk2-Ex-Dragger -pkgver=10 -pkgrel=0 -pkgdesc="Mouse drag to move widget contents." -url="http://search.cpan.org/dist/Gtk2-Ex-Dragger/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-gtk2-ex-widgetbits" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="f8f6486d070e3be242e48fdc79a245b1 Gtk2-Ex-Dragger-10.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-errortextdialog/APKBUILD b/unmaintained/perl-gtk2-ex-errortextdialog/APKBUILD deleted file mode 100644 index bdd065b4ad..0000000000 --- a/unmaintained/perl-gtk2-ex-errortextdialog/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-errortextdialog -_pkgreal=Gtk2-Ex-ErrorTextDialog -pkgver=11 -pkgrel=0 -pkgdesc="Dialog showing error messages in a TextView." -url="http://search.cpan.org/dist/Gtk2-Ex-ErrorTextDialog/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-devel-globaldestruction \ - perl-test-weaken perl-gtk2-ex-widgetbits perl-libintl-perl" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="09b9fadf067c2f28abd0d0bc96ed553f Gtk2-Ex-ErrorTextDialog-11.tar.gz" -sha256sums="8f25275869fd372db38007a651d03567e16d861a6cb38dbb119d0975558c2b9b Gtk2-Ex-ErrorTextDialog-11.tar.gz" -sha512sums="c302f77f9d7e73633a4da8c9dcc7862cfcf5bacc4b939b3d70f140780691dbe1a27fdbabaac81b5f69b9afde5ab884ebd6918e6020ed067c9b41c70e3fb32916 Gtk2-Ex-ErrorTextDialog-11.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-history/APKBUILD b/unmaintained/perl-gtk2-ex-history/APKBUILD deleted file mode 100644 index a30e4d6288..0000000000 --- a/unmaintained/perl-gtk2-ex-history/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-history -_pkgreal=Gtk2-Ex-History -pkgver=8 -pkgrel=0 -pkgdesc="History of current, back and forward places for user navigation." -url="http://search.cpan.org/dist/Gtk2-Ex-History/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-connectproperties perl-gtk2-ex-menuview perl-gtk2-ex-widgetbits \ - perl-test-weaken perl-libintl-perl perl-gtk2-ex-dashes perl-glib-ex-objectbits" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="75310cb5df85d9acf0932178be3a93fd Gtk2-Ex-History-8.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-menuview/APKBUILD b/unmaintained/perl-gtk2-ex-menuview/APKBUILD deleted file mode 100644 index eed503636e..0000000000 --- a/unmaintained/perl-gtk2-ex-menuview/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-menuview -_pkgreal=Gtk2-Ex-MenuView -pkgver=4 -pkgrel=0 -pkgdesc="Menu of items from a TreeModel." -url="http://search.cpan.org/dist/Gtk2-Ex-MenuView/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="255db85606ed8c26c5db9f0675401cfb Gtk2-Ex-MenuView-4.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-noshrink/APKBUILD b/unmaintained/perl-gtk2-ex-noshrink/APKBUILD deleted file mode 100644 index 70f05d606f..0000000000 --- a/unmaintained/perl-gtk2-ex-noshrink/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-noshrink -_pkgreal=Gtk2-Ex-NoShrink -pkgver=4 -pkgrel=0 -pkgdesc="Non-shrinking container widget for Gtk." -url="http://search.cpan.org/dist/Gtk2-Ex-NoShrink/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="afaa989868aa3560d593a7fda4cb86ac Gtk2-Ex-NoShrink-4.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-numaxis/APKBUILD b/unmaintained/perl-gtk2-ex-numaxis/APKBUILD deleted file mode 100644 index 948bc9f80e..0000000000 --- a/unmaintained/perl-gtk2-ex-numaxis/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-numaxis -_pkgreal=Gtk2-Ex-NumAxis -pkgver=5 -pkgrel=0 -pkgdesc="Widget drawing a numbered axis." -url="http://search.cpan.org/dist/Gtk2-Ex-NumAxis/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-math-round perl-glib-ex-objectbits perl-gtk2-ex-widgetbits" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="22ab718d7adb65569fa3f9d534200686 Gtk2-Ex-NumAxis-5.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-tickerview/APKBUILD b/unmaintained/perl-gtk2-ex-tickerview/APKBUILD deleted file mode 100644 index 45e393a9e2..0000000000 --- a/unmaintained/perl-gtk2-ex-tickerview/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-tickerview -_pkgreal=Gtk2-Ex-TickerView -pkgver=15 -pkgrel=0 -pkgdesc="Scrolling ticker or newsbar view widget." -url="http://search.cpan.org/dist/Gtk2-Ex-TickerView/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-gtk2-ex-celllayout-base perl-gtk2-ex-widgetbits" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="99a57031526e88444d0305a9635a49c2 Gtk2-Ex-TickerView-15.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-treemodelfilter-dragdest/APKBUILD b/unmaintained/perl-gtk2-ex-treemodelfilter-dragdest/APKBUILD deleted file mode 100644 index 4959c7909f..0000000000 --- a/unmaintained/perl-gtk2-ex-treemodelfilter-dragdest/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-treemodelfilter-dragdest -_pkgreal=Gtk2-Ex-TreeModelFilter-DragDest -pkgver=3 -pkgrel=0 -pkgdesc="Add drag destination capability to TreeModelFilter objects." -url="http://search.cpan.org/dist/Gtk2-Ex-TreeModelFilter-DragDest/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="6a20be00c58b261679b458880c9ed1aa Gtk2-Ex-TreeModelFilter-DragDest-3.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-utils/APKBUILD b/unmaintained/perl-gtk2-ex-utils/APKBUILD deleted file mode 100644 index d93b1bf9e9..0000000000 --- a/unmaintained/perl-gtk2-ex-utils/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-utils -_pkgreal=Gtk2-Ex-Utils -pkgver=0.09 -pkgrel=0 -pkgdesc="Extra Gtk2 Utilities for working with Gnome2/Gtk2 in Perl." -url="http://search.cpan.org/dist/Gtk2-Ex-Utils/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-gtk2 perl-glib perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KC/KCK/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="076bb6914470fb077f7028fef0a795f8 Gtk2-Ex-Utils-0.09.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-widgetcursor/APKBUILD b/unmaintained/perl-gtk2-ex-widgetcursor/APKBUILD deleted file mode 100644 index b90b06ac3a..0000000000 --- a/unmaintained/perl-gtk2-ex-widgetcursor/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-widgetcursor -_pkgreal=Gtk2-Ex-WidgetCursor -pkgver=15 -pkgrel=0 -pkgdesc="Mouse pointer cursor management for Gtk widgets." -url="http://search.cpan.org/dist/Gtk2-Ex-WidgetCursor/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-pango" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="58ccb2b931393b8804b95f2d297574c4 Gtk2-Ex-WidgetCursor-15.tar.gz" diff --git a/unmaintained/perl-gtk2-ex-xor/APKBUILD b/unmaintained/perl-gtk2-ex-xor/APKBUILD deleted file mode 100644 index d65cbd95a3..0000000000 --- a/unmaintained/perl-gtk2-ex-xor/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-gtk2-ex-xor -_pkgreal=Gtk2-Ex-Xor -pkgver=22 -pkgrel=0 -pkgdesc="Helpers for Gtk2 widgets." -url="http://search.cpan.org/dist/Gtk2-Ex-Xor/" -arch="noarch" -license="open_source" -cpandepends="perl-glib perl-gtk2 perl-glib-ex-objectbits perl-tie-refhash-weak perl-gtk2-ex-widgetbits perl-gtk2-ex-widgetcursor" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="b2dc0560ab606c21f43dcb7e338a64c5 Gtk2-Ex-Xor-22.tar.gz" diff --git a/unmaintained/perl-html-form/APKBUILD b/unmaintained/perl-html-form/APKBUILD deleted file mode 100644 index 8f95823fd7..0000000000 --- a/unmaintained/perl-html-form/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-html-form -_pkgreal=HTML-Form -pkgver=6.03 -pkgrel=0 -pkgdesc="Class that represents an HTML form element" -url="http://search.cpan.org/dist/HTML-Form/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-http-message perl-uri perl-html-parser perl-html-tagset" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="fa6c2680207ed4fef5ea2ef09c210614 HTML-Form-6.03.tar.gz" diff --git a/unmaintained/perl-html-gumbo/APKBUILD b/unmaintained/perl-html-gumbo/APKBUILD deleted file mode 100644 index c8e1beaa9a..0000000000 --- a/unmaintained/perl-html-gumbo/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Leonardo Arena -# Maintainer: -pkgname=perl-html-gumbo -_pkgreal=HTML-Gumbo -pkgver=0.13 -pkgrel=1 -pkgdesc="Perl module for HTML-Gumbo" -url="http://search.cpan.org/dist/HTML-Gumbo/" -arch="all" -license="GPL PerlArtistic" -cpandepends="perl perl-alien-libgumbo" -cpanmakedepends="perl-module-build gumbo-parser-dev" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL installdirs=vendor || return 1 - else - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi -} - -build() { - cd "$_builddir" - ./Build PERL_MM_USE_DEFAULT=1 INSTALLDIRS=vendor || return 1 -} - -package() { - cd "$_builddir" - install -m0644 -D ./blib/arch/auto/HTML/Gumbo/Gumbo.so \ - "$pkgdir"/usr/share/perl5/vendor_perl/auto/HTML/Gumbo/Gumbo.so - install -m0644 -D ./blib/lib/HTML/Gumbo.pm \ - "$pkgdir"/usr/share/perl5/vendor_perl/HTML/Gumbo.pm - gzip ./blib/libdoc/HTML::Gumbo.3pm - install -m0644 -D ./blib/libdoc/HTML::Gumbo.3pm.gz \ - "$pkgdir"/usr/share/man/man3/HTML::Gumbo.3pm.gz -} - -md5sums="189681412073f4a5d9874b0e21d592d6 HTML-Gumbo-0.13.tar.gz" -sha256sums="84acaf5f89e2b4cd73800561acad0bfbc6a4e7ec315d84c0c072ae41546d7ca7 HTML-Gumbo-0.13.tar.gz" -sha512sums="447b42a1a9facb2e8d0f1d7d55e19a8c82cc556ba490d7de6a79602506bdf77a8fbd3c18d4d23d93730883b7dbae5f781ca6881e310f05f564b2886007f9fa74 HTML-Gumbo-0.13.tar.gz" diff --git a/unmaintained/perl-io-async-loop-glib/APKBUILD b/unmaintained/perl-io-async-loop-glib/APKBUILD deleted file mode 100644 index f92781695f..0000000000 --- a/unmaintained/perl-io-async-loop-glib/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman -# Maintainer: Kiyoshi Aman -pkgname=perl-io-async-loop-glib -_pkgreal=IO-Async-Loop-Glib -pkgver=0.21 -pkgrel=0 -pkgdesc="use C with F or F" -url="http://search.cpan.org/dist/IO-Async-Loop-Glib/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-glib perl-io-async" -cpanmakedepends="perl-io-async" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends perl-test-pod perl-test-fatal - perl-test-refcount" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="b52b73a1cabf25ca585890de74f1ef6d IO-Async-Loop-Glib-0.21.tar.gz" -sha256sums="6ee1c0ad57946f9e41c4f32a0ca8ad4ff1cc460a6dd69ef5c0f6cc002c6d2029 IO-Async-Loop-Glib-0.21.tar.gz" -sha512sums="6cb8c1dc8179fa92ee77ad3ed083be417d91740a34e924e53bc884104d4604eaf8ea258b2c5f0b289e48fbb1ee0fae2bb5b6f9aa0a9052c174824d719e3e4c52 IO-Async-Loop-Glib-0.21.tar.gz" diff --git a/unmaintained/perl-io-async-ssl/APKBUILD b/unmaintained/perl-io-async-ssl/APKBUILD deleted file mode 100644 index 8ca3af3113..0000000000 --- a/unmaintained/perl-io-async-ssl/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman -# Maintainer: Kiyoshi Aman -pkgname=perl-io-async-ssl -_pkgreal=IO-Async-SSL -pkgver=0.14 -pkgrel=0 -pkgdesc="Use SSL/TLS with L" -url="http://search.cpan.org/dist/IO-Async-SSL/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-io-socket-ssl perl-io-async" -cpanmakedepends="perl-test-pod perl-test-identity" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="c7f50698d3dc9e23a6dafe44244f5c70 IO-Async-SSL-0.14.tar.gz" -sha256sums="81bea9f52cf468bda85b70460fc5b351be2cf04cfaa97e363ddb1cbb3cef3d62 IO-Async-SSL-0.14.tar.gz" -sha512sums="d6f175b596fc0781599ffb487ade857279a3d159a974ab6a82d134841d6ef219e353b10004e7cef8da3ff46159fcae22ad261eac84cc1e6973181452f0fe6b51 IO-Async-SSL-0.14.tar.gz" diff --git a/unmaintained/perl-io-string/APKBUILD b/unmaintained/perl-io-string/APKBUILD deleted file mode 100644 index 0834319c9e..0000000000 --- a/unmaintained/perl-io-string/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-io-string -_pkgreal=IO-String -pkgver=1.08 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/IO-String/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="250e5424f290299fc3d6b5d1e9da3835 IO-String-1.08.tar.gz" diff --git a/unmaintained/perl-ipc-dirqueue/APKBUILD b/unmaintained/perl-ipc-dirqueue/APKBUILD deleted file mode 100644 index 563f680c68..0000000000 --- a/unmaintained/perl-ipc-dirqueue/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-ipc-dirqueue -_pkgreal=IPC-DirQueue -pkgver=1.0 -pkgrel=0 -pkgdesc="disk-based many-to-many queueing system" -url="http://search.cpan.org/dist/IPC-DirQueue/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/J/JM/JMASON/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="1fc4640118a333f2d4a8a45f37297995 IPC-DirQueue-1.0.tar.gz" -sha256sums="f636e8bb3f54515be77476f99fd962801d2d3f32bb43e154b459df4c64974f99 IPC-DirQueue-1.0.tar.gz" -sha512sums="688cf54be66045b5260883c75a1808f4bf75d91e852f3588f5e48afb2429428fc5d32c18e2e45e6c5edbc32a2803e0c60d8a7b22eb4c5f747d8a9814d7d2174e IPC-DirQueue-1.0.tar.gz" diff --git a/unmaintained/perl-libnet/APKBUILD b/unmaintained/perl-libnet/APKBUILD deleted file mode 100644 index 47c1054cb1..0000000000 --- a/unmaintained/perl-libnet/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=perl-libnet -_pkgreal=libnet -pkgver=3.07 -pkgrel=0 -pkgdesc="Collection of network protocol modules" -url="http://search.cpan.org/dist/libnet/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete - mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl - rm -fr "$pkgdir"/usr/share/perl5 -} - -md5sums="b08cc6280201f84e0eee74107b713994 libnet-3.07.tar.gz" -sha256sums="d9a23d8907e681e788a6f1a71915b1d37d057091e88049e5a4064c99ca2c9cd7 libnet-3.07.tar.gz" -sha512sums="f1766501e46bb2a75a58c73e9416166ff0aec1eee462df04cd533747aa5d0d4a7411072440fd338cedb8b2ee522bec06f9814bd04ecf95ce9080a985ff17f745 libnet-3.07.tar.gz" diff --git a/unmaintained/perl-lisp/APKBUILD b/unmaintained/perl-lisp/APKBUILD deleted file mode 100644 index 47901a6e45..0000000000 --- a/unmaintained/perl-lisp/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-lisp -_pkgreal=perl-lisp -pkgver=0.06 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/perl-lisp/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="9527dbc83c9b028df49e02a32fe1e368 perl-lisp-0.06.tar.gz" diff --git a/unmaintained/perl-local-lib/APKBUILD b/unmaintained/perl-local-lib/APKBUILD deleted file mode 100644 index 96b27e2794..0000000000 --- a/unmaintained/perl-local-lib/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman -# Maintainer: Kiyoshi Aman -pkgname=perl-local-lib -_pkgreal=local-lib -pkgver=1.008004 -pkgrel=0 -pkgdesc="create and use a local lib/ for perl modules with PERL5LIB" -url="http://search.cpan.org/dist/local-lib/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="6244fa9d77e818594acbaf572aece326 local-lib-1.008004.tar.gz" diff --git a/unmaintained/perl-math-calc-units/APKBUILD b/unmaintained/perl-math-calc-units/APKBUILD deleted file mode 100644 index 02b4355347..0000000000 --- a/unmaintained/perl-math-calc-units/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-math-calc-units -_pkgreal=Math-Calc-Units -pkgver=1.07 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Math-Calc-Units/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/S/SF/SFINK/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="56e4be0e64d6c8fc27c8f87d0d3cebd8 Math-Calc-Units-1.07.tar.gz" -sha256sums="61e3cfdb27bb3bee27beb97124dd930760e1039edc1eb7816c2f5627765f8f8f Math-Calc-Units-1.07.tar.gz" -sha512sums="0758fd67f650cc8b70777a78c471c29e5a463370e47f810f0eaefa51cb832dbe01b55d7c53cb7d3dc70ee6339857b9f344acd7a68c7ea858394c387e87c52b31 Math-Calc-Units-1.07.tar.gz" diff --git a/unmaintained/perl-modern-perl/APKBUILD b/unmaintained/perl-modern-perl/APKBUILD deleted file mode 100644 index 1c503bfb37..0000000000 --- a/unmaintained/perl-modern-perl/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman -# Maintainer: Kiyoshi Aman -pkgname=perl-modern-perl -_pkgreal=Modern-Perl -pkgver=1.20140107 -pkgrel=0 -pkgdesc="enable all of the features of Modern Perl with one command" -url="http://search.cpan.org/dist/Modern-Perl/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="2f2fa64cbefd8945cae08dddf7b00cbf Modern-Perl-1.20140107.tar.gz" -sha256sums="9cf66b2f93340dfe1cd7162262a47e7c4ba82475a52dc2a036c2fdc8a65298b8 Modern-Perl-1.20140107.tar.gz" -sha512sums="2f14ee0f9a3466a6ffdeb4ea9a738e5b961663d12825df0c529e89dcf473b02aa35de1d446cf19987fc60683613eea75852e3fe39996265ca189529e1fbdca29 Modern-Perl-1.20140107.tar.gz" diff --git a/unmaintained/perl-monitoring-plugin/APKBUILD b/unmaintained/perl-monitoring-plugin/APKBUILD deleted file mode 100644 index 8bd39998c8..0000000000 --- a/unmaintained/perl-monitoring-plugin/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-monitoring-plugin -_pkgreal=Monitoring-Plugin -pkgver=0.39 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Monitoring-Plugin/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-params-validate perl-config-tiny perl-class-accessor perl-math-calc-units" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/N/NI/NIERLEIN/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="c786ada6289bda2c4380d3df3b5185d5 Monitoring-Plugin-0.39.tar.gz" -sha256sums="5ceeaf33bc6205b847b1645a3a24cb65d1b85e19691a6333fa221c240de20c0c Monitoring-Plugin-0.39.tar.gz" -sha512sums="7bdba894cffc0839586e52f3667157cf578e94734ddc0ccd05899f631271e5b69e9cbfe4b2fb59f68b45e1d13afc82b095b65e249527f2c448a38b93e510a05c Monitoring-Plugin-0.39.tar.gz" diff --git a/unmaintained/perl-net-ident/APKBUILD b/unmaintained/perl-net-ident/APKBUILD deleted file mode 100644 index 3c4f4f8355..0000000000 --- a/unmaintained/perl-net-ident/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=perl-net-ident -_pkgreal=Net-Ident -pkgver=1.24 -pkgrel=0 -pkgdesc="Lookup the username on the remote end of a TCP/IP connection" -url="http://search.cpan.org/dist/Net-Ident/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete - mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl - rm -fr "$pkgdir"/usr/share/perl5 -} - -md5sums="460294a8ac8482eb5ed24c62048bbbc4 Net-Ident-1.24.tar.gz" -sha256sums="5f5f1142185a67b87406a3fb31f221564f61838a70ef4c07284a66c55e82ad05 Net-Ident-1.24.tar.gz" -sha512sums="877a2699964323b009dbdbab134bb329acf71758e48165f4d19bb8e49d0c02786f58ab32bb1bc2ff6c4d375d4b64128207cbbf3c858a6db2e30bd2733474d740 Net-Ident-1.24.tar.gz" diff --git a/unmaintained/perl-net-whois-ip/APKBUILD b/unmaintained/perl-net-whois-ip/APKBUILD deleted file mode 100644 index 9d89270ecd..0000000000 --- a/unmaintained/perl-net-whois-ip/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=perl-net-whois-ip -_realname=Net-Whois-IP -pkgver=1.19 -pkgrel=0 -pkgdesc="Perl extension for looking up the whois information for ip addresses" -url="http://search.cpan.org/~bschmitz/Net-Whois-IP/" -arch="noarch" -license="PerlArtistic" -depends="perl " -depends_dev="" -makedepends="perl-dev" -install="" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/B/BS/BSCHMITZ/$_realname-$pkgver.tar.gz" -_builddir="$srcdir"/$_realname-$pkgver - -build() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="06b319f4da85f13b3ea757f589f37e17 Net-Whois-IP-1.19.tar.gz" -sha256sums="f09bdfa0f1d2665b534826b5f3a8662349930eed2998efe4d8dbf98813147222 Net-Whois-IP-1.19.tar.gz" -sha512sums="80d1be9dc6c8e9da74df97524f1a804f6ab64f1e016509944b1ba970c2a508e46cd6d633c6cfc2e9fa5d3fc8240500f81cbc90a27bdeab26cb7b590ba97758ae Net-Whois-IP-1.19.tar.gz" diff --git a/unmaintained/perl-number-compare/APKBUILD b/unmaintained/perl-number-compare/APKBUILD deleted file mode 100644 index 5da1cab633..0000000000 --- a/unmaintained/perl-number-compare/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-number-compare -_pkgreal=Number-Compare -pkgver=0.03 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Number-Compare/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="ded4085a8fc96328742785574ca65208 Number-Compare-0.03.tar.gz" -sha256sums="83293737e803b43112830443fb5208ec5208a2e6ea512ed54ef8e4dd2b880827 Number-Compare-0.03.tar.gz" -sha512sums="fc7efb0177bcb84142619b7d8c0252f4548e547650ddbe9cfafaba97b8ae791c20fbffa6f8b01449b9dd217d9914f94bfeaff57cdfdc2c11e2a1456992bd9893 Number-Compare-0.03.tar.gz" diff --git a/unmaintained/perl-parser-mgc/APKBUILD b/unmaintained/perl-parser-mgc/APKBUILD deleted file mode 100644 index 5504d52203..0000000000 --- a/unmaintained/perl-parser-mgc/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman -# Maintainer: Kiyoshi Aman -pkgname=perl-parser-mgc -_pkgreal=Parser-MGC -pkgver=0.10 -pkgrel=0 -pkgdesc="build simple recursive-descent parsers" -url="http://search.cpan.org/dist/Parser-MGC/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-file-slurp" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="a0bfd2b152bbcf59e08fa9892ad4a960 Parser-MGC-0.10.tar.gz" diff --git a/unmaintained/perl-patchreader/APKBUILD b/unmaintained/perl-patchreader/APKBUILD deleted file mode 100644 index 962194563b..0000000000 --- a/unmaintained/perl-patchreader/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-patchreader -_pkgreal=PatchReader -pkgver=0.9.6 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/PatchReader/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/T/TM/TMANNERM/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="bd8da2388cd5ebc99a860b6d6bfeb8ad PatchReader-0.9.6.tar.gz" diff --git a/unmaintained/perl-pdf-api2/APKBUILD b/unmaintained/perl-pdf-api2/APKBUILD deleted file mode 100644 index 0162ba7419..0000000000 --- a/unmaintained/perl-pdf-api2/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=perl-pdf-api2 -_pkgreal=PDF-API2 -pkgver=2.025 -pkgrel=0 -pkgdesc="Facilitates the creation and modification of PDF files" -url="http://search.cpan.org/dist/PDF-API2/" -arch="noarch" -license="open_source" -cpandepends="perl-font-ttf" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/S/SS/SSIMMS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name uniglyph.txt -o -name perllocal.pod -o -name .packlist \) -delete - mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl - rm -fr "$pkgdir"/usr/share/perl5 -} - -md5sums="d8b5e8a8a08986816a0e97d5236de979 PDF-API2-2.025.tar.gz" -sha256sums="123b49cd459526662d9e0c98c68a52294132051327abe07af1255d599e6d62ea PDF-API2-2.025.tar.gz" -sha512sums="0dc2e880e77c1beabeed49a6dff0378ebed3eca8f7235a199bd8ffd1b3394af11e0ba2e9f662686407c5c03fde84590c57634ed6e9063c2684578772c2786f5c PDF-API2-2.025.tar.gz" diff --git a/unmaintained/perl-perl6-classes/APKBUILD b/unmaintained/perl-perl6-classes/APKBUILD deleted file mode 100644 index 0f4318c5f6..0000000000 --- a/unmaintained/perl-perl6-classes/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-perl6-classes -_pkgreal=Perl6-Classes -pkgver=0.22 -pkgrel=0 -pkgdesc="First-class, concise classes in Perl 5" -url="http://search.cpan.org/dist/Perl6-Classes/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/L/LP/LPALMER/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="9c2c055460a5866e8b7a8036c3c02eb7 Perl6-Classes-0.22.tar.gz" diff --git a/unmaintained/perl-perl6-slurp/APKBUILD b/unmaintained/perl-perl6-slurp/APKBUILD deleted file mode 100644 index 9c25e13df7..0000000000 --- a/unmaintained/perl-perl6-slurp/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-perl6-slurp -_pkgreal=Perl6-Slurp -pkgver=0.051001 -pkgrel=0 -pkgdesc="Implements the Perl 6 'slurp' built-in" -url="http://search.cpan.org/dist/Perl6-Slurp/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="690bde052b583fcec21f7c38a82f3c9c Perl6-Slurp-0.051001.tar.gz" diff --git a/unmaintained/perl-perlio-via-escstatus/APKBUILD b/unmaintained/perl-perlio-via-escstatus/APKBUILD deleted file mode 100644 index 21cac5a060..0000000000 --- a/unmaintained/perl-perlio-via-escstatus/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-perlio-via-escstatus -_pkgreal=PerlIO-via-EscStatus -pkgver=10 -pkgrel=0 -pkgdesc="Printing a status line through an I/O layer." -url="http://search.cpan.org/dist/PerlIO-via-EscStatus/" -arch="noarch" -license="open_source" -cpandepends="perl-regexp-common perl-term-size" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="8a3e0b10e4200920a49d2bff4d37e5f8 PerlIO-via-EscStatus-10.tar.gz" diff --git a/unmaintained/perl-proc-syncexec/APKBUILD b/unmaintained/perl-proc-syncexec/APKBUILD deleted file mode 100644 index 8e27d740a5..0000000000 --- a/unmaintained/perl-proc-syncexec/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-proc-syncexec -_pkgreal=Proc-SyncExec -pkgver=1.01 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Proc-SyncExec/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="38dd51ed78504d73bf6520a044744cb8 Proc-SyncExec-1.01.tar.gz" diff --git a/unmaintained/perl-search-xapian/APKBUILD b/unmaintained/perl-search-xapian/APKBUILD deleted file mode 100644 index 894e9f243a..0000000000 --- a/unmaintained/perl-search-xapian/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-search-xapian -_pkgreal=Search-Xapian -pkgver=1.2.23.0 -pkgrel=0 -pkgdesc="Perl XS frontend to the Xapian C++ search library." -url="http://search.cpan.org/dist/Search-Xapian/" -arch="all" -license="GPL PerlArtistic" -cpandepends="perl" -cpanmakedepends="perl-devel-leak perl-test-pod perl-test-pod-coverage" -depends="$cpandepends" -makedepends="perl-dev xapian-core-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://oligarchy.co.uk/xapian/${pkgver/.0//}/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL XAPIAN_CONFIG=/usr/bin/xapian-config INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="9b52b1aaef20b6904df7237b6ea71085 Search-Xapian-1.2.23.0.tar.gz" -sha256sums="90ea2e962f9a4e5f73719bd30b877f5272da886f3693d3a961f4d84b2ef34402 Search-Xapian-1.2.23.0.tar.gz" -sha512sums="48d47e4edc5f752fc31c4142ce3c92a8ead122d4d872326a153fcb9f8667da4101384a3e06375ebb8d2e3148df744484e92bedad7bf4743417c84018ccda9526 Search-Xapian-1.2.23.0.tar.gz" diff --git a/unmaintained/perl-set-intspan-fast/APKBUILD b/unmaintained/perl-set-intspan-fast/APKBUILD deleted file mode 100644 index 746d02f3ef..0000000000 --- a/unmaintained/perl-set-intspan-fast/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-set-intspan-fast -_pkgreal=Set-IntSpan-Fast -pkgver=1.15 -pkgrel=0 -pkgdesc="Fast handling of sets containing integer spans." -url="http://search.cpan.org/dist/Set-IntSpan-Fast/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-data-types" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="d75b52c20f3a365f137b4e0f6e25f888 Set-IntSpan-Fast-1.15.tar.gz" diff --git a/unmaintained/perl-shell-config-generate/APKBUILD b/unmaintained/perl-shell-config-generate/APKBUILD deleted file mode 100644 index 1b15a6e593..0000000000 --- a/unmaintained/perl-shell-config-generate/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-shell-config-generate -_pkgreal=Shell-Config-Generate -pkgver=0.24 -pkgrel=0 -pkgdesc="Portably generate config for any shell" -url="http://search.cpan.org/dist/Shell-Config-Generate/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-shell-guess" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="4ec8afab38da4f266dcfd04ebe7d503a Shell-Config-Generate-0.24.tar.gz" -sha256sums="b83b1b8e9b6bcef3626a3d54c1c937e1a0ce579ecd7c592383dc36b424225baf Shell-Config-Generate-0.24.tar.gz" -sha512sums="0c1a95ec0f150a5776bcdb6d6ae6bcf59c29c7eec99c2f539f5dae7225507d785460890118ce82a7d2edbb17822e1fa19a9e5cf4a7e273d14cbce6284616ea7b Shell-Config-Generate-0.24.tar.gz" diff --git a/unmaintained/perl-shell-guess/APKBUILD b/unmaintained/perl-shell-guess/APKBUILD deleted file mode 100644 index 170bf1f28f..0000000000 --- a/unmaintained/perl-shell-guess/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-shell-guess -_pkgreal=Shell-Guess -pkgver=0.06 -pkgrel=1 -pkgdesc="Make an educated guess about the shell in use" -url="http://search.cpan.org/dist/Shell-Guess/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-module-build" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="767d7628cd7d73f129029a649ef45a67 Shell-Guess-0.06.tar.gz" -sha256sums="4758c98affcade0d8f3882f8c2a9ee671bf1eef72f1025796cff939f7e93be23 Shell-Guess-0.06.tar.gz" -sha512sums="026a114059d9e4edb96f3bf73612564b38f8651e5007341b19c704aa1b109c53b1c88ada0ae1feb8dfa9759c979608f3658d3cfb52f6dbf1b927707e11876f98 Shell-Guess-0.06.tar.gz" diff --git a/unmaintained/perl-snmp-info/APKBUILD b/unmaintained/perl-snmp-info/APKBUILD deleted file mode 100644 index 9d71484a1b..0000000000 --- a/unmaintained/perl-snmp-info/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-snmp-info -_pkgreal=SNMP-Info -pkgver=3.05 -pkgrel=0 -pkgdesc="Object Oriented Perl5 Interface to Network devices and MIBs through SNMP. " -url="http://search.cpan.org/dist/SNMP-Info/" -arch="noarch" -license="bsd" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends net-snmp-perl" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="7a183aecc831746494248af443e3d8c8 SNMP-Info-3.05.tar.gz" -sha256sums="4ad0ee992763b6fa6904751318259f6405daefa4b4ce88de54adfc5177233a88 SNMP-Info-3.05.tar.gz" -sha512sums="3a8f840e0ecdf6e543c45c1638b5bbb0488217347181d2c257cd1d92525b52e1bdf81dc14a4d98b5a0f202d2fb90352dd319ee45b00e7571b36ecbe9732d0d5f SNMP-Info-3.05.tar.gz" diff --git a/unmaintained/perl-software-license/APKBUILD b/unmaintained/perl-software-license/APKBUILD deleted file mode 100644 index 2898e70942..0000000000 --- a/unmaintained/perl-software-license/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-software-license -_pkgreal=Software-License -pkgver=0.103004 -pkgrel=0 -pkgdesc="packages that provide templated software licenses" -url="http://search.cpan.org/dist/Software-License/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-text-template perl-data-section perl-sub-install" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="0c5fd53d93818566234578b27d667b35 Software-License-0.103004.tar.gz" diff --git a/unmaintained/perl-sort-versions/APKBUILD b/unmaintained/perl-sort-versions/APKBUILD deleted file mode 100644 index bd1c3b8a22..0000000000 --- a/unmaintained/perl-sort-versions/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-sort-versions -_pkgreal=Sort-Versions -pkgver=1.61 -pkgrel=0 -pkgdesc="a perl 5 module for sorting of revision-like numbers" -url="http://search.cpan.org/dist/Sort-Versions/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="5da4058c646c15465a8f9b2c1bf70cba Sort-Versions-1.61.tar.gz" -sha256sums="3e58b98002e448eda425dcdd5c745b5d4ba9328d0022a60a84d333ef6df5a174 Sort-Versions-1.61.tar.gz" -sha512sums="e1336ffe180ebd0a15bf77d5f216809def7d297958da5d4f5e6f816c67a55f22cad48e2462b533b8b530d00b5178cda553d6dd164b6c2d9478242974d31afb59 Sort-Versions-1.61.tar.gz" diff --git a/unmaintained/perl-sql-abstract-limit/APKBUILD b/unmaintained/perl-sql-abstract-limit/APKBUILD deleted file mode 100644 index 89fbd372c6..0000000000 --- a/unmaintained/perl-sql-abstract-limit/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-sql-abstract-limit -_pkgreal=SQL-Abstract-Limit -pkgver=0.141 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/SQL-Abstract-Limit/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-test-exception perl-sql-abstract perl-dbi perl-test-deep" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DA/DAVEBAIRD/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="d8dde39b1d7910ddf5457108c02be552 SQL-Abstract-Limit-0.141.tar.gz" diff --git a/unmaintained/perl-sql-abstract/APKBUILD b/unmaintained/perl-sql-abstract/APKBUILD deleted file mode 100644 index c215806fc8..0000000000 --- a/unmaintained/perl-sql-abstract/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-sql-abstract -_pkgreal=SQL-Abstract -pkgver=1.81 -pkgrel=0 -pkgdesc="Generate SQL from Perl data structures" -url="http://search.cpan.org/dist/SQL-Abstract/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-class-accessor-grouped perl-hash-merge perl-getopt-long-descriptive" -cpanmakedepends="perl-test-exception perl-test-warn perl-test-deep perl-mro-compat -perl-module-install perl-moo" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="fbcd82c4e4bc5694082cefb4e34cb572 SQL-Abstract-1.81.tar.gz" -sha256sums="5f4d5618ce2424d62bbfdb5228b382e8be0e0ccedbb273d6d850e25d07e64f9f SQL-Abstract-1.81.tar.gz" -sha512sums="1ca38403707117c6a7927e1d89e70d22bf75429137409aa9dee48bb75dd17ca941dd0012c5d388e8e39ea75ae800a1d62b04c0b12b700f2e3137e40f651f961c SQL-Abstract-1.81.tar.gz" diff --git a/unmaintained/perl-term-shelly/APKBUILD b/unmaintained/perl-term-shelly/APKBUILD deleted file mode 100644 index b37a7a003f..0000000000 --- a/unmaintained/perl-term-shelly/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-term-shelly -_pkgreal=Term-Shelly -pkgver=0.01 -pkgrel=0 -pkgdesc="Perl module for Term-Shelly" -url="http://search.cpan.org/dist/Term-Shelly/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PS/PSIONIC/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal" - -prepare() { - cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL installdirs=vendor || return 1 - else - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="e59c4f12bc4b2a38294355d964d43cd2 Term-Shelly-0.01.tar.gz" -sha256sums="3785b2ef908433db10ea1dd17dc47b73ce2eb082318f9196b0718d236043fc6c Term-Shelly-0.01.tar.gz" -sha512sums="1ed3d4cf765288ce93ae2e80fe7f83c1d8a09c5f3ce5a66d6fd89a178f168fb5c21d05d4a20e351b4104ccd756221b04a5477fa052c56eeb77b8247914f15db3 Term-Shelly-0.01.tar.gz" diff --git a/unmaintained/perl-test-command/APKBUILD b/unmaintained/perl-test-command/APKBUILD deleted file mode 100644 index 4252d961b4..0000000000 --- a/unmaintained/perl-test-command/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-test-command -_pkgreal=Test-Command -pkgver=0.11 -pkgrel=0 -pkgdesc="Perl module for Test-Command" -url="http://search.cpan.org/dist/Test-Command/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-module-build" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DA/DANBOO/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL installdirs=vendor || return 1 - else - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="9ab83c4695961dbe92cd86efe08f0634 Test-Command-0.11.tar.gz" -sha256sums="28a3fc6fea73a19f563f11bd0f28186756d4c74207be6deacaad26d2081b9533 Test-Command-0.11.tar.gz" -sha512sums="79a8f41132b965ad4f6e8b4d97f8fb6181a1e394bcf8825abda2c8ee12dd5f6ef8d7c69df84d306c3841bb516213742c4a0a43c2f3d6b39ce6e163d6d77f45f8 Test-Command-0.11.tar.gz" diff --git a/unmaintained/perl-test-compile/APKBUILD b/unmaintained/perl-test-compile/APKBUILD deleted file mode 100644 index 357b20674c..0000000000 --- a/unmaintained/perl-test-compile/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-test-compile -_pkgreal=Test-Compile -pkgver=v1.3.0 -pkgrel=0 -pkgdesc="Perl module for Test-Compile" -url="http://search.cpan.org/dist/Test-Compile/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-module-build perl-devel-checkos perl-module-build - perl-test-warnings perl-universal-require" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/E/EG/EGILES/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL installdirs=vendor || return 1 - else - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="c7e8c9255d818823d440ac640527e7f8 Test-Compile-v1.3.0.tar.gz" -sha256sums="77527e9477ac5260443c756367a7f7bc3d8f6c6ebbc561b0b2fb3f79303bad33 Test-Compile-v1.3.0.tar.gz" -sha512sums="58396ed37a668ad005955193dfdad435d4b92f16334ed83f1ec5de8e1046bef8eec452ccefa277311f8eb903c7872fcc6ebacfeba112621f8b8ca05841089ef8 Test-Compile-v1.3.0.tar.gz" diff --git a/unmaintained/perl-text-glob/APKBUILD b/unmaintained/perl-text-glob/APKBUILD deleted file mode 100644 index 3b3294878c..0000000000 --- a/unmaintained/perl-text-glob/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-text-glob -_pkgreal=Text-Glob -pkgver=0.09 -pkgrel=0 -pkgdesc="match globbing patterns against text" -url="http://search.cpan.org/dist/Text-Glob/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="1daa10e087f891c49b720a5c551a024b Text-Glob-0.09.tar.gz" diff --git a/unmaintained/perl-text-parsewords/APKBUILD b/unmaintained/perl-text-parsewords/APKBUILD deleted file mode 100644 index 28a6dcd475..0000000000 --- a/unmaintained/perl-text-parsewords/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-text-parsewords -_pkgreal=Text-ParseWords -pkgver=3.27 -pkgrel=0 -pkgdesc="Perl module for Text-ParseWords" -url="http://search.cpan.org/dist/Text-ParseWords/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$_pkgreal-$pkgver.zip" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - if [ -e Build.PL ]; then - perl Build.PL installdirs=vendor || return 1 - else - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - fi -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - - -md5sums="620fee5eece9b8d4a7a68e91fe617097 Text-ParseWords-3.27.zip" diff --git a/unmaintained/perl-tie-cache/APKBUILD b/unmaintained/perl-tie-cache/APKBUILD deleted file mode 100644 index 6d731c4dbc..0000000000 --- a/unmaintained/perl-tie-cache/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-tie-cache -_pkgreal=Tie-Cache -pkgver=0.19 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Tie-Cache/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/C/CH/CHAMAS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="5feed6d26f5458441231e688df94240b Tie-Cache-0.19.tar.gz" diff --git a/unmaintained/perl-tie-refhash-weak/APKBUILD b/unmaintained/perl-tie-refhash-weak/APKBUILD deleted file mode 100644 index e1f8b89d68..0000000000 --- a/unmaintained/perl-tie-refhash-weak/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-tie-refhash-weak -_pkgreal=Tie-RefHash-Weak -pkgver=0.09 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Tie-RefHash-Weak/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-variable-magic perl-task-weaken" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="c7c6793fab417c9761d88f596dfb32e9 Tie-RefHash-Weak-0.09.tar.gz" diff --git a/unmaintained/perl-tie-tz/APKBUILD b/unmaintained/perl-tie-tz/APKBUILD deleted file mode 100644 index 8a88adddf1..0000000000 --- a/unmaintained/perl-tie-tz/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-tie-tz -_pkgreal=Tie-TZ -pkgver=9 -pkgrel=0 -pkgdesc="Tied TZ env var calling tzset() when changed." -url="http://search.cpan.org/dist/Tie-TZ/" -arch="noarch" -license="open_source" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="4402c26b5a25378c67d556f8217a961f Tie-TZ-9.tar.gz" diff --git a/unmaintained/perl-time-unix/APKBUILD b/unmaintained/perl-time-unix/APKBUILD deleted file mode 100644 index 5d1583954d..0000000000 --- a/unmaintained/perl-time-unix/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=perl-time-unix -_pkgreal=Time-Unix -pkgver=1.03 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Time-Unix/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="dbf8b0bf572be52696ac41da014495d2 Time-Unix-1.03.tar.gz" diff --git a/unmaintained/perl-uri-escape/APKBUILD b/unmaintained/perl-uri-escape/APKBUILD deleted file mode 100644 index c55aae18e3..0000000000 --- a/unmaintained/perl-uri-escape/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Stuart Cardall -# Maintainer: Stuart Cardall -pkgname=perl-uri-escape -pkgver=1.69 -_realname=URI-$pkgver -pkgrel=0 -pkgdesc="Percent-encode and percent-decode unsafe characters" -url="http://search.cpan.org/dist/URI/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_realname.tar.gz" - -_builddir="$srcdir"/$_realname - -build() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="3c56aee0300bce5a440ccbd558277ea0 URI-1.69.tar.gz" -sha256sums="b74b16ea626b6f8061821bb350674c638a98be1fc766eadb24fec6635998b42d URI-1.69.tar.gz" -sha512sums="4e58cd450c58be4c3e0254c8e53bd0b4d3516468efb466c933343efc12191856bfc6c0d5c3de3b523e66d4930c2426f0089d5cd9ece7b4a5b8aff0a9596064cc URI-1.69.tar.gz" diff --git a/unmaintained/perl-uri-find-simple/APKBUILD b/unmaintained/perl-uri-find-simple/APKBUILD deleted file mode 100644 index c34a901608..0000000000 --- a/unmaintained/perl-uri-find-simple/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman -# Maintainer: Kiyoshi Aman -pkgname=perl-uri-find-simple -_pkgreal=URI-Find-Simple -pkgver=1.03 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/URI-Find-Simple/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-uri-find" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/T/TO/TOMI/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="a3d62887ea6b6a17559364e8a31fcd8f URI-Find-Simple-1.03.tar.gz" diff --git a/unmaintained/perl-uri-find/APKBUILD b/unmaintained/perl-uri-find/APKBUILD deleted file mode 100644 index 8cf761fde4..0000000000 --- a/unmaintained/perl-uri-find/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman -# Maintainer: Kiyoshi Aman -pkgname=perl-uri-find -_pkgreal=URI-Find -pkgver=20111103 -pkgrel=0 -pkgdesc="Find URIs in arbitrary text" -url="http://search.cpan.org/dist/URI-Find/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-uri" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="7129448917d708aeaab2153a5adfbf0d URI-Find-20111103.tar.gz" diff --git a/unmaintained/perl-xml-generator/APKBUILD b/unmaintained/perl-xml-generator/APKBUILD deleted file mode 100644 index 9799151902..0000000000 --- a/unmaintained/perl-xml-generator/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: -# Maintainer: -pkgname=perl-xml-generator -_pkgreal=XML-Generator -pkgver=1.04 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/XML-Generator/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/B/BH/BHOLZMAN/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="1ea1e239bdf3fd6f762c484753776626 XML-Generator-1.04.tar.gz" -sha256sums="b0b6e3b69ce2c08f2ba00a37041bce08a3524b8a76de7ef781e92bfac2d92994 XML-Generator-1.04.tar.gz" -sha512sums="ce151a2d575c9ec4cd42819a5d573bfc4985e0daa3945c310d61bb0a6376e4b8a0dcef5ce89e444795d99c9751719d45981675d1418ba6d729d152187688d552 XML-Generator-1.04.tar.gz" diff --git a/unmaintained/pgagent/APKBUILD b/unmaintained/pgagent/APKBUILD deleted file mode 100644 index ae9eaea343..0000000000 --- a/unmaintained/pgagent/APKBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Contributor: Rafal Rzepecki -# Maintainer: -pkgname=pgagent -pkgver=3.4.0 -pkgrel=0 -pkgdesc="a job scheduler for PostgreSQL" -url="http://www.pgadmin.org/docs/dev/pgagent.html" -arch="all" -license="POSTGRESQL" -depends="wxgtk2.8-base postgresql" -depends_dev="wxgtk2.8-dev postgresql-dev" -makedepends="$depends_dev cmake" -install="" -subpackages="$pkgname-doc" -source=" - https://ftp.postgresql.org/pub/pgadmin3/release/pgagent/pgAgent-$pkgver-Source.tar.gz - pgagent.initd - pgagent.confd -" - -_builddir="$srcdir"/pgAgent-$pkgver-Source -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DSTATIC_BUILD:BOOLEAN=FALSE - make || return 1 -} - -package() { - cd "$_builddir" - - make DESTDIR="$pkgdir" install - - # remove useless doc files - rm "$pkgdir"/usr/README - rm "$pkgdir"/usr/LICENSE - - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - install -m644 -D "$srcdir"/$pkgname.confd \ - "$pkgdir"/etc/conf.d/$pkgname || return 1 - - install -Dm644 "$_builddir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - install -Dm644 "$_builddir"/README "$pkgdir"/usr/share/doc/$pkgname/README -} - -md5sums="187caa1843f0d82f6caa1be0f80d6232 pgAgent-3.4.0-Source.tar.gz -c719d251f7617583864b9b5f7128bf6f pgagent.initd -c64e1925e38a93ad66f701d3015ae970 pgagent.confd" -sha256sums="0da0ac8f453cf34ab6f708eee036bed0fd0e5fa311de283b92d2ff06600bbb3d pgAgent-3.4.0-Source.tar.gz -b37ac8a8e95144e19c04cc02fd508515b44ef4ac74b2572e48c55d91b04d679f pgagent.initd -2bdf4166ff53c57b382788b89818e6c3298fbaa291092236883bd03e08970d4b pgagent.confd" -sha512sums="3b068fc6f5e51ff20604f8cec3e067d04b5b1537229da15ee442000f5fe834697a4eae86be0e9a58b8ee5da24cc985c8c9804d71cb2a50e93ec4cf9a424a4ff0 pgAgent-3.4.0-Source.tar.gz -e84bf6c3a2bb9d2d8afad2dda7ebcac80ede19a5595ccbe31251731917c3f2337ca3fca68bc47ca8f51bb6e765a0c1e54eabf60466a42d1a6938399d13b71a79 pgagent.initd -fe9fcdd33225a361cbd007ac5bef439946714da9a990169222b8ba88e63362a753e80490ab9402f146ec6a6782b3457846039cc0ad84bf0cdf0c231deec1c286 pgagent.confd" diff --git a/unmaintained/pgagent/pgagent.confd b/unmaintained/pgagent/pgagent.confd deleted file mode 100644 index a85be20614..0000000000 --- a/unmaintained/pgagent/pgagent.confd +++ /dev/null @@ -1,22 +0,0 @@ -# Pool time interval -PGA_POLL="10" - -# Retry period -PGA_RETRY="30" - -# Log file -PGA_LOG="/var/log/pgagent.log" - -# Logging verbosity -# ERROR=0, WARNING=1, DEBUG=2 -PGA_LEVEL="1" - -# Server parameters -# Host address -PG_HOST="localhost" - -# DB name -PG_DBNAME="postgres" - -# Username -PG_USER="postgres" diff --git a/unmaintained/pgagent/pgagent.initd b/unmaintained/pgagent/pgagent.initd deleted file mode 100644 index 0e37fcc6b5..0000000000 --- a/unmaintained/pgagent/pgagent.initd +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgagent/files/pgagent.initd,v 1.1 2012/04/28 18:34:11 titanofold Exp $ - -PGAGENTOPT="-t ${PGA_POLL} -r ${PGA_RETRY} -s ${PGA_LOG} -l ${PGA_LEVEL}" - -PGOPT="hostaddr=${PG_HOST} dbname=${PG_DBNAME} user=${PG_USER}" - -depend() { - use net - need postgresql -} - -start() { - ebegin "Starting pgagent" - start-stop-daemon --start --exec /usr/bin/pgagent -- ${PGAGENTOPT} ${PGOPT} - eend $? -} - -stop() { - ebegin "Stopping pgagent" - start-stop-daemon --stop --name pgagent - eend $? -} diff --git a/unmaintained/phonon-backend-gstreamer/APKBUILD b/unmaintained/phonon-backend-gstreamer/APKBUILD deleted file mode 100644 index b4e4e13857..0000000000 --- a/unmaintained/phonon-backend-gstreamer/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=phonon-backend-gstreamer -pkgver=4.5.1 -pkgrel=2 -pkgdesc="gstreamer backend for phonon" -url="http://phonon.kde.org/" -arch="all" -license="LGPL" -depends= -depends_dev="gstreamer-dev gst-plugins-base-dev gst-plugins-good phonon-dev - mesa-dev alsa-lib-dev" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="" -source="http://kde.mirrors.tds.net/pub/kde/stable/phonon/phonon-backend-gstreamer/$pkgver/src/phonon-backend-gstreamer-$pkgver.tar.bz2" -install_if="phonon" - -_builddir="$srcdir"/phonon-backend-gstreamer-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="021cf7740208e7212b7ce91adb6a349b phonon-backend-gstreamer-4.5.1.tar.bz2" diff --git a/unmaintained/php-blenc/APKBUILD b/unmaintained/php-blenc/APKBUILD deleted file mode 100644 index 53780f828d..0000000000 --- a/unmaintained/php-blenc/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Diaz Devera Victor -pkgname=php-blenc -_pkgreal=blenc -pkgver=1.1.4b -_pkgver=${pkgver/_rc/RC} -pkgrel=0 -pkgdesc="PHP extension provides blowfish encryption for php scripts" -url="http://pecl.php.net/package/$_pkgreal" -arch="all" -license="PHP" -depends= -pecldepends="php-dev autoconf" -makedepends="$pecldepends" -install="" -subpackages="" -source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" - -_builddir="$srcdir"/$_pkgreal-$_pkgver - -build() { - cd "$_builddir" - phpize || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_ROOT="$pkgdir"/ install || return 1 - install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini -} - -md5sums="90ab57bf63854f7927ae66c2b3a40a7d blenc-1.1.4b.tgz" -sha256sums="9f366346b0f1f76aa0e3d301fbe2b65de4dff291560a9a3a89f52a592ed0eaf0 blenc-1.1.4b.tgz" -sha512sums="308011ae8ae3532e9bf6467bb90fe3fc26dfe9b49b10f76f9137e7529ca8b5040ebd750a87b221667db3cd180af5e11e517484fa43eaa5371e17ad0a96332c25 blenc-1.1.4b.tgz" diff --git a/unmaintained/php-gmagick/APKBUILD b/unmaintained/php-gmagick/APKBUILD deleted file mode 100644 index 08e36b01ad..0000000000 --- a/unmaintained/php-gmagick/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=php-gmagick -_pkgreal=gmagick -pkgver=1.1.7_rc3 -_pkgver=${pkgver/_rc/RC} -pkgrel=0 -pkgdesc="PHP bindings to the GraphicsMagick library" -url="http://pecl.php.net/package/$_pkgreal" -arch="all" -license="PHP" -depends= -pecldepends="php-dev autoconf" -makedepends="$pecldepends graphicsmagick-dev" -install="" -subpackages="" -source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" - -_builddir="$srcdir"/$_pkgreal-$_pkgver - -build() { - cd "$_builddir" - phpize || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_ROOT="$pkgdir/" install || return 1 - install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini -} - -md5sums="b11fe7922daf32a2f82956a3501c7c7b gmagick-1.1.7RC3.tgz" -sha256sums="1d2a35811a29e0744e852dda526f30c8a0cba516ef611758dd5bd4837ecba1fd gmagick-1.1.7RC3.tgz" -sha512sums="a51f148dc16322bcd5586b4af059389159edab1de4ada5743a5ef6dd8d4f001a21f955dc8fd2dac2969a5048db89e3b8031da3a2f519d59fcb1f8e6afa4d8dd9 gmagick-1.1.7RC3.tgz" diff --git a/unmaintained/php-pear-auth_sasl/APKBUILD b/unmaintained/php-pear-auth_sasl/APKBUILD deleted file mode 100644 index 69400b2b0b..0000000000 --- a/unmaintained/php-pear-auth_sasl/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=php-pear-auth_sasl -_pkgreal=Auth_SASL -pkgver=1.0.6 -pkgrel=0 -pkgdesc="Abstraction of various SASL mechanism responses" -url="http://pear.php.net/package/$_pkgreal" -arch="noarch" -license="PHP" -depends="php-pear" -depends_dev="" -makedepends="$depends_dev php-pear" -install="" -subpackages="" -source="http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz" - -_builddir="$srcdir"/$_pkgreal-$pkgver - -package() { - cd "$_builddir" - install -d "$pkgdir"/usr/share/pear - mv Auth "$pkgdir"/usr/share/pear - find "$pkgdir"/usr/share/pear -name *.php -exec chmod -x {} \; -} - -md5sums="75792cb080b66c3ed942c793ce977b09 Auth_SASL-1.0.6.tgz" -sha256sums="92928ebfb67b0c108956f354ecc1b9859d05a7659d7f49c9b26a8c23a96662da Auth_SASL-1.0.6.tgz" -sha512sums="af1376ba54349ee3cba9e1cacfaf33fff96ac4eb45682447e1b5862136c774e1737d2206341264bf4d74ad4203e8d465407fdcd5c23670e40eed4678864030cb Auth_SASL-1.0.6.tgz" diff --git a/unmaintained/php-pear-auth_sasl2/APKBUILD b/unmaintained/php-pear-auth_sasl2/APKBUILD deleted file mode 100644 index 7b966d6420..0000000000 --- a/unmaintained/php-pear-auth_sasl2/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Valery Kartel -pkgname=php-pear-auth_sasl2 -_pkgreal=Auth_SASL2 -pkgver=0.1.0 -pkgrel=0 -pkgdesc="Abstraction of various SASL mechanism responses" -url="http://pear.php.net/package/$_pkgreal" -arch="noarch" -license="PHP" -depends="php-pear" -depends_dev="" -makedepends="$depends_dev php-pear" -install="" -subpackages="" -source="$pkgname-$pkgver.tgz::http://download.pear.php.net/package/$_pkgreal-$pkgver.tgz" - -_builddir="$srcdir"/$_pkgreal-$pkgver - -package() { - cd "$_builddir" - install -d "$pkgdir"/usr/share/pear - mv Auth "$pkgdir"/usr/share/pear - find "$pkgdir"/usr/share/pear -name *.php -exec chmod -x {} \; -} - -md5sums="aa105eb20b3ac0fd99b63a2639b0e111 Auth_SASL2-0.1.0.tgz" -sha256sums="55e8c113da0c50180a8e0464ddf5f636a9726e068202e3f99372308d7bf91fe4 Auth_SASL2-0.1.0.tgz" -sha512sums="093378d5b2d150558a7dd957d7eca9ef0c3b5e550cb009b580bc03ab01bff8a5e5d697053cbbc857ce0b55aa811de04264255bca4c0ed53f6fa87557ee8cef6e Auth_SASL2-0.1.0.tgz" diff --git a/unmaintained/php-rrd/APKBUILD b/unmaintained/php-rrd/APKBUILD deleted file mode 100644 index ba235d7fea..0000000000 --- a/unmaintained/php-rrd/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Diaz Devera Victor -pkgname=php-rrd -_pkgreal=rrd -pkgver=1.1.3 -_pkgver=${pkgver/_rc/RC} -pkgrel=0 -pkgdesc="PHP extension that provides bindings to rrd tool system" -url="http://pecl.php.net/package/$_pkgreal" -arch="all" -license="PHP" -depends= -pecldepends="php-dev autoconf" -makedepends="$pecldepends rrdtool-dev" -install="" -subpackages="" -source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" - -_builddir="$srcdir"/$_pkgreal-$_pkgver - -build() { - cd "$_builddir" - phpize || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_ROOT="$pkgdir"/ install || return 1 - install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini -} - -md5sums="bde6c50fa2aa39090ed22e574ac71c5a rrd-1.1.3.tgz" -sha256sums="0415ac51e09fe2e7a999d155d10d6af42ddf40ab0b4847a63ed1f9458533858e rrd-1.1.3.tgz" -sha512sums="356264de1b967af0f78e25e3c0afcbec704dd3e49d828e08d21d744d5fcdc46f4cd7f7c118b4e283c20bcaf2a4c29e0ac9437c7f66ca0d260a76fddf7b9d3242 rrd-1.1.3.tgz" diff --git a/unmaintained/php-suhosin/0001-php_flock-undefined-variable-fix.patch b/unmaintained/php-suhosin/0001-php_flock-undefined-variable-fix.patch deleted file mode 100644 index eb08b1f52e..0000000000 --- a/unmaintained/php-suhosin/0001-php_flock-undefined-variable-fix.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 2979ca419e3c38252384e6b4a23c53736645542a Mon Sep 17 00:00:00 2001 -From: "V.Krishn" -Date: Tue, 16 Feb 2016 20:33:31 +0530 -Subject: [PATCH] php_flock undefined variable fix - ---- - log.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/log.c b/log.c -index eae3841..77cbfa7 100644 ---- a/log.c -+++ b/log.c -@@ -30,6 +30,9 @@ - #include - #include "SAPI.h" - #include "ext/standard/datetime.h" -+ -+#define LOCK_EX 2 -+#define LOCK_UN 3 - #include "ext/standard/flock_compat.h" - - #ifdef HAVE_SYS_SOCKET_H --- -1.7.10.4 - - diff --git a/unmaintained/php-suhosin/APKBUILD b/unmaintained/php-suhosin/APKBUILD deleted file mode 100644 index dbbcac4b6d..0000000000 --- a/unmaintained/php-suhosin/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: V.Krishn -# Maintainer: Natanael Copa -pkgname=php-suhosin -_pkgreal=suhosin -pkgver=0.9.38 -_pkgver=${pkgver/_rc/RC} -pkgrel=1 -pkgdesc="PHP extension SUHOSIN, An advanced protection system for PHP installations" -url="http://suhosin.org" -arch="all" -license="PHP" -depends= -pecldepends="php-dev autoconf" -makedepends="$pecldepends re2c" -install="" -subpackages="" -source="https://download.suhosin.org/$_pkgreal-$_pkgver.tar.gz - 0001-php_flock-undefined-variable-fix.patch - " - -_srcdir="${srcdir}/$_pkgreal-$_pkgver" -_builddir="${srcdir}"/$_pkgreal-$_pkgver -prepare() { - cd "$_srcdir" - for i in $source; do - case $i in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done -} - -build() { - cd "$_builddir" - phpize || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_ROOT="$pkgdir"/ install || return 1 - install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini -} - -md5sums="0c26402752b0aff69e4b891f062a52bf suhosin-0.9.38.tar.gz -c7b5679b138f3605f20a4c4b5742b759 0001-php_flock-undefined-variable-fix.patch" -sha256sums="c02d76c4e7ce777910a37c18181cb67fd9e90efe0107feab3de3131b5f89bcea suhosin-0.9.38.tar.gz -aeaf1969d67b954a155fc3eb303c47be66a447768ef90712c0efd887fa4c3c68 0001-php_flock-undefined-variable-fix.patch" -sha512sums="cc4eb38b5d6673cc3f2dc395e5a8b5461d3221019ac9849b747b6d5bae423cd5bd01a75b9432414dc7c26c78bab9f2381a5414712a6906a999f3ec9dc77ebc45 suhosin-0.9.38.tar.gz -d9bd1df73d33014d8e35e5094072e7b4aae2347f83154c0162880bbb2a2463e10d18709aa0fe685342831efdfe06a67886e25db9a9f059d1e0747e8b83781df4 0001-php_flock-undefined-variable-fix.patch" diff --git a/unmaintained/php-zmq/APKBUILD b/unmaintained/php-zmq/APKBUILD deleted file mode 100644 index 9e6fabba71..0000000000 --- a/unmaintained/php-zmq/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Valery Kartel -# Maintainer: Natanael Copa -pkgname=php-zmq -_pkgreal=zmq -pkgver=1.1.3 -_pkgver=${pkgver/_rc/RC} -pkgrel=0 -pkgdesc="PHP extension that provides bindings for ZeroMQ messaging" -url="http://pecl.php.net/package/$_pkgreal" -arch="all" -license="PHP" -depends= -pecldepends="php-dev autoconf" -makedepends="$pecldepends zeromq-dev" -install="" -subpackages="" -source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" - -_builddir="$srcdir"/$_pkgreal-$_pkgver - -build() { - cd "$_builddir" - phpize || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_ROOT="$pkgdir"/ install || return 1 - install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini -} - -md5sums="9c638df5a6347a0fefb0d43d780e6480 zmq-1.1.3.tgz" -sha256sums="c492375818bd51b355352798fb94f04d6828c6aeda41ba813849624af74144ce zmq-1.1.3.tgz" -sha512sums="0f03016e315a6c6a1e1d6eca1e20564834d2a924cef06af1b38693933f1e5a094c37e9c432705a64f61d95e82655f61358fc7783e7a6f06c7dd9ad84fc6f7bbc zmq-1.1.3.tgz" diff --git a/unmaintained/phppgadmin/APKBUILD b/unmaintained/phppgadmin/APKBUILD deleted file mode 100644 index f6a3405448..0000000000 --- a/unmaintained/phppgadmin/APKBUILD +++ /dev/null @@ -1,72 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -pkgname=phppgadmin -_pkgname=phpPgAdmin -pkgver=5.1 -pkgrel=0 -pkgdesc="A Web-based PHP tool for administering PostgreSQL" -url="http://phppgadmin.sourceforge.net/" -arch="noarch" -license="GPL2+" -depends="php php-pgsql php-zlib php-ctype postgresql" -depends_dev="" -makedepends="$depends_dev" -install="$pkgname.post-install" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/phppgadmin/$_pkgname-$pkgver.tar.gz - phppgadmin.apache2.conf - " - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/webapps/$pkgname "$pkgdir"/etc/$pkgname \ - || return 1 - - # copy phppgadmin - cp -ra "$_builddir"/* "$pkgdir"/usr/share/webapps/$pkgname/ \ - || return 1 - - # install the config - install -m440 \ - "$pkgdir"/usr/share/webapps/$pkgname/conf/config.inc.php-dist \ - "$pkgdir"/etc/$pkgname/config.inc.php || return 1 - rm -rf "$pkgdir"/usr/share/webapps/$pkgname/conf/ || return 1 - ln -fs /etc/phppgadmin/ "$pkgdir"/usr/share/webapps/$pkgname/conf \ - || return 1 - - # install the apache2 config - install -Dm644 "$srcdir"/$pkgname.apache2.conf \ - "$pkgdir"/etc/apache2/conf.d/$pkgname.conf || return 1 -} - -doc() { - mkdir -p "$subpkgdir"/usr/share/doc/$pkgname || return 1 - _docs="CREDITS DEVELOPERS FAQ HISTORY INSTALL LICENSE TODO \ - TRANSLATORS help" - for _doc in $_docs; do - mv "$pkgdir"/usr/share/webapps/$pkgname/$_doc \ - "$subpkgdir"/usr/share/doc/$pkgname/ || return 1 - done -} - -md5sums="554c94f5b38a1c6e8327ec3aa4cc6538 phpPgAdmin-5.1.tar.gz -670eec89bbe794a50d36c80f02608708 phppgadmin.apache2.conf" -sha256sums="42294e7b19d3b4003912eaad9a34df4096c0380871aedce152aa13d4955878a5 phpPgAdmin-5.1.tar.gz -fb8fe69a0f8bd2efd93e697d5071273cad508f5c46242c112966ec65662c678f phppgadmin.apache2.conf" -sha512sums="4a9502f234dd09487b016130217bc052899b9ba2ced953133defb0d095e9853570b766aa96bbdb4c315e42ca73002515fb8755166558e79e833b433eebd9bc22 phpPgAdmin-5.1.tar.gz -7dbc314c1c1dd3ab14a19323f01650fa1ef498e511ed4a05dac57438c9b926c7af0ad4260059b7cc971572557ef7001bcd110fbf0fa466e153f6125e38c15aeb phppgadmin.apache2.conf" diff --git a/unmaintained/phppgadmin/phppgadmin.apache2.conf b/unmaintained/phppgadmin/phppgadmin.apache2.conf deleted file mode 100644 index b69e01b22d..0000000000 --- a/unmaintained/phppgadmin/phppgadmin.apache2.conf +++ /dev/null @@ -1,7 +0,0 @@ -Alias /phppgadmin "/usr/share/webapps/phppgadmin" - - AllowOverride All - Options FollowSymlinks - Order allow,deny - Allow from all - diff --git a/unmaintained/phppgadmin/phppgadmin.post-install b/unmaintained/phppgadmin/phppgadmin.post-install deleted file mode 100644 index f9650a192a..0000000000 --- a/unmaintained/phppgadmin/phppgadmin.post-install +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -echo "*" >&2 -echo "* phppgadmin has been installed to:" >&2 -echo "* /usr/share/webapps/phppgadmin" >&2 -echo "* phppgadmin config file has been installed to:" >&2 -echo "* /etc/phppgadmin/config.inc.php" >&2 -echo "* If you use apache2:" >&2 -echo "* 1) Change the ownership of the config directory:" >&2 -echo "* chown -R apache:apache /etc/phppgadmin" >&2 -echo "* 2) See if you need to modify the apache2 config:" >&2 -echo "* /etc/apache2/conf.d/phppgadmin.conf" >&2 -echo "* 3) Restart apache2 when done." >&2 -echo "*" >&2 - -exit 0 diff --git a/unmaintained/phpredis/APKBUILD b/unmaintained/phpredis/APKBUILD deleted file mode 100644 index 6c745c3f49..0000000000 --- a/unmaintained/phpredis/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: ScrumpyJack -# Maintainer: -pkgname=phpredis -pkgver=2.2.7 -pkgrel=0 -pkgdesc="The phpredis extension provides an API for communicating with the Redis key-value store" -url="https://github.com/phpredis/phpredis" -arch="all" -license="PHP" -depends="" -depends_dev="" -makedepends="php-dev autoconf" -install="" -subpackages="" -source="https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz" - -_builddir=${srcdir}/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - phpize - ./configure -} - -package() { - cd "$_builddir" - make || return 1 - make INSTALL_ROOT=$pkgdir install || return 1 -} - -md5sums="f10bada46b6e1a15eac613df4f298f51 2.2.7.tar.gz" -sha256sums="a5882dd9b21908e123b3d5c5f72d6dc8cbbbb6a29996e568c4d18ed356c0362b 2.2.7.tar.gz" -sha512sums="eddca71c76fc39f46a316ac204521f352cba30cb2999a7b91fe907bdb0f17e287be025df2f7c3b7115790b1c2a781c162b32c77d29daf30b246bd4d163e5404e 2.2.7.tar.gz" diff --git a/unmaintained/physfs/APKBUILD b/unmaintained/physfs/APKBUILD deleted file mode 100644 index 5bca842223..0000000000 --- a/unmaintained/physfs/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=physfs -pkgver=2.0.3 -pkgrel=0 -pkgdesc="PhysicsFS is a library to provide abstract access to various archives" -url="http://icculus.org/physfs/" -arch="all" -license="custom zlib" -depends="" -depends_dev="zlib-dev" -makedepends="$depends_dev cmake doxygen" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="https://icculus.org/physfs/downloads/physfs-$pkgver.tar.bz2 - silence-gcc.patch" - -_builddir="$srcdir"/physfs-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" && mkdir bld && cd bld && \ - cmake -DCMAKE_INSTALL_PREFIX=/usr ../ && make || return 1 -} - -package() { - cd "$_builddir" && \ - install -d "$pkgdir"/usr/share/licenses/"$pkgname" && \ - install -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/"$pkgname"/ && \ - cd bld && make install DESTDIR="$pkgdir" || return 1 -} - -md5sums="c2c727a8a8deb623b521b52d0080f613 physfs-2.0.3.tar.bz2 -a2a01b5f5ddf9f6a37f8a8289edd69cc silence-gcc.patch" -sha256sums="ca862097c0fb451f2cacd286194d071289342c107b6fe69079c079883ff66b69 physfs-2.0.3.tar.bz2 -9eaeedabe7df2b80ab8c4ae4114d9ecbb9ab2125c14e5ca56b24d21387e06178 silence-gcc.patch" -sha512sums="47eff0c81b8dc3bb526766b0a8ad2437d2951867880116d6e6e8f2ec1490e263541fb741867fed6517cc3fa8a9c5651b36e3e02a499f19cfdc5c7261c9707e80 physfs-2.0.3.tar.bz2 -4e18558d23982d71aac5f6509bd771f65dd52d5e75d969d0ac0561e34a58cd183973157b5fd7f713ba4c32e3b30c5f5abc97de571cf301aad98538cc016154b4 silence-gcc.patch" diff --git a/unmaintained/physfs/silence-gcc.patch b/unmaintained/physfs/silence-gcc.patch deleted file mode 100644 index d4318f6f48..0000000000 --- a/unmaintained/physfs/silence-gcc.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit e64432ac6dde3bf6943d8fc929241d57a961a673 -Author: Isaac Dunham -Date: Tue Nov 18 10:26:22 2014 -0800 - - shut up gcc: data_start is stored to, not used - -diff --git a/archivers/zip.c b/archivers/zip.c -index 0e65453..611198d 100644 ---- a/archivers/zip.c -+++ b/archivers/zip.c -@@ -1113,7 +1113,7 @@ static void *ZIP_openArchive(const char *name, int forWriting) - { - void *in = NULL; - ZIPinfo *info = NULL; -- PHYSFS_uint32 data_start; -+ PHYSFS_uint32 data_start = data_start; - PHYSFS_uint32 cent_dir_ofs; - - BAIL_IF_MACRO(forWriting, ERR_ARC_IS_READ_ONLY, NULL); diff --git a/unmaintained/pidgin-audacious/APKBUILD b/unmaintained/pidgin-audacious/APKBUILD deleted file mode 100644 index 56aaaa9b16..0000000000 --- a/unmaintained/pidgin-audacious/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=pidgin-audacious -pkgver=2.0.0 -pkgrel=3 -pkgdesc="pidgin integration for audacious" -url="http://honeyplanet.jp/download.html" -arch="all" -license="GPL" -depends="pidgin" -depends_dev="audacious-dev dbus-glib-dev pidgin-dev gtk+-dev libmowgli-dev" -makedepends="$depends_dev" -install="" -subpackages= -source="http://honeyplanet.jp/pidgin-audacious-$pkgver.tar.gz" - -_builddir="$srcdir"/pidgin-audacious-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - mkdir -p ${pkgdir}/usr/lib/pidgin - make PIDGIN_LIB_DIR="${pkgdir}/usr/lib" install || return 1 -} - -md5sums="dfba64d9523c6fe9c7365f44be55404d pidgin-audacious-2.0.0.tar.gz" diff --git a/unmaintained/pnp4nagios/APKBUILD b/unmaintained/pnp4nagios/APKBUILD deleted file mode 100644 index 0f64a75f98..0000000000 --- a/unmaintained/pnp4nagios/APKBUILD +++ /dev/null @@ -1,75 +0,0 @@ -# Contributor: Peter de Zoeten -# Maintainer: Peter de Zoeten -pkgname=pnp4nagios -pkgver=0.6.15 -pkgrel=0 -pkgdesc="PNP4Nagios" -url="http://www.pnp4nagios.org" -arch="all" -license="GPL" -depends="nagios perl-time-hires perl-rrd php-zlib" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://sourceforge.net/projects/pnp4nagios/files/PNP-0.6/pnp4nagios-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr/share/webapps/pnp4nagios \ - --exec-prefix=/usr \ - --libexecdir=/usr/lib/pnp4nagios \ - --sysconfdir=/etc/pnp4nagios \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var/run \ - --datarootdir=/usr/share/webapps/pnp4nagios \ - --with-perfdata-logfile=/var/pnp4nagios/perfdata/process_perfdata.pl \ - --with-perfdata-dir=/var/pnp4nagios/perfdata \ - --with-perfdata-spool-dir=/var/pnp4nagios/perfdata/spool \ - || return 1 - make all || return 1 -} -doc() { - arch="noarch" - # Man pages - mkdir -p "$subpkgdir"/usr/share/man || return 1 - mv "$pkgdir"/usr/share/webapps/pnp4nagios/man/man* "$subpkgdir"/usr/share/man/ \ - || return 1 - - # Doc files - _docs="INSTALL README" - for _doc in $_docs; do - install -Dm644 "$srcdir"/$pkgname-$pkgver/$_doc \ - "$subpkgdir"/usr/share/doc/$pkgname/$_doc || return 1 - done - rmdir "$pkgdir"/usr/share/webapps/pnp4nagios/man -} - -package() { - cd "$_builddir" - make fullinstall DESTDIR="$pkgdir" || return 1 - mkdir -p "$pkgdir"/usr/share/nagios/htdocs/ssi - cp "$_builddir"/contrib/ssi/status-header.ssi "$pkgdir"/usr/share/nagios/htdocs/ssi/status-header.ssi -# rm -rf "$pkgdir"/etc/httpd - mkdir -p "$pkgdir"/etc/lighttpd - cp "$_builddir"/sample-config/lighttpd.pnp4nagios.conf "$pkgdir"/etc/lighttpd/pnp4nagios.conf.sample - install -D -m644 ../../npcd.cfg "$pkgdir"/etc/pnp4nagios/npcd.cfg - rm -f "$pkgdir"/etc/init.d/npcd - install -D -m755 ../../npcd "$pkgdir"/etc/init.d/npcd - chown nagios.nagios "$pkgdir"/var/pnp4nagios -} - - -md5sums="27cdab96510e15cfa0f4b7c2bf15dd2b pnp4nagios-0.6.15.tar.gz" diff --git a/unmaintained/pnp4nagios/npcd b/unmaintained/pnp4nagios/npcd deleted file mode 100644 index 2b17bea51a..0000000000 --- a/unmaintained/pnp4nagios/npcd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript - -depend() { - use net - need dbus - before nfs - after logger - } - -start() { - ebegin "Starting npcd" - start-stop-daemon --start --quiet --exec /usr/bin/npcd -- -d -f /etc/pnp4nagios/npcd.cfg - eend $? - } - -stop() { - ebegin "Stopping npcd" - start-stop-daemon --stop --quiet --exec /usr/bin/npcd - eend $? - } - diff --git a/unmaintained/pnp4nagios/npcd.cfg b/unmaintained/pnp4nagios/npcd.cfg deleted file mode 100644 index 43bf14424e..0000000000 --- a/unmaintained/pnp4nagios/npcd.cfg +++ /dev/null @@ -1,195 +0,0 @@ -# NPCD.cfg - sample configuration file for PNPs NPCD -# -# This program 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 -# (at your option) any later version. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 as -# published by the Free Software Foundation; -# -# 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -# Privilege Options - -user = nagios -group = nagios - -######################### -# # -# Logging Options # -# # -######################### - -# log_type - define if you want your logs to -# 'syslog' or to a 'file' -# -# log_type = -# - -log_type = file -#log_type = syslog - - -# log_file - define a path to your logfile -# needed if 'log_type'='file' -# -# log_file = -# - -log_file = /var/pnp4nagios/npcd.log - - -# max_logfile_size - defines the maximum filesize (bytes) -# before the logfile will rotated. -# -# max_logfile_size = (default 10Mbyte) -# - -max_logfile_size = 10485760 - - -# log_level - how much should we log? -# -# log_level = -# -# 0 = No logging - except errors -# 1 = Small logging - some few more output -# 2 = More Logging (actual ALL logs) -# -1 = DEBUG Mode - ALL Logging and slower processing -# - -log_level = 0 - -######################### -# # -# NEEDED OPTIONS # -# # -######################### - -# perfdata_spool_dir - where we can find the -# performance data files -# -# perfdata_spool_dir = -# - -perfdata_spool_dir = /var/pnp4nagios/perfdata/spool/ - - -# Execute following command for each found file -# in 'perfdata_spool_dir' -# -# perfdata_file_run_cmd = -# -# Must be executable by user/group from above -# -# perfdata_file_run_cmd = -# - -perfdata_file_run_cmd = /usr/lib/pnp4nagios/process_perfdata.pl - - -# perfdata_file_run_cmd_args (optional) -# -# If you wish, you can apply more arguments to the -# perfdata_file_run_cmd -# -# Hint: -# NPCD will create a command line like this: -# ' ' -# - -perfdata_file_run_cmd_args = -b - - -# identify_npcd (optional) -# -# If set to one (by default) npcd will append -# '-n' to the perfdata_file_run_cmd -# -# identify_npcd = 0|1 (default: 1) - -identify_npcd = 1 - - -# npcd_max_threads - define how many parallel threads we -# should start - -npcd_max_threads = 5 - -# sleep_time - how many seconds npcd should wait between dirscans -# -# sleep_time = 15 (default) - -sleep_time = 15 - - -# EXPERIMENTAL -# -# load_threshold - npcd won't start new threads -# if your system load is above this threshold -# -# load_threshold = (default: 0.0) -# -# Hint: Do not use "," as decimal delimiter -# -# 07/15/2008: Every value above 0.0 will -# enable this feature - -load_threshold = 0.0 - - -# location of your pid file - -pid_file=/var/run/npcd.pid - - -######################### -# # -# NPCDMOD OPTIONS # -# # -######################### - - -# perfdata_file - where should the npcdmod.o -# write the performance data -# -# must not be within the same directory as -# perfdata_spool_dir -# -# perfdata_file = -# - -perfdata_file = /var/pnp4nagios/perfdata.dump - - -# perfdata_spool_filename - declare the destination -# filename for the spooled files -# -# This option allows you a customized filename. -# Usefull if you own different nagios servers -# which write their data to a shared storage. -# -# perfdata_spool_filename = -# -# Hint: -# The final files will be moved to -# 'perfdata_spool_dir/perfdata_spool_filename-TIMESTAMP' -# -# Example: -# -# perfdata_spool_filename = perfdata-NY -# perfdata_spool_filename = perfdata-LA - -perfdata_spool_filename = perfdata - -# -# perfdata_file_processing_interval -# -perfdata_file_processing_interval = 15 - -# We have to end with a newline - diff --git a/unmaintained/polkit-kde-agent/APKBUILD b/unmaintained/polkit-kde-agent/APKBUILD deleted file mode 100644 index a026749e9a..0000000000 --- a/unmaintained/polkit-kde-agent/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: k0r10n -# Maintainer: -pkgname=polkit-kde-agent -pkgver=0.99.0 -pkgrel=0 -pkgdesc="Daemon providing a polkit authentication UI for KDE" -url="https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1" -arch="all" -license="GPL" -depends= -depends_dev="kdelibs-dev" -makedepends="$depends_dev automoc4 cmake" -install="" -subpackages="$pkgname-lang" -source="ftp://ftp.kde.org/pub/kde/stable/apps/KDE4.x/admin/${pkgname}-1-${pkgver}.tar.bz2 - polkit-kde-agent-1-0.99.0-remember_password-1.patch" - -_builddir="$srcdir"/${pkgname}-1-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="a02d3fddc6270a88bceaf3ba604c92f8 polkit-kde-agent-1-0.99.0.tar.bz2 -07dbdaa9a0ae90ecdc0c1d69bf680380 polkit-kde-agent-1-0.99.0-remember_password-1.patch" -sha256sums="e371ff2698431decc825bb146d638de432f5fffd09046e225270c30dbac1b467 polkit-kde-agent-1-0.99.0.tar.bz2 -7e7305659a9fbb3070e0917b6bd9b7562773d040273eafeb46dab0fd99b1edea polkit-kde-agent-1-0.99.0-remember_password-1.patch" -sha512sums="275fe35218c708fa6d653c580814c97da7b51b0b9cb67f2c5ec1e5b29f2acc2489b4c72d5217a76ff1f3f086560cdbbfa12ec56a1d01996b38e7e706d43f3aa0 polkit-kde-agent-1-0.99.0.tar.bz2 -b9e8cf34b045c376601fa5b0a59bb92de8750f91f7a5901b23dff7d2880b66055379cee1f66f88aa8ddbeb12a842f642cb08f3e3688a29b47bc72e3ff408decd polkit-kde-agent-1-0.99.0-remember_password-1.patch" diff --git a/unmaintained/polkit-kde-agent/polkit-kde-agent-1-0.99.0-remember_password-1.patch b/unmaintained/polkit-kde-agent/polkit-kde-agent-1-0.99.0-remember_password-1.patch deleted file mode 100644 index 4401e045df..0000000000 --- a/unmaintained/polkit-kde-agent/polkit-kde-agent-1-0.99.0-remember_password-1.patch +++ /dev/null @@ -1,49 +0,0 @@ -Submitted By: Ragnar Thomsen -Date: 2012-07-21 -Initial Package Version: 0.99.0 -Origin: OpenSUSE -Description: Removes the unimplemented "remember authorization" checkbox. - -diff -Naur a/AuthDialog.ui b/AuthDialog.ui ---- a/AuthDialog.ui 2010-12-09 00:40:22.000000000 +0100 -+++ b/AuthDialog.ui 2012-07-21 19:01:38.532138834 +0200 -@@ -114,39 +114,6 @@ - - - -- -- -- -- Remember authorization -- -- -- true -- -- -- -- -- -- -- For this session only -- -- -- -- -- -- -- Qt::Horizontal -- -- -- QSizePolicy::Fixed -- -- -- -- 15 -- 10 -- -- -- -- - - - diff --git a/unmaintained/polkit-qt/APKBUILD b/unmaintained/polkit-qt/APKBUILD deleted file mode 100644 index 29f7b0bf48..0000000000 --- a/unmaintained/polkit-qt/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=polkit-qt -pkgver=0.112.0 -pkgrel=0 -pkgdesc="Qt bindings for PolicyKit" -url="http://www.kde.org/" -arch="all" -license="LGPL" -depends= -depends_dev="polkit-dev qt-dev" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="$pkgname-dev" -source="http://kde.mirrors.tds.net/pub/kde/stable/apps/KDE4.x/admin/polkit-qt-1-$pkgver.tar.bz2" - -_builddir="$srcdir"/polkit-qt-1-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DUSE_QT4=TRUE \ - -Wno-dev \ - "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="bee71b71c12797e6fc498540a06c829b polkit-qt-1-0.112.0.tar.bz2" -sha256sums="67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6 polkit-qt-1-0.112.0.tar.bz2" -sha512sums="4cb17389b54a09c53052f6d72aa5cbfe09ccb19f7fd4edf8b43ccd4751f5e88609c5f89777f4af92167d32eb2ce1e78537cea7bcfb60a90072d1fe02d6a59b50 polkit-qt-1-0.112.0.tar.bz2" diff --git a/unmaintained/polygraph/10-fix-ftbfs-gcc-4.7.patch b/unmaintained/polygraph/10-fix-ftbfs-gcc-4.7.patch deleted file mode 100644 index b066680cdd..0000000000 --- a/unmaintained/polygraph/10-fix-ftbfs-gcc-4.7.patch +++ /dev/null @@ -1,77 +0,0 @@ -Description: Fix ftbfs with GCC-4.7. -Author: Mònica Ramírez Arceda -Bug-Debian: http://bugs.debian.org/667326 -Last-Update: 2012-05-11 - ---- a/src/xstd/Heap.h -+++ b/src/xstd/Heap.h -@@ -23,7 +23,7 @@ - const Item &top() const { return this->theItems[1]; } - Item &at(int idx) { return this->theItems[idx+1]; } - -- void add(Item v) { append(v); floatUp(++theCnt); } -+ void add(Item v) { this->append(v); floatUp(++theCnt); } - void skip() { this->theItems[1] = this->theItems[theCnt--]; this->theCount--; sinkDown(1); } - Item shift() { const Item v = this->theItems[1]; skip(); return v; } - ---- a/src/xstd/Ring.h -+++ b/src/xstd/Ring.h -@@ -22,11 +22,11 @@ - int size() const { return Array::size(); } - bool empty() const { return this->theInOff <= this->theOutOff; } - bool full() const { return count() >= this->theCapacity; } -- const Item &top(int off = 0) const { return item((this->theOutOff+off) % this->theCapacity); } -+ const Item &top(int off = 0) const { return this->item((this->theOutOff+off) % this->theCapacity); } - -- Item &top(int off = 0) { return item((this->theOutOff+off) % this->theCapacity); } -- void enqueue(Item i) { Assert(!full()); item(this->theInOff++ % this->theCapacity) = i; check(); } -- Item dequeue() { return item(this->theOutOff++ % this->theCapacity); } -+ Item &top(int off = 0) { return this->item((this->theOutOff+off) % this->theCapacity); } -+ void enqueue(Item i) { Assert(!full()); this->item(this->theInOff++ % this->theCapacity) = i; check(); } -+ Item dequeue() { return this->item(this->theOutOff++ % this->theCapacity); } - - void reset() { this->theInOff = this->theOutOff = 0; } - inline void resize(int aCap); ---- a/src/runtime/StatPhase.cc -+++ b/src/runtime/StatPhase.cc -@@ -413,12 +413,12 @@ - break; - } - } else { -- static CompoundXactInfo &compound = *CompoundXactInfo::Create(); -- compound.exchanges = 1; -- compound.reqSize = reqSize; -- compound.repSize = repSize; -- compound.lifeTime = repTime; -- compound.record(rec.theIsolated); -+ static CompoundXactInfo &compound2 = *CompoundXactInfo::Create(); -+ compound2.exchanges = 1; -+ compound2.reqSize = reqSize; -+ compound2.repSize = repSize; -+ compound2.lifeTime = repTime; -+ compound2.record(rec.theIsolated); - } - - if (x->cookiesSent() > 0) ---- a/src/cache/CacheEntryHash.cc -+++ b/src/cache/CacheEntryHash.cc -@@ -14,7 +14,7 @@ - - CacheEntryHash::CacheEntryHash(int aCapacity): theCount(0) { - theCapacity = (aCapacity + aCapacity/3 + 7) | 1; -- theIndex = new (CacheEntry*[theCapacity]); -+ theIndex = new (CacheEntry*[this->theCapacity]); - memset(theIndex, 0, sizeof(CacheEntry*)*theCapacity); - } - ---- a/src/tools/IntIntHash.cc -+++ b/src/tools/IntIntHash.cc -@@ -13,7 +13,7 @@ - - IntIntHash::IntIntHash(int aCapacity): theHashCap(0) { - theHashCap = (aCapacity + aCapacity/3 + 7) | 1; -- theIndex = new (IntIntHashItem*[theHashCap]); -+ theIndex = new (IntIntHashItem*[this->theHashCap]); - memset(theIndex, 0, sizeof(IntIntHashItem*)*theHashCap); - } - diff --git a/unmaintained/polygraph/APKBUILD b/unmaintained/polygraph/APKBUILD deleted file mode 100644 index 7f6737e820..0000000000 --- a/unmaintained/polygraph/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Leonardo Arena -pkgname=polygraph -pkgver=4.3.2 -pkgrel=1 -pkgdesc="Performance testing tool for Web intermediaries" -url="http://www.web-polygraph.org" -arch="all" -license="Apache2" -depends="zlib-dev" -depends_dev= -makedepends="$depends_dev" -install= -subpackages="$pkgname-dev $pkgname-doc" -source="http://www.web-polygraph.org/downloads/srcs/$pkgname-$pkgver-src.tgz - 10-fix-ftbfs-gcc-4.7.patch - " - - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - - # remove the 2 lines below (and this) if there is no init.d script - # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname -} - -md5sums="74d9ad75ed355afbbeefa166954da54f polygraph-4.3.2-src.tgz -3c7399d3f005c8afb867e9ea3f0d6f4c 10-fix-ftbfs-gcc-4.7.patch" -sha256sums="b0104448ff3c2f29cebeb5ad5ee6e6f670438d8b78fa095fd54f3b16d99569bb polygraph-4.3.2-src.tgz -65185b6b695e62efa39cc778fd253afef250b2999eeec8b3e29b41369db3cdb0 10-fix-ftbfs-gcc-4.7.patch" -sha512sums="a660427f9e21dddb102a172238823091c64983ca6eb938eb5aa9cd1d980e2b2b061614f41162000c838514d164124e08c0fe4517bda1e3f2bf6498831957674b polygraph-4.3.2-src.tgz -e091fb9cab4cb3053df532df9012cd093a7eb3493aad112ba38eb31d534185bc83c6b9b5eeb424316f9354b04d13a3a92a1af45e6134a60690e5f4a6b3180a27 10-fix-ftbfs-gcc-4.7.patch" diff --git a/unmaintained/postfixadmin/APKBUILD b/unmaintained/postfixadmin/APKBUILD deleted file mode 100644 index 1ab46cea84..0000000000 --- a/unmaintained/postfixadmin/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Leonardo Arena -pkgname=postfixadmin -pkgver=2.3.5 -pkgrel=0 -pkgdesc="Web front-end for managing Postfix Virtual Domains" -url="http://phpldapadmin.sourceforge.net" -arch="noarch" -license="GPL2" -depends="php" -depends_dev= -makedepends="$depends_dev" -install= -subpackages= -source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - # apply patches here -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/share/webapps/$pkgname - mkdir -p "$pkgdir"/etc/$pkgname - mv * "$pkgdir"/usr/share/webapps/$pkgname - mv "$pkgdir"/usr/share/webapps/$pkgname/config.inc.php "$pkgdir"/etc/$pkgname - ln -s /etc/$pkgname/config.inc.php "$pkgdir"/usr/share/webapps/$pkgname || exit 1 -} - -md5sums="9a72ed8d827fa2c7f641001f2aa87814 postfixadmin-2.3.5.tar.gz" diff --git a/unmaintained/postgresql-old8.4/APKBUILD b/unmaintained/postgresql-old8.4/APKBUILD deleted file mode 100644 index d75fa3e10c..0000000000 --- a/unmaintained/postgresql-old8.4/APKBUILD +++ /dev/null @@ -1,71 +0,0 @@ -# Maintainer: Natanael Copa -pkgver=8.4.13 -_engine_ver=${pkgver%.*} -pkgname=postgresql-old${_engine_ver} -pkgrel=0 -pkgdesc="Old PostgreSQL engine to be used with postgresql-upgrade" -url="http://www.postgresql.org/" -arch="all" -license="BSD" -install="" -depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev" -makedepends="$depends_dev" -subpackages="" -source="ftp://ftp.postgresql.org/pub/source/v$pkgver/postgresql-$pkgver.tar.bz2 - " - -_builddir="$srcdir"/postgresql-$pkgver -build() { - cd "$_builddir" - ./configure --prefix=/usr/lib/postgresql-${_engine_ver} \ - --mandir=/usr/share/man \ - --with-openssl \ - --disable-rpath \ - --disable-shared \ - || return 1 - - make all || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - # remo stuff not needed for upgrade - cd "$pkgdir"/usr/lib/postgresql-${_engine_ver} - rm bin/clusterdb - rm bin/createdb - rm bin/createlang - rm bin/createuser - rm bin/dropdb - rm bin/droplang - rm bin/dropuser - rm bin/ecpg - rm bin/initdb - rm bin/pg_basebackup - rm bin/pg_config - rm bin/pg_controldata - rm bin/pg_dump - rm bin/pg_dumpall - rm bin/pg_restore - rm bin/psql - rm bin/reindexdb - rm bin/vacuumdb - rm -rf include - rm lib/dict_snowball.so - rm lib/libecpg* - rm lib/libpg* - rm lib/libpq* - rm -rf lib/pgxs - rm lib/plpgsql.so - rm -rf share/doc - rm -rf share/man - rm -rf share/tsearch_data - rm share/*.bki - rm share/*description - rm share/*.sample - rm share/*.sql - rm share/*.txt -} - -md5sums="220657cf9c37e6688c7501d28b2ce8ef postgresql-8.4.13.tar.bz2" diff --git a/unmaintained/postgresql-old9.0/APKBUILD b/unmaintained/postgresql-old9.0/APKBUILD deleted file mode 100644 index ce3f91c793..0000000000 --- a/unmaintained/postgresql-old9.0/APKBUILD +++ /dev/null @@ -1,71 +0,0 @@ -# Maintainer: Natanael Copa -pkgver=9.0.9 -_engine_ver=${pkgver%.*} -pkgname=postgresql-old${_engine_ver} -pkgrel=0 -pkgdesc="Old PostgreSQL engine to be used with postgresql-upgrade" -url="http://www.postgresql.org/" -arch="all" -license="BSD" -install="" -depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev" -makedepends="$depends_dev" -subpackages="" -source="ftp://ftp.postgresql.org/pub/source/v$pkgver/postgresql-$pkgver.tar.bz2 - " - -_builddir="$srcdir"/postgresql-$pkgver -build() { - cd "$_builddir" - ./configure --prefix=/usr/lib/postgresql-${_engine_ver} \ - --mandir=/usr/share/man \ - --with-openssl \ - --disable-rpath \ - --disable-shared \ - || return 1 - - make all || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - # remo stuff not needed for upgrade - cd "$pkgdir"/usr/lib/postgresql-${_engine_ver} - rm bin/clusterdb - rm bin/createdb - rm bin/createlang - rm bin/createuser - rm bin/dropdb - rm bin/droplang - rm bin/dropuser - rm bin/ecpg - rm bin/initdb - rm bin/pg_basebackup - rm bin/pg_config - rm bin/pg_controldata - rm bin/pg_dump - rm bin/pg_dumpall - rm bin/pg_restore - rm bin/psql - rm bin/reindexdb - rm bin/vacuumdb - rm -rf include - rm lib/dict_snowball.so - rm lib/libecpg* - rm lib/libpg* - rm lib/libpq* - rm -rf lib/pgxs - rm lib/plpgsql.so - rm -rf share/doc - rm -rf share/man - rm -rf share/tsearch_data - rm share/*.bki - rm share/*description - rm share/*.sample - rm share/*.sql - rm share/*.txt -} - -md5sums="284303098b161240fd13df7c251822a5 postgresql-9.0.9.tar.bz2" diff --git a/unmaintained/postgresql-old9.1/1q b/unmaintained/postgresql-old9.1/1q deleted file mode 100644 index e8a4d8cd66..0000000000 --- a/unmaintained/postgresql-old9.1/1q +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=postgresql -pkgver=9.1.5 -_engine_ver=${pkgver%.*} -pkgrel=0 -pkgdesc="Old PostgreSQL binary to be used with postgresql-upgrade" -url="http://www.postgresql.org/" -arch="all" -license="BSD" -install="" -depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev" -makedepends="$depends_dev" -subpackages="" -source="ftp://ftp.$pkgname.org/pub/source/v$pkgver/$pkgname-$pkgver.tar.bz2 - " - -build() { - cd "$srcdir"/$pkgname-$pkgver || return 1 - ./configure --prefix=/usr/lib/postgresql-${_engine_ver} \ - --mandir=/usr/share/man \ - --with-openssl \ - --disable-rpath \ - || return 1 - - make all || return 1 -} - -package() { - cd "$srcdir"/$pkgname-$pkgver || return 1 - make DESTDIR="$pkgdir" install || return 1 - - # remo stuff not needed for upgrade -# cd "$pkgdir"/usr/lib/potgresql-${_engine_ver} -} - -md5sums="c784decb60615aa94c6a31601bc6ffd2 postgresql-9.1.5.tar.bz2" diff --git a/unmaintained/postgresql-old9.1/APKBUILD b/unmaintained/postgresql-old9.1/APKBUILD deleted file mode 100644 index 33cbd27d2a..0000000000 --- a/unmaintained/postgresql-old9.1/APKBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Maintainer: Natanael Copa -pkgver=9.1.5 -_engine_ver=${pkgver%.*} -pkgname=postgresql-old${_engine_ver} -pkgrel=0 -pkgdesc="Old PostgreSQL binary to be used with postgresql-upgrade" -url="http://www.postgresql.org/" -arch="all" -license="BSD" -install="" -depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev" -makedepends="$depends_dev" -subpackages="" -source="ftp://ftp.postgresql.org/pub/source/v$pkgver/postgresql-$pkgver.tar.bz2 - " - -_builddir="$srcdir"/postgresql-$pkgver -build() { - cd "$_builddir" - ./configure --prefix=/usr/lib/postgresql-${_engine_ver} \ - --mandir=/usr/share/man \ - --with-openssl \ - --disable-rpath \ - --disable-shared \ - || return 1 - - make all || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - # remo stuff not needed for upgrade - cd "$pkgdir"/usr/lib/postgresql-${_engine_ver} - rm bin/clusterdb - rm bin/createdb - rm bin/createlang - rm bin/createuser - rm bin/dropdb - rm bin/droplang - rm bin/dropuser - rm bin/ecpg - rm bin/initdb - rm bin/pg_basebackup - rm bin/pg_config - rm bin/pg_controldata - rm bin/pg_dump - rm bin/pg_dumpall - rm bin/pg_restore - rm bin/psql - rm bin/reindexdb - rm bin/vacuumdb - rm -rf include - rm -r lib - rm -rf share/doc - rm -rf share/man - rm -rf share/tsearch_data - rm share/*.bki - rm share/*description - rm share/*.sample - rm share/*.sql - rm share/*.txt -} - -md5sums="c784decb60615aa94c6a31601bc6ffd2 postgresql-9.1.5.tar.bz2" diff --git a/unmaintained/postgresql-old9.2/APKBUILD b/unmaintained/postgresql-old9.2/APKBUILD deleted file mode 100644 index 46c29a4975..0000000000 --- a/unmaintained/postgresql-old9.2/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Maintainer: Natanael Copa -pkgver=9.2.4 -_engine_ver=${pkgver%.*} -pkgname=postgresql-old${_engine_ver} -pkgrel=0 -pkgdesc="Old PostgreSQL binary to be used with postgresql-upgrade" -url="http://www.postgresql.org/" -arch="all" -license="BSD" -install="" -depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev" -makedepends="$depends_dev" -subpackages="" -source="ftp://ftp.postgresql.org/pub/source/v$pkgver/postgresql-$pkgver.tar.bz2 - " - -_builddir="$srcdir"/postgresql-$pkgver -build() { - cd "$_builddir" - ./configure --prefix=/usr/lib/postgresql-${_engine_ver} \ - --mandir=/usr/share/man \ - --with-openssl \ - --disable-rpath \ - --disable-shared \ - || return 1 - - make all || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - # remo stuff not needed for upgrade - cd "$pkgdir"/usr/lib/postgresql-${_engine_ver} - rm bin/clusterdb - rm bin/createdb - rm bin/createlang - rm bin/createuser - rm bin/dropdb - rm bin/droplang - rm bin/dropuser - rm bin/ecpg - rm bin/initdb - rm bin/pg_basebackup - rm bin/pg_config - rm bin/pg_controldata - rm bin/pg_dump - rm bin/pg_dumpall - rm bin/pg_restore - rm bin/psql - rm bin/reindexdb - rm bin/vacuumdb - rm -rf include - rm -r lib - rm -rf share/doc - rm -rf share/man - rm -rf share/tsearch_data - rm share/*.bki - rm share/*description - rm share/*.sample - rm share/*.sql - rm share/*.txt -} - -md5sums="6ee5bb53b97da7c6ad9cb0825d3300dd postgresql-9.2.4.tar.bz2" -sha256sums="d97dd918a88a4449225998f46aafa85216a3f89163a3411830d6890507ffae93 postgresql-9.2.4.tar.bz2" -sha512sums="1f347a8e75f4c350cc1ee2e0406b1b696f8e82cd259bb17404113874516fdf4c395517962a5320d5c386994cae7ebe7dbdbbeb7ae79c76d6d506ce5bda662c3e postgresql-9.2.4.tar.bz2" diff --git a/unmaintained/postgresql-old9.3/APKBUILD b/unmaintained/postgresql-old9.3/APKBUILD deleted file mode 100644 index ae6a04ac22..0000000000 --- a/unmaintained/postgresql-old9.3/APKBUILD +++ /dev/null @@ -1,68 +0,0 @@ -# Maintainer: Natanael Copa -pkgver=9.3.9 -_engine_ver=${pkgver%.*} -pkgname=postgresql-old${_engine_ver} -pkgrel=0 -pkgdesc="Old PostgreSQL binary to be used with postgresql-upgrade" -url="http://www.postgresql.org/" -arch="all" -license="BSD" -install="" -depends_dev="readline-dev openssl-dev zlib-dev libxml2-dev" -makedepends="$depends_dev" -subpackages="" -source="ftp://ftp.postgresql.org/pub/source/v$pkgver/postgresql-$pkgver.tar.bz2 - " - -_builddir="$srcdir"/postgresql-$pkgver -build() { - cd "$_builddir" - ./configure --prefix=/usr/lib/${pkgname} \ - --mandir=/usr/share/man \ - --with-openssl \ - --disable-rpath \ - --disable-shared \ - || return 1 - - make all || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - # remo stuff not needed for upgrade - cd "$pkgdir"/usr/lib/${pkgname} - rm bin/clusterdb - rm bin/createdb - rm bin/createlang - rm bin/createuser - rm bin/dropdb - rm bin/droplang - rm bin/dropuser - rm bin/ecpg - rm bin/initdb - rm bin/pg_basebackup - rm bin/pg_config - rm bin/pg_controldata - rm bin/pg_dump - rm bin/pg_dumpall - rm bin/pg_restore - rm bin/psql - rm bin/reindexdb - rm bin/vacuumdb - rm -rf include - rm -r lib - rm -rf share/doc - rm -rf share/man - rm -rf share/tsearch_data - rm share/*.bki - rm share/*description - rm share/*.sample - rm share/*.sql - rm share/*.txt -} - -md5sums="41cd45d8f9d32c900ff5dafb5946d31f postgresql-9.3.9.tar.bz2" -sha256sums="f73bd0ec2028511732430beb22414a022d2114231366e8cbe78c149793910549 postgresql-9.3.9.tar.bz2" -sha512sums="c6a9cae07968c99039910bb98d3e365fc285d2cdef02dd594128bd69ae65926392b18b65b0e13c3f17c366413bffbe226b6e8ce3453774b0439745b18ea129a8 postgresql-9.3.9.tar.bz2" diff --git a/unmaintained/postler/APKBUILD b/unmaintained/postler/APKBUILD deleted file mode 100644 index e8f3117388..0000000000 --- a/unmaintained/postler/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=postler -pkgver=0.1.1 -pkgrel=1 -pkgdesc="Email client" -url="https://launchpad.net/postler/" -arch="" -license="LGPL2.1" -depends="msmtp" -makedepends="gtk+-dev webkit-dev libunique-dev libnotify-dev libcanberra-dev - python vala db-dev openssl-dev" -install="" -subpackages="$pkgname-doc" -source="http://archive.xfce.org/src/apps/postler/0.1/postler-$pkgver.tar.bz2 - inet_ntoa.patch" - -_builddir="$srcdir"/postler-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./waf configure --prefix=/usr \ - --disable-libindicate \ - || return 1 - ./waf build || return 1 -} - -package() { - cd "$_builddir" - ./waf install --destdir="$pkgdir" || return 1 -} - -md5sums="02e502c9f4a4b92e4ace32d9e268f06d postler-0.1.1.tar.bz2 -06bb9bb2d1a809b6e58b2a5012393151 inet_ntoa.patch" diff --git a/unmaintained/postler/inet_ntoa.patch b/unmaintained/postler/inet_ntoa.patch deleted file mode 100644 index bbb0969bc2..0000000000 --- a/unmaintained/postler/inet_ntoa.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/wscript -+++ b/wscript -@@ -141,7 +141,6 @@ - includes=['/usr/local/include/db42'], - libpath=['/usr/local/lib/db42'], lib='db', mandatory=True) - else: -- check_function ('inet_ntoa', 'arpa/inet.h', 'nsl') - check_function ('dlopen', 'dlfcn.h', 'dl') - check_function ('db_create', 'db.h', 'db') - check_pkg ('openssl') diff --git a/unmaintained/poweradmin/0010-fix-installer-config.patch b/unmaintained/poweradmin/0010-fix-installer-config.patch deleted file mode 100644 index 11dd435163..0000000000 --- a/unmaintained/poweradmin/0010-fix-installer-config.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- ./install/index.php.orig -+++ ./install/index.php -@@ -287,11 +287,27 @@ - "\$db_port\t\t= '" . $_POST['db_port'] . "';\n" . - "\$db_type\t\t= '" . $_POST['db_type'] . "';\n" . - "\n" . -- "\$iface_lang\t\t= '" . $_POST['language'] . "';\n" . -+ "\$iface_lang\t\t= '" . $_POST['language'] . "';\n" . -+ "\$iface_style\t\t= ". "'example';\n" . -+ "\$iface_rowamount\t=". "50;\n" . -+ "\$iface_expire\t\t=". "1800;\n" . -+ "\$iface_zonelist_serial\t=". "false;\n" . -+ "\$iface_title\t\t=". "'Poweradmin';\n" . - "\n" . - "\$dns_hostmaster\t\t= '" . $_POST['dns_hostmaster'] . "';\n" . - "\$dns_ns1\t\t= '" . $_POST['dns_ns1'] . "';\n" . - "\$dns_ns2\t\t= '" . $_POST['dns_ns2'] . "';\n" . -+ "\n" . -+ "// See for help.\n" . -+ "//\$timezone\t\t=". "'UTC';\n" . -+ "\n" . -+ "/* Syslog usage - writes authentication attempts to syslog\n" . -+ " This facility could be used in combination with fail2ban to\n" . -+ " ban IPs with break-in attempts\n" . -+ "*/\n" . -+ "\$syslog_use = false;\n" . -+ "\$syslog_ident = 'poweradmin';\n" . -+ "\$syslog_facility = LOG_USER;\n" . - "\n?>\n"; - - if (is_writeable($local_config_file)) { diff --git a/unmaintained/poweradmin/0020-fix-for-mysql55.patch b/unmaintained/poweradmin/0020-fix-for-mysql55.patch deleted file mode 100644 index dbf59973c5..0000000000 --- a/unmaintained/poweradmin/0020-fix-for-mysql55.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ./docs/powerdns-mysql-db-structure.sql.orig -+++ ./docs/powerdns-mysql-db-structure.sql -@@ -7,7 +7,7 @@ - notified_serial INT DEFAULT NULL, - account VARCHAR(40) DEFAULT NULL, - primary key (id) --)type=InnoDB; -+) Engine=InnoDB; - - CREATE UNIQUE INDEX name_index ON domains(name); - -@@ -21,7 +21,7 @@ - prio INT DEFAULT NULL, - change_date INT DEFAULT NULL, - primary key(id) --)type=InnoDB; -+) Engine=InnoDB; - - CREATE INDEX rec_name_index ON records(name); - CREATE INDEX nametype_index ON records(name,type); diff --git a/unmaintained/poweradmin/APKBUILD b/unmaintained/poweradmin/APKBUILD deleted file mode 100644 index 2ec8077ed1..0000000000 --- a/unmaintained/poweradmin/APKBUILD +++ /dev/null @@ -1,81 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -pkgname=poweradmin -pkgver=2.1.5.999 -pkgrel=0 -pkgdesc="A Web-based PHP tool for administering PowerDNS" -url="https://www.poweradmin.org/" -arch="noarch" -license="GPL" -depends="php php-gettext php-mcrypt php-pear php-pear-mdb2 pdns" -# user needs to select either mysql or pgsql: -# - mysql php-mysql php-pear-mdb2-driver-mysql -# - postgresql php-pgsql php-pear-mdb2-driver-pgsql -depends_dev= -makedepends="$depends_dev wget" -install="$pkgname.post-install" -subpackages="$pkgname-doc" -source="https://www.poweradmin.org/download/poweradmin.nightly.tgz - 0010-fix-installer-config.patch - 0020-fix-for-mysql55.patch - $pkgname.apache2.conf - " - -_builddir="$srcdir"/$pkgname-nightly -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - # copy poweradmin - mkdir -p "$pkgdir"/usr/share/webapps/$pkgname || return 1 - cp -ra "$_builddir"/* "$pkgdir"/usr/share/webapps/$pkgname/ || return 1 - - # install empty config file (for the web installer) - mkdir -p "$pkgdir"/etc/$pkgname || return 1 - touch "$pkgdir"/etc/$pkgname/config.inc.php || return 1 - chmod 660 "$pkgdir"/etc/$pkgname/config.inc.php || return 1 - ln -fs /etc/$pkgname/config.inc.php "$pkgdir"/usr/share/webapps/$pkgname/inc/config.inc.php || return 1 - - # share files - _shares="i18n-template-db.pot i18n-template-php.pot \ - poweradmin-mysql-db-structure.sql poweradmin-pgsql-db-structure.sql \ - powerdns-mysql-db-structure.sql powerdns-pgsql-db-structure.sql \ - powerdns-sqlite-db-structure.sql" - for _share in $_shares; do - install -Dm644 \ - "$pkgdir"/usr/share/webapps/$pkgname/docs/$_share \ - "$pkgdir"/usr/share/$pkgname/$_share || return 1 - done - mv "$pkgdir"/usr/share/webapps/$pkgname/inc/config-me.inc.php \ - "$pkgdir"/usr/share/$pkgname/config-me.inc.php || return 1 - - # install the apache2 config - install -Dm644 "$srcdir"/$pkgname.apache2.conf \ - "$pkgdir"/etc/apache2/conf.d/$pkgname.conf || return 1 -} - -doc() { - _docs="CHANGELOG LICENSE README" - for _doc in $_docs; do - install -Dm644 \ - "$pkgdir"/usr/share/webapps/$pkgname/docs/$_doc \ - "$subpkgdir"/usr/share/doc/$pkgname/$_doc || return 1 - done - rm -rf "$pkgdir"/usr/share/webapps/$pkgname/docs || return 1 -} - -md5sums="323f19990f3b0263f16db1dc18e0d42d poweradmin.nightly.tgz -f2936b9362269f5ed08dc853d49576cb 0010-fix-installer-config.patch -15638562a494a7ee3043e32476a47c94 0020-fix-for-mysql55.patch -a74d64fc95f48c64927dd10df214127a poweradmin.apache2.conf" diff --git a/unmaintained/poweradmin/poweradmin.apache2.conf b/unmaintained/poweradmin/poweradmin.apache2.conf deleted file mode 100644 index 56355e3882..0000000000 --- a/unmaintained/poweradmin/poweradmin.apache2.conf +++ /dev/null @@ -1,7 +0,0 @@ -Alias /poweradmin "/usr/share/webapps/poweradmin" - - AllowOverride All - Options FollowSymlinks - Order allow,deny - Allow from all - diff --git a/unmaintained/poweradmin/poweradmin.post-install b/unmaintained/poweradmin/poweradmin.post-install deleted file mode 100644 index b317e03851..0000000000 --- a/unmaintained/poweradmin/poweradmin.post-install +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -echo "*" >&2 -echo "* Poweradmin has been installed to:" >&2 -echo "* /usr/share/webapps/poweradmin" >&2 -echo "* An empty Poweradmin config file has been installed to:" >&2 -echo "* /etc/poweradmin/config.inc.php" >&2 -echo "* If you use apache2:" >&2 -echo "* 1) Change the ownership of the config directory:" >&2 -echo "* chown -R apache:apache /etc/poweradmin" >&2 -echo "* 2) See if you need to modify the apache2 config:" >&2 -echo "* /etc/apache2/conf.d/poweradmin.conf" >&2 -echo "* 3) Restart apache2 when done." >&2 -echo "*" >&2 -echo "* Installation Steps:" >&2 -echo "* 1) Install the database packages you need for Poweradmin:" >&2 -echo "* For MySQL: apk add mysql php-mysql php-pear-mdb2-driver-mysql" >&2 -echo "* For PgSQL: apk add postgresql php-pgsql php-pear-mdb2-driver-pgsql" >&2 -echo "* 2) Point your browser to the install directory, e.g." >&2 -echo "* http://server_ip/poweradmin/install" >&2 -echo "* and follow the instructions on the screen." >&2 -echo "* 3) Remove the 'install' directory from the Poweradmin directory:" >&2 -echo "* rm /usr/share/webapps/poweradmin/install -rf" >&2 -echo "* 4) Point your browser to Poweradmin, e.g." >&2 -echo "* http://server_ip/poweradmin/" >&2 -echo "* and login using the username 'admin' and the password you provided" >&2 -echo "* during the installation process of Step 1 (above)." >&2 -echo "*" >&2 - -exit 0 diff --git a/unmaintained/premium-cursor-theme/APKBUILD b/unmaintained/premium-cursor-theme/APKBUILD deleted file mode 100644 index 362abecad8..0000000000 --- a/unmaintained/premium-cursor-theme/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: August Klein -# Maintainer: August Klein -pkgname=premium-cursor-theme -_pkgname=Premium -pkgver=0.3 -pkgrel=0 -pkgdesc="Premium X Cursor Theme" -url="http://www.kde-look.org/content/show.php?content=14485" -arch="noarch" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://www.kde-look.org/CONTENT/content-files/14485-$_pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$_pkgname-$pkgver -package() { - mkdir -p "$pkgdir"/usr/share/icons/Premium || return 1 - - cp "$_builddir"/Premium/index.theme "$pkgdir"/usr/share/icons/Premium || return 1 - cp -r "$_builddir"/Premium/cursors "$pkgdir"/usr/share/icons/Premium || return 1 -} - -md5sums="0d7b263d25a093012da2b46c11a62d06 14485-Premium-0.3.tar.bz2" -sha256sums="e4c74d06fd1de21038e57bfa4273ab58f786a91ff703844dd3ee23fcef739596 14485-Premium-0.3.tar.bz2" -sha512sums="70a64d8d953f314b032d73c05ab42e7b13bbf17a2b2c978dd0313d00db88bfbedaaa91eecf874a1d35b4b140938f9cf13637a44228983349d4c686746d0d9070 14485-Premium-0.3.tar.bz2" diff --git a/unmaintained/profanity/APKBUILD b/unmaintained/profanity/APKBUILD deleted file mode 100644 index 470e2c9ff9..0000000000 --- a/unmaintained/profanity/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Sören Tempel -# Contributor: Bartłomiej Piotrowski -# Maintainer: -pkgname=profanity -pkgver=0.4.7 -pkgrel=0 -pkgdesc="Console based XMPP client" -url="http://www.profanity.im" -arch=all -license="GPL3" -depends="" -depends_dev="" -makedepends="curl-dev expat-dev glib-dev libotr-dev - libstrophe-dev readline-dev util-linux-dev" -install="" -subpackages="$pkgname-doc $pkgname-themes" -source="http://www.profanity.im/profanity-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$srcdir"/$pkgname-$pkgver - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - - mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples - install -m644 profrc.example \ - "$pkgdir"/usr/share/doc/$pkgname/examples || return 1 -} - -themes() { - pkgdesc="UI themes for $pkgname" - arch="noarch" - - mkdir -p "$subpkgdir"/usr/share/$pkgname - mv "$pkgdir"/usr/share/$pkgname/themes \ - "$subpkgdir"/usr/share/$pkgname || return 1 -} - -md5sums="f044c54c7fee23ab8c4be7228a6bea9b profanity-0.4.7.tar.gz" -sha256sums="b02c4e029fe84941050ccab6c8cdf5f15df23de5d1384b4d1ec66da6faee11dd profanity-0.4.7.tar.gz" -sha512sums="805adddbdf41334a2903707ce871f39c36c70639dc4c872cfd36769af36aa3597b05aa9ba719452bcbe8011cc73ac717cee7016c928083cd46c922732ca10568 profanity-0.4.7.tar.gz" diff --git a/unmaintained/prt-get/APKBUILD b/unmaintained/prt-get/APKBUILD deleted file mode 100644 index 1f23380918..0000000000 --- a/unmaintained/prt-get/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: z3bra -# Maintainer: -pkgname=prt-get -pkgver=5.19 -pkgrel=1 -pkgdesc="Collection of scripts for CRUX, mainly oriented towards package and port management" -url="http://jw.smts.ch/files/crux/prt-get_quickstart.html" -arch="all" -license="Custom" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://jw.smts.ch/files/crux/$pkgname-$pkgver.tar.gz" - -_builddir=$srcdir/$pkgname-$pkgver - -build() { - cd "$_builddir" - ./configure --prefix=/usr --mandir=/usr/man - make -} - -package() { - cd "$_builddir" - make DESTDIR=$pkgdir install -} - -md5sums="a37751f1627a4e0125c8ffadfa85be80 prt-get-5.19.tar.gz" -sha256sums="987218709abf43cf6ce7a0941aff5802c3397d914a2485ebe3c3892e6062cd89 prt-get-5.19.tar.gz" -sha512sums="264e0c1166100a25713f5e29be4bfac58743d477f7bea02482289e92a500c4dbc29ed827a7718e6d741bf902450e4b4ad491a6ca09bf607137f086318c2cadcc prt-get-5.19.tar.gz" diff --git a/unmaintained/prwd/APKBUILD b/unmaintained/prwd/APKBUILD deleted file mode 100644 index dd6de9c254..0000000000 --- a/unmaintained/prwd/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=prwd -pkgver=1.8 -pkgrel=0 -pkgdesc="A tool can print reduced working directory" -url="http://tamentis.com/projects/prwd/" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/tamentis/prwd/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure\ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="904bba51ee14a355b85a583769cb23a5 prwd-1.8.tar.gz" -sha256sums="af98328ed3d605008f820d865676311d57e985d73f74b020d1d8a81028f66d04 prwd-1.8.tar.gz" -sha512sums="d6792096b4a28a41f9d9797d15639efe067eaa733a65b57a9e54786d10fb82ef59ee3f95742f3b377a8c1b3a2d00d1df7937c6b67ac492debd9b39ade5756c2a prwd-1.8.tar.gz" diff --git a/unmaintained/ptlib/APKBUILD b/unmaintained/ptlib/APKBUILD deleted file mode 100644 index d71be74669..0000000000 --- a/unmaintained/ptlib/APKBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# Contributor: Mika Havela -# Maintainer: Natanael Copa -pkgname=ptlib -pkgver=2.10.10 -pkgrel=2 -pkgdesc="Portable Tools Library" -url="http://www.opalvoip.org/" -arch="all" -license="MPLv1.0" -depends="" -depends_dev="expat-dev openssl-dev sdl-dev alsa-lib-dev" -makedepends="$depends_dev boost-dev v4l-utils-dev flex bison" -install="" -subpackages="$pkgname-dev" -source="http://download.gnome.org/sources/ptlib/${pkgver%.*}/ptlib-$pkgver.tar.xz - ptlib-fixcamcrash.patch - ptlib-2.10.10-bison_fixes-1.patch - musl-fixes.patch - " - -_builddir="$srcdir"/ptlib-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --disable-static \ - --enable-plugins \ - --enable-alsa \ - --disable-oss \ - --enable-v4l2 \ - --disable-avc \ - --disable-v4l \ - --disable-pulse \ - --disable-resolver \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -dev() { - default_dev - mkdir -p "$subpkgdir"/usr/share - mv "$pkgdir"/usr/share/ptlib "$subpkgdir"/usr/share/ -} - -md5sums="1fd609e25f101393bb7e42fbf874c174 ptlib-2.10.10.tar.xz -5a727140c59bcd71c2f41a70821e8917 ptlib-fixcamcrash.patch -cecab82649e3fe163335f9c8883dd58b ptlib-2.10.10-bison_fixes-1.patch -c60887fd165ee5b0e1a70a1b3bf92c64 musl-fixes.patch" -sha256sums="7fcaabe194cbd3bc0b370b951dffd19cfe7ea0298bfff6aecee948e97f3207e4 ptlib-2.10.10.tar.xz -9d24ce87ae71b738b1744955bd0516a3b849b2fbb573e266b77046b41803f1a1 ptlib-fixcamcrash.patch -11027b21f568b2ab84f9c25775e5a697a15304b39aaab6380922ed609aac63b9 ptlib-2.10.10-bison_fixes-1.patch -3a21064b147f72ec2edcbd1880a0a4e1f3a52416b4226b741f5903272f4e9425 musl-fixes.patch" -sha512sums="9b1490fa7c5c29b9295d560313b457c61091d0ddc8241f40e080acbfbb80bac685d3b2ad81d3c13628ad2816bebc142ac80de536c4cfb8cd48bfb514c0d8a820 ptlib-2.10.10.tar.xz -d0809d3b1b90cba41543e69e574c98a011d5e88181d98c42ea005ecf0a1f39c86f76be9360e11c4227c6f5157e49532468c6bcce633e28225d052a124204c35c ptlib-fixcamcrash.patch -5c1247d78651df88bc3f3a5064beec35f03d3371ef85f893c5557545c284dbe1a325eea4b5a8ea8b698cc97aac2420431e7896250b027bab326e4547458bc119 ptlib-2.10.10-bison_fixes-1.patch -365eff5b0ff38c44739365ec22afd7f1f1c7d8f6101d50ef71257eb8cf3429f50f87a084862deea6dc105cb7364ab72cf5c0af08bc9eab1d4e4decaf0452414f musl-fixes.patch" diff --git a/unmaintained/ptlib/musl-fixes.patch b/unmaintained/ptlib/musl-fixes.patch deleted file mode 100644 index a0819c89d5..0000000000 --- a/unmaintained/ptlib/musl-fixes.patch +++ /dev/null @@ -1,70 +0,0 @@ ---- ./include/ptlib/unix/ptlib/pmachdep.h.orig -+++ ./include/ptlib/unix/ptlib/pmachdep.h -@@ -51,7 +51,7 @@ - - #define HAS_IFREQ - --#if __GNU_LIBRARY__ < 6 -+#if defined(__GNU_LIBRARY__) && __GNU_LIBRARY__ < 6 - #define P_LINUX_LIB_OLD - typedef int socklen_t; - #endif ---- ./src/ptlib/unix/pipechan.cxx.orig -+++ ./src/ptlib/unix/pipechan.cxx -@@ -44,7 +44,7 @@ - #include - - #if defined(P_LINUX) || defined(P_SOLARIS) --#include -+#include - #endif - - #include "../common/pipechan.cxx" ---- ./src/ptlib/unix/channel.cxx.orig -+++ ./src/ptlib/unix/channel.cxx -@@ -36,6 +36,7 @@ - - #include - #include -+#include - - - #include "../common/pchannel.cxx" ---- ./src/ptlib/unix/osutil.cxx.orig -+++ ./src/ptlib/unix/osutil.cxx -@@ -275,9 +275,9 @@ - PInt64 PString::AsInt64(unsigned base) const - { - char * dummy; --#if defined(P_SOLARIS) || defined(__BEOS__) || defined (P_AIX) || defined(P_IRIX) || defined (P_QNX) -+#if (LONG_BIT == 32) || defined(P_SOLARIS) || defined(__BEOS__) || defined (P_AIX) || defined(P_IRIX) || defined (P_QNX) - return strtoll(theArray, &dummy, base); --#elif defined(P_VXWORKS) || defined(P_RTEMS) -+#elif (LONG_BIT == 64) || defined(P_VXWORKS) || defined(P_RTEMS) - return strtol(theArray, &dummy, base); - #else - return strtoq(theArray, &dummy, base); -@@ -287,9 +287,9 @@ - PUInt64 PString::AsUnsigned64(unsigned base) const - { - char * dummy; --#if defined(P_SOLARIS) || defined(__BEOS__) || defined (P_AIX) || defined (P_IRIX) || defined (P_QNX) -+#if (LONG_BIT == 32 ) || defined(P_SOLARIS) || defined(__BEOS__) || defined (P_AIX) || defined (P_IRIX) || defined (P_QNX) - return strtoull(theArray, &dummy, base); --#elif defined(P_VXWORKS) || defined(P_RTEMS) -+#elif (LONG_BIT == 64) || defined(P_VXWORKS) || defined(P_RTEMS) - return strtoul(theArray, &dummy, base); - #else - return strtouq(theArray, &dummy, base); ---- ./src/ptlib/common/sockets.cxx.orig -+++ ./src/ptlib/common/sockets.cxx -@@ -77,6 +77,9 @@ - #endif - #endif - -+#ifndef NETDB_SUCCESS -+#define NETDB_SUCCESS 0 -+#endif - - /////////////////////////////////////////////////////////////////////////////// - // PIPSocket::Address diff --git a/unmaintained/ptlib/ptlib-2.10.10-bison_fixes-1.patch b/unmaintained/ptlib/ptlib-2.10.10-bison_fixes-1.patch deleted file mode 100644 index 996d2365a7..0000000000 --- a/unmaintained/ptlib/ptlib-2.10.10-bison_fixes-1.patch +++ /dev/null @@ -1,2895 +0,0 @@ -Submitted By: Armin K. -Date: 2013-08-20 -Initial Package Version: 2.10.10 -Upstream Status: Reported -Origin: Self -Description: Adds pregenerated C file which isn't generated correctly - with Bison 3.0. - ---- a/src/ptlib/common/getdate.tab.c 1970-01-01 01:00:00.000000000 +0100 -+++ b/src/ptlib/common/getdate.tab.c 2013-08-20 17:26:14.143891774 +0200 -@@ -0,0 +1,2884 @@ -+/* A Bison parser, made by GNU Bison 2.7.12-4996. */ -+ -+/* Bison implementation for Yacc-like parsers in C -+ -+ Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. -+ -+ This program 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 3 of the License, or -+ (at your option) any later version. -+ -+ This program 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, see . */ -+ -+/* As a special exception, you may create a larger work that contains -+ part or all of the Bison parser skeleton and distribute that work -+ under terms of your choice, so long as that work isn't itself a -+ parser generator using the skeleton or a modified version thereof -+ as a parser skeleton. Alternatively, if you modify or redistribute -+ the parser skeleton itself, you may (at your option) remove this -+ special exception, which will cause the skeleton and the resulting -+ Bison output files to be licensed under the GNU General Public -+ License without this special exception. -+ -+ This special exception was added by the Free Software Foundation in -+ version 2.2 of Bison. */ -+ -+/* C LALR(1) parser skeleton written by Richard Stallman, by -+ simplifying the original so-called "semantic" parser. */ -+ -+/* All symbols defined below should begin with yy or YY, to avoid -+ infringing on user name space. This should be done even for local -+ variables, as they might otherwise be expanded by user macros. -+ There are some unavoidable exceptions within include files to -+ define necessary library symbols; they are noted "INFRINGES ON -+ USER NAME SPACE" below. */ -+ -+/* Identify Bison output. */ -+#define YYBISON 1 -+ -+/* Bison version. */ -+#define YYBISON_VERSION "2.7.12-4996" -+ -+/* Skeleton name. */ -+#define YYSKELETON_NAME "yacc.c" -+ -+/* Pure parsers. */ -+#define YYPURE 1 -+ -+/* Push parsers. */ -+#define YYPUSH 0 -+ -+/* Pull parsers. */ -+#define YYPULL 1 -+ -+ -+ -+ -+/* Copy the first part of user declarations. */ -+/* Line 371 of yacc.c */ -+#line 1 "ptlib/common/getdate.y" -+ -+/* -+** Originally written by Steven M. Bellovin while -+** at the University of North Carolina at Chapel Hill. Later tweaked by -+** a couple of people on Usenet. Completely overhauled by Rich $alz -+** and Jim Berets in August, 1990; -+** -+** Major hack to coerce it into use with the Equivalence Portable -+** Windows Library. -+** -+** This grammar has 10 shift/reduce conflicts. -+** -+** This code is in the public domain and has no copyright. -+*/ -+/* SUPPRESS 287 on yaccpar_sccsid *//* Unused static variable */ -+/* SUPPRESS 288 on yyerrlab *//* Label unused */ -+ -+ -+#include -+#include -+#include -+#include -+ -+#ifndef EOF -+#include -+#endif -+ -+ -+#ifdef _WIN32 -+#ifdef _MSC_VER -+#pragma warning(disable:4131 4701 4996) -+#endif -+#define STDAPICALLTYPE __stdcall -+#define MSDOS -+#else -+#define STDAPICALLTYPE -+#endif -+ -+ -+extern int STDAPICALLTYPE PTimeGetChar(void * stream); -+extern void STDAPICALLTYPE PTimeUngetChar(void * stream, int c); -+int STDAPICALLTYPE PTimeGetDateOrder(); -+int STDAPICALLTYPE PTimeIsMonthName(const char *, int, int); -+int STDAPICALLTYPE PTimeIsDayName(const char *, int, int); -+ -+ -+#define EPOCH 1970 -+#define HOUR(x) ((time_t)(x) * 60) -+#define SECSPERDAY (24L * 60L * 60L) -+ -+ -+/* -+** An entry in the lexical lookup table. -+*/ -+typedef struct _TABLE { -+ char *name; -+ int type; -+ time_t value; -+} TABLE; -+ -+ -+/* -+** Daylight-savings mode: on, off, or not yet known. -+*/ -+typedef enum _DSTMODE { -+ DSTon, DSToff, DSTmaybe -+} DSTMODE; -+ -+/* -+** Meridian: am, pm, or 24-hour style. -+*/ -+typedef enum _MERIDIAN { -+ MERam, MERpm, MER24 -+} MERIDIAN; -+ -+ -+/* -+** Global variables. We could get rid of most of these by using a good -+** union as the yacc stack. (This routine was originally written before -+** yacc had the %union construct.) Maybe someday; right now we only use -+** the %union very rarely. -+*/ -+struct Variables { -+ void *yyInput; -+ DSTMODE yyDSTmode; -+ time_t yyDayOrdinal; -+ time_t yyDayNumber; -+ int yyHaveDate; -+ int yyHaveDay; -+ int yyHaveRel; -+ int yyHaveTime; -+ int yyHaveZone; -+ time_t yyTimezone; -+ time_t yyDay; -+ time_t yyHour; -+ time_t yyMinutes; -+ time_t yyMonth; -+ time_t yySeconds; -+ time_t yyYear; -+ MERIDIAN yyMeridian; -+ time_t yyRelMonth; -+ time_t yyRelSeconds; -+}; -+ -+#define VARIABLE ((struct Variables*)parseParam) -+ -+ -+#define YYPURE 1 -+#define YYLEX_PARAM VARIABLE -+#define YYPARSE_PARAM parseParam -+ -+#define yyparse PTime_yyparse -+#define yylex PTime_yylex -+#define yyerror PTime_yyerror -+ -+#define GCC_VERSION (__GNUC__ * 10000 \ -+ + __GNUC_MINOR__ * 100 \ -+ + __GNUC_PATCHLEVEL__) -+ -+static int yyparse(void *); -+static int yylex(); -+ -+#ifdef __GNUC__ -+static int yyerror(char const *msg); -+#else -+static void yyerror(char const *msg); -+#endif -+ -+ -+static void SetPossibleDate(struct Variables*, time_t, time_t, time_t); -+ -+ -+ -+/* Line 371 of yacc.c */ -+#line 202 "ptlib/common/getdate.tab.c" -+ -+# ifndef YY_NULL -+# if defined __cplusplus && 201103L <= __cplusplus -+# define YY_NULL nullptr -+# else -+# define YY_NULL 0 -+# endif -+# endif -+ -+/* Enabling verbose error messages. */ -+#ifdef YYERROR_VERBOSE -+# undef YYERROR_VERBOSE -+# define YYERROR_VERBOSE 1 -+#else -+# define YYERROR_VERBOSE 0 -+#endif -+ -+ -+/* Enabling traces. */ -+#ifndef YYDEBUG -+# define YYDEBUG 0 -+#endif -+#if YYDEBUG -+extern int yydebug; -+#endif -+ -+/* Tokens. */ -+#ifndef YYTOKENTYPE -+# define YYTOKENTYPE -+ /* Put the tokens into the symbol table, so that GDB and other debuggers -+ know about them. */ -+ enum yytokentype { -+ tAGO = 258, -+ tDAY = 259, -+ tDAYZONE = 260, -+ tID = 261, -+ tMERIDIAN = 262, -+ tMINUTE_UNIT = 263, -+ tMONTH = 264, -+ tMONTH_UNIT = 265, -+ tSNUMBER = 266, -+ tS4DIGITNUMBER = 267, -+ tUNUMBER = 268, -+ t4DIGITNUMBER = 269, -+ t6DIGITNUMBER = 270, -+ t8DIGITNUMBER = 271, -+ tSEC_UNIT = 272, -+ tZONE = 273, -+ tMILZONE = 274, -+ tRFC3339 = 275, -+ tDST = 276 -+ }; -+#endif -+ -+ -+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -+typedef union YYSTYPE -+{ -+/* Line 387 of yacc.c */ -+#line 137 "ptlib/common/getdate.y" -+ -+ time_t Number; -+ enum _MERIDIAN Meridian; -+ -+ -+/* Line 387 of yacc.c */ -+#line 269 "ptlib/common/getdate.tab.c" -+} YYSTYPE; -+# define YYSTYPE_IS_TRIVIAL 1 -+# define yystype YYSTYPE /* obsolescent; will be withdrawn */ -+# define YYSTYPE_IS_DECLARED 1 -+#endif -+ -+ -+#ifdef YYPARSE_PARAM -+#if defined __STDC__ || defined __cplusplus -+int yyparse (void *YYPARSE_PARAM); -+#else -+int yyparse (); -+#endif -+#else /* ! YYPARSE_PARAM */ -+#if defined __STDC__ || defined __cplusplus -+int yyparse (void); -+#else -+int yyparse (); -+#endif -+#endif /* ! YYPARSE_PARAM */ -+ -+ -+ -+/* Copy the second part of user declarations. */ -+ -+/* Line 390 of yacc.c */ -+#line 296 "ptlib/common/getdate.tab.c" -+ -+#ifdef short -+# undef short -+#endif -+ -+#ifdef YYTYPE_UINT8 -+typedef YYTYPE_UINT8 yytype_uint8; -+#else -+typedef unsigned char yytype_uint8; -+#endif -+ -+#ifdef YYTYPE_INT8 -+typedef YYTYPE_INT8 yytype_int8; -+#elif (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+typedef signed char yytype_int8; -+#else -+typedef short int yytype_int8; -+#endif -+ -+#ifdef YYTYPE_UINT16 -+typedef YYTYPE_UINT16 yytype_uint16; -+#else -+typedef unsigned short int yytype_uint16; -+#endif -+ -+#ifdef YYTYPE_INT16 -+typedef YYTYPE_INT16 yytype_int16; -+#else -+typedef short int yytype_int16; -+#endif -+ -+#ifndef YYSIZE_T -+# ifdef __SIZE_TYPE__ -+# define YYSIZE_T __SIZE_TYPE__ -+# elif defined size_t -+# define YYSIZE_T size_t -+# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+# include /* INFRINGES ON USER NAME SPACE */ -+# define YYSIZE_T size_t -+# else -+# define YYSIZE_T unsigned int -+# endif -+#endif -+ -+#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) -+ -+#ifndef YY_ -+# if defined YYENABLE_NLS && YYENABLE_NLS -+# if ENABLE_NLS -+# include /* INFRINGES ON USER NAME SPACE */ -+# define YY_(Msgid) dgettext ("bison-runtime", Msgid) -+# endif -+# endif -+# ifndef YY_ -+# define YY_(Msgid) Msgid -+# endif -+#endif -+ -+#ifndef __attribute__ -+/* This feature is available in gcc versions 2.5 and later. */ -+# if (! defined __GNUC__ || __GNUC__ < 2 \ -+ || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)) -+# define __attribute__(Spec) /* empty */ -+# endif -+#endif -+ -+/* Suppress unused-variable warnings by "using" E. */ -+#if ! defined lint || defined __GNUC__ -+# define YYUSE(E) ((void) (E)) -+#else -+# define YYUSE(E) /* empty */ -+#endif -+ -+ -+/* Identity function, used to suppress warnings about constant conditions. */ -+#ifndef lint -+# define YYID(N) (N) -+#else -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static int -+YYID (int yyi) -+#else -+static int -+YYID (yyi) -+ int yyi; -+#endif -+{ -+ return yyi; -+} -+#endif -+ -+#if ! defined yyoverflow || YYERROR_VERBOSE -+ -+/* The parser invokes alloca or malloc; define the necessary symbols. */ -+ -+# ifdef YYSTACK_USE_ALLOCA -+# if YYSTACK_USE_ALLOCA -+# ifdef __GNUC__ -+# define YYSTACK_ALLOC __builtin_alloca -+# elif defined __BUILTIN_VA_ARG_INCR -+# include /* INFRINGES ON USER NAME SPACE */ -+# elif defined _AIX -+# define YYSTACK_ALLOC __alloca -+# elif defined _MSC_VER -+# include /* INFRINGES ON USER NAME SPACE */ -+# define alloca _alloca -+# else -+# define YYSTACK_ALLOC alloca -+# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+# include /* INFRINGES ON USER NAME SPACE */ -+ /* Use EXIT_SUCCESS as a witness for stdlib.h. */ -+# ifndef EXIT_SUCCESS -+# define EXIT_SUCCESS 0 -+# endif -+# endif -+# endif -+# endif -+# endif -+ -+# ifdef YYSTACK_ALLOC -+ /* Pacify GCC's `empty if-body' warning. */ -+# define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) -+# ifndef YYSTACK_ALLOC_MAXIMUM -+ /* The OS might guarantee only one guard page at the bottom of the stack, -+ and a page size can be as small as 4096 bytes. So we cannot safely -+ invoke alloca (N) if N exceeds 4096. Use a slightly smaller number -+ to allow for a few compiler-allocated temporary stack slots. */ -+# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */ -+# endif -+# else -+# define YYSTACK_ALLOC YYMALLOC -+# define YYSTACK_FREE YYFREE -+# ifndef YYSTACK_ALLOC_MAXIMUM -+# define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM -+# endif -+# if (defined __cplusplus && ! defined EXIT_SUCCESS \ -+ && ! ((defined YYMALLOC || defined malloc) \ -+ && (defined YYFREE || defined free))) -+# include /* INFRINGES ON USER NAME SPACE */ -+# ifndef EXIT_SUCCESS -+# define EXIT_SUCCESS 0 -+# endif -+# endif -+# ifndef YYMALLOC -+# define YYMALLOC malloc -+# if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ -+# endif -+# endif -+# ifndef YYFREE -+# define YYFREE free -+# if ! defined free && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+void free (void *); /* INFRINGES ON USER NAME SPACE */ -+# endif -+# endif -+# endif -+#endif /* ! defined yyoverflow || YYERROR_VERBOSE */ -+ -+ -+#if (! defined yyoverflow \ -+ && (! defined __cplusplus \ -+ || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) -+ -+/* A type that is properly aligned for any stack member. */ -+union yyalloc -+{ -+ yytype_int16 yyss_alloc; -+ YYSTYPE yyvs_alloc; -+}; -+ -+/* The size of the maximum gap between one aligned stack and the next. */ -+# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) -+ -+/* The size of an array large to enough to hold all stacks, each with -+ N elements. */ -+# define YYSTACK_BYTES(N) \ -+ ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ -+ + YYSTACK_GAP_MAXIMUM) -+ -+# define YYCOPY_NEEDED 1 -+ -+/* Relocate STACK from its old location to the new one. The -+ local variables YYSIZE and YYSTACKSIZE give the old and new number of -+ elements in the stack, and YYPTR gives the new location of the -+ stack. Advance YYPTR to a properly aligned location for the next -+ stack. */ -+# define YYSTACK_RELOCATE(Stack_alloc, Stack) \ -+ do \ -+ { \ -+ YYSIZE_T yynewbytes; \ -+ YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ -+ Stack = &yyptr->Stack_alloc; \ -+ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ -+ yyptr += yynewbytes / sizeof (*yyptr); \ -+ } \ -+ while (YYID (0)) -+ -+#endif -+ -+#if defined YYCOPY_NEEDED && YYCOPY_NEEDED -+/* Copy COUNT objects from SRC to DST. The source and destination do -+ not overlap. */ -+# ifndef YYCOPY -+# if defined __GNUC__ && 1 < __GNUC__ -+# define YYCOPY(Dst, Src, Count) \ -+ __builtin_memcpy (Dst, Src, (Count) * sizeof (*(Src))) -+# else -+# define YYCOPY(Dst, Src, Count) \ -+ do \ -+ { \ -+ YYSIZE_T yyi; \ -+ for (yyi = 0; yyi < (Count); yyi++) \ -+ (Dst)[yyi] = (Src)[yyi]; \ -+ } \ -+ while (YYID (0)) -+# endif -+# endif -+#endif /* !YYCOPY_NEEDED */ -+ -+/* YYFINAL -- State number of the termination state. */ -+#define YYFINAL 2 -+/* YYLAST -- Last index in YYTABLE. */ -+#define YYLAST 105 -+ -+/* YYNTOKENS -- Number of terminals. */ -+#define YYNTOKENS 25 -+/* YYNNTS -- Number of nonterminals. */ -+#define YYNNTS 12 -+/* YYNRULES -- Number of rules. */ -+#define YYNRULES 51 -+/* YYNRULES -- Number of states. */ -+#define YYNSTATES 63 -+ -+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */ -+#define YYUNDEFTOK 2 -+#define YYMAXUTOK 276 -+ -+#define YYTRANSLATE(YYX) \ -+ ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) -+ -+/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */ -+static const yytype_uint8 yytranslate[] = -+{ -+ 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 23, 2, 2, 24, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 22, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -+ 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, -+ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -+ 15, 16, 17, 18, 19, 20, 21 -+}; -+ -+#if YYDEBUG -+/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in -+ YYRHS. */ -+static const yytype_uint8 yyprhs[] = -+{ -+ 0, 0, 3, 4, 7, 9, 11, 13, 15, 17, -+ 19, 22, 25, 28, 33, 38, 45, 52, 54, 56, -+ 59, 61, 63, 66, 69, 73, 79, 84, 86, 90, -+ 93, 98, 101, 105, 108, 110, 113, 116, 118, 121, -+ 124, 126, 129, 132, 134, 136, 138, 140, 142, 144, -+ 146, 147 -+}; -+ -+/* YYRHS -- A `-1'-separated list of the rules' RHS. */ -+static const yytype_int8 yyrhs[] = -+{ -+ 26, 0, -1, -1, 26, 27, -1, 28, -1, 29, -+ -1, 31, -1, 30, -1, 32, -1, 35, -1, 13, -+ 7, -1, 14, 12, -1, 15, 12, -1, 34, 22, -+ 34, 36, -1, 34, 22, 34, 12, -1, 34, 22, -+ 34, 22, 34, 36, -1, 34, 22, 34, 22, 34, -+ 12, -1, 18, -1, 5, -1, 18, 21, -1, 19, -+ -1, 4, -1, 4, 23, -1, 34, 4, -1, 34, -+ 24, 34, -1, 34, 24, 34, 24, 34, -1, 34, -+ 11, 11, 20, -1, 16, -1, 34, 9, 11, -1, -+ 9, 34, -1, 9, 34, 23, 34, -1, 34, 9, -+ -1, 34, 9, 34, -1, 33, 3, -1, 33, -1, -+ 34, 8, -1, 11, 8, -1, 8, -1, 11, 17, -+ -1, 34, 17, -1, 17, -1, 11, 10, -1, 34, -+ 10, -1, 10, -1, 13, -1, 14, -1, 15, -1, -+ 13, -1, 14, -1, 15, -1, -1, 7, -1 -+}; -+ -+/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ -+static const yytype_uint16 yyrline[] = -+{ -+ 0, 153, 153, 154, 157, 160, 163, 166, 169, 172, -+ 175, 181, 189, 197, 203, 210, 216, 226, 230, 235, -+ 239, 249, 253, 257, 263, 266, 269, 273, 278, 282, -+ 289, 294, 301, 306, 310, 313, 316, 319, 322, 325, -+ 328, 331, 334, 337, 342, 345, 348, 353, 379, 390, -+ 407, 410 -+}; -+#endif -+ -+#if YYDEBUG || YYERROR_VERBOSE || 0 -+/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. -+ First, the terminals, then, starting at YYNTOKENS, nonterminals. */ -+static const char *const yytname[] = -+{ -+ "$end", "error", "$undefined", "tAGO", "tDAY", "tDAYZONE", "tID", -+ "tMERIDIAN", "tMINUTE_UNIT", "tMONTH", "tMONTH_UNIT", "tSNUMBER", -+ "tS4DIGITNUMBER", "tUNUMBER", "t4DIGITNUMBER", "t6DIGITNUMBER", -+ "t8DIGITNUMBER", "tSEC_UNIT", "tZONE", "tMILZONE", "tRFC3339", "tDST", -+ "':'", "','", "'/'", "$accept", "spec", "item", "time", "zone", "day", -+ "date", "rel", "relunit", "unumber", "number", "o_merid", YY_NULL -+}; -+#endif -+ -+# ifdef YYPRINT -+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to -+ token YYLEX-NUM. */ -+static const yytype_uint16 yytoknum[] = -+{ -+ 0, 256, 257, 258, 259, 260, 261, 262, 263, 264, -+ 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, -+ 275, 276, 58, 44, 47 -+}; -+# endif -+ -+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ -+static const yytype_uint8 yyr1[] = -+{ -+ 0, 25, 26, 26, 27, 27, 27, 27, 27, 27, -+ 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, -+ 29, 30, 30, 30, 31, 31, 31, 31, 31, 31, -+ 31, 31, 31, 32, 32, 33, 33, 33, 33, 33, -+ 33, 33, 33, 33, 34, 34, 34, 35, 35, 35, -+ 36, 36 -+}; -+ -+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ -+static const yytype_uint8 yyr2[] = -+{ -+ 0, 2, 0, 2, 1, 1, 1, 1, 1, 1, -+ 2, 2, 2, 4, 4, 6, 6, 1, 1, 2, -+ 1, 1, 2, 2, 3, 5, 4, 1, 3, 2, -+ 4, 2, 3, 2, 1, 2, 2, 1, 2, 2, -+ 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, -+ 0, 1 -+}; -+ -+/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM. -+ Performed when YYTABLE doesn't specify something else to do. Zero -+ means the default is an error. */ -+static const yytype_uint8 yydefact[] = -+{ -+ 2, 0, 1, 21, 18, 37, 0, 43, 0, 44, -+ 45, 46, 27, 40, 17, 20, 3, 4, 5, 7, -+ 6, 8, 34, 0, 9, 22, 44, 45, 46, 29, -+ 36, 41, 38, 10, 11, 12, 19, 33, 23, 35, -+ 31, 42, 0, 39, 0, 0, 0, 28, 32, 0, -+ 50, 24, 30, 26, 51, 14, 0, 13, 0, 50, -+ 25, 16, 15 -+}; -+ -+/* YYDEFGOTO[NTERM-NUM]. */ -+static const yytype_int8 yydefgoto[] = -+{ -+ -1, 1, 16, 17, 18, 19, 20, 21, 22, 23, -+ 24, 57 -+}; -+ -+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing -+ STATE-NUM. */ -+#define YYPACT_NINF -27 -+static const yytype_int8 yypact[] = -+{ -+ -27, 49, -27, -10, -27, -27, -11, -27, 1, 10, -+ 69, 86, -27, -27, -9, -27, -27, -27, -27, -27, -+ -27, -27, 13, -3, -27, -27, -27, -27, -27, 8, -+ -27, -27, -27, -27, -27, -27, -27, -27, -27, -27, -+ 30, -27, 9, -27, -11, -11, -11, -27, -27, 12, -+ 15, 18, -27, -27, -27, -27, -11, -27, -11, 23, -+ -27, -27, -27 -+}; -+ -+/* YYPGOTO[NTERM-NUM]. */ -+static const yytype_int8 yypgoto[] = -+{ -+ -27, -27, -27, -27, -27, -27, -27, -27, -27, -6, -+ -27, -26 -+}; -+ -+/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If -+ positive, shift that token. If negative, reduce the rule which -+ number is the opposite. If YYTABLE_NINF, syntax error. */ -+#define YYTABLE_NINF -50 -+static const yytype_int8 yytable[] = -+{ -+ 29, 38, 26, 27, 28, 39, 40, 41, 42, 30, -+ -47, 31, 36, 25, 43, -47, 37, 33, 32, 44, -+ 49, 45, 54, -47, -47, -47, -47, 55, -47, -47, -+ 54, 46, 53, 62, 48, 61, 0, 56, 50, 51, -+ 52, 47, 58, 26, 27, 28, 0, 0, 0, 2, -+ 59, 0, 60, 3, 4, 0, 0, 5, 6, 7, -+ 8, 0, 9, 10, 11, 12, 13, 14, 15, -48, -+ 0, 0, 0, 0, -48, 0, 0, 0, 0, 0, -+ 0, 34, -48, -48, -48, -48, -49, -48, -48, 0, -+ 0, -49, 0, 0, 0, 0, 0, 0, 35, -49, -+ -49, -49, -49, 0, -49, -49 -+}; -+ -+#define yypact_value_is_default(Yystate) \ -+ (!!((Yystate) == (-27))) -+ -+#define yytable_value_is_error(Yytable_value) \ -+ YYID (0) -+ -+static const yytype_int8 yycheck[] = -+{ -+ 6, 4, 13, 14, 15, 8, 9, 10, 11, 8, -+ 0, 10, 21, 23, 17, 5, 3, 7, 17, 22, -+ 11, 24, 7, 13, 14, 15, 16, 12, 18, 19, -+ 7, 23, 20, 59, 40, 12, -1, 22, 44, 45, -+ 46, 11, 24, 13, 14, 15, -1, -1, -1, 0, -+ 56, -1, 58, 4, 5, -1, -1, 8, 9, 10, -+ 11, -1, 13, 14, 15, 16, 17, 18, 19, 0, -+ -1, -1, -1, -1, 5, -1, -1, -1, -1, -1, -+ -1, 12, 13, 14, 15, 16, 0, 18, 19, -1, -+ -1, 5, -1, -1, -1, -1, -1, -1, 12, 13, -+ 14, 15, 16, -1, 18, 19 -+}; -+ -+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing -+ symbol of state STATE-NUM. */ -+static const yytype_uint8 yystos[] = -+{ -+ 0, 26, 0, 4, 5, 8, 9, 10, 11, 13, -+ 14, 15, 16, 17, 18, 19, 27, 28, 29, 30, -+ 31, 32, 33, 34, 35, 23, 13, 14, 15, 34, -+ 8, 10, 17, 7, 12, 12, 21, 3, 4, 8, -+ 9, 10, 11, 17, 22, 24, 23, 11, 34, 11, -+ 34, 34, 34, 20, 7, 12, 22, 36, 24, 34, -+ 34, 12, 36 -+}; -+ -+#define yyerrok (yyerrstatus = 0) -+#define yyclearin (yychar = YYEMPTY) -+#define YYEMPTY (-2) -+#define YYEOF 0 -+ -+#define YYACCEPT goto yyacceptlab -+#define YYABORT goto yyabortlab -+#define YYERROR goto yyerrorlab -+ -+ -+/* Like YYERROR except do call yyerror. This remains here temporarily -+ to ease the transition to the new meaning of YYERROR, for GCC. -+ Once GCC version 2 has supplanted version 1, this can go. However, -+ YYFAIL appears to be in use. Nevertheless, it is formally deprecated -+ in Bison 2.4.2's NEWS entry, where a plan to phase it out is -+ discussed. */ -+ -+#define YYFAIL goto yyerrlab -+#if defined YYFAIL -+ /* This is here to suppress warnings from the GCC cpp's -+ -Wunused-macros. Normally we don't worry about that warning, but -+ some users do, and we want to make it easy for users to remove -+ YYFAIL uses, which will produce warnings from Bison 2.5. */ -+#endif -+ -+#define YYRECOVERING() (!!yyerrstatus) -+ -+#define YYBACKUP(Token, Value) \ -+do \ -+ if (yychar == YYEMPTY) \ -+ { \ -+ yychar = (Token); \ -+ yylval = (Value); \ -+ YYPOPSTACK (yylen); \ -+ yystate = *yyssp; \ -+ goto yybackup; \ -+ } \ -+ else \ -+ { \ -+ yyerror (YY_("syntax error: cannot back up")); \ -+ YYERROR; \ -+ } \ -+while (YYID (0)) -+ -+/* Error token number */ -+#define YYTERROR 1 -+#define YYERRCODE 256 -+ -+ -+/* This macro is provided for backward compatibility. */ -+#ifndef YY_LOCATION_PRINT -+# define YY_LOCATION_PRINT(File, Loc) ((void) 0) -+#endif -+ -+ -+/* YYLEX -- calling `yylex' with the right arguments. */ -+#ifdef YYLEX_PARAM -+# define YYLEX yylex (&yylval, YYLEX_PARAM) -+#else -+# define YYLEX yylex (&yylval) -+#endif -+ -+/* Enable debugging if requested. */ -+#if YYDEBUG -+ -+# ifndef YYFPRINTF -+# include /* INFRINGES ON USER NAME SPACE */ -+# define YYFPRINTF fprintf -+# endif -+ -+# define YYDPRINTF(Args) \ -+do { \ -+ if (yydebug) \ -+ YYFPRINTF Args; \ -+} while (YYID (0)) -+ -+# define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ -+do { \ -+ if (yydebug) \ -+ { \ -+ YYFPRINTF (stderr, "%s ", Title); \ -+ yy_symbol_print (stderr, \ -+ Type, Value); \ -+ YYFPRINTF (stderr, "\n"); \ -+ } \ -+} while (YYID (0)) -+ -+ -+/*--------------------------------. -+| Print this symbol on YYOUTPUT. | -+`--------------------------------*/ -+ -+/*ARGSUSED*/ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) -+#else -+static void -+yy_symbol_value_print (yyoutput, yytype, yyvaluep) -+ FILE *yyoutput; -+ int yytype; -+ YYSTYPE const * const yyvaluep; -+#endif -+{ -+ FILE *yyo = yyoutput; -+ YYUSE (yyo); -+ if (!yyvaluep) -+ return; -+# ifdef YYPRINT -+ if (yytype < YYNTOKENS) -+ YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); -+# else -+ YYUSE (yyoutput); -+# endif -+ YYUSE (yytype); -+} -+ -+ -+/*--------------------------------. -+| Print this symbol on YYOUTPUT. | -+`--------------------------------*/ -+ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) -+#else -+static void -+yy_symbol_print (yyoutput, yytype, yyvaluep) -+ FILE *yyoutput; -+ int yytype; -+ YYSTYPE const * const yyvaluep; -+#endif -+{ -+ if (yytype < YYNTOKENS) -+ YYFPRINTF (yyoutput, "token %s (", yytname[yytype]); -+ else -+ YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]); -+ -+ yy_symbol_value_print (yyoutput, yytype, yyvaluep); -+ YYFPRINTF (yyoutput, ")"); -+} -+ -+/*------------------------------------------------------------------. -+| yy_stack_print -- Print the state stack from its BOTTOM up to its | -+| TOP (included). | -+`------------------------------------------------------------------*/ -+ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop) -+#else -+static void -+yy_stack_print (yybottom, yytop) -+ yytype_int16 *yybottom; -+ yytype_int16 *yytop; -+#endif -+{ -+ YYFPRINTF (stderr, "Stack now"); -+ for (; yybottom <= yytop; yybottom++) -+ { -+ int yybot = *yybottom; -+ YYFPRINTF (stderr, " %d", yybot); -+ } -+ YYFPRINTF (stderr, "\n"); -+} -+ -+# define YY_STACK_PRINT(Bottom, Top) \ -+do { \ -+ if (yydebug) \ -+ yy_stack_print ((Bottom), (Top)); \ -+} while (YYID (0)) -+ -+ -+/*------------------------------------------------. -+| Report that the YYRULE is going to be reduced. | -+`------------------------------------------------*/ -+ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yy_reduce_print (YYSTYPE *yyvsp, int yyrule) -+#else -+static void -+yy_reduce_print (yyvsp, yyrule) -+ YYSTYPE *yyvsp; -+ int yyrule; -+#endif -+{ -+ int yynrhs = yyr2[yyrule]; -+ int yyi; -+ unsigned long int yylno = yyrline[yyrule]; -+ YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", -+ yyrule - 1, yylno); -+ /* The symbols being reduced. */ -+ for (yyi = 0; yyi < yynrhs; yyi++) -+ { -+ YYFPRINTF (stderr, " $%d = ", yyi + 1); -+ yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi], -+ &(yyvsp[(yyi + 1) - (yynrhs)]) -+ ); -+ YYFPRINTF (stderr, "\n"); -+ } -+} -+ -+# define YY_REDUCE_PRINT(Rule) \ -+do { \ -+ if (yydebug) \ -+ yy_reduce_print (yyvsp, Rule); \ -+} while (YYID (0)) -+ -+/* Nonzero means print parse trace. It is left uninitialized so that -+ multiple parsers can coexist. */ -+int yydebug; -+#else /* !YYDEBUG */ -+# define YYDPRINTF(Args) -+# define YY_SYMBOL_PRINT(Title, Type, Value, Location) -+# define YY_STACK_PRINT(Bottom, Top) -+# define YY_REDUCE_PRINT(Rule) -+#endif /* !YYDEBUG */ -+ -+ -+/* YYINITDEPTH -- initial size of the parser's stacks. */ -+#ifndef YYINITDEPTH -+# define YYINITDEPTH 200 -+#endif -+ -+/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only -+ if the built-in stack extension method is used). -+ -+ Do not make this value too large; the results are undefined if -+ YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH) -+ evaluated with infinite-precision integer arithmetic. */ -+ -+#ifndef YYMAXDEPTH -+# define YYMAXDEPTH 10000 -+#endif -+ -+ -+#if YYERROR_VERBOSE -+ -+# ifndef yystrlen -+# if defined __GLIBC__ && defined _STRING_H -+# define yystrlen strlen -+# else -+/* Return the length of YYSTR. */ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static YYSIZE_T -+yystrlen (const char *yystr) -+#else -+static YYSIZE_T -+yystrlen (yystr) -+ const char *yystr; -+#endif -+{ -+ YYSIZE_T yylen; -+ for (yylen = 0; yystr[yylen]; yylen++) -+ continue; -+ return yylen; -+} -+# endif -+# endif -+ -+# ifndef yystpcpy -+# if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE -+# define yystpcpy stpcpy -+# else -+/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in -+ YYDEST. */ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static char * -+yystpcpy (char *yydest, const char *yysrc) -+#else -+static char * -+yystpcpy (yydest, yysrc) -+ char *yydest; -+ const char *yysrc; -+#endif -+{ -+ char *yyd = yydest; -+ const char *yys = yysrc; -+ -+ while ((*yyd++ = *yys++) != '\0') -+ continue; -+ -+ return yyd - 1; -+} -+# endif -+# endif -+ -+# ifndef yytnamerr -+/* Copy to YYRES the contents of YYSTR after stripping away unnecessary -+ quotes and backslashes, so that it's suitable for yyerror. The -+ heuristic is that double-quoting is unnecessary unless the string -+ contains an apostrophe, a comma, or backslash (other than -+ backslash-backslash). YYSTR is taken from yytname. If YYRES is -+ null, do not copy; instead, return the length of what the result -+ would have been. */ -+static YYSIZE_T -+yytnamerr (char *yyres, const char *yystr) -+{ -+ if (*yystr == '"') -+ { -+ YYSIZE_T yyn = 0; -+ char const *yyp = yystr; -+ -+ for (;;) -+ switch (*++yyp) -+ { -+ case '\'': -+ case ',': -+ goto do_not_strip_quotes; -+ -+ case '\\': -+ if (*++yyp != '\\') -+ goto do_not_strip_quotes; -+ /* Fall through. */ -+ default: -+ if (yyres) -+ yyres[yyn] = *yyp; -+ yyn++; -+ break; -+ -+ case '"': -+ if (yyres) -+ yyres[yyn] = '\0'; -+ return yyn; -+ } -+ do_not_strip_quotes: ; -+ } -+ -+ if (! yyres) -+ return yystrlen (yystr); -+ -+ return yystpcpy (yyres, yystr) - yyres; -+} -+# endif -+ -+/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message -+ about the unexpected token YYTOKEN for the state stack whose top is -+ YYSSP. -+ -+ Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is -+ not large enough to hold the message. In that case, also set -+ *YYMSG_ALLOC to the required number of bytes. Return 2 if the -+ required number of bytes is too large to store. */ -+static int -+yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, -+ yytype_int16 *yyssp, int yytoken) -+{ -+ YYSIZE_T yysize0 = yytnamerr (YY_NULL, yytname[yytoken]); -+ YYSIZE_T yysize = yysize0; -+ enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 }; -+ /* Internationalized format string. */ -+ const char *yyformat = YY_NULL; -+ /* Arguments of yyformat. */ -+ char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM]; -+ /* Number of reported tokens (one for the "unexpected", one per -+ "expected"). */ -+ int yycount = 0; -+ -+ /* There are many possibilities here to consider: -+ - Assume YYFAIL is not used. It's too flawed to consider. See -+ -+ for details. YYERROR is fine as it does not invoke this -+ function. -+ - If this state is a consistent state with a default action, then -+ the only way this function was invoked is if the default action -+ is an error action. In that case, don't check for expected -+ tokens because there are none. -+ - The only way there can be no lookahead present (in yychar) is if -+ this state is a consistent state with a default action. Thus, -+ detecting the absence of a lookahead is sufficient to determine -+ that there is no unexpected or expected token to report. In that -+ case, just report a simple "syntax error". -+ - Don't assume there isn't a lookahead just because this state is a -+ consistent state with a default action. There might have been a -+ previous inconsistent state, consistent state with a non-default -+ action, or user semantic action that manipulated yychar. -+ - Of course, the expected token list depends on states to have -+ correct lookahead information, and it depends on the parser not -+ to perform extra reductions after fetching a lookahead from the -+ scanner and before detecting a syntax error. Thus, state merging -+ (from LALR or IELR) and default reductions corrupt the expected -+ token list. However, the list is correct for canonical LR with -+ one exception: it will still contain any token that will not be -+ accepted due to an error action in a later state. -+ */ -+ if (yytoken != YYEMPTY) -+ { -+ int yyn = yypact[*yyssp]; -+ yyarg[yycount++] = yytname[yytoken]; -+ if (!yypact_value_is_default (yyn)) -+ { -+ /* Start YYX at -YYN if negative to avoid negative indexes in -+ YYCHECK. In other words, skip the first -YYN actions for -+ this state because they are default actions. */ -+ int yyxbegin = yyn < 0 ? -yyn : 0; -+ /* Stay within bounds of both yycheck and yytname. */ -+ int yychecklim = YYLAST - yyn + 1; -+ int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS; -+ int yyx; -+ -+ for (yyx = yyxbegin; yyx < yyxend; ++yyx) -+ if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR -+ && !yytable_value_is_error (yytable[yyx + yyn])) -+ { -+ if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM) -+ { -+ yycount = 1; -+ yysize = yysize0; -+ break; -+ } -+ yyarg[yycount++] = yytname[yyx]; -+ { -+ YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULL, yytname[yyx]); -+ if (! (yysize <= yysize1 -+ && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) -+ return 2; -+ yysize = yysize1; -+ } -+ } -+ } -+ } -+ -+ switch (yycount) -+ { -+# define YYCASE_(N, S) \ -+ case N: \ -+ yyformat = S; \ -+ break -+ YYCASE_(0, YY_("syntax error")); -+ YYCASE_(1, YY_("syntax error, unexpected %s")); -+ YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); -+ YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s")); -+ YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s")); -+ YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s")); -+# undef YYCASE_ -+ } -+ -+ { -+ YYSIZE_T yysize1 = yysize + yystrlen (yyformat); -+ if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) -+ return 2; -+ yysize = yysize1; -+ } -+ -+ if (*yymsg_alloc < yysize) -+ { -+ *yymsg_alloc = 2 * yysize; -+ if (! (yysize <= *yymsg_alloc -+ && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM)) -+ *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM; -+ return 1; -+ } -+ -+ /* Avoid sprintf, as that infringes on the user's name space. -+ Don't have undefined behavior even if the translation -+ produced a string with the wrong number of "%s"s. */ -+ { -+ char *yyp = *yymsg; -+ int yyi = 0; -+ while ((*yyp = *yyformat) != '\0') -+ if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount) -+ { -+ yyp += yytnamerr (yyp, yyarg[yyi++]); -+ yyformat += 2; -+ } -+ else -+ { -+ yyp++; -+ yyformat++; -+ } -+ } -+ return 0; -+} -+#endif /* YYERROR_VERBOSE */ -+ -+/*-----------------------------------------------. -+| Release the memory associated to this symbol. | -+`-----------------------------------------------*/ -+ -+/*ARGSUSED*/ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+static void -+yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep) -+#else -+static void -+yydestruct (yymsg, yytype, yyvaluep) -+ const char *yymsg; -+ int yytype; -+ YYSTYPE *yyvaluep; -+#endif -+{ -+ YYUSE (yyvaluep); -+ -+ if (!yymsg) -+ yymsg = "Deleting"; -+ YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp); -+ -+ YYUSE (yytype); -+} -+ -+ -+ -+ -+/*----------. -+| yyparse. | -+`----------*/ -+ -+#ifdef YYPARSE_PARAM -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+int -+yyparse (void *YYPARSE_PARAM) -+#else -+int -+yyparse (YYPARSE_PARAM) -+ void *YYPARSE_PARAM; -+#endif -+#else /* ! YYPARSE_PARAM */ -+#if (defined __STDC__ || defined __C99__FUNC__ \ -+ || defined __cplusplus || defined _MSC_VER) -+int -+yyparse (void) -+#else -+int -+yyparse () -+ -+#endif -+#endif -+{ -+/* The lookahead symbol. */ -+int yychar; -+ -+ -+#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ -+/* Suppress an incorrect diagnostic about yylval being uninitialized. */ -+# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ -+ _Pragma ("GCC diagnostic push") \ -+ _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"")\ -+ _Pragma ("GCC diagnostic ignored \"-Wmaybe-uninitialized\"") -+# define YY_IGNORE_MAYBE_UNINITIALIZED_END \ -+ _Pragma ("GCC diagnostic pop") -+#else -+/* Default value used for initialization, for pacifying older GCCs -+ or non-GCC compilers. */ -+static YYSTYPE yyval_default; -+# define YY_INITIAL_VALUE(Value) = Value -+#endif -+#ifndef YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -+# define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -+# define YY_IGNORE_MAYBE_UNINITIALIZED_END -+#endif -+#ifndef YY_INITIAL_VALUE -+# define YY_INITIAL_VALUE(Value) /* Nothing. */ -+#endif -+ -+/* The semantic value of the lookahead symbol. */ -+YYSTYPE yylval YY_INITIAL_VALUE(yyval_default); -+ -+ /* Number of syntax errors so far. */ -+ int yynerrs; -+ -+ int yystate; -+ /* Number of tokens to shift before error messages enabled. */ -+ int yyerrstatus; -+ -+ /* The stacks and their tools: -+ `yyss': related to states. -+ `yyvs': related to semantic values. -+ -+ Refer to the stacks through separate pointers, to allow yyoverflow -+ to reallocate them elsewhere. */ -+ -+ /* The state stack. */ -+ yytype_int16 yyssa[YYINITDEPTH]; -+ yytype_int16 *yyss; -+ yytype_int16 *yyssp; -+ -+ /* The semantic value stack. */ -+ YYSTYPE yyvsa[YYINITDEPTH]; -+ YYSTYPE *yyvs; -+ YYSTYPE *yyvsp; -+ -+ YYSIZE_T yystacksize; -+ -+ int yyn; -+ int yyresult; -+ /* Lookahead token as an internal (translated) token number. */ -+ int yytoken = 0; -+ /* The variables used to return semantic value and location from the -+ action routines. */ -+ YYSTYPE yyval; -+ -+#if YYERROR_VERBOSE -+ /* Buffer for error messages, and its allocated size. */ -+ char yymsgbuf[128]; -+ char *yymsg = yymsgbuf; -+ YYSIZE_T yymsg_alloc = sizeof yymsgbuf; -+#endif -+ -+#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) -+ -+ /* The number of symbols on the RHS of the reduced rule. -+ Keep to zero when no symbol should be popped. */ -+ int yylen = 0; -+ -+ yyssp = yyss = yyssa; -+ yyvsp = yyvs = yyvsa; -+ yystacksize = YYINITDEPTH; -+ -+ YYDPRINTF ((stderr, "Starting parse\n")); -+ -+ yystate = 0; -+ yyerrstatus = 0; -+ yynerrs = 0; -+ yychar = YYEMPTY; /* Cause a token to be read. */ -+ goto yysetstate; -+ -+/*------------------------------------------------------------. -+| yynewstate -- Push a new state, which is found in yystate. | -+`------------------------------------------------------------*/ -+ yynewstate: -+ /* In all cases, when you get here, the value and location stacks -+ have just been pushed. So pushing a state here evens the stacks. */ -+ yyssp++; -+ -+ yysetstate: -+ *yyssp = yystate; -+ -+ if (yyss + yystacksize - 1 <= yyssp) -+ { -+ /* Get the current used size of the three stacks, in elements. */ -+ YYSIZE_T yysize = yyssp - yyss + 1; -+ -+#ifdef yyoverflow -+ { -+ /* Give user a chance to reallocate the stack. Use copies of -+ these so that the &'s don't force the real ones into -+ memory. */ -+ YYSTYPE *yyvs1 = yyvs; -+ yytype_int16 *yyss1 = yyss; -+ -+ /* Each stack pointer address is followed by the size of the -+ data in use in that stack, in bytes. This used to be a -+ conditional around just the two extra args, but that might -+ be undefined if yyoverflow is a macro. */ -+ yyoverflow (YY_("memory exhausted"), -+ &yyss1, yysize * sizeof (*yyssp), -+ &yyvs1, yysize * sizeof (*yyvsp), -+ &yystacksize); -+ -+ yyss = yyss1; -+ yyvs = yyvs1; -+ } -+#else /* no yyoverflow */ -+# ifndef YYSTACK_RELOCATE -+ goto yyexhaustedlab; -+# else -+ /* Extend the stack our own way. */ -+ if (YYMAXDEPTH <= yystacksize) -+ goto yyexhaustedlab; -+ yystacksize *= 2; -+ if (YYMAXDEPTH < yystacksize) -+ yystacksize = YYMAXDEPTH; -+ -+ { -+ yytype_int16 *yyss1 = yyss; -+ union yyalloc *yyptr = -+ (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); -+ if (! yyptr) -+ goto yyexhaustedlab; -+ YYSTACK_RELOCATE (yyss_alloc, yyss); -+ YYSTACK_RELOCATE (yyvs_alloc, yyvs); -+# undef YYSTACK_RELOCATE -+ if (yyss1 != yyssa) -+ YYSTACK_FREE (yyss1); -+ } -+# endif -+#endif /* no yyoverflow */ -+ -+ yyssp = yyss + yysize - 1; -+ yyvsp = yyvs + yysize - 1; -+ -+ YYDPRINTF ((stderr, "Stack size increased to %lu\n", -+ (unsigned long int) yystacksize)); -+ -+ if (yyss + yystacksize - 1 <= yyssp) -+ YYABORT; -+ } -+ -+ YYDPRINTF ((stderr, "Entering state %d\n", yystate)); -+ -+ if (yystate == YYFINAL) -+ YYACCEPT; -+ -+ goto yybackup; -+ -+/*-----------. -+| yybackup. | -+`-----------*/ -+yybackup: -+ -+ /* Do appropriate processing given the current state. Read a -+ lookahead token if we need one and don't already have one. */ -+ -+ /* First try to decide what to do without reference to lookahead token. */ -+ yyn = yypact[yystate]; -+ if (yypact_value_is_default (yyn)) -+ goto yydefault; -+ -+ /* Not known => get a lookahead token if don't already have one. */ -+ -+ /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */ -+ if (yychar == YYEMPTY) -+ { -+ YYDPRINTF ((stderr, "Reading a token: ")); -+ yychar = YYLEX; -+ } -+ -+ if (yychar <= YYEOF) -+ { -+ yychar = yytoken = YYEOF; -+ YYDPRINTF ((stderr, "Now at end of input.\n")); -+ } -+ else -+ { -+ yytoken = YYTRANSLATE (yychar); -+ YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc); -+ } -+ -+ /* If the proper action on seeing token YYTOKEN is to reduce or to -+ detect an error, take that action. */ -+ yyn += yytoken; -+ if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) -+ goto yydefault; -+ yyn = yytable[yyn]; -+ if (yyn <= 0) -+ { -+ if (yytable_value_is_error (yyn)) -+ goto yyerrlab; -+ yyn = -yyn; -+ goto yyreduce; -+ } -+ -+ /* Count tokens shifted since error; after three, turn off error -+ status. */ -+ if (yyerrstatus) -+ yyerrstatus--; -+ -+ /* Shift the lookahead token. */ -+ YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); -+ -+ /* Discard the shifted token. */ -+ yychar = YYEMPTY; -+ -+ yystate = yyn; -+ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -+ *++yyvsp = yylval; -+ YY_IGNORE_MAYBE_UNINITIALIZED_END -+ -+ goto yynewstate; -+ -+ -+/*-----------------------------------------------------------. -+| yydefault -- do the default action for the current state. | -+`-----------------------------------------------------------*/ -+yydefault: -+ yyn = yydefact[yystate]; -+ if (yyn == 0) -+ goto yyerrlab; -+ goto yyreduce; -+ -+ -+/*-----------------------------. -+| yyreduce -- Do a reduction. | -+`-----------------------------*/ -+yyreduce: -+ /* yyn is the number of a rule to reduce with. */ -+ yylen = yyr2[yyn]; -+ -+ /* If YYLEN is nonzero, implement the default value of the action: -+ `$$ = $1'. -+ -+ Otherwise, the following line sets YYVAL to garbage. -+ This behavior is undocumented and Bison -+ users should not rely upon it. Assigning to YYVAL -+ unconditionally makes the parser a bit smaller, and it avoids a -+ GCC warning that YYVAL may be used uninitialized. */ -+ yyval = yyvsp[1-yylen]; -+ -+ -+ YY_REDUCE_PRINT (yyn); -+ switch (yyn) -+ { -+ case 4: -+/* Line 1787 of yacc.c */ -+#line 157 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHaveTime++; -+ } -+ break; -+ -+ case 5: -+/* Line 1787 of yacc.c */ -+#line 160 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHaveZone++; -+ } -+ break; -+ -+ case 6: -+/* Line 1787 of yacc.c */ -+#line 163 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHaveDate++; -+ } -+ break; -+ -+ case 7: -+/* Line 1787 of yacc.c */ -+#line 166 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHaveDay++; -+ } -+ break; -+ -+ case 8: -+/* Line 1787 of yacc.c */ -+#line 169 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHaveRel++; -+ } -+ break; -+ -+ case 10: -+/* Line 1787 of yacc.c */ -+#line 175 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHour = (yyvsp[(1) - (2)].Number); -+ VARIABLE->yyMinutes = 0; -+ VARIABLE->yySeconds = 0; -+ VARIABLE->yyMeridian = (yyvsp[(2) - (2)].Meridian); -+ } -+ break; -+ -+ case 11: -+/* Line 1787 of yacc.c */ -+#line 181 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHour = (yyvsp[(1) - (2)].Number)/100; -+ VARIABLE->yyMinutes = (yyvsp[(1) - (2)].Number)%100; -+ VARIABLE->yySeconds = 0; -+ VARIABLE->yyMeridian = MER24; -+ VARIABLE->yyDSTmode = DSToff; -+ VARIABLE->yyTimezone = - ((yyvsp[(2) - (2)].Number) % 100 + ((yyvsp[(2) - (2)].Number) / 100) * 60); -+ } -+ break; -+ -+ case 12: -+/* Line 1787 of yacc.c */ -+#line 189 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHour = (yyvsp[(1) - (2)].Number)/10000; -+ VARIABLE->yyMinutes = ((yyvsp[(1) - (2)].Number)/100)%100; -+ VARIABLE->yySeconds = (yyvsp[(1) - (2)].Number) % 100; -+ VARIABLE->yyMeridian = MER24; -+ VARIABLE->yyDSTmode = DSToff; -+ VARIABLE->yyTimezone = - ((yyvsp[(2) - (2)].Number) % 100 + ((yyvsp[(2) - (2)].Number) / 100) * 60); -+ } -+ break; -+ -+ case 13: -+/* Line 1787 of yacc.c */ -+#line 197 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHour = (yyvsp[(1) - (4)].Number); -+ VARIABLE->yyMinutes = (yyvsp[(3) - (4)].Number); -+ VARIABLE->yySeconds = 0; -+ VARIABLE->yyMeridian = (yyvsp[(4) - (4)].Meridian); -+ } -+ break; -+ -+ case 14: -+/* Line 1787 of yacc.c */ -+#line 203 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHour = (yyvsp[(1) - (4)].Number); -+ VARIABLE->yyMinutes = (yyvsp[(3) - (4)].Number); -+ VARIABLE->yyMeridian = MER24; -+ VARIABLE->yyDSTmode = DSToff; -+ VARIABLE->yyTimezone = - ((yyvsp[(4) - (4)].Number) % 100 + ((yyvsp[(4) - (4)].Number) / 100) * 60); -+ } -+ break; -+ -+ case 15: -+/* Line 1787 of yacc.c */ -+#line 210 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHour = (yyvsp[(1) - (6)].Number); -+ VARIABLE->yyMinutes = (yyvsp[(3) - (6)].Number); -+ VARIABLE->yySeconds = (yyvsp[(5) - (6)].Number); -+ VARIABLE->yyMeridian = (yyvsp[(6) - (6)].Meridian); -+ } -+ break; -+ -+ case 16: -+/* Line 1787 of yacc.c */ -+#line 216 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyHour = (yyvsp[(1) - (6)].Number); -+ VARIABLE->yyMinutes = (yyvsp[(3) - (6)].Number); -+ VARIABLE->yySeconds = (yyvsp[(5) - (6)].Number); -+ VARIABLE->yyMeridian = MER24; -+ VARIABLE->yyDSTmode = DSToff; -+ VARIABLE->yyTimezone = - ((yyvsp[(6) - (6)].Number) % 100 + ((yyvsp[(6) - (6)].Number) / 100) * 60); -+ } -+ break; -+ -+ case 17: -+/* Line 1787 of yacc.c */ -+#line 226 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyTimezone = (yyvsp[(1) - (1)].Number); -+ VARIABLE->yyDSTmode = DSToff; -+ } -+ break; -+ -+ case 18: -+/* Line 1787 of yacc.c */ -+#line 230 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyTimezone = (yyvsp[(1) - (1)].Number); -+ VARIABLE->yyDSTmode = DSTon; -+ } -+ break; -+ -+ case 19: -+/* Line 1787 of yacc.c */ -+#line 235 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyTimezone = (yyvsp[(1) - (2)].Number); -+ VARIABLE->yyDSTmode = DSTon; -+ } -+ break; -+ -+ case 20: -+/* Line 1787 of yacc.c */ -+#line 239 "ptlib/common/getdate.y" -+ { -+ if (VARIABLE->yyHaveTime > 0) { -+ VARIABLE->yyTimezone = (yyvsp[(1) - (1)].Number); -+ VARIABLE->yyDSTmode = DSToff; -+ } -+ else -+ VARIABLE->yyHaveZone--; -+ } -+ break; -+ -+ case 21: -+/* Line 1787 of yacc.c */ -+#line 249 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyDayOrdinal = 1; -+ VARIABLE->yyDayNumber = (yyvsp[(1) - (1)].Number); -+ } -+ break; -+ -+ case 22: -+/* Line 1787 of yacc.c */ -+#line 253 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyDayOrdinal = 1; -+ VARIABLE->yyDayNumber = (yyvsp[(1) - (2)].Number); -+ } -+ break; -+ -+ case 23: -+/* Line 1787 of yacc.c */ -+#line 257 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyDayOrdinal = (yyvsp[(1) - (2)].Number); -+ VARIABLE->yyDayNumber = (yyvsp[(2) - (2)].Number); -+ } -+ break; -+ -+ case 24: -+/* Line 1787 of yacc.c */ -+#line 263 "ptlib/common/getdate.y" -+ { -+ SetPossibleDate(VARIABLE, (yyvsp[(1) - (3)].Number), (yyvsp[(3) - (3)].Number), VARIABLE->yyYear); -+ } -+ break; -+ -+ case 25: -+/* Line 1787 of yacc.c */ -+#line 266 "ptlib/common/getdate.y" -+ { -+ SetPossibleDate(VARIABLE, (yyvsp[(1) - (5)].Number), (yyvsp[(3) - (5)].Number), (yyvsp[(5) - (5)].Number)); -+ } -+ break; -+ -+ case 26: -+/* Line 1787 of yacc.c */ -+#line 269 "ptlib/common/getdate.y" -+ { -+ /* ISO 8601 format. yyyy-mm-dd. */ -+ SetPossibleDate(VARIABLE, (yyvsp[(1) - (4)].Number), -(yyvsp[(2) - (4)].Number), -(yyvsp[(3) - (4)].Number)); -+ } -+ break; -+ -+ case 27: -+/* Line 1787 of yacc.c */ -+#line 273 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyDay= ((yyvsp[(1) - (1)].Number))%100; -+ VARIABLE->yyMonth= ((yyvsp[(1) - (1)].Number)/100)%100; -+ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number)/10000; -+ } -+ break; -+ -+ case 28: -+/* Line 1787 of yacc.c */ -+#line 278 "ptlib/common/getdate.y" -+ { -+ /* e.g. 17-JUN-1992. */ -+ SetPossibleDate(VARIABLE, (yyvsp[(1) - (3)].Number), (yyvsp[(2) - (3)].Number), -(yyvsp[(3) - (3)].Number)); -+ } -+ break; -+ -+ case 29: -+/* Line 1787 of yacc.c */ -+#line 282 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyMonth = (yyvsp[(1) - (2)].Number); -+ if ((yyvsp[(2) - (2)].Number) > 31) -+ VARIABLE->yyYear = (yyvsp[(2) - (2)].Number); -+ else -+ VARIABLE->yyDay = (yyvsp[(2) - (2)].Number); -+ } -+ break; -+ -+ case 30: -+/* Line 1787 of yacc.c */ -+#line 289 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyMonth = (yyvsp[(1) - (4)].Number); -+ VARIABLE->yyDay = (yyvsp[(2) - (4)].Number); -+ VARIABLE->yyYear = (yyvsp[(4) - (4)].Number); -+ } -+ break; -+ -+ case 31: -+/* Line 1787 of yacc.c */ -+#line 294 "ptlib/common/getdate.y" -+ { -+ if ((yyvsp[(1) - (2)].Number) > 31) -+ VARIABLE->yyYear = (yyvsp[(1) - (2)].Number); -+ else -+ VARIABLE->yyDay = (yyvsp[(1) - (2)].Number); -+ VARIABLE->yyMonth = (yyvsp[(2) - (2)].Number); -+ } -+ break; -+ -+ case 32: -+/* Line 1787 of yacc.c */ -+#line 301 "ptlib/common/getdate.y" -+ { -+ SetPossibleDate(VARIABLE, (yyvsp[(1) - (3)].Number), (yyvsp[(2) - (3)].Number), (yyvsp[(3) - (3)].Number)); -+ } -+ break; -+ -+ case 33: -+/* Line 1787 of yacc.c */ -+#line 306 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelSeconds = -VARIABLE->yyRelSeconds; -+ VARIABLE->yyRelMonth = -VARIABLE->yyRelMonth; -+ } -+ break; -+ -+ case 35: -+/* Line 1787 of yacc.c */ -+#line 313 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelSeconds += (yyvsp[(1) - (2)].Number) * (yyvsp[(2) - (2)].Number) * 60L; -+ } -+ break; -+ -+ case 36: -+/* Line 1787 of yacc.c */ -+#line 316 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelSeconds += (yyvsp[(1) - (2)].Number) * (yyvsp[(2) - (2)].Number) * 60L; -+ } -+ break; -+ -+ case 37: -+/* Line 1787 of yacc.c */ -+#line 319 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelSeconds += (yyvsp[(1) - (1)].Number) * 60L; -+ } -+ break; -+ -+ case 38: -+/* Line 1787 of yacc.c */ -+#line 322 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelSeconds += (yyvsp[(1) - (2)].Number); -+ } -+ break; -+ -+ case 39: -+/* Line 1787 of yacc.c */ -+#line 325 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelSeconds += (yyvsp[(1) - (2)].Number); -+ } -+ break; -+ -+ case 40: -+/* Line 1787 of yacc.c */ -+#line 328 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelSeconds++; -+ } -+ break; -+ -+ case 41: -+/* Line 1787 of yacc.c */ -+#line 331 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelMonth += (yyvsp[(1) - (2)].Number) * (yyvsp[(2) - (2)].Number); -+ } -+ break; -+ -+ case 42: -+/* Line 1787 of yacc.c */ -+#line 334 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelMonth += (yyvsp[(1) - (2)].Number) * (yyvsp[(2) - (2)].Number); -+ } -+ break; -+ -+ case 43: -+/* Line 1787 of yacc.c */ -+#line 337 "ptlib/common/getdate.y" -+ { -+ VARIABLE->yyRelMonth += (yyvsp[(1) - (1)].Number); -+ } -+ break; -+ -+ case 44: -+/* Line 1787 of yacc.c */ -+#line 342 "ptlib/common/getdate.y" -+ { -+ (yyval.Number) = (yyvsp[(1) - (1)].Number); -+ } -+ break; -+ -+ case 45: -+/* Line 1787 of yacc.c */ -+#line 345 "ptlib/common/getdate.y" -+ { -+ (yyval.Number) = (yyvsp[(1) - (1)].Number); -+ } -+ break; -+ -+ case 46: -+/* Line 1787 of yacc.c */ -+#line 348 "ptlib/common/getdate.y" -+ { -+ (yyval.Number) = (yyvsp[(1) - (1)].Number); -+ } -+ break; -+ -+ case 47: -+/* Line 1787 of yacc.c */ -+#line 353 "ptlib/common/getdate.y" -+ { -+ if (VARIABLE->yyHaveTime && VARIABLE->yyHaveDate && !VARIABLE->yyHaveRel) -+ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number); -+ else { -+ if((yyvsp[(1) - (1)].Number)>240000) { -+ VARIABLE->yyHaveDate++; -+ VARIABLE->yyDay= ((yyvsp[(1) - (1)].Number))%100; -+ VARIABLE->yyMonth= ((yyvsp[(1) - (1)].Number)/100)%100; -+ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number)/10000; -+ } -+ else { -+ VARIABLE->yyHaveTime++; -+ if ((yyvsp[(1) - (1)].Number) < 10000) { -+ VARIABLE->yyHour = (yyvsp[(1) - (1)].Number) / 100; -+ VARIABLE->yyMinutes = (yyvsp[(1) - (1)].Number) % 100; -+ VARIABLE->yySeconds = 0; -+ } -+ else { -+ VARIABLE->yyHour = (yyvsp[(1) - (1)].Number)/10000; -+ VARIABLE->yyMinutes = ((yyvsp[(1) - (1)].Number)/100)%100; -+ VARIABLE->yySeconds = (yyvsp[(1) - (1)].Number) % 100; -+ } -+ VARIABLE->yyMeridian = MER24; -+ } -+ } -+ } -+ break; -+ -+ case 48: -+/* Line 1787 of yacc.c */ -+#line 379 "ptlib/common/getdate.y" -+ { -+ if (VARIABLE->yyHaveTime && VARIABLE->yyHaveDate && !VARIABLE->yyHaveRel) -+ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number); -+ else { -+ VARIABLE->yyHaveTime++; -+ VARIABLE->yyHour = (yyvsp[(1) - (1)].Number)/100; -+ VARIABLE->yyMinutes = (yyvsp[(1) - (1)].Number)%100; -+ VARIABLE->yySeconds = 0; -+ VARIABLE->yyMeridian = MER24; -+ } -+ } -+ break; -+ -+ case 49: -+/* Line 1787 of yacc.c */ -+#line 390 "ptlib/common/getdate.y" -+ { -+ if (!VARIABLE->yyHaveDate && (yyvsp[(1) - (1)].Number)>240000) { -+ VARIABLE->yyHaveDate++; -+ VARIABLE->yyDay= ((yyvsp[(1) - (1)].Number))%100; -+ VARIABLE->yyMonth= ((yyvsp[(1) - (1)].Number)/100)%100; -+ VARIABLE->yyYear = (yyvsp[(1) - (1)].Number)/10000; -+ } -+ else if (!VARIABLE->yyHaveTime) { -+ VARIABLE->yyHaveTime++; -+ VARIABLE->yyHour = (yyvsp[(1) - (1)].Number)/10000; -+ VARIABLE->yyMinutes = ((yyvsp[(1) - (1)].Number)/100)%100; -+ VARIABLE->yySeconds = (yyvsp[(1) - (1)].Number) % 100; -+ VARIABLE->yyMeridian = MER24; -+ } -+ } -+ break; -+ -+ case 50: -+/* Line 1787 of yacc.c */ -+#line 407 "ptlib/common/getdate.y" -+ { -+ (yyval.Meridian) = MER24; -+ } -+ break; -+ -+ case 51: -+/* Line 1787 of yacc.c */ -+#line 410 "ptlib/common/getdate.y" -+ { -+ (yyval.Meridian) = (yyvsp[(1) - (1)].Meridian); -+ } -+ break; -+ -+ -+/* Line 1787 of yacc.c */ -+#line 2031 "ptlib/common/getdate.tab.c" -+ default: break; -+ } -+ /* User semantic actions sometimes alter yychar, and that requires -+ that yytoken be updated with the new translation. We take the -+ approach of translating immediately before every use of yytoken. -+ One alternative is translating here after every semantic action, -+ but that translation would be missed if the semantic action invokes -+ YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or -+ if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an -+ incorrect destructor might then be invoked immediately. In the -+ case of YYERROR or YYBACKUP, subsequent parser actions might lead -+ to an incorrect destructor call or verbose syntax error message -+ before the lookahead is translated. */ -+ YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc); -+ -+ YYPOPSTACK (yylen); -+ yylen = 0; -+ YY_STACK_PRINT (yyss, yyssp); -+ -+ *++yyvsp = yyval; -+ -+ /* Now `shift' the result of the reduction. Determine what state -+ that goes to, based on the state we popped back to and the rule -+ number reduced by. */ -+ -+ yyn = yyr1[yyn]; -+ -+ yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; -+ if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) -+ yystate = yytable[yystate]; -+ else -+ yystate = yydefgoto[yyn - YYNTOKENS]; -+ -+ goto yynewstate; -+ -+ -+/*------------------------------------. -+| yyerrlab -- here on detecting error | -+`------------------------------------*/ -+yyerrlab: -+ /* Make sure we have latest lookahead translation. See comments at -+ user semantic actions for why this is necessary. */ -+ yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar); -+ -+ /* If not already recovering from an error, report this error. */ -+ if (!yyerrstatus) -+ { -+ ++yynerrs; -+#if ! YYERROR_VERBOSE -+ yyerror (YY_("syntax error")); -+#else -+# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \ -+ yyssp, yytoken) -+ { -+ char const *yymsgp = YY_("syntax error"); -+ int yysyntax_error_status; -+ yysyntax_error_status = YYSYNTAX_ERROR; -+ if (yysyntax_error_status == 0) -+ yymsgp = yymsg; -+ else if (yysyntax_error_status == 1) -+ { -+ if (yymsg != yymsgbuf) -+ YYSTACK_FREE (yymsg); -+ yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc); -+ if (!yymsg) -+ { -+ yymsg = yymsgbuf; -+ yymsg_alloc = sizeof yymsgbuf; -+ yysyntax_error_status = 2; -+ } -+ else -+ { -+ yysyntax_error_status = YYSYNTAX_ERROR; -+ yymsgp = yymsg; -+ } -+ } -+ yyerror (yymsgp); -+ if (yysyntax_error_status == 2) -+ goto yyexhaustedlab; -+ } -+# undef YYSYNTAX_ERROR -+#endif -+ } -+ -+ -+ -+ if (yyerrstatus == 3) -+ { -+ /* If just tried and failed to reuse lookahead token after an -+ error, discard it. */ -+ -+ if (yychar <= YYEOF) -+ { -+ /* Return failure if at end of input. */ -+ if (yychar == YYEOF) -+ YYABORT; -+ } -+ else -+ { -+ yydestruct ("Error: discarding", -+ yytoken, &yylval); -+ yychar = YYEMPTY; -+ } -+ } -+ -+ /* Else will try to reuse lookahead token after shifting the error -+ token. */ -+ goto yyerrlab1; -+ -+ -+/*---------------------------------------------------. -+| yyerrorlab -- error raised explicitly by YYERROR. | -+`---------------------------------------------------*/ -+yyerrorlab: -+ -+ /* Pacify compilers like GCC when the user code never invokes -+ YYERROR and the label yyerrorlab therefore never appears in user -+ code. */ -+ if (/*CONSTCOND*/ 0) -+ goto yyerrorlab; -+ -+ /* Do not reclaim the symbols of the rule which action triggered -+ this YYERROR. */ -+ YYPOPSTACK (yylen); -+ yylen = 0; -+ YY_STACK_PRINT (yyss, yyssp); -+ yystate = *yyssp; -+ goto yyerrlab1; -+ -+ -+/*-------------------------------------------------------------. -+| yyerrlab1 -- common code for both syntax error and YYERROR. | -+`-------------------------------------------------------------*/ -+yyerrlab1: -+ yyerrstatus = 3; /* Each real token shifted decrements this. */ -+ -+ for (;;) -+ { -+ yyn = yypact[yystate]; -+ if (!yypact_value_is_default (yyn)) -+ { -+ yyn += YYTERROR; -+ if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) -+ { -+ yyn = yytable[yyn]; -+ if (0 < yyn) -+ break; -+ } -+ } -+ -+ /* Pop the current state because it cannot handle the error token. */ -+ if (yyssp == yyss) -+ YYABORT; -+ -+ -+ yydestruct ("Error: popping", -+ yystos[yystate], yyvsp); -+ YYPOPSTACK (1); -+ yystate = *yyssp; -+ YY_STACK_PRINT (yyss, yyssp); -+ } -+ -+ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN -+ *++yyvsp = yylval; -+ YY_IGNORE_MAYBE_UNINITIALIZED_END -+ -+ -+ /* Shift the error token. */ -+ YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp); -+ -+ yystate = yyn; -+ goto yynewstate; -+ -+ -+/*-------------------------------------. -+| yyacceptlab -- YYACCEPT comes here. | -+`-------------------------------------*/ -+yyacceptlab: -+ yyresult = 0; -+ goto yyreturn; -+ -+/*-----------------------------------. -+| yyabortlab -- YYABORT comes here. | -+`-----------------------------------*/ -+yyabortlab: -+ yyresult = 1; -+ goto yyreturn; -+ -+#if !defined yyoverflow || YYERROR_VERBOSE -+/*-------------------------------------------------. -+| yyexhaustedlab -- memory exhaustion comes here. | -+`-------------------------------------------------*/ -+yyexhaustedlab: -+ yyerror (YY_("memory exhausted")); -+ yyresult = 2; -+ /* Fall through. */ -+#endif -+ -+yyreturn: -+ if (yychar != YYEMPTY) -+ { -+ /* Make sure we have latest lookahead translation. See comments at -+ user semantic actions for why this is necessary. */ -+ yytoken = YYTRANSLATE (yychar); -+ yydestruct ("Cleanup: discarding lookahead", -+ yytoken, &yylval); -+ } -+ /* Do not reclaim the symbols of the rule which action triggered -+ this YYABORT or YYACCEPT. */ -+ YYPOPSTACK (yylen); -+ YY_STACK_PRINT (yyss, yyssp); -+ while (yyssp != yyss) -+ { -+ yydestruct ("Cleanup: popping", -+ yystos[*yyssp], yyvsp); -+ YYPOPSTACK (1); -+ } -+#ifndef yyoverflow -+ if (yyss != yyssa) -+ YYSTACK_FREE (yyss); -+#endif -+#if YYERROR_VERBOSE -+ if (yymsg != yymsgbuf) -+ YYSTACK_FREE (yymsg); -+#endif -+ /* Make sure YYID is used. */ -+ return YYID (yyresult); -+} -+ -+ -+/* Line 2050 of yacc.c */ -+#line 415 "ptlib/common/getdate.y" -+ -+ -+/* Month and day table. */ -+static TABLE const MonthDayTable[] = { -+ { "january", tMONTH, 1 }, -+ { "february", tMONTH, 2 }, -+ { "march", tMONTH, 3 }, -+ { "april", tMONTH, 4 }, -+ { "may", tMONTH, 5 }, -+ { "june", tMONTH, 6 }, -+ { "july", tMONTH, 7 }, -+ { "august", tMONTH, 8 }, -+ { "september", tMONTH, 9 }, -+ { "sept", tMONTH, 9 }, -+ { "october", tMONTH, 10 }, -+ { "november", tMONTH, 11 }, -+ { "december", tMONTH, 12 }, -+ { "sunday", tDAY, 0 }, -+ { "monday", tDAY, 1 }, -+ { "tuesday", tDAY, 2 }, -+ { "tues", tDAY, 2 }, -+ { "wednesday", tDAY, 3 }, -+ { "wednes", tDAY, 3 }, -+ { "thursday", tDAY, 4 }, -+ { "thur", tDAY, 4 }, -+ { "thurs", tDAY, 4 }, -+ { "friday", tDAY, 5 }, -+ { "saturday", tDAY, 6 }, -+ { NULL } -+}; -+ -+/* Time units table. */ -+static TABLE const UnitsTable[] = { -+ { "year", tMONTH_UNIT, 12 }, -+ { "month", tMONTH_UNIT, 1 }, -+ { "fortnight", tMINUTE_UNIT, 14 * 24 * 60 }, -+ { "week", tMINUTE_UNIT, 7 * 24 * 60 }, -+ { "day", tMINUTE_UNIT, 1 * 24 * 60 }, -+ { "hour", tMINUTE_UNIT, 60 }, -+ { "minute", tMINUTE_UNIT, 1 }, -+ { "min", tMINUTE_UNIT, 1 }, -+ { "second", tSEC_UNIT, 1 }, -+ { "sec", tSEC_UNIT, 1 }, -+ { NULL } -+}; -+ -+/* Assorted relative-time words. */ -+static TABLE const OtherTable[] = { -+ { "tomorrow", tMINUTE_UNIT, 1 * 24 * 60 }, -+ { "yesterday", tMINUTE_UNIT, -1 * 24 * 60 }, -+ { "today", tMINUTE_UNIT, 0 }, -+ { "now", tMINUTE_UNIT, 0 }, -+ { "last", tUNUMBER, -1 }, -+ { "this", tMINUTE_UNIT, 0 }, -+ { "next", tUNUMBER, 2 }, -+ { "first", tUNUMBER, 1 }, -+/* { "second", tUNUMBER, 2 }, */ -+ { "third", tUNUMBER, 3 }, -+ { "fourth", tUNUMBER, 4 }, -+ { "fifth", tUNUMBER, 5 }, -+ { "sixth", tUNUMBER, 6 }, -+ { "seventh", tUNUMBER, 7 }, -+ { "eighth", tUNUMBER, 8 }, -+ { "ninth", tUNUMBER, 9 }, -+ { "tenth", tUNUMBER, 10 }, -+ { "eleventh", tUNUMBER, 11 }, -+ { "twelfth", tUNUMBER, 12 }, -+ { "ago", tAGO, 1 }, -+ { NULL } -+}; -+ -+/* The timezone table. */ -+/* Some of these are commented out because a time_t can't store a float. */ -+static TABLE const TimezoneTable[] = { -+ { "gmt", tZONE, HOUR( 0) }, /* Greenwich Mean */ -+ { "ut", tZONE, HOUR( 0) }, /* Universal (Coordinated) */ -+ { "utc", tZONE, HOUR( 0) }, -+ { "wet", tZONE, HOUR( 0) }, /* Western European */ -+ { "bst", tDAYZONE, HOUR( 0) }, /* British Summer */ -+ { "wat", tZONE, HOUR( 1) }, /* West Africa */ -+ { "at", tZONE, HOUR( 2) }, /* Azores */ -+#if 0 -+ /* For completeness. BST is also British Summer, and GST is -+ * also Guam Standard. */ -+ { "bst", tZONE, HOUR( 3) }, /* Brazil Standard */ -+ { "gst", tZONE, HOUR( 3) }, /* Greenland Standard */ -+#endif -+#if 0 -+ { "nft", tZONE, HOUR(3.5) }, /* Newfoundland */ -+ { "nst", tZONE, HOUR(3.5) }, /* Newfoundland Standard */ -+ { "ndt", tDAYZONE, HOUR(3.5) }, /* Newfoundland Daylight */ -+#endif -+ { "ast", tZONE, HOUR( 4) }, /* Atlantic Standard */ -+ { "adt", tDAYZONE, HOUR( 4) }, /* Atlantic Daylight */ -+ { "est", tZONE, HOUR( 5) }, /* Eastern Standard */ -+ { "edt", tDAYZONE, HOUR( 5) }, /* Eastern Daylight */ -+ { "cst", tZONE, HOUR( 6) }, /* Central Standard */ -+ { "cdt", tDAYZONE, HOUR( 6) }, /* Central Daylight */ -+ { "mst", tZONE, HOUR( 7) }, /* Mountain Standard */ -+ { "mdt", tDAYZONE, HOUR( 7) }, /* Mountain Daylight */ -+ { "pst", tZONE, HOUR( 8) }, /* Pacific Standard */ -+ { "pdt", tDAYZONE, HOUR( 8) }, /* Pacific Daylight */ -+ { "yst", tZONE, HOUR( 9) }, /* Yukon Standard */ -+ { "ydt", tDAYZONE, HOUR( 9) }, /* Yukon Daylight */ -+ { "hst", tZONE, HOUR(10) }, /* Hawaii Standard */ -+ { "hdt", tDAYZONE, HOUR(10) }, /* Hawaii Daylight */ -+ { "cat", tZONE, HOUR(10) }, /* Central Alaska */ -+ { "ahst", tZONE, HOUR(10) }, /* Alaska-Hawaii Standard */ -+ { "nt", tZONE, HOUR(11) }, /* Nome */ -+ { "idlw", tZONE, HOUR(12) }, /* International Date Line West */ -+ { "cet", tZONE, -HOUR(1) }, /* Central European */ -+ { "met", tZONE, -HOUR(1) }, /* Middle European */ -+ { "mewt", tZONE, -HOUR(1) }, /* Middle European Winter */ -+ { "mest", tDAYZONE, -HOUR(1) }, /* Middle European Summer */ -+ { "swt", tZONE, -HOUR(1) }, /* Swedish Winter */ -+ { "sst", tDAYZONE, -HOUR(1) }, /* Swedish Summer */ -+ { "fwt", tZONE, -HOUR(1) }, /* French Winter */ -+ { "fst", tDAYZONE, -HOUR(1) }, /* French Summer */ -+ { "eet", tZONE, -HOUR(2) }, /* Eastern Europe, USSR Zone 1 */ -+ { "bt", tZONE, -HOUR(3) }, /* Baghdad, USSR Zone 2 */ -+#if 0 -+ { "it", tZONE, -HOUR(3.5) },/* Iran */ -+#endif -+ { "zp4", tZONE, -HOUR(4) }, /* USSR Zone 3 */ -+ { "zp5", tZONE, -HOUR(5) }, /* USSR Zone 4 */ -+#if 0 -+ { "ist", tZONE, -HOUR(5.5) },/* Indian Standard */ -+#endif -+ { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */ -+#if 0 -+ /* For completeness. NST is also Newfoundland Stanard, and SST is -+ * also Swedish Summer. */ -+ { "nst", tZONE, -HOUR(6.5) },/* North Sumatra */ -+ { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */ -+#endif /* 0 */ -+ { "wast", tZONE, -HOUR(7) }, /* West Australian Standard */ -+ { "wadt", tDAYZONE, -HOUR(7) }, /* West Australian Daylight */ -+#if 0 -+ { "jt", tZONE, -HOUR(7.5) },/* Java (3pm in Cronusland!) */ -+#endif -+ { "cct", tZONE, -HOUR(8) }, /* China Coast, USSR Zone 7 */ -+ { "jst", tZONE, -HOUR(9) }, /* Japan Standard, USSR Zone 8 */ -+#if 0 -+ { "cast", tZONE, -HOUR(9.5) },/* Central Australian Standard */ -+ { "cadt", tDAYZONE, -HOUR(9.5) },/* Central Australian Daylight */ -+#endif -+ { "east", tZONE, -HOUR(10) }, /* Eastern Australian Standard */ -+ { "eadt", tDAYZONE, -HOUR(10) }, /* Eastern Australian Daylight */ -+ { "gst", tZONE, -HOUR(10) }, /* Guam Standard, USSR Zone 9 */ -+ { "nzt", tZONE, -HOUR(12) }, /* New Zealand */ -+ { "nzst", tZONE, -HOUR(12) }, /* New Zealand Standard */ -+ { "nzdt", tDAYZONE, -HOUR(12) }, /* New Zealand Daylight */ -+ { "idle", tZONE, -HOUR(12) }, /* International Date Line East */ -+ { NULL } -+}; -+ -+/* Military timezone table. */ -+static TABLE const MilitaryTable[] = { -+ { "a", tMILZONE, HOUR( 1) }, -+ { "b", tMILZONE, HOUR( 2) }, -+ { "c", tMILZONE, HOUR( 3) }, -+ { "d", tMILZONE, HOUR( 4) }, -+ { "e", tMILZONE, HOUR( 5) }, -+ { "f", tMILZONE, HOUR( 6) }, -+ { "g", tMILZONE, HOUR( 7) }, -+ { "h", tMILZONE, HOUR( 8) }, -+ { "i", tMILZONE, HOUR( 9) }, -+ { "k", tMILZONE, HOUR( 10) }, -+ { "l", tMILZONE, HOUR( 11) }, -+ { "m", tMILZONE, HOUR( 12) }, -+ { "n", tMILZONE, HOUR(- 1) }, -+ { "o", tMILZONE, HOUR(- 2) }, -+ { "p", tMILZONE, HOUR(- 3) }, -+ { "q", tMILZONE, HOUR(- 4) }, -+ { "r", tMILZONE, HOUR(- 5) }, -+ { "s", tMILZONE, HOUR(- 6) }, -+ { "t", tMILZONE, HOUR(- 7) }, -+ { "u", tMILZONE, HOUR(- 8) }, -+ { "v", tMILZONE, HOUR(- 9) }, -+ { "w", tMILZONE, HOUR(-10) }, -+ { "x", tMILZONE, HOUR(-11) }, -+ { "y", tMILZONE, HOUR(-12) }, -+ { "z", tZONE, HOUR( 0) }, /* Deliberately tZONE */ -+ { NULL } -+}; -+ -+static int LookupWord(char * buff, YYSTYPE * yylval, struct Variables * vars) -+{ -+ register char *p; -+ register char *q; -+ register const TABLE *tp; -+ int i; -+ int abbrev; -+ -+ /* Make it lowercase. */ -+ for (p = buff; *p != '\0'; p++) -+ *p = (char)tolower(*p); -+ -+ if (strcmp(buff, "am") == 0 || strcmp(buff, "a.m.") == 0) { -+ yylval->Meridian = MERam; -+ return tMERIDIAN; -+ } -+ if (strcmp(buff, "pm") == 0 || strcmp(buff, "p.m.") == 0) { -+ yylval->Meridian = MERpm; -+ return tMERIDIAN; -+ } -+ -+ /* See if we have an abbreviation for a month. */ -+ if (strlen(buff) == 3) -+ abbrev = 1; -+ else if (strlen(buff) == 4 && buff[3] == '.') { -+ abbrev = 1; -+ buff[3] = '\0'; -+ } -+ else -+ abbrev = 0; -+ -+ for (tp = MonthDayTable; tp->name; tp++) { -+ if (abbrev) { -+ if (strncmp(buff, tp->name, 3) == 0) { -+ yylval->Number = tp->value; -+ return tp->type; -+ } -+ } -+ else if (strcmp(buff, tp->name) == 0) { -+ yylval->Number = tp->value; -+ return tp->type; -+ } -+ } -+ -+ for (tp = TimezoneTable; tp->name; tp++) -+ if (strcmp(buff, tp->name) == 0) { -+ yylval->Number = tp->value; -+ return tp->type; -+ } -+ -+ if (strcmp(buff, "dst") == 0) -+ return tDST; -+ -+ for (tp = UnitsTable; tp->name; tp++) -+ if (strcmp(buff, tp->name) == 0) { -+ yylval->Number = tp->value; -+ return tp->type; -+ } -+ -+ /* Strip off any plural and try the units table again. */ -+ i = strlen(buff) - 1; -+ if (buff[i] == 's') { -+ buff[i] = '\0'; -+ for (tp = UnitsTable; tp->name; tp++) -+ if (strcmp(buff, tp->name) == 0) { -+ yylval->Number = tp->value; -+ return tp->type; -+ } -+ buff[i] = 's'; /* Put back for "this" in OtherTable. */ -+ } -+ -+ for (tp = OtherTable; tp->name; tp++) -+ if (strcmp(buff, tp->name) == 0) { -+ yylval->Number = tp->value; -+ return tp->type; -+ } -+ -+ /* Avoid confusion with 'T' in RFC3339 and 't' in Military timezones */ -+ if (!vars->yyHaveTime && strcmp(buff, "t") == 0) -+ return tRFC3339; -+ -+ /* Military timezones. */ -+ if (buff[1] == '\0' && isalpha(*buff)) { -+ for (tp = MilitaryTable; tp->name; tp++) -+ if (strcmp(buff, tp->name) == 0) { -+ yylval->Number = tp->value; -+ return tp->type; -+ } -+ } -+ -+ /* Drop out any periods and try the timezone table again. */ -+ for (i = 0, p = q = buff; *q; q++) -+ if (*q != '.') -+ *p++ = *q; -+ else -+ i++; -+ *p = '\0'; -+ if (i) -+ for (tp = TimezoneTable; tp->name; tp++) -+ if (strcmp(buff, tp->name) == 0) { -+ yylval->Number = tp->value; -+ return tp->type; -+ } -+ -+ for (i = 1; i <= 12; i++) -+ for (abbrev = 0; abbrev < 2; abbrev++) -+ if (PTimeIsMonthName(buff, i, abbrev)) { -+ yylval->Number = i; -+ return tMONTH; -+ } -+ -+ for (i = 1; i <= 7; i++) -+ for (abbrev = 0; abbrev < 2; abbrev++) -+ if (PTimeIsDayName(buff, i, abbrev)) { -+ yylval->Number = i; -+ return tDAY; -+ } -+ -+ return tID; -+} -+ -+ -+#ifdef _MSC_VER -+#pragma warning(disable:4211) -+#endif -+ -+#ifndef __GNUC__ -+static -+#endif -+int yylex(YYSTYPE * yylval, struct Variables * vars) -+{ -+ register char *p; -+ char buff[20]; -+ int Count; -+ int sign; -+ register int c = PTimeGetChar(vars->yyInput); -+ -+ while (c != EOF && c != '\0' && c != '\n') { -+ while (isspace(c)) -+ c = PTimeGetChar(vars->yyInput); -+ -+ if (isdigit(c) || c == '-' || c == '+') { -+ if (c == '-' || c == '+') { -+ sign = c == '-' ? -1 : 1; -+ if (!isdigit(c = PTimeGetChar(vars->yyInput))) -+ /* skip the '-' sign */ -+ continue; -+ } -+ else -+ sign = 0; -+ yylval->Number = 0; -+ Count = 0; /* Count number of digits */ -+ while (isdigit(c)) { -+ yylval->Number = 10 * yylval->Number + c - '0'; -+ c = PTimeGetChar(vars->yyInput); -+ Count++; -+ } -+ PTimeUngetChar(vars->yyInput, c); -+ if (sign < 0) -+ yylval->Number = -yylval->Number; -+ if (Count == 4) -+ return sign ? tS4DIGITNUMBER : t4DIGITNUMBER; -+ if (sign) -+ return tSNUMBER; -+ if (Count == 6) -+ return t6DIGITNUMBER; -+ if (Count == 8) -+ return t8DIGITNUMBER; -+ return tUNUMBER; -+ } -+ -+ if (isalpha(c)) { -+ for (p = buff; isalpha(c) || c == '.'; c = PTimeGetChar(vars->yyInput)) { -+ if (p < &buff[sizeof(buff)-1]) -+ *p++ = (char)c; -+ } -+ *p = '\0'; -+ PTimeUngetChar(vars->yyInput, c); -+ return LookupWord(buff, yylval, vars); -+ } -+ -+ if (c != '(') -+ return c; -+ -+ Count = 0; -+ do { -+ c = PTimeGetChar(vars->yyInput); -+ if (c == '\0' || c == EOF) -+ return c; -+ if (c == '(') -+ Count++; -+ else if (c == ')') -+ Count--; -+ } while (Count > 0); -+ } -+ -+ if (c == '\n') -+ PTimeUngetChar(vars->yyInput, c); -+ -+ return EOF; -+} -+ -+#ifdef _MSC_VER -+#pragma warning(default:4211) -+#endif -+ -+ -+static time_t ToSeconds(time_t Hours, time_t Minutes, time_t Seconds, -+ MERIDIAN Meridian) -+{ -+ if (Minutes < 0 || Minutes > 59 || Seconds < 0 || Seconds > 59) -+ return -1; -+ switch (Meridian) { -+ case MER24: -+ if (Hours < 0 || Hours > 23) -+ return -1; -+ return (Hours * 60L + Minutes) * 60L + Seconds; -+ case MERam: -+ if (Hours < 1 || Hours > 12) -+ return -1; -+ if (Hours == 12) -+ Hours = 0; -+ return (Hours * 60L + Minutes) * 60L + Seconds; -+ case MERpm: -+ if (Hours < 1 || Hours > 12) -+ return -1; -+ if (Hours == 12) -+ Hours = 0; -+ return ((Hours + 12) * 60L + Minutes) * 60L + Seconds; -+ } -+ -+ return -1; -+} -+ -+ -+static time_t Convert(time_t Month, time_t Day, time_t Year, -+ time_t Hours, time_t Minutes, time_t Seconds, -+ MERIDIAN Meridian, DSTMODE DSTmode, time_t yyTimezone) -+{ -+ static int DaysInMonth[12] = { -+ 31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 -+ }; -+ time_t tod; -+ time_t Julian; -+ int i; -+ -+ if (Year < 0) -+ Year = -Year; -+ if (Year < 70) -+ Year += 2000; -+ else if (Year < 100) -+ Year += 1900; -+ DaysInMonth[1] = Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0) -+ ? 29 : 28; -+ /* Checking for 2038 bogusly assumes that time_t is 32 bits. But -+ I'm too lazy to try to check for time_t overflow in another way. */ -+ if (Year < EPOCH || Year > 2038 -+ || Month < 1 || Month > 12 -+ /* Lint fluff: "conversion from long may lose accuracy" */ -+ || Day < 1 || Day > DaysInMonth[(int)--Month]) -+ return -1; -+ -+ for (Julian = Day - 1, i = 0; i < Month; i++) -+ Julian += DaysInMonth[i]; -+ for (i = EPOCH; i < Year; i++) -+ Julian += 365 + (i % 4 == 0); -+ Julian *= SECSPERDAY; -+ Julian += yyTimezone * 60L; -+ if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) -+ return -1; -+ Julian += tod; -+ if (DSTmode == DSTon -+ || (DSTmode == DSTmaybe && localtime(&Julian)->tm_isdst)) -+ Julian -= 60 * 60; -+ return Julian; -+} -+ -+ -+static time_t DSTcorrect(time_t Start, time_t Future) -+{ -+ time_t StartDay; -+ time_t FutureDay; -+ -+ StartDay = (localtime(&Start)->tm_hour + 1) % 24; -+ FutureDay = (localtime(&Future)->tm_hour + 1) % 24; -+ return (Future - Start) + (StartDay - FutureDay) * 60L * 60L; -+} -+ -+ -+static time_t RelativeDate(time_t Start, time_t DayOrdinal, time_t DayNumber) -+{ -+ struct tm *tm; -+ time_t now; -+ -+ now = Start; -+ tm = localtime(&now); -+ now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7); -+ now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1); -+ return DSTcorrect(Start, now); -+} -+ -+ -+static time_t RelativeMonth(time_t Start, time_t RelMonth, time_t yyTimezone) -+{ -+ struct tm *tm; -+ time_t Month; -+ time_t Year; -+ -+ if (RelMonth == 0) -+ return 0; -+ tm = localtime(&Start); -+ Month = 12 * tm->tm_year + tm->tm_mon + RelMonth; -+ Year = Month / 12 + 1900; -+ Month = Month % 12 + 1; -+ return DSTcorrect(Start, -+ Convert(Month, (time_t)tm->tm_mday, Year, -+ (time_t)tm->tm_hour, (time_t)tm->tm_min, (time_t)tm->tm_sec, -+ MER24, DSTmaybe, yyTimezone)); -+} -+ -+ -+static void SetPossibleDate(struct Variables * var, -+ time_t possible_day, -+ time_t possible_month, -+ time_t possible_year) -+{ -+ int date_order; -+ -+ if (possible_day > 31) /* test for ymd */ -+ date_order = 2; -+ else if (possible_day > 12) /* test for dmy */ -+ date_order = 1; -+ else if (possible_month > 12) /* test for mdy */ -+ date_order = 0; -+ else -+ date_order = PTimeGetDateOrder(); -+ -+ switch (date_order) { -+ case 0 : -+ var->yyDay = possible_month; -+ var->yyMonth = possible_day; -+ var->yyYear = possible_year; -+ break; -+ case 1 : -+ var->yyDay = possible_day; -+ var->yyMonth = possible_month; -+ var->yyYear = possible_year; -+ break; -+ default : -+ var->yyDay = possible_year; -+ var->yyMonth = possible_month; -+ var->yyYear = possible_day; -+ } -+} -+ -+ -+time_t STDAPICALLTYPE PTimeParse(void * inputStream, struct tm * now, int timezone) -+{ -+ time_t Start; -+ struct Variables var; -+ -+ -+ var.yyInput = inputStream; -+ var.yyYear = now->tm_year + 1900; -+ var.yyMonth = now->tm_mon + 1; -+ var.yyDay = now->tm_mday; -+ var.yyTimezone = -timezone; -+ var.yyDSTmode = DSTmaybe; -+ var.yyHour = 0; -+ var.yyMinutes = 0; -+ var.yySeconds = 0; -+ var.yyMeridian = MER24; -+ var.yyRelSeconds = 0; -+ var.yyRelMonth = 0; -+ var.yyHaveDate = 0; -+ var.yyHaveDay = 0; -+ var.yyHaveRel = 0; -+ var.yyHaveTime = 0; -+ var.yyHaveZone = 0; -+ -+ yyparse(&var); -+ -+ if (var.yyHaveTime > 1 || var.yyHaveZone > 1 || -+ var.yyHaveDate > 1 || var.yyHaveDay > 1) -+ return -1; -+ -+ if (var.yyHaveTime == 0 && var.yyHaveZone == 0 && -+ var.yyHaveDate == 0 && var.yyHaveDay == 0 && var.yyHaveRel == 0) -+ return -1; -+ -+ if (var.yyHaveDate || var.yyHaveTime || var.yyHaveDay) { -+ Start = Convert(var.yyMonth, var.yyDay, var.yyYear, -+ var.yyHour, var.yyMinutes, var.yySeconds, -+ var.yyMeridian, var.yyDSTmode, var.yyTimezone); -+ if (Start < 0) -+ return -1; -+ } -+ else { -+ time(&Start); -+ if (!var.yyHaveRel) -+ Start -= ((now->tm_hour * 60L + now->tm_min) * 60L) + now->tm_sec; -+ } -+ -+ Start += var.yyRelSeconds; -+ Start += RelativeMonth(Start, var.yyRelMonth, var.yyTimezone); -+ -+ if (var.yyHaveDay && !var.yyHaveDate) -+ Start += RelativeDate(Start, var.yyDayOrdinal, var.yyDayNumber); -+ -+ /* Have to do *something* with a legitimate -1 so it's distinguishable -+ * from the error return value. (Alternately could set errno on error.) */ -+ return Start == -1 ? 0 : Start; -+} -+ -+ -+#ifdef _MSC_VER -+#pragma warning(disable:4028 4100 4211) -+#endif -+ -+#ifdef __GNUC__ -+int yyerror(const char * s) -+{ -+ return 0; -+} -+#else -+static void yyerror(const char * s) -+{ -+} -+#endif -+ -+#ifdef _MSC_VER -+#pragma warning(default:4028 4100 4211) -+#endif -+ -+ -+/* End of file ***************************************************************/ diff --git a/unmaintained/ptlib/ptlib-fixcamcrash.patch b/unmaintained/ptlib/ptlib-fixcamcrash.patch deleted file mode 100644 index 10c6dd79f4..0000000000 --- a/unmaintained/ptlib/ptlib-fixcamcrash.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- ptlib-2.10.10/plugins/vidinput_v4l2/vidinput_v4l2.cxx.orig 2013-02-20 02:12:05.000000000 +0000 -+++ ptlib-2.10.10/plugins/vidinput_v4l2/vidinput_v4l2.cxx 2013-03-08 00:07:18.812865388 +0000 -@@ -30,9 +30,9 @@ - * Contributor(s): Guilhem Tardy (gtardy@salyens.com) - * Nicola Orru' - * -- * $Revision: 27739 $ -- * $Author: rjongbloed $ -- * $Date: 2012-05-30 18:49:09 -0500 (Wed, 30 May 2012) $ -+ * $Revision: 29220 $ -+ * $Author: ededu $ -+ * $Date: 2013-03-07 18:22:08 +0000 (Thu, 07 Mar 2013) $ - */ - - #pragma implementation "vidinput_v4l2.h" -@@ -219,9 +219,11 @@ - canSetFrameRate = videoStreamParm.parm.capture.capability & V4L2_CAP_TIMEPERFRAME; - if (canSetFrameRate) { - if (videoStreamParm.parm.capture.timeperframe.numerator == 0) { -- PTRACE(1,"PVidInDev\tnumerator is zero and denominator is " << videoStreamParm.parm.capture.timeperframe.denominator << ", driver bug??"); -- } -- PVideoDevice::SetFrameRate (videoStreamParm.parm.capture.timeperframe.denominator / videoStreamParm.parm.capture.timeperframe.numerator); -+ PTRACE(1,"PVidInDev\tDriver/webcam bug: numerator is zero and denominator is " << videoStreamParm.parm.capture.timeperframe.denominator << ", I assume it cannot set frame rate"); -+ canSetFrameRate = PFalse; -+ } else -+ PVideoDevice::SetFrameRate (videoStreamParm.parm.capture.timeperframe.denominator / videoStreamParm.parm.capture.timeperframe.numerator); -+ - } - } - diff --git a/unmaintained/pulledpork/APKBUILD b/unmaintained/pulledpork/APKBUILD deleted file mode 100644 index c5690b89bf..0000000000 --- a/unmaintained/pulledpork/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Leonardo Arena -# Maintainer: -pkgname=pulledpork -pkgver=0.6.1 -pkgrel=0 -pkgdesc="Automatic download of snort rules" -url="http://code.google.com/p/pulledpork" -arch="noarch" -license="GPL" -depends="perl perl-io-socket-ssl perl-crypt-ssleay perl-libwww" -depends_dev= -makedepends="$depends_dev" -install= -subpackages="$pkgname-doc" -source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz" - - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - return 0 -} - -build() { - cd "$_builddir" - return 0 -} - -package() { - cd "$_builddir" - install -D -m755 pulledpork.pl "$pkgdir"/usr/bin/pulledpork.pl - mkdir -p "$pkgdir"/usr/share/doc - mkdir -p "$pkgdir"/etc - mv doc "$pkgdir"/usr/share/doc/pulledpork - mv etc "$pkgdir"/etc/pulledpork -} - -md5sums="a35c5c89d1f631ade1a2cd4e5c3a8778 pulledpork-0.6.1.tar.gz" diff --git a/unmaintained/py-acl/APKBUILD b/unmaintained/py-acl/APKBUILD deleted file mode 100644 index 028dee7dac..0000000000 --- a/unmaintained/py-acl/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-acl -_pkgname=acl -pkgver=0.4 -pkgrel=0 -pkgdesc="A python network access control list parsing library" -url="https://github.com/jathanism/acl" -arch="noarch" -license="ASL 2.0" -depends="python" -depends_dev="" -makedepends="python-dev py-setuptools" -install="" -subpackages="" -source="$_pkgname-$pkgver.tar.gz::https://github.com/jathanism/acl/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="3015448d787469e6d9b250d07ca877d1 acl-0.4.tar.gz" -sha256sums="805a8568c6c1584f35a32b2a212547f479d064bc0fedd5a06531725caf4c65c1 acl-0.4.tar.gz" -sha512sums="57b0bf0d444084de55b7d2f98b08ee97bb3e740a2fbf469e6dc2b294ac5c70bd67cd506417de791d7c67acca4ea0ed66873a6e84c5a28ad44e590616ae7d5ef5 acl-0.4.tar.gz" diff --git a/unmaintained/py-authen-ntlm2/APKBUILD b/unmaintained/py-authen-ntlm2/APKBUILD deleted file mode 100644 index 2bec76c9fc..0000000000 --- a/unmaintained/py-authen-ntlm2/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: -pkgname=py-authen-ntlm2 -_realname=PyAuthenNTLM2 -pkgver=2.2 -_pkgver=RELEASE_2_2 -pkgrel=0 -pkgdesc="Authentication module for Apache" -url="https://github.com/Legrandin/PyAuthenNTLM2" -arch="noarch" -license="ASL 2.0" -depends="" -depends_dev="python-dev py-setuptools" -makedepends="$depends_dev" -install="" -subpackages="" -source="https://github.com/Legrandin/$_realname/archive/$_pkgver.zip" - -_builddir="$srcdir"/$_realname-$_pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="e8cce57ea90d3842ccbe542ee7e1bd4d RELEASE_2_2.zip" -sha256sums="9dfdd88ef7233335db1efca392ad90813f6ceaeaeda906a27b163674746e586b RELEASE_2_2.zip" -sha512sums="0c0d46eac73830ecca732fc911d8bba7c06b0ed7c3f21331a3f718b438f5773357443989706fb53fb0193ff758b00a1af420f7a5e4af5eb0b6ee8da55b429db9 RELEASE_2_2.zip" diff --git a/unmaintained/py-beautifulsoup/APKBUILD b/unmaintained/py-beautifulsoup/APKBUILD deleted file mode 100644 index 5cb0d4068d..0000000000 --- a/unmaintained/py-beautifulsoup/APKBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: -pkgname=py-beautifulsoup -_pkgname=BeautifulSoup -pkgver=3.2.1 -pkgrel=0 -pkgdesc="A Python HTML/XML parser designed for quick turnaround projects like screen-scraping" -url="http://www.crummy.com/software/BeautifulSoup/index.html" -arch="noarch" -license="BSD" -depends="" -depends_dev="python-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://www.crummy.com/software/BeautifulSoup/download/3.x/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="5ad1a8550a19bfc945baac23eb8293ed BeautifulSoup-3.2.1.tar.gz" diff --git a/unmaintained/py-des/APKBUILD b/unmaintained/py-des/APKBUILD deleted file mode 100644 index 6ff5dcc966..0000000000 --- a/unmaintained/py-des/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-des -_pkgname=pyDes -pkgver=2.0.1 -pkgrel=0 -pkgdesc="A Python implementation of DES and TRIPLE DES encryption algorithms" -url="http://twhiteman.netfirms.com/des.html" -arch="noarch" -license="MIT" -depends="python" -depends_dev="" -makedepends="python-dev py-setuptools" -install="" -subpackages="" -source="http://twhiteman.netfirms.com/pyDES/$_pkgname-$pkgver.zip" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="90f06a24a1ee73fb0e235571d51c287a pyDes-2.0.1.zip" -sha256sums="9cc6e509f627ef1c2d318730d22f1a33f23b41e1ec223b55a6420f2861266d76 pyDes-2.0.1.zip" -sha512sums="d9107d532801ff2eb096eeb606c1b81fd68a76fccffdf095a6a2a79bd19815b4c366549989b6f4508c99a2f9afb063eceb7b0702e504ebb4d73dc8175057cb28 pyDes-2.0.1.zip" diff --git a/unmaintained/py-flask-htmlbuilder/APKBUILD b/unmaintained/py-flask-htmlbuilder/APKBUILD deleted file mode 100644 index e45b8a1bef..0000000000 --- a/unmaintained/py-flask-htmlbuilder/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-flask-htmlbuilder -_pkgname=flask-htmlbuilder -pkgver=0.4 -pkgrel=0 -pkgdesc="Flask HTML generation extension" -url="https://pypi.python.org/pypi/Flask-HTMLBuilder" -arch="noarch" -license="MIT" -depends="python py-flask" -depends_dev="" -makedepends="python-dev py-setuptools" -install="" -subpackages="" -source="$_pkgname-$pkgver.tar.gz::https://github.com/majorz/flask-htmlbuilder/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="87ab4ae5af06781842790d570abf2463 flask-htmlbuilder-0.4.tar.gz" -sha256sums="e153bfd7e02c79a8b26ff92ecde8bc5d1c535aecce8d38c6c82ae09f0c5f06ec flask-htmlbuilder-0.4.tar.gz" -sha512sums="021b8dac367b1484590ec5a2bfbc724938134beaa663087e9ddcce1bb3d678881415258161d6a56145e2443cdf344c2850113f0f38f8a7d8315eedb287014ca1 flask-htmlbuilder-0.4.tar.gz" diff --git a/unmaintained/py-jabberbot/APKBUILD b/unmaintained/py-jabberbot/APKBUILD deleted file mode 100644 index e0cb560d70..0000000000 --- a/unmaintained/py-jabberbot/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=py-jabberbot -_pkgname=python-jabberbot -pkgver=0.15 -pkgrel=0 -pkgdesc="A simple Jabber Bot for Python" -url="http://pypi.python.org/pypi/jabberbot" -arch="noarch" -license="GPL3+" -depends="py-xmpppy python" -makedepends="python-dev" -install="" -subpackages="" -source="http://thpinfo.com/2007/$_pkgname/jabberbot-$pkgver.tar.gz" - -_builddir=$srcdir/jabberbot-$pkgver -build() { - cd "$_builddir" - python setup.py build -} - -package() { - cd "$_builddir" - python setup.py install --root="$pkgdir" -} - -md5sums="081be2f6d8c82740b9906bf5b8562e7d jabberbot-0.15.tar.gz" -sha256sums="b8b946958e15f5413adcb02fecf7cffd6d008669a692ef6a2bc4bf3717c06a1d jabberbot-0.15.tar.gz" -sha512sums="57cf8cbd79fd530565308b644b7e22d985e7ce5319eb8d5b127546ded4bf49d3c196a7780321aaf093cb948d1217e4ef7c265b7a3b0f411e5c1999feb591b749 jabberbot-0.15.tar.gz" diff --git a/unmaintained/py-linkedin/APKBUILD b/unmaintained/py-linkedin/APKBUILD deleted file mode 100644 index 3443733d9e..0000000000 --- a/unmaintained/py-linkedin/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-linkedin -_pkgname=linkedin -pkgver=0.1.5 -pkgrel=0 -pkgdesc="Python API wrapper for linkedin" -url="https://github.com/michaelhelmick/linkedin/" -arch="noarch" -license="MIT" -depends="python2 py-simplejson py-oauth2 py-httplib2 py-oauth2" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python2 setup.py build || return 1 -} - -package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="ef21edd3c1ffc9aaca53ce71faa8a1c3 linkedin-0.1.5.tar.gz" -sha256sums="e56760a6506a111eb66cd96b46e1971130d2249f2a0f3b594d12fab0013cc4b4 linkedin-0.1.5.tar.gz" -sha512sums="d007988ce130d7fc8f2b6338f0028af67cae71426648c3164f3f262b91ffa1f035af9d6a75ca8496689d6bfcb6663f1eb27781be7deb9d861a46e813286538c4 linkedin-0.1.5.tar.gz" diff --git a/unmaintained/py-mkdocs-bootstrap/APKBUILD b/unmaintained/py-mkdocs-bootstrap/APKBUILD deleted file mode 100644 index 690d75a786..0000000000 --- a/unmaintained/py-mkdocs-bootstrap/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=py-mkdocs-bootstrap -pkgver=0.1.1 -pkgrel=0 -pkgdesc="MkDocs Bootstrap Theme" -url="https://github.com/mkdocs/mkdocs-bootstrap" -arch="noarch" -license="BSD" -depends="mkdocs" -depends_dev="" -makedepends="$depends_dev py-setuptools" -install="" -subpackages="" -source="mkdocs-bootstrap-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs-bootstrap/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/mkdocs-bootstrap-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="f0f0fc57fdf2a93ab764013ebc38c638 mkdocs-bootstrap-0.1.1.tar.gz" -sha256sums="215fd357e51f9505e5f5ac45e3c0bb15ed431c3c24abf8f1f3afff66fd51f842 mkdocs-bootstrap-0.1.1.tar.gz" -sha512sums="c3f91ea22f0393f4ffcb5158ae5401e74abe6f937cc964c605e1ba40ecf0b17a27841558c49d9a79f302fdc8198fff5b8c5d278374ab0c59646b243488cbf719 mkdocs-bootstrap-0.1.1.tar.gz" diff --git a/unmaintained/py-mkdocs-bootswatch/APKBUILD b/unmaintained/py-mkdocs-bootswatch/APKBUILD deleted file mode 100644 index 6737b2f084..0000000000 --- a/unmaintained/py-mkdocs-bootswatch/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=py-mkdocs-bootswatch -pkgver=0.1.0 -pkgrel=0 -pkgdesc="MkDocs Bootswatch Themes" -url="https://github.com/mkdocs/mkdocs-bootswatch" -arch="noarch" -license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev py-setuptools" -install="" -subpackages="" -source="mkdocs-bootswatch-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs-bootswatch/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/mkdocs-bootswatch-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="3d20297a046ec2b1fbc0134262130112 mkdocs-bootswatch-0.1.0.tar.gz" -sha256sums="82537b39ba4ccbeda19a53cc6f2e5fcb7b7700cdd27709506eb1043ff712fb04 mkdocs-bootswatch-0.1.0.tar.gz" -sha512sums="e3762d7edb4533620eae1fd0764f216be07aa49acde98b6df074bb29f80c6b3d10e97a465663adcff81f7702de976f28dbf78dbeb9a556f87b69605bd951fbb5 mkdocs-bootswatch-0.1.0.tar.gz" diff --git a/unmaintained/py-mysql2pgsql/APKBUILD b/unmaintained/py-mysql2pgsql/APKBUILD deleted file mode 100644 index 34ebf067fe..0000000000 --- a/unmaintained/py-mysql2pgsql/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-mysql2pgsql -pkgver=0.1.6 -pkgrel=0 -pkgdesc="A migrating/converting tool from mysql to postgresql" -url="https://github.com/philipsoutham/py-mysql2pgsql" -arch="noarch" -license="MIT" -depends="python py-yaml py-psycopg2 py-mysqldb" -depends_dev="" -makedepends="python-dev py-setuptools" -install="" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/philipsoutham/$pkgname/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="fe6818d5852d97efdc5f017b1850bf18 py-mysql2pgsql-0.1.6.tar.gz" -sha256sums="56b5d2b6a3b51ccf054541e73b292656a35231be2521232af04e5508f29249ae py-mysql2pgsql-0.1.6.tar.gz" -sha512sums="fb5730cb27eac73e77ffd5b3847c51050c66f06f300b303c4234c7aec4f8cab8de09c8fc9a98e0fdcb3faedefc11943ddf3f157285b0c483a8157e809cf15955 py-mysql2pgsql-0.1.6.tar.gz" diff --git a/unmaintained/py-ostinato/APKBUILD b/unmaintained/py-ostinato/APKBUILD deleted file mode 100644 index a22e6779af..0000000000 --- a/unmaintained/py-ostinato/APKBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# Contributor: Corentin Henry -# Maintainer: Corentin Henry -pkgname=py-ostinato -_pkgname=python-ostinato -pkgver=0.7.1 -pkgrel=0 -pkgdesc="A Python agent for the ostinato controller" -url="http://ostinato.org/" -arch="noarch" -license="GPLv3" -depends="python py-protobuf>=2.3.0" -makedepends="python-dev py-setuptools" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver - -build() { - cd "$builddir" - python setup.py build || return 1 -} - -package() { - cd "$builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="903d65182eeb09d1363c81375664c265 python-ostinato-0.7.1.tar.gz" -sha256sums="f628f3be4c3392676ff703bac33ba6f51bcb951eed52ab9171dbeb4751c59bc0 python-ostinato-0.7.1.tar.gz" -sha512sums="c80ba3783b551c3869529bb7b3636dd4370d9ff6dd8ea9c39484ea73982af940751a0a332641abb2bff9aa2860064337ec49a95dd507dc6afebb0544b1ae363e python-ostinato-0.7.1.tar.gz" diff --git a/unmaintained/py-pyacoustid/APKBUILD b/unmaintained/py-pyacoustid/APKBUILD deleted file mode 100644 index ead08bd9e7..0000000000 --- a/unmaintained/py-pyacoustid/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=py-pyacoustid -pkgver=1.1.0 -pkgrel=1 -pkgdesc="Bindings for Chromaprint acoustic fingerprinting and the Acoustid API" -url="https://github.com/sampsyo/pyacoustid" -arch="noarch" -license="MIT" -depends="python chromaprint py-requests py-audioread" -depends_dev="" -makedepends="python-dev py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/p/pyacoustid/pyacoustid-$pkgver.tar.gz" - -_builddir="$srcdir"/pyacoustid-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1 -} - -md5sums="b27c714d530300b917eb869726334226 pyacoustid-1.1.0.tar.gz" -sha256sums="0117039cb116af245e6866e8e8bf3c9c8b2853ad087142bd0c2dfc0acc09d452 pyacoustid-1.1.0.tar.gz" -sha512sums="16b1c6cc1c27c02847b43c953e0fa9d525652b0583e321aaceb2f0c4bbea2e2f6956a6f0a95b1cd61124dc17e0751819ab223513ec22f27cf83246199ea8999d pyacoustid-1.1.0.tar.gz" diff --git a/unmaintained/py-reconfigure/APKBUILD b/unmaintained/py-reconfigure/APKBUILD deleted file mode 100644 index 3493267031..0000000000 --- a/unmaintained/py-reconfigure/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-reconfigure -_pkgname=reconfigure -pkgver=0.1.33 -pkgrel=0 -pkgdesc="A Python library for parsing and generation configuration file formats" -url="https://github.com/Eugeny/reconfigure" -arch="noarch" -license="LGPL3+" -depends="python" -depends_dev="" -makedepends="python-dev py-setuptools" -install="" -subpackages="" -source="$_pkgname-$pkgver.tar.gz::https://github.com/Eugeny/reconfigure/archive/$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="b3ce28ceac3641e43a95f32c365af9a8 reconfigure-0.1.33.tar.gz" -sha256sums="c8ac576d2351fef9b664ceb03ede8a582b49f42e62dde0fdefc2e4c745b1953f reconfigure-0.1.33.tar.gz" -sha512sums="d259b1033374ad14d94efea77361c1a3d242f88ec2e1e6728fa5df4dc4c69cdedc9cec4c2031bf6e120f1be92d5d91f985bb6933700dce1cb3bdd9dc3df03508 reconfigure-0.1.33.tar.gz" diff --git a/unmaintained/py-subvertpy/APKBUILD b/unmaintained/py-subvertpy/APKBUILD deleted file mode 100644 index e5faa90243..0000000000 --- a/unmaintained/py-subvertpy/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-subvertpy -_pkgname=subvertpy -pkgver=0.9.1 -pkgrel=0 -pkgdesc="Python bindings for Subversion" -url="http://samba.org/~jelmer/subvertpy/" -arch="all" -license="LGPLv2+" -depends="python" -depends_dev="" -makedepends="python-dev py-setuptools subversion-dev apr-util-dev" -install="" -subpackages="" -source="http://samba.org/~jelmer/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="365ff13066def2cac0bc0de75502d3d3 subvertpy-0.9.1.tar.gz" -sha256sums="31456d4b73b2dad5ac654a0364451078e3f7bd09fb73ce0f18724211e86d504e subvertpy-0.9.1.tar.gz" -sha512sums="624713c1c565c07493658195494249d18a98898c8d41488b1d74c37bb1ca223bc24b5dda5d06631ae95b9b1791335e56ebb6b16751d0c5f3750b755d10590121 subvertpy-0.9.1.tar.gz" diff --git a/unmaintained/py-svn/APKBUILD b/unmaintained/py-svn/APKBUILD deleted file mode 100644 index 6950ea4c65..0000000000 --- a/unmaintained/py-svn/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=py-svn -_pkgname=pysvn -pkgver=1.7.8 -pkgrel=0 -pkgdesc="Python SVN Extension and WorkBench GUI" -url="http://pysvn.tigris.org/" -arch="all" -license="APACHE" -depends="" -depends_dev="py-setuptools python-dev subversion-dev apr-util-dev openssl-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://pysvn.barrys-emacs.org/source_kits/$_pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$_pkgname-$pkgver/Source - -build() { - cd "$_builddir" - python setup.py configure - make || return 1 -} - -package() { - cd "$_builddir" - _pyver=$(python -V 2>&1|sed -e 's/.* 2\.\([0-9]\).*/\1/') - install -D -m644 pysvn/__init__.py $pkgdir/usr/lib/python2.${_pyver}/site-packages/pysvn/__init__.py - install -D -m755 pysvn/_pysvn_2_${_pyver}.so $pkgdir/usr/lib/python2.${_pyver}/site-packages/pysvn/_pysvn_2_${_pyver}.so -} - -md5sums="1e03badde472a6f1e7a11365c1ab9063 pysvn-1.7.8.tar.gz" -sha256sums="60936e30e73f8909034d8b51ee2aabbdd8dec04df480b6d271c12f45815367e2 pysvn-1.7.8.tar.gz" -sha512sums="f54bd05ec4d429b99ef1c27167989edd96df73d1fe970bb4fa7669523f6f15c35584bc9252a74bbc7cbdb5fd846bb370a10d625546a50c9be49eedcc85916167 pysvn-1.7.8.tar.gz" diff --git a/unmaintained/py-tftpy/APKBUILD b/unmaintained/py-tftpy/APKBUILD deleted file mode 100644 index e5f7f0577c..0000000000 --- a/unmaintained/py-tftpy/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=tftpy -pkgver=0.6.0 -pkgrel=0 -pkgdesc="A Pure Python TFTP Protocol Implementation" -url="http://tftpy.sourceforge.net/" -arch="noarch" -license="MIT" -depends="" -depends_dev="" -makedepends="python-dev" -install="" -subpackages="" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="b306d30ef1799f1932540a54cd72f79d tftpy-0.6.0.tar.gz" -sha256sums="d8de06a543989b910e46d2793f96fb9c5cbd7f99ab014982945b58ae60289893 tftpy-0.6.0.tar.gz" -sha512sums="f1d3fa00dbb084d077ef727d5fb7d8510bc80537577f5dec8debb1b6b6563443ba0a180d4dd3371fe966e60f9fbfb1aa9eed3559af12642abf0c8b89efb82ee3 tftpy-0.6.0.tar.gz" diff --git a/unmaintained/py-twisted-conch/APKBUILD b/unmaintained/py-twisted-conch/APKBUILD deleted file mode 100644 index 997c9fa643..0000000000 --- a/unmaintained/py-twisted-conch/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=py-twisted-conch -pkgver=15.1.0 -pkgrel=0 -pkgdesc="SSH and SFTP protocol implementation together with clients and servers" -url="http://twistedmatrix.com/trac/wiki/TwistedConch" -arch="noarch" -license="MIT" -depends="py-twisted py-crypto py-asn1" -makedepends="python-dev" -source="http://twistedmatrix.com/Releases/Conch/${pkgver%.*}/TwistedConch-$pkgver.tar.bz2" - -_builddir="$srcdir"/TwistedConch-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="73c9c432b614655d6dcf5db4c00e632f TwistedConch-15.1.0.tar.bz2" -sha256sums="51dc4d3ab3f13e64a196046e3d722689f87c586f3ebe42e287c2063fdd48bb4c TwistedConch-15.1.0.tar.bz2" -sha512sums="912d9a288fcc6bb3e8babee75325ea7a384e364d227f0629bbb5af8c813cff75dbeb38755d2f0eb5bd5ac243c45c4ed5f1c9e01bf0d693b027adeeef59ebd691 TwistedConch-15.1.0.tar.bz2" diff --git a/unmaintained/py-xattr/APKBUILD b/unmaintained/py-xattr/APKBUILD deleted file mode 100644 index ece10bf523..0000000000 --- a/unmaintained/py-xattr/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-xattr -_pkgname=pyxattr -pkgver=0.5.2 -pkgrel=1 -pkgdesc="A python module for accessing filesystem Extended Attributes" -url="http://pyxattr.k1024.org/" -arch="all" -license="LGPL2+" -depends="" -depends_dev="" -makedepends="python-dev attr-dev py-setuptools" -install="" -subpackages="" -source="http://pyxattr.k1024.org/downloads/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --root="$pkgdir" || return 1 -} - -md5sums="9ff2e4218badc201b689b6d254290001 pyxattr-0.5.2.tar.gz" -sha256sums="19accb3927a833b36b1fb0fddeae45c32b08715cce38b1b106faff22c4ba79d9 pyxattr-0.5.2.tar.gz" -sha512sums="8dfe6583b1bb54c1674ca90ea99ad50d7ad51b858a1f40bfd4a3660fcba71b59540e5957bb601d816e82c9fec91985394f51193e5a2452c4b1b27cb5edf51e2f pyxattr-0.5.2.tar.gz" diff --git a/unmaintained/py-xen/APKBUILD b/unmaintained/py-xen/APKBUILD deleted file mode 100644 index fb58c179fb..0000000000 --- a/unmaintained/py-xen/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=py-xen -pkgver=0.0.3 -pkgrel=0 -pkgdesc="Python binding for Xen management" -url="https://bitbucket.org/tortoiselabs/python-xen" -arch="noarch" -license="ISC" -depends="python xen-libs" -depends_dev="" -makedepends="python-dev" -install="" -subpackages="" -source="http://pypi.python.org/packages/source/P/Python-Xen/Python-Xen-$pkgver.tar.gz" - -_builddir="$srcdir"/Python-Xen-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="75b0689146dfbbe493769f15871bf853 Python-Xen-0.0.3.tar.gz" diff --git a/unmaintained/py-xmpppy/APKBUILD b/unmaintained/py-xmpppy/APKBUILD deleted file mode 100644 index e881e34eb5..0000000000 --- a/unmaintained/py-xmpppy/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=py-xmpppy -_pkgname=xmpppy -pkgver=0.5.0 -_pkgver=0.5.0rc1 -pkgrel=1 -pkgdesc="A Python library to provide easy scripting with Jabber" -url="http://xmpppy.sourceforge.net/" -arch="noarch" -license="GPL2+" -depends="python" -makedepends="py-setuptools python-dev" -install="" -subpackages="" -source="http://downloads.sourceforge.net/sourceforge/xmpppy/$_pkgname-$_pkgver.tar.gz" - -_builddir=$srcdir/$_pkgname-$_pkgver -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="e0d2b3f9e4a278c163431e64adb0c861 xmpppy-0.5.0rc1.tar.gz" -sha256sums="519b025b3c9600c26c5805d0c612fe01e61330d2b9869f05c7c416c627820b9a xmpppy-0.5.0rc1.tar.gz" -sha512sums="7fe91ff313533a419e125bb69163dfb122723e67ca70feab00748b5deafc0c99aa002cbebf0f89b8bc7ce465bb2c775ab98509761af07d90295bc1e9c50eee23 xmpppy-0.5.0rc1.tar.gz" diff --git a/unmaintained/pycairo/APKBUILD b/unmaintained/pycairo/APKBUILD deleted file mode 100644 index 5b16b8d2c8..0000000000 --- a/unmaintained/pycairo/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Alan Lacerda -# Maintainer: -pkgname=pycairo -pkgver=1.10.0 -pkgrel=0 -pkgdesc="A set of Python bindings for the cairo graphics library" -url="http://cairographics.org/pycairo/" -arch="all" -license="MPL" -depends="" -depends_dev="" -makedepends="$depends_dev python-dev cairo-dev" -install="" -subpackages="$pkgname-dev" -source="http://cairographics.org/releases/py2cairo-$pkgver.tar.bz2" - -_builddir="$srcdir/py2cairo-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./waf configure --prefix=/usr || return 1 - ./waf build || return 1 -} - -package() { - cd "$_builddir" - DESTDIR="${pkgdir}" ./waf install || return 1 -} - -md5sums="20337132c4ab06c1146ad384d55372c5 py2cairo-1.10.0.tar.bz2" -sha256sums="d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431 py2cairo-1.10.0.tar.bz2" -sha512sums="cb3d54de9af4134460ce731da8166a3127a642c8a2e6184109437ddec115cd55b8dd2413a5c81700277bfe2f22fcfe268db4f3ba0f7649751e85bb34295f79fc py2cairo-1.10.0.tar.bz2" diff --git a/unmaintained/pychecker/APKBUILD b/unmaintained/pychecker/APKBUILD deleted file mode 100644 index 95cb1620a0..0000000000 --- a/unmaintained/pychecker/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=pychecker -pkgver=0.8.19 -pkgrel=0 -pkgdesc="A analyser for python source code" -url="http://pychecker.sourceforge.net/" -arch="noarch" -license="BSD" -depends="python" -depends_dev="" -makedepends="python-dev" -install="" -subpackages="" -source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="c37182863dfb09209d6ba4f38fce9d2b pychecker-0.8.19.tar.gz" diff --git a/unmaintained/pysysbot/APKBUILD b/unmaintained/pysysbot/APKBUILD deleted file mode 100644 index a07c3c0387..0000000000 --- a/unmaintained/pysysbot/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=pysysbot -pkgver=0.1.3 -pkgrel=0 -pkgdesc="A Python based system jabber bot" -url="http://affolter-engineering.ch/pysysbot/" -arch="noarch" -license="BSD" -depends="python" -depends_dev="" -makedepends="python-dev py-psutil py-jabberbot py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="79a52a23cd8cfbb0333a8ed54f094482 pysysbot-0.1.3.tar.gz" -sha256sums="565f3475dc52968aefdd54605c122dcd3e35a5739894fa1181418f923b947a43 pysysbot-0.1.3.tar.gz" -sha512sums="ae6ecd1775747be578874603fcd7305ad0d6599858d1f9beb069a2fb874bba33483f9aefa9f6a090714469fbb29ab327c76b8f77c35f05ebef9618a44befea6e pysysbot-0.1.3.tar.gz" diff --git a/unmaintained/pyx/APKBUILD b/unmaintained/pyx/APKBUILD deleted file mode 100644 index cbbbf8e3d4..0000000000 --- a/unmaintained/pyx/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=pyx -_pkgname=PyX -pkgver=0.12 -pkgrel=0 -pkgdesc="Python graphics package" -url="http://pyx.sourceforge.net/" -arch="noarch" -license="GPL2" -depends="python" -depends_dev="" -makedepends="$depends_dev python-dev" -install="" -subpackages="" -source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="ce5fbaf4edf8125e0cf4de24d88d784f PyX-0.12.tar.gz" -sha256sums="859285bc2bd51739b7eb72ecf4f7bc81355b28dcbf81e887d8cbf295526a05f2 PyX-0.12.tar.gz" -sha512sums="8e6d1bcc898a1b33e290ca8feb8084fb34b1bff17694ad469951533133b44b8f51912747bc034c74392d7903b3acc34afe2e35b2d34fe224e634db22447c4614 PyX-0.12.tar.gz" diff --git a/unmaintained/qimageblitz/APKBUILD b/unmaintained/qimageblitz/APKBUILD deleted file mode 100644 index 208748c9e9..0000000000 --- a/unmaintained/qimageblitz/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=qimageblitz -pkgver=0.0.6 -pkgrel=0 -pkgdesc="qt image processing library" -url="http://www.kde.org" -arch="all" -license="LGPL" -depends="" -depends_dev="qt-dev" -makedepends="$depends_dev cmake automoc4" -install="" -subpackages="$pkgname-dev" -source="ftp://ftp.kde.org/pub/kde/stable/${pkgname}/${pkgname}-${pkgver}.tar.bz2" - -_builddir="$srcdir"/${pkgname}-${pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir -p "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=TRUE \ - -Wno-dev "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="0ae2f7d4e0876764a97ca73799f61df4 qimageblitz-0.0.6.tar.bz2" -sha256sums="9f102269dec50641440e23a449df215a0db9efef9a3969939d618c5e78a5010f qimageblitz-0.0.6.tar.bz2" -sha512sums="dbd506c01622824efdec69640eb95e737d7848fa15d33351084a6499ca2321d7bc08e080d1e443f8ab9015cd2967c10d9b5aa2f3c6eaa7558153821c46133af9 qimageblitz-0.0.6.tar.bz2" diff --git a/unmaintained/ranger/APKBUILD b/unmaintained/ranger/APKBUILD deleted file mode 100644 index de44507f9c..0000000000 --- a/unmaintained/ranger/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Bartłomiej Piotrowski -# Maintainer: - -pkgname=ranger -pkgver=1.7.2 -pkgrel=0 -pkgdesc='A simple, vim-like file manager' -url='http://ranger.nongnu.org' -arch='noarch' -license='GPL' -depends='python' -subpackages="$pkgname-doc" -source="http://ranger.nongnu.org/${pkgname}-${pkgver}.tar.gz" - -build() { - return 0 -} - -package() { - cd "$srcdir"/$pkgname-$pkgver - python setup.py -q install --root="${pkgdir}" --optimize=1 || return 1 -} - -md5sums="cc436fe2035a024755a1cad255bffaaf ranger-1.7.2.tar.gz" -sha256sums="94f6e342daee4445f15db5a7440a11138487c49cc25da0c473bbf1b8978f5b79 ranger-1.7.2.tar.gz" -sha512sums="4815831bceb76bf15a68cdb09d3276192095b211ba06f0abeeec9529b0cb054341666c607f11b2c0acd1ff7de6fa3b71c9aab59db6bd5d1f0137e07619b522bd ranger-1.7.2.tar.gz" diff --git a/unmaintained/raptor/APKBUILD b/unmaintained/raptor/APKBUILD deleted file mode 100644 index fe3cd52c70..0000000000 --- a/unmaintained/raptor/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: Natanael Copa -pkgname=raptor -pkgver=1.4.21 -pkgrel=1 -pkgdesc="RDF parsing/storage backend" -url="http://www.librdf.org/" -arch="all" -license="GPL" -depends= -depends_dev="curl-dev libxml2-dev libxslt-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://download.librdf.org/source/raptor-$pkgver.tar.gz - raptor-curl.patch" - -_builddir="$srcdir"/raptor-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="992061488af7a9e2d933df6b694bb876 raptor-1.4.21.tar.gz -ab48372dcd90a599fb0da73a10830d79 raptor-curl.patch" diff --git a/unmaintained/raptor/raptor-curl.patch b/unmaintained/raptor/raptor-curl.patch deleted file mode 100644 index e47a496c4c..0000000000 --- a/unmaintained/raptor/raptor-curl.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/raptor_internal.h b/src/raptor_internal.h -index f7944db..d9c2068 100644 ---- a/src/raptor_internal.h -+++ b/src/raptor_internal.h -@@ -852,7 +852,6 @@ int raptor_utf8_is_nfc(const unsigned char *input, size_t length); - - #ifdef RAPTOR_WWW_LIBCURL - #include --#include - #include - #endif - diff --git a/unmaintained/rats/APKBUILD b/unmaintained/rats/APKBUILD deleted file mode 100644 index ff43ff2502..0000000000 --- a/unmaintained/rats/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=rats -pkgver=2.3 -pkgrel=0 -pkgdesc="A tool to find security related programming errors" -url="https://www.fortify.com/ssa-elements/threat-intelligence/rats.html" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="expat-dev wget flex" -install="" -subpackages="$pkgname-doc" -source="https://www.fortify.com/downloads2/public/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --datadir=/usr/share/ \ - --mandir=/usr/share/man - make || return 1 -} - -package() { - cd "$_builddir" - ##make DESTDIR="$pkgdir" install || return 1 - install -Dpm 0755 "$pkgname" "$pkgdir"/usr/bin/$pkgname || return 1 - mkdir -p "$pkgdir"/usr/share/$pkgname || return 1 - install -Dm 0644 *.xml "$pkgdir"/usr/share/$pkgname/ || return 1 -} - -doc() { - # The man page is not picked-up automatically - mkdir -p "$subpkgdir"/usr/share/man/man1 || return 1 - mv "$_builddir"/*.1 "$subpkgdir"/usr/share/man/man1/ || return 1 -} - -md5sums="339ebe60fc61789808a457f6f967d226 rats-2.3.tar.gz" diff --git a/unmaintained/rc/APKBUILD b/unmaintained/rc/APKBUILD deleted file mode 100644 index da1a293262..0000000000 --- a/unmaintained/rc/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Sören Tempel -# Maintainer: Sören Tempel -pkgname=rc -pkgver=1.7.4 -pkgrel=0 -pkgdesc="An alternative implementation of the plan 9 rc shell" -url="http://tobold.org/article/rc" -arch="all" -license="custom" -depends="" -depends_dev="" -makedepends="readline-dev ncurses-dev" -install="$pkgname.post-install $pkgname.pre-deinstall" -subpackages="$pkgname-doc" -source="http://static.tobold.org/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --bindir=/bin \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --with-edit=gnu \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - - mkdir -p "$pkgdir"/usr/share/licenses/$pkgname - install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/ || return 1 -} - -md5sums="f99732d7a8be3f15f81e99c3af46dc95 rc-1.7.4.tar.gz" -sha256sums="5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8 rc-1.7.4.tar.gz" -sha512sums="49e124207b5370b88b8fba0376dda33451451a58bfb85fabfc06ae59eb88fedf38d7aeaaf292e4f380e2c00efc8301ba68d12180923186d1c53ef94f78f7e435 rc-1.7.4.tar.gz" diff --git a/unmaintained/rc/rc.post-install b/unmaintained/rc/rc.post-install deleted file mode 100644 index 4cf16eca8d..0000000000 --- a/unmaintained/rc/rc.post-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -add-shell '/bin/rc' -exit 0 diff --git a/unmaintained/rc/rc.pre-deinstall b/unmaintained/rc/rc.pre-deinstall deleted file mode 100644 index 83a26d6253..0000000000 --- a/unmaintained/rc/rc.pre-deinstall +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -remove-shell '/bin/rc' -exit 0 diff --git a/unmaintained/redmine/APKBUILD b/unmaintained/redmine/APKBUILD deleted file mode 100644 index cc9f10c6f3..0000000000 --- a/unmaintained/redmine/APKBUILD +++ /dev/null @@ -1,115 +0,0 @@ -# Contributor: Markus M. May -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_railsver=4.2 -pkgname=redmine -pkgver=3.2.1 -pkgrel=2 -pkgdesc="Project management web application written in Ruby" -url="http://redmine.org" -arch="noarch" -license="GPL2" -# ruby-io-console is part of ruby std package but splitted -# seems bundler does not detect its missing -depends="ruby - ruby-actionpack-action_caching${_railsver} - ruby-actionpack-xml_parser${_railsver} - ruby-bigdecimal - ruby-coderay - ruby-fastercsv - ruby-i18n - ruby-jquery-rails${_railsver} - ruby-json - ruby-mocha - ruby-net-ldap - ruby-openid<2.4 - ruby-rack - ruby-rack-openid - ruby-rails${_railsver} - ruby-rbpdf - ruby-rdoc - ruby-redcarpet - ruby-request_store - ruby-rmagick - ruby-protected_attributes${_railsver} - ruby-roadie-rails - - ruby-io-console - " -depends_dev=ruby-io-console -makedepends="$depends_dev" -install="$pkgname.pre-install $pkgname.post-install" -subpackages="" -pkgusers="$pkgname" -pkggroups="$pkgname www-data" -source="http://www.redmine.org/releases/redmine-$pkgver.tar.gz - gemfile.patch - database.yml.patch - " -_webapps="usr/share/webapps" - -_builddir="$srcdir"/redmine-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - # verify that all deps are installed - if ! bundler check; then - bundler list - return 1 - fi -} - -package() { - cd "$_builddir" - # create dirs - mkdir -p "$pkgdir/$_webapps/$pkgname" "$pkgdir"/etc/redmine \ - || return 1 - install -o redmine -g www-data -m775 -d \ - "$pkgdir"/var/lib/redmine "$pkgdir"/var/log/redmine \ - || return 1 - - # move config files - for i in database.yml.example configuration.yml.example \ - additional_environment.rb.example routes.rb; do - mv config/${i} "$pkgdir"/etc/redmine/${i%.example} || return 1 - ln -s /etc/redmine/${i%.example} config/${i%.example} \ - || return 1 - done - - # writeable data dirs - for i in db files tmp public/plugin_assets; do - chown redmine:www-data $i || return 1 - chmod 775 $i || return 1 - mv $i "$pkgdir"/var/lib/redmine/ || return 1 - ln -s /var/lib/redmine/${i#*/} $i || return 1 - done - chown redmine Gemfile.lock || return 1 - - # the secret token is generated by post-install - ln -s /var/lib/redmine/secret_token.rb config/initializers/ - - # log dir - rm -r log && ln -s /var/log/redmine log || return 1 - - mv * "$pkgdir/$_webapps/$pkgname" || return 1 -} - -md5sums="425aa0c56b66bf48c878798a9f7c6546 redmine-3.2.1.tar.gz -a80146b41b912f248140e616154073f6 gemfile.patch -d834bef9b5f01484f1e0ee82676f4109 database.yml.patch" -sha256sums="5e69ad50eef27b581e58ea0d72f2dcb19f38db3626e3bd6ed27b74d5a4da5bd6 redmine-3.2.1.tar.gz -d9d94fcb696aed05b308114c0b053f878918e3d2dbd12e5ee0b46c041bd18bcd gemfile.patch -28b1ec099ae87c43d00d7e997edabaece01d6fc2e67b46c50735e9a1bb72f130 database.yml.patch" -sha512sums="20bc63f82aa58a67c10733338e7aebae3348689531f1f0a6dbedb00301f128ef6a29bd6a33d3075b614e01b23f5311a9739b251fb911298e54d4df06df628bf3 redmine-3.2.1.tar.gz -9f3be9039f9c576b56d77e3e3f477fe16fdd5d0f8b8b1bb3722cad1aff669f2ee65c308d27ec8c25300b4a3991b65fcf9d4d127abd0542477f1dd8f5af82d7ee gemfile.patch -1b5880979f050a71d726c844369cc5340a8d4aa0b59b2301e1d32dea28f70ca2a85e619c8b845c37de08772154eef13fa63716c1beaaa50d97b80fd65c297bf9 database.yml.patch" diff --git a/unmaintained/redmine/database.yml.patch b/unmaintained/redmine/database.yml.patch deleted file mode 100644 index 400c4be7b6..0000000000 --- a/unmaintained/redmine/database.yml.patch +++ /dev/null @@ -1,70 +0,0 @@ ---- ./config/database.yml.example.orig -+++ ./config/database.yml.example -@@ -2,32 +2,32 @@ - # Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end. - # Line indentation must be 2 spaces (no tabs). - --production: -- adapter: mysql2 -- database: redmine -- host: localhost -- username: root -- password: "" -- encoding: utf8 -+#production: -+# adapter: mysql2 -+# database: redmine -+# host: localhost -+# username: root -+# password: "" -+# encoding: utf8 -+# -+#development: -+# adapter: mysql2 -+# database: redmine_development -+# host: localhost -+# username: root -+# password: "" -+# encoding: utf8 - --development: -- adapter: mysql2 -- database: redmine_development -- host: localhost -- username: root -- password: "" -- encoding: utf8 -- - # Warning: The database defined as "test" will be erased and - # re-generated from your development database when you run "rake". - # Do not set this db to the same as development or production. --test: -- adapter: mysql2 -- database: redmine_test -- host: localhost -- username: root -- password: "" -- encoding: utf8 -+#test: -+# adapter: mysql2 -+# database: redmine_test -+# host: localhost -+# username: root -+# password: "" -+# encoding: utf8 - - # PostgreSQL configuration example - #production: -@@ -38,9 +38,9 @@ - # password: "postgres" - - # SQLite3 configuration example --#production: --# adapter: sqlite3 --# database: db/redmine.sqlite3 -+production: -+ adapter: sqlite3 -+ database: /var/lib/redmine/db.sqlite3 - - # SQL Server configuration example - #production: diff --git a/unmaintained/redmine/gemfile.patch b/unmaintained/redmine/gemfile.patch deleted file mode 100644 index ed86389c1c..0000000000 --- a/unmaintained/redmine/gemfile.patch +++ /dev/null @@ -1,37 +0,0 @@ - ---- ./Gemfile.orig -+++ ./Gemfile -@@ -8,7 +8,7 @@ - gem "jquery-rails", "~> 3.1.3" - gem "coderay", "~> 1.1.0" - gem "builder", ">= 3.0.4" --gem "request_store", "1.0.5" -+gem "request_store", "~>1.0.5" - gem "mime-types" - gem "protected_attributes" - gem "actionpack-action_caching" -@@ -86,17 +86,17 @@ - - group :development do - gem "rdoc", ">= 2.4.2" -- gem "yard" -+# gem "yard" - end - - group :test do -- gem "minitest" -- gem "rails-dom-testing" -- gem "mocha" -- gem "simplecov", "~> 0.9.1", :require => false -+# gem "minitest" -+# gem "rails-dom-testing" -+# gem "mocha" -+# gem "simplecov", "~> 0.9.1", :require => false - # For running UI tests -- gem "capybara" -- gem "selenium-webdriver" -+# gem "capybara" -+# gem "selenium-webdriver" - end - - local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") diff --git a/unmaintained/redmine/redmine.post-install b/unmaintained/redmine/redmine.post-install deleted file mode 100644 index f68632c78e..0000000000 --- a/unmaintained/redmine/redmine.post-install +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -tokenfile=/var/lib/redmine/secret_token.rb -if [ -e $tokenfile ]; then - exit 0 -fi - -if [ -e /dev/urandom ] && [ -x /usr/bin/hexdump ]; then - token=$(/usr/bin/hexdump -n 32 -v -e '/1 "%02x"' /dev/urandom) -else - token=$(for i in $(seq 0 31); do echo $RANDOM; done | sha1sum | awk '{print $1}') -fi - -umask 027 -cat >$tokenfile</dev/null -adduser -S -D -H -h /usr/share/webapps/redmine -s /bin/sh -g redmine redmine 2>/dev/null -addgroup redmine www-data 2>/dev/null - -exit 0 diff --git a/unmaintained/regina-rexx/APKBUILD b/unmaintained/regina-rexx/APKBUILD deleted file mode 100644 index 4dea475167..0000000000 --- a/unmaintained/regina-rexx/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: -# Maintainer: -pkgname=regina-rexx -_pkgname=Regina-REXX -pkgver=3.7 -pkgrel=0 -pkgdesc="Regina is an implementation of a Rexx interpreter." -url="http://regina-rexx.sourceforge.net/" -arch="" -license="LGPL" -depends= -depends_dev= -makedepends="" -install="" -subpackages="$pkgname-doc" -source="regina-rexx.initd - http://downloads.sourceforge.net/regina-rexx/$_pkgname-$pkgver.tar.gz - " - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --libdir=/usr/lib \ - || return 1 - make -j1 || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 - rm -rf "$pkgdir"/usr/etc - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 -} - -md5sums="d798859c38eb61088f1ca20b16e78639 regina-rexx.initd -276235e489f7f8596cb9c6e00f8a61f3 Regina-REXX-3.7.tar.gz" -sha256sums="cad62b61b57b109d619467302e72092ebb83ede166aa9e60adafded791bd3eb3 regina-rexx.initd -133c9e0fd9e09f9adfc4108f43b727e191e4c4c01711cfa26416799d21d1e7fe Regina-REXX-3.7.tar.gz" -sha512sums="1d4955ab4d1d5ef46fffecf2e3ebddf889d2108683bc41d2eb04c988ec416c48ae061d349705fc7018a22ff23a92fe1be7328a68f2145292a4d511bfa82b7b70 regina-rexx.initd -5ae88611baa43fbc3325cb814c9cb4cedc454f36c1f9a18cdf82c755bb75531ab9bd5d0088f340808790959feac691e4bf72c69b33f1fe554e9d26eb880dfc4a Regina-REXX-3.7.tar.gz" diff --git a/unmaintained/regina-rexx/llong.patch b/unmaintained/regina-rexx/llong.patch deleted file mode 100644 index 37c3cef3dd..0000000000 --- a/unmaintained/regina-rexx/llong.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- Regina-REXX-3.7.orig/gci/gci_convert.linux.i86 -+++ Regina-REXX-3.7/gci/gci_convert.linux.i86 -@@ -43,8 +43,8 @@ - #define GCI_I_4m INT_MIN - #define GCI_I_4M INT_MAX - #define GCI_I_8 signed long long --#define GCI_I_8m LONG_LONG_MIN --#define GCI_I_8M LONG_LONG_MAX -+#define GCI_I_8m LLONG_MIN -+#define GCI_I_8M LLONG_MAX - - #define GCI_Ur strtoull - #define GCI_Uw(s,v) sprintf( s, "%Lu", v ) -@@ -55,7 +55,7 @@ - #define GCI_U_4 unsigned - #define GCI_U_4M UINT_MAX - #define GCI_U_8 unsigned long long --#define GCI_U_8M ULONG_LONG_MAX -+#define GCI_U_8M ULLONG_MAX - - #define GCI_Fr strtold - #define GCI_Fw(s,v) sprintf( s, "%.*LE", LDBL_MANT_DIG/3, v ) diff --git a/unmaintained/regina-rexx/regina-rexx.initd b/unmaintained/regina-rexx/regina-rexx.initd deleted file mode 100644 index a3e1847805..0000000000 --- a/unmaintained/regina-rexx/regina-rexx.initd +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/runscript - -# Sample init.d file for alpine linux. - -name=rxstack -daemon=/usr/bin/$name - -depend() { - need net - after firewall -} - -start() { - ebegin "Starting ${name}" - start-stop-daemon --start --quiet \ - --pidfile /var/run/${name}.pid \ - --exec ${daemon} -- -d - eend $? -} - -stop() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet \ - --pidfile /var/run/$name.pid \ - --exec ${daemon} - eend $? -} - diff --git a/unmaintained/resource-agents/APKBUILD b/unmaintained/resource-agents/APKBUILD deleted file mode 100644 index 7d6c90a462..0000000000 --- a/unmaintained/resource-agents/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=resource-agents -pkgver=3.9.5 -pkgrel=0 -pkgdesc="Open Source HA Reusable Cluster Resource Scripts" -url="http://www.linux-ha.org/wiki/Resource_Agents" -arch="all" -license="GPL2" -depends="" -depends_dev="cluster-glue-dev libxslt-dev libnet-dev" -makedepends="$depends_dev automake autoconf perl docbook-xsl wget bash" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/ClusterLabs/resource-agents/tarball/v$pkgver - fix-bashism.patch - " - -_builddir="$srcdir"/ClusterLabs-resource-agents-ac806fd -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed -i 's/export -n/export/g' configure.ac || return 1 - aclocal && autoheader && autoconf && automake --add-missing \ - || return 1 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --enable-fatal-warnings=no \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install_sh=install install || return 1 -} - -md5sums="86ec112decf29906afb755016990f56f resource-agents-3.9.5.tar.gz -b609cdaa30571a1e637a55b42abe5af8 fix-bashism.patch" -sha256sums="e893812a2f5e179d129badb001b2d25364e65a7dd9e97903e1f911bb6eb99d91 resource-agents-3.9.5.tar.gz -b5d19d9268121d25f0a96b1e63c04c4aa3cab958bffe0906ddbb2ef0d05164af fix-bashism.patch" -sha512sums="d7d0926d64ca93f8735522d4e4a068ae680e77dbfc5a326042fc5b1d7775ec3bde712958a260c264d688e739793b87495c6cb6adf94a16e427edbe4c52393589 resource-agents-3.9.5.tar.gz -25949952f66f78af05179ac7c3ab5d2666600d0b26931c8579447b0c1a47463de5f39e31914df2a3971a7d60ebddcefcbe133f76411dac523fbc5a67ff2da3b9 fix-bashism.patch" diff --git a/unmaintained/resource-agents/fix-bashism.patch b/unmaintained/resource-agents/fix-bashism.patch deleted file mode 100644 index ca63c2d1a3..0000000000 --- a/unmaintained/resource-agents/fix-bashism.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- ./heartbeat/ocf-shellfuncs.in.orig -+++ ./heartbeat/ocf-shellfuncs.in -@@ -691,8 +691,7 @@ - # OCF_TRACE_FILE is set to a path. - # - ocf_is_bash4() { -- echo "$SHELL" | grep bash > /dev/null && -- [ ${BASH_VERSINFO[0]} = "4" ] -+ [ "${BASH_VERSION%%.*}" = "4" ] - } - ocf_trace_redirect_to_file() { - local dest=$1 diff --git a/unmaintained/rinse/APKBUILD b/unmaintained/rinse/APKBUILD deleted file mode 100644 index e8936e4d04..0000000000 --- a/unmaintained/rinse/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=rinse -pkgver=2.0.1 -pkgrel=1 -pkgdesc="A RPM chroot bootstrapping tool" -url="http://www.steve.org.uk/Software/rinse/" -arch="noarch" -license="Artistic" -depends="rpm perl wget perl-libwww" -depends_dev="" -makedepends="$depends_dev gzip coreutils" -install="" -subpackages="$pkgname-doc" -source="http://www.steve.org.uk/Software/rinse/rinse-$pkgver.tar.gz - rinse-posix-cpio-use.patch - rinse-device-nodes.patch - rinse-set-rpm-platform.patch" - -_builddir="$srcdir"/rinse-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" -} - -package() { - cd "$_builddir" - make PREFIX="$pkgdir" install || return 1 -} - -md5sums="1221942846f4caa6e621cfc85f759841 rinse-2.0.1.tar.gz -6761f834b3f50bded544021ccb90c700 rinse-posix-cpio-use.patch -6a6092323c1973832f5c050d37265d99 rinse-device-nodes.patch -e292f3192df193924f86ef1f20bee745 rinse-set-rpm-platform.patch" -sha256sums="74b1149cb6f12c1bd51e371e5decf4820489535afa9b93900780817cbae7f96b rinse-2.0.1.tar.gz -f869904261add72b2e6a50f910fc79fae44b68df617c8d0d1e1e02d99c77e165 rinse-posix-cpio-use.patch -dfb972611d74889902d1f25edf6bd172aaa8ef62c352a5e966c2892c568171e8 rinse-device-nodes.patch -e6d789e0fc67658eac0b1c11ae32e5407aaf2eb09fa479b5e42f94a28526f8df rinse-set-rpm-platform.patch" -sha512sums="4d6284dfd5bdaac1c2578222203c5dd1bfcd325b756583238c45a064da2345ed75615461464845d721026d3ee1b2bab55f138c9fd5d911f7b41a4e7af5ab9cd8 rinse-2.0.1.tar.gz -a8ff20b382fa05bf921d1a99fcf7f1e147a63ff7b2c1d04c312ac9d1148d8acb07c56a016176f081a6c2c6797d31a5bd3607b1d891517888931c42bde9a58465 rinse-posix-cpio-use.patch -9bca1bbbe11453d80f06d330af5695a874240a274ea671f30fd3383f2a88e5e0c73a167aa4ac10f3fde6f9df0cda5678ef436de3ed111a16b008128aafb2a196 rinse-device-nodes.patch -4e50dafbdd39d1f057a459173e0eac355c0ed592e9d7741a479610915b65ae2e2872ede776fbaca332a8aec20ef94c70ca3b77639670827647634fe276d8731a rinse-set-rpm-platform.patch" diff --git a/unmaintained/rinse/rinse-device-nodes.patch b/unmaintained/rinse/rinse-device-nodes.patch deleted file mode 100644 index a4300f1818..0000000000 --- a/unmaintained/rinse/rinse-device-nodes.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- rinse-2.0.orig/scripts.common/20-dev-zero.sh -+++ rinse-2.0/scripts.common/20-dev-zero.sh -@@ -34,4 +34,16 @@ - if [ ! -e "${prefix}/dev/zero" ]; then - mknod -m 666 "${prefix}/dev/zero" c 1 5 - fi -+if [ ! -e "${prefix}/dev/urandom" ]; then -+ mknod -m 666 "${prefix}/dev/urandom" c 1 9 -+fi -+if [ ! -e "${prefix}/dev/random" ]; then -+ mknod -m 666 "${prefix}/dev/random" c 1 8 -+fi -+if [ ! -e "${prefix}/dev/null" ]; then -+ mknod -m 666 "${prefix}/dev/null" c 1 3 -+fi -+if [ ! -e "${prefix}/dev/console" ]; then -+ mknod -m 666 "${prefix}/dev/console" c 5 1 -+fi - diff --git a/unmaintained/rinse/rinse-posix-cpio-use.patch b/unmaintained/rinse/rinse-posix-cpio-use.patch deleted file mode 100644 index 429410f981..0000000000 --- a/unmaintained/rinse/rinse-posix-cpio-use.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- rinse-2.0.orig/bin/rinse -+++ rinse-2.0/bin/rinse -@@ -1144,7 +1144,7 @@ - # Run the unpacking command. - # - my $cmd = -- "rpm2cpio $file | (cd $CONFIG{'directory'} ; cpio --extract --make-directories --no-absolute-filenames --preserve-modification-time) 2>/dev/null >/dev/null"; -+ "rpm2cpio $file | (cd $CONFIG{'directory'} ; cpio -idm) 2>/dev/null >/dev/null"; - if ( $file =~ /(fedora|centos|redhat|mandriva)-release-/ ) - { - my $rpmname = basename($file); diff --git a/unmaintained/rinse/rinse-set-rpm-platform.patch b/unmaintained/rinse/rinse-set-rpm-platform.patch deleted file mode 100644 index a5eae642b8..0000000000 --- a/unmaintained/rinse/rinse-set-rpm-platform.patch +++ /dev/null @@ -1,100 +0,0 @@ ---- rinse-2.0.1.orig/scripts/centos-5/post-install.sh -+++ rinse-2.0.1/scripts/centos-5/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ]; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - ---- rinse-2.0.1.orig/scripts/centos-6/post-install.sh -+++ rinse-2.0.1/scripts/centos-6/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ]; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - ---- rinse-2.0.1.orig/scripts/rhel-5/post-install.sh -+++ rinse-2.0.1/scripts/rhel-5/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ] ; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - ---- rinse-2.0.1.orig/scripts/slc-5/post-install.sh -+++ rinse-2.0.1/scripts/slc-5/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ] ; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - ---- rinse-2.0.1.orig/scripts/slc-6/post-install.sh -+++ rinse-2.0.1/scripts/slc-6/post-install.sh -@@ -10,6 +10,17 @@ - exit - fi - -+# specify platform -+echo " post-install.sh : arch is ${ARCH}" -+if [ "${ARCH}" = "amd64" -o "${ARCH}" = "x86_64" ] ; then -+ arch=x86_64 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+if [ "${ARCH}" = "i386" ]; then -+ arch=i686 -+ echo $arch-redhat-linux > ${prefix}/etc/rpm/platform -+fi -+ - # rpm's can now be removed - rm -f ${prefix}/*.rpm - diff --git a/unmaintained/rlwrap/APKBUILD b/unmaintained/rlwrap/APKBUILD deleted file mode 100644 index afe628860c..0000000000 --- a/unmaintained/rlwrap/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Andrew Manison -# Maintainer: -pkgname=rlwrap -pkgver=0.37 -pkgrel=0 -pkgdesc="GNU Readline wrapper" -url="http://utopia.knoware.nl/~hlub/rlwrap/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="readline-dev ncurses-dev" -install="" -subpackages="$pkgname-doc" -source="http://utopia.knoware.nl/~hlub/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="04cd6e2c257eb5a86b297f2ebf91dbbf rlwrap-0.37.tar.gz" diff --git a/unmaintained/rosegarden/APKBUILD b/unmaintained/rosegarden/APKBUILD deleted file mode 100644 index 8f0724b26c..0000000000 --- a/unmaintained/rosegarden/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=rosegarden -pkgver=15.10 -pkgrel=0 -pkgdesc="MIDI, audio and notation editor" -url="http://www.rosegardenmusic.com/" -arch="all" -license="GPLv2+" -depends="" -depends_dev="" -makedepends="alsa-lib-dev qt-dev libsamplerate-dev libsndfile-dev ladspa-dev - jack-dev liblo-dev dssi-dev liblrdf-dev fftw-dev makedepend" -install="" -subpackages="" -source="http://downloads.sourceforge.net/project/rosegarden/rosegarden/$pkgver/rosegarden-$pkgver.tar.bz2 - nearbyintf.patch" - -_builddir="$srcdir"/rosegarden-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="6423f90ae392ff3673578ddc10020efd rosegarden-15.10.tar.bz2 -622bfa38a28010bbffcaa2a64c8ade92 nearbyintf.patch" -sha256sums="d07984eaff16afbb5bd1dbf09b185b568fe8b193dd27c4efdf82e32e02f89f0b rosegarden-15.10.tar.bz2 -d27e66d5378b5b73cbbc706f13d083aa5dbbbaa217591f426016dffbd04fb117 nearbyintf.patch" -sha512sums="f9935960e58c2518aeed7d15b7af4dbc1aaa0e94b73ade3609de47ce116538e8b6dc28d3f565acfbfe014e37012435f1e92ad19574203fe3e6bf0e68019e3dfd rosegarden-15.10.tar.bz2 -7e60c1a560be21bcb1cb08503237a54564bceb372abd7984c9c7f6a8e5b87cb449f3e296a9f7d99a51db64daabd6fd24a6267a3d82bc9f8920345ab52a432630 nearbyintf.patch" diff --git a/unmaintained/rosegarden/nearbyintf.patch b/unmaintained/rosegarden/nearbyintf.patch deleted file mode 100644 index d8d2a706e2..0000000000 --- a/unmaintained/rosegarden/nearbyintf.patch +++ /dev/null @@ -1,13 +0,0 @@ -uclibc does not have nearbyintf - ---- ./src/gui/widgets/Fader.cpp.orig -+++ ./src/gui/widgets/Fader.cpp -@@ -222,7 +222,7 @@ - if (m_integral) { - float sliderLength = float(m_sliderMax) - float(m_sliderMin); - position = -- int(nearbyintf(sliderLength * (value - float(m_min)) / float(m_max - m_min) + 0.1)); -+ int(nearbyint(sliderLength * (value - float(m_min)) / float(m_max - m_min) + 0.1)); - } else { - position = - AudioLevel::dB_to_fader diff --git a/unmaintained/roundup/APKBUILD b/unmaintained/roundup/APKBUILD deleted file mode 100644 index 9bbb13c82c..0000000000 --- a/unmaintained/roundup/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Maintainer: Christian Kampka -pkgname=roundup -pkgver=0.0.6 -pkgrel=1 -pkgdesc="A a unit testing tool for running roundup(5) test plans which are -written in any POSIX shell." -url=https://github.com/bmizerany/roundup/ -arch="all" -license="MIT" -depends= -makedepends="ncurses" -source="$pkgname-$pkgver.tar.gz::https://github.com/bmizerany/$pkgname/archive/v$pkgver.tar.gz - $pkgname-fix-busybox-shell-opts.patch - $pkgname-avoid-bash-syntax-in-tests.patch - " - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - #patches - cd "$_builddir" - for i in $source; do - local p=${i##*/} - case $i in - *.patch) msg $p; patch -p1 -i "$srcdir"/$p || return 1;; - esac - done -} - -build() { - cd $_builddir - /bin/sh roundup.sh roundup-1-test.sh -} - -package() { - install -Dm755 $_builddir/roundup.sh $pkgdir/usr/bin/$pkgname -} - -md5sums="607023b4fe4e42fdc2f0cb14b4138b2e roundup-0.0.6.tar.gz -a7d12efbf88919a1e2fc9b7ed143fd9c roundup-fix-busybox-shell-opts.patch -dddd5610d03f2c1237c295c564c291c4 roundup-avoid-bash-syntax-in-tests.patch" -sha256sums="20741043ed5be7cbc54b1e9a7c7de122a0dacced77052e90e4ff08e41736f01c roundup-0.0.6.tar.gz -31e00fc54fa806aaa1a3199dd13b596b36e8f57685c7524db125bf87a949845b roundup-fix-busybox-shell-opts.patch -e8829b4459a5e3d65949e564cf69e307e7b6fe11758d9becc9426a164bb4a812 roundup-avoid-bash-syntax-in-tests.patch" -sha512sums="a7a249d16467bd3835d555288ec6c3d84a36f2f7f2ae5da90e7624bc76a7741788499fd635d3001c086923914870392c23d765ca07ab7c97e58b9deec9989827 roundup-0.0.6.tar.gz -13cf848227958e83fabf6cde96e1ac347199ad107d6a5daa07e23a976cc8613a0368447295afb310a817c8d6aeb52b96d12d58984a929114decc2c16098ddd7c roundup-fix-busybox-shell-opts.patch -526cca7805fb55de24df79482e3daa2253fc26db2db662229894b8ad56e79a8a45ad716e0c0241765455bda0a4c45344a9ea7c001860d3f8ca41f0c00e3954f9 roundup-avoid-bash-syntax-in-tests.patch" diff --git a/unmaintained/roundup/roundup-avoid-bash-syntax-in-tests.patch b/unmaintained/roundup/roundup-avoid-bash-syntax-in-tests.patch deleted file mode 100644 index ecd2f076ea..0000000000 --- a/unmaintained/roundup/roundup-avoid-bash-syntax-in-tests.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/roundup-5-test.sh b/roundup-5-test.sh -index 250a586..8e8739a 100644 ---- a/roundup-5-test.sh -+++ b/roundup-5-test.sh -@@ -87,10 +87,10 @@ it_runs_after_if_a_test_fails_part_2() { - - # Output the correct return code of a failing command of a testcase. - it_outputs_the_return_code_7() { -- function f() { return 42; } -+ f() { return 42; } - x=$(echo asdf) - -- function g() { return 7; } -+ g() { return 7; } - g - } - diff --git a/unmaintained/roundup/roundup-fix-busybox-shell-opts.patch b/unmaintained/roundup/roundup-fix-busybox-shell-opts.patch deleted file mode 100644 index b6185e96ab..0000000000 --- a/unmaintained/roundup/roundup-fix-busybox-shell-opts.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/roundup.sh b/roundup.sh -index d7465dc..38d7efe 100755 ---- a/roundup.sh -+++ b/roundup.sh -@@ -258,9 +258,11 @@ do - - # exit subshell with return code of last failing command. This - # is needed to see the return code 253 on failed assumptions. -- # But, only do this if the error handling is activated. -- set -E -- trap 'rc=$?; set +x; set -o | grep "errexit.*on" >/dev/null && exit $rc' ERR -+ # But, only do this if the error handling is activated and only if the shell supports it -+ if set -o | grep "^errtrace" >/dev/null; then -+ set -o errtrace -+ trap 'rc=$?; set +x; set -o | grep "errexit.*on" >/dev/null && exit $rc' ERR -+ fi - - # If `before` wasn't redefined, then this is `:`. - before diff --git a/unmaintained/rpmlint/APKBUILD b/unmaintained/rpmlint/APKBUILD deleted file mode 100644 index 9bbbad58b0..0000000000 --- a/unmaintained/rpmlint/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=rpmlint -pkgver=1.6 -pkgrel=0 -pkgdesc="A tool for checking common errors in RPM packages" -url="http://rpmlint.zarb.org" -arch="noarch" -license="GPL2" -depends="python" -depends_dev="" -makedepends="python-dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="ad09ff960c7f3561af59f7886f3619ef rpmlint-1.6.tar.xz" -sha256sums="a0dae71a3fed413ee5c47bd04f393cd6598c68c0dcf1504fa020d62814ff674b rpmlint-1.6.tar.xz" -sha512sums="1eb8281af40accbc8b0273b552dcb6ccbc8973cbd8a86128205a05e7e98fd0598f0dd7e74e3844e28580111f1d37a11c15014fbd20202464591f5721ed3eca52 rpmlint-1.6.tar.xz" diff --git a/unmaintained/ruby-abn/APKBUILD b/unmaintained/ruby-abn/APKBUILD deleted file mode 100644 index 4adf2bc2dd..0000000000 --- a/unmaintained/ruby-abn/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -_gemname=abn -pkgname=ruby-$_gemname -pkgver=2.0.0 -pkgrel=1 -pkgdesc="A small library for working with Australian Business Numbers" -url="http://rubygems.org/gems/abn" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="ruby-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="028de258f4027e7f8af27010070390fe abn-2.0.0.gem" -sha256sums="8938ec55432e74e6a19dab9cf18b81379f15f72b3c461a058a97053a92d4ec9a abn-2.0.0.gem" -sha512sums="869a8ee9b73e587a6438014691ac112603c08aca26230b3e5912b8ab9e486c6087362f717aafe2715b29759c115ed164e4fcae3374bc420756c8a44e249e5094 abn-2.0.0.gem" diff --git a/unmaintained/ruby-actionmailer4.2/APKBUILD b/unmaintained/ruby-actionmailer4.2/APKBUILD deleted file mode 100644 index 5f79b55776..0000000000 --- a/unmaintained/ruby-actionmailer4.2/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ruby-actionmailer4.2 -_gemname=actionmailer -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="Email on Rails" -url="http://rubygems.org/gems/actionmailer" -arch="noarch" -license="GPL" -depends="ruby - ruby-actionpack4.2 - ruby-actionview4.2 - ruby-activejob4.2 - ruby-mail - ruby-rails-dom-testing4.2 - " -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="41381a5b67cec2383e0dabc90eee2cc2 actionmailer-4.2.5.2.gem" -sha256sums="8cee5f2f1e58c8ada17cca696377443c0cbc9675df2b7eef97a04318876484b5 actionmailer-4.2.5.2.gem" -sha512sums="854ccc09f24b34055f5c8217dc105afab1d80ae195d42b98ae9a19810b3035cb31b8403d9b87c475dd519705d2ce37525f492eb105af52fe573fa44b3908036a actionmailer-4.2.5.2.gem" diff --git a/unmaintained/ruby-actionpack-action_caching4.2/APKBUILD b/unmaintained/ruby-actionpack-action_caching4.2/APKBUILD deleted file mode 100644 index c7d7c1f3a5..0000000000 --- a/unmaintained/ruby-actionpack-action_caching4.2/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=actionpack-action_caching -pkgname=ruby-${_gemname}4.2 -pkgver=1.1.1 -pkgrel=0 -pkgdesc="Action caching for Action Pack" -url="https://github.com/rails/actionpack-action_caching" -arch="noarch" -license="MIT" -depends="ruby ruby-actionpack4.2" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="6d7a86a85aa0d74322702280bde687a3 actionpack-action_caching-1.1.1.gem" -sha256sums="e7715ff3534d124e58fd40ebf6c05708d830fe2c71c2f2643ca060025b00b224 actionpack-action_caching-1.1.1.gem" -sha512sums="6ff988a5f715a8956826bb8941c15eabf9db1b08d223467cfb595c1596c955af86ddebea30a117aeff770092758d1940632acc13583aba9f3fd5793719e70efe actionpack-action_caching-1.1.1.gem" diff --git a/unmaintained/ruby-actionpack-xml_parser4.2/APKBUILD b/unmaintained/ruby-actionpack-xml_parser4.2/APKBUILD deleted file mode 100644 index 6637160f77..0000000000 --- a/unmaintained/ruby-actionpack-xml_parser4.2/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=actionpack-xml_parser -pkgname=ruby-${_gemname}4.2 -pkgver=1.0.2 -pkgrel=0 -pkgdesc="XML parameters parser for Action Pack" -url="http://www.rubyonrails.org/" -arch="noarch" -license="MIT" -depends="ruby ruby-actionpack4.2" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="2c3f9c8644f8fcf70d9b9ef3fa8beb6e actionpack-xml_parser-1.0.2.gem" -sha256sums="6a3e2441711e3885d2fb6f6530049bb4672cf6ffb98c88dce9e8997e9a25559d actionpack-xml_parser-1.0.2.gem" -sha512sums="38539e43a414a2fdb9786f7830b47ee22786f13688ba11fcbd585f41ed472f1bbcc521c35bf87c7c59ad8a5ba3663ebbaa21bf7c0a2a94a1ac77e6b3fc1c0f3f actionpack-xml_parser-1.0.2.gem" diff --git a/unmaintained/ruby-actionpack4.2/APKBUILD b/unmaintained/ruby-actionpack4.2/APKBUILD deleted file mode 100644 index 9e87fef4d0..0000000000 --- a/unmaintained/ruby-actionpack4.2/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ruby-actionpack4.2 -_gemname=actionpack -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="Eases web-request routing, handling, and response as a half-way front, half-way page controller" -url="http://rubygems.org/gems/actionpack" -arch="noarch" -license="GPL" -depends="ruby - ruby-actionview4.2 - ruby-activesupport4.2 - ruby-rack - ruby-rack-test - ruby-rails-dom-testing4.2 - ruby-rails-html-sanitizer - " -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="d41e94eae729ba30cacaea2df3ee4654 actionpack-4.2.5.2.gem" -sha256sums="a22e1818f06b707433c9a76867932929751b5d57edbeacc258635a7b23da12cf actionpack-4.2.5.2.gem" -sha512sums="8303a7e225aa83dd7b6e731bffe78d588fbc919f437b604d9cde20a6200443676bb827fa970fe432f0c97034e15324afccecd38c2a40b63a4cf43f02382d6f31 actionpack-4.2.5.2.gem" diff --git a/unmaintained/ruby-actionview4.2/APKBUILD b/unmaintained/ruby-actionview4.2/APKBUILD deleted file mode 100644 index ea17194089..0000000000 --- a/unmaintained/ruby-actionview4.2/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: Kaarle Ritvanen -_gemname=actionview -pkgname=ruby-${_gemname}4.2 -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="Simple, battle-tested conventions and helpers for building web pages" -url=http://rubyonrails.org/ -arch=noarch -license=MIT -depends="ruby - ruby-activesupport4.2 - ruby-builder - ruby-erubis - ruby-rails-dom-testing4.2 - ruby-rails-html-sanitizer - " -makedepends=ruby -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="2fc9c05b729d37cd5d0fe0d0177f7454 actionview-4.2.5.2.gem" -sha256sums="e8ce01cf6cc822ec023a15a856a0fae0e078ebb232b95b722c23af4117d2d635 actionview-4.2.5.2.gem" -sha512sums="b3d6b943adc0b037f80a34f9753ec2f9439c16089557f75889a64a6fe1152e9e8d81672dc86f1ceb15d8fb93d10bb13770ac0f7180262386ace25a7e7c1feec2 actionview-4.2.5.2.gem" diff --git a/unmaintained/ruby-activejob4.2/APKBUILD b/unmaintained/ruby-activejob4.2/APKBUILD deleted file mode 100644 index 94e96f3f14..0000000000 --- a/unmaintained/ruby-activejob4.2/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: Kaarle Ritvanen -_gemname=activejob -pkgname=ruby-${_gemname}4.2 -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="Declare job classes that can be run by a variety of queueing backends" -url=http://rubyonrails.org/ -arch=noarch -license=MIT -depends="ruby ruby-activesupport4.2 ruby-globalid" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="704453dc45213c5448e2cb3726d8b8f9 activejob-4.2.5.2.gem" -sha256sums="cecb9bbc55292dee064ca479990c6e50fa3e2273aac6722ce058d18c22383026 activejob-4.2.5.2.gem" -sha512sums="5aee66c9230d830ee8881be2bfcca618b4e0b2265b2c1873321941af93ec26da3facb4d08dce8f271caf32d5b14a771ebfe4091781d903610e25231ca4671765 activejob-4.2.5.2.gem" diff --git a/unmaintained/ruby-activemodel4.2/APKBUILD b/unmaintained/ruby-activemodel4.2/APKBUILD deleted file mode 100644 index 1154dd991e..0000000000 --- a/unmaintained/ruby-activemodel4.2/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=ruby-activemodel4.2 -_gemname=activemodel -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="A toolkit for building modeling frameworks" -url="http://rubygems.org/gems/activemodel" -arch="noarch" -license="GPL" -depends="ruby ruby-activesupport4.2 ruby-builder" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="043161de06a47b0b9db2f52625692b36 activemodel-4.2.5.2.gem" -sha256sums="09ce967be3086b34ae9fcbd919e714b2bdf72b8ab6e89b64aa74627267d93962 activemodel-4.2.5.2.gem" -sha512sums="24767707fd56226c8b4caa0154b10c39fd7442aeab5e5b3ee8968abc1f8dbb436ac0f1d23547a64dfa96229aa65c2420aabeb0b7a3368589488b9bb491e88c84 activemodel-4.2.5.2.gem" diff --git a/unmaintained/ruby-activerecord4.2/APKBUILD b/unmaintained/ruby-activerecord4.2/APKBUILD deleted file mode 100644 index 3c14c579e9..0000000000 --- a/unmaintained/ruby-activerecord4.2/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=activerecord -pkgname=ruby-${_gemname}4.2 -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="Ruby ActiveRecord pattern (Fowler, PoEAA) for ORM" -url="http://rubygems.org/gems/activerecord" -arch="noarch" -license="GPL" -depends="ruby ruby-activemodel4.2 ruby-activesupport4.2 - ruby-arel" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="9cd2338b06000ab0d59e0a83ee6951b3 activerecord-4.2.5.2.gem" -sha256sums="c2b1b6a4c6b8542c2464b457dce4cac4915efcbd3d5acfba57102e58474c33f2 activerecord-4.2.5.2.gem" -sha512sums="841271e01b6472e6ba0881b7fd51863fcd028255cf88b606ad9f726af5947b71286a5087718618c31c81c8a28aa443bfe69584ac50b6b397638dc0639ce8666e activerecord-4.2.5.2.gem" diff --git a/unmaintained/ruby-activesupport4.2/APKBUILD b/unmaintained/ruby-activesupport4.2/APKBUILD deleted file mode 100644 index b3bebbd0f4..0000000000 --- a/unmaintained/ruby-activesupport4.2/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ruby-activesupport4.2 -_gemname=activesupport -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="Utility classes and extension to the standard library" -url="http://rubygems.org/gems/activesupport" -arch="noarch" -license="GPL" -depends="ruby - ruby-i18n - ruby-json - ruby-minitest - ruby-thread_safe - ruby-tzinfo - " -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="51d5ed55a73fcf0e4484b8cfea2f57b5 activesupport-4.2.5.2.gem" -sha256sums="80ad345adf7e2b72c5d90753c0df91eacc34f4de02b34cfbf60bcf6c83483031 activesupport-4.2.5.2.gem" -sha512sums="d1255e4d611f5162795c65ce39dc2b4925182f5f9148ee0bf1a7e6ed465cb4a531854c651122397e13d27d8a8c27c8887f6d3f5c6f2f81a4e1e334866f2773c4 activesupport-4.2.5.2.gem" diff --git a/unmaintained/ruby-addressable/APKBUILD b/unmaintained/ruby-addressable/APKBUILD deleted file mode 100644 index 35ac4d8298..0000000000 --- a/unmaintained/ruby-addressable/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ruby-addressable -_gemname=addressable -pkgver=2.4.0 -pkgrel=0 -pkgdesc="Addressable is a replacement for the URI implementation that is part of Ruby's standard library" -url="http://addressable.rubyforge.org/" -arch="noarch" -license="APACHE-2.0" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} -md5sums="2d340295a78606dcb68f93b7730e76d1 addressable-2.4.0.gem" -sha256sums="7abfff765571b0a73549c9a9d2f7e143979cd0c252f7fa4c81e7102a973ef656 addressable-2.4.0.gem" -sha512sums="b81fa48e7c4188827c03ac93960b6fd6fb9f5a438f5243cddea39d6820ef756ee7c0086ec330dc4a3538008b3b254757af7d30248624127649cc006a2793eda8 addressable-2.4.0.gem" diff --git a/unmaintained/ruby-amazon-ec2/APKBUILD b/unmaintained/ruby-amazon-ec2/APKBUILD deleted file mode 100644 index 1d5535b809..0000000000 --- a/unmaintained/ruby-amazon-ec2/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=amazon-ec2 -pkgname=ruby-$_gemname -pkgver=0.9.17 -pkgrel=1 -pkgdesc="Library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling APIs." -url="https://rubygems.org/gems/$_gemname" -arch="noarch" -license="GPL" -depends="ruby ruby-xml-simple" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="66fe60764b90bd7f01e70069e93e5da4 amazon-ec2-0.9.17.gem" -sha256sums="4cbbd8cada5534cc6d081281b26bbb777c53410ea571829d0b7d0826b7d1e971 amazon-ec2-0.9.17.gem" -sha512sums="6138f95759e248bbf4d1633e042c7799ccf395a2e218e72f245abd56501a70079a0ea14c29c955b22fb33849699ad7268dba03e75493fd68594c9361a85ffd61 amazon-ec2-0.9.17.gem" diff --git a/unmaintained/ruby-arel/APKBUILD b/unmaintained/ruby-arel/APKBUILD deleted file mode 100644 index 345cc7c66e..0000000000 --- a/unmaintained/ruby-arel/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=arel -pkgname=ruby-$_gemname -pkgver=6.0.0 -pkgrel=1 -pkgdesc="a SQL AST manager for Ruby" -url="http://rubygems.org/gems/arel" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="f8f1b0dc0ba5d49e3a8219528e6edbc1 arel-6.0.0.gem" -sha256sums="590178be44d2d6167b6e682e3b04329ad7c8425cb235fdbc1bb74491bf7596a3 arel-6.0.0.gem" -sha512sums="72cd0b6d26fc7dd7239c56e4fed379c496a41f463afb8e258e468cb4bd382eb03a92ae0514295cfa71f13e63562923578adf496aeb9f4ff36325b766733a18ad arel-6.0.0.gem" diff --git a/unmaintained/ruby-bcrypt/APKBUILD b/unmaintained/ruby-bcrypt/APKBUILD deleted file mode 100644 index 7b35b50941..0000000000 --- a/unmaintained/ruby-bcrypt/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Brad Murray -# Maintainer: Francesco Colista -_gemname=bcrypt -pkgname=ruby-bcrypt -pkgver=3.1.11 -pkgrel=0 -pkgdesc="bcrypt is a sophisticated and secure hash algorithm designed by The OpenBSD project for hashing passwords." -url="https://github.com/codahale/bcrypt-ruby" -arch="all" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem -- --use-system-libraries || \ - return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="3048f1bd080b9e6cc856a22c84b8577b bcrypt-3.1.11.gem" -sha256sums="a0fc22135205c851f46e8a661de8be242d54951cbd2c37a6fad5c8069b2645b4 bcrypt-3.1.11.gem" -sha512sums="bf9ff0d3cdd7044b4ee5796cd04869f21bb3384143b0f336bc2cd9a8f0db3f9562aa23a39601c1d86f153b62f07469ef066616f8a52cfcd840377e331cb22454 bcrypt-3.1.11.gem" diff --git a/unmaintained/ruby-builder/APKBUILD b/unmaintained/ruby-builder/APKBUILD deleted file mode 100644 index f40ff3089a..0000000000 --- a/unmaintained/ruby-builder/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=builder -pkgname=ruby-$_gemname -pkgver=3.2.2 -pkgrel=2 -pkgdesc="Builder objects to simplify creating structured data" -url="http://rubygems.org/gems/builder" -arch="noarch" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="14757f8118991be11f02e57b96cbba43 builder-3.2.2.gem" -sha256sums="62fb9ad70ea42219a0c8d209a30281803712c717df7cb8f5ce5f63b4d489d191 builder-3.2.2.gem" -sha512sums="785c0b5ea6682b590d3b92544910cac2d26d1b4906f0b0b502913c6c95365e173178ac1ec74d1dd0afe9b9fe6aac4d7f2ed712bf444682a029b86cdcd1787afa builder-3.2.2.gem" diff --git a/unmaintained/ruby-charlock_holmes/APKBUILD b/unmaintained/ruby-charlock_holmes/APKBUILD deleted file mode 100644 index 6e9cb763b3..0000000000 --- a/unmaintained/ruby-charlock_holmes/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=charlock_holmes -pkgname=ruby-$_gemname -pkgver=0.7.1 -pkgrel=2 -pkgdesc="provides binary and text detection as well as text transcoding using libicu" -url="http://rubygems.org/gems/$_gemname" -arch="all" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev icu-dev zlib-dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="d7d45a4d8aef77489174607d51e73f70 charlock_holmes-0.7.1.gem" -sha256sums="181c4c4930e6b3ee1aecad20aae9f7cdf5cc946ee384569d70b54c17ea685907 charlock_holmes-0.7.1.gem" -sha512sums="214b772375cab0432cdfab68534b88e28de9cd8130d1afece938ecbca94009d4e27238c3144941bb54794aa0dd1b411dc1516e2140a5e3a7d562cf317c3cf387 charlock_holmes-0.7.1.gem" diff --git a/unmaintained/ruby-coderay/APKBUILD b/unmaintained/ruby-coderay/APKBUILD deleted file mode 100644 index a996f92604..0000000000 --- a/unmaintained/ruby-coderay/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=coderay -pkgname=ruby-coderay -pkgver=1.1.1 -pkgrel=0 -pkgdesc="Fast and easy syntax highlighting" -url="http://coderay.rubychan.de" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="6f60cedad4f128b38bd8eaf40490f328 coderay-1.1.1.gem" -sha256sums="79a42eba4cbe2b056ba253eb02d1a7aec74ca951e54f33098830641e8748dff4 coderay-1.1.1.gem" -sha512sums="7b2bbf51e6625a252f7eb6de6d3a5b2d401a3bcbd5ed3074a8a34e468bcbd4400f54906dd9ce0c7afcd2dd56b0bb28a597d2e01c614d19388f1576385bf4e97f coderay-1.1.1.gem" diff --git a/unmaintained/ruby-crack/APKBUILD b/unmaintained/ruby-crack/APKBUILD deleted file mode 100644 index 8ce4102eeb..0000000000 --- a/unmaintained/ruby-crack/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=crack -pkgname=ruby-$_gemname -pkgver=0.4.1 -pkgrel=1 -pkgdesc="Really simple JSON and XML parsing, ripped from Merb and Rails." -url="https://rubygems.org/gems/$_gemname" -arch="noarch" -license="GPL" -depends="ruby ruby-safe_yaml" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="13a659ae1a334234e2e2b69732d61df3 crack-0.4.1.gem" -sha256sums="4f9690bc66278494e0c525989b8ebfa89ce44087cd1733857d6ca9162dd16271 crack-0.4.1.gem" -sha512sums="b6c14865ab1947ab88e7bd61595d347bc230ff5316c87f611a741c8a26baff0622c581dbb0c36428dd6346819fb695babd8cf0d3ae57bfd63e40a8d30ddb238e crack-0.4.1.gem" diff --git a/unmaintained/ruby-css_parser/APKBUILD b/unmaintained/ruby-css_parser/APKBUILD deleted file mode 100644 index 711ae950ba..0000000000 --- a/unmaintained/ruby-css_parser/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ruby-css_parser -_gemname=css_parser -pkgver=1.3.7 -pkgrel=0 -pkgdesc="A set of classes for parsing CSS in Ruby" -url="https://github.com/premailer/css_parser" -arch="noarch" -license="MIT" -depends="ruby-addressable ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} -md5sums="4825a1fbc3be3c0e90e28fc2fb8f113e css_parser-1.3.7.gem" -sha256sums="359563516a965b4fd770d908ba11fa218e220576c646687b9954bf05fee4cfe3 css_parser-1.3.7.gem" -sha512sums="5c03067a7e5b9e4519ca1c6ab12e8e207b70c6c192f575e9568cd1b4e598ede4af6c93f1ce0d92dd88f8ab0a660ce459dbdcd92f0b508420876e486ef15550c4 css_parser-1.3.7.gem" diff --git a/unmaintained/ruby-curb/APKBUILD b/unmaintained/ruby-curb/APKBUILD deleted file mode 100644 index 5581aef78f..0000000000 --- a/unmaintained/ruby-curb/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=curb -pkgname=ruby-$_gemname -pkgver=0.8.4 -pkgrel=2 -pkgdesc="Ruby-language bindings for the libcurl" -url="https://rubygems.org/gems/$_gemname" -arch="all" -license="GPL" -depends="ruby" -depends_dev="ruby-dev curl-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="c731fe519a13acb326f7e8f61e46e92c curb-0.8.4.gem" -sha256sums="735717037efde9afc253ce45f08e2f77d8db01b7fe9508178b35ce9dbaa8ee49 curb-0.8.4.gem" -sha512sums="a9c5f55f46e4c3896b2c76cfe3a318b1439aa1bdae3691aca2386215c49e396f8ed0ae536b89993dce3c99d3773175b62f599a32b97b08e9dc7fde2e15f7b399 curb-0.8.4.gem" diff --git a/unmaintained/ruby-daemon-controller/APKBUILD b/unmaintained/ruby-daemon-controller/APKBUILD deleted file mode 100644 index 3be19edd0e..0000000000 --- a/unmaintained/ruby-daemon-controller/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -pkgname=ruby-daemon-controller -_gemname=daemon_controller -pkgver=1.1.5 -pkgrel=1 -pkgdesc="A library for robust daemon management." -url="http://rubygems.org/gems/daemon_controller" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="ruby-dev" -install="" -subpackages="" -source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} -md5sums="15ae8379911f815b2770d715dc0e7e25 daemon_controller-1.1.5.gem" -sha256sums="5cb38c7aa8f054d403fb63038f189261e28d975d3433d6b1911099b0f611bfef daemon_controller-1.1.5.gem" -sha512sums="89746156ef2efbdbb00ed34d22b44ff118805fc479a64668b87e1d1cdb03f709002df6e351a881d588c4254b715f842d61221ee2abd3b04521129420f204e7e0 daemon_controller-1.1.5.gem" diff --git a/unmaintained/ruby-daemons/APKBUILD b/unmaintained/ruby-daemons/APKBUILD deleted file mode 100644 index db60f429d0..0000000000 --- a/unmaintained/ruby-daemons/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=daemons -pkgname=ruby-$_gemname -pkgver=1.1.9 -pkgrel=1 -pkgdesc="Run ruby scripts as daemons" -url="https://rubygems.org/gems/$_gemname" -arch="noarch" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="59e807cafc68c980077baa2736a3ac00 daemons-1.1.9.gem" -sha256sums="fee738586059ac5051ed89b40b63d02bdc9a19254f9b6e58848dea1c2f3135c8 daemons-1.1.9.gem" -sha512sums="7f29162c7cb728ae27dbd16a9bc5191bb617b6cfacd1c698d2bbe43d335224b1ad59eea36205331abb9b3586c454e584333c6464f5afc033c48e676db6983f45 daemons-1.1.9.gem" diff --git a/unmaintained/ruby-diff-lcs/APKBUILD b/unmaintained/ruby-diff-lcs/APKBUILD deleted file mode 100644 index 4533248c9b..0000000000 --- a/unmaintained/ruby-diff-lcs/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=diff-lcs -pkgname=ruby-$_gemname -pkgver=1.2.5 -pkgrel=0 -pkgdesc="Diff::LCS computes the difference between two Enumerable sequences using the McIlroy-Hunt LCS algorithm" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="7172cb271324fa944d9fbea5fe1f7344 diff-lcs-1.2.5.gem" -sha256sums="a1d3dde665292317a883d319066792e3f0e6a24cade4bc4cc47605d27664c9ed diff-lcs-1.2.5.gem" -sha512sums="ce15cb794a97f9af8585c46b7a2404e1ad6e24e4910b6aa6c5126ef5996d86700979a54a154bab1c0602f19021b287dc865db3eebdc901fb42056f1e2180d0fe diff-lcs-1.2.5.gem" diff --git a/unmaintained/ruby-domain_name/APKBUILD b/unmaintained/ruby-domain_name/APKBUILD deleted file mode 100644 index e8c076a18b..0000000000 --- a/unmaintained/ruby-domain_name/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=domain_name -pkgname=ruby-$_gemname -pkgver=0.5.24 -pkgrel=0 -pkgdesc="Domain Name manipulation library for Ruby" -arch="noarch" -url="https://github.com/knu/ruby-domain_name" -license="'BSD + MPL 1.1/GPL 2.0/LGPL 2.1'" -depends="ruby ruby-unf" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 - install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" -} - -md5sums="e0dd8cf5599148233aebf08869328df2 domain_name-0.5.24.gem" -sha256sums="8cbd6aea8859823f89aefeec49232e9d4377456fd42d08accfbc0cc6b32a55f6 domain_name-0.5.24.gem" -sha512sums="46caf0be89c3b2f38f79180c14f4eaa1096f12f80feb881dafb394033d2c6118f481c898310d281d15acd5b9a54473c9d9ee8f0e77dda5b03c40a0d6f137f602 domain_name-0.5.24.gem" diff --git a/unmaintained/ruby-erubis/APKBUILD b/unmaintained/ruby-erubis/APKBUILD deleted file mode 100644 index 7135f67db5..0000000000 --- a/unmaintained/ruby-erubis/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=erubis -pkgname=ruby-$_gemname -pkgver=2.7.0 -pkgrel=3 -pkgdesc="an implementation of eRuby" -url="http://www.kuwata-lab.com/erubis/" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="cca3cf13ef951d1fc8c124d2fde52565 erubis-2.7.0.gem" diff --git a/unmaintained/ruby-eventmachine/APKBUILD b/unmaintained/ruby-eventmachine/APKBUILD deleted file mode 100644 index 19dd8dc8c9..0000000000 --- a/unmaintained/ruby-eventmachine/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=eventmachine -pkgname=ruby-$_gemname -pkgver=1.0.3 -pkgrel=1 -pkgdesc="Fast single-threaded engine for arbitrary network communications" -url="https://rubygems.org/gems/$_gemname" -arch="all" -license="GPL" -depends="ruby" -depends_dev="ruby-dev openssl-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="579e4829c279995da1af5ac87713e1d0 eventmachine-1.0.3.gem" -sha256sums="34424c87fc517f70ba137fe2281d16b53ce9c13f5cbfc2dda3ada56e96a65827 eventmachine-1.0.3.gem" -sha512sums="ea4f0b1a2580d14e564641c49f0e3ac2a9c86d916dd2c5e938df22d1d105c00811154d8bfa7a0f9a8ce32783f5398524c70458c161eab2f0591c690e1e6a5573 eventmachine-1.0.3.gem" diff --git a/unmaintained/ruby-fastercsv/APKBUILD b/unmaintained/ruby-fastercsv/APKBUILD deleted file mode 100644 index 7abfd54a29..0000000000 --- a/unmaintained/ruby-fastercsv/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=fastercsv -pkgname=ruby-fastercsv -pkgver=1.5.5 -pkgrel=3 -pkgdesc="Replacement to Rubys standard CSV library" -url="http://fastercsv.rubyforge.org" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="b42d4fc751bdea1c2bd832e11942aa7f fastercsv-1.5.5.gem" diff --git a/unmaintained/ruby-fastthread/APKBUILD b/unmaintained/ruby-fastthread/APKBUILD deleted file mode 100644 index 8565378871..0000000000 --- a/unmaintained/ruby-fastthread/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -pkgname=ruby-fastthread -_gemname=fastthread -pkgver=1.0.7 -pkgrel=1 -pkgdesc="Optimized replacement for thread.rb primitives" -url="http://rubygems.org/gems/fastthread" -arch="noarch" -license="GPL" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="16eb06dc3661c89301de6c73c71bb16e fastthread-1.0.7.gem" -sha256sums="bd1a8cea1dcf4ad590a8170dbb3468a94a4530fa9010b717a19ad78cae7a7600 fastthread-1.0.7.gem" -sha512sums="71c6901ba691e3a4b6f77ad29f02be1fb0c4144226d0cd915b428301ca52f3e23ce23cd1e90696dbc31960ae8e9582eb751a5eeacf24386ac033ffab08807ad5 fastthread-1.0.7.gem" diff --git a/unmaintained/ruby-fcgi/APKBUILD b/unmaintained/ruby-fcgi/APKBUILD deleted file mode 100644 index 420205b33f..0000000000 --- a/unmaintained/ruby-fcgi/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ruby-fcgi -_gemname=fcgi -pkgver=0.9.2.1 -pkgrel=0 -pkgdesc="Ruby fast CGI support" -url="http://rubygems.org/gems/fcgi" -arch="all" -license="GPL" -depends="ruby" -depends_dev="fcgi-dev ruby-dev" -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="f24dbf6be2344afafda2f42d7fc1e332 fcgi-0.9.2.1.gem" -sha256sums="f5e18b6769dfea1760e3da1dae1df7ade140cd5c1394e9318e36d9834f13ca1e fcgi-0.9.2.1.gem" -sha512sums="1ffdd429ce4f2bbac771b7ac2368a5194015a7327b8b43b803914257edc174235573df6bb41a53fb71db0bf179fc24ce2392b244b5b55563d67e045c47da8579 fcgi-0.9.2.1.gem" diff --git a/unmaintained/ruby-file-tail/APKBUILD b/unmaintained/ruby-file-tail/APKBUILD deleted file mode 100644 index 3505eb53ec..0000000000 --- a/unmaintained/ruby-file-tail/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -_gemname=file-tail -pkgname=ruby-$_gemname -pkgver=1.0.12 -pkgrel=1 -pkgdesc="Small library that allows Ruby to tail files." -url="http://flori.github.com/file-tail/" -arch="noarch" -license="GPL2" -depends="ruby ruby-tins" -depends_dev="" -makedepends="ruby-dev" -install="" -subpackages="" -source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="3875bf548788c00627b12cd486b206df file-tail-1.0.12.gem" -sha256sums="32c490ba6b9f4036291e4e03d20ffffbfd40d65875b50c74e7b7cc23b9edfd57 file-tail-1.0.12.gem" -sha512sums="ec289569e4fdb2f18448c2853916da5c501af2f1be6ad50284ee8404cc259ac9ff9fb88251b889899aa917bc015be78ba385b8050cba22387e772975736a6b1f file-tail-1.0.12.gem" diff --git a/unmaintained/ruby-github-markdown/APKBUILD b/unmaintained/ruby-github-markdown/APKBUILD deleted file mode 100644 index f364880828..0000000000 --- a/unmaintained/ruby-github-markdown/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=github-markdown -pkgname=ruby-$_gemname -pkgver=0.6.5 -pkgrel=1 -pkgdesc="Self-contained Markdown parser for GitHub, with all our custom extensions" -url="http://rubygems.org/gems/$_gemname" -arch="all" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="c08aa1a1480236b97778161139053af1 github-markdown-0.6.5.gem" -sha256sums="69255d3878ff798ae4bec89f5f6552f72f5447dbd15ad3beecd1bf2cedf75277 github-markdown-0.6.5.gem" -sha512sums="1ff33c6a837f5e31d08930e65f35e7d51d55bc3f9bcd87e367066d39aa948e0e859fc32beb31114f15e7d31b9a6756a51a506aead3dc996118392a6aa3290c48 github-markdown-0.6.5.gem" diff --git a/unmaintained/ruby-github-markup/APKBUILD b/unmaintained/ruby-github-markup/APKBUILD deleted file mode 100644 index c69a07ef72..0000000000 --- a/unmaintained/ruby-github-markup/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=github-markup -pkgname=ruby-$_gemname -pkgver=1.2.1 -pkgrel=0 -pkgdesc="This gem is used by GitHub to render any fancy markup such as Markdown, Textile, Org-Mode, etc." -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby ruby-posix-spawn" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="0eb65135996807d5aa70d2c94d9f1e69 github-markup-1.2.1.gem" -sha256sums="33f291b7b94f6c6a9b42671cf2985b140312c3fef9d918ac928c08d562fa09b9 github-markup-1.2.1.gem" -sha512sums="0c086ef81ebfa7a152395e745ed27235fe684e8e906a00c81caf9418944280ba0957039aa516b9655241b1e49dc153f2281b81a4c80c1be994c1674c5d6d1632 github-markup-1.2.1.gem" diff --git a/unmaintained/ruby-gitlab-grit/APKBUILD b/unmaintained/ruby-gitlab-grit/APKBUILD deleted file mode 100644 index 65e87567cf..0000000000 --- a/unmaintained/ruby-gitlab-grit/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=gitlab-grit -pkgname=ruby-$_gemname -pkgver=2.6.7 -pkgrel=0 -pkgdesc="Grit is a Ruby library for extracting information from a git repository in an object oriented manner" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby ruby-charlock_holmes ruby-diff-lcs ruby-mime-types ruby-posix-spawn" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="9c3e91e68453d917abd32542ff927a16 gitlab-grit-2.6.7.gem" -sha256sums="11e82fae9857098ad6925a5f5e3b6092599e3001b5149c1118365b3dae2b5368 gitlab-grit-2.6.7.gem" -sha512sums="4c3537f1c7fd9e41916953d3c4458468ce66181ed931b5947f42b88c656be05338f8bd6a3e9a51e498277e60d9e657bb55fbb129ac4cc76514505759ab42f6dd gitlab-grit-2.6.7.gem" diff --git a/unmaintained/ruby-globalid/APKBUILD b/unmaintained/ruby-globalid/APKBUILD deleted file mode 100644 index 86d5b3a031..0000000000 --- a/unmaintained/ruby-globalid/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: Kaarle Ritvanen -_gemname=globalid -pkgname=ruby-$_gemname -pkgver=0.3.5 -pkgrel=0 -pkgdesc="URIs for your models makes it easy to pass references around" -url=http://rubyonrails.org/ -arch=noarch -license=MIT -depends="ruby ruby-activesupport4.2" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="fd9c50b5bab703eb694bcc697dc62f1a globalid-0.3.5.gem" -sha256sums="2ab297d30094ce3168126c4dd299baab3ab261a2e04e84e2a62846f7d2aa964f globalid-0.3.5.gem" -sha512sums="b076f8ee8685b44546d1b9f69ff5d810de4bb5bfbb82642bd2f1f764d6f6568f9d8ef29fa5bfe7742b046b215d612e503017206ab29309736db8543f8c94b81c globalid-0.3.5.gem" diff --git a/unmaintained/ruby-gollum-lib-github-markup/APKBUILD b/unmaintained/ruby-gollum-lib-github-markup/APKBUILD deleted file mode 100644 index 4d63a36d34..0000000000 --- a/unmaintained/ruby-gollum-lib-github-markup/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=github-markup -pkgname=ruby-gollum-lib-$_gemname -pkgver=1.1.2 -pkgrel=0 -pkgdesc="This gem is used by GitHub to render any fancy markup such as Markdown, Textile, Org-Mode, etc." -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby ruby-posix-spawn" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="46e9435ff4bd7d8c62e5aad33ef8a800 github-markup-1.1.2.gem" -sha256sums="4fac486cee8c1532784e5338beb3b56dc76b3d2d6a8cf3194bf7ab5285d54648 github-markup-1.1.2.gem" -sha512sums="140f70b9c39d4a461ff4b74c1118d6e02a89e4f1d0556c56e43954502eafa64c1c1b671c2ad2b0b677d782918756d468c4627e87d7dd6c63e4393d35c99c8829 github-markup-1.1.2.gem" diff --git a/unmaintained/ruby-gollum_rails-charlock_holmes/APKBUILD b/unmaintained/ruby-gollum_rails-charlock_holmes/APKBUILD deleted file mode 100644 index 77a87f9f80..0000000000 --- a/unmaintained/ruby-gollum_rails-charlock_holmes/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=charlock_holmes -pkgname=ruby-gollum_rails-$_gemname -pkgver=0.6.9.4 -pkgrel=1 -pkgdesc="provides binary and text detection as well as text transcoding using libicu" -url="http://rubygems.org/gems/$_gemname" -arch="all" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev icu-dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="d0225d2149311cec0e51b1057a71846e charlock_holmes-0.6.9.4.gem" -sha256sums="e52db7af0f7a652f55244455f84b4f1c09144f0d5e416f677a912f9147d6dfef charlock_holmes-0.6.9.4.gem" -sha512sums="00a1d920418a1ebaf43245f8f94de831de15f29d972eac9e69ae9bcccc88140282c3a57f4f1a35ad49cb336df82589c19f7852bc60f9debfb1253b7111c36d32 charlock_holmes-0.6.9.4.gem" diff --git a/unmaintained/ruby-gollum_rails-github-markup/APKBUILD b/unmaintained/ruby-gollum_rails-github-markup/APKBUILD deleted file mode 100644 index e1aa9949ba..0000000000 --- a/unmaintained/ruby-gollum_rails-github-markup/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=github-markup -pkgname=ruby-gollum_rails-$_gemname -pkgver=0.7.5 -pkgrel=0 -pkgdesc="This gem is used by GitHub to render any fancy markup such as Markdown, Textile, Org-Mode, etc." -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="79663fd409cc59402d86882b43472be2 github-markup-0.7.5.gem" -sha256sums="a5d74d5a67e723bc4014f5db8682f88d65b5eb66b0ab1b58b04fb023426759f3 github-markup-0.7.5.gem" -sha512sums="baa30a08be8806fa3eccf95560e54e46d00f6a607e0c47885434e63df39a1f906f91d22ceb1201ee15371650f2a8a34179fc9eec4f1f4a3030108b13bf8b3ca0 github-markup-0.7.5.gem" diff --git a/unmaintained/ruby-gollum_rails-gitlab-grit/APKBUILD b/unmaintained/ruby-gollum_rails-gitlab-grit/APKBUILD deleted file mode 100644 index 0f8978e4cb..0000000000 --- a/unmaintained/ruby-gollum_rails-gitlab-grit/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=gitlab-grit -pkgname=ruby-gollum_rails-$_gemname -pkgver=2.6.0 -pkgrel=0 -pkgdesc="Grit is a Ruby library for extracting information from a git repository in an object oriented manner" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby ruby-charlock_holmes ruby-diff-lcs ruby-mime-types ruby-posix-spawn" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="531f5950596e6a16e33c850e6c3f82f0 gitlab-grit-2.6.0.gem" -sha256sums="b2900956c11e46c76f4b6dee9f04180be69e3090fde626e29e4f0f466ce09257 gitlab-grit-2.6.0.gem" -sha512sums="a64cf385167d4c8e38ef3c4e2f280d42fb08b48fde0c265ea012e8c88c922b128841c86cd6eb025a2c917f95819efa7f252d2390548676738d38364f5cab67c4 gitlab-grit-2.6.0.gem" diff --git a/unmaintained/ruby-hike/APKBUILD b/unmaintained/ruby-hike/APKBUILD deleted file mode 100644 index 853e50ea36..0000000000 --- a/unmaintained/ruby-hike/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=hike -pkgname=ruby-$_gemname -pkgver=1.2.3 -pkgrel=2 -pkgdesc="A Ruby library for finding files in a set of paths" -url="http://github.com/sstephenson/hike" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="ee3bcc471ff5dcd88f020351f8184dd3 hike-1.2.3.gem" -sha256sums="154e2f2593845e5bcd8ed2ba3092600c55c6ad8c630722857de3fdaf334ccc44 hike-1.2.3.gem" -sha512sums="2f1b3a80be9af85f8eb54b2327288fa1fc1bdbe429fe1097dc4f905a61e3da0732635fc808c6eee74d8579eed18eb311af822691c81f306d9c8e901cc7e10059 hike-1.2.3.gem" diff --git a/unmaintained/ruby-hoe/APKBUILD b/unmaintained/ruby-hoe/APKBUILD deleted file mode 100644 index 22c5b45630..0000000000 --- a/unmaintained/ruby-hoe/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=hoe -pkgname=ruby-$_gemname -pkgver=3.13.1 -pkgrel=0 -pkgdesc="Hoe is a rake/rubygems helper for project Rakefiles" -arch="noarch" -url="http://www.zenspider.com/projects/hoe.html" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="739d4ede50ba5bf9fabb03cef59c3737 hoe-3.13.1.gem" -sha256sums="18414316a39bc828b4b943aed6817774ce23642fa6b51450b25ae596e7084cd5 hoe-3.13.1.gem" -sha512sums="9962f7cdf3179e5073c63983e5ee20926399c17769d1588292427d1bb7f765d3444fbefa57edaa610dc053a5bd3bd0ba16bf627ca0713e88e4b7f039435b127e hoe-3.13.1.gem" diff --git a/unmaintained/ruby-htmlentities/APKBUILD b/unmaintained/ruby-htmlentities/APKBUILD deleted file mode 100644 index 8e06465b32..0000000000 --- a/unmaintained/ruby-htmlentities/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ruby-htmlentities -_gemname=htmlentities -pkgver=4.3.1 -pkgrel=0 -pkgdesc="A module for encoding and decoding (X)HTML entities." -url="https://github.com/threedaymonk/htmlentities" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} -md5sums="53a9218c02ef3671d6fc9fe843ebd360 htmlentities-4.3.1.gem" -sha256sums="d199741b653ea3e84a55e07f4d8190806465e693b04031c63c2a215b382e0397 htmlentities-4.3.1.gem" -sha512sums="6da6e1c2903622972ede1633e3d139d41bbe580097301848d9cd89e0f76d1b97ab512e444f7669763e2a4403c774bcbf0333b2b17465801c7c905f8c2acc8df6 htmlentities-4.3.1.gem" diff --git a/unmaintained/ruby-http-cookie/APKBUILD b/unmaintained/ruby-http-cookie/APKBUILD deleted file mode 100644 index 8745496762..0000000000 --- a/unmaintained/ruby-http-cookie/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=http-cookie -pkgname=ruby-$_gemname -pkgver=1.0.2 -pkgrel=0 -pkgdesc="A Ruby library to handle HTTP Cookies based on RFC 6265" -arch="noarch" -url="https://github.com/sparklemotion/http-cookie" -license="MIT" -depends="ruby ruby-domain_name" -depends_dev= -makedepends="$depends_dev" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 - install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" -} - -md5sums="70529d56540a162f52ce361a389a0307 http-cookie-1.0.2.gem" -sha256sums="bcc1b18b5bc3e9302542c9c7f68f1ac0c3100a65dd2831786172e8676773e233 http-cookie-1.0.2.gem" -sha512sums="447b7fcfd67f64edbd8420672add7ff04f28358ecd8ef59c3bf861b48378729d02bc1e4396259104651794e011ef0de72c892f28fd658474a1fc315b9b750178 http-cookie-1.0.2.gem" diff --git a/unmaintained/ruby-i18n/APKBUILD b/unmaintained/ruby-i18n/APKBUILD deleted file mode 100644 index 9eb69ac41f..0000000000 --- a/unmaintained/ruby-i18n/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ruby-i18n -_gemname=i18n -pkgver=0.7.0 -pkgrel=1 -pkgdesc="Internationalization support for Ruby" -url="http://rubygems.org/gems/i18n" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="e9f92faf73a805a95c92d42031f4dca3 i18n-0.7.0.gem" -sha256sums="a81cd327bd0f2c490ecf9f62f4a91ffaf5061aa2bf22cdbafe1a7e44a70fbfc4 i18n-0.7.0.gem" -sha512sums="daebd5bea18afb9b631d422c1be032a93873ac82bd65857a91315d03505639be857e01f89232e8e4b4632db6e1d786706f8498aa779c7d03b1958b248dd41ca5 i18n-0.7.0.gem" diff --git a/unmaintained/ruby-isbn/APKBUILD b/unmaintained/ruby-isbn/APKBUILD deleted file mode 100644 index 833c4c922b..0000000000 --- a/unmaintained/ruby-isbn/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -_gemname=isbn -pkgname=ruby-$_gemname -pkgver=2.0.9 -pkgrel=1 -pkgdesc="A library to transform ISBN's from new to used" -url="http://rubygems.org/gems/isbn" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="ruby-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="5901fadabb0f742f75e77fad0e31f28c isbn-2.0.9.gem" -sha256sums="f645884282f3a6e5d074b950dfa4bae0e336af570a70ef7017f561ba7e230b48 isbn-2.0.9.gem" -sha512sums="3960c53a764e03d73e3c3574c4a5933e346ef2ea0516448489e5ddeed0f6a13443e31a256474f960a11f2fb1d692cf62bc65c6c99465cc2f1d16f39e5bf156f4 isbn-2.0.9.gem" diff --git a/unmaintained/ruby-jquery-rails4.2/APKBUILD b/unmaintained/ruby-jquery-rails4.2/APKBUILD deleted file mode 100644 index 85197568b4..0000000000 --- a/unmaintained/ruby-jquery-rails4.2/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Markus M. May -# Maintainer: Natanael Copa -_gemname=jquery-rails -pkgname=ruby-${_gemname}4.2 -pkgver=3.1.4 -pkgrel=0 -pkgdesc="jQuery and the jQuery-ujs driver for Rails 4.2" -url="http://rubygems.org/gems/jquery-rails" -arch="noarch" -license="MIT" -depends="ruby ruby-railties4.2 ruby-thor" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="5ffd8dcced7e70e82bc34985e6395f90 jquery-rails-3.1.4.gem" -sha256sums="f908f67bb9b63dbc88eeecc78257235dbc695e23926fd53911378a27b4d6b532 jquery-rails-3.1.4.gem" -sha512sums="fbec0e09bff90d4f21a512c628767ceaf85f311ac8bd81ca58a7b41f71c0a6b25d9ab9246c4043abf71f7afaf217d51a796f2207c2321583ddd14845248c9f1a jquery-rails-3.1.4.gem" diff --git a/unmaintained/ruby-kgio/APKBUILD b/unmaintained/ruby-kgio/APKBUILD deleted file mode 100644 index 1af6c5cbc6..0000000000 --- a/unmaintained/ruby-kgio/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Carlo Landmeter -_gemname=kgio -pkgname=ruby-kgio -pkgver=2.9.3 -pkgrel=0 -pkgdesc="Provides non-blocking I/O methods for Ruby" -url="http://bogomips.org/kgio" -arch="all" -license="MIT" -depends="ruby" -depends_dev="ruby-dev" -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="5e2dbf2f165b06c31b8c1be4fcd7b587 kgio-2.9.3.gem" -sha256sums="bb5c6f9ed37ec727a7cfaced9de3ce39d3801c158ada82d73c7232de7303f41d kgio-2.9.3.gem" -sha512sums="9859b6ea1ef42fbb9227c59d163f1e2144f8809734d0924c9e7751946da7349e2cfa26eeae1018b65c03260fbde5e424123985d3cb21ebefe630f4dead8fc822 kgio-2.9.3.gem" diff --git a/unmaintained/ruby-loofah/APKBUILD b/unmaintained/ruby-loofah/APKBUILD deleted file mode 100644 index 7e2128167c..0000000000 --- a/unmaintained/ruby-loofah/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: Kaarle Ritvanen -_gemname=loofah -pkgname=ruby-$_gemname -pkgver=2.0.2 -pkgrel=0 -pkgdesc="Declare job classes that can be run by a variety of queueing backends" -url=http://rubygems.org/gems/$_gemname -arch=noarch -license=MIT -depends="ruby ruby-nokogiri" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="88a4da54c5a88641b6f2f691524527fa loofah-2.0.2.gem" -sha256sums="1ab5fb9a1dca7b955e75d582f57d236de46430ab5c5b5a33987c04d3ec93ccc7 loofah-2.0.2.gem" -sha512sums="f61b853847bd0dfecada1d8eb4f0ab1b179c804f0ac7c74f927a8275f6d1e9fb35456abdaa0ca3f81d8281f31c77088757fe2f994332ce0a742bb89fb1d2986c loofah-2.0.2.gem" diff --git a/unmaintained/ruby-mail/APKBUILD b/unmaintained/ruby-mail/APKBUILD deleted file mode 100644 index 835a28bdff..0000000000 --- a/unmaintained/ruby-mail/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=mail -pkgname=ruby-$_gemname -pkgver=2.6.3 -pkgrel=0 -pkgdesc="A really Ruby Mail handler" -url="http://github.com/mikel/mail" -arch="noarch" -license="MIT" -depends="ruby ruby-mime-types" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="b3a0b74bc1c5cc67e34007c27ef1e579 mail-2.6.3.gem" -sha256sums="d7fee1ec4e4ea9bb38b77de5baf53c17004133efcdff030bd1de5e3620306fd9 mail-2.6.3.gem" -sha512sums="79a3f82b91c741e1f4c1d8e824c9623e6f03508e2f5d2a9fa17788b2b90690b2564a888e24feb82ab3dfda938aed412dadc4d474163eaf5f8e26c48894642faf mail-2.6.3.gem" diff --git a/unmaintained/ruby-mechanize/APKBUILD b/unmaintained/ruby-mechanize/APKBUILD deleted file mode 100644 index 1a48982479..0000000000 --- a/unmaintained/ruby-mechanize/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -_gemname=mechanize -pkgname=ruby-mechanize -pkgver=2.7.3 -pkgrel=1 -pkgdesc="The Mechanize library is used for automating interaction with websites" -url="http://mechanize.rubyforge.org" -arch="noarch" -license="MIT" -depends="ruby ruby-net-http-digest_auth ruby-domain_name ruby-http-cookie - ruby-mime-types ruby-nokogiri ruby-ntlm-http ruby-webrobots - ruby-net-http-persistent" -depends_dev="ruby-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - - -md5sums="55efbdf26bf87bd6aebb360eb30649c2 mechanize-2.7.3.gem" -sha256sums="3de7f3c2799be07b2788c8226e73cf9120a04ae79602c5bab2de6287e4575302 mechanize-2.7.3.gem" -sha512sums="5a06f1e7a1c97f985f3011358061c631bcc69e3092082959f738670c9491f734bc6dbbca321018fa484ee493f2f251b8af0cf17602fe381d491ff3e18663f2eb mechanize-2.7.3.gem" diff --git a/unmaintained/ruby-metaclass/APKBUILD b/unmaintained/ruby-metaclass/APKBUILD deleted file mode 100644 index d0aeba80cb..0000000000 --- a/unmaintained/ruby-metaclass/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=metaclass -pkgname=ruby-$_gemname -pkgver=0.0.4 -pkgrel=1 -pkgdesc="Adds a metaclass method to all Ruby objects" -url="http://github.com/floehopper/metaclass" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="d1be0d91647fe95df6232b30a2813bec metaclass-0.0.4.gem" -sha256sums="8569685c902108b1845be4e5794d646f2a8adcb0280d7651b600dab0844fe942 metaclass-0.0.4.gem" -sha512sums="67326faf2384e53a2a1096f499cb6af35e5a7d5928eefeef81bae0519739aef78da6e196b62e904fb3247dd09d1bb3411e227473c155e7a8c20420408107e325 metaclass-0.0.4.gem" diff --git a/unmaintained/ruby-mime-types/APKBUILD b/unmaintained/ruby-mime-types/APKBUILD deleted file mode 100644 index bb4c240bcf..0000000000 --- a/unmaintained/ruby-mime-types/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=mime-types -pkgname=ruby-$_gemname -pkgver=2.6.1 -pkgrel=0 -pkgdesc="Ruby library for identification of a file's likely MIME content type" -url="http://mime-types.rubyforge.org/" -arch="noarch" -license="ruby or Perl Artistic or GPLv2+" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="c6eb79803c29ce8be408f18df5bf361c mime-types-2.6.1.gem" -sha256sums="5b16d655397aa5cd8b4108494f60f64b4e18a2c92dc9257ff74ec64284dbd9ee mime-types-2.6.1.gem" -sha512sums="1986dfa92126f8f8dfdd5ee220f9a1220b844e1c73b95378c3f3801fe793f5799065a77d23a82d8fabcef82b9d179b0b56017f2952064fa019a418d0de55e9fe mime-types-2.6.1.gem" diff --git a/unmaintained/ruby-mini_portile/APKBUILD b/unmaintained/ruby-mini_portile/APKBUILD deleted file mode 100644 index fac7cba0e5..0000000000 --- a/unmaintained/ruby-mini_portile/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: Kaarle Ritvanen -_gemname=mini_portile -pkgname=ruby-$_gemname -pkgver=0.6.2 -pkgrel=0 -pkgdesc="Simplistic port-like solution for developers" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="281cc0d974d3810d1195ad4a863ba5b6 mini_portile-0.6.2.gem" -sha256sums="5c60cd85db3df6b279e9a6807954c596dc0ced359a10fcd9b49969a6aa8d7d40 mini_portile-0.6.2.gem" -sha512sums="fd6ce49b5db291e8216f001e4a3bd14d69a920d6d457de7566f7526abf616dad3ec86d4951ab4b881ffd185b4d4e02e64eb2ae494cd9a1275e342b78afa4e2bc mini_portile-0.6.2.gem" diff --git a/unmaintained/ruby-mocha/APKBUILD b/unmaintained/ruby-mocha/APKBUILD deleted file mode 100644 index 7007707300..0000000000 --- a/unmaintained/ruby-mocha/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=mocha -pkgname=ruby-$_gemname -pkgver=1.1.0 -pkgrel=1 -pkgdesc="Mocking and stubbing library with JMock/SchMock syntax" -url="http://gofreerange.com/mocha/docs" -arch="noarch" -license="MIT" -depends="ruby ruby-metaclass" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="191449b906fcffca8526f1203028b8e2 mocha-1.1.0.gem" -sha256sums="f1d3385b5bed21bdcdcb9d26fd10139b2c7a67b1572e789ec014edf5acadf680 mocha-1.1.0.gem" -sha512sums="5a07c8364ae649a6be821c4b61c349d79e1dbf1e574ed95b07848f5dae3a2860e2f2e06499fc15b8352ec2146f273cc40ee8e65e670214f0f0669b6eedf698bb mocha-1.1.0.gem" diff --git a/unmaintained/ruby-mustache/APKBUILD b/unmaintained/ruby-mustache/APKBUILD deleted file mode 100644 index 840ba10852..0000000000 --- a/unmaintained/ruby-mustache/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=mustache -pkgname=ruby-$_gemname -pkgver=0.99.5 -pkgrel=0 -pkgdesc="Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="fa5bb8c782febd55b2f4f47809b40acf mustache-0.99.5.gem" -sha256sums="c84be205017ada80aa4d4ad16b7af4bd89f840b26125a0e8eead5a914d279005 mustache-0.99.5.gem" -sha512sums="fa85db8a2d0beea5bac93bf4214db0b65d275b7a01b4a16dbfcab0084d6a7701060d7b7cf090901830fbae2db5caa1973af427396407040053af9966782b55ef mustache-0.99.5.gem" diff --git a/unmaintained/ruby-mysql2/APKBUILD b/unmaintained/ruby-mysql2/APKBUILD deleted file mode 100644 index cba50d3bdd..0000000000 --- a/unmaintained/ruby-mysql2/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Łukasz Jendrysik -# Maintainer: Carlo Landmeter -pkgname=ruby-mysql2 -_gemname=mysql2 -pkgver=0.3.20 -pkgrel=0 -pkgdesc="A simple, fast Mysql library for Ruby, binding to libmysql" -url="https://github.com/brianmario/mysql2" -arch="all" -license="MIT" -depends="ruby" -depends_dev="ruby-dev mariadb-dev" -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="d2ae5e63810294d501663d9b0869892c mysql2-0.3.20.gem" -sha256sums="37166b21ca4b92a7af9bea566d78884b05391cfc14f786c18e7f264b422f0758 mysql2-0.3.20.gem" -sha512sums="65088e57b3693cb2b28cd37fc595de43edb85dba14421c1c43cd0c4e41efc0a8a39bd541213170af95e712998b44411a4212d9b96750207ed9d7292aa1e66c91 mysql2-0.3.20.gem" diff --git a/unmaintained/ruby-net-http-digest_auth/APKBUILD b/unmaintained/ruby-net-http-digest_auth/APKBUILD deleted file mode 100644 index 87e7d4e05f..0000000000 --- a/unmaintained/ruby-net-http-digest_auth/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=net-http-digest_auth -pkgname=ruby-$_gemname -pkgver=1.4 -pkgrel=0 -pkgdesc="An implementation of RFC 2617 - Digest Access Authentication" -arch="noarch" -url="http://github.com/drbrain/net-http-digest_auth" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="ebad32b9ca084122546b7893c2d8f8e7 net-http-digest_auth-1.4.gem" -sha256sums="11f7a8c13e801455dedd8864339d5fcd6536949b99ec9b3eae193c32f20b0091 net-http-digest_auth-1.4.gem" -sha512sums="a743b278bba44541835f28ed86f94a907f7b48e8f314f0cbe6e14888a1d723c0d60cd4bbde5ac02cd263d91a5803021d9fa073d55077ac2b4c2767ebb65624cd net-http-digest_auth-1.4.gem" diff --git a/unmaintained/ruby-net-http-persistent/APKBUILD b/unmaintained/ruby-net-http-persistent/APKBUILD deleted file mode 100644 index 24783cf60b..0000000000 --- a/unmaintained/ruby-net-http-persistent/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=net-http-persistent -pkgname=ruby-$_gemname -pkgver=2.9.4 -pkgrel=0 -pkgdesc="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8" -arch="noarch" -url="http://docs.seattlerb.org/net-http-persistent" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="61cb21cccc85ddca77ee58af25bcf51f net-http-persistent-2.9.4.gem" -sha256sums="24274d207ffe66222ef70c78a052c7ea6e66b4ff21e2e8a99e3335d095822ef9 net-http-persistent-2.9.4.gem" -sha512sums="9251e8422c2f43e7ecd8bc287fa9fff682fac84ed95d143425b0e7e7678a06c9be01db56e6a956588d6c33ddccbd1eff45a6f399f43d452de8e3134e6c50b74e net-http-persistent-2.9.4.gem" diff --git a/unmaintained/ruby-net-ldap/APKBUILD b/unmaintained/ruby-net-ldap/APKBUILD deleted file mode 100644 index a33644ad52..0000000000 --- a/unmaintained/ruby-net-ldap/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=net-ldap -pkgname=ruby-net-ldap -pkgver=0.12.1 -pkgrel=0 -pkgdesc="Ruby ldap client" -url="http://rubyldap.com/" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="3e15c0180861ed9b9567f5ac919d4bf8 net-ldap-0.12.1.gem" -sha256sums="864ce59bc51ab5a83a344a477a07def3b9691dd8a2b11f52dca3af45e707327c net-ldap-0.12.1.gem" -sha512sums="013a66a0fa7e6027c5f31776d136294161936ae7dc2ec86a5342a2a2d575e5764ab06e11a7532c56e5c4ce95ab91a2ab4cc8628e6f1fcc879b9282c08142c31a net-ldap-0.12.1.gem" diff --git a/unmaintained/ruby-network_interface/APKBUILD b/unmaintained/ruby-network_interface/APKBUILD deleted file mode 100644 index ed29c9f7fe..0000000000 --- a/unmaintained/ruby-network_interface/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -_gemname=network_interface -pkgname=ruby-network_interface -pkgver=0.0.1 -pkgrel=0 -pkgdesc="Library to get network interface information" -url="https://github.com/rapid7/network_interface" -arch="all" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/rapid7/network_interface/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} -md5sums="b47a881487d00b17e069428211964089 ruby-network_interface-0.0.1.tar.gz" -sha256sums="fde6087592fee72602cc570361429fb416cac4b8c762860373ae5d060e584f8e ruby-network_interface-0.0.1.tar.gz" -sha512sums="d6ef7b82b2e3b4834b1eede2734bbef80c5a635ac62db33b3b3ba5660910c4cbc38c270e3b4e5be039217ba20e7064da172869cf7553a62db9526bcb43bf1013 ruby-network_interface-0.0.1.tar.gz" diff --git a/unmaintained/ruby-ntlm-http/APKBUILD b/unmaintained/ruby-ntlm-http/APKBUILD deleted file mode 100644 index 757e2cc044..0000000000 --- a/unmaintained/ruby-ntlm-http/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=ntlm-http -pkgname=ruby-$_gemname -pkgver=0.1.1 -pkgrel=0 -pkgdesc="Ruby/NTLM HTTP library." -arch="noarch" -url="http://www.mindflowsolutions.net" -license="UNKNOWN" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} -md5sums="b505e299b6d4a34d54d57b0b24134be2 ntlm-http-0.1.1.gem" -sha256sums="66b463ce8a9bf720045786df26cfec4a800f91fb7847af83f2fc209e9d0ba07b ntlm-http-0.1.1.gem" -sha512sums="1d2868582a194fb3a3dcb48a7dfb031014e51a93d57afb83aaef98be8e57789506b71e6440770ca7bc48979d9dd730f398d01d554d6d0575ff01046a227c7669 ntlm-http-0.1.1.gem" diff --git a/unmaintained/ruby-openid/APKBUILD b/unmaintained/ruby-openid/APKBUILD deleted file mode 100644 index c5c61cdf27..0000000000 --- a/unmaintained/ruby-openid/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ruby-openid -_gemname=ruby-openid -# redmine 3.0 needs ~> 2.3.0 -pkgver=2.3.0 -pkgrel=0 -pkgdesc="OpenID support for Ruby" -url="http://rubygems.org/gems/openid" -arch="noarch" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="1e1374cdcd9e7b88d7db3a25d46197f2 ruby-openid-2.3.0.gem" -sha256sums="f69ed004e95f7094e23bfd8bc9ebfb1dc88a7b46637252ca2907a1189870ea7b ruby-openid-2.3.0.gem" -sha512sums="8cf46b4d6e2722f0a34ecc57858f23fe02b10d0f99a646adee5e07b129aa80ce256a79bea513922b4238bc312478cf395261733863af300d8dbda9f12aaf03f7 ruby-openid-2.3.0.gem" diff --git a/unmaintained/ruby-pg/APKBUILD b/unmaintained/ruby-pg/APKBUILD deleted file mode 100644 index ca4afdf3d8..0000000000 --- a/unmaintained/ruby-pg/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ruby-pg -_gemname=pg -# redmine 3.0 needs ~> 0.17.1 -pkgver=0.17.1 -pkgrel=1 -pkgdesc="PostgreSQL API module for Ruby" -url="http://rubygems.org/gems/ruby-pg" -arch="all" -license="GPL" -depends="ruby" -depends_dev="postgresql-dev ruby-dev" -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="0e81551ebe2d8504e99abcf29b243857 pg-0.17.1.gem" -sha256sums="e7933e8f7f184c28e820ed85ddfb3ad8a13933b2b2ab8656aa8f81cb0aa610a6 pg-0.17.1.gem" -sha512sums="fb637256d084af3b41ba4130f866924df957a63c29d029b99995bf553e545b3d4064e682b00d0604bf495a853a8800b9c8eba34718e96c651c9a697281ae4a62 pg-0.17.1.gem" diff --git a/unmaintained/ruby-polyglot/APKBUILD b/unmaintained/ruby-polyglot/APKBUILD deleted file mode 100644 index 7a8ed8fafe..0000000000 --- a/unmaintained/ruby-polyglot/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=polyglot -pkgname=ruby-$_gemname -pkgver=0.3.5 -pkgrel=1 -pkgdesc="Augment 'require' to load non-ruby file types" -url="https://github.com/cjheath/polyglot" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="5fff8b0cfb2b36d885b90d271802a7c5 polyglot-0.3.5.gem" -sha256sums="59d66ef5e3c166431c39cb8b7c1d02af419051352f27912f6a43981b3def16af polyglot-0.3.5.gem" -sha512sums="405790c8edf5a98010334a62f7efeddd60f6dcff91ad5ff599579be3201a7e1b359787da59523a612fed5ccf8385116865316fa8872f0350e33dc078410a54cf polyglot-0.3.5.gem" diff --git a/unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch b/unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch deleted file mode 100644 index 3779295bda..0000000000 --- a/unmaintained/ruby-posix-spawn/0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch +++ /dev/null @@ -1,32 +0,0 @@ -From d8872a3274bb6d5b0ab327c4b85792009970c841 Mon Sep 17 00:00:00 2001 -From: Natanael Copa -Date: Tue, 27 May 2014 15:20:28 +0200 -Subject: [PATCH] Only use POSIX_SPAWN_USEVFORK if defined or if GNU libc - -musl libc does not have it - -fixes #54 ---- - ext/posix-spawn.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/ext/posix-spawn.c b/ext/posix-spawn.c -index 501423d..29101f8 100644 ---- a/ext/posix-spawn.c -+++ b/ext/posix-spawn.c -@@ -396,9 +396,9 @@ rb_posixspawn_pspawn(VALUE self, VALUE env, VALUE argv, VALUE options) - sigemptyset(&mask); - posix_spawnattr_setsigmask(&attr, &mask); - --#if defined(POSIX_SPAWN_USEVFORK) || defined(__linux__) -- /* Force USEVFORK on linux. If this is undefined, it's probably because -- * you forgot to define _GNU_SOURCE at the top of this file. -+#if defined(POSIX_SPAWN_USEVFORK) || defined(__GLIBC__) -+ /* Force USEVFORK on GNU libc. If this is undefined, it's probably -+ * because you forgot to define _GNU_SOURCE at the top of this file. - */ - flags |= POSIX_SPAWN_USEVFORK; - #endif --- -1.9.3 - diff --git a/unmaintained/ruby-posix-spawn/APKBUILD b/unmaintained/ruby-posix-spawn/APKBUILD deleted file mode 100644 index ae3edb189e..0000000000 --- a/unmaintained/ruby-posix-spawn/APKBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=posix-spawn -pkgname=ruby-$_gemname -pkgver=0.3.8 -pkgrel=1 -pkgdesc="posix-spawn uses posix_spawnp(2) for faster process spawning" -url="http://rubygems.org/gems/$_gemname" -arch="all" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem - 0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch - " - -_builddir="$srcdir"/$_realname-$pkgver - -prepare() { - cd "$srcdir" - gem unpack $_gemname-$pkgver.gem || return 1 - rm $_gemname-$pkgver.gem - cd $_gemname-$pkgver || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - gem build $_gemname.gemspec - mv *.gem .. || return 1 -} - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="bcde276ff03e0f80c42981bb1c3cfcf8 posix-spawn-0.3.8.gem -ab5beb84d3950d6b6a327c8c9cb25fa0 0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch" -sha256sums="2185d0834e8a097178caaffb4955245a0ae6195ad764804c8d9f0814e2771469 posix-spawn-0.3.8.gem -1d5b769023142eca39351ac60795ab8976be7520ff11eda8f5365f0b4b651a23 0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch" -sha512sums="0a03cd8dd11ea3c61db2bff2ecefdfac66978a3a75d3e42aaa59203422fc36e3f03fbede13a71629f80d260e3e95cf24f84ab9f7353cf5816d3c8b630cc2945e posix-spawn-0.3.8.gem -59d171b4165d08eee8252a5a3d51c3806884a0a3dca12c01c7edcee4036b27f430a14792aaa12bb3764feaf70158986b67365572422f0b5075a94acac6555757 0001-Only-use-POSIX_SPAWN_USEVFORK-if-defined-or-if-GNU-l.patch" diff --git a/unmaintained/ruby-protected_attributes4.2/APKBUILD b/unmaintained/ruby-protected_attributes4.2/APKBUILD deleted file mode 100644 index 3e9eb65365..0000000000 --- a/unmaintained/ruby-protected_attributes4.2/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=protected_attributes -pkgname=ruby-${_gemname}4.2 -pkgver=1.0.9 -pkgrel=0 -pkgdesc="Protect attributes from mass assignment for rails 4.2" -url="https://github.com/rails/protected_attributes" -arch="noarch" -license="MIT" -depends="ruby ruby-activemodel4.2" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="6e0b5577d2d5a7cc23275dc9cc212152 protected_attributes-1.0.9.gem" -sha256sums="d35a1c8664a47bd83ae3e47b1cebdba5c678a2f9f3d20196f80fa5aed29abd14 protected_attributes-1.0.9.gem" -sha512sums="5317d8c7ebc70e3b3f465e82d0e1c6565815d5f2a9fa58269dec7e1b7d97a5b6ca02b69c5141ee2b38db6bd8c8482dc7258efff1822829c58c60390559f91f65 protected_attributes-1.0.9.gem" diff --git a/unmaintained/ruby-pry/APKBUILD b/unmaintained/ruby-pry/APKBUILD deleted file mode 100644 index 92dff57fc0..0000000000 --- a/unmaintained/ruby-pry/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -_gemname=pry -pkgname=ruby-pry -pkgver=0.10.3 -pkgrel=0 -pkgdesc="An IRB alternative and runtime developer console" -url="https://github.com/pry/pry/releases" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/pry/pry/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/$_gemname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 - install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} -md5sums="4f5b952197415d46e21b13a99bfd0193 ruby-pry-0.10.3.tar.gz" -sha256sums="55760dd7ead762deda51a2acb5340e41d15056eb590c8ea03e46482e59cdde87 ruby-pry-0.10.3.tar.gz" -sha512sums="5efec76414e6acf6e1f26f39296087a29a72b65b3fc365ad4ebd610b25d109253f2d325fe91508c8bd6eca67bdfe812b74dba8cf687a0fc4e0a5f9f6f6a93c7e ruby-pry-0.10.3.tar.gz" diff --git a/unmaintained/ruby-puma/APKBUILD b/unmaintained/ruby-puma/APKBUILD deleted file mode 100644 index 238adec32e..0000000000 --- a/unmaintained/ruby-puma/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ruby-puma -_gemname=puma -pkgver=3.2.0 -pkgrel=2 -pkgdesc="Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server" -url="http://puma.io/" -arch="all" -license="BSD" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem - $_gemname.confd - $_gemname.initd - " - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - mkdir -p "$pkgdir"/usr/bin - - ln -s $_gemdir/bin/puma "$pkgdir"/usr/bin/ || return 1 - ln -s $_gemdir/bin/pumactl "$pkgdir"/usr/bin/ || return 1 - - install -Dm644 "$srcdir"/$_gemname.confd \ - "$pkgdir"/etc/conf.d/$_gemname || return 1 - install -Dm755 "$srcdir"/$_gemname.initd \ - "$pkgdir"/etc/init.d/$_gemname || return 1 -} -md5sums="e1c66fa8d134bef5cfd680612238d725 puma-3.2.0.gem -623b3b79ca0dbb8c0877024b49c5cbc5 puma.confd -2ce1b6b52c7f138aa0b932a0c79a97da puma.initd" -sha256sums="eca7283e0558c3c6229b169c181973cfe4568a97955bacdeb2de793962b3ebae puma-3.2.0.gem -d386c3d1f4513387c740ef718d2a52bb112d42824af55e412baad885c15becef puma.confd -53566388af2a2567dcac0113d9862196d4fbc884f360d39ae72dd7147e0193b0 puma.initd" -sha512sums="58452a5460295795bb8200a907c87dbad7f173695fddc7d155a492f274a83d353d79d007eb9e88b73249bef1fe3737f006bf10ad2f4266b3dee28a7e8c86dbb8 puma-3.2.0.gem -f90c461f8a257cd7ce91c2d5f621db209d312547ece0a782cdf317c16dc2a49764722df41bffdc1a1e4a44a9711a1c4fed307aea8bb35b8c457d55df2521841d puma.confd -3ae546b1702cb4ebf19a3052722d1754d79ac95089ecb1c42c6fc0dfed8f88aa20ede7a36d47b50e64f83230a4efbdc5f3d4c89798a63ef7fe2de9c1cc7ee5ed puma.initd" diff --git a/unmaintained/ruby-puma/puma.confd b/unmaintained/ruby-puma/puma.confd deleted file mode 100644 index d7c0770116..0000000000 --- a/unmaintained/ruby-puma/puma.confd +++ /dev/null @@ -1,5 +0,0 @@ -# puma options -puma_args="-e production" -puma_user="nobody" -puma_group="www-data" -puma_approot="" diff --git a/unmaintained/ruby-puma/puma.initd b/unmaintained/ruby-puma/puma.initd deleted file mode 100644 index 600dffe1e3..0000000000 --- a/unmaintained/ruby-puma/puma.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -name=puma -command=/usr/bin/puma -pidfile=/var/run/puma/puma.pid -command_args="--daemon --pidfile $pidfile ${puma_args}" -start_stop_daemon_args="--background --user $puma_user --group $puma_group --chdir $puma_approot" - -depend() { - use logger dns - need net - after firewall -} - -start_pre() { - checkpath --directory --owner $puma_user:$puma_group --mode 0775 \ - /var/run/$name -} - diff --git a/unmaintained/ruby-rack-cache/APKBUILD b/unmaintained/ruby-rack-cache/APKBUILD deleted file mode 100644 index d3402f961e..0000000000 --- a/unmaintained/ruby-rack-cache/APKBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=rack-cache -pkgname=ruby-$_gemname -pkgver=1.2 -pkgrel=3 -pkgdesc="HTTP caching for Rack-based applications" -url="http://rubygems.org/gems/rack-cache" -arch="noarch" -license="MIT" -depends="ruby ruby-rack" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="ccdcdd7302394e05d3033d683b658556 rack-cache-1.2.gem" diff --git a/unmaintained/ruby-rack-openid/APKBUILD b/unmaintained/ruby-rack-openid/APKBUILD deleted file mode 100644 index 6b778076a3..0000000000 --- a/unmaintained/ruby-rack-openid/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=rack-openid -pkgname=ruby-rack-openid -pkgver=1.4.2 -pkgrel=1 -pkgdesc="Provides a more HTTPish API around the ruby-openid library" -url="https://github.com/josh/rack-openid" -arch="noarch" -license="MIT" -depends="ruby ruby-openid ruby-rack" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="86caa946de1badc1dd096357855a6fec rack-openid-1.4.2.gem" -sha256sums="8cd2305e738463a7da98791f9ac4df4cf3f6ed27908d982350430694ac2fe869 rack-openid-1.4.2.gem" -sha512sums="4496d7832c2978c6613be050be0d65611b6ce9b5687db4dcf4cd2d81e7161d68073d2958169284414bedc0859f2bb3b4ebdf21e6e3e9e3d54931b075dcfbe77f rack-openid-1.4.2.gem" diff --git a/unmaintained/ruby-rack-protection/APKBUILD b/unmaintained/ruby-rack-protection/APKBUILD deleted file mode 100644 index 84b80434fd..0000000000 --- a/unmaintained/ruby-rack-protection/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=rack-protection -pkgname=ruby-$_gemname -pkgver=1.5.0 -pkgrel=1 -pkgdesc="Protections against typical web attacks" -url="https://rubygems.org/gems/sinatra" -arch="noarch" -license="GPL" -depends="ruby ruby-rack" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="bfbf7ac051bb0af8329c8ac65f296c67 rack-protection-1.5.0.gem" -sha256sums="92d005f3ed62b3241e8b4b738fd6cd8c8ad6fdba0a230d9ecf37dd2adc319583 rack-protection-1.5.0.gem" -sha512sums="1fe7026d20d63b144b73e8f4a4eed7b6dc042856fda0b4fedcc87f3232eb413439358349b6242acbd9cd7d23b2adc6b710c1e8762488cbd5d71e0ac2929c7695 rack-protection-1.5.0.gem" diff --git a/unmaintained/ruby-rack-ssl/APKBUILD b/unmaintained/ruby-rack-ssl/APKBUILD deleted file mode 100644 index c70a5633ec..0000000000 --- a/unmaintained/ruby-rack-ssl/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=rack-ssl -pkgname=ruby-$_gemname -pkgver=1.4.1 -pkgrel=1 -pkgdesc="Rack middleware to force SSL/TLS" -url="https://github.com/josh/rack-ssl" -arch="noarch" -license="MIT" -depends="ruby ruby-rack" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="3938e1e66436e69054584204d020bb9e rack-ssl-1.4.1.gem" -sha256sums="f7f9d359c13d563fd0fe3e4eced0b357d8ba0502c837839f7520502f27ee4130 rack-ssl-1.4.1.gem" -sha512sums="77eec500a973c86028d082edf3313ac220150dbe9b502958d8fd0829608c7de4ef8356534939543faa157d2dd57b755734f7fef927698f6acc1f8f3ecb8e737e rack-ssl-1.4.1.gem" diff --git a/unmaintained/ruby-rack-test/APKBUILD b/unmaintained/ruby-rack-test/APKBUILD deleted file mode 100644 index decf3f40aa..0000000000 --- a/unmaintained/ruby-rack-test/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=rack-test -pkgname=ruby-$_gemname -pkgver=0.6.3 -pkgrel=0 -pkgdesc="A small, simple testing API for Rack apps" -url="http://rubygems.org/gems/rack-test" -arch="noarch" -license="MIT" -depends="ruby ruby-rack" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="c7db48faa3d1887198f7ce56726990e8 rack-test-0.6.3.gem" -sha256sums="ff60b122e2940e32e94a2e4a61bceb8d9c99a97c1817ecc47e535522b02cdd40 rack-test-0.6.3.gem" -sha512sums="a5ad0f20130eedc153515127d2483cb1322c230ab772307943ec6eb295706f3aab26c8599cba69323b3cdc5692b284ba0609d8db957ade7085a95d94ccdf8b41 rack-test-0.6.3.gem" diff --git a/unmaintained/ruby-rack/APKBUILD b/unmaintained/ruby-rack/APKBUILD deleted file mode 100644 index 29579b5803..0000000000 --- a/unmaintained/ruby-rack/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Natanael Copa -pkgname=ruby-rack -_gemname=rack -pkgver=1.6.4 -pkgrel=0 -pkgdesc="Rack is a Ruby Webserver Interface" -url="http://rack.rubyforge.org/" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="7f11121a95fe4e59cd86af2b791a3590 rack-1.6.4.gem" -sha256sums="455ec4545a54b40dae9937bc5f61ee0e32134191cc1ef9a7959a19ec4b127a25 rack-1.6.4.gem" -sha512sums="304a6ae21bfd38008fd7d147f82c44397f3a1d2e689bd01de689aedc6ea0e8784605207fd314bc796974edc5dfcab81636664ea2becb0489302999f99501d41a rack-1.6.4.gem" diff --git a/unmaintained/ruby-rack14/APKBUILD b/unmaintained/ruby-rack14/APKBUILD deleted file mode 100644 index c60a27b83d..0000000000 --- a/unmaintained/ruby-rack14/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -pkgname=ruby-rack14 -_gemname=rack -pkgver=1.4.5 -pkgrel=1 -pkgdesc="Rack is a Ruby Webserver Interface" -url="http://rack.rubyforge.org/" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="6661d225210f6b48f83fb279aba0a149 rack-1.4.5.gem" -sha256sums="f7bf3faa8e09a2ff26475372de36a724e7470d6bdc33d189a0ec34b49605f308 rack-1.4.5.gem" -sha512sums="061e7134a845b1ad4371b17aec2aae15add75fa6ff26b4440102e11962b18d8f89b0598ee2497a3caa2677b84f42929d901afb5b1c6db1748716f16a6039574f rack-1.4.5.gem" diff --git a/unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD b/unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD deleted file mode 100644 index de5b4795dd..0000000000 --- a/unmaintained/ruby-rails-deprecated_sanitizer4.2/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: Kaarle Ritvanen -_gemname=rails-deprecated_sanitizer -pkgname=ruby-${_gemname}4.2 -pkgver=1.0.3 -pkgrel=1 -pkgdesc="Deprecated sanitizer API extracted from Action View" -url=http://rubyonrails.org/ -arch=noarch -license=MIT -depends="ruby ruby-activesupport4.2" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="c11a2be49ab18f4ca9734cbea5738506 rails-deprecated_sanitizer-1.0.3.gem" -sha256sums="722d589fc83dea0ea49e816440bacc554383dc9a05c8aee5429cf7f621abbe63 rails-deprecated_sanitizer-1.0.3.gem" -sha512sums="017ea5aac0ce1fe41e51e4e957c3ce0c4c44b92e50c81740529a86d915483b8755253138d918c556383ecf0469ac83a7d30aaf8947e4768be33c3695ef4afaf1 rails-deprecated_sanitizer-1.0.3.gem" diff --git a/unmaintained/ruby-rails-dom-testing4.2/APKBUILD b/unmaintained/ruby-rails-dom-testing4.2/APKBUILD deleted file mode 100644 index 5fbd6f8221..0000000000 --- a/unmaintained/ruby-rails-dom-testing4.2/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: Kaarle Ritvanen -_gemname=rails-dom-testing -pkgname=ruby-${_gemname}4.2 -pkgver=1.0.6 -pkgrel=0 -pkgdesc="Dom and Selector assertions for Rails applications" -url=http://rubyonrails.org/ -arch=noarch -license=MIT -depends="ruby - ruby-nokogiri - ruby-activesupport4.2 - ruby-rails-deprecated_sanitizer4.2 - " -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="84ca335a060038b939f5e4c3549da13a rails-dom-testing-1.0.6.gem" -sha256sums="a7b69cc95c84b5eb8e3fc6cd77726e409475415223c298647b61ffa33d849dd7 rails-dom-testing-1.0.6.gem" -sha512sums="56884897b6a2b890920c689412e92489e33979f1c7f55c0d1b82fb0256ca85a32c383f4924cad524e10f95bcc75bb16680ff05460082478491800e5ede71591e rails-dom-testing-1.0.6.gem" diff --git a/unmaintained/ruby-rails-html-sanitizer/APKBUILD b/unmaintained/ruby-rails-html-sanitizer/APKBUILD deleted file mode 100644 index 42ea34c06f..0000000000 --- a/unmaintained/ruby-rails-html-sanitizer/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: Kaarle Ritvanen -_gemname=rails-html-sanitizer -pkgname=ruby-$_gemname -pkgver=1.0.3 -pkgrel=0 -pkgdesc="HTML sanitization for Rails applications" -url=http://rubyonrails.org/ -arch=noarch -license=MIT -depends="ruby ruby-loofah" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="d13c644238baf23fb79d39c820c51a11 rails-html-sanitizer-1.0.3.gem" -sha256sums="a7da8eb4ce2e673ba909d36a94a9e06f196e88a92e76d01dfee3803d0d6a0e8d rails-html-sanitizer-1.0.3.gem" -sha512sums="84d91014384773389492d7cde0afcdc7e3324320970788d88861f89395d847d2599d1e645177f5301109194805ffb684f591e287f3e4280117738416655d934a rails-html-sanitizer-1.0.3.gem" diff --git a/unmaintained/ruby-rails4.2/APKBUILD b/unmaintained/ruby-rails4.2/APKBUILD deleted file mode 100644 index 965d3c1002..0000000000 --- a/unmaintained/ruby-rails4.2/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=rails -pkgname=ruby-rails4.2 -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="Ruby full-stack web framework" -url="http://rubyonrails.org/" -arch="noarch" -license="MIT" -depends="ruby - ruby-actionmailer4.2 - ruby-actionpack4.2 - ruby-actionview4.2 - ruby-activejob4.2 - ruby-activemodel4.2 - ruby-activerecord4.2 - ruby-activesupport4.2 - ruby-bundler - ruby-railties4.2 - ruby-sprockets-rails4.2 - " -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="e5078bbbf4e3d94bf41cee70ef5b4d77 rails-4.2.5.2.gem" -sha256sums="aa93c1b9eb8b535eee58280504e30237f88217699fe9bb016e458e5122eefa2e rails-4.2.5.2.gem" -sha512sums="6bb4b992e44bad01976ecf89c66060fcbef9a20de53da3450b8f9c3e0f8deebb9baf8255ba7f9588391905a9fd972fbb268a5c655489ad266fc13dcaf3417fb8 rails-4.2.5.2.gem" diff --git a/unmaintained/ruby-railties4.2/APKBUILD b/unmaintained/ruby-railties4.2/APKBUILD deleted file mode 100644 index f6c7ce19d3..0000000000 --- a/unmaintained/ruby-railties4.2/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=railties -pkgname=ruby-${_gemname}4.2 -pkgver=4.2.5.2 -pkgrel=0 -pkgdesc="Rails internals: application bootup, plugins, generators, and rake tasks" -url="http://www.rubyonrails.org/" -arch="noarch" -license="MIT" -depends="ruby ruby-actionpack4.2 ruby-activesupport4.2 - ruby-rake ruby-thor" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="e89156f674088447f22261b3872899a8 railties-4.2.5.2.gem" -sha256sums="cfff64cbc0e409341003c35fa2e576e6a8cd8259a9894d09f15c6123be73f146 railties-4.2.5.2.gem" -sha512sums="5857debf0518e7f39d4c55bafa207c36106797b1408ac6cb91c7593bd4dc0e4820ec8c4595e2cab56a910d001abf8d455e78d6f9a07b595454a3fde4c536520b railties-4.2.5.2.gem" diff --git a/unmaintained/ruby-raindrops/APKBUILD b/unmaintained/ruby-raindrops/APKBUILD deleted file mode 100644 index aeb21e046b..0000000000 --- a/unmaintained/ruby-raindrops/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Carlo Landmeter -_gemname=raindrops -pkgname=ruby-raindrops -pkgver=0.13.0 -pkgrel=1 -pkgdesc="A real-time stats toolkit to show statistics for Rack HTTP servers" -url="http://raindrops.bogomips.org" -arch="all" -license="MIT" -depends="ruby" -depends_dev="ruby-dev" -makedepends="$depends_dev ruby linux-headers" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="e159dc7f2e8e19fed7eee259460e9d4e raindrops-0.13.0.gem" -sha256sums="457c0280491a15b441a68f6271b1039f76c3eff79a55f2329eadf9cca38225ef raindrops-0.13.0.gem" -sha512sums="14c662319f030acf1664ecc6d51a3c2d002a96aa90eae7f5186a14b581ec2895b96ec2308025b51f19b9e133583bb3ece6cf07c4eeb434885b39d4ce12ede4a1 raindrops-0.13.0.gem" diff --git a/unmaintained/ruby-rbpdf-font/APKBUILD b/unmaintained/ruby-rbpdf-font/APKBUILD deleted file mode 100644 index 0699a07b1e..0000000000 --- a/unmaintained/ruby-rbpdf-font/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ruby-rbpdf-font -_gemname=rbpdf-font -pkgver=1.19.0 -pkgrel=0 -pkgdesc="RBPDF font files" -url="https://github.com/naitoh/rbpdf" -arch="noarch" -license="GPL" -depends="ruby ttf2ufm" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - # do not use the included ttf2ufm but use system one. - ln -sf /usr/bin/ttf2ufm \ - $pkgdir/$_geminstdir/lib/fonts/ttf2ufm/ttf2ufm || return 1 -} -md5sums="547e75d0a21e02e68c85484456086743 rbpdf-font-1.19.0.gem" -sha256sums="2304ff2605dd7bce2334aacee8526a9c865bb4c28e9ec8338a60f5d62017e89b rbpdf-font-1.19.0.gem" -sha512sums="215a2c99f90ba76a4b1da93a59787557bd326fe8a3e41bfe31bd8c9d7e9b763667f70e781b3bc47b2ae2c2d463836d034315bf2583cc8a6da48cbcde461322ec rbpdf-font-1.19.0.gem" diff --git a/unmaintained/ruby-rbpdf/APKBUILD b/unmaintained/ruby-rbpdf/APKBUILD deleted file mode 100644 index 94398304f2..0000000000 --- a/unmaintained/ruby-rbpdf/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Markus M. May -# Maintainer: Natanael Copa -_gemname=rbpdf -pkgname=ruby-$_gemname -pkgver=1.19.0 -pkgrel=0 -pkgdesc="A template plugin allowing the inclusion of ERB-enabled RBPDF template files" -url="https://rubygems.org/gems/rbpd" -arch="noarch" -license="MIT" -depends="ruby ruby-rbpdf-font ruby-htmlentities" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="2a04684fa0f26950418c670533b2241d rbpdf-1.19.0.gem" -sha256sums="6fb408bda05c81f27af4a73abd13a20de8b485a6b2752502645cf3d2cb9eb89c rbpdf-1.19.0.gem" -sha512sums="7c83334bd0069e3a5ebaa8d7037bb7eca0652df6a72afed0d1fb594fa2359830801ae59162df69ee1766bdbf39fe9b0e960d3b8d7a1eb6a7a63cf5b27dfb9dae rbpdf-1.19.0.gem" diff --git a/unmaintained/ruby-redcarpet/APKBUILD b/unmaintained/ruby-redcarpet/APKBUILD deleted file mode 100644 index 93c77b79a9..0000000000 --- a/unmaintained/ruby-redcarpet/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Markus M. May -# Maintainer: Natanael Copa -_gemname=redcarpet -pkgname=ruby-$_gemname -# redmine 3.0.5 needs ~> 3.3.2 -pkgver=3.3.4 -pkgrel=0 -pkgdesc="A fast, safe and extensible Markdown to (X)HTML parser" -url="http://github.com/vmg/redcarpet" -arch="all" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="ac276e95369ff2647a1e3caf6ffda8c6 redcarpet-3.3.4.gem" -sha256sums="6fbf59f8fa23f84497cfb9bd1601ec35fa32f400d9034bf861c15dbbc02d6813 redcarpet-3.3.4.gem" -sha512sums="8ef78c351d319b193167a5dc7b45fa39c81b02fe5c0d0102cbbeea2af85ed0b3e7a00b16a58596996739c2538ba3d95bc3e85d6614d85fb845c34891b4c407c2 redcarpet-3.3.4.gem" diff --git a/unmaintained/ruby-request_store/APKBUILD b/unmaintained/ruby-request_store/APKBUILD deleted file mode 100644 index db9b8d100d..0000000000 --- a/unmaintained/ruby-request_store/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=request_store -pkgname=ruby-$_gemname -pkgver=1.0.8 -pkgrel=0 -pkgdesc="RequestStore gives you per-request global storage" -url="http://github.com/steveklabnik/request_store" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="62a361429474b38a9b7caa2ab21f1891 request_store-1.0.8.gem" -sha256sums="94d66de06e7afaec3a7f58e230e7f7d2d8055a7ad6bcef9a36e99ce664ef1b86 request_store-1.0.8.gem" -sha512sums="7b3fa5f04dda7699744f2f3edd1db110070b58754e1f5ff049c273a6c409dbc90b9165d8cabb7e495f721852066f176ab7fa5b4061d8994a7b52838075f756d8 request_store-1.0.8.gem" diff --git a/unmaintained/ruby-require/APKBUILD b/unmaintained/ruby-require/APKBUILD deleted file mode 100644 index 221cddb777..0000000000 --- a/unmaintained/ruby-require/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -_gemname=require -pkgname=ruby-$_gemname -pkgver=0.2.7 -pkgrel=1 -pkgdesc="A dependencies manager" -url="http://github.com/winton/require" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="ruby-dev" -install="" -subpackages="" -source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="9a1caf852bf72ebf251bc1ceb6a3dec0 require-0.2.7.gem" -sha256sums="353fbb7f73faa1af266956999298e649e6ccd12a6d27397e813a9d6788ac1928 require-0.2.7.gem" -sha512sums="f732967d21e2e834809b661bb69f7750e311fc833a4113481788d5410b3041f791161a25167181e89354d841893d57682273d4dfa8bf3b2643d1e141af83a66c require-0.2.7.gem" diff --git a/unmaintained/ruby-roadie-rails/APKBUILD b/unmaintained/ruby-roadie-rails/APKBUILD deleted file mode 100644 index bea29656c8..0000000000 --- a/unmaintained/ruby-roadie-rails/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ruby-roadie-rails -_gemname=roadie-rails -pkgver=1.1.1 -pkgrel=0 -pkgdesc="Hooks Roadie into your Rails application to help with email generation" -url="http://github.com/Mange/roadie-rails" -arch="noarch" -license="MIT" -depends="ruby ruby-roadie ruby-railties4.2" -depends_dev="" -makedepends="$depends_dev ruby-dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} -md5sums="79cd8fdf88fc5d4f602c0de6f32361e6 roadie-rails-1.1.1.gem" -sha256sums="617ac9f34773d403577e398f8438f9ed34a7cc3b6e1cc6a88950e0ac6aa1afc3 roadie-rails-1.1.1.gem" -sha512sums="01c397b5c57dbfdff756a8b9c8cbe1707fad9b9287c15154f9825c9a8e35ea7bd8781dac26ff60a948ff0e319d26789b1d47ccc56b82fddfe179758823d1531b roadie-rails-1.1.1.gem" diff --git a/unmaintained/ruby-roadie/APKBUILD b/unmaintained/ruby-roadie/APKBUILD deleted file mode 100644 index 7327ad19f3..0000000000 --- a/unmaintained/ruby-roadie/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=ruby-roadie -_gemname=roadie -pkgver=3.1.1 -pkgrel=0 -pkgdesc="Making HTML emails comfortable for the Ruby rockstars" -url="https://github.com/Mange/roadie" -arch="noarch" -license="MIT" -depends="ruby ruby-css_parser ruby-nokogiri" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="a5b05077cb7acbc21033a768c47e1d64 roadie-3.1.1.gem" -sha256sums="2589cd3242456a40f7eee2c05f73fa752b429d38a0ef201f7c3cd527a3a61a9f roadie-3.1.1.gem" -sha512sums="f651bb823cf3dae7f69ef52774e5f3004bec177ca3e6eef6153cd8332371968316d35d2befe1122ed862d4bfba214f045052d417499eb6b3d18bdde8de006955 roadie-3.1.1.gem" diff --git a/unmaintained/ruby-rouge/APKBUILD b/unmaintained/ruby-rouge/APKBUILD deleted file mode 100644 index e78eb10c16..0000000000 --- a/unmaintained/ruby-rouge/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=rouge -pkgname=ruby-$_gemname -pkgver=1.3.4 -pkgrel=0 -pkgdesc="Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="cad6f9dd6113ab4d685354a51d3a0b65 rouge-1.3.4.gem" -sha256sums="d8e6828000425616ef08003e60a70736664b6182e76ab6ecd2c1810f0f219fe2 rouge-1.3.4.gem" -sha512sums="048e0249e43e49dd84452f87ca10c6f23aa2e9e2262b0b0bd5227f85b86039be9f411ade9c0cf891cc2a3e3a8e5ff4455820e22ffec56f25b7fcc444a04b512b rouge-1.3.4.gem" diff --git a/unmaintained/ruby-safe_yaml/APKBUILD b/unmaintained/ruby-safe_yaml/APKBUILD deleted file mode 100644 index ab6f70176b..0000000000 --- a/unmaintained/ruby-safe_yaml/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=safe_yaml -pkgname=ruby-$_gemname -pkgver=0.9.5 -pkgrel=1 -pkgdesc="Parse YAML safely, without that pesky arbitrary object deserialization vulnerability" -url="http://rubygems.org/gems/safe_yaml" -arch="noarch" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="bc039fdd750e4e8e8e8d87502734394e safe_yaml-0.9.5.gem" -sha256sums="f62a7f13eff175730fdca584af8e817491f4a6a6613dff27970577a7fcfd1277 safe_yaml-0.9.5.gem" -sha512sums="41f6ea9eeac760ab2bfaa7ae550a3ad39ddc9c0d7a17c02a48109c1217219340e14a8b1300b295e9b45dfa39538f3e9ec493a71800408f2dda6929bf1df5a498 safe_yaml-0.9.5.gem" diff --git a/unmaintained/ruby-sanitize/APKBUILD b/unmaintained/ruby-sanitize/APKBUILD deleted file mode 100644 index b532c9bb9b..0000000000 --- a/unmaintained/ruby-sanitize/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=sanitize -pkgname=ruby-$_gemname -pkgver=2.1.0 -pkgrel=0 -pkgdesc="Whitelist-based HTML sanitizer" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby ruby-nokogiri" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="de4969351643836ca2a48d010167ba03 sanitize-2.1.0.gem" -sha256sums="c3be075f5b38a1b02404be5778b181e50fba9ab253bac851cb217d9a71375b77 sanitize-2.1.0.gem" -sha512sums="29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096 sanitize-2.1.0.gem" diff --git a/unmaintained/ruby-sequel/APKBUILD b/unmaintained/ruby-sequel/APKBUILD deleted file mode 100644 index 45c11c7b3b..0000000000 --- a/unmaintained/ruby-sequel/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=sequel -pkgname=ruby-$_gemname -pkgver=3.48.0 -pkgrel=1 -pkgdesc="The Database Toolkit for Ruby" -url="https://rubygems.org/gems/$_gemname" -arch="noarch" -license="GPL" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="ce7ee00e08405b5e796c22be9c608ddf sequel-3.48.0.gem" -sha256sums="5ef9ef0b85dc686a610f55ffd18e0b3a432a1155f48ddec9894e5a01b0986360 sequel-3.48.0.gem" -sha512sums="e3444d35064d1df77edab1af694ebbb7e90c2bb524a47b16e8ece0560ab7249b8d6fe36d752af587d78c82d6e9b553e90a422432afe83073aefd4750cec45c92 sequel-3.48.0.gem" diff --git a/unmaintained/ruby-shoulda-context/APKBUILD b/unmaintained/ruby-shoulda-context/APKBUILD deleted file mode 100644 index abf2baa7cc..0000000000 --- a/unmaintained/ruby-shoulda-context/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -_gemname=shoulda-context -pkgname=ruby-shoulda-context -pkgver=1.1.5 -pkgrel=1 -pkgdesc="Context framework extracted from Shoulda" -url="https://github.com/thoughtbot/shoulda" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="ruby-dev" -install="" -subpackages="" -source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="e16c4038899f3c529f02aa8de0630e36 shoulda-context-1.1.5.gem" -sha256sums="151b7c22773a52fd97f0c565d79a35aefbf730509319b7eae743751c4255c31f shoulda-context-1.1.5.gem" -sha512sums="ad5a8cfe35d6aaac80c720e99245b066a6eafead0dd1caa4553eec26eeb004945eec14e21988d906e020bbcc435df5fab70ed6613a3ed0e3e9dc783aaec02cbd shoulda-context-1.1.5.gem" diff --git a/unmaintained/ruby-shoulda-matchers/APKBUILD b/unmaintained/ruby-shoulda-matchers/APKBUILD deleted file mode 100644 index 06a5a7f13f..0000000000 --- a/unmaintained/ruby-shoulda-matchers/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -_gemname=shoulda-matchers -pkgname=ruby-shoulda-matchers -pkgver=2.3.0 -pkgrel=1 -pkgdesc="Making tests easy on the fingers and eyes" -url="https://github.com/thoughtbot/shoulda" -arch="noarch" -license="MIT" -depends="ruby ruby-activesupport" -depends_dev="" -makedepends="ruby-dev" -install="" -subpackages="" -source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="1e744b07ff43eee61b060f3d3d4d8e82 shoulda-matchers-2.3.0.gem" -sha256sums="90b4419b54b272148f388a90f7f9f29181e3b8b694190491a3a301cab7a67e25 shoulda-matchers-2.3.0.gem" -sha512sums="cde2da35fbc9125541461d24cff573656dad3b1d320a30aeabf9a837599abc529a97264679e320e5000259e3a5d1892cea9119017f9c82d6a54f5f5c081748fe shoulda-matchers-2.3.0.gem" diff --git a/unmaintained/ruby-shoulda/APKBUILD b/unmaintained/ruby-shoulda/APKBUILD deleted file mode 100644 index 9f4845ce78..0000000000 --- a/unmaintained/ruby-shoulda/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -_gemname=shoulda -pkgname=ruby-shoulda -pkgver=3.5.0 -pkgrel=1 -pkgdesc="Making tests easy on the fingers and eyes" -url="https://github.com/thoughtbot/shoulda" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="ruby-dev" -install="" -subpackages="" -source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="a6b1c7be5f2674661edfbb04989035a3 shoulda-3.5.0.gem" -sha256sums="be7a69fb1dae41922ea8a5a8cdab148b3870b322ca5152b0b391d5a34a705533 shoulda-3.5.0.gem" -sha512sums="9f9b4c2fa5968bad0a03c5838ead637e89817f2608dfdf477d84d4cc8bf0a5e9ff905db6aec527fe36495729ec4073bc478500e8a13364824e354bb4ea28297a shoulda-3.5.0.gem" diff --git a/unmaintained/ruby-sinatra/APKBUILD b/unmaintained/ruby-sinatra/APKBUILD deleted file mode 100644 index c074426ba7..0000000000 --- a/unmaintained/ruby-sinatra/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=sinatra -pkgname=ruby-$_gemname -pkgver=1.4.3 -pkgrel=1 -pkgdesc="Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort." -url="https://rubygems.org/gems/sinatra" -arch="noarch" -license="GPL" -depends="ruby ruby-tilt ruby-rack ruby-rack-protection" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="669eeccc2d8ab4931668eaa555ca2e64 sinatra-1.4.3.gem" -sha256sums="1561dfa634e54e37a1d0cea2291a64f2d2dae34c1c4e875ab8e87b9df9b938a9 sinatra-1.4.3.gem" -sha512sums="b7021f0138abbf69fa276f0a84000f66cf320ab03d0c13073070f9976917232d3b6204660bfa1e8cbe3f43de35b023480d77555b79c31380eba8c4144a9153de sinatra-1.4.3.gem" diff --git a/unmaintained/ruby-sprockets-rails4.2/APKBUILD b/unmaintained/ruby-sprockets-rails4.2/APKBUILD deleted file mode 100644 index 5aa15ab9f9..0000000000 --- a/unmaintained/ruby-sprockets-rails4.2/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Kaarle Ritvanen -# Maintainer: Kaarle Ritvanen -_gemname=sprockets-rails -pkgname=ruby-${_gemname}4.2 -pkgver=2.3.2 -pkgrel=0 -pkgdesc="Sprockets Rails integration" -url=http://rubygems.org/gems/$_gemname -arch=noarch -license=MIT -depends="ruby ruby-actionpack4.2 ruby-activesupport4.2 - ruby-sprockets" -makedepends=ruby -source=http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="28010c218429ec0fd4f246be530496c3 sprockets-rails-2.3.2.gem" -sha256sums="cd3c2f55e7f1b3f95ef8b7bac05d7c38c8bcddc8acd03b67132fc7ce925162de sprockets-rails-2.3.2.gem" -sha512sums="3cc6f1f8f74795b23427b617ca455942e2ed781de2c2026489412357e22bd1c96d5ead1e8877d2c8579f32418511aa77ac91a58ed32997f910f8b6cf37e11f24 sprockets-rails-2.3.2.gem" diff --git a/unmaintained/ruby-sprockets/APKBUILD b/unmaintained/ruby-sprockets/APKBUILD deleted file mode 100644 index e8bf132822..0000000000 --- a/unmaintained/ruby-sprockets/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=sprockets -pkgname=ruby-$_gemname -pkgver=3.2.0 -pkgrel=0 -pkgdesc="Rack-based asset packaging system" -url="http://rubygems.org/gems/rack-test" -arch="noarch" -license="MIT" -depends="ruby ruby-rack" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="77c9db88e9cc82cde68e2e5caa9ccd4c sprockets-3.2.0.gem" -sha256sums="bc04b32486d0928258eac4095bcf263178f43f2673d13fbbb728c99378587a92 sprockets-3.2.0.gem" -sha512sums="e6dc72f1641f5c34af59fa34e6ddea34de9cd359509ab3cf4b363e14c9b58ce9397ceb42be6051617d4e1c25815b05a6d3c054584f08deae9605bc7a3a6bbbd9 sprockets-3.2.0.gem" diff --git a/unmaintained/ruby-spruz/APKBUILD b/unmaintained/ruby-spruz/APKBUILD deleted file mode 100644 index 57b6c8dc49..0000000000 --- a/unmaintained/ruby-spruz/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Matt Smith -# Maintainer: Matt Smith -pkgname=ruby-spruz -_gemname=spruz -pkgver=0.2.13 -pkgrel=1 -pkgdesc="All the stuff that isn't good/big enough for a real library." -url="http://rubygems.org/gems/spruz" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="ruby-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} -md5sums="06295f3d8047322201c2a1d1573c80ed spruz-0.2.13.gem" -sha256sums="c195d5f7c4199f289c88687cfe3561b15367ec262a7767374eb2d969b9fe2e7a spruz-0.2.13.gem" -sha512sums="544df856363e4d01b5bf7c37a5e92073e82a4b97607d0ca3e751353615a1321d0a4ade2ef503ab78e60491a12100e6b45d2ae3d1565d8fd91db47cffaf461629 spruz-0.2.13.gem" diff --git a/unmaintained/ruby-sqlite/APKBUILD b/unmaintained/ruby-sqlite/APKBUILD deleted file mode 100644 index 5cb344a091..0000000000 --- a/unmaintained/ruby-sqlite/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -pkgname=ruby-sqlite -_gemname=sqlite3 -pkgver=1.3.11 -pkgrel=0 -pkgdesc="SQLite API module for Ruby" -url="http://rubygems.org/gems/sqlite3" -arch="all" -license="GPL" -depends="ruby" -depends_dev="sqlite-dev ruby-dev" -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="1cb7c23bbb8890bffc9d4467c3b58eac sqlite3-1.3.11.gem" -sha256sums="de8ecdcc00a7af0cda98661ed94ce442964b9403b425e95c3ac4544b1f3720a7 sqlite3-1.3.11.gem" -sha512sums="02bef5f8f61d1f04c79d9032d62c9d708dddc2446dd256ad13f932ed4cae256d6c60f742a285bc4015ef5b1fb13e9541738f31fd270fe22320fc176525fe37bb sqlite3-1.3.11.gem" diff --git a/unmaintained/ruby-stringex/APKBUILD b/unmaintained/ruby-stringex/APKBUILD deleted file mode 100644 index 07cc1ac4f6..0000000000 --- a/unmaintained/ruby-stringex/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=stringex -pkgname=ruby-$_gemname -pkgver=2.5.2 -pkgrel=0 -pkgdesc="Some useful extensions to Ruby's String class" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="4ae12860b6e52396581546408f032778 stringex-2.5.2.gem" -sha256sums="27a8ee92a808a83284438e51ed391f3539ae6b39731b95cb4ad940974f6d0a94 stringex-2.5.2.gem" -sha512sums="06905b5d59b40f59c0901bbaacbf303cd906be110cd69a4b8cc29cecd69b6aa73d80cee0c9c0e2014f662b9fca1611c0fe334fcba3c4fa686224dac94f4e0d41 stringex-2.5.2.gem" diff --git a/unmaintained/ruby-test-unit/APKBUILD b/unmaintained/ruby-test-unit/APKBUILD deleted file mode 100644 index e8bd3f79ee..0000000000 --- a/unmaintained/ruby-test-unit/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -_gemname=test-unit -pkgname=ruby-test-unit -pkgver=2.5.5 -pkgrel=1 -pkgdesc="A xUnit family unit testing framework for Ruby" -url="http://test-unit.rubyforge.org" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="330ec9fb1cb03f869bbb20274672e297 test-unit-2.5.5.gem" -sha256sums="3216d6584293964c438e0573fa8f0273d12df2abb1c32d7a6aa427d6e0779d47 test-unit-2.5.5.gem" -sha512sums="4f710997d187011bc240ef869f5c86c11e01d9c7c8bee5fd938f194155137d7164e69bae6d63e41b90de8f7f6ab813a62131f2f9518d57b3913777923b491142 test-unit-2.5.5.gem" diff --git a/unmaintained/ruby-thin/APKBUILD b/unmaintained/ruby-thin/APKBUILD deleted file mode 100644 index 133f6e562d..0000000000 --- a/unmaintained/ruby-thin/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=thin -pkgname=ruby-$_gemname -pkgver=1.5.1 -pkgrel=1 -pkgdesc="A thin and fast web server" -url="https://rubygems.org/gems/$_gemname" -arch="all" -license="GPL" -depends="ruby ruby-daemons ruby-eventmachine ruby-rack" -depends_dev="ruby-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="acb76c790ed3704ed00b65ba726f929b thin-1.5.1.gem" -sha256sums="ea85c4c7d5b1bd29c4992757ccf8be0ddee9d4030f428db347f59a05474d3843 thin-1.5.1.gem" -sha512sums="70b7b37abbaadfba1ce1a317145b7f3a325b9eb921f0b8009f512846ccdc9394959949c591b5c72cc2ca748244446a409ce7eccb114866a2622451479e1eeeb7 thin-1.5.1.gem" diff --git a/unmaintained/ruby-thor/APKBUILD b/unmaintained/ruby-thor/APKBUILD deleted file mode 100644 index 2c0fd3a6f3..0000000000 --- a/unmaintained/ruby-thor/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=thor -pkgname=ruby-$_gemname -pkgver=0.19.1 -pkgrel=1 -pkgdesc="A scripting framework that replaces rake, sake and rubigen" -url="http://whatisthor.com/" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="d775969c49fec36377b918725aa33019 thor-0.19.1.gem" -sha256sums="9ff834f031b5550c743bb8a3139317fefdae9cdebd02d60de376658f427fe522 thor-0.19.1.gem" -sha512sums="e0ca18fd9916a6e14572859607d1d99bc49da662161923192b642a959bb7f679d389af4a5e9f8b9fdf865cb8fc70227eaafe2ca30fd1be70ca076552cd2eb9af thor-0.19.1.gem" diff --git a/unmaintained/ruby-thread_safe/APKBUILD b/unmaintained/ruby-thread_safe/APKBUILD deleted file mode 100644 index 2002c63fa7..0000000000 --- a/unmaintained/ruby-thread_safe/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: Kaarle Ritvanen -_gemname=thread_safe -pkgname=ruby-$_gemname -pkgver=0.3.5 -pkgrel=0 -pkgdesc="Thread-safe collections and utilities for Ruby " -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="366f12f1ef0a0ec746658fa8d1c4ef65 thread_safe-0.3.5.gem" -sha256sums="993da065f98b8575c537ebf984ffb79eecdb6064559a3b9d2a9d7aaf313704c3 thread_safe-0.3.5.gem" -sha512sums="35749e7e9f6a95115d86bbd7bd5cae92f64dbddc36caf5d5ab8bc23db75ade51c31b6b9ef5afac4cfc744cfa624a002468fc0727eff33b69aa80f7bb383df471 thread_safe-0.3.5.gem" diff --git a/unmaintained/ruby-tilt/APKBUILD b/unmaintained/ruby-tilt/APKBUILD deleted file mode 100644 index dac7107823..0000000000 --- a/unmaintained/ruby-tilt/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=tilt -pkgname=ruby-$_gemname -pkgver=1.4.1 -pkgrel=2 -pkgdesc="Generic interface to multiple Ruby template engines" -url="http://github.com/rtomayko/tilt/" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -md5sums="63f659f48d31c50d2565fb8b10554d8f tilt-1.4.1.gem" -sha256sums="39820562c4f5db45fe18de87ccc30a0e77a998bf5334b1d8c10a2f7dbc1f5903 tilt-1.4.1.gem" -sha512sums="10fec263596d0e18a7a1440a7edfa08a161526cc46cc70427bc251951c447c40b4a4e8675e9162a9ed288879682b4aceeeb35b48cf3f4925921025194543363f tilt-1.4.1.gem" diff --git a/unmaintained/ruby-tins/APKBUILD b/unmaintained/ruby-tins/APKBUILD deleted file mode 100644 index 3dc00fec05..0000000000 --- a/unmaintained/ruby-tins/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -_gemname=tins -pkgname=ruby-$_gemname -pkgver=0.9.0 -pkgrel=1 -pkgdesc="Useful ruby library for tools" -url="https://github.com/flori/tins" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="ruby-dev" -install="" -subpackages="" -source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="e6c378c48298bf304ca5f1908fe9ec3d tins-0.9.0.gem" -sha256sums="6cdd0469d8d8cf1ab5acea24a4dca2adb3c49e365171cd7cf28b2dd8bf3f249c tins-0.9.0.gem" -sha512sums="05dbebcefafdf6e65facdbd885cba83b8aa6454db14e12b6b59e88947f38b63954f3a1195ad3d04fd5d29890bdb7cf0a025f72a8a9694cef07a31fcc16170c94 tins-0.9.0.gem" diff --git a/unmaintained/ruby-treetop/APKBUILD b/unmaintained/ruby-treetop/APKBUILD deleted file mode 100644 index 8ac74be27f..0000000000 --- a/unmaintained/ruby-treetop/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=treetop -pkgname=ruby-$_gemname -pkgver=1.4.15 -pkgrel=2 -pkgdesc="A Ruby-based text parsing and interpretation DSL" -url="https://github.com/cjheath/treetop" -arch="noarch" -license="MIT" -depends="ruby ruby-polyglot" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="87f30c0684d7760dce9feac8ff8bd869 treetop-1.4.15.gem" -sha256sums="ffa68f201c0f62c26b0a1d13233d73194400596964696843f87ebb5d812f12ff treetop-1.4.15.gem" -sha512sums="350e3b4fc5236f5523e7ba7486699192a689d680e60687519ffdb8707241fce493a86713d1a0a1e243654c609e221b194e151c29bee9aa7cff71ab397223791b treetop-1.4.15.gem" diff --git a/unmaintained/ruby-tzinfo/APKBUILD b/unmaintained/ruby-tzinfo/APKBUILD deleted file mode 100644 index 952e5218f9..0000000000 --- a/unmaintained/ruby-tzinfo/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa -_gemname=tzinfo -pkgname=ruby-$_gemname -pkgver=1.2.2 -pkgrel=2 -pkgdesc="Ruby library to provide daylight savings aware transformations" -url="http://tzinfo.rubyforge.org/" -arch="noarch" -license="MIT" -depends="ruby ruby-thread_safe tzdata" -depends_dev= -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="972fe2c6d57be47edb144c51340fd428 tzinfo-1.2.2.gem" -sha256sums="fdb1d3fdf2776d490c82a0e589a08e7cbde70ac1ae7d2b1f0b7e77f3e6b801b0 tzinfo-1.2.2.gem" -sha512sums="717f5bda5a40e8225446c4ff413746a526682e5bb58e5047a2d1c8d0769cadaaca612d1f01c758fab5751f81f285156d77abbab08131de627a62def1a4e2eeb1 tzinfo-1.2.2.gem" diff --git a/unmaintained/ruby-unf-ext/APKBUILD b/unmaintained/ruby-unf-ext/APKBUILD deleted file mode 100644 index cdc5153ea1..0000000000 --- a/unmaintained/ruby-unf-ext/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=unf_ext -pkgname=ruby-$_gemname -pkgver=0.0.7.1 -pkgrel=1 -pkgdesc="Unicode Normalization Form support library for CRuby" -arch="all" -url="https://github.com/knu/ruby-unf_ext" -license="MIT" -depends="ruby" -makedepends="ruby-dev" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 - install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" -} - -md5sums="39bfbb9e124410f57a97d1837f02d42a unf_ext-0.0.7.1.gem" -sha256sums="ab58d1a808d38872817bea89fc3f055bfc250af48d9653425e35c7c18caec253 unf_ext-0.0.7.1.gem" -sha512sums="06239dc5870ad0f345266b12ad6ed9508ab731dfd37b450d0e1eae1ef8e8301f8ad1ef7fffbbcf69b56b0af5aa257ea279dda3a252bdf397d11949e9885db3d4 unf_ext-0.0.7.1.gem" diff --git a/unmaintained/ruby-unf/APKBUILD b/unmaintained/ruby-unf/APKBUILD deleted file mode 100644 index 16e36c4f8b..0000000000 --- a/unmaintained/ruby-unf/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=unf -pkgname=ruby-$_gemname -pkgver=0.1.4 -pkgrel=0 -pkgdesc="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby" -arch="noarch" -url="https://github.com/knu/ruby-unf" -license="'2-clause BSDL'" -depends="ruby ruby-unf_ext" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 - install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -md5sums="64009f92a131c50bc1a932dc50d562c6 unf-0.1.4.gem" -sha256sums="4999517a531f2a955750f8831941891f6158498ec9b6cb1c81ce89388e63022e unf-0.1.4.gem" -sha512sums="a4784afa8b852497f758d1b6cdcf095eb9e5397a36c97b1f22b53cf8077cfedbf83fdcda36f359acf59ba61f1ab8b706ddd31d097afbc98a40d2dbd0f934292b unf-0.1.4.gem" diff --git a/unmaintained/ruby-unicorn/APKBUILD b/unmaintained/ruby-unicorn/APKBUILD deleted file mode 100644 index 6068cb35b3..0000000000 --- a/unmaintained/ruby-unicorn/APKBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Maintainer: Carlo Landmeter -_gemname=unicorn -pkgname=ruby-unicorn -pkgver=4.8.3 -pkgrel=2 -pkgdesc="Unicorn is an HTTP server for Rack applications" -url="http://unicorn.bogomips.org" -arch="all" -license="MIT" -depends="ruby ruby-kgio ruby-rack ruby-raindrops" -depends_dev="ruby-dev" -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem - redmine.conf.rb.sample - unicorn.initd - unicorn.confd" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done - - install -Dm644 "$srcdir"/$_gemname.confd \ - "$pkgdir"/etc/conf.d/$_gemname - install -D -m755 "$srcdir"/$_gemname.initd \ - "$pkgdir"/etc/init.d/$_gemname - # install sample redmine config - install -D -m644 "$srcdir"/redmine.conf.rb.sample \ - "$pkgdir"/etc/unicorn/redmine.conf.rb.sample -} - -md5sums="d1f58658c7ad4e46c4f319cc715fb710 unicorn-4.8.3.gem -416e6d6c3e5f9f191d1e8c3975b0d4f5 redmine.conf.rb.sample -f32a54abc3df5273620bd493f314c3ee unicorn.initd -0745d4e1605ff961c83773613c68347d unicorn.confd" -sha256sums="44b74e46fc8cd67510ecc7fac31d4c8503955066781542b36f1d8a3ee316efce unicorn-4.8.3.gem -87a565f79a3f4b0544880af67c66e28fa0afdca9576191e725853da1159ec1f1 redmine.conf.rb.sample -41cc2f5235d15e2bf1676a35464013630aa0518773e1de21519fc1eceda54eee unicorn.initd -8b6c5aff19eb8234192f8df79f5c8c7a2325f8f26a90af97271bf126269dc93c unicorn.confd" -sha512sums="6c8a3c9331d380ebe6e9765a873a4ec37e91dc5e743af5f3d6814ffc19dabb64945994463bb64b7dc43e9a78160fa6f1e5b6c9e1f41b3a54089793f801c44e73 unicorn-4.8.3.gem -11abdc40c406e88c71feeb1bd6282534552f782398b694907e6afb266361e30091f4e9645e3ae9cc14bae68a4909cb087bbf0f6c13c3e26b41518565e942492d redmine.conf.rb.sample -eddf9b47c56c5962e7fe832f06ceecf3c4320ac00b39f8b06846bf542d5aaf9c78cded5a6e33675197593463d0192d4d61a7e14dea938b7227458c8c57d15a28 unicorn.initd -40931b0f41f8f19ed2bfee726c6abdf40e9ca03940ca6fa4db0c468b59409b99506dbad47316dec528ae7173b6bd3856ba80be1f45fa3995ed18efefed1c4ce1 unicorn.confd" diff --git a/unmaintained/ruby-unicorn/redmine.conf.rb.sample b/unmaintained/ruby-unicorn/redmine.conf.rb.sample deleted file mode 100644 index 6b47bd1356..0000000000 --- a/unmaintained/ruby-unicorn/redmine.conf.rb.sample +++ /dev/null @@ -1,103 +0,0 @@ -# Sample verbose configuration file for Unicorn (not Rack) -# -# This configuration file documents many features of Unicorn -# that may not be needed for some applications. See -# http://unicorn.bogomips.org/examples/unicorn.conf.minimal.rb -# for a much simpler configuration file. -# -# See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete -# documentation. - -# Use at least one worker per core if you're on a dedicated server, -# more will usually help for _short_ waits on databases/caches. -worker_processes 2 - -# Since Unicorn is never exposed to outside clients, it does not need to -# run on the standard HTTP port (80), there is no reason to start Unicorn -# as root unless it's from system init scripts. -# If running the master process as root and the workers as an unprivileged -# user, do this to switch euid/egid in the workers (also chowns logs): -# user "unprivileged_user", "unprivileged_group" -user "redmine", "redmine" - -# Help ensure your application will always spawn in the symlinked -# "current" directory that Capistrano sets up. -working_directory "/usr/share/webapps/redmine" # available in 0.94.0+ - -# listen on both a Unix domain socket and a TCP port, -# we use a shorter backlog for quicker failover when busy -listen "/var/run/unicorn.sock", :backlog => 64 -listen 8080, :tcp_nopush => true - -# nuke workers after 30 seconds instead of 60 seconds (the default) -#timeout 30 - -# feel free to point this anywhere accessible on the filesystem -pid "/var/run/unicorn.pid" - -# By default, the Unicorn logger will write to stderr. -# Additionally, ome applications/frameworks log to stderr or stdout, -# so prevent them from going to /dev/null when daemonized here: -stderr_path "/var/log/redmine/unicorn.log" -stdout_path "/var/log/redmine/unicorn.log" - -# combine Ruby 2.0.0dev or REE with "preload_app true" for memory savings -# http://rubyenterpriseedition.com/faq.html#adapt_apps_for_cow -preload_app true -GC.respond_to?(:copy_on_write_friendly=) and - GC.copy_on_write_friendly = true - -# Enable this flag to have unicorn test client connections by writing the -# beginning of the HTTP headers before calling the application. This -# prevents calling the application for connections that have disconnected -# while queued. This is only guaranteed to detect clients on the same -# host unicorn runs on, and unlikely to detect disconnects even on a -# fast LAN. -#check_client_connection false - -before_fork do |server, worker| - # the following is highly recomended for Rails + "preload_app true" - # as there's no need for the master process to hold a connection - defined?(ActiveRecord::Base) and - ActiveRecord::Base.connection.disconnect! - - # The following is only recommended for memory/DB-constrained - # installations. It is not needed if your system can house - # twice as many worker_processes as you have configured. - # - # # This allows a new master process to incrementally - # # phase out the old master process with SIGTTOU to avoid a - # # thundering herd (especially in the "preload_app false" case) - # # when doing a transparent upgrade. The last worker spawned - # # will then kill off the old master process with a SIGQUIT. - # old_pid = "#{server.config[:pid]}.oldbin" - # if old_pid != server.pid - # begin - # sig = (worker.nr + 1) >= server.worker_processes ? :QUIT : :TTOU - # Process.kill(sig, File.read(old_pid).to_i) - # rescue Errno::ENOENT, Errno::ESRCH - # end - # end - # - # Throttle the master from forking too quickly by sleeping. Due - # to the implementation of standard Unix signal handlers, this - # helps (but does not completely) prevent identical, repeated signals - # from being lost when the receiving process is busy. - # sleep 1 -end - -after_fork do |server, worker| - # per-process listener ports for debugging/admin/migrations - # addr = "127.0.0.1:#{9293 + worker.nr}" - # server.listen(addr, :tries => -1, :delay => 5, :tcp_nopush => true) - - # the following is *required* for Rails + "preload_app true", - defined?(ActiveRecord::Base) and - ActiveRecord::Base.establish_connection - - # if preload_app is true, then you may also want to check and - # restart any other shared sockets/descriptors such as Memcached, - # and Redis. TokyoCabinet file handles are safe to reuse - # between any number of forked children (assuming your kernel - # correctly implements pread()/pwrite() system calls) -end diff --git a/unmaintained/ruby-unicorn/unicorn.confd b/unmaintained/ruby-unicorn/unicorn.confd deleted file mode 100644 index 28e3df1a21..0000000000 --- a/unmaintained/ruby-unicorn/unicorn.confd +++ /dev/null @@ -1,4 +0,0 @@ -# unicorn configuration file -CONF="" -# app enviorment. ie developement,production -ENV="production" diff --git a/unmaintained/ruby-unicorn/unicorn.initd b/unmaintained/ruby-unicorn/unicorn.initd deleted file mode 100644 index daa4fa47a5..0000000000 --- a/unmaintained/ruby-unicorn/unicorn.initd +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/openrc-run - -gem_path=$(gem env gemdir) -name="unicorn_rails" -start_script="$gem_path/bin/$name" - -depend() { - use logger dns - need net - after firewall -} - -start() { - checkconfig || return 1 - - ebegin "Starting unicorn" - start-stop-daemon --start --quiet \ - $start_script -- \ - -D -E $ENV -c $CONF - eend $? -} - -stop() { - ebegin "Stopping unicorn" - start-stop-daemon --stop \ - --name $name - eend $? - sleep 1 -} - - -reload() { - ebegin "Reload unicorn" - start-stop-daemon --signal USR2 \ - --name $name - eend $? -} - -checkconfig() { - if [ -z "$CONF" ]; then - eerror "No configuration file set in confd!" - return 1 - fi -} diff --git a/unmaintained/ruby-useragent/APKBUILD b/unmaintained/ruby-useragent/APKBUILD deleted file mode 100644 index 048f77a1af..0000000000 --- a/unmaintained/ruby-useragent/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Seung Soo Mun -# Maintainer: -_gemname=useragent -pkgname=ruby-$_gemname -pkgver=0.10.0 -pkgrel=0 -pkgdesc="HTTP User Agent parser" -url="http://rubygems.org/gems/$_gemname" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="9a8ea3908e264411d2627f9886a30b18 useragent-0.10.0.gem" -sha256sums="f6e974ce08e777b9e2e81f48cc7e22762723335bfee15673a90c6589110b381a useragent-0.10.0.gem" -sha512sums="552d4ea3ffdff2f3c6cdd6e874928052884f42ad31c785630c28ff6f577079661a930e353ecc8ce2c6fbe56cf68335856e466756444ee539a877bba3963a7c04 useragent-0.10.0.gem" diff --git a/unmaintained/ruby-uuidtools/APKBUILD b/unmaintained/ruby-uuidtools/APKBUILD deleted file mode 100644 index 5b1f38597d..0000000000 --- a/unmaintained/ruby-uuidtools/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=uuidtools -pkgname=ruby-$_gemname -pkgver=2.1.4 -pkgrel=1 -pkgdesc="A simple universally unique ID generation library." -url="https://rubygems.org/gems/$_gemname" -arch="noarch" -license="GPL" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="953400be3260d2264cfb8fccbefa8967 uuidtools-2.1.4.gem" -sha256sums="439b6432ed2199490d133954e9c8bab273355d7653b9d2fd70259472a7850bf0 uuidtools-2.1.4.gem" -sha512sums="e813cfcafd61493e4050b82d30c52aa7e3d0b1dde332181da49d6180f880604eff32ee656cfb6c5b92fa7c79dcc2b1c983690b8f35b19604dec393fa3da5ae09 uuidtools-2.1.4.gem" diff --git a/unmaintained/ruby-webrobots/APKBUILD b/unmaintained/ruby-webrobots/APKBUILD deleted file mode 100644 index 7596c437a8..0000000000 --- a/unmaintained/ruby-webrobots/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista - -_gemname=webrobots -pkgname=ruby-$_gemname -pkgver=0.1.1 -pkgrel=0 -pkgdesc="A Ruby library to help write robots.txt compliant web robots" -arch="noarch" -url="https://github.com/knu/webrobots" -license="'2-clause BSDL'" -depends="ruby" -depends_dev= -makedepends="$depends_dev" -source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" -_builddir="$srcdir"/$_gemname-$pkgver - -build() { - mkdir -p "$_builddir" || return 1 - export _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 - install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" -} -md5sums="d2330caff6eb246b687cf8cdfdc06fdd webrobots-0.1.1.gem" -sha256sums="568c5e5a149c5e7fbd5065522bb986ddd8f147e8586818ab7e79d6a02e8496ca webrobots-0.1.1.gem" -sha512sums="f303c238620d17cb64064d11eb352d2afb32529f7092609484e5e232ccbc903683f89116a0e5232605b6d0286a4a76b82e71e44884a7b77d12125f3b3c6c5a34 webrobots-0.1.1.gem" diff --git a/unmaintained/ruby-xml-simple/APKBUILD b/unmaintained/ruby-xml-simple/APKBUILD deleted file mode 100644 index e071e5cd4d..0000000000 --- a/unmaintained/ruby-xml-simple/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=xml-simple -pkgname=ruby-$_gemname -pkgver=1.1.2 -pkgrel=1 -pkgdesc="A simple API for XML processing." -url="https://rubygems.org/gems/$_gemname" -arch="noarch" -license="GPL" -depends="ruby" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_realname-$pkgver - -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths -} - -md5sums="22a848ab8b47727997d0ef3b118f2c58 xml-simple-1.1.2.gem" -sha256sums="ab35af3264c9c7e4090dc8302914eec4f7eac3fd526847d82d53d023e762285a xml-simple-1.1.2.gem" -sha512sums="ad2bb25c8ca938d59529b0f510a68093e358f2b6e6871e0ed4452ef3e20c33656044ad9859b19fe403622f5f1ac0ac5a3ff4e6f2361273f907d69e5c64fb3cdd xml-simple-1.1.2.gem" diff --git a/unmaintained/ruby-yard/APKBUILD b/unmaintained/ruby-yard/APKBUILD deleted file mode 100644 index 4dae4b812f..0000000000 --- a/unmaintained/ruby-yard/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Natanael Copa -_gemname=yard -pkgname=ruby-yard -pkgver=0.8.7.6 -pkgrel=0 -pkgdesc="A documentation generation tool for Ruby" -url="http://yardoc.org" -arch="noarch" -license="MIT" -depends="ruby" -depends_dev="" -makedepends="ruby-dev" -install="" -subpackages="" -source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" - -_builddir="$srcdir"/$_gemname-$pkgver -build() { - mkdir -p "$_builddir" || return 1 - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ - --ignore-dependencies \ - --verbose \ - --no-rdoc \ - --no-ri \ - || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done -} - -package() { - mkdir -p "$pkgdir" || return 1 - cp -ra "$_builddir"/* "$pkgdir"/ || return 1 -} - -md5sums="55559a424c6bc58cba9a8affdbc86dc9 yard-0.8.7.6.gem" -sha256sums="3da10884b94fa25b7476f619b1d2cfb61290e10673965c545975630cd88a46b6 yard-0.8.7.6.gem" -sha512sums="678d0831bfcb08de413b8c776e6916d4314fd6f487e3b8bb2683f328eacc99d4251e6ca204ff6044cb542dee909e321cc552257b044eb8035102a28d83512080 yard-0.8.7.6.gem" diff --git a/unmaintained/salt-cloud/APKBUILD b/unmaintained/salt-cloud/APKBUILD deleted file mode 100644 index af2ebda01c..0000000000 --- a/unmaintained/salt-cloud/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=salt-cloud -pkgver=0.8.11 -pkgrel=0 -pkgdesc="Salt Cloud is a generic cloud provisioning tool" -url="https://github.com/saltstack/salt-cloud" -arch="noarch" -license="ASL 2.0" -depends="" -depends_dev="python-dev py-apache-libcloud py-paramiko py-yaml salt" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://pypi.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - python setup.py build || return 1 -} - -package() { - cd "$_builddir" - python setup.py install --root=$pkgdir/ --optimize=1 || return 1 -} - -md5sums="d3d04f269a0e2c82780136140ae1fa48 salt-cloud-0.8.11.tar.gz" -sha256sums="ced0678c70a1e2ae69d48abc8d5f10f03943b901de975781f310d75867828a1e salt-cloud-0.8.11.tar.gz" -sha512sums="5796a4989a917cd0d88a0b87ca33be1fa62fa170717bfdcef1f7879a659698c340a3f7002da3d1bcf11c154c3b6821dcab3cde23b8f8d0f719fffe59af534488 salt-cloud-0.8.11.tar.gz" diff --git a/unmaintained/samba36/100-configure_fixes.patch b/unmaintained/samba36/100-configure_fixes.patch deleted file mode 100644 index 16e35c8049..0000000000 --- a/unmaintained/samba36/100-configure_fixes.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/source3/configure -+++ b/source3/configure -@@ -13294,10 +13294,7 @@ if test x"$libreplace_cv_HAVE_GETADDRINF - # see bug 5910, use our replacements if we detect - # a broken system. - if test "$cross_compiling" = yes; then : -- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 --$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} --as_fn_error $? "cannot run test program while cross compiling --See \`config.log' for more details" "$LINENO" 5; } -+ $as_echo "assuming valid getaddrinfo without bug 5910" >&2 - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ diff --git a/unmaintained/samba36/110-multicall.patch b/unmaintained/samba36/110-multicall.patch deleted file mode 100644 index 22e6a3c1b3..0000000000 --- a/unmaintained/samba36/110-multicall.patch +++ /dev/null @@ -1,119 +0,0 @@ ---- a/source3/Makefile.in -+++ b/source3/Makefile.in -@@ -73,22 +73,22 @@ LDAP_LIBS=@LDAP_LIBS@ - NSCD_LIBS=@NSCD_LIBS@ - UUID_LIBS=@UUID_LIBS@ - LIBWBCLIENT=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@ --LIBWBCLIENT_LIBS=@LIBWBCLIENT_LIBS@ -+LIBWBCLIENT_LIBS=@LIBWBCLIENT_STATIC@ - PTHREAD_LDFLAGS=@PTHREAD_LDFLAGS@ - PTHREAD_CFLAGS=@PTHREAD_CFLAGS@ - DNSSD_LIBS=@DNSSD_LIBS@ - AVAHI_LIBS=@AVAHI_LIBS@ - POPT_LIBS=@POPTLIBS@ - LIBTALLOC=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@ --LIBTALLOC_LIBS=@LIBTALLOC_LIBS@ -+LIBTALLOC_LIBS=@LIBTALLOC_STATIC@ - LIBTEVENT=@LIBTEVENT_STATIC@ @LIBTEVENT_SHARED@ - LIBTEVENT_LIBS=@LIBTEVENT_LIBS@ - LIBREPLACE_LIBS=@LIBREPLACE_LIBS@ - LIBTDB=@LIBTDB_STATIC@ @LIBTDB_SHARED@ --LIBTDB_LIBS=@LIBTDB_LIBS@ -+LIBTDB_LIBS=@LIBTDB_STATIC@ - TDB_DEPS=@TDB_DEPS@ - LIBNETAPI=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@ --LIBNETAPI_LIBS=@LIBNETAPI_LIBS@ -+LIBNETAPI_LIBS=@LIBNETAPI_STATIC@ - LIBSMBCLIENT_LIBS=@LIBSMBCLIENT_LIBS@ - LIBSMBSHAREMODES_LIBS=@LIBSMBSHAREMODES_LIBS@ - -@@ -216,7 +216,7 @@ PATH_FLAGS = -DSMB_PASSWD_FILE=\"$(SMB_P - - # Note that all executable programs now provide for an optional executable suffix. - --SBIN_PROGS = bin/smbd@EXEEXT@ bin/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@ -+SBIN_PROGS = bin/samba_multicall@EXEEXT@ bin/smbd@EXEEXT@ bin/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@ - - BIN_PROGS1 = bin/smbclient@EXEEXT@ bin/net@EXEEXT@ bin/smbspool@EXEEXT@ \ - bin/testparm@EXEEXT@ bin/smbstatus@EXEEXT@ bin/smbget@EXEEXT@ \ -@@ -1777,6 +1777,42 @@ bin/.dummy: - dir=bin $(MAKEDIR); fi - @: >> $@ || : > $@ # what a fancy emoticon! - -+smbd/server_multicall.o: smbd/server.c smbd/server.o -+ @echo Compiling $<.c -+ @$(COMPILE_CC_PATH) -Dmain=smbd_main && exit 0;\ -+ echo "The following command failed:" 1>&2;\ -+ echo "$(COMPILE_CC_PATH)" 1>&2;\ -+ $(COMPILE_CC_PATH) >/dev/null 2>&1 -+ -+nmbd/nmbd_multicall.o: nmbd/nmbd.c nmbd/nmbd.o -+ @echo Compiling $<.c -+ @$(COMPILE_CC_PATH) -Dmain=nmbd_main && exit 0;\ -+ echo "The following command failed:" 1>&2;\ -+ echo "$(COMPILE_CC_PATH)" 1>&2;\ -+ $(COMPILE_CC_PATH) >/dev/null 2>&1 -+ -+utils/smbpasswd_multicall.o: utils/smbpasswd.c utils/smbpasswd.o -+ @echo Compiling $<.c -+ @$(COMPILE_CC_PATH) -Dmain=smbpasswd_main && exit 0;\ -+ echo "The following command failed:" 1>&2;\ -+ echo "$(COMPILE_CC_PATH)" 1>&2;\ -+ $(COMPILE_CC_PATH) >/dev/null 2>&1 -+ -+SMBD_MULTI_O = $(patsubst smbd/server.o,smbd/server_multicall.o,$(SMBD_OBJ)) -+NMBD_MULTI_O = $(patsubst nmbd/nmbd.o,nmbd/nmbd_multicall.o,$(filter-out $(LIB_DUMMY_OBJ),$(NMBD_OBJ))) -+SMBPASSWD_MULTI_O = $(patsubst utils/smbpasswd.o,utils/smbpasswd_multicall.o,$(filter-out $(LIB_DUMMY_OBJ),$(SMBPASSWD_OBJ))) -+MULTI_O = multi.o -+ -+MULTICALL_O = $(sort $(SMBD_MULTI_O) $(NMBD_MULTI_O) $(SMBPASSWD_MULTI_O) $(MULTI_O)) -+ -+bin/samba_multicall@EXEEXT@: $(BINARY_PREREQS) $(MULTICALL_O) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@ -+ @echo Linking $@ -+ @$(CC) -o $@ $(MULTICALL_O) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \ -+ $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \ -+ $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \ -+ $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \ -+ $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) -+ - bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@ - @echo Linking $@ - @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \ ---- /dev/null -+++ b/source3/multi.c -@@ -0,0 +1,35 @@ -+#include -+#include -+ -+extern int smbd_main(int argc, char **argv); -+extern int nmbd_main(int argc, char **argv); -+extern int smbpasswd_main(int argc, char **argv); -+ -+static struct { -+ const char *name; -+ int (*func)(int argc, char **argv); -+} multicall[] = { -+ { "smbd", smbd_main }, -+ { "nmbd", nmbd_main }, -+ { "smbpasswd", smbpasswd_main }, -+}; -+ -+#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) -+ -+int main(int argc, char **argv) -+{ -+ int i; -+ -+ for (i = 0; i < ARRAY_SIZE(multicall); i++) { -+ if (strstr(argv[0], multicall[i].name)) -+ return multicall[i].func(argc, argv); -+ } -+ -+ fprintf(stderr, "Invalid multicall command, available commands:"); -+ for (i = 0; i < ARRAY_SIZE(multicall); i++) -+ fprintf(stderr, " %s", multicall[i].name); -+ -+ fprintf(stderr, "\n"); -+ -+ return 1; -+} diff --git a/unmaintained/samba36/111-owrt_smbpasswd.patch b/unmaintained/samba36/111-owrt_smbpasswd.patch deleted file mode 100644 index 79abea581d..0000000000 --- a/unmaintained/samba36/111-owrt_smbpasswd.patch +++ /dev/null @@ -1,281 +0,0 @@ ---- a/source3/Makefile.in -+++ b/source3/Makefile.in -@@ -1019,7 +1019,7 @@ TEST_LP_LOAD_OBJ = param/test_lp_load.o - - PASSWD_UTIL_OBJ = utils/passwd_util.o - --SMBPASSWD_OBJ = utils/smbpasswd.o $(PASSWD_UTIL_OBJ) $(PASSCHANGE_OBJ) \ -+SMBPASSWD_OBJ = utils/owrt_smbpasswd.o $(PASSWD_UTIL_OBJ) $(PASSCHANGE_OBJ) \ - $(PARAM_OBJ) $(LIBSMB_OBJ) $(PASSDB_OBJ) \ - $(GROUPDB_OBJ) $(LIB_NONSMBD_OBJ) $(KRBCLIENT_OBJ) \ - $(POPT_LIB_OBJ) $(SMBLDAP_OBJ) \ -@@ -1791,7 +1791,7 @@ nmbd/nmbd_multicall.o: nmbd/nmbd.c nmbd/ - echo "$(COMPILE_CC_PATH)" 1>&2;\ - $(COMPILE_CC_PATH) >/dev/null 2>&1 - --utils/smbpasswd_multicall.o: utils/smbpasswd.c utils/smbpasswd.o -+utils/smbpasswd_multicall.o: utils/owrt_smbpasswd.c utils/owrt_smbpasswd.o - @echo Compiling $<.c - @$(COMPILE_CC_PATH) -Dmain=smbpasswd_main && exit 0;\ - echo "The following command failed:" 1>&2;\ -@@ -1800,7 +1800,7 @@ utils/smbpasswd_multicall.o: utils/smbpa - - SMBD_MULTI_O = $(patsubst smbd/server.o,smbd/server_multicall.o,$(SMBD_OBJ)) - NMBD_MULTI_O = $(patsubst nmbd/nmbd.o,nmbd/nmbd_multicall.o,$(filter-out $(LIB_DUMMY_OBJ),$(NMBD_OBJ))) --SMBPASSWD_MULTI_O = $(patsubst utils/smbpasswd.o,utils/smbpasswd_multicall.o,$(filter-out $(LIB_DUMMY_OBJ),$(SMBPASSWD_OBJ))) -+SMBPASSWD_MULTI_O = $(patsubst utils/owrt_smbpasswd.o,utils/smbpasswd_multicall.o,$(filter-out $(LIB_DUMMY_OBJ),$(SMBPASSWD_OBJ))) - MULTI_O = multi.o - - MULTICALL_O = $(sort $(SMBD_MULTI_O) $(NMBD_MULTI_O) $(SMBPASSWD_MULTI_O) $(MULTI_O)) ---- /dev/null -+++ b/source3/utils/owrt_smbpasswd.c -@@ -0,0 +1,249 @@ -+/* -+ * Copyright (C) 2012 Felix Fietkau -+ * Copyright (C) 2008 John Crispin -+ * -+ * This program 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 (at your -+ * option) any later version. -+ * -+ * This program 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., 675 -+ * Mass Ave, Cambridge, MA 02139, USA. */ -+ -+#include "includes.h" -+#include -+#include -+ -+static char buf[256]; -+ -+static void md4hash(const char *passwd, uchar p16[16]) -+{ -+ int len; -+ smb_ucs2_t wpwd[129]; -+ int i; -+ -+ len = strlen(passwd); -+ for (i = 0; i < len; i++) { -+#if __BYTE_ORDER == __LITTLE_ENDIAN -+ wpwd[i] = (unsigned char)passwd[i]; -+#else -+ wpwd[i] = (unsigned char)passwd[i] << 8; -+#endif -+ } -+ wpwd[i] = 0; -+ -+ len = len * sizeof(int16); -+ mdfour(p16, (unsigned char *)wpwd, len); -+ ZERO_STRUCT(wpwd); -+} -+ -+ -+static bool find_passwd_line(FILE *fp, const char *user, char **next) -+{ -+ char *p1; -+ -+ while (!feof(fp)) { -+ if(!fgets(buf, sizeof(buf) - 1, fp)) -+ continue; -+ -+ p1 = strchr(buf, ':'); -+ -+ if (p1 - buf != strlen(user)) -+ continue; -+ -+ if (strncmp(buf, user, p1 - buf) != 0) -+ continue; -+ -+ if (next) -+ *next = p1; -+ return true; -+ } -+ return false; -+} -+ -+/* returns -1 if user is not present in /etc/passwd*/ -+static int find_uid_for_user(const char *user) -+{ -+ FILE *fp; -+ char *p1, *p2, *p3; -+ int ret = -1; -+ -+ fp = fopen("/etc/passwd", "r"); -+ if (!fp) { -+ printf("failed to open /etc/passwd"); -+ goto out; -+ } -+ -+ if (!find_passwd_line(fp, user, &p1)) { -+ printf("User %s not found or invalid in /etc/passwd\n", user); -+ goto out; -+ } -+ -+ p2 = strchr(p1 + 1, ':'); -+ if (!p2) -+ goto out; -+ -+ p2++; -+ p3 = strchr(p2, ':'); -+ if (!p1) -+ goto out; -+ -+ *p3 = '\0'; -+ ret = atoi(p2); -+ -+out: -+ if(fp) -+ fclose(fp); -+ return ret; -+} -+ -+static void smbpasswd_write_user(FILE *fp, const char *user, int uid, const char *password) -+{ -+ static uchar nt_p16[NT_HASH_LEN]; -+ int len = 0; -+ int i; -+ -+ md4hash(strdup(password), nt_p16); -+ -+ len += snprintf(buf + len, sizeof(buf) - len, "%s:%u:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:", user, uid); -+ for(i = 0; i < NT_HASH_LEN; i++) -+ len += snprintf(buf + len, sizeof(buf) - len, "%02X", nt_p16[i]); -+ -+ snprintf(buf + len, sizeof(buf) - len, ":[U ]:LCT-00000001:\n"); -+ fputs(buf, fp); -+} -+ -+static void smbpasswd_delete_user(FILE *fp) -+{ -+ fpos_t r_pos, w_pos; -+ int len = strlen(buf); -+ -+ fgetpos(fp, &r_pos); -+ fseek(fp, -len, SEEK_CUR); -+ fgetpos(fp, &w_pos); -+ fsetpos(fp, &r_pos); -+ -+ while (fgets(buf, sizeof(buf) - 1, fp)) { -+ int cur_len = strlen(buf); -+ -+ fsetpos(fp, &w_pos); -+ fputs(buf, fp); -+ fgetpos(fp, &w_pos); -+ -+ fsetpos(fp, &r_pos); -+ fseek(fp, cur_len, SEEK_CUR); -+ fgetpos(fp, &r_pos); -+ } -+ -+ fsetpos(fp, &w_pos); -+ ftruncate(fileno(fp), ftello(fp)); -+} -+ -+static int usage(const char *progname) -+{ -+ fprintf(stderr, -+ "Usage: %s [options] \n" -+ "\n" -+ "Options:\n" -+ " -s read password from stdin\n" -+ " -a add user\n" -+ " -x delete user\n", -+ progname); -+ return 1; -+} -+ -+int main(int argc, char **argv) -+{ -+ const char *prog = argv[0]; -+ const char *user; -+ char *pw1, *pw2; -+ FILE *fp; -+ bool add = false, delete = false, get_stdin = false, found; -+ int ch; -+ int uid; -+ -+ TALLOC_CTX *frame = talloc_stackframe(); -+ -+ while ((ch = getopt(argc, argv, "asx")) != EOF) { -+ switch (ch) { -+ case 's': -+ get_stdin = true; -+ break; -+ case 'a': -+ add = true; -+ break; -+ case 'x': -+ delete = true; -+ break; -+ default: -+ return usage(prog); -+ } -+ } -+ -+ if (add && delete) -+ return usage(prog); -+ -+ argc -= optind; -+ argv += optind; -+ -+ if (!argc) -+ return usage(prog); -+ -+ user = argv[0]; -+ if (!delete) { -+ uid = find_uid_for_user(user); -+ if (uid < 0) { -+ fprintf(stderr, "Could not find user '%s' in /etc/passwd\n", user); -+ return 2; -+ } -+ } -+ -+ fp = fopen("/etc/samba/smbpasswd", "r+"); -+ if(!fp) { -+ fprintf(stderr, "Failed to open /etc/samba/smbpasswd"); -+ return 3; -+ } -+ -+ found = find_passwd_line(fp, user, NULL); -+ if (!add && !found) { -+ fprintf(stderr, "Could not find user '%s' in /etc/samba/smbpasswd\n", user); -+ return 3; -+ } -+ -+ if (delete) { -+ smbpasswd_delete_user(fp); -+ goto out; -+ } -+ -+ pw1 = get_pass("New SMB password:", get_stdin); -+ if (!pw1) -+ pw1 = strdup(""); -+ -+ pw2 = get_pass("Retype SMB password:", get_stdin); -+ if (!pw2) -+ pw2 = strdup(""); -+ -+ if (strcmp(pw1, pw2) != 0) { -+ fprintf(stderr, "Mismatch - password unchanged.\n"); -+ goto out_free; -+ } -+ -+ if (found) -+ fseek(fp, -strlen(buf), SEEK_CUR); -+ smbpasswd_write_user(fp, user, uid, pw2); -+ -+out_free: -+ free(pw1); -+ free(pw2); -+out: -+ fclose(fp); -+ TALLOC_FREE(frame); -+ -+ return 0; -+} diff --git a/unmaintained/samba36/120-add_missing_ifdef.patch b/unmaintained/samba36/120-add_missing_ifdef.patch deleted file mode 100644 index dbd9adc1d7..0000000000 --- a/unmaintained/samba36/120-add_missing_ifdef.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -119,9 +119,11 @@ static bool initialize_interfaces(void) - if (!smb_register_ndr_interface(&ndr_table_netdfs)) { - return false; - } -+#ifdef DEVELOPER - if (!smb_register_ndr_interface(&ndr_table_rpcecho)) { - return false; - } -+#endif - if (!smb_register_ndr_interface(&ndr_table_initshutdown)) { - return false; - } ---- a/source3/rpcclient/rpcclient.c -+++ b/source3/rpcclient/rpcclient.c -@@ -628,7 +628,9 @@ static struct cmd_set *rpcclient_command - netlogon_commands, - srvsvc_commands, - dfs_commands, -+#ifdef DEVELOPER - echo_commands, -+#endif - epmapper_commands, - shutdown_commands, - test_commands, diff --git a/unmaintained/samba36/200-remove_printer_support.patch b/unmaintained/samba36/200-remove_printer_support.patch deleted file mode 100644 index de567a7627..0000000000 --- a/unmaintained/samba36/200-remove_printer_support.patch +++ /dev/null @@ -1,346 +0,0 @@ ---- a/source3/rpc_server/rpc_ep_setup.c -+++ b/source3/rpc_server/rpc_ep_setup.c -@@ -1110,6 +1110,10 @@ bool dcesrv_ep_setup(struct tevent_conte - "rpc_server", - "spoolss", - "embedded"); -+#ifndef PRINTER_SUPPORT -+ if (1) { -+ } else -+#endif - if (StrCaseCmp(rpcsrv_type, "embedded") == 0) { - spoolss_cb.init = spoolss_init_cb; - spoolss_cb.shutdown = spoolss_shutdown_cb; ---- a/source3/rpcclient/rpcclient.c -+++ b/source3/rpcclient/rpcclient.c -@@ -624,7 +624,9 @@ static struct cmd_set *rpcclient_command - lsarpc_commands, - ds_commands, - samr_commands, -+#ifdef PRINTER_SUPPORT - spoolss_commands, -+#endif - netlogon_commands, - srvsvc_commands, - dfs_commands, ---- a/source3/printing/spoolssd.c -+++ b/source3/printing/spoolssd.c -@@ -165,6 +165,10 @@ void start_spoolssd(struct tevent_contex - NTSTATUS status; - int ret; - -+#ifndef PRINTER_SUPPORT -+ return; -+#endif -+ - DEBUG(1, ("Forking SPOOLSS Daemon\n")); - - pid = sys_fork(); ---- a/source3/utils/net_rpc.c -+++ b/source3/utils/net_rpc.c -@@ -7841,6 +7841,10 @@ int net_rpc_printer(struct net_context * - {NULL, NULL, 0, NULL, NULL} - }; - -+#ifndef PRINTER_SUPPORT -+ return 0; -+#endif -+ - if (argc == 0) { - if (c->display_usage) { - d_printf(_("Usage:\n")); ---- a/source3/smbd/reply.c -+++ b/source3/smbd/reply.c -@@ -5208,7 +5208,11 @@ void reply_printopen(struct smb_request - return; - } - -- if (!CAN_PRINT(conn)) { -+ -+#ifdef PRINTER_SUPPORT -+ if (!CAN_PRINT(conn)) -+#endif -+ { - reply_nterror(req, NT_STATUS_ACCESS_DENIED); - END_PROFILE(SMBsplopen); - return; -@@ -5314,7 +5318,10 @@ void reply_printqueue(struct smb_request - is really quite gross and only worked when there was only - one printer - I think we should now only accept it if they - get it right (tridge) */ -- if (!CAN_PRINT(conn)) { -+#ifdef PRINTER_SUPPORT -+ if (!CAN_PRINT(conn)) -+#endif -+ { - reply_nterror(req, NT_STATUS_ACCESS_DENIED); - END_PROFILE(SMBsplretq); - return; ---- a/source3/smbd/lanman.c -+++ b/source3/smbd/lanman.c -@@ -784,6 +784,10 @@ static bool api_DosPrintQGetInfo(struct - union spoolss_JobInfo *job_info = NULL; - union spoolss_PrinterInfo printer_info; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -999,6 +1003,10 @@ static bool api_DosPrintQEnum(struct smb - union spoolss_DriverInfo *driver_info; - union spoolss_JobInfo **job_info; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!param_format || !output_format1 || !p) { - return False; - } -@@ -3105,6 +3113,10 @@ static bool api_RDosPrintJobDel(struct s - struct spoolss_DevmodeContainer devmode_ctr; - enum spoolss_JobControl command; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -3238,6 +3250,10 @@ static bool api_WPrintQueueCtrl(struct s - struct sec_desc_buf secdesc_ctr; - enum spoolss_PrinterControl command; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !QueueName) { - return False; - } -@@ -3404,6 +3420,10 @@ static bool api_PrintJobInfo(struct smbd - union spoolss_JobInfo info; - struct spoolss_SetJobInfo1 info1; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -4547,6 +4567,10 @@ static bool api_WPrintJobGetInfo(struct - struct spoolss_DevmodeContainer devmode_ctr; - union spoolss_JobInfo info; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -4685,6 +4709,10 @@ static bool api_WPrintJobEnumerate(struc - uint32_t count = 0; - union spoolss_JobInfo *info; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -4890,6 +4918,10 @@ static bool api_WPrintDestGetInfo(struct - struct spoolss_DevmodeContainer devmode_ctr; - union spoolss_PrinterInfo info; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -5026,6 +5058,10 @@ static bool api_WPrintDestEnum(struct sm - union spoolss_PrinterInfo *info; - uint32_t count; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -5129,6 +5165,10 @@ static bool api_WPrintDriverEnum(struct - int succnt; - struct pack_desc desc; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -5193,6 +5233,10 @@ static bool api_WPrintQProcEnum(struct s - int succnt; - struct pack_desc desc; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -5257,6 +5301,10 @@ static bool api_WPrintPortEnum(struct sm - int succnt; - struct pack_desc desc; - -+#ifndef PRINTER_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } ---- a/source3/smbd/server_exit.c -+++ b/source3/smbd/server_exit.c -@@ -141,7 +141,9 @@ static void exit_server_common(enum serv - rpc_eventlog_shutdown(); - rpc_ntsvcs_shutdown(); - rpc_svcctl_shutdown(); -+#ifdef PRINTER_SUPPORT - rpc_spoolss_shutdown(); -+#endif - - rpc_srvsvc_shutdown(); - rpc_winreg_shutdown(); ---- a/source3/smbd/open.c -+++ b/source3/smbd/open.c -@@ -1608,6 +1608,9 @@ static NTSTATUS open_file_ntcreate(conne - * Most of the passed parameters are ignored. - */ - -+#ifndef PRINTER_SUPPORT -+ return NT_STATUS_ACCESS_DENIED; -+#endif - if (pinfo) { - *pinfo = FILE_WAS_CREATED; - } ---- a/source3/smbd/close.c -+++ b/source3/smbd/close.c -@@ -643,6 +643,9 @@ static NTSTATUS close_normal_file(struct - status = ntstatus_keeperror(status, tmp); - - if (fsp->print_file) { -+#ifndef PRINTER_SUPPORT -+ return NT_STATUS_OK; -+#endif - /* FIXME: return spool errors */ - print_spool_end(fsp, close_type); - file_free(req, fsp); ---- a/source3/smbd/fileio.c -+++ b/source3/smbd/fileio.c -@@ -298,6 +298,10 @@ ssize_t write_file(struct smb_request *r - uint32_t t; - int ret; - -+#ifndef PRINTER_SUPPORT -+ return -1; -+#endif -+ - ret = print_spool_write(fsp, data, n, pos, &t); - if (ret) { - errno = ret; ---- a/source3/smbd/smb2_create.c -+++ b/source3/smbd/smb2_create.c -@@ -486,7 +486,10 @@ static struct tevent_req *smbd_smb2_crea - info = FILE_WAS_OPENED; - } else if (CAN_PRINT(smb1req->conn)) { - status = file_new(smb1req, smb1req->conn, &result); -- if(!NT_STATUS_IS_OK(status)) { -+#ifdef PRINTER_SUPPORT -+ if(!NT_STATUS_IS_OK(status)) -+#endif -+ { - tevent_req_nterror(req, status); - return tevent_req_post(req, ev); - } ---- a/source3/rpc_server/svcctl/srv_svcctl_nt.c -+++ b/source3/rpc_server/svcctl/srv_svcctl_nt.c -@@ -85,9 +85,11 @@ bool init_service_op_table( void ) - - /* add builtin services */ - -+#ifdef PRINTER_SUPPORT - svcctl_ops[i].name = talloc_strdup( svcctl_ops, "Spooler" ); - svcctl_ops[i].ops = &spoolss_svc_ops; - i++; -+#endif - - svcctl_ops[i].name = talloc_strdup( svcctl_ops, "NETLOGON" ); - svcctl_ops[i].ops = &netlogon_svc_ops; ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -113,9 +113,11 @@ static bool initialize_interfaces(void) - if (!smb_register_ndr_interface(&ndr_table_winreg)) { - return false; - } -+#ifdef PRINTER_SUPPORT - if (!smb_register_ndr_interface(&ndr_table_spoolss)) { - return false; - } -+#endif - if (!smb_register_ndr_interface(&ndr_table_netdfs)) { - return false; - } ---- a/source3/smbd/process.c -+++ b/source3/smbd/process.c -@@ -2423,8 +2423,10 @@ static bool housekeeping_fn(const struct - - change_to_root_user(); - -+#ifdef PRINTER_SUPPORT - /* update printer queue caches if necessary */ - update_monitored_printq_cache(sconn->msg_ctx); -+#endif - - /* check if we need to reload services */ - check_reload(sconn, time_mono(NULL)); ---- a/source3/smbd/server.c -+++ b/source3/smbd/server.c -@@ -123,7 +123,9 @@ static void smb_pcap_updated(struct mess - { - struct tevent_context *ev_ctx = - talloc_get_type_abort(private_data, struct tevent_context); -- -+#ifndef PRINTER_SUPPORT -+ return; -+#endif - DEBUG(10,("Got message saying pcap was updated. Reloading.\n")); - change_to_root_user(); - reload_printers(ev_ctx, msg); -@@ -1277,6 +1279,7 @@ extern void build_options(bool screen); - * The print backend init also migrates the printing tdb's, - * this requires a winreg pipe. - */ -+#ifdef PRINTER_SUPPORT - if (!print_backend_init(smbd_messaging_context())) - exit(1); - -@@ -1315,7 +1318,7 @@ extern void build_options(bool screen); - smbd_messaging_context()); - } - } -- -+#endif - if (!is_daemon) { - /* inetd mode */ - TALLOC_FREE(frame); diff --git a/unmaintained/samba36/210-remove_ad_support.patch b/unmaintained/samba36/210-remove_ad_support.patch deleted file mode 100644 index 6742dc0479..0000000000 --- a/unmaintained/samba36/210-remove_ad_support.patch +++ /dev/null @@ -1,88 +0,0 @@ ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -95,9 +95,11 @@ static bool initialize_interfaces(void) - if (!smb_register_ndr_interface(&ndr_table_lsarpc)) { - return false; - } -+#ifdef ACTIVE_DIRECTORY - if (!smb_register_ndr_interface(&ndr_table_dssetup)) { - return false; - } -+#endif - if (!smb_register_ndr_interface(&ndr_table_samr)) { - return false; - } -@@ -141,9 +143,11 @@ static bool initialize_interfaces(void) - if (!smb_register_ndr_interface(&ndr_table_epmapper)) { - return false; - } -+#ifdef ACTIVE_DIRECTORY - if (!smb_register_ndr_interface(&ndr_table_drsuapi)) { - return false; - } -+#endif - return true; - } - ---- a/source3/rpc_server/rpc_ep_setup.c -+++ b/source3/rpc_server/rpc_ep_setup.c -@@ -918,6 +918,7 @@ static bool netdfs_init_cb(void *ptr) - return true; - } - -+#ifdef ACTIVE_DIRECTORY - static bool dssetup_init_cb(void *ptr) - { - struct dcesrv_ep_context *ep_ctx = -@@ -966,6 +967,7 @@ static bool dssetup_init_cb(void *ptr) - - return true; - } -+#endif - - static bool wkssvc_init_cb(void *ptr) - { -@@ -1172,12 +1174,14 @@ bool dcesrv_ep_setup(struct tevent_conte - } - #endif - -+#ifdef ACTIVE_DIRECTORY - dssetup_cb.init = dssetup_init_cb; - dssetup_cb.shutdown = NULL; - dssetup_cb.private_data = ep_ctx; - if (!NT_STATUS_IS_OK(rpc_dssetup_init(&dssetup_cb))) { - return false; - } -+#endif - - wkssvc_cb.init = wkssvc_init_cb; - wkssvc_cb.shutdown = NULL; ---- a/source3/smbd/server_exit.c -+++ b/source3/smbd/server_exit.c -@@ -132,7 +132,9 @@ static void exit_server_common(enum serv - - if (am_parent) { - rpc_wkssvc_shutdown(); -+#ifdef ACTIVE_DIRECTORY - rpc_dssetup_shutdown(); -+#endif - #ifdef DEVELOPER - rpc_rpcecho_shutdown(); - #endif ---- a/source3/rpc_client/cli_pipe.c -+++ b/source3/rpc_client/cli_pipe.c -@@ -2904,12 +2904,14 @@ NTSTATUS cli_rpc_pipe_open_noauth_transp - status = rpc_pipe_bind(result, auth); - if (!NT_STATUS_IS_OK(status)) { - int lvl = 0; -+#ifdef ACTIVE_DIRECTORY - if (ndr_syntax_id_equal(interface, - &ndr_table_dssetup.syntax_id)) { - /* non AD domains just don't have this pipe, avoid - * level 0 statement in that case - gd */ - lvl = 3; - } -+#endif - DEBUG(lvl, ("cli_rpc_pipe_open_noauth: rpc_pipe_bind for pipe " - "%s failed with error %s\n", - get_pipe_name_from_syntax(talloc_tos(), interface), diff --git a/unmaintained/samba36/220-remove_services.patch b/unmaintained/samba36/220-remove_services.patch deleted file mode 100644 index 498232dee2..0000000000 --- a/unmaintained/samba36/220-remove_services.patch +++ /dev/null @@ -1,98 +0,0 @@ ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -131,6 +131,7 @@ static bool initialize_interfaces(void) - if (!smb_register_ndr_interface(&ndr_table_initshutdown)) { - return false; - } -+#ifdef EXTRA_SERVICES - if (!smb_register_ndr_interface(&ndr_table_svcctl)) { - return false; - } -@@ -140,6 +141,7 @@ static bool initialize_interfaces(void) - if (!smb_register_ndr_interface(&ndr_table_ntsvcs)) { - return false; - } -+#endif - if (!smb_register_ndr_interface(&ndr_table_epmapper)) { - return false; - } ---- a/source3/rpc_server/rpc_ep_setup.c -+++ b/source3/rpc_server/rpc_ep_setup.c -@@ -697,6 +697,7 @@ static bool spoolss_shutdown_cb(void *pt - return true; - } - -+#ifdef EXTRA_SERVICES - static bool svcctl_init_cb(void *ptr) - { - struct dcesrv_ep_context *ep_ctx = -@@ -733,6 +734,7 @@ static bool svcctl_init_cb(void *ptr) - - return true; - } -+#endif - - static bool svcctl_shutdown_cb(void *ptr) - { -@@ -741,6 +743,8 @@ static bool svcctl_shutdown_cb(void *ptr - return true; - } - -+#ifdef EXTRA_SERVICES -+ - static bool ntsvcs_init_cb(void *ptr) - { - struct dcesrv_ep_context *ep_ctx = -@@ -802,6 +806,7 @@ static bool eventlog_init_cb(void *ptr) - - return true; - } -+#endif - - static bool initshutdown_init_cb(void *ptr) - { -@@ -1130,6 +1135,7 @@ bool dcesrv_ep_setup(struct tevent_conte - } - } - -+#ifdef EXTRA_SERVICES - svcctl_cb.init = svcctl_init_cb; - svcctl_cb.shutdown = svcctl_shutdown_cb; - svcctl_cb.private_data = ep_ctx; -@@ -1150,6 +1156,7 @@ bool dcesrv_ep_setup(struct tevent_conte - if (!NT_STATUS_IS_OK(rpc_eventlog_init(&eventlog_cb))) { - return false; - } -+#endif - - initshutdown_cb.init = initshutdown_init_cb; - initshutdown_cb.shutdown = NULL; ---- a/source3/smbd/server_exit.c -+++ b/source3/smbd/server_exit.c -@@ -140,9 +140,11 @@ static void exit_server_common(enum serv - #endif - rpc_netdfs_shutdown(); - rpc_initshutdown_shutdown(); -+#ifdef EXTRA_SERVICES - rpc_eventlog_shutdown(); -- rpc_ntsvcs_shutdown(); - rpc_svcctl_shutdown(); -+ rpc_ntsvcs_shutdown(); -+#endif - #ifdef PRINTER_SUPPORT - rpc_spoolss_shutdown(); - #endif ---- a/source3/rpcclient/rpcclient.c -+++ b/source3/rpcclient/rpcclient.c -@@ -637,9 +637,11 @@ static struct cmd_set *rpcclient_command - shutdown_commands, - test_commands, - wkssvc_commands, -+#ifdef EXTRA_SERVICES - ntsvcs_commands, - drsuapi_commands, - eventlog_commands, -+#endif - winreg_commands, - NULL - }; diff --git a/unmaintained/samba36/230-remove_winreg_support.patch b/unmaintained/samba36/230-remove_winreg_support.patch deleted file mode 100644 index df2be4f222..0000000000 --- a/unmaintained/samba36/230-remove_winreg_support.patch +++ /dev/null @@ -1,146 +0,0 @@ ---- a/source3/rpc_server/rpc_ep_setup.c -+++ b/source3/rpc_server/rpc_ep_setup.c -@@ -409,6 +409,7 @@ static bool epmapper_shutdown_cb(void *p - return true; - } - -+#ifdef WINREG_SUPPORT - static bool winreg_init_cb(void *ptr) - { - struct dcesrv_ep_context *ep_ctx = -@@ -456,6 +457,7 @@ static bool winreg_init_cb(void *ptr) - - return true; - } -+#endif - - static bool srvsvc_init_cb(void *ptr) - { -@@ -710,10 +712,12 @@ static bool svcctl_init_cb(void *ptr) - "epmapper", - "none"); - -+#ifdef WINREG_SUPPORT - ok = svcctl_init_winreg(ep_ctx->msg_ctx); - if (!ok) { - return false; - } -+#endif - - /* initialize the control hooks */ - init_service_op_table(); -@@ -785,10 +789,12 @@ static bool eventlog_init_cb(void *ptr) - "epmapper", - "none"); - -+#ifdef WINREG_SUPPORT - ok = eventlog_init_winreg(ep_ctx->msg_ctx); - if (!ok) { - return false; - } -+#endif - - if (StrCaseCmp(rpcsrv_type, "embedded") == 0 || - StrCaseCmp(rpcsrv_type, "daemon") == 0) { -@@ -1077,12 +1083,14 @@ bool dcesrv_ep_setup(struct tevent_conte - } - } - -+#ifdef WINREG_SUPPORT - winreg_cb.init = winreg_init_cb; - winreg_cb.shutdown = NULL; - winreg_cb.private_data = ep_ctx; - if (!NT_STATUS_IS_OK(rpc_winreg_init(&winreg_cb))) { - return false; - } -+#endif - - srvsvc_cb.init = srvsvc_init_cb; - srvsvc_cb.shutdown = NULL; ---- a/source3/smbd/server_exit.c -+++ b/source3/smbd/server_exit.c -@@ -150,7 +150,9 @@ static void exit_server_common(enum serv - #endif - - rpc_srvsvc_shutdown(); -+#ifdef WINREG_SUPPORT - rpc_winreg_shutdown(); -+#endif - - rpc_netlogon_shutdown(); - rpc_samr_shutdown(); ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -112,9 +112,11 @@ static bool initialize_interfaces(void) - if (!smb_register_ndr_interface(&ndr_table_wkssvc)) { - return false; - } -+#ifdef WINREG_SUPPORT - if (!smb_register_ndr_interface(&ndr_table_winreg)) { - return false; - } -+#endif - #ifdef PRINTER_SUPPORT - if (!smb_register_ndr_interface(&ndr_table_spoolss)) { - return false; ---- a/source3/rpc_server/svcctl/srv_svcctl_nt.c -+++ b/source3/rpc_server/svcctl/srv_svcctl_nt.c -@@ -95,9 +95,11 @@ bool init_service_op_table( void ) - svcctl_ops[i].ops = &netlogon_svc_ops; - i++; - -+#ifdef WINREG_SUPPORT - svcctl_ops[i].name = talloc_strdup( svcctl_ops, "RemoteRegistry" ); - svcctl_ops[i].ops = &winreg_svc_ops; - i++; -+#endif - - svcctl_ops[i].name = talloc_strdup( svcctl_ops, "WINS" ); - svcctl_ops[i].ops = &wins_svc_ops; ---- a/source3/services/svc_winreg_glue.c -+++ b/source3/services/svc_winreg_glue.c -@@ -88,6 +88,10 @@ struct security_descriptor *svcctl_get_s - NTSTATUS status; - WERROR result = WERR_OK; - -+#ifndef WINREG_SUPPORT -+ return NULL; -+#endif -+ - key = talloc_asprintf(mem_ctx, - "%s\\%s\\Security", - TOP_LEVEL_SERVICES_KEY, name); -@@ -161,6 +165,10 @@ bool svcctl_set_secdesc(struct messaging - NTSTATUS status; - WERROR result = WERR_OK; - -+#ifndef WINREG_SUPPORT -+ return false; -+#endif -+ - tmp_ctx = talloc_stackframe(); - if (tmp_ctx == NULL) { - return false; -@@ -272,6 +280,10 @@ const char *svcctl_get_string_value(TALL - NTSTATUS status; - WERROR result = WERR_OK; - -+#ifndef WINREG_SUPPORT -+ return NULL; -+#endif -+ - tmp_ctx = talloc_stackframe(); - if (tmp_ctx == NULL) { - return NULL; ---- a/source3/rpcclient/rpcclient.c -+++ b/source3/rpcclient/rpcclient.c -@@ -642,7 +642,9 @@ static struct cmd_set *rpcclient_command - drsuapi_commands, - eventlog_commands, - #endif -+#ifdef WINREG_SUPPORT - winreg_commands, -+#endif - NULL - }; - diff --git a/unmaintained/samba36/240-remove_dfs_api.patch b/unmaintained/samba36/240-remove_dfs_api.patch deleted file mode 100644 index f4d432e95d..0000000000 --- a/unmaintained/samba36/240-remove_dfs_api.patch +++ /dev/null @@ -1,71 +0,0 @@ ---- a/source3/rpc_server/rpc_ep_setup.c -+++ b/source3/rpc_server/rpc_ep_setup.c -@@ -881,6 +881,7 @@ static bool rpcecho_init_cb(void *ptr) { - - #endif - -+#ifdef DFS_SUPPORT - static bool netdfs_init_cb(void *ptr) - { - struct dcesrv_ep_context *ep_ctx = -@@ -928,6 +929,7 @@ static bool netdfs_init_cb(void *ptr) - - return true; - } -+#endif - - #ifdef ACTIVE_DIRECTORY - static bool dssetup_init_cb(void *ptr) -@@ -1173,12 +1175,14 @@ bool dcesrv_ep_setup(struct tevent_conte - return false; - } - -+#ifdef DFS_SUPPORT - netdfs_cb.init = netdfs_init_cb; - netdfs_cb.shutdown = NULL; - netdfs_cb.private_data = ep_ctx; - if (!NT_STATUS_IS_OK(rpc_netdfs_init(&netdfs_cb))) { - return false; - } -+#endif - - #ifdef DEVELOPER - rpcecho_cb.init = rpcecho_init_cb; ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -122,9 +122,11 @@ static bool initialize_interfaces(void) - return false; - } - #endif -+#ifdef DFS_SUPPORT - if (!smb_register_ndr_interface(&ndr_table_netdfs)) { - return false; - } -+#endif - #ifdef DEVELOPER - if (!smb_register_ndr_interface(&ndr_table_rpcecho)) { - return false; ---- a/source3/smbd/server_exit.c -+++ b/source3/smbd/server_exit.c -@@ -138,7 +138,9 @@ static void exit_server_common(enum serv - #ifdef DEVELOPER - rpc_rpcecho_shutdown(); - #endif -+#ifdef DFS_SUPPORT - rpc_netdfs_shutdown(); -+#endif - rpc_initshutdown_shutdown(); - #ifdef EXTRA_SERVICES - rpc_eventlog_shutdown(); ---- a/source3/rpcclient/rpcclient.c -+++ b/source3/rpcclient/rpcclient.c -@@ -629,7 +629,9 @@ static struct cmd_set *rpcclient_command - #endif - netlogon_commands, - srvsvc_commands, -+#ifdef DFS_SUPPORT - dfs_commands, -+#endif - #ifdef DEVELOPER - echo_commands, - #endif diff --git a/unmaintained/samba36/250-remove_domain_logon.patch b/unmaintained/samba36/250-remove_domain_logon.patch deleted file mode 100644 index f7582ef3bd..0000000000 --- a/unmaintained/samba36/250-remove_domain_logon.patch +++ /dev/null @@ -1,185 +0,0 @@ ---- a/source3/rpc_server/rpc_ep_setup.c -+++ b/source3/rpc_server/rpc_ep_setup.c -@@ -606,6 +606,7 @@ static bool samr_init_cb(void *ptr) - return true; - } - -+#ifdef NETLOGON_SUPPORT - static bool netlogon_init_cb(void *ptr) - { - struct dcesrv_ep_context *ep_ctx = -@@ -654,6 +655,7 @@ static bool netlogon_init_cb(void *ptr) - - return true; - } -+#endif - - static bool spoolss_init_cb(void *ptr) - { -@@ -1116,12 +1118,15 @@ bool dcesrv_ep_setup(struct tevent_conte - return false; - } - -+#ifdef NETLOGON_SUPPORT - netlogon_cb.init = netlogon_init_cb; - netlogon_cb.shutdown = NULL; - netlogon_cb.private_data = ep_ctx; - if (!NT_STATUS_IS_OK(rpc_netlogon_init(&netlogon_cb))) { - return false; - } -+#endif -+ - - rpcsrv_type = lp_parm_const_string(GLOBAL_SECTION_SNUM, - "rpc_server", ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -103,9 +103,11 @@ static bool initialize_interfaces(void) - if (!smb_register_ndr_interface(&ndr_table_samr)) { - return false; - } -+#ifdef NETLOGON_SUPPORT - if (!smb_register_ndr_interface(&ndr_table_netlogon)) { - return false; - } -+#endif - if (!smb_register_ndr_interface(&ndr_table_srvsvc)) { - return false; - } ---- a/source3/smbd/server_exit.c -+++ b/source3/smbd/server_exit.c -@@ -156,7 +156,9 @@ static void exit_server_common(enum serv - rpc_winreg_shutdown(); - #endif - -+#ifdef NETLOGON_SUPPORT - rpc_netlogon_shutdown(); -+#endif - rpc_samr_shutdown(); - rpc_lsarpc_shutdown(); - } ---- a/source3/rpc_server/svcctl/srv_svcctl_nt.c -+++ b/source3/rpc_server/svcctl/srv_svcctl_nt.c -@@ -91,9 +91,11 @@ bool init_service_op_table( void ) - i++; - #endif - -+#ifdef NETLOGON_SUPPORT - svcctl_ops[i].name = talloc_strdup( svcctl_ops, "NETLOGON" ); - svcctl_ops[i].ops = &netlogon_svc_ops; - i++; -+#endif - - #ifdef WINREG_SUPPORT - svcctl_ops[i].name = talloc_strdup( svcctl_ops, "RemoteRegistry" ); ---- a/source3/nmbd/nmbd_processlogon.c -+++ b/source3/nmbd/nmbd_processlogon.c -@@ -320,6 +320,10 @@ void process_logon_packet(struct packet_ - NTSTATUS status; - const char *pdc_name; - -+#ifndef NETLOGON_SUPPORT -+ return; -+#endif -+ - in_addr_to_sockaddr_storage(&ss, p->ip); - pss = iface_ip((struct sockaddr *)&ss); - if (!pss) { ---- a/source3/rpcclient/rpcclient.c -+++ b/source3/rpcclient/rpcclient.c -@@ -627,7 +627,9 @@ static struct cmd_set *rpcclient_command - #ifdef PRINTER_SUPPORT - spoolss_commands, - #endif -+#ifdef NETLOGON_SUPPORT - netlogon_commands, -+#endif - srvsvc_commands, - #ifdef DFS_SUPPORT - dfs_commands, ---- a/source3/rpc_server/wkssvc/srv_wkssvc_nt.c -+++ b/source3/rpc_server/wkssvc/srv_wkssvc_nt.c -@@ -824,6 +824,10 @@ WERROR _wkssvc_NetrJoinDomain2(struct pi - WERROR werr; - struct security_token *token = p->session_info->security_token; - -+#ifndef NETLOGON_SUPPORT -+ return WERR_NOT_SUPPORTED; -+#endif -+ - if (!r->in.domain_name) { - return WERR_INVALID_PARAM; - } -@@ -901,6 +905,10 @@ WERROR _wkssvc_NetrUnjoinDomain2(struct - WERROR werr; - struct security_token *token = p->session_info->security_token; - -+#ifndef NETLOGON_SUPPORT -+ return WERR_NOT_SUPPORTED; -+#endif -+ - if (!r->in.account || !r->in.encrypted_password) { - return WERR_INVALID_PARAM; - } ---- a/source3/libsmb/trusts_util.c -+++ b/source3/libsmb/trusts_util.c -@@ -46,9 +46,11 @@ NTSTATUS trust_pw_change_and_store_it(st - NTSTATUS nt_status; - - switch (sec_channel_type) { -+#ifdef NETLOGON_SUPPORT - case SEC_CHAN_WKSTA: - case SEC_CHAN_DOMAIN: - break; -+#endif - default: - return NT_STATUS_NOT_SUPPORTED; - } -@@ -159,6 +161,11 @@ bool enumerate_domain_trusts( TALLOC_CTX - *num_domains = 0; - *sids = NULL; - -+#ifndef NETLOGON_SUPPORT -+ return False; -+#endif -+ -+ - /* lookup a DC first */ - - if ( !get_dc_name(domain, NULL, dc_name, &dc_ss) ) { -@@ -243,6 +250,10 @@ NTSTATUS change_trust_account_password( - struct cli_state *cli = NULL; - struct rpc_pipe_client *netlogon_pipe = NULL; - -+#ifndef NETLOGON_SUPPORT -+ return NT_STATUS_UNSUCCESSFUL; -+#endif -+ - DEBUG(5,("change_trust_account_password: Attempting to change trust account password in domain %s....\n", - domain)); - ---- a/source3/auth/auth_domain.c -+++ b/source3/auth/auth_domain.c -@@ -538,7 +538,9 @@ static NTSTATUS auth_init_trustdomain(st - - NTSTATUS auth_domain_init(void) - { -+#ifdef NETLOGON_SUPPORT - smb_register_auth(AUTH_INTERFACE_VERSION, "trustdomain", auth_init_trustdomain); - smb_register_auth(AUTH_INTERFACE_VERSION, "ntdomain", auth_init_ntdomain); -+#endif - return NT_STATUS_OK; - } ---- a/source3/smbd/process.c -+++ b/source3/smbd/process.c -@@ -2431,8 +2431,10 @@ static bool housekeeping_fn(const struct - /* check if we need to reload services */ - check_reload(sconn, time_mono(NULL)); - -+#ifdef NETLOGON_SUPPORT - /* Change machine password if neccessary. */ - attempt_machine_password_change(); -+#endif - - /* - * Force a log file check. diff --git a/unmaintained/samba36/260-remove_samr.patch b/unmaintained/samba36/260-remove_samr.patch deleted file mode 100644 index 7e55573056..0000000000 --- a/unmaintained/samba36/260-remove_samr.patch +++ /dev/null @@ -1,144 +0,0 @@ ---- a/source3/rpc_server/rpc_handles.c -+++ b/source3/rpc_server/rpc_handles.c -@@ -59,8 +59,11 @@ struct handle_list { - - static bool is_samr_lsa_pipe(const struct ndr_syntax_id *syntax) - { -- return (ndr_syntax_id_equal(syntax, &ndr_table_samr.syntax_id) -- || ndr_syntax_id_equal(syntax, &ndr_table_lsarpc.syntax_id)); -+ return -+#ifdef SAMR_SUPPORT -+ ndr_syntax_id_equal(syntax, &ndr_table_samr.syntax_id) || -+#endif -+ ndr_syntax_id_equal(syntax, &ndr_table_lsarpc.syntax_id); - } - - size_t num_pipe_handles(struct pipes_struct *p) ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -100,9 +100,11 @@ static bool initialize_interfaces(void) - return false; - } - #endif -+#ifdef SAMR_SUPPORT - if (!smb_register_ndr_interface(&ndr_table_samr)) { - return false; - } -+#endif - #ifdef NETLOGON_SUPPORT - if (!smb_register_ndr_interface(&ndr_table_netlogon)) { - return false; ---- a/source3/rpc_server/rpc_ep_setup.c -+++ b/source3/rpc_server/rpc_ep_setup.c -@@ -557,6 +557,7 @@ static bool lsarpc_init_cb(void *ptr) - return true; - } - -+#ifdef SAMR_SUPPORT - static bool samr_init_cb(void *ptr) - { - struct dcesrv_ep_context *ep_ctx = -@@ -605,6 +606,7 @@ static bool samr_init_cb(void *ptr) - - return true; - } -+#endif - - #ifdef NETLOGON_SUPPORT - static bool netlogon_init_cb(void *ptr) -@@ -1111,12 +1113,14 @@ bool dcesrv_ep_setup(struct tevent_conte - return false; - } - -+#ifdef SAMR_SUPPORT - samr_cb.init = samr_init_cb; - samr_cb.shutdown = NULL; - samr_cb.private_data = ep_ctx; - if (!NT_STATUS_IS_OK(rpc_samr_init(&samr_cb))) { - return false; - } -+#endif - - #ifdef NETLOGON_SUPPORT - netlogon_cb.init = netlogon_init_cb; ---- a/source3/smbd/server_exit.c -+++ b/source3/smbd/server_exit.c -@@ -159,7 +159,9 @@ static void exit_server_common(enum serv - #ifdef NETLOGON_SUPPORT - rpc_netlogon_shutdown(); - #endif -+#ifdef SAMR_SUPPORT - rpc_samr_shutdown(); -+#endif - rpc_lsarpc_shutdown(); - } - ---- a/source3/rpcclient/rpcclient.c -+++ b/source3/rpcclient/rpcclient.c -@@ -623,7 +623,9 @@ static struct cmd_set *rpcclient_command - rpcclient_commands, - lsarpc_commands, - ds_commands, -+#ifdef SAMR_SUPPORT - samr_commands, -+#endif - #ifdef PRINTER_SUPPORT - spoolss_commands, - #endif ---- a/source3/smbd/lanman.c -+++ b/source3/smbd/lanman.c -@@ -2353,6 +2353,10 @@ static bool api_RNetGroupEnum(struct smb - NTSTATUS status, result; - struct dcerpc_binding_handle *b; - -+#ifndef SAMR_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -2541,6 +2545,10 @@ static bool api_NetUserGetGroups(struct - NTSTATUS status, result; - struct dcerpc_binding_handle *b; - -+#ifndef SAMR_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !UserName || !p) { - return False; - } -@@ -2741,6 +2749,10 @@ static bool api_RNetUserEnum(struct smbd - - struct dcerpc_binding_handle *b; - -+#ifndef SAMR_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -2979,6 +2991,10 @@ static bool api_SamOEMChangePassword(str - int bufsize; - struct dcerpc_binding_handle *b; - -+#ifndef SAMR_SUPPORT -+ return False; -+#endif -+ - *rparam_len = 4; - *rparam = smb_realloc_limit(*rparam,*rparam_len); - if (!*rparam) { -@@ -4020,6 +4036,10 @@ static bool api_RNetUserGetInfo(struct s - union samr_UserInfo *info; - struct dcerpc_binding_handle *b = NULL; - -+#ifndef SAMR_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !UserName || !p) { - return False; - } diff --git a/unmaintained/samba36/270-remove_registry_backend.patch b/unmaintained/samba36/270-remove_registry_backend.patch deleted file mode 100644 index 147b1cec74..0000000000 --- a/unmaintained/samba36/270-remove_registry_backend.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- a/source3/lib/smbconf/smbconf_init.c -+++ b/source3/lib/smbconf/smbconf_init.c -@@ -68,9 +68,12 @@ sbcErr smbconf_init(TALLOC_CTX *mem_ctx, - } - } - -+#ifdef REGISTRY_BACKEND - if (strequal(backend, "registry") || strequal(backend, "reg")) { - err = smbconf_init_reg(mem_ctx, conf_ctx, path); -- } else if (strequal(backend, "file") || strequal(backend, "txt")) { -+ } else -+#endif -+ if (strequal(backend, "file") || strequal(backend, "txt")) { - err = smbconf_init_txt(mem_ctx, conf_ctx, path); - } else if (sep == NULL) { - /* ---- a/source3/lib/netapi/serverinfo.c -+++ b/source3/lib/netapi/serverinfo.c -@@ -557,7 +557,10 @@ static WERROR NetServerSetInfo_l_1005(st - return WERR_INVALID_PARAM; - } - -- if (!lp_config_backend_is_registry()) { -+#ifdef REGISTRY_BACKEND -+ if (!lp_config_backend_is_registry()) -+#endif -+ { - libnetapi_set_error_string(ctx, - "Configuration manipulation requested but not " - "supported by backend"); ---- a/source3/smbd/server.c -+++ b/source3/smbd/server.c -@@ -1230,8 +1230,10 @@ extern void build_options(bool screen); - exit(1); - } - -+#ifdef REGISTRY_BACKEND - if (!W_ERROR_IS_OK(registry_init_full())) - exit(1); -+#endif - - /* Open the share_info.tdb here, so we don't have to open - after the fork on every single connection. This is a small diff --git a/unmaintained/samba36/280-strip_srvsvc.patch b/unmaintained/samba36/280-strip_srvsvc.patch deleted file mode 100644 index 348cfbe7a4..0000000000 --- a/unmaintained/samba36/280-strip_srvsvc.patch +++ /dev/null @@ -1,143 +0,0 @@ ---- a/source3/smbd/lanman.c -+++ b/source3/smbd/lanman.c -@@ -2197,6 +2197,10 @@ static bool api_RNetShareAdd(struct smbd - struct srvsvc_NetShareInfo2 info2; - struct dcerpc_binding_handle *b; - -+#ifndef SRVSVC_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } -@@ -3589,10 +3593,7 @@ static bool api_RNetServerGetInfo(struct - NTSTATUS status; - WERROR werr; - TALLOC_CTX *mem_ctx = talloc_tos(); -- struct rpc_pipe_client *cli = NULL; -- union srvsvc_NetSrvInfo info; - int errcode; -- struct dcerpc_binding_handle *b; - - if (!str1 || !str2 || !p) { - return False; -@@ -3655,66 +3656,16 @@ static bool api_RNetServerGetInfo(struct - p = *rdata; - p2 = p + struct_len; - -- status = rpc_pipe_open_interface(mem_ctx, &ndr_table_srvsvc.syntax_id, -- conn->session_info, -- &conn->sconn->client_id, -- conn->sconn->msg_ctx, -- &cli); -- if (!NT_STATUS_IS_OK(status)) { -- DEBUG(0,("api_RNetServerGetInfo: could not connect to srvsvc: %s\n", -- nt_errstr(status))); -- errcode = W_ERROR_V(ntstatus_to_werror(status)); -- goto out; -- } -- -- b = cli->binding_handle; -- -- status = dcerpc_srvsvc_NetSrvGetInfo(b, mem_ctx, -- NULL, -- 101, -- &info, -- &werr); -- if (!NT_STATUS_IS_OK(status)) { -- errcode = W_ERROR_V(ntstatus_to_werror(status)); -- goto out; -- } -- if (!W_ERROR_IS_OK(werr)) { -- errcode = W_ERROR_V(werr); -- goto out; -- } -- -- if (info.info101 == NULL) { -- errcode = W_ERROR_V(WERR_INVALID_PARAM); -- goto out; -- } -- - if (uLevel != 20) { -- srvstr_push(NULL, 0, p, info.info101->server_name, 16, -+ srvstr_push(NULL, 0, p, global_myname(), 16, - STR_ASCII|STR_UPPER|STR_TERMINATE); -- } -+ } - p += 16; - if (uLevel > 0) { -- SCVAL(p,0,info.info101->version_major); -- SCVAL(p,1,info.info101->version_minor); -- SIVAL(p,2,info.info101->server_type); -- -- if (mdrcnt == struct_len) { -- SIVAL(p,6,0); -- } else { -- SIVAL(p,6,PTR_DIFF(p2,*rdata)); -- if (mdrcnt - struct_len <= 0) { -- return false; -- } -- push_ascii(p2, -- info.info101->comment, -- MIN(mdrcnt - struct_len, -- MAX_SERVER_STRING_LENGTH), -- STR_TERMINATE); -- p2 = skip_string(*rdata,*rdata_len,p2); -- if (!p2) { -- return False; -- } -- } -+ SCVAL(p,0,lp_major_announce_version()); -+ SCVAL(p,1,lp_minor_announce_version()); -+ SIVAL(p,2,lp_default_server_announce()); -+ SIVAL(p,6,0); - } - - if (uLevel > 1) { -@@ -5405,6 +5356,10 @@ static bool api_RNetSessionEnum(struct s - uint32_t totalentries, resume_handle = 0; - uint32_t count = 0; - -+#ifndef SRVSVC_SUPPORT -+ return False; -+#endif -+ - if (!str1 || !str2 || !p) { - return False; - } ---- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c -+++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c -@@ -1533,6 +1533,10 @@ WERROR _srvsvc_NetShareSetInfo(struct pi - TALLOC_CTX *ctx = p->mem_ctx; - union srvsvc_NetShareInfo *info = r->in.info; - -+#ifndef FULL_SRVSVC -+ return WERR_ACCESS_DENIED; -+#endif -+ - DEBUG(5,("_srvsvc_NetShareSetInfo: %d\n", __LINE__)); - - if (!r->in.share_name) { -@@ -1763,6 +1767,10 @@ WERROR _srvsvc_NetShareAdd(struct pipes_ - int max_connections = 0; - TALLOC_CTX *ctx = p->mem_ctx; - -+#ifndef FULL_SRVSVC -+ return WERR_ACCESS_DENIED; -+#endif -+ - DEBUG(5,("_srvsvc_NetShareAdd: %d\n", __LINE__)); - - if (r->out.parm_error) { -@@ -1945,6 +1953,10 @@ WERROR _srvsvc_NetShareDel(struct pipes_ - struct share_params *params; - TALLOC_CTX *ctx = p->mem_ctx; - -+#ifndef FULL_SRVSVC -+ return WERR_ACCESS_DENIED; -+#endif -+ - DEBUG(5,("_srvsvc_NetShareDel: %d\n", __LINE__)); - - if (!r->in.share_name) { diff --git a/unmaintained/samba36/290-remove_lsa.patch b/unmaintained/samba36/290-remove_lsa.patch deleted file mode 100644 index fe37d5dae1..0000000000 --- a/unmaintained/samba36/290-remove_lsa.patch +++ /dev/null @@ -1,73 +0,0 @@ ---- a/source3/librpc/rpc/rpc_common.c -+++ b/source3/librpc/rpc/rpc_common.c -@@ -92,9 +92,11 @@ bool smb_register_ndr_interface(const st - - static bool initialize_interfaces(void) - { -+#ifdef LSA_SUPPORT - if (!smb_register_ndr_interface(&ndr_table_lsarpc)) { - return false; - } -+#endif - #ifdef ACTIVE_DIRECTORY - if (!smb_register_ndr_interface(&ndr_table_dssetup)) { - return false; ---- a/source3/smbd/server_exit.c -+++ b/source3/smbd/server_exit.c -@@ -162,7 +162,9 @@ static void exit_server_common(enum serv - #ifdef SAMR_SUPPORT - rpc_samr_shutdown(); - #endif -+#ifdef LSA_SUPPORT - rpc_lsarpc_shutdown(); -+#endif - } - - /* ---- a/source3/rpc_server/rpc_ep_setup.c -+++ b/source3/rpc_server/rpc_ep_setup.c -@@ -508,6 +508,7 @@ static bool srvsvc_init_cb(void *ptr) - return true; - } - -+#ifdef LSA_SUPPORT - static bool lsarpc_init_cb(void *ptr) - { - struct dcesrv_ep_context *ep_ctx = -@@ -556,6 +557,7 @@ static bool lsarpc_init_cb(void *ptr) - - return true; - } -+#endif - - #ifdef SAMR_SUPPORT - static bool samr_init_cb(void *ptr) -@@ -1106,12 +1108,14 @@ bool dcesrv_ep_setup(struct tevent_conte - } - - -+#ifdef LSA_SUPPORT - lsarpc_cb.init = lsarpc_init_cb; - lsarpc_cb.shutdown = NULL; - lsarpc_cb.private_data = ep_ctx; - if (!NT_STATUS_IS_OK(rpc_lsarpc_init(&lsarpc_cb))) { - return false; - } -+#endif - - #ifdef SAMR_SUPPORT - samr_cb.init = samr_init_cb; ---- a/source3/rpc_server/rpc_handles.c -+++ b/source3/rpc_server/rpc_handles.c -@@ -63,7 +63,10 @@ static bool is_samr_lsa_pipe(const struc - #ifdef SAMR_SUPPORT - ndr_syntax_id_equal(syntax, &ndr_table_samr.syntax_id) || - #endif -- ndr_syntax_id_equal(syntax, &ndr_table_lsarpc.syntax_id); -+#ifdef LSA_SUPPORT -+ ndr_syntax_id_equal(syntax, &ndr_table_lsarpc.syntax_id) || -+#endif -+ false; - } - - size_t num_pipe_handles(struct pipes_struct *p) diff --git a/unmaintained/samba36/300-assert_debug_level.patch b/unmaintained/samba36/300-assert_debug_level.patch deleted file mode 100644 index c5b07168c6..0000000000 --- a/unmaintained/samba36/300-assert_debug_level.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/lib/util/util.h -+++ b/lib/util/util.h -@@ -53,7 +53,7 @@ extern const char *panic_action; - #else - /* redefine the assert macro for non-developer builds */ - #define SMB_ASSERT(b) do { if (!(b)) { \ -- DEBUG(0,("PANIC: assert failed at %s(%d): %s\n", \ -+ DEBUG(3,("PANIC: assert failed at %s(%d): %s\n", \ - __FILE__, __LINE__, #b)); }} while (0) - #endif - diff --git a/unmaintained/samba36/310-remove_error_strings.patch b/unmaintained/samba36/310-remove_error_strings.patch deleted file mode 100644 index 8c7ae2d7d0..0000000000 --- a/unmaintained/samba36/310-remove_error_strings.patch +++ /dev/null @@ -1,253 +0,0 @@ ---- a/libcli/util/doserr.c -+++ b/libcli/util/doserr.c -@@ -28,6 +28,7 @@ struct werror_code_struct { - - static const struct werror_code_struct dos_errs[] = - { -+#ifdef VERBOSE_ERROR - { "WERR_OK", WERR_OK }, - { "WERR_BADFILE", WERR_BADFILE }, - { "WERR_ACCESS_DENIED", WERR_ACCESS_DENIED }, -@@ -2668,6 +2669,7 @@ static const struct werror_code_struct d - { "WERR_AMBIGUOUS_SYSTEM_DEVICE", WERR_AMBIGUOUS_SYSTEM_DEVICE }, - { "WERR_SYSTEM_DEVICE_NOT_FOUND", WERR_SYSTEM_DEVICE_NOT_FOUND }, - /* END GENERATED-WIN32-ERROR-CODES */ -+#endif - { NULL, W_ERROR(0) } - }; - -@@ -2684,12 +2686,14 @@ const char *win_errstr(WERROR werror) - static char msg[40]; - int idx = 0; - -+#ifdef VERBOSE_ERROR - while (dos_errs[idx].dos_errstr != NULL) { - if (W_ERROR_V(dos_errs[idx].werror) == - W_ERROR_V(werror)) - return dos_errs[idx].dos_errstr; - idx++; - } -+#endif - - slprintf(msg, sizeof(msg), "DOS code 0x%08x", W_ERROR_V(werror)); - -@@ -2702,6 +2706,7 @@ struct werror_str_struct { - }; - - const struct werror_str_struct dos_err_strs[] = { -+#ifdef VERBOSE_ERROR - { WERR_OK, "Success" }, - { WERR_ACCESS_DENIED, "Access is denied" }, - { WERR_INVALID_PARAM, "Invalid parameter" }, -@@ -5324,6 +5329,7 @@ const struct werror_str_struct dos_err_s - { WERR_AMBIGUOUS_SYSTEM_DEVICE, "The requested system device cannot be identified due to multiple indistinguishable devices potentially matching the identification criteria." }, - { WERR_SYSTEM_DEVICE_NOT_FOUND, "The requested system device cannot be found." }, - /* END GENERATED-WIN32-ERROR-CODES-DESC */ -+#endif - }; - - -@@ -5334,6 +5340,7 @@ const struct werror_str_struct dos_err_s - - const char *get_friendly_werror_msg(WERROR werror) - { -+#ifdef VERBOSE_ERROR - int i = 0; - - for (i = 0; i < ARRAY_SIZE(dos_err_strs); i++) { -@@ -5342,6 +5349,7 @@ const char *get_friendly_werror_msg(WERR - return dos_err_strs[i].friendly_errstr; - } - } -+#endif - - return win_errstr(werror); - } ---- a/librpc/ndr/libndr.h -+++ b/librpc/ndr/libndr.h -@@ -604,4 +604,20 @@ _PUBLIC_ enum ndr_err_code ndr_push_enum - - _PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b); - -+#ifndef VERBOSE_ERROR -+#define ndr_print_bool(...) do {} while (0) -+#define ndr_print_struct(...) do {} while (0) -+#define ndr_print_null(...) do {} while (0) -+#define ndr_print_enum(...) do {} while (0) -+#define ndr_print_bitmap_flag(...) do {} while (0) -+#define ndr_print_ptr(...) do {} while (0) -+#define ndr_print_union(...) do {} while (0) -+#define ndr_print_bad_level(...) do {} while (0) -+#define ndr_print_array_uint8(...) do {} while (0) -+#define ndr_print_string_array(...) do {} while (0) -+#define ndr_print_string_array(...) do {} while (0) -+#define ndr_print_NTSTATUS(...) do {} while (0) -+#define ndr_print_WERROR(...) do {} while (0) -+#endif -+ - #endif /* __LIBNDR_H__ */ ---- a/librpc/ndr/ndr_basic.c -+++ b/librpc/ndr/ndr_basic.c -@@ -31,6 +31,19 @@ - #define NDR_SIVAL(ndr, ofs, v) do { if (NDR_BE(ndr)) { RSIVAL(ndr->data,ofs,v); } else SIVAL(ndr->data,ofs,v); } while (0) - #define NDR_SIVALS(ndr, ofs, v) do { if (NDR_BE(ndr)) { RSIVALS(ndr->data,ofs,v); } else SIVALS(ndr->data,ofs,v); } while (0) - -+#undef ndr_print_bool -+#undef ndr_print_struct -+#undef ndr_print_null -+#undef ndr_print_enum -+#undef ndr_print_bitmap_flag -+#undef ndr_print_ptr -+#undef ndr_print_union -+#undef ndr_print_bad_level -+#undef ndr_print_array_uint8 -+#undef ndr_print_string_array -+#undef ndr_print_string_array -+#undef ndr_print_NTSTATUS -+#undef ndr_print_WERROR - - /* - check for data leaks from the server by looking for non-zero pad bytes ---- a/librpc/ndr/ndr_string.c -+++ b/librpc/ndr/ndr_string.c -@@ -588,6 +588,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_stri - return NDR_ERR_SUCCESS; - } - -+#undef ndr_print_string_array - _PUBLIC_ void ndr_print_string_array(struct ndr_print *ndr, const char *name, const char **a) - { - uint32_t count; ---- a/librpc/rpc/dcerpc_error.c -+++ b/librpc/rpc/dcerpc_error.c -@@ -31,6 +31,7 @@ struct dcerpc_fault_table { - static const struct dcerpc_fault_table dcerpc_faults[] = - { - #define _FAULT_STR(x) { #x , x } -+#ifdef VERBOSE_ERROR - _FAULT_STR(DCERPC_NCA_S_COMM_FAILURE), - _FAULT_STR(DCERPC_NCA_S_OP_RNG_ERROR), - _FAULT_STR(DCERPC_NCA_S_UNKNOWN_IF), -@@ -78,6 +79,7 @@ static const struct dcerpc_fault_table d - _FAULT_STR(DCERPC_NCA_S_FAULT_CODESET_CONV_ERROR), - _FAULT_STR(DCERPC_NCA_S_FAULT_OBJECT_NOT_FOUND), - _FAULT_STR(DCERPC_NCA_S_FAULT_NO_CLIENT_STUB), -+#endif - { NULL, 0 } - #undef _FAULT_STR - }; -@@ -87,12 +89,14 @@ _PUBLIC_ const char *dcerpc_errstr(TALLO - int idx = 0; - WERROR werr = W_ERROR(fault_code); - -+#ifdef VERBOSE_ERROR - while (dcerpc_faults[idx].errstr != NULL) { - if (dcerpc_faults[idx].faultcode == fault_code) { - return dcerpc_faults[idx].errstr; - } - idx++; - } -+#endif - - return win_errstr(werr); - } ---- a/source3/libsmb/nterr.c -+++ b/source3/libsmb/nterr.c -@@ -702,6 +702,7 @@ const char *nt_errstr(NTSTATUS nt_code) - NT_STATUS_DOS_CODE(nt_code)); - } - -+#ifdef VERBOSE_ERROR - while (nt_errs[idx].nt_errstr != NULL) { - if (NT_STATUS_V(nt_errs[idx].nt_errcode) == - NT_STATUS_V(nt_code)) { -@@ -709,6 +710,7 @@ const char *nt_errstr(NTSTATUS nt_code) - } - idx++; - } -+#endif - - result = talloc_asprintf(talloc_tos(), "NT code 0x%08x", - NT_STATUS_V(nt_code)); -@@ -724,12 +726,14 @@ const char *get_friendly_nt_error_msg(NT - { - int idx = 0; - -+#ifdef VERBOSE_ERROR - while (nt_err_desc[idx].nt_errstr != NULL) { - if (NT_STATUS_V(nt_err_desc[idx].nt_errcode) == NT_STATUS_V(nt_code)) { - return nt_err_desc[idx].nt_errstr; - } - idx++; - } -+#endif - - /* fall back to NT_STATUS_XXX string */ - -@@ -745,6 +749,7 @@ const char *get_nt_error_c_code(NTSTATUS - char *result; - int idx = 0; - -+#ifdef VERBOSE_ERROR - while (nt_errs[idx].nt_errstr != NULL) { - if (NT_STATUS_V(nt_errs[idx].nt_errcode) == - NT_STATUS_V(nt_code)) { -@@ -752,6 +757,7 @@ const char *get_nt_error_c_code(NTSTATUS - } - idx++; - } -+#endif - - result = talloc_asprintf(talloc_tos(), "NT_STATUS(0x%08x)", - NT_STATUS_V(nt_code)); -@@ -767,12 +773,14 @@ NTSTATUS nt_status_string_to_code(const - { - int idx = 0; - -+#ifdef VERBOSE_ERROR - while (nt_errs[idx].nt_errstr != NULL) { - if (strcasecmp(nt_errs[idx].nt_errstr, nt_status_str) == 0) { - return nt_errs[idx].nt_errcode; - } - idx++; - } -+#endif - return NT_STATUS_UNSUCCESSFUL; - } - ---- a/lib/tdb/common/tdb_private.h -+++ b/lib/tdb/common/tdb_private.h -@@ -69,7 +69,11 @@ typedef uint32_t tdb_off_t; - /* NB assumes there is a local variable called "tdb" that is the - * current context, also takes doubly-parenthesized print-style - * argument. */ -+#ifdef VERBOSE_DEBUG - #define TDB_LOG(x) tdb->log.log_fn x -+#else -+#define TDB_LOG(x) do {} while(0) -+#endif - - #ifdef TDB_TRACE - void tdb_trace(struct tdb_context *tdb, const char *op); ---- a/source3/script/mkbuildoptions.awk -+++ b/source3/script/mkbuildoptions.awk -@@ -55,7 +55,7 @@ BEGIN { - print "****************************************************************************/"; - print "void build_options(bool screen)"; - print "{"; -- print " if ((DEBUGLEVEL < 4) && (!screen)) {"; -+ print " if ((DEBUGLEVEL < 4) || (!screen)) {"; - print " return;"; - print " }"; - print ""; ---- a/source3/script/mkbuildoptions-waf.awk -+++ b/source3/script/mkbuildoptions-waf.awk -@@ -55,7 +55,7 @@ BEGIN { - print "****************************************************************************/"; - print "void build_options(bool screen)"; - print "{"; -- print " if ((DEBUGLEVEL < 4) && (!screen)) {"; -+ print " if ((DEBUGLEVEL < 4) || (!screen)) {"; - print " return;"; - print " }"; - print ""; diff --git a/unmaintained/samba36/320-debug_level_checks.patch b/unmaintained/samba36/320-debug_level_checks.patch deleted file mode 100644 index c6f2e6e0d9..0000000000 --- a/unmaintained/samba36/320-debug_level_checks.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/lib/util/debug.h -+++ b/lib/util/debug.h -@@ -45,7 +45,7 @@ bool dbghdr( int level, const char *loca - * Redefine DEBUGLEVEL because so we don't have to change every source file - * that *unnecessarily* references it. - */ --#define DEBUGLEVEL DEBUGLEVEL_CLASS[DBGC_ALL] -+#define DEBUGLEVEL 0 - - /* - * Define all new debug classes here. A class is represented by an entry in ---- a/source3/nmbd/asyncdns.c -+++ b/source3/nmbd/asyncdns.c -@@ -85,7 +85,7 @@ static void asyncdns_process(void) - struct query_record r; - unstring qname; - -- DEBUGLEVEL = -1; -+ DEBUGLEVEL_CLASS[DBGC_ALL] = -1; - - while (1) { - NTSTATUS status; diff --git a/unmaintained/samba36/330-librpc_default_print.patch b/unmaintained/samba36/330-librpc_default_print.patch deleted file mode 100644 index f9c2e0e687..0000000000 --- a/unmaintained/samba36/330-librpc_default_print.patch +++ /dev/null @@ -1,8854 +0,0 @@ ---- a/source3/librpc/ndr/util.c -+++ b/source3/librpc/ndr/util.c -@@ -28,3 +28,7 @@ _PUBLIC_ void ndr_print_sockaddr_storage - char addr[INET6_ADDRSTRLEN]; - ndr->print(ndr, "%-25s: %s", name, print_sockaddr(addr, sizeof(addr), ss)); - } -+ -+_PUBLIC_ void ndr_print_disabled(struct ndr_print *ndr, const char *name, int flags, void *r) -+{ -+} ---- a/source3/librpc/gen_ndr/ndr_atsvc.c -+++ b/source3/librpc/gen_ndr/ndr_atsvc.c -@@ -867,7 +867,7 @@ static const struct ndr_interface_call a - sizeof(struct atsvc_JobAdd), - (ndr_push_flags_fn_t) ndr_push_atsvc_JobAdd, - (ndr_pull_flags_fn_t) ndr_pull_atsvc_JobAdd, -- (ndr_print_function_t) ndr_print_atsvc_JobAdd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -876,7 +876,7 @@ static const struct ndr_interface_call a - sizeof(struct atsvc_JobDel), - (ndr_push_flags_fn_t) ndr_push_atsvc_JobDel, - (ndr_pull_flags_fn_t) ndr_pull_atsvc_JobDel, -- (ndr_print_function_t) ndr_print_atsvc_JobDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -885,7 +885,7 @@ static const struct ndr_interface_call a - sizeof(struct atsvc_JobEnum), - (ndr_push_flags_fn_t) ndr_push_atsvc_JobEnum, - (ndr_pull_flags_fn_t) ndr_pull_atsvc_JobEnum, -- (ndr_print_function_t) ndr_print_atsvc_JobEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -894,7 +894,7 @@ static const struct ndr_interface_call a - sizeof(struct atsvc_JobGetInfo), - (ndr_push_flags_fn_t) ndr_push_atsvc_JobGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_atsvc_JobGetInfo, -- (ndr_print_function_t) ndr_print_atsvc_JobGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_audiosrv.c -+++ b/source3/librpc/gen_ndr/ndr_audiosrv.c -@@ -594,7 +594,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_CreatezoneFactoriesList), - (ndr_push_flags_fn_t) ndr_push_audiosrv_CreatezoneFactoriesList, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreatezoneFactoriesList, -- (ndr_print_function_t) ndr_print_audiosrv_CreatezoneFactoriesList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -603,7 +603,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_CreateGfxFactoriesList), - (ndr_push_flags_fn_t) ndr_push_audiosrv_CreateGfxFactoriesList, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreateGfxFactoriesList, -- (ndr_print_function_t) ndr_print_audiosrv_CreateGfxFactoriesList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -612,7 +612,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_CreateGfxList), - (ndr_push_flags_fn_t) ndr_push_audiosrv_CreateGfxList, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_CreateGfxList, -- (ndr_print_function_t) ndr_print_audiosrv_CreateGfxList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -621,7 +621,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_RemoveGfx), - (ndr_push_flags_fn_t) ndr_push_audiosrv_RemoveGfx, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_RemoveGfx, -- (ndr_print_function_t) ndr_print_audiosrv_RemoveGfx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -630,7 +630,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_AddGfx), - (ndr_push_flags_fn_t) ndr_push_audiosrv_AddGfx, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_AddGfx, -- (ndr_print_function_t) ndr_print_audiosrv_AddGfx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -639,7 +639,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_ModifyGfx), - (ndr_push_flags_fn_t) ndr_push_audiosrv_ModifyGfx, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_ModifyGfx, -- (ndr_print_function_t) ndr_print_audiosrv_ModifyGfx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -648,7 +648,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_OpenGfx), - (ndr_push_flags_fn_t) ndr_push_audiosrv_OpenGfx, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_OpenGfx, -- (ndr_print_function_t) ndr_print_audiosrv_OpenGfx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -657,7 +657,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_Logon), - (ndr_push_flags_fn_t) ndr_push_audiosrv_Logon, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_Logon, -- (ndr_print_function_t) ndr_print_audiosrv_Logon, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -666,7 +666,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_Logoff), - (ndr_push_flags_fn_t) ndr_push_audiosrv_Logoff, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_Logoff, -- (ndr_print_function_t) ndr_print_audiosrv_Logoff, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -675,7 +675,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_RegisterSessionNotificationEvent), - (ndr_push_flags_fn_t) ndr_push_audiosrv_RegisterSessionNotificationEvent, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_RegisterSessionNotificationEvent, -- (ndr_print_function_t) ndr_print_audiosrv_RegisterSessionNotificationEvent, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -684,7 +684,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_UnregisterSessionNotificationEvent), - (ndr_push_flags_fn_t) ndr_push_audiosrv_UnregisterSessionNotificationEvent, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_UnregisterSessionNotificationEvent, -- (ndr_print_function_t) ndr_print_audiosrv_UnregisterSessionNotificationEvent, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -693,7 +693,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_SessionConnectState), - (ndr_push_flags_fn_t) ndr_push_audiosrv_SessionConnectState, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_SessionConnectState, -- (ndr_print_function_t) ndr_print_audiosrv_SessionConnectState, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -702,7 +702,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_DriverOpenDrvRegKey), - (ndr_push_flags_fn_t) ndr_push_audiosrv_DriverOpenDrvRegKey, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_DriverOpenDrvRegKey, -- (ndr_print_function_t) ndr_print_audiosrv_DriverOpenDrvRegKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -711,7 +711,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_AdvisePreferredDeviceChange), - (ndr_push_flags_fn_t) ndr_push_audiosrv_AdvisePreferredDeviceChange, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_AdvisePreferredDeviceChange, -- (ndr_print_function_t) ndr_print_audiosrv_AdvisePreferredDeviceChange, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -720,7 +720,7 @@ static const struct ndr_interface_call a - sizeof(struct audiosrv_GetPnpInfo), - (ndr_push_flags_fn_t) ndr_push_audiosrv_GetPnpInfo, - (ndr_pull_flags_fn_t) ndr_pull_audiosrv_GetPnpInfo, -- (ndr_print_function_t) ndr_print_audiosrv_GetPnpInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_backupkey.c -+++ b/source3/librpc/gen_ndr/ndr_backupkey.c -@@ -740,7 +740,7 @@ static const struct ndr_interface_call b - sizeof(struct bkrp_BackupKey), - (ndr_push_flags_fn_t) ndr_push_bkrp_BackupKey, - (ndr_pull_flags_fn_t) ndr_pull_bkrp_BackupKey, -- (ndr_print_function_t) ndr_print_bkrp_BackupKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_browser.c -+++ b/source3/librpc/gen_ndr/ndr_browser.c -@@ -928,7 +928,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrServerEnum), - (ndr_push_flags_fn_t) ndr_push_BrowserrServerEnum, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrServerEnum, -- (ndr_print_function_t) ndr_print_BrowserrServerEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -937,7 +937,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrDebugCall), - (ndr_push_flags_fn_t) ndr_push_BrowserrDebugCall, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrDebugCall, -- (ndr_print_function_t) ndr_print_BrowserrDebugCall, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -946,7 +946,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrQueryOtherDomains), - (ndr_push_flags_fn_t) ndr_push_BrowserrQueryOtherDomains, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrQueryOtherDomains, -- (ndr_print_function_t) ndr_print_BrowserrQueryOtherDomains, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -955,7 +955,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrResetNetlogonState), - (ndr_push_flags_fn_t) ndr_push_BrowserrResetNetlogonState, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrResetNetlogonState, -- (ndr_print_function_t) ndr_print_BrowserrResetNetlogonState, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -964,7 +964,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrDebugTrace), - (ndr_push_flags_fn_t) ndr_push_BrowserrDebugTrace, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrDebugTrace, -- (ndr_print_function_t) ndr_print_BrowserrDebugTrace, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -973,7 +973,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrQueryStatistics), - (ndr_push_flags_fn_t) ndr_push_BrowserrQueryStatistics, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrQueryStatistics, -- (ndr_print_function_t) ndr_print_BrowserrQueryStatistics, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -982,7 +982,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserResetStatistics), - (ndr_push_flags_fn_t) ndr_push_BrowserResetStatistics, - (ndr_pull_flags_fn_t) ndr_pull_BrowserResetStatistics, -- (ndr_print_function_t) ndr_print_BrowserResetStatistics, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -991,7 +991,7 @@ static const struct ndr_interface_call b - sizeof(struct NetrBrowserStatisticsClear), - (ndr_push_flags_fn_t) ndr_push_NetrBrowserStatisticsClear, - (ndr_pull_flags_fn_t) ndr_pull_NetrBrowserStatisticsClear, -- (ndr_print_function_t) ndr_print_NetrBrowserStatisticsClear, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1000,7 +1000,7 @@ static const struct ndr_interface_call b - sizeof(struct NetrBrowserStatisticsGet), - (ndr_push_flags_fn_t) ndr_push_NetrBrowserStatisticsGet, - (ndr_pull_flags_fn_t) ndr_pull_NetrBrowserStatisticsGet, -- (ndr_print_function_t) ndr_print_NetrBrowserStatisticsGet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1009,7 +1009,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrSetNetlogonState), - (ndr_push_flags_fn_t) ndr_push_BrowserrSetNetlogonState, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrSetNetlogonState, -- (ndr_print_function_t) ndr_print_BrowserrSetNetlogonState, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1018,7 +1018,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrQueryEmulatedDomains), - (ndr_push_flags_fn_t) ndr_push_BrowserrQueryEmulatedDomains, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrQueryEmulatedDomains, -- (ndr_print_function_t) ndr_print_BrowserrQueryEmulatedDomains, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1027,7 +1027,7 @@ static const struct ndr_interface_call b - sizeof(struct BrowserrServerEnumEx), - (ndr_push_flags_fn_t) ndr_push_BrowserrServerEnumEx, - (ndr_pull_flags_fn_t) ndr_pull_BrowserrServerEnumEx, -- (ndr_print_function_t) ndr_print_BrowserrServerEnumEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dbgidl.c -+++ b/source3/librpc/gen_ndr/ndr_dbgidl.c -@@ -48,7 +48,7 @@ static const struct ndr_interface_call d - sizeof(struct dummy_dbgidl), - (ndr_push_flags_fn_t) ndr_push_dummy_dbgidl, - (ndr_pull_flags_fn_t) ndr_pull_dummy_dbgidl, -- (ndr_print_function_t) ndr_print_dummy_dbgidl, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dcom.c -+++ b/source3/librpc/gen_ndr/ndr_dcom.c -@@ -128,7 +128,7 @@ static const struct ndr_interface_call d - sizeof(struct UseProtSeq), - (ndr_push_flags_fn_t) ndr_push_UseProtSeq, - (ndr_pull_flags_fn_t) ndr_pull_UseProtSeq, -- (ndr_print_function_t) ndr_print_UseProtSeq, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -137,7 +137,7 @@ static const struct ndr_interface_call d - sizeof(struct GetCustomProtseqInfo), - (ndr_push_flags_fn_t) ndr_push_GetCustomProtseqInfo, - (ndr_pull_flags_fn_t) ndr_pull_GetCustomProtseqInfo, -- (ndr_print_function_t) ndr_print_GetCustomProtseqInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -146,7 +146,7 @@ static const struct ndr_interface_call d - sizeof(struct UpdateResolverBindings), - (ndr_push_flags_fn_t) ndr_push_UpdateResolverBindings, - (ndr_pull_flags_fn_t) ndr_pull_UpdateResolverBindings, -- (ndr_print_function_t) ndr_print_UpdateResolverBindings, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -450,7 +450,7 @@ static const struct ndr_interface_call I - sizeof(struct QueryInterface), - (ndr_push_flags_fn_t) ndr_push_QueryInterface, - (ndr_pull_flags_fn_t) ndr_pull_QueryInterface, -- (ndr_print_function_t) ndr_print_QueryInterface, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -459,7 +459,7 @@ static const struct ndr_interface_call I - sizeof(struct AddRef), - (ndr_push_flags_fn_t) ndr_push_AddRef, - (ndr_pull_flags_fn_t) ndr_pull_AddRef, -- (ndr_print_function_t) ndr_print_AddRef, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -468,7 +468,7 @@ static const struct ndr_interface_call I - sizeof(struct Release), - (ndr_push_flags_fn_t) ndr_push_Release, - (ndr_pull_flags_fn_t) ndr_pull_Release, -- (ndr_print_function_t) ndr_print_Release, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -849,7 +849,7 @@ static const struct ndr_interface_call I - sizeof(struct CreateInstance), - (ndr_push_flags_fn_t) ndr_push_CreateInstance, - (ndr_pull_flags_fn_t) ndr_pull_CreateInstance, -- (ndr_print_function_t) ndr_print_CreateInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -858,7 +858,7 @@ static const struct ndr_interface_call I - sizeof(struct RemoteCreateInstance), - (ndr_push_flags_fn_t) ndr_push_RemoteCreateInstance, - (ndr_pull_flags_fn_t) ndr_pull_RemoteCreateInstance, -- (ndr_print_function_t) ndr_print_RemoteCreateInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -867,7 +867,7 @@ static const struct ndr_interface_call I - sizeof(struct LockServer), - (ndr_push_flags_fn_t) ndr_push_LockServer, - (ndr_pull_flags_fn_t) ndr_pull_LockServer, -- (ndr_print_function_t) ndr_print_LockServer, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -876,7 +876,7 @@ static const struct ndr_interface_call I - sizeof(struct RemoteLockServer), - (ndr_push_flags_fn_t) ndr_push_RemoteLockServer, - (ndr_pull_flags_fn_t) ndr_pull_RemoteLockServer, -- (ndr_print_function_t) ndr_print_RemoteLockServer, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1434,7 +1434,7 @@ static const struct ndr_interface_call I - sizeof(struct RemQueryInterface), - (ndr_push_flags_fn_t) ndr_push_RemQueryInterface, - (ndr_pull_flags_fn_t) ndr_pull_RemQueryInterface, -- (ndr_print_function_t) ndr_print_RemQueryInterface, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1443,7 +1443,7 @@ static const struct ndr_interface_call I - sizeof(struct RemAddRef), - (ndr_push_flags_fn_t) ndr_push_RemAddRef, - (ndr_pull_flags_fn_t) ndr_pull_RemAddRef, -- (ndr_print_function_t) ndr_print_RemAddRef, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1452,7 +1452,7 @@ static const struct ndr_interface_call I - sizeof(struct RemRelease), - (ndr_push_flags_fn_t) ndr_push_RemRelease, - (ndr_pull_flags_fn_t) ndr_pull_RemRelease, -- (ndr_print_function_t) ndr_print_RemRelease, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1590,7 +1590,7 @@ static const struct ndr_interface_call I - sizeof(struct GetClassObject), - (ndr_push_flags_fn_t) ndr_push_GetClassObject, - (ndr_pull_flags_fn_t) ndr_pull_GetClassObject, -- (ndr_print_function_t) ndr_print_GetClassObject, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1701,7 +1701,7 @@ static const struct ndr_interface_call I - sizeof(struct ISCMLocalActivator_CreateInstance), - (ndr_push_flags_fn_t) ndr_push_ISCMLocalActivator_CreateInstance, - (ndr_pull_flags_fn_t) ndr_pull_ISCMLocalActivator_CreateInstance, -- (ndr_print_function_t) ndr_print_ISCMLocalActivator_CreateInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1788,7 +1788,7 @@ static const struct ndr_interface_call I - sizeof(struct IMachineLocalActivator_foo), - (ndr_push_flags_fn_t) ndr_push_IMachineLocalActivator_foo, - (ndr_pull_flags_fn_t) ndr_pull_IMachineLocalActivator_foo, -- (ndr_print_function_t) ndr_print_IMachineLocalActivator_foo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1875,7 +1875,7 @@ static const struct ndr_interface_call I - sizeof(struct ILocalObjectExporter_Foo), - (ndr_push_flags_fn_t) ndr_push_ILocalObjectExporter_Foo, - (ndr_pull_flags_fn_t) ndr_pull_ILocalObjectExporter_Foo, -- (ndr_print_function_t) ndr_print_ILocalObjectExporter_Foo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2031,7 +2031,7 @@ static const struct ndr_interface_call I - sizeof(struct ISystemActivatorRemoteCreateInstance), - (ndr_push_flags_fn_t) ndr_push_ISystemActivatorRemoteCreateInstance, - (ndr_pull_flags_fn_t) ndr_pull_ISystemActivatorRemoteCreateInstance, -- (ndr_print_function_t) ndr_print_ISystemActivatorRemoteCreateInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2319,7 +2319,7 @@ static const struct ndr_interface_call I - sizeof(struct RemQueryInterface2), - (ndr_push_flags_fn_t) ndr_push_RemQueryInterface2, - (ndr_pull_flags_fn_t) ndr_pull_RemQueryInterface2, -- (ndr_print_function_t) ndr_print_RemQueryInterface2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3040,7 +3040,7 @@ static const struct ndr_interface_call I - sizeof(struct GetTypeInfoCount), - (ndr_push_flags_fn_t) ndr_push_GetTypeInfoCount, - (ndr_pull_flags_fn_t) ndr_pull_GetTypeInfoCount, -- (ndr_print_function_t) ndr_print_GetTypeInfoCount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3049,7 +3049,7 @@ static const struct ndr_interface_call I - sizeof(struct GetTypeInfo), - (ndr_push_flags_fn_t) ndr_push_GetTypeInfo, - (ndr_pull_flags_fn_t) ndr_pull_GetTypeInfo, -- (ndr_print_function_t) ndr_print_GetTypeInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3058,7 +3058,7 @@ static const struct ndr_interface_call I - sizeof(struct GetIDsOfNames), - (ndr_push_flags_fn_t) ndr_push_GetIDsOfNames, - (ndr_pull_flags_fn_t) ndr_pull_GetIDsOfNames, -- (ndr_print_function_t) ndr_print_GetIDsOfNames, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3067,7 +3067,7 @@ static const struct ndr_interface_call I - sizeof(struct Invoke), - (ndr_push_flags_fn_t) ndr_push_Invoke, - (ndr_pull_flags_fn_t) ndr_pull_Invoke, -- (ndr_print_function_t) ndr_print_Invoke, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3243,7 +3243,7 @@ static const struct ndr_interface_call I - sizeof(struct MarshalInterface), - (ndr_push_flags_fn_t) ndr_push_MarshalInterface, - (ndr_pull_flags_fn_t) ndr_pull_MarshalInterface, -- (ndr_print_function_t) ndr_print_MarshalInterface, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3252,7 +3252,7 @@ static const struct ndr_interface_call I - sizeof(struct UnMarshalInterface), - (ndr_push_flags_fn_t) ndr_push_UnMarshalInterface, - (ndr_pull_flags_fn_t) ndr_pull_UnMarshalInterface, -- (ndr_print_function_t) ndr_print_UnMarshalInterface, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3385,7 +3385,7 @@ static const struct ndr_interface_call I - sizeof(struct MakeCoffee), - (ndr_push_flags_fn_t) ndr_push_MakeCoffee, - (ndr_pull_flags_fn_t) ndr_pull_MakeCoffee, -- (ndr_print_function_t) ndr_print_MakeCoffee, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3681,7 +3681,7 @@ static const struct ndr_interface_call I - sizeof(struct Read), - (ndr_push_flags_fn_t) ndr_push_Read, - (ndr_pull_flags_fn_t) ndr_pull_Read, -- (ndr_print_function_t) ndr_print_Read, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3690,7 +3690,7 @@ static const struct ndr_interface_call I - sizeof(struct Write), - (ndr_push_flags_fn_t) ndr_push_Write, - (ndr_pull_flags_fn_t) ndr_pull_Write, -- (ndr_print_function_t) ndr_print_Write, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dfs.c -+++ b/source3/librpc/gen_ndr/ndr_dfs.c -@@ -5910,7 +5910,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_GetManagerVersion), - (ndr_push_flags_fn_t) ndr_push_dfs_GetManagerVersion, - (ndr_pull_flags_fn_t) ndr_pull_dfs_GetManagerVersion, -- (ndr_print_function_t) ndr_print_dfs_GetManagerVersion, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5919,7 +5919,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_Add), - (ndr_push_flags_fn_t) ndr_push_dfs_Add, - (ndr_pull_flags_fn_t) ndr_pull_dfs_Add, -- (ndr_print_function_t) ndr_print_dfs_Add, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5928,7 +5928,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_Remove), - (ndr_push_flags_fn_t) ndr_push_dfs_Remove, - (ndr_pull_flags_fn_t) ndr_pull_dfs_Remove, -- (ndr_print_function_t) ndr_print_dfs_Remove, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5937,7 +5937,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_SetInfo), - (ndr_push_flags_fn_t) ndr_push_dfs_SetInfo, - (ndr_pull_flags_fn_t) ndr_pull_dfs_SetInfo, -- (ndr_print_function_t) ndr_print_dfs_SetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5946,7 +5946,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_GetInfo), - (ndr_push_flags_fn_t) ndr_push_dfs_GetInfo, - (ndr_pull_flags_fn_t) ndr_pull_dfs_GetInfo, -- (ndr_print_function_t) ndr_print_dfs_GetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5955,7 +5955,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_Enum), - (ndr_push_flags_fn_t) ndr_push_dfs_Enum, - (ndr_pull_flags_fn_t) ndr_pull_dfs_Enum, -- (ndr_print_function_t) ndr_print_dfs_Enum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5964,7 +5964,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_Rename), - (ndr_push_flags_fn_t) ndr_push_dfs_Rename, - (ndr_pull_flags_fn_t) ndr_pull_dfs_Rename, -- (ndr_print_function_t) ndr_print_dfs_Rename, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5973,7 +5973,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_Move), - (ndr_push_flags_fn_t) ndr_push_dfs_Move, - (ndr_pull_flags_fn_t) ndr_pull_dfs_Move, -- (ndr_print_function_t) ndr_print_dfs_Move, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5982,7 +5982,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_ManagerGetConfigInfo), - (ndr_push_flags_fn_t) ndr_push_dfs_ManagerGetConfigInfo, - (ndr_pull_flags_fn_t) ndr_pull_dfs_ManagerGetConfigInfo, -- (ndr_print_function_t) ndr_print_dfs_ManagerGetConfigInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5991,7 +5991,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_ManagerSendSiteInfo), - (ndr_push_flags_fn_t) ndr_push_dfs_ManagerSendSiteInfo, - (ndr_pull_flags_fn_t) ndr_pull_dfs_ManagerSendSiteInfo, -- (ndr_print_function_t) ndr_print_dfs_ManagerSendSiteInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6000,7 +6000,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_AddFtRoot), - (ndr_push_flags_fn_t) ndr_push_dfs_AddFtRoot, - (ndr_pull_flags_fn_t) ndr_pull_dfs_AddFtRoot, -- (ndr_print_function_t) ndr_print_dfs_AddFtRoot, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6009,7 +6009,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_RemoveFtRoot), - (ndr_push_flags_fn_t) ndr_push_dfs_RemoveFtRoot, - (ndr_pull_flags_fn_t) ndr_pull_dfs_RemoveFtRoot, -- (ndr_print_function_t) ndr_print_dfs_RemoveFtRoot, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6018,7 +6018,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_AddStdRoot), - (ndr_push_flags_fn_t) ndr_push_dfs_AddStdRoot, - (ndr_pull_flags_fn_t) ndr_pull_dfs_AddStdRoot, -- (ndr_print_function_t) ndr_print_dfs_AddStdRoot, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6027,7 +6027,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_RemoveStdRoot), - (ndr_push_flags_fn_t) ndr_push_dfs_RemoveStdRoot, - (ndr_pull_flags_fn_t) ndr_pull_dfs_RemoveStdRoot, -- (ndr_print_function_t) ndr_print_dfs_RemoveStdRoot, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6036,7 +6036,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_ManagerInitialize), - (ndr_push_flags_fn_t) ndr_push_dfs_ManagerInitialize, - (ndr_pull_flags_fn_t) ndr_pull_dfs_ManagerInitialize, -- (ndr_print_function_t) ndr_print_dfs_ManagerInitialize, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6045,7 +6045,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_AddStdRootForced), - (ndr_push_flags_fn_t) ndr_push_dfs_AddStdRootForced, - (ndr_pull_flags_fn_t) ndr_pull_dfs_AddStdRootForced, -- (ndr_print_function_t) ndr_print_dfs_AddStdRootForced, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6054,7 +6054,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_GetDcAddress), - (ndr_push_flags_fn_t) ndr_push_dfs_GetDcAddress, - (ndr_pull_flags_fn_t) ndr_pull_dfs_GetDcAddress, -- (ndr_print_function_t) ndr_print_dfs_GetDcAddress, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6063,7 +6063,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_SetDcAddress), - (ndr_push_flags_fn_t) ndr_push_dfs_SetDcAddress, - (ndr_pull_flags_fn_t) ndr_pull_dfs_SetDcAddress, -- (ndr_print_function_t) ndr_print_dfs_SetDcAddress, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6072,7 +6072,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_FlushFtTable), - (ndr_push_flags_fn_t) ndr_push_dfs_FlushFtTable, - (ndr_pull_flags_fn_t) ndr_pull_dfs_FlushFtTable, -- (ndr_print_function_t) ndr_print_dfs_FlushFtTable, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6081,7 +6081,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_Add2), - (ndr_push_flags_fn_t) ndr_push_dfs_Add2, - (ndr_pull_flags_fn_t) ndr_pull_dfs_Add2, -- (ndr_print_function_t) ndr_print_dfs_Add2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6090,7 +6090,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_Remove2), - (ndr_push_flags_fn_t) ndr_push_dfs_Remove2, - (ndr_pull_flags_fn_t) ndr_pull_dfs_Remove2, -- (ndr_print_function_t) ndr_print_dfs_Remove2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6099,7 +6099,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_EnumEx), - (ndr_push_flags_fn_t) ndr_push_dfs_EnumEx, - (ndr_pull_flags_fn_t) ndr_pull_dfs_EnumEx, -- (ndr_print_function_t) ndr_print_dfs_EnumEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6108,7 +6108,7 @@ static const struct ndr_interface_call n - sizeof(struct dfs_SetInfo2), - (ndr_push_flags_fn_t) ndr_push_dfs_SetInfo2, - (ndr_pull_flags_fn_t) ndr_pull_dfs_SetInfo2, -- (ndr_print_function_t) ndr_print_dfs_SetInfo2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dfsblobs.c -+++ b/source3/librpc/gen_ndr/ndr_dfsblobs.c -@@ -1398,7 +1398,7 @@ static const struct ndr_interface_call d - sizeof(struct dfs_GetDFSReferral), - (ndr_push_flags_fn_t) ndr_push_dfs_GetDFSReferral, - (ndr_pull_flags_fn_t) ndr_pull_dfs_GetDFSReferral, -- (ndr_print_function_t) ndr_print_dfs_GetDFSReferral, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dns.c -+++ b/source3/librpc/gen_ndr/ndr_dns.c -@@ -860,7 +860,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_dns_name_packet), - (ndr_push_flags_fn_t) ndr_push_decode_dns_name_packet, - (ndr_pull_flags_fn_t) ndr_pull_decode_dns_name_packet, -- (ndr_print_function_t) ndr_print_decode_dns_name_packet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dnsp.c -+++ b/source3/librpc/gen_ndr/ndr_dnsp.c -@@ -700,7 +700,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_DnssrvRpcRecord), - (ndr_push_flags_fn_t) ndr_push_decode_DnssrvRpcRecord, - (ndr_pull_flags_fn_t) ndr_pull_decode_DnssrvRpcRecord, -- (ndr_print_function_t) ndr_print_decode_DnssrvRpcRecord, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dnsserver.c -+++ b/source3/librpc/gen_ndr/ndr_dnsserver.c -@@ -48,7 +48,7 @@ static const struct ndr_interface_call d - sizeof(struct dnsserver_foo), - (ndr_push_flags_fn_t) ndr_push_dnsserver_foo, - (ndr_pull_flags_fn_t) ndr_pull_dnsserver_foo, -- (ndr_print_function_t) ndr_print_dnsserver_foo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_drsblobs.c -+++ b/source3/librpc/gen_ndr/ndr_drsblobs.c -@@ -5275,7 +5275,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_replPropertyMetaData), - (ndr_push_flags_fn_t) ndr_push_decode_replPropertyMetaData, - (ndr_pull_flags_fn_t) ndr_pull_decode_replPropertyMetaData, -- (ndr_print_function_t) ndr_print_decode_replPropertyMetaData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5284,7 +5284,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_replUpToDateVector), - (ndr_push_flags_fn_t) ndr_push_decode_replUpToDateVector, - (ndr_pull_flags_fn_t) ndr_pull_decode_replUpToDateVector, -- (ndr_print_function_t) ndr_print_decode_replUpToDateVector, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5293,7 +5293,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_repsFromTo), - (ndr_push_flags_fn_t) ndr_push_decode_repsFromTo, - (ndr_pull_flags_fn_t) ndr_pull_decode_repsFromTo, -- (ndr_print_function_t) ndr_print_decode_repsFromTo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5302,7 +5302,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_partialAttributeSet), - (ndr_push_flags_fn_t) ndr_push_decode_partialAttributeSet, - (ndr_pull_flags_fn_t) ndr_pull_decode_partialAttributeSet, -- (ndr_print_function_t) ndr_print_decode_partialAttributeSet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5311,7 +5311,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_prefixMap), - (ndr_push_flags_fn_t) ndr_push_decode_prefixMap, - (ndr_pull_flags_fn_t) ndr_pull_decode_prefixMap, -- (ndr_print_function_t) ndr_print_decode_prefixMap, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5320,7 +5320,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_ldapControlDirSync), - (ndr_push_flags_fn_t) ndr_push_decode_ldapControlDirSync, - (ndr_pull_flags_fn_t) ndr_pull_decode_ldapControlDirSync, -- (ndr_print_function_t) ndr_print_decode_ldapControlDirSync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5329,7 +5329,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_supplementalCredentials), - (ndr_push_flags_fn_t) ndr_push_decode_supplementalCredentials, - (ndr_pull_flags_fn_t) ndr_pull_decode_supplementalCredentials, -- (ndr_print_function_t) ndr_print_decode_supplementalCredentials, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5338,7 +5338,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_Packages), - (ndr_push_flags_fn_t) ndr_push_decode_Packages, - (ndr_pull_flags_fn_t) ndr_pull_decode_Packages, -- (ndr_print_function_t) ndr_print_decode_Packages, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5347,7 +5347,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_PrimaryKerberos), - (ndr_push_flags_fn_t) ndr_push_decode_PrimaryKerberos, - (ndr_pull_flags_fn_t) ndr_pull_decode_PrimaryKerberos, -- (ndr_print_function_t) ndr_print_decode_PrimaryKerberos, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5356,7 +5356,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_PrimaryCLEARTEXT), - (ndr_push_flags_fn_t) ndr_push_decode_PrimaryCLEARTEXT, - (ndr_pull_flags_fn_t) ndr_pull_decode_PrimaryCLEARTEXT, -- (ndr_print_function_t) ndr_print_decode_PrimaryCLEARTEXT, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5365,7 +5365,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_PrimaryWDigest), - (ndr_push_flags_fn_t) ndr_push_decode_PrimaryWDigest, - (ndr_pull_flags_fn_t) ndr_pull_decode_PrimaryWDigest, -- (ndr_print_function_t) ndr_print_decode_PrimaryWDigest, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5374,7 +5374,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_trustAuthInOut), - (ndr_push_flags_fn_t) ndr_push_decode_trustAuthInOut, - (ndr_pull_flags_fn_t) ndr_pull_decode_trustAuthInOut, -- (ndr_print_function_t) ndr_print_decode_trustAuthInOut, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5383,7 +5383,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_trustDomainPasswords), - (ndr_push_flags_fn_t) ndr_push_decode_trustDomainPasswords, - (ndr_pull_flags_fn_t) ndr_pull_decode_trustDomainPasswords, -- (ndr_print_function_t) ndr_print_decode_trustDomainPasswords, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5392,7 +5392,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_ExtendedErrorInfo), - (ndr_push_flags_fn_t) ndr_push_decode_ExtendedErrorInfo, - (ndr_pull_flags_fn_t) ndr_pull_decode_ExtendedErrorInfo, -- (ndr_print_function_t) ndr_print_decode_ExtendedErrorInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5401,7 +5401,7 @@ static const struct ndr_interface_call d - sizeof(struct decode_ForestTrustInfo), - (ndr_push_flags_fn_t) ndr_push_decode_ForestTrustInfo, - (ndr_pull_flags_fn_t) ndr_pull_decode_ForestTrustInfo, -- (ndr_print_function_t) ndr_print_decode_ForestTrustInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_drsuapi.c -+++ b/source3/librpc/gen_ndr/ndr_drsuapi.c -@@ -16500,7 +16500,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsBind), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsBind, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsBind, -- (ndr_print_function_t) ndr_print_drsuapi_DsBind, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16509,7 +16509,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsUnbind), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsUnbind, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsUnbind, -- (ndr_print_function_t) ndr_print_drsuapi_DsUnbind, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16518,7 +16518,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsReplicaSync), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsReplicaSync, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsReplicaSync, -- (ndr_print_function_t) ndr_print_drsuapi_DsReplicaSync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16527,7 +16527,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsGetNCChanges), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsGetNCChanges, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsGetNCChanges, -- (ndr_print_function_t) ndr_print_drsuapi_DsGetNCChanges, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16536,7 +16536,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsReplicaUpdateRefs), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsReplicaUpdateRefs, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsReplicaUpdateRefs, -- (ndr_print_function_t) ndr_print_drsuapi_DsReplicaUpdateRefs, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16545,7 +16545,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsReplicaAdd), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsReplicaAdd, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsReplicaAdd, -- (ndr_print_function_t) ndr_print_drsuapi_DsReplicaAdd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16554,7 +16554,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsReplicaDel), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsReplicaDel, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsReplicaDel, -- (ndr_print_function_t) ndr_print_drsuapi_DsReplicaDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16563,7 +16563,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsReplicaMod), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsReplicaMod, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsReplicaMod, -- (ndr_print_function_t) ndr_print_drsuapi_DsReplicaMod, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16572,7 +16572,7 @@ static const struct ndr_interface_call d - sizeof(struct DRSUAPI_VERIFY_NAMES), - (ndr_push_flags_fn_t) ndr_push_DRSUAPI_VERIFY_NAMES, - (ndr_pull_flags_fn_t) ndr_pull_DRSUAPI_VERIFY_NAMES, -- (ndr_print_function_t) ndr_print_DRSUAPI_VERIFY_NAMES, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16581,7 +16581,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsGetMemberships), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsGetMemberships, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsGetMemberships, -- (ndr_print_function_t) ndr_print_drsuapi_DsGetMemberships, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16590,7 +16590,7 @@ static const struct ndr_interface_call d - sizeof(struct DRSUAPI_INTER_DOMAIN_MOVE), - (ndr_push_flags_fn_t) ndr_push_DRSUAPI_INTER_DOMAIN_MOVE, - (ndr_pull_flags_fn_t) ndr_pull_DRSUAPI_INTER_DOMAIN_MOVE, -- (ndr_print_function_t) ndr_print_DRSUAPI_INTER_DOMAIN_MOVE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16599,7 +16599,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsGetNT4ChangeLog), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsGetNT4ChangeLog, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsGetNT4ChangeLog, -- (ndr_print_function_t) ndr_print_drsuapi_DsGetNT4ChangeLog, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16608,7 +16608,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsCrackNames), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsCrackNames, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsCrackNames, -- (ndr_print_function_t) ndr_print_drsuapi_DsCrackNames, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16617,7 +16617,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsWriteAccountSpn), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsWriteAccountSpn, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsWriteAccountSpn, -- (ndr_print_function_t) ndr_print_drsuapi_DsWriteAccountSpn, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16626,7 +16626,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsRemoveDSServer), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsRemoveDSServer, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsRemoveDSServer, -- (ndr_print_function_t) ndr_print_drsuapi_DsRemoveDSServer, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16635,7 +16635,7 @@ static const struct ndr_interface_call d - sizeof(struct DRSUAPI_REMOVE_DS_DOMAIN), - (ndr_push_flags_fn_t) ndr_push_DRSUAPI_REMOVE_DS_DOMAIN, - (ndr_pull_flags_fn_t) ndr_pull_DRSUAPI_REMOVE_DS_DOMAIN, -- (ndr_print_function_t) ndr_print_DRSUAPI_REMOVE_DS_DOMAIN, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16644,7 +16644,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsGetDomainControllerInfo), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsGetDomainControllerInfo, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsGetDomainControllerInfo, -- (ndr_print_function_t) ndr_print_drsuapi_DsGetDomainControllerInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16653,7 +16653,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsAddEntry), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsAddEntry, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsAddEntry, -- (ndr_print_function_t) ndr_print_drsuapi_DsAddEntry, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16662,7 +16662,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsExecuteKCC), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsExecuteKCC, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsExecuteKCC, -- (ndr_print_function_t) ndr_print_drsuapi_DsExecuteKCC, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16671,7 +16671,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsReplicaGetInfo), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsReplicaGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsReplicaGetInfo, -- (ndr_print_function_t) ndr_print_drsuapi_DsReplicaGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16680,7 +16680,7 @@ static const struct ndr_interface_call d - sizeof(struct DRSUAPI_ADD_SID_HISTORY), - (ndr_push_flags_fn_t) ndr_push_DRSUAPI_ADD_SID_HISTORY, - (ndr_pull_flags_fn_t) ndr_pull_DRSUAPI_ADD_SID_HISTORY, -- (ndr_print_function_t) ndr_print_DRSUAPI_ADD_SID_HISTORY, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16689,7 +16689,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_DsGetMemberships2), - (ndr_push_flags_fn_t) ndr_push_drsuapi_DsGetMemberships2, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_DsGetMemberships2, -- (ndr_print_function_t) ndr_print_drsuapi_DsGetMemberships2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16698,7 +16698,7 @@ static const struct ndr_interface_call d - sizeof(struct DRSUAPI_REPLICA_VERIFY_OBJECTS), - (ndr_push_flags_fn_t) ndr_push_DRSUAPI_REPLICA_VERIFY_OBJECTS, - (ndr_pull_flags_fn_t) ndr_pull_DRSUAPI_REPLICA_VERIFY_OBJECTS, -- (ndr_print_function_t) ndr_print_DRSUAPI_REPLICA_VERIFY_OBJECTS, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16707,7 +16707,7 @@ static const struct ndr_interface_call d - sizeof(struct DRSUAPI_GET_OBJECT_EXISTENCE), - (ndr_push_flags_fn_t) ndr_push_DRSUAPI_GET_OBJECT_EXISTENCE, - (ndr_pull_flags_fn_t) ndr_pull_DRSUAPI_GET_OBJECT_EXISTENCE, -- (ndr_print_function_t) ndr_print_DRSUAPI_GET_OBJECT_EXISTENCE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -16716,7 +16716,7 @@ static const struct ndr_interface_call d - sizeof(struct drsuapi_QuerySitesByCost), - (ndr_push_flags_fn_t) ndr_push_drsuapi_QuerySitesByCost, - (ndr_pull_flags_fn_t) ndr_pull_drsuapi_QuerySitesByCost, -- (ndr_print_function_t) ndr_print_drsuapi_QuerySitesByCost, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dsbackup.c -+++ b/source3/librpc/gen_ndr/ndr_dsbackup.c -@@ -360,7 +360,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupPrepare), - (ndr_push_flags_fn_t) ndr_push_HrRBackupPrepare, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupPrepare, -- (ndr_print_function_t) ndr_print_HrRBackupPrepare, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -369,7 +369,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupEnd), - (ndr_push_flags_fn_t) ndr_push_HrRBackupEnd, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupEnd, -- (ndr_print_function_t) ndr_print_HrRBackupEnd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -378,7 +378,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupGetAttachmentInformation), - (ndr_push_flags_fn_t) ndr_push_HrRBackupGetAttachmentInformation, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupGetAttachmentInformation, -- (ndr_print_function_t) ndr_print_HrRBackupGetAttachmentInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -387,7 +387,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupOpenFile), - (ndr_push_flags_fn_t) ndr_push_HrRBackupOpenFile, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupOpenFile, -- (ndr_print_function_t) ndr_print_HrRBackupOpenFile, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -396,7 +396,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupRead), - (ndr_push_flags_fn_t) ndr_push_HrRBackupRead, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupRead, -- (ndr_print_function_t) ndr_print_HrRBackupRead, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -405,7 +405,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupClose), - (ndr_push_flags_fn_t) ndr_push_HrRBackupClose, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupClose, -- (ndr_print_function_t) ndr_print_HrRBackupClose, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -414,7 +414,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupGetBackupLogs), - (ndr_push_flags_fn_t) ndr_push_HrRBackupGetBackupLogs, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupGetBackupLogs, -- (ndr_print_function_t) ndr_print_HrRBackupGetBackupLogs, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -423,7 +423,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupTruncateLogs), - (ndr_push_flags_fn_t) ndr_push_HrRBackupTruncateLogs, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupTruncateLogs, -- (ndr_print_function_t) ndr_print_HrRBackupTruncateLogs, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -432,7 +432,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRBackupPing), - (ndr_push_flags_fn_t) ndr_push_HrRBackupPing, - (ndr_pull_flags_fn_t) ndr_pull_HrRBackupPing, -- (ndr_print_function_t) ndr_print_HrRBackupPing, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -789,7 +789,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRIsNTDSOnline), - (ndr_push_flags_fn_t) ndr_push_HrRIsNTDSOnline, - (ndr_pull_flags_fn_t) ndr_pull_HrRIsNTDSOnline, -- (ndr_print_function_t) ndr_print_HrRIsNTDSOnline, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -798,7 +798,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRRestorePrepare), - (ndr_push_flags_fn_t) ndr_push_HrRRestorePrepare, - (ndr_pull_flags_fn_t) ndr_pull_HrRRestorePrepare, -- (ndr_print_function_t) ndr_print_HrRRestorePrepare, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -807,7 +807,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRRestoreRegister), - (ndr_push_flags_fn_t) ndr_push_HrRRestoreRegister, - (ndr_pull_flags_fn_t) ndr_pull_HrRRestoreRegister, -- (ndr_print_function_t) ndr_print_HrRRestoreRegister, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -816,7 +816,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRRestoreRegisterComplete), - (ndr_push_flags_fn_t) ndr_push_HrRRestoreRegisterComplete, - (ndr_pull_flags_fn_t) ndr_pull_HrRRestoreRegisterComplete, -- (ndr_print_function_t) ndr_print_HrRRestoreRegisterComplete, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -825,7 +825,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRRestoreGetDatabaseLocations), - (ndr_push_flags_fn_t) ndr_push_HrRRestoreGetDatabaseLocations, - (ndr_pull_flags_fn_t) ndr_pull_HrRRestoreGetDatabaseLocations, -- (ndr_print_function_t) ndr_print_HrRRestoreGetDatabaseLocations, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -834,7 +834,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRRestoreEnd), - (ndr_push_flags_fn_t) ndr_push_HrRRestoreEnd, - (ndr_pull_flags_fn_t) ndr_pull_HrRRestoreEnd, -- (ndr_print_function_t) ndr_print_HrRRestoreEnd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -843,7 +843,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRRestoreSetCurrentLogNumber), - (ndr_push_flags_fn_t) ndr_push_HrRRestoreSetCurrentLogNumber, - (ndr_pull_flags_fn_t) ndr_pull_HrRRestoreSetCurrentLogNumber, -- (ndr_print_function_t) ndr_print_HrRRestoreSetCurrentLogNumber, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -852,7 +852,7 @@ static const struct ndr_interface_call a - sizeof(struct HrRRestoreCheckLogsForBackup), - (ndr_push_flags_fn_t) ndr_push_HrRRestoreCheckLogsForBackup, - (ndr_pull_flags_fn_t) ndr_pull_HrRRestoreCheckLogsForBackup, -- (ndr_print_function_t) ndr_print_HrRRestoreCheckLogsForBackup, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_dssetup.c -+++ b/source3/librpc/gen_ndr/ndr_dssetup.c -@@ -995,7 +995,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleGetPrimaryDomainInformation), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleGetPrimaryDomainInformation, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleGetPrimaryDomainInformation, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleGetPrimaryDomainInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1004,7 +1004,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleDnsNameToFlatName), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleDnsNameToFlatName, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleDnsNameToFlatName, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleDnsNameToFlatName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1013,7 +1013,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleDcAsDc), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleDcAsDc, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleDcAsDc, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleDcAsDc, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1022,7 +1022,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleDcAsReplica), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleDcAsReplica, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleDcAsReplica, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleDcAsReplica, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1031,7 +1031,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleDemoteDc), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleDemoteDc, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleDemoteDc, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleDemoteDc, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1040,7 +1040,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleGetDcOperationProgress), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleGetDcOperationProgress, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleGetDcOperationProgress, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleGetDcOperationProgress, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1049,7 +1049,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleGetDcOperationResults), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleGetDcOperationResults, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleGetDcOperationResults, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleGetDcOperationResults, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1058,7 +1058,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleCancel), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleCancel, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleCancel, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleCancel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1067,7 +1067,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleServerSaveStateForUpgrade), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleServerSaveStateForUpgrade, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleServerSaveStateForUpgrade, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleServerSaveStateForUpgrade, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1076,7 +1076,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleUpgradeDownlevelServer), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleUpgradeDownlevelServer, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleUpgradeDownlevelServer, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleUpgradeDownlevelServer, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1085,7 +1085,7 @@ static const struct ndr_interface_call d - sizeof(struct dssetup_DsRoleAbortDownlevelServerUpgrade), - (ndr_push_flags_fn_t) ndr_push_dssetup_DsRoleAbortDownlevelServerUpgrade, - (ndr_pull_flags_fn_t) ndr_pull_dssetup_DsRoleAbortDownlevelServerUpgrade, -- (ndr_print_function_t) ndr_print_dssetup_DsRoleAbortDownlevelServerUpgrade, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_echo.c -+++ b/source3/librpc/gen_ndr/ndr_echo.c -@@ -1458,7 +1458,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_AddOne), - (ndr_push_flags_fn_t) ndr_push_echo_AddOne, - (ndr_pull_flags_fn_t) ndr_pull_echo_AddOne, -- (ndr_print_function_t) ndr_print_echo_AddOne, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1467,7 +1467,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_EchoData), - (ndr_push_flags_fn_t) ndr_push_echo_EchoData, - (ndr_pull_flags_fn_t) ndr_pull_echo_EchoData, -- (ndr_print_function_t) ndr_print_echo_EchoData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1476,7 +1476,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_SinkData), - (ndr_push_flags_fn_t) ndr_push_echo_SinkData, - (ndr_pull_flags_fn_t) ndr_pull_echo_SinkData, -- (ndr_print_function_t) ndr_print_echo_SinkData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1485,7 +1485,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_SourceData), - (ndr_push_flags_fn_t) ndr_push_echo_SourceData, - (ndr_pull_flags_fn_t) ndr_pull_echo_SourceData, -- (ndr_print_function_t) ndr_print_echo_SourceData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1494,7 +1494,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_TestCall), - (ndr_push_flags_fn_t) ndr_push_echo_TestCall, - (ndr_pull_flags_fn_t) ndr_pull_echo_TestCall, -- (ndr_print_function_t) ndr_print_echo_TestCall, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1503,7 +1503,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_TestCall2), - (ndr_push_flags_fn_t) ndr_push_echo_TestCall2, - (ndr_pull_flags_fn_t) ndr_pull_echo_TestCall2, -- (ndr_print_function_t) ndr_print_echo_TestCall2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1512,7 +1512,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_TestSleep), - (ndr_push_flags_fn_t) ndr_push_echo_TestSleep, - (ndr_pull_flags_fn_t) ndr_pull_echo_TestSleep, -- (ndr_print_function_t) ndr_print_echo_TestSleep, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1521,7 +1521,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_TestEnum), - (ndr_push_flags_fn_t) ndr_push_echo_TestEnum, - (ndr_pull_flags_fn_t) ndr_pull_echo_TestEnum, -- (ndr_print_function_t) ndr_print_echo_TestEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1530,7 +1530,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_TestSurrounding), - (ndr_push_flags_fn_t) ndr_push_echo_TestSurrounding, - (ndr_pull_flags_fn_t) ndr_pull_echo_TestSurrounding, -- (ndr_print_function_t) ndr_print_echo_TestSurrounding, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1539,7 +1539,7 @@ static const struct ndr_interface_call r - sizeof(struct echo_TestDoublePointer), - (ndr_push_flags_fn_t) ndr_push_echo_TestDoublePointer, - (ndr_pull_flags_fn_t) ndr_pull_echo_TestDoublePointer, -- (ndr_print_function_t) ndr_print_echo_TestDoublePointer, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_efs.c -+++ b/source3/librpc/gen_ndr/ndr_efs.c -@@ -1327,7 +1327,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcOpenFileRaw), - (ndr_push_flags_fn_t) ndr_push_EfsRpcOpenFileRaw, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcOpenFileRaw, -- (ndr_print_function_t) ndr_print_EfsRpcOpenFileRaw, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1336,7 +1336,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcReadFileRaw), - (ndr_push_flags_fn_t) ndr_push_EfsRpcReadFileRaw, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcReadFileRaw, -- (ndr_print_function_t) ndr_print_EfsRpcReadFileRaw, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1345,7 +1345,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcWriteFileRaw), - (ndr_push_flags_fn_t) ndr_push_EfsRpcWriteFileRaw, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcWriteFileRaw, -- (ndr_print_function_t) ndr_print_EfsRpcWriteFileRaw, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1354,7 +1354,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcCloseRaw), - (ndr_push_flags_fn_t) ndr_push_EfsRpcCloseRaw, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcCloseRaw, -- (ndr_print_function_t) ndr_print_EfsRpcCloseRaw, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1363,7 +1363,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcEncryptFileSrv), - (ndr_push_flags_fn_t) ndr_push_EfsRpcEncryptFileSrv, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcEncryptFileSrv, -- (ndr_print_function_t) ndr_print_EfsRpcEncryptFileSrv, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1372,7 +1372,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcDecryptFileSrv), - (ndr_push_flags_fn_t) ndr_push_EfsRpcDecryptFileSrv, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcDecryptFileSrv, -- (ndr_print_function_t) ndr_print_EfsRpcDecryptFileSrv, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1381,7 +1381,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcQueryUsersOnFile), - (ndr_push_flags_fn_t) ndr_push_EfsRpcQueryUsersOnFile, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcQueryUsersOnFile, -- (ndr_print_function_t) ndr_print_EfsRpcQueryUsersOnFile, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1390,7 +1390,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcQueryRecoveryAgents), - (ndr_push_flags_fn_t) ndr_push_EfsRpcQueryRecoveryAgents, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcQueryRecoveryAgents, -- (ndr_print_function_t) ndr_print_EfsRpcQueryRecoveryAgents, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1399,7 +1399,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcRemoveUsersFromFile), - (ndr_push_flags_fn_t) ndr_push_EfsRpcRemoveUsersFromFile, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcRemoveUsersFromFile, -- (ndr_print_function_t) ndr_print_EfsRpcRemoveUsersFromFile, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1408,7 +1408,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcAddUsersToFile), - (ndr_push_flags_fn_t) ndr_push_EfsRpcAddUsersToFile, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcAddUsersToFile, -- (ndr_print_function_t) ndr_print_EfsRpcAddUsersToFile, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1417,7 +1417,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcSetFileEncryptionKey), - (ndr_push_flags_fn_t) ndr_push_EfsRpcSetFileEncryptionKey, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcSetFileEncryptionKey, -- (ndr_print_function_t) ndr_print_EfsRpcSetFileEncryptionKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1426,7 +1426,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcNotSupported), - (ndr_push_flags_fn_t) ndr_push_EfsRpcNotSupported, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcNotSupported, -- (ndr_print_function_t) ndr_print_EfsRpcNotSupported, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1435,7 +1435,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcFileKeyInfo), - (ndr_push_flags_fn_t) ndr_push_EfsRpcFileKeyInfo, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcFileKeyInfo, -- (ndr_print_function_t) ndr_print_EfsRpcFileKeyInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1444,7 +1444,7 @@ static const struct ndr_interface_call e - sizeof(struct EfsRpcDuplicateEncryptionInfoFile), - (ndr_push_flags_fn_t) ndr_push_EfsRpcDuplicateEncryptionInfoFile, - (ndr_pull_flags_fn_t) ndr_pull_EfsRpcDuplicateEncryptionInfoFile, -- (ndr_print_function_t) ndr_print_EfsRpcDuplicateEncryptionInfoFile, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_epmapper.c -+++ b/source3/librpc/gen_ndr/ndr_epmapper.c -@@ -2754,7 +2754,7 @@ static const struct ndr_interface_call e - sizeof(struct epm_Insert), - (ndr_push_flags_fn_t) ndr_push_epm_Insert, - (ndr_pull_flags_fn_t) ndr_pull_epm_Insert, -- (ndr_print_function_t) ndr_print_epm_Insert, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2763,7 +2763,7 @@ static const struct ndr_interface_call e - sizeof(struct epm_Delete), - (ndr_push_flags_fn_t) ndr_push_epm_Delete, - (ndr_pull_flags_fn_t) ndr_pull_epm_Delete, -- (ndr_print_function_t) ndr_print_epm_Delete, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2772,7 +2772,7 @@ static const struct ndr_interface_call e - sizeof(struct epm_Lookup), - (ndr_push_flags_fn_t) ndr_push_epm_Lookup, - (ndr_pull_flags_fn_t) ndr_pull_epm_Lookup, -- (ndr_print_function_t) ndr_print_epm_Lookup, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2781,7 +2781,7 @@ static const struct ndr_interface_call e - sizeof(struct epm_Map), - (ndr_push_flags_fn_t) ndr_push_epm_Map, - (ndr_pull_flags_fn_t) ndr_pull_epm_Map, -- (ndr_print_function_t) ndr_print_epm_Map, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2790,7 +2790,7 @@ static const struct ndr_interface_call e - sizeof(struct epm_LookupHandleFree), - (ndr_push_flags_fn_t) ndr_push_epm_LookupHandleFree, - (ndr_pull_flags_fn_t) ndr_pull_epm_LookupHandleFree, -- (ndr_print_function_t) ndr_print_epm_LookupHandleFree, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2799,7 +2799,7 @@ static const struct ndr_interface_call e - sizeof(struct epm_InqObject), - (ndr_push_flags_fn_t) ndr_push_epm_InqObject, - (ndr_pull_flags_fn_t) ndr_pull_epm_InqObject, -- (ndr_print_function_t) ndr_print_epm_InqObject, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2808,7 +2808,7 @@ static const struct ndr_interface_call e - sizeof(struct epm_MgmtDelete), - (ndr_push_flags_fn_t) ndr_push_epm_MgmtDelete, - (ndr_pull_flags_fn_t) ndr_pull_epm_MgmtDelete, -- (ndr_print_function_t) ndr_print_epm_MgmtDelete, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2817,7 +2817,7 @@ static const struct ndr_interface_call e - sizeof(struct epm_MapAuth), - (ndr_push_flags_fn_t) ndr_push_epm_MapAuth, - (ndr_pull_flags_fn_t) ndr_pull_epm_MapAuth, -- (ndr_print_function_t) ndr_print_epm_MapAuth, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_eventlog.c -+++ b/source3/librpc/gen_ndr/ndr_eventlog.c -@@ -2983,7 +2983,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_ClearEventLogW), - (ndr_push_flags_fn_t) ndr_push_eventlog_ClearEventLogW, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_ClearEventLogW, -- (ndr_print_function_t) ndr_print_eventlog_ClearEventLogW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2992,7 +2992,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_BackupEventLogW), - (ndr_push_flags_fn_t) ndr_push_eventlog_BackupEventLogW, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_BackupEventLogW, -- (ndr_print_function_t) ndr_print_eventlog_BackupEventLogW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3001,7 +3001,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_CloseEventLog), - (ndr_push_flags_fn_t) ndr_push_eventlog_CloseEventLog, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_CloseEventLog, -- (ndr_print_function_t) ndr_print_eventlog_CloseEventLog, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3010,7 +3010,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_DeregisterEventSource), - (ndr_push_flags_fn_t) ndr_push_eventlog_DeregisterEventSource, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_DeregisterEventSource, -- (ndr_print_function_t) ndr_print_eventlog_DeregisterEventSource, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3019,7 +3019,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_GetNumRecords), - (ndr_push_flags_fn_t) ndr_push_eventlog_GetNumRecords, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_GetNumRecords, -- (ndr_print_function_t) ndr_print_eventlog_GetNumRecords, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3028,7 +3028,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_GetOldestRecord), - (ndr_push_flags_fn_t) ndr_push_eventlog_GetOldestRecord, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_GetOldestRecord, -- (ndr_print_function_t) ndr_print_eventlog_GetOldestRecord, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3037,7 +3037,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_ChangeNotify), - (ndr_push_flags_fn_t) ndr_push_eventlog_ChangeNotify, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_ChangeNotify, -- (ndr_print_function_t) ndr_print_eventlog_ChangeNotify, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3046,7 +3046,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_OpenEventLogW), - (ndr_push_flags_fn_t) ndr_push_eventlog_OpenEventLogW, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_OpenEventLogW, -- (ndr_print_function_t) ndr_print_eventlog_OpenEventLogW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3055,7 +3055,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_RegisterEventSourceW), - (ndr_push_flags_fn_t) ndr_push_eventlog_RegisterEventSourceW, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_RegisterEventSourceW, -- (ndr_print_function_t) ndr_print_eventlog_RegisterEventSourceW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3064,7 +3064,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_OpenBackupEventLogW), - (ndr_push_flags_fn_t) ndr_push_eventlog_OpenBackupEventLogW, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_OpenBackupEventLogW, -- (ndr_print_function_t) ndr_print_eventlog_OpenBackupEventLogW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3073,7 +3073,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_ReadEventLogW), - (ndr_push_flags_fn_t) ndr_push_eventlog_ReadEventLogW, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_ReadEventLogW, -- (ndr_print_function_t) ndr_print_eventlog_ReadEventLogW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3082,7 +3082,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_ReportEventW), - (ndr_push_flags_fn_t) ndr_push_eventlog_ReportEventW, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_ReportEventW, -- (ndr_print_function_t) ndr_print_eventlog_ReportEventW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3091,7 +3091,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_ClearEventLogA), - (ndr_push_flags_fn_t) ndr_push_eventlog_ClearEventLogA, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_ClearEventLogA, -- (ndr_print_function_t) ndr_print_eventlog_ClearEventLogA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3100,7 +3100,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_BackupEventLogA), - (ndr_push_flags_fn_t) ndr_push_eventlog_BackupEventLogA, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_BackupEventLogA, -- (ndr_print_function_t) ndr_print_eventlog_BackupEventLogA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3109,7 +3109,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_OpenEventLogA), - (ndr_push_flags_fn_t) ndr_push_eventlog_OpenEventLogA, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_OpenEventLogA, -- (ndr_print_function_t) ndr_print_eventlog_OpenEventLogA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3118,7 +3118,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_RegisterEventSourceA), - (ndr_push_flags_fn_t) ndr_push_eventlog_RegisterEventSourceA, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_RegisterEventSourceA, -- (ndr_print_function_t) ndr_print_eventlog_RegisterEventSourceA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3127,7 +3127,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_OpenBackupEventLogA), - (ndr_push_flags_fn_t) ndr_push_eventlog_OpenBackupEventLogA, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_OpenBackupEventLogA, -- (ndr_print_function_t) ndr_print_eventlog_OpenBackupEventLogA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3136,7 +3136,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_ReadEventLogA), - (ndr_push_flags_fn_t) ndr_push_eventlog_ReadEventLogA, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_ReadEventLogA, -- (ndr_print_function_t) ndr_print_eventlog_ReadEventLogA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3145,7 +3145,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_ReportEventA), - (ndr_push_flags_fn_t) ndr_push_eventlog_ReportEventA, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_ReportEventA, -- (ndr_print_function_t) ndr_print_eventlog_ReportEventA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3154,7 +3154,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_RegisterClusterSvc), - (ndr_push_flags_fn_t) ndr_push_eventlog_RegisterClusterSvc, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_RegisterClusterSvc, -- (ndr_print_function_t) ndr_print_eventlog_RegisterClusterSvc, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3163,7 +3163,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_DeregisterClusterSvc), - (ndr_push_flags_fn_t) ndr_push_eventlog_DeregisterClusterSvc, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_DeregisterClusterSvc, -- (ndr_print_function_t) ndr_print_eventlog_DeregisterClusterSvc, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3172,7 +3172,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_WriteClusterEvents), - (ndr_push_flags_fn_t) ndr_push_eventlog_WriteClusterEvents, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_WriteClusterEvents, -- (ndr_print_function_t) ndr_print_eventlog_WriteClusterEvents, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3181,7 +3181,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_GetLogInformation), - (ndr_push_flags_fn_t) ndr_push_eventlog_GetLogInformation, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_GetLogInformation, -- (ndr_print_function_t) ndr_print_eventlog_GetLogInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3190,7 +3190,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_FlushEventLog), - (ndr_push_flags_fn_t) ndr_push_eventlog_FlushEventLog, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_FlushEventLog, -- (ndr_print_function_t) ndr_print_eventlog_FlushEventLog, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3199,7 +3199,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog_ReportEventAndSourceW), - (ndr_push_flags_fn_t) ndr_push_eventlog_ReportEventAndSourceW, - (ndr_pull_flags_fn_t) ndr_pull_eventlog_ReportEventAndSourceW, -- (ndr_print_function_t) ndr_print_eventlog_ReportEventAndSourceW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_eventlog6.c -+++ b/source3/librpc/gen_ndr/ndr_eventlog6.c -@@ -5482,7 +5482,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcRegisterRemoteSubscription), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcRegisterRemoteSubscription, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcRegisterRemoteSubscription, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcRegisterRemoteSubscription, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5491,7 +5491,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcRemoteSubscriptionNextAsync), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcRemoteSubscriptionNextAsync, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcRemoteSubscriptionNextAsync, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcRemoteSubscriptionNextAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5500,7 +5500,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcRemoteSubscriptionNext), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcRemoteSubscriptionNext, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcRemoteSubscriptionNext, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcRemoteSubscriptionNext, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5509,7 +5509,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcRemoteSubscriptionWaitAsync), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcRemoteSubscriptionWaitAsync, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcRemoteSubscriptionWaitAsync, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcRemoteSubscriptionWaitAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5518,7 +5518,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcRegisterControllableOperation), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcRegisterControllableOperation, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcRegisterControllableOperation, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcRegisterControllableOperation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5527,7 +5527,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcRegisterLogQuery), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcRegisterLogQuery, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcRegisterLogQuery, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcRegisterLogQuery, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5536,7 +5536,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcClearLog), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcClearLog, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcClearLog, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcClearLog, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5545,7 +5545,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcExportLog), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcExportLog, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcExportLog, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcExportLog, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5554,7 +5554,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcLocalizeExportLog), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcLocalizeExportLog, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcLocalizeExportLog, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcLocalizeExportLog, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5563,7 +5563,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcMessageRender), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcMessageRender, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcMessageRender, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcMessageRender, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5572,7 +5572,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcMessageRenderDefault), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcMessageRenderDefault, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcMessageRenderDefault, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcMessageRenderDefault, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5581,7 +5581,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcQueryNext), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcQueryNext, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcQueryNext, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcQueryNext, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5590,7 +5590,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcQuerySeek), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcQuerySeek, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcQuerySeek, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcQuerySeek, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5599,7 +5599,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcClose), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcClose, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcClose, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcClose, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5608,7 +5608,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcCancel), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcCancel, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcCancel, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcCancel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5617,7 +5617,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcAssertConfig), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcAssertConfig, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcAssertConfig, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcAssertConfig, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5626,7 +5626,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcRetractConfig), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcRetractConfig, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcRetractConfig, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcRetractConfig, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5635,7 +5635,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcOpenLogHandle), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcOpenLogHandle, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcOpenLogHandle, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcOpenLogHandle, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5644,7 +5644,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetLogFileInfo), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetLogFileInfo, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetLogFileInfo, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetLogFileInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5653,7 +5653,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetChannelList), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetChannelList, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetChannelList, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetChannelList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5662,7 +5662,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetChannelConfig), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetChannelConfig, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetChannelConfig, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetChannelConfig, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5671,7 +5671,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcPutChannelConfig), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcPutChannelConfig, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcPutChannelConfig, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcPutChannelConfig, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5680,7 +5680,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetPublisherList), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetPublisherList, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetPublisherList, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetPublisherList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5689,7 +5689,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetPublisherListForChannel), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetPublisherListForChannel, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetPublisherListForChannel, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetPublisherListForChannel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5698,7 +5698,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetPublisherMetadata), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetPublisherMetadata, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetPublisherMetadata, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetPublisherMetadata, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5707,7 +5707,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetPublisherResourceMetadata), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetPublisherResourceMetadata, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetPublisherResourceMetadata, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetPublisherResourceMetadata, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5716,7 +5716,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetEventMetadataEnum), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetEventMetadataEnum, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetEventMetadataEnum, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetEventMetadataEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5725,7 +5725,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetNextEventMetadata), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetNextEventMetadata, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetNextEventMetadata, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetNextEventMetadata, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5734,7 +5734,7 @@ static const struct ndr_interface_call e - sizeof(struct eventlog6_EvtRpcGetClassicLogDisplayName), - (ndr_push_flags_fn_t) ndr_push_eventlog6_EvtRpcGetClassicLogDisplayName, - (ndr_pull_flags_fn_t) ndr_pull_eventlog6_EvtRpcGetClassicLogDisplayName, -- (ndr_print_function_t) ndr_print_eventlog6_EvtRpcGetClassicLogDisplayName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_frsapi.c -+++ b/source3/librpc/gen_ndr/ndr_frsapi.c -@@ -979,7 +979,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSAPI_VERIFY_PROMOTION), - (ndr_push_flags_fn_t) ndr_push_FRSAPI_VERIFY_PROMOTION, - (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_VERIFY_PROMOTION, -- (ndr_print_function_t) ndr_print_FRSAPI_VERIFY_PROMOTION, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -988,7 +988,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSAPI_PROMOTION_STATUS), - (ndr_push_flags_fn_t) ndr_push_FRSAPI_PROMOTION_STATUS, - (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_PROMOTION_STATUS, -- (ndr_print_function_t) ndr_print_FRSAPI_PROMOTION_STATUS, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -997,7 +997,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSAPI_START_DEMOTION), - (ndr_push_flags_fn_t) ndr_push_FRSAPI_START_DEMOTION, - (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_START_DEMOTION, -- (ndr_print_function_t) ndr_print_FRSAPI_START_DEMOTION, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1006,7 +1006,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSAPI_COMMIT_DEMOTION), - (ndr_push_flags_fn_t) ndr_push_FRSAPI_COMMIT_DEMOTION, - (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_COMMIT_DEMOTION, -- (ndr_print_function_t) ndr_print_FRSAPI_COMMIT_DEMOTION, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1015,7 +1015,7 @@ static const struct ndr_interface_call f - sizeof(struct frsapi_SetDsPollingIntervalW), - (ndr_push_flags_fn_t) ndr_push_frsapi_SetDsPollingIntervalW, - (ndr_pull_flags_fn_t) ndr_pull_frsapi_SetDsPollingIntervalW, -- (ndr_print_function_t) ndr_print_frsapi_SetDsPollingIntervalW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1024,7 +1024,7 @@ static const struct ndr_interface_call f - sizeof(struct frsapi_GetDsPollingIntervalW), - (ndr_push_flags_fn_t) ndr_push_frsapi_GetDsPollingIntervalW, - (ndr_pull_flags_fn_t) ndr_pull_frsapi_GetDsPollingIntervalW, -- (ndr_print_function_t) ndr_print_frsapi_GetDsPollingIntervalW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1033,7 +1033,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSAPI_VERIFY_PROMOTION_W), - (ndr_push_flags_fn_t) ndr_push_FRSAPI_VERIFY_PROMOTION_W, - (ndr_pull_flags_fn_t) ndr_pull_FRSAPI_VERIFY_PROMOTION_W, -- (ndr_print_function_t) ndr_print_FRSAPI_VERIFY_PROMOTION_W, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1042,7 +1042,7 @@ static const struct ndr_interface_call f - sizeof(struct frsapi_InfoW), - (ndr_push_flags_fn_t) ndr_push_frsapi_InfoW, - (ndr_pull_flags_fn_t) ndr_pull_frsapi_InfoW, -- (ndr_print_function_t) ndr_print_frsapi_InfoW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1051,7 +1051,7 @@ static const struct ndr_interface_call f - sizeof(struct frsapi_IsPathReplicated), - (ndr_push_flags_fn_t) ndr_push_frsapi_IsPathReplicated, - (ndr_pull_flags_fn_t) ndr_pull_frsapi_IsPathReplicated, -- (ndr_print_function_t) ndr_print_frsapi_IsPathReplicated, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1060,7 +1060,7 @@ static const struct ndr_interface_call f - sizeof(struct frsapi_WriterCommand), - (ndr_push_flags_fn_t) ndr_push_frsapi_WriterCommand, - (ndr_pull_flags_fn_t) ndr_pull_frsapi_WriterCommand, -- (ndr_print_function_t) ndr_print_frsapi_WriterCommand, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1069,7 +1069,7 @@ static const struct ndr_interface_call f - sizeof(struct frsapi_ForceReplication), - (ndr_push_flags_fn_t) ndr_push_frsapi_ForceReplication, - (ndr_pull_flags_fn_t) ndr_pull_frsapi_ForceReplication, -- (ndr_print_function_t) ndr_print_frsapi_ForceReplication, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_frsrpc.c -+++ b/source3/librpc/gen_ndr/ndr_frsrpc.c -@@ -2781,7 +2781,7 @@ static const struct ndr_interface_call f - sizeof(struct frsrpc_FrsSendCommPkt), - (ndr_push_flags_fn_t) ndr_push_frsrpc_FrsSendCommPkt, - (ndr_pull_flags_fn_t) ndr_pull_frsrpc_FrsSendCommPkt, -- (ndr_print_function_t) ndr_print_frsrpc_FrsSendCommPkt, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2790,7 +2790,7 @@ static const struct ndr_interface_call f - sizeof(struct frsrpc_FrsVerifyPromotionParent), - (ndr_push_flags_fn_t) ndr_push_frsrpc_FrsVerifyPromotionParent, - (ndr_pull_flags_fn_t) ndr_pull_frsrpc_FrsVerifyPromotionParent, -- (ndr_print_function_t) ndr_print_frsrpc_FrsVerifyPromotionParent, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2799,7 +2799,7 @@ static const struct ndr_interface_call f - sizeof(struct frsrpc_FrsStartPromotionParent), - (ndr_push_flags_fn_t) ndr_push_frsrpc_FrsStartPromotionParent, - (ndr_pull_flags_fn_t) ndr_pull_frsrpc_FrsStartPromotionParent, -- (ndr_print_function_t) ndr_print_frsrpc_FrsStartPromotionParent, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2808,7 +2808,7 @@ static const struct ndr_interface_call f - sizeof(struct frsrpc_FrsNOP), - (ndr_push_flags_fn_t) ndr_push_frsrpc_FrsNOP, - (ndr_pull_flags_fn_t) ndr_pull_frsrpc_FrsNOP, -- (ndr_print_function_t) ndr_print_frsrpc_FrsNOP, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2817,7 +2817,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSRPC_BACKUP_COMPLETE), - (ndr_push_flags_fn_t) ndr_push_FRSRPC_BACKUP_COMPLETE, - (ndr_pull_flags_fn_t) ndr_pull_FRSRPC_BACKUP_COMPLETE, -- (ndr_print_function_t) ndr_print_FRSRPC_BACKUP_COMPLETE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2826,7 +2826,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSRPC_BACKUP_COMPLETE_5), - (ndr_push_flags_fn_t) ndr_push_FRSRPC_BACKUP_COMPLETE_5, - (ndr_pull_flags_fn_t) ndr_pull_FRSRPC_BACKUP_COMPLETE_5, -- (ndr_print_function_t) ndr_print_FRSRPC_BACKUP_COMPLETE_5, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2835,7 +2835,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSRPC_BACKUP_COMPLETE_6), - (ndr_push_flags_fn_t) ndr_push_FRSRPC_BACKUP_COMPLETE_6, - (ndr_pull_flags_fn_t) ndr_pull_FRSRPC_BACKUP_COMPLETE_6, -- (ndr_print_function_t) ndr_print_FRSRPC_BACKUP_COMPLETE_6, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2844,7 +2844,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSRPC_BACKUP_COMPLETE_7), - (ndr_push_flags_fn_t) ndr_push_FRSRPC_BACKUP_COMPLETE_7, - (ndr_pull_flags_fn_t) ndr_pull_FRSRPC_BACKUP_COMPLETE_7, -- (ndr_print_function_t) ndr_print_FRSRPC_BACKUP_COMPLETE_7, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2853,7 +2853,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSRPC_BACKUP_COMPLETE_8), - (ndr_push_flags_fn_t) ndr_push_FRSRPC_BACKUP_COMPLETE_8, - (ndr_pull_flags_fn_t) ndr_pull_FRSRPC_BACKUP_COMPLETE_8, -- (ndr_print_function_t) ndr_print_FRSRPC_BACKUP_COMPLETE_8, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2862,7 +2862,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSRPC_BACKUP_COMPLETE_9), - (ndr_push_flags_fn_t) ndr_push_FRSRPC_BACKUP_COMPLETE_9, - (ndr_pull_flags_fn_t) ndr_pull_FRSRPC_BACKUP_COMPLETE_9, -- (ndr_print_function_t) ndr_print_FRSRPC_BACKUP_COMPLETE_9, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2871,7 +2871,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSRPC_VERIFY_PROMOTION_PARENT_EX), - (ndr_push_flags_fn_t) ndr_push_FRSRPC_VERIFY_PROMOTION_PARENT_EX, - (ndr_pull_flags_fn_t) ndr_pull_FRSRPC_VERIFY_PROMOTION_PARENT_EX, -- (ndr_print_function_t) ndr_print_FRSRPC_VERIFY_PROMOTION_PARENT_EX, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_frstrans.c -+++ b/source3/librpc/gen_ndr/ndr_frstrans.c -@@ -2331,7 +2331,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_CheckConnectivity), - (ndr_push_flags_fn_t) ndr_push_frstrans_CheckConnectivity, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_CheckConnectivity, -- (ndr_print_function_t) ndr_print_frstrans_CheckConnectivity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2340,7 +2340,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_EstablishConnection), - (ndr_push_flags_fn_t) ndr_push_frstrans_EstablishConnection, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_EstablishConnection, -- (ndr_print_function_t) ndr_print_frstrans_EstablishConnection, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2349,7 +2349,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_EstablishSession), - (ndr_push_flags_fn_t) ndr_push_frstrans_EstablishSession, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_EstablishSession, -- (ndr_print_function_t) ndr_print_frstrans_EstablishSession, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2358,7 +2358,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_RequestUpdates), - (ndr_push_flags_fn_t) ndr_push_frstrans_RequestUpdates, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_RequestUpdates, -- (ndr_print_function_t) ndr_print_frstrans_RequestUpdates, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2367,7 +2367,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_RequestVersionVector), - (ndr_push_flags_fn_t) ndr_push_frstrans_RequestVersionVector, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_RequestVersionVector, -- (ndr_print_function_t) ndr_print_frstrans_RequestVersionVector, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2376,7 +2376,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_AsyncPoll), - (ndr_push_flags_fn_t) ndr_push_frstrans_AsyncPoll, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_AsyncPoll, -- (ndr_print_function_t) ndr_print_frstrans_AsyncPoll, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2385,7 +2385,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSTRANS_REQUEST_RECORDS), - (ndr_push_flags_fn_t) ndr_push_FRSTRANS_REQUEST_RECORDS, - (ndr_pull_flags_fn_t) ndr_pull_FRSTRANS_REQUEST_RECORDS, -- (ndr_print_function_t) ndr_print_FRSTRANS_REQUEST_RECORDS, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2394,7 +2394,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSTRANS_UPDATE_CANCEL), - (ndr_push_flags_fn_t) ndr_push_FRSTRANS_UPDATE_CANCEL, - (ndr_pull_flags_fn_t) ndr_pull_FRSTRANS_UPDATE_CANCEL, -- (ndr_print_function_t) ndr_print_FRSTRANS_UPDATE_CANCEL, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2403,7 +2403,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSTRANS_RAW_GET_FILE_DATA), - (ndr_push_flags_fn_t) ndr_push_FRSTRANS_RAW_GET_FILE_DATA, - (ndr_pull_flags_fn_t) ndr_pull_FRSTRANS_RAW_GET_FILE_DATA, -- (ndr_print_function_t) ndr_print_FRSTRANS_RAW_GET_FILE_DATA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2412,7 +2412,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSTRANS_RDC_GET_SIGNATURES), - (ndr_push_flags_fn_t) ndr_push_FRSTRANS_RDC_GET_SIGNATURES, - (ndr_pull_flags_fn_t) ndr_pull_FRSTRANS_RDC_GET_SIGNATURES, -- (ndr_print_function_t) ndr_print_FRSTRANS_RDC_GET_SIGNATURES, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2421,7 +2421,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSTRANS_RDC_PUSH_SOURCE_NEEDS), - (ndr_push_flags_fn_t) ndr_push_FRSTRANS_RDC_PUSH_SOURCE_NEEDS, - (ndr_pull_flags_fn_t) ndr_pull_FRSTRANS_RDC_PUSH_SOURCE_NEEDS, -- (ndr_print_function_t) ndr_print_FRSTRANS_RDC_PUSH_SOURCE_NEEDS, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2430,7 +2430,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSTRANS_RDC_GET_FILE_DATA), - (ndr_push_flags_fn_t) ndr_push_FRSTRANS_RDC_GET_FILE_DATA, - (ndr_pull_flags_fn_t) ndr_pull_FRSTRANS_RDC_GET_FILE_DATA, -- (ndr_print_function_t) ndr_print_FRSTRANS_RDC_GET_FILE_DATA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2439,7 +2439,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSTRANS_RDC_CLOSE), - (ndr_push_flags_fn_t) ndr_push_FRSTRANS_RDC_CLOSE, - (ndr_pull_flags_fn_t) ndr_pull_FRSTRANS_RDC_CLOSE, -- (ndr_print_function_t) ndr_print_FRSTRANS_RDC_CLOSE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2448,7 +2448,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_InitializeFileTransferAsync), - (ndr_push_flags_fn_t) ndr_push_frstrans_InitializeFileTransferAsync, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_InitializeFileTransferAsync, -- (ndr_print_function_t) ndr_print_frstrans_InitializeFileTransferAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2457,7 +2457,7 @@ static const struct ndr_interface_call f - sizeof(struct FRSTRANS_OPNUM_0E_NOT_USED_ON_THE_WIRE), - (ndr_push_flags_fn_t) ndr_push_FRSTRANS_OPNUM_0E_NOT_USED_ON_THE_WIRE, - (ndr_pull_flags_fn_t) ndr_pull_FRSTRANS_OPNUM_0E_NOT_USED_ON_THE_WIRE, -- (ndr_print_function_t) ndr_print_FRSTRANS_OPNUM_0E_NOT_USED_ON_THE_WIRE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2466,7 +2466,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_RawGetFileDataAsync), - (ndr_push_flags_fn_t) ndr_push_frstrans_RawGetFileDataAsync, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_RawGetFileDataAsync, -- (ndr_print_function_t) ndr_print_frstrans_RawGetFileDataAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 1, frstrans_RawGetFileDataAsync_out_pipes }, - }, -@@ -2475,7 +2475,7 @@ static const struct ndr_interface_call f - sizeof(struct frstrans_RdcGetFileDataAsync), - (ndr_push_flags_fn_t) ndr_push_frstrans_RdcGetFileDataAsync, - (ndr_pull_flags_fn_t) ndr_pull_frstrans_RdcGetFileDataAsync, -- (ndr_print_function_t) ndr_print_frstrans_RdcGetFileDataAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 1, frstrans_RdcGetFileDataAsync_out_pipes }, - }, ---- a/source3/librpc/gen_ndr/ndr_initshutdown.c -+++ b/source3/librpc/gen_ndr/ndr_initshutdown.c -@@ -277,7 +277,7 @@ static const struct ndr_interface_call i - sizeof(struct initshutdown_Init), - (ndr_push_flags_fn_t) ndr_push_initshutdown_Init, - (ndr_pull_flags_fn_t) ndr_pull_initshutdown_Init, -- (ndr_print_function_t) ndr_print_initshutdown_Init, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -286,7 +286,7 @@ static const struct ndr_interface_call i - sizeof(struct initshutdown_Abort), - (ndr_push_flags_fn_t) ndr_push_initshutdown_Abort, - (ndr_pull_flags_fn_t) ndr_pull_initshutdown_Abort, -- (ndr_print_function_t) ndr_print_initshutdown_Abort, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -295,7 +295,7 @@ static const struct ndr_interface_call i - sizeof(struct initshutdown_InitEx), - (ndr_push_flags_fn_t) ndr_push_initshutdown_InitEx, - (ndr_pull_flags_fn_t) ndr_pull_initshutdown_InitEx, -- (ndr_print_function_t) ndr_print_initshutdown_InitEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_keysvc.c -+++ b/source3/librpc/gen_ndr/ndr_keysvc.c -@@ -51,7 +51,7 @@ static const struct ndr_interface_call k - sizeof(struct keysvc_Unknown0), - (ndr_push_flags_fn_t) ndr_push_keysvc_Unknown0, - (ndr_pull_flags_fn_t) ndr_pull_keysvc_Unknown0, -- (ndr_print_function_t) ndr_print_keysvc_Unknown0, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_krb5pac.c -+++ b/source3/librpc/gen_ndr/ndr_krb5pac.c -@@ -1002,7 +1002,7 @@ static const struct ndr_interface_call k - sizeof(struct decode_pac), - (ndr_push_flags_fn_t) ndr_push_decode_pac, - (ndr_pull_flags_fn_t) ndr_pull_decode_pac, -- (ndr_print_function_t) ndr_print_decode_pac, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1011,7 +1011,7 @@ static const struct ndr_interface_call k - sizeof(struct decode_pac_raw), - (ndr_push_flags_fn_t) ndr_push_decode_pac_raw, - (ndr_pull_flags_fn_t) ndr_pull_decode_pac_raw, -- (ndr_print_function_t) ndr_print_decode_pac_raw, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1020,7 +1020,7 @@ static const struct ndr_interface_call k - sizeof(struct decode_login_info), - (ndr_push_flags_fn_t) ndr_push_decode_login_info, - (ndr_pull_flags_fn_t) ndr_pull_decode_login_info, -- (ndr_print_function_t) ndr_print_decode_login_info, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1029,7 +1029,7 @@ static const struct ndr_interface_call k - sizeof(struct decode_login_info_ctr), - (ndr_push_flags_fn_t) ndr_push_decode_login_info_ctr, - (ndr_pull_flags_fn_t) ndr_pull_decode_login_info_ctr, -- (ndr_print_function_t) ndr_print_decode_login_info_ctr, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -1038,7 +1038,7 @@ static const struct ndr_interface_call k - sizeof(struct decode_pac_validate), - (ndr_push_flags_fn_t) ndr_push_decode_pac_validate, - (ndr_pull_flags_fn_t) ndr_pull_decode_pac_validate, -- (ndr_print_function_t) ndr_print_decode_pac_validate, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_lsa.c -+++ b/source3/librpc/gen_ndr/ndr_lsa.c -@@ -13565,7 +13565,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_Close), - (ndr_push_flags_fn_t) ndr_push_lsa_Close, - (ndr_pull_flags_fn_t) ndr_pull_lsa_Close, -- (ndr_print_function_t) ndr_print_lsa_Close, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13574,7 +13574,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_Delete), - (ndr_push_flags_fn_t) ndr_push_lsa_Delete, - (ndr_pull_flags_fn_t) ndr_pull_lsa_Delete, -- (ndr_print_function_t) ndr_print_lsa_Delete, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13583,7 +13583,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_EnumPrivs), - (ndr_push_flags_fn_t) ndr_push_lsa_EnumPrivs, - (ndr_pull_flags_fn_t) ndr_pull_lsa_EnumPrivs, -- (ndr_print_function_t) ndr_print_lsa_EnumPrivs, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13592,7 +13592,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_QuerySecurity), - (ndr_push_flags_fn_t) ndr_push_lsa_QuerySecurity, - (ndr_pull_flags_fn_t) ndr_pull_lsa_QuerySecurity, -- (ndr_print_function_t) ndr_print_lsa_QuerySecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13601,7 +13601,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetSecObj), - (ndr_push_flags_fn_t) ndr_push_lsa_SetSecObj, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetSecObj, -- (ndr_print_function_t) ndr_print_lsa_SetSecObj, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13610,7 +13610,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_ChangePassword), - (ndr_push_flags_fn_t) ndr_push_lsa_ChangePassword, - (ndr_pull_flags_fn_t) ndr_pull_lsa_ChangePassword, -- (ndr_print_function_t) ndr_print_lsa_ChangePassword, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13619,7 +13619,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_OpenPolicy), - (ndr_push_flags_fn_t) ndr_push_lsa_OpenPolicy, - (ndr_pull_flags_fn_t) ndr_pull_lsa_OpenPolicy, -- (ndr_print_function_t) ndr_print_lsa_OpenPolicy, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13628,7 +13628,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_QueryInfoPolicy), - (ndr_push_flags_fn_t) ndr_push_lsa_QueryInfoPolicy, - (ndr_pull_flags_fn_t) ndr_pull_lsa_QueryInfoPolicy, -- (ndr_print_function_t) ndr_print_lsa_QueryInfoPolicy, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13637,7 +13637,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetInfoPolicy), - (ndr_push_flags_fn_t) ndr_push_lsa_SetInfoPolicy, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetInfoPolicy, -- (ndr_print_function_t) ndr_print_lsa_SetInfoPolicy, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13646,7 +13646,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_ClearAuditLog), - (ndr_push_flags_fn_t) ndr_push_lsa_ClearAuditLog, - (ndr_pull_flags_fn_t) ndr_pull_lsa_ClearAuditLog, -- (ndr_print_function_t) ndr_print_lsa_ClearAuditLog, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13655,7 +13655,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CreateAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_CreateAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CreateAccount, -- (ndr_print_function_t) ndr_print_lsa_CreateAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13664,7 +13664,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_EnumAccounts), - (ndr_push_flags_fn_t) ndr_push_lsa_EnumAccounts, - (ndr_pull_flags_fn_t) ndr_pull_lsa_EnumAccounts, -- (ndr_print_function_t) ndr_print_lsa_EnumAccounts, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13673,7 +13673,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CreateTrustedDomain), - (ndr_push_flags_fn_t) ndr_push_lsa_CreateTrustedDomain, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CreateTrustedDomain, -- (ndr_print_function_t) ndr_print_lsa_CreateTrustedDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13682,7 +13682,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_EnumTrustDom), - (ndr_push_flags_fn_t) ndr_push_lsa_EnumTrustDom, - (ndr_pull_flags_fn_t) ndr_pull_lsa_EnumTrustDom, -- (ndr_print_function_t) ndr_print_lsa_EnumTrustDom, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13691,7 +13691,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupNames), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupNames, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupNames, -- (ndr_print_function_t) ndr_print_lsa_LookupNames, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13700,7 +13700,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupSids), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupSids, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupSids, -- (ndr_print_function_t) ndr_print_lsa_LookupSids, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13709,7 +13709,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CreateSecret), - (ndr_push_flags_fn_t) ndr_push_lsa_CreateSecret, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CreateSecret, -- (ndr_print_function_t) ndr_print_lsa_CreateSecret, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13718,7 +13718,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_OpenAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_OpenAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_OpenAccount, -- (ndr_print_function_t) ndr_print_lsa_OpenAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13727,7 +13727,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_EnumPrivsAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_EnumPrivsAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_EnumPrivsAccount, -- (ndr_print_function_t) ndr_print_lsa_EnumPrivsAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13736,7 +13736,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_AddPrivilegesToAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_AddPrivilegesToAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_AddPrivilegesToAccount, -- (ndr_print_function_t) ndr_print_lsa_AddPrivilegesToAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13745,7 +13745,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_RemovePrivilegesFromAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_RemovePrivilegesFromAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_RemovePrivilegesFromAccount, -- (ndr_print_function_t) ndr_print_lsa_RemovePrivilegesFromAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13754,7 +13754,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_GetQuotasForAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_GetQuotasForAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_GetQuotasForAccount, -- (ndr_print_function_t) ndr_print_lsa_GetQuotasForAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13763,7 +13763,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetQuotasForAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_SetQuotasForAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetQuotasForAccount, -- (ndr_print_function_t) ndr_print_lsa_SetQuotasForAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13772,7 +13772,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_GetSystemAccessAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_GetSystemAccessAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_GetSystemAccessAccount, -- (ndr_print_function_t) ndr_print_lsa_GetSystemAccessAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13781,7 +13781,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetSystemAccessAccount), - (ndr_push_flags_fn_t) ndr_push_lsa_SetSystemAccessAccount, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetSystemAccessAccount, -- (ndr_print_function_t) ndr_print_lsa_SetSystemAccessAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13790,7 +13790,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_OpenTrustedDomain), - (ndr_push_flags_fn_t) ndr_push_lsa_OpenTrustedDomain, - (ndr_pull_flags_fn_t) ndr_pull_lsa_OpenTrustedDomain, -- (ndr_print_function_t) ndr_print_lsa_OpenTrustedDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13799,7 +13799,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_QueryTrustedDomainInfo), - (ndr_push_flags_fn_t) ndr_push_lsa_QueryTrustedDomainInfo, - (ndr_pull_flags_fn_t) ndr_pull_lsa_QueryTrustedDomainInfo, -- (ndr_print_function_t) ndr_print_lsa_QueryTrustedDomainInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13808,7 +13808,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetInformationTrustedDomain), - (ndr_push_flags_fn_t) ndr_push_lsa_SetInformationTrustedDomain, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetInformationTrustedDomain, -- (ndr_print_function_t) ndr_print_lsa_SetInformationTrustedDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13817,7 +13817,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_OpenSecret), - (ndr_push_flags_fn_t) ndr_push_lsa_OpenSecret, - (ndr_pull_flags_fn_t) ndr_pull_lsa_OpenSecret, -- (ndr_print_function_t) ndr_print_lsa_OpenSecret, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13826,7 +13826,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetSecret), - (ndr_push_flags_fn_t) ndr_push_lsa_SetSecret, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetSecret, -- (ndr_print_function_t) ndr_print_lsa_SetSecret, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13835,7 +13835,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_QuerySecret), - (ndr_push_flags_fn_t) ndr_push_lsa_QuerySecret, - (ndr_pull_flags_fn_t) ndr_pull_lsa_QuerySecret, -- (ndr_print_function_t) ndr_print_lsa_QuerySecret, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13844,7 +13844,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupPrivValue), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupPrivValue, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupPrivValue, -- (ndr_print_function_t) ndr_print_lsa_LookupPrivValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13853,7 +13853,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupPrivName), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupPrivName, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupPrivName, -- (ndr_print_function_t) ndr_print_lsa_LookupPrivName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13862,7 +13862,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupPrivDisplayName), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupPrivDisplayName, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupPrivDisplayName, -- (ndr_print_function_t) ndr_print_lsa_LookupPrivDisplayName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13871,7 +13871,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_DeleteObject), - (ndr_push_flags_fn_t) ndr_push_lsa_DeleteObject, - (ndr_pull_flags_fn_t) ndr_pull_lsa_DeleteObject, -- (ndr_print_function_t) ndr_print_lsa_DeleteObject, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13880,7 +13880,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_EnumAccountsWithUserRight), - (ndr_push_flags_fn_t) ndr_push_lsa_EnumAccountsWithUserRight, - (ndr_pull_flags_fn_t) ndr_pull_lsa_EnumAccountsWithUserRight, -- (ndr_print_function_t) ndr_print_lsa_EnumAccountsWithUserRight, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13889,7 +13889,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_EnumAccountRights), - (ndr_push_flags_fn_t) ndr_push_lsa_EnumAccountRights, - (ndr_pull_flags_fn_t) ndr_pull_lsa_EnumAccountRights, -- (ndr_print_function_t) ndr_print_lsa_EnumAccountRights, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13898,7 +13898,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_AddAccountRights), - (ndr_push_flags_fn_t) ndr_push_lsa_AddAccountRights, - (ndr_pull_flags_fn_t) ndr_pull_lsa_AddAccountRights, -- (ndr_print_function_t) ndr_print_lsa_AddAccountRights, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13907,7 +13907,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_RemoveAccountRights), - (ndr_push_flags_fn_t) ndr_push_lsa_RemoveAccountRights, - (ndr_pull_flags_fn_t) ndr_pull_lsa_RemoveAccountRights, -- (ndr_print_function_t) ndr_print_lsa_RemoveAccountRights, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13916,7 +13916,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_QueryTrustedDomainInfoBySid), - (ndr_push_flags_fn_t) ndr_push_lsa_QueryTrustedDomainInfoBySid, - (ndr_pull_flags_fn_t) ndr_pull_lsa_QueryTrustedDomainInfoBySid, -- (ndr_print_function_t) ndr_print_lsa_QueryTrustedDomainInfoBySid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13925,7 +13925,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetTrustedDomainInfo), - (ndr_push_flags_fn_t) ndr_push_lsa_SetTrustedDomainInfo, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetTrustedDomainInfo, -- (ndr_print_function_t) ndr_print_lsa_SetTrustedDomainInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13934,7 +13934,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_DeleteTrustedDomain), - (ndr_push_flags_fn_t) ndr_push_lsa_DeleteTrustedDomain, - (ndr_pull_flags_fn_t) ndr_pull_lsa_DeleteTrustedDomain, -- (ndr_print_function_t) ndr_print_lsa_DeleteTrustedDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13943,7 +13943,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_StorePrivateData), - (ndr_push_flags_fn_t) ndr_push_lsa_StorePrivateData, - (ndr_pull_flags_fn_t) ndr_pull_lsa_StorePrivateData, -- (ndr_print_function_t) ndr_print_lsa_StorePrivateData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13952,7 +13952,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_RetrievePrivateData), - (ndr_push_flags_fn_t) ndr_push_lsa_RetrievePrivateData, - (ndr_pull_flags_fn_t) ndr_pull_lsa_RetrievePrivateData, -- (ndr_print_function_t) ndr_print_lsa_RetrievePrivateData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13961,7 +13961,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_OpenPolicy2), - (ndr_push_flags_fn_t) ndr_push_lsa_OpenPolicy2, - (ndr_pull_flags_fn_t) ndr_pull_lsa_OpenPolicy2, -- (ndr_print_function_t) ndr_print_lsa_OpenPolicy2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13970,7 +13970,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_GetUserName), - (ndr_push_flags_fn_t) ndr_push_lsa_GetUserName, - (ndr_pull_flags_fn_t) ndr_pull_lsa_GetUserName, -- (ndr_print_function_t) ndr_print_lsa_GetUserName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13979,7 +13979,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_QueryInfoPolicy2), - (ndr_push_flags_fn_t) ndr_push_lsa_QueryInfoPolicy2, - (ndr_pull_flags_fn_t) ndr_pull_lsa_QueryInfoPolicy2, -- (ndr_print_function_t) ndr_print_lsa_QueryInfoPolicy2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13988,7 +13988,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetInfoPolicy2), - (ndr_push_flags_fn_t) ndr_push_lsa_SetInfoPolicy2, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetInfoPolicy2, -- (ndr_print_function_t) ndr_print_lsa_SetInfoPolicy2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13997,7 +13997,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_QueryTrustedDomainInfoByName), - (ndr_push_flags_fn_t) ndr_push_lsa_QueryTrustedDomainInfoByName, - (ndr_pull_flags_fn_t) ndr_pull_lsa_QueryTrustedDomainInfoByName, -- (ndr_print_function_t) ndr_print_lsa_QueryTrustedDomainInfoByName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14006,7 +14006,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetTrustedDomainInfoByName), - (ndr_push_flags_fn_t) ndr_push_lsa_SetTrustedDomainInfoByName, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetTrustedDomainInfoByName, -- (ndr_print_function_t) ndr_print_lsa_SetTrustedDomainInfoByName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14015,7 +14015,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_EnumTrustedDomainsEx), - (ndr_push_flags_fn_t) ndr_push_lsa_EnumTrustedDomainsEx, - (ndr_pull_flags_fn_t) ndr_pull_lsa_EnumTrustedDomainsEx, -- (ndr_print_function_t) ndr_print_lsa_EnumTrustedDomainsEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14024,7 +14024,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CreateTrustedDomainEx), - (ndr_push_flags_fn_t) ndr_push_lsa_CreateTrustedDomainEx, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CreateTrustedDomainEx, -- (ndr_print_function_t) ndr_print_lsa_CreateTrustedDomainEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14033,7 +14033,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CloseTrustedDomainEx), - (ndr_push_flags_fn_t) ndr_push_lsa_CloseTrustedDomainEx, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CloseTrustedDomainEx, -- (ndr_print_function_t) ndr_print_lsa_CloseTrustedDomainEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14042,7 +14042,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_QueryDomainInformationPolicy), - (ndr_push_flags_fn_t) ndr_push_lsa_QueryDomainInformationPolicy, - (ndr_pull_flags_fn_t) ndr_pull_lsa_QueryDomainInformationPolicy, -- (ndr_print_function_t) ndr_print_lsa_QueryDomainInformationPolicy, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14051,7 +14051,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_SetDomainInformationPolicy), - (ndr_push_flags_fn_t) ndr_push_lsa_SetDomainInformationPolicy, - (ndr_pull_flags_fn_t) ndr_pull_lsa_SetDomainInformationPolicy, -- (ndr_print_function_t) ndr_print_lsa_SetDomainInformationPolicy, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14060,7 +14060,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_OpenTrustedDomainByName), - (ndr_push_flags_fn_t) ndr_push_lsa_OpenTrustedDomainByName, - (ndr_pull_flags_fn_t) ndr_pull_lsa_OpenTrustedDomainByName, -- (ndr_print_function_t) ndr_print_lsa_OpenTrustedDomainByName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14069,7 +14069,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_TestCall), - (ndr_push_flags_fn_t) ndr_push_lsa_TestCall, - (ndr_pull_flags_fn_t) ndr_pull_lsa_TestCall, -- (ndr_print_function_t) ndr_print_lsa_TestCall, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14078,7 +14078,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupSids2), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupSids2, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupSids2, -- (ndr_print_function_t) ndr_print_lsa_LookupSids2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14087,7 +14087,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupNames2), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupNames2, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupNames2, -- (ndr_print_function_t) ndr_print_lsa_LookupNames2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14096,7 +14096,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CreateTrustedDomainEx2), - (ndr_push_flags_fn_t) ndr_push_lsa_CreateTrustedDomainEx2, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CreateTrustedDomainEx2, -- (ndr_print_function_t) ndr_print_lsa_CreateTrustedDomainEx2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14105,7 +14105,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRWRITE), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRWRITE, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRWRITE, -- (ndr_print_function_t) ndr_print_lsa_CREDRWRITE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14114,7 +14114,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRREAD), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRREAD, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRREAD, -- (ndr_print_function_t) ndr_print_lsa_CREDRREAD, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14123,7 +14123,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRENUMERATE), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRENUMERATE, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRENUMERATE, -- (ndr_print_function_t) ndr_print_lsa_CREDRENUMERATE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14132,7 +14132,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRWRITEDOMAINCREDENTIALS), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRWRITEDOMAINCREDENTIALS, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRWRITEDOMAINCREDENTIALS, -- (ndr_print_function_t) ndr_print_lsa_CREDRWRITEDOMAINCREDENTIALS, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14141,7 +14141,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRREADDOMAINCREDENTIALS), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRREADDOMAINCREDENTIALS, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRREADDOMAINCREDENTIALS, -- (ndr_print_function_t) ndr_print_lsa_CREDRREADDOMAINCREDENTIALS, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14150,7 +14150,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRDELETE), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRDELETE, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRDELETE, -- (ndr_print_function_t) ndr_print_lsa_CREDRDELETE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14159,7 +14159,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRGETTARGETINFO), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRGETTARGETINFO, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRGETTARGETINFO, -- (ndr_print_function_t) ndr_print_lsa_CREDRGETTARGETINFO, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14168,7 +14168,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRPROFILELOADED), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRPROFILELOADED, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRPROFILELOADED, -- (ndr_print_function_t) ndr_print_lsa_CREDRPROFILELOADED, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14177,7 +14177,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupNames3), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupNames3, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupNames3, -- (ndr_print_function_t) ndr_print_lsa_LookupNames3, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14186,7 +14186,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRGETSESSIONTYPES), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRGETSESSIONTYPES, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRGETSESSIONTYPES, -- (ndr_print_function_t) ndr_print_lsa_CREDRGETSESSIONTYPES, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14195,7 +14195,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LSARREGISTERAUDITEVENT), - (ndr_push_flags_fn_t) ndr_push_lsa_LSARREGISTERAUDITEVENT, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LSARREGISTERAUDITEVENT, -- (ndr_print_function_t) ndr_print_lsa_LSARREGISTERAUDITEVENT, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14204,7 +14204,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LSARGENAUDITEVENT), - (ndr_push_flags_fn_t) ndr_push_lsa_LSARGENAUDITEVENT, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LSARGENAUDITEVENT, -- (ndr_print_function_t) ndr_print_lsa_LSARGENAUDITEVENT, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14213,7 +14213,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LSARUNREGISTERAUDITEVENT), - (ndr_push_flags_fn_t) ndr_push_lsa_LSARUNREGISTERAUDITEVENT, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LSARUNREGISTERAUDITEVENT, -- (ndr_print_function_t) ndr_print_lsa_LSARUNREGISTERAUDITEVENT, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14222,7 +14222,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_lsaRQueryForestTrustInformation), - (ndr_push_flags_fn_t) ndr_push_lsa_lsaRQueryForestTrustInformation, - (ndr_pull_flags_fn_t) ndr_pull_lsa_lsaRQueryForestTrustInformation, -- (ndr_print_function_t) ndr_print_lsa_lsaRQueryForestTrustInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14231,7 +14231,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_lsaRSetForestTrustInformation), - (ndr_push_flags_fn_t) ndr_push_lsa_lsaRSetForestTrustInformation, - (ndr_pull_flags_fn_t) ndr_pull_lsa_lsaRSetForestTrustInformation, -- (ndr_print_function_t) ndr_print_lsa_lsaRSetForestTrustInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14240,7 +14240,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_CREDRRENAME), - (ndr_push_flags_fn_t) ndr_push_lsa_CREDRRENAME, - (ndr_pull_flags_fn_t) ndr_pull_lsa_CREDRRENAME, -- (ndr_print_function_t) ndr_print_lsa_CREDRRENAME, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14249,7 +14249,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupSids3), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupSids3, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupSids3, -- (ndr_print_function_t) ndr_print_lsa_LookupSids3, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14258,7 +14258,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LookupNames4), - (ndr_push_flags_fn_t) ndr_push_lsa_LookupNames4, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LookupNames4, -- (ndr_print_function_t) ndr_print_lsa_LookupNames4, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14267,7 +14267,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LSAROPENPOLICYSCE), - (ndr_push_flags_fn_t) ndr_push_lsa_LSAROPENPOLICYSCE, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LSAROPENPOLICYSCE, -- (ndr_print_function_t) ndr_print_lsa_LSAROPENPOLICYSCE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14276,7 +14276,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE), - (ndr_push_flags_fn_t) ndr_push_lsa_LSARADTREGISTERSECURITYEVENTSOURCE, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LSARADTREGISTERSECURITYEVENTSOURCE, -- (ndr_print_function_t) ndr_print_lsa_LSARADTREGISTERSECURITYEVENTSOURCE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14285,7 +14285,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE), - (ndr_push_flags_fn_t) ndr_push_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, -- (ndr_print_function_t) ndr_print_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -14294,7 +14294,7 @@ static const struct ndr_interface_call l - sizeof(struct lsa_LSARADTREPORTSECURITYEVENT), - (ndr_push_flags_fn_t) ndr_push_lsa_LSARADTREPORTSECURITYEVENT, - (ndr_pull_flags_fn_t) ndr_pull_lsa_LSARADTREPORTSECURITYEVENT, -- (ndr_print_function_t) ndr_print_lsa_LSARADTREPORTSECURITYEVENT, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_mgmt.c -+++ b/source3/librpc/gen_ndr/ndr_mgmt.c -@@ -515,7 +515,7 @@ static const struct ndr_interface_call m - sizeof(struct mgmt_inq_if_ids), - (ndr_push_flags_fn_t) ndr_push_mgmt_inq_if_ids, - (ndr_pull_flags_fn_t) ndr_pull_mgmt_inq_if_ids, -- (ndr_print_function_t) ndr_print_mgmt_inq_if_ids, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -524,7 +524,7 @@ static const struct ndr_interface_call m - sizeof(struct mgmt_inq_stats), - (ndr_push_flags_fn_t) ndr_push_mgmt_inq_stats, - (ndr_pull_flags_fn_t) ndr_pull_mgmt_inq_stats, -- (ndr_print_function_t) ndr_print_mgmt_inq_stats, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -533,7 +533,7 @@ static const struct ndr_interface_call m - sizeof(struct mgmt_is_server_listening), - (ndr_push_flags_fn_t) ndr_push_mgmt_is_server_listening, - (ndr_pull_flags_fn_t) ndr_pull_mgmt_is_server_listening, -- (ndr_print_function_t) ndr_print_mgmt_is_server_listening, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -542,7 +542,7 @@ static const struct ndr_interface_call m - sizeof(struct mgmt_stop_server_listening), - (ndr_push_flags_fn_t) ndr_push_mgmt_stop_server_listening, - (ndr_pull_flags_fn_t) ndr_pull_mgmt_stop_server_listening, -- (ndr_print_function_t) ndr_print_mgmt_stop_server_listening, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -551,7 +551,7 @@ static const struct ndr_interface_call m - sizeof(struct mgmt_inq_princ_name), - (ndr_push_flags_fn_t) ndr_push_mgmt_inq_princ_name, - (ndr_pull_flags_fn_t) ndr_pull_mgmt_inq_princ_name, -- (ndr_print_function_t) ndr_print_mgmt_inq_princ_name, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_msgsvc.c -+++ b/source3/librpc/gen_ndr/ndr_msgsvc.c -@@ -165,7 +165,7 @@ static const struct ndr_interface_call m - sizeof(struct NetrMessageNameAdd), - (ndr_push_flags_fn_t) ndr_push_NetrMessageNameAdd, - (ndr_pull_flags_fn_t) ndr_pull_NetrMessageNameAdd, -- (ndr_print_function_t) ndr_print_NetrMessageNameAdd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -174,7 +174,7 @@ static const struct ndr_interface_call m - sizeof(struct NetrMessageNameEnum), - (ndr_push_flags_fn_t) ndr_push_NetrMessageNameEnum, - (ndr_pull_flags_fn_t) ndr_pull_NetrMessageNameEnum, -- (ndr_print_function_t) ndr_print_NetrMessageNameEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -183,7 +183,7 @@ static const struct ndr_interface_call m - sizeof(struct NetrMessageNameGetInfo), - (ndr_push_flags_fn_t) ndr_push_NetrMessageNameGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_NetrMessageNameGetInfo, -- (ndr_print_function_t) ndr_print_NetrMessageNameGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -192,7 +192,7 @@ static const struct ndr_interface_call m - sizeof(struct NetrMessageNameDel), - (ndr_push_flags_fn_t) ndr_push_NetrMessageNameDel, - (ndr_pull_flags_fn_t) ndr_pull_NetrMessageNameDel, -- (ndr_print_function_t) ndr_print_NetrMessageNameDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -276,7 +276,7 @@ static const struct ndr_interface_call m - sizeof(struct NetrSendMessage), - (ndr_push_flags_fn_t) ndr_push_NetrSendMessage, - (ndr_pull_flags_fn_t) ndr_pull_NetrSendMessage, -- (ndr_print_function_t) ndr_print_NetrSendMessage, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_nbt.c -+++ b/source3/librpc/gen_ndr/ndr_nbt.c -@@ -3671,7 +3671,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_nbt_netlogon_packet), - (ndr_push_flags_fn_t) ndr_push_decode_nbt_netlogon_packet, - (ndr_pull_flags_fn_t) ndr_pull_decode_nbt_netlogon_packet, -- (ndr_print_function_t) ndr_print_decode_nbt_netlogon_packet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_netlogon.c -+++ b/source3/librpc/gen_ndr/ndr_netlogon.c -@@ -17827,7 +17827,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonUasLogon), - (ndr_push_flags_fn_t) ndr_push_netr_LogonUasLogon, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonUasLogon, -- (ndr_print_function_t) ndr_print_netr_LogonUasLogon, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17836,7 +17836,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonUasLogoff), - (ndr_push_flags_fn_t) ndr_push_netr_LogonUasLogoff, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonUasLogoff, -- (ndr_print_function_t) ndr_print_netr_LogonUasLogoff, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17845,7 +17845,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonSamLogon), - (ndr_push_flags_fn_t) ndr_push_netr_LogonSamLogon, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonSamLogon, -- (ndr_print_function_t) ndr_print_netr_LogonSamLogon, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17854,7 +17854,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonSamLogoff), - (ndr_push_flags_fn_t) ndr_push_netr_LogonSamLogoff, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonSamLogoff, -- (ndr_print_function_t) ndr_print_netr_LogonSamLogoff, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17863,7 +17863,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerReqChallenge), - (ndr_push_flags_fn_t) ndr_push_netr_ServerReqChallenge, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerReqChallenge, -- (ndr_print_function_t) ndr_print_netr_ServerReqChallenge, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17872,7 +17872,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerAuthenticate), - (ndr_push_flags_fn_t) ndr_push_netr_ServerAuthenticate, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerAuthenticate, -- (ndr_print_function_t) ndr_print_netr_ServerAuthenticate, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17881,7 +17881,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerPasswordSet), - (ndr_push_flags_fn_t) ndr_push_netr_ServerPasswordSet, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerPasswordSet, -- (ndr_print_function_t) ndr_print_netr_ServerPasswordSet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17890,7 +17890,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DatabaseDeltas), - (ndr_push_flags_fn_t) ndr_push_netr_DatabaseDeltas, - (ndr_pull_flags_fn_t) ndr_pull_netr_DatabaseDeltas, -- (ndr_print_function_t) ndr_print_netr_DatabaseDeltas, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17899,7 +17899,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DatabaseSync), - (ndr_push_flags_fn_t) ndr_push_netr_DatabaseSync, - (ndr_pull_flags_fn_t) ndr_pull_netr_DatabaseSync, -- (ndr_print_function_t) ndr_print_netr_DatabaseSync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17908,7 +17908,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_AccountDeltas), - (ndr_push_flags_fn_t) ndr_push_netr_AccountDeltas, - (ndr_pull_flags_fn_t) ndr_pull_netr_AccountDeltas, -- (ndr_print_function_t) ndr_print_netr_AccountDeltas, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17917,7 +17917,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_AccountSync), - (ndr_push_flags_fn_t) ndr_push_netr_AccountSync, - (ndr_pull_flags_fn_t) ndr_pull_netr_AccountSync, -- (ndr_print_function_t) ndr_print_netr_AccountSync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17926,7 +17926,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_GetDcName), - (ndr_push_flags_fn_t) ndr_push_netr_GetDcName, - (ndr_pull_flags_fn_t) ndr_pull_netr_GetDcName, -- (ndr_print_function_t) ndr_print_netr_GetDcName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17935,7 +17935,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonControl), - (ndr_push_flags_fn_t) ndr_push_netr_LogonControl, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonControl, -- (ndr_print_function_t) ndr_print_netr_LogonControl, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17944,7 +17944,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_GetAnyDCName), - (ndr_push_flags_fn_t) ndr_push_netr_GetAnyDCName, - (ndr_pull_flags_fn_t) ndr_pull_netr_GetAnyDCName, -- (ndr_print_function_t) ndr_print_netr_GetAnyDCName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17953,7 +17953,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonControl2), - (ndr_push_flags_fn_t) ndr_push_netr_LogonControl2, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonControl2, -- (ndr_print_function_t) ndr_print_netr_LogonControl2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17962,7 +17962,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerAuthenticate2), - (ndr_push_flags_fn_t) ndr_push_netr_ServerAuthenticate2, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerAuthenticate2, -- (ndr_print_function_t) ndr_print_netr_ServerAuthenticate2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17971,7 +17971,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DatabaseSync2), - (ndr_push_flags_fn_t) ndr_push_netr_DatabaseSync2, - (ndr_pull_flags_fn_t) ndr_pull_netr_DatabaseSync2, -- (ndr_print_function_t) ndr_print_netr_DatabaseSync2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17980,7 +17980,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DatabaseRedo), - (ndr_push_flags_fn_t) ndr_push_netr_DatabaseRedo, - (ndr_pull_flags_fn_t) ndr_pull_netr_DatabaseRedo, -- (ndr_print_function_t) ndr_print_netr_DatabaseRedo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17989,7 +17989,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonControl2Ex), - (ndr_push_flags_fn_t) ndr_push_netr_LogonControl2Ex, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonControl2Ex, -- (ndr_print_function_t) ndr_print_netr_LogonControl2Ex, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -17998,7 +17998,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_NetrEnumerateTrustedDomains), - (ndr_push_flags_fn_t) ndr_push_netr_NetrEnumerateTrustedDomains, - (ndr_pull_flags_fn_t) ndr_pull_netr_NetrEnumerateTrustedDomains, -- (ndr_print_function_t) ndr_print_netr_NetrEnumerateTrustedDomains, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18007,7 +18007,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsRGetDCName), - (ndr_push_flags_fn_t) ndr_push_netr_DsRGetDCName, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsRGetDCName, -- (ndr_print_function_t) ndr_print_netr_DsRGetDCName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18016,7 +18016,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonGetCapabilities), - (ndr_push_flags_fn_t) ndr_push_netr_LogonGetCapabilities, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonGetCapabilities, -- (ndr_print_function_t) ndr_print_netr_LogonGetCapabilities, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18025,7 +18025,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_NETRLOGONSETSERVICEBITS), - (ndr_push_flags_fn_t) ndr_push_netr_NETRLOGONSETSERVICEBITS, - (ndr_pull_flags_fn_t) ndr_pull_netr_NETRLOGONSETSERVICEBITS, -- (ndr_print_function_t) ndr_print_netr_NETRLOGONSETSERVICEBITS, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18034,7 +18034,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonGetTrustRid), - (ndr_push_flags_fn_t) ndr_push_netr_LogonGetTrustRid, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonGetTrustRid, -- (ndr_print_function_t) ndr_print_netr_LogonGetTrustRid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18043,7 +18043,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_NETRLOGONCOMPUTESERVERDIGEST), - (ndr_push_flags_fn_t) ndr_push_netr_NETRLOGONCOMPUTESERVERDIGEST, - (ndr_pull_flags_fn_t) ndr_pull_netr_NETRLOGONCOMPUTESERVERDIGEST, -- (ndr_print_function_t) ndr_print_netr_NETRLOGONCOMPUTESERVERDIGEST, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18052,7 +18052,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_NETRLOGONCOMPUTECLIENTDIGEST), - (ndr_push_flags_fn_t) ndr_push_netr_NETRLOGONCOMPUTECLIENTDIGEST, - (ndr_pull_flags_fn_t) ndr_pull_netr_NETRLOGONCOMPUTECLIENTDIGEST, -- (ndr_print_function_t) ndr_print_netr_NETRLOGONCOMPUTECLIENTDIGEST, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18061,7 +18061,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerAuthenticate3), - (ndr_push_flags_fn_t) ndr_push_netr_ServerAuthenticate3, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerAuthenticate3, -- (ndr_print_function_t) ndr_print_netr_ServerAuthenticate3, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18070,7 +18070,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsRGetDCNameEx), - (ndr_push_flags_fn_t) ndr_push_netr_DsRGetDCNameEx, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsRGetDCNameEx, -- (ndr_print_function_t) ndr_print_netr_DsRGetDCNameEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18079,7 +18079,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsRGetSiteName), - (ndr_push_flags_fn_t) ndr_push_netr_DsRGetSiteName, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsRGetSiteName, -- (ndr_print_function_t) ndr_print_netr_DsRGetSiteName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18088,7 +18088,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonGetDomainInfo), - (ndr_push_flags_fn_t) ndr_push_netr_LogonGetDomainInfo, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonGetDomainInfo, -- (ndr_print_function_t) ndr_print_netr_LogonGetDomainInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18097,7 +18097,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerPasswordSet2), - (ndr_push_flags_fn_t) ndr_push_netr_ServerPasswordSet2, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerPasswordSet2, -- (ndr_print_function_t) ndr_print_netr_ServerPasswordSet2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18106,7 +18106,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerPasswordGet), - (ndr_push_flags_fn_t) ndr_push_netr_ServerPasswordGet, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerPasswordGet, -- (ndr_print_function_t) ndr_print_netr_ServerPasswordGet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18115,7 +18115,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_NETRLOGONSENDTOSAM), - (ndr_push_flags_fn_t) ndr_push_netr_NETRLOGONSENDTOSAM, - (ndr_pull_flags_fn_t) ndr_pull_netr_NETRLOGONSENDTOSAM, -- (ndr_print_function_t) ndr_print_netr_NETRLOGONSENDTOSAM, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18124,7 +18124,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsRAddressToSitenamesW), - (ndr_push_flags_fn_t) ndr_push_netr_DsRAddressToSitenamesW, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsRAddressToSitenamesW, -- (ndr_print_function_t) ndr_print_netr_DsRAddressToSitenamesW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18133,7 +18133,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsRGetDCNameEx2), - (ndr_push_flags_fn_t) ndr_push_netr_DsRGetDCNameEx2, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsRGetDCNameEx2, -- (ndr_print_function_t) ndr_print_netr_DsRGetDCNameEx2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18142,7 +18142,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN), - (ndr_push_flags_fn_t) ndr_push_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, - (ndr_pull_flags_fn_t) ndr_pull_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, -- (ndr_print_function_t) ndr_print_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18151,7 +18151,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_NetrEnumerateTrustedDomainsEx), - (ndr_push_flags_fn_t) ndr_push_netr_NetrEnumerateTrustedDomainsEx, - (ndr_pull_flags_fn_t) ndr_pull_netr_NetrEnumerateTrustedDomainsEx, -- (ndr_print_function_t) ndr_print_netr_NetrEnumerateTrustedDomainsEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18160,7 +18160,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsRAddressToSitenamesExW), - (ndr_push_flags_fn_t) ndr_push_netr_DsRAddressToSitenamesExW, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsRAddressToSitenamesExW, -- (ndr_print_function_t) ndr_print_netr_DsRAddressToSitenamesExW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18169,7 +18169,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsrGetDcSiteCoverageW), - (ndr_push_flags_fn_t) ndr_push_netr_DsrGetDcSiteCoverageW, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsrGetDcSiteCoverageW, -- (ndr_print_function_t) ndr_print_netr_DsrGetDcSiteCoverageW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18178,7 +18178,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonSamLogonEx), - (ndr_push_flags_fn_t) ndr_push_netr_LogonSamLogonEx, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonSamLogonEx, -- (ndr_print_function_t) ndr_print_netr_LogonSamLogonEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18187,7 +18187,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsrEnumerateDomainTrusts), - (ndr_push_flags_fn_t) ndr_push_netr_DsrEnumerateDomainTrusts, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsrEnumerateDomainTrusts, -- (ndr_print_function_t) ndr_print_netr_DsrEnumerateDomainTrusts, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18196,7 +18196,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsrDeregisterDNSHostRecords), - (ndr_push_flags_fn_t) ndr_push_netr_DsrDeregisterDNSHostRecords, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsrDeregisterDNSHostRecords, -- (ndr_print_function_t) ndr_print_netr_DsrDeregisterDNSHostRecords, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18205,7 +18205,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerTrustPasswordsGet), - (ndr_push_flags_fn_t) ndr_push_netr_ServerTrustPasswordsGet, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerTrustPasswordsGet, -- (ndr_print_function_t) ndr_print_netr_ServerTrustPasswordsGet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18214,7 +18214,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsRGetForestTrustInformation), - (ndr_push_flags_fn_t) ndr_push_netr_DsRGetForestTrustInformation, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsRGetForestTrustInformation, -- (ndr_print_function_t) ndr_print_netr_DsRGetForestTrustInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18223,7 +18223,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_GetForestTrustInformation), - (ndr_push_flags_fn_t) ndr_push_netr_GetForestTrustInformation, - (ndr_pull_flags_fn_t) ndr_pull_netr_GetForestTrustInformation, -- (ndr_print_function_t) ndr_print_netr_GetForestTrustInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18232,7 +18232,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_LogonSamLogonWithFlags), - (ndr_push_flags_fn_t) ndr_push_netr_LogonSamLogonWithFlags, - (ndr_pull_flags_fn_t) ndr_pull_netr_LogonSamLogonWithFlags, -- (ndr_print_function_t) ndr_print_netr_LogonSamLogonWithFlags, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18241,7 +18241,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_ServerGetTrustInfo), - (ndr_push_flags_fn_t) ndr_push_netr_ServerGetTrustInfo, - (ndr_pull_flags_fn_t) ndr_pull_netr_ServerGetTrustInfo, -- (ndr_print_function_t) ndr_print_netr_ServerGetTrustInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18250,7 +18250,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_Unused47), - (ndr_push_flags_fn_t) ndr_push_netr_Unused47, - (ndr_pull_flags_fn_t) ndr_pull_netr_Unused47, -- (ndr_print_function_t) ndr_print_netr_Unused47, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -18259,7 +18259,7 @@ static const struct ndr_interface_call n - sizeof(struct netr_DsrUpdateReadOnlyServerDnsRecords), - (ndr_push_flags_fn_t) ndr_push_netr_DsrUpdateReadOnlyServerDnsRecords, - (ndr_pull_flags_fn_t) ndr_pull_netr_DsrUpdateReadOnlyServerDnsRecords, -- (ndr_print_function_t) ndr_print_netr_DsrUpdateReadOnlyServerDnsRecords, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_ntlmssp.c -+++ b/source3/librpc/gen_ndr/ndr_ntlmssp.c -@@ -2408,7 +2408,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_NEGOTIATE_MESSAGE), - (ndr_push_flags_fn_t) ndr_push_decode_NEGOTIATE_MESSAGE, - (ndr_pull_flags_fn_t) ndr_pull_decode_NEGOTIATE_MESSAGE, -- (ndr_print_function_t) ndr_print_decode_NEGOTIATE_MESSAGE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2417,7 +2417,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_CHALLENGE_MESSAGE), - (ndr_push_flags_fn_t) ndr_push_decode_CHALLENGE_MESSAGE, - (ndr_pull_flags_fn_t) ndr_pull_decode_CHALLENGE_MESSAGE, -- (ndr_print_function_t) ndr_print_decode_CHALLENGE_MESSAGE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2426,7 +2426,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_AUTHENTICATE_MESSAGE), - (ndr_push_flags_fn_t) ndr_push_decode_AUTHENTICATE_MESSAGE, - (ndr_pull_flags_fn_t) ndr_pull_decode_AUTHENTICATE_MESSAGE, -- (ndr_print_function_t) ndr_print_decode_AUTHENTICATE_MESSAGE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2435,7 +2435,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_NTLMv2_CLIENT_CHALLENGE), - (ndr_push_flags_fn_t) ndr_push_decode_NTLMv2_CLIENT_CHALLENGE, - (ndr_pull_flags_fn_t) ndr_pull_decode_NTLMv2_CLIENT_CHALLENGE, -- (ndr_print_function_t) ndr_print_decode_NTLMv2_CLIENT_CHALLENGE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2444,7 +2444,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_NTLMv2_RESPONSE), - (ndr_push_flags_fn_t) ndr_push_decode_NTLMv2_RESPONSE, - (ndr_pull_flags_fn_t) ndr_pull_decode_NTLMv2_RESPONSE, -- (ndr_print_function_t) ndr_print_decode_NTLMv2_RESPONSE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_ntprinting.c -+++ b/source3/librpc/gen_ndr/ndr_ntprinting.c -@@ -914,7 +914,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_ntprinting_form), - (ndr_push_flags_fn_t) ndr_push_decode_ntprinting_form, - (ndr_pull_flags_fn_t) ndr_pull_decode_ntprinting_form, -- (ndr_print_function_t) ndr_print_decode_ntprinting_form, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -923,7 +923,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_ntprinting_driver), - (ndr_push_flags_fn_t) ndr_push_decode_ntprinting_driver, - (ndr_pull_flags_fn_t) ndr_pull_decode_ntprinting_driver, -- (ndr_print_function_t) ndr_print_decode_ntprinting_driver, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -932,7 +932,7 @@ static const struct ndr_interface_call n - sizeof(struct decode_ntprinting_printer), - (ndr_push_flags_fn_t) ndr_push_decode_ntprinting_printer, - (ndr_pull_flags_fn_t) ndr_pull_decode_ntprinting_printer, -- (ndr_print_function_t) ndr_print_decode_ntprinting_printer, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_ntsvcs.c -+++ b/source3/librpc/gen_ndr/ndr_ntsvcs.c -@@ -3466,7 +3466,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_Disconnect), - (ndr_push_flags_fn_t) ndr_push_PNP_Disconnect, - (ndr_pull_flags_fn_t) ndr_pull_PNP_Disconnect, -- (ndr_print_function_t) ndr_print_PNP_Disconnect, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3475,7 +3475,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_Connect), - (ndr_push_flags_fn_t) ndr_push_PNP_Connect, - (ndr_pull_flags_fn_t) ndr_pull_PNP_Connect, -- (ndr_print_function_t) ndr_print_PNP_Connect, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3484,7 +3484,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetVersion), - (ndr_push_flags_fn_t) ndr_push_PNP_GetVersion, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetVersion, -- (ndr_print_function_t) ndr_print_PNP_GetVersion, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3493,7 +3493,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetGlobalState), - (ndr_push_flags_fn_t) ndr_push_PNP_GetGlobalState, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetGlobalState, -- (ndr_print_function_t) ndr_print_PNP_GetGlobalState, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3502,7 +3502,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_InitDetection), - (ndr_push_flags_fn_t) ndr_push_PNP_InitDetection, - (ndr_pull_flags_fn_t) ndr_pull_PNP_InitDetection, -- (ndr_print_function_t) ndr_print_PNP_InitDetection, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3511,7 +3511,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_ReportLogOn), - (ndr_push_flags_fn_t) ndr_push_PNP_ReportLogOn, - (ndr_pull_flags_fn_t) ndr_pull_PNP_ReportLogOn, -- (ndr_print_function_t) ndr_print_PNP_ReportLogOn, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3520,7 +3520,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_ValidateDeviceInstance), - (ndr_push_flags_fn_t) ndr_push_PNP_ValidateDeviceInstance, - (ndr_pull_flags_fn_t) ndr_pull_PNP_ValidateDeviceInstance, -- (ndr_print_function_t) ndr_print_PNP_ValidateDeviceInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3529,7 +3529,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetRootDeviceInstance), - (ndr_push_flags_fn_t) ndr_push_PNP_GetRootDeviceInstance, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetRootDeviceInstance, -- (ndr_print_function_t) ndr_print_PNP_GetRootDeviceInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3538,7 +3538,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetRelatedDeviceInstance), - (ndr_push_flags_fn_t) ndr_push_PNP_GetRelatedDeviceInstance, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetRelatedDeviceInstance, -- (ndr_print_function_t) ndr_print_PNP_GetRelatedDeviceInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3547,7 +3547,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_EnumerateSubKeys), - (ndr_push_flags_fn_t) ndr_push_PNP_EnumerateSubKeys, - (ndr_pull_flags_fn_t) ndr_pull_PNP_EnumerateSubKeys, -- (ndr_print_function_t) ndr_print_PNP_EnumerateSubKeys, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3556,7 +3556,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetDeviceList), - (ndr_push_flags_fn_t) ndr_push_PNP_GetDeviceList, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetDeviceList, -- (ndr_print_function_t) ndr_print_PNP_GetDeviceList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3565,7 +3565,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetDeviceListSize), - (ndr_push_flags_fn_t) ndr_push_PNP_GetDeviceListSize, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetDeviceListSize, -- (ndr_print_function_t) ndr_print_PNP_GetDeviceListSize, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3574,7 +3574,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetDepth), - (ndr_push_flags_fn_t) ndr_push_PNP_GetDepth, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetDepth, -- (ndr_print_function_t) ndr_print_PNP_GetDepth, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3583,7 +3583,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetDeviceRegProp), - (ndr_push_flags_fn_t) ndr_push_PNP_GetDeviceRegProp, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetDeviceRegProp, -- (ndr_print_function_t) ndr_print_PNP_GetDeviceRegProp, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3592,7 +3592,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_SetDeviceRegProp), - (ndr_push_flags_fn_t) ndr_push_PNP_SetDeviceRegProp, - (ndr_pull_flags_fn_t) ndr_pull_PNP_SetDeviceRegProp, -- (ndr_print_function_t) ndr_print_PNP_SetDeviceRegProp, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3601,7 +3601,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetClassInstance), - (ndr_push_flags_fn_t) ndr_push_PNP_GetClassInstance, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetClassInstance, -- (ndr_print_function_t) ndr_print_PNP_GetClassInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3610,7 +3610,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_CreateKey), - (ndr_push_flags_fn_t) ndr_push_PNP_CreateKey, - (ndr_pull_flags_fn_t) ndr_pull_PNP_CreateKey, -- (ndr_print_function_t) ndr_print_PNP_CreateKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3619,7 +3619,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_DeleteRegistryKey), - (ndr_push_flags_fn_t) ndr_push_PNP_DeleteRegistryKey, - (ndr_pull_flags_fn_t) ndr_pull_PNP_DeleteRegistryKey, -- (ndr_print_function_t) ndr_print_PNP_DeleteRegistryKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3628,7 +3628,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetClassCount), - (ndr_push_flags_fn_t) ndr_push_PNP_GetClassCount, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetClassCount, -- (ndr_print_function_t) ndr_print_PNP_GetClassCount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3637,7 +3637,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetClassName), - (ndr_push_flags_fn_t) ndr_push_PNP_GetClassName, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetClassName, -- (ndr_print_function_t) ndr_print_PNP_GetClassName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3646,7 +3646,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_DeleteClassKey), - (ndr_push_flags_fn_t) ndr_push_PNP_DeleteClassKey, - (ndr_pull_flags_fn_t) ndr_pull_PNP_DeleteClassKey, -- (ndr_print_function_t) ndr_print_PNP_DeleteClassKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3655,7 +3655,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetInterfaceDeviceAlias), - (ndr_push_flags_fn_t) ndr_push_PNP_GetInterfaceDeviceAlias, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetInterfaceDeviceAlias, -- (ndr_print_function_t) ndr_print_PNP_GetInterfaceDeviceAlias, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3664,7 +3664,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetInterfaceDeviceList), - (ndr_push_flags_fn_t) ndr_push_PNP_GetInterfaceDeviceList, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetInterfaceDeviceList, -- (ndr_print_function_t) ndr_print_PNP_GetInterfaceDeviceList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3673,7 +3673,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetInterfaceDeviceListSize), - (ndr_push_flags_fn_t) ndr_push_PNP_GetInterfaceDeviceListSize, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetInterfaceDeviceListSize, -- (ndr_print_function_t) ndr_print_PNP_GetInterfaceDeviceListSize, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3682,7 +3682,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_RegisterDeviceClassAssociation), - (ndr_push_flags_fn_t) ndr_push_PNP_RegisterDeviceClassAssociation, - (ndr_pull_flags_fn_t) ndr_pull_PNP_RegisterDeviceClassAssociation, -- (ndr_print_function_t) ndr_print_PNP_RegisterDeviceClassAssociation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3691,7 +3691,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_UnregisterDeviceClassAssociation), - (ndr_push_flags_fn_t) ndr_push_PNP_UnregisterDeviceClassAssociation, - (ndr_pull_flags_fn_t) ndr_pull_PNP_UnregisterDeviceClassAssociation, -- (ndr_print_function_t) ndr_print_PNP_UnregisterDeviceClassAssociation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3700,7 +3700,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetClassRegProp), - (ndr_push_flags_fn_t) ndr_push_PNP_GetClassRegProp, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetClassRegProp, -- (ndr_print_function_t) ndr_print_PNP_GetClassRegProp, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3709,7 +3709,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_SetClassRegProp), - (ndr_push_flags_fn_t) ndr_push_PNP_SetClassRegProp, - (ndr_pull_flags_fn_t) ndr_pull_PNP_SetClassRegProp, -- (ndr_print_function_t) ndr_print_PNP_SetClassRegProp, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3718,7 +3718,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_CreateDevInst), - (ndr_push_flags_fn_t) ndr_push_PNP_CreateDevInst, - (ndr_pull_flags_fn_t) ndr_pull_PNP_CreateDevInst, -- (ndr_print_function_t) ndr_print_PNP_CreateDevInst, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3727,7 +3727,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_DeviceInstanceAction), - (ndr_push_flags_fn_t) ndr_push_PNP_DeviceInstanceAction, - (ndr_pull_flags_fn_t) ndr_pull_PNP_DeviceInstanceAction, -- (ndr_print_function_t) ndr_print_PNP_DeviceInstanceAction, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3736,7 +3736,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetDeviceStatus), - (ndr_push_flags_fn_t) ndr_push_PNP_GetDeviceStatus, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetDeviceStatus, -- (ndr_print_function_t) ndr_print_PNP_GetDeviceStatus, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3745,7 +3745,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_SetDeviceProblem), - (ndr_push_flags_fn_t) ndr_push_PNP_SetDeviceProblem, - (ndr_pull_flags_fn_t) ndr_pull_PNP_SetDeviceProblem, -- (ndr_print_function_t) ndr_print_PNP_SetDeviceProblem, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3754,7 +3754,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_DisableDevInst), - (ndr_push_flags_fn_t) ndr_push_PNP_DisableDevInst, - (ndr_pull_flags_fn_t) ndr_pull_PNP_DisableDevInst, -- (ndr_print_function_t) ndr_print_PNP_DisableDevInst, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3763,7 +3763,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_UninstallDevInst), - (ndr_push_flags_fn_t) ndr_push_PNP_UninstallDevInst, - (ndr_pull_flags_fn_t) ndr_pull_PNP_UninstallDevInst, -- (ndr_print_function_t) ndr_print_PNP_UninstallDevInst, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3772,7 +3772,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_AddID), - (ndr_push_flags_fn_t) ndr_push_PNP_AddID, - (ndr_pull_flags_fn_t) ndr_pull_PNP_AddID, -- (ndr_print_function_t) ndr_print_PNP_AddID, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3781,7 +3781,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_RegisterDriver), - (ndr_push_flags_fn_t) ndr_push_PNP_RegisterDriver, - (ndr_pull_flags_fn_t) ndr_pull_PNP_RegisterDriver, -- (ndr_print_function_t) ndr_print_PNP_RegisterDriver, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3790,7 +3790,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_QueryRemove), - (ndr_push_flags_fn_t) ndr_push_PNP_QueryRemove, - (ndr_pull_flags_fn_t) ndr_pull_PNP_QueryRemove, -- (ndr_print_function_t) ndr_print_PNP_QueryRemove, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3799,7 +3799,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_RequestDeviceEject), - (ndr_push_flags_fn_t) ndr_push_PNP_RequestDeviceEject, - (ndr_pull_flags_fn_t) ndr_pull_PNP_RequestDeviceEject, -- (ndr_print_function_t) ndr_print_PNP_RequestDeviceEject, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3808,7 +3808,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_IsDockStationPresent), - (ndr_push_flags_fn_t) ndr_push_PNP_IsDockStationPresent, - (ndr_pull_flags_fn_t) ndr_pull_PNP_IsDockStationPresent, -- (ndr_print_function_t) ndr_print_PNP_IsDockStationPresent, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3817,7 +3817,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_RequestEjectPC), - (ndr_push_flags_fn_t) ndr_push_PNP_RequestEjectPC, - (ndr_pull_flags_fn_t) ndr_pull_PNP_RequestEjectPC, -- (ndr_print_function_t) ndr_print_PNP_RequestEjectPC, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3826,7 +3826,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_HwProfFlags), - (ndr_push_flags_fn_t) ndr_push_PNP_HwProfFlags, - (ndr_pull_flags_fn_t) ndr_pull_PNP_HwProfFlags, -- (ndr_print_function_t) ndr_print_PNP_HwProfFlags, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3835,7 +3835,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetHwProfInfo), - (ndr_push_flags_fn_t) ndr_push_PNP_GetHwProfInfo, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetHwProfInfo, -- (ndr_print_function_t) ndr_print_PNP_GetHwProfInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3844,7 +3844,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_AddEmptyLogConf), - (ndr_push_flags_fn_t) ndr_push_PNP_AddEmptyLogConf, - (ndr_pull_flags_fn_t) ndr_pull_PNP_AddEmptyLogConf, -- (ndr_print_function_t) ndr_print_PNP_AddEmptyLogConf, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3853,7 +3853,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_FreeLogConf), - (ndr_push_flags_fn_t) ndr_push_PNP_FreeLogConf, - (ndr_pull_flags_fn_t) ndr_pull_PNP_FreeLogConf, -- (ndr_print_function_t) ndr_print_PNP_FreeLogConf, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3862,7 +3862,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetFirstLogConf), - (ndr_push_flags_fn_t) ndr_push_PNP_GetFirstLogConf, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetFirstLogConf, -- (ndr_print_function_t) ndr_print_PNP_GetFirstLogConf, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3871,7 +3871,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetNextLogConf), - (ndr_push_flags_fn_t) ndr_push_PNP_GetNextLogConf, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetNextLogConf, -- (ndr_print_function_t) ndr_print_PNP_GetNextLogConf, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3880,7 +3880,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetLogConfPriority), - (ndr_push_flags_fn_t) ndr_push_PNP_GetLogConfPriority, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetLogConfPriority, -- (ndr_print_function_t) ndr_print_PNP_GetLogConfPriority, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3889,7 +3889,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_AddResDes), - (ndr_push_flags_fn_t) ndr_push_PNP_AddResDes, - (ndr_pull_flags_fn_t) ndr_pull_PNP_AddResDes, -- (ndr_print_function_t) ndr_print_PNP_AddResDes, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3898,7 +3898,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_FreeResDes), - (ndr_push_flags_fn_t) ndr_push_PNP_FreeResDes, - (ndr_pull_flags_fn_t) ndr_pull_PNP_FreeResDes, -- (ndr_print_function_t) ndr_print_PNP_FreeResDes, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3907,7 +3907,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetNextResDes), - (ndr_push_flags_fn_t) ndr_push_PNP_GetNextResDes, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetNextResDes, -- (ndr_print_function_t) ndr_print_PNP_GetNextResDes, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3916,7 +3916,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetResDesData), - (ndr_push_flags_fn_t) ndr_push_PNP_GetResDesData, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetResDesData, -- (ndr_print_function_t) ndr_print_PNP_GetResDesData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3925,7 +3925,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetResDesDataSize), - (ndr_push_flags_fn_t) ndr_push_PNP_GetResDesDataSize, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetResDesDataSize, -- (ndr_print_function_t) ndr_print_PNP_GetResDesDataSize, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3934,7 +3934,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_ModifyResDes), - (ndr_push_flags_fn_t) ndr_push_PNP_ModifyResDes, - (ndr_pull_flags_fn_t) ndr_pull_PNP_ModifyResDes, -- (ndr_print_function_t) ndr_print_PNP_ModifyResDes, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3943,7 +3943,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_DetectResourceLimit), - (ndr_push_flags_fn_t) ndr_push_PNP_DetectResourceLimit, - (ndr_pull_flags_fn_t) ndr_pull_PNP_DetectResourceLimit, -- (ndr_print_function_t) ndr_print_PNP_DetectResourceLimit, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3952,7 +3952,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_QueryResConfList), - (ndr_push_flags_fn_t) ndr_push_PNP_QueryResConfList, - (ndr_pull_flags_fn_t) ndr_pull_PNP_QueryResConfList, -- (ndr_print_function_t) ndr_print_PNP_QueryResConfList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3961,7 +3961,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_SetHwProf), - (ndr_push_flags_fn_t) ndr_push_PNP_SetHwProf, - (ndr_pull_flags_fn_t) ndr_pull_PNP_SetHwProf, -- (ndr_print_function_t) ndr_print_PNP_SetHwProf, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3970,7 +3970,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_QueryArbitratorFreeData), - (ndr_push_flags_fn_t) ndr_push_PNP_QueryArbitratorFreeData, - (ndr_pull_flags_fn_t) ndr_pull_PNP_QueryArbitratorFreeData, -- (ndr_print_function_t) ndr_print_PNP_QueryArbitratorFreeData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3979,7 +3979,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_QueryArbitratorFreeSize), - (ndr_push_flags_fn_t) ndr_push_PNP_QueryArbitratorFreeSize, - (ndr_pull_flags_fn_t) ndr_pull_PNP_QueryArbitratorFreeSize, -- (ndr_print_function_t) ndr_print_PNP_QueryArbitratorFreeSize, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3988,7 +3988,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_RunDetection), - (ndr_push_flags_fn_t) ndr_push_PNP_RunDetection, - (ndr_pull_flags_fn_t) ndr_pull_PNP_RunDetection, -- (ndr_print_function_t) ndr_print_PNP_RunDetection, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3997,7 +3997,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_RegisterNotification), - (ndr_push_flags_fn_t) ndr_push_PNP_RegisterNotification, - (ndr_pull_flags_fn_t) ndr_pull_PNP_RegisterNotification, -- (ndr_print_function_t) ndr_print_PNP_RegisterNotification, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4006,7 +4006,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_UnregisterNotification), - (ndr_push_flags_fn_t) ndr_push_PNP_UnregisterNotification, - (ndr_pull_flags_fn_t) ndr_pull_PNP_UnregisterNotification, -- (ndr_print_function_t) ndr_print_PNP_UnregisterNotification, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4015,7 +4015,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetCustomDevProp), - (ndr_push_flags_fn_t) ndr_push_PNP_GetCustomDevProp, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetCustomDevProp, -- (ndr_print_function_t) ndr_print_PNP_GetCustomDevProp, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4024,7 +4024,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetVersionInternal), - (ndr_push_flags_fn_t) ndr_push_PNP_GetVersionInternal, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetVersionInternal, -- (ndr_print_function_t) ndr_print_PNP_GetVersionInternal, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4033,7 +4033,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetBlockedDriverInfo), - (ndr_push_flags_fn_t) ndr_push_PNP_GetBlockedDriverInfo, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetBlockedDriverInfo, -- (ndr_print_function_t) ndr_print_PNP_GetBlockedDriverInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4042,7 +4042,7 @@ static const struct ndr_interface_call n - sizeof(struct PNP_GetServerSideDeviceInstallFlags), - (ndr_push_flags_fn_t) ndr_push_PNP_GetServerSideDeviceInstallFlags, - (ndr_pull_flags_fn_t) ndr_pull_PNP_GetServerSideDeviceInstallFlags, -- (ndr_print_function_t) ndr_print_PNP_GetServerSideDeviceInstallFlags, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_oxidresolver.c -+++ b/source3/librpc/gen_ndr/ndr_oxidresolver.c -@@ -761,7 +761,7 @@ static const struct ndr_interface_call I - sizeof(struct ResolveOxid), - (ndr_push_flags_fn_t) ndr_push_ResolveOxid, - (ndr_pull_flags_fn_t) ndr_pull_ResolveOxid, -- (ndr_print_function_t) ndr_print_ResolveOxid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -770,7 +770,7 @@ static const struct ndr_interface_call I - sizeof(struct SimplePing), - (ndr_push_flags_fn_t) ndr_push_SimplePing, - (ndr_pull_flags_fn_t) ndr_pull_SimplePing, -- (ndr_print_function_t) ndr_print_SimplePing, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -779,7 +779,7 @@ static const struct ndr_interface_call I - sizeof(struct ComplexPing), - (ndr_push_flags_fn_t) ndr_push_ComplexPing, - (ndr_pull_flags_fn_t) ndr_pull_ComplexPing, -- (ndr_print_function_t) ndr_print_ComplexPing, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -788,7 +788,7 @@ static const struct ndr_interface_call I - sizeof(struct ServerAlive), - (ndr_push_flags_fn_t) ndr_push_ServerAlive, - (ndr_pull_flags_fn_t) ndr_pull_ServerAlive, -- (ndr_print_function_t) ndr_print_ServerAlive, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -797,7 +797,7 @@ static const struct ndr_interface_call I - sizeof(struct ResolveOxid2), - (ndr_push_flags_fn_t) ndr_push_ResolveOxid2, - (ndr_pull_flags_fn_t) ndr_pull_ResolveOxid2, -- (ndr_print_function_t) ndr_print_ResolveOxid2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -806,7 +806,7 @@ static const struct ndr_interface_call I - sizeof(struct ServerAlive2), - (ndr_push_flags_fn_t) ndr_push_ServerAlive2, - (ndr_pull_flags_fn_t) ndr_pull_ServerAlive2, -- (ndr_print_function_t) ndr_print_ServerAlive2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_policyagent.c -+++ b/source3/librpc/gen_ndr/ndr_policyagent.c -@@ -51,7 +51,7 @@ static const struct ndr_interface_call p - sizeof(struct policyagent_Dummy), - (ndr_push_flags_fn_t) ndr_push_policyagent_Dummy, - (ndr_pull_flags_fn_t) ndr_pull_policyagent_Dummy, -- (ndr_print_function_t) ndr_print_policyagent_Dummy, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_preg.c -+++ b/source3/librpc/gen_ndr/ndr_preg.c -@@ -204,7 +204,7 @@ static const struct ndr_interface_call p - sizeof(struct decode_preg_file), - (ndr_push_flags_fn_t) ndr_push_decode_preg_file, - (ndr_pull_flags_fn_t) ndr_pull_decode_preg_file, -- (ndr_print_function_t) ndr_print_decode_preg_file, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_remact.c -+++ b/source3/librpc/gen_ndr/ndr_remact.c -@@ -373,7 +373,7 @@ static const struct ndr_interface_call I - sizeof(struct RemoteActivation), - (ndr_push_flags_fn_t) ndr_push_RemoteActivation, - (ndr_pull_flags_fn_t) ndr_pull_RemoteActivation, -- (ndr_print_function_t) ndr_print_RemoteActivation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_rot.c -+++ b/source3/librpc/gen_ndr/ndr_rot.c -@@ -489,7 +489,7 @@ static const struct ndr_interface_call r - sizeof(struct rot_add), - (ndr_push_flags_fn_t) ndr_push_rot_add, - (ndr_pull_flags_fn_t) ndr_pull_rot_add, -- (ndr_print_function_t) ndr_print_rot_add, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -498,7 +498,7 @@ static const struct ndr_interface_call r - sizeof(struct rot_remove), - (ndr_push_flags_fn_t) ndr_push_rot_remove, - (ndr_pull_flags_fn_t) ndr_pull_rot_remove, -- (ndr_print_function_t) ndr_print_rot_remove, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -507,7 +507,7 @@ static const struct ndr_interface_call r - sizeof(struct rot_is_listed), - (ndr_push_flags_fn_t) ndr_push_rot_is_listed, - (ndr_pull_flags_fn_t) ndr_pull_rot_is_listed, -- (ndr_print_function_t) ndr_print_rot_is_listed, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -516,7 +516,7 @@ static const struct ndr_interface_call r - sizeof(struct rot_get_interface_pointer), - (ndr_push_flags_fn_t) ndr_push_rot_get_interface_pointer, - (ndr_pull_flags_fn_t) ndr_pull_rot_get_interface_pointer, -- (ndr_print_function_t) ndr_print_rot_get_interface_pointer, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -525,7 +525,7 @@ static const struct ndr_interface_call r - sizeof(struct rot_set_modification_time), - (ndr_push_flags_fn_t) ndr_push_rot_set_modification_time, - (ndr_pull_flags_fn_t) ndr_pull_rot_set_modification_time, -- (ndr_print_function_t) ndr_print_rot_set_modification_time, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -534,7 +534,7 @@ static const struct ndr_interface_call r - sizeof(struct rot_get_modification_time), - (ndr_push_flags_fn_t) ndr_push_rot_get_modification_time, - (ndr_pull_flags_fn_t) ndr_pull_rot_get_modification_time, -- (ndr_print_function_t) ndr_print_rot_get_modification_time, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -543,7 +543,7 @@ static const struct ndr_interface_call r - sizeof(struct rot_enum), - (ndr_push_flags_fn_t) ndr_push_rot_enum, - (ndr_pull_flags_fn_t) ndr_pull_rot_enum, -- (ndr_print_function_t) ndr_print_rot_enum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_samr.c -+++ b/source3/librpc/gen_ndr/ndr_samr.c -@@ -12674,7 +12674,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_Connect), - (ndr_push_flags_fn_t) ndr_push_samr_Connect, - (ndr_pull_flags_fn_t) ndr_pull_samr_Connect, -- (ndr_print_function_t) ndr_print_samr_Connect, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12683,7 +12683,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_Close), - (ndr_push_flags_fn_t) ndr_push_samr_Close, - (ndr_pull_flags_fn_t) ndr_pull_samr_Close, -- (ndr_print_function_t) ndr_print_samr_Close, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12692,7 +12692,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetSecurity), - (ndr_push_flags_fn_t) ndr_push_samr_SetSecurity, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetSecurity, -- (ndr_print_function_t) ndr_print_samr_SetSecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12701,7 +12701,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QuerySecurity), - (ndr_push_flags_fn_t) ndr_push_samr_QuerySecurity, - (ndr_pull_flags_fn_t) ndr_pull_samr_QuerySecurity, -- (ndr_print_function_t) ndr_print_samr_QuerySecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12710,7 +12710,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_Shutdown), - (ndr_push_flags_fn_t) ndr_push_samr_Shutdown, - (ndr_pull_flags_fn_t) ndr_pull_samr_Shutdown, -- (ndr_print_function_t) ndr_print_samr_Shutdown, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12719,7 +12719,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_LookupDomain), - (ndr_push_flags_fn_t) ndr_push_samr_LookupDomain, - (ndr_pull_flags_fn_t) ndr_pull_samr_LookupDomain, -- (ndr_print_function_t) ndr_print_samr_LookupDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12728,7 +12728,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_EnumDomains), - (ndr_push_flags_fn_t) ndr_push_samr_EnumDomains, - (ndr_pull_flags_fn_t) ndr_pull_samr_EnumDomains, -- (ndr_print_function_t) ndr_print_samr_EnumDomains, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12737,7 +12737,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_OpenDomain), - (ndr_push_flags_fn_t) ndr_push_samr_OpenDomain, - (ndr_pull_flags_fn_t) ndr_pull_samr_OpenDomain, -- (ndr_print_function_t) ndr_print_samr_OpenDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12746,7 +12746,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryDomainInfo), - (ndr_push_flags_fn_t) ndr_push_samr_QueryDomainInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryDomainInfo, -- (ndr_print_function_t) ndr_print_samr_QueryDomainInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12755,7 +12755,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetDomainInfo), - (ndr_push_flags_fn_t) ndr_push_samr_SetDomainInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetDomainInfo, -- (ndr_print_function_t) ndr_print_samr_SetDomainInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12764,7 +12764,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_CreateDomainGroup), - (ndr_push_flags_fn_t) ndr_push_samr_CreateDomainGroup, - (ndr_pull_flags_fn_t) ndr_pull_samr_CreateDomainGroup, -- (ndr_print_function_t) ndr_print_samr_CreateDomainGroup, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12773,7 +12773,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_EnumDomainGroups), - (ndr_push_flags_fn_t) ndr_push_samr_EnumDomainGroups, - (ndr_pull_flags_fn_t) ndr_pull_samr_EnumDomainGroups, -- (ndr_print_function_t) ndr_print_samr_EnumDomainGroups, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12782,7 +12782,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_CreateUser), - (ndr_push_flags_fn_t) ndr_push_samr_CreateUser, - (ndr_pull_flags_fn_t) ndr_pull_samr_CreateUser, -- (ndr_print_function_t) ndr_print_samr_CreateUser, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12791,7 +12791,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_EnumDomainUsers), - (ndr_push_flags_fn_t) ndr_push_samr_EnumDomainUsers, - (ndr_pull_flags_fn_t) ndr_pull_samr_EnumDomainUsers, -- (ndr_print_function_t) ndr_print_samr_EnumDomainUsers, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12800,7 +12800,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_CreateDomAlias), - (ndr_push_flags_fn_t) ndr_push_samr_CreateDomAlias, - (ndr_pull_flags_fn_t) ndr_pull_samr_CreateDomAlias, -- (ndr_print_function_t) ndr_print_samr_CreateDomAlias, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12809,7 +12809,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_EnumDomainAliases), - (ndr_push_flags_fn_t) ndr_push_samr_EnumDomainAliases, - (ndr_pull_flags_fn_t) ndr_pull_samr_EnumDomainAliases, -- (ndr_print_function_t) ndr_print_samr_EnumDomainAliases, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12818,7 +12818,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_GetAliasMembership), - (ndr_push_flags_fn_t) ndr_push_samr_GetAliasMembership, - (ndr_pull_flags_fn_t) ndr_pull_samr_GetAliasMembership, -- (ndr_print_function_t) ndr_print_samr_GetAliasMembership, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12827,7 +12827,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_LookupNames), - (ndr_push_flags_fn_t) ndr_push_samr_LookupNames, - (ndr_pull_flags_fn_t) ndr_pull_samr_LookupNames, -- (ndr_print_function_t) ndr_print_samr_LookupNames, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12836,7 +12836,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_LookupRids), - (ndr_push_flags_fn_t) ndr_push_samr_LookupRids, - (ndr_pull_flags_fn_t) ndr_pull_samr_LookupRids, -- (ndr_print_function_t) ndr_print_samr_LookupRids, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12845,7 +12845,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_OpenGroup), - (ndr_push_flags_fn_t) ndr_push_samr_OpenGroup, - (ndr_pull_flags_fn_t) ndr_pull_samr_OpenGroup, -- (ndr_print_function_t) ndr_print_samr_OpenGroup, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12854,7 +12854,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryGroupInfo), - (ndr_push_flags_fn_t) ndr_push_samr_QueryGroupInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryGroupInfo, -- (ndr_print_function_t) ndr_print_samr_QueryGroupInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12863,7 +12863,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetGroupInfo), - (ndr_push_flags_fn_t) ndr_push_samr_SetGroupInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetGroupInfo, -- (ndr_print_function_t) ndr_print_samr_SetGroupInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12872,7 +12872,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_AddGroupMember), - (ndr_push_flags_fn_t) ndr_push_samr_AddGroupMember, - (ndr_pull_flags_fn_t) ndr_pull_samr_AddGroupMember, -- (ndr_print_function_t) ndr_print_samr_AddGroupMember, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12881,7 +12881,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_DeleteDomainGroup), - (ndr_push_flags_fn_t) ndr_push_samr_DeleteDomainGroup, - (ndr_pull_flags_fn_t) ndr_pull_samr_DeleteDomainGroup, -- (ndr_print_function_t) ndr_print_samr_DeleteDomainGroup, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12890,7 +12890,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_DeleteGroupMember), - (ndr_push_flags_fn_t) ndr_push_samr_DeleteGroupMember, - (ndr_pull_flags_fn_t) ndr_pull_samr_DeleteGroupMember, -- (ndr_print_function_t) ndr_print_samr_DeleteGroupMember, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12899,7 +12899,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryGroupMember), - (ndr_push_flags_fn_t) ndr_push_samr_QueryGroupMember, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryGroupMember, -- (ndr_print_function_t) ndr_print_samr_QueryGroupMember, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12908,7 +12908,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetMemberAttributesOfGroup), - (ndr_push_flags_fn_t) ndr_push_samr_SetMemberAttributesOfGroup, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetMemberAttributesOfGroup, -- (ndr_print_function_t) ndr_print_samr_SetMemberAttributesOfGroup, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12917,7 +12917,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_OpenAlias), - (ndr_push_flags_fn_t) ndr_push_samr_OpenAlias, - (ndr_pull_flags_fn_t) ndr_pull_samr_OpenAlias, -- (ndr_print_function_t) ndr_print_samr_OpenAlias, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12926,7 +12926,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryAliasInfo), - (ndr_push_flags_fn_t) ndr_push_samr_QueryAliasInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryAliasInfo, -- (ndr_print_function_t) ndr_print_samr_QueryAliasInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12935,7 +12935,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetAliasInfo), - (ndr_push_flags_fn_t) ndr_push_samr_SetAliasInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetAliasInfo, -- (ndr_print_function_t) ndr_print_samr_SetAliasInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12944,7 +12944,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_DeleteDomAlias), - (ndr_push_flags_fn_t) ndr_push_samr_DeleteDomAlias, - (ndr_pull_flags_fn_t) ndr_pull_samr_DeleteDomAlias, -- (ndr_print_function_t) ndr_print_samr_DeleteDomAlias, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12953,7 +12953,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_AddAliasMember), - (ndr_push_flags_fn_t) ndr_push_samr_AddAliasMember, - (ndr_pull_flags_fn_t) ndr_pull_samr_AddAliasMember, -- (ndr_print_function_t) ndr_print_samr_AddAliasMember, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12962,7 +12962,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_DeleteAliasMember), - (ndr_push_flags_fn_t) ndr_push_samr_DeleteAliasMember, - (ndr_pull_flags_fn_t) ndr_pull_samr_DeleteAliasMember, -- (ndr_print_function_t) ndr_print_samr_DeleteAliasMember, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12971,7 +12971,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_GetMembersInAlias), - (ndr_push_flags_fn_t) ndr_push_samr_GetMembersInAlias, - (ndr_pull_flags_fn_t) ndr_pull_samr_GetMembersInAlias, -- (ndr_print_function_t) ndr_print_samr_GetMembersInAlias, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12980,7 +12980,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_OpenUser), - (ndr_push_flags_fn_t) ndr_push_samr_OpenUser, - (ndr_pull_flags_fn_t) ndr_pull_samr_OpenUser, -- (ndr_print_function_t) ndr_print_samr_OpenUser, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12989,7 +12989,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_DeleteUser), - (ndr_push_flags_fn_t) ndr_push_samr_DeleteUser, - (ndr_pull_flags_fn_t) ndr_pull_samr_DeleteUser, -- (ndr_print_function_t) ndr_print_samr_DeleteUser, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -12998,7 +12998,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryUserInfo), - (ndr_push_flags_fn_t) ndr_push_samr_QueryUserInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryUserInfo, -- (ndr_print_function_t) ndr_print_samr_QueryUserInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13007,7 +13007,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetUserInfo), - (ndr_push_flags_fn_t) ndr_push_samr_SetUserInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetUserInfo, -- (ndr_print_function_t) ndr_print_samr_SetUserInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13016,7 +13016,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_ChangePasswordUser), - (ndr_push_flags_fn_t) ndr_push_samr_ChangePasswordUser, - (ndr_pull_flags_fn_t) ndr_pull_samr_ChangePasswordUser, -- (ndr_print_function_t) ndr_print_samr_ChangePasswordUser, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13025,7 +13025,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_GetGroupsForUser), - (ndr_push_flags_fn_t) ndr_push_samr_GetGroupsForUser, - (ndr_pull_flags_fn_t) ndr_pull_samr_GetGroupsForUser, -- (ndr_print_function_t) ndr_print_samr_GetGroupsForUser, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13034,7 +13034,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryDisplayInfo), - (ndr_push_flags_fn_t) ndr_push_samr_QueryDisplayInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryDisplayInfo, -- (ndr_print_function_t) ndr_print_samr_QueryDisplayInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13043,7 +13043,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_GetDisplayEnumerationIndex), - (ndr_push_flags_fn_t) ndr_push_samr_GetDisplayEnumerationIndex, - (ndr_pull_flags_fn_t) ndr_pull_samr_GetDisplayEnumerationIndex, -- (ndr_print_function_t) ndr_print_samr_GetDisplayEnumerationIndex, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13052,7 +13052,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_TestPrivateFunctionsDomain), - (ndr_push_flags_fn_t) ndr_push_samr_TestPrivateFunctionsDomain, - (ndr_pull_flags_fn_t) ndr_pull_samr_TestPrivateFunctionsDomain, -- (ndr_print_function_t) ndr_print_samr_TestPrivateFunctionsDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13061,7 +13061,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_TestPrivateFunctionsUser), - (ndr_push_flags_fn_t) ndr_push_samr_TestPrivateFunctionsUser, - (ndr_pull_flags_fn_t) ndr_pull_samr_TestPrivateFunctionsUser, -- (ndr_print_function_t) ndr_print_samr_TestPrivateFunctionsUser, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13070,7 +13070,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_GetUserPwInfo), - (ndr_push_flags_fn_t) ndr_push_samr_GetUserPwInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_GetUserPwInfo, -- (ndr_print_function_t) ndr_print_samr_GetUserPwInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13079,7 +13079,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_RemoveMemberFromForeignDomain), - (ndr_push_flags_fn_t) ndr_push_samr_RemoveMemberFromForeignDomain, - (ndr_pull_flags_fn_t) ndr_pull_samr_RemoveMemberFromForeignDomain, -- (ndr_print_function_t) ndr_print_samr_RemoveMemberFromForeignDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13088,7 +13088,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryDomainInfo2), - (ndr_push_flags_fn_t) ndr_push_samr_QueryDomainInfo2, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryDomainInfo2, -- (ndr_print_function_t) ndr_print_samr_QueryDomainInfo2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13097,7 +13097,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryUserInfo2), - (ndr_push_flags_fn_t) ndr_push_samr_QueryUserInfo2, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryUserInfo2, -- (ndr_print_function_t) ndr_print_samr_QueryUserInfo2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13106,7 +13106,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryDisplayInfo2), - (ndr_push_flags_fn_t) ndr_push_samr_QueryDisplayInfo2, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryDisplayInfo2, -- (ndr_print_function_t) ndr_print_samr_QueryDisplayInfo2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13115,7 +13115,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_GetDisplayEnumerationIndex2), - (ndr_push_flags_fn_t) ndr_push_samr_GetDisplayEnumerationIndex2, - (ndr_pull_flags_fn_t) ndr_pull_samr_GetDisplayEnumerationIndex2, -- (ndr_print_function_t) ndr_print_samr_GetDisplayEnumerationIndex2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13124,7 +13124,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_CreateUser2), - (ndr_push_flags_fn_t) ndr_push_samr_CreateUser2, - (ndr_pull_flags_fn_t) ndr_pull_samr_CreateUser2, -- (ndr_print_function_t) ndr_print_samr_CreateUser2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13133,7 +13133,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_QueryDisplayInfo3), - (ndr_push_flags_fn_t) ndr_push_samr_QueryDisplayInfo3, - (ndr_pull_flags_fn_t) ndr_pull_samr_QueryDisplayInfo3, -- (ndr_print_function_t) ndr_print_samr_QueryDisplayInfo3, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13142,7 +13142,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_AddMultipleMembersToAlias), - (ndr_push_flags_fn_t) ndr_push_samr_AddMultipleMembersToAlias, - (ndr_pull_flags_fn_t) ndr_pull_samr_AddMultipleMembersToAlias, -- (ndr_print_function_t) ndr_print_samr_AddMultipleMembersToAlias, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13151,7 +13151,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_RemoveMultipleMembersFromAlias), - (ndr_push_flags_fn_t) ndr_push_samr_RemoveMultipleMembersFromAlias, - (ndr_pull_flags_fn_t) ndr_pull_samr_RemoveMultipleMembersFromAlias, -- (ndr_print_function_t) ndr_print_samr_RemoveMultipleMembersFromAlias, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13160,7 +13160,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_OemChangePasswordUser2), - (ndr_push_flags_fn_t) ndr_push_samr_OemChangePasswordUser2, - (ndr_pull_flags_fn_t) ndr_pull_samr_OemChangePasswordUser2, -- (ndr_print_function_t) ndr_print_samr_OemChangePasswordUser2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13169,7 +13169,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_ChangePasswordUser2), - (ndr_push_flags_fn_t) ndr_push_samr_ChangePasswordUser2, - (ndr_pull_flags_fn_t) ndr_pull_samr_ChangePasswordUser2, -- (ndr_print_function_t) ndr_print_samr_ChangePasswordUser2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13178,7 +13178,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_GetDomPwInfo), - (ndr_push_flags_fn_t) ndr_push_samr_GetDomPwInfo, - (ndr_pull_flags_fn_t) ndr_pull_samr_GetDomPwInfo, -- (ndr_print_function_t) ndr_print_samr_GetDomPwInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13187,7 +13187,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_Connect2), - (ndr_push_flags_fn_t) ndr_push_samr_Connect2, - (ndr_pull_flags_fn_t) ndr_pull_samr_Connect2, -- (ndr_print_function_t) ndr_print_samr_Connect2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13196,7 +13196,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetUserInfo2), - (ndr_push_flags_fn_t) ndr_push_samr_SetUserInfo2, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetUserInfo2, -- (ndr_print_function_t) ndr_print_samr_SetUserInfo2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13205,7 +13205,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetBootKeyInformation), - (ndr_push_flags_fn_t) ndr_push_samr_SetBootKeyInformation, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetBootKeyInformation, -- (ndr_print_function_t) ndr_print_samr_SetBootKeyInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13214,7 +13214,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_GetBootKeyInformation), - (ndr_push_flags_fn_t) ndr_push_samr_GetBootKeyInformation, - (ndr_pull_flags_fn_t) ndr_pull_samr_GetBootKeyInformation, -- (ndr_print_function_t) ndr_print_samr_GetBootKeyInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13223,7 +13223,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_Connect3), - (ndr_push_flags_fn_t) ndr_push_samr_Connect3, - (ndr_pull_flags_fn_t) ndr_pull_samr_Connect3, -- (ndr_print_function_t) ndr_print_samr_Connect3, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13232,7 +13232,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_Connect4), - (ndr_push_flags_fn_t) ndr_push_samr_Connect4, - (ndr_pull_flags_fn_t) ndr_pull_samr_Connect4, -- (ndr_print_function_t) ndr_print_samr_Connect4, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13241,7 +13241,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_ChangePasswordUser3), - (ndr_push_flags_fn_t) ndr_push_samr_ChangePasswordUser3, - (ndr_pull_flags_fn_t) ndr_pull_samr_ChangePasswordUser3, -- (ndr_print_function_t) ndr_print_samr_ChangePasswordUser3, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13250,7 +13250,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_Connect5), - (ndr_push_flags_fn_t) ndr_push_samr_Connect5, - (ndr_pull_flags_fn_t) ndr_pull_samr_Connect5, -- (ndr_print_function_t) ndr_print_samr_Connect5, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13259,7 +13259,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_RidToSid), - (ndr_push_flags_fn_t) ndr_push_samr_RidToSid, - (ndr_pull_flags_fn_t) ndr_pull_samr_RidToSid, -- (ndr_print_function_t) ndr_print_samr_RidToSid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13268,7 +13268,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_SetDsrmPassword), - (ndr_push_flags_fn_t) ndr_push_samr_SetDsrmPassword, - (ndr_pull_flags_fn_t) ndr_pull_samr_SetDsrmPassword, -- (ndr_print_function_t) ndr_print_samr_SetDsrmPassword, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -13277,7 +13277,7 @@ static const struct ndr_interface_call s - sizeof(struct samr_ValidatePassword), - (ndr_push_flags_fn_t) ndr_push_samr_ValidatePassword, - (ndr_pull_flags_fn_t) ndr_pull_samr_ValidatePassword, -- (ndr_print_function_t) ndr_print_samr_ValidatePassword, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_scerpc.c -+++ b/source3/librpc/gen_ndr/ndr_scerpc.c -@@ -51,7 +51,7 @@ static const struct ndr_interface_call s - sizeof(struct scerpc_Unknown0), - (ndr_push_flags_fn_t) ndr_push_scerpc_Unknown0, - (ndr_pull_flags_fn_t) ndr_pull_scerpc_Unknown0, -- (ndr_print_function_t) ndr_print_scerpc_Unknown0, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_spoolss.c -+++ b/source3/librpc/gen_ndr/ndr_spoolss.c -@@ -32661,7 +32661,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPrinters), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPrinters, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPrinters, -- (ndr_print_function_t) ndr_print_spoolss_EnumPrinters, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32670,7 +32670,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_OpenPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_OpenPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_OpenPrinter, -- (ndr_print_function_t) ndr_print_spoolss_OpenPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32679,7 +32679,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_SetJob), - (ndr_push_flags_fn_t) ndr_push_spoolss_SetJob, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_SetJob, -- (ndr_print_function_t) ndr_print_spoolss_SetJob, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32688,7 +32688,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetJob), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetJob, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetJob, -- (ndr_print_function_t) ndr_print_spoolss_GetJob, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32697,7 +32697,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumJobs), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumJobs, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumJobs, -- (ndr_print_function_t) ndr_print_spoolss_EnumJobs, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32706,7 +32706,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPrinter, -- (ndr_print_function_t) ndr_print_spoolss_AddPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32715,7 +32715,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrinter, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32724,7 +32724,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_SetPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_SetPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_SetPrinter, -- (ndr_print_function_t) ndr_print_spoolss_SetPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32733,7 +32733,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetPrinter, -- (ndr_print_function_t) ndr_print_spoolss_GetPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32742,7 +32742,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPrinterDriver), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPrinterDriver, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPrinterDriver, -- (ndr_print_function_t) ndr_print_spoolss_AddPrinterDriver, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32751,7 +32751,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPrinterDrivers), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPrinterDrivers, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPrinterDrivers, -- (ndr_print_function_t) ndr_print_spoolss_EnumPrinterDrivers, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32760,7 +32760,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetPrinterDriver), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetPrinterDriver, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetPrinterDriver, -- (ndr_print_function_t) ndr_print_spoolss_GetPrinterDriver, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32769,7 +32769,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetPrinterDriverDirectory), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetPrinterDriverDirectory, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetPrinterDriverDirectory, -- (ndr_print_function_t) ndr_print_spoolss_GetPrinterDriverDirectory, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32778,7 +32778,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrinterDriver), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrinterDriver, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrinterDriver, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrinterDriver, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32787,7 +32787,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPrintProcessor), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPrintProcessor, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPrintProcessor, -- (ndr_print_function_t) ndr_print_spoolss_AddPrintProcessor, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32796,7 +32796,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPrintProcessors), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPrintProcessors, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPrintProcessors, -- (ndr_print_function_t) ndr_print_spoolss_EnumPrintProcessors, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32805,7 +32805,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetPrintProcessorDirectory), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetPrintProcessorDirectory, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetPrintProcessorDirectory, -- (ndr_print_function_t) ndr_print_spoolss_GetPrintProcessorDirectory, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32814,7 +32814,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_StartDocPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_StartDocPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_StartDocPrinter, -- (ndr_print_function_t) ndr_print_spoolss_StartDocPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32823,7 +32823,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_StartPagePrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_StartPagePrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_StartPagePrinter, -- (ndr_print_function_t) ndr_print_spoolss_StartPagePrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32832,7 +32832,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_WritePrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_WritePrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_WritePrinter, -- (ndr_print_function_t) ndr_print_spoolss_WritePrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32841,7 +32841,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EndPagePrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_EndPagePrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EndPagePrinter, -- (ndr_print_function_t) ndr_print_spoolss_EndPagePrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32850,7 +32850,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AbortPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_AbortPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AbortPrinter, -- (ndr_print_function_t) ndr_print_spoolss_AbortPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32859,7 +32859,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_ReadPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_ReadPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_ReadPrinter, -- (ndr_print_function_t) ndr_print_spoolss_ReadPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32868,7 +32868,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EndDocPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_EndDocPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EndDocPrinter, -- (ndr_print_function_t) ndr_print_spoolss_EndDocPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32877,7 +32877,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddJob), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddJob, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddJob, -- (ndr_print_function_t) ndr_print_spoolss_AddJob, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32886,7 +32886,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_ScheduleJob), - (ndr_push_flags_fn_t) ndr_push_spoolss_ScheduleJob, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_ScheduleJob, -- (ndr_print_function_t) ndr_print_spoolss_ScheduleJob, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32895,7 +32895,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetPrinterData), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetPrinterData, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetPrinterData, -- (ndr_print_function_t) ndr_print_spoolss_GetPrinterData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32904,7 +32904,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_SetPrinterData), - (ndr_push_flags_fn_t) ndr_push_spoolss_SetPrinterData, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_SetPrinterData, -- (ndr_print_function_t) ndr_print_spoolss_SetPrinterData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32913,7 +32913,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_WaitForPrinterChange), - (ndr_push_flags_fn_t) ndr_push_spoolss_WaitForPrinterChange, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_WaitForPrinterChange, -- (ndr_print_function_t) ndr_print_spoolss_WaitForPrinterChange, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32922,7 +32922,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_ClosePrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_ClosePrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_ClosePrinter, -- (ndr_print_function_t) ndr_print_spoolss_ClosePrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32931,7 +32931,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddForm), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddForm, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddForm, -- (ndr_print_function_t) ndr_print_spoolss_AddForm, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32940,7 +32940,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeleteForm), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeleteForm, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeleteForm, -- (ndr_print_function_t) ndr_print_spoolss_DeleteForm, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32949,7 +32949,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetForm), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetForm, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetForm, -- (ndr_print_function_t) ndr_print_spoolss_GetForm, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32958,7 +32958,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_SetForm), - (ndr_push_flags_fn_t) ndr_push_spoolss_SetForm, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_SetForm, -- (ndr_print_function_t) ndr_print_spoolss_SetForm, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32967,7 +32967,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumForms), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumForms, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumForms, -- (ndr_print_function_t) ndr_print_spoolss_EnumForms, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32976,7 +32976,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPorts), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPorts, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPorts, -- (ndr_print_function_t) ndr_print_spoolss_EnumPorts, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32985,7 +32985,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumMonitors), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumMonitors, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumMonitors, -- (ndr_print_function_t) ndr_print_spoolss_EnumMonitors, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -32994,7 +32994,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPort), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPort, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPort, -- (ndr_print_function_t) ndr_print_spoolss_AddPort, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33003,7 +33003,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_ConfigurePort), - (ndr_push_flags_fn_t) ndr_push_spoolss_ConfigurePort, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_ConfigurePort, -- (ndr_print_function_t) ndr_print_spoolss_ConfigurePort, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33012,7 +33012,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePort), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePort, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePort, -- (ndr_print_function_t) ndr_print_spoolss_DeletePort, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33021,7 +33021,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_CreatePrinterIC), - (ndr_push_flags_fn_t) ndr_push_spoolss_CreatePrinterIC, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_CreatePrinterIC, -- (ndr_print_function_t) ndr_print_spoolss_CreatePrinterIC, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33030,7 +33030,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_PlayGDIScriptOnPrinterIC), - (ndr_push_flags_fn_t) ndr_push_spoolss_PlayGDIScriptOnPrinterIC, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_PlayGDIScriptOnPrinterIC, -- (ndr_print_function_t) ndr_print_spoolss_PlayGDIScriptOnPrinterIC, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33039,7 +33039,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrinterIC), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrinterIC, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrinterIC, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrinterIC, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33048,7 +33048,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPrinterConnection), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPrinterConnection, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPrinterConnection, -- (ndr_print_function_t) ndr_print_spoolss_AddPrinterConnection, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33057,7 +33057,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrinterConnection), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrinterConnection, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrinterConnection, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrinterConnection, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33066,7 +33066,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_PrinterMessageBox), - (ndr_push_flags_fn_t) ndr_push_spoolss_PrinterMessageBox, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_PrinterMessageBox, -- (ndr_print_function_t) ndr_print_spoolss_PrinterMessageBox, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33075,7 +33075,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddMonitor), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddMonitor, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddMonitor, -- (ndr_print_function_t) ndr_print_spoolss_AddMonitor, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33084,7 +33084,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeleteMonitor), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeleteMonitor, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeleteMonitor, -- (ndr_print_function_t) ndr_print_spoolss_DeleteMonitor, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33093,7 +33093,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrintProcessor), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrintProcessor, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrintProcessor, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrintProcessor, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33102,7 +33102,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPrintProvidor), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPrintProvidor, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPrintProvidor, -- (ndr_print_function_t) ndr_print_spoolss_AddPrintProvidor, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33111,7 +33111,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrintProvidor), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrintProvidor, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrintProvidor, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrintProvidor, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33120,7 +33120,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPrintProcDataTypes), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPrintProcDataTypes, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPrintProcDataTypes, -- (ndr_print_function_t) ndr_print_spoolss_EnumPrintProcDataTypes, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33129,7 +33129,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_ResetPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_ResetPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_ResetPrinter, -- (ndr_print_function_t) ndr_print_spoolss_ResetPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33138,7 +33138,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetPrinterDriver2), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetPrinterDriver2, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetPrinterDriver2, -- (ndr_print_function_t) ndr_print_spoolss_GetPrinterDriver2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33147,7 +33147,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_FindFirstPrinterChangeNotification), - (ndr_push_flags_fn_t) ndr_push_spoolss_FindFirstPrinterChangeNotification, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_FindFirstPrinterChangeNotification, -- (ndr_print_function_t) ndr_print_spoolss_FindFirstPrinterChangeNotification, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33156,7 +33156,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_FindNextPrinterChangeNotification), - (ndr_push_flags_fn_t) ndr_push_spoolss_FindNextPrinterChangeNotification, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_FindNextPrinterChangeNotification, -- (ndr_print_function_t) ndr_print_spoolss_FindNextPrinterChangeNotification, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33165,7 +33165,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_FindClosePrinterNotify), - (ndr_push_flags_fn_t) ndr_push_spoolss_FindClosePrinterNotify, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_FindClosePrinterNotify, -- (ndr_print_function_t) ndr_print_spoolss_FindClosePrinterNotify, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33174,7 +33174,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_RouterFindFirstPrinterChangeNotificationOld), - (ndr_push_flags_fn_t) ndr_push_spoolss_RouterFindFirstPrinterChangeNotificationOld, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_RouterFindFirstPrinterChangeNotificationOld, -- (ndr_print_function_t) ndr_print_spoolss_RouterFindFirstPrinterChangeNotificationOld, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33183,7 +33183,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_ReplyOpenPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_ReplyOpenPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_ReplyOpenPrinter, -- (ndr_print_function_t) ndr_print_spoolss_ReplyOpenPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33192,7 +33192,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_RouterReplyPrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_RouterReplyPrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_RouterReplyPrinter, -- (ndr_print_function_t) ndr_print_spoolss_RouterReplyPrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33201,7 +33201,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_ReplyClosePrinter), - (ndr_push_flags_fn_t) ndr_push_spoolss_ReplyClosePrinter, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_ReplyClosePrinter, -- (ndr_print_function_t) ndr_print_spoolss_ReplyClosePrinter, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33210,7 +33210,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPortEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPortEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPortEx, -- (ndr_print_function_t) ndr_print_spoolss_AddPortEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33219,7 +33219,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_RouterFindFirstPrinterChangeNotification), - (ndr_push_flags_fn_t) ndr_push_spoolss_RouterFindFirstPrinterChangeNotification, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_RouterFindFirstPrinterChangeNotification, -- (ndr_print_function_t) ndr_print_spoolss_RouterFindFirstPrinterChangeNotification, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33228,7 +33228,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_SpoolerInit), - (ndr_push_flags_fn_t) ndr_push_spoolss_SpoolerInit, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_SpoolerInit, -- (ndr_print_function_t) ndr_print_spoolss_SpoolerInit, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33237,7 +33237,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_ResetPrinterEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_ResetPrinterEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_ResetPrinterEx, -- (ndr_print_function_t) ndr_print_spoolss_ResetPrinterEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33246,7 +33246,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_RemoteFindFirstPrinterChangeNotifyEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_RemoteFindFirstPrinterChangeNotifyEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_RemoteFindFirstPrinterChangeNotifyEx, -- (ndr_print_function_t) ndr_print_spoolss_RemoteFindFirstPrinterChangeNotifyEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33255,7 +33255,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_RouterReplyPrinterEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_RouterReplyPrinterEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_RouterReplyPrinterEx, -- (ndr_print_function_t) ndr_print_spoolss_RouterReplyPrinterEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33264,7 +33264,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_RouterRefreshPrinterChangeNotify), - (ndr_push_flags_fn_t) ndr_push_spoolss_RouterRefreshPrinterChangeNotify, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_RouterRefreshPrinterChangeNotify, -- (ndr_print_function_t) ndr_print_spoolss_RouterRefreshPrinterChangeNotify, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33273,7 +33273,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_44), - (ndr_push_flags_fn_t) ndr_push_spoolss_44, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_44, -- (ndr_print_function_t) ndr_print_spoolss_44, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33282,7 +33282,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_OpenPrinterEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_OpenPrinterEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_OpenPrinterEx, -- (ndr_print_function_t) ndr_print_spoolss_OpenPrinterEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33291,7 +33291,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPrinterEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPrinterEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPrinterEx, -- (ndr_print_function_t) ndr_print_spoolss_AddPrinterEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33300,7 +33300,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_SetPort), - (ndr_push_flags_fn_t) ndr_push_spoolss_SetPort, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_SetPort, -- (ndr_print_function_t) ndr_print_spoolss_SetPort, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33309,7 +33309,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPrinterData), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPrinterData, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPrinterData, -- (ndr_print_function_t) ndr_print_spoolss_EnumPrinterData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33318,7 +33318,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrinterData), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrinterData, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrinterData, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrinterData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33327,7 +33327,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_4a), - (ndr_push_flags_fn_t) ndr_push_spoolss_4a, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_4a, -- (ndr_print_function_t) ndr_print_spoolss_4a, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33336,7 +33336,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_4b), - (ndr_push_flags_fn_t) ndr_push_spoolss_4b, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_4b, -- (ndr_print_function_t) ndr_print_spoolss_4b, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33345,7 +33345,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_4c), - (ndr_push_flags_fn_t) ndr_push_spoolss_4c, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_4c, -- (ndr_print_function_t) ndr_print_spoolss_4c, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33354,7 +33354,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_SetPrinterDataEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_SetPrinterDataEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_SetPrinterDataEx, -- (ndr_print_function_t) ndr_print_spoolss_SetPrinterDataEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33363,7 +33363,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetPrinterDataEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetPrinterDataEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetPrinterDataEx, -- (ndr_print_function_t) ndr_print_spoolss_GetPrinterDataEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33372,7 +33372,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPrinterDataEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPrinterDataEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPrinterDataEx, -- (ndr_print_function_t) ndr_print_spoolss_EnumPrinterDataEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33381,7 +33381,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPrinterKey), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPrinterKey, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPrinterKey, -- (ndr_print_function_t) ndr_print_spoolss_EnumPrinterKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33390,7 +33390,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrinterDataEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrinterDataEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrinterDataEx, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrinterDataEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33399,7 +33399,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrinterKey), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrinterKey, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrinterKey, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrinterKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33408,7 +33408,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_53), - (ndr_push_flags_fn_t) ndr_push_spoolss_53, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_53, -- (ndr_print_function_t) ndr_print_spoolss_53, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33417,7 +33417,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePrinterDriverEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePrinterDriverEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePrinterDriverEx, -- (ndr_print_function_t) ndr_print_spoolss_DeletePrinterDriverEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33426,7 +33426,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPerMachineConnection), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPerMachineConnection, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPerMachineConnection, -- (ndr_print_function_t) ndr_print_spoolss_AddPerMachineConnection, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33435,7 +33435,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_DeletePerMachineConnection), - (ndr_push_flags_fn_t) ndr_push_spoolss_DeletePerMachineConnection, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_DeletePerMachineConnection, -- (ndr_print_function_t) ndr_print_spoolss_DeletePerMachineConnection, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33444,7 +33444,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_EnumPerMachineConnections), - (ndr_push_flags_fn_t) ndr_push_spoolss_EnumPerMachineConnections, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_EnumPerMachineConnections, -- (ndr_print_function_t) ndr_print_spoolss_EnumPerMachineConnections, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33453,7 +33453,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_XcvData), - (ndr_push_flags_fn_t) ndr_push_spoolss_XcvData, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_XcvData, -- (ndr_print_function_t) ndr_print_spoolss_XcvData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33462,7 +33462,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_AddPrinterDriverEx), - (ndr_push_flags_fn_t) ndr_push_spoolss_AddPrinterDriverEx, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_AddPrinterDriverEx, -- (ndr_print_function_t) ndr_print_spoolss_AddPrinterDriverEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33471,7 +33471,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_5a), - (ndr_push_flags_fn_t) ndr_push_spoolss_5a, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_5a, -- (ndr_print_function_t) ndr_print_spoolss_5a, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33480,7 +33480,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_5b), - (ndr_push_flags_fn_t) ndr_push_spoolss_5b, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_5b, -- (ndr_print_function_t) ndr_print_spoolss_5b, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33489,7 +33489,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_5c), - (ndr_push_flags_fn_t) ndr_push_spoolss_5c, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_5c, -- (ndr_print_function_t) ndr_print_spoolss_5c, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33498,7 +33498,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_5d), - (ndr_push_flags_fn_t) ndr_push_spoolss_5d, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_5d, -- (ndr_print_function_t) ndr_print_spoolss_5d, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33507,7 +33507,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_5e), - (ndr_push_flags_fn_t) ndr_push_spoolss_5e, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_5e, -- (ndr_print_function_t) ndr_print_spoolss_5e, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33516,7 +33516,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_5f), - (ndr_push_flags_fn_t) ndr_push_spoolss_5f, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_5f, -- (ndr_print_function_t) ndr_print_spoolss_5f, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33525,7 +33525,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_60), - (ndr_push_flags_fn_t) ndr_push_spoolss_60, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_60, -- (ndr_print_function_t) ndr_print_spoolss_60, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33534,7 +33534,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_61), - (ndr_push_flags_fn_t) ndr_push_spoolss_61, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_61, -- (ndr_print_function_t) ndr_print_spoolss_61, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33543,7 +33543,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_62), - (ndr_push_flags_fn_t) ndr_push_spoolss_62, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_62, -- (ndr_print_function_t) ndr_print_spoolss_62, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33552,7 +33552,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_63), - (ndr_push_flags_fn_t) ndr_push_spoolss_63, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_63, -- (ndr_print_function_t) ndr_print_spoolss_63, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33561,7 +33561,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_64), - (ndr_push_flags_fn_t) ndr_push_spoolss_64, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_64, -- (ndr_print_function_t) ndr_print_spoolss_64, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33570,7 +33570,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_65), - (ndr_push_flags_fn_t) ndr_push_spoolss_65, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_65, -- (ndr_print_function_t) ndr_print_spoolss_65, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33579,7 +33579,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetCorePrinterDrivers), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetCorePrinterDrivers, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetCorePrinterDrivers, -- (ndr_print_function_t) ndr_print_spoolss_GetCorePrinterDrivers, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33588,7 +33588,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_67), - (ndr_push_flags_fn_t) ndr_push_spoolss_67, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_67, -- (ndr_print_function_t) ndr_print_spoolss_67, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33597,7 +33597,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_GetPrinterDriverPackagePath), - (ndr_push_flags_fn_t) ndr_push_spoolss_GetPrinterDriverPackagePath, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_GetPrinterDriverPackagePath, -- (ndr_print_function_t) ndr_print_spoolss_GetPrinterDriverPackagePath, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33606,7 +33606,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_69), - (ndr_push_flags_fn_t) ndr_push_spoolss_69, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_69, -- (ndr_print_function_t) ndr_print_spoolss_69, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33615,7 +33615,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_6a), - (ndr_push_flags_fn_t) ndr_push_spoolss_6a, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_6a, -- (ndr_print_function_t) ndr_print_spoolss_6a, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33624,7 +33624,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_6b), - (ndr_push_flags_fn_t) ndr_push_spoolss_6b, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_6b, -- (ndr_print_function_t) ndr_print_spoolss_6b, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33633,7 +33633,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_6c), - (ndr_push_flags_fn_t) ndr_push_spoolss_6c, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_6c, -- (ndr_print_function_t) ndr_print_spoolss_6c, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -33642,7 +33642,7 @@ static const struct ndr_interface_call s - sizeof(struct spoolss_6d), - (ndr_push_flags_fn_t) ndr_push_spoolss_6d, - (ndr_pull_flags_fn_t) ndr_pull_spoolss_6d, -- (ndr_print_function_t) ndr_print_spoolss_6d, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_srvsvc.c -+++ b/source3/librpc/gen_ndr/ndr_srvsvc.c -@@ -20229,7 +20229,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetCharDevEnum), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetCharDevEnum, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetCharDevEnum, -- (ndr_print_function_t) ndr_print_srvsvc_NetCharDevEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20238,7 +20238,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetCharDevGetInfo), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetCharDevGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetCharDevGetInfo, -- (ndr_print_function_t) ndr_print_srvsvc_NetCharDevGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20247,7 +20247,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetCharDevControl), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetCharDevControl, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetCharDevControl, -- (ndr_print_function_t) ndr_print_srvsvc_NetCharDevControl, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20256,7 +20256,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetCharDevQEnum), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetCharDevQEnum, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetCharDevQEnum, -- (ndr_print_function_t) ndr_print_srvsvc_NetCharDevQEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20265,7 +20265,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetCharDevQGetInfo), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetCharDevQGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetCharDevQGetInfo, -- (ndr_print_function_t) ndr_print_srvsvc_NetCharDevQGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20274,7 +20274,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetCharDevQSetInfo), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetCharDevQSetInfo, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetCharDevQSetInfo, -- (ndr_print_function_t) ndr_print_srvsvc_NetCharDevQSetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20283,7 +20283,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetCharDevQPurge), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetCharDevQPurge, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetCharDevQPurge, -- (ndr_print_function_t) ndr_print_srvsvc_NetCharDevQPurge, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20292,7 +20292,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetCharDevQPurgeSelf), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetCharDevQPurgeSelf, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetCharDevQPurgeSelf, -- (ndr_print_function_t) ndr_print_srvsvc_NetCharDevQPurgeSelf, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20301,7 +20301,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetConnEnum), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetConnEnum, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetConnEnum, -- (ndr_print_function_t) ndr_print_srvsvc_NetConnEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20310,7 +20310,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetFileEnum), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetFileEnum, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetFileEnum, -- (ndr_print_function_t) ndr_print_srvsvc_NetFileEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20319,7 +20319,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetFileGetInfo), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetFileGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetFileGetInfo, -- (ndr_print_function_t) ndr_print_srvsvc_NetFileGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20328,7 +20328,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetFileClose), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetFileClose, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetFileClose, -- (ndr_print_function_t) ndr_print_srvsvc_NetFileClose, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20337,7 +20337,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetSessEnum), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetSessEnum, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetSessEnum, -- (ndr_print_function_t) ndr_print_srvsvc_NetSessEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20346,7 +20346,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetSessDel), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetSessDel, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetSessDel, -- (ndr_print_function_t) ndr_print_srvsvc_NetSessDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20355,7 +20355,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareAdd), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareAdd, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareAdd, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareAdd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20364,7 +20364,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareEnumAll), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareEnumAll, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareEnumAll, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareEnumAll, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20373,7 +20373,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareGetInfo), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareGetInfo, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20382,7 +20382,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareSetInfo), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareSetInfo, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareSetInfo, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareSetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20391,7 +20391,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareDel), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareDel, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareDel, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20400,7 +20400,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareDelSticky), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareDelSticky, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareDelSticky, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareDelSticky, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20409,7 +20409,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareCheck), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareCheck, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareCheck, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareCheck, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20418,7 +20418,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetSrvGetInfo), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetSrvGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetSrvGetInfo, -- (ndr_print_function_t) ndr_print_srvsvc_NetSrvGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20427,7 +20427,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetSrvSetInfo), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetSrvSetInfo, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetSrvSetInfo, -- (ndr_print_function_t) ndr_print_srvsvc_NetSrvSetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20436,7 +20436,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetDiskEnum), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetDiskEnum, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetDiskEnum, -- (ndr_print_function_t) ndr_print_srvsvc_NetDiskEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20445,7 +20445,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetServerStatisticsGet), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetServerStatisticsGet, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetServerStatisticsGet, -- (ndr_print_function_t) ndr_print_srvsvc_NetServerStatisticsGet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20454,7 +20454,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetTransportAdd), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetTransportAdd, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetTransportAdd, -- (ndr_print_function_t) ndr_print_srvsvc_NetTransportAdd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20463,7 +20463,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetTransportEnum), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetTransportEnum, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetTransportEnum, -- (ndr_print_function_t) ndr_print_srvsvc_NetTransportEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20472,7 +20472,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetTransportDel), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetTransportDel, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetTransportDel, -- (ndr_print_function_t) ndr_print_srvsvc_NetTransportDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20481,7 +20481,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetRemoteTOD), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetRemoteTOD, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetRemoteTOD, -- (ndr_print_function_t) ndr_print_srvsvc_NetRemoteTOD, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20490,7 +20490,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetSetServiceBits), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetSetServiceBits, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetSetServiceBits, -- (ndr_print_function_t) ndr_print_srvsvc_NetSetServiceBits, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20499,7 +20499,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetPathType), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetPathType, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetPathType, -- (ndr_print_function_t) ndr_print_srvsvc_NetPathType, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20508,7 +20508,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetPathCanonicalize), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetPathCanonicalize, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetPathCanonicalize, -- (ndr_print_function_t) ndr_print_srvsvc_NetPathCanonicalize, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20517,7 +20517,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetPathCompare), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetPathCompare, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetPathCompare, -- (ndr_print_function_t) ndr_print_srvsvc_NetPathCompare, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20526,7 +20526,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetNameValidate), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetNameValidate, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetNameValidate, -- (ndr_print_function_t) ndr_print_srvsvc_NetNameValidate, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20535,7 +20535,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRPRNAMECANONICALIZE), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRPRNAMECANONICALIZE, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRPRNAMECANONICALIZE, -- (ndr_print_function_t) ndr_print_srvsvc_NETRPRNAMECANONICALIZE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20544,7 +20544,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetPRNameCompare), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetPRNameCompare, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetPRNameCompare, -- (ndr_print_function_t) ndr_print_srvsvc_NetPRNameCompare, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20553,7 +20553,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareEnum), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareEnum, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareEnum, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20562,7 +20562,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareDelStart), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareDelStart, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareDelStart, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareDelStart, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20571,7 +20571,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetShareDelCommit), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetShareDelCommit, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetShareDelCommit, -- (ndr_print_function_t) ndr_print_srvsvc_NetShareDelCommit, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20580,7 +20580,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetGetFileSecurity), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetGetFileSecurity, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetGetFileSecurity, -- (ndr_print_function_t) ndr_print_srvsvc_NetGetFileSecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20589,7 +20589,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetSetFileSecurity), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetSetFileSecurity, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetSetFileSecurity, -- (ndr_print_function_t) ndr_print_srvsvc_NetSetFileSecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20598,7 +20598,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetServerTransportAddEx), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetServerTransportAddEx, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetServerTransportAddEx, -- (ndr_print_function_t) ndr_print_srvsvc_NetServerTransportAddEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20607,7 +20607,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NetServerSetServiceBitsEx), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NetServerSetServiceBitsEx, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NetServerSetServiceBitsEx, -- (ndr_print_function_t) ndr_print_srvsvc_NetServerSetServiceBitsEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20616,7 +20616,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSGETVERSION), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSGETVERSION, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSGETVERSION, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSGETVERSION, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20625,7 +20625,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSCREATELOCALPARTITION), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSCREATELOCALPARTITION, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSCREATELOCALPARTITION, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSCREATELOCALPARTITION, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20634,7 +20634,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSDELETELOCALPARTITION), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSDELETELOCALPARTITION, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSDELETELOCALPARTITION, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSDELETELOCALPARTITION, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20643,7 +20643,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSSETLOCALVOLUMESTATE), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSSETLOCALVOLUMESTATE, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSSETLOCALVOLUMESTATE, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSSETLOCALVOLUMESTATE, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20652,7 +20652,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSSETSERVERINFO), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSSETSERVERINFO, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSSETSERVERINFO, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSSETSERVERINFO, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20661,7 +20661,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSCREATEEXITPOINT), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSCREATEEXITPOINT, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSCREATEEXITPOINT, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSCREATEEXITPOINT, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20670,7 +20670,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSDELETEEXITPOINT), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSDELETEEXITPOINT, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSDELETEEXITPOINT, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSDELETEEXITPOINT, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20679,7 +20679,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSMODIFYPREFIX), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSMODIFYPREFIX, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSMODIFYPREFIX, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSMODIFYPREFIX, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20688,7 +20688,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSFIXLOCALVOLUME), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSFIXLOCALVOLUME, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSFIXLOCALVOLUME, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSFIXLOCALVOLUME, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20697,7 +20697,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRDFSMANAGERREPORTSITEINFO), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRDFSMANAGERREPORTSITEINFO, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRDFSMANAGERREPORTSITEINFO, -- (ndr_print_function_t) ndr_print_srvsvc_NETRDFSMANAGERREPORTSITEINFO, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -20706,7 +20706,7 @@ static const struct ndr_interface_call s - sizeof(struct srvsvc_NETRSERVERTRANSPORTDELEX), - (ndr_push_flags_fn_t) ndr_push_srvsvc_NETRSERVERTRANSPORTDELEX, - (ndr_pull_flags_fn_t) ndr_pull_srvsvc_NETRSERVERTRANSPORTDELEX, -- (ndr_print_function_t) ndr_print_srvsvc_NETRSERVERTRANSPORTDELEX, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_svcctl.c -+++ b/source3/librpc/gen_ndr/ndr_svcctl.c -@@ -7175,7 +7175,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_CloseServiceHandle), - (ndr_push_flags_fn_t) ndr_push_svcctl_CloseServiceHandle, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_CloseServiceHandle, -- (ndr_print_function_t) ndr_print_svcctl_CloseServiceHandle, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7184,7 +7184,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_ControlService), - (ndr_push_flags_fn_t) ndr_push_svcctl_ControlService, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_ControlService, -- (ndr_print_function_t) ndr_print_svcctl_ControlService, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7193,7 +7193,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_DeleteService), - (ndr_push_flags_fn_t) ndr_push_svcctl_DeleteService, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_DeleteService, -- (ndr_print_function_t) ndr_print_svcctl_DeleteService, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7202,7 +7202,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_LockServiceDatabase), - (ndr_push_flags_fn_t) ndr_push_svcctl_LockServiceDatabase, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_LockServiceDatabase, -- (ndr_print_function_t) ndr_print_svcctl_LockServiceDatabase, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7211,7 +7211,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceObjectSecurity), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceObjectSecurity, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceObjectSecurity, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceObjectSecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7220,7 +7220,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_SetServiceObjectSecurity), - (ndr_push_flags_fn_t) ndr_push_svcctl_SetServiceObjectSecurity, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_SetServiceObjectSecurity, -- (ndr_print_function_t) ndr_print_svcctl_SetServiceObjectSecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7229,7 +7229,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceStatus), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceStatus, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceStatus, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceStatus, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7238,7 +7238,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_SetServiceStatus), - (ndr_push_flags_fn_t) ndr_push_svcctl_SetServiceStatus, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_SetServiceStatus, -- (ndr_print_function_t) ndr_print_svcctl_SetServiceStatus, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7247,7 +7247,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_UnlockServiceDatabase), - (ndr_push_flags_fn_t) ndr_push_svcctl_UnlockServiceDatabase, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_UnlockServiceDatabase, -- (ndr_print_function_t) ndr_print_svcctl_UnlockServiceDatabase, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7256,7 +7256,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_NotifyBootConfigStatus), - (ndr_push_flags_fn_t) ndr_push_svcctl_NotifyBootConfigStatus, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_NotifyBootConfigStatus, -- (ndr_print_function_t) ndr_print_svcctl_NotifyBootConfigStatus, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7265,7 +7265,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_SCSetServiceBitsW), - (ndr_push_flags_fn_t) ndr_push_svcctl_SCSetServiceBitsW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_SCSetServiceBitsW, -- (ndr_print_function_t) ndr_print_svcctl_SCSetServiceBitsW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7274,7 +7274,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_ChangeServiceConfigW), - (ndr_push_flags_fn_t) ndr_push_svcctl_ChangeServiceConfigW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_ChangeServiceConfigW, -- (ndr_print_function_t) ndr_print_svcctl_ChangeServiceConfigW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7283,7 +7283,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_CreateServiceW), - (ndr_push_flags_fn_t) ndr_push_svcctl_CreateServiceW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_CreateServiceW, -- (ndr_print_function_t) ndr_print_svcctl_CreateServiceW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7292,7 +7292,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_EnumDependentServicesW), - (ndr_push_flags_fn_t) ndr_push_svcctl_EnumDependentServicesW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_EnumDependentServicesW, -- (ndr_print_function_t) ndr_print_svcctl_EnumDependentServicesW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7301,7 +7301,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_EnumServicesStatusW), - (ndr_push_flags_fn_t) ndr_push_svcctl_EnumServicesStatusW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_EnumServicesStatusW, -- (ndr_print_function_t) ndr_print_svcctl_EnumServicesStatusW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7310,7 +7310,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_OpenSCManagerW), - (ndr_push_flags_fn_t) ndr_push_svcctl_OpenSCManagerW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_OpenSCManagerW, -- (ndr_print_function_t) ndr_print_svcctl_OpenSCManagerW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7319,7 +7319,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_OpenServiceW), - (ndr_push_flags_fn_t) ndr_push_svcctl_OpenServiceW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_OpenServiceW, -- (ndr_print_function_t) ndr_print_svcctl_OpenServiceW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7328,7 +7328,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceConfigW), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceConfigW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceConfigW, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceConfigW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7337,7 +7337,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceLockStatusW), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceLockStatusW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceLockStatusW, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceLockStatusW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7346,7 +7346,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_StartServiceW), - (ndr_push_flags_fn_t) ndr_push_svcctl_StartServiceW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_StartServiceW, -- (ndr_print_function_t) ndr_print_svcctl_StartServiceW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7355,7 +7355,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_GetServiceDisplayNameW), - (ndr_push_flags_fn_t) ndr_push_svcctl_GetServiceDisplayNameW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_GetServiceDisplayNameW, -- (ndr_print_function_t) ndr_print_svcctl_GetServiceDisplayNameW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7364,7 +7364,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_GetServiceKeyNameW), - (ndr_push_flags_fn_t) ndr_push_svcctl_GetServiceKeyNameW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_GetServiceKeyNameW, -- (ndr_print_function_t) ndr_print_svcctl_GetServiceKeyNameW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7373,7 +7373,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_SCSetServiceBitsA), - (ndr_push_flags_fn_t) ndr_push_svcctl_SCSetServiceBitsA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_SCSetServiceBitsA, -- (ndr_print_function_t) ndr_print_svcctl_SCSetServiceBitsA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7382,7 +7382,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_ChangeServiceConfigA), - (ndr_push_flags_fn_t) ndr_push_svcctl_ChangeServiceConfigA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_ChangeServiceConfigA, -- (ndr_print_function_t) ndr_print_svcctl_ChangeServiceConfigA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7391,7 +7391,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_CreateServiceA), - (ndr_push_flags_fn_t) ndr_push_svcctl_CreateServiceA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_CreateServiceA, -- (ndr_print_function_t) ndr_print_svcctl_CreateServiceA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7400,7 +7400,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_EnumDependentServicesA), - (ndr_push_flags_fn_t) ndr_push_svcctl_EnumDependentServicesA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_EnumDependentServicesA, -- (ndr_print_function_t) ndr_print_svcctl_EnumDependentServicesA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7409,7 +7409,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_EnumServicesStatusA), - (ndr_push_flags_fn_t) ndr_push_svcctl_EnumServicesStatusA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_EnumServicesStatusA, -- (ndr_print_function_t) ndr_print_svcctl_EnumServicesStatusA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7418,7 +7418,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_OpenSCManagerA), - (ndr_push_flags_fn_t) ndr_push_svcctl_OpenSCManagerA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_OpenSCManagerA, -- (ndr_print_function_t) ndr_print_svcctl_OpenSCManagerA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7427,7 +7427,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_OpenServiceA), - (ndr_push_flags_fn_t) ndr_push_svcctl_OpenServiceA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_OpenServiceA, -- (ndr_print_function_t) ndr_print_svcctl_OpenServiceA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7436,7 +7436,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceConfigA), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceConfigA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceConfigA, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceConfigA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7445,7 +7445,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceLockStatusA), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceLockStatusA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceLockStatusA, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceLockStatusA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7454,7 +7454,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_StartServiceA), - (ndr_push_flags_fn_t) ndr_push_svcctl_StartServiceA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_StartServiceA, -- (ndr_print_function_t) ndr_print_svcctl_StartServiceA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7463,7 +7463,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_GetServiceDisplayNameA), - (ndr_push_flags_fn_t) ndr_push_svcctl_GetServiceDisplayNameA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_GetServiceDisplayNameA, -- (ndr_print_function_t) ndr_print_svcctl_GetServiceDisplayNameA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7472,7 +7472,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_GetServiceKeyNameA), - (ndr_push_flags_fn_t) ndr_push_svcctl_GetServiceKeyNameA, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_GetServiceKeyNameA, -- (ndr_print_function_t) ndr_print_svcctl_GetServiceKeyNameA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7481,7 +7481,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_GetCurrentGroupeStateW), - (ndr_push_flags_fn_t) ndr_push_svcctl_GetCurrentGroupeStateW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_GetCurrentGroupeStateW, -- (ndr_print_function_t) ndr_print_svcctl_GetCurrentGroupeStateW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7490,7 +7490,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_EnumServiceGroupW), - (ndr_push_flags_fn_t) ndr_push_svcctl_EnumServiceGroupW, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_EnumServiceGroupW, -- (ndr_print_function_t) ndr_print_svcctl_EnumServiceGroupW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7499,7 +7499,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_ChangeServiceConfig2A), - (ndr_push_flags_fn_t) ndr_push_svcctl_ChangeServiceConfig2A, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_ChangeServiceConfig2A, -- (ndr_print_function_t) ndr_print_svcctl_ChangeServiceConfig2A, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7508,7 +7508,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_ChangeServiceConfig2W), - (ndr_push_flags_fn_t) ndr_push_svcctl_ChangeServiceConfig2W, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_ChangeServiceConfig2W, -- (ndr_print_function_t) ndr_print_svcctl_ChangeServiceConfig2W, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7517,7 +7517,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceConfig2A), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceConfig2A, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceConfig2A, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceConfig2A, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7526,7 +7526,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceConfig2W), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceConfig2W, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceConfig2W, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceConfig2W, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7535,7 +7535,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_QueryServiceStatusEx), - (ndr_push_flags_fn_t) ndr_push_svcctl_QueryServiceStatusEx, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_QueryServiceStatusEx, -- (ndr_print_function_t) ndr_print_svcctl_QueryServiceStatusEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7544,7 +7544,7 @@ static const struct ndr_interface_call s - sizeof(struct EnumServicesStatusExA), - (ndr_push_flags_fn_t) ndr_push_EnumServicesStatusExA, - (ndr_pull_flags_fn_t) ndr_pull_EnumServicesStatusExA, -- (ndr_print_function_t) ndr_print_EnumServicesStatusExA, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7553,7 +7553,7 @@ static const struct ndr_interface_call s - sizeof(struct EnumServicesStatusExW), - (ndr_push_flags_fn_t) ndr_push_EnumServicesStatusExW, - (ndr_pull_flags_fn_t) ndr_pull_EnumServicesStatusExW, -- (ndr_print_function_t) ndr_print_EnumServicesStatusExW, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7562,7 +7562,7 @@ static const struct ndr_interface_call s - sizeof(struct svcctl_SCSendTSMessage), - (ndr_push_flags_fn_t) ndr_push_svcctl_SCSendTSMessage, - (ndr_pull_flags_fn_t) ndr_pull_svcctl_SCSendTSMessage, -- (ndr_print_function_t) ndr_print_svcctl_SCSendTSMessage, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_trkwks.c -+++ b/source3/librpc/gen_ndr/ndr_trkwks.c -@@ -51,7 +51,7 @@ static const struct ndr_interface_call t - sizeof(struct trkwks_Unknown0), - (ndr_push_flags_fn_t) ndr_push_trkwks_Unknown0, - (ndr_pull_flags_fn_t) ndr_pull_trkwks_Unknown0, -- (ndr_print_function_t) ndr_print_trkwks_Unknown0, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_unixinfo.c -+++ b/source3/librpc/gen_ndr/ndr_unixinfo.c -@@ -472,7 +472,7 @@ static const struct ndr_interface_call u - sizeof(struct unixinfo_SidToUid), - (ndr_push_flags_fn_t) ndr_push_unixinfo_SidToUid, - (ndr_pull_flags_fn_t) ndr_pull_unixinfo_SidToUid, -- (ndr_print_function_t) ndr_print_unixinfo_SidToUid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -481,7 +481,7 @@ static const struct ndr_interface_call u - sizeof(struct unixinfo_UidToSid), - (ndr_push_flags_fn_t) ndr_push_unixinfo_UidToSid, - (ndr_pull_flags_fn_t) ndr_pull_unixinfo_UidToSid, -- (ndr_print_function_t) ndr_print_unixinfo_UidToSid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -490,7 +490,7 @@ static const struct ndr_interface_call u - sizeof(struct unixinfo_SidToGid), - (ndr_push_flags_fn_t) ndr_push_unixinfo_SidToGid, - (ndr_pull_flags_fn_t) ndr_pull_unixinfo_SidToGid, -- (ndr_print_function_t) ndr_print_unixinfo_SidToGid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -499,7 +499,7 @@ static const struct ndr_interface_call u - sizeof(struct unixinfo_GidToSid), - (ndr_push_flags_fn_t) ndr_push_unixinfo_GidToSid, - (ndr_pull_flags_fn_t) ndr_pull_unixinfo_GidToSid, -- (ndr_print_function_t) ndr_print_unixinfo_GidToSid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -508,7 +508,7 @@ static const struct ndr_interface_call u - sizeof(struct unixinfo_GetPWUid), - (ndr_push_flags_fn_t) ndr_push_unixinfo_GetPWUid, - (ndr_pull_flags_fn_t) ndr_pull_unixinfo_GetPWUid, -- (ndr_print_function_t) ndr_print_unixinfo_GetPWUid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_w32time.c -+++ b/source3/librpc/gen_ndr/ndr_w32time.c -@@ -135,7 +135,7 @@ static const struct ndr_interface_call w - sizeof(struct w32time_SyncTime), - (ndr_push_flags_fn_t) ndr_push_w32time_SyncTime, - (ndr_pull_flags_fn_t) ndr_pull_w32time_SyncTime, -- (ndr_print_function_t) ndr_print_w32time_SyncTime, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -144,7 +144,7 @@ static const struct ndr_interface_call w - sizeof(struct w32time_GetNetLogonServiceBits), - (ndr_push_flags_fn_t) ndr_push_w32time_GetNetLogonServiceBits, - (ndr_pull_flags_fn_t) ndr_pull_w32time_GetNetLogonServiceBits, -- (ndr_print_function_t) ndr_print_w32time_GetNetLogonServiceBits, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -153,7 +153,7 @@ static const struct ndr_interface_call w - sizeof(struct w32time_QueryProviderStatus), - (ndr_push_flags_fn_t) ndr_push_w32time_QueryProviderStatus, - (ndr_pull_flags_fn_t) ndr_pull_w32time_QueryProviderStatus, -- (ndr_print_function_t) ndr_print_w32time_QueryProviderStatus, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_wbint.c -+++ b/source3/librpc/gen_ndr/ndr_wbint.c -@@ -2696,7 +2696,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_Ping), - (ndr_push_flags_fn_t) ndr_push_wbint_Ping, - (ndr_pull_flags_fn_t) ndr_pull_wbint_Ping, -- (ndr_print_function_t) ndr_print_wbint_Ping, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2705,7 +2705,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_LookupSid), - (ndr_push_flags_fn_t) ndr_push_wbint_LookupSid, - (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupSid, -- (ndr_print_function_t) ndr_print_wbint_LookupSid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2714,7 +2714,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_LookupSids), - (ndr_push_flags_fn_t) ndr_push_wbint_LookupSids, - (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupSids, -- (ndr_print_function_t) ndr_print_wbint_LookupSids, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2723,7 +2723,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_LookupName), - (ndr_push_flags_fn_t) ndr_push_wbint_LookupName, - (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupName, -- (ndr_print_function_t) ndr_print_wbint_LookupName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2732,7 +2732,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_Sid2Uid), - (ndr_push_flags_fn_t) ndr_push_wbint_Sid2Uid, - (ndr_pull_flags_fn_t) ndr_pull_wbint_Sid2Uid, -- (ndr_print_function_t) ndr_print_wbint_Sid2Uid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2741,7 +2741,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_Sid2Gid), - (ndr_push_flags_fn_t) ndr_push_wbint_Sid2Gid, - (ndr_pull_flags_fn_t) ndr_pull_wbint_Sid2Gid, -- (ndr_print_function_t) ndr_print_wbint_Sid2Gid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2750,7 +2750,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_Sids2UnixIDs), - (ndr_push_flags_fn_t) ndr_push_wbint_Sids2UnixIDs, - (ndr_pull_flags_fn_t) ndr_pull_wbint_Sids2UnixIDs, -- (ndr_print_function_t) ndr_print_wbint_Sids2UnixIDs, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2759,7 +2759,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_Uid2Sid), - (ndr_push_flags_fn_t) ndr_push_wbint_Uid2Sid, - (ndr_pull_flags_fn_t) ndr_pull_wbint_Uid2Sid, -- (ndr_print_function_t) ndr_print_wbint_Uid2Sid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2768,7 +2768,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_Gid2Sid), - (ndr_push_flags_fn_t) ndr_push_wbint_Gid2Sid, - (ndr_pull_flags_fn_t) ndr_pull_wbint_Gid2Sid, -- (ndr_print_function_t) ndr_print_wbint_Gid2Sid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2777,7 +2777,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_AllocateUid), - (ndr_push_flags_fn_t) ndr_push_wbint_AllocateUid, - (ndr_pull_flags_fn_t) ndr_pull_wbint_AllocateUid, -- (ndr_print_function_t) ndr_print_wbint_AllocateUid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2786,7 +2786,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_AllocateGid), - (ndr_push_flags_fn_t) ndr_push_wbint_AllocateGid, - (ndr_pull_flags_fn_t) ndr_pull_wbint_AllocateGid, -- (ndr_print_function_t) ndr_print_wbint_AllocateGid, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2795,7 +2795,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_QueryUser), - (ndr_push_flags_fn_t) ndr_push_wbint_QueryUser, - (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryUser, -- (ndr_print_function_t) ndr_print_wbint_QueryUser, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2804,7 +2804,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_LookupUserAliases), - (ndr_push_flags_fn_t) ndr_push_wbint_LookupUserAliases, - (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupUserAliases, -- (ndr_print_function_t) ndr_print_wbint_LookupUserAliases, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2813,7 +2813,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_LookupUserGroups), - (ndr_push_flags_fn_t) ndr_push_wbint_LookupUserGroups, - (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupUserGroups, -- (ndr_print_function_t) ndr_print_wbint_LookupUserGroups, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2822,7 +2822,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_QuerySequenceNumber), - (ndr_push_flags_fn_t) ndr_push_wbint_QuerySequenceNumber, - (ndr_pull_flags_fn_t) ndr_pull_wbint_QuerySequenceNumber, -- (ndr_print_function_t) ndr_print_wbint_QuerySequenceNumber, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2831,7 +2831,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_LookupGroupMembers), - (ndr_push_flags_fn_t) ndr_push_wbint_LookupGroupMembers, - (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupGroupMembers, -- (ndr_print_function_t) ndr_print_wbint_LookupGroupMembers, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2840,7 +2840,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_QueryUserList), - (ndr_push_flags_fn_t) ndr_push_wbint_QueryUserList, - (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryUserList, -- (ndr_print_function_t) ndr_print_wbint_QueryUserList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2849,7 +2849,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_QueryGroupList), - (ndr_push_flags_fn_t) ndr_push_wbint_QueryGroupList, - (ndr_pull_flags_fn_t) ndr_pull_wbint_QueryGroupList, -- (ndr_print_function_t) ndr_print_wbint_QueryGroupList, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2858,7 +2858,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_DsGetDcName), - (ndr_push_flags_fn_t) ndr_push_wbint_DsGetDcName, - (ndr_pull_flags_fn_t) ndr_pull_wbint_DsGetDcName, -- (ndr_print_function_t) ndr_print_wbint_DsGetDcName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2867,7 +2867,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_LookupRids), - (ndr_push_flags_fn_t) ndr_push_wbint_LookupRids, - (ndr_pull_flags_fn_t) ndr_pull_wbint_LookupRids, -- (ndr_print_function_t) ndr_print_wbint_LookupRids, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2876,7 +2876,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_CheckMachineAccount), - (ndr_push_flags_fn_t) ndr_push_wbint_CheckMachineAccount, - (ndr_pull_flags_fn_t) ndr_pull_wbint_CheckMachineAccount, -- (ndr_print_function_t) ndr_print_wbint_CheckMachineAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2885,7 +2885,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_ChangeMachineAccount), - (ndr_push_flags_fn_t) ndr_push_wbint_ChangeMachineAccount, - (ndr_pull_flags_fn_t) ndr_pull_wbint_ChangeMachineAccount, -- (ndr_print_function_t) ndr_print_wbint_ChangeMachineAccount, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -2894,7 +2894,7 @@ static const struct ndr_interface_call w - sizeof(struct wbint_PingDc), - (ndr_push_flags_fn_t) ndr_push_wbint_PingDc, - (ndr_pull_flags_fn_t) ndr_pull_wbint_PingDc, -- (ndr_print_function_t) ndr_print_wbint_PingDc, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_winreg.c -+++ b/source3/librpc/gen_ndr/ndr_winreg.c -@@ -4864,7 +4864,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKCR), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKCR, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKCR, -- (ndr_print_function_t) ndr_print_winreg_OpenHKCR, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4873,7 +4873,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKCU), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKCU, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKCU, -- (ndr_print_function_t) ndr_print_winreg_OpenHKCU, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4882,7 +4882,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKLM), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKLM, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKLM, -- (ndr_print_function_t) ndr_print_winreg_OpenHKLM, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4891,7 +4891,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKPD), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKPD, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKPD, -- (ndr_print_function_t) ndr_print_winreg_OpenHKPD, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4900,7 +4900,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKU), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKU, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKU, -- (ndr_print_function_t) ndr_print_winreg_OpenHKU, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4909,7 +4909,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_CloseKey), - (ndr_push_flags_fn_t) ndr_push_winreg_CloseKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_CloseKey, -- (ndr_print_function_t) ndr_print_winreg_CloseKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4918,7 +4918,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_CreateKey), - (ndr_push_flags_fn_t) ndr_push_winreg_CreateKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_CreateKey, -- (ndr_print_function_t) ndr_print_winreg_CreateKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4927,7 +4927,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_DeleteKey), - (ndr_push_flags_fn_t) ndr_push_winreg_DeleteKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_DeleteKey, -- (ndr_print_function_t) ndr_print_winreg_DeleteKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4936,7 +4936,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_DeleteValue), - (ndr_push_flags_fn_t) ndr_push_winreg_DeleteValue, - (ndr_pull_flags_fn_t) ndr_pull_winreg_DeleteValue, -- (ndr_print_function_t) ndr_print_winreg_DeleteValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4945,7 +4945,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_EnumKey), - (ndr_push_flags_fn_t) ndr_push_winreg_EnumKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_EnumKey, -- (ndr_print_function_t) ndr_print_winreg_EnumKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4954,7 +4954,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_EnumValue), - (ndr_push_flags_fn_t) ndr_push_winreg_EnumValue, - (ndr_pull_flags_fn_t) ndr_pull_winreg_EnumValue, -- (ndr_print_function_t) ndr_print_winreg_EnumValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4963,7 +4963,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_FlushKey), - (ndr_push_flags_fn_t) ndr_push_winreg_FlushKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_FlushKey, -- (ndr_print_function_t) ndr_print_winreg_FlushKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4972,7 +4972,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_GetKeySecurity), - (ndr_push_flags_fn_t) ndr_push_winreg_GetKeySecurity, - (ndr_pull_flags_fn_t) ndr_pull_winreg_GetKeySecurity, -- (ndr_print_function_t) ndr_print_winreg_GetKeySecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4981,7 +4981,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_LoadKey), - (ndr_push_flags_fn_t) ndr_push_winreg_LoadKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_LoadKey, -- (ndr_print_function_t) ndr_print_winreg_LoadKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4990,7 +4990,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_NotifyChangeKeyValue), - (ndr_push_flags_fn_t) ndr_push_winreg_NotifyChangeKeyValue, - (ndr_pull_flags_fn_t) ndr_pull_winreg_NotifyChangeKeyValue, -- (ndr_print_function_t) ndr_print_winreg_NotifyChangeKeyValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4999,7 +4999,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenKey), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenKey, -- (ndr_print_function_t) ndr_print_winreg_OpenKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5008,7 +5008,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_QueryInfoKey), - (ndr_push_flags_fn_t) ndr_push_winreg_QueryInfoKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_QueryInfoKey, -- (ndr_print_function_t) ndr_print_winreg_QueryInfoKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5017,7 +5017,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_QueryValue), - (ndr_push_flags_fn_t) ndr_push_winreg_QueryValue, - (ndr_pull_flags_fn_t) ndr_pull_winreg_QueryValue, -- (ndr_print_function_t) ndr_print_winreg_QueryValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5026,7 +5026,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_ReplaceKey), - (ndr_push_flags_fn_t) ndr_push_winreg_ReplaceKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_ReplaceKey, -- (ndr_print_function_t) ndr_print_winreg_ReplaceKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5035,7 +5035,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_RestoreKey), - (ndr_push_flags_fn_t) ndr_push_winreg_RestoreKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_RestoreKey, -- (ndr_print_function_t) ndr_print_winreg_RestoreKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5044,7 +5044,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_SaveKey), - (ndr_push_flags_fn_t) ndr_push_winreg_SaveKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_SaveKey, -- (ndr_print_function_t) ndr_print_winreg_SaveKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5053,7 +5053,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_SetKeySecurity), - (ndr_push_flags_fn_t) ndr_push_winreg_SetKeySecurity, - (ndr_pull_flags_fn_t) ndr_pull_winreg_SetKeySecurity, -- (ndr_print_function_t) ndr_print_winreg_SetKeySecurity, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5062,7 +5062,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_SetValue), - (ndr_push_flags_fn_t) ndr_push_winreg_SetValue, - (ndr_pull_flags_fn_t) ndr_pull_winreg_SetValue, -- (ndr_print_function_t) ndr_print_winreg_SetValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5071,7 +5071,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_UnLoadKey), - (ndr_push_flags_fn_t) ndr_push_winreg_UnLoadKey, - (ndr_pull_flags_fn_t) ndr_pull_winreg_UnLoadKey, -- (ndr_print_function_t) ndr_print_winreg_UnLoadKey, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5080,7 +5080,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_InitiateSystemShutdown), - (ndr_push_flags_fn_t) ndr_push_winreg_InitiateSystemShutdown, - (ndr_pull_flags_fn_t) ndr_pull_winreg_InitiateSystemShutdown, -- (ndr_print_function_t) ndr_print_winreg_InitiateSystemShutdown, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5089,7 +5089,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_AbortSystemShutdown), - (ndr_push_flags_fn_t) ndr_push_winreg_AbortSystemShutdown, - (ndr_pull_flags_fn_t) ndr_pull_winreg_AbortSystemShutdown, -- (ndr_print_function_t) ndr_print_winreg_AbortSystemShutdown, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5098,7 +5098,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_GetVersion), - (ndr_push_flags_fn_t) ndr_push_winreg_GetVersion, - (ndr_pull_flags_fn_t) ndr_pull_winreg_GetVersion, -- (ndr_print_function_t) ndr_print_winreg_GetVersion, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5107,7 +5107,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKCC), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKCC, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKCC, -- (ndr_print_function_t) ndr_print_winreg_OpenHKCC, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5116,7 +5116,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKDD), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKDD, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKDD, -- (ndr_print_function_t) ndr_print_winreg_OpenHKDD, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5125,7 +5125,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_QueryMultipleValues), - (ndr_push_flags_fn_t) ndr_push_winreg_QueryMultipleValues, - (ndr_pull_flags_fn_t) ndr_pull_winreg_QueryMultipleValues, -- (ndr_print_function_t) ndr_print_winreg_QueryMultipleValues, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5134,7 +5134,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_InitiateSystemShutdownEx), - (ndr_push_flags_fn_t) ndr_push_winreg_InitiateSystemShutdownEx, - (ndr_pull_flags_fn_t) ndr_pull_winreg_InitiateSystemShutdownEx, -- (ndr_print_function_t) ndr_print_winreg_InitiateSystemShutdownEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5143,7 +5143,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_SaveKeyEx), - (ndr_push_flags_fn_t) ndr_push_winreg_SaveKeyEx, - (ndr_pull_flags_fn_t) ndr_pull_winreg_SaveKeyEx, -- (ndr_print_function_t) ndr_print_winreg_SaveKeyEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5152,7 +5152,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKPT), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKPT, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKPT, -- (ndr_print_function_t) ndr_print_winreg_OpenHKPT, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5161,7 +5161,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_OpenHKPN), - (ndr_push_flags_fn_t) ndr_push_winreg_OpenHKPN, - (ndr_pull_flags_fn_t) ndr_pull_winreg_OpenHKPN, -- (ndr_print_function_t) ndr_print_winreg_OpenHKPN, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5170,7 +5170,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_QueryMultipleValues2), - (ndr_push_flags_fn_t) ndr_push_winreg_QueryMultipleValues2, - (ndr_pull_flags_fn_t) ndr_pull_winreg_QueryMultipleValues2, -- (ndr_print_function_t) ndr_print_winreg_QueryMultipleValues2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5179,7 +5179,7 @@ static const struct ndr_interface_call w - sizeof(struct winreg_DeleteKeyEx), - (ndr_push_flags_fn_t) ndr_push_winreg_DeleteKeyEx, - (ndr_pull_flags_fn_t) ndr_pull_winreg_DeleteKeyEx, -- (ndr_print_function_t) ndr_print_winreg_DeleteKeyEx, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_wkssvc.c -+++ b/source3/librpc/gen_ndr/ndr_wkssvc.c -@@ -11005,7 +11005,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetWkstaGetInfo), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetWkstaGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetWkstaGetInfo, -- (ndr_print_function_t) ndr_print_wkssvc_NetWkstaGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11014,7 +11014,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetWkstaSetInfo), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetWkstaSetInfo, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetWkstaSetInfo, -- (ndr_print_function_t) ndr_print_wkssvc_NetWkstaSetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11023,7 +11023,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetWkstaEnumUsers), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetWkstaEnumUsers, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetWkstaEnumUsers, -- (ndr_print_function_t) ndr_print_wkssvc_NetWkstaEnumUsers, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11032,7 +11032,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrWkstaUserGetInfo), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrWkstaUserGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrWkstaUserGetInfo, -- (ndr_print_function_t) ndr_print_wkssvc_NetrWkstaUserGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11041,7 +11041,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrWkstaUserSetInfo), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrWkstaUserSetInfo, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrWkstaUserSetInfo, -- (ndr_print_function_t) ndr_print_wkssvc_NetrWkstaUserSetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11050,7 +11050,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetWkstaTransportEnum), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetWkstaTransportEnum, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetWkstaTransportEnum, -- (ndr_print_function_t) ndr_print_wkssvc_NetWkstaTransportEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11059,7 +11059,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrWkstaTransportAdd), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrWkstaTransportAdd, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrWkstaTransportAdd, -- (ndr_print_function_t) ndr_print_wkssvc_NetrWkstaTransportAdd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11068,7 +11068,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrWkstaTransportDel), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrWkstaTransportDel, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrWkstaTransportDel, -- (ndr_print_function_t) ndr_print_wkssvc_NetrWkstaTransportDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11077,7 +11077,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrUseAdd), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrUseAdd, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrUseAdd, -- (ndr_print_function_t) ndr_print_wkssvc_NetrUseAdd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11086,7 +11086,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrUseGetInfo), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrUseGetInfo, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrUseGetInfo, -- (ndr_print_function_t) ndr_print_wkssvc_NetrUseGetInfo, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11095,7 +11095,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrUseDel), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrUseDel, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrUseDel, -- (ndr_print_function_t) ndr_print_wkssvc_NetrUseDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11104,7 +11104,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrUseEnum), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrUseEnum, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrUseEnum, -- (ndr_print_function_t) ndr_print_wkssvc_NetrUseEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11113,7 +11113,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrMessageBufferSend), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrMessageBufferSend, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrMessageBufferSend, -- (ndr_print_function_t) ndr_print_wkssvc_NetrMessageBufferSend, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11122,7 +11122,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrWorkstationStatisticsGet), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrWorkstationStatisticsGet, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrWorkstationStatisticsGet, -- (ndr_print_function_t) ndr_print_wkssvc_NetrWorkstationStatisticsGet, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11131,7 +11131,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrLogonDomainNameAdd), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrLogonDomainNameAdd, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrLogonDomainNameAdd, -- (ndr_print_function_t) ndr_print_wkssvc_NetrLogonDomainNameAdd, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11140,7 +11140,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrLogonDomainNameDel), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrLogonDomainNameDel, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrLogonDomainNameDel, -- (ndr_print_function_t) ndr_print_wkssvc_NetrLogonDomainNameDel, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11149,7 +11149,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrJoinDomain), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrJoinDomain, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrJoinDomain, -- (ndr_print_function_t) ndr_print_wkssvc_NetrJoinDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11158,7 +11158,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrUnjoinDomain), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrUnjoinDomain, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrUnjoinDomain, -- (ndr_print_function_t) ndr_print_wkssvc_NetrUnjoinDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11167,7 +11167,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrRenameMachineInDomain), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrRenameMachineInDomain, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrRenameMachineInDomain, -- (ndr_print_function_t) ndr_print_wkssvc_NetrRenameMachineInDomain, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11176,7 +11176,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrValidateName), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrValidateName, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrValidateName, -- (ndr_print_function_t) ndr_print_wkssvc_NetrValidateName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11185,7 +11185,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrGetJoinInformation), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrGetJoinInformation, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrGetJoinInformation, -- (ndr_print_function_t) ndr_print_wkssvc_NetrGetJoinInformation, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11194,7 +11194,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrGetJoinableOus), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrGetJoinableOus, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrGetJoinableOus, -- (ndr_print_function_t) ndr_print_wkssvc_NetrGetJoinableOus, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11203,7 +11203,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrJoinDomain2), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrJoinDomain2, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrJoinDomain2, -- (ndr_print_function_t) ndr_print_wkssvc_NetrJoinDomain2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11212,7 +11212,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrUnjoinDomain2), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrUnjoinDomain2, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrUnjoinDomain2, -- (ndr_print_function_t) ndr_print_wkssvc_NetrUnjoinDomain2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11221,7 +11221,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrRenameMachineInDomain2), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrRenameMachineInDomain2, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrRenameMachineInDomain2, -- (ndr_print_function_t) ndr_print_wkssvc_NetrRenameMachineInDomain2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11230,7 +11230,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrValidateName2), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrValidateName2, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrValidateName2, -- (ndr_print_function_t) ndr_print_wkssvc_NetrValidateName2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11239,7 +11239,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrGetJoinableOus2), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrGetJoinableOus2, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrGetJoinableOus2, -- (ndr_print_function_t) ndr_print_wkssvc_NetrGetJoinableOus2, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11248,7 +11248,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrAddAlternateComputerName), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrAddAlternateComputerName, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrAddAlternateComputerName, -- (ndr_print_function_t) ndr_print_wkssvc_NetrAddAlternateComputerName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11257,7 +11257,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrRemoveAlternateComputerName), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrRemoveAlternateComputerName, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrRemoveAlternateComputerName, -- (ndr_print_function_t) ndr_print_wkssvc_NetrRemoveAlternateComputerName, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11266,7 +11266,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrSetPrimaryComputername), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrSetPrimaryComputername, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrSetPrimaryComputername, -- (ndr_print_function_t) ndr_print_wkssvc_NetrSetPrimaryComputername, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -11275,7 +11275,7 @@ static const struct ndr_interface_call w - sizeof(struct wkssvc_NetrEnumerateComputerNames), - (ndr_push_flags_fn_t) ndr_push_wkssvc_NetrEnumerateComputerNames, - (ndr_pull_flags_fn_t) ndr_pull_wkssvc_NetrEnumerateComputerNames, -- (ndr_print_function_t) ndr_print_wkssvc_NetrEnumerateComputerNames, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_wmi.c -+++ b/source3/librpc/gen_ndr/ndr_wmi.c -@@ -139,7 +139,7 @@ static const struct ndr_interface_call I - sizeof(struct Delete), - (ndr_push_flags_fn_t) ndr_push_Delete, - (ndr_pull_flags_fn_t) ndr_pull_Delete, -- (ndr_print_function_t) ndr_print_Delete, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3704,7 +3704,7 @@ static const struct ndr_interface_call I - sizeof(struct OpenNamespace), - (ndr_push_flags_fn_t) ndr_push_OpenNamespace, - (ndr_pull_flags_fn_t) ndr_pull_OpenNamespace, -- (ndr_print_function_t) ndr_print_OpenNamespace, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3713,7 +3713,7 @@ static const struct ndr_interface_call I - sizeof(struct CancelAsyncCall), - (ndr_push_flags_fn_t) ndr_push_CancelAsyncCall, - (ndr_pull_flags_fn_t) ndr_pull_CancelAsyncCall, -- (ndr_print_function_t) ndr_print_CancelAsyncCall, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3722,7 +3722,7 @@ static const struct ndr_interface_call I - sizeof(struct QueryObjectSink), - (ndr_push_flags_fn_t) ndr_push_QueryObjectSink, - (ndr_pull_flags_fn_t) ndr_pull_QueryObjectSink, -- (ndr_print_function_t) ndr_print_QueryObjectSink, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3731,7 +3731,7 @@ static const struct ndr_interface_call I - sizeof(struct GetObject), - (ndr_push_flags_fn_t) ndr_push_GetObject, - (ndr_pull_flags_fn_t) ndr_pull_GetObject, -- (ndr_print_function_t) ndr_print_GetObject, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3740,7 +3740,7 @@ static const struct ndr_interface_call I - sizeof(struct GetObjectAsync), - (ndr_push_flags_fn_t) ndr_push_GetObjectAsync, - (ndr_pull_flags_fn_t) ndr_pull_GetObjectAsync, -- (ndr_print_function_t) ndr_print_GetObjectAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3749,7 +3749,7 @@ static const struct ndr_interface_call I - sizeof(struct PutClass), - (ndr_push_flags_fn_t) ndr_push_PutClass, - (ndr_pull_flags_fn_t) ndr_pull_PutClass, -- (ndr_print_function_t) ndr_print_PutClass, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3758,7 +3758,7 @@ static const struct ndr_interface_call I - sizeof(struct PutClassAsync), - (ndr_push_flags_fn_t) ndr_push_PutClassAsync, - (ndr_pull_flags_fn_t) ndr_pull_PutClassAsync, -- (ndr_print_function_t) ndr_print_PutClassAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3767,7 +3767,7 @@ static const struct ndr_interface_call I - sizeof(struct DeleteClass), - (ndr_push_flags_fn_t) ndr_push_DeleteClass, - (ndr_pull_flags_fn_t) ndr_pull_DeleteClass, -- (ndr_print_function_t) ndr_print_DeleteClass, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3776,7 +3776,7 @@ static const struct ndr_interface_call I - sizeof(struct DeleteClassAsync), - (ndr_push_flags_fn_t) ndr_push_DeleteClassAsync, - (ndr_pull_flags_fn_t) ndr_pull_DeleteClassAsync, -- (ndr_print_function_t) ndr_print_DeleteClassAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3785,7 +3785,7 @@ static const struct ndr_interface_call I - sizeof(struct CreateClassEnum), - (ndr_push_flags_fn_t) ndr_push_CreateClassEnum, - (ndr_pull_flags_fn_t) ndr_pull_CreateClassEnum, -- (ndr_print_function_t) ndr_print_CreateClassEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3794,7 +3794,7 @@ static const struct ndr_interface_call I - sizeof(struct CreateClassEnumAsync), - (ndr_push_flags_fn_t) ndr_push_CreateClassEnumAsync, - (ndr_pull_flags_fn_t) ndr_pull_CreateClassEnumAsync, -- (ndr_print_function_t) ndr_print_CreateClassEnumAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3803,7 +3803,7 @@ static const struct ndr_interface_call I - sizeof(struct PutInstance), - (ndr_push_flags_fn_t) ndr_push_PutInstance, - (ndr_pull_flags_fn_t) ndr_pull_PutInstance, -- (ndr_print_function_t) ndr_print_PutInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3812,7 +3812,7 @@ static const struct ndr_interface_call I - sizeof(struct PutInstanceAsync), - (ndr_push_flags_fn_t) ndr_push_PutInstanceAsync, - (ndr_pull_flags_fn_t) ndr_pull_PutInstanceAsync, -- (ndr_print_function_t) ndr_print_PutInstanceAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3821,7 +3821,7 @@ static const struct ndr_interface_call I - sizeof(struct DeleteInstance), - (ndr_push_flags_fn_t) ndr_push_DeleteInstance, - (ndr_pull_flags_fn_t) ndr_pull_DeleteInstance, -- (ndr_print_function_t) ndr_print_DeleteInstance, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3830,7 +3830,7 @@ static const struct ndr_interface_call I - sizeof(struct DeleteInstanceAsync), - (ndr_push_flags_fn_t) ndr_push_DeleteInstanceAsync, - (ndr_pull_flags_fn_t) ndr_pull_DeleteInstanceAsync, -- (ndr_print_function_t) ndr_print_DeleteInstanceAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3839,7 +3839,7 @@ static const struct ndr_interface_call I - sizeof(struct CreateInstanceEnum), - (ndr_push_flags_fn_t) ndr_push_CreateInstanceEnum, - (ndr_pull_flags_fn_t) ndr_pull_CreateInstanceEnum, -- (ndr_print_function_t) ndr_print_CreateInstanceEnum, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3848,7 +3848,7 @@ static const struct ndr_interface_call I - sizeof(struct CreateInstanceEnumAsync), - (ndr_push_flags_fn_t) ndr_push_CreateInstanceEnumAsync, - (ndr_pull_flags_fn_t) ndr_pull_CreateInstanceEnumAsync, -- (ndr_print_function_t) ndr_print_CreateInstanceEnumAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3857,7 +3857,7 @@ static const struct ndr_interface_call I - sizeof(struct ExecQuery), - (ndr_push_flags_fn_t) ndr_push_ExecQuery, - (ndr_pull_flags_fn_t) ndr_pull_ExecQuery, -- (ndr_print_function_t) ndr_print_ExecQuery, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3866,7 +3866,7 @@ static const struct ndr_interface_call I - sizeof(struct ExecQueryAsync), - (ndr_push_flags_fn_t) ndr_push_ExecQueryAsync, - (ndr_pull_flags_fn_t) ndr_pull_ExecQueryAsync, -- (ndr_print_function_t) ndr_print_ExecQueryAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3875,7 +3875,7 @@ static const struct ndr_interface_call I - sizeof(struct ExecNotificationQuery), - (ndr_push_flags_fn_t) ndr_push_ExecNotificationQuery, - (ndr_pull_flags_fn_t) ndr_pull_ExecNotificationQuery, -- (ndr_print_function_t) ndr_print_ExecNotificationQuery, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3884,7 +3884,7 @@ static const struct ndr_interface_call I - sizeof(struct ExecNotificationQueryAsync), - (ndr_push_flags_fn_t) ndr_push_ExecNotificationQueryAsync, - (ndr_pull_flags_fn_t) ndr_pull_ExecNotificationQueryAsync, -- (ndr_print_function_t) ndr_print_ExecNotificationQueryAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3893,7 +3893,7 @@ static const struct ndr_interface_call I - sizeof(struct ExecMethod), - (ndr_push_flags_fn_t) ndr_push_ExecMethod, - (ndr_pull_flags_fn_t) ndr_pull_ExecMethod, -- (ndr_print_function_t) ndr_print_ExecMethod, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -3902,7 +3902,7 @@ static const struct ndr_interface_call I - sizeof(struct ExecMethodAsync), - (ndr_push_flags_fn_t) ndr_push_ExecMethodAsync, - (ndr_pull_flags_fn_t) ndr_pull_ExecMethodAsync, -- (ndr_print_function_t) ndr_print_ExecMethodAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4434,7 +4434,7 @@ static const struct ndr_interface_call I - sizeof(struct Reset), - (ndr_push_flags_fn_t) ndr_push_Reset, - (ndr_pull_flags_fn_t) ndr_pull_Reset, -- (ndr_print_function_t) ndr_print_Reset, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4443,7 +4443,7 @@ static const struct ndr_interface_call I - sizeof(struct IEnumWbemClassObject_Next), - (ndr_push_flags_fn_t) ndr_push_IEnumWbemClassObject_Next, - (ndr_pull_flags_fn_t) ndr_pull_IEnumWbemClassObject_Next, -- (ndr_print_function_t) ndr_print_IEnumWbemClassObject_Next, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4452,7 +4452,7 @@ static const struct ndr_interface_call I - sizeof(struct NextAsync), - (ndr_push_flags_fn_t) ndr_push_NextAsync, - (ndr_pull_flags_fn_t) ndr_pull_NextAsync, -- (ndr_print_function_t) ndr_print_NextAsync, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4461,7 +4461,7 @@ static const struct ndr_interface_call I - sizeof(struct IEnumWbemClassObject_Clone), - (ndr_push_flags_fn_t) ndr_push_IEnumWbemClassObject_Clone, - (ndr_pull_flags_fn_t) ndr_pull_IEnumWbemClassObject_Clone, -- (ndr_print_function_t) ndr_print_IEnumWbemClassObject_Clone, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -4470,7 +4470,7 @@ static const struct ndr_interface_call I - sizeof(struct Skip), - (ndr_push_flags_fn_t) ndr_push_Skip, - (ndr_pull_flags_fn_t) ndr_pull_Skip, -- (ndr_print_function_t) ndr_print_Skip, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5143,7 +5143,7 @@ static const struct ndr_interface_call I - sizeof(struct Clone), - (ndr_push_flags_fn_t) ndr_push_Clone, - (ndr_pull_flags_fn_t) ndr_pull_Clone, -- (ndr_print_function_t) ndr_print_Clone, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5152,7 +5152,7 @@ static const struct ndr_interface_call I - sizeof(struct GetNames), - (ndr_push_flags_fn_t) ndr_push_GetNames, - (ndr_pull_flags_fn_t) ndr_pull_GetNames, -- (ndr_print_function_t) ndr_print_GetNames, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5161,7 +5161,7 @@ static const struct ndr_interface_call I - sizeof(struct BeginEnumeration), - (ndr_push_flags_fn_t) ndr_push_BeginEnumeration, - (ndr_pull_flags_fn_t) ndr_pull_BeginEnumeration, -- (ndr_print_function_t) ndr_print_BeginEnumeration, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5170,7 +5170,7 @@ static const struct ndr_interface_call I - sizeof(struct Next), - (ndr_push_flags_fn_t) ndr_push_Next, - (ndr_pull_flags_fn_t) ndr_pull_Next, -- (ndr_print_function_t) ndr_print_Next, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5179,7 +5179,7 @@ static const struct ndr_interface_call I - sizeof(struct EndEnumeration), - (ndr_push_flags_fn_t) ndr_push_EndEnumeration, - (ndr_pull_flags_fn_t) ndr_pull_EndEnumeration, -- (ndr_print_function_t) ndr_print_EndEnumeration, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5188,7 +5188,7 @@ static const struct ndr_interface_call I - sizeof(struct SetValue), - (ndr_push_flags_fn_t) ndr_push_SetValue, - (ndr_pull_flags_fn_t) ndr_pull_SetValue, -- (ndr_print_function_t) ndr_print_SetValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5197,7 +5197,7 @@ static const struct ndr_interface_call I - sizeof(struct GetValue), - (ndr_push_flags_fn_t) ndr_push_GetValue, - (ndr_pull_flags_fn_t) ndr_pull_GetValue, -- (ndr_print_function_t) ndr_print_GetValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5206,7 +5206,7 @@ static const struct ndr_interface_call I - sizeof(struct DeleteValue), - (ndr_push_flags_fn_t) ndr_push_DeleteValue, - (ndr_pull_flags_fn_t) ndr_pull_DeleteValue, -- (ndr_print_function_t) ndr_print_DeleteValue, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5215,7 +5215,7 @@ static const struct ndr_interface_call I - sizeof(struct DeleteAll), - (ndr_push_flags_fn_t) ndr_push_DeleteAll, - (ndr_pull_flags_fn_t) ndr_pull_DeleteAll, -- (ndr_print_function_t) ndr_print_DeleteAll, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5963,7 +5963,7 @@ static const struct ndr_interface_call I - sizeof(struct EstablishPosition), - (ndr_push_flags_fn_t) ndr_push_EstablishPosition, - (ndr_pull_flags_fn_t) ndr_pull_EstablishPosition, -- (ndr_print_function_t) ndr_print_EstablishPosition, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5972,7 +5972,7 @@ static const struct ndr_interface_call I - sizeof(struct RequestChallenge), - (ndr_push_flags_fn_t) ndr_push_RequestChallenge, - (ndr_pull_flags_fn_t) ndr_pull_RequestChallenge, -- (ndr_print_function_t) ndr_print_RequestChallenge, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5981,7 +5981,7 @@ static const struct ndr_interface_call I - sizeof(struct WBEMLogin), - (ndr_push_flags_fn_t) ndr_push_WBEMLogin, - (ndr_pull_flags_fn_t) ndr_pull_WBEMLogin, -- (ndr_print_function_t) ndr_print_WBEMLogin, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -5990,7 +5990,7 @@ static const struct ndr_interface_call I - sizeof(struct NTLMLogin), - (ndr_push_flags_fn_t) ndr_push_NTLMLogin, - (ndr_pull_flags_fn_t) ndr_pull_NTLMLogin, -- (ndr_print_function_t) ndr_print_NTLMLogin, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6225,7 +6225,7 @@ static const struct ndr_interface_call I - sizeof(struct IWbemWCOSmartEnum_Next), - (ndr_push_flags_fn_t) ndr_push_IWbemWCOSmartEnum_Next, - (ndr_pull_flags_fn_t) ndr_pull_IWbemWCOSmartEnum_Next, -- (ndr_print_function_t) ndr_print_IWbemWCOSmartEnum_Next, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6479,7 +6479,7 @@ static const struct ndr_interface_call I - sizeof(struct Fetch), - (ndr_push_flags_fn_t) ndr_push_Fetch, - (ndr_pull_flags_fn_t) ndr_pull_Fetch, -- (ndr_print_function_t) ndr_print_Fetch, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6488,7 +6488,7 @@ static const struct ndr_interface_call I - sizeof(struct Test), - (ndr_push_flags_fn_t) ndr_push_Test, - (ndr_pull_flags_fn_t) ndr_pull_Test, -- (ndr_print_function_t) ndr_print_Test, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6920,7 +6920,7 @@ static const struct ndr_interface_call I - sizeof(struct GetResultObject), - (ndr_push_flags_fn_t) ndr_push_GetResultObject, - (ndr_pull_flags_fn_t) ndr_pull_GetResultObject, -- (ndr_print_function_t) ndr_print_GetResultObject, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6929,7 +6929,7 @@ static const struct ndr_interface_call I - sizeof(struct GetResultString), - (ndr_push_flags_fn_t) ndr_push_GetResultString, - (ndr_pull_flags_fn_t) ndr_pull_GetResultString, -- (ndr_print_function_t) ndr_print_GetResultString, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6938,7 +6938,7 @@ static const struct ndr_interface_call I - sizeof(struct GetResultServices), - (ndr_push_flags_fn_t) ndr_push_GetResultServices, - (ndr_pull_flags_fn_t) ndr_pull_GetResultServices, -- (ndr_print_function_t) ndr_print_GetResultServices, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -6947,7 +6947,7 @@ static const struct ndr_interface_call I - sizeof(struct GetCallStatus), - (ndr_push_flags_fn_t) ndr_push_GetCallStatus, - (ndr_pull_flags_fn_t) ndr_pull_GetCallStatus, -- (ndr_print_function_t) ndr_print_GetCallStatus, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7211,7 +7211,7 @@ static const struct ndr_interface_call I - sizeof(struct SetStatus), - (ndr_push_flags_fn_t) ndr_push_SetStatus, - (ndr_pull_flags_fn_t) ndr_pull_SetStatus, -- (ndr_print_function_t) ndr_print_SetStatus, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -7220,7 +7220,7 @@ static const struct ndr_interface_call I - sizeof(struct Indicate), - (ndr_push_flags_fn_t) ndr_push_Indicate, - (ndr_pull_flags_fn_t) ndr_pull_Indicate, -- (ndr_print_function_t) ndr_print_Indicate, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_wzcsvc.c -+++ b/source3/librpc/gen_ndr/ndr_wzcsvc.c -@@ -711,7 +711,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EnumInterfaces), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EnumInterfaces, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EnumInterfaces, -- (ndr_print_function_t) ndr_print_wzcsvc_EnumInterfaces, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -720,7 +720,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_QueryInterface), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_QueryInterface, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_QueryInterface, -- (ndr_print_function_t) ndr_print_wzcsvc_QueryInterface, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -729,7 +729,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_SetInterface), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_SetInterface, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_SetInterface, -- (ndr_print_function_t) ndr_print_wzcsvc_SetInterface, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -738,7 +738,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_RefreshInterface), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_RefreshInterface, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_RefreshInterface, -- (ndr_print_function_t) ndr_print_wzcsvc_RefreshInterface, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -747,7 +747,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_QueryContext), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_QueryContext, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_QueryContext, -- (ndr_print_function_t) ndr_print_wzcsvc_QueryContext, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -756,7 +756,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_SetContext), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_SetContext, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_SetContext, -- (ndr_print_function_t) ndr_print_wzcsvc_SetContext, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -765,7 +765,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EapolUIResponse), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EapolUIResponse, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EapolUIResponse, -- (ndr_print_function_t) ndr_print_wzcsvc_EapolUIResponse, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -774,7 +774,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EapolGetCustomAuthData), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EapolGetCustomAuthData, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EapolGetCustomAuthData, -- (ndr_print_function_t) ndr_print_wzcsvc_EapolGetCustomAuthData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -783,7 +783,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EapolSetCustomAuthData), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EapolSetCustomAuthData, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EapolSetCustomAuthData, -- (ndr_print_function_t) ndr_print_wzcsvc_EapolSetCustomAuthData, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -792,7 +792,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EapolGetInterfaceParams), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EapolGetInterfaceParams, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EapolGetInterfaceParams, -- (ndr_print_function_t) ndr_print_wzcsvc_EapolGetInterfaceParams, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -801,7 +801,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EapolSetInterfaceParams), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EapolSetInterfaceParams, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EapolSetInterfaceParams, -- (ndr_print_function_t) ndr_print_wzcsvc_EapolSetInterfaceParams, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -810,7 +810,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EapolReAuthenticateInterface), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EapolReAuthenticateInterface, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EapolReAuthenticateInterface, -- (ndr_print_function_t) ndr_print_wzcsvc_EapolReAuthenticateInterface, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -819,7 +819,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EapolQueryInterfaceState), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EapolQueryInterfaceState, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EapolQueryInterfaceState, -- (ndr_print_function_t) ndr_print_wzcsvc_EapolQueryInterfaceState, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -828,7 +828,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_OpenWZCDbLogSession), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_OpenWZCDbLogSession, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_OpenWZCDbLogSession, -- (ndr_print_function_t) ndr_print_wzcsvc_OpenWZCDbLogSession, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -837,7 +837,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_CloseWZCDbLogSession), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_CloseWZCDbLogSession, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_CloseWZCDbLogSession, -- (ndr_print_function_t) ndr_print_wzcsvc_CloseWZCDbLogSession, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -846,7 +846,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_EnumWZCDbLogRecords), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_EnumWZCDbLogRecords, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_EnumWZCDbLogRecords, -- (ndr_print_function_t) ndr_print_wzcsvc_EnumWZCDbLogRecords, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -855,7 +855,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_FlushWZCdbLog), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_FlushWZCdbLog, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_FlushWZCdbLog, -- (ndr_print_function_t) ndr_print_wzcsvc_FlushWZCdbLog, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, -@@ -864,7 +864,7 @@ static const struct ndr_interface_call w - sizeof(struct wzcsvc_GetWZCDbLogRecord), - (ndr_push_flags_fn_t) ndr_push_wzcsvc_GetWZCDbLogRecord, - (ndr_pull_flags_fn_t) ndr_pull_wzcsvc_GetWZCDbLogRecord, -- (ndr_print_function_t) ndr_print_wzcsvc_GetWZCDbLogRecord, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- a/source3/librpc/gen_ndr/ndr_xattr.c -+++ b/source3/librpc/gen_ndr/ndr_xattr.c -@@ -1101,7 +1101,7 @@ static const struct ndr_interface_call x - sizeof(struct xattr_parse_DOSATTRIB), - (ndr_push_flags_fn_t) ndr_push_xattr_parse_DOSATTRIB, - (ndr_pull_flags_fn_t) ndr_pull_xattr_parse_DOSATTRIB, -- (ndr_print_function_t) ndr_print_xattr_parse_DOSATTRIB, -+ (ndr_print_function_t) ndr_print_disabled, - { 0, NULL }, - { 0, NULL }, - }, ---- /dev/null -+++ b/source3/remove-librpc-print-calls.sh -@@ -0,0 +1,22 @@ -+#!/usr/bin/env bash -+set -e -+for file in ${1:-librpc/gen_ndr/ndr_*.c}; do -+ quilt add "$file" || true -+ awk ' -+$0 ~ /^static const struct ndr_interface_call .* = {$/ { -+ replace = 1 -+} -+ -+$0 ~ /^}$/ { -+ replace = 0; -+} -+ -+replace == 1 { -+ gsub(/.ndr_print_function_t. .*,/, "(ndr_print_function_t) ndr_print_disabled,", $0) -+} -+{ -+ print $0 -+} -+ ' < "$file" > "$file.new" -+ mv "$file.new" "$file" -+done ---- a/librpc/ndr/libndr.h -+++ b/librpc/ndr/libndr.h -@@ -603,6 +603,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_enum - _PUBLIC_ enum ndr_err_code ndr_push_enum_uint1632(struct ndr_push *ndr, int ndr_flags, uint16_t v); - - _PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b); -+_PUBLIC_ void ndr_print_disabled(struct ndr_print *ndr, const char *name, int flags, void *r); - - #ifndef VERBOSE_ERROR - #define ndr_print_bool(...) do {} while (0) diff --git a/unmaintained/samba36/APKBUILD b/unmaintained/samba36/APKBUILD deleted file mode 100644 index 9bc8118c37..0000000000 --- a/unmaintained/samba36/APKBUILD +++ /dev/null @@ -1,180 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=samba36 -pkgver=3.6.24 -pkgrel=1 -pkgdesc="Samba 3.6 with openwrt patches" -url="http://samba.org" -arch="all" -license="GPLv3" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="https://ftp.samba.org/pub/samba/stable/samba-$pkgver.tar.gz - 100-configure_fixes.patch - 110-multicall.patch - 111-owrt_smbpasswd.patch - 120-add_missing_ifdef.patch - 200-remove_printer_support.patch - 210-remove_ad_support.patch - 220-remove_services.patch - 230-remove_winreg_support.patch - 240-remove_dfs_api.patch - 250-remove_domain_logon.patch - 260-remove_samr.patch - 270-remove_registry_backend.patch - 280-strip_srvsvc.patch - 290-remove_lsa.patch - 300-assert_debug_level.patch - 310-remove_error_strings.patch - 320-debug_level_checks.patch - 330-librpc_default_print.patch - smb.conf.template - samba.initd - samba.confd" - -_builddir=$srcdir/samba-$pkgver - -prepare() { - local i - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir"/source3 - ./configure \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --exec-prefix=/usr \ - --prefix=/ \ - --disable-avahi \ - --disable-cups \ - --disable-static \ - --disable-swat \ - --disable-shared-libs \ - --with-codepagedir=/etc/samba \ - --with-configdir=/etc/samba \ - --with-included-iniparser \ - --with-included-popt \ - --with-lockdir=/var/lock \ - --with-logfilebase=/var/log \ - --with-nmbdsocketdir=/var/nmbd \ - --with-piddir=/var/run \ - --with-privatedir=/etc/samba \ - --with-sendfile-support \ - --without-acl-support \ - --without-cluster-support \ - --without-ads \ - --without-krb5 \ - --without-ldap \ - --without-pam \ - --without-winbind \ - --without-libtdb \ - --without-libtalloc \ - --without-libnetapi \ - --without-libsmbclient \ - --without-libsmbsharemodes \ - --without-libtevent \ - --without-libaddns \ - --with-shared-modules=pdb_tdbsam,pdb_wbc_sam,auth_winbind,auth_wbc,auth_domain \ - --without-getttext \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - install -D "$srcdir"/smb.conf.template \ - "$pkgdir"/etc/samba/smb.conf.template - cd "$_builddir"/codepages - for codepage in *.dat; do - install -Dm644 $codepage \ - "$pkgdir"/etc/samba/$codepage || return 1 - done - install -Dm755 "$_builddir"/source3/bin/samba_multicall \ - "$pkgdir"/usr/sbin/samba_multicall || return 1 - for sbin in smbd nmbd smbpasswd; do - ln -sf samba_multicall $pkgdir/usr/sbin/$sbin - done - install -Dm755 $srcdir/samba.initd \ - "$pkgdir"/etc/init.d/samba || return 1 - install -Dm644 $srcdir/samba.confd \ - "$pkgdir"/etc/conf.d/samba || return 1 -} - -md5sums="d98425c0c2b73e08f048d31ffc727fb0 samba-3.6.24.tar.gz -50fb208a80bc74e6c614d1e79eb53f4c 100-configure_fixes.patch -5eb4f67482934702c01d0d984523263a 110-multicall.patch -278070eca1564a8a65f87253068edd4f 111-owrt_smbpasswd.patch -be0ec8cde6cc1344a766c8b206b4a4c5 120-add_missing_ifdef.patch -8021f01e526103d3f3ce0a329cbfc6c1 200-remove_printer_support.patch -9201ccc54fa3e41277f367230ea81a38 210-remove_ad_support.patch -a83ea6576f90f443343be8e8d063bbab 220-remove_services.patch -7678f8f0e1c2a65c38ecee996dcd3e94 230-remove_winreg_support.patch -cadd6710d736c44daa8ec2da49e9a115 240-remove_dfs_api.patch -b91a52a2a04ffe1c5ee6385cbfc74aad 250-remove_domain_logon.patch -a65f5ec6c2a515ac94651cea1eaa9104 260-remove_samr.patch -90aab7ff5c02daee1da4694cc519a260 270-remove_registry_backend.patch -e26502cdb27e74183774e0679848c692 280-strip_srvsvc.patch -be44576a17eed4d01576ead4e8944950 290-remove_lsa.patch -1c8f2817b1a580be2c27e22e37affd73 300-assert_debug_level.patch -1c5cde4259a2be2a2929d9b846fc9fa3 310-remove_error_strings.patch -8305526ef72ffbc9262fb7cad2e08049 320-debug_level_checks.patch -d6f6691ca58f189de7d373e74acd4b8b 330-librpc_default_print.patch -b498b14649537c4f6f9255ddcd0e32c3 smb.conf.template -cd1583ea0b7001f0a3d99318b62d0dc2 samba.initd -c150433426e18261e6e3eed3930e1a76 samba.confd" -sha256sums="11d0bd04b734731970259efc6692b8e749ff671a9b56d8cc5fa98c192ab234a7 samba-3.6.24.tar.gz -25a53711a0d1768783e9dd61535f5ca1bc2cbe486956479cc347627c042123ea 100-configure_fixes.patch -25a914d0d83deade4a2fe0f9e214300d8b7b03b4bb22af8dd5e92475f564655a 110-multicall.patch -a3b835d8af2993ec47d7f6585912e4a662a5bc248dcd9d7ffe91b200db49cae2 111-owrt_smbpasswd.patch -2ea36ce4f55fe15be1e7bfc542dd45660e96c0e3f74fac1c20a75a39edbca5b6 120-add_missing_ifdef.patch -c4c1fffa9ce3749c50ea59c334fa7c2bd5aba8465da11f9c85a08de81fcd62d0 200-remove_printer_support.patch -2c1ed28b254b37b0a2382e62096a62298c958607b073a870f07bde0339136f2b 210-remove_ad_support.patch -3d7eb95a2a7aba1b4c2c4493c96f72e4d0fe36e6fc4cc9ce1b399a6e5abf7d41 220-remove_services.patch -ebc7f30f218c145c97b74ca5710751a7d3b7b1c0a912728fb39c6dbcd0b99c0d 230-remove_winreg_support.patch -bf534290bf1acd1a581e2636a0603eef07ecc0ca272fa4630a0196b9d7a1eb36 240-remove_dfs_api.patch -2a9a8083cdf8cdc68c41094ac903a6129d0a5b7e0477e12a1aa3400ebbb6cf60 250-remove_domain_logon.patch -dd492b4d3837e0895d6d548152be28e3ec1cdb63956e0e9923935dde012437e6 260-remove_samr.patch -653e9c73553d5a1c2ac1b1d2822b4f35c88d1060e0ca383214885c08142cbcc7 270-remove_registry_backend.patch -cb982f63fa94248190fdbff3395f50001cd444ea07243575192e3746ea22a525 280-strip_srvsvc.patch -6ef0d6ffab220215183eb1c15bc45296902e419475f6418720432ffd62a1b63f 290-remove_lsa.patch -80ba8219d1ae62ef01a83d15ee2cd8c81a7e1049b253f3f1ed535382540e37da 300-assert_debug_level.patch -ddbb2377ee202fe6017374b0c16db9f18eddf92f33887ef0aa05bc385afccd25 310-remove_error_strings.patch -447ea7c8abe6473e53266aacefe562f41088af8b835da4d0e90c7e1f76e2f271 320-debug_level_checks.patch -0d22fd5c5a5def0e8fbf68da45ffab2aa76c44c096af4481eae3fab059c6a312 330-librpc_default_print.patch -f40d9ffa5d4ed1229f879a34a7fcc9898babc152b212bccea5126d45092a1a94 smb.conf.template -71dddd52f516e9809822ec8f174dc22f9c36f4fadb2893b88efee39cae5eb416 samba.initd -1d12f98a7727967b04eb123109b34cfffef320822dc0e8059286b6e3394c3fc0 samba.confd" -sha512sums="40f054ab0e1ef07fa4bb4934229c42eb0e484596c4d4b81edbf43951acd56e7b04b6efb17e6cb269b329f1a84d60cbe10a3ff04e86c1983ec603bdcf7fc7ecbb samba-3.6.24.tar.gz -28139035ccbcae4e715e36e5046aa521b28dbb550fd4e6628adbe897f08867c1cb3aeb2558de205792b5a379683c1f6c95bab4513666108a082be9d9749fc545 100-configure_fixes.patch -a6cf2d480c067d498fdfbd30c101fba3b3c51228baee0e82201b3114e1dfdaa2f5abf2db723769418ecbf80df2c3b7c6ce03e18aec2c510ea95ee5522f290d33 110-multicall.patch -1ed1a8becd0fc0f65b89c3060fa154822949332ed1d038bbb3c297fa14422a12c84d1aac93f1bf5539fd3fd255b2b78f49db5a7bf88e987ecbf676c2d0956cab 111-owrt_smbpasswd.patch -4434652e4b128047cf5d3682bc3ad1471354cad6bef2623d298e5a70d15102cc7ec7b4cbca5a7a9677eb45827133ecc064513fbf597beaad99b3fd06f5b7e425 120-add_missing_ifdef.patch -3eeec7eaa254c6d1dab9348ae8615eb6526c66ff38eefde16f5c2596f1f624e68d18d8294f2500c1ed0c91d0350824759fbb1190a42d4f7930242535a836139f 200-remove_printer_support.patch -1a660d4b881f603e547a05c57a40a6693b0e12e994fb0dea74e17da7aefd0fa5a0b9a29e8db4f42792400840e69bc65a787238de3970ee6f2ad7c136ee5dce13 210-remove_ad_support.patch -24ba88aabf703d860e66a18891de4b4c5f63bf28c3f33667f700b0a66282672d883615adcc98be46b1025e3d810182600f0e4730b5bc0b9e906e9cfd7c6086ab 220-remove_services.patch -bb8f7b5359f6f0d9640ff491256f8755622c3e87978d91d84a15b08165329fb86aef257b69e388ce682502311d1fdf85850b486917c49d807c2be0c1a1ee6670 230-remove_winreg_support.patch -e0297ce80a42773e9f2a83edc0b629bd5c640fd7d859e8d61d5c5943589f7e09b05cf61f07bc72607d14f10e822cc1da11520f39605bf8fa2f33d964f91a7a5b 240-remove_dfs_api.patch -1099ba69e5b3f9bbea85507dc53a59a62c4d0a30e20021287203e18b926579fe3804c030109fc3d2068b010195195acaaefa92025331123922c73f69b9ac9485 250-remove_domain_logon.patch -502b9c602afdf1474191dea7e5215246b0164a6457a839f08d9e6dc187cbf473a22226205081ed73037f98cf2898ab67d8ae457d43a515932f416fd463f8b45d 260-remove_samr.patch -87f1b97ef65e24f67d71117927e11bfa6bf2af935a22dab0bf8312c6825b23083c01c8e458dd3c45951ba09279eac5c6a051fdadc1cbadac11fb6f54ea27647d 270-remove_registry_backend.patch -acc5bfc79156bc334e321622370235fde9078707eac236ba28a6cd247ba6a68de42c4730f374ec7d50b8b8f95f4780224b0640735cd820cade676a4aff817d77 280-strip_srvsvc.patch -ab6d4af8dac09979a7dc88be22e6719c5ecc1465c9fdb7bfd1219ddc3610c5a6ee2a957369653c378b3b066b5d5d9242c6b09d09950688cb48275122c59c0d79 290-remove_lsa.patch -67ef8ccfe245e7afa07e61b540485efc635361878f1d4e3c342edc0d70ca742cb23e51e4e65c79f4377c6ff5ae4a42b4f38a4fbcdaec3391f5c726aaf6ca7f82 300-assert_debug_level.patch -f1b35d6dfb23eee4553d1edb0dbf0cd6c2d13a85915ca7f438b6adb4cf1b3cd1348cd08fb579b3e365d8fa57f969cc763c3b6867b275270bf61b5964ac4c5a9e 310-remove_error_strings.patch -63accd6a1cf3537a95ab213049bfc4f6574f0e8e882af8da159456360cc7f5ed69e147fc933d8520aa9619d057eae90649e46ac5b70708854a3cc25bcb9de26c 320-debug_level_checks.patch -06de34eeddb0f1ba4266ef5d7b4282ca9f59635006fd086c2c59e268618a53ea5147adce6f8c739bbe204ef146f1e96dc3b8062afb49d5c80638c3fb6988f50a 330-librpc_default_print.patch -b5757cbf070e93ab63d2adadb40ecc7796da5425ca267bd513821d8c99b603085920ba477c3a52c2ed41307f34d505401f0e53c4fab956260abe4bb75c52bb5d smb.conf.template -923631eabf5f39c617c927d31985b712af5f562abeea7d6a271cb56e07e5812738543ccb36c7e82b7a7237b41be0bb7973245c1ff6a21d3a0ed496ef84c3c544 samba.initd -4faf581ecef3ec38319e3c4ab6d3995c51fd7ba83180dc5553a2ff4dfb92efadb43030c543292130c4ed0c281dc0972c6973d52d48062c5edb39bb1c4bbb6dd6 samba.confd" diff --git a/unmaintained/samba36/samba.confd b/unmaintained/samba36/samba.confd deleted file mode 100644 index 3788c3c173..0000000000 --- a/unmaintained/samba36/samba.confd +++ /dev/null @@ -1,6 +0,0 @@ -# add "winbindd" to daemon_list if you want start winbind from here as well -daemon_list="smbd nmbd" - -smbd_options="-D" -nmbd_options="-D" -#winbindd_options="" diff --git a/unmaintained/samba36/samba.initd b/unmaintained/samba36/samba.initd deleted file mode 100644 index 4e4f2de71e..0000000000 --- a/unmaintained/samba36/samba.initd +++ /dev/null @@ -1,56 +0,0 @@ -#!/sbin/openrc-run - -extra_started_commands="reload" - -DAEMON=${SVCNAME#samba.} -if [ "$DAEMON" != "samba" ]; then - daemon_list=$DAEMON -fi - -depend() { - need net - after firewall -} - -start_smbd() { - start-stop-daemon --start --quiet --exec /usr/sbin/smbd -- \ - ${smbd_options:-"-D"} -} - -stop_smbd() { - start-stop-daemon --stop --quiet --pidfile /var/run/smbd.pid -} - -start_nmbd() { - start-stop-daemon --start --quiet --exec /usr/sbin/nmbd -- \ - ${nmbd_options:-"-D"} -} - -stop_nmbd() { - start-stop-daemon --stop --quiet --pidfile /var/run/nmbd.pid -} - -start() { - for i in $daemon_list; do - ebegin "Starting $i" - start_$i - eend $? - done -} - -stop() { - for i in $daemon_list; do - ebegin "Stopping $i" - stop_$i - eend $? - done -} - -reload() { - for i in $daemon_list; do - ebegin "Reloading $i" - killall -HUP $i - eend $? - done -} - diff --git a/unmaintained/samba36/smb.conf.template b/unmaintained/samba36/smb.conf.template deleted file mode 100644 index 38a385574b..0000000000 --- a/unmaintained/samba36/smb.conf.template +++ /dev/null @@ -1,34 +0,0 @@ -[global] - netbios name = |NAME| - display charset = |CHARSET| - interfaces = |INTERFACES| - server string = |DESCRIPTION| - unix charset = |CHARSET| - workgroup = |WORKGROUP| - browseable = yes - deadtime = 30 - domain master = yes - encrypt passwords = true - enable core files = no - guest account = nobody - guest ok = yes - invalid users = root - local master = yes - load printers = no - map to guest = Bad User - max protocol = SMB2 - min receivefile size = 16384 - null passwords = yes - obey pam restrictions = yes - os level = 20 - passdb backend = smbpasswd - preferred master = yes - printable = no - security = user - smb encrypt = disabled - smb passwd file = /etc/samba/smbpasswd - socket options = TCP_NODELAY IPTOS_LOWDELAY - syslog = 2 - use sendfile = yes - writeable = yes - diff --git a/unmaintained/sarg/APKBUILD b/unmaintained/sarg/APKBUILD deleted file mode 100644 index 6a367350dd..0000000000 --- a/unmaintained/sarg/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=sarg -pkgver=2.3.5 -pkgrel=0 -pkgdesc="SARG Squid Analysis Report Generator" -url="http://sarg.sourceforge.net/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc $pkgname-php" -source="http://sourceforge.net/projects/sarg/files/sarg/sarg-$pkgver/sarg-$pkgver.tar.gz" - -_builddir="$srcdir"/sarg-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc/sarg \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -php() { - pkgdesc="SARG php interface" - depends="php" - arch="noarch" - cd "$_builddir" - mkdir -p "$subpkgdir"/usr/share/webapps - cp -a sarg-php \ - "$subpkgdir"/usr/share/webapps -} - -md5sums="a10545aa0571f73789d81dcfca5bfb3c sarg-2.3.5.tar.gz" -sha256sums="661560a3dfbf793ac02260adf8f457029b7cebf676d04a0ecb09b3ba06e0b0fb sarg-2.3.5.tar.gz" -sha512sums="db71db2212d5f4de7d39c0610f7ba0222618a698d5fa6e3a5f8243a0e0bb588d89319e1bca55a92991db01e506e0892e42a8dbd5d132ab6fba7e6421de743f1a sarg-2.3.5.tar.gz" diff --git a/unmaintained/sc101-nbd/APKBUILD b/unmaintained/sc101-nbd/APKBUILD deleted file mode 100644 index a4059892ae..0000000000 --- a/unmaintained/sc101-nbd/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Mika Havela -# Maintainer: Mika Havela -pkgname=sc101-nbd -pkgver=0.03 -pkgrel=0 -pkgdesc="Software to access the the Netgear Storage Central 101 (sc101) as a block device, without requiring a new kernel module." -url="http://code.google.com/p/sc101-nbd/" -arch="x86" -license="GNU GPL v2" -depends="" -depends_dev="gzip" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://sc101-nbd.googlecode.com/files/sc101-nbd_${pkgver}.tar.gz" - -_builddir="$srcdir"/"$pkgname"-"$pkgver" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="92cc1a4f11c971fede8e0a1e69e1ce2d sc101-nbd_0.03.tar.gz" diff --git a/unmaintained/scantailor/APKBUILD b/unmaintained/scantailor/APKBUILD deleted file mode 100644 index c6e8689dd4..0000000000 --- a/unmaintained/scantailor/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=scantailor -pkgver=0.9.11.1 -pkgrel=0 -pkgdesc="Interactive post-processing tool for scanned pages" -url="http://scantailor.sourceforge.net" -arch="all" -license="GPL" -depends="" -depends_dev="qt-dev boost-dev libjpeg-turbo-dev tiff-dev" -makedepends="$depends_dev cmake" -install="" -subpackages="$pkgname-cli" -source="http://downloads.sourceforge.net/scantailor/scantailor-$pkgver.tar.gz" - -_builddir="$srcdir"/scantailor-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - cmake \ - -DCMAKE_CXX_FLAGS="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \ - -DCMAKE_CXX_FLAGS_DEBUG="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \ - -DCMAKE_CXX_FLAGS_RELEASE="-DBOOST_NO_MEMBER_TEMPLATE_FRIENDS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release . - make -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install -} - -cli() { - pkgdesc="scantailer cli" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir/"usr/bin/scantailor-cli \ - "$subpkgdir"/usr/bin/ -} - -md5sums="6cdca1b6d1dafd022ea94b4800dad340 scantailor-0.9.11.1.tar.gz" -sha256sums="881647a4172c55a067a7b6687965441cf21176d79d93075b22a373ea9accd8d3 scantailor-0.9.11.1.tar.gz" -sha512sums="cec327fd12144f7cee5043adfee3880c75fb147474e4c3b5166385f7a8f47cb5650ed2df930bbe1f4b8ac2c7229a887ecba1ca105b47b1023f5d3d7d7b54bdb4 scantailor-0.9.11.1.tar.gz" diff --git a/unmaintained/schedtool/APKBUILD b/unmaintained/schedtool/APKBUILD deleted file mode 100644 index be8fa6416e..0000000000 --- a/unmaintained/schedtool/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: William Pitcock -pkgname=schedtool -pkgver=1.3.0 -pkgrel=0 -pkgdesc="scheduler tool" -url="http://freequaos.host.sk/schedtool/" -arch="all" -license="GPLv2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://freequaos.host.sk/schedtool/schedtool-$pkgver.tar.bz2" - -_builddir="$srcdir"/schedtool-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTPREFIX="/usr" DESTDIR="$pkgdir" install || return 1 -} - -md5sums="0d968f05d3ad7675f1f33ef1f6d0a3fb schedtool-1.3.0.tar.bz2" diff --git a/unmaintained/scrub/APKBUILD b/unmaintained/scrub/APKBUILD deleted file mode 100644 index 4e2dc3a2c5..0000000000 --- a/unmaintained/scrub/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=scrub -pkgver=2.6.1 -pkgrel=0 -pkgdesc="A disk overwrite utility" -url="http://code.google.com/p/diskscrub/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="perl" -install="" -subpackages="$pkgname-doc" -source="https://github.com/chaos/scrub/releases/download/$pkgver/scrub-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="46801354b01f0c619207d6f2df796a6b scrub-2.6.1.tar.gz" -sha256sums="43d98d3795bc2de7920efe81ef2c5de4e9ed1f903c35c939a7d65adc416d6cb8 scrub-2.6.1.tar.gz" -sha512sums="6e434b9d81c5ac473188c37af790c808771204203b3f04a5ca316c6a890f872d1beb73ce4713546e14ae91287d7adaf2fbfa44a30af634c2b3af890e2a0e8640 scrub-2.6.1.tar.gz" diff --git a/unmaintained/scummvm/APKBUILD b/unmaintained/scummvm/APKBUILD deleted file mode 100644 index f4e7e84bb5..0000000000 --- a/unmaintained/scummvm/APKBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Contributor: Timo Teräs -# Maintainer: Timo Teräs -pkgname=scummvm -pkgver=1.7.0 -pkgrel=0 -pkgdesc="engine for several graphical adventure games" -url="http://www.scummvm.org/" -arch="all" -license="GPL2" -depends="" -makedepends="libogg-dev libvorbis-dev libtheora-dev zlib-dev - libpng-dev jpeg-dev glu-dev sdl-dev alsa-lib-dev freetype-dev" -install="" -subpackages="" -source="http://prdownloads.sourceforge.net/scummvm/scummvm-$pkgver.tar.bz2" - -_builddir="$srcdir"/scummvm-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - # nasm disabled due to non-pic/pie compatible assembly - # dynamic plugins disabled due to sdl built without dlopen - ./configure \ - --prefix=/usr \ - --enable-all-engines \ - --enable-release \ - --disable-nasm \ - || exit 1 - make -} - -package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" -} - -md5sums="be91bf3fa2f1b44a82c92cfe8c5cc1c8 scummvm-1.7.0.tar.bz2" -sha256sums="d9ff0e8cf911afa466d5456d28fef692a17d47ddecfd428bf2fef591237c2e66 scummvm-1.7.0.tar.bz2" -sha512sums="0133feb2df58461fb0e42b1e84cfb309bd964dad239f7ca0c7529edd4f4716895a45491e31597ec6f6d17361b0ce8f73c317399db07a1249b2ab570e4829000e scummvm-1.7.0.tar.bz2" diff --git a/unmaintained/seafile/APKBUILD b/unmaintained/seafile/APKBUILD deleted file mode 100644 index 1631503e75..0000000000 --- a/unmaintained/seafile/APKBUILD +++ /dev/null @@ -1,109 +0,0 @@ -# Contributor: -# Maintainer: Natanael Copa -pkgname=seafile -pkgver=4.2.6 -pkgrel=3 -pkgdesc="Cloud storage system with advanced support for file syncing, privacy protection and teamwork" -url="https://github.com/haiwen/seafile/" -arch="all" -license="GPL3" -makedepends="autoconf automake bash ccnet-dev curl-dev fuse-dev glib-dev - intltool jansson-dev libarchive-dev libevent-dev libevhtp-dev - libsearpc-dev libtool libzdb-dev openssl-dev sqlite-dev util-linux-dev - vala bsd-compat-headers libevhtp-dev" -depends="bash ${pkgname}-common" -pkgusers="seafile" -pkggroups="seafile" -source="$pkgname-$pkgver.tar.gz::https://github.com/haiwen/seafile/archive/v${pkgver}.tar.gz - seafile-controller.patch seafile-scripts.patch seafile.initd seafile.confd" -subpackages="$pkgname-dev $pkgname-doc py-$pkgname:py $pkgname-server - $pkgname-common" -install="seafile-server.pre-install seafile-server.post-install" - -_builddir="${srcdir}/${pkgname}-${pkgver}" - -prepare() { - local pf - cd "${_builddir}" || return 1 - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done -} - -build() { - cd "${_builddir}" - ./autogen.sh - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-server \ - --enable-python \ - --enable-fuse \ - --enable-client \ - --enable-console - make CFLAGS="$CFLAGS $(pkgconf --cflags evhtp)" || return 1 -} - -package() { - cd "${_builddir}" - make DESTDIR="${pkgdir}" install || return 1 - rm "${pkgdir}"/usr/lib/libseafile.la || return 1 -} - -py() { - arch="noarch" - cd "$_builddir" - pkgdesc="$pkgname python bindings" - install -d "$subpkgdir"/usr/lib || return 1 - mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ || return 1 -} - -common() { - mkdir -p "${subpkgdir}"/usr/bin || return 1 - mkdir -p "${subpkgdir}"/usr/lib || return 1 - mv "${pkgdir}"/usr/bin/seafile "${subpkgdir}"/usr/bin - mv "${pkgdir}"/usr/lib/libseafile.so.0* "${subpkgdir}"/usr/lib -} - -server() { - mkdir -p "${subpkgdir}"/usr/bin - for b in "${pkgdir}"/usr/bin/*; do - if [[ "$b" != "${pkgdir}/usr/bin/seaf-cli" ]] && \ - [[ "$b" != "${pkgdir}/usr/bin/seaf-daemon" ]] && \ - [[ "$b" != "${pkgdir}/usr/bin/seafile" ]]; then - mv "$b" "${subpkgdir}/usr/bin" || return 1 - fi - done - mkdir -m 755 -p "${subpkgdir}"/usr/share/seafile || return 1 - cp -ar "${_builddir}"/scripts "${subpkgdir}"/usr/share/seafile || return 1 - install -D -m0644 "${srcdir}"/seafile.confd "${subpkgdir}"/etc/conf.d/seafile \ - || return 1 - install -D -m0755 "${srcdir}"/seafile.initd "${subpkgdir}"/etc/init.d/seafile \ - || return 1 - - #make dirs for default instance - SEAFILE_HOME="${subpkgdir}"/var/lib/seafile - SEAFILE_DEFAULT=$SEAFILE_HOME/default - mkdir -m 755 -p $SEAFILE_DEFAULT 2>/dev/null - chown seafile:seafile $SEAFILE_DEFAULT - -} -md5sums="d05600bf1187e0354ee8e85f3074a786 seafile-4.2.6.tar.gz -3f2b5457441871a4922d873e2b386711 seafile-controller.patch -5d5217a4616ba9d57b56f0b61797b419 seafile-scripts.patch -d2319373c376bff87a3005057d887193 seafile.initd -cc33cc3ef3b04415a7b1d160e6b64e2b seafile.confd" -sha256sums="a4a51dbdd5b2c49a8b1cb16ffacea92a0f52b5a0050c0de20057893f183d9e40 seafile-4.2.6.tar.gz -03fa3d43bcaed4bf720e7cbec5ea0fe9e1d8d90987bc8b69a045dafe10e1c27a seafile-controller.patch -42fc1ed64c0a3cac0c5f74f2c269d96eba80e8b7a9dbff6332726342b576edf6 seafile-scripts.patch -aaf173e5df205fc4b152f6d75c5b3b7ec738bb1acbbe413ea6fce268b1d830c1 seafile.initd -a78183173ce054a245878d309dda9bff7981193d2b0594d299030e403e857952 seafile.confd" -sha512sums="83d55c0cd6ac6fdca5b6dde50c0d3f402894621271bf9b2c5e24106672ac091c23c7ba8e124d88f5142d2eed4373f078f45793699402bf7732804762f1928cfa seafile-4.2.6.tar.gz -6b70df847d2d3f1fbd856f220dd5686d04c1ee4810c60d3bb28c80e85f508d3b448a0e6cfb9a83a43876285968ec917867838ef31c00cfb431a8e1e953241246 seafile-controller.patch -9af26dbbc62c2e135d1ecb29243de658524d3cdbcfdfbaafcb30e137d0230792a7466b7b01a449a113ddf87f89acdceaf8c06192dd2ee28b3bbd18e9973a7b0d seafile-scripts.patch -66b84519ab66e7435da13a2ed1869bac3ead1f7b46ed4b0a5ecda6dfcea056c5e0af8abcf1eba00fc2e68b8df7e07e3951968c385850f01ecf46f08dfdbe7083 seafile.initd -051ccc065a3b7abc7c802e00e364da1c3f689e133c4ba37385dbff97cfe8ad4b490cf53778344d129213fb0238258690a47f5e737387bce1368db59d22ee8504 seafile.confd" diff --git a/unmaintained/seafile/seafile-controller.patch b/unmaintained/seafile/seafile-controller.patch deleted file mode 100644 index 438064d5f3..0000000000 --- a/unmaintained/seafile/seafile-controller.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/controller/seafile-controller.c 2014-01-16 19:56:24.183523103 +0100 -+++ b/controller/seafile-controller.c 2014-01-16 19:55:57.123523652 +0100 -@@ -281,7 +281,7 @@ - tmp = g_path_get_dirname (bin_dir); - installpath = g_path_get_dirname (tmp); - -- topdir = g_path_get_dirname (installpath); -+ // topdir = g_path_get_dirname (installpath); - - g_free (exectuble); - g_free (tmp); -@@ -643,6 +643,7 @@ - return -1; - } - -+ topdir = g_path_get_dirname(config_dir); - ctl->client = ccnet_client_new (); - ctl->sync_client = ccnet_client_new (); - -@@ -657,14 +658,14 @@ - } - - if (logdir == NULL) { -- char *topdir = g_path_get_dirname(config_dir); -+ //char *topdir = g_path_get_dirname(config_dir); - logdir = g_build_filename (topdir, "logs", NULL); - if (checkdir_with_mkdir(logdir) < 0) { - fprintf (stderr, "failed to create log folder \"%s\": %s\n", - logdir, strerror(errno)); - return -1; - } -- g_free (topdir); -+ //g_free (topdir); - } - - ctl->config_dir = config_dir; - diff --git a/unmaintained/seafile/seafile-scripts.patch b/unmaintained/seafile/seafile-scripts.patch deleted file mode 100644 index f6e8978bb5..0000000000 --- a/unmaintained/seafile/seafile-scripts.patch +++ /dev/null @@ -1,103 +0,0 @@ -diff --git a/scripts/seaf-fuse.sh b/scripts/seaf-fuse.sh -index 463002e..92ef285 100755 ---- a/scripts/seaf-fuse.sh -+++ b/scripts/seaf-fuse.sh -@@ -6,10 +6,7 @@ SCRIPT=$(readlink -f "$0") - INSTALLPATH=$(dirname "${SCRIPT}") - TOPDIR=$(dirname "${INSTALLPATH}") - default_ccnet_conf_dir=${TOPDIR}/ccnet --seaf_fuse=${INSTALLPATH}/seafile/bin/seaf-fuse -- --export PATH=${INSTALLPATH}/seafile/bin:$PATH --export SEAFILE_LD_LIBRARY_PATH=${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/lib64:${LD_LIBRARY_PATH} -+seaf_fuse=/usr/bin/seaf-fuse - - script_name=$0 - function usage () { -diff --git a/scripts/seaf-gc.sh b/scripts/seaf-gc.sh -index 489961a..605fabd 100755 ---- a/scripts/seaf-gc.sh -+++ b/scripts/seaf-gc.sh -@@ -6,12 +6,9 @@ SCRIPT=$(readlink -f "$0") - INSTALLPATH=$(dirname "${SCRIPT}") - TOPDIR=$(dirname "${INSTALLPATH}") - default_ccnet_conf_dir=${TOPDIR}/ccnet --seaf_gc=${INSTALLPATH}/seafile/bin/seafserv-gc -+seaf_gc=/usr/bin/seafserv-gc - seaf_gc_opts="" - --export PATH=${INSTALLPATH}/seafile/bin:$PATH --export SEAFILE_LD_LIBRARY_PATH=${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/lib64:${LD_LIBRARY_PATH} -- - script_name=$0 - function usage () { - echo "usage : " -diff --git a/scripts/seafile.sh b/scripts/seafile.sh -index e04d65f..9ca171c 100755 ---- a/scripts/seafile.sh -+++ b/scripts/seafile.sh -@@ -17,12 +17,7 @@ INSTALLPATH=$(dirname "${SCRIPT}") - TOPDIR=$(dirname "${INSTALLPATH}") - default_ccnet_conf_dir=${TOPDIR}/ccnet - ccnet_pidfile=${INSTALLPATH}/runtime/ccnet.pid --seaf_controller="${INSTALLPATH}/seafile/bin/seafile-controller" -- -- --export PATH=${INSTALLPATH}/seafile/bin:$PATH --export ORIG_LD_LIBRARY_PATH=${LD_LIBRARY_PATH} --export SEAFILE_LD_LIBRARY_PATH=${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/lib64:${LD_LIBRARY_PATH} -+seaf_controller="/usr/bin/seafile-controller" - - script_name=$0 - function usage () { -@@ -102,7 +97,7 @@ function start_seafile_server () { - - echo "Starting seafile server, please wait ..." - -- LD_LIBRARY_PATH=$SEAFILE_LD_LIBRARY_PATH ${seaf_controller} -c "${default_ccnet_conf_dir}" -d "${seafile_data_dir}" -+ ${seaf_controller} -c "${default_ccnet_conf_dir}" -d "${seafile_data_dir}" - - sleep 3 - -diff --git a/scripts/setup-seafile.sh b/scripts/setup-seafile.sh -index f7c181c..e88fbce 100755 ---- a/scripts/setup-seafile.sh -+++ b/scripts/setup-seafile.sh -@@ -8,8 +8,6 @@ default_seafile_data_dir=${TOPDIR}/seafile-data - default_seahub_db=${TOPDIR}/seahub.db - default_conf_dir=${TOPDIR}/conf - --export SEAFILE_LD_LIBRARY_PATH=${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/lib64:${LD_LIBRARY_PATH} -- - use_existing_ccnet="false" - use_existing_seafile="false" - -@@ -395,8 +393,8 @@ echo - echo "If you are OK with the configuration, press [ENTER] to continue." - read dummy - --ccnet_init=${INSTALLPATH}/seafile/bin/ccnet-init --seaf_server_init=${INSTALLPATH}/seafile/bin/seaf-server-init -+ccnet_init=/usr/bin/ccnet-init -+seaf_server_init=/usr/bin/seaf-server-init - - # ------------------------------------------- - # Create ccnet conf -@@ -404,7 +402,7 @@ seaf_server_init=${INSTALLPATH}/seafile/bin/seaf-server-init - if [[ "${use_existing_ccnet}" != "true" ]]; then - echo "Generating ccnet configuration in ${default_ccnet_conf_dir}..." - echo -- if ! LD_LIBRARY_PATH=$SEAFILE_LD_LIBRARY_PATH "${ccnet_init}" -c "${default_ccnet_conf_dir}" --name "${server_name}" --port "${server_port}" --host "${ip_or_domain}"; then -+ if ! "${ccnet_init}" -c "${default_ccnet_conf_dir}" --name "${server_name}" --port "${server_port}" --host "${ip_or_domain}"; then - err_and_quit; - fi - -@@ -419,7 +417,7 @@ sleep 0.5 - if [[ "${use_existing_seafile}" != "true" ]]; then - echo "Generating seafile configuration in ${seafile_data_dir} ..." - echo -- if ! LD_LIBRARY_PATH=$SEAFILE_LD_LIBRARY_PATH ${seaf_server_init} --seafile-dir "${seafile_data_dir}" \ -+ if ! ${seaf_server_init} --seafile-dir "${seafile_data_dir}" \ - --port ${seafile_server_port} --fileserver-port ${fileserver_port}; then - - echo "Failed to generate seafile configuration" diff --git a/unmaintained/seafile/seafile-server.post-install b/unmaintained/seafile/seafile-server.post-install deleted file mode 100644 index 4e46bd8da5..0000000000 --- a/unmaintained/seafile/seafile-server.post-install +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -SEAFILE_HOME=/var/lib/seafile -SEAFILE_DEFAULT=$SEAFILE_HOME/default - -if [[ ! -d $SEAFILE_DEFAULT/scripts ]]; then - cd $SEAFILE_DEFAULT - cp -ar /usr/share/seafile/scripts . -fi \ No newline at end of file diff --git a/unmaintained/seafile/seafile-server.pre-install b/unmaintained/seafile/seafile-server.pre-install deleted file mode 100644 index 7e3df0b5ef..0000000000 --- a/unmaintained/seafile/seafile-server.pre-install +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -SEAFILE_HOME=/var/lib/seafile - -addgroup -S -g 800 seafile 2>/dev/null -adduser -S -u 800 -D -h $SEAFILE_HOME -s /bin/sh -G seafile -g seafile seafile 2>/dev/null - -exit 0 diff --git a/unmaintained/seafile/seafile.confd b/unmaintained/seafile/seafile.confd deleted file mode 100644 index b169b0e55f..0000000000 --- a/unmaintained/seafile/seafile.confd +++ /dev/null @@ -1,4 +0,0 @@ -instance="default" - -seafile_user="seafile" -seafile_group="seafile" diff --git a/unmaintained/seafile/seafile.initd b/unmaintained/seafile/seafile.initd deleted file mode 100644 index b92a7653ad..0000000000 --- a/unmaintained/seafile/seafile.initd +++ /dev/null @@ -1,16 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need net -} - -start() { - ebegin "Starting Seafile $instance instance" - start-stop-daemon --chdir /var/lib/seafile/$instance --user $seafile_user \ - --group $seafile_group /usr/bin/seafile-admin start $seafile_opts -} - -stop() { - ebegin "Stopping Seafile $instance instance" - start-stop-daemon --chdir /var/lib/seafile/$instance /usr/bin/seafile-admin stop -} diff --git a/unmaintained/series60-remote/APKBUILD b/unmaintained/series60-remote/APKBUILD deleted file mode 100644 index 2624914dca..0000000000 --- a/unmaintained/series60-remote/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Natanael Copa -# Maintainer: Natanael Copa -pkgname=series60-remote -pkgver=0.4.0 -pkgrel=1 -pkgdesc="S60 operating system mobile phone manager" -url="http://series60-remote.sourceforge.net" -arch="noarch" -license="GPL" -depends="py-qt py-bluez qt-sqlite" -makedepends= -install= -subpackages= -options="!tracedeps" -source="http://downloads.sourceforge.net/project/series60-remote/series60-remote/$pkgver/series60-remote-$pkgver.tar.gz" - -_builddir="$srcdir"/series60-remote-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="adc345c3998e594da86c4df150f851e0 series60-remote-0.4.0.tar.gz" diff --git a/unmaintained/setserial/APKBUILD b/unmaintained/setserial/APKBUILD deleted file mode 100644 index 3af101e884..0000000000 --- a/unmaintained/setserial/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: Carlo Landmeter -pkgname=setserial -pkgver=2.17 -pkgrel=0 -pkgdesc="Serial driver config tool" -url="http://sourceforge.net/projects/setserial/" -license="GPL" -depends= -makedepends="groff" -install= -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz - setserial.patch - " -arch="all" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - patch -p1 -i "$srcdir"/setserial.patch -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8 - make DESTDIR="$pkgdir" install -} - -md5sums="c4867d72c41564318e0107745eb7a0f2 setserial-2.17.tar.gz -99919d3be7c1550721494070a7ace66a setserial.patch" diff --git a/unmaintained/setserial/setserial.patch b/unmaintained/setserial/setserial.patch deleted file mode 100644 index 3cce1f07d3..0000000000 --- a/unmaintained/setserial/setserial.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -ur setserial-2.17/Makefile.in setserial-2.17-new/Makefile.in ---- setserial-2.17/Makefile.in 2000-01-27 16:39:07.000000000 +0100 -+++ setserial-2.17-new/Makefile.in 2005-03-09 20:53:31.000000000 +0100 -@@ -17,6 +17,11 @@ - INCS = -I. - TAR = tar - -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+bindir=@bindir@ -+mandir=@mandir@ -+ - all: setserial setserial.cat - - setserial: setserial.c -@@ -26,9 +31,9 @@ - nroff -man setserial.8 > setserial.cat - - install: setserial setserial.8 -- $(INSTALL_PROGRAM) setserial $(DESTDIR)/bin -- $(STRIP) $(DESTDIR)/bin/setserial -- $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8 -+ $(INSTALL_PROGRAM) setserial $(DESTDIR)$(bindir) -+ $(STRIP) $(DESTDIR)$(bindir)/setserial -+ $(INSTALL_DATA) setserial.8 $(DESTDIR)$(mandir)/man8 - - clean: - $(RM) setserial setserial.o setserial.cat *~ diff --git a/unmaintained/shairplay/APKBUILD b/unmaintained/shairplay/APKBUILD deleted file mode 100644 index cb037a2318..0000000000 --- a/unmaintained/shairplay/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=shairplay -pkgver=20151215 -_pkgver=d8e9e32d7ee6b98f13df8ec48565c1f3da0f3062 -pkgrel=0 -pkgdesc="Apple airplay and raop protocol server" -url="https://github.com/juhovh/shairplay" -arch="all" -license="GPLv3" -depends="avahi libao avahi-compat-libdns_sd" -depends_dev="autoconf automake libtool libltdl libao-dev avahi-compat-libdns_sd" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="https://github.com/juhovh/shairplay/archive/$_pkgver.zip - $pkgname.confd - $pkgname.initd" -_builddir="$srcdir"/$pkgname-$_pkgver - -build() { - cd "$_builddir" - sed -e 's/airport.key/\/etc\/shairplay\/airport.key/g' -i src/shairplay.c - ./autogen.sh - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc/shairplay - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - install -Dm644 airport.key "$pkgdir"/etc/shairplay/airport.key - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm755 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname \ - || return 1 - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname \ - || return 1 - rm -f "$pkgdir"/usr/lib/*.la -} - -md5sums="3f8e6f065a22fba2402ed782e1011974 d8e9e32d7ee6b98f13df8ec48565c1f3da0f3062.zip -0efed5b1b7ade0ad43fed454ec5ab046 shairplay.confd -a7ec56ee24efbf00753c7e0f89f4d870 shairplay.initd" -sha256sums="07fd02fd37e96ffcb1b8a1768443beeb5e5372776f12268d9107a74f7a13d67a d8e9e32d7ee6b98f13df8ec48565c1f3da0f3062.zip -e1c40726a08253d5c905fef4dda1ae42595163425589e46c717f09dd736d5d27 shairplay.confd -3278b3dc6d32db7646514680934f1327eb2910dbbf68f860fd36a2aa0cedef6b shairplay.initd" -sha512sums="fe1d896628acd395168f76ff52a2467d8cea1e9300eca3053f2ed7d5f202b281059e1c18c86e4ef9fd716f4c8c5d3776f81b4f845b922df8776dc3b785294fe0 d8e9e32d7ee6b98f13df8ec48565c1f3da0f3062.zip -5823ce231f49deb5fb6d80dc3dc469e14d5b9e998984aff5178626b84a50bb8dcfa47a6d035cdc286d4e1c58569c315e6985ce91c86812e84d5a518d62bce359 shairplay.confd -5ee1fc76ad17fc61cfa138f86c35227dc12dac4bfda73efa75c88ed3e8ad28b1fa84efe2ded01739d8960581cd3243d3037e6476e840d06fe66a9d2d148f5149 shairplay.initd" diff --git a/unmaintained/shairplay/shairplay.confd b/unmaintained/shairplay/shairplay.confd deleted file mode 100644 index 01f1ff0379..0000000000 --- a/unmaintained/shairplay/shairplay.confd +++ /dev/null @@ -1,10 +0,0 @@ -# Options supported: -#-a, --apname=AirPort Sets Airport name -#-p, --password=secret Sets password -#-o, --server_port=5000 Sets port for RAOP service -#--ao_driver=driver Sets the ao driver (optional) -#--ao_devicename=devicename Sets the ao device name (optional) -#--ao_deviceid=id Sets the ao device id (optional) - -APNAME="$(hostname)" -SHAIRPLAY_OPTS="-a $APNAME" diff --git a/unmaintained/shairplay/shairplay.initd b/unmaintained/shairplay/shairplay.initd deleted file mode 100644 index 51dded347a..0000000000 --- a/unmaintained/shairplay/shairplay.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/runscript -# Released under the 2-clause BSD license. - -depend() { - need net - need avahi -} - -start() { - ebegin "Starting shairplay" - start-stop-daemon --start --background --pidfile /var/run/shairplay.pid --make-pidfile --exec /usr/bin/shairplay -- ${SHAIRPLAY_OPTS} - eend $? -} - -stop() { - ebegin "Stopping shairplay" - start-stop-daemon --stop --pidfile /var/run/shairplay.pid - eend $? -} diff --git a/unmaintained/shared-desktop-ontologies/APKBUILD b/unmaintained/shared-desktop-ontologies/APKBUILD deleted file mode 100644 index f92bf231d5..0000000000 --- a/unmaintained/shared-desktop-ontologies/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=shared-desktop-ontologies -pkgver=0.6.0 -pkgrel=0 -pkgdesc="shared desktop ontologies library" -url="http://oscaf.sourceforge.net/" -arch="noarch" -license="BSD" -depends= -depends_dev="cmake" -makedepends="$depends_dev" -install="" -subpackages= -source="http://downloads.sourceforge.net/project/oscaf/shared-desktop-ontologies/0.6/shared-desktop-ontologies-$pkgver.tar.bz2" - -_builddir="$srcdir"/shared-desktop-ontologies-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON "$_builddir" || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="2651122ac27de95e91973ed6b88ccf94 shared-desktop-ontologies-0.6.0.tar.bz2" diff --git a/unmaintained/shed/APKBUILD b/unmaintained/shed/APKBUILD deleted file mode 100644 index fc71bea7b9..0000000000 --- a/unmaintained/shed/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=shed -pkgver=1.15 -pkgrel=0 -pkgdesc="A simple hex editor" -url="http://shed.sourceforge.net/" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="ncurses-dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/shed/shed-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="c7d7d464d6b4fa28a7980270d03e0906 shed-1.15.tar.gz" diff --git a/unmaintained/siege/APKBUILD b/unmaintained/siege/APKBUILD deleted file mode 100644 index f1ad3e9c08..0000000000 --- a/unmaintained/siege/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=siege -pkgver=3.0.8 -pkgrel=0 -pkgdesc="HTTP regression testing and benchmarking utility" -url="http://www.joedog.org/JoeDog/Siege" -arch="all" -license="GPL2+" -depends="" -depends_dev="" -makedepends="openssl-dev sed" -install="" -subpackages="$pkgname-dbg $pkgname-doc" -source="http://download.joedog.org/siege/siege-$pkgver.tar.gz - stdint.patch - " - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - sed -i.orig doc/siegerc.in -e 's/^# logfile = *$/logfile = ${HOME}\/siege.log/' -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="ddd2abc8856c58f2495170fe65c34aa6 siege-3.0.8.tar.gz -c4ee44914937d0395636d2b03f0c6169 stdint.patch" -sha256sums="b8b5e3e722b75ab2c8a1a51ca25fc58ae599cf78d84e096242ee57622803b297 siege-3.0.8.tar.gz -f8948f1aa23d0375f2d393f47d993f5b3026d3abe17516fa21f942443e5a6a9a stdint.patch" -sha512sums="d4f3b4ff715212bf42df10fea968af95397206f878a7b190fe49cd80b7fcb9abd0bf7f57e34106b956c2de2d151c58fb187329ffff4a748f44db9f156b729b94 siege-3.0.8.tar.gz -2c36dabd634fc700ebcc7aa9ada41a7f8bd6fb87bf57666631b998efc6e6f7b843c0c49e76659d3cd25954b0069838d80618aaa5fef4731bcc26d25a21061328 stdint.patch" diff --git a/unmaintained/siege/siege-2.72-good.patch b/unmaintained/siege/siege-2.72-good.patch deleted file mode 100644 index 93da6b6eb5..0000000000 --- a/unmaintained/siege/siege-2.72-good.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff -up siege-2.69/doc/Makefile.in.good siege-2.69/doc/Makefile.in ---- siege-2.69/doc/Makefile.in.good 2009-07-04 11:12:24.411980518 -0300 -+++ siege-2.69/doc/Makefile.in 2009-07-04 11:13:19.914733285 -0300 -@@ -498,32 +498,32 @@ uninstall-man: uninstall-man1 uninstall- - - - install-exec-hook: -- @if test -f $(SIEGERC); then \ -- if cmp -s $(srcdir)/siegerc $(SIEGERC); then echo ""; \ -- else \ -- echo ' $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC).new'; \ -- $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC).new; \ -- echo "#####################################################"; \ -- echo "WARNING: File $(SIEGERC) already exists."; \ -- echo " A new resource file has been installed as"; \ -- echo " $(SIEGERC).new. You may want to"; \ -- echo " consider using the newer version in order to"; \ -- echo " take advantage of any new features."; \ -- echo "#####################################################"; \ -- fi; \ -- else \ -- $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC); \ -- fi -- @if test -f $(URLSTXT); then \ -- if cmp -s $(srcdir)/siegerc $(URLSTXT); then echo ""; \ -- else \ -- echo "WARNING: File $(URLSTXT) already exists."; \ -- echo " It was NOT replaced with this installation."; \ -- fi; \ -- else \ -- $(mkinstalldirs) $(sysconfdir); \ -- $(INSTALL_DATA) $(srcdir)/urls.txt $(URLSTXT); \ -- fi -+ #@if test -f $(SIEGERC); then \ -+ # if cmp -s $(srcdir)/siegerc $(SIEGERC); then echo ""; \ -+ # else \ -+ # echo ' $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC).new'; \ -+ # $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC).new; \ -+ # echo "#####################################################"; \ -+ # echo "WARNING: File $(SIEGERC) already exists."; \ -+ # echo " A new resource file has been installed as"; \ -+ # echo " $(SIEGERC).new. You may want to"; \ -+ # echo " consider using the newer version in order to"; \ -+ # echo " take advantage of any new features."; \ -+ # echo "#####################################################"; \ -+ # fi; \ -+ #else \ -+ # $(INSTALL_DATA) $(srcdir)/siegerc $(SIEGERC); \ -+ #fi -+ #@if test -f $(URLSTXT); then \ -+ # if cmp -s $(srcdir)/siegerc $(URLSTXT); then echo ""; \ -+ # else \ -+ # echo "WARNING: File $(URLSTXT) already exists."; \ -+ # echo " It was NOT replaced with this installation."; \ -+ # fi; \ -+ #else \ -+ # $(mkinstalldirs) $(sysconfdir); \ -+ # $(INSTALL_DATA) $(srcdir)/urls.txt $(URLSTXT); \ -+ #fi - - uninstall: - rm -f $(SIEGERC) diff --git a/unmaintained/siege/stdint.patch b/unmaintained/siege/stdint.patch deleted file mode 100644 index 41ccad90b0..0000000000 --- a/unmaintained/siege/stdint.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- ./src/hash.c.orig -+++ ./src/hash.c -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -54,7 +55,7 @@ - private BOOLEAN __lookup(HASH this, char *key); - private void __resize(HASH this); - private unsigned int __genkey(int size, char *str); --private u_int32_t fnv_32_buf(void *buf, size_t len, u_int32_t hval); -+private uint32_t fnv_32_buf(void *buf, size_t len, uint32_t hval); - - /** - * allocs size and space for the -@@ -265,7 +266,7 @@ - * FNV-1a hash each octet in the buffer - */ - while (bp < be) { -- hval ^= (u_int32_t)*bp++; -+ hval ^= (uint32_t)*bp++; - hval += (hval<<1) + (hval<<4) + (hval<<7) + (hval<<8) + (hval<<24); - } - return hval; diff --git a/unmaintained/sipcrack/APKBUILD b/unmaintained/sipcrack/APKBUILD deleted file mode 100644 index 293772c644..0000000000 --- a/unmaintained/sipcrack/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=sipcrack -pkgver=0.2 -pkgrel=0 -pkgdesc="A SIP protocol login cracker" -url="http://packages.debian.org/lenny/sipcrack" -arch="all" -license="Custom" -depends="" -depends_dev="" -makedepends="libpcap-dev openssl-dev" -install="" -subpackages="" -source="http://ftp.de.debian.org/debian/pool/main/s/$pkgname/"$pkgname"_"$pkgver".orig.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - for file in sipcrack sipdump; do - install -Dm 0755 $file "$pkgdir"/usr/bin/$file || return 1 - done -} - -md5sums="b9096c8d537fc231c7d74b759831a4c7 sipcrack_0.2.orig.tar.gz" -sha256sums="5f356dbce7d09c009005af1a49c55e05ae66c8db4e44de862c5191898c49ae6e sipcrack_0.2.orig.tar.gz" -sha512sums="406c0f0ac4f23529e2d58f131c571492fd655d27bb466a5b972cef2c7b8ca5d550d6055ad405a4180b711a5f29027a8d47b43a912b4859ef9fccdb85069a1c45 sipcrack_0.2.orig.tar.gz" diff --git a/unmaintained/sipvicious/APKBUILD b/unmaintained/sipvicious/APKBUILD deleted file mode 100644 index 55fdbb85b7..0000000000 --- a/unmaintained/sipvicious/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=sipvicious -pkgver=0.2.8 -pkgrel=0 -pkgdesc="Tools for auditing SIP based VoIP systems" -url="http://code.google.com/p/sipvicious/" -arch="noarch" -license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://sipvicious.googlecode.com/files/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - return 0 -} - -build() { - cd "$_builddir" - return 0 -} - -package() { - cd "$_builddir" - for file in *.py; do - install -Dm 0755 $file "$pkgdir"/usr/bin/$file || return 1 - done -} - -md5sums="5893b53ff97b89a06383ff6a78b62f36 sipvicious-0.2.8.tar.gz" diff --git a/unmaintained/sisctrl/APKBUILD b/unmaintained/sisctrl/APKBUILD deleted file mode 100644 index 584e35926b..0000000000 --- a/unmaintained/sisctrl/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=sisctrl -pkgver=0.0.20051202 -pkgrel=3 -pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver" -url="http://www.winischhofer.net/linuxsisvga.shtml" -arch="all" -license="GPL" -depends= -makedepends="pkgconfig gtk+-dev libxxf86vm-dev libxrandr-dev libxinerama-dev - libxv-dev" -subpackages="$pkgname-doc" -source="http://www.winischhofer.net/sis/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --mandir=/usr/share/man \ - --with-xv-path=/usr/lib \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install - - mkdir -p "$pkgdir"/usr/share/man/man1 \ - "$pkgdir"/usr/share/pixmaps \ - "$pkgdir"/usr/share/applications - - install -m 644 sisctrl.1x "$pkgdir"/usr/share/man/man1/sisctrl.1 - install -m 644 icons/32x32/sisctrl.xpm "$pkgdir"/usr/share/pixmaps - install -m 644 icons/16x16/sisctrl.png \ - "$pkgdir"/usr/share/pixmaps/sisctrl_16x16.png - install -m 644 icons/32x32/sisctrl.png \ - "$pkgdir"/usr/share/pixmaps/sisctrl_32x32.png - install -m 644 icons/48x48/sisctrl.png \ - "$pkgdir"/usr/share/pixmaps/sisctrl_48x48.png - install -m 644 extra/sisctrl.desktop "$pkgdir"/usr/share/applications || return 1 -} -md5sums="d9db755fe9fd40809b5c30d1ab286d62 sisctrl-0.0.20051202.tar.gz" diff --git a/unmaintained/skroll/APKBUILD b/unmaintained/skroll/APKBUILD deleted file mode 100644 index 7244392b65..0000000000 --- a/unmaintained/skroll/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: z3bra -# Maintainer: z3bra -pkgname=skroll -pkgver=0.4 -pkgrel=0 -pkgdesc="scroll text to stdout" -url="http://git.z3bra.org/cgit.cgi/skroll/" -arch="all" -license="wtfpl" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://git.z3bra.org/cgit.cgi/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2" - -_builddir=$srcdir/$pkgname-$pkgver - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="bd5e78abb228ca976fdd1673171033cc skroll-0.4.tar.bz2" -sha256sums="45d7ab6bd078adc0a4230f05f406e0db47cc0789e3f9c8434488ea28b1ca4c64 skroll-0.4.tar.bz2" -sha512sums="ba9caeee802645743fda27d8992df49610887d9157d6cf953648dd34b4786a3be04f58857f78ed018dbef0730fbabf738ccc330038b9dc9561d2860bfc65fabe skroll-0.4.tar.bz2" diff --git a/unmaintained/slowhttptest/APKBUILD b/unmaintained/slowhttptest/APKBUILD deleted file mode 100644 index 13033a7625..0000000000 --- a/unmaintained/slowhttptest/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=slowhttptest -pkgver=1.6 -pkgrel=0 -pkgdesc="An application Layer DoS attack simulator" -url="http://code.google.com/p/slowhttptest" -arch="all" -license="ASL 2.0" -depends="" -depends_dev="" -makedepends="openssl-dev" -install="" -subpackages="$pkgname-doc" -source="http://slowhttptest.googlecode.com/files/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="72ba999ffee6b00abe25e597fa1d83b2 slowhttptest-1.6.tar.gz" -sha256sums="77c54a64cfa5f12a84729833d9b98d5f27f828f51a5e42ad5914482d0b2bd0d6 slowhttptest-1.6.tar.gz" -sha512sums="34360be27120f5922f68f25690d10d7c2e352c99cdc0224a5de5ad935d00b5e0b79ab9f80dd772fab098767acc1bdba41f7279470e75cd9dba9cf4f6aed28774 slowhttptest-1.6.tar.gz" diff --git a/unmaintained/smap/APKBUILD b/unmaintained/smap/APKBUILD deleted file mode 100644 index 4c6dfa9e43..0000000000 --- a/unmaintained/smap/APKBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=smap -pkgver=20081016 -pkgrel=0 -pkgdesc="A simple scanner for SIP enabled devices" -url="http://www.wormulon.net/smap" -arch="all" -license="BSD" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://mirror2.openwrt.org/sources/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/$pkgname - -prepare() { - return 0 -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -m0755 -D $pkgname "$pkgdir"/usr/bin/$pkgname || return 1 - install -m0755 -D "$_builddir"/fingerprint.db \ - "$pkgdir"/usr/share/$pkgname//fingerprint.db || return 1 -} - -md5sums="814456ccc8fea5688382b7ec55fe44eb smap-20081016.tar.gz" diff --git a/unmaintained/snorenotify/APKBUILD b/unmaintained/snorenotify/APKBUILD deleted file mode 100644 index 23f6d8ca9b..0000000000 --- a/unmaintained/snorenotify/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=snorenotify -pkgver=0.5.2 -pkgrel=0 -pkgdesc="Snorenotify is a multi platform Qt notification framework" -url="https://github.com/Snorenotify/Snorenotify" -arch="all" -license="LGPL3" -depends="" -depends_dev="qt-dev" -makedepends="$depends_dev cmake doxygen" -install="" -subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/Snorenotify/Snorenotify/archive/v$pkgver.tar.gz" - -_builddir="$srcdir"/Snorenotify-$pkgver - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - mkdir -p "$_builddir"/build - cd "$_builddir"/build - cmake "$_builddir" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="508dafd77c2cb1b57239c1dc6ad73727 snorenotify-0.5.2.tar.gz" -sha256sums="105d09fc7bbf2da357046d8227f4530eac4fc027f7a90d0c7dc984b4a337649d snorenotify-0.5.2.tar.gz" -sha512sums="d86c061d4dbda002391333e62b987690916526866b9dd1904304ef92b314cb2f7812c46477666f22508803fbffeeaabea85f00e65389ffa5041dbc92f2241808 snorenotify-0.5.2.tar.gz" diff --git a/unmaintained/sofia-sip/APKBUILD b/unmaintained/sofia-sip/APKBUILD deleted file mode 100644 index a441892665..0000000000 --- a/unmaintained/sofia-sip/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: Francesco Colista -# Maintainer: Francesco Colista -pkgname=sofia-sip -pkgver=1.12.11 -pkgrel=1 -pkgdesc="An open-source SIP User-Agent library" -url="http://sofia-sip.sourceforge.net" -arch="all" -license="LGPL2+" -depends="" -depends_dev="libtool openssl-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.sourceforge.net/sofia-sip/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --prefix=/usr \ - --enable-64 \ - --enable-static=yes \ - --with-openssl \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="f3582c62080eeecd3fa4cd5d4ccb4225 sofia-sip-1.12.11.tar.gz" -sha256sums="2b01bc2e1826e00d1f7f57d29a2854b15fd5fe24695e47a14a735d195dd37c81 sofia-sip-1.12.11.tar.gz" -sha512sums="48bef0223ecf5a31267773c8e2491c1990b4419be67154e350cc9e5644a98e55409d635d7828824de3e0e1658caebe5b61e44d613615beb709ecbe8180be131c sofia-sip-1.12.11.tar.gz" diff --git a/unmaintained/soprano/APKBUILD b/unmaintained/soprano/APKBUILD deleted file mode 100644 index a918267270..0000000000 --- a/unmaintained/soprano/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: William Pitcock -# Maintainer: -pkgname=soprano -pkgver=2.9.4 -pkgrel=5 -pkgdesc="KDE RDF framework" -url="http://soprano.sourceforge.net/" -arch="all" -license="LGPL" -depends= -depends_dev="qt-dev raptor2-dev rasqal-dev redland-dev libiodbc-dev clucene-dev" -makedepends="$depends_dev cmake automoc4 doxygen" -install="" -subpackages="$pkgname-dev" -source="http://sourceforge.net/projects/soprano/files/Soprano/$pkgver/soprano-$pkgver.tar.bz2 - soprano-2.9.4-dbus-1.patch" - -_builddir="$srcdir"/soprano-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - mkdir "$_builddir"/build -} - -build() { - cd "$_builddir"/build - cmake -DCMAKE_INSTALL_PREFIX=/usr "$_builddir" \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir"/build - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="91413e5783efeee0beb747ea4c5c9ef0 soprano-2.9.4.tar.bz2 -46741dc5c70c79c12bde5040bd570e82 soprano-2.9.4-dbus-1.patch" -sha256sums="64066fbd54e71d7ae4c8a4116997448a72808a2813cff3bb5d2c28f0fce9e0e5 soprano-2.9.4.tar.bz2 -9bd7e2bfed9b99c230c8cea0c56c03b07f076c6722c564e7973116a8ff582d75 soprano-2.9.4-dbus-1.patch" -sha512sums="3a907d7fa564cc5641e6d620a46efb3c01f8a141fb3a1afdf72422727d968baf00268c2dce420db24de2e86d3373fdd3473eeabaa736170f76bb2672c8ad80b0 soprano-2.9.4.tar.bz2 -9d8fa3bd0763020a401561a87439d10cdaf7f8b61a475e21d6ab4908a0a10d886ec490bbcd4d71ac7420d09ec1637060ba23aa2e27ee0d92ddbd4905694a6493 soprano-2.9.4-dbus-1.patch" diff --git a/unmaintained/soprano/redland.patch b/unmaintained/soprano/redland.patch deleted file mode 100644 index 24806db411..0000000000 --- a/unmaintained/soprano/redland.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- soprano-2.6.0.orig/cmake/modules/FindRedland.cmake -+++ soprano-2.6.0/cmake/modules/FindRedland.cmake -@@ -113,7 +113,7 @@ - ARGS ${_REDLAND_STORAGE_LIBS} - ) - if(NOT "${_TEST_EXITCODE}" EQUAL 0) -- set(_REDLAND_VERSION_OK) -+# set(_REDLAND_VERSION_OK) - message(STATUS "${_OUTPUT}") - message(STATUS "Redland with broken NEEDED section detected, disabling") - endif(NOT "${_TEST_EXITCODE}" EQUAL 0) diff --git a/unmaintained/soprano/soprano-2.9.4-dbus-1.patch b/unmaintained/soprano/soprano-2.9.4-dbus-1.patch deleted file mode 100755 index 9861c6d2ed..0000000000 --- a/unmaintained/soprano/soprano-2.9.4-dbus-1.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/server/servercore.cpp -+++ b/server/servercore.cpp -@@ -41,7 +41,9 @@ - #include - #include - #include -+#ifdef BUILD_DBUS_SUPPORT - #include -+#endif - - - const quint16 Soprano::Server::ServerCore::DEFAULT_PORT = 5000; diff --git a/unmaintained/spectools/APKBUILD b/unmaintained/spectools/APKBUILD deleted file mode 100644 index 3c10fe79a8..0000000000 --- a/unmaintained/spectools/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=spectools -pkgver=201108 -_pkgver=2011-08-R1 -pkgrel=0 -pkgdesc="Utilities for using Wi-Spy USB spectrum analyzer" -url="https://www.kismetwireless.net/spectools/" -arch="all" -license="GPL2+" -depends="" -depends_dev="gtk+2.0-dev bash cairo-dev libusb-compat-dev" -makedepends="$depends_dev" -install="" -subpackages="" -source="http://www.kismetwireless.net/code/$pkgname-${_pkgver}.tar.gz" - -_builddir="$srcdir"/$pkgname-${_pkgver} -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - autoreconf --install - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/ - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="b742d5c7dec6fbd3c5070e54d43e6570 spectools-2011-08-R1.tar.gz" -sha256sums="ce981cd2b86c6246dc7cb9c0166b85e586e5f5835d3ed147e8901ef18f00220e spectools-2011-08-R1.tar.gz" -sha512sums="92c80b34049055cec6d677db165fb2d06d75fbff9f04d41ab81fa57900f639936e6a9a01f06165aea863b35760964016f0984f17816859d054bc9d14353e847b spectools-2011-08-R1.tar.gz" diff --git a/unmaintained/spectrwm/APKBUILD b/unmaintained/spectrwm/APKBUILD deleted file mode 100644 index f4f739ea56..0000000000 --- a/unmaintained/spectrwm/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Sören Tempel -# Contributor: Gabriel Ruse -# Maintainer: Gabriel Ruse -pkgname=spectrwm -pkgver=2.7.2 -_realver="$(echo $pkgver | tr '.' '_')" -pkgrel=1 -pkgdesc="A small dynamic tilling window manager for X11" -url="https://github.com/conformal/spectrwm/wiki" -arch="all" -license="ICS" -depends="dmenu" -depends_dev="" -makedepends="bsd-compat-headers libxcursor-dev libxft-dev - libxt-dev libxrandr-dev libxcb-dev xcb-util-cursor-dev - xcb-util-keysyms-dev xcb-util-wm-dev libxkbcommon-dev" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/conformal/$pkgname/archive/SPECTRWM_${_realver}.tar.gz" - -_builddir="$srcdir"/$pkgname-SPECTRWM_$_realver/linux -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - make PREFIX=/usr DESTDIR="$pkgdir/" install || return 1 - - mkdir -p "$pkgdir/usr/share/doc/$pkgname" - install -d "$pkgdir/usr/share/man/man1" - install -m644 ../*.1 "$pkgdir"/usr/share/man/man1/ || return 1 - install -m644 ../*.conf "$pkgdir"/usr/share/doc/"$pkgname" || return 1 - install -m644 ../baraction.sh ../initscreen.sh ../screenshot.sh \ - "$pkgdir"/usr/share/doc/"$pkgname" || return 1 -} - -md5sums="64755f7003faf099cebdc3e6b907c4d1 spectrwm-2.7.2.tar.gz" -sha256sums="23a5b306c5cdfda05eba365b652eca34e87f0b4317c7ff8059813adaa1c55afb spectrwm-2.7.2.tar.gz" -sha512sums="9856bf8b6f2d9eea40edcb00e68a9d72751cd04367e797ded8deb929929944f45e17db8834ea5765a47891ba550c4db94d411e483c5d48805c593c55d522452f spectrwm-2.7.2.tar.gz" diff --git a/unmaintained/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch b/unmaintained/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch deleted file mode 100644 index d7947b7751..0000000000 --- a/unmaintained/speech-dispatcher/0001-Make-some-includes-consistent-with-POSIX.patch +++ /dev/null @@ -1,54 +0,0 @@ -From f2dda28648de4bd940be54e827878f081af22ebc Mon Sep 17 00:00:00 2001 -From: Felix Janda -Date: Mon, 23 Mar 2015 21:03:29 +0100 -Subject: [PATCH] Make some includes consistent with POSIX - -Reviewed-by: Luke Yelavich ---- - src/modules/cicero.c | 2 +- - src/modules/spd_audio.c | 2 +- - src/server/module.c | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/modules/cicero.c b/src/modules/cicero.c -index 62332a5..2c69b7e 100644 ---- a/src/modules/cicero.c -+++ b/src/modules/cicero.c -@@ -28,7 +28,7 @@ - #include - #include - #include --#include -+#include - #include - #include - #include -diff --git a/src/modules/spd_audio.c b/src/modules/spd_audio.c -index 3b65bf7..c85e21d 100644 ---- a/src/modules/spd_audio.c -+++ b/src/modules/spd_audio.c -@@ -38,7 +38,7 @@ - - #include - #include --#include -+#include - #include - #include - #include -diff --git a/src/server/module.c b/src/server/module.c -index 0681caf..51746a0 100644 ---- a/src/server/module.c -+++ b/src/server/module.c -@@ -29,7 +29,7 @@ - #include - #include - #include --#include -+#include - #include - #include - #include --- -2.4.0 - diff --git a/unmaintained/speech-dispatcher/0001-Provide-fallback-for-systems-without-TEMP_FAILURE_RE.patch b/unmaintained/speech-dispatcher/0001-Provide-fallback-for-systems-without-TEMP_FAILURE_RE.patch deleted file mode 100644 index c469902448..0000000000 --- a/unmaintained/speech-dispatcher/0001-Provide-fallback-for-systems-without-TEMP_FAILURE_RE.patch +++ /dev/null @@ -1,182 +0,0 @@ -From 98504410b7f77cad7457bfdfcd593e2898c3b461 Mon Sep 17 00:00:00 2001 -From: Felix Janda -Date: Mon, 23 Mar 2015 21:03:12 +0100 -Subject: [PATCH] Provide fallback for systems without TEMP_FAILURE_RETRY - -Reviewed-by: Luke Yelavich ---- - include/safe_io.h | 55 ++++++++++++++++++++++++++++++++++++++++++++++ - src/modules/cicero.c | 6 ++--- - src/server/output.c | 18 +-------------- - src/server/sem_functions.c | 5 +++-- - src/server/speaking.c | 5 ++--- - 5 files changed, 63 insertions(+), 26 deletions(-) - create mode 100644 include/safe_io.h - -diff --git a/include/safe_io.h b/include/safe_io.h -new file mode 100644 -index 0000000..37cfe7f ---- /dev/null -+++ b/include/safe_io.h -@@ -0,0 +1,55 @@ -+/* -+ * safe_io.h - Wrapper around read and write -+ * -+ * Copyright (C) 2001, 2002, 2003, 2007 Brailcom, o.p.s. -+ * -+ * This 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, or (at your option) -+ * any later version. -+ * -+ * This software 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 package; see the file COPYING. If not, write to -+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -+ * Boston, MA 02110-1301, USA. -+ * -+ */ -+ -+#ifdef HAVE_CONFIG_H -+#include -+#endif -+ -+#include -+#include -+ -+#ifdef TEMP_FAILURE_RETRY /* GNU libc */ -+#define safe_read(fd, buf, count) TEMP_FAILURE_RETRY(read(fd, buf, count)) -+#define safe_write(fd, buf, count) TEMP_FAILURE_RETRY(write(fd, buf, count)) -+#else /* TEMP_FAILURE_RETRY */ -+#ifdef HAVE_UNISTD_H -+#include -+#endif -+static inline ssize_t -+safe_read(int fd, void *buf, size_t count) { -+ do { -+ ssize_t w = read(fd, buf, count); -+ -+ if (w == -1 && errno == EINTR) continue; -+ return w; -+ } while (1); -+} -+static inline ssize_t -+safe_write(int fd, const void *buf, size_t count) { -+ do { -+ ssize_t w = write(fd, buf, count); -+ -+ if (w == -1 && errno == EINTR) continue; -+ return w; -+ } while (1); -+} -+#endif /* TEMP_FAILURE_RETRY */ -diff --git a/src/modules/cicero.c b/src/modules/cicero.c -index 237796e..62332a5 100644 ---- a/src/modules/cicero.c -+++ b/src/modules/cicero.c -@@ -26,6 +26,7 @@ - #endif - - #include -+#include - #include - #include - #include -@@ -376,10 +377,7 @@ void *_cicero_speak(void *nothing) - cicero_speaking = 0; - break; - } -- if (ret > 0) -- TEMP_FAILURE_RETRY(read -- (fd1[0], b, -- 2)); -+ if (ret > 0) safe_read(fd1[0], b, 2); - if (cicero_stop) { - cicero_speaking = 0; - module_report_event_stop(); -diff --git a/src/server/output.c b/src/server/output.c -index 40b7e8c..ef98a45 100644 ---- a/src/server/output.c -+++ b/src/server/output.c -@@ -26,27 +26,11 @@ - #endif - - #include -+#include - #include - #include "output.h" - #include "parse.h" - --#ifdef TEMP_FAILURE_RETRY /* GNU libc */ --#define safe_write(fd, buf, count) TEMP_FAILURE_RETRY(write(fd, buf, count)) --#else /* TEMP_FAILURE_RETRY */ --#ifdef HAVE_UNISTD_H --#include --#endif --static inline ssize_t --safe_write(int fd, const void *buf, size_t count) { -- do { -- ssize_t w = write(fd, buf, count); -- -- if (w == -1 && errno == EINTR) continue; -- return w; -- } while (1); --} --#endif /* TEMP_FAILURE_RETRY */ -- - #if !(defined(__GLIBC__) && defined(_GNU_SOURCE)) - /* Added by Willie Walker - strndup is a gcc-ism - */ -diff --git a/src/server/sem_functions.c b/src/server/sem_functions.c -index 0a86f56..430e74c 100644 ---- a/src/server/sem_functions.c -+++ b/src/server/sem_functions.c -@@ -26,6 +26,8 @@ - #include - #endif - -+#include -+ - #include "speechd.h" - #include "sem_functions.h" - -@@ -33,8 +35,7 @@ void speaking_semaphore_post(void) - { - char buf[1]; - buf[0] = 42; -- const ssize_t wr_bytes = -- TEMP_FAILURE_RETRY(write(speaking_pipe[1], buf, 1)); -+ const ssize_t wr_bytes = safe_write(speaking_pipe[1], buf, 1); - if (wr_bytes != 1) - FATAL("write to polled fd: could not write 1 byte"); - } -diff --git a/src/server/speaking.c b/src/server/speaking.c -index bd27008..f2dc289 100644 ---- a/src/server/speaking.c -+++ b/src/server/speaking.c -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - #include "speechd.h" - #include "server.h" - #include "index_marking.h" -@@ -88,9 +89,7 @@ void *speak(void *data) - MSG(5, - "wait_for_poll: activity in Speech Dispatcher"); - const ssize_t rd_bytes = -- TEMP_FAILURE_RETRY(read -- (poll_fds[0].fd, buf, -- 1)); -+ safe_read(poll_fds[0].fd, buf, 1); - if (rd_bytes != 1) - FATAL - ("read from polled fd: could not read 1 byte"); --- -2.4.0 - diff --git a/unmaintained/speech-dispatcher/APKBUILD b/unmaintained/speech-dispatcher/APKBUILD deleted file mode 100644 index 3097c37a73..0000000000 --- a/unmaintained/speech-dispatcher/APKBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=speech-dispatcher -pkgver=0.8.2 -pkgrel=0 -pkgdesc="High-level device independent layer for speech synthesis interface" -url="http://www.freebsoft.org/speechd" -arch="all" -license="GPL2" -depends="" -depends_dev="glib-dev dotconf-dev" -makedepends="$depends_dev intltool libtool" -install="" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="http://devel.freebsoft.org/pub/projects/speechd/speech-dispatcher-$pkgver.tar.gz - 0001-Make-some-includes-consistent-with-POSIX.patch - 0001-Provide-fallback-for-systems-without-TEMP_FAILURE_RE.patch" - -_builddir="$srcdir"/speech-dispatcher-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --without-flite \ - --without-pulse \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 -} - -md5sums="6beee9a1e4792508bf6d638c750229cc speech-dispatcher-0.8.2.tar.gz -a5982a0f81d8463923f286f15dcb141a 0001-Make-some-includes-consistent-with-POSIX.patch -f8f4bbfcd064a1fb35888f85d34e6984 0001-Provide-fallback-for-systems-without-TEMP_FAILURE_RE.patch" -sha256sums="475c109e70670a02aa8bece9b6358d977f16d4ee6c9fc22cfa043cb2d9ddb55f speech-dispatcher-0.8.2.tar.gz -6a08763dd8d42283fb1cd0341ace5c948a3662e522137098a0043cb59308ebbb 0001-Make-some-includes-consistent-with-POSIX.patch -32d72cb4ba7a72cb7714e8f7226b34e21f3e57765a13c39cece38e966857e0c5 0001-Provide-fallback-for-systems-without-TEMP_FAILURE_RE.patch" -sha512sums="2fd2656055cb266fa0cbec87f025c2bca0ab9bc114c0f894f4cfd9f38d480fe1dab27969a17162de24f278269f8cb24a8b4567e114a27271fefba41615c35977 speech-dispatcher-0.8.2.tar.gz -76ad3f2e56a2e3ff85880da337dfae73b9c247b69a64584fbc045dc5055ef9f24a9f7788dae65b91d084b5a0f5c04336d40e6eaa7420abae58bc6d19f3121a9e 0001-Make-some-includes-consistent-with-POSIX.patch -ee5527670346c14c6453ac7aee320dca8360f963599bd95123ef5828d09d7a5c2907dddfd81b8477c198dcc8b1ca98c01fd9c73cd1b74d74083766904c7ea424 0001-Provide-fallback-for-systems-without-TEMP_FAILURE_RE.patch" diff --git a/unmaintained/spice-vdagent/APKBUILD b/unmaintained/spice-vdagent/APKBUILD deleted file mode 100644 index 926f355e45..0000000000 --- a/unmaintained/spice-vdagent/APKBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=spice-vdagent -pkgver=0.15.0 -pkgrel=1 -pkgdesc="Agent for Spice guests" -url="http://spice-space.org/" -arch="all" -license="GPLv3+" -depends="" -depends_dev="" -makedepends="$depends_dev glib-dev spice-protocol libpciaccess-dev dbus-dev - libxrandr-dev libxinerama-dev libxfixes-dev linux-headers" -install="" -subpackages="$pkgname-doc" -source="http://spice-space.org/download/releases/spice-vdagent-$pkgver.tar.bz2 - "$pkgname"d.initd - fix-memcpy-memset-implicit-declaration.patch - " - -_builddir="$srcdir"/spice-vdagent-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -m755 -D "$srcdir/$pkgname"d.initd \ - "$pkgdir"/etc/init.d/"$pkgname"d || return 1 -} - -md5sums="2919ac7a4195b0b4b2588fae90a9241c spice-vdagent-0.15.0.tar.bz2 -038842701e8eb6a2890ecd97f34e9aab spice-vdagentd.initd -083cdf808a24d1855d09a93a52dbeccd fix-memcpy-memset-implicit-declaration.patch" -sha256sums="5bae1747307c2f4195f6de97639391be7c6be6c5673fdcc9febed6faca22bd34 spice-vdagent-0.15.0.tar.bz2 -0aab914c3f71d19452969c8bfae64e72bd970df3903e29602217a951e87c0db9 spice-vdagentd.initd -69bbdffc46bd247f5fdee84e8a06d86b0a59e8dc53e9dc5eb0fd8055d87b9323 fix-memcpy-memset-implicit-declaration.patch" -sha512sums="7d3bdeca2a8a5a63f817c8b0c1c46508e3238e0d2f3a018e44ffa4c7a2b7d0e82b0a2c37a6f35c59fcb23d89de82312edb689dc1de6fdf659004e640b900f436 spice-vdagent-0.15.0.tar.bz2 -0fc2b0a88b0d8707fa814da1b484888763f2bc51792568a38404a15ba88b4b37e4a9f54bc3452cc4605d0026c2af774bb689df6e56ca14b6fa48be5bc81c5705 spice-vdagentd.initd -381f974580aa478a9c0a35d7e6cc5bee57903f47929dea143ee2ddda9952d4b3ed6180a2b2e90ef83b01425d46507ea18bba01c42d32739fd0cc85bcbac59537 fix-memcpy-memset-implicit-declaration.patch" diff --git a/unmaintained/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch b/unmaintained/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch deleted file mode 100644 index ad0de924e9..0000000000 --- a/unmaintained/spice-vdagent/fix-memcpy-memset-implicit-declaration.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- spice-vdagent-0.15.0/src/udscs.c -+++ spice-vdagent-0.15.0/src/udscs.c.new -@@ -26,6 +26,7 @@ - - #include - #include -+#include - #include - #include - #include - diff --git a/unmaintained/spice-vdagent/spice-vdagentd.initd b/unmaintained/spice-vdagent/spice-vdagentd.initd deleted file mode 100644 index 5c04d0242c..0000000000 --- a/unmaintained/spice-vdagent/spice-vdagentd.initd +++ /dev/null @@ -1,97 +0,0 @@ -#!/sbin/openrc-run - -# This file is part of spice-vdagent -# by Stuart Cardall - -sockfile="/var/run/spice-vdagentd/spice-vdagent-sock" -pidfile="/var/run/spice-vdagentd/spice-vdagentd.pid" -command="/usr/sbin/spice-vdagentd" -command_args="-X" -msgfile=/tmp/spice-vdagent.msg -extra_commands="info" - -MODULES="uinput" - -depend() { - need net - need logger -} - -start_pre() { - # make sure dir for pidfile exists. /var/run is tmpfs... - checkpath --directory ${pidfile%/*} - # load userspace input driver for copy & paste support - ebegin "Loading uinput kernel module for ${SVCNAME}" - for mod in $MODULES; do - modprobe -q $mod - done - eend $? - rm -f $sockfile -} - -start() { - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start $command --pidfile $pidfile -- $command_args - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --pidfile $pidfile - eend $? "Failed to stop ${SVCNAME}" - ebegin "Unloading uinput kernel module for ${SVCNAME}" - for mod in $MODULES; do - rmmod $mod - done - eend $? - rm -f $sockfile -} - -info() { - cat > $msgfile < - -
- - - - - - - - - - - - - - - - - -