Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48294 Details for
Bug 77671
giptables-cvs-1.2.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
giptables-cvs-1.2 ebuild
giptables-cvs-1.2.ebuild (text/plain), 2.29 KB, created by
Meder Bakirov
on 2005-01-12 05:51:58 UTC
(
hide
)
Description:
giptables-cvs-1.2 ebuild
Filename:
MIME Type:
Creator:
Meder Bakirov
Created:
2005-01-12 05:51:58 UTC
Size:
2.29 KB
patch
obsolete
>DESCRIPTION="set of shell scripts that help generate iptables rules" >HOMEPAGE="http://www.giptables.org/" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~ppc" >IUSE="" > >DEPEND="" >RDEPEND="net-firewall/iptables" > >inherit cvs > >ECVS_LOCALNAME="giptables-cvs" >ECVS_SERVER="cvs.giptables.sourceforge.net:/cvsroot/giptables" >ECVS_MODULE="firewall" > >S=${ECVS_TOP_DIR}/${ECVS_LOCALNAME} > >src_install() { > dodir /etc/{conf.d,init.d} > > # Creating GIPTables home, modules and conf directories > dodir /lib/giptables /lib/giptables/modules /lib/giptables/conf > chmod -R 700 ${D}/lib/giptables > > # Copying GIPTables main library file /lib/giptables/giptables-main > cp -f ${S}/giptables-main ${D}/lib/giptables > > # Copying GIPTables module files /lib/giptables/modules/* > cp -f ${S}/modules/* ${D}/lib/giptables/modules > chmod 600 ${D}/lib/giptables/modules/* > > # Copying GIPTables example configuration files /lib/giptables/conf/* > cp -f ${S}/conf/* ${D}/lib/giptables/conf > chmod 600 ${D}/lib/giptables/conf/* > > # Copying other GIPTables files > cp ${S}/if_ipaddr ${D}/lib/giptables > chmod 700 ${D}/lib/giptables/if_ipaddr > > cp ${S}/rc.giptables.blocked ${D}/etc/conf.d/giptables.blocked > cp ${S}/rc.giptables.custom ${D}/etc/conf.d/giptables.custom > chmod 600 ${D}/etc/conf.d/giptables.blocked ${D}/etc/conf.d/giptables.custom > > # Creating docs > dodoc AUTHORS COPYING ChangeLog* INSTALL README TODO > dodir /usr/share/doc/${PF}/html > cp ${S}/documentation/* ${D}/usr/share/doc/${PF}/html > > # Creating init script > exeinto /etc/init.d > newexe ${FILESDIR}/giptables.init giptables >} > >pkg_preinst() { > for conf_file in ${D}/lib/giptables/conf/* > do > sed -e 's/rc\.d\/rc\.giptables\.custom/conf\.d\/giptables\.custom/g' -e 's/rc\.d\/rc\.giptables\.blocked/conf\.d\/giptables\.blocked/g' $conf_file > $conf_file.orig > mv --force $conf_file.orig $conf_file > done >} > >pkg_postinst() { > einfo > einfo "Before running /etc/init.d/giptables or adding it to a runlevel with" > einfo "rc-update, be sure to create a config file /etc/giptables.conf" > einfo > einfo "For sample config files, please, look at /lib/giptables/conf" > einfo >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 77671
: 48294 |
48296