Browse Source

Stefan Fiedler <stefan.fiedler@students.jku.at>:

A quick scan with grep showed these mkdir -p commands in packages that can be 
removed because these directories are created in 00-dirtree.


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2004 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Stefan Fiedler 21 years ago
parent
commit
3c7eb0ea4a
3 changed files with 18 additions and 25 deletions
  1. +2
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +2
    -3
      package/base/sysfiles/sysfiles.conf
  3. +14
    -22
      package/base/tcp_wrappers/tcp_wrappers.conf

+ 2
- 0
Documentation/Developers/CHANGELOG-RENE

@ -5,6 +5,8 @@
- Dimitar Zhekov: remove bash '--with-installed-readline'
- Andreas V. Meier: fixed rtsp
- Jan Veninga: updated gaim to current version (so msn is working)
- Stefan Fiedler: some more mkdir -p to remove
- cleanup of tcp_wrappers.conf
*) 2003-12-17 (2.0.0-rc3 - 2.0.0-rc4)

+ 2
- 3
package/base/sysfiles/sysfiles.conf

@ -25,7 +25,6 @@ main_sf() {
cd $root/
echo "Creating various etc/* files ..."
mkdir -p etc/conf etc/rc.d etc/stone.d etc/network
for x in $( cd $confdir ; echo etc_*.txt ) ; do
y="${x%.txt}" ; z="/"
if [ -f "${y//_/$z}" ]
@ -60,14 +59,14 @@ EOT
echo "Installing the stone setup tool ..."
cp -v $confdir/stone.sh usr/sbin/stone
chmod +x usr/sbin/stone ; mkdir -p etc/stone.d
chmod +x usr/sbin/stone
for x in $( cd $confdir ; echo stone_*.sh ) ; do
cp -v $confdir/$x etc/stone.d/${x#stone_}
done
echo "Installing the rock-net tool ..."
cp -v $confdir/rocknet.sh etc/network/rocknet
chmod +x etc/network/rocknet ; mkdir -p etc/network/modules
chmod +x etc/network/rocknet
for x in $( cd $confdir ; echo rocknet_*.sh ) ; do
dst="${x#rocknet_}" ; z="/"
dst="${dst//_/$z}"

+ 14
- 22
package/base/tcp_wrappers/tcp_wrappers.conf

@ -20,28 +20,20 @@
#
# --- ROCK-COPYRIGHT-NOTE-END ---
tcpw_pm() {
cp -v hosts_access.3 $datadir/man/man3
cp -v hosts_access.5 hosts_options.5 $datadir/man/man5
tcpw_main() {
eval $MAKE linux
mkdir -p /usr/share/man/man3
mkdir -p /usr/share/man/man5
mkdir -p /usr/share/man/man8
mkdir -p /usr/lib
mkdir -p /usr/include
mkdir -p /usr/sbin
cp hosts_access.3 /usr/share/man/man3
cp hosts_access.5 /usr/share/man/man5
cp hosts_options.5 /usr/share/man/man5
cp tcpd.8 tcpdchk.8 tcpdmatch.8 /usr/share/man/man8
ln -sf hosts_access.5 /usr/share/man/man5/hosts.allow.5
ln -sf hosts_access.5 /usr/share/man/man5/hosts.deny.5
cp libwrap.a /usr/lib
cp tcpd.h /usr/include
install -m755 safe_finger /usr/sbin
install -m755 tcpd /usr/sbin
install -m755 tcpdchk /usr/sbin
install -m755 tcpdmatch /usr/sbin
install -m755 try-from /usr/sbin
cp -v tcpd.8 tcpdchk.8 tcpdmatch.8 $datadir/man/man8
ln -sf hosts_access.5 $datadir/man/man5/hosts.allow.5
ln -sf hosts_access.5 $datadir/man/man5/hosts.deny.5
cp -v libwrap.a $libdir
cp -v tcpd.h $includedir
install -m755 safe_finger tcpd tcpdchk tcpdmatch try-from $sbindir
}
custmain=tcpw_main
makeopt="linux"
makeinstopt=""
hook_add postmake 3 "tcpw_pm"

Loading…
Cancel
Save