include $(PKGROOT)/Include
PKG_NAME = build-essentials
-PKG_VER = $(DISTRO_VERSION)
-PKG_REL = 20
-PKG_EPOCH = 1
+PKG_VER = 1.0
+PKG_REL = 1
+PKG_EPOCH = 2
PKG_ARCH = noarch
PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
listmatch ${require} ${provides} || requires="${requires} ${require}"
done
-echo "provides=\"${provides}\""
+if [ -n "${PKG_PREREQUIRES}" ]; then
+ echo "prerequires=\"/bin/sh ${PKG_PREREQUIRES}\""
+fi
echo "requires=\"${requires}\""
+echo "provides=\"${provides}\""
+echo "provides=\"${PKG_CONFLICTS}\""
echo "obsoletes=\"${PKG_OBSOLETES}\""
exit 0
PKG_VARIABLES = \
CONTROL_PREIN \
CONTROL_PREUN \
+ CONTROL_PREUP \
CONTROL_POSTIN \
CONTROL_POSTUN \
+ CONTROL_POSTUP \
+ CONTROL_POSTTRANSIN \
+ CONTROL_POSTTRANSUN \
\
PKG_ARCH \
PKG_BUILD_DEPS \
PKG_URL \
PKG_VER \
\
+ PKG_PREREQUIRES \
PKG_PROVIDES_FILTER \
PKG_REQUIRES_FILTER
--- /dev/null
+#!/bin/bash
+
+config=/etc/chrony.conf
+keyfile=/etc/chrony.keys
+chronyc=/usr/bin/chronyc
+dhclient_servers=/var/lib/dhclient/chrony.servers.*
+service_name=chronyd.service
+
+get_key() {
+ awk '/^[ \t]*'$1'\>/ { print $2; exit }' < $keyfile
+}
+
+get_commandkeyid() {
+ awk '/^[ \t]*commandkey\>/ { keyid=$2 } END { print keyid }' < $config
+}
+
+chrony_command() {
+ commandkeyid=$(get_commandkeyid)
+ [ -z "$commandkeyid" ] && return 1
+ commandkey=$(get_key $commandkeyid)
+ [ -z "$commandkey" ] && return 2
+
+ $chronyc <<EOF
+password $commandkey
+$1
+EOF
+}
+
+generate_commandkey() {
+ commandkeyid=$(get_commandkeyid)
+ [ -z "$commandkeyid" ] && return 1
+ commandkey=$(get_key $commandkeyid)
+ [ -z "$commandkey" ] || return 0
+
+ commandkey=$(tr -c -d '[\041-\176]' < /dev/urandom | head -c 8)
+ [ -n "$commandkey" ] && echo "$commandkeyid $commandkey" >> $keyfile
+}
+
+add_dhclient_servers() {
+ command=$(cat $dhclient_servers 2> /dev/null |
+ while read server serverargs; do
+ echo "add server $server $serverargs"
+ done)
+ if [ -n "$command" ]; then
+ chrony_command "$command" &> /dev/null
+ fi
+}
+
+is_running() {
+ systemctl status chronyd.service &> /dev/null
+}
+
+case "$1" in
+ generate-commandkey)
+ generate_commandkey
+ ;;
+ add-dhclient-servers)
+ add_dhclient_servers
+ ;;
+ command)
+ is_running && chrony_command "$2"
+ ;;
+ *)
+ echo $"Usage: $0 {generate-commandkey|add-dhclient-servers|command}"
+ exit 2
+esac
+exit $?
+
--- /dev/null
+# Use public servers from the pool.ntp.org project.
+# Please consider joining the pool (http://www.pool.ntp.org/join.html).
+server 0.ipfire.pool.ntp.org iburst
+server 1.ipfire.pool.ntp.org iburst
+server 2.ipfire.pool.ntp.org iburst
+server 3.ipfire.pool.ntp.org iburst
+
+# Ignore stratum in source selection.
+stratumweight 0
+
+# Record the rate at which the system clock gains/losses time.
+driftfile /var/lib/chrony/drift
+
+# Enable kernel RTC synchronization.
+rtcsync
+
+# In first three updates step the system clock instead of slew
+# if the adjustment is larger than 100 seconds.
+makestep 100 3
+
+# Allow client access from local network.
+#allow 192.168/16
+
+# Serve time even if not synchronized to any NTP server.
+#local stratum 10
+
+keyfile /etc/chrony.keys
+
+# Specify the key used as password for chronyc.
+commandkey 1
+
+# Disable logging of client accesses.
+noclientlog
+
+# Send a message to syslog if a clock adjustment is larger than 0.5 seconds.
+logchange 0.5
+
+logdir /var/log/chrony
+#log measurements statistics tracking
--- /dev/null
+#!/bin/bash
+
+SERVERFILE=$SAVEDIR/chrony.servers.$interface
+
+chrony_config() {
+ rm -f $SERVERFILE
+ if [ "$PEERNTP" != "no" ]; then
+ /usr/libexec/chrony-helper command "$(
+ for server in $new_ntp_servers; do
+ echo "add server $server $NTPSERVERARGS"
+ echo "$server $NTPSERVERARGS" >> $SERVERFILE
+ done)" &> /dev/null
+ fi
+}
+
+chrony_restore() {
+ if [ -f $SERVERFILE ]; then
+ /usr/libexec/chrony-helper command "$(
+ while read server serverargs; do
+ echo "delete $server"
+ done < $SERVERFILE)" &> /dev/null
+ rm -f $SERVERFILE
+ fi
+}
--- /dev/null
+/var/log/chrony/*.log {
+ missingok
+ nocreate
+ sharedscripts
+ postrotate
+ /usr/libexec/chrony-helper command cyclelogs > /dev/null 2>&1 || true
+ endscript
+}
--- /dev/null
+###############################################################################
+# #
+# IPFire.org - A linux based firewall #
+# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
+# #
+# 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 <http://www.gnu.org/licenses/>. #
+# #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include $(PKGROOT)/Include
+
+PKG_NAME = chrony
+PKG_VER = 1.26
+PKG_REL = 3
+
+PKG_MAINTAINER =
+PKG_GROUPS = Base System/Daemons
+PKG_URL = http://chrony.tuxfamily.org
+PKG_LICENSE = GPLv2
+PKG_SUMMARY = An NTP client/server.
+
+PKG_BUILD_DEPS+= bison libcap-devel readline-devel texinfo
+
+define PKG_DESCRIPTION
+ A client/server for the Network Time Protocol, this program keeps your
+ computer's clock accurate. It was specially designed to support
+ systems with intermittent internet connections, but it also works well
+ in permanently connected environments. It can use also hardware reference
+ clocks, system real-time clock or manual input as time references.
+endef
+
+PKG_TARBALL = $(THISAPP).tar.gz
+
+PKG_PACKAGES += $(PKG_NAME)-devel
+
+CONFIGURE_OPTIONS += \
+ --with-sendmail=/usr/sbin/sendmail
+
+STAGE_BUILD_TARGETS += getdate all docs
+STAGE_INSTALL_TARGETS += install-docs
+
+define STAGE_INSTALL_CMDS
+ -mkdir -pv $(BUILDROOT)/var/{lib,log}/chrony
+ touch $(BUILDROOT)/var/lib/chrony/{drift,rtc}
+
+ -mkdir -pv $(BUILDROOT)/etc
+ install -m 644 -p $(DIR_SOURCE)/chrony.conf $(BUILDROOT)/etc/chrony.conf
+ install -m 640 -p $(DIR_SOURCE)/chrony.keys $(BUILDROOT)/etc/chrony.keys
+
+ -mkdir -pv $(BUILDROOT)/etc/dhcp/dhclient.d
+ install -m 755 -p $(DIR_SOURCE)/chrony.dhclient \
+ $(BUILDROOT)/etc/dhcp/dhclient.d/chrony.sh
+
+ -mkdir -pv $(BUILDROOT)/etc/logrotate.d
+ install -m 644 -p $(DIR_SOURCE)/chrony.logrotate \
+ $(BUILDROOT)/etc/logrotate.d/chrony
+
+ -mkdir -pv $(BUILDROOT)/usr/lib/chrony
+ install -m 755 -p $(DIR_SOURCE)/chrony-helper $(BUILDROOT)/usr/lib/chrony-helper
+endef
--- /dev/null
+[Unit]
+Description=Wait for chrony to synchronize system clock
+After=chronyd.service
+Requires=chronyd.service
+Before=time-sync.target
+Wants=time-sync.target
+
+[Service]
+Type=oneshot
+# Wait up to ~10 minutes for chronyd to synchronize and the remaining
+# clock correction to be less than 0.1 seconds
+ExecStart=/usr/bin/chronyc waitsync 60 0.1
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
--- /dev/null
+[Unit]
+Description=NTP client/server
+After=syslog.target ntpdate.service
+Conflicts=ntpd.service
+
+[Service]
+EnvironmentFile=-/etc/sysconfig/chronyd
+ExecStartPre=/usr/libexec/chrony-helper generate-commandkey
+ExecStart=/usr/sbin/chronyd -n -u chrony $OPTIONS
+ExecStartPost=/usr/libexec/chrony-helper add-dhclient-servers
+
+[Install]
+WantedBy=multi-user.target
include $(PKGROOT)/Include
-PKG_NAME = ntp
-PKG_VER = 4.2.6p1
-PKG_REL = 2
+PKG_NAME = help2man
+PKG_VER = 1.40.4
+PKG_REL = 1
PKG_MAINTAINER =
-PKG_GROUPS = Base System/Daemons
-PKG_URL = http://www.ntp.org/
-PKG_LICENSE = MIT, BSD and GPLv2
-PKG_SUMMARY = The NTP daemon and utilities.
-
-PKG_BUILD_DEPS+= openssl-devel readline-devel
+PKG_GROUPS = Development/Tools
+PKG_URL = http://www.gnu.org/software/help2man
+PKG_LICENSE = GPLv3+
+PKG_SUMMARY = Create simple man pages from --help output.
define PKG_DESCRIPTION
- The Network Time Protocol (NTP) is used to synchronize a computer's \
- time with another reference time source. This package includes ntpd \
- and utilities used to query and configure the ntpd daemon.
+ help2man is a script to create simple man pages from the --help and
+ --version output of programs.
+
+ Since most GNU documentation is now in info format, this provides a
+ way to generate a placeholder man page pointing to that resource while
+ still providing some useful information.
endef
PKG_TARBALL = $(THISAPP).tar.gz
-CFLAGS += -DMOD_NANO
-
CONFIGURE_OPTIONS += \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --with-binsubdir=sbin
+ --disable-nls \
+ --libdir=/usr/lib/help2man
-define STAGE_INSTALL_CMDS
- -mkdir -pv $(BUILDROOT)/etc
- cp -vf $(DIR_SOURCE)/ntp.conf $(BUILDROOT)/etc/ntp.conf
-endef
+STAGE_INSTALL_TARGETS += install_l10n
PKG_NAME = hostapd
PKG_VER = 0.6.9
-PKG_REL = 0
+PKG_REL = 1
PKG_MAINTAINER =
PKG_GROUPS = Networking/Tools
--- /dev/null
+# This file is part of systemd.
+#
+# systemd 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.
+
+[Unit]
+Description=WLAN AP on %I
+BindTo=dev-%I.device
+After=dev-%I.device network.service
+Requires=network.service
+
+[Service]
+ExecStart=/usr/bin/hostapd -dd -P /run/network/hostapd/%I/pid /run/network/hostapd/%I/config
+#Restart=always
+UtmpIdentifier=%I
+KillMode=process
include $(PKGROOT)/Include
PKG_NAME = iptables
-PKG_VER = 1.4.11.1
+PKG_VER = 1.4.12
PKG_REL = 1
-PKG_BUILD_DEPS+= libselinux-devel
-
PKG_MAINTAINER =
PKG_GROUPS = Networking/Tools
PKG_GROUPS-iptables = Base $(PKG_GROUPS)
PKG_LICENSE = GPL+
PKG_SUMMARY = Tools for managing Linux kernel packet filtering capabilities.
+PKG_BUILD_DEPS+= libnfnetlink-devel libselinux-devel
+
define PKG_DESCRIPTION
The iptables utility controls the network packet filtering code in the \
Linux kernel. If you need to set up firewalls and/or IP masquerading, \
ln -svf ../../lib/libip4tc.so.0 $(BUILDROOT)/usr/lib/libip4tc.so
ln -svf ../../lib/libip6tc.so.0 $(BUILDROOT)/usr/lib/libip6tc.so
ln -svf ../../lib/libipq.so.0 $(BUILDROOT)/usr/lib/libipq.so
- ln -svf ../../lib/libxtables.so.6 $(BUILDROOT)/usr/lib/libxtables.so
+ ln -svf ../../lib/libxtables.so.7 $(BUILDROOT)/usr/lib/libxtables.so
# Replace absolute symlink
ln -svf ../sbin/xtables-multi $(BUILDROOT)/bin/iptables-xml
+
+ # Move binary which links to /usr/lib to /usr.
+ -mkdir -pv $(BUILDROOT)/usr/sbin
+ mv -v $(BUILDROOT)/{,usr/}sbin/nfnl_osf
endef
#
# Automatically generated make config: don't edit
# Linux/i386 2.6.39 Kernel Configuration
-# Wed May 25 20:12:13 2011
+# Mon Jul 25 13:53:09 2011
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
#
# File systems
#
-CONFIG_EXT2_FS=m
-CONFIG_EXT2_FS_XATTR=y
-CONFIG_EXT2_FS_POSIX_ACL=y
-CONFIG_EXT2_FS_SECURITY=y
-CONFIG_EXT2_FS_XIP=y
-CONFIG_EXT3_FS=m
-# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
-CONFIG_EXT3_FS_XATTR=y
-CONFIG_EXT3_FS_POSIX_ACL=y
-CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT2_FS is not set
+# CONFIG_EXT3_FS is not set
CONFIG_EXT4_FS=m
+CONFIG_EXT4_USE_FOR_EXT23=y
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set
-CONFIG_FS_XIP=y
-CONFIG_JBD=m
-# CONFIG_JBD_DEBUG is not set
CONFIG_JBD2=m
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=m
PKG_NAME = linux
PKG_VER = 2.6.39
-PKG_REL = 2
+PKG_REL = 3
PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
PKG_GROUPS = System/Kernels
+++ /dev/null
-restrict default nomodify noquery
-restrict 127.0.0.1
-server pool.ntp.org
-driftfile /etc/ntp/drift
+++ /dev/null
-[Unit]
-Description=Network Time Protocol Daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/sbin/ntpd -4 -n -c /etc/ntp.conf
-
-[Install]
-WantedBy=multi-user.target
-
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
-<!-- git web interface version 1.7.0.2, (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>, Christian Gierke -->
-<!-- git core binaries version 1.7.2.1 -->
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
-<meta name="generator" content="gitweb/1.7.0.2 git/1.7.2.1"/>
-<meta name="robots" content="index, nofollow"/>
-<title>Fedora Packages Git Repositories - rsyslog.git/blob - rsyslog.log</title>
-<link rel="stylesheet" type="text/css" href="/gitweb/gitweb.css"/>
-<link rel="alternate" title="rsyslog.git - history of rsyslog.log - RSS feed" href="/gitweb/?p=rsyslog.git;a=rss;f=rsyslog.log" type="application/rss+xml" />
-<link rel="alternate" title="rsyslog.git - history of rsyslog.log - RSS feed (no merges)" href="/gitweb/?p=rsyslog.git;a=rss;f=rsyslog.log;opt=--no-merges" type="application/rss+xml" />
-<link rel="alternate" title="rsyslog.git - history of rsyslog.log - Atom feed" href="/gitweb/?p=rsyslog.git;a=atom;f=rsyslog.log;opt=--no-merges" type="application/atom+xml" />
-<link rel="alternate" title="rsyslog.git - history of rsyslog.log - Atom feed (no merges)" href="/gitweb/?p=rsyslog.git;a=atom;f=rsyslog.log;opt=--no-merges" type="application/atom+xml" />
-<link rel="shortcut icon" href="http://fedoraproject.org/static/images/favicon.ico" type="image/png" />
-</head>
-<body>
-<div class="page_header">
-<a title="Fedora" href="http://fedoraproject.org"><img src="http://fedoraproject.org/static/images/fedora-logo-27.png" width="72" height="27" alt="git" class="logo"/></a><a href="/gitweb/">git://pkgs.fedoraproject.org</a> / <a href="/gitweb/?p=rsyslog.git;a=summary">rsyslog.git</a> / blob
-</div>
-<form method="get" action="/gitweb/" enctype="application/x-www-form-urlencoded">
-<div class="search">
-<input name="p" type="hidden" value="rsyslog.git" />
-<input name="a" type="hidden" value="search" />
-<input name="h" type="hidden" value="HEAD" />
-<select name="st" >
-<option selected="selected" value="commit">commit</option>
-<option value="grep">grep</option>
-<option value="author">author</option>
-<option value="committer">committer</option>
-<option value="pickaxe">pickaxe</option>
-</select><sup><a href="/gitweb/?p=rsyslog.git;a=search_help">?</a></sup> search:
-<input type="text" name="s" />
-<span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span></div>
-</form>
-</div>
-<div class="page_nav">
-<a href="/gitweb/?p=rsyslog.git;a=summary">summary</a> | <a href="/gitweb/?p=rsyslog.git;a=shortlog">shortlog</a> | <a href="/gitweb/?p=rsyslog.git;a=log">log</a> | <a href="/gitweb/?p=rsyslog.git;a=commit;h=HEAD">commit</a> | <a href="/gitweb/?p=rsyslog.git;a=commitdiff;h=HEAD">commitdiff</a> | <a href="/gitweb/?p=rsyslog.git;a=tree;h=4d7fc435d7037ee9c5baa895bb8d4cc3da575400;hb=HEAD">tree</a><br/>
-<a href="/gitweb/?p=rsyslog.git;a=history;f=rsyslog.log;h=b2d41f1806519021802c46d7d74c3d9ccb36c031;hb=HEAD">history</a> | <a href="/gitweb/?p=rsyslog.git;a=blob_plain;f=rsyslog.log;h=b2d41f1806519021802c46d7d74c3d9ccb36c031;hb=HEAD">raw</a> | <a href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.log;hb=HEAD">HEAD</a><br/>
-</div>
-<div class="header">
-<a class="title" href="/gitweb/?p=rsyslog.git;a=commit;h=HEAD">rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)</a>
-</div>
-<div class="page_path"><a title="tree root" href="/gitweb/?p=rsyslog.git;a=tree;hb=HEAD">[rsyslog.git]</a> / <a title="rsyslog.log" href="/gitweb/?p=rsyslog.git;a=blob_plain;f=rsyslog.log;hb=HEAD">rsyslog.log</a><br/></div>
-<div class="page_body">
-<div class="pre"><a id="l1" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.log;h=b2d41f1806519021802c46d7d74c3d9ccb36c031;hb=HEAD#l1" class="linenr"> 1</a> /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron {</div>
-<div class="pre"><a id="l2" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.log;h=b2d41f1806519021802c46d7d74c3d9ccb36c031;hb=HEAD#l2" class="linenr"> 2</a> sharedscripts</div>
-<div class="pre"><a id="l3" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.log;h=b2d41f1806519021802c46d7d74c3d9ccb36c031;hb=HEAD#l3" class="linenr"> 3</a> postrotate</div>
-<div class="pre"><a id="l4" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.log;h=b2d41f1806519021802c46d7d74c3d9ccb36c031;hb=HEAD#l4" class="linenr"> 4</a> /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true</div>
-<div class="pre"><a id="l5" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.log;h=b2d41f1806519021802c46d7d74c3d9ccb36c031;hb=HEAD#l5" class="linenr"> 5</a> endscript</div>
-<div class="pre"><a id="l6" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.log;h=b2d41f1806519021802c46d7d74c3d9ccb36c031;hb=HEAD#l6" class="linenr"> 6</a> }</div>
-</div><div class="page_footer">
-<div class="cachetime">Cache Last Updated: Sat Mar 26 12:27:46 2011 GMT</div>
-<div class="page_footer_text">rsyslog</div>
-<a class="rss_logo" title="history of rsyslog.log RSS feed" href="/gitweb/?p=rsyslog.git;a=rss;f=rsyslog.log">RSS</a>
-<a class="rss_logo" title="history of rsyslog.log Atom feed" href="/gitweb/?p=rsyslog.git;a=atom;f=rsyslog.log">Atom</a>
-</div>
-<script type="text/javascript" src="/gitweb/gitweb.js"></script>
-</body>
-</html>
\ No newline at end of file
+/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron {
+ sharedscripts
+ postrotate
+ /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
+ endscript
+}
PKG_NAME = rsyslog
PKG_VER = 5.8.0
-PKG_REL = 1
+PKG_REL = 2
PKG_MAINTAINER =
-PKG_GROUPS = System/Daemons
+PKG_GROUPS = Base System/Daemons
PKG_URL = http://www.rsyslog.com/
PKG_LICENSE = GPLv3+
PKG_SUMMARY = Enhanced system logging and kernel message trapping daemon.
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
-<!-- git web interface version 1.7.0.2, (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>, Christian Gierke -->
-<!-- git core binaries version 1.7.2.1 -->
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
-<meta name="generator" content="gitweb/1.7.0.2 git/1.7.2.1"/>
-<meta name="robots" content="index, nofollow"/>
-<title>Fedora Packages Git Repositories - rsyslog.git/blob - rsyslog.sysconfig</title>
-<link rel="stylesheet" type="text/css" href="/gitweb/gitweb.css"/>
-<link rel="alternate" title="rsyslog.git - history of rsyslog.sysconfig - RSS feed" href="/gitweb/?p=rsyslog.git;a=rss;f=rsyslog.sysconfig" type="application/rss+xml" />
-<link rel="alternate" title="rsyslog.git - history of rsyslog.sysconfig - RSS feed (no merges)" href="/gitweb/?p=rsyslog.git;a=rss;f=rsyslog.sysconfig;opt=--no-merges" type="application/rss+xml" />
-<link rel="alternate" title="rsyslog.git - history of rsyslog.sysconfig - Atom feed" href="/gitweb/?p=rsyslog.git;a=atom;f=rsyslog.sysconfig;opt=--no-merges" type="application/atom+xml" />
-<link rel="alternate" title="rsyslog.git - history of rsyslog.sysconfig - Atom feed (no merges)" href="/gitweb/?p=rsyslog.git;a=atom;f=rsyslog.sysconfig;opt=--no-merges" type="application/atom+xml" />
-<link rel="shortcut icon" href="http://fedoraproject.org/static/images/favicon.ico" type="image/png" />
-</head>
-<body>
-<div class="page_header">
-<a title="Fedora" href="http://fedoraproject.org"><img src="http://fedoraproject.org/static/images/fedora-logo-27.png" width="72" height="27" alt="git" class="logo"/></a><a href="/gitweb/">git://pkgs.fedoraproject.org</a> / <a href="/gitweb/?p=rsyslog.git;a=summary">rsyslog.git</a> / blob
-</div>
-<form method="get" action="/gitweb/" enctype="application/x-www-form-urlencoded">
-<div class="search">
-<input name="p" type="hidden" value="rsyslog.git" />
-<input name="a" type="hidden" value="search" />
-<input name="h" type="hidden" value="HEAD" />
-<select name="st" >
-<option selected="selected" value="commit">commit</option>
-<option value="grep">grep</option>
-<option value="author">author</option>
-<option value="committer">committer</option>
-<option value="pickaxe">pickaxe</option>
-</select><sup><a href="/gitweb/?p=rsyslog.git;a=search_help">?</a></sup> search:
-<input type="text" name="s" />
-<span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span></div>
-</form>
-</div>
-<div class="page_nav">
-<a href="/gitweb/?p=rsyslog.git;a=summary">summary</a> | <a href="/gitweb/?p=rsyslog.git;a=shortlog">shortlog</a> | <a href="/gitweb/?p=rsyslog.git;a=log">log</a> | <a href="/gitweb/?p=rsyslog.git;a=commit;h=HEAD">commit</a> | <a href="/gitweb/?p=rsyslog.git;a=commitdiff;h=HEAD">commitdiff</a> | <a href="/gitweb/?p=rsyslog.git;a=tree;h=4d7fc435d7037ee9c5baa895bb8d4cc3da575400;hb=HEAD">tree</a><br/>
-<a href="/gitweb/?p=rsyslog.git;a=history;f=rsyslog.sysconfig;h=ad9723f8bee82e89369f19d66bddf02f8d3738f8;hb=HEAD">history</a> | <a href="/gitweb/?p=rsyslog.git;a=blob_plain;f=rsyslog.sysconfig;h=ad9723f8bee82e89369f19d66bddf02f8d3738f8;hb=HEAD">raw</a> | <a href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.sysconfig;hb=HEAD">HEAD</a><br/>
-</div>
-<div class="header">
-<a class="title" href="/gitweb/?p=rsyslog.git;a=commit;h=HEAD">rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)</a>
-</div>
-<div class="page_path"><a title="tree root" href="/gitweb/?p=rsyslog.git;a=tree;hb=HEAD">[rsyslog.git]</a> / <a title="rsyslog.sysconfig" href="/gitweb/?p=rsyslog.git;a=blob_plain;f=rsyslog.sysconfig;hb=HEAD">rsyslog.sysconfig</a><br/></div>
-<div class="page_body">
-<div class="pre"><a id="l1" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.sysconfig;h=ad9723f8bee82e89369f19d66bddf02f8d3738f8;hb=HEAD#l1" class="linenr"> 1</a> # Options for rsyslogd</div>
-<div class="pre"><a id="l2" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.sysconfig;h=ad9723f8bee82e89369f19d66bddf02f8d3738f8;hb=HEAD#l2" class="linenr"> 2</a> # Syslogd options are deprecated since rsyslog v3.</div>
-<div class="pre"><a id="l3" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.sysconfig;h=ad9723f8bee82e89369f19d66bddf02f8d3738f8;hb=HEAD#l3" class="linenr"> 3</a> # If you want to use them, switch to compatibility mode 2 by "-c 2"</div>
-<div class="pre"><a id="l4" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.sysconfig;h=ad9723f8bee82e89369f19d66bddf02f8d3738f8;hb=HEAD#l4" class="linenr"> 4</a> # See rsyslogd(8) for more details</div>
-<div class="pre"><a id="l5" href="/gitweb/?p=rsyslog.git;a=blob;f=rsyslog.sysconfig;h=ad9723f8bee82e89369f19d66bddf02f8d3738f8;hb=HEAD#l5" class="linenr"> 5</a> SYSLOGD_OPTIONS="-c 5"</div>
-</div><div class="page_footer">
-<div class="cachetime">Cache Last Updated: Sat Mar 26 12:28:03 2011 GMT</div>
-<div class="page_footer_text">rsyslog</div>
-<a class="rss_logo" title="history of rsyslog.sysconfig RSS feed" href="/gitweb/?p=rsyslog.git;a=rss;f=rsyslog.sysconfig">RSS</a>
-<a class="rss_logo" title="history of rsyslog.sysconfig Atom feed" href="/gitweb/?p=rsyslog.git;a=atom;f=rsyslog.sysconfig">Atom</a>
-</div>
-<script type="text/javascript" src="/gitweb/gitweb.js"></script>
-</body>
-</html>
\ No newline at end of file
+# Options for rsyslogd
+# Syslogd options are deprecated since rsyslog v3.
+# If you want to use them, switch to compatibility mode 2 by "-c 2"
+# See rsyslogd(8) for more details
+SYSLOGD_OPTIONS="-c 5"
--- /dev/null
+#
+# Please note that the parameters in this configuration file control the
+# behavior of the tools from the shadow-utils component. None of these
+# tools uses the PAM mechanism, and the utilities that use PAM (such as the
+# passwd command) should therefore be configured elsewhere. Refer to
+# /etc/pam.d/system-auth for more information.
+#
+
+# *REQUIRED*
+# Directory where mailboxes reside, _or_ name of file, relative to the
+# home directory. If you _do_ define both, MAIL_DIR takes precedence.
+# QMAIL_DIR is for Qmail
+#
+#QMAIL_DIR Maildir
+MAIL_DIR /var/spool/mail
+#MAIL_FILE .mail
+
+# Password aging controls:
+#
+# PASS_MAX_DAYS Maximum number of days a password may be used.
+# PASS_MIN_DAYS Minimum number of days allowed between password changes.
+# PASS_MIN_LEN Minimum acceptable password length.
+# PASS_WARN_AGE Number of days warning given before a password expires.
+#
+PASS_MAX_DAYS 99999
+PASS_MIN_DAYS 0
+PASS_MIN_LEN 5
+PASS_WARN_AGE 7
+
+#
+# Min/max values for automatic uid selection in useradd
+#
+UID_MIN 1000
+UID_MAX 60000
+# System accounts
+SYS_UID_MIN 201
+SYS_UID_MAX 999
+
+#
+# Min/max values for automatic gid selection in groupadd
+#
+GID_MIN 1000
+GID_MAX 60000
+# System accounts
+SYS_GID_MIN 201
+SYS_GID_MAX 999
+
+#
+# If defined, this command is run when removing a user.
+# It should remove any at/cron/print jobs etc. owned by
+# the user to be removed (passed as the first argument).
+#
+#USERDEL_CMD /usr/sbin/userdel_local
+
+#
+# If useradd should create home directories for users by default
+# On RH systems, we do. This option is overridden with the -m flag on
+# useradd command line.
+#
+CREATE_HOME yes
+
+# The permission mask is initialized to this value. If not specified,
+# the permission mask will be initialized to 022.
+UMASK 077
+
+# This enables userdel to remove user groups if no members exist.
+#
+USERGROUPS_ENAB yes
+
+# Use SHA512 to encrypt password.
+ENCRYPT_METHOD SHA512
+
PKG_NAME = shadow
PKG_VER = 4.1.4.3
-PKG_REL = 4
+PKG_REL = 5
PKG_MAINTAINER =
PKG_GROUPS = System/Base
chmod u-s $(BUILDROOT)/usr/bin/newgrp
setcap cap_dac_override,cap_setgid+ep $(BUILDROOT)/usr/bin/newgrp
+
+ # Configuration
+ install -p -c -m 0644 $(DIR_SOURCE)/login.defs $(BUILDROOT)/etc/login.defs
endef
--- /dev/null
+# useradd defaults file
+GROUP=100
+HOME=/home
+INACTIVE=-1
+EXPIRE=
+SHELL=/bin/bash
+SKEL=/etc/skel
+CREATE_MAIL_SPOOL=yes
+
include $(PKGROOT)/Include
PKG_NAME = suricata
-PKG_VER = 1.0.2
-PKG_REL = 0
+PKG_VER = 1.0.5
+PKG_REL = 1
PKG_MAINTAINER =
PKG_GROUPS = Networking/IDS
--- /dev/null
+diff -up texinfo-4.12/install-info/Makefile.in_old texinfo-4.12/install-info/Makefile.in
+--- texinfo-4.12/install-info/Makefile.in_old 2008-05-13 13:33:55.000000000 +0200
++++ texinfo-4.12/install-info/Makefile.in 2008-05-13 13:52:35.000000000 +0200
+@@ -114,7 +114,7 @@ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+ am_ginstall_info_OBJECTS = install-info.$(OBJEXT)
+ ginstall_info_OBJECTS = $(am_ginstall_info_OBJECTS)
+-ginstall_info_LDADD = $(LDADD)
++ginstall_info_LDADD = $(LDADD) -lz
+ am__DEPENDENCIES_1 =
+ ginstall_info_DEPENDENCIES = ../lib/libtxi.a \
+ $(top_builddir)/gnulib/lib/libgnu.a $(am__DEPENDENCIES_1)
+diff -up texinfo-4.12/install-info/install-info.c_old texinfo-4.12/install-info/install-info.c
+--- texinfo-4.12/install-info/install-info.c_old 2008-05-13 13:52:44.000000000 +0200
++++ texinfo-4.12/install-info/install-info.c 2008-05-14 10:30:53.000000000 +0200
+@@ -21,6 +21,7 @@
+ #include <getopt.h>
+ #include <regex.h>
+ #include <argz.h>
++#include <zlib.h>
+
+ #define TAB_WIDTH 8
+
+@@ -638,7 +639,7 @@ The first time you invoke Info you start
+ COMPRESSION_PROGRAM. The compression program is determined by the
+ magic number, not the filename. */
+
+-FILE *
++void *
+ open_possibly_compressed_file (char *filename,
+ void (*create_callback) (char *),
+ char **opened_filename, char **compression_program, int *is_pipe)
+@@ -646,7 +647,7 @@ open_possibly_compressed_file (char *fil
+ char *local_opened_filename, *local_compression_program;
+ int nread;
+ char data[13];
+- FILE *f;
++ gzFile *f;
+
+ /* We let them pass NULL if they don't want this info, but it's easier
+ to always determine it. */
+@@ -654,22 +655,22 @@ open_possibly_compressed_file (char *fil
+ opened_filename = &local_opened_filename;
+
+ *opened_filename = filename;
+- f = fopen (*opened_filename, FOPEN_RBIN);
++ f = gzopen (*opened_filename, FOPEN_RBIN);
+ if (!f)
+ {
+ *opened_filename = concat (filename, ".gz", "");
+- f = fopen (*opened_filename, FOPEN_RBIN);
++ f = gzopen (*opened_filename, FOPEN_RBIN);
+ if (!f)
+ {
+ free (*opened_filename);
+ *opened_filename = concat (filename, ".bz2", "");
+- f = fopen (*opened_filename, FOPEN_RBIN);
++ f = gzopen (*opened_filename, FOPEN_RBIN);
+ }
+ if (!f)
+ {
+ free (*opened_filename);
+ *opened_filename = concat (filename, ".lzma", "");
+- f = fopen (*opened_filename, FOPEN_RBIN);
++ f = gzopen (*opened_filename, FOPEN_RBIN);
+ }
+
+ #ifdef __MSDOS__
+@@ -677,13 +678,13 @@ open_possibly_compressed_file (char *fil
+ {
+ free (*opened_filename);
+ *opened_filename = concat (filename, ".igz", "");
+- f = fopen (*opened_filename, FOPEN_RBIN);
++ f = gzopen (*opened_filename, FOPEN_RBIN);
+ }
+ if (!f)
+ {
+ free (*opened_filename);
+ *opened_filename = concat (filename, ".inz", "");
+- f = fopen (*opened_filename, FOPEN_RBIN);
++ f = gzopen (*opened_filename, FOPEN_RBIN);
+ }
+ #endif
+ if (!f)
+@@ -695,7 +696,7 @@ open_possibly_compressed_file (char *fil
+ /* And try opening it again. */
+ free (*opened_filename);
+ *opened_filename = filename;
+- f = fopen (*opened_filename, FOPEN_RBIN);
++ f = gzopen (*opened_filename, FOPEN_RBIN);
+ if (!f)
+ pfatal_with_name (filename);
+ }
+@@ -706,12 +707,12 @@ open_possibly_compressed_file (char *fil
+
+ /* Read first few bytes of file rather than relying on the filename.
+ If the file is shorter than this it can't be usable anyway. */
+- nread = fread (data, sizeof (data), 1, f);
+- if (nread != 1)
++ nread = gzread (f, data, sizeof (data));
++ if (nread != sizeof (data))
+ {
+ /* Empty files don't set errno, so we get something like
+ "install-info: No error for foo", which is confusing. */
+- if (nread == 0)
++ if (nread >= 0)
+ fatal (_("%s: empty file"), *opened_filename, 0);
+ pfatal_with_name (*opened_filename);
+ }
+@@ -758,20 +759,22 @@ open_possibly_compressed_file (char *fil
+
+ if (*compression_program)
+ { /* It's compressed, so fclose the file and then open a pipe. */
++ FILE *p;
+ char *command = concat (*compression_program," -cd <", *opened_filename);
+- if (fclose (f) < 0)
++ if (gzclose (f) < 0)
+ pfatal_with_name (*opened_filename);
+- f = popen (command, "r");
+- if (f)
++ p = popen (command, "r");
++ if (p)
+ *is_pipe = 1;
+ else
+ pfatal_with_name (command);
++ return p;
+ }
+ else
+ { /* It's a plain file, seek back over the magic bytes. */
+- if (fseek (f, 0, 0) < 0)
++ if (gzseek (f, 0, SEEK_SET) < 0)
+ pfatal_with_name (*opened_filename);
+-#if O_BINARY
++#if 0 && O_BINARY
+ /* Since this is a text file, and we opened it in binary mode,
+ switch back to text mode. */
+ f = freopen (*opened_filename, "r", f);
+@@ -796,7 +799,7 @@ readfile (char *filename, int *sizep,
+ char **compression_program)
+ {
+ char *real_name;
+- FILE *f;
++ void *f;
+ int pipe_p;
+ int filled = 0;
+ int data_size = 8192;
+@@ -810,7 +813,12 @@ readfile (char *filename, int *sizep,
+
+ for (;;)
+ {
+- int nread = fread (data + filled, 1, data_size - filled, f);
++ int nread;
++
++ if (pipe_p)
++ nread = fread (data + filled, 1, data_size - filled, f);
++ else
++ nread = gzread (f, data + filled, data_size - filled);
+ if (nread < 0)
+ pfatal_with_name (real_name);
+ if (nread == 0)
+@@ -832,7 +840,7 @@ readfile (char *filename, int *sizep,
+ if (pipe_p)
+ pclose (f);
+ else
+- fclose (f);
++ gzclose (f);
+
+ *sizep = filled;
+ return data;
--- /dev/null
+diff -up texinfo-4.13/info/window.c_old texinfo-4.13/info/window.c
+--- texinfo-4.13/info/window.c_old 2009-08-04 13:46:15.000000000 +0200
++++ texinfo-4.13/info/window.c 2009-08-04 13:47:29.000000000 +0200
+@@ -1581,7 +1581,7 @@ process_node_text (WINDOW *win, char *st
+ const char *carried_over_ptr;
+ size_t carried_over_len, carried_over_count;
+ const char *cur_ptr = mbi_cur_ptr (iter);
+- int cur_len = mb_len (mbi_cur (iter));
++ size_t cur_len = mb_len (mbi_cur (iter));
+ int replen;
+ int delim = 0;
+ int rc;
+@@ -1754,7 +1754,7 @@ clean_manpage (char *manpage)
+ mbi_advance (iter))
+ {
+ const char *cur_ptr = mbi_cur_ptr (iter);
+- int cur_len = mb_len (mbi_cur (iter));
++ size_t cur_len = mb_len (mbi_cur (iter));
+
+ if (cur_len == 1)
+ {
+@@ -1852,8 +1852,8 @@ window_scan_line (WINDOW *win, int line,
+ mbi_advance (iter))
+ {
+ const char *cur_ptr = mbi_cur_ptr (iter);
+- int cur_len = mb_len (mbi_cur (iter));
+- int replen;
++ size_t cur_len = mb_len (mbi_cur (iter));
++ size_t replen;
+
+ if (cur_ptr >= endp)
+ break;
--- /dev/null
+diff -up texinfo-4.13/info/indices.c.orig texinfo-4.13/info/indices.c
+--- texinfo-4.13/info/indices.c.orig 2010-08-31 12:04:38.317462471 +0200
++++ texinfo-4.13/info/indices.c 2010-08-31 12:11:49.322624552 +0200
+@@ -192,6 +192,7 @@ do_info_index_search (WINDOW *window, in
+ index for, build and remember an index now. */
+ fb = file_buffer_of_window (window);
+ if (!initial_index_filename ||
++ !fb ||
+ (FILENAME_CMP (initial_index_filename, fb->filename) != 0))
+ {
+ info_free_references (index_index);
+@@ -287,8 +288,9 @@ index_entry_exists (WINDOW *window, char
+ return 0;
+
+ fb = file_buffer_of_window (window);
+- if (!initial_index_filename
+- || (FILENAME_CMP (initial_index_filename, fb->filename) != 0))
++ if (!initial_index_filename ||
++ !fb ||
++ (FILENAME_CMP (initial_index_filename, fb->filename) != 0))
+ {
+ info_free_references (index_index);
+ index_index = info_indices_of_file_buffer (fb);
--- /dev/null
+diff -up texinfo-4.13/makeinfo/sectioning.c.orig texinfo-4.13/makeinfo/sectioning.c
+--- texinfo-4.13/makeinfo/sectioning.c.orig 2010-11-10 11:24:53.000000000 +0100
++++ texinfo-4.13/makeinfo/sectioning.c 2010-11-10 11:25:28.000000000 +0100
+@@ -256,14 +256,14 @@ current_chapter_number (void)
+ return xstrdup ("");
+ else if (enum_marker == APPENDIX_MAGIC)
+ {
+- char s[1];
++ char s[2];
+ sprintf (s, "%c", numbers[0] + 64);
+ return xstrdup (s);
+ }
+ else
+ {
+ char s[5];
+- sprintf (s, "%d", numbers[0]);
++ sprintf (s, "%4d", numbers[0]);
+ return xstrdup (s);
+ }
+ }
--- /dev/null
+--- texinfo-4.13/install-info/install-info.c.mosdo-crash 2009-09-02 20:18:44.000000000 -0400
++++ texinfo-4.13/install-info/install-info.c 2009-09-02 20:19:53.000000000 -0400
+@@ -1765,7 +1765,7 @@
+ err = argz_add (&argz, &argz_len, opt);
+ free (opt); opt = NULL;
+
+- opt = xmalloc (strlen (regex) + sizeof ("--section="));
++ opt = xmalloc (strlen (title) + sizeof ("--section="));
+ if (sprintf (opt, "--section=%s", title) == -1)
+ err = 1;
+ if (!err)
--- /dev/null
+diff -up texinfo-4.13/install-info/install-info.c.patch texinfo-4.13/install-info/install-info.c
+--- texinfo-4.13/install-info/install-info.c.patch 2010-01-11 14:46:32.000000000 +0100
++++ texinfo-4.13/install-info/install-info.c 2010-01-11 14:48:47.162152695 +0100
+@@ -772,7 +772,7 @@ open_possibly_compressed_file (char *fil
+ }
+ else
+ { /* It's a plain file, seek back over the magic bytes. */
+- if (gzseek (f, 0, SEEK_SET) < 0)
++ if (gzseek (f, 0, SEEK_SET) == -1)
+ pfatal_with_name (*opened_filename);
+ #if 0 && O_BINARY
+ /* Since this is a text file, and we opened it in binary mode,
--- /dev/null
+diff -up texinfo-4.13/util/texi2dvi.orig texinfo-4.13/util/texi2dvi
+--- texinfo-4.13/util/texi2dvi.orig 2010-10-11 14:08:21.340831908 +0200
++++ texinfo-4.13/util/texi2dvi 2010-10-11 14:12:14.235841752 +0200
+@@ -1683,7 +1683,7 @@ input_file_name_decode ()
+
+ # If the COMMAND_LINE_FILENAME is not absolute (e.g., --debug.tex),
+ # prepend `./' in order to avoid that the tools take it as an option.
+- echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 \
++ echo "$command_line_filename" | $EGREP '^(/|[A-Za-z]:/)' >&6 \
+ || command_line_filename="./$command_line_filename"
+
+ # See if the file exists. If it doesn't we're in trouble since, even
PKG_NAME = texinfo
PKG_VER = 4.13a
-PKG_REL = 0
+PKG_REL = 1
PKG_MAINTAINER =
PKG_GROUPS = Applications/Publishing
PKG_LICENSE = GPLv3
PKG_SUMMARY = Tools needed to create Texinfo format documentation files.
-PKG_BUILD_DEPS+= ncurses-devel
+PKG_BUILD_DEPS+= help2man ncurses-devel zlib-devel
define PKG_DESCRIPTION
Texinfo is a documentation system that can produce both online \
DIR_APP = $(DIR_SRC)/$(PKG_NAME)-4.13
-export LDFLAGS = -lncursesw
-
-define STAGE_TEST
- cd $(DIR_APP) && make check
-endef
+# XXX testsuite fails and needs to be fixed.
+#define STAGE_TEST
+# cd $(DIR_APP) && make check
+#endef